diff --git a/docs/app.css b/docs/app.css index ac84afc0..ed36ec09 100644 --- a/docs/app.css +++ b/docs/app.css @@ -45,7 +45,10 @@ a:hover { outline: 0; } abbr[title] { - border-bottom: 1px dotted; + border-bottom: none; + text-decoration: underline; + -webkit-text-decoration: underline dotted; + text-decoration: underline dotted; } b, strong { @@ -183,11 +186,11 @@ th { *, *:before, *:after { - background: transparent !important; color: #000 !important; + text-shadow: none !important; + background: transparent !important; -webkit-box-shadow: none !important; box-shadow: none !important; - text-shadow: none !important; } a, a:visited { @@ -330,8 +333,8 @@ hr { position: absolute; width: 1px; height: 1px; - margin: -1px; padding: 0; + margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; @@ -389,7 +392,7 @@ h6 .small, .h5 .small, .h6 small, .h6 .small { - font-weight: normal; + font-weight: 400; line-height: 1; color: #777; } @@ -483,8 +486,8 @@ small, } mark, .mark { - background-color: #fcf8e3; padding: 0.2em; + background-color: #fcf8e3; } .text-left { text-align: left; @@ -614,8 +617,8 @@ ol ol { } .list-inline > li { display: inline-block; - padding-left: 5px; padding-right: 5px; + padding-left: 5px; } dl { margin-top: 0; @@ -626,15 +629,15 @@ dd { line-height: 1.42857; } dt { - font-weight: bold; + font-weight: 700; } dd { margin-left: 0; } .dl-horizontal dd:before, .dl-horizontal dd:after { - content: " "; display: table; + content: " "; } .dl-horizontal dd:after { clear: both; @@ -656,7 +659,6 @@ dd { abbr[title], abbr[data-original-title] { cursor: help; - border-bottom: 1px dotted #777; } .initialism { font-size: 90%; @@ -689,9 +691,9 @@ blockquote .small:before { blockquote.pull-right { padding-right: 15px; padding-left: 0; + text-align: right; border-right: 5px solid #eee; border-left: 0; - text-align: right; } .blockquote-reverse footer:before, .blockquote-reverse small:before, @@ -739,7 +741,7 @@ kbd { kbd kbd { padding: 0; font-size: 100%; - font-weight: bold; + font-weight: 700; -webkit-box-shadow: none; box-shadow: none; } @@ -749,9 +751,9 @@ pre { margin: 0 0 10px; font-size: 13px; line-height: 1.42857; + color: #333; word-break: break-all; word-wrap: break-word; - color: #333; background-color: #f5f5f5; border: 1px solid #ccc; border-radius: 4px; @@ -769,15 +771,15 @@ pre code { overflow-y: scroll; } .container { + padding-right: 15px; + padding-left: 15px; margin-right: auto; margin-left: auto; - padding-left: 15px; - padding-right: 15px; } .container:before, .container:after { - content: " "; display: table; + content: " "; } .container:after { clear: both; @@ -798,31 +800,39 @@ pre code { } } .container-fluid { + padding-right: 15px; + padding-left: 15px; margin-right: auto; margin-left: auto; - padding-left: 15px; - padding-right: 15px; } .container-fluid:before, .container-fluid:after { - content: " "; display: table; + content: " "; } .container-fluid:after { clear: both; } .row { - margin-left: -15px; margin-right: -15px; + margin-left: -15px; } .row:before, .row:after { - content: " "; display: table; + content: " "; } .row:after { clear: both; } +.row-no-gutters { + margin-right: 0; + margin-left: 0; +} +.row-no-gutters [class*="col-"] { + padding-right: 0; + padding-left: 0; +} .col-xs-1, .col-sm-1, .col-md-1, @@ -873,8 +883,8 @@ pre code { .col-lg-12 { position: relative; min-height: 1px; - padding-left: 15px; padding-right: 15px; + padding-left: 15px; } .col-xs-1, .col-xs-2, @@ -1553,6 +1563,17 @@ pre code { table { background-color: rgba(0, 0, 0, 0); } +table col[class*="col-"] { + position: static; + display: table-column; + float: none; +} +table td[class*="col-"], +table th[class*="col-"] { + position: static; + display: table-cell; + float: none; +} caption { padding-top: 8px; padding-bottom: 8px; @@ -1625,17 +1646,6 @@ th { .table-hover > tbody > tr:hover { background-color: #f5f5f5; } -table col[class*="col-"] { - position: static; - float: none; - display: table-column; -} -table td[class*="col-"], -table th[class*="col-"] { - position: static; - float: none; - display: table-cell; -} .table > thead > tr > td.active, .table > thead > tr > th.active, .table > thead > tr.active > td, @@ -1742,8 +1752,8 @@ table th[class*="col-"] { background-color: #ebcccc; } .table-responsive { - overflow-x: auto; min-height: 0.01%; + overflow-x: auto; } @media screen and (max-width: 767px) { .table-responsive { @@ -1791,10 +1801,10 @@ table th[class*="col-"] { } } fieldset { + min-width: 0; padding: 0; margin: 0; border: 0; - min-width: 0; } legend { display: block; @@ -1811,11 +1821,14 @@ label { display: inline-block; max-width: 100%; margin-bottom: 5px; - font-weight: bold; + font-weight: 700; } input[type="search"] { -webkit-box-sizing: border-box; box-sizing: border-box; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; } input[type="radio"], input[type="checkbox"] { @@ -1823,6 +1836,14 @@ input[type="checkbox"] { margin-top: 1px \9; line-height: normal; } +input[type="radio"][disabled], +input[type="radio"].disabled, +fieldset[disabled] input[type="radio"], +input[type="checkbox"][disabled], +input[type="checkbox"].disabled, +fieldset[disabled] input[type="checkbox"] { + cursor: not-allowed; +} input[type="file"] { display: block; } @@ -1885,8 +1906,8 @@ output { color: #999; } .form-control::-ms-expand { - border: 0; background-color: transparent; + border: 0; } .form-control[disabled], .form-control[readonly], @@ -1901,9 +1922,6 @@ fieldset[disabled] .form-control { textarea.form-control { height: auto; } -input[type="search"] { - -webkit-appearance: none; -} @media screen and (-webkit-min-device-pixel-ratio: 0) { input[type="date"].form-control, input[type="time"].form-control, @@ -1966,12 +1984,18 @@ input[type="search"] { margin-top: 10px; margin-bottom: 10px; } +.radio.disabled label, +fieldset[disabled] .radio label, +.checkbox.disabled label, +fieldset[disabled] .checkbox label { + cursor: not-allowed; +} .radio label, .checkbox label { min-height: 20px; padding-left: 20px; margin-bottom: 0; - font-weight: normal; + font-weight: 400; cursor: pointer; } .radio input[type="radio"], @@ -1979,8 +2003,8 @@ input[type="search"] { .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] { position: absolute; - margin-left: -20px; margin-top: 4px \9; + margin-left: -20px; } .radio + .radio, .checkbox + .checkbox { @@ -1992,40 +2016,26 @@ input[type="search"] { display: inline-block; padding-left: 20px; margin-bottom: 0; + font-weight: 400; vertical-align: middle; - font-weight: normal; cursor: pointer; } -.radio-inline + .radio-inline, -.checkbox-inline + .checkbox-inline { - margin-top: 0; - margin-left: 10px; -} -input[type="radio"][disabled], -input[type="radio"].disabled, -fieldset[disabled] input[type="radio"], -input[type="checkbox"][disabled], -input[type="checkbox"].disabled, -fieldset[disabled] input[type="checkbox"] { - cursor: not-allowed; -} .radio-inline.disabled, fieldset[disabled] .radio-inline, .checkbox-inline.disabled, fieldset[disabled] .checkbox-inline { cursor: not-allowed; } -.radio.disabled label, -fieldset[disabled] .radio label, -.checkbox.disabled label, -fieldset[disabled] .checkbox label { - cursor: not-allowed; +.radio-inline + .radio-inline, +.checkbox-inline + .checkbox-inline { + margin-top: 0; + margin-left: 10px; } .form-control-static { + min-height: 34px; padding-top: 7px; padding-bottom: 7px; margin-bottom: 0; - min-height: 34px; } .form-control-static.input-lg, .input-group-lg > .form-control-static.form-control, @@ -2035,8 +2045,8 @@ fieldset[disabled] .checkbox label { .input-group-sm > .form-control-static.form-control, .input-group-sm > .form-control-static.input-group-addon, .input-group-sm > .input-group-btn > .form-control-static.btn { - padding-left: 0; padding-right: 0; + padding-left: 0; } .input-sm, .input-group-sm > .form-control, @@ -2198,8 +2208,8 @@ select[multiple].input-lg, } .has-success .input-group-addon { color: #3c763d; - border-color: #3c763d; background-color: #dff0d8; + border-color: #3c763d; } .has-success .form-control-feedback { color: #3c763d; @@ -2228,8 +2238,8 @@ select[multiple].input-lg, } .has-warning .input-group-addon { color: #8a6d3b; - border-color: #8a6d3b; background-color: #fcf8e3; + border-color: #8a6d3b; } .has-warning .form-control-feedback { color: #8a6d3b; @@ -2258,8 +2268,8 @@ select[multiple].input-lg, } .has-error .input-group-addon { color: #a94442; - border-color: #a94442; background-color: #f2dede; + border-color: #a94442; } .has-error .form-control-feedback { color: #a94442; @@ -2330,31 +2340,31 @@ select[multiple].input-lg, .form-horizontal .checkbox, .form-horizontal .radio-inline, .form-horizontal .checkbox-inline { + padding-top: 7px; margin-top: 0; margin-bottom: 0; - padding-top: 7px; } .form-horizontal .radio, .form-horizontal .checkbox { min-height: 27px; } .form-horizontal .form-group { - margin-left: -15px; margin-right: -15px; + margin-left: -15px; } .form-horizontal .form-group:before, .form-horizontal .form-group:after { - content: " "; display: table; + content: " "; } .form-horizontal .form-group:after { clear: both; } @media (min-width: 768px) { .form-horizontal .control-label { - text-align: right; - margin-bottom: 0; padding-top: 7px; + margin-bottom: 0; + text-align: right; } } .form-horizontal .has-feedback .form-control-feedback { @@ -2377,13 +2387,13 @@ select[multiple].input-lg, margin-bottom: 0; font-weight: normal; text-align: center; + white-space: nowrap; vertical-align: middle; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; background-image: none; border: 1px solid transparent; - white-space: nowrap; padding: 6px 12px; font-size: 14px; line-height: 1.42857; @@ -2410,8 +2420,8 @@ select[multiple].input-lg, } .btn:active, .btn.active { - outline: 0; background-image: none; + outline: 0; -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); } @@ -2419,8 +2429,8 @@ select[multiple].input-lg, .btn[disabled], fieldset[disabled] .btn { cursor: not-allowed; - opacity: 0.65; filter: alpha(opacity=65); + opacity: 0.65; -webkit-box-shadow: none; box-shadow: none; } @@ -2449,6 +2459,7 @@ fieldset[disabled] a.btn { .open > .btn-default.dropdown-toggle { color: #333; background-color: #e6e6e6; + background-image: none; border-color: #adadad; } .btn-default:active:hover, @@ -2464,11 +2475,6 @@ fieldset[disabled] a.btn { background-color: #d4d4d4; border-color: #8c8c8c; } -.btn-default:active, -.btn-default.active, -.open > .btn-default.dropdown-toggle { - background-image: none; -} .btn-default.disabled:hover, .btn-default.disabled:focus, .btn-default.disabled.focus, @@ -2506,6 +2512,7 @@ fieldset[disabled] .btn-default.focus { .open > .btn-primary.dropdown-toggle { color: #fff; background-color: #286090; + background-image: none; border-color: #204d74; } .btn-primary:active:hover, @@ -2521,11 +2528,6 @@ fieldset[disabled] .btn-default.focus { background-color: #204d74; border-color: #122b40; } -.btn-primary:active, -.btn-primary.active, -.open > .btn-primary.dropdown-toggle { - background-image: none; -} .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled.focus, @@ -2563,6 +2565,7 @@ fieldset[disabled] .btn-primary.focus { .open > .btn-success.dropdown-toggle { color: #fff; background-color: #449d44; + background-image: none; border-color: #398439; } .btn-success:active:hover, @@ -2578,11 +2581,6 @@ fieldset[disabled] .btn-primary.focus { background-color: #398439; border-color: #255625; } -.btn-success:active, -.btn-success.active, -.open > .btn-success.dropdown-toggle { - background-image: none; -} .btn-success.disabled:hover, .btn-success.disabled:focus, .btn-success.disabled.focus, @@ -2620,6 +2618,7 @@ fieldset[disabled] .btn-success.focus { .open > .btn-info.dropdown-toggle { color: #fff; background-color: #31b0d5; + background-image: none; border-color: #269abc; } .btn-info:active:hover, @@ -2635,11 +2634,6 @@ fieldset[disabled] .btn-success.focus { background-color: #269abc; border-color: #1b6d85; } -.btn-info:active, -.btn-info.active, -.open > .btn-info.dropdown-toggle { - background-image: none; -} .btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled.focus, @@ -2677,6 +2671,7 @@ fieldset[disabled] .btn-info.focus { .open > .btn-warning.dropdown-toggle { color: #fff; background-color: #ec971f; + background-image: none; border-color: #d58512; } .btn-warning:active:hover, @@ -2692,11 +2687,6 @@ fieldset[disabled] .btn-info.focus { background-color: #d58512; border-color: #985f0d; } -.btn-warning:active, -.btn-warning.active, -.open > .btn-warning.dropdown-toggle { - background-image: none; -} .btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled.focus, @@ -2734,6 +2724,7 @@ fieldset[disabled] .btn-warning.focus { .open > .btn-danger.dropdown-toggle { color: #fff; background-color: #c9302c; + background-image: none; border-color: #ac2925; } .btn-danger:active:hover, @@ -2749,11 +2740,6 @@ fieldset[disabled] .btn-warning.focus { background-color: #ac2925; border-color: #761c19; } -.btn-danger:active, -.btn-danger.active, -.open > .btn-danger.dropdown-toggle { - background-image: none; -} .btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled.focus, @@ -2771,8 +2757,8 @@ fieldset[disabled] .btn-danger.focus { background-color: #fff; } .btn-link { + font-weight: 400; color: #337ab7; - font-weight: normal; border-radius: 0; } .btn-link, @@ -2895,16 +2881,16 @@ tbody.collapse.in { min-width: 160px; padding: 5px 0; margin: 2px 0 0; - list-style: none; font-size: 14px; text-align: left; + list-style: none; background-color: #fff; + background-clip: padding-box; border: 1px solid #ccc; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 4px; -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); - background-clip: padding-box; } .dropdown-menu.pull-right { right: 0; @@ -2920,15 +2906,15 @@ tbody.collapse.in { display: block; padding: 3px 20px; clear: both; - font-weight: normal; + font-weight: 400; line-height: 1.42857; color: #333; white-space: nowrap; } .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { - text-decoration: none; color: #262626; + text-decoration: none; background-color: #f5f5f5; } .dropdown-menu > .active > a, @@ -2936,8 +2922,8 @@ tbody.collapse.in { .dropdown-menu > .active > a:focus { color: #fff; text-decoration: none; - outline: 0; background-color: #337ab7; + outline: 0; } .dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, @@ -2947,10 +2933,10 @@ tbody.collapse.in { .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { text-decoration: none; + cursor: not-allowed; background-color: transparent; background-image: none; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: not-allowed; } .open > .dropdown-menu { display: block; @@ -2959,12 +2945,12 @@ tbody.collapse.in { outline: 0; } .dropdown-menu-right { - left: auto; right: 0; + left: auto; } .dropdown-menu-left { - left: 0; right: auto; + left: 0; } .dropdown-header { display: block; @@ -2976,10 +2962,10 @@ tbody.collapse.in { } .dropdown-backdrop { position: fixed; - left: 0; + top: 0; right: 0; bottom: 0; - top: 0; + left: 0; z-index: 990; } .pull-right > .dropdown-menu { @@ -2988,10 +2974,10 @@ tbody.collapse.in { } .dropup .caret, .navbar-fixed-bottom .dropdown .caret { + content: ""; border-top: 0; border-bottom: 4px dashed; border-bottom: 4px solid \9; - content: ""; } .dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu { @@ -3041,8 +3027,8 @@ tbody.collapse.in { } .btn-toolbar:before, .btn-toolbar:after { - content: " "; display: table; + content: " "; } .btn-toolbar:after { clear: both; @@ -3064,13 +3050,13 @@ tbody.collapse.in { margin-left: 0; } .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { - border-bottom-right-radius: 0; border-top-right-radius: 0; + border-bottom-right-radius: 0; } .btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) { - border-bottom-left-radius: 0; border-top-left-radius: 0; + border-bottom-left-radius: 0; } .btn-group > .btn-group { float: left; @@ -3080,25 +3066,25 @@ tbody.collapse.in { } .btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle { - border-bottom-right-radius: 0; border-top-right-radius: 0; + border-bottom-right-radius: 0; } .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { - border-bottom-left-radius: 0; border-top-left-radius: 0; + border-bottom-left-radius: 0; } .btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle { outline: 0; } .btn-group > .btn + .dropdown-toggle { - padding-left: 8px; padding-right: 8px; + padding-left: 8px; } .btn-group > .btn-lg + .dropdown-toggle, .btn-group-lg.btn-group > .btn + .dropdown-toggle { - padding-left: 12px; padding-right: 12px; + padding-left: 12px; } .btn-group.open .dropdown-toggle { -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); @@ -3130,8 +3116,8 @@ tbody.collapse.in { } .btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after { - content: " "; display: table; + content: " "; } .btn-group-vertical > .btn-group:after { clear: both; @@ -3150,14 +3136,14 @@ tbody.collapse.in { border-radius: 0; } .btn-group-vertical > .btn:first-child:not(:last-child) { - border-top-right-radius: 4px; border-top-left-radius: 4px; + border-top-right-radius: 4px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .btn-group-vertical > .btn:last-child:not(:first-child) { - border-top-right-radius: 0; border-top-left-radius: 0; + border-top-right-radius: 0; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; } @@ -3170,8 +3156,8 @@ tbody.collapse.in { border-bottom-left-radius: 0; } .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { - border-top-right-radius: 0; border-top-left-radius: 0; + border-top-right-radius: 0; } .btn-group-justified { display: table; @@ -3181,8 +3167,8 @@ tbody.collapse.in { } .btn-group-justified > .btn, .btn-group-justified > .btn-group { - float: none; display: table-cell; + float: none; width: 1%; } .btn-group-justified > .btn-group .btn { @@ -3206,8 +3192,8 @@ tbody.collapse.in { } .input-group[class*="col-"] { float: none; - padding-left: 0; padding-right: 0; + padding-left: 0; } .input-group .form-control { position: relative; @@ -3238,7 +3224,7 @@ tbody.collapse.in { .input-group-addon { padding: 6px 12px; font-size: 14px; - font-weight: normal; + font-weight: 400; line-height: 1; color: #555; text-align: center; @@ -3271,8 +3257,8 @@ tbody.collapse.in { .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group-btn:last-child > .btn-group:not(:last-child) > .btn { - border-bottom-right-radius: 0; border-top-right-radius: 0; + border-bottom-right-radius: 0; } .input-group-addon:first-child { border-right: 0; @@ -3284,8 +3270,8 @@ tbody.collapse.in { .input-group-btn:last-child > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:first-child > .btn-group:not(:first-child) > .btn { - border-bottom-left-radius: 0; border-top-left-radius: 0; + border-bottom-left-radius: 0; } .input-group-addon:last-child { border-left: 0; @@ -3316,14 +3302,14 @@ tbody.collapse.in { margin-left: -1px; } .nav { - margin-bottom: 0; padding-left: 0; + margin-bottom: 0; list-style: none; } .nav:before, .nav:after { - content: " "; display: table; + content: " "; } .nav:after { clear: both; @@ -3349,8 +3335,8 @@ tbody.collapse.in { .nav > li.disabled > a:focus { color: #777; text-decoration: none; - background-color: transparent; cursor: not-allowed; + background-color: transparent; } .nav .open > a, .nav .open > a:hover, @@ -3387,10 +3373,10 @@ tbody.collapse.in { .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { color: #555; + cursor: default; background-color: #fff; border: 1px solid #ddd; border-bottom-color: transparent; - cursor: default; } .nav-pills > li { float: left; @@ -3424,8 +3410,8 @@ tbody.collapse.in { } .nav-justified > li > a, .nav-tabs.nav-justified > li > a { - text-align: center; margin-bottom: 5px; + text-align: center; } .nav-justified > .dropdown .dropdown-menu { top: auto; @@ -3482,8 +3468,8 @@ tbody.collapse.in { } .nav-tabs .dropdown-menu { margin-top: -1px; - border-top-right-radius: 0; border-top-left-radius: 0; + border-top-right-radius: 0; } .navbar { position: relative; @@ -3493,8 +3479,8 @@ tbody.collapse.in { } .navbar:before, .navbar:after { - content: " "; display: table; + content: " "; } .navbar:after { clear: both; @@ -3506,8 +3492,8 @@ tbody.collapse.in { } .navbar-header:before, .navbar-header:after { - content: " "; display: table; + content: " "; } .navbar-header:after { clear: both; @@ -3518,9 +3504,9 @@ tbody.collapse.in { } } .navbar-collapse { - overflow-x: visible; padding-right: 15px; padding-left: 15px; + overflow-x: visible; border-top: 1px solid transparent; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); @@ -3528,8 +3514,8 @@ tbody.collapse.in { } .navbar-collapse:before, .navbar-collapse:after { - content: " "; display: table; + content: " "; } .navbar-collapse:after { clear: both; @@ -3556,12 +3542,19 @@ tbody.collapse.in { .navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse { - padding-left: 0; padding-right: 0; + padding-left: 0; } } -.navbar-fixed-top .navbar-collapse, -.navbar-fixed-bottom .navbar-collapse { +.navbar-fixed-top, +.navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: 1030; +} +.navbar-fixed-top .navbar-collapse, +.navbar-fixed-bottom .navbar-collapse { max-height: 340px; } @media (max-device-width: 480px) and (orientation: landscape) { @@ -3570,6 +3563,21 @@ tbody.collapse.in { max-height: 200px; } } +@media (min-width: 768px) { + .navbar-fixed-top, + .navbar-fixed-bottom { + border-radius: 0; + } +} +.navbar-fixed-top { + top: 0; + border-width: 0 0 1px; +} +.navbar-fixed-bottom { + bottom: 0; + margin-bottom: 0; + border-width: 1px 0 0; +} .container > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-header, @@ -3595,34 +3603,12 @@ tbody.collapse.in { border-radius: 0; } } -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; -} -@media (min-width: 768px) { - .navbar-fixed-top, - .navbar-fixed-bottom { - border-radius: 0; - } -} -.navbar-fixed-top { - top: 0; - border-width: 0 0 1px; -} -.navbar-fixed-bottom { - bottom: 0; - margin-bottom: 0; - border-width: 1px 0 0; -} .navbar-brand { float: left; + height: 50px; padding: 15px 15px; font-size: 18px; line-height: 20px; - height: 50px; } .navbar-brand:hover, .navbar-brand:focus { @@ -3640,8 +3626,8 @@ tbody.collapse.in { .navbar-toggle { position: relative; float: right; - margin-right: 15px; padding: 9px 10px; + margin-right: 15px; margin-top: 8px; margin-bottom: 8px; background-color: transparent; @@ -3711,9 +3697,9 @@ tbody.collapse.in { } } .navbar-form { - margin-left: -15px; - margin-right: -15px; padding: 10px 15px; + margin-right: -15px; + margin-left: -15px; border-top: 1px solid transparent; border-bottom: 1px solid transparent; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); @@ -3782,24 +3768,24 @@ tbody.collapse.in { @media (min-width: 768px) { .navbar-form { width: auto; - border: 0; - margin-left: 0; - margin-right: 0; padding-top: 0; padding-bottom: 0; + margin-right: 0; + margin-left: 0; + border: 0; -webkit-box-shadow: none; box-shadow: none; } } .navbar-nav > li > .dropdown-menu { margin-top: 0; - border-top-right-radius: 0; border-top-left-radius: 0; + border-top-right-radius: 0; } .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { margin-bottom: 0; - border-top-right-radius: 4px; border-top-left-radius: 4px; + border-top-right-radius: 4px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } @@ -3824,8 +3810,8 @@ tbody.collapse.in { @media (min-width: 768px) { .navbar-text { float: left; - margin-left: 15px; margin-right: 15px; + margin-left: 15px; } } @media (min-width: 768px) { @@ -3875,25 +3861,11 @@ tbody.collapse.in { color: #ccc; background-color: rgba(0, 0, 0, 0); } -.navbar-default .navbar-toggle { - border-color: #ddd; -} -.navbar-default .navbar-toggle:hover, -.navbar-default .navbar-toggle:focus { - background-color: #ddd; -} -.navbar-default .navbar-toggle .icon-bar { - background-color: #888; -} -.navbar-default .navbar-collapse, -.navbar-default .navbar-form { - border-color: #e7e7e7; -} .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus { - background-color: #e7e7e7; color: #555; + background-color: #e7e7e7; } @media (max-width: 767px) { .navbar-default .navbar-nav .open .dropdown-menu > li > a { @@ -3917,6 +3889,20 @@ tbody.collapse.in { background-color: rgba(0, 0, 0, 0); } } +.navbar-default .navbar-toggle { + border-color: #ddd; +} +.navbar-default .navbar-toggle:hover, +.navbar-default .navbar-toggle:focus { + background-color: #ddd; +} +.navbar-default .navbar-toggle .icon-bar { + background-color: #888; +} +.navbar-default .navbar-collapse, +.navbar-default .navbar-form { + border-color: #e7e7e7; +} .navbar-default .navbar-link { color: #777; } @@ -3971,25 +3957,11 @@ fieldset[disabled] .navbar-default .btn-link:focus { color: #444; background-color: rgba(0, 0, 0, 0); } -.navbar-inverse .navbar-toggle { - border-color: #333; -} -.navbar-inverse .navbar-toggle:hover, -.navbar-inverse .navbar-toggle:focus { - background-color: #333; -} -.navbar-inverse .navbar-toggle .icon-bar { - background-color: #fff; -} -.navbar-inverse .navbar-collapse, -.navbar-inverse .navbar-form { - border-color: #101010; -} .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus { - background-color: #090909; color: #fff; + background-color: #090909; } @media (max-width: 767px) { .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { @@ -4019,6 +3991,20 @@ fieldset[disabled] .navbar-default .btn-link:focus { background-color: rgba(0, 0, 0, 0); } } +.navbar-inverse .navbar-toggle { + border-color: #333; +} +.navbar-inverse .navbar-toggle:hover, +.navbar-inverse .navbar-toggle:focus { + background-color: #333; +} +.navbar-inverse .navbar-toggle .icon-bar { + background-color: #fff; +} +.navbar-inverse .navbar-collapse, +.navbar-inverse .navbar-form { + border-color: #101010; +} .navbar-inverse .navbar-link { color: #9d9d9d; } @@ -4052,23 +4038,12 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { position: relative; float: left; padding: 6px 12px; + margin-left: -1px; line-height: 1.42857; - text-decoration: none; color: #337ab7; + text-decoration: none; background-color: #fff; border: 1px solid #ddd; - margin-left: -1px; -} -.pagination > li:first-child > a, -.pagination > li:first-child > span { - margin-left: 0; - border-bottom-left-radius: 4px; - border-top-left-radius: 4px; -} -.pagination > li:last-child > a, -.pagination > li:last-child > span { - border-bottom-right-radius: 4px; - border-top-right-radius: 4px; } .pagination > li > a:hover, .pagination > li > a:focus, @@ -4079,6 +4054,17 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { background-color: #eee; border-color: #ddd; } +.pagination > li:first-child > a, +.pagination > li:first-child > span { + margin-left: 0; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; +} +.pagination > li:last-child > a, +.pagination > li:last-child > span { + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; +} .pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus, @@ -4087,9 +4073,9 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { .pagination > .active > span:focus { z-index: 3; color: #fff; + cursor: default; background-color: #337ab7; border-color: #337ab7; - cursor: default; } .pagination > .disabled > span, .pagination > .disabled > span:hover, @@ -4098,9 +4084,9 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { .pagination > .disabled > a:hover, .pagination > .disabled > a:focus { color: #777; + cursor: not-allowed; background-color: #fff; border-color: #ddd; - cursor: not-allowed; } .pagination-lg > li > a, .pagination-lg > li > span { @@ -4110,13 +4096,13 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { } .pagination-lg > li:first-child > a, .pagination-lg > li:first-child > span { - border-bottom-left-radius: 6px; border-top-left-radius: 6px; + border-bottom-left-radius: 6px; } .pagination-lg > li:last-child > a, .pagination-lg > li:last-child > span { - border-bottom-right-radius: 6px; border-top-right-radius: 6px; + border-bottom-right-radius: 6px; } .pagination-sm > li > a, .pagination-sm > li > span { @@ -4126,19 +4112,19 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { } .pagination-sm > li:first-child > a, .pagination-sm > li:first-child > span { - border-bottom-left-radius: 3px; border-top-left-radius: 3px; + border-bottom-left-radius: 3px; } .pagination-sm > li:last-child > a, .pagination-sm > li:last-child > span { - border-bottom-right-radius: 3px; border-top-right-radius: 3px; + border-bottom-right-radius: 3px; } .label { display: inline; padding: 0.2em 0.6em 0.3em; font-size: 75%; - font-weight: bold; + font-weight: 700; line-height: 1; color: #fff; text-align: center; @@ -4233,9 +4219,9 @@ a.label:focus { color: inherit; } .alert-success { + color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; - color: #3c763d; } .alert-success hr { border-top-color: #c9e2b3; @@ -4244,9 +4230,9 @@ a.label:focus { color: #2b542c; } .alert-info { + color: #31708f; background-color: #d9edf7; border-color: #bce8f1; - color: #31708f; } .alert-info hr { border-top-color: #a6e1ec; @@ -4255,9 +4241,9 @@ a.label:focus { color: #245269; } .alert-warning { + color: #8a6d3b; background-color: #fcf8e3; border-color: #faebcc; - color: #8a6d3b; } .alert-warning hr { border-top-color: #f7e1b5; @@ -4266,9 +4252,9 @@ a.label:focus { color: #66512c; } .alert-danger { + color: #a94442; background-color: #f2dede; border-color: #ebccd1; - color: #a94442; } .alert-danger hr { border-top-color: #e4b9c0; @@ -4293,9 +4279,9 @@ a.label:focus { } } .progress { - overflow: hidden; height: 20px; margin-bottom: 20px; + overflow: hidden; background-color: #f5f5f5; border-radius: 4px; -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); @@ -4401,16 +4387,16 @@ a.label:focus { line-height: 1; color: #000; text-shadow: 0 1px 0 #fff; - opacity: 0.2; filter: alpha(opacity=20); + opacity: 0.2; } .close:hover, .close:focus { color: #000; text-decoration: none; cursor: pointer; - opacity: 0.5; filter: alpha(opacity=50); + opacity: 0.5; } button.close { padding: 0; @@ -4418,19 +4404,21 @@ button.close { background: transparent; border: 0; -webkit-appearance: none; + -moz-appearance: none; + appearance: none; } .modal-open { overflow: hidden; } .modal { - display: none; - overflow: hidden; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050; + display: none; + overflow: hidden; -webkit-overflow-scrolling: touch; outline: 0; } @@ -4458,12 +4446,12 @@ button.close { .modal-content { position: relative; background-color: #fff; + background-clip: padding-box; border: 1px solid #999; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); - background-clip: padding-box; outline: 0; } .modal-backdrop { @@ -4476,12 +4464,12 @@ button.close { background-color: #000; } .modal-backdrop.fade { - opacity: 0; filter: alpha(opacity=0); + opacity: 0; } .modal-backdrop.in { - opacity: 0.5; filter: alpha(opacity=50); + opacity: 0.5; } .modal-header { padding: 15px; @@ -4489,8 +4477,8 @@ button.close { } .modal-header:before, .modal-header:after { - content: " "; display: table; + content: " "; } .modal-header:after { clear: both; @@ -4513,15 +4501,15 @@ button.close { } .modal-footer:before, .modal-footer:after { - content: " "; display: table; + content: " "; } .modal-footer:after { clear: both; } .modal-footer .btn + .btn { - margin-left: 5px; margin-bottom: 0; + margin-left: 5px; } .modal-footer .btn-group .btn + .btn { margin-left: -1px; @@ -4560,57 +4548,42 @@ button.close { display: block; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-style: normal; - font-weight: normal; - letter-spacing: normal; - line-break: auto; + font-weight: 400; line-height: 1.42857; + line-break: auto; text-align: left; text-align: start; text-decoration: none; text-shadow: none; text-transform: none; - white-space: normal; + letter-spacing: normal; word-break: normal; word-spacing: normal; word-wrap: normal; + white-space: normal; font-size: 12px; - opacity: 0; filter: alpha(opacity=0); + opacity: 0; } .tooltip.in { - opacity: 0.9; filter: alpha(opacity=90); + opacity: 0.9; } .tooltip.top { - margin-top: -3px; padding: 5px 0; + margin-top: -3px; } .tooltip.right { - margin-left: 3px; padding: 0 5px; + margin-left: 3px; } .tooltip.bottom { - margin-top: 3px; padding: 5px 0; + margin-top: 3px; } .tooltip.left { - margin-left: -3px; padding: 0 5px; -} -.tooltip-inner { - max-width: 200px; - padding: 3px 8px; - color: #fff; - text-align: center; - background-color: #000; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; + margin-left: -3px; } .tooltip.top .tooltip-arrow { bottom: 0; @@ -4620,8 +4593,8 @@ button.close { border-top-color: #000; } .tooltip.top-left .tooltip-arrow { - bottom: 0; right: 5px; + bottom: 0; margin-bottom: -5px; border-width: 5px 5px 0; border-top-color: #000; @@ -4668,6 +4641,21 @@ button.close { border-width: 0 5px 5px; border-bottom-color: #000; } +.tooltip-inner { + max-width: 200px; + padding: 3px 8px; + color: #fff; + text-align: center; + background-color: #000; + border-radius: 4px; +} +.tooltip-arrow { + position: absolute; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; +} .popover { position: absolute; top: 0; @@ -4678,19 +4666,19 @@ button.close { padding: 1px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-style: normal; - font-weight: normal; - letter-spacing: normal; - line-break: auto; + font-weight: 400; line-height: 1.42857; + line-break: auto; text-align: left; text-align: start; text-decoration: none; text-shadow: none; text-transform: none; - white-space: normal; + letter-spacing: normal; word-break: normal; word-spacing: normal; word-wrap: normal; + white-space: normal; font-size: 14px; background-color: #fff; background-clip: padding-box; @@ -4712,16 +4700,8 @@ button.close { .popover.left { margin-left: -10px; } -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - background-color: #f7f7f7; - border-bottom: 1px solid #ebebeb; - border-radius: 5px 5px 0 0; -} -.popover-content { - padding: 9px 14px; +.popover > .arrow { + border-width: 11px; } .popover > .arrow, .popover > .arrow:after { @@ -4732,55 +4712,52 @@ button.close { border-color: transparent; border-style: solid; } -.popover > .arrow { - border-width: 11px; -} .popover > .arrow:after { - border-width: 10px; content: ""; + border-width: 10px; } .popover.top > .arrow { + bottom: -11px; left: 50%; margin-left: -11px; - border-bottom-width: 0; border-top-color: #999; border-top-color: rgba(0, 0, 0, 0.25); - bottom: -11px; + border-bottom-width: 0; } .popover.top > .arrow:after { - content: " "; bottom: 1px; margin-left: -10px; - border-bottom-width: 0; + content: " "; border-top-color: #fff; + border-bottom-width: 0; } .popover.right > .arrow { top: 50%; left: -11px; margin-top: -11px; - border-left-width: 0; border-right-color: #999; border-right-color: rgba(0, 0, 0, 0.25); + border-left-width: 0; } .popover.right > .arrow:after { - content: " "; - left: 1px; bottom: -10px; - border-left-width: 0; + left: 1px; + content: " "; border-right-color: #fff; + border-left-width: 0; } .popover.bottom > .arrow { + top: -11px; left: 50%; margin-left: -11px; border-top-width: 0; border-bottom-color: #999; border-bottom-color: rgba(0, 0, 0, 0.25); - top: -11px; } .popover.bottom > .arrow:after { - content: " "; top: 1px; margin-left: -10px; + content: " "; border-top-width: 0; border-bottom-color: #fff; } @@ -4793,24 +4770,35 @@ button.close { border-left-color: rgba(0, 0, 0, 0.25); } .popover.left > .arrow:after { - content: " "; right: 1px; + bottom: -10px; + content: " "; border-right-width: 0; border-left-color: #fff; - bottom: -10px; +} +.popover-title { + padding: 8px 14px; + margin: 0; + font-size: 14px; + background-color: #f7f7f7; + border-bottom: 1px solid #ebebeb; + border-radius: 5px 5px 0 0; +} +.popover-content { + padding: 9px 14px; } .clearfix:before, .clearfix:after { - content: " "; display: table; + content: " "; } .clearfix:after { clear: both; } .center-block { display: block; - margin-left: auto; margin-right: auto; + margin-left: auto; } .pull-right { float: right !important; diff --git a/docs/app.js b/docs/app.js index d95a43c3..196569d9 100644 --- a/docs/app.js +++ b/docs/app.js @@ -1,7 +1,7 @@ !(function(e) { function t(t) { for (var a, r, s = t[0], l = t[1], c = t[2], u = 0, p = []; u < s.length; u++) - (r = s[u]), o[r] && p.push(o[r][0]), (o[r] = 0); + (r = s[u]), Object.prototype.hasOwnProperty.call(o, r) && o[r] && p.push(o[r][0]), (o[r] = 0); for (a in l) Object.prototype.hasOwnProperty.call(l, a) && (e[a] = l[a]); for (d && d(t); p.length; ) p.shift()(); return i.push.apply(i, c || []), n(); @@ -168,11 +168,11 @@ ) .constant("$pageSize", 11) .constant("$authconf", { - host: location.protocol.startsWith("http") ? location.hostname : "localhost", + host: "download.melroy.org", path: "/jsonrpc", - port: 6800, - encrypt: !1, - auth: {}, + port: 443, + encrypt: !0, + auth: { token: "vXk89T3bfdV2yHTFpZOHeBqBWixZ7MQVP8YnWUms9Bw=" }, directURL: "" }) .constant("$enable", { @@ -452,8 +452,12 @@ a || this.forceUpdate(); }, subscribe: function(e, t, n, a) { - n = n || o.a.noop; - var i = { once: !1, name: "aria2." + e, params: (t = t || []), cb: n }; + var i = { + once: !1, + name: "aria2." + e, + params: (t = t || []), + cb: (n = n || o.a.noop) + }; return d.push(i), a || this.forceUpdate(), i; }, unsubscribe: function(e) { @@ -1458,25 +1462,25 @@ "$name", "$titlePattern", function(e, t, n) { - var a = (function() { - var e = new Uint8Array(16), - t = function() { - for (var t, n = 0; n < 16; n++) - n % 3 || (t = (4294967296 * Math.random()) | 0), - (e[n] = (t >>> ((3 & n) << 3)) & 255); - return e; - }; - return window.crypto && crypto.getRandomValues - ? function() { - try { - return crypto.getRandomValues(e), e; - } catch (e) { - return t(); - } + var a, + o, + i = ((a = new Uint8Array(16)), + (o = function() { + for (var e, t = 0; t < 16; t++) + t % 3 || (e = (4294967296 * Math.random()) | 0), + (a[t] = (e >>> ((3 & t) << 3)) & 255); + return a; + }), + window.crypto && crypto.getRandomValues + ? function() { + try { + return crypto.getRandomValues(a), a; + } catch (e) { + return o(); } - : t; - })(), - o = { + } + : o), + r = { fmtsize: function(e) { return (e = +e) <= 1024 ? e.toFixed(0) + " B" @@ -1487,7 +1491,7 @@ : (e /= 1024).toFixed(3) + " GB"; }, fmtspeed: function(e) { - return o.fmtsize(e) + "/s"; + return r.fmtsize(e) + "/s"; }, setCookie: function(e, t) { var n = new Date(); @@ -1512,7 +1516,7 @@ return ( Object.freeze(e), function() { - var t = a(); + var t = i(); return ( (t[6] = (15 & t[6]) | 64), (t[8] = (63 & t[8]) | 128), @@ -1541,7 +1545,7 @@ ); })(), randStr: function() { - return o.uuid(); + return r.uuid(); }, mergeMap: function(e, t, n) { t || (t = []); @@ -1555,8 +1559,8 @@ n .replace("{active}", e.numActive || "⌛") .replace("{waiting}", e.numWaiting || "⌛") - .replace("{download_speed}", o.fmtspeed(e.downloadSpeed) || "⌛") - .replace("{upload_speed}", o.fmtspeed(e.uploadSpeed) || "⌛") + .replace("{download_speed}", r.fmtspeed(e.downloadSpeed) || "⌛") + .replace("{upload_speed}", r.fmtspeed(e.uploadSpeed) || "⌛") .replace("{stopped}", e.numStopped || "⌛") .replace("{name}", t) ); @@ -1583,7 +1587,7 @@ return n; } }; - return o; + return r; } ]).name; }, @@ -1691,16 +1695,15 @@ } catch (e) {} return function(n, i, r) { var s = !1, - l = 180, + l = 0, c = 0, - d = 0, - u = !1, - p = { label: "DOWN", data: [], color: "#00ff00", lines: { show: !0 } }, - h = { label: "UP", data: [], color: "#0000ff", lines: { show: !0 } }; + d = !1, + u = { label: "DOWN", data: [], color: "#00ff00", lines: { show: !0 } }, + p = { label: "UP", data: [], color: "#0000ff", lines: { show: !0 } }; i.height(0.6 * i.width()); - var f = e.plot(i, [p, h], { + var h = e.plot(i, [u, p], { legend: { - show: void 0 == r.nolabel, + show: null == r.nolabel, backgroundOpacity: 0, margin: [10, 20], labelFormatter: function(e, n) { @@ -1739,22 +1742,22 @@ min: 0 } }), - m = function() { + f = function() { var e = i.width(); 0 != e && - (i.height(0.6 * e), f.setData([p, h]), f.resize(), f.setupGrid(), f.draw()); + (i.height(0.6 * e), h.setData([u, p]), h.resize(), h.setupGrid(), h.draw()); }; n.$watch(r.dspeed, function(e) { - void 0 !== e && ((u = !0), (c = parseFloat(e) || 0)); + void 0 !== e && ((d = !0), (l = parseFloat(e) || 0)); }), n.$watch(r.uspeed, function(e) { - void 0 !== e && ((u = !0), (d = parseFloat(e) || 0)); + void 0 !== e && ((d = !0), (c = parseFloat(e) || 0)); }), n.$watch(r.draw, function(e) { s = e; }); - var g = setInterval(function() { - if (u) { + var m = setInterval(function() { + if (d) { var e = new Date(); (e = Date.UTC( e.getFullYear(), @@ -1764,16 +1767,16 @@ e.getMinutes(), e.getSeconds() )), - p.data.length === l && p.data.shift(), + 180 === u.data.length && u.data.shift(), + u.data.push([e, l]), + 180 === p.data.length && p.data.shift(), p.data.push([e, c]), - h.data.length === l && h.data.shift(), - h.data.push([e, d]), - s && m(); + s && f(); } }, 1e3); - o.a.element(window).bind("resize", m), + o.a.element(window).bind("resize", f), i.bind("$destroy", function() { - clearInterval(g); + clearInterval(m); }); }; } @@ -1808,81 +1811,81 @@ require: "ngModel", restrict: "A", link: function(t, n, a, o) { - var i = e(a.ngModel), - r = [], - s = 0, + var i, + r = e(a.ngModel), + s = [], l = 0, - c = function() { - return i(t); + c = 0, + d = function() { + return r(t); }, - d = function(e) { + u = function(e) { n.prop("indeterminate", e); }, - u = function(e) { + p = function(e) { o.$setViewValue(e), o.$render(); }, - p = function(e) { + h = function(e) { return function() { - r.length > 0 && e.apply(this, arguments); + s.length > 0 && e.apply(this, arguments); }; }, - h = function(e) { + f = function(e) { return function() { - 0 === r.length && e.apply(this, arguments); + 0 === s.length && e.apply(this, arguments); }; }, - f = function(e) { + m = function(e) { return function(t) { if (t.targetScope !== t.currentScope) return e.apply(this, arguments); }; }; if ( - (a.indeterminate && e(a.indeterminate).constant && d(t.$eval(a.indeterminate)), + (a.indeterminate && e(a.indeterminate).constant && u(t.$eval(a.indeterminate)), a.indeterminate && e(a.indeterminate).constant && !t.$eval(a.indeterminate)) ) o.$viewChangeListeners.push( - h(function() { - t.$emit("childSelectedChange", c()); + f(function() { + t.$emit("childSelectedChange", d()); }) ), t.$on( "ParentSelectedChange", - f( - h(function(e, t) { - u(t); + m( + f(function(e, t) { + p(t); }) ) ), - t.$emit("i'm child input", c), - t.$emit("childSelectedChange", c()); + t.$emit("i'm child input", d), + t.$emit("childSelectedChange", d()); else { t.$on( "i'm child input", - f(function(e, t) { - r.push(t); + m(function(e, t) { + s.push(t); }) ); o.$viewChangeListeners.push( - p( - (function(e) { - return function() { - if (!n.prop("indeterminate")) return e.apply(this, arguments); - }; - })(function() { - t.$broadcast("ParentSelectedChange", c()); + h( + ((i = function() { + t.$broadcast("ParentSelectedChange", d()); + }), + function() { + if (!n.prop("indeterminate")) return i.apply(this, arguments); }) ) ), t.$on( "childSelectedChange", - f( - p(function(e, t) { - if (s + l !== r.length) { - (s = 0), (l = 0); - for (var n = 0; n < r.length; n++) r[n]() ? (s += 1) : (l += 1); - } else t ? (s++, l--) : (s--, l++); - var a = 0 === l; - d(a !== s > 0), u(a); + m( + h(function(e, t) { + if (l + c !== s.length) { + (l = 0), (c = 0); + for (var n = 0; n < s.length; n++) s[n]() ? (l += 1) : (c += 1); + } else t ? (l++, c--) : (l--, c++); + var a = 0 === c; + u(a !== l > 0), p(a); }) ) ); @@ -2905,6 +2908,7 @@ n(33), n(34), n(35), + n(39), n(40), n(41), n(42), @@ -2919,8 +2923,7 @@ n(51), n(52), n(53), - n(54), - n(55); + n(54); var $ = a.a.module("webui", [ v.a, s.a, @@ -5456,13 +5459,11 @@ function(a, o, i, r, s, l, c, d) { return function(a, u, p, h) { function f(e) { - var n = (e || h.trigger || p).split(" "); - return { - show: n, - hide: n.map(function(e) { + var n = (e || h.trigger || p).split(" "), + a = n.map(function(e) { return t[e] || e; - }) - }; + }); + return { show: n, hide: a }; } h = angular.extend({}, e, n, h); var m = (function(e) { @@ -6510,53 +6511,52 @@ "$position", "typeaheadParser", function(e, t, n, a, o, i, r, s, l) { - var c = [9, 13, 27, 38, 40], - d = 200; + var c = [9, 13, 27, 38, 40]; return { require: ["ngModel", "^?ngModelOptions"], - link: function(u, p, h, f) { - function m() { - U.moveInProgress || ((U.moveInProgress = !0), U.$digest()), - N && a.cancel(N), - (N = a(function() { - U.matches.length && g(), (U.moveInProgress = !1), U.$digest(); - }, d)); + link: function(d, u, p, h) { + function f() { + z.moveInProgress || ((z.moveInProgress = !0), z.$digest()), + j && a.cancel(j), + (j = a(function() { + z.matches.length && m(), (z.moveInProgress = !1), z.$digest(); + }, 200)); } - function g() { - (U.position = D ? s.offset(p) : s.position(p)), - (U.position.top += p.prop("offsetHeight")); + function m() { + (z.position = R ? s.offset(u) : s.position(u)), + (z.position.top += u.prop("offsetHeight")); } - var v = f[0], - b = f[1], - w = u.$eval(h.typeaheadMinLength); - w || 0 === w || (w = 1); - var y, - k, - S = u.$eval(h.typeaheadWaitMs) || 0, - T = !1 !== u.$eval(h.typeaheadEditable), - C = t(h.typeaheadLoading).assign || angular.noop, - P = t(h.typeaheadOnSelect), - A = - !!angular.isDefined(h.typeaheadSelectOnBlur) && - u.$eval(h.typeaheadSelectOnBlur), - x = t(h.typeaheadNoResults).assign || angular.noop, - R = h.typeaheadInputFormatter ? t(h.typeaheadInputFormatter) : void 0, - D = !!h.typeaheadAppendToBody && u.$eval(h.typeaheadAppendToBody), - $ = !1 !== u.$eval(h.typeaheadFocusFirst), - M = !!h.typeaheadSelectOnExact && u.$eval(h.typeaheadSelectOnExact), - I = t(h.ngModel), - E = t(h.ngModel + "($$$p)"), - z = l.parse(h.typeahead), - U = u.$new(), - L = u.$on("$destroy", function() { - U.$destroy(); + var g = h[0], + v = h[1], + b = d.$eval(p.typeaheadMinLength); + b || 0 === b || (b = 1); + var w, + y, + k = d.$eval(p.typeaheadWaitMs) || 0, + S = !1 !== d.$eval(p.typeaheadEditable), + T = t(p.typeaheadLoading).assign || angular.noop, + C = t(p.typeaheadOnSelect), + P = + !!angular.isDefined(p.typeaheadSelectOnBlur) && + d.$eval(p.typeaheadSelectOnBlur), + A = t(p.typeaheadNoResults).assign || angular.noop, + x = p.typeaheadInputFormatter ? t(p.typeaheadInputFormatter) : void 0, + R = !!p.typeaheadAppendToBody && d.$eval(p.typeaheadAppendToBody), + D = !1 !== d.$eval(p.typeaheadFocusFirst), + $ = !!p.typeaheadSelectOnExact && d.$eval(p.typeaheadSelectOnExact), + M = t(p.ngModel), + I = t(p.ngModel + "($$$p)"), + E = l.parse(p.typeahead), + z = d.$new(), + U = d.$on("$destroy", function() { + z.$destroy(); }); - U.$on("$destroy", L); - var F = "typeahead-" + U.$id + "-" + Math.floor(1e4 * Math.random()); - p.attr({ "aria-autocomplete": "list", "aria-expanded": !1, "aria-owns": F }); - var O = angular.element("
"); - O.attr({ - id: F, + z.$on("$destroy", U); + var L = "typeahead-" + z.$id + "-" + Math.floor(1e4 * Math.random()); + u.attr({ "aria-autocomplete": "list", "aria-expanded": !1, "aria-owns": L }); + var F = angular.element("
"); + F.attr({ + id: L, matches: "matches", active: "activeIdx", select: "select(activeIdx)", @@ -6564,167 +6564,167 @@ query: "query", position: "position" }), - angular.isDefined(h.typeaheadTemplateUrl) && - O.attr("template-url", h.typeaheadTemplateUrl), - angular.isDefined(h.typeaheadPopupTemplateUrl) && - O.attr("popup-template-url", h.typeaheadPopupTemplateUrl); - var B = function() { - (U.matches = []), (U.activeIdx = -1), p.attr("aria-expanded", !1); + angular.isDefined(p.typeaheadTemplateUrl) && + F.attr("template-url", p.typeaheadTemplateUrl), + angular.isDefined(p.typeaheadPopupTemplateUrl) && + F.attr("popup-template-url", p.typeaheadPopupTemplateUrl); + var O = function() { + (z.matches = []), (z.activeIdx = -1), u.attr("aria-expanded", !1); }, - j = function(e) { - return F + "-option-" + e; + B = function(e) { + return L + "-option-" + e; }; - U.$watch("activeIdx", function(e) { + z.$watch("activeIdx", function(e) { 0 > e - ? p.removeAttr("aria-activedescendant") - : p.attr("aria-activedescendant", j(e)); + ? u.removeAttr("aria-activedescendant") + : u.attr("aria-activedescendant", B(e)); }); - var N, - H = function(e) { + var j, + N = function(e) { var t = { $viewValue: e }; - C(u, !0), - x(u, !1), - n.when(z.source(u, t)).then( + T(d, !0), + A(d, !1), + n.when(E.source(d, t)).then( function(n) { - var a = e === v.$viewValue; - if (a && y) + var a = e === g.$viewValue; + if (a && w) if (n && n.length > 0) { - (U.activeIdx = $ ? 0 : -1), x(u, !1), (U.matches.length = 0); + (z.activeIdx = D ? 0 : -1), A(d, !1), (z.matches.length = 0); for (var o = 0; o < n.length; o++) - (t[z.itemName] = n[o]), - U.matches.push({ - id: j(o), - label: z.viewMapper(U, t), + (t[E.itemName] = n[o]), + z.matches.push({ + id: B(o), + label: E.viewMapper(z, t), model: n[o] }); - (U.query = e), - g(), - p.attr("aria-expanded", !0), - M && - 1 === U.matches.length && + (z.query = e), + m(), + u.attr("aria-expanded", !0), + $ && + 1 === z.matches.length && (function(e, t) { return ( - !!(U.matches.length > t && e) && - e.toUpperCase() === U.matches[t].label.toUpperCase() + !!(z.matches.length > t && e) && + e.toUpperCase() === z.matches[t].label.toUpperCase() ); })(e, 0) && - U.select(0); - } else B(), x(u, !0); - a && C(u, !1); + z.select(0); + } else O(), A(d, !0); + a && T(d, !1); }, function() { - B(), C(u, !1), x(u, !0); + O(), T(d, !1), A(d, !0); } ); }; - D && (angular.element(i).bind("resize", m), o.find("body").bind("scroll", m)), - (U.moveInProgress = !1), - B(), - (U.query = void 0); - var W, - V = function() { - W && a.cancel(W); + R && (angular.element(i).bind("resize", f), o.find("body").bind("scroll", f)), + (z.moveInProgress = !1), + O(), + (z.query = void 0); + var H, + W = function() { + H && a.cancel(H); }; - v.$parsers.unshift(function(e) { + g.$parsers.unshift(function(e) { return ( - (y = !0), - 0 === w || (e && e.length >= w) - ? S > 0 - ? (V(), + (w = !0), + 0 === b || (e && e.length >= b) + ? k > 0 + ? (W(), (function(e) { - W = a(function() { - H(e); - }, S); + H = a(function() { + N(e); + }, k); })(e)) - : H(e) - : (C(u, !1), V(), B()), - T + : N(e) + : (T(d, !1), W(), O()), + S ? e : e - ? void v.$setValidity("editable", !1) - : (v.$setValidity("editable", !0), null) + ? void g.$setValidity("editable", !1) + : (g.$setValidity("editable", !0), null) ); }), - v.$formatters.push(function(e) { + g.$formatters.push(function(e) { var t, n = {}; return ( - T || v.$setValidity("editable", !0), - R - ? ((n.$model = e), R(u, n)) - : ((n[z.itemName] = e), - (t = z.viewMapper(u, n)), - (n[z.itemName] = void 0), - t !== z.viewMapper(u, n) ? t : e) + S || g.$setValidity("editable", !0), + x + ? ((n.$model = e), x(d, n)) + : ((n[E.itemName] = e), + (t = E.viewMapper(d, n)), + (n[E.itemName] = void 0), + t !== E.viewMapper(d, n) ? t : e) ); }), - (U.select = function(e) { + (z.select = function(e) { var t, n, o = {}; - (k = !0), - (o[z.itemName] = n = U.matches[e].model), - (t = z.modelMapper(u, o)), + (y = !0), + (o[E.itemName] = n = z.matches[e].model), + (t = E.modelMapper(d, o)), (function(e, t) { - angular.isFunction(I(u)) && b && b.$options && b.$options.getterSetter - ? E(e, { $$$p: t }) - : I.assign(e, t); - })(u, t), - v.$setValidity("editable", !0), - v.$setValidity("parse", !0), - P(u, { $item: n, $model: t, $label: z.viewMapper(u, o) }), - B(), - !1 !== U.$eval(h.typeaheadFocusOnSelect) && + angular.isFunction(M(d)) && v && v.$options && v.$options.getterSetter + ? I(e, { $$$p: t }) + : M.assign(e, t); + })(d, t), + g.$setValidity("editable", !0), + g.$setValidity("parse", !0), + C(d, { $item: n, $model: t, $label: E.viewMapper(d, o) }), + O(), + !1 !== z.$eval(p.typeaheadFocusOnSelect) && a( function() { - p[0].focus(); + u[0].focus(); }, 0, !1 ); }), - p.bind("keydown", function(e) { - if (0 !== U.matches.length && -1 !== c.indexOf(e.which)) { - if (-1 === U.activeIdx && (9 === e.which || 13 === e.which)) - return B(), void U.$digest(); + u.bind("keydown", function(e) { + if (0 !== z.matches.length && -1 !== c.indexOf(e.which)) { + if (-1 === z.activeIdx && (9 === e.which || 13 === e.which)) + return O(), void z.$digest(); e.preventDefault(), 40 === e.which - ? ((U.activeIdx = (U.activeIdx + 1) % U.matches.length), U.$digest()) + ? ((z.activeIdx = (z.activeIdx + 1) % z.matches.length), z.$digest()) : 38 === e.which - ? ((U.activeIdx = - (U.activeIdx > 0 ? U.activeIdx : U.matches.length) - 1), - U.$digest()) + ? ((z.activeIdx = + (z.activeIdx > 0 ? z.activeIdx : z.matches.length) - 1), + z.$digest()) : 13 === e.which || 9 === e.which - ? U.$apply(function() { - U.select(U.activeIdx); + ? z.$apply(function() { + z.select(z.activeIdx); }) - : 27 === e.which && (e.stopPropagation(), B(), U.$digest()); + : 27 === e.which && (e.stopPropagation(), O(), z.$digest()); } }), - p.bind("blur", function() { - A && - U.matches.length && - -1 !== U.activeIdx && - !k && - ((k = !0), - U.$apply(function() { - U.select(U.activeIdx); + u.bind("blur", function() { + P && + z.matches.length && + -1 !== z.activeIdx && + !y && + ((y = !0), + z.$apply(function() { + z.select(z.activeIdx); })), - (y = !1), - (k = !1); + (w = !1), + (y = !1); }); - var Y = function(e) { - p[0] !== e.target && + var V = function(e) { + u[0] !== e.target && 3 !== e.which && - 0 !== U.matches.length && - (B(), r.$$phase || U.$digest()); + 0 !== z.matches.length && + (O(), r.$$phase || z.$digest()); }; - o.bind("click", Y), - u.$on("$destroy", function() { - o.unbind("click", Y), D && q.remove(), O.remove(); + o.bind("click", V), + d.$on("$destroy", function() { + o.unbind("click", V), R && Y.remove(), F.remove(); }); - var q = e(O)(U); - D ? o.find("body").append(q) : p.after(q); + var Y = e(F)(z); + R ? o.find("body").append(Y) : u.after(Y); } }; } @@ -7974,16 +7974,16 @@ t.tickGenerator || ((t.tickGenerator = function(e) { var t, - n = [], - a = (function(e, t) { - return t * Math.floor(e / t); - })(e.min, e.tickSize), - o = 0, - i = Number.NaN; + n, + a, + o = [], + i = ((n = e.min), (a = e.tickSize) * Math.floor(n / a)), + r = 0, + s = Number.NaN; do { - (t = i), (i = a + o * e.tickSize), n.push(i), ++o; - } while (i < e.max && i != t); - return n; + (t = s), (s = i + r * e.tickSize), o.push(s), ++r; + } while (s < e.max && s != t); + return o; }), (t.tickFormatter = function(e, t) { var n = t.tickDecimals ? Math.pow(10, t.tickDecimals) : 1, @@ -8209,7 +8209,7 @@ return e.label == t.label ? 0 : e.label < t.label != u ? 1 : -1; }); } - for (var d = 0; d < i.length; ++d) { + for (d = 0; d < i.length; ++d) { var p = i[d]; d % s.legend.noColumns == 0 && (l && o.push(""), o.push(""), (l = !0)), o.push( @@ -8550,15 +8550,18 @@ i && ((u.fillStyle = i), (function(e, t, n) { - var a = e.points, - o = e.pointsize, - i = Math.min(Math.max(0, n.min), n.max), - r = 0, - s = !1, - l = 1, - c = 0, - d = 0; - for (; !(o > 0 && r > a.length + o); ) { + for ( + var a = e.points, + o = e.pointsize, + i = Math.min(Math.max(0, n.min), n.max), + r = 0, + s = !1, + l = 1, + c = 0, + d = 0; + !(o > 0 && r > a.length + o); + + ) { var p = a[(r += o) - o], h = a[r - o + l], f = a[r], @@ -9032,13 +9035,13 @@ (w = f[o]), (y = f[o + 1]); var A = f[o + 2]; null != w && - (r[a].bars.horizontal + ((r[a].bars.horizontal ? m <= Math.max(A, w) && m >= Math.min(A, w) && g >= y + C && g <= y + P : m >= w + C && m <= w + P && g >= Math.min(A, y) && g <= Math.max(A, y)) && - (d = [a, o / i]); + (d = [a, o / i])); } } } @@ -9356,7 +9359,7 @@ if ("function" == typeof e.strftime) return e.strftime(t); var o, i = function(e, t) { - return (e = "" + e), (t = "" + (null == t ? "0" : t)), 1 == e.length ? t + e : e; + return (t = "" + (null == t ? "0" : t)), 1 == (e = "" + e).length ? t + e : e; }, r = [], s = !1, @@ -9444,7 +9447,7 @@ }; } var n = { date: e }; - void 0 != e.strftime && t(n, "strftime", e, "strftime"), + null != e.strftime && t(n, "strftime", e, "strftime"), t(n, "getTime", e, "getTime"), t(n, "setTime", e, "setTime"); for ( @@ -9643,7 +9646,6 @@ function(e, t, n) {}, , , - , function(e, t) { "undefined" == typeof translations && (translations = {}), (translations.nl_NL = { diff --git a/docs/flags/br.svg b/docs/flags/br.svg index 75742632..8353e823 100644 --- a/docs/flags/br.svg +++ b/docs/flags/br.svg @@ -1,45 +1,45 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/flags/cn.svg b/docs/flags/cn.svg index 218ef9f2..7873c1b4 100644 --- a/docs/flags/cn.svg +++ b/docs/flags/cn.svg @@ -1,11 +1,11 @@ - + - + - - - + + + diff --git a/docs/flags/cz.svg b/docs/flags/cz.svg index 19621f6f..9557b6e8 100644 --- a/docs/flags/cz.svg +++ b/docs/flags/cz.svg @@ -1,12 +1,5 @@ - - - - - - - - - - - + + + + diff --git a/docs/flags/de.svg b/docs/flags/de.svg index 14f34ff7..b9ea8a61 100644 --- a/docs/flags/de.svg +++ b/docs/flags/de.svg @@ -1,5 +1,5 @@ - - - - + + + + diff --git a/docs/flags/es.svg b/docs/flags/es.svg index b7f396d3..d7030eb2 100644 --- a/docs/flags/es.svg +++ b/docs/flags/es.svg @@ -1,581 +1,547 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/flags/fr.svg b/docs/flags/fr.svg index 8b00ce39..f8e3ca0d 100644 --- a/docs/flags/fr.svg +++ b/docs/flags/fr.svg @@ -1,7 +1,7 @@ - + - - - + + + diff --git a/docs/flags/id.svg b/docs/flags/id.svg index ec03e0f4..6d2cf094 100644 --- a/docs/flags/id.svg +++ b/docs/flags/id.svg @@ -1,6 +1,6 @@ - + - - + + diff --git a/docs/flags/ir.svg b/docs/flags/ir.svg index 208f066c..79f66324 100644 --- a/docs/flags/ir.svg +++ b/docs/flags/ir.svg @@ -1,219 +1,219 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + diff --git a/docs/flags/it.svg b/docs/flags/it.svg index cb4eba75..615c58fb 100644 --- a/docs/flags/it.svg +++ b/docs/flags/it.svg @@ -1,7 +1,7 @@ - + - - - + + + diff --git a/docs/flags/nl.svg b/docs/flags/nl.svg index 19e479f4..9db233dd 100644 --- a/docs/flags/nl.svg +++ b/docs/flags/nl.svg @@ -1,7 +1,5 @@ - - - - - - + + + + diff --git a/docs/flags/pl.svg b/docs/flags/pl.svg index d4f90b33..f7c12a18 100644 --- a/docs/flags/pl.svg +++ b/docs/flags/pl.svg @@ -1,6 +1,6 @@ - + - - + + diff --git a/docs/flags/ru.svg b/docs/flags/ru.svg index d04a4cff..d6430874 100644 --- a/docs/flags/ru.svg +++ b/docs/flags/ru.svg @@ -1,7 +1,7 @@ - + - - - + + + diff --git a/docs/flags/th.svg b/docs/flags/th.svg index 57231040..86850f5f 100644 --- a/docs/flags/th.svg +++ b/docs/flags/th.svg @@ -1,7 +1,7 @@ - + - - - + + + diff --git a/docs/flags/tr.svg b/docs/flags/tr.svg index 6f85dcef..861d4ea5 100644 --- a/docs/flags/tr.svg +++ b/docs/flags/tr.svg @@ -1,8 +1,8 @@ - + - - - - + + + + diff --git a/docs/flags/tw.svg b/docs/flags/tw.svg index 61978b20..5f284fc6 100644 --- a/docs/flags/tw.svg +++ b/docs/flags/tw.svg @@ -1,14 +1,14 @@ - + - + - - - - - + + + + + diff --git a/docs/flags/us.svg b/docs/flags/us.svg index 4f5ea62f..31f90c6c 100644 --- a/docs/flags/us.svg +++ b/docs/flags/us.svg @@ -1,10 +1,10 @@ - + - + diff --git a/docs/precache-manifest.b562a874cfed1a8c74df9b49e6f1c2cc.js b/docs/precache-manifest.b562a874cfed1a8c74df9b49e6f1c2cc.js deleted file mode 100644 index 0b610f01..00000000 --- a/docs/precache-manifest.b562a874cfed1a8c74df9b49e6f1c2cc.js +++ /dev/null @@ -1,82 +0,0 @@ -self.__precacheManifest = [ - { - revision: "4eb7af0db693855a4f24cb119a73110d", - url: "flags/de.svg" - }, - { - revision: "3b828f54c0e614e18db2c1816c9c2e84", - url: "index.html" - }, - { - revision: "3b00bc3b62feafb50a2e", - url: "vendor.js" - }, - { - revision: "8020fcd82cc09410f7bad1bc875c115a", - url: "flags/es.svg" - }, - { - revision: "617c6a550519013aed310e0fe85bb088", - url: "flags/us.svg" - }, - { - revision: "0f6e3867129940ef785c7c8720e0b56d", - url: "flags/ru.svg" - }, - { - revision: "09ccf3b3b0a12dd5b3559acedc77858c", - url: "flags/nl.svg" - }, - { - revision: "22084f478d0f401fa96288f7790ba8ef", - url: "flags/tw.svg" - }, - { - revision: "4a936767fc2ac7335885d90b471d8629", - url: "flags/pl.svg" - }, - { - revision: "60fb243496d39972a15bf5a78b6e50ee", - url: "flags/tr.svg" - }, - { - revision: "a88d006ab7afa49d76ecd86dd1b11f77", - url: "flags/th.svg" - }, - { - revision: "d5204a17fb30a59a4760b4109fbefe0b", - url: "flags/it.svg" - }, - { - revision: "5e7a66fb0660b714f1a47859b90767e0", - url: "flags/ir.svg" - }, - { - revision: "d107c3019844d2d1f0a4d179cbd8046e", - url: "flags/id.svg" - }, - { - revision: "be1df903f0d7711ef8a4e96b6ca56dc0", - url: "flags/fr.svg" - }, - { - revision: "5d1c62c220e3dcc85d70e206d44a9d4c", - url: "flags/cz.svg" - }, - { - revision: "bedfd890b6c16afeb952546279242cf7", - url: "flags/cn.svg" - }, - { - revision: "78de6acf30cc7fa4700207e205a52e88", - url: "flags/br.svg" - }, - { - revision: "e1870e757b1b72d20d1f", - url: "app.js" - }, - { - revision: "e1870e757b1b72d20d1f", - url: "app.css" - } -]; diff --git a/docs/precache-manifest.c23cb2e81cb77c93c5149a9eeaa9d4f8.js b/docs/precache-manifest.c23cb2e81cb77c93c5149a9eeaa9d4f8.js new file mode 100644 index 00000000..aa36b0b6 --- /dev/null +++ b/docs/precache-manifest.c23cb2e81cb77c93c5149a9eeaa9d4f8.js @@ -0,0 +1,82 @@ +self.__precacheManifest = [ + { + revision: "8b04fd598d46eb041f6c", + url: "app.css" + }, + { + revision: "8b04fd598d46eb041f6c", + url: "app.js" + }, + { + revision: "4db9d35d485b54d79b70", + url: "vendor.js" + }, + { + revision: "8ec583188aba7e9426580350312d97a5", + url: "flags/us.svg" + }, + { + revision: "904dd7853b623153a82acf5c4abd297b", + url: "flags/th.svg" + }, + { + revision: "a94c93941a4d8907fc2be5a61841c2b9", + url: "flags/cn.svg" + }, + { + revision: "390aa40fd896fda40718cf28e5b20ba5", + url: "flags/nl.svg" + }, + { + revision: "26cc9d596b2dc8b90f177afc9c390242", + url: "flags/tw.svg" + }, + { + revision: "3fe3bd51a504e4239ca5adaeb17a1651", + url: "flags/pl.svg" + }, + { + revision: "f8952213641bba462c7314007909d394", + url: "flags/fr.svg" + }, + { + revision: "4d7bac3b0b9ab578b009c54fecd5d06f", + url: "flags/de.svg" + }, + { + revision: "e3ee3b099783ef393f2f4dabdc75d5bc", + url: "flags/ru.svg" + }, + { + revision: "afff247381e7ebe7d31b609f33eca644", + url: "flags/es.svg" + }, + { + revision: "22b99ae704f3de63285bc9b9411c5031", + url: "flags/it.svg" + }, + { + revision: "ce2e2e8e0650cfed7548dd59c2c184c5", + url: "flags/tr.svg" + }, + { + revision: "80879b0e86919c6859d875da48efd0e0", + url: "flags/cz.svg" + }, + { + revision: "9f708fe5bf604f5bf38ad5ca2c00c14b", + url: "flags/id.svg" + }, + { + revision: "7bf140ab46a7630cb7c40d6ef87cc4ba", + url: "flags/ir.svg" + }, + { + revision: "ef701aba4f5dc68beb3166d7a19c8787", + url: "flags/br.svg" + }, + { + revision: "3b828f54c0e614e18db2c1816c9c2e84", + url: "index.html" + } +]; diff --git a/docs/service-worker.js b/docs/service-worker.js index da5877d9..05518a3d 100644 --- a/docs/service-worker.js +++ b/docs/service-worker.js @@ -11,9 +11,9 @@ * See https://goo.gl/2aRDsh */ -importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.4.1/workbox-sw.js"); +importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); -importScripts("precache-manifest.b562a874cfed1a8c74df9b49e6f1c2cc.js"); +importScripts("precache-manifest.c23cb2e81cb77c93c5149a9eeaa9d4f8.js"); /** * The workboxSW.precacheAndRoute() method efficiently caches and responds to diff --git a/docs/vendor.js b/docs/vendor.js index c0cde16e..e986e69e 100644 --- a/docs/vendor.js +++ b/docs/vendor.js @@ -7,7 +7,7 @@ 1: function(t, e, n) { var r; /*! - * jQuery JavaScript Library v3.3.1 + * jQuery JavaScript Library v3.5.1 * https://jquery.com/ * * Includes Sizzle.js @@ -17,24 +17,13 @@ * Released under the MIT license * https://jquery.org/license * - * Date: 2018-01-20T17:24Z - */ - /*! - * jQuery JavaScript Library v3.3.1 - * https://jquery.com/ - * - * Includes Sizzle.js - * https://sizzlejs.com/ - * - * Copyright JS Foundation and other contributors - * Released under the MIT license - * https://jquery.org/license - * - * Date: 2018-01-20T17:24Z - */ - !(function(e, n) { + * Date: 2020-05-04T22:49Z + */ !(function( + e, + n + ) { "use strict"; - "object" == typeof t && "object" == typeof t.exports + "object" == typeof t.exports ? (t.exports = e.document ? n(e, !0) : function(t) { @@ -45,60 +34,68 @@ })("undefined" != typeof window ? window : this, function(n, i) { "use strict"; var o = [], - a = n.document, - u = Object.getPrototypeOf, - s = o.slice, - c = o.concat, - l = o.push, - f = o.indexOf, - p = {}, - h = p.toString, - d = p.hasOwnProperty, - v = d.toString, - g = v.call(Object), - m = {}, - $ = function(t) { + a = Object.getPrototypeOf, + u = o.slice, + s = o.flat + ? function(t) { + return o.flat.call(t); + } + : function(t) { + return o.concat.apply([], t); + }, + c = o.push, + l = o.indexOf, + f = {}, + p = f.toString, + h = f.hasOwnProperty, + d = h.toString, + v = d.call(Object), + g = {}, + m = function(t) { return "function" == typeof t && "number" != typeof t.nodeType; }, - y = function(t) { + $ = function(t) { return null != t && t === t.window; }, - b = { type: !0, src: !0, noModule: !0 }; - function w(t, e, n) { + y = n.document, + b = { type: !0, src: !0, nonce: !0, noModule: !0 }; + function x(t, e, n) { var r, - i = (e = e || a).createElement("script"); - if (((i.text = t), n)) for (r in b) n[r] && (i[r] = n[r]); - e.head.appendChild(i).parentNode.removeChild(i); + i, + o = (n = n || y).createElement("script"); + if (((o.text = t), e)) + for (r in b) + (i = e[r] || (e.getAttribute && e.getAttribute(r))) && o.setAttribute(r, i); + n.head.appendChild(o).parentNode.removeChild(o); } - function x(t) { + function w(t) { return null == t ? t + "" : "object" == typeof t || "function" == typeof t - ? p[h.call(t)] || "object" + ? f[p.call(t)] || "object" : typeof t; } var _ = function(t, e) { - return new _.fn.init(t, e); - }, - C = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g; - function S(t) { + return new _.fn.init(t, e); + }; + function C(t) { var e = !!t && "length" in t && t.length, - n = x(t); + n = w(t); return ( + !m(t) && !$(t) && - !y(t) && ("array" === n || 0 === e || ("number" == typeof e && e > 0 && e - 1 in t)) ); } (_.fn = _.prototype = { - jquery: "3.3.1", + jquery: "3.5.1", constructor: _, length: 0, toArray: function() { - return s.call(this); + return u.call(this); }, get: function(t) { - return null == t ? s.call(this) : t < 0 ? this[t + this.length] : this[t]; + return null == t ? u.call(this) : t < 0 ? this[t + this.length] : this[t]; }, pushStack: function(t) { var e = _.merge(this.constructor(), t); @@ -115,7 +112,7 @@ ); }, slice: function() { - return this.pushStack(s.apply(this, arguments)); + return this.pushStack(u.apply(this, arguments)); }, first: function() { return this.eq(0); @@ -123,6 +120,20 @@ last: function() { return this.eq(-1); }, + even: function() { + return this.pushStack( + _.grep(this, function(t, e) { + return (e + 1) % 2; + }) + ); + }, + odd: function() { + return this.pushStack( + _.grep(this, function(t, e) { + return e % 2; + }) + ); + }, eq: function(t) { var e = this.length, n = +t + (t < 0 ? e : 0); @@ -131,7 +142,7 @@ end: function() { return this.prevObject || this.constructor(); }, - push: l, + push: c, sort: o.sort, splice: o.splice }), @@ -148,25 +159,26 @@ c = !1; for ( "boolean" == typeof a && ((c = a), (a = arguments[u] || {}), u++), - "object" == typeof a || $(a) || (a = {}), + "object" == typeof a || m(a) || (a = {}), u === s && ((a = this), u--); u < s; u++ ) if (null != (t = arguments[u])) for (e in t) - (n = a[e]), - a !== (r = t[e]) && + (r = t[e]), + "__proto__" !== e && + a !== r && (c && r && (_.isPlainObject(r) || (i = Array.isArray(r))) - ? (i - ? ((i = !1), (o = n && Array.isArray(n) ? n : [])) - : (o = n && _.isPlainObject(n) ? n : {}), + ? ((n = a[e]), + (o = i && !Array.isArray(n) ? [] : i || _.isPlainObject(n) ? n : {}), + (i = !1), (a[e] = _.extend(c, o, r))) : void 0 !== r && (a[e] = r)); return a; }), _.extend({ - expando: "jQuery" + ("3.3.1" + Math.random()).replace(/\D/g, ""), + expando: "jQuery" + ("3.5.1" + Math.random()).replace(/\D/g, ""), isReady: !0, error: function(t) { throw new Error(t); @@ -175,10 +187,10 @@ isPlainObject: function(t) { var e, n; return ( - !(!t || "[object Object]" !== h.call(t)) && - (!(e = u(t)) || - ("function" == typeof (n = d.call(e, "constructor") && e.constructor) && - v.call(n) === g)) + !(!t || "[object Object]" !== p.call(t)) && + (!(e = a(t)) || + ("function" == typeof (n = h.call(e, "constructor") && e.constructor) && + d.call(n) === v)) ); }, isEmptyObject: function(t) { @@ -186,29 +198,26 @@ for (e in t) return !1; return !0; }, - globalEval: function(t) { - w(t); + globalEval: function(t, e, n) { + x(t, { nonce: e && e.nonce }, n); }, each: function(t, e) { var n, r = 0; - if (S(t)) for (n = t.length; r < n && !1 !== e.call(t[r], r, t[r]); r++); + if (C(t)) for (n = t.length; r < n && !1 !== e.call(t[r], r, t[r]); r++); else for (r in t) if (!1 === e.call(t[r], r, t[r])) break; return t; }, - trim: function(t) { - return null == t ? "" : (t + "").replace(C, ""); - }, makeArray: function(t, e) { var n = e || []; return ( null != t && - (S(Object(t)) ? _.merge(n, "string" == typeof t ? [t] : t) : l.call(n, t)), + (C(Object(t)) ? _.merge(n, "string" == typeof t ? [t] : t) : c.call(n, t)), n ); }, inArray: function(t, e, n) { - return null == e ? -1 : f.call(e, t, n); + return null == e ? -1 : l.call(e, t, n); }, merge: function(t, e) { for (var n = +e.length, r = 0, i = t.length; r < n; r++) t[i++] = e[r]; @@ -224,30 +233,30 @@ i, o = 0, a = []; - if (S(t)) for (r = t.length; o < r; o++) null != (i = e(t[o], o, n)) && a.push(i); + if (C(t)) for (r = t.length; o < r; o++) null != (i = e(t[o], o, n)) && a.push(i); else for (o in t) null != (i = e(t[o], o, n)) && a.push(i); - return c.apply([], a); + return s(a); }, guid: 1, - support: m + support: g }), "function" == typeof Symbol && (_.fn[Symbol.iterator] = o[Symbol.iterator]), _.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function(t, e) { - p["[object " + e + "]"] = e.toLowerCase(); + f["[object " + e + "]"] = e.toLowerCase(); } ); - var E = + var S = /*! - * Sizzle CSS Selector Engine v2.3.3 + * Sizzle CSS Selector Engine v2.3.5 * https://sizzlejs.com/ * - * Copyright jQuery Foundation and other contributors + * Copyright JS Foundation and other contributors * Released under the MIT license - * http://jquery.org/license + * https://js.foundation/ * - * Date: 2016-08-08 + * Date: 2020-03-14 */ (function(t) { var e, @@ -270,124 +279,127 @@ $, y, b = "sizzle" + 1 * new Date(), - w = t.document, - x = 0, + x = t.document, + w = 0, _ = 0, - C = at(), - S = at(), - E = at(), - k = function(t, e) { + C = st(), + S = st(), + E = st(), + k = st(), + A = function(t, e) { return t === e && (f = !0), 0; }, - A = {}.hasOwnProperty, - T = [], - O = T.pop, - j = T.push, - N = T.push, - M = T.slice, - L = function(t, e) { + T = {}.hasOwnProperty, + O = [], + j = O.pop, + N = O.push, + L = O.push, + M = O.slice, + D = function(t, e) { for (var n = 0, r = t.length; n < r; n++) if (t[n] === e) return n; return -1; }, - D = + I = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", - I = "[\\x20\\t\\r\\n\\f]", - R = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", - P = + R = "[\\x20\\t\\r\\n\\f]", + P = "(?:\\\\[\\da-fA-F]{1,6}" + R + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + V = "\\[" + - I + - "*(" + R + + "*(" + + P + ")(?:" + - I + + R + "*([*^$|!~]?=)" + - I + - "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + R + + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + + P + "))|)" + - I + + R + "*\\]", - V = + q = ":(" + - R + - ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + P + + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + + V + ")*)|.*)\\)|)", - q = new RegExp(I + "+", "g"), - U = new RegExp("^" + I + "+|((?:^|[^\\\\])(?:\\\\.)*)" + I + "+$", "g"), - F = new RegExp("^" + I + "*," + I + "*"), - H = new RegExp("^" + I + "*([>+~]|" + I + ")" + I + "*"), - B = new RegExp("=" + I + "*([^\\]'\"]*?)" + I + "*\\]", "g"), - z = new RegExp(V), - W = new RegExp("^" + R + "$"), - G = { - ID: new RegExp("^#(" + R + ")"), - CLASS: new RegExp("^\\.(" + R + ")"), - TAG: new RegExp("^(" + R + "|[*])"), - ATTR: new RegExp("^" + P), - PSEUDO: new RegExp("^" + V), + U = new RegExp(R + "+", "g"), + F = new RegExp("^" + R + "+|((?:^|[^\\\\])(?:\\\\.)*)" + R + "+$", "g"), + H = new RegExp("^" + R + "*," + R + "*"), + z = new RegExp("^" + R + "*([>+~]|" + R + ")" + R + "*"), + B = new RegExp(R + "|>"), + W = new RegExp(q), + G = new RegExp("^" + P + "$"), + K = { + ID: new RegExp("^#(" + P + ")"), + CLASS: new RegExp("^\\.(" + P + ")"), + TAG: new RegExp("^(" + P + "|[*])"), + ATTR: new RegExp("^" + V), + PSEUDO: new RegExp("^" + q), CHILD: new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + - I + + R + "*(even|odd|(([+-]|)(\\d*)n|)" + - I + + R + "*(?:([+-]|)" + - I + + R + "*(\\d+)|))" + - I + + R + "*\\)|)", "i" ), - bool: new RegExp("^(?:" + D + ")$", "i"), + bool: new RegExp("^(?:" + I + ")$", "i"), needsContext: new RegExp( "^" + - I + + R + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + - I + + R + "*((?:-\\d)?\\d*)" + - I + + R + "*\\)|)(?=[^-]|$)", "i" ) }, - K = /^(?:input|select|textarea|button)$/i, - J = /^h\d$/i, - Y = /^[^{]+\{\s*\[native \w/, - Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - X = /[+~]/, - Q = new RegExp("\\\\([\\da-f]{1,6}" + I + "?|(" + I + ")|.)", "ig"), - tt = function(t, e, n) { - var r = "0x" + e - 65536; - return r != r || n - ? e - : r < 0 - ? String.fromCharCode(r + 65536) - : String.fromCharCode((r >> 10) | 55296, (1023 & r) | 56320); - }, - et = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + J = /HTML$/i, + Y = /^(?:input|select|textarea|button)$/i, + X = /^h\d$/i, + Z = /^[^{]+\{\s*\[native \w/, + Q = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + tt = /[+~]/, + et = new RegExp("\\\\[\\da-fA-F]{1,6}" + R + "?|\\\\([^\\r\\n\\f])", "g"), nt = function(t, e) { + var n = "0x" + t.slice(1) - 65536; + return ( + e || + (n < 0 + ? String.fromCharCode(n + 65536) + : String.fromCharCode((n >> 10) | 55296, (1023 & n) | 56320)) + ); + }, + rt = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + it = function(t, e) { return e ? "\0" === t ? "�" : t.slice(0, -1) + "\\" + t.charCodeAt(t.length - 1).toString(16) + " " : "\\" + t; }, - rt = function() { + ot = function() { p(); }, - it = $t( + at = bt( function(t) { - return !0 === t.disabled && ("form" in t || "label" in t); + return !0 === t.disabled && "fieldset" === t.nodeName.toLowerCase(); }, { dir: "parentNode", next: "legend" } ); try { - N.apply((T = M.call(w.childNodes)), w.childNodes), T[w.childNodes.length].nodeType; + L.apply((O = M.call(x.childNodes)), x.childNodes), O[x.childNodes.length].nodeType; } catch (t) { - N = { - apply: T.length + L = { + apply: O.length ? function(t, e) { - j.apply(t, M.call(e)); + N.apply(t, M.call(e)); } : function(t, e) { for (var n = t.length, r = 0; (t[n++] = e[r++]); ); @@ -395,7 +407,7 @@ } }; } - function ot(t, e, r, i) { + function ut(t, e, r, i) { var o, u, c, @@ -407,8 +419,8 @@ x = e ? e.nodeType : 9; if (((r = r || []), "string" != typeof t || !t || (1 !== x && 9 !== x && 11 !== x))) return r; - if (!i && ((e ? e.ownerDocument || e : w) !== h && p(e), (e = e || h), v)) { - if (11 !== x && (f = Z.exec(t))) + if (!i && (p(e), (e = e || h), v)) { + if (11 !== x && (f = Q.exec(t))) if ((o = f[1])) { if (9 === x) { if (!(c = e.getElementById(o))) return r; @@ -416,45 +428,50 @@ } else if ($ && (c = $.getElementById(o)) && y(e, c) && c.id === o) return r.push(c), r; } else { - if (f[2]) return N.apply(r, e.getElementsByTagName(t)), r; + if (f[2]) return L.apply(r, e.getElementsByTagName(t)), r; if ((o = f[3]) && n.getElementsByClassName && e.getElementsByClassName) - return N.apply(r, e.getElementsByClassName(o)), r; + return L.apply(r, e.getElementsByClassName(o)), r; } - if (n.qsa && !E[t + " "] && (!g || !g.test(t))) { - if (1 !== x) ($ = e), (m = t); - else if ("object" !== e.nodeName.toLowerCase()) { + if ( + n.qsa && + !k[t + " "] && + (!g || !g.test(t)) && + (1 !== x || "object" !== e.nodeName.toLowerCase()) + ) { + if (((m = t), ($ = e), 1 === x && (B.test(t) || z.test(t)))) { for ( - (l = e.getAttribute("id")) - ? (l = l.replace(et, nt)) - : e.setAttribute("id", (l = b)), + (($ = (tt.test(t) && mt(e.parentNode)) || e) === e && n.scope) || + ((l = e.getAttribute("id")) + ? (l = l.replace(rt, it)) + : e.setAttribute("id", (l = b))), u = (d = a(t)).length; u--; ) - d[u] = "#" + l + " " + mt(d[u]); - (m = d.join(",")), ($ = (X.test(t) && vt(e.parentNode)) || e); + d[u] = (l ? "#" + l : ":scope") + " " + yt(d[u]); + m = d.join(","); + } + try { + return L.apply(r, $.querySelectorAll(m)), r; + } catch (e) { + k(t, !0); + } finally { + l === b && e.removeAttribute("id"); } - if (m) - try { - return N.apply(r, $.querySelectorAll(m)), r; - } catch (t) { - } finally { - l === b && e.removeAttribute("id"); - } } } - return s(t.replace(U, "$1"), e, r, i); + return s(t.replace(F, "$1"), e, r, i); } - function at() { + function st() { var t = []; return function e(n, i) { return t.push(n + " ") > r.cacheLength && delete e[t.shift()], (e[n + " "] = i); }; } - function ut(t) { + function ct(t) { return (t[b] = !0), t; } - function st(t) { + function lt(t) { var e = h.createElement("fieldset"); try { return !!t(e); @@ -464,28 +481,28 @@ e.parentNode && e.parentNode.removeChild(e), (e = null); } } - function ct(t, e) { + function ft(t, e) { for (var n = t.split("|"), i = n.length; i--; ) r.attrHandle[n[i]] = e; } - function lt(t, e) { + function pt(t, e) { var n = e && t, r = n && 1 === t.nodeType && 1 === e.nodeType && t.sourceIndex - e.sourceIndex; if (r) return r; if (n) for (; (n = n.nextSibling); ) if (n === e) return -1; return t ? 1 : -1; } - function ft(t) { + function ht(t) { return function(e) { return "input" === e.nodeName.toLowerCase() && e.type === t; }; } - function pt(t) { + function dt(t) { return function(e) { var n = e.nodeName.toLowerCase(); return ("input" === n || "button" === n) && e.type === t; }; } - function ht(t) { + function vt(t) { return function(e) { return "form" in e ? e.parentNode && !1 === e.disabled @@ -493,51 +510,59 @@ ? "label" in e.parentNode ? e.parentNode.disabled === t : e.disabled === t - : e.isDisabled === t || (e.isDisabled !== !t && it(e) === t) + : e.isDisabled === t || (e.isDisabled !== !t && at(e) === t) : e.disabled === t : "label" in e && e.disabled === t; }; } - function dt(t) { - return ut(function(e) { + function gt(t) { + return ct(function(e) { return ( (e = +e), - ut(function(n, r) { + ct(function(n, r) { for (var i, o = t([], n.length, e), a = o.length; a--; ) n[(i = o[a])] && (n[i] = !(r[i] = n[i])); }) ); }); } - function vt(t) { + function mt(t) { return t && void 0 !== t.getElementsByTagName && t; } - for (e in ((n = ot.support = {}), - (o = ot.isXML = function(t) { - var e = t && (t.ownerDocument || t).documentElement; - return !!e && "HTML" !== e.nodeName; + for (e in ((n = ut.support = {}), + (o = ut.isXML = function(t) { + var e = t.namespaceURI, + n = (t.ownerDocument || t).documentElement; + return !J.test(e || (n && n.nodeName) || "HTML"); }), - (p = ot.setDocument = function(t) { + (p = ut.setDocument = function(t) { var e, i, - a = t ? t.ownerDocument || t : w; - return a !== h && 9 === a.nodeType && a.documentElement + a = t ? t.ownerDocument || t : x; + return a != h && 9 === a.nodeType && a.documentElement ? ((d = (h = a).documentElement), (v = !o(h)), - w !== h && + x != h && (i = h.defaultView) && i.top !== i && (i.addEventListener - ? i.addEventListener("unload", rt, !1) - : i.attachEvent && i.attachEvent("onunload", rt)), - (n.attributes = st(function(t) { + ? i.addEventListener("unload", ot, !1) + : i.attachEvent && i.attachEvent("onunload", ot)), + (n.scope = lt(function(t) { + return ( + d.appendChild(t).appendChild(h.createElement("div")), + void 0 !== t.querySelectorAll && + !t.querySelectorAll(":scope fieldset div").length + ); + })), + (n.attributes = lt(function(t) { return (t.className = "i"), !t.getAttribute("className"); })), - (n.getElementsByTagName = st(function(t) { + (n.getElementsByTagName = lt(function(t) { return t.appendChild(h.createComment("")), !t.getElementsByTagName("*").length; })), - (n.getElementsByClassName = Y.test(h.getElementsByClassName)), - (n.getById = st(function(t) { + (n.getElementsByClassName = Z.test(h.getElementsByClassName)), + (n.getById = lt(function(t) { return ( (d.appendChild(t).id = b), !h.getElementsByName || !h.getElementsByName(b).length @@ -545,7 +570,7 @@ })), n.getById ? ((r.filter.ID = function(t) { - var e = t.replace(Q, tt); + var e = t.replace(et, nt); return function(t) { return t.getAttribute("id") === e; }; @@ -557,7 +582,7 @@ } })) : ((r.filter.ID = function(t) { - var e = t.replace(Q, tt); + var e = t.replace(et, nt); return function(t) { var n = void 0 !== t.getAttributeNode && t.getAttributeNode("id"); return n && n.value === e; @@ -604,8 +629,9 @@ }), (m = []), (g = []), - (n.qsa = Y.test(h.querySelectorAll)) && - (st(function(t) { + (n.qsa = Z.test(h.querySelectorAll)) && + (lt(function(t) { + var e; (d.appendChild(t).innerHTML = ""), t.querySelectorAll("[msallowcapture^='']").length && - g.push("[*^$]=" + I + "*(?:''|\"\")"), + g.push("[*^$]=" + R + "*(?:''|\"\")"), t.querySelectorAll("[selected]").length || - g.push("\\[" + I + "*(?:value|" + D + ")"), + g.push("\\[" + R + "*(?:value|" + I + ")"), t.querySelectorAll("[id~=" + b + "-]").length || g.push("~="), + (e = h.createElement("input")).setAttribute("name", ""), + t.appendChild(e), + t.querySelectorAll("[name='']").length || + g.push("\\[" + R + "*name" + R + "*=" + R + "*(?:''|\"\")"), t.querySelectorAll(":checked").length || g.push(":checked"), - t.querySelectorAll("a#" + b + "+*").length || g.push(".#.+[+~]"); + t.querySelectorAll("a#" + b + "+*").length || g.push(".#.+[+~]"), + t.querySelectorAll("\\\f"), + g.push("[\\r\\n\\f]"); }), - st(function(t) { + lt(function(t) { t.innerHTML = ""; var e = h.createElement("input"); e.setAttribute("type", "hidden"), t.appendChild(e).setAttribute("name", "D"), - t.querySelectorAll("[name=d]").length && g.push("name" + I + "*[*^$|!~]?="), + t.querySelectorAll("[name=d]").length && g.push("name" + R + "*[*^$|!~]?="), 2 !== t.querySelectorAll(":enabled").length && g.push(":enabled", ":disabled"), (d.appendChild(t).disabled = !0), @@ -635,7 +667,7 @@ t.querySelectorAll("*,:x"), g.push(",.*:"); })), - (n.matchesSelector = Y.test( + (n.matchesSelector = Z.test( ($ = d.matches || d.webkitMatchesSelector || @@ -643,16 +675,16 @@ d.oMatchesSelector || d.msMatchesSelector) )) && - st(function(t) { + lt(function(t) { (n.disconnectedMatch = $.call(t, "*")), $.call(t, "[s!='']:x"), - m.push("!=", V); + m.push("!=", q); }), (g = g.length && new RegExp(g.join("|"))), (m = m.length && new RegExp(m.join("|"))), - (e = Y.test(d.compareDocumentPosition)), + (e = Z.test(d.compareDocumentPosition)), (y = - e || Y.test(d.contains) + e || Z.test(d.contains) ? function(t, e) { var n = 9 === t.nodeType ? t.documentElement : t, r = e && e.parentNode; @@ -671,7 +703,7 @@ if (e) for (; (e = e.parentNode); ) if (e === t) return !0; return !1; }), - (k = e + (A = e ? function(t, e) { if (t === e) return (f = !0), 0; var r = !t.compareDocumentPosition - !e.compareDocumentPosition; @@ -679,16 +711,16 @@ r || (1 & (r = - (t.ownerDocument || t) === (e.ownerDocument || e) + (t.ownerDocument || t) == (e.ownerDocument || e) ? t.compareDocumentPosition(e) : 1) || (!n.sortDetached && e.compareDocumentPosition(t) === r) - ? t === h || (t.ownerDocument === w && y(w, t)) + ? t == h || (t.ownerDocument == x && y(x, t)) ? -1 - : e === h || (e.ownerDocument === w && y(w, e)) + : e == h || (e.ownerDocument == x && y(x, e)) ? 1 : l - ? L(l, t) - L(l, e) + ? D(l, t) - D(l, e) : 0 : 4 & r ? -1 @@ -704,49 +736,50 @@ a = [t], u = [e]; if (!i || !o) - return t === h + return t == h ? -1 - : e === h + : e == h ? 1 : i ? -1 : o ? 1 : l - ? L(l, t) - L(l, e) + ? D(l, t) - D(l, e) : 0; - if (i === o) return lt(t, e); + if (i === o) return pt(t, e); for (n = t; (n = n.parentNode); ) a.unshift(n); for (n = e; (n = n.parentNode); ) u.unshift(n); for (; a[r] === u[r]; ) r++; - return r ? lt(a[r], u[r]) : a[r] === w ? -1 : u[r] === w ? 1 : 0; + return r ? pt(a[r], u[r]) : a[r] == x ? -1 : u[r] == x ? 1 : 0; }), h) : h; }), - (ot.matches = function(t, e) { - return ot(t, null, null, e); + (ut.matches = function(t, e) { + return ut(t, null, null, e); }), - (ot.matchesSelector = function(t, e) { + (ut.matchesSelector = function(t, e) { if ( - ((t.ownerDocument || t) !== h && p(t), - (e = e.replace(B, "='$1']")), - n.matchesSelector && v && !E[e + " "] && (!m || !m.test(e)) && (!g || !g.test(e))) + (p(t), + n.matchesSelector && v && !k[e + " "] && (!m || !m.test(e)) && (!g || !g.test(e))) ) try { var r = $.call(t, e); if (r || n.disconnectedMatch || (t.document && 11 !== t.document.nodeType)) return r; - } catch (t) {} - return ot(e, h, null, [t]).length > 0; + } catch (t) { + k(e, !0); + } + return ut(e, h, null, [t]).length > 0; }), - (ot.contains = function(t, e) { - return (t.ownerDocument || t) !== h && p(t), y(t, e); + (ut.contains = function(t, e) { + return (t.ownerDocument || t) != h && p(t), y(t, e); }), - (ot.attr = function(t, e) { - (t.ownerDocument || t) !== h && p(t); + (ut.attr = function(t, e) { + (t.ownerDocument || t) != h && p(t); var i = r.attrHandle[e.toLowerCase()], - o = i && A.call(r.attrHandle, e.toLowerCase()) ? i(t, e, !v) : void 0; + o = i && T.call(r.attrHandle, e.toLowerCase()) ? i(t, e, !v) : void 0; return void 0 !== o ? o : n.attributes || !v @@ -755,24 +788,24 @@ ? o.value : null; }), - (ot.escape = function(t) { - return (t + "").replace(et, nt); + (ut.escape = function(t) { + return (t + "").replace(rt, it); }), - (ot.error = function(t) { + (ut.error = function(t) { throw new Error("Syntax error, unrecognized expression: " + t); }), - (ot.uniqueSort = function(t) { + (ut.uniqueSort = function(t) { var e, r = [], i = 0, o = 0; - if (((f = !n.detectDuplicates), (l = !n.sortStable && t.slice(0)), t.sort(k), f)) { + if (((f = !n.detectDuplicates), (l = !n.sortStable && t.slice(0)), t.sort(A), f)) { for (; (e = t[o++]); ) e === t[o] && (i = r.push(o)); for (; i--; ) t.splice(r[i], 1); } return (l = null), t; }), - (i = ot.getText = function(t) { + (i = ut.getText = function(t) { var e, n = "", r = 0, @@ -785,10 +818,10 @@ } else for (; (e = t[r++]); ) n += i(e); return n; }), - ((r = ot.selectors = { + ((r = ut.selectors = { cacheLength: 50, - createPseudo: ut, - match: G, + createPseudo: ct, + match: K, attrHandle: {}, find: {}, relative: { @@ -800,8 +833,8 @@ preFilter: { ATTR: function(t) { return ( - (t[1] = t[1].replace(Q, tt)), - (t[3] = (t[3] || t[4] || t[5] || "").replace(Q, tt)), + (t[1] = t[1].replace(et, nt)), + (t[3] = (t[3] || t[4] || t[5] || "").replace(et, nt)), "~=" === t[2] && (t[3] = " " + t[3] + " "), t.slice(0, 4) ); @@ -810,24 +843,24 @@ return ( (t[1] = t[1].toLowerCase()), "nth" === t[1].slice(0, 3) - ? (t[3] || ot.error(t[0]), + ? (t[3] || ut.error(t[0]), (t[4] = +(t[4] ? t[5] + (t[6] || 1) : 2 * ("even" === t[3] || "odd" === t[3]))), (t[5] = +(t[7] + t[8] || "odd" === t[3]))) - : t[3] && ot.error(t[0]), + : t[3] && ut.error(t[0]), t ); }, PSEUDO: function(t) { var e, n = !t[6] && t[2]; - return G.CHILD.test(t[0]) + return K.CHILD.test(t[0]) ? null : (t[3] ? (t[2] = t[4] || t[5] || "") : n && - z.test(n) && + W.test(n) && (e = a(n, !0)) && (e = n.indexOf(")", n.length - e) - n.length) && ((t[0] = t[0].slice(0, e)), (t[2] = n.slice(0, e))), @@ -836,7 +869,7 @@ }, filter: { TAG: function(t) { - var e = t.replace(Q, tt).toLowerCase(); + var e = t.replace(et, nt).toLowerCase(); return "*" === t ? function() { return !0; @@ -849,7 +882,7 @@ var e = C[t + " "]; return ( e || - ((e = new RegExp("(^|" + I + ")" + t + "(" + I + "|$)")) && + ((e = new RegExp("(^|" + R + ")" + t + "(" + R + "|$)")) && C(t, function(t) { return e.test( ("string" == typeof t.className && t.className) || @@ -861,7 +894,7 @@ }, ATTR: function(t, e, n) { return function(r) { - var i = ot.attr(r, t); + var i = ut.attr(r, t); return null == i ? "!=" === e : !e || @@ -877,7 +910,7 @@ : "$=" === e ? n && i.slice(-n.length) === n : "~=" === e - ? (" " + i.replace(q, " ") + " ").indexOf(n) > -1 + ? (" " + i.replace(U, " ") + " ").indexOf(n) > -1 : "|=" === e && (i === n || i.slice(0, n.length + 1) === n + "-")); }; @@ -919,13 +952,13 @@ (c = (l = (f = (p = g)[b] || (p[b] = {}))[p.uniqueID] || - (f[p.uniqueID] = {}))[t] || [])[0] === x && c[1]) && c[2], + (f[p.uniqueID] = {}))[t] || [])[0] === w && c[1]) && c[2], p = h && g.childNodes[h]; (p = (++h && p && p[v]) || (y = h = 0) || d.pop()); ) if (1 === p.nodeType && ++y && p === e) { - l[t] = [x, h, y]; + l[t] = [w, h, y]; break; } } else if ( @@ -934,7 +967,7 @@ (c = (l = (f = (p = e)[b] || (p[b] = {}))[p.uniqueID] || - (f[p.uniqueID] = {}))[t] || [])[0] === x && c[1]), + (f[p.uniqueID] = {}))[t] || [])[0] === w && c[1]), !1 === y) ) for ( @@ -946,7 +979,7 @@ ((l = (f = p[b] || (p[b] = {}))[p.uniqueID] || (f[p.uniqueID] = {}))[ t - ] = [x, y]), + ] = [w, y]), p !== e)); ); @@ -959,15 +992,15 @@ i = r.pseudos[t] || r.setFilters[t.toLowerCase()] || - ot.error("unsupported pseudo: " + t); + ut.error("unsupported pseudo: " + t); return i[b] ? i(e) : i.length > 1 ? ((n = [t, t, "", e]), r.setFilters.hasOwnProperty(t.toLowerCase()) - ? ut(function(t, n) { + ? ct(function(t, n) { for (var r, o = i(t, e), a = o.length; a--; ) - t[(r = L(t, o[a]))] = !(n[r] = o[a]); + t[(r = D(t, o[a]))] = !(n[r] = o[a]); }) : function(t) { return i(t, 0, n); @@ -976,12 +1009,12 @@ } }, pseudos: { - not: ut(function(t) { + not: ct(function(t) { var e = [], n = [], - r = u(t.replace(U, "$1")); + r = u(t.replace(F, "$1")); return r[b] - ? ut(function(t, e, n, i) { + ? ct(function(t, e, n, i) { for (var o, a = r(t, null, i, []), u = t.length; u--; ) (o = a[u]) && (t[u] = !(e[u] = o)); }) @@ -989,23 +1022,23 @@ return (e[0] = t), r(e, null, o, n), (e[0] = null), !n.pop(); }; }), - has: ut(function(t) { + has: ct(function(t) { return function(e) { - return ot(t, e).length > 0; + return ut(t, e).length > 0; }; }), - contains: ut(function(t) { + contains: ct(function(t) { return ( - (t = t.replace(Q, tt)), + (t = t.replace(et, nt)), function(e) { - return (e.textContent || e.innerText || i(e)).indexOf(t) > -1; + return (e.textContent || i(e)).indexOf(t) > -1; } ); }), - lang: ut(function(t) { + lang: ct(function(t) { return ( - W.test(t || "") || ot.error("unsupported lang: " + t), - (t = t.replace(Q, tt).toLowerCase()), + G.test(t || "") || ut.error("unsupported lang: " + t), + (t = t.replace(et, nt).toLowerCase()), function(e) { var n; do { @@ -1030,8 +1063,8 @@ !!(t.type || t.href || ~t.tabIndex) ); }, - enabled: ht(!1), - disabled: ht(!0), + enabled: vt(!1), + disabled: vt(!0), checked: function(t) { var e = t.nodeName.toLowerCase(); return ("input" === e && !!t.checked) || ("option" === e && !!t.selected); @@ -1047,10 +1080,10 @@ return !r.pseudos.empty(t); }, header: function(t) { - return J.test(t.nodeName); + return X.test(t.nodeName); }, input: function(t) { - return K.test(t.nodeName); + return Y.test(t.nodeName); }, button: function(t) { var e = t.nodeName.toLowerCase(); @@ -1064,42 +1097,42 @@ (null == (e = t.getAttribute("type")) || "text" === e.toLowerCase()) ); }, - first: dt(function() { + first: gt(function() { return [0]; }), - last: dt(function(t, e) { + last: gt(function(t, e) { return [e - 1]; }), - eq: dt(function(t, e, n) { + eq: gt(function(t, e, n) { return [n < 0 ? n + e : n]; }), - even: dt(function(t, e) { + even: gt(function(t, e) { for (var n = 0; n < e; n += 2) t.push(n); return t; }), - odd: dt(function(t, e) { + odd: gt(function(t, e) { for (var n = 1; n < e; n += 2) t.push(n); return t; }), - lt: dt(function(t, e, n) { - for (var r = n < 0 ? n + e : n; --r >= 0; ) t.push(r); + lt: gt(function(t, e, n) { + for (var r = n < 0 ? n + e : n > e ? e : n; --r >= 0; ) t.push(r); return t; }), - gt: dt(function(t, e, n) { + gt: gt(function(t, e, n) { for (var r = n < 0 ? n + e : n; ++r < e; ) t.push(r); return t; }) } }).pseudos.nth = r.pseudos.eq), { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })) - r.pseudos[e] = ft(e); - for (e in { submit: !0, reset: !0 }) r.pseudos[e] = pt(e); - function gt() {} - function mt(t) { + r.pseudos[e] = ht(e); + for (e in { submit: !0, reset: !0 }) r.pseudos[e] = dt(e); + function $t() {} + function yt(t) { for (var e = 0, n = t.length, r = ""; e < n; e++) r += t[e].value; return r; } - function $t(t, e, n) { + function bt(t, e, n) { var r = e.dir, i = e.next, o = i || r, @@ -1114,7 +1147,7 @@ var c, l, f, - p = [x, u]; + p = [w, u]; if (s) { for (; (e = e[r]); ) if ((1 === e.nodeType || a) && t(e, n, s)) return !0; } else @@ -1126,13 +1159,13 @@ ) e = e[r] || e; else { - if ((c = l[o]) && c[0] === x && c[1] === u) return (p[2] = c[2]); + if ((c = l[o]) && c[0] === w && c[1] === u) return (p[2] = c[2]); if (((l[o] = p), (p[2] = t(e, n, s)))) return !0; } return !1; }; } - function yt(t) { + function xt(t) { return t.length > 1 ? function(e, n, r) { for (var i = t.length; i--; ) if (!t[i](e, n, r)) return !1; @@ -1140,16 +1173,16 @@ } : t[0]; } - function bt(t, e, n, r, i) { + function wt(t, e, n, r, i) { for (var o, a = [], u = 0, s = t.length, c = null != e; u < s; u++) (o = t[u]) && ((n && !n(o, r, i)) || (a.push(o), c && e.push(u))); return a; } - function wt(t, e, n, r, i, o) { + function _t(t, e, n, r, i, o) { return ( - r && !r[b] && (r = wt(r)), - i && !i[b] && (i = wt(i, o)), - ut(function(o, a, u, s) { + r && !r[b] && (r = _t(r)), + i && !i[b] && (i = _t(i, o)), + ct(function(o, a, u, s) { var c, l, f, @@ -1159,13 +1192,13 @@ v = o || (function(t, e, n) { - for (var r = 0, i = e.length; r < i; r++) ot(t, e[r], n); + for (var r = 0, i = e.length; r < i; r++) ut(t, e[r], n); return n; })(e || "*", u.nodeType ? [u] : u, []), - g = !t || (!o && e) ? v : bt(v, p, t, u, s), + g = !t || (!o && e) ? v : wt(v, p, t, u, s), m = n ? (i || (o ? t : d || r) ? [] : a) : g; if ((n && n(g, m, u, s), r)) - for (c = bt(m, h), r(c, [], u, s), l = c.length; l--; ) + for (c = wt(m, h), r(c, [], u, s), l = c.length; l--; ) (f = c[l]) && (m[h[l]] = !(g[h[l]] = f)); if (o) { if (i || t) { @@ -1174,13 +1207,13 @@ i(null, (m = []), c, s); } for (l = m.length; l--; ) - (f = m[l]) && (c = i ? L(o, f) : p[l]) > -1 && (o[c] = !(a[c] = f)); + (f = m[l]) && (c = i ? D(o, f) : p[l]) > -1 && (o[c] = !(a[c] = f)); } - } else (m = bt(m === a ? m.splice(d, m.length) : m)), i ? i(null, a, m, s) : N.apply(a, m); + } else (m = wt(m === a ? m.splice(d, m.length) : m)), i ? i(null, a, m, s) : L.apply(a, m); }) ); } - function xt(t) { + function Ct(t) { for ( var e, n, @@ -1189,16 +1222,16 @@ a = r.relative[t[0].type], u = a || r.relative[" "], s = a ? 1 : 0, - l = $t( + l = bt( function(t) { return t === e; }, u, !0 ), - f = $t( + f = bt( function(t) { - return L(e, t) > -1; + return D(e, t) > -1; }, u, !0 @@ -1213,30 +1246,30 @@ s < o; s++ ) - if ((n = r.relative[t[s].type])) p = [$t(yt(p), n)]; + if ((n = r.relative[t[s].type])) p = [bt(xt(p), n)]; else { if ((n = r.filter[t[s].type].apply(null, t[s].matches))[b]) { for (i = ++s; i < o && !r.relative[t[i].type]; i++); - return wt( - s > 1 && yt(p), + return _t( + s > 1 && xt(p), s > 1 && - mt( + yt( t.slice(0, s - 1).concat({ value: " " === t[s - 2].type ? "*" : "" }) - ).replace(U, "$1"), + ).replace(F, "$1"), n, - s < i && xt(t.slice(s, i)), - i < o && xt((t = t.slice(i))), - i < o && mt(t) + s < i && Ct(t.slice(s, i)), + i < o && Ct((t = t.slice(i))), + i < o && yt(t) ); } p.push(n); } - return yt(p); + return xt(p); } return ( - (gt.prototype = r.filters = r.pseudos), - (r.setFilters = new gt()), - (a = ot.tokenize = function(t, e) { + ($t.prototype = r.filters = r.pseudos), + (r.setFilters = new $t()), + (a = ut.tokenize = function(t, e) { var n, i, o, @@ -1247,31 +1280,31 @@ l = S[t + " "]; if (l) return e ? 0 : l.slice(0); for (u = t, s = [], c = r.preFilter; u; ) { - for (a in ((n && !(i = F.exec(u))) || + for (a in ((n && !(i = H.exec(u))) || (i && (u = u.slice(i[0].length) || u), s.push((o = []))), (n = !1), - (i = H.exec(u)) && + (i = z.exec(u)) && ((n = i.shift()), - o.push({ value: n, type: i[0].replace(U, " ") }), + o.push({ value: n, type: i[0].replace(F, " ") }), (u = u.slice(n.length))), r.filter)) - !(i = G[a].exec(u)) || + !(i = K[a].exec(u)) || (c[a] && !(i = c[a](i))) || ((n = i.shift()), o.push({ value: n, type: a, matches: i }), (u = u.slice(n.length))); if (!n) break; } - return e ? u.length : u ? ot.error(t) : S(t, s).slice(0); + return e ? u.length : u ? ut.error(t) : S(t, s).slice(0); }), - (u = ot.compile = function(t, e) { + (u = ut.compile = function(t, e) { var n, i = [], o = [], u = E[t + " "]; if (!u) { for (e || (e = a(t)), n = e.length; n--; ) - (u = xt(e[n]))[b] ? i.push(u) : o.push(u); + (u = Ct(e[n]))[b] ? i.push(u) : o.push(u); (u = E( t, (function(t, e) { @@ -1285,14 +1318,14 @@ $ = "0", y = o && [], b = [], - w = c, + x = c, _ = o || (i && r.find.TAG("*", l)), - C = (x += null == w ? 1 : Math.random() || 0.1), + C = (w += null == x ? 1 : Math.random() || 0.1), S = _.length; - for (l && (c = a === h || a || l); $ !== S && null != (f = _[$]); $++) { + for (l && (c = a == h || a || l); $ !== S && null != (f = _[$]); $++) { if (i && f) { for ( - d = 0, a || f.ownerDocument === h || (p(f), (u = !v)); + d = 0, a || f.ownerDocument == h || (p(f), (u = !v)); (g = t[d++]); ) @@ -1300,28 +1333,28 @@ s.push(f); break; } - l && (x = C); + l && (w = C); } n && ((f = !g && f) && m--, o && y.push(f)); } if (((m += $), n && $ !== m)) { for (d = 0; (g = e[d++]); ) g(y, b, a, u); if (o) { - if (m > 0) for (; $--; ) y[$] || b[$] || (b[$] = O.call(s)); - b = bt(b); + if (m > 0) for (; $--; ) y[$] || b[$] || (b[$] = j.call(s)); + b = wt(b); } - N.apply(s, b), - l && !o && b.length > 0 && m + e.length > 1 && ot.uniqueSort(s); + L.apply(s, b), + l && !o && b.length > 0 && m + e.length > 1 && ut.uniqueSort(s); } - return l && ((x = C), (c = w)), y; + return l && ((w = C), (c = x)), y; }; - return n ? ut(o) : o; + return n ? ct(o) : o; })(o, i) )).selector = t; } return u; }), - (s = ot.select = function(t, e, n, i) { + (s = ut.select = function(t, e, n, i) { var o, s, c, @@ -1337,60 +1370,60 @@ v && r.relative[s[1].type] ) { - if (!(e = (r.find.ID(c.matches[0].replace(Q, tt), e) || [])[0])) return n; + if (!(e = (r.find.ID(c.matches[0].replace(et, nt), e) || [])[0])) return n; p && (e = e.parentNode), (t = t.slice(s.shift().value.length)); } for ( - o = G.needsContext.test(t) ? 0 : s.length; + o = K.needsContext.test(t) ? 0 : s.length; o-- && ((c = s[o]), !r.relative[(l = c.type)]); ) if ( (f = r.find[l]) && (i = f( - c.matches[0].replace(Q, tt), - (X.test(s[0].type) && vt(e.parentNode)) || e + c.matches[0].replace(et, nt), + (tt.test(s[0].type) && mt(e.parentNode)) || e )) ) { - if ((s.splice(o, 1), !(t = i.length && mt(s)))) return N.apply(n, i), n; + if ((s.splice(o, 1), !(t = i.length && yt(s)))) return L.apply(n, i), n; break; } } - return (p || u(t, h))(i, e, !v, n, !e || (X.test(t) && vt(e.parentNode)) || e), n; + return (p || u(t, h))(i, e, !v, n, !e || (tt.test(t) && mt(e.parentNode)) || e), n; }), (n.sortStable = b .split("") - .sort(k) + .sort(A) .join("") === b), (n.detectDuplicates = !!f), p(), - (n.sortDetached = st(function(t) { + (n.sortDetached = lt(function(t) { return 1 & t.compareDocumentPosition(h.createElement("fieldset")); })), - st(function(t) { + lt(function(t) { return ( (t.innerHTML = ""), "#" === t.firstChild.getAttribute("href") ); }) || - ct("type|href|height|width", function(t, e, n) { + ft("type|href|height|width", function(t, e, n) { if (!n) return t.getAttribute(e, "type" === e.toLowerCase() ? 1 : 2); }), (n.attributes && - st(function(t) { + lt(function(t) { return ( (t.innerHTML = ""), t.firstChild.setAttribute("value", ""), "" === t.firstChild.getAttribute("value") ); })) || - ct("value", function(t, e, n) { + ft("value", function(t, e, n) { if (!n && "input" === t.nodeName.toLowerCase()) return t.defaultValue; }), - st(function(t) { + lt(function(t) { return null == t.getAttribute("disabled"); }) || - ct(D, function(t, e, n) { + ft(I, function(t, e, n) { var r; if (!n) return !0 === t[e] @@ -1399,18 +1432,18 @@ ? r.value : null; }), - ot + ut ); })(n); - (_.find = E), - (_.expr = E.selectors), + (_.find = S), + (_.expr = S.selectors), (_.expr[":"] = _.expr.pseudos), - (_.uniqueSort = _.unique = E.uniqueSort), - (_.text = E.getText), - (_.isXMLDoc = E.isXML), - (_.contains = E.contains), - (_.escapeSelector = E.escape); - var k = function(t, e, n) { + (_.uniqueSort = _.unique = S.uniqueSort), + (_.text = S.getText), + (_.isXMLDoc = S.isXML), + (_.contains = S.contains), + (_.escapeSelector = S.escape); + var E = function(t, e, n) { for (var r = [], i = void 0 !== n; (t = t[e]) && 9 !== t.nodeType; ) if (1 === t.nodeType) { if (i && _(t).is(n)) break; @@ -1418,17 +1451,17 @@ } return r; }, - A = function(t, e) { + k = function(t, e) { for (var n = []; t; t = t.nextSibling) 1 === t.nodeType && t !== e && n.push(t); return n; }, - T = _.expr.match.needsContext; - function O(t, e) { + A = _.expr.match.needsContext; + function T(t, e) { return t.nodeName && t.nodeName.toLowerCase() === e.toLowerCase(); } - var j = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; - function N(t, e, n) { - return $(e) + var O = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; + function j(t, e, n) { + return m(e) ? _.grep(t, function(t, r) { return !!e.call(t, r, t) !== n; }) @@ -1438,7 +1471,7 @@ }) : "string" != typeof e ? _.grep(t, function(t) { - return f.call(e, t) > -1 !== n; + return l.call(e, t) > -1 !== n; }) : _.filter(e, t, n); } @@ -1474,21 +1507,21 @@ return r > 1 ? _.uniqueSort(n) : n; }, filter: function(t) { - return this.pushStack(N(this, t || [], !1)); + return this.pushStack(j(this, t || [], !1)); }, not: function(t) { - return this.pushStack(N(this, t || [], !0)); + return this.pushStack(j(this, t || [], !0)); }, is: function(t) { - return !!N(this, "string" == typeof t && T.test(t) ? _(t) : t || [], !1).length; + return !!j(this, "string" == typeof t && A.test(t) ? _(t) : t || [], !1).length; } }); - var M, + var N, L = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/; ((_.fn.init = function(t, e, n) { var r, i; if (!t) return this; - if (((n = n || M), "string" == typeof t)) { + if (((n = n || N), "string" == typeof t)) { if ( !(r = "<" === t[0] && ">" === t[t.length - 1] && t.length >= 3 @@ -1500,26 +1533,26 @@ if (r[1]) { if ( ((e = e instanceof _ ? e[0] : e), - _.merge(this, _.parseHTML(r[1], e && e.nodeType ? e.ownerDocument || e : a, !0)), - j.test(r[1]) && _.isPlainObject(e)) + _.merge(this, _.parseHTML(r[1], e && e.nodeType ? e.ownerDocument || e : y, !0)), + O.test(r[1]) && _.isPlainObject(e)) ) - for (r in e) $(this[r]) ? this[r](e[r]) : this.attr(r, e[r]); + for (r in e) m(this[r]) ? this[r](e[r]) : this.attr(r, e[r]); return this; } - return (i = a.getElementById(r[2])) && ((this[0] = i), (this.length = 1)), this; + return (i = y.getElementById(r[2])) && ((this[0] = i), (this.length = 1)), this; } return t.nodeType ? ((this[0] = t), (this.length = 1), this) - : $(t) + : m(t) ? void 0 !== n.ready ? n.ready(t) : t(_) : _.makeArray(t, this); }).prototype = _.fn), - (M = _(a)); - var D = /^(?:parents|prev(?:Until|All))/, - I = { children: !0, contents: !0, next: !0, prev: !0 }; - function R(t, e) { + (N = _(y)); + var M = /^(?:parents|prev(?:Until|All))/, + D = { children: !0, contents: !0, next: !0, prev: !0 }; + function I(t, e) { for (; (t = t[e]) && 1 !== t.nodeType; ); return t; } @@ -1537,7 +1570,7 @@ i = this.length, o = [], a = "string" != typeof t && _(t); - if (!T.test(t)) + if (!A.test(t)) for (; r < i; r++) for (n = this[r]; n && n !== e; n = n.parentNode) if ( @@ -1552,8 +1585,8 @@ index: function(t) { return t ? "string" == typeof t - ? f.call(_(t), this[0]) - : f.call(this, t.jquery ? t[0] : t) + ? l.call(_(t), this[0]) + : l.call(this, t.jquery ? t[0] : t) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1; @@ -1572,39 +1605,39 @@ return e && 11 !== e.nodeType ? e : null; }, parents: function(t) { - return k(t, "parentNode"); + return E(t, "parentNode"); }, parentsUntil: function(t, e, n) { - return k(t, "parentNode", n); + return E(t, "parentNode", n); }, next: function(t) { - return R(t, "nextSibling"); + return I(t, "nextSibling"); }, prev: function(t) { - return R(t, "previousSibling"); + return I(t, "previousSibling"); }, nextAll: function(t) { - return k(t, "nextSibling"); + return E(t, "nextSibling"); }, prevAll: function(t) { - return k(t, "previousSibling"); + return E(t, "previousSibling"); }, nextUntil: function(t, e, n) { - return k(t, "nextSibling", n); + return E(t, "nextSibling", n); }, prevUntil: function(t, e, n) { - return k(t, "previousSibling", n); + return E(t, "previousSibling", n); }, siblings: function(t) { - return A((t.parentNode || {}).firstChild, t); + return k((t.parentNode || {}).firstChild, t); }, children: function(t) { - return A(t.firstChild); + return k(t.firstChild); }, contents: function(t) { - return O(t, "iframe") + return null != t.contentDocument && a(t.contentDocument) ? t.contentDocument - : (O(t, "template") && (t = t.content || t), _.merge([], t.childNodes)); + : (T(t, "template") && (t = t.content || t), _.merge([], t.childNodes)); } }, function(t, e) { @@ -1613,28 +1646,28 @@ return ( "Until" !== t.slice(-5) && (r = n), r && "string" == typeof r && (i = _.filter(r, i)), - this.length > 1 && (I[t] || _.uniqueSort(i), D.test(t) && i.reverse()), + this.length > 1 && (D[t] || _.uniqueSort(i), M.test(t) && i.reverse()), this.pushStack(i) ); }; } ); - var P = /[^\x20\t\r\n\f]+/g; - function V(t) { + var R = /[^\x20\t\r\n\f]+/g; + function P(t) { return t; } - function q(t) { + function V(t) { throw t; } - function U(t, e, n, r) { + function q(t, e, n, r) { var i; try { - t && $((i = t.promise)) + t && m((i = t.promise)) ? i .call(t) .done(e) .fail(n) - : t && $((i = t.then)) + : t && m((i = t.then)) ? i.call(t, e, n) : e.apply(void 0, [t].slice(r)); } catch (t) { @@ -1647,7 +1680,7 @@ ? (function(t) { var e = {}; return ( - _.each(t.match(P) || [], function(t, n) { + _.each(t.match(R) || [], function(t, n) { e[n] = !0; }), e @@ -1674,9 +1707,9 @@ (n && !e && ((u = o.length - 1), a.push(n)), (function e(n) { _.each(n, function(n, r) { - $(r) + m(r) ? (t.unique && c.has(r)) || o.push(r) - : r && r.length && "string" !== x(r) && e(r); + : r && r.length && "string" !== w(r) && e(r); }); })(arguments), n && !e && s()), @@ -1759,10 +1792,10 @@ var t = arguments; return _.Deferred(function(n) { _.each(e, function(e, r) { - var i = $(t[r[4]]) && t[r[4]]; + var i = m(t[r[4]]) && t[r[4]]; o[r[1]](function() { var t = i && i.apply(this, arguments); - t && $(t.promise) + t && m(t.promise) ? t .promise() .progress(n.notify) @@ -1786,17 +1819,17 @@ if ((n = r.apply(u, s)) === e.promise()) throw new TypeError("Thenable self-resolution"); (c = n && ("object" == typeof n || "function" == typeof n) && n.then), - $(c) + m(c) ? i - ? c.call(n, a(o, e, V, i), a(o, e, q, i)) + ? c.call(n, a(o, e, P, i), a(o, e, V, i)) : (o++, c.call( n, + a(o, e, P, i), a(o, e, V, i), - a(o, e, q, i), - a(o, e, V, e.notifyWith) + a(o, e, P, e.notifyWith) )) - : (r !== V && ((u = void 0), (s = [n])), + : (r !== P && ((u = void 0), (s = [n])), (i || e.resolveWith)(u, s)); } }, @@ -1809,7 +1842,7 @@ _.Deferred.exceptionHook && _.Deferred.exceptionHook(n, l.stackTrace), t + 1 >= o && - (r !== q && ((u = void 0), (s = [n])), e.rejectWith(u, s)); + (r !== V && ((u = void 0), (s = [n])), e.rejectWith(u, s)); } }; t @@ -1819,9 +1852,9 @@ }; } return _.Deferred(function(n) { - e[0][3].add(a(0, n, $(i) ? i : V, n.notifyWith)), - e[1][3].add(a(0, n, $(t) ? t : V)), - e[2][3].add(a(0, n, $(r) ? r : q)); + e[0][3].add(a(0, n, m(i) ? i : P, n.notifyWith)), + e[1][3].add(a(0, n, m(t) ? t : P)), + e[2][3].add(a(0, n, m(r) ? r : V)); }).promise(); }, promise: function(t) { @@ -1859,31 +1892,31 @@ var e = arguments.length, n = e, r = Array(n), - i = s.call(arguments), + i = u.call(arguments), o = _.Deferred(), a = function(t) { return function(n) { (r[t] = this), - (i[t] = arguments.length > 1 ? s.call(arguments) : n), + (i[t] = arguments.length > 1 ? u.call(arguments) : n), --e || o.resolveWith(r, i); }; }; if ( e <= 1 && - (U(t, o.done(a(n)).resolve, o.reject, !e), - "pending" === o.state() || $(i[n] && i[n].then)) + (q(t, o.done(a(n)).resolve, o.reject, !e), + "pending" === o.state() || m(i[n] && i[n].then)) ) return o.then(); - for (; n--; ) U(i[n], a(n), o.reject); + for (; n--; ) q(i[n], a(n), o.reject); return o.promise(); } }); - var F = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + var U = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; (_.Deferred.exceptionHook = function(t, e) { n.console && n.console.warn && t && - F.test(t.name) && + U.test(t.name) && n.console.warn("jQuery.Deferred exception: " + t.message, t.stack, e); }), (_.readyException = function(t) { @@ -1891,13 +1924,13 @@ throw t; }); }); - var H = _.Deferred(); - function B() { - a.removeEventListener("DOMContentLoaded", B), n.removeEventListener("load", B), _.ready(); + var F = _.Deferred(); + function H() { + y.removeEventListener("DOMContentLoaded", H), n.removeEventListener("load", H), _.ready(); } (_.fn.ready = function(t) { return ( - H.then(t).catch(function(t) { + F.then(t).catch(function(t) { _.readyException(t); }), this @@ -1908,22 +1941,22 @@ readyWait: 1, ready: function(t) { (!0 === t ? --_.readyWait : _.isReady) || - ((_.isReady = !0), (!0 !== t && --_.readyWait > 0) || H.resolveWith(a, [_])); + ((_.isReady = !0), (!0 !== t && --_.readyWait > 0) || F.resolveWith(y, [_])); } }), - (_.ready.then = H.then), - "complete" === a.readyState || ("loading" !== a.readyState && !a.documentElement.doScroll) + (_.ready.then = F.then), + "complete" === y.readyState || ("loading" !== y.readyState && !y.documentElement.doScroll) ? n.setTimeout(_.ready) - : (a.addEventListener("DOMContentLoaded", B), n.addEventListener("load", B)); + : (y.addEventListener("DOMContentLoaded", H), n.addEventListener("load", H)); var z = function(t, e, n, r, i, o, a) { var u = 0, s = t.length, c = null == n; - if ("object" === x(n)) for (u in ((i = !0), n)) z(t, e, u, n[u], !0, o, a); + if ("object" === w(n)) for (u in ((i = !0), n)) z(t, e, u, n[u], !0, o, a); else if ( void 0 !== r && ((i = !0), - $(r) || (a = !0), + m(r) || (a = !0), c && (a ? (e.call(t, r), (e = null)) @@ -1936,28 +1969,28 @@ for (; u < s; u++) e(t[u], n, a ? r : r.call(t[u], u, e(t[u], n))); return i ? t : c ? e.call(t) : s ? e(t[0], n) : o; }, - W = /^-ms-/, - G = /-([a-z])/g; - function K(t, e) { + B = /^-ms-/, + W = /-([a-z])/g; + function G(t, e) { return e.toUpperCase(); } - function J(t) { - return t.replace(W, "ms-").replace(G, K); + function K(t) { + return t.replace(B, "ms-").replace(W, G); } - var Y = function(t) { + var J = function(t) { return 1 === t.nodeType || 9 === t.nodeType || !+t.nodeType; }; - function Z() { - this.expando = _.expando + Z.uid++; + function Y() { + this.expando = _.expando + Y.uid++; } - (Z.uid = 1), - (Z.prototype = { + (Y.uid = 1), + (Y.prototype = { cache: function(t) { var e = t[this.expando]; return ( e || ((e = {}), - Y(t) && + J(t) && (t.nodeType ? (t[this.expando] = e) : Object.defineProperty(t, this.expando, { value: e, configurable: !0 }))), @@ -1967,12 +2000,12 @@ set: function(t, e, n) { var r, i = this.cache(t); - if ("string" == typeof e) i[J(e)] = n; - else for (r in e) i[J(r)] = e[r]; + if ("string" == typeof e) i[K(e)] = n; + else for (r in e) i[K(r)] = e[r]; return i; }, get: function(t, e) { - return void 0 === e ? this.cache(t) : t[this.expando] && t[this.expando][J(e)]; + return void 0 === e ? this.cache(t) : t[this.expando] && t[this.expando][K(e)]; }, access: function(t, e, n) { return void 0 === e || (e && "string" == typeof e && void 0 === n) @@ -1984,7 +2017,7 @@ r = t[this.expando]; if (void 0 !== r) { if (void 0 !== e) { - n = (e = Array.isArray(e) ? e.map(J) : (e = J(e)) in r ? [e] : e.match(P) || []) + n = (e = Array.isArray(e) ? e.map(K) : (e = K(e)) in r ? [e] : e.match(R) || []) .length; for (; n--; ) delete r[e[n]]; } @@ -1997,15 +2030,15 @@ return void 0 !== e && !_.isEmptyObject(e); } }); - var X = new Z(), - Q = new Z(), - tt = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, - et = /[A-Z]/g; - function nt(t, e, n) { + var X = new Y(), + Z = new Y(), + Q = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + tt = /[A-Z]/g; + function et(t, e, n) { var r; if (void 0 === n && 1 === t.nodeType) if ( - ((r = "data-" + e.replace(et, "-$&").toLowerCase()), + ((r = "data-" + e.replace(tt, "-$&").toLowerCase()), "string" == typeof (n = t.getAttribute(r))) ) { try { @@ -2013,23 +2046,23 @@ return ( "true" === t || ("false" !== t && - ("null" === t ? null : t === +t + "" ? +t : tt.test(t) ? JSON.parse(t) : t)) + ("null" === t ? null : t === +t + "" ? +t : Q.test(t) ? JSON.parse(t) : t)) ); })(n); } catch (t) {} - Q.set(t, e, n); + Z.set(t, e, n); } else n = void 0; return n; } _.extend({ hasData: function(t) { - return Q.hasData(t) || X.hasData(t); + return Z.hasData(t) || X.hasData(t); }, data: function(t, e, n) { - return Q.access(t, e, n); + return Z.access(t, e, n); }, removeData: function(t, e) { - Q.remove(t, e); + Z.remove(t, e); }, _data: function(t, e, n) { return X.access(t, e, n); @@ -2048,32 +2081,30 @@ if (void 0 === t) { if ( this.length && - ((i = Q.get(o)), 1 === o.nodeType && !X.get(o, "hasDataAttrs")) + ((i = Z.get(o)), 1 === o.nodeType && !X.get(o, "hasDataAttrs")) ) { for (n = a.length; n--; ) a[n] && 0 === (r = a[n].name).indexOf("data-") && - ((r = J(r.slice(5))), nt(o, r, i[r])); + ((r = K(r.slice(5))), et(o, r, i[r])); X.set(o, "hasDataAttrs", !0); } return i; } return "object" == typeof t ? this.each(function() { - Q.set(this, t); + Z.set(this, t); }) : z( this, function(e) { var n; if (o && void 0 === e) - return void 0 !== (n = Q.get(o, t)) + return void 0 !== (n = Z.get(o, t)) || void 0 !== (n = et(o, t)) ? n - : void 0 !== (n = nt(o, t)) - ? n - : void 0; + : void 0; this.each(function() { - Q.set(this, t, e); + Z.set(this, t, e); }); }, null, @@ -2085,7 +2116,7 @@ }, removeData: function(t) { return this.each(function() { - Q.remove(this, t); + Z.remove(this, t); }); } }), @@ -2169,26 +2200,25 @@ return u(), i.promise(e); } }); - var rt = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, - it = new RegExp("^(?:([+-])=|)(" + rt + ")([a-z%]*)$", "i"), - ot = ["Top", "Right", "Bottom", "Left"], - at = function(t, e) { - return ( - "none" === (t = e || t).style.display || - ("" === t.style.display && - _.contains(t.ownerDocument, t) && - "none" === _.css(t, "display")) - ); + var nt = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, + rt = new RegExp("^(?:([+-])=|)(" + nt + ")([a-z%]*)$", "i"), + it = ["Top", "Right", "Bottom", "Left"], + ot = y.documentElement, + at = function(t) { + return _.contains(t.ownerDocument, t); }, - ut = function(t, e, n, r) { - var i, - o, - a = {}; - for (o in e) (a[o] = t.style[o]), (t.style[o] = e[o]); - for (o in ((i = n.apply(t, r || [])), e)) t.style[o] = a[o]; - return i; - }; - function st(t, e, n, r) { + ut = { composed: !0 }; + ot.getRootNode && + (at = function(t) { + return _.contains(t.ownerDocument, t) || t.getRootNode(ut) === t.ownerDocument; + }); + var st = function(t, e) { + return ( + "none" === (t = e || t).style.display || + ("" === t.style.display && at(t) && "none" === _.css(t, "display")) + ); + }; + function ct(t, e, n, r) { var i, o, a = 20, @@ -2201,7 +2231,7 @@ }, s = u(), c = (n && n[3]) || (_.cssNumber[e] ? "" : "px"), - l = (_.cssNumber[e] || ("px" !== c && +s)) && it.exec(_.css(t, e)); + l = t.nodeType && (_.cssNumber[e] || ("px" !== c && +s)) && rt.exec(_.css(t, e)); if (l && l[3] !== c) { for (s /= 2, c = c || l[3], l = +s || 1; a--; ) _.style(t, e, l + c), (1 - o) * (1 - (o = u() / s || 0.5)) <= 0 && (a = 0), (l /= o); @@ -2215,40 +2245,40 @@ i ); } - var ct = {}; - function lt(t) { + var lt = {}; + function ft(t) { var e, n = t.ownerDocument, r = t.nodeName, - i = ct[r]; + i = lt[r]; return ( i || ((e = n.body.appendChild(n.createElement(r))), (i = _.css(e, "display")), e.parentNode.removeChild(e), "none" === i && (i = "block"), - (ct[r] = i), + (lt[r] = i), i) ); } - function ft(t, e) { + function pt(t, e) { for (var n, r, i = [], o = 0, a = t.length; o < a; o++) (r = t[o]).style && ((n = r.style.display), e ? ("none" === n && ((i[o] = X.get(r, "display") || null), i[o] || (r.style.display = "")), - "" === r.style.display && at(r) && (i[o] = lt(r))) + "" === r.style.display && st(r) && (i[o] = ft(r))) : "none" !== n && ((i[o] = "none"), X.set(r, "display", n))); for (o = 0; o < a; o++) null != i[o] && (t[o].style.display = i[o]); return t; } _.fn.extend({ show: function() { - return ft(this, !0); + return pt(this, !0); }, hide: function() { - return ft(this); + return pt(this); }, toggle: function(t) { return "boolean" == typeof t @@ -2256,22 +2286,33 @@ ? this.show() : this.hide() : this.each(function() { - at(this) ? _(this).show() : _(this).hide(); + st(this) ? _(this).show() : _(this).hide(); }); } }); - var pt = /^(?:checkbox|radio)$/i, - ht = /<([a-z][^\/\0>\x20\t\r\n\f]+)/i, - dt = /^$|^module$|\/(?:java|ecma)script/i, - vt = { - option: [1, ""], - thead: [1, "", "
"], - col: [2, "", "
"], - tr: [2, "", "
"], - td: [3, "", "
"], - _default: [0, "", ""] - }; - function gt(t, e) { + var ht, + dt, + vt = /^(?:checkbox|radio)$/i, + gt = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, + mt = /^$|^module$|\/(?:java|ecma)script/i; + (ht = y.createDocumentFragment().appendChild(y.createElement("div"))), + (dt = y.createElement("input")).setAttribute("type", "radio"), + dt.setAttribute("checked", "checked"), + dt.setAttribute("name", "t"), + ht.appendChild(dt), + (g.checkClone = ht.cloneNode(!0).cloneNode(!0).lastChild.checked), + (ht.innerHTML = ""), + (g.noCloneChecked = !!ht.cloneNode(!0).lastChild.defaultValue), + (ht.innerHTML = ""), + (g.option = !!ht.lastChild); + var $t = { + thead: [1, "", "
"], + col: [2, "", "
"], + tr: [2, "", "
"], + td: [3, "", "
"], + _default: [0, "", ""] + }; + function yt(t, e) { var n; return ( (n = @@ -2280,30 +2321,30 @@ : void 0 !== t.querySelectorAll ? t.querySelectorAll(e || "*") : []), - void 0 === e || (e && O(t, e)) ? _.merge([t], n) : n + void 0 === e || (e && T(t, e)) ? _.merge([t], n) : n ); } - function mt(t, e) { + function bt(t, e) { for (var n = 0, r = t.length; n < r; n++) X.set(t[n], "globalEval", !e || X.get(e[n], "globalEval")); } - (vt.optgroup = vt.option), - (vt.tbody = vt.tfoot = vt.colgroup = vt.caption = vt.thead), - (vt.th = vt.td); - var $t = /<|&#?\w+;/; - function yt(t, e, n, r, i) { + ($t.tbody = $t.tfoot = $t.colgroup = $t.caption = $t.thead), + ($t.th = $t.td), + g.option || ($t.optgroup = $t.option = [1, ""]); + var xt = /<|&#?\w+;/; + function wt(t, e, n, r, i) { for ( var o, a, u, s, c, l, f = e.createDocumentFragment(), p = [], h = 0, d = t.length; h < d; h++ ) if ((o = t[h]) || 0 === o) - if ("object" === x(o)) _.merge(p, o.nodeType ? [o] : o); - else if ($t.test(o)) { + if ("object" === w(o)) _.merge(p, o.nodeType ? [o] : o); + else if (xt.test(o)) { for ( a = a || f.appendChild(e.createElement("div")), - u = (ht.exec(o) || ["", ""])[1].toLowerCase(), - s = vt[u] || vt._default, + u = (gt.exec(o) || ["", ""])[1].toLowerCase(), + s = $t[u] || $t._default, a.innerHTML = s[1] + _.htmlPrefilter(o) + s[2], l = s[0]; l--; @@ -2314,46 +2355,35 @@ } else p.push(e.createTextNode(o)); for (f.textContent = "", h = 0; (o = p[h++]); ) if (r && _.inArray(o, r) > -1) i && i.push(o); - else if ( - ((c = _.contains(o.ownerDocument, o)), - (a = gt(f.appendChild(o), "script")), - c && mt(a), - n) - ) - for (l = 0; (o = a[l++]); ) dt.test(o.type || "") && n.push(o); + else if (((c = at(o)), (a = yt(f.appendChild(o), "script")), c && bt(a), n)) + for (l = 0; (o = a[l++]); ) mt.test(o.type || "") && n.push(o); return f; } - !(function() { - var t = a.createDocumentFragment().appendChild(a.createElement("div")), - e = a.createElement("input"); - e.setAttribute("type", "radio"), - e.setAttribute("checked", "checked"), - e.setAttribute("name", "t"), - t.appendChild(e), - (m.checkClone = t.cloneNode(!0).cloneNode(!0).lastChild.checked), - (t.innerHTML = ""), - (m.noCloneChecked = !!t.cloneNode(!0).lastChild.defaultValue); - })(); - var bt = a.documentElement, - wt = /^key/, - xt = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, - _t = /^([^.]*)(?:\.(.+)|)/; - function Ct() { + var _t = /^key/, + Ct = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + St = /^([^.]*)(?:\.(.+)|)/; + function Et() { return !0; } - function St() { + function kt() { return !1; } - function Et() { - try { - return a.activeElement; - } catch (t) {} + function At(t, e) { + return ( + (t === + (function() { + try { + return y.activeElement; + } catch (t) {} + })()) == + ("focus" === e) + ); } - function kt(t, e, n, r, i, o) { + function Tt(t, e, n, r, i, o) { var a, u; if ("object" == typeof e) { for (u in ("string" != typeof n && ((r = r || n), (n = void 0)), e)) - kt(t, u, n, r, e[u], o); + Tt(t, u, n, r, e[u], o); return t; } if ( @@ -2363,7 +2393,7 @@ ("string" == typeof n ? ((i = r), (r = void 0)) : ((i = r), (r = n), (n = void 0))), !1 === i) ) - i = St; + i = kt; else if (!i) return t; return ( 1 === o && @@ -2376,6 +2406,36 @@ }) ); } + function Ot(t, e, n) { + n + ? (X.set(t, e, !1), + _.event.add(t, e, { + namespace: !1, + handler: function(t) { + var r, + i, + o = X.get(this, e); + if (1 & t.isTrigger && this[e]) { + if (o.length) (_.event.special[e] || {}).delegateType && t.stopPropagation(); + else if ( + ((o = u.call(arguments)), + X.set(this, e, o), + (r = n(this, e)), + this[e](), + o !== (i = X.get(this, e)) || r ? X.set(this, e, !1) : (i = {}), + o !== i) + ) + return t.stopImmediatePropagation(), t.preventDefault(), i.value; + } else + o.length && + (X.set(this, e, { + value: _.event.trigger(_.extend(o[0], _.Event.prototype), o.slice(1), this) + }), + t.stopImmediatePropagation()); + } + })) + : void 0 === X.get(t, e) && _.event.add(t, e, Et); + } (_.event = { global: {}, add: function(t, e, n, r, i) { @@ -2391,23 +2451,23 @@ d, v, g = X.get(t); - if (g) + if (J(t)) for ( n.handler && ((n = (o = n).handler), (i = o.selector)), - i && _.find.matchesSelector(bt, i), + i && _.find.matchesSelector(ot, i), n.guid || (n.guid = _.guid++), - (s = g.events) || (s = g.events = {}), + (s = g.events) || (s = g.events = Object.create(null)), (a = g.handle) || (a = g.handle = function(e) { return void 0 !== _ && _.event.triggered !== e.type ? _.event.dispatch.apply(t, arguments) : void 0; }), - c = (e = (e || "").match(P) || [""]).length; + c = (e = (e || "").match(R) || [""]).length; c--; ) - (h = v = (u = _t.exec(e[c]) || [])[1]), + (h = v = (u = St.exec(e[c]) || [])[1]), (d = (u[2] || "").split(".").sort()), h && ((f = _.event.special[h] || {}), @@ -2448,9 +2508,9 @@ v, g = X.hasData(t) && X.get(t); if (g && (s = g.events)) { - for (c = (e = (e || "").match(P) || [""]).length; c--; ) + for (c = (e = (e || "").match(R) || [""]).length; c--; ) if ( - ((h = v = (u = _t.exec(e[c]) || [])[1]), (d = (u[2] || "").split(".").sort()), h) + ((h = v = (u = St.exec(e[c]) || [])[1]), (d = (u[2] || "").split(".").sort()), h) ) { for ( f = _.event.special[h] || {}, @@ -2484,33 +2544,33 @@ i, o, a, - u = _.event.fix(t), - s = new Array(arguments.length), - c = (X.get(this, "events") || {})[u.type] || [], - l = _.event.special[u.type] || {}; - for (s[0] = u, e = 1; e < arguments.length; e++) s[e] = arguments[e]; - if (((u.delegateTarget = this), !l.preDispatch || !1 !== l.preDispatch.call(this, u))) { + u = new Array(arguments.length), + s = _.event.fix(t), + c = (X.get(this, "events") || Object.create(null))[s.type] || [], + l = _.event.special[s.type] || {}; + for (u[0] = s, e = 1; e < arguments.length; e++) u[e] = arguments[e]; + if (((s.delegateTarget = this), !l.preDispatch || !1 !== l.preDispatch.call(this, s))) { for ( - a = _.event.handlers.call(this, u, c), e = 0; - (i = a[e++]) && !u.isPropagationStopped(); + a = _.event.handlers.call(this, s, c), e = 0; + (i = a[e++]) && !s.isPropagationStopped(); ) for ( - u.currentTarget = i.elem, n = 0; - (o = i.handlers[n++]) && !u.isImmediatePropagationStopped(); + s.currentTarget = i.elem, n = 0; + (o = i.handlers[n++]) && !s.isImmediatePropagationStopped(); ) - (u.rnamespace && !u.rnamespace.test(o.namespace)) || - ((u.handleObj = o), - (u.data = o.data), + (s.rnamespace && !1 !== o.namespace && !s.rnamespace.test(o.namespace)) || + ((s.handleObj = o), + (s.data = o.data), void 0 !== (r = ((_.event.special[o.origType] || {}).handle || o.handler).apply( i.elem, - s + u )) && - !1 === (u.result = r) && - (u.preventDefault(), u.stopPropagation())); - return l.postDispatch && l.postDispatch.call(this, u), u.result; + !1 === (s.result = r) && + (s.preventDefault(), s.stopPropagation())); + return l.postDispatch && l.postDispatch.call(this, s), s.result; } }, handlers: function(t, e) { @@ -2539,7 +2599,7 @@ Object.defineProperty(_.Event.prototype, t, { enumerable: !0, configurable: !0, - get: $(e) + get: m(e) ? function() { if (this.originalEvent) return e(this.originalEvent); } @@ -2561,25 +2621,20 @@ }, special: { load: { noBubble: !0 }, - focus: { - trigger: function() { - if (this !== Et() && this.focus) return this.focus(), !1; - }, - delegateType: "focusin" - }, - blur: { - trigger: function() { - if (this === Et() && this.blur) return this.blur(), !1; - }, - delegateType: "focusout" - }, click: { - trigger: function() { - if ("checkbox" === this.type && this.click && O(this, "input")) - return this.click(), !1; + setup: function(t) { + var e = this || t; + return vt.test(e.type) && e.click && T(e, "input") && Ot(e, "click", Et), !1; + }, + trigger: function(t) { + var e = this || t; + return vt.test(e.type) && e.click && T(e, "input") && Ot(e, "click"), !0; }, _default: function(t) { - return O(t.target, "a"); + var e = t.target; + return ( + (vt.test(e.type) && e.click && T(e, "input") && X.get(e, "click")) || T(e, "a") + ); } }, beforeunload: { @@ -2599,8 +2654,8 @@ (this.type = t.type), (this.isDefaultPrevented = t.defaultPrevented || (void 0 === t.defaultPrevented && !1 === t.returnValue) - ? Ct - : St), + ? Et + : kt), (this.target = t.target && 3 === t.target.nodeType ? t.target.parentNode : t.target), (this.currentTarget = t.currentTarget), @@ -2612,21 +2667,21 @@ }), (_.Event.prototype = { constructor: _.Event, - isDefaultPrevented: St, - isPropagationStopped: St, - isImmediatePropagationStopped: St, + isDefaultPrevented: kt, + isPropagationStopped: kt, + isImmediatePropagationStopped: kt, isSimulated: !1, preventDefault: function() { var t = this.originalEvent; - (this.isDefaultPrevented = Ct), t && !this.isSimulated && t.preventDefault(); + (this.isDefaultPrevented = Et), t && !this.isSimulated && t.preventDefault(); }, stopPropagation: function() { var t = this.originalEvent; - (this.isPropagationStopped = Ct), t && !this.isSimulated && t.stopPropagation(); + (this.isPropagationStopped = Et), t && !this.isSimulated && t.stopPropagation(); }, stopImmediatePropagation: function() { var t = this.originalEvent; - (this.isImmediatePropagationStopped = Ct), + (this.isImmediatePropagationStopped = Et), t && !this.isSimulated && t.stopImmediatePropagation(), this.stopPropagation(); } @@ -2646,6 +2701,7 @@ shiftKey: !0, view: !0, char: !0, + code: !0, charCode: !0, key: !0, keyCode: !0, @@ -2664,11 +2720,11 @@ touches: !0, which: function(t) { var e = t.button; - return null == t.which && wt.test(t.type) + return null == t.which && _t.test(t.type) ? null != t.charCode ? t.charCode : t.keyCode - : !t.which && void 0 !== e && xt.test(t.type) + : !t.which && void 0 !== e && Ct.test(t.type) ? 1 & e ? 1 : 2 & e @@ -2681,6 +2737,17 @@ }, _.event.addProp ), + _.each({ focus: "focusin", blur: "focusout" }, function(t, e) { + _.event.special[t] = { + setup: function() { + return Ot(this, t, At), !1; + }, + trigger: function() { + return Ot(this, t), !0; + }, + delegateType: e + }; + }), _.each( { mouseenter: "mouseover", @@ -2694,11 +2761,12 @@ bindType: e, handle: function(t) { var n, - r = t.relatedTarget, - i = t.handleObj; + r = this, + i = t.relatedTarget, + o = t.handleObj; return ( - (r && (r === this || _.contains(this, r))) || - ((t.type = i.origType), (n = i.handler.apply(this, arguments)), (t.type = e)), + (i && (i === r || _.contains(r, i))) || + ((t.type = o.origType), (n = o.handler.apply(this, arguments)), (t.type = e)), n ); } @@ -2707,10 +2775,10 @@ ), _.fn.extend({ on: function(t, e, n, r) { - return kt(this, t, e, n, r); + return Tt(this, t, e, n, r); }, one: function(t, e, n, r) { - return kt(this, t, e, n, r, 1); + return Tt(this, t, e, n, r, 1); }, off: function(t, e, n) { var r, i; @@ -2730,29 +2798,28 @@ } return ( (!1 !== e && "function" != typeof e) || ((n = e), (e = void 0)), - !1 === n && (n = St), + !1 === n && (n = kt), this.each(function() { _.event.remove(this, t, n, e); }) ); } }); - var At = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, - Tt = /\s*$/g; - function Nt(t, e) { + var jt = /\s*$/g; + function Mt(t, e) { return ( - (O(t, "table") && - O(11 !== e.nodeType ? e : e.firstChild, "tr") && + (T(t, "table") && + T(11 !== e.nodeType ? e : e.firstChild, "tr") && _(t).children("tbody")[0]) || t ); } - function Mt(t) { + function Dt(t) { return (t.type = (null !== t.getAttribute("type")) + "/" + t.type), t; } - function Lt(t) { + function It(t) { return ( "true/" === (t.type || "").slice(0, 5) ? (t.type = t.type.slice(5)) @@ -2760,72 +2827,72 @@ t ); } - function Dt(t, e) { - var n, r, i, o, a, u, s, c; + function Rt(t, e) { + var n, r, i, o, a, u; if (1 === e.nodeType) { - if (X.hasData(t) && ((o = X.access(t)), (a = X.set(e, o)), (c = o.events))) - for (i in (delete a.handle, (a.events = {}), c)) - for (n = 0, r = c[i].length; n < r; n++) _.event.add(e, i, c[i][n]); - Q.hasData(t) && ((u = Q.access(t)), (s = _.extend({}, u)), Q.set(e, s)); + if (X.hasData(t) && (u = X.get(t).events)) + for (i in (X.remove(e, "handle events"), u)) + for (n = 0, r = u[i].length; n < r; n++) _.event.add(e, i, u[i][n]); + Z.hasData(t) && ((o = Z.access(t)), (a = _.extend({}, o)), Z.set(e, a)); } } - function It(t, e) { + function Pt(t, e) { var n = e.nodeName.toLowerCase(); - "input" === n && pt.test(t.type) + "input" === n && vt.test(t.type) ? (e.checked = t.checked) : ("input" !== n && "textarea" !== n) || (e.defaultValue = t.defaultValue); } - function Rt(t, e, n, r) { - e = c.apply([], e); + function Vt(t, e, n, r) { + e = s(e); var i, o, a, u, - s, + c, l, f = 0, p = t.length, h = p - 1, d = e[0], - v = $(d); - if (v || (p > 1 && "string" == typeof d && !m.checkClone && Ot.test(d))) + v = m(d); + if (v || (p > 1 && "string" == typeof d && !g.checkClone && Nt.test(d))) return t.each(function(i) { var o = t.eq(i); - v && (e[0] = d.call(this, i, o.html())), Rt(o, e, n, r); + v && (e[0] = d.call(this, i, o.html())), Vt(o, e, n, r); }); if ( p && - ((o = (i = yt(e, t[0].ownerDocument, !1, t, r)).firstChild), + ((o = (i = wt(e, t[0].ownerDocument, !1, t, r)).firstChild), 1 === i.childNodes.length && (i = o), o || r) ) { - for (u = (a = _.map(gt(i, "script"), Mt)).length; f < p; f++) - (s = i), - f !== h && ((s = _.clone(s, !0, !0)), u && _.merge(a, gt(s, "script"))), - n.call(t[f], s, f); + for (u = (a = _.map(yt(i, "script"), Dt)).length; f < p; f++) + (c = i), + f !== h && ((c = _.clone(c, !0, !0)), u && _.merge(a, yt(c, "script"))), + n.call(t[f], c, f); if (u) - for (l = a[a.length - 1].ownerDocument, _.map(a, Lt), f = 0; f < u; f++) - (s = a[f]), - dt.test(s.type || "") && - !X.access(s, "globalEval") && - _.contains(l, s) && - (s.src && "module" !== (s.type || "").toLowerCase() - ? _._evalUrl && _._evalUrl(s.src) - : w(s.textContent.replace(jt, ""), l, s)); + for (l = a[a.length - 1].ownerDocument, _.map(a, It), f = 0; f < u; f++) + (c = a[f]), + mt.test(c.type || "") && + !X.access(c, "globalEval") && + _.contains(l, c) && + (c.src && "module" !== (c.type || "").toLowerCase() + ? _._evalUrl && + !c.noModule && + _._evalUrl(c.src, { nonce: c.nonce || c.getAttribute("nonce") }, l) + : x(c.textContent.replace(Lt, ""), c, l)); } return t; } - function Pt(t, e, n) { + function qt(t, e, n) { for (var r, i = e ? _.filter(e, t) : t, o = 0; null != (r = i[o]); o++) - n || 1 !== r.nodeType || _.cleanData(gt(r)), - r.parentNode && - (n && _.contains(r.ownerDocument, r) && mt(gt(r, "script")), - r.parentNode.removeChild(r)); + n || 1 !== r.nodeType || _.cleanData(yt(r)), + r.parentNode && (n && at(r) && bt(yt(r, "script")), r.parentNode.removeChild(r)); return t; } _.extend({ htmlPrefilter: function(t) { - return t.replace(At, "<$1>"); + return t; }, clone: function(t, e, n) { var r, @@ -2833,34 +2900,34 @@ o, a, u = t.cloneNode(!0), - s = _.contains(t.ownerDocument, t); - if (!(m.noCloneChecked || (1 !== t.nodeType && 11 !== t.nodeType) || _.isXMLDoc(t))) - for (a = gt(u), r = 0, i = (o = gt(t)).length; r < i; r++) It(o[r], a[r]); + s = at(t); + if (!(g.noCloneChecked || (1 !== t.nodeType && 11 !== t.nodeType) || _.isXMLDoc(t))) + for (a = yt(u), r = 0, i = (o = yt(t)).length; r < i; r++) Pt(o[r], a[r]); if (e) if (n) - for (o = o || gt(t), a = a || gt(u), r = 0, i = o.length; r < i; r++) - Dt(o[r], a[r]); - else Dt(t, u); - return (a = gt(u, "script")).length > 0 && mt(a, !s && gt(t, "script")), u; + for (o = o || yt(t), a = a || yt(u), r = 0, i = o.length; r < i; r++) + Rt(o[r], a[r]); + else Rt(t, u); + return (a = yt(u, "script")).length > 0 && bt(a, !s && yt(t, "script")), u; }, cleanData: function(t) { for (var e, n, r, i = _.event.special, o = 0; void 0 !== (n = t[o]); o++) - if (Y(n)) { + if (J(n)) { if ((e = n[X.expando])) { if (e.events) for (r in e.events) i[r] ? _.event.remove(n, r) : _.removeEvent(n, r, e.handle); n[X.expando] = void 0; } - n[Q.expando] && (n[Q.expando] = void 0); + n[Z.expando] && (n[Z.expando] = void 0); } } }), _.fn.extend({ detach: function(t) { - return Pt(this, t, !0); + return qt(this, t, !0); }, remove: function(t) { - return Pt(this, t); + return qt(this, t); }, text: function(t) { return z( @@ -2879,32 +2946,32 @@ ); }, append: function() { - return Rt(this, arguments, function(t) { + return Vt(this, arguments, function(t) { (1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType) || - Nt(this, t).appendChild(t); + Mt(this, t).appendChild(t); }); }, prepend: function() { - return Rt(this, arguments, function(t) { + return Vt(this, arguments, function(t) { if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { - var e = Nt(this, t); + var e = Mt(this, t); e.insertBefore(t, e.firstChild); } }); }, before: function() { - return Rt(this, arguments, function(t) { + return Vt(this, arguments, function(t) { this.parentNode && this.parentNode.insertBefore(t, this); }); }, after: function() { - return Rt(this, arguments, function(t) { + return Vt(this, arguments, function(t) { this.parentNode && this.parentNode.insertBefore(t, this.nextSibling); }); }, empty: function() { for (var t, e = 0; null != (t = this[e]); e++) - 1 === t.nodeType && (_.cleanData(gt(t, !1)), (t.textContent = "")); + 1 === t.nodeType && (_.cleanData(yt(t, !1)), (t.textContent = "")); return this; }, clone: function(t, e) { @@ -2926,14 +2993,14 @@ if (void 0 === t && 1 === e.nodeType) return e.innerHTML; if ( "string" == typeof t && - !Tt.test(t) && - !vt[(ht.exec(t) || ["", ""])[1].toLowerCase()] + !jt.test(t) && + !$t[(gt.exec(t) || ["", ""])[1].toLowerCase()] ) { t = _.htmlPrefilter(t); try { for (; n < r; n++) 1 === (e = this[n] || {}).nodeType && - (_.cleanData(gt(e, !1)), (e.innerHTML = t)); + (_.cleanData(yt(e, !1)), (e.innerHTML = t)); e = 0; } catch (t) {} } @@ -2946,12 +3013,12 @@ }, replaceWith: function() { var t = []; - return Rt( + return Vt( this, arguments, function(e) { var n = this.parentNode; - _.inArray(this, t) < 0 && (_.cleanData(gt(this)), n && n.replaceChild(e, this)); + _.inArray(this, t) < 0 && (_.cleanData(yt(this)), n && n.replaceChild(e, this)); }, t ); @@ -2968,31 +3035,37 @@ function(t, e) { _.fn[t] = function(t) { for (var n, r = [], i = _(t), o = i.length - 1, a = 0; a <= o; a++) - (n = a === o ? this : this.clone(!0)), _(i[a])[e](n), l.apply(r, n.get()); + (n = a === o ? this : this.clone(!0)), _(i[a])[e](n), c.apply(r, n.get()); return this.pushStack(r); }; } ); - var Vt = new RegExp("^(" + rt + ")(?!px)[a-z%]+$", "i"), - qt = function(t) { + var Ut = new RegExp("^(" + nt + ")(?!px)[a-z%]+$", "i"), + Ft = function(t) { var e = t.ownerDocument.defaultView; return (e && e.opener) || (e = n), e.getComputedStyle(t); }, - Ut = new RegExp(ot.join("|"), "i"); - function Ft(t, e, n) { + Ht = function(t, e, n) { + var r, + i, + o = {}; + for (i in e) (o[i] = t.style[i]), (t.style[i] = e[i]); + for (i in ((r = n.call(t)), e)) t.style[i] = o[i]; + return r; + }, + zt = new RegExp(it.join("|"), "i"); + function Bt(t, e, n) { var r, i, o, a, u = t.style; return ( - (n = n || qt(t)) && - ("" !== (a = n.getPropertyValue(e) || n[e]) || - _.contains(t.ownerDocument, t) || - (a = _.style(t, e)), - !m.pixelBoxStyles() && - Vt.test(a) && - Ut.test(e) && + (n = n || Ft(t)) && + ("" !== (a = n.getPropertyValue(e) || n[e]) || at(t) || (a = _.style(t, e)), + !g.pixelBoxStyles() && + Ut.test(a) && + zt.test(e) && ((r = u.width), (i = u.minWidth), (o = u.maxWidth), @@ -3004,7 +3077,7 @@ void 0 !== a ? a + "" : a ); } - function Ht(t, e) { + function Wt(t, e) { return { get: function() { if (!t()) return (this.get = e).apply(this, arguments); @@ -3019,16 +3092,16 @@ "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0"), (l.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%"), - bt.appendChild(c).appendChild(l); + ot.appendChild(c).appendChild(l); var t = n.getComputedStyle(l); (r = "1%" !== t.top), (s = 12 === e(t.marginLeft)), (l.style.right = "60%"), - (u = 36 === e(t.right)), + (a = 36 === e(t.right)), (i = 36 === e(t.width)), (l.style.position = "absolute"), - (o = 36 === l.offsetWidth || "absolute"), - bt.removeChild(c), + (o = 12 === e(l.offsetWidth / 3)), + ot.removeChild(c), (l = null); } } @@ -3038,20 +3111,21 @@ var r, i, o, + a, u, s, - c = a.createElement("div"), - l = a.createElement("div"); + c = y.createElement("div"), + l = y.createElement("div"); l.style && ((l.style.backgroundClip = "content-box"), (l.cloneNode(!0).style.backgroundClip = ""), - (m.clearCloneStyle = "content-box" === l.style.backgroundClip), - _.extend(m, { + (g.clearCloneStyle = "content-box" === l.style.backgroundClip), + _.extend(g, { boxSizingReliable: function() { return t(), i; }, pixelBoxStyles: function() { - return t(), u; + return t(), a; }, pixelPosition: function() { return t(), r; @@ -3061,81 +3135,107 @@ }, scrollboxSize: function() { return t(), o; + }, + reliableTrDimensions: function() { + var t, e, r, i; + return ( + null == u && + ((t = y.createElement("table")), + (e = y.createElement("tr")), + (r = y.createElement("div")), + (t.style.cssText = "position:absolute;left:-11111px"), + (e.style.height = "1px"), + (r.style.height = "9px"), + ot + .appendChild(t) + .appendChild(e) + .appendChild(r), + (i = n.getComputedStyle(e)), + (u = parseInt(i.height) > 3), + ot.removeChild(t)), + u + ); } })); })(); - var Bt = /^(none|table(?!-c[ea]).+)/, - zt = /^--/, - Wt = { position: "absolute", visibility: "hidden", display: "block" }, - Gt = { letterSpacing: "0", fontWeight: "400" }, - Kt = ["Webkit", "Moz", "ms"], - Jt = a.createElement("div").style; + var Gt = ["Webkit", "Moz", "ms"], + Kt = y.createElement("div").style, + Jt = {}; function Yt(t) { - var e = _.cssProps[t]; + var e = _.cssProps[t] || Jt[t]; return ( e || - (e = _.cssProps[t] = - (function(t) { - if (t in Jt) return t; - for (var e = t[0].toUpperCase() + t.slice(1), n = Kt.length; n--; ) - if ((t = Kt[n] + e) in Jt) return t; - })(t) || t), - e + (t in Kt + ? t + : (Jt[t] = + (function(t) { + for (var e = t[0].toUpperCase() + t.slice(1), n = Gt.length; n--; ) + if ((t = Gt[n] + e) in Kt) return t; + })(t) || t)) ); } - function Zt(t, e, n) { - var r = it.exec(e); + var Xt = /^(none|table(?!-c[ea]).+)/, + Zt = /^--/, + Qt = { position: "absolute", visibility: "hidden", display: "block" }, + te = { letterSpacing: "0", fontWeight: "400" }; + function ee(t, e, n) { + var r = rt.exec(e); return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || "px") : e; } - function Xt(t, e, n, r, i, o) { + function ne(t, e, n, r, i, o) { var a = "width" === e ? 1 : 0, u = 0, s = 0; if (n === (r ? "border" : "content")) return 0; for (; a < 4; a += 2) - "margin" === n && (s += _.css(t, n + ot[a], !0, i)), + "margin" === n && (s += _.css(t, n + it[a], !0, i)), r - ? ("content" === n && (s -= _.css(t, "padding" + ot[a], !0, i)), - "margin" !== n && (s -= _.css(t, "border" + ot[a] + "Width", !0, i))) - : ((s += _.css(t, "padding" + ot[a], !0, i)), + ? ("content" === n && (s -= _.css(t, "padding" + it[a], !0, i)), + "margin" !== n && (s -= _.css(t, "border" + it[a] + "Width", !0, i))) + : ((s += _.css(t, "padding" + it[a], !0, i)), "padding" !== n - ? (s += _.css(t, "border" + ot[a] + "Width", !0, i)) - : (u += _.css(t, "border" + ot[a] + "Width", !0, i))); + ? (s += _.css(t, "border" + it[a] + "Width", !0, i)) + : (u += _.css(t, "border" + it[a] + "Width", !0, i))); return ( !r && o >= 0 && - (s += Math.max( - 0, - Math.ceil(t["offset" + e[0].toUpperCase() + e.slice(1)] - o - s - u - 0.5) - )), + (s += + Math.max( + 0, + Math.ceil(t["offset" + e[0].toUpperCase() + e.slice(1)] - o - s - u - 0.5) + ) || 0), s ); } - function Qt(t, e, n) { - var r = qt(t), - i = Ft(t, e, r), - o = "border-box" === _.css(t, "boxSizing", !1, r), - a = o; - if (Vt.test(i)) { - if (!n) return i; - i = "auto"; + function re(t, e, n) { + var r = Ft(t), + i = (!g.boxSizingReliable() || n) && "border-box" === _.css(t, "boxSizing", !1, r), + o = i, + a = Bt(t, e, r), + u = "offset" + e[0].toUpperCase() + e.slice(1); + if (Ut.test(a)) { + if (!n) return a; + a = "auto"; } return ( - (a = a && (m.boxSizingReliable() || i === t.style[e])), - ("auto" === i || (!parseFloat(i) && "inline" === _.css(t, "display", !1, r))) && - ((i = t["offset" + e[0].toUpperCase() + e.slice(1)]), (a = !0)), - (i = parseFloat(i) || 0) + Xt(t, e, n || (o ? "border" : "content"), a, r, i) + "px" + ((!g.boxSizingReliable() && i) || + (!g.reliableTrDimensions() && T(t, "tr")) || + "auto" === a || + (!parseFloat(a) && "inline" === _.css(t, "display", !1, r))) && + t.getClientRects().length && + ((i = "border-box" === _.css(t, "boxSizing", !1, r)), (o = u in t) && (a = t[u])), + (a = parseFloat(a) || 0) + ne(t, e, n || (i ? "border" : "content"), o, r, a) + "px" ); } - function te(t, e, n, r, i) { - return new te.prototype.init(t, e, n, r, i); + function ie(t, e, n, r, i) { + return new ie.prototype.init(t, e, n, r, i); } _.extend({ cssHooks: { opacity: { get: function(t, e) { if (e) { - var n = Ft(t, "opacity"); + var n = Bt(t, "opacity"); return "" === n ? "1" : n; } } @@ -3148,6 +3248,13 @@ 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, @@ -3162,19 +3269,19 @@ var i, o, a, - u = J(e), - s = zt.test(e), + u = K(e), + s = Zt.test(e), c = t.style; if ((s || (e = Yt(u)), (a = _.cssHooks[e] || _.cssHooks[u]), void 0 === n)) return a && "get" in a && void 0 !== (i = a.get(t, !1, r)) ? i : c[e]; "string" === (o = typeof n) && - (i = it.exec(n)) && + (i = rt.exec(n)) && i[1] && - ((n = st(t, e, i)), (o = "number")), + ((n = ct(t, e, i)), (o = "number")), null != n && n == n && - ("number" === o && (n += (i && i[3]) || (_.cssNumber[u] ? "" : "px")), - m.clearCloneStyle || + ("number" !== o || s || (n += (i && i[3]) || (_.cssNumber[u] ? "" : "px")), + g.clearCloneStyle || "" !== n || 0 !== e.indexOf("background") || (c[e] = "inherit"), @@ -3186,12 +3293,12 @@ var i, o, a, - u = J(e); + u = K(e); return ( - zt.test(e) || (e = Yt(u)), + Zt.test(e) || (e = Yt(u)), (a = _.cssHooks[e] || _.cssHooks[u]) && "get" in a && (i = a.get(t, !0, n)), - void 0 === i && (i = Ft(t, e, r)), - "normal" === i && e in Gt && (i = Gt[e]), + void 0 === i && (i = Bt(t, e, r)), + "normal" === i && e in te && (i = te[e]), "" === n || n ? ((o = parseFloat(i)), !0 === n || isFinite(o) ? o || 0 : i) : i ); } @@ -3200,42 +3307,43 @@ _.cssHooks[e] = { get: function(t, n, r) { if (n) - return !Bt.test(_.css(t, "display")) || + return !Xt.test(_.css(t, "display")) || (t.getClientRects().length && t.getBoundingClientRect().width) - ? Qt(t, e, r) - : ut(t, Wt, function() { - return Qt(t, e, r); + ? re(t, e, r) + : Ht(t, Qt, function() { + return re(t, e, r); }); }, set: function(t, n, r) { var i, - o = qt(t), - a = "border-box" === _.css(t, "boxSizing", !1, o), - u = r && Xt(t, e, r, a, o); + o = Ft(t), + a = !g.scrollboxSize() && "absolute" === o.position, + u = (a || r) && "border-box" === _.css(t, "boxSizing", !1, o), + s = r ? ne(t, e, r, u, o) : 0; return ( - a && - m.scrollboxSize() === o.position && - (u -= Math.ceil( + u && + a && + (s -= Math.ceil( t["offset" + e[0].toUpperCase() + e.slice(1)] - parseFloat(o[e]) - - Xt(t, e, "border", !1, o) - + ne(t, e, "border", !1, o) - 0.5 )), - u && - (i = it.exec(n)) && + s && + (i = rt.exec(n)) && "px" !== (i[3] || "px") && ((t.style[e] = n), (n = _.css(t, e))), - Zt(0, n, u) + ee(0, n, s) ); } }; }), - (_.cssHooks.marginLeft = Ht(m.reliableMarginLeft, function(t, e) { + (_.cssHooks.marginLeft = Wt(g.reliableMarginLeft, function(t, e) { if (e) return ( - (parseFloat(Ft(t, "marginLeft")) || + (parseFloat(Bt(t, "marginLeft")) || t.getBoundingClientRect().left - - ut(t, { marginLeft: 0 }, function() { + Ht(t, { marginLeft: 0 }, function() { return t.getBoundingClientRect().left; })) + "px" ); @@ -3244,11 +3352,11 @@ (_.cssHooks[t + e] = { expand: function(n) { for (var r = 0, i = {}, o = "string" == typeof n ? n.split(" ") : [n]; r < 4; r++) - i[t + ot[r] + e] = o[r] || o[r - 2] || o[0]; + i[t + it[r] + e] = o[r] || o[r - 2] || o[0]; return i; } }), - "margin" !== t && (_.cssHooks[t + e].set = Zt); + "margin" !== t && (_.cssHooks[t + e].set = ee); }), _.fn.extend({ css: function(t, e) { @@ -3260,7 +3368,7 @@ o = {}, a = 0; if (Array.isArray(e)) { - for (r = qt(t), i = e.length; a < i; a++) o[e[a]] = _.css(t, e[a], !1, r); + for (r = Ft(t), i = e.length; a < i; a++) o[e[a]] = _.css(t, e[a], !1, r); return o; } return void 0 !== n ? _.style(t, e, n) : _.css(t, e); @@ -3271,9 +3379,9 @@ ); } }), - (_.Tween = te), - (te.prototype = { - constructor: te, + (_.Tween = ie), + (ie.prototype = { + constructor: ie, init: function(t, e, n, r, i, o) { (this.elem = t), (this.prop = n), @@ -3284,12 +3392,12 @@ (this.unit = o || (_.cssNumber[n] ? "" : "px")); }, cur: function() { - var t = te.propHooks[this.prop]; - return t && t.get ? t.get(this) : te.propHooks._default.get(this); + var t = ie.propHooks[this.prop]; + return t && t.get ? t.get(this) : ie.propHooks._default.get(this); }, run: function(t) { var e, - n = te.propHooks[this.prop]; + n = ie.propHooks[this.prop]; return ( this.options.duration ? (this.pos = e = _.easing[this.easing]( @@ -3302,13 +3410,13 @@ : (this.pos = e = t), (this.now = (this.end - this.start) * e + this.start), this.options.step && this.options.step.call(this.elem, this.now, this), - n && n.set ? n.set(this) : te.propHooks._default.set(this), + n && n.set ? n.set(this) : ie.propHooks._default.set(this), this ); } }), - (te.prototype.init.prototype = te.prototype), - (te.propHooks = { + (ie.prototype.init.prototype = ie.prototype), + (ie.propHooks = { _default: { get: function(t) { var e; @@ -3323,13 +3431,13 @@ _.fx.step[t.prop] ? _.fx.step[t.prop](t) : 1 !== t.elem.nodeType || - (null == t.elem.style[_.cssProps[t.prop]] && !_.cssHooks[t.prop]) + (!_.cssHooks[t.prop] && null == t.elem.style[Yt(t.prop)]) ? (t.elem[t.prop] = t.now) : _.style(t.elem, t.prop, t.now + t.unit); } } }), - (te.propHooks.scrollTop = te.propHooks.scrollLeft = { + (ie.propHooks.scrollTop = ie.propHooks.scrollLeft = { set: function(t) { t.elem.nodeType && t.elem.parentNode && (t.elem[t.prop] = t.now); } @@ -3343,54 +3451,54 @@ }, _default: "swing" }), - (_.fx = te.prototype.init), + (_.fx = ie.prototype.init), (_.fx.step = {}); - var ee, - ne, - re = /^(?:toggle|show|hide)$/, - ie = /queueHooks$/; - function oe() { - ne && - (!1 === a.hidden && n.requestAnimationFrame - ? n.requestAnimationFrame(oe) - : n.setTimeout(oe, _.fx.interval), + var oe, + ae, + ue = /^(?:toggle|show|hide)$/, + se = /queueHooks$/; + function ce() { + ae && + (!1 === y.hidden && n.requestAnimationFrame + ? n.requestAnimationFrame(ce) + : n.setTimeout(ce, _.fx.interval), _.fx.tick()); } - function ae() { + function le() { return ( n.setTimeout(function() { - ee = void 0; + oe = void 0; }), - (ee = Date.now()) + (oe = Date.now()) ); } - function ue(t, e) { + function fe(t, e) { var n, r = 0, i = { height: t }; - for (e = e ? 1 : 0; r < 4; r += 2 - e) i["margin" + (n = ot[r])] = i["padding" + n] = t; + for (e = e ? 1 : 0; r < 4; r += 2 - e) i["margin" + (n = it[r])] = i["padding" + n] = t; return e && (i.opacity = i.width = t), i; } - function se(t, e, n) { + function pe(t, e, n) { for ( - var r, i = (ce.tweeners[e] || []).concat(ce.tweeners["*"]), o = 0, a = i.length; + var r, i = (he.tweeners[e] || []).concat(he.tweeners["*"]), o = 0, a = i.length; o < a; o++ ) if ((r = i[o].call(n, e, t))) return r; } - function ce(t, e, n) { + function he(t, e, n) { var r, i, o = 0, - a = ce.prefilters.length, + a = he.prefilters.length, u = _.Deferred().always(function() { delete s.elem; }), s = function() { if (i) return !1; for ( - var e = ee || ae(), + var e = oe || le(), n = Math.max(0, c.startTime + c.duration - e), r = 1 - (n / c.duration || 0), o = 0, @@ -3410,7 +3518,7 @@ opts: _.extend(!0, { specialEasing: {}, easing: _.easing._default }, n), originalProperties: e, originalOptions: n, - startTime: ee || ae(), + startTime: oe || le(), duration: n.duration, tweens: [], createTween: function(e, n) { @@ -3436,7 +3544,7 @@ var n, r, i, o, a; for (n in t) if ( - ((i = e[(r = J(n))]), + ((i = e[(r = K(n))]), (o = t[n]), Array.isArray(o) && ((i = o[1]), (o = t[n] = o[0])), n !== r && ((t[r] = o), delete t[n]), @@ -3449,11 +3557,11 @@ o < a; o++ ) - if ((r = ce.prefilters[o].call(c, t, l, c.opts))) - return $(r.stop) && (_._queueHooks(c.elem, c.opts.queue).stop = r.stop.bind(r)), r; + if ((r = he.prefilters[o].call(c, t, l, c.opts))) + return m(r.stop) && (_._queueHooks(c.elem, c.opts.queue).stop = r.stop.bind(r)), r; return ( - _.map(l, se, c), - $(c.opts.start) && c.opts.start.call(t, c), + _.map(l, pe, c), + m(c.opts.start) && c.opts.start.call(t, c), c .progress(c.opts.progress) .done(c.opts.done, c.opts.complete) @@ -3463,19 +3571,19 @@ c ); } - (_.Animation = _.extend(ce, { + (_.Animation = _.extend(he, { tweeners: { "*": [ function(t, e) { var n = this.createTween(t, e); - return st(n.elem, t, it.exec(e), n), n; + return ct(n.elem, t, rt.exec(e), n), n; } ] }, tweener: function(t, e) { - $(t) ? ((e = t), (t = ["*"])) : (t = t.match(P)); + m(t) ? ((e = t), (t = ["*"])) : (t = t.match(R)); for (var n, r = 0, i = t.length; r < i; r++) - (n = t[r]), (ce.tweeners[n] = ce.tweeners[n] || []), ce.tweeners[n].unshift(e); + (n = t[r]), (he.tweeners[n] = he.tweeners[n] || []), he.tweeners[n].unshift(e); }, prefilters: [ function(t, e, n) { @@ -3491,7 +3599,7 @@ p = this, h = {}, d = t.style, - v = t.nodeType && at(t), + v = t.nodeType && st(t), g = X.get(t, "fxshow"); for (r in (n.queue || (null == (a = _._queueHooks(t, "fx")).unqueued && @@ -3507,7 +3615,7 @@ }); })), e)) - if (((i = e[r]), re.test(i))) { + if (((i = e[r]), ue.test(i))) { if ((delete e[r], (o = o || "toggle" === i), i === (v ? "hide" : "show"))) { if ("show" !== i || !g || void 0 === g[r]) continue; v = !0; @@ -3522,10 +3630,10 @@ "none" === (l = _.css(t, "display")) && (c ? (l = c) - : (ft([t], !0), + : (pt([t], !0), (c = t.style.display || c), (l = _.css(t, "display")), - ft([t]))), + pt([t]))), ("inline" === l || ("inline-block" === l && null != c)) && "none" === _.css(t, "float") && (s || @@ -3548,16 +3656,16 @@ ? "hidden" in g && (v = g.hidden) : (g = X.access(t, "fxshow", { display: c })), o && (g.hidden = !v), - v && ft([t], !0), + v && pt([t], !0), p.done(function() { - for (r in (v || ft([t]), X.remove(t, "fxshow"), h)) _.style(t, r, h[r]); + for (r in (v || pt([t]), X.remove(t, "fxshow"), h)) _.style(t, r, h[r]); })), - (s = se(v ? g[r] : 0, r, p)), + (s = pe(v ? g[r] : 0, r, p)), r in g || ((g[r] = s.start), v && ((s.end = s.start), (s.start = 0))); } ], prefilter: function(t, e) { - e ? ce.prefilters.unshift(t) : ce.prefilters.push(t); + e ? he.prefilters.unshift(t) : he.prefilters.push(t); } })), (_.speed = function(t, e, n) { @@ -3565,9 +3673,9 @@ t && "object" == typeof t ? _.extend({}, t) : { - complete: n || (!n && e) || ($(t) && t), + complete: n || (!n && e) || (m(t) && t), duration: t, - easing: (n && e) || (e && !$(e) && e) + easing: (n && e) || (e && !m(e) && e) }; return ( _.fx.off @@ -3579,14 +3687,14 @@ (null != r.queue && !0 !== r.queue) || (r.queue = "fx"), (r.old = r.complete), (r.complete = function() { - $(r.old) && r.old.call(this), r.queue && _.dequeue(this, r.queue); + m(r.old) && r.old.call(this), r.queue && _.dequeue(this, r.queue); }), r ); }), _.fn.extend({ fadeTo: function(t, e, n, r) { - return this.filter(at) + return this.filter(st) .css("opacity", 0) .show() .end() @@ -3596,7 +3704,7 @@ var i = _.isEmptyObject(t), o = _.speed(e, n, r), a = function() { - var e = ce(this, _.extend({}, t), o); + var e = he(this, _.extend({}, t), o); (i || X.get(this, "finish")) && e.stop(!0); }; return (a.finish = a), i || !1 === o.queue ? this.each(a) : this.queue(o.queue, a); @@ -3608,14 +3716,14 @@ }; return ( "string" != typeof t && ((n = e), (e = t), (t = void 0)), - e && !1 !== t && this.queue(t || "fx", []), + e && this.queue(t || "fx", []), this.each(function() { var e = !0, i = null != t && t + "queueHooks", o = _.timers, a = X.get(this); if (i) a[i] && a[i].stop && r(a[i]); - else for (i in a) a[i] && a[i].stop && ie.test(i) && r(a[i]); + else for (i in a) a[i] && a[i].stop && se.test(i) && r(a[i]); for (i = o.length; i--; ) o[i].elem !== this || (null != t && o[i].queue !== t) || @@ -3654,14 +3762,14 @@ _.fn[e] = function(t, r, i) { return null == t || "boolean" == typeof t ? n.apply(this, arguments) - : this.animate(ue(e, !0), t, r, i); + : this.animate(fe(e, !0), t, r, i); }; }), _.each( { - slideDown: ue("show"), - slideUp: ue("hide"), - slideToggle: ue("toggle"), + slideDown: fe("show"), + slideUp: fe("hide"), + slideToggle: fe("toggle"), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide" }, fadeToggle: { opacity: "toggle" } @@ -3677,18 +3785,18 @@ var t, e = 0, n = _.timers; - for (ee = Date.now(); e < n.length; e++) (t = n[e])() || n[e] !== t || n.splice(e--, 1); - n.length || _.fx.stop(), (ee = void 0); + for (oe = Date.now(); e < n.length; e++) (t = n[e])() || n[e] !== t || n.splice(e--, 1); + n.length || _.fx.stop(), (oe = void 0); }), (_.fx.timer = function(t) { _.timers.push(t), _.fx.start(); }), (_.fx.interval = 13), (_.fx.start = function() { - ne || ((ne = !0), oe()); + ae || ((ae = !0), ce()); }), (_.fx.stop = function() { - ne = null; + ae = null; }), (_.fx.speeds = { slow: 600, fast: 200, _default: 400 }), (_.fn.delay = function(t, e) { @@ -3704,17 +3812,17 @@ ); }), (function() { - var t = a.createElement("input"), - e = a.createElement("select").appendChild(a.createElement("option")); + var t = y.createElement("input"), + e = y.createElement("select").appendChild(y.createElement("option")); (t.type = "checkbox"), - (m.checkOn = "" !== t.value), - (m.optSelected = e.selected), - ((t = a.createElement("input")).value = "t"), + (g.checkOn = "" !== t.value), + (g.optSelected = e.selected), + ((t = y.createElement("input")).value = "t"), (t.type = "radio"), - (m.radioValue = "t" === t.value); + (g.radioValue = "t" === t.value); })(); - var le, - fe = _.expr.attrHandle; + var de, + ve = _.expr.attrHandle; _.fn.extend({ attr: function(t, e) { return z(this, _.attr, t, e, arguments.length > 1); @@ -3735,7 +3843,7 @@ ? _.prop(t, e, n) : ((1 === o && _.isXMLDoc(t)) || (i = - _.attrHooks[e.toLowerCase()] || (_.expr.match.bool.test(e) ? le : void 0)), + _.attrHooks[e.toLowerCase()] || (_.expr.match.bool.test(e) ? de : void 0)), void 0 !== n ? null === n ? void _.removeAttr(t, e) @@ -3751,7 +3859,7 @@ attrHooks: { type: { set: function(t, e) { - if (!m.radioValue && "radio" === e && O(t, "input")) { + if (!g.radioValue && "radio" === e && T(t, "input")) { var n = t.value; return t.setAttribute("type", e), n && (t.value = n), e; } @@ -3761,36 +3869,36 @@ removeAttr: function(t, e) { var n, r = 0, - i = e && e.match(P); + i = e && e.match(R); if (i && 1 === t.nodeType) for (; (n = i[r++]); ) t.removeAttribute(n); } }), - (le = { + (de = { set: function(t, e, n) { return !1 === e ? _.removeAttr(t, n) : t.setAttribute(n, n), n; } }), _.each(_.expr.match.bool.source.match(/\w+/g), function(t, e) { - var n = fe[e] || _.find.attr; - fe[e] = function(t, e, r) { + var n = ve[e] || _.find.attr; + ve[e] = function(t, e, r) { var i, o, a = e.toLowerCase(); return ( - r || ((o = fe[a]), (fe[a] = i), (i = null != n(t, e, r) ? a : null), (fe[a] = o)), i + r || ((o = ve[a]), (ve[a] = i), (i = null != n(t, e, r) ? a : null), (ve[a] = o)), i ); }; }); - var pe = /^(?:input|select|textarea|button)$/i, - he = /^(?:a|area)$/i; - function de(t) { - return (t.match(P) || []).join(" "); + var ge = /^(?:input|select|textarea|button)$/i, + me = /^(?:a|area)$/i; + function $e(t) { + return (t.match(R) || []).join(" "); } - function ve(t) { + function ye(t) { return (t.getAttribute && t.getAttribute("class")) || ""; } - function ge(t) { - return Array.isArray(t) ? t : ("string" == typeof t && t.match(P)) || []; + function be(t) { + return Array.isArray(t) ? t : ("string" == typeof t && t.match(R)) || []; } _.fn.extend({ prop: function(t, e) { @@ -3825,7 +3933,7 @@ var e = _.find.attr(t, "tabindex"); return e ? parseInt(e, 10) - : pe.test(t.nodeName) || (he.test(t.nodeName) && t.href) + : ge.test(t.nodeName) || (me.test(t.nodeName) && t.href) ? 0 : -1; } @@ -3833,7 +3941,7 @@ }, propFix: { for: "htmlFor", class: "className" } }), - m.optSelected || + g.optSelected || (_.propHooks.selected = { get: function(t) { var e = t.parentNode; @@ -3871,15 +3979,15 @@ a, u, s = 0; - if ($(t)) + if (m(t)) return this.each(function(e) { - _(this).addClass(t.call(this, e, ve(this))); + _(this).addClass(t.call(this, e, ye(this))); }); - if ((e = ge(t)).length) + if ((e = be(t)).length) for (; (n = this[s++]); ) - if (((i = ve(n)), (r = 1 === n.nodeType && " " + de(i) + " "))) { + if (((i = ye(n)), (r = 1 === n.nodeType && " " + $e(i) + " "))) { for (a = 0; (o = e[a++]); ) r.indexOf(" " + o + " ") < 0 && (r += o + " "); - i !== (u = de(r)) && n.setAttribute("class", u); + i !== (u = $e(r)) && n.setAttribute("class", u); } return this; }, @@ -3892,17 +4000,17 @@ a, u, s = 0; - if ($(t)) + if (m(t)) return this.each(function(e) { - _(this).removeClass(t.call(this, e, ve(this))); + _(this).removeClass(t.call(this, e, ye(this))); }); if (!arguments.length) return this.attr("class", ""); - if ((e = ge(t)).length) + if ((e = be(t)).length) for (; (n = this[s++]); ) - if (((i = ve(n)), (r = 1 === n.nodeType && " " + de(i) + " "))) { + if (((i = ye(n)), (r = 1 === n.nodeType && " " + $e(i) + " "))) { for (a = 0; (o = e[a++]); ) for (; r.indexOf(" " + o + " ") > -1; ) r = r.replace(" " + o + " ", " "); - i !== (u = de(r)) && n.setAttribute("class", u); + i !== (u = $e(r)) && n.setAttribute("class", u); } return this; }, @@ -3913,18 +4021,18 @@ ? e ? this.addClass(t) : this.removeClass(t) - : $(t) + : m(t) ? this.each(function(n) { - _(this).toggleClass(t.call(this, n, ve(this), e), e); + _(this).toggleClass(t.call(this, n, ye(this), e), e); }) : this.each(function() { var e, i, o, a; if (r) - for (i = 0, o = _(this), a = ge(t); (e = a[i++]); ) + for (i = 0, o = _(this), a = be(t); (e = a[i++]); ) o.hasClass(e) ? o.removeClass(e) : o.addClass(e); else (void 0 !== t && "boolean" !== n) || - ((e = ve(this)) && X.set(this, "__className__", e), + ((e = ye(this)) && X.set(this, "__className__", e), this.setAttribute && this.setAttribute( "class", @@ -3937,11 +4045,11 @@ n, r = 0; for (e = " " + t + " "; (n = this[r++]); ) - if (1 === n.nodeType && (" " + de(ve(n)) + " ").indexOf(e) > -1) return !0; + if (1 === n.nodeType && (" " + $e(ye(n)) + " ").indexOf(e) > -1) return !0; return !1; } }); - var me = /\r/g; + var xe = /\r/g; _.fn.extend({ val: function(t) { var e, @@ -3949,7 +4057,7 @@ r, i = this[0]; return arguments.length - ? ((r = $(t)), + ? ((r = m(t)), this.each(function(n) { var i; 1 === this.nodeType && @@ -3972,7 +4080,7 @@ void 0 !== (n = e.get(i, "value")) ? n : "string" == typeof (n = i.value) - ? n.replace(me, "") + ? n.replace(xe, "") : null == n ? "" : n @@ -3984,7 +4092,7 @@ option: { get: function(t) { var e = _.find.attr(t, "value"); - return null != e ? e : de(_.text(t)); + return null != e ? e : $e(_.text(t)); } }, select: { @@ -4001,7 +4109,7 @@ if ( ((n = i[r]).selected || r === o) && !n.disabled && - (!n.parentNode.disabled || !O(n.parentNode, "optgroup")) + (!n.parentNode.disabled || !T(n.parentNode, "optgroup")) ) { if (((e = _(n).val()), a)) return e; u.push(e); @@ -4022,82 +4130,83 @@ if (Array.isArray(e)) return (t.checked = _.inArray(_(t).val(), e) > -1); } }), - m.checkOn || + g.checkOn || (_.valHooks[this].get = function(t) { return null === t.getAttribute("value") ? "on" : t.value; }); }), - (m.focusin = "onfocusin" in n); - var $e = /^(?:focusinfocus|focusoutblur)$/, - ye = function(t) { + (g.focusin = "onfocusin" in n); + var we = /^(?:focusinfocus|focusoutblur)$/, + _e = function(t) { t.stopPropagation(); }; _.extend(_.event, { trigger: function(t, e, r, i) { var o, + a, u, s, c, l, f, p, - h, - v = [r || a], - g = d.call(t, "type") ? t.type : t, - m = d.call(t, "namespace") ? t.namespace.split(".") : []; + d = [r || y], + v = h.call(t, "type") ? t.type : t, + g = h.call(t, "namespace") ? t.namespace.split(".") : []; if ( - ((u = h = s = r = r || a), + ((a = p = u = r = r || y), 3 !== r.nodeType && 8 !== r.nodeType && - !$e.test(g + _.event.triggered) && - (g.indexOf(".") > -1 && ((g = (m = g.split(".")).shift()), m.sort()), - (l = g.indexOf(":") < 0 && "on" + g), - ((t = t[_.expando] ? t : new _.Event(g, "object" == typeof t && t)).isTrigger = i + !we.test(v + _.event.triggered) && + (v.indexOf(".") > -1 && ((g = v.split(".")), (v = g.shift()), g.sort()), + (c = v.indexOf(":") < 0 && "on" + v), + ((t = t[_.expando] ? t : new _.Event(v, "object" == typeof t && t)).isTrigger = i ? 2 : 3), - (t.namespace = m.join(".")), + (t.namespace = g.join(".")), (t.rnamespace = t.namespace - ? new RegExp("(^|\\.)" + m.join("\\.(?:.*\\.|)") + "(\\.|$)") + ? new RegExp("(^|\\.)" + g.join("\\.(?:.*\\.|)") + "(\\.|$)") : null), (t.result = void 0), t.target || (t.target = r), (e = null == e ? [t] : _.makeArray(e, [t])), - (p = _.event.special[g] || {}), - i || !p.trigger || !1 !== p.trigger.apply(r, e))) + (f = _.event.special[v] || {}), + i || !f.trigger || !1 !== f.trigger.apply(r, e))) ) { - if (!i && !p.noBubble && !y(r)) { + if (!i && !f.noBubble && !$(r)) { for ( - c = p.delegateType || g, $e.test(c + g) || (u = u.parentNode); - u; - u = u.parentNode + s = f.delegateType || v, we.test(s + v) || (a = a.parentNode); + a; + a = a.parentNode ) - v.push(u), (s = u); - s === (r.ownerDocument || a) && v.push(s.defaultView || s.parentWindow || n); + d.push(a), (u = a); + u === (r.ownerDocument || y) && d.push(u.defaultView || u.parentWindow || n); } - for (o = 0; (u = v[o++]) && !t.isPropagationStopped(); ) - (h = u), - (t.type = o > 1 ? c : p.bindType || g), - (f = (X.get(u, "events") || {})[t.type] && X.get(u, "handle")) && f.apply(u, e), - (f = l && u[l]) && - f.apply && - Y(u) && - ((t.result = f.apply(u, e)), !1 === t.result && t.preventDefault()); + for (o = 0; (a = d[o++]) && !t.isPropagationStopped(); ) + (p = a), + (t.type = o > 1 ? s : f.bindType || v), + (l = (X.get(a, "events") || Object.create(null))[t.type] && X.get(a, "handle")) && + l.apply(a, e), + (l = c && a[c]) && + l.apply && + J(a) && + ((t.result = l.apply(a, e)), !1 === t.result && t.preventDefault()); return ( - (t.type = g), + (t.type = v), i || t.isDefaultPrevented() || - (p._default && !1 !== p._default.apply(v.pop(), e)) || - !Y(r) || - (l && - $(r[g]) && - !y(r) && - ((s = r[l]) && (r[l] = null), - (_.event.triggered = g), - t.isPropagationStopped() && h.addEventListener(g, ye), - r[g](), - t.isPropagationStopped() && h.removeEventListener(g, ye), + (f._default && !1 !== f._default.apply(d.pop(), e)) || + !J(r) || + (c && + m(r[v]) && + !$(r) && + ((u = r[c]) && (r[c] = null), + (_.event.triggered = v), + t.isPropagationStopped() && p.addEventListener(v, _e), + r[v](), + t.isPropagationStopped() && p.removeEventListener(v, _e), (_.event.triggered = void 0), - s && (r[l] = s))), + u && (r[c] = u))), t.result ); } @@ -4118,27 +4227,27 @@ if (n) return _.event.trigger(t, e, n, !0); } }), - m.focusin || + g.focusin || _.each({ focus: "focusin", blur: "focusout" }, function(t, e) { var n = function(t) { _.event.simulate(e, t.target, _.event.fix(t)); }; _.event.special[e] = { setup: function() { - var r = this.ownerDocument || this, + var r = this.ownerDocument || this.document || this, i = X.access(r, e); i || r.addEventListener(t, n, !0), X.access(r, e, (i || 0) + 1); }, teardown: function() { - var r = this.ownerDocument || this, + var r = this.ownerDocument || this.document || this, i = X.access(r, e) - 1; i ? X.access(r, e, i) : (r.removeEventListener(t, n, !0), X.remove(r, e)); } }; }); - var be = n.location, - we = Date.now(), - xe = /\?/; + var Ce = n.location, + Se = { guid: Date.now() }, + Ee = /\?/; _.parseXML = function(t) { var e; if (!t || "string" != typeof t) return null; @@ -4151,33 +4260,34 @@ (e && !e.getElementsByTagName("parsererror").length) || _.error("Invalid XML: " + t), e ); }; - var _e = /\[\]$/, - Ce = /\r?\n/g, - Se = /^(?:submit|button|image|reset|file)$/i, - Ee = /^(?:input|select|textarea|keygen)/i; - function ke(t, e, n, r) { + var ke = /\[\]$/, + Ae = /\r?\n/g, + Te = /^(?:submit|button|image|reset|file)$/i, + Oe = /^(?:input|select|textarea|keygen)/i; + function je(t, e, n, r) { var i; if (Array.isArray(e)) _.each(e, function(e, i) { - n || _e.test(t) + n || ke.test(t) ? r(t, i) - : ke(t + "[" + ("object" == typeof i && null != i ? e : "") + "]", i, n, r); + : je(t + "[" + ("object" == typeof i && null != i ? e : "") + "]", i, n, r); }); - else if (n || "object" !== x(e)) r(t, e); - else for (i in e) ke(t + "[" + i + "]", e[i], n, r); + else if (n || "object" !== w(e)) r(t, e); + else for (i in e) je(t + "[" + i + "]", e[i], n, r); } (_.param = function(t, e) { var n, r = [], i = function(t, e) { - var n = $(e) ? e() : e; + var n = m(e) ? e() : e; r[r.length] = encodeURIComponent(t) + "=" + encodeURIComponent(null == n ? "" : n); }; + if (null == t) return ""; if (Array.isArray(t) || (t.jquery && !_.isPlainObject(t))) _.each(t, function() { i(this.name, this.value); }); - else for (n in t) ke(n, t[n], e, i); + else for (n in t) je(n, t[n], e, i); return r.join("&"); }), _.fn.extend({ @@ -4194,9 +4304,9 @@ return ( this.name && !_(this).is(":disabled") && - Ee.test(this.nodeName) && - !Se.test(t) && - (this.checked || !pt.test(t)) + Oe.test(this.nodeName) && + !Te.test(t) && + (this.checked || !vt.test(t)) ); }) .map(function(t, e) { @@ -4205,39 +4315,39 @@ ? null : Array.isArray(n) ? _.map(n, function(t) { - return { name: e.name, value: t.replace(Ce, "\r\n") }; + return { name: e.name, value: t.replace(Ae, "\r\n") }; }) - : { name: e.name, value: n.replace(Ce, "\r\n") }; + : { name: e.name, value: n.replace(Ae, "\r\n") }; }) .get(); } }); - var Ae = /%20/g, - Te = /#.*$/, - Oe = /([?&])_=[^&]*/, - je = /^(.*?):[ \t]*([^\r\n]*)$/gm, - Ne = /^(?:GET|HEAD)$/, - Me = /^\/\//, - Le = {}, - De = {}, - Ie = "*/".concat("*"), - Re = a.createElement("a"); - function Pe(t) { + var Ne = /%20/g, + Le = /#.*$/, + Me = /([?&])_=[^&]*/, + De = /^(.*?):[ \t]*([^\r\n]*)$/gm, + Ie = /^(?:GET|HEAD)$/, + Re = /^\/\//, + Pe = {}, + Ve = {}, + qe = "*/".concat("*"), + Ue = y.createElement("a"); + function Fe(t) { return function(e, n) { "string" != typeof e && ((n = e), (e = "*")); var r, i = 0, - o = e.toLowerCase().match(P) || []; - if ($(n)) + o = e.toLowerCase().match(R) || []; + if (m(n)) for (; (r = o[i++]); ) "+" === r[0] ? ((r = r.slice(1) || "*"), (t[r] = t[r] || []).unshift(n)) : (t[r] = t[r] || []).push(n); }; } - function Ve(t, e, n, r) { + function He(t, e, n, r) { var i = {}, - o = t === De; + o = t === Ve; function a(u) { var s; return ( @@ -4255,30 +4365,30 @@ } return a(e.dataTypes[0]) || (!i["*"] && a("*")); } - function qe(t, e) { + function ze(t, e) { var n, r, i = _.ajaxSettings.flatOptions || {}; for (n in e) void 0 !== e[n] && ((i[n] ? t : r || (r = {}))[n] = e[n]); return r && _.extend(!0, t, r), t; } - (Re.href = be.href), + (Ue.href = Ce.href), _.extend({ active: 0, lastModified: {}, etag: {}, ajaxSettings: { - url: be.href, + url: Ce.href, type: "GET", isLocal: /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test( - be.protocol + Ce.protocol ), global: !0, processData: !0, async: !0, contentType: "application/x-www-form-urlencoded; charset=UTF-8", accepts: { - "*": Ie, + "*": qe, text: "text/plain", html: "text/html", xml: "application/xml, text/xml", @@ -4295,157 +4405,162 @@ flatOptions: { url: !0, context: !0 } }, ajaxSetup: function(t, e) { - return e ? qe(qe(t, _.ajaxSettings), e) : qe(_.ajaxSettings, t); + return e ? ze(ze(t, _.ajaxSettings), e) : ze(_.ajaxSettings, t); }, - ajaxPrefilter: Pe(Le), - ajaxTransport: Pe(De), + ajaxPrefilter: Fe(Pe), + ajaxTransport: Fe(Ve), ajax: function(t, e) { "object" == typeof t && ((e = t), (t = void 0)), (e = e || {}); var r, i, o, + a, u, s, c, l, f, p, - h, - d = _.ajaxSetup({}, e), - v = d.context || d, - g = d.context && (v.nodeType || v.jquery) ? _(v) : _.event, - m = _.Deferred(), - $ = _.Callbacks("once memory"), - y = d.statusCode || {}, + h = _.ajaxSetup({}, e), + d = h.context || h, + v = h.context && (d.nodeType || d.jquery) ? _(d) : _.event, + g = _.Deferred(), + m = _.Callbacks("once memory"), + $ = h.statusCode || {}, b = {}, - w = {}, - x = "canceled", + x = {}, + w = "canceled", C = { readyState: 0, getResponseHeader: function(t) { var e; - if (l) { - if (!u) for (u = {}; (e = je.exec(o)); ) u[e[1].toLowerCase()] = e[2]; - e = u[t.toLowerCase()]; + if (c) { + if (!a) + for (a = {}; (e = De.exec(o)); ) + a[e[1].toLowerCase() + " "] = (a[e[1].toLowerCase() + " "] || []).concat( + e[2] + ); + e = a[t.toLowerCase() + " "]; } - return null == e ? null : e; + return null == e ? null : e.join(", "); }, getAllResponseHeaders: function() { - return l ? o : null; + return c ? o : null; }, setRequestHeader: function(t, e) { return ( - null == l && ((t = w[t.toLowerCase()] = w[t.toLowerCase()] || t), (b[t] = e)), + null == c && ((t = x[t.toLowerCase()] = x[t.toLowerCase()] || t), (b[t] = e)), this ); }, overrideMimeType: function(t) { - return null == l && (d.mimeType = t), this; + return null == c && (h.mimeType = t), this; }, statusCode: function(t) { var e; if (t) - if (l) C.always(t[C.status]); - else for (e in t) y[e] = [y[e], t[e]]; + if (c) C.always(t[C.status]); + else for (e in t) $[e] = [$[e], t[e]]; return this; }, abort: function(t) { - var e = t || x; + var e = t || w; return r && r.abort(e), S(0, e), this; } }; if ( - (m.promise(C), - (d.url = ((t || d.url || be.href) + "").replace(Me, be.protocol + "//")), - (d.type = e.method || e.type || d.method || d.type), - (d.dataTypes = (d.dataType || "*").toLowerCase().match(P) || [""]), - null == d.crossDomain) + (g.promise(C), + (h.url = ((t || h.url || Ce.href) + "").replace(Re, Ce.protocol + "//")), + (h.type = e.method || e.type || h.method || h.type), + (h.dataTypes = (h.dataType || "*").toLowerCase().match(R) || [""]), + null == h.crossDomain) ) { - c = a.createElement("a"); + s = y.createElement("a"); try { - (c.href = d.url), - (c.href = c.href), - (d.crossDomain = Re.protocol + "//" + Re.host != c.protocol + "//" + c.host); + (s.href = h.url), + (s.href = s.href), + (h.crossDomain = Ue.protocol + "//" + Ue.host != s.protocol + "//" + s.host); } catch (t) { - d.crossDomain = !0; + h.crossDomain = !0; } } if ( - (d.data && - d.processData && - "string" != typeof d.data && - (d.data = _.param(d.data, d.traditional)), - Ve(Le, d, e, C), - l) + (h.data && + h.processData && + "string" != typeof h.data && + (h.data = _.param(h.data, h.traditional)), + He(Pe, h, e, C), + c) ) return C; - for (p in ((f = _.event && d.global) && + for (f in ((l = _.event && h.global) && 0 == _.active++ && _.event.trigger("ajaxStart"), - (d.type = d.type.toUpperCase()), - (d.hasContent = !Ne.test(d.type)), - (i = d.url.replace(Te, "")), - d.hasContent - ? d.data && - d.processData && - 0 === (d.contentType || "").indexOf("application/x-www-form-urlencoded") && - (d.data = d.data.replace(Ae, "+")) - : ((h = d.url.slice(i.length)), - d.data && - (d.processData || "string" == typeof d.data) && - ((i += (xe.test(i) ? "&" : "?") + d.data), delete d.data), - !1 === d.cache && - ((i = i.replace(Oe, "$1")), (h = (xe.test(i) ? "&" : "?") + "_=" + we++ + h)), - (d.url = i + h)), - d.ifModified && + (h.type = h.type.toUpperCase()), + (h.hasContent = !Ie.test(h.type)), + (i = h.url.replace(Le, "")), + h.hasContent + ? h.data && + h.processData && + 0 === (h.contentType || "").indexOf("application/x-www-form-urlencoded") && + (h.data = h.data.replace(Ne, "+")) + : ((p = h.url.slice(i.length)), + h.data && + (h.processData || "string" == typeof h.data) && + ((i += (Ee.test(i) ? "&" : "?") + h.data), delete h.data), + !1 === h.cache && + ((i = i.replace(Me, "$1")), + (p = (Ee.test(i) ? "&" : "?") + "_=" + Se.guid++ + p)), + (h.url = i + p)), + h.ifModified && (_.lastModified[i] && C.setRequestHeader("If-Modified-Since", _.lastModified[i]), _.etag[i] && C.setRequestHeader("If-None-Match", _.etag[i])), - ((d.data && d.hasContent && !1 !== d.contentType) || e.contentType) && - C.setRequestHeader("Content-Type", d.contentType), + ((h.data && h.hasContent && !1 !== h.contentType) || e.contentType) && + C.setRequestHeader("Content-Type", h.contentType), C.setRequestHeader( "Accept", - d.dataTypes[0] && d.accepts[d.dataTypes[0]] - ? d.accepts[d.dataTypes[0]] + - ("*" !== d.dataTypes[0] ? ", " + Ie + "; q=0.01" : "") - : d.accepts["*"] + h.dataTypes[0] && h.accepts[h.dataTypes[0]] + ? h.accepts[h.dataTypes[0]] + + ("*" !== h.dataTypes[0] ? ", " + qe + "; q=0.01" : "") + : h.accepts["*"] ), - d.headers)) - C.setRequestHeader(p, d.headers[p]); - if (d.beforeSend && (!1 === d.beforeSend.call(v, C, d) || l)) return C.abort(); + h.headers)) + C.setRequestHeader(f, h.headers[f]); + if (h.beforeSend && (!1 === h.beforeSend.call(d, C, h) || c)) return C.abort(); if ( - ((x = "abort"), - $.add(d.complete), - C.done(d.success), - C.fail(d.error), - (r = Ve(De, d, e, C))) + ((w = "abort"), + m.add(h.complete), + C.done(h.success), + C.fail(h.error), + (r = He(Ve, h, e, C))) ) { - if (((C.readyState = 1), f && g.trigger("ajaxSend", [C, d]), l)) return C; - d.async && - d.timeout > 0 && - (s = n.setTimeout(function() { + if (((C.readyState = 1), l && v.trigger("ajaxSend", [C, h]), c)) return C; + h.async && + h.timeout > 0 && + (u = n.setTimeout(function() { C.abort("timeout"); - }, d.timeout)); + }, h.timeout)); try { - (l = !1), r.send(b, S); + (c = !1), r.send(b, S); } catch (t) { - if (l) throw t; + if (c) throw t; S(-1, t); } } else S(-1, "No Transport"); - function S(t, e, a, u) { - var c, + function S(t, e, a, s) { + var f, p, - h, + y, b, - w, - x = e; - l || - ((l = !0), - s && n.clearTimeout(s), + x, + w = e; + c || + ((c = !0), + u && n.clearTimeout(u), (r = void 0), - (o = u || ""), + (o = s || ""), (C.readyState = t > 0 ? 4 : 0), - (c = (t >= 200 && t < 300) || 304 === t), + (f = (t >= 200 && t < 300) || 304 === t), a && (b = (function(t, e, n) { for (var r, i, o, a, u = t.contents, s = t.dataTypes; "*" === s[0]; ) @@ -4469,7 +4584,10 @@ o = o || a; } if (o) return o !== s[0] && s.unshift(o), n[o]; - })(d, C, a)), + })(h, C, a)), + !f && + _.inArray("script", h.dataTypes) > -1 && + (h.converters["text script"] = function() {}), (b = (function(t, e, n, r) { var i, o, @@ -4512,26 +4630,26 @@ } } return { state: "success", data: e }; - })(d, b, C, c)), - c - ? (d.ifModified && - ((w = C.getResponseHeader("Last-Modified")) && (_.lastModified[i] = w), - (w = C.getResponseHeader("etag")) && (_.etag[i] = w)), - 204 === t || "HEAD" === d.type - ? (x = "nocontent") + })(h, b, C, f)), + f + ? (h.ifModified && + ((x = C.getResponseHeader("Last-Modified")) && (_.lastModified[i] = x), + (x = C.getResponseHeader("etag")) && (_.etag[i] = x)), + 204 === t || "HEAD" === h.type + ? (w = "nocontent") : 304 === t - ? (x = "notmodified") - : ((x = b.state), (p = b.data), (c = !(h = b.error)))) - : ((h = x), (!t && x) || ((x = "error"), t < 0 && (t = 0))), + ? (w = "notmodified") + : ((w = b.state), (p = b.data), (f = !(y = b.error)))) + : ((y = w), (!t && w) || ((w = "error"), t < 0 && (t = 0))), (C.status = t), - (C.statusText = (e || x) + ""), - c ? m.resolveWith(v, [p, x, C]) : m.rejectWith(v, [C, x, h]), - C.statusCode(y), - (y = void 0), - f && g.trigger(c ? "ajaxSuccess" : "ajaxError", [C, d, c ? p : h]), - $.fireWith(v, [C, x]), - f && - (g.trigger("ajaxComplete", [C, d]), --_.active || _.event.trigger("ajaxStop"))); + (C.statusText = (e || w) + ""), + f ? g.resolveWith(d, [p, w, C]) : g.rejectWith(d, [C, w, y]), + C.statusCode($), + ($ = void 0), + l && v.trigger(f ? "ajaxSuccess" : "ajaxError", [C, h, f ? p : y]), + m.fireWith(d, [C, w]), + l && + (v.trigger("ajaxComplete", [C, h]), --_.active || _.event.trigger("ajaxStop"))); } return C; }, @@ -4545,7 +4663,7 @@ _.each(["get", "post"], function(t, e) { _[e] = function(t, n, r, i) { return ( - $(n) && ((i = i || r), (r = n), (n = void 0)), + m(n) && ((i = i || r), (r = n), (n = void 0)), _.ajax( _.extend( { url: t, type: e, dataType: i, data: n, success: r }, @@ -4555,7 +4673,12 @@ ); }; }), - (_._evalUrl = function(t) { + _.ajaxPrefilter(function(t) { + var e; + for (e in t.headers) + "content-type" === e.toLowerCase() && (t.contentType = t.headers[e] || ""); + }), + (_._evalUrl = function(t, e, n) { return _.ajax({ url: t, type: "GET", @@ -4563,7 +4686,10 @@ cache: !0, async: !1, global: !1, - throws: !0 + converters: { "text script": function() {} }, + dataFilter: function(t) { + _.globalEval(t, e, n); + } }); }), _.fn.extend({ @@ -4571,7 +4697,7 @@ var e; return ( this[0] && - ($(t) && (t = t.call(this[0])), + (m(t) && (t = t.call(this[0])), (e = _(t, this[0].ownerDocument) .eq(0) .clone(!0)), @@ -4586,7 +4712,7 @@ ); }, wrapInner: function(t) { - return $(t) + return m(t) ? this.each(function(e) { _(this).wrapInner(t.call(this, e)); }) @@ -4597,7 +4723,7 @@ }); }, wrap: function(t) { - var e = $(t); + var e = m(t); return this.each(function(n) { _(this).wrapAll(e ? t.call(this, n) : t); }); @@ -4624,13 +4750,13 @@ return new n.XMLHttpRequest(); } catch (t) {} }); - var Ue = { 0: 200, 1223: 204 }, - Fe = _.ajaxSettings.xhr(); - (m.cors = !!Fe && "withCredentials" in Fe), - (m.ajax = Fe = !!Fe), + var Be = { 0: 200, 1223: 204 }, + We = _.ajaxSettings.xhr(); + (g.cors = !!We && "withCredentials" in We), + (g.ajax = We = !!We), _.ajaxTransport(function(t) { var e, r; - if (m.cors || (Fe && !t.crossDomain)) + if (g.cors || (We && !t.crossDomain)) return { send: function(i, o) { var a, @@ -4654,7 +4780,7 @@ ? o(0, "error") : o(u.status, u.statusText) : o( - Ue[u.status] || u.status, + Be[u.status] || u.status, u.statusText, "text" !== (u.responseType || "text") || "string" != typeof u.responseText @@ -4706,10 +4832,11 @@ }), _.ajaxTransport("script", function(t) { var e, n; - if (t.crossDomain) + if (t.crossDomain || t.scriptAttrs) return { send: function(r, i) { (e = _("