You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mercury-parser/dist/mercury.web.js

10 lines
270 KiB
JavaScript

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

var Mercury=function(){"use strict";function e(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function t(e){return e&&e.__esModule?e.default:e}function n(e,t){return t={exports:{}},e(t,t.exports),t.exports}function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(It===setTimeout)return setTimeout(e,0);if((It===r||!It)&&setTimeout)return It=setTimeout,setTimeout(e,0);try{return It(e,0)}catch(t){try{return It.call(null,e,0)}catch(t){return It.call(this,e,0)}}}function a(e){if(Ut===clearTimeout)return clearTimeout(e);if((Ut===i||!Ut)&&clearTimeout)return Ut=clearTimeout,clearTimeout(e);try{return Ut(e)}catch(t){try{return Ut.call(null,e)}catch(t){return Ut.call(this,e)}}}function s(){Bt&&$t&&(Bt=!1,$t.length?zt=$t.concat(zt):Gt=-1,zt.length&&u())}function u(){if(!Bt){var e=o(s);Bt=!0;for(var t=zt.length;t;){for($t=zt,zt=[];++Gt<t;)$t&&$t[Gt].run();Gt=-1,t=zt.length}$t=null,Bt=!1,a(e)}}function l(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];zt.push(new c(e,t)),1!==zt.length||Bt||o(u)}function c(e,t){this.fun=e,this.array=t}function f(){}function h(e){throw new Error("process.binding is not supported")}function d(){return"/"}function p(e){throw new Error("process.chdir is not supported")}function m(){return 0}function v(e){var t=.001*hn.call(fn),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],r-=e[1],r<0&&(n--,r+=1e9)),[n,r]}function g(){var e=new Date,t=e-dn;return t/1e3}function y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function b(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function w(e,t,n){if(e&&ms.isObject(e)&&e instanceof b)return e;var r=new b;return r.parse(e,t,n),r}function _(e){return ms.isString(e)&&(e=w(e)),e instanceof b?e.format():b.prototype.format.call(e)}function x(e,t){return w(e,!1,!0).resolve(t)}function k(e,t){return e?w(e,!1,!0).resolveObject(t):t}function S(e,t){var n,r=C(e);return t&&$s.test(r)?T(e):null!==(n=r.match(zs))?{method:n[1],url:n[2],version:{major:parseInt(n[3],10),minor:parseInt(n[4],10)},headers:T(e)}:null!==(n=r.match(Bs))?{version:{major:parseInt(n[1],10),minor:parseInt(n[2],10)},statusCode:parseInt(n[3],10),statusMessage:n[4],headers:T(e)}:T(e)}function T(e){var t,n,r,i={},o=Us(e),a=o();for($s.test(a)&&(a=o());a;)" "!==a[0]&&"\t"!==a[0]?(n&&O(n,r,i),t=a.indexOf(":"),n=a.substr(0,t),r=a.substr(t+1).trim(),a=o()):(r+=" "+a.trim(),a=o());return n&&O(n,r,i),i}function j(e){return e&&e._header&&(e=e._header),e&&"function"==typeof e.toString?e.toString().trim():""}function C(e){return e.slice(0,e.indexOf("\r\n"))}function O(e,t,n){switch(e=e.toLowerCase()){case"set-cookie":void 0!==n[e]?n[e].push(t):n[e]=[t];break;case"content-type":case"content-length":case"user-agent":case"referer":case"host":case"authorization":case"proxy-authorization":case"if-modified-since":case"if-unmodified-since":case"from":case"location":case"max-forwards":case"retry-after":case"etag":case"last-modified":case"server":case"age":case"expires":void 0===n[e]&&(n[e]=t);break;default:"string"==typeof n[e]?n[e]+=", "+t:n[e]=t}}function D(e,t){if("function"!=typeof t)throw new Error("Bad callback given: "+t);if(!e)throw new Error("No options given");var n=e.onResponse;if(e="string"==typeof e?{uri:e}:JSON.parse(JSON.stringify(e)),e.onResponse=n,e.verbose&&(D.log=N()),e.url&&(e.uri=e.url,delete e.url),!e.uri&&""!==e.uri)throw new Error("options.uri is a required argument");if("string"!=typeof e.uri)throw new Error("options.uri must be a string");for(var r=["proxy","_redirectsFollowed","maxRedirects","followRedirect"],i=0;i<r.length;i++)if(e[r[i]])throw new Error("options."+r[i]+" is not supported");if(e.callback=t,e.method=e.method||"GET",e.headers=e.headers||{},e.body=e.body||null,e.timeout=e.timeout||D.DEFAULT_TIMEOUT,e.headers.host)throw new Error("Options.headers.host is not supported");e.json&&(e.headers.accept=e.headers.accept||"application/json","GET"!==e.method&&(e.headers["content-type"]="application/json"),"boolean"!=typeof e.json?e.body=JSON.stringify(e.json):"string"!=typeof e.body&&(e.body=JSON.stringify(e.body)));var o=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")};if(e.qs){var a="string"==typeof e.qs?e.qs:o(e.qs);e.uri.indexOf("?")!==-1?e.uri=e.uri+"&"+a:e.uri=e.uri+"?"+a}var s=function(e){var t={};t.boundry="-------------------------------"+Math.floor(1e9*Math.random());var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push("--"+t.boundry+'\nContent-Disposition: form-data; name="'+r+'"\n\n'+e[r]+"\n");return n.push("--"+t.boundry+"--"),t.body=n.join(""),t.length=t.body.length,t.type="multipart/form-data; boundary="+t.boundry,t};if(e.form){if("string"==typeof e.form)throw"form name unsupported";if("POST"===e.method){var u=(e.encoding||"application/x-www-form-urlencoded").toLowerCase();switch(e.headers["content-type"]=u,u){case"application/x-www-form-urlencoded":e.body=o(e.form).replace(/%20/g,"+");break;case"multipart/form-data":var l=s(e.form);e.body=l.body,e.headers["content-type"]=l.type;break;default:throw new Error("unsupported encoding:"+u)}}}return e.onResponse=e.onResponse||M,e.onResponse===!0&&(e.onResponse=t,e.callback=M),!e.headers.authorization&&e.auth&&(e.headers.authorization="Basic "+L(e.auth.username+":"+e.auth.password)),E(e)}function E(e){function t(){s=!0;var t=new Error("ETIMEDOUT");return t.code="ETIMEDOUT",t.duration=e.timeout,D.log.error("Timeout",{id:a._id,milliseconds:e.timeout}),e.callback(t,a)}function n(t){if(s)return D.log.debug("Ignoring timed out state change",{state:a.readyState,id:a.id});if(D.log.debug("State change",{state:a.readyState,id:a.id,timed_out:s}),a.readyState===Zs.OPENED){D.log.debug("Request started",{id:a.id});for(var n in e.headers)a.setRequestHeader(n,e.headers[n])}else a.readyState===Zs.HEADERS_RECEIVED?r():a.readyState===Zs.LOADING?(r(),i()):a.readyState===Zs.DONE&&(r(),i(),o())}function r(){if(!f.response){if(f.response=!0,D.log.debug("Got response",{id:a.id,status:a.status}),clearTimeout(a.timeoutTimer),a.statusCode=a.status,u&&0==a.statusCode){var t=new Error("CORS request rejected: "+e.uri);return t.cors="rejected",f.loading=!0,f.end=!0,e.callback(t,a)}e.onResponse(null,a)}}function i(){f.loading||(f.loading=!0,D.log.debug("Response body loading",{id:a.id}))}function o(){if(!f.end){if(f.end=!0,D.log.debug("Request done",{id:a.id}),a.body=a.responseText,a.headers=Vs(a.getAllResponseHeaders()),e.json)try{a.body=JSON.parse(a.responseText)}catch(t){return e.callback(t,a)}e.callback(null,a,a.body)}}var a=new Zs,s=!1,u=R(e.uri),l="withCredentials"in a;if(Xs+=1,a.seq_id=Xs,a.id=Xs+": "+e.method+" "+e.uri,a._id=a.id,u&&!l){var c=new Error("Browser does not support cross-origin request: "+e.uri);return c.cors="unsupported",e.callback(c,a)}a.timeoutTimer=setTimeout(t,e.timeout);var f={response:!1,loading:!1,end:!1};return a.onreadystatechange=n,a.open(e.method,e.uri,!0),u&&(a.withCredentials=!!e.withCredentials),a.send(e.body),a}function M(){}function N(){var e,t,n={},r=["trace","debug","info","warn","error"];for(t=0;t<r.length;t++)e=r[t],n[e]=M,"undefined"!=typeof console&&console&&console[e]&&(n[e]=A(console,e));return n}function A(e,t){function n(n,r){return"object"==typeof r&&(n+=" "+JSON.stringify(r)),e[t].call(e,n)}return n}function R(e){var t,n=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/;try{t=location.href}catch(e){t=document.createElement("a"),t.href="",t=t.href}var r=n.exec(t.toLowerCase())||[],i=n.exec(e.toLowerCase()),o=!(!i||i[1]==r[1]&&i[2]==r[2]&&(i[3]||("http:"===i[1]?80:443))==(r[3]||("http:"===r[1]?80:443)));return o}function L(e){var t,n,r,i,o,a,s,u,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=0,f=0,h="",d=[];if(!e)return e;do t=e.charCodeAt(c++),n=e.charCodeAt(c++),r=e.charCodeAt(c++),u=t<<16|n<<8|r,i=u>>18&63,o=u>>12&63,a=u>>6&63,s=63&u,d[f++]=l.charAt(i)+l.charAt(o)+l.charAt(a)+l.charAt(s);while(c<e.length);switch(h=d.join(""),e.length%3){case 1:h=h.slice(0,-2)+"==";break;case 2:h=h.slice(0,-1)+"="}return h}function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return wn.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!(e<=t)){n.next=5;break}return n.next=3,e+=1;case 3:n.next=0;break;case 5:case"end":return n.stop()}},eu[0],this)}function Y(e){var t=e.hostname;return!!t}function F(e){return new ss(function(t,n){Qs(e,function(e,r,i){e?n(e):t({body:i,response:r})})})}function q(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.statusMessage&&"OK"!==e.statusMessage||200!==e.statusCode){if(!e.statusCode)throw new Error("Unable to fetch content. Original exception was "+e.error);if(!t)throw new Error("Resource returned a response status code of "+e.statusCode+" and resource was instructed to reject non-2xx level status codes.")}var n=e.headers,r=n["content-type"],i=n["content-length"];if(ou.test(r))throw new Error("Content-type for this resource was "+r+" and is not allowed.");if(i>au)throw new Error("Content for this resource was too large. Maximum content length is "+au+".");return!0}function H(e,t,n){return e("meta["+t+"]").each(function(r,i){var o=e(i),a=o.attr(t);o.attr(n,a),o.removeAttr(t)}),e}function W(e){return e=H(e,"content","value"),e=H(e,"property","name")}function I(e){return e("*").not("a").each(function(t,n){var r=e(n),i=r.attr("class"),o=r.attr("id");if(o||i){var a=(i||"")+" "+(o||"");Bu.test(a)||$u.test(a)&&r.remove()}}),e}function U(e){var t=!1;return e("br").each(function(n,r){var i=e(r),o=i.next().get(0);o&&"br"===o.tagName.toLowerCase()?(t=!0,i.remove()):t&&(t=!1,$(r,e,!0))}),e}function $(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t(e);if(n){for(var i=e.nextSibling,o=t("<p></p>");i&&(!i.tagName||!Iu.test(i.tagName));){var a=i.nextSibling;t(i).appendTo(o),i=a}return r.replaceWith(o),r.remove(),t}return t}function z(e){return e("div").each(function(t,n){var r=e(n),i=0===r.children(Ru).length;i&&V(r,e,"p")}),e}function B(e){return e("span").each(function(t,n){var r=e(n),i=0===r.parents("p, div").length;i&&V(r,e,"p")}),e}function G(e){return e=U(e),e=z(e),e=B(e)}function V(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"p",r=e.get(0);if(!r)return t;var i=Ue(r)||{},o=wu(i).map(function(e){return e+"="+i[e]}).join(" "),a=void 0;return a=t.browser?"noscript"===r.tagName.toLowerCase()?e.text():e.html():e.contents(),e.replaceWith("<"+n+" "+o+">"+a+"</"+n+">"),t}function Z(e,t){var n=parseInt(e.attr("height"),10),r=parseInt(e.attr("width"),10)||20;return(n||20)<10||r<10?e.remove():n&&e.removeAttr("height"),t}function J(e,t){return _u.test(e.attr("src"))&&e.remove(),t}function X(e,t){return e.find("img").each(function(e,n){var r=t(n);Z(r,t),J(r,t)}),t}function K(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(0===r.length&&(r=ku),n){var i=Ps.parse(n),o=i.protocol,a=i.hostname;r=[].concat(ul(r),['iframe[src^="'+o+"//"+a+'"]'])}return t(r.join(","),e).addClass(xu),t}function Q(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return 0===n.length&&(n=Su),t(n.join(","),e).not("."+xu).remove(),t("."+xu,e).removeClass(xu),t}function ee(e,t){var n=t("h1",e);return n.length<3?n.each(function(e,n){return t(n).remove()}):n.each(function(e,n){V(t(n),t,"h2")}),t}function te(e){return e.find("*").each(function(e,t){var n=Ue(t);ze(t,wu(n).reduce(function(e,t){return Cu.test(t)?si({},e,pl({},t,n[t])):e},{}))}),e}function ne(e){return te(e.parent().length?e.parent():e)}function re(e,t){return e.find("p").each(function(e,n){var r=t(n);0===r.find("iframe, img").length&&""===r.text().trim()&&r.remove()}),t}function ie(e){var t=e.attr("class"),n=e.attr("id"),r=0;return n&&(kl.test(n)&&(r+=25),jl.test(n)&&(r-=25)),t&&(0===r&&(kl.test(t)&&(r+=25),jl.test(t)&&(r-=25)),_l.test(t)&&(r+=10),Sl.test(t)&&(r+=25)),r}function oe(e){return parseFloat(e.attr("score"))||null}function ae(e){return(e.match(/,/g)||[]).length}function se(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"p",n=e/50;if(n>0){var r=void 0;return r=El.test(t)?n-2:n-1.25,Math.min(Math.max(r,0),3)}return 0}function ue(e){var t=1,n=e.text().trim(),r=n.length;return r<25?0:(t+=ae(n),t+=se(r),":"===n.slice(-1)&&(t-=1),t)}function le(e,t,n){return e.attr("score",n),e}function ce(e,t,n){try{var r=he(e,t)+n;le(e,t,r)}catch(e){}return e}function fe(e,t,n){var r=e.parent();return r&&ce(r,t,.25*n),e}function he(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=oe(e);return r?r:(r=de(e),n&&(r+=ie(e)),fe(e,t,r),r)}function de(e){var t=e.get(0),n=t.tagName;return Cl.test(n)?ue(e):"div"===n.toLowerCase()?5:Ol.test(n)?3:Dl.test(n)?-3:"th"===n.toLowerCase()?-5:0}function pe(e,t){if(e.get(0)){var n=e.get(0),r=n.tagName;"span"===r&&V(e,t,"div")}}function me(e,t,n){e&&(pe(e,t),ce(e,t,n))}function ve(e,t){return e("p, pre").not("[score]").each(function(n,r){var i=e(r);i=le(i,e,he(i,e,t));var o=i.parent(),a=de(i);me(o,e,a,t),o&&me(o.parent(),e,a/2,t)}),e}function ge(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return bl.forEach(function(t){var n=$l(t,2),r=n[0],i=n[1];e(r+" "+i).each(function(t,n){ce(e(n).parent(r),e,80)})}),ve(e,t),ve(e,t),e}function ye(e){return e.replace(zl," ").trim()}function be(e,t){var n=t.find(function(t){return t.test(e)});return n?n.exec(e)[1]:null}function we(e){var t=e.match(Bl);if(!t)return null;var n=parseInt(t[6],10);return n<100?n:null}function _e(e){return e.split("#")[0].replace(/\/$/,"")}function xe(e,t,n){var r=!0;return t<2&&Zl.test(e)&&e.length<3&&(r=!0),0===t&&"index"===e.toLowerCase()&&(r=!1),t<2&&e.length<3&&!n&&(r=!1),r}function ke(e,t){var n=t||Ps.parse(e),r=n.protocol,i=n.host,o=n.path,a=!1,s=o.split("/").reverse().reduce(function(e,t,n){var r=t;if(r.includes(".")){var i=r.split("."),o=$l(i,2),s=o[0],u=o[1];Vl.test(u)&&(r=s)}return Bl.test(r)&&n<2&&(r=r.replace(Bl,"")),0===n&&(a=Gl.test(r)),xe(r,n,a)&&e.push(r),e},[]);return r+"//"+i+s.reverse().join("/")}function Se(e){return Jl.test(e)}function Te(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return e.trim().split(/\s+/).slice(0,t).join(" ")}function je(e,t,n){if(!e.parent().length)return e;var r=Math.max(10,.25*t),i=n("<div></div>");return e.parent().children().each(function(o,a){var s=n(a);if(yl.test(a.tagName))return null;var u=oe(s);if(u)if(s.get(0)===e.get(0))i.append(s);else{var l=0,c=Le(s);c<.05&&(l+=20),c>=.5&&(l-=20),s.attr("class")===e.attr("class")&&(l+=.2*t);var f=u+l;if(f>=r)return i.append(s);if("p"===a.tagName){var h=s.text(),d=Re(h);if(d>80&&c<.25)return i.append(s);if(d<=80&&0===c&&Se(h))return i.append(s)}}return null}),1===i.children().length&&i.children().first().get(0)===e.get(0)?e:i}function Ce(e){var t=void 0,n=0;return e("[score]").each(function(r,i){if(!yl.test(i.tagName)){var o=e(i),a=oe(o);a>n&&(n=a,t=o)}}),t?t=je(t,n,e):e("body")||e("*").first()}function Oe(e,t,n){if(!e.hasClass("entry-content-asset")){var r=ye(e.text());if(ae(r)<10){var i=t("p",e).length,o=t("input",e).length;if(o>i/3)return void e.remove();var a=r.length,s=t("img",e).length;if(a<25&&0===s)return void e.remove();var u=Le(e);if(n<25&&u>.2&&a>75)return void e.remove();if(n>=25&&u>.5){var l=e.get(0).tagName.toLowerCase(),c="ol"===l||"ul"===l;if(c){var f=e.prev();if(f&&":"===ye(f.text()).slice(-1))return}return void e.remove()}var h=t("script",e).length;if(h>0&&a<150)return void e.remove()}}}function De(e,t){return t(Du,e).each(function(e,n){var r=t(n),i=oe(r);i||(i=he(r,t),le(r,t,i)),i<0?r.remove():Oe(r,t,i)}),t}function Ee(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t(Mu,e).each(function(r,i){var o=t(i);return 0===t(o,e).prevAll("p").length?o.remove():ye(t(i).text())===n?o.remove():ie(t(i))<0?o.remove():o}),t}function Me(e,t){return t=V(t("html"),t,"div"),t=V(t("body"),t,"div")}function Ne(e,t,n,r){e("["+n+"]",r).each(function(e,r){var i=Ue(r),o=i[n];if(o){var a=Ps.resolve(t,o);$e(r,n,a)}})}function Ae(e,t,n){return["href","src"].forEach(function(r){return Ne(t,n,r,e)}),e}function Re(e){return e.trim().replace(/\s+/g," ").length}function Le(e){var t=Re(e.text()),n=e.find("a").text(),r=Re(n);return t>0?r/t:0===t&&r>0?1:0}function Pe(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=t.filter(function(e){return n.indexOf(e)!==-1}),o=!0,a=!1,s=void 0;try{for(var u,l=function(){var t=u.value,n="name",i="value",o=e("meta["+n+'="'+t+'"]'),a=o.map(function(t,n){return e(n).attr(i)}).toArray().filter(function(e){return""!==e});if(1===a.length){var s=void 0;return s=r?qe(a[0],e):a[0],{v:s}}},c=Il(i);!(o=(u=c.next()).done);o=!0){var f=l();if("object"===("undefined"==typeof f?"undefined":Yf(f)))return f.v}}catch(e){a=!0,s=e}finally{try{!o&&c.return&&c.return()}finally{if(a)throw s}}return null}function Ye(e,t){return!(e.children().length>t)&&!He(e)}function Fe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!0,o=!1,a=void 0;try{for(var s,u=Il(t);!(i=(s=u.next()).done);i=!0){var l=s.value,c=e(l);if(1===c.length){var f=e(c[0]);if(Ye(f,n)){var h=void 0;if(h=r?f.text():f.html())return h}}}}catch(e){o=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw a}}return null}function qe(e,t){var n=t("<span>"+e+"</span>").text();return""===n?e:n}function He(e){var t=e.parents().toArray(),n=t.find(function(e){var t=Ue(e),n=t.class,r=t.id,i=n+" "+r;return i.includes("comment")});return void 0!==n}function We(e){return e.text().trim().length>=100}function Ie(e){return e(qu).length>0}function Ue(e){var t=e.attribs,n=e.attributes;if(!t&&n){var r=wu(n).reduce(function(e,t){var r=n[t];return r.name&&r.value?(e[r.name]=r.value,e):e},{});return r}return t}function $e(e,t,n){return e.attribs?e.attribs[t]=n:e.attributes&&e.setAttribute(t,n),e}function ze(e,t){if(e.attribs)e.attribs=t;else if(e.attributes){for(;e.attributes.length>0;)e.removeAttribute(e.attributes[0].name);wu(t).forEach(function(n){e.setAttribute(n,t[n])})}return e}function Be(e){return e("img").each(function(t,n){var r=Ue(n);wu(r).forEach(function(t){var i=r[t];"src"!==t&&Ff.test(i)&&qf.test(i)&&e(n).attr("src",i)})}),e}function Ge(e,t){return"comment"===t.type}function Ve(e){return e.root().find("*").contents().filter(Ge).remove(),e}function Ze(e){return e(Hf).remove(),e=Ve(e)}function Je(e){return e.supportedDomains?Xf(e,[e.domain].concat(ul(e.supportedDomains))):Xf(e,[e.domain])}function Xe(e){return e.replace(bh,"$2").trim()}function Ke(e){return e=e.trim(),Ah.isWebUri(e)?e:null}function Qe(e,t){var n=t.$,r=t.excerpt;if(e.length>1e3||e.length<5)return null;if(r&&Te(r,10)===Te(e,10))return null;var i=qe(e,n);return wh.test(i)?null:i.trim()}function et(e){return(e.match(Eh)||[]).join(" ").replace(Th,"m").replace(Sh,"$1 $2 $3").replace(kh,"$1").trim()}function tt(e){(_h.test(e)||xh.test(e))&&(e=parseInt(e,10));var t=Rh(new Date(e));return t.isValid()||(e=et(e),t=Rh(new Date(e))),t.isValid()?t.toISOString():null}function nt(e,t){var n=t.$,r=t.cleanConditionally,i=void 0===r||r,o=t.title,a=void 0===o?"":o,s=t.url,u=void 0===s?"":s,l=t.defaultCleaner,c=void 0===l||l;return Me(e,n),c&&X(e,n),K(e,n,u),Q(e,n),ee(e,n),Ee(e,n,a),Ae(e,n,u),c&&De(e,n,i),re(e,n),ne(e,n),e}function rt(e,t){var n=t.url,r=t.$;if(Mh.test(e)&&(e=ut(e,n)),e.length>150){var i=r("h1");1===i.length&&(e=i.text())}return qe(e,r).trim()}function it(e){return e.reduce(function(e,t,n,r){return e+t})}function ot(e){if(Array.isArray(e))return e;if("string"==typeof e)return e.split("");throw Error("Parameter must be a string or array.")}function at(e,t){if(e.length>=6){var n=function(){var n=e.reduce(function(e,t){return e[t]=e[t]?e[t]+1:1,e},{}),r=wu(n).reduce(function(e,t){return e[1]<n[t]?[t,n[t]]:e},[0,0]),i=$l(r,2),o=i[0],a=i[1];a>=2&&o.length<=4&&(e=t.split(o));var s=[e[0],e.slice(-1)],u=s.reduce(function(e,t){return e.length>t.length?e:t},"");return u.length>10?{v:u}:{v:t}}();if("object"===("undefined"==typeof n?"undefined":Yf(n)))return n.v}return null}function st(e,t){var n=Ps.parse(t),r=n.host,i=r.replace(Nh,""),o=e[0].toLowerCase().replace(" ",""),a=Uh.levenshtein(o,i);if(a>.4&&o.length>5)return e.slice(2).join("");var s=e.slice(-1)[0].toLowerCase().replace(" ",""),u=Uh.levenshtein(s,i);return u>.4&&s.length>=5?e.slice(0,-2).join(""):null}function ut(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.split(Mh);if(1===n.length)return e;var r=at(n,e);return r?r:(r=st(n,t),r?r:e)}function lt(e,t){t.stripUnlikelyCandidates&&(e=I(e)),e=G(e),e=ge(e,t.weightNodes);var n=Ce(e);return n}function ct(e){return(e.attr("class")||"")+" "+(e.attr("id")||"")}function ft(e){e=e.trim();var t=0;return hd.test(e)&&(t+=20),pd.test(e)&&(t-=20),md.test(e)&&(t-=10),vd.test(e)&&(t+=10),t}function ht(e){return e.attr("alt")?5:0}function dt(e){var t=0,n=e.parents("figure").first();1===n.length&&(t+=25);var r=e.parent(),i=void 0;return 1===r.length&&(i=r.parent()),[r,i].forEach(function(e){_l.test(ct(e))&&(t+=15)}),t}function pt(e){var t=0,n=e.next(),r=n.get(0);return r&&"figcaption"===r.tagName.toLowerCase()&&(t+=25),_l.test(ct(n))&&(t+=15),t}function mt(e){var t=0,n=parseFloat(e.attr("width")),r=parseFloat(e.attr("height")),i=e.attr("src");if(n&&n<=50&&(t-=50),r&&r<=50&&(t-=50),n&&r&&!i.includes("sprite")){var o=n*r;o<5e3?t-=100:t+=Math.round(o/1e3)}return t}function vt(e,t){return e.length/2-t}function gt(e,t,n){if(e>0){var r=new _d.SequenceMatcher(null,t,n).ratio(),i=1-r,o=-(250*(i-.2));return e+o}return 0}function yt(e,t){var n=0;if(Zl.test(e.trim())){var r=parseInt(e,10);n=r<2?-30:Math.max(0,10-r),t&&t>=r&&(n-=50)}return n}function bt(e,t){return e&&!t?50:0}function wt(e){return Sd.test(e)?-25:0}function _t(e){return(e.attr("class")||"")+" "+(e.attr("id")||"")}function xt(e){var t=e.parent(),n=!1,r=!1,i=0;return al(P(0,4)).forEach(function(){if(0!==t.length){var e=_t(t," ");!n&&Hu.test(e)&&(n=!0,i+=25),!r&&Fu.test(e)&&Sd.test(e)&&(Pu.test(e)||(r=!0,i-=25)),t=t.parent()}}),i}function kt(e){return Cd.test(e)?-200:0}function St(e,t,n,r,i,o){if(void 0!==o.find(function(t){return e===t}))return!1;if(!e||e===t||e===n)return!1;var a=r.hostname,s=Ps.parse(e),u=s.hostname;if(u!==a)return!1;var l=e.replace(n,"");return!!xd.test(l)&&(!Sd.test(i)&&!(i.length>25))}function Tt(e,t){return t.test(e)?0:-25}function jt(e){return Td.test(e)?50:0}function Ct(e){return jd.test(e)&&Td.test(e)?-65:0}function Ot(e){return new RegExp("^"+e,"i")}function Dt(e,t){return(t||e.text())+" "+(e.attr("class")||"")+" "+(e.attr("id")||"")}function Et(e){var t=e.links,n=e.articleUrl,r=e.baseUrl,i=e.parsedUrl,o=e.$,a=e.previousUrls,s=void 0===a?[]:a;i=i||Ps.parse(n);var u=Ot(r),l=Ie(o),c=t.reduce(function(e,t){var a=Ue(t);if(!a.href)return e;var c=_e(a.href),f=o(t),h=f.text();if(!St(c,n,r,i,h,s))return e;e[c]?e[c].linkText=e[c].linkText+"|"+h:e[c]={score:0,linkText:h,href:c};var d=e[c],p=Dt(f,h),m=we(c),v=Tt(c,u);return v+=jt(p),v+=Ct(p),v+=kt(p),v+=xt(f),v+=wt(c),v+=bt(m,l),v+=yt(h,m),v+=gt(v,n,c),d.score=v,e},{});return 0===wu(c).length?null:c}function Mt(e){var t=Ps.parse(e),n=t.hostname;return n}function Nt(e){return{url:e,domain:Mt(e)}}function At(e,t,n,r,i){var o=0,a="";if(e.length<t)return e;for(var s=0,u=e.length;s<u;s++)if(a=e.charAt(s),r.indexOf(a)!==-1&&(o=s),!(s<t))return 0===o?i?e.substring(0,t-1)+n:"":e.substring(0,o)+n;return e}function Rt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200;return e=e.replace(/[\s\n]+/g," ").trim(),Nd(e,n,{ellipse:"&hellip;"})}function Lt(e,t){t=t||Ps.parse(e);var n=t,r=n.hostname,i=r.split(".").slice(-2).join(".");return gh[r]||gh[i]||Pd}function Pt(e,t,n){var r=n.clean;return r?(t(r.join(","),e).remove(),e):e}function Yt(e,t,n){var r=n.transforms;return r?(wu(r).forEach(function(n){var i=t(n,e),o=r[n];"string"==typeof o?i.each(function(e,i){V(t(i),t,r[n])}):"function"==typeof o&&i.each(function(e,n){var r=o(t(n),t);"string"==typeof r&&V(t(n),t,r)})}),e):e}function Ft(e,t){return t.find(function(t){if(Array.isArray(t)){var n=$l(t,2),r=n[0],i=n[1];return 1===e(r).length&&e(r).attr(i)&&""!==e(r).attr(i).trim()}return 1===e(t).length&&""!==e(t).text().trim()})}function qt(e){var t=e.$,n=e.type,r=e.extractionOpts,i=e.extractHtml,o=void 0!==i&&i;if(!r)return null;if("string"==typeof r)return r;var a=r.selectors,s=r.defaultCleaner,u=void 0===s||s,l=Ft(t,a);if(!l)return null;if(o){var c=t(l);return c.wrap(t("<div></div>")),c=c.parent(),c=Yt(c,t,r),c=Pt(c,t,r),c=$h[n](c,si({},e,{defaultCleaner:u})),t.html(c)}var f=void 0;if(Array.isArray(l)){var h=$l(l,2),d=h[0],p=h[1];f=t(d).attr(p).trim()}else f=t(l).text().trim();return u?$h[n](f,e):f}function Ht(e){var t=e.type,n=e.extractor,r=e.fallback,i=void 0===r||r,o=qt(si({},e,{extractionOpts:n[t]}));return o?o:i?Pd[t](e):null}var Wt="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},It=r,Ut=i;"function"==typeof Wt.setTimeout&&(It=setTimeout),"function"==typeof Wt.clearTimeout&&(Ut=clearTimeout);var $t,zt=[],Bt=!1,Gt=-1;c.prototype.run=function(){this.fun.apply(null,this.array)};var Vt="browser",Zt="browser",Jt=!0,Xt={},Kt=[],Qt="",en={},tn={},nn={},rn=f,on=f,an=f,sn=f,un=f,ln=f,cn=f,fn=Wt.performance||{},hn=fn.now||fn.mozNow||fn.msNow||fn.oNow||fn.webkitNow||function(){return(new Date).getTime()},dn=new Date,pn={nextTick:l,title:Vt,browser:Jt,env:Xt,argv:Kt,version:Qt,versions:en,on:rn,addListener:on,once:an,off:sn,removeListener:un,removeAllListeners:ln,emit:cn,binding:h,cwd:d,chdir:p,umask:m,hrtime:v,platform:Zt,release:tn,config:nn,uptime:g},mn=n(function(e){!function(t){function n(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),s=new d(r||[]);return a._invoke=c(e,n,s),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function u(e){this.arg=e}function l(e){function t(n,i,o,a){var s=r(e[n],e,i);if("throw"!==s.type){var l=s.arg,c=l.value;return c instanceof u?Promise.resolve(c.arg).then(function(e){t("next",e,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function n(e,n){function r(){return new Promise(function(r,i){t(e,n,r,i)})}return i=i?i.then(r,r):r()}"object"==typeof pn&&pn.domain&&(t=pn.domain.bind(t));var i;this._invoke=n}function c(e,t,n){var i=k;return function(o,a){if(i===T)throw new Error("Generator is already running");if(i===j){if("throw"===o)throw a;return m()}for(;;){var s=n.delegate;if(s){if("return"===o||"throw"===o&&s.iterator[o]===v){n.delegate=null;var u=s.iterator.return;if(u){var l=r(u,s.iterator,a);if("throw"===l.type){o="throw",a=l.arg;continue}}if("return"===o)continue}var l=r(s.iterator[o],s.iterator,a);if("throw"===l.type){n.delegate=null,o="throw",a=l.arg;continue}o="next",a=v;var c=l.arg;if(!c.done)return i=S,c;n[s.resultName]=c.value,n.next=s.nextLoc,n.delegate=null}if("next"===o)n.sent=n._sent=a;else if("throw"===o){if(i===k)throw i=j,a;n.dispatchException(a)&&(o="next",a=v)}else"return"===o&&n.abrupt("return",a);i=T;var l=r(e,t,n);if("normal"===l.type){i=n.done?j:S;var c={value:l.arg,done:n.done};if(l.arg!==C)return c;n.delegate&&"next"===o&&(a=v)}else"throw"===l.type&&(i=j,o="throw",a=l.arg)}}}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function h(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function p(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(g.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=v,t.done=!0,t};return r.next=r}}return{next:m}}function m(){return{value:v,done:!0}}var v,g=Object.prototype.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},b=y.iterator||"@@iterator",w=y.toStringTag||"@@toStringTag",_="object"==typeof e,x=t.regeneratorRuntime;if(x)return void(_&&(e.exports=x));x=t.regeneratorRuntime=_?e.exports:{},x.wrap=n;var k="suspendedStart",S="suspendedYield",T="executing",j="completed",C={},O=a.prototype=i.prototype;o.prototype=O.constructor=a,a.constructor=o,a[w]=o.displayName="GeneratorFunction",x.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},x.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,w in e||(e[w]="GeneratorFunction")),e.prototype=Object.create(O),e},x.awrap=function(e){return new u(e)},s(l.prototype),x.async=function(e,t,r,i){var o=new l(n(e,t,r,i));return x.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},s(O),O[b]=function(){return this},O[w]="Generator",O.toString=function(){return"[object Generator]"},x.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},x.values=p,d.prototype={constructor:d,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.tryEntries.forEach(h),!e)for(var t in this)"t"===t.charAt(0)&&g.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=v)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return o.type="throw",o.arg=e,n.next=t,!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=g.call(i,"catchLoc"),s=g.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?this.next=i.finallyLoc:this.complete(o),C},complete:function(e,t){if("throw"===e.type)throw e.arg;"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=e.arg,this.next="end"):"normal"===e.type&&t&&(this.next=t)},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),h(n),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;h(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:p(e),resultName:t,nextLoc:n},C}}}("object"==typeof Wt?Wt:"object"==typeof window?window:"object"==typeof self?self:this)}),vn="object"==typeof Wt?Wt:"object"==typeof window?window:"object"==typeof self?self:void 0,gn=vn.regeneratorRuntime&&Object.getOwnPropertyNames(vn).indexOf("regeneratorRuntime")>=0,yn=gn&&vn.regeneratorRuntime;vn.regeneratorRuntime=void 0;var bn=mn;if(gn)vn.regeneratorRuntime=yn;else try{delete vn.regeneratorRuntime}catch(e){vn.regeneratorRuntime=void 0}var wn=bn,_n=n(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();
"number"==typeof __g&&(__g=t)}),xn=n(function(e){var t=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=t)}),kn=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},Sn=kn,Tn=function(e,t,n){if(Sn(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},jn=function(e){return"object"==typeof e?null!==e:"function"==typeof e},Cn=jn,On=function(e){if(!Cn(e))throw TypeError(e+" is not an object!");return e},Dn=function(e){try{return!!e()}catch(e){return!0}},En=!Dn(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),Mn=jn,Nn=_n.document,An=Mn(Nn)&&Mn(Nn.createElement),Rn=function(e){return An?Nn.createElement(e):{}},Ln=!En&&!Dn(function(){return 7!=Object.defineProperty(Rn("div"),"a",{get:function(){return 7}}).a}),Pn=jn,Yn=function(e,t){if(!Pn(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!Pn(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!Pn(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!Pn(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},Fn=On,qn=Ln,Hn=Yn,Wn=Object.defineProperty,In=En?Object.defineProperty:function(e,t,n){if(Fn(e),t=Hn(t,!0),Fn(n),qn)try{return Wn(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e},Un={f:In},$n=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},zn=Un,Bn=$n,Gn=En?function(e,t,n){return zn.f(e,t,Bn(1,n))}:function(e,t,n){return e[t]=n,e},Vn=_n,Zn=xn,Jn=Tn,Xn=Gn,Kn="prototype",Qn=function(e,t,n){var r,i,o,a=e&Qn.F,s=e&Qn.G,u=e&Qn.S,l=e&Qn.P,c=e&Qn.B,f=e&Qn.W,h=s?Zn:Zn[t]||(Zn[t]={}),d=h[Kn],p=s?Vn:u?Vn[t]:(Vn[t]||{})[Kn];s&&(n=t);for(r in n)i=!a&&p&&void 0!==p[r],i&&r in h||(o=i?p[r]:n[r],h[r]=s&&"function"!=typeof p[r]?n[r]:c&&i?Jn(o,Vn):f&&p[r]==o?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[Kn]=e[Kn],t}(o):l&&"function"==typeof o?Jn(Function.call,o):o,l&&((h.virtual||(h.virtual={}))[r]=o,e&Qn.R&&d&&!d[r]&&Xn(d,r,o)))};Qn.F=1,Qn.G=2,Qn.S=4,Qn.P=8,Qn.B=16,Qn.W=32,Qn.U=64,Qn.R=128;var er=Qn,tr={}.hasOwnProperty,nr=function(e,t){return tr.call(e,t)},rr={}.toString,ir=function(e){return rr.call(e).slice(8,-1)},or=ir,ar=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==or(e)?e.split(""):Object(e)},sr=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},ur=ar,lr=sr,cr=function(e){return ur(lr(e))},fr=Math.ceil,hr=Math.floor,dr=function(e){return isNaN(e=+e)?0:(e>0?hr:fr)(e)},pr=dr,mr=Math.min,vr=function(e){return e>0?mr(pr(e),9007199254740991):0},gr=dr,yr=Math.max,br=Math.min,wr=function(e,t){return e=gr(e),e<0?yr(e+t,0):br(e,t)},_r=cr,xr=vr,kr=wr,Sr=function(e){return function(t,n,r){var i,o=_r(t),a=xr(o.length),s=kr(r,a);if(e&&n!=n){for(;a>s;)if(i=o[s++],i!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Tr=_n,jr="__core-js_shared__",Cr=Tr[jr]||(Tr[jr]={}),Or=function(e){return Cr[e]||(Cr[e]={})},Dr=0,Er=Math.random(),Mr=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++Dr+Er).toString(36))},Nr=Or("keys"),Ar=Mr,Rr=function(e){return Nr[e]||(Nr[e]=Ar(e))},Lr=nr,Pr=cr,Yr=Sr(!1),Fr=Rr("IE_PROTO"),qr=function(e,t){var n,r=Pr(e),i=0,o=[];for(n in r)n!=Fr&&Lr(r,n)&&o.push(n);for(;t.length>i;)Lr(r,n=t[i++])&&(~Yr(o,n)||o.push(n));return o},Hr="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),Wr=qr,Ir=Hr,Ur=Object.keys||function(e){return Wr(e,Ir)},$r=Object.getOwnPropertySymbols,zr={f:$r},Br={}.propertyIsEnumerable,Gr={f:Br},Vr=sr,Zr=function(e){return Object(Vr(e))},Jr=Ur,Xr=zr,Kr=Gr,Qr=Zr,ei=ar,ti=Object.assign,ni=!ti||Dn(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=ti({},e)[n]||Object.keys(ti({},t)).join("")!=r})?function(e,t){for(var n=Qr(e),r=arguments.length,i=1,o=Xr.f,a=Kr.f;r>i;)for(var s,u=ei(arguments[i++]),l=o?Jr(u).concat(o(u)):Jr(u),c=l.length,f=0;c>f;)a.call(u,s=l[f++])&&(n[s]=u[s]);return n}:ti,ri=er;ri(ri.S+ri.F,"Object",{assign:ni});var ii=xn.Object.assign,oi=n(function(e){e.exports={default:ii,__esModule:!0}}),ai=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=oi,i=n(r);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}}),si=t(ai),ui=dr,li=sr,ci=function(e){return function(t,n){var r,i,o=String(li(t)),a=ui(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a),r<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):(r-55296<<10)+(i-56320)+65536)}},fi=!0,hi=Gn,di={},pi=Un,mi=On,vi=Ur,gi=En?Object.defineProperties:function(e,t){mi(e);for(var n,r=vi(t),i=r.length,o=0;i>o;)pi.f(e,n=r[o++],t[n]);return e},yi=_n.document&&document.documentElement,bi=On,wi=gi,_i=Hr,xi=Rr("IE_PROTO"),ki=function(){},Si="prototype",Ti=function(){var e,t=Rn("iframe"),n=_i.length,r="<",i=">";for(t.style.display="none",yi.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+i+"document.F=Object"+r+"/script"+i),e.close(),Ti=e.F;n--;)delete Ti[Si][_i[n]];return Ti()},ji=Object.create||function(e,t){var n;return null!==e?(ki[Si]=bi(e),n=new ki,ki[Si]=null,n[xi]=e):n=Ti(),void 0===t?n:wi(n,t)},Ci=n(function(e){var t=Or("wks"),n=Mr,r=_n.Symbol,i="function"==typeof r,o=e.exports=function(e){return t[e]||(t[e]=i&&r[e]||(i?r:n)("Symbol."+e))};o.store=t}),Oi=Un.f,Di=nr,Ei=Ci("toStringTag"),Mi=function(e,t,n){e&&!Di(e=n?e:e.prototype,Ei)&&Oi(e,Ei,{configurable:!0,value:t})},Ni=ji,Ai=$n,Ri=Mi,Li={};Gn(Li,Ci("iterator"),function(){return this});var Pi=function(e,t,n){e.prototype=Ni(Li,{next:Ai(1,n)}),Ri(e,t+" Iterator")},Yi=nr,Fi=Zr,qi=Rr("IE_PROTO"),Hi=Object.prototype,Wi=Object.getPrototypeOf||function(e){return e=Fi(e),Yi(e,qi)?e[qi]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Hi:null},Ii=fi,Ui=er,$i=hi,zi=Gn,Bi=nr,Gi=di,Vi=Pi,Zi=Mi,Ji=Wi,Xi=Ci("iterator"),Ki=!([].keys&&"next"in[].keys()),Qi="@@iterator",eo="keys",to="values",no=function(){return this},ro=function(e,t,n,r,i,o,a){Vi(n,t,r);var s,u,l,c=function(e){if(!Ki&&e in p)return p[e];switch(e){case eo:return function(){return new n(this,e)};case to:return function(){return new n(this,e)}}return function(){return new n(this,e)}},f=t+" Iterator",h=i==to,d=!1,p=e.prototype,m=p[Xi]||p[Qi]||i&&p[i],v=m||c(i),g=i?h?c("entries"):v:void 0,y="Array"==t?p.entries||m:m;if(y&&(l=Ji(y.call(new e)),l!==Object.prototype&&(Zi(l,f,!0),Ii||Bi(l,Xi)||zi(l,Xi,no))),h&&m&&m.name!==to&&(d=!0,v=function(){return m.call(this)}),Ii&&!a||!Ki&&!d&&p[Xi]||zi(p,Xi,v),Gi[t]=v,Gi[f]=no,i)if(s={values:h?v:c(to),keys:o?v:c(eo),entries:g},a)for(u in s)u in p||$i(p,u,s[u]);else Ui(Ui.P+Ui.F*(Ki||d),t,s);return s},io=ci(!0);ro(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=io(t,n),this._i+=e.length,{value:e,done:!1})});var oo=function(){},ao=function(e,t){return{value:t,done:!!e}},so=oo,uo=ao,lo=di,co=cr;ro(Array,"Array",function(e,t){this._t=co(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,uo(1)):"keys"==t?uo(0,n):"values"==t?uo(0,e[n]):uo(0,[n,e[n]])},"values");lo.Arguments=lo.Array,so("keys"),so("values"),so("entries");for(var fo=_n,ho=Gn,po=di,mo=Ci("toStringTag"),vo=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],go=0;go<5;go++){var yo=vo[go],bo=fo[yo],wo=bo&&bo.prototype;wo&&!wo[mo]&&ho(wo,mo,yo),po[yo]=po.Array}var _o,xo,ko,So=ir,To=Ci("toStringTag"),jo="Arguments"==So(function(){return arguments}()),Co=function(e,t){try{return e[t]}catch(e){}},Oo=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=Co(t=Object(e),To))?n:jo?So(t):"Object"==(r=So(t))&&"function"==typeof t.callee?"Arguments":r},Do=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},Eo=On,Mo=function(e,t,n,r){try{return r?t(Eo(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&Eo(i.call(e)),t}},No=di,Ao=Ci("iterator"),Ro=Array.prototype,Lo=function(e){return void 0!==e&&(No.Array===e||Ro[Ao]===e)},Po=Oo,Yo=Ci("iterator"),Fo=di,qo=xn.getIteratorMethod=function(e){if(void 0!=e)return e[Yo]||e["@@iterator"]||Fo[Po(e)]},Ho=n(function(e){var t=Tn,n=Mo,r=Lo,i=On,o=vr,a=qo,s={},u={},l=e.exports=function(e,l,c,f,h){var d,p,m,v,g=h?function(){return e}:a(e),y=t(c,f,l?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(r(g)){for(d=o(e.length);d>b;b++)if(v=l?y(i(p=e[b])[0],p[1]):y(e[b]),v===s||v===u)return v}else for(m=g.call(e);!(p=m.next()).done;)if(v=n(m,y,p.value,l),v===s||v===u)return v};l.BREAK=s,l.RETURN=u}),Wo=On,Io=kn,Uo=Ci("species"),$o=function(e,t){var n,r=Wo(e).constructor;return void 0===r||void 0==(n=Wo(r)[Uo])?t:Io(n)},zo=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)},Bo=Tn,Go=zo,Vo=yi,Zo=Rn,Jo=_n,Xo=Jo.process,Ko=Jo.setImmediate,Qo=Jo.clearImmediate,ea=Jo.MessageChannel,ta=0,na={},ra="onreadystatechange",ia=function(){var e=+this;if(na.hasOwnProperty(e)){var t=na[e];delete na[e],t()}},oa=function(e){ia.call(e.data)};Ko&&Qo||(Ko=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return na[++ta]=function(){Go("function"==typeof e?e:Function(e),t)},_o(ta),ta},Qo=function(e){delete na[e]},"process"==ir(Xo)?_o=function(e){Xo.nextTick(Bo(ia,e,1))}:ea?(xo=new ea,ko=xo.port2,xo.port1.onmessage=oa,_o=Bo(ko.postMessage,ko,1)):Jo.addEventListener&&"function"==typeof postMessage&&!Jo.importScripts?(_o=function(e){Jo.postMessage(e+"","*")},Jo.addEventListener("message",oa,!1)):_o=ra in Zo("script")?function(e){Vo.appendChild(Zo("script"))[ra]=function(){Vo.removeChild(this),ia.call(e)}}:function(e){setTimeout(Bo(ia,e,1),0)});var aa={set:Ko,clear:Qo},sa=_n,ua=aa.set,la=sa.MutationObserver||sa.WebKitMutationObserver,ca=sa.process,fa=sa.Promise,ha="process"==ir(ca),da=function(){var e,t,n,r=function(){var r,i;for(ha&&(r=ca.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(ha)n=function(){ca.nextTick(r)};else if(la){var i=!0,o=document.createTextNode("");new la(r).observe(o,{characterData:!0}),n=function(){o.data=i=!i}}else if(fa&&fa.resolve){var a=fa.resolve();n=function(){a.then(r)}}else n=function(){ua.call(sa,r)};return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}},pa=Gn,ma=function(e,t,n){for(var r in t)n&&e[r]?e[r]=t[r]:pa(e,r,t[r]);return e},va=_n,ga=xn,ya=Un,ba=En,wa=Ci("species"),_a=function(e){var t="function"==typeof ga[e]?ga[e]:va[e];ba&&t&&!t[wa]&&ya.f(t,wa,{configurable:!0,get:function(){return this}})},xa=Ci("iterator"),ka=!1;try{var Sa=[7][xa]();Sa.return=function(){ka=!0},Array.from(Sa,function(){throw 2})}catch(e){}var Ta,ja,Ca,Oa=function(e,t){if(!t&&!ka)return!1;var n=!1;try{var r=[7],i=r[xa]();i.next=function(){return{done:n=!0}},r[xa]=function(){return i},e(r)}catch(e){}return n},Da=fi,Ea=_n,Ma=Tn,Na=Oo,Aa=er,Ra=jn,La=kn,Pa=Do,Ya=Ho,Fa=$o,qa=aa.set,Ha=da(),Wa="Promise",Ia=Ea.TypeError,Ua=Ea.process,$a=Ea[Wa],Ua=Ea.process,za="process"==Na(Ua),Ba=function(){},Ga=!!function(){try{var e=$a.resolve(1),t=(e.constructor={})[Ci("species")]=function(e){e(Ba,Ba)};return(za||"function"==typeof PromiseRejectionEvent)&&e.then(Ba)instanceof t}catch(e){}}(),Va=function(e,t){return e===t||e===$a&&t===Ca},Za=function(e){var t;return!(!Ra(e)||"function"!=typeof(t=e.then))&&t},Ja=function(e){return Va($a,e)?new Xa(e):new ja(e)},Xa=ja=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw Ia("Bad Promise constructor");t=e,n=r}),this.resolve=La(t),this.reject=La(n)},Ka=function(e){try{e()}catch(e){return{error:e}}},Qa=function(e,t){if(!e._n){e._n=!0;var n=e._c;Ha(function(){for(var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a=i?t.ok:t.fail,s=t.resolve,u=t.reject,l=t.domain;try{a?(i||(2==e._h&&ns(e),e._h=1),a===!0?n=r:(l&&l.enter(),n=a(r),l&&l.exit()),n===t.promise?u(Ia("Promise-chain cycle")):(o=Za(n))?o.call(n,s,u):s(n)):u(r)}catch(e){u(e)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&es(e)})}},es=function(e){qa.call(Ea,function(){var t,n,r,i=e._v;if(ts(e)&&(t=Ka(function(){za?Ua.emit("unhandledRejection",i,e):(n=Ea.onunhandledrejection)?n({promise:e,reason:i}):(r=Ea.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=za||ts(e)?2:1),e._a=void 0,t)throw t.error})},ts=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if(t=n[r++],t.fail||!ts(t.promise))return!1;return!0},ns=function(e){qa.call(Ea,function(){var t;za?Ua.emit("rejectionHandled",e):(t=Ea.onrejectionhandled)&&t({promise:e,reason:e._v})})},rs=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),Qa(t,!0))},is=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw Ia("Promise can't be resolved itself");(t=Za(e))?Ha(function(){var r={_w:n,_d:!1};try{t.call(e,Ma(is,r,1),Ma(rs,r,1))}catch(e){rs.call(r,e)}}):(n._v=e,n._s=1,Qa(n,!1))}catch(e){rs.call({_w:n,_d:!1},e)}}};Ga||($a=function(e){Pa(this,$a,Wa,"_h"),La(e),Ta.call(this);try{e(Ma(is,this,1),Ma(rs,this,1))}catch(e){rs.call(this,e)}},Ta=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},Ta.prototype=ma($a.prototype,{then:function(e,t){var n=Ja(Fa(this,$a));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=za?Ua.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&Qa(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),Xa=function(){var e=new Ta;this.promise=e,this.resolve=Ma(is,e,1),this.reject=Ma(rs,e,1)}),Aa(Aa.G+Aa.W+Aa.F*!Ga,{Promise:$a}),Mi($a,Wa),_a(Wa),Ca=xn[Wa],Aa(Aa.S+Aa.F*!Ga,Wa,{reject:function(e){var t=Ja(this),n=t.reject;return n(e),t.promise}}),Aa(Aa.S+Aa.F*(Da||!Ga),Wa,{resolve:function(e){if(e instanceof $a&&Va(e.constructor,this))return e;var t=Ja(this),n=t.resolve;return n(e),t.promise}}),Aa(Aa.S+Aa.F*!(Ga&&Oa(function(e){$a.all(e).catch(Ba)})),Wa,{all:function(e){var t=this,n=Ja(t),r=n.resolve,i=n.reject,o=Ka(function(){var n=[],o=0,a=1;Ya(e,!1,function(e){var s=o++,u=!1;n.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--a||r(n))},i)}),--a||r(n)});return o&&i(o.error),n.promise},race:function(e){var t=this,n=Ja(t),r=n.reject,i=Ka(function(){Ya(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i&&r(i.error),n.promise}});var os=xn.Promise,as=n(function(e){e.exports={default:os,__esModule:!0}}),ss=t(as),us=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=as,i=n(r);t.default=function(e){return function(){var t=e.apply(this,arguments);return new i.default(function(e,n){function r(o,a){try{var s=t[o](a),u=s.value}catch(e){return void n(e)}return s.done?void e(u):i.default.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)})}return r("next")})}}}),ls=t(us),cs={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}},fs=function(e,t,n,r){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var o=/\+/g;e=e.split(t);var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.maxKeys);var s=e.length;a>0&&s>a&&(s=a);for(var u=0;u<s;++u){var l,c,f,h,d=e[u].replace(o,"%20"),p=d.indexOf(n);p>=0?(l=d.substr(0,p),c=d.substr(p+1)):(l=d,c=""),f=decodeURIComponent(l),h=decodeURIComponent(c),y(i,f)?Array.isArray(i[f])?i[f].push(h):i[f]=[i[f],h]:i[f]=h}return i},hs=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},ds=function(e,t,n,r){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map(function(r){var i=encodeURIComponent(hs(r))+n;return Array.isArray(e[r])?e[r].map(function(e){return i+encodeURIComponent(hs(e))}).join(t):i+encodeURIComponent(hs(e[r]))}).join(t):r?encodeURIComponent(hs(r))+n+encodeURIComponent(hs(e)):""},ps=n(function(e,t){t.decode=t.parse=fs,t.encode=t.stringify=ds}),ms=cs,vs=w,gs=x,ys=k,bs=_,ws=b,_s=/^([a-z0-9.+-]+:)/i,xs=/:[0-9]*$/,ks=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ss=["<",">",'"',"`"," ","\r","\n","\t"],Ts=["{","}","|","\\","^","`"].concat(Ss),js=["'"].concat(Ts),Cs=["%","/","?",";","#"].concat(js),Os=["/","?","#"],Ds=255,Es=/^[+a-z0-9A-Z_-]{0,63}$/,Ms=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ns={javascript:!0,"javascript:":!0},As={javascript:!0,"javascript:":!0},Rs={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Ls=ps;b.prototype.parse=function(e,t,n){if(!ms.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=r!==-1&&r<e.indexOf("#")?"?":"#",o=e.split(i),a=/\\/g;o[0]=o[0].replace(a,"/"),e=o.join(i);var s=e;if(s=s.trim(),!n&&1===e.split("#").length){var u=ks.exec(s);if(u)return this.path=s,this.href=s,this.pathname=u[1],u[2]?(this.search=u[2],t?this.query=Ls.parse(this.search.substr(1)):this.query=this.search.substr(1)):t&&(this.search="",this.query={}),this}var l=_s.exec(s);if(l){l=l[0];var c=l.toLowerCase();this.protocol=c,s=s.substr(l.length)}if(n||l||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var f="//"===s.substr(0,2);!f||l&&As[l]||(s=s.substr(2),this.slashes=!0)}if(!As[l]&&(f||l&&!Rs[l])){for(var h=-1,d=0;d<Os.length;d++){var p=s.indexOf(Os[d]);p!==-1&&(h===-1||p<h)&&(h=p)}var m,v;v=h===-1?s.lastIndexOf("@"):s.lastIndexOf("@",h),v!==-1&&(m=s.slice(0,v),s=s.slice(v+1),this.auth=decodeURIComponent(m)),h=-1;for(var d=0;d<Cs.length;d++){var p=s.indexOf(Cs[d]);p!==-1&&(h===-1||p<h)&&(h=p)}h===-1&&(h=s.length),this.host=s.slice(0,h),s=s.slice(h),this.parseHost(),this.hostname=this.hostname||"";var g="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!g)for(var y=this.hostname.split(/\./),d=0,b=y.length;d<b;d++){var w=y[d];if(w&&!w.match(Es)){for(var _="",x=0,k=w.length;x<k;x++)_+=w.charCodeAt(x)>127?"x":w[x];if(!_.match(Es)){var S=y.slice(0,d),T=y.slice(d+1),j=w.match(Ms);j&&(S.push(j[1]),T.unshift(j[2])),T.length&&(s="/"+T.join(".")+s),this.hostname=S.join(".");break}}}this.hostname.length>Ds?this.hostname="":this.hostname=this.hostname.toLowerCase();var C=this.port?":"+this.port:"",O=this.hostname||"";this.host=O+C,this.href+=this.host,g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!Ns[c])for(var d=0,b=js.length;d<b;d++){var D=js[d];if(s.indexOf(D)!==-1){var E=encodeURIComponent(D);E===D&&(E=escape(D)),s=s.split(D).join(E)}}var M=s.indexOf("#");M!==-1&&(this.hash=s.substr(M),s=s.slice(0,M));var N=s.indexOf("?");if(N!==-1?(this.search=s.substr(N),this.query=s.substr(N+1),t&&(this.query=Ls.parse(this.query)),s=s.slice(0,N)):t&&(this.search="",this.query={}),s&&(this.pathname=s),Rs[c]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var C=this.pathname||"",A=this.search||"";this.path=C+A}return this.href=this.format(),this},b.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&ms.isObject(this.query)&&Object.keys(this.query).length&&(o=Ls.stringify(this.query));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||Rs[t])&&i!==!1?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),a=a.replace("#","%23"),t+i+n+a+r},b.prototype.resolve=function(e){return this.resolveObject(w(e,!1,!0)).format()},b.prototype.resolveObject=function(e){if(ms.isString(e)){var t=new b;t.parse(e,!1,!0),e=t}for(var n=new b,r=Object.keys(this),i=0;i<r.length;i++){var o=r[i];n[o]=this[o]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),s=0;s<a.length;s++){var u=a[s];"protocol"!==u&&(n[u]=e[u])}return Rs[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!Rs[e.protocol]){for(var l=Object.keys(e),c=0;c<l.length;c++){var f=l[c];n[f]=e[f]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||As[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var d=n.pathname||"",p=n.search||"";n.path=d+p}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var m=n.pathname&&"/"===n.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),g=v||m||n.host&&e.pathname,y=g,w=n.pathname&&n.pathname.split("/")||[],h=e.pathname&&e.pathname.split("/")||[],_=n.protocol&&!Rs[n.protocol];if(_&&(n.hostname="",n.port=null,n.host&&(""===w[0]?w[0]=n.host:w.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),g=g&&(""===h[0]||""===w[0])),v)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,w=h;else if(h.length)w||(w=[]),w.pop(),w=w.concat(h),n.search=e.search,n.query=e.query;else if(!ms.isNullOrUndefined(e.search)){if(_){n.hostname=n.host=w.shift();var x=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");x&&(n.auth=x.shift(),n.host=n.hostname=x.shift())}return n.search=e.search,n.query=e.query,ms.isNull(n.pathname)&&ms.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!w.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var k=w.slice(-1)[0],S=(n.host||e.host||w.length>1)&&("."===k||".."===k)||""===k,T=0,j=w.length;j>=0;j--)k=w[j],"."===k?w.splice(j,1):".."===k?(w.splice(j,1),T++):T&&(w.splice(j,1),T--);if(!g&&!y)for(;T--;T)w.unshift("..");!g||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),S&&"/"!==w.join("/").substr(-1)&&w.push("");var C=""===w[0]||w[0]&&"/"===w[0].charAt(0);if(_){n.hostname=n.host=C?"":w.length?w.shift():"";var x=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");x&&(n.auth=x.shift(),n.host=n.hostname=x.shift())}return g=g||n.host&&w.length,g&&!C&&w.unshift(""),w.length?n.pathname=w.join("/"):(n.pathname=null,n.path=null),ms.isNull(n.pathname)&&ms.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},b.prototype.parseHost=function(){var e=this.host,t=xs.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var Ps={parse:vs,resolve:gs,resolveObject:ys,format:bs,Url:ws},Ys=n(function(e){!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(e,t){function n(e,t){t=t||te;var n=t.createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function r(e){var t=!!e&&"length"in e&&e.length,n=pe.type(e);return"function"!==n&&!pe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e,t,n){return pe.isFunction(t)?pe.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?pe.grep(e,function(e){return e===t!==n}):"string"!=typeof t?pe.grep(e,function(e){return ae.call(t,e)>-1!==n}):Se.test(t)?pe.filter(t,e,n):(t=pe.filter(t,e),pe.grep(e,function(e){return ae.call(t,e)>-1!==n&&1===e.nodeType}))}function o(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function a(e){var t={};return pe.each(e.match(Ee)||[],function(e,n){t[n]=!0}),t}function s(e){return e}function u(e){throw e}function l(e,t,n){var r;try{e&&pe.isFunction(r=e.promise)?r.call(e).done(t).fail(n):e&&pe.isFunction(r=e.then)?r.call(e,t,n):t.call(void 0,e)}catch(e){n.call(void 0,e)}}function c(){te.removeEventListener("DOMContentLoaded",c),e.removeEventListener("load",c),pe.ready()}function f(){this.expando=pe.expando+f.uid++}function h(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Ye.test(e)?JSON.parse(e):e)}function d(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Fe,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n=h(n)}catch(e){}Pe.set(e,t,n)}else n=void 0;return n}function p(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return pe.css(e,t,"")},u=s(),l=n&&n[3]||(pe.cssNumber[t]?"":"px"),c=(pe.cssNumber[t]||"px"!==l&&+u)&&He.exec(pe.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do o=o||".5",c/=o,pe.style(e,t,c+l);while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function m(e){var t,n=e.ownerDocument,r=e.nodeName,i=$e[r];return i?i:(t=n.body.appendChild(n.createElement(r)),i=pe.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),$e[r]=i,i)}function v(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)r=e[o],r.style&&(n=r.style.display,t?("none"===n&&(i[o]=Le.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Ie(r)&&(i[o]=m(r))):"none"!==n&&(i[o]="none",Le.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function g(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&pe.nodeName(e,t)?pe.merge([e],n):n}function y(e,t){for(var n=0,r=e.length;n<r;n++)Le.set(e[n],"globalEval",!t||Le.get(t[n],"globalEval"))}function b(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),h=[],d=0,p=e.length;d<p;d++)if(o=e[d],o||0===o)if("object"===pe.type(o))pe.merge(h,o.nodeType?[o]:o);else if(Ze.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(Be.exec(o)||["",""])[1].toLowerCase(),u=Ve[s]||Ve._default,a.innerHTML=u[1]+pe.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;pe.merge(h,a.childNodes),a=f.firstChild,a.textContent=""}else h.push(t.createTextNode(o));for(f.textContent="",d=0;o=h[d++];)if(r&&pe.inArray(o,r)>-1)i&&i.push(o);else if(l=pe.contains(o.ownerDocument,o),a=g(f.appendChild(o),"script"),l&&y(a),n)for(c=0;o=a[c++];)Ge.test(o.type||"")&&n.push(o);return f}function w(){return!0}function _(){return!1}function x(){try{return te.activeElement}catch(e){}}function k(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)k(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=_;else if(!i)return e;return 1===o&&(a=i,i=function(e){return pe().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=pe.guid++)),e.each(function(){pe.event.add(this,t,i,r,n)})}function S(e,t){return pe.nodeName(e,"table")&&pe.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e:e}function T(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function j(e){var t=rt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function C(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Le.hasData(e)&&(o=Le.access(e),a=Le.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)pe.event.add(t,i,l[i][n])}Pe.hasData(e)&&(s=Pe.access(e),u=pe.extend({},s),Pe.set(t,u))}}function O(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ze.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function D(e,t,r,i){t=ie.apply([],t);var o,a,s,u,l,c,f=0,h=e.length,d=h-1,p=t[0],m=pe.isFunction(p);if(m||h>1&&"string"==typeof p&&!he.checkClone&&nt.test(p))return e.each(function(n){var o=e.eq(n);m&&(t[0]=p.call(this,n,o.html())),D(o,t,r,i)});if(h&&(o=b(t,e[0].ownerDocument,!1,e,i),a=o.firstChild,1===o.childNodes.length&&(o=a),a||i)){for(s=pe.map(g(o,"script"),T),u=s.length;f<h;f++)l=o,f!==d&&(l=pe.clone(l,!0,!0),u&&pe.merge(s,g(l,"script"))),r.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,pe.map(s,j),f=0;f<u;f++)l=s[f],Ge.test(l.type||"")&&!Le.access(l,"globalEval")&&pe.contains(c,l)&&(l.src?pe._evalUrl&&pe._evalUrl(l.src):n(l.textContent.replace(it,""),c))}return e}function E(e,t,n){for(var r,i=t?pe.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||pe.cleanData(g(r)),r.parentNode&&(n&&pe.contains(r.ownerDocument,r)&&y(g(r,"script")),r.parentNode.removeChild(r));return e}function M(e,t,n){var r,i,o,a,s=e.style;return n=n||st(e),n&&(a=n.getPropertyValue(t)||n[t],""!==a||pe.contains(e.ownerDocument,e)||(a=pe.style(e,t)),!he.pixelMarginRight()&&at.test(a)&&ot.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function N(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function A(e){if(e in ht)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=ft.length;n--;)if(e=ft[n]+t,e in ht)return e}function R(e,t,n){var r=He.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function L(e,t,n,r,i){var o,a=0;for(o=n===(r?"border":"content")?4:"width"===t?1:0;o<4;o+=2)"margin"===n&&(a+=pe.css(e,n+We[o],!0,i)),r?("content"===n&&(a-=pe.css(e,"padding"+We[o],!0,i)),"margin"!==n&&(a-=pe.css(e,"border"+We[o]+"Width",!0,i))):(a+=pe.css(e,"padding"+We[o],!0,i),"padding"!==n&&(a+=pe.css(e,"border"+We[o]+"Width",!0,i)));return a}function P(e,t,n){var r,i=!0,o=st(e),a="border-box"===pe.css(e,"boxSizing",!1,o);if(e.getClientRects().length&&(r=e.getBoundingClientRect()[t]),r<=0||null==r){if(r=M(e,t,o),(r<0||null==r)&&(r=e.style[t]),at.test(r))return r;i=a&&(he.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+L(e,t,n||(a?"border":"content"),i,o)+"px"}function Y(e,t,n,r,i){return new Y.prototype.init(e,t,n,r,i)}function F(){pt&&(e.requestAnimationFrame(F),pe.fx.tick())}function q(){return e.setTimeout(function(){dt=void 0}),dt=pe.now()}function H(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)n=We[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function W(e,t,n){for(var r,i=($.tweeners[t]||[]).concat($.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function I(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,h=this,d={},p=e.style,m=e.nodeType&&Ie(e),g=Le.get(e,"fxshow");n.queue||(a=pe._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,pe.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(i=t[r],mt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;m=!0}d[r]=g&&g[r]||pe.style(e,r)}if(u=!pe.isEmptyObject(t),u||!pe.isEmptyObject(d)){f&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],
l=g&&g.display,null==l&&(l=Le.get(e,"display")),c=pe.css(e,"display"),"none"===c&&(l?c=l:(v([e],!0),l=e.style.display||l,c=pe.css(e,"display"),v([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===pe.css(e,"float")&&(u||(h.done(function(){p.display=l}),null==l&&(c=p.display,l="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),u=!1;for(r in d)u||(g?"hidden"in g&&(m=g.hidden):g=Le.access(e,"fxshow",{display:l}),o&&(g.hidden=!m),m&&v([e],!0),h.done(function(){m||v([e]),Le.remove(e,"fxshow");for(r in d)pe.style(e,r,d[r])})),u=W(m?g[r]:0,r,h),r in g||(g[r]=u.start,m&&(u.end=u.start,u.start=0))}}function U(e,t){var n,r,i,o,a;for(n in e)if(r=pe.camelCase(n),i=t[r],o=e[n],pe.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=pe.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function $(e,t,n){var r,i,o=0,a=$.prefilters.length,s=pe.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=dt||q(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),o<1&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:pe.extend({},t),opts:pe.extend(!0,{specialEasing:{},easing:pe.easing._default},n),originalProperties:t,originalOptions:n,startTime:dt||q(),duration:n.duration,tweens:[],createTween:function(t,n){var r=pe.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(U(c,l.opts.specialEasing);o<a;o++)if(r=$.prefilters[o].call(l,e,c,l.opts))return pe.isFunction(r.stop)&&(pe._queueHooks(l.elem,l.opts.queue).stop=pe.proxy(r.stop,r)),r;return pe.map(c,W,l),pe.isFunction(l.opts.start)&&l.opts.start.call(e,l),pe.fx.timer(pe.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function z(e){var t=e.match(Ee)||[];return t.join(" ")}function B(e){return e.getAttribute&&e.getAttribute("class")||""}function G(e,t,n,r){var i;if(pe.isArray(t))pe.each(t,function(t,i){n||jt.test(e)?r(e,i):G(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==pe.type(t))r(e,t);else for(i in t)G(e+"["+i+"]",t[i],n,r)}function V(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Ee)||[];if(pe.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Z(e,t,n,r){function i(s){var u;return o[s]=!0,pe.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===Ft;return i(t.dataTypes[0])||!o["*"]&&i("*")}function J(e,t){var n,r,i=pe.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&pe.extend(!0,e,r),e}function X(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function K(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(a=l[u+" "+o]||l["* "+o],!a)for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){a===!0?a=l[i]:l[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function Q(e){return pe.isWindow(e)?e:9===e.nodeType&&e.defaultView}var ee=[],te=e.document,ne=Object.getPrototypeOf,re=ee.slice,ie=ee.concat,oe=ee.push,ae=ee.indexOf,se={},ue=se.toString,le=se.hasOwnProperty,ce=le.toString,fe=ce.call(Object),he={},de="3.1.1",pe=function(e,t){return new pe.fn.init(e,t)},me=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ve=/^-ms-/,ge=/-([a-z])/g,ye=function(e,t){return t.toUpperCase()};pe.fn=pe.prototype={jquery:de,constructor:pe,length:0,toArray:function(){return re.call(this)},get:function(e){return null==e?re.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=pe.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return pe.each(this,e)},map:function(e){return this.pushStack(pe.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(re.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:oe,sort:ee.sort,splice:ee.splice},pe.extend=pe.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||pe.isFunction(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],r=e[t],a!==r&&(l&&r&&(pe.isPlainObject(r)||(i=pe.isArray(r)))?(i?(i=!1,o=n&&pe.isArray(n)?n:[]):o=n&&pe.isPlainObject(n)?n:{},a[t]=pe.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},pe.extend({expando:"jQuery"+(de+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===pe.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=pe.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==ue.call(e))&&(!(t=ne(e))||(n=le.call(t,"constructor")&&t.constructor,"function"==typeof n&&ce.call(n)===fe))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?se[ue.call(e)]||"object":typeof e},globalEval:function(e){n(e)},camelCase:function(e){return e.replace(ve,"ms-").replace(ge,ye)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,i=0;if(r(e))for(n=e.length;i<n&&t.call(e[i],i,e[i])!==!1;i++);else for(i in e)if(t.call(e[i],i,e[i])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(me,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(r(Object(e))?pe.merge(n,"string"==typeof e?[e]:e):oe.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:ae.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)r=!t(e[o],o),r!==s&&i.push(e[o]);return i},map:function(e,t,n){var i,o,a=0,s=[];if(r(e))for(i=e.length;a<i;a++)o=t(e[a],a,n),null!=o&&s.push(o);else for(a in e)o=t(e[a],a,n),null!=o&&s.push(o);return ie.apply([],s)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),pe.isFunction(e))return r=re.call(arguments,2),i=function(){return e.apply(t||this,r.concat(re.call(arguments)))},i.guid=e.guid=e.guid||pe.guid++,i},now:Date.now,support:he}),"function"==typeof Symbol&&(pe.fn[Symbol.iterator]=ee[Symbol.iterator]),pe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){se["[object "+t+"]"]=t.toLowerCase()});var be=function(e){function t(e,t,n,r){var i,o,a,s,u,l,c,h=t&&t.ownerDocument,p=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==p&&9!==p&&11!==p)return n;if(!r&&((t?t.ownerDocument||t:W)!==A&&N(t),t=t||A,L)){if(11!==p&&(u=ge.exec(e)))if(i=u[1]){if(9===p){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(h&&(a=h.getElementById(i))&&q(t,a)&&a.id===i)return n.push(a),n}else{if(u[2])return K.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&x.getElementsByClassName&&t.getElementsByClassName)return K.apply(n,t.getElementsByClassName(i)),n}if(x.qsa&&!B[e+" "]&&(!P||!P.test(e))){if(1!==p)h=t,c=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(_e,xe):t.setAttribute("id",s=H),l=j(e),o=l.length;o--;)l[o]="#"+s+" "+d(l[o]);c=l.join(","),h=ye.test(e)&&f(t.parentNode)||t}if(c)try{return K.apply(n,h.querySelectorAll(c)),n}catch(e){}finally{s===H&&t.removeAttribute("id")}}}return O(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>k.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[H]=!0,e}function i(e){var t=A.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)k.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Se(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function f(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function h(){}function d(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=U++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,h=[I,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(f=t[H]||(t[H]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===I&&l[1]===s)return h[2]=l[2];if(c[o]=h,h[2]=e(t,n,u))return!0}return!1}}function m(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function v(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}function g(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function y(e,t,n,i,o,a){return i&&!i[H]&&(i=y(i)),o&&!o[H]&&(o=y(o,a)),r(function(r,a,s,u){var l,c,f,h=[],d=[],p=a.length,m=r||v(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?m:g(m,h,e,s,u),b=n?o||(r?e:p||i)?[]:a:y;if(n&&n(y,b,s,u),i)for(l=g(b,d),i(l,[],s,u),c=l.length;c--;)(f=l[c])&&(b[d[c]]=!(y[d[c]]=f));if(r){if(o||e){if(o){for(l=[],c=b.length;c--;)(f=b[c])&&l.push(y[c]=f);o(null,b=[],l,u)}for(c=b.length;c--;)(f=b[c])&&(l=o?ee(r,f):h[c])>-1&&(r[l]=!(a[l]=f))}}else b=g(b===a?b.splice(p,b.length):b),o?o(null,a,b,u):K.apply(a,b)})}function b(e){for(var t,n,r,i=e.length,o=k.relative[e[0].type],a=o||k.relative[" "],s=o?1:0,u=p(function(e){return e===t},a,!0),l=p(function(e){return ee(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==D)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s<i;s++)if(n=k.relative[e[s].type])c=[p(m(c),n)];else{if(n=k.filter[e[s].type].apply(null,e[s].matches),n[H]){for(r=++s;r<i&&!k.relative[e[r].type];r++);return y(s>1&&m(c),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<r&&b(e.slice(s,r)),r<i&&b(e=e.slice(r)),r<i&&d(e))}c.push(n)}return m(c)}function w(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var c,f,h,d=0,p="0",m=r&&[],v=[],y=D,b=r||o&&k.find.TAG("*",l),w=I+=null==y?1:Math.random()||.1,_=b.length;for(l&&(D=a===A||a||l);p!==_&&null!=(c=b[p]);p++){if(o&&c){for(f=0,a||c.ownerDocument===A||(N(c),s=!L);h=e[f++];)if(h(c,a||A,s)){u.push(c);break}l&&(I=w)}i&&((c=!h&&c)&&d--,r&&m.push(c))}if(d+=p,i&&p!==d){for(f=0;h=n[f++];)h(m,v,a,s);if(r){if(d>0)for(;p--;)m[p]||v[p]||(v[p]=J.call(u));v=g(v)}K.apply(u,v),l&&!r&&v.length>0&&d+n.length>1&&t.uniqueSort(u)}return l&&(I=w,D=y),m};return i?r(a):a}var _,x,k,S,T,j,C,O,D,E,M,N,A,R,L,P,Y,F,q,H="sizzle"+1*new Date,W=e.document,I=0,U=0,$=n(),z=n(),B=n(),G=function(e,t){return e===t&&(M=!0),0},V={}.hasOwnProperty,Z=[],J=Z.pop,X=Z.push,K=Z.push,Q=Z.slice,ee=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ie="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",oe=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),le=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),fe=new RegExp(oe),he=new RegExp("^"+re+"$"),de={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},_e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,xe=function(e,t){return t?"\0"===e?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ke=function(){N()},Se=p(function(e){return e.disabled===!0&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{K.apply(Z=Q.call(W.childNodes),W.childNodes),Z[W.childNodes.length].nodeType}catch(e){K={apply:Z.length?function(e,t){X.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}x=t.support={},T=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},N=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:W;return r!==A&&9===r.nodeType&&r.documentElement?(A=r,R=A.documentElement,L=!T(A),W!==A&&(n=A.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ke,!1):n.attachEvent&&n.attachEvent("onunload",ke)),x.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=i(function(e){return e.appendChild(A.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=ve.test(A.getElementsByClassName),x.getById=i(function(e){return R.appendChild(e).id=H,!A.getElementsByName||!A.getElementsByName(H).length}),x.getById?(k.filter.ID=function(e){var t=e.replace(be,we);return function(e){return e.getAttribute("id")===t}},k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&L){var n=t.getElementById(e);return n?[n]:[]}}):(k.filter.ID=function(e){var t=e.replace(be,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&L){var n,r,i,o=t.getElementById(e);if(o){if(n=o.getAttributeNode("id"),n&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if(n=o.getAttributeNode("id"),n&&n.value===e)return[o]}return[]}}),k.find.TAG=x.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},k.find.CLASS=x.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&L)return t.getElementsByClassName(e)},Y=[],P=[],(x.qsa=ve.test(A.querySelectorAll))&&(i(function(e){R.appendChild(e).innerHTML="<a id='"+H+"'></a><select id='"+H+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&P.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||P.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+H+"-]").length||P.push("~="),e.querySelectorAll(":checked").length||P.push(":checked"),e.querySelectorAll("a#"+H+"+*").length||P.push(".#.+[+~]")}),i(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=A.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&P.push("name"+ne+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&P.push(":enabled",":disabled"),R.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&P.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),P.push(",.*:")})),(x.matchesSelector=ve.test(F=R.matches||R.webkitMatchesSelector||R.mozMatchesSelector||R.oMatchesSelector||R.msMatchesSelector))&&i(function(e){x.disconnectedMatch=F.call(e,"*"),F.call(e,"[s!='']:x"),Y.push("!=",oe)}),P=P.length&&new RegExp(P.join("|")),Y=Y.length&&new RegExp(Y.join("|")),t=ve.test(R.compareDocumentPosition),q=t||ve.test(R.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return M=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!x.sortDetached&&t.compareDocumentPosition(e)===n?e===A||e.ownerDocument===W&&q(W,e)?-1:t===A||t.ownerDocument===W&&q(W,t)?1:E?ee(E,e)-ee(E,t):0:4&n?-1:1)}:function(e,t){if(e===t)return M=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===A?-1:t===A?1:i?-1:o?1:E?ee(E,e)-ee(E,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===W?-1:u[r]===W?1:0},A):A},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==A&&N(e),n=n.replace(ce,"='$1']"),x.matchesSelector&&L&&!B[n+" "]&&(!Y||!Y.test(n))&&(!P||!P.test(n)))try{var r=F.call(e,n);if(r||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,A,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==A&&N(e),q(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==A&&N(e);var n=k.attrHandle[t.toLowerCase()],r=n&&V.call(k.attrHandle,t.toLowerCase())?n(e,t,!L):void 0;return void 0!==r?r:x.attributes||!L?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(_e,xe)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(M=!x.detectDuplicates,E=!x.sortStable&&e.slice(0),e.sort(G),M){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return E=null,e},S=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=S(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=S(t);return n},k=t.selectors={cacheLength:50,createPseudo:r,match:de,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,we),e[3]=(e[3]||e[4]||e[5]||"").replace(be,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return de.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&fe.test(n)&&(t=j(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ae," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,h,d,p,m=o!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(v){if(o){for(;m;){for(h=t;h=h[m];)if(s?h.nodeName.toLowerCase()===g:1===h.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&y){for(h=v,f=h[H]||(h[H]={}),c=f[h.uniqueID]||(f[h.uniqueID]={}),l=c[e]||[],d=l[0]===I&&l[1],b=d&&l[2],h=d&&v.childNodes[d];h=++d&&h&&h[m]||(b=d=0)||p.pop();)if(1===h.nodeType&&++b&&h===t){c[e]=[I,d,b];break}}else if(y&&(h=t,f=h[H]||(h[H]={}),c=f[h.uniqueID]||(f[h.uniqueID]={}),l=c[e]||[],d=l[0]===I&&l[1],b=d),b===!1)for(;(h=++d&&h&&h[m]||(b=d=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==g:1!==h.nodeType)||!++b||(y&&(f=h[H]||(h[H]={}),c=f[h.uniqueID]||(f[h.uniqueID]={}),c[e]=[I,b]),h!==t)););return b-=i,b===r||b%r===0&&b/r>=0}}},PSEUDO:function(e,n){var i,o=k.pseudos[e]||k.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[H]?o(n):o.length>1?(i=[e,e,"",n],k.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=ee(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=C(e.replace(se,"$1"));return i[H]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(be,we),function(t){return(t.textContent||t.innerText||S(t)).indexOf(e)>-1}}),lang:r(function(e){return he.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,we).toLowerCase(),function(t){var n;do if(n=L?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===R},focus:function(e){return e===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:l(!1),disabled:l(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!k.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},k.pseudos.nth=k.pseudos.eq;for(_ in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[_]=s(_);for(_ in{submit:!0,reset:!0})k.pseudos[_]=u(_);return h.prototype=k.filters=k.pseudos,k.setFilters=new h,j=t.tokenize=function(e,n){var r,i,o,a,s,u,l,c=z[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=k.preFilter;s;){r&&!(i=ue.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=le.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(se," ")}),s=s.slice(r.length));for(a in k.filter)!(i=de[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):z(e,u).slice(0)},C=t.compile=function(e,t){var n,r=[],i=[],o=B[e+" "];if(!o){for(t||(t=j(e)),n=t.length;n--;)o=b(t[n]),o[H]?r.push(o):i.push(o);o=B(e,w(i,r)),o.selector=e}return o},O=t.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&j(e=l.selector||e);if(n=n||[],1===c.length){if(o=c[0]=c[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&9===t.nodeType&&L&&k.relative[o[1].type]){if(t=(k.find.ID(a.matches[0].replace(be,we),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=de.needsContext.test(e)?0:o.length;i--&&(a=o[i],!k.relative[s=a.type]);)if((u=k.find[s])&&(r=u(a.matches[0].replace(be,we),ye.test(o[0].type)&&f(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&d(o),!e)return K.apply(n,r),n;break}}return(l||C(e,c))(r,t,!L,n,!t||ye.test(e)&&f(t.parentNode)||t),n},x.sortStable=H.split("").sort(G).join("")===H,x.detectDuplicates=!!M,N(),x.sortDetached=i(function(e){return 1&e.compareDocumentPosition(A.createElement("fieldset"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);pe.find=be,pe.expr=be.selectors,pe.expr[":"]=pe.expr.pseudos,pe.uniqueSort=pe.unique=be.uniqueSort,pe.text=be.getText,pe.isXMLDoc=be.isXML,pe.contains=be.contains,pe.escapeSelector=be.escape;var we=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&pe(e).is(n))break;r.push(e)}return r},_e=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},xe=pe.expr.match.needsContext,ke=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Se=/^.[^:#\[\.,]*$/;pe.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?pe.find.matchesSelector(r,e)?[r]:[]:pe.find.matches(e,pe.grep(t,function(e){return 1===e.nodeType}))},pe.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(pe(e).filter(function(){for(t=0;t<r;t++)if(pe.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)pe.find(e,i[t],n);return r>1?pe.uniqueSort(n):n},filter:function(e){return this.pushStack(i(this,e||[],!1))},not:function(e){return this.pushStack(i(this,e||[],!0))},is:function(e){return!!i(this,"string"==typeof e&&xe.test(e)?pe(e):e||[],!1).length}});var Te,je=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ce=pe.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Te,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:je.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof pe?t[0]:t,pe.merge(this,pe.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:te,!0)),ke.test(r[1])&&pe.isPlainObject(t))for(r in t)pe.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=te.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):pe.isFunction(e)?void 0!==n.ready?n.ready(e):e(pe):pe.makeArray(e,this)};Ce.prototype=pe.fn,Te=pe(te);var Oe=/^(?:parents|prev(?:Until|All))/,De={children:!0,contents:!0,next:!0,prev:!0};pe.fn.extend({has:function(e){var t=pe(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(pe.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&pe(e);if(!xe.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&pe.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?pe.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?ae.call(pe(e),this[0]):ae.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(pe.uniqueSort(pe.merge(this.get(),pe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),pe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return we(e,"parentNode")},parentsUntil:function(e,t,n){return we(e,"parentNode",n)},next:function(e){return o(e,"nextSibling")},prev:function(e){return o(e,"previousSibling")},nextAll:function(e){return we(e,"nextSibling")},prevAll:function(e){return we(e,"previousSibling")},nextUntil:function(e,t,n){return we(e,"nextSibling",n)},prevUntil:function(e,t,n){return we(e,"previousSibling",n)},siblings:function(e){return _e((e.parentNode||{}).firstChild,e)},children:function(e){return _e(e.firstChild)},contents:function(e){return e.contentDocument||pe.merge([],e.childNodes)}},function(e,t){pe.fn[e]=function(n,r){var i=pe.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=pe.filter(r,i)),this.length>1&&(De[e]||pe.uniqueSort(i),Oe.test(e)&&i.reverse()),this.pushStack(i)}});var Ee=/[^\x20\t\r\n\f]+/g;pe.Callbacks=function(e){e="string"==typeof e?a(e):pe.extend({},e);var t,n,r,i,o=[],s=[],u=-1,l=function(){for(i=e.once,r=t=!0;s.length;u=-1)for(n=s.shift();++u<o.length;)o[u].apply(n[0],n[1])===!1&&e.stopOnFalse&&(u=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(u=o.length-1,s.push(n)),function t(n){pe.each(n,function(n,r){pe.isFunction(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==pe.type(r)&&t(r)})}(arguments),n&&!t&&l()),this},remove:function(){return pe.each(arguments,function(e,t){for(var n;(n=pe.inArray(t,o,n))>-1;)o.splice(n,1),n<=u&&u--}),this},has:function(e){return e?pe.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=s=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){
return i||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},pe.extend({Deferred:function(t){var n=[["notify","progress",pe.Callbacks("memory"),pe.Callbacks("memory"),2],["resolve","done",pe.Callbacks("once memory"),pe.Callbacks("once memory"),0,"resolved"],["reject","fail",pe.Callbacks("once memory"),pe.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return pe.Deferred(function(t){pe.each(n,function(n,r){var i=pe.isFunction(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&pe.isFunction(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){function o(t,n,r,i){return function(){var l=this,c=arguments,f=function(){var e,f;if(!(t<a)){if(e=r.apply(l,c),e===n.promise())throw new TypeError("Thenable self-resolution");f=e&&("object"==typeof e||"function"==typeof e)&&e.then,pe.isFunction(f)?i?f.call(e,o(a,n,s,i),o(a,n,u,i)):(a++,f.call(e,o(a,n,s,i),o(a,n,u,i),o(a,n,s,n.notifyWith))):(r!==s&&(l=void 0,c=[e]),(i||n.resolveWith)(l,c))}},h=i?f:function(){try{f()}catch(e){pe.Deferred.exceptionHook&&pe.Deferred.exceptionHook(e,h.stackTrace),t+1>=a&&(r!==u&&(l=void 0,c=[e]),n.rejectWith(l,c))}};t?h():(pe.Deferred.getStackHook&&(h.stackTrace=pe.Deferred.getStackHook()),e.setTimeout(h))}}var a=0;return pe.Deferred(function(e){n[0][3].add(o(0,e,pe.isFunction(i)?i:s,e.notifyWith)),n[1][3].add(o(0,e,pe.isFunction(t)?t:s)),n[2][3].add(o(0,e,pe.isFunction(r)?r:u))}).promise()},promise:function(e){return null!=e?pe.extend(e,i):i}},o={};return pe.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[0][2].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=re.call(arguments),o=pe.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?re.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(l(e,o.done(a(n)).resolve,o.reject),"pending"===o.state()||pe.isFunction(i[n]&&i[n].then)))return o.then();for(;n--;)l(i[n],a(n),o.reject);return o.promise()}});var Me=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;pe.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Me.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},pe.readyException=function(t){e.setTimeout(function(){throw t})};var Ne=pe.Deferred();pe.fn.ready=function(e){return Ne.then(e).catch(function(e){pe.readyException(e)}),this},pe.extend({isReady:!1,readyWait:1,holdReady:function(e){e?pe.readyWait++:pe.ready(!0)},ready:function(e){(e===!0?--pe.readyWait:pe.isReady)||(pe.isReady=!0,e!==!0&&--pe.readyWait>0||Ne.resolveWith(te,[pe]))}}),pe.ready.then=Ne.then,"complete"===te.readyState||"loading"!==te.readyState&&!te.documentElement.doScroll?e.setTimeout(pe.ready):(te.addEventListener("DOMContentLoaded",c),e.addEventListener("load",c));var Ae=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===pe.type(n)){i=!0;for(s in n)Ae(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,pe.isFunction(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(pe(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},Re=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};f.uid=1,f.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Re(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[pe.camelCase(t)]=n;else for(r in t)i[pe.camelCase(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][pe.camelCase(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){pe.isArray(t)?t=t.map(pe.camelCase):(t=pe.camelCase(t),t=t in r?[t]:t.match(Ee)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||pe.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!pe.isEmptyObject(t)}};var Le=new f,Pe=new f,Ye=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Fe=/[A-Z]/g;pe.extend({hasData:function(e){return Pe.hasData(e)||Le.hasData(e)},data:function(e,t,n){return Pe.access(e,t,n)},removeData:function(e,t){Pe.remove(e,t)},_data:function(e,t,n){return Le.access(e,t,n)},_removeData:function(e,t){Le.remove(e,t)}}),pe.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=Pe.get(o),1===o.nodeType&&!Le.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=pe.camelCase(r.slice(5)),d(o,r,i[r])));Le.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Pe.set(this,e)}):Ae(this,function(t){var n;if(o&&void 0===t){if(n=Pe.get(o,e),void 0!==n)return n;if(n=d(o,e),void 0!==n)return n}else this.each(function(){Pe.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Pe.remove(this,e)})}}),pe.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Le.get(e,t),n&&(!r||pe.isArray(n)?r=Le.access(e,t,pe.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=pe.queue(e,t),r=n.length,i=n.shift(),o=pe._queueHooks(e,t),a=function(){pe.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Le.get(e,n)||Le.access(e,n,{empty:pe.Callbacks("once memory").add(function(){Le.remove(e,[t+"queue",n])})})}}),pe.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?pe.queue(this[0],e):void 0===t?this:this.each(function(){var n=pe.queue(this,e,t);pe._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&pe.dequeue(this,e)})},dequeue:function(e){return this.each(function(){pe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=pe.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=Le.get(o[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var qe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,He=new RegExp("^(?:([+-])=|)("+qe+")([a-z%]*)$","i"),We=["Top","Right","Bottom","Left"],Ie=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&pe.contains(e.ownerDocument,e)&&"none"===pe.css(e,"display")},Ue=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i},$e={};pe.fn.extend({show:function(){return v(this,!0)},hide:function(){return v(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ie(this)?pe(this).show():pe(this).hide()})}});var ze=/^(?:checkbox|radio)$/i,Be=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Ge=/^$|\/(?:java|ecma)script/i,Ve={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ve.optgroup=Ve.option,Ve.tbody=Ve.tfoot=Ve.colgroup=Ve.caption=Ve.thead,Ve.th=Ve.td;var Ze=/<|&#?\w+;/;!function(){var e=te.createDocumentFragment(),t=e.appendChild(te.createElement("div")),n=te.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),he.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",he.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var Je=te.documentElement,Xe=/^key/,Ke=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Qe=/^([^.]*)(?:\.(.+)|)/;pe.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,h,d,p,m,v=Le.get(e);if(v)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&pe.find.matchesSelector(Je,i),n.guid||(n.guid=pe.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(t){return"undefined"!=typeof pe&&pe.event.triggered!==t.type?pe.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Ee)||[""],l=t.length;l--;)s=Qe.exec(t[l])||[],d=m=s[1],p=(s[2]||"").split(".").sort(),d&&(f=pe.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=pe.event.special[d]||{},c=pe.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&pe.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=u[d])||(h=u[d]=[],h.delegateCount=0,f.setup&&f.setup.call(e,r,p,a)!==!1||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,c):h.push(c),pe.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,h,d,p,m,v=Le.hasData(e)&&Le.get(e);if(v&&(u=v.events)){for(t=(t||"").match(Ee)||[""],l=t.length;l--;)if(s=Qe.exec(t[l])||[],d=m=s[1],p=(s[2]||"").split(".").sort(),d){for(f=pe.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,h=u[d]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)c=h[o],!i&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,f.remove&&f.remove.call(e,c));a&&!h.length&&(f.teardown&&f.teardown.call(e,p,v.handle)!==!1||pe.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)pe.event.remove(e,d+t[l],n,r,!0);pe.isEmptyObject(u)&&Le.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=pe.event.fix(e),u=new Array(arguments.length),l=(Le.get(this,"events")||{})[s.type]||[],c=pe.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,s)!==!1){for(a=pe.event.handlers.call(this,s,l),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,r=((pe.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u),void 0!==r&&(s.result=r)===!1&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||l.disabled!==!0)){for(o=[],a={},n=0;n<u;n++)r=t[n],i=r.selector+" ",void 0===a[i]&&(a[i]=r.needsContext?pe(i,this).index(l)>-1:pe.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(pe.Event.prototype,e,{enumerable:!0,configurable:!0,get:pe.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[pe.expando]?e:new pe.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==x()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===x()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&pe.nodeName(this,"input"))return this.click(),!1},_default:function(e){return pe.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},pe.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},pe.Event=function(e,t){return this instanceof pe.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?w:_,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&pe.extend(this,t),this.timeStamp=e&&e.timeStamp||pe.now(),void(this[pe.expando]=!0)):new pe.Event(e,t)},pe.Event.prototype={constructor:pe.Event,isDefaultPrevented:_,isPropagationStopped:_,isImmediatePropagationStopped:_,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=w,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=w,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=w,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},pe.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Xe.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Ke.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},pe.event.addProp),pe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){pe.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||pe.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),pe.fn.extend({on:function(e,t,n,r){return k(this,e,t,n,r)},one:function(e,t,n,r){return k(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,pe(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=_),this.each(function(){pe.event.remove(this,e,n,t)})}});var et=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,tt=/<script|<style|<link/i,nt=/checked\s*(?:[^=]|=\s*.checked.)/i,rt=/^true\/(.*)/,it=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;pe.extend({htmlPrefilter:function(e){return e.replace(et,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=pe.contains(e.ownerDocument,e);if(!(he.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||pe.isXMLDoc(e)))for(a=g(s),o=g(e),r=0,i=o.length;r<i;r++)O(o[r],a[r]);if(t)if(n)for(o=o||g(e),a=a||g(s),r=0,i=o.length;r<i;r++)C(o[r],a[r]);else C(e,s);return a=g(s,"script"),a.length>0&&y(a,!u&&g(e,"script")),s},cleanData:function(e){for(var t,n,r,i=pe.event.special,o=0;void 0!==(n=e[o]);o++)if(Re(n)){if(t=n[Le.expando]){if(t.events)for(r in t.events)i[r]?pe.event.remove(n,r):pe.removeEvent(n,r,t.handle);n[Le.expando]=void 0}n[Pe.expando]&&(n[Pe.expando]=void 0)}}}),pe.fn.extend({detach:function(e){return E(this,e,!0)},remove:function(e){return E(this,e)},text:function(e){return Ae(this,function(e){return void 0===e?pe.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return D(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=S(this,e);t.appendChild(e)}})},prepend:function(){return D(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=S(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return D(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return D(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(pe.cleanData(g(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return pe.clone(this,e,t)})},html:function(e){return Ae(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!tt.test(e)&&!Ve[(Be.exec(e)||["",""])[1].toLowerCase()]){e=pe.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(pe.cleanData(g(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return D(this,arguments,function(t){var n=this.parentNode;pe.inArray(this,e)<0&&(pe.cleanData(g(this)),n&&n.replaceChild(t,this))},e)}}),pe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){pe.fn[e]=function(e){for(var n,r=[],i=pe(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),pe(i[a])[t](n),oe.apply(r,n.get());return this.pushStack(r)}});var ot=/^margin/,at=new RegExp("^("+qe+")(?!px)[a-z%]+$","i"),st=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)};!function(){function t(){if(s){s.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",Je.appendChild(a);var t=e.getComputedStyle(s);n="1%"!==t.top,o="2px"===t.marginLeft,r="4px"===t.width,s.style.marginRight="50%",i="4px"===t.marginRight,Je.removeChild(a),s=null}}var n,r,i,o,a=te.createElement("div"),s=te.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",he.clearCloneStyle="content-box"===s.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(s),pe.extend(he,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return t(),r},pixelMarginRight:function(){return t(),i},reliableMarginLeft:function(){return t(),o}}))}();var ut=/^(none|table(?!-c[ea]).+)/,lt={position:"absolute",visibility:"hidden",display:"block"},ct={letterSpacing:"0",fontWeight:"400"},ft=["Webkit","Moz","ms"],ht=te.createElement("div").style;pe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=M(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=pe.camelCase(t),u=e.style;return t=pe.cssProps[s]||(pe.cssProps[s]=A(s)||s),a=pe.cssHooks[t]||pe.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t]:(o=typeof n,"string"===o&&(i=He.exec(n))&&i[1]&&(n=p(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(pe.cssNumber[s]?"":"px")),he.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u[t]=n)),void 0)}},css:function(e,t,n,r){var i,o,a,s=pe.camelCase(t);return t=pe.cssProps[s]||(pe.cssProps[s]=A(s)||s),a=pe.cssHooks[t]||pe.cssHooks[s],a&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=M(e,t,r)),"normal"===i&&t in ct&&(i=ct[t]),""===n||n?(o=parseFloat(i),n===!0||isFinite(o)?o||0:i):i}}),pe.each(["height","width"],function(e,t){pe.cssHooks[t]={get:function(e,n,r){if(n)return!ut.test(pe.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?P(e,t,r):Ue(e,lt,function(){return P(e,t,r)})},set:function(e,n,r){var i,o=r&&st(e),a=r&&L(e,t,r,"border-box"===pe.css(e,"boxSizing",!1,o),o);return a&&(i=He.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=pe.css(e,t)),R(e,n,a)}}}),pe.cssHooks.marginLeft=N(he.reliableMarginLeft,function(e,t){if(t)return(parseFloat(M(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),pe.each({margin:"",padding:"",border:"Width"},function(e,t){pe.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+We[r]+t]=o[r]||o[r-2]||o[0];return i}},ot.test(e)||(pe.cssHooks[e+t].set=R)}),pe.fn.extend({css:function(e,t){return Ae(this,function(e,t,n){var r,i,o={},a=0;if(pe.isArray(t)){for(r=st(e),i=t.length;a<i;a++)o[t[a]]=pe.css(e,t[a],!1,r);return o}return void 0!==n?pe.style(e,t,n):pe.css(e,t)},e,t,arguments.length>1)}}),pe.Tween=Y,Y.prototype={constructor:Y,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||pe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(pe.cssNumber[n]?"":"px")},cur:function(){var e=Y.propHooks[this.prop];return e&&e.get?e.get(this):Y.propHooks._default.get(this)},run:function(e){var t,n=Y.propHooks[this.prop];return this.options.duration?this.pos=t=pe.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Y.propHooks._default.set(this),this}},Y.prototype.init.prototype=Y.prototype,Y.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=pe.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){pe.fx.step[e.prop]?pe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[pe.cssProps[e.prop]]&&!pe.cssHooks[e.prop]?e.elem[e.prop]=e.now:pe.style(e.elem,e.prop,e.now+e.unit)}}},Y.propHooks.scrollTop=Y.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},pe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},pe.fx=Y.prototype.init,pe.fx.step={};var dt,pt,mt=/^(?:toggle|show|hide)$/,vt=/queueHooks$/;pe.Animation=pe.extend($,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return p(n.elem,e,He.exec(t),n),n}]},tweener:function(e,t){pe.isFunction(e)?(t=e,e=["*"]):e=e.match(Ee);for(var n,r=0,i=e.length;r<i;r++)n=e[r],$.tweeners[n]=$.tweeners[n]||[],$.tweeners[n].unshift(t)},prefilters:[I],prefilter:function(e,t){t?$.prefilters.unshift(e):$.prefilters.push(e)}}),pe.speed=function(e,t,n){var r=e&&"object"==typeof e?pe.extend({},e):{complete:n||!n&&t||pe.isFunction(e)&&e,duration:e,easing:n&&t||t&&!pe.isFunction(t)&&t};return pe.fx.off||te.hidden?r.duration=0:"number"!=typeof r.duration&&(r.duration in pe.fx.speeds?r.duration=pe.fx.speeds[r.duration]:r.duration=pe.fx.speeds._default),null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){pe.isFunction(r.old)&&r.old.call(this),r.queue&&pe.dequeue(this,r.queue)},r},pe.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ie).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=pe.isEmptyObject(e),o=pe.speed(t,n,r),a=function(){var t=$(this,pe.extend({},e),o);(i||Le.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=pe.timers,a=Le.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&vt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||pe.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=Le.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=pe.timers,a=r?r.length:0;for(n.finish=!0,pe.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),pe.each(["toggle","show","hide"],function(e,t){var n=pe.fn[t];pe.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(H(t,!0),e,r,i)}}),pe.each({slideDown:H("show"),slideUp:H("hide"),slideToggle:H("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){pe.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),pe.timers=[],pe.fx.tick=function(){var e,t=0,n=pe.timers;for(dt=pe.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||pe.fx.stop(),dt=void 0},pe.fx.timer=function(e){pe.timers.push(e),e()?pe.fx.start():pe.timers.pop()},pe.fx.interval=13,pe.fx.start=function(){pt||(pt=e.requestAnimationFrame?e.requestAnimationFrame(F):e.setInterval(pe.fx.tick,pe.fx.interval))},pe.fx.stop=function(){e.cancelAnimationFrame?e.cancelAnimationFrame(pt):e.clearInterval(pt),pt=null},pe.fx.speeds={slow:600,fast:200,_default:400},pe.fn.delay=function(t,n){return t=pe.fx?pe.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=te.createElement("input"),t=te.createElement("select"),n=t.appendChild(te.createElement("option"));e.type="checkbox",he.checkOn=""!==e.value,he.optSelected=n.selected,e=te.createElement("input"),e.value="t",e.type="radio",he.radioValue="t"===e.value}();var gt,yt=pe.expr.attrHandle;pe.fn.extend({attr:function(e,t){return Ae(this,pe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){pe.removeAttr(this,e)})}}),pe.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?pe.prop(e,t,n):(1===o&&pe.isXMLDoc(e)||(i=pe.attrHooks[t.toLowerCase()]||(pe.expr.match.bool.test(t)?gt:void 0)),void 0!==n?null===n?void pe.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=pe.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!he.radioValue&&"radio"===t&&pe.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Ee);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),gt={set:function(e,t,n){return t===!1?pe.removeAttr(e,n):e.setAttribute(n,n),n}},pe.each(pe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=yt[t]||pe.find.attr;yt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=yt[a],yt[a]=i,i=null!=n(e,t,r)?a:null,yt[a]=o),i}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;pe.fn.extend({prop:function(e,t){return Ae(this,pe.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[pe.propFix[e]||e]})}}),pe.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&pe.isXMLDoc(e)||(t=pe.propFix[t]||t,i=pe.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=pe.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),he.optSelected||(pe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),pe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){pe.propFix[this.toLowerCase()]=this}),pe.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(pe.isFunction(e))return this.each(function(t){pe(this).addClass(e.call(this,t,B(this)))});if("string"==typeof e&&e)for(t=e.match(Ee)||[];n=this[u++];)if(i=B(n),r=1===n.nodeType&&" "+z(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=z(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(pe.isFunction(e))return this.each(function(t){pe(this).removeClass(e.call(this,t,B(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Ee)||[];n=this[u++];)if(i=B(n),r=1===n.nodeType&&" "+z(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=z(r),i!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):pe.isFunction(e)?this.each(function(n){pe(this).toggleClass(e.call(this,n,B(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=pe(this),o=e.match(Ee)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=B(this),t&&Le.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":Le.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+z(B(n))+" ").indexOf(t)>-1)return!0;return!1}});var _t=/\r/g;pe.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=pe.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,pe(this).val()):e,null==i?i="":"number"==typeof i?i+="":pe.isArray(i)&&(i=pe.map(i,function(e){return null==e?"":e+""})),t=pe.valHooks[this.type]||pe.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return t=pe.valHooks[i.type]||pe.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(_t,""):null==n?"":n)}}}),pe.extend({valHooks:{option:{get:function(e){var t=pe.find.attr(e,"value");return null!=t?t:z(pe.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(n=i[r],(n.selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!pe.nodeName(n.parentNode,"optgroup"))){if(t=pe(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=pe.makeArray(t),a=i.length;a--;)r=i[a],(r.selected=pe.inArray(pe.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),pe.each(["radio","checkbox"],function(){pe.valHooks[this]={set:function(e,t){if(pe.isArray(t))return e.checked=pe.inArray(pe(e).val(),t)>-1}},he.checkOn||(pe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var xt=/^(?:focusinfocus|focusoutblur)$/;pe.extend(pe.event,{trigger:function(t,n,r,i){var o,a,s,u,l,c,f,h=[r||te],d=le.call(t,"type")?t.type:t,p=le.call(t,"namespace")?t.namespace.split("."):[];if(a=s=r=r||te,3!==r.nodeType&&8!==r.nodeType&&!xt.test(d+pe.event.triggered)&&(d.indexOf(".")>-1&&(p=d.split("."),d=p.shift(),p.sort()),l=d.indexOf(":")<0&&"on"+d,t=t[pe.expando]?t:new pe.Event(d,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:pe.makeArray(n,[t]),f=pe.event.special[d]||{},i||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!i&&!f.noBubble&&!pe.isWindow(r)){for(u=f.delegateType||d,xt.test(u+d)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(r.ownerDocument||te)&&h.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=h[o++])&&!t.isPropagationStopped();)t.type=o>1?u:f.bindType||d,c=(Le.get(a,"events")||{})[t.type]&&Le.get(a,"handle"),c&&c.apply(a,n),c=l&&a[l],c&&c.apply&&Re(a)&&(t.result=c.apply(a,n),
t.result===!1&&t.preventDefault());return t.type=d,i||t.isDefaultPrevented()||f._default&&f._default.apply(h.pop(),n)!==!1||!Re(r)||l&&pe.isFunction(r[d])&&!pe.isWindow(r)&&(s=r[l],s&&(r[l]=null),pe.event.triggered=d,r[d](),pe.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(e,t,n){var r=pe.extend(new pe.Event,n,{type:e,isSimulated:!0});pe.event.trigger(r,null,t)}}),pe.fn.extend({trigger:function(e,t){return this.each(function(){pe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return pe.event.trigger(e,t,n,!0)}}),pe.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){pe.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),pe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),he.focusin="onfocusin"in e,he.focusin||pe.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){pe.event.simulate(t,e.target,pe.event.fix(e))};pe.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Le.access(r,t);i||r.addEventListener(e,n,!0),Le.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Le.access(r,t)-1;i?Le.access(r,t,i):(r.removeEventListener(e,n,!0),Le.remove(r,t))}}});var kt=e.location,St=pe.now(),Tt=/\?/;pe.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||pe.error("Invalid XML: "+t),n};var jt=/\[\]$/,Ct=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;pe.param=function(e,t){var n,r=[],i=function(e,t){var n=pe.isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(pe.isArray(e)||e.jquery&&!pe.isPlainObject(e))pe.each(e,function(){i(this.name,this.value)});else for(n in e)G(n,e[n],t,i);return r.join("&")},pe.fn.extend({serialize:function(){return pe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=pe.prop(this,"elements");return e?pe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!pe(this).is(":disabled")&&Dt.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!ze.test(e))}).map(function(e,t){var n=pe(this).val();return null==n?null:pe.isArray(n)?pe.map(n,function(e){return{name:t.name,value:e.replace(Ct,"\r\n")}}):{name:t.name,value:n.replace(Ct,"\r\n")}}).get()}});var Et=/%20/g,Mt=/#.*$/,Nt=/([?&])_=[^&]*/,At=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Lt=/^(?:GET|HEAD)$/,Pt=/^\/\//,Yt={},Ft={},qt="*/".concat("*"),Ht=te.createElement("a");Ht.href=kt.href,pe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:Rt.test(kt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":pe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?J(J(e,pe.ajaxSettings),t):J(pe.ajaxSettings,e)},ajaxPrefilter:V(Yt),ajaxTransport:V(Ft),ajax:function(t,n){function r(t,n,r,s){var l,h,d,w,_,x=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",k.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(w=X(p,k,r)),w=K(p,w,k,l),l?(p.ifModified&&(_=k.getResponseHeader("Last-Modified"),_&&(pe.lastModified[o]=_),_=k.getResponseHeader("etag"),_&&(pe.etag[o]=_)),204===t||"HEAD"===p.type?x="nocontent":304===t?x="notmodified":(x=w.state,h=w.data,d=w.error,l=!d)):(d=x,!t&&x||(x="error",t<0&&(t=0))),k.status=t,k.statusText=(n||x)+"",l?g.resolveWith(m,[h,x,k]):g.rejectWith(m,[k,x,d]),k.statusCode(b),b=void 0,f&&v.trigger(l?"ajaxSuccess":"ajaxError",[k,p,l?h:d]),y.fireWith(m,[k,x]),f&&(v.trigger("ajaxComplete",[k,p]),--pe.active||pe.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,h,d,p=pe.ajaxSetup({},n),m=p.context||p,v=p.context&&(m.nodeType||m.jquery)?pe(m):pe.event,g=pe.Deferred(),y=pe.Callbacks("once memory"),b=p.statusCode||{},w={},_={},x="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=At.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)k.always(e[k.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||x;return i&&i.abort(t),r(0,t),this}};if(g.promise(k),p.url=((t||p.url||kt.href)+"").replace(Pt,kt.protocol+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Ee)||[""],null==p.crossDomain){l=te.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Ht.protocol+"//"+Ht.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=pe.param(p.data,p.traditional)),Z(Yt,p,n,k),c)return k;f=pe.event&&p.global,f&&0===pe.active++&&pe.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Lt.test(p.type),o=p.url.replace(Mt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Et,"+")):(d=p.url.slice(o.length),p.data&&(o+=(Tt.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(o=o.replace(Nt,"$1"),d=(Tt.test(o)?"&":"?")+"_="+St++ +d),p.url=o+d),p.ifModified&&(pe.lastModified[o]&&k.setRequestHeader("If-Modified-Since",pe.lastModified[o]),pe.etag[o]&&k.setRequestHeader("If-None-Match",pe.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&k.setRequestHeader("Content-Type",p.contentType),k.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+qt+"; q=0.01":""):p.accepts["*"]);for(h in p.headers)k.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(p.beforeSend.call(m,k,p)===!1||c))return k.abort();if(x="abort",y.add(p.complete),k.done(p.success),k.fail(p.error),i=Z(Ft,p,n,k)){if(k.readyState=1,f&&v.trigger("ajaxSend",[k,p]),c)return k;p.async&&p.timeout>0&&(u=e.setTimeout(function(){k.abort("timeout")},p.timeout));try{c=!1,i.send(w,r)}catch(e){if(c)throw e;r(-1,e)}}else r(-1,"No Transport");return k},getJSON:function(e,t,n){return pe.get(e,t,n,"json")},getScript:function(e,t){return pe.get(e,void 0,t,"script")}}),pe.each(["get","post"],function(e,t){pe[t]=function(e,n,r,i){return pe.isFunction(n)&&(i=i||r,r=n,n=void 0),pe.ajax(pe.extend({url:e,type:t,dataType:i,data:n,success:r},pe.isPlainObject(e)&&e))}}),pe._evalUrl=function(e){return pe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},pe.fn.extend({wrapAll:function(e){var t;return this[0]&&(pe.isFunction(e)&&(e=e.call(this[0])),t=pe(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return pe.isFunction(e)?this.each(function(t){pe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=pe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=pe.isFunction(e);return this.each(function(n){pe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){pe(this).replaceWith(this.childNodes)}),this}}),pe.expr.pseudos.hidden=function(e){return!pe.expr.pseudos.visible(e)},pe.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},pe.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},It=pe.ajaxSettings.xhr();he.cors=!!It&&"withCredentials"in It,he.ajax=It=!!It,pe.ajaxTransport(function(t){var n,r;if(he.cors||It&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Wt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),pe.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),pe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return pe.globalEval(e),e}}}),pe.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),pe.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=pe("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),te.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Ut=[],$t=/(=)\?(?=&|$)|\?\?/;pe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ut.pop()||pe.expando+"_"+St++;return this[e]=!0,e}}),pe.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=t.jsonp!==!1&&($t.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&$t.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=pe.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace($t,"$1"+i):t.jsonp!==!1&&(t.url+=(Tt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||pe.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?pe(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Ut.push(i)),a&&pe.isFunction(o)&&o(a[0]),a=o=void 0}),"script"}),he.createHTMLDocument=function(){var e=te.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),pe.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,i,o;return t||(he.createHTMLDocument?(t=te.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=te.location.href,t.head.appendChild(r)):t=te),i=ke.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=b([e],t,o),o&&o.length&&pe(o).remove(),pe.merge([],i.childNodes))},pe.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=z(e.slice(s)),e=e.slice(0,s)),pe.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&pe.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?pe("<div>").append(pe.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},pe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){pe.fn[t]=function(e){return this.on(t,e)}}),pe.expr.pseudos.animated=function(e){return pe.grep(pe.timers,function(t){return e===t.elem}).length},pe.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=pe.css(e,"position"),f=pe(e),h={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=pe.css(e,"top"),u=pe.css(e,"left"),l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),pe.isFunction(t)&&(t=t.call(e,n,pe.extend({},s))),null!=t.top&&(h.top=t.top-s.top+a),null!=t.left&&(h.left=t.left-s.left+i),"using"in t?t.using.call(e,h):f.css(h)}},pe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){pe.offset.setOffset(this,e,t)});var t,n,r,i,o=this[0];if(o)return o.getClientRects().length?(r=o.getBoundingClientRect(),r.width||r.height?(i=o.ownerDocument,n=Q(i),t=i.documentElement,{top:r.top+n.pageYOffset-t.clientTop,left:r.left+n.pageXOffset-t.clientLeft}):r):{top:0,left:0}},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===pe.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),pe.nodeName(e[0],"html")||(r=e.offset()),r={top:r.top+pe.css(e[0],"borderTopWidth",!0),left:r.left+pe.css(e[0],"borderLeftWidth",!0)}),{top:t.top-r.top-pe.css(n,"marginTop",!0),left:t.left-r.left-pe.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===pe.css(e,"position");)e=e.offsetParent;return e||Je})}}),pe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;pe.fn[e]=function(r){return Ae(this,function(e,r,i){var o=Q(e);return void 0===i?o?o[t]:e[r]:void(o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i)},e,r,arguments.length)}}),pe.each(["top","left"],function(e,t){pe.cssHooks[t]=N(he.pixelPosition,function(e,n){if(n)return n=M(e,t),at.test(n)?pe(e).position()[t]+"px":n})}),pe.each({Height:"height",Width:"width"},function(e,t){pe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){pe.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||o===!0?"margin":"border");return Ae(this,function(t,n,i){var o;return pe.isWindow(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?pe.css(t,n,s):pe.style(t,n,i,s)},t,a?i:void 0,a)}})}),pe.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),pe.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return pe});var zt=e.jQuery,Bt=e.$;return pe.noConflict=function(t){return e.$===pe&&(e.$=Bt),t&&e.jQuery===pe&&(e.jQuery=zt),pe},t||(e.jQuery=e.$=pe),pe})}),Fs="mercury-parsing-container";Ys.noConflict();var qs=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return r&&(t&&"string"==typeof t?t="."+Fs+" "+t:t||(t="."+Fs)),new Ys.fn.init(e,t,n)};qs.fn=qs.prototype=Ys.fn,Ys.extend(qs,Ys);var Hs=function(e){return e.find('script, style, link[rel="stylesheet"]').remove(),e};qs.cloneHtml=function(){var e=Hs(qs("html",null,null,!1).clone());return e.children().wrap("<div />").wrap("<div />")},qs.root=function(){return qs("*").first()},qs.browser=!0;var Ws=function(e){var t=e.get(0);return!(!t||!t.tagName)&&"container"===t.tagName.toLowerCase()};qs.html=function(e){if(e)return Ws(e)||Ws(e.children("container"))?e.children("container").html()||e.html():qs("<div>").append(e.eq(0).clone()).html();var t=Hs(qs("body",null,null,!1).clone()),n=Hs(qs("head",null,null,!1).clone()),r=t.find("."+Fs);if(r.length>0)return r.children().html();var i=qs("<container />").append(qs("<container>"+n.html()+"</container>")).append(qs("<container>"+t.html()+"</container>")).wrap("<container />").parent().html();return i},qs.cleanup=function(){qs("."+Fs,null,null,!1).remove()},qs.load=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t.normalizeWhitespace;e?(r&&"string"==typeof e&&(e=e.replace(/[\s\n\r]+/g," ")),e=qs("<container />").html(e)):e=qs.cloneHtml();var i=qs("body",null,null,!1),o=i.find("."+Fs);return o[0]||(i.append('<div class="'+Fs+'" style="display: none;" />'),o=i.find("."+Fs)),e=Hs(e),e.find("*").contents().each(function(){this.nodeType===Node.COMMENT_NODE&&qs(this).remove()}),o.html(e),n?{$:qs,html:e.html()}:qs};var Is=function(e){function t(){var t=e.indexOf("\r\n",r),i=e.indexOf("\n",r),o=e.indexOf("\r",r),a=[t,i,o],s=a.sort(function(e,t){return e>t?1:e<t?-1:0}).filter(function(e){return e!==-1})[0];if(void 0!==s)return n(s,s===t?2:1);var u=e.length;return u===r?null:n(u,0)}function n(t,n){var i=e.substr(r,t-r);return r=t+n,i}var r=0;return e=e.toString(),t},Us=Is,$s=/^[A-Z_]+(\/\d\.\d)? /,zs=/^([A-Z_]+) (.+) [A-Z]+\/(\d)\.(\d)$/,Bs=/^[A-Z]+\/(\d)\.(\d) (\d{3}) (.*)$/,Gs=function(e,t){return S(j(e),t)},Vs=Gs,Zs=XMLHttpRequest;if(!Zs)throw new Error("missing XMLHttpRequest");D.log={trace:M,debug:M,info:M,warn:M,error:M};var Js=18e4,Xs=0;D.withCredentials=!1,D.DEFAULT_TIMEOUT=Js,D.defaults=function(e,t){var n=function(t){var n=function(n,r){n="string"==typeof n?{uri:n}:JSON.parse(JSON.stringify(n));for(var i in e)void 0===n[i]&&(n[i]=e[i]);return t(n,r)};return n},r=n(D);return r.get=n(D.get),r.post=n(D.post),r.put=n(D.put),r.head=n(D.head),r};var Ks=["get","put","post","head"];Ks.forEach(function(e){var t=e.toUpperCase(),n=e.toLowerCase();D[n]=function(e){"string"==typeof e?e={method:t,uri:e}:(e=JSON.parse(JSON.stringify(e)),e.method=t);var n=[e].concat(Array.prototype.slice.apply(arguments,[1]));return D.apply(this,n)}}),D.couch=function(e,t){function n(e,n,r){if(e)return t(e,n,r);if((n.statusCode<200||n.statusCode>299)&&r.error){e=new Error("CouchDB error: "+(r.error.reason||r.error.error));for(var i in r)e[i]=r[i];return t(e,n,r)}return t(e,n,r)}"string"==typeof e&&(e={uri:e}),e.json=!0,e.body&&(e.json=e.body),delete e.body,t=t||M;var r=D(e,n);return r};var Qs=D,eu=[P].map(wn.mark),tu={badUrl:{error:!0,messages:"The url parameter passed does not look like a valid URL. Please check your data and try again."}},nu=qs.browser?{}:{"User-Agent":"Mercury - https://mercury.postlight.com/web-parser/"},ru=1e4,iu=["audio/mpeg","image/gif","image/jpeg","image/jpg"],ou=new RegExp("^("+iu.join("|")+")$","i"),au=5242880,su=function(){function e(e,n){return t.apply(this,arguments)}var t=ls(wn.mark(function e(t,n){var r,i,o,a;return wn.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=n||Ps.parse(encodeURI(t)),r={url:n.href,headers:si({},nu),timeout:ru,encoding:null,jar:!0,gzip:!0,followAllRedirects:!0},e.next=4,F(r);case 4:return i=e.sent,o=i.response,a=i.body,e.prev=7,q(o),e.abrupt("return",{body:a,response:o});case 12:return e.prev=12,e.t0=e.catch(7),e.abrupt("return",tu.badUrl);case 15:case"end":return e.stop()}},e,this,[[7,12]])}));return e}(),uu=qr,lu=Hr.concat("length","prototype"),cu=Object.getOwnPropertyNames||function(e){return uu(e,lu)},fu={f:cu},hu=fu,du=zr,pu=On,mu=_n.Reflect,vu=mu&&mu.ownKeys||function(e){var t=hu.f(pu(e)),n=du.f;return n?t.concat(n(e)):t},gu=er;gu(gu.S,"Reflect",{ownKeys:vu});var yu=xn.Reflect.ownKeys,bu=n(function(e){e.exports={default:yu,__esModule:!0}}),wu=t(bu),_u=new RegExp("trans|transparent|spacer|blank","i"),xu="mercury-parser-keep",ku=['iframe[src^="https://www.youtube.com"]','iframe[src^="http://www.youtube.com"]','iframe[src^="https://player.vimeo"]','iframe[src^="http://player.vimeo"]'],Su=["title","script","noscript","link","style","hr","embed","iframe","object"],Tu=["style","align"],ju=(Tu.map(function(e){return"["+e+"]"}),Tu.join(","),["src","srcset","href","class","id","alt"]),Cu=new RegExp("^("+ju.join("|")+")$","i"),Ou=["p"],Du=(Ou.map(function(e){return e+":empty"}).join(","),["ul","ol","table","div","button","form"].join(",")),Eu=["h2","h3","h4","h5","h6"],Mu=Eu.join(","),Nu=["ad-break","adbox","advert","addthis","agegate","aux","blogger-labels","combx","comment","conversation","disqus","entry-unrelated","extra","foot","header","hidden","loader","login","menu","meta","nav","outbrain","pager","pagination","predicta","presence_control_external","popup","printfriendly","related","remove","remark","rss","share","shoutbox","sidebar","sociable","sponsor","taboola","tools"],Au=["and","article","body","blogindex","column","content","entry-content-asset","format","hfeed","hentry","hatom","main","page","posts","shadow"],Ru=["a","blockquote","dl","div","img","p","pre","table"].join(","),Lu=["article","articlecontent","instapaper_body","blog","body","content","entry-content-asset","entry","hentry","main","Normal","page","pagination","permalink","post","story","text","[-_]copy","\\Bcopy"],Pu=new RegExp(Lu.join("|"),"i"),Yu=["adbox","advert","author","bio","bookmark","bottom","byline","clear","com-","combx","comment","comment\\B","contact","copy","credit","crumb","date","deck","excerpt","featured","foot","footer","footnote","graf","head","info","infotext","instapaper_ignore","jump","linebreak","link","masthead","media","meta","modal","outbrain","promo","pr_","related","respond","roundcontent","scroll","secondary","share","shopping","shoutbox","side","sidebar","sponsor","stamp","sub","summary","tags","tools","widget"],Fu=new RegExp(Yu.join("|"),"i"),qu="meta[name=generator][value^=WordPress]",Hu=new RegExp("pag(e|ing|inat)","i"),Wu=["article","aside","blockquote","body","br","button","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","map","object","ol","output","p","pre","progress","section","table","tbody","textarea","tfoot","th","thead","tr","ul","video"],Iu=new RegExp("^("+Wu.join("|")+")$","i"),Uu=Nu.join("|"),$u=new RegExp(Uu,"i"),zu=Au.join("|"),Bu=new RegExp(zu,"i"),Gu=Un,Vu=$n,Zu=function(e,t,n){t in e?Gu.f(e,t,Vu(0,n)):e[t]=n},Ju=Tn,Xu=er,Ku=Zr,Qu=Mo,el=Lo,tl=vr,nl=Zu,rl=qo;Xu(Xu.S+Xu.F*!Oa(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,i,o=Ku(e),a="function"==typeof this?this:Array,s=arguments.length,u=s>1?arguments[1]:void 0,l=void 0!==u,c=0,f=rl(o);if(l&&(u=Ju(u,s>2?arguments[2]:void 0,2)),void 0==f||a==Array&&el(f))for(t=tl(o.length),n=new a(t);t>c;c++)nl(n,c,l?u(o[c],c):o[c]);else for(i=f.call(o),n=new a;!(r=i.next()).done;c++)nl(n,c,l?Qu(i,u,[r.value,c],!0):r.value);return n.length=c,n}});var il=xn.Array.from,ol=n(function(e){e.exports={default:il,__esModule:!0}}),al=t(ol),sl=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=ol,i=n(r);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,i.default)(e)}}),ul=t(sl),ll=er;ll(ll.S+ll.F*!En,"Object",{defineProperty:Un.f});var cl=xn.Object,fl=function(e,t,n){return cl.defineProperty(e,t,n)},hl=n(function(e){e.exports={default:fl,__esModule:!0}}),dl=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=hl,i=n(r);t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}}),pl=t(dl),ml=["ad-break","adbox","advert","addthis","agegate","aux","blogger-labels","combx","comment","conversation","disqus","entry-unrelated","extra","foot","form","header","hidden","loader","login","menu","meta","nav","pager","pagination","predicta","presence_control_external","popup","printfriendly","related","remove","remark","rss","share","shoutbox","sidebar","sociable","sponsor","tools"],vl=["and","article","body","blogindex","column","content","entry-content-asset","format","hfeed","hentry","hatom","main","page","posts","shadow"],gl=(["a","blockquote","dl","div","img","p","pre","table"].join(","),["br","b","i","label","hr","area","base","basefont","input","img","link","meta"]),yl=new RegExp("^("+gl.join("|")+")$","i"),bl=[[".hentry",".entry-content"],["entry",".entry-content"],[".entry",".entry_content"],[".post",".postbody"],[".post",".post_body"],[".post",".post-body"]],wl=["figure","photo","image","caption"],_l=new RegExp(wl.join("|"),"i"),xl=["article","articlecontent","instapaper_body","blog","body","content","entry-content-asset","entry","hentry","main","Normal","page","pagination","permalink","post","story","text","[-_]copy","\\Bcopy"],kl=new RegExp(xl.join("|"),"i"),Sl=new RegExp("entry-content-asset","i"),Tl=["adbox","advert","author","bio","bookmark","bottom","byline","clear","com-","combx","comment","comment\\B","contact","copy","credit","crumb","date","deck","excerpt","featured","foot","footer","footnote","graf","head","info","infotext","instapaper_ignore","jump","linebreak","link","masthead","media","meta","modal","outbrain","promo","pr_","related","respond","roundcontent","scroll","secondary","share","shopping","shoutbox","side","sidebar","sponsor","stamp","sub","summary","tags","tools","widget"],jl=new RegExp(Tl.join("|"),"i"),Cl=(ml.join("|"),vl.join("|"),new RegExp("^(p|li|span|pre)$","i")),Ol=new RegExp("^(td|blockquote|ol|ul|dl)$","i"),Dl=new RegExp("^(address|form)$","i"),El=new RegExp("^(p|pre)$","i"),Ml=Oo,Nl=Ci("iterator"),Al=di,Rl=xn.isIterable=function(e){var t=Object(e);return void 0!==t[Nl]||"@@iterator"in t||Al.hasOwnProperty(Ml(t))},Ll=Rl,Pl=n(function(e){e.exports={default:Ll,__esModule:!0}}),Yl=On,Fl=qo,ql=xn.getIterator=function(e){var t=Fl(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return Yl(t.call(e))},Hl=ql,Wl=n(function(e){e.exports={default:Hl,__esModule:!0}}),Il=t(Wl),Ul=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=Pl,i=n(r),o=Wl,a=n(o);t.default=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,u=(0,a.default)(e);!(r=(s=u.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()}),$l=t(Ul),zl=/\s{2,}/g,Bl=new RegExp("(page|paging|(p(a|g|ag)?(e|enum|ewanted|ing|ination)))?(=|/)([0-9]{1,3})","i"),Gl=/[a-z]/i,Vl=/^[a-z]+$/i,Zl=/^[0-9]+$/i,Jl=new RegExp(".( |$)"),Xl=Ci,Kl={f:Xl},Ql=Kl.f("iterator"),ec=n(function(e){e.exports={default:Ql,__esModule:!0}}),tc=n(function(e){var t=Mr("meta"),n=jn,r=nr,i=Un.f,o=0,a=Object.isExtensible||function(){return!0},s=!Dn(function(){return a(Object.preventExtensions({}))}),u=function(e){i(e,t,{value:{i:"O"+ ++o,w:{}}})},l=function(e,i){if(!n(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!r(e,t)){if(!a(e))return"F";if(!i)return"E";u(e)}return e[t].i},c=function(e,n){if(!r(e,t)){if(!a(e))return!0;if(!n)return!1;u(e)}return e[t].w},f=function(e){return s&&h.NEED&&a(e)&&!r(e,t)&&u(e),e},h=e.exports={KEY:t,NEED:!1,fastKey:l,getWeak:c,onFreeze:f}}),nc=_n,rc=xn,ic=fi,oc=Kl,ac=Un.f,sc=function(e){var t=rc.Symbol||(rc.Symbol=ic?{}:nc.Symbol||{});"_"==e.charAt(0)||e in t||ac(t,e,{value:oc.f(e)})},uc=Ur,lc=cr,cc=function(e,t){for(var n,r=lc(e),i=uc(r),o=i.length,a=0;o>a;)if(r[n=i[a++]]===t)return n},fc=Ur,hc=zr,dc=Gr,pc=function(e){var t=fc(e),n=hc.f;if(n)for(var r,i=n(e),o=dc.f,a=0;i.length>a;)o.call(e,r=i[a++])&&t.push(r);return t},mc=ir,vc=Array.isArray||function(e){return"Array"==mc(e)},gc=cr,yc=fu.f,bc={}.toString,wc="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],_c=function(e){try{return yc(e)}catch(e){return wc.slice()}},xc=function(e){return wc&&"[object Window]"==bc.call(e)?_c(e):yc(gc(e))},kc={f:xc},Sc=Gr,Tc=$n,jc=cr,Cc=Yn,Oc=nr,Dc=Ln,Ec=Object.getOwnPropertyDescriptor,Mc=En?Ec:function(e,t){if(e=jc(e),t=Cc(t,!0),Dc)try{return Ec(e,t)}catch(e){}if(Oc(e,t))return Tc(!Sc.f.call(e,t),e[t])},Nc={f:Mc},Ac=_n,Rc=nr,Lc=En,Pc=er,Yc=hi,Fc=tc.KEY,qc=Dn,Hc=Or,Wc=Mi,Ic=Mr,Uc=Ci,$c=Kl,zc=sc,Bc=cc,Gc=pc,Vc=vc,Zc=On,Jc=cr,Xc=Yn,Kc=$n,Qc=ji,ef=kc,tf=Nc,nf=Un,rf=Ur,of=tf.f,af=nf.f,sf=ef.f,uf=Ac.Symbol,lf=Ac.JSON,cf=lf&&lf.stringify,ff="prototype",hf=Uc("_hidden"),df=Uc("toPrimitive"),pf={}.propertyIsEnumerable,mf=Hc("symbol-registry"),vf=Hc("symbols"),gf=Hc("op-symbols"),yf=Object[ff],bf="function"==typeof uf,wf=Ac.QObject,_f=!wf||!wf[ff]||!wf[ff].findChild,xf=Lc&&qc(function(){return 7!=Qc(af({},"a",{get:function(){return af(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=of(yf,t);r&&delete yf[t],af(e,t,n),r&&e!==yf&&af(yf,t,r)}:af,kf=function(e){var t=vf[e]=Qc(uf[ff]);return t._k=e,t},Sf=bf&&"symbol"==typeof uf.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof uf},Tf=function(e,t,n){return e===yf&&Tf(gf,t,n),Zc(e),t=Xc(t,!0),Zc(n),Rc(vf,t)?(n.enumerable?(Rc(e,hf)&&e[hf][t]&&(e[hf][t]=!1),n=Qc(n,{enumerable:Kc(0,!1)})):(Rc(e,hf)||af(e,hf,Kc(1,{})),e[hf][t]=!0),xf(e,t,n)):af(e,t,n)},jf=function(e,t){Zc(e);for(var n,r=Gc(t=Jc(t)),i=0,o=r.length;o>i;)Tf(e,n=r[i++],t[n]);return e},Cf=function(e,t){return void 0===t?Qc(e):jf(Qc(e),t)},Of=function(e){var t=pf.call(this,e=Xc(e,!0));return!(this===yf&&Rc(vf,e)&&!Rc(gf,e))&&(!(t||!Rc(this,e)||!Rc(vf,e)||Rc(this,hf)&&this[hf][e])||t)},Df=function(e,t){if(e=Jc(e),t=Xc(t,!0),e!==yf||!Rc(vf,t)||Rc(gf,t)){var n=of(e,t);return!n||!Rc(vf,t)||Rc(e,hf)&&e[hf][t]||(n.enumerable=!0),n}},Ef=function(e){for(var t,n=sf(Jc(e)),r=[],i=0;n.length>i;)Rc(vf,t=n[i++])||t==hf||t==Fc||r.push(t);return r},Mf=function(e){for(var t,n=e===yf,r=sf(n?gf:Jc(e)),i=[],o=0;r.length>o;)!Rc(vf,t=r[o++])||n&&!Rc(yf,t)||i.push(vf[t]);return i};bf||(uf=function(){if(this instanceof uf)throw TypeError("Symbol is not a constructor!");var e=Ic(arguments.length>0?arguments[0]:void 0),t=function(n){this===yf&&t.call(gf,n),Rc(this,hf)&&Rc(this[hf],e)&&(this[hf][e]=!1),xf(this,e,Kc(1,n))};return Lc&&_f&&xf(yf,e,{configurable:!0,set:t}),kf(e)},Yc(uf[ff],"toString",function(){return this._k}),tf.f=Df,nf.f=Tf,fu.f=ef.f=Ef,Gr.f=Of,zr.f=Mf,Lc&&!fi&&Yc(yf,"propertyIsEnumerable",Of,!0),$c.f=function(e){return kf(Uc(e))}),Pc(Pc.G+Pc.W+Pc.F*!bf,{Symbol:uf});for(var Nf="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),Af=0;Nf.length>Af;)Uc(Nf[Af++]);for(var Nf=rf(Uc.store),Af=0;Nf.length>Af;)zc(Nf[Af++]);Pc(Pc.S+Pc.F*!bf,"Symbol",{for:function(e){return Rc(mf,e+="")?mf[e]:mf[e]=uf(e)},keyFor:function(e){if(Sf(e))return Bc(mf,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){_f=!0},useSimple:function(){_f=!1}}),Pc(Pc.S+Pc.F*!bf,"Object",{create:Cf,defineProperty:Tf,defineProperties:jf,getOwnPropertyDescriptor:Df,getOwnPropertyNames:Ef,getOwnPropertySymbols:Mf}),lf&&Pc(Pc.S+Pc.F*(!bf||qc(function(){var e=uf();return"[null]"!=cf([e])||"{}"!=cf({a:e})||"{}"!=cf(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!Sf(e)){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);return t=r[1],"function"==typeof t&&(n=t),!n&&Vc(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!Sf(t))return t}),r[1]=t,cf.apply(lf,r)}}}),uf[ff][df]||Gn(uf[ff],df,uf[ff].valueOf),Wc(uf,"Symbol"),Wc(Math,"Math",!0),Wc(Ac.JSON,"JSON",!0),sc("asyncIterator"),sc("observable");var Rf=xn.Symbol,Lf=n(function(e){e.exports={default:Rf,__esModule:!0}}),Pf=n(function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=ec,i=n(r),o=Lf,a=n(o),s="function"==typeof a.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};t.default="function"==typeof a.default&&"symbol"===s(i.default)?function(e){return"undefined"==typeof e?"undefined":s(e)}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"==typeof e?"undefined":s(e);
}}),Yf=t(Pf),Ff=new RegExp("https?://","i"),qf=new RegExp(".(png|gif|jpe?g)","i"),Hf=["script","style","form"].join(","),Wf={create:function(e,t,n){var r=this;return ls(wn.mark(function i(){var o,a;return wn.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(o=void 0,!t){i.next=6;break}a={statusMessage:"OK",statusCode:200,headers:{"content-type":"text/html","content-length":500}},o={body:t,response:a},i.next=9;break;case 6:return i.next=8,su(e,n);case 8:o=i.sent;case 9:if(!o.error){i.next=12;break}return o.failed=!0,i.abrupt("return",o);case 12:return i.abrupt("return",r.generateDoc(o));case 13:case"end":return i.stop()}},i,r)}))()},generateDoc:function(e){var t=e.body,n=e.response,r=n.headers["content-type"];if(!r.includes("html")&&!r.includes("text"))throw new Error("Content does not appear to be text.");var i=qs.load(t,{normalizeWhitespace:!0});if(0===i.root().children().length)throw new Error("No children, likely a bad parse.");return i=W(i),i=Be(i),i=Ze(i)}},If=er,Uf=xn,$f=Dn,zf=function(e,t){var n=(Uf.Object||{})[e]||Object[e],r={};r[e]=t(n),If(If.S+If.F*$f(function(){n(1)}),"Object",r)},Bf=Zr,Gf=Ur;zf("keys",function(){return function(e){return Gf(Bf(e))}});var Vf=xn.Object.keys,Zf=n(function(e){e.exports={default:Vf,__esModule:!0}}),Jf=t(Zf),Xf=function(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})},Kf={domain:"blogspot.com",content:{selectors:[".post-content noscript"],clean:[],transforms:{noscript:"div"}},author:{selectors:[".post-author-name"]},title:{selectors:[".post h2.title"]},date_published:{selectors:["span.publishdate"]}},Qf={domain:"nymag.com",content:{selectors:["div.article-content","section.body","article.article"],clean:[".ad",".single-related-story"],transforms:{h1:"h2",noscript:function(e,t){var n=t.browser?t(e.text()):e.children();return 1===n.length&&void 0!==n.get(0)&&"img"===n.get(0).tagName.toLowerCase()?"figure":null}}},title:{selectors:["h1.lede-feature-title","h1.headline-primary","h1"]},author:{selectors:[".by-authors",".lede-feature-author"]},dek:{selectors:[".lede-feature-teaser"]},date_published:{selectors:[["time.article-timestamp[datetime]","datetime"],"time.article-timestamp"]}},eh={domain:"wikipedia.org",content:{selectors:["#mw-content-text"],defaultCleaner:!1,transforms:{".infobox img":function(e){var t=e.parents(".infobox");0===t.children("img").length&&t.prepend(e)},".infobox caption":"figcaption",".infobox":"figure"},clean:[".mw-editsection","figure tr, figure td, figure tbody","#toc",".navbox"]},author:"Wikipedia Contributors",title:{selectors:["h2.title"]},date_published:{selectors:["#footer-info-lastmod"]}},th={domain:"twitter.com",content:{transforms:{".permalink[role=main]":function(e,t){var n=e.find(".tweet"),r=t('<div id="TWEETS_GO_HERE"></div>');r.append(n),e.replaceWith(r)},s:"span"},selectors:[".permalink[role=main]"],defaultCleaner:!1,clean:[".stream-item-footer","button",".tweet-details-fixer"]},author:{selectors:[".tweet.permalink-tweet .username"]},date_published:{selectors:[[".permalink-tweet ._timestamp[data-time-ms]","data-time-ms"]]}},nh={domain:"www.nytimes.com",title:{selectors:[".g-headline","h1.headline"]},author:{selectors:[['meta[name="author"]',"value"],".g-byline",".byline"]},content:{selectors:["div.g-blocks","article#story"],transforms:{"img.g-lazy":function(e){var t=e.attr("src"),n=640;t=t.replace("{{size}}",n),e.attr("src",t)}},clean:[".ad","header#story-header",".story-body-1 .lede.video",".visually-hidden","#newsletter-promo",".promo",".comments-button",".hidden",".comments"]},date_published:null,lead_image_url:null,dek:null,next_page_url:null,excerpt:null},rh={domain:"www.theatlantic.com",title:{selectors:["h1.hed"]},author:{selectors:["article#article .article-cover-extra .metadata .byline a"]},content:{selectors:[".article-body"],transforms:[],clean:[]},date_published:{selectors:[['time[itemProp="datePublished"]',"datetime"]]},lead_image_url:null,dek:null,next_page_url:null,excerpt:null},ih={domain:"www.newyorker.com",title:{selectors:["h1.title"]},author:{selectors:[".contributors"]},content:{selectors:["div#articleBody","div.articleBody"],transforms:[],clean:[]},date_published:{selectors:[['meta[name="article:published_time"]',"value"]]},lead_image_url:{selectors:[['meta[name="og:image"]',"value"]]},dek:{selectors:[['meta[name="og:description"]',"value"]]},next_page_url:null,excerpt:null},oh={domain:"www.wired.com",title:{selectors:["h1.post-title"]},author:{selectors:['a[rel="author"]']},content:{selectors:["article.content"],transforms:[],clean:[".visually-hidden"]},date_published:{selectors:[['meta[itemprop="datePublished"]',"value"]]},lead_image_url:{selectors:[['meta[name="og:image"]',"value"]]},dek:{selectors:[['meta[name="og:description"]',"value"]]},next_page_url:null,excerpt:null},ah={domain:"www.msn.com",title:{selectors:["h1"]},author:{selectors:["span.authorname-txt"]},content:{selectors:["div.richtext"],transforms:[],clean:["span.caption"]},date_published:{selectors:["span.time"]},lead_image_url:{selectors:[]},dek:{selectors:[['meta[name="description"]',"value"]]},next_page_url:null,excerpt:null},sh={domain:"www.yahoo.com",title:{selectors:["header.canvas-header"]},author:{selectors:["span.provider-name"]},content:{selectors:[".content-canvas"],transforms:[],clean:[".figure-caption"]},date_published:{selectors:[["time.date[datetime]","datetime"]]},lead_image_url:{selectors:[['meta[name="og:image"]',"value"]]},dek:{selectors:[['meta[name="og:description"]',"value"]]},next_page_url:null,excerpt:null},uh={domain:"www.buzzfeed.com",title:{selectors:['h1[id="post-title"]']},author:{selectors:['a[data-action="user/username"]',"byline__author"]},content:{selectors:["#buzz_sub_buzz"],defaultCleaner:!1,transforms:{h2:"b"},clean:[".instapaper_ignore",".suplist_list_hide .buzz_superlist_item .buzz_superlist_number_inline",".share-box"]},date_published:{selectors:[".buzz-datetime"]},lead_image_url:{selectors:[['meta[name="og:image"]',"value"]]},dek:{selectors:[['meta[name="description"]',"value"]]},next_page_url:null,excerpt:null},lh={domain:"fandom.wikia.com",title:{selectors:["h1.entry-title"]},author:{selectors:[".author vcard",".fn"]},content:{selectors:[".grid-content",".entry-content"],transforms:[],clean:[]},date_published:{selectors:[['meta[name="article:published_time"]',"value"]]},lead_image_url:{selectors:[['meta[name="og:image"]',"value"]]},dek:{selectors:[['meta[name="og:description"]',"value"]]},next_page_url:null,excerpt:null},ch={domain:"www.littlethings.com",title:{selectors:["h1.post-title"]},author:{selectors:[['meta[name="author"]',"value"]]},content:{selectors:[".mainContentIntro",".content-wrapper"],transforms:[],clean:[]},lead_image_url:{selectors:[['meta[name="og:image"]',"value"]]},next_page_url:null,excerpt:null},fh={domain:"www.politico.com",title:{selectors:[['meta[name="og:title"]',"value"]]},author:{selectors:[".story-main-content .byline .vcard"]},content:{selectors:[".story-main-content",".content-group",".story-core",".story-text"],transforms:[],clean:["figcaption"]},date_published:{selectors:[[".story-main-content .timestamp time[datetime]","datetime"]]},lead_image_url:{selectors:[['meta[name="og:image"]',"value"]]},dek:{selectors:[['meta[name="description"]',"value"]]},next_page_url:null,excerpt:null},hh={domain:"deadspin.com",supportedDomains:["jezebel.com","lifehacker.com","kotaku.com","gizmodo.com","jalopnik.com","kinja.com"],title:{selectors:["h1.headline"]},author:{selectors:[".author"]},content:{selectors:[".post-content",".entry-content"],transforms:{'iframe.lazyload[data-recommend-id^="youtube://"]':function(e){var t=e.attr("id").split("youtube-")[1];e.attr("src","https://www.youtube.com/embed/"+t)}},clean:[]},date_published:{selectors:[["time.updated[datetime]","datetime"]]},lead_image_url:{selectors:[['meta[name="og:image"]',"value"]]},dek:{selectors:[]},next_page_url:{selectors:[]},excerpt:{selectors:[]}},dh={domain:"www.broadwayworld.com",title:{selectors:["h1.article-title"]},author:{selectors:["span[itemprop=author]"]},content:{selectors:["div[itemprop=articlebody]"],transforms:{},clean:[]},date_published:{selectors:[["meta[itemprop=datePublished]","value"]]},lead_image_url:{selectors:[['meta[name="og:image"]',"value"]]},dek:{selectors:[['meta[name="og:description"]',"value"]]},next_page_url:{selectors:[]},excerpt:{selectors:[]}},ph={domain:"www.apartmenttherapy.com",title:{selectors:["h1.headline"]},author:{selectors:[".PostByline__name"]},content:{selectors:["div.post__content"],transforms:{'div[data-render-react-id="images/LazyPicture"]':function(e,t){var n=JSON.parse(e.attr("data-props")),r=n.sources[0].src,i=t("<img />").attr("src",r);e.replaceWith(i)}},clean:[]},date_published:{selectors:[[".PostByline__timestamp[datetime]","datetime"]]},lead_image_url:{selectors:[['meta[name="og:image"]',"value"]]},dek:{selectors:[["meta[name=description]","value"]]},next_page_url:{selectors:[]},excerpt:{selectors:[]}},mh={domain:"medium.com",supportedDomains:["trackchanges.postlight.com"],title:{selectors:["h1"]},author:{selectors:[['meta[name="author"]',"value"]]},content:{selectors:[".section-content"],transforms:{iframe:function(e){var t=/https:\/\/i.embed.ly\/.+url=https:\/\/i\.ytimg\.com\/vi\/(\w+)\//,n=decodeURIComponent(e.attr("data-thumbnail"));if(t.test(n)){var r=n.match(t),i=$l(r,2),o=(i[0],i[1]);e.attr("src","https://www.youtube.com/embed/"+o);var a=e.parents("figure");a.prepend(e.clone()),e.remove()}}},clean:[]},date_published:{selectors:[["time[datetime]","datetime"]]},lead_image_url:{selectors:[['meta[name="og:image"]',"value"]]},dek:{selectors:[]},next_page_url:{selectors:[]},excerpt:{selectors:[]}},vh=Object.freeze({BloggerExtractor:Kf,NYMagExtractor:Qf,WikipediaExtractor:eh,TwitterExtractor:th,NYTimesExtractor:nh,TheAtlanticExtractor:rh,NewYorkerExtractor:ih,WiredExtractor:oh,MSNExtractor:ah,YahooExtractor:sh,BuzzfeedExtractor:uh,WikiaExtractor:lh,LittleThingsExtractor:ch,PoliticoExtractor:fh,DeadspinExtractor:hh,BroadwayWorldExtractor:dh,ApartmentTherapyExtractor:ph,MediumExtractor:mh}),gh=Jf(vh).reduce(function(e,t){var n=vh[t];return si({},e,Je(n))},{}),yh=n(function(e,t){(function(){function e(e){if("undefined"==typeof e)throw new Error("TypeError missing argument");if("string"!=typeof e)throw new Error("TypeError getDirection expects strings");if(""===e)return c;if(e.indexOf(o)>-1&&e.indexOf(a)>-1)return l;if(e.indexOf(o)>-1)return s;if(e.indexOf(a)>-1)return u;var t=n(e,u),r=n(e,s);return t&&r?l:r?s:t?u:c}function n(e,t){var n,i,o,a,l=!1,c=!1,h=!1;for(h=e.search(/[0-9]/)>-1,e=e.replace(/[\s\n\0\f\t\v\'\"\-0-9\+\?\!]+/gm,""),n=0;n<e.length;n++){i=e.charAt(n),a=!1;for(o in f)f.hasOwnProperty(o)&&r(i,f[o][0],f[o][1])&&(l=!0,a=!0);a===!1&&(c=!0)}return t===u?l:t===s?c||!l&&h:void 0}function r(e,t,n){var r=e.charCodeAt(0),i=parseInt(t,16),o=parseInt(n,16);return r>i&&r<o}function i(){String.prototype.getDirection=function(){return e(this.valueOf())}}var o="",a="",s="ltr",u="rtl",l="bidi",c="",f={Hebrew:["0590","05FF"],Arabic:["0600","06FF"],NKo:["07C0","07FF"],Syriac:["0700","074F"],Thaana:["0780","07BF"],Tifinagh:["2D30","2D7F"]};"undefined"!=typeof t?(t.getDirection=e,t.patch=i):this.stringDirection={getDirection:e,patch:i}}).call(this)}),bh=/^\s*(posted |written )?by\s*:?\s*(.*)/i,wh=new RegExp("http(s)?://","i"),_h=/^\d{13}$/i,xh=/^\d{10}$/i,kh=/^\s*published\s*:?\s*(.*)/i,Sh=/(.*\d)(am|pm)(.*)/i,Th=/\.m\./i,jh=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],Ch=jh.join("|"),Oh="[0-9]{1,2}:[0-9]{2,2}( ?[ap].?m.?)?",Dh="[0-9]{1,2}[/-][0-9]{1,2}[/-][0-9]{2,4}",Eh=new RegExp("("+Oh+")|("+Dh+")|([0-9]{1,4})|("+Ch+")","ig"),Mh=/(: | - | \| )/g,Nh=new RegExp(".com$|.net$|.org$|.co.uk$","g"),Ah=n(function(e){!function(e){function t(e){if(e&&!/[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~\%]/i.test(e)&&!/%[^0-9a-f]/i.test(e)&&!/%[0-9a-f](:?[^0-9a-f]|$)/i.test(e)){var t=[],n="",r="",i="",a="",s="",u="";if(t=o(e),n=t[1],r=t[2],i=t[3],a=t[4],s=t[5],n&&n.length&&i.length>=0){if(r&&r.length){if(0!==i.length&&!/^\//.test(i))return}else if(/^\/\//.test(i))return;if(/^[a-z][a-z0-9\+\-\.]*$/.test(n.toLowerCase()))return u+=n+":",r&&r.length&&(u+="//"+r),u+=i,a&&a.length&&(u+="?"+a),s&&s.length&&(u+="#"+s),u}}}function n(e,n){if(t(e)){var r=[],i="",a="",s="",u="",l="",c="",f="";if(r=o(e),i=r[1],a=r[2],s=r[3],l=r[4],c=r[5],i){if(n){if("https"!=i.toLowerCase())return}else if("http"!=i.toLowerCase())return;if(a)return/:(\d+)$/.test(a)&&(u=a.match(/:(\d+)$/)[0],a=a.replace(/:\d+$/,"")),f+=i+":",f+="//"+a,u&&(f+=u),f+=s,l&&l.length&&(f+="?"+l),c&&c.length&&(f+="#"+c),f}}}function r(e){return n(e,!0)}function i(e){return n(e)||r(e)}e.exports.is_uri=t,e.exports.is_http_uri=n,e.exports.is_https_uri=r,e.exports.is_web_uri=i,e.exports.isUri=t,e.exports.isHttpUri=n,e.exports.isHttpsUri=r,e.exports.isWebUri=i;var o=function(e){var t=e.match(/(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/);return t}}(e)}),Rh=n(function(t,n){!function(e,r){"object"==typeof n&&"undefined"!=typeof t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){function n(){return gr.apply(null,arguments)}function r(e){gr=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){var t;for(t in e)return!1;return!0}function s(e){return"number"==typeof value||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return bt(e,t,n,r,!0).utc()}function d(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function p(e){return null==e._pf&&(e._pf=d()),e._pf}function m(e){if(null==e._isValid){var t=p(e),n=br.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function v(e){var t=h(NaN);return null!=e?f(p(t),e):p(t).userInvalidated=!0,t}function g(e){return void 0===e}function y(e,t){var n,r,i;if(g(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),g(t._i)||(e._i=t._i),g(t._f)||(e._f=t._f),g(t._l)||(e._l=t._l),g(t._strict)||(e._strict=t._strict),g(t._tzm)||(e._tzm=t._tzm),g(t._isUTC)||(e._isUTC=t._isUTC),g(t._offset)||(e._offset=t._offset),g(t._pf)||(e._pf=p(t)),g(t._locale)||(e._locale=t._locale),wr.length>0)for(n in wr)r=wr[n],i=t[r],g(i)||(e[r]=i);return e}function b(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),_r===!1&&(_r=!0,n.updateOffset(this),_r=!1)}function w(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function _(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function x(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_(t)),n}function k(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&x(e[r])!==x(t[r]))&&a++;return a+o}function S(e){n.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var r=!0;return f(function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),r){for(var i,o=[],a=0;a<arguments.length;a++){if(i="","object"==typeof arguments[a]){i+="\n["+a+"] ";for(var s in arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[a];o.push(i)}S(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),r=!1}return t.apply(this,arguments)},t)}function j(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),xr[e]||(S(t),xr[e]=!0)}function C(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function O(e){var t,n;for(n in e)t=e[n],C(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function D(e,t){var n,r=f({},e);for(n in t)c(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&o(e[n])&&(r[n]=f({},r[n]));return r}function E(e){null!=e&&this.set(e)}function M(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return C(r)?r.call(t,n):r}function N(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function A(){return this._invalidDate}function R(e){return this._ordinal.replace("%d",e)}function L(e,t,n,r){var i=this._relativeTime[n];return C(i)?i(e,t,n,r):i.replace(/%d/i,e)}function P(e,t){var n=this._relativeTime[e>0?"future":"past"];return C(n)?n(t):n.replace(/%s/i,t)}function Y(e,t){var n=e.toLowerCase();Nr[n]=Nr[n+"s"]=Nr[t]=e}function F(e){return"string"==typeof e?Nr[e]||Nr[e.toLowerCase()]:void 0}function q(e){var t,n,r={};for(n in e)c(e,n)&&(t=F(n),t&&(r[t]=e[n]));return r}function H(e,t){Ar[e]=t}function W(e){var t=[];for(var n in e)t.push({unit:n,priority:Ar[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function I(e,t){return function(r){return null!=r?($(this,e,r),n.updateOffset(this,t),this):U(this,e)}}function U(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function $(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function z(e){return e=F(e),C(this[e])?this[e]():this}function B(e,t){if("object"==typeof e){e=q(e);for(var n=W(e),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(e=F(e),C(this[e]))return this[e](t);return this}function G(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function V(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Yr[e]=i),t&&(Yr[t[0]]=function(){return G(i.apply(this,arguments),t[1],t[2])}),n&&(Yr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function J(e){var t,n,r=e.match(Rr);for(t=0,n=r.length;t<n;t++)Yr[r[t]]?r[t]=Yr[r[t]]:r[t]=Z(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=r[i]instanceof Function?r[i].call(t,e):r[i];return o}}function X(e,t){return e.isValid()?(t=K(t,e.localeData()),Pr[t]=Pr[t]||J(t),Pr[t](e)):e.localeData().invalidDate()}function K(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(Lr.lastIndex=0;r>=0&&Lr.test(e);)e=e.replace(Lr,n),Lr.lastIndex=0,r-=1;return e}function Q(e,t,n){ti[e]=C(t)?t:function(e,r){return e&&n?n:t}}function ee(e,t){return c(ti,e)?ti[e](t._strict,t._locale):new RegExp(te(e))}function te(e){return ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function re(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n<e.length;n++)ni[e[n]]=r}function ie(e,t){re(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function oe(e,t,n){null!=t&&c(ni,e)&&ni[e](t,n._a,n,e)}function ae(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function se(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||di).test(t)?"format":"standalone"][e.month()]:this._months}function ue(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[di.test(t)?"format":"standalone"][e.month()]:this._monthsShort}function le(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(i=hi.call(this._shortMonthsParse,a),i!==-1?i:null):(i=hi.call(this._longMonthsParse,a),i!==-1?i:null):"MMM"===t?(i=hi.call(this._shortMonthsParse,a),i!==-1?i:(i=hi.call(this._longMonthsParse,a),i!==-1?i:null)):(i=hi.call(this._longMonthsParse,a),i!==-1?i:(i=hi.call(this._shortMonthsParse,a),i!==-1?i:null))}function ce(e,t,n){var r,i,o;if(this._monthsParseExact)return le.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function fe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=x(t);else if(t=e.localeData().monthsParse(t),!s(t))return e;return n=Math.min(e.date(),ae(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function he(e){return null!=e?(fe(this,e),n.updateOffset(this,!0),this):U(this,"Month")}function de(){return ae(this.year(),this.month())}function pe(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ve.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=vi),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function me(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ve.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=gi),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ve(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=h([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=ne(r[t]),i[t]=ne(i[t]);for(t=0;t<24;t++)o[t]=ne(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ge(e){return ye(e)?366:365}function ye(e){return e%4===0&&e%100!==0||e%400===0}function be(){return ye(this.year())}function we(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function _e(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function xe(e,t,n){var r=7+t-n,i=(7+_e(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=xe(e,r,i),l=1+7*(t-1)+s+u;return l<=0?(o=e-1,a=ge(o)+l):l>ge(e)?(o=e+1,a=l-ge(e)):(o=e,a=l),{year:o,dayOfYear:a}}function Se(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Te(i,t,n)):a>Te(e.year(),t,n)?(r=a-Te(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Te(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ge(e)-r+i)/7}function je(e){return Se(e,this._week.dow,this._week.doy).week}function Ce(){return this._week.dow}function Oe(){return this._week.doy}function De(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ee(e){var t=Se(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Me(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ne(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ae(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Re(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Le(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Pe(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=hi.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=hi.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=hi.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=hi.call(this._weekdaysParse,a),i!==-1?i:(i=hi.call(this._shortWeekdaysParse,a),i!==-1?i:(i=hi.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=hi.call(this._shortWeekdaysParse,a),i!==-1?i:(i=hi.call(this._weekdaysParse,a),i!==-1?i:(i=hi.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=hi.call(this._minWeekdaysParse,a),i!==-1?i:(i=hi.call(this._weekdaysParse,a),i!==-1?i:(i=hi.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Ye(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Pe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Fe(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Me(e,this.localeData()),this.add(e-t,"d")):t}function qe(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function He(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ne(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function We(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=ki),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ie(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Si),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ue(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ti),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function $e(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=ne(s[t]),u[t]=ne(u[t]),l[t]=ne(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function ze(){return this.hours()%12||12}function Be(){return this.hours()||24}function Ge(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ve(e,t){return t._meridiemParse}function Ze(e){return"p"===(e+"").toLowerCase().charAt(0)}function Je(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Xe(e){return e?e.toLowerCase().replace("_","-"):e}function Ke(e){for(var t,n,r,i,o=0;o<e.length;){for(i=Xe(e[o]).split("-"),t=i.length,n=Xe(e[o+1]),n=n?n.split("-"):null;t>0;){if(r=Qe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&k(i,n,!0)>=t-1)break;t--}o++}return null}function Qe(n){var r=null;if(!Ei[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=ji._abbr,e("./locale/"+n),et(r)}catch(e){}return Ei[n]}function et(e,t){var n;return e&&(n=g(t)?rt(e):tt(e,t),n&&(ji=n)),ji._abbr}function tt(e,t){if(null!==t){var n=Di;if(t.abbr=e,null!=Ei[e])j("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Ei[e]._config;else if(null!=t.parentLocale){if(null==Ei[t.parentLocale])return Mi[t.parentLocale]||(Mi[t.parentLocale]=[]),Mi[t.parentLocale].push({name:e,config:t}),null;n=Ei[t.parentLocale]._config}return Ei[e]=new E(D(n,t)),Mi[e]&&Mi[e].forEach(function(e){tt(e.name,e.config)}),et(e),Ei[e]}return delete Ei[e],null}function nt(e,t){if(null!=t){var n,r=Di;null!=Ei[e]&&(r=Ei[e]._config),t=D(r,t),n=new E(t),n.parentLocale=Ei[e],Ei[e]=n,et(e)}else null!=Ei[e]&&(null!=Ei[e].parentLocale?Ei[e]=Ei[e].parentLocale:null!=Ei[e]&&delete Ei[e]);return Ei[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ji;if(!i(e)){if(t=Qe(e))return t;e=[e]}return Ke(e)}function it(){return Tr(Ei)}function ot(e){var t,n=e._a;return n&&p(e).overflow===-2&&(t=n[ii]<0||n[ii]>11?ii:n[oi]<1||n[oi]>ae(n[ri],n[ii])?oi:n[ai]<0||n[ai]>24||24===n[ai]&&(0!==n[si]||0!==n[ui]||0!==n[li])?ai:n[si]<0||n[si]>59?si:n[ui]<0||n[ui]>59?ui:n[li]<0||n[li]>999?li:-1,p(e)._overflowDayOfYear&&(t<ri||t>oi)&&(t=oi),p(e)._overflowWeeks&&t===-1&&(t=ci),p(e)._overflowWeekday&&t===-1&&(t=fi),p(e).overflow=t),e}function at(e){var t,n,r,i,o,a,s=e._i,u=Ni.exec(s)||Ai.exec(s);if(u){for(p(e).iso=!0,t=0,n=Li.length;t<n;t++)if(Li[t][1].exec(u[1])){i=Li[t][0],r=Li[t][2]!==!1;break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=Pi.length;t<n;t++)if(Pi[t][1].exec(u[3])){o=(u[2]||" ")+Pi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!Ri.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),ht(e)}else e._isValid=!1}function st(e){var t=Yi.exec(e._i);return null!==t?void(e._d=new Date(+t[1])):(at(e),void(e._isValid===!1&&(delete e._isValid,n.createFromInputFallback(e))))}function ut(e,t,n){return null!=e?e:null!=t?t:n}function lt(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function ct(e){var t,n,r,i,o=[];if(!e._d){for(r=lt(e),e._w&&null==e._a[oi]&&null==e._a[ii]&&ft(e),e._dayOfYear&&(i=ut(e._a[ri],r[ri]),e._dayOfYear>ge(i)&&(p(e)._overflowDayOfYear=!0),n=_e(i,0,e._dayOfYear),e._a[ii]=n.getUTCMonth(),e._a[oi]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];
for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ai]&&0===e._a[si]&&0===e._a[ui]&&0===e._a[li]&&(e._nextDay=!0,e._a[ai]=0),e._d=(e._useUTC?_e:we).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ai]=24)}}function ft(e){var t,n,r,i,o,a,s,u;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=ut(t.GG,e._a[ri],Se(wt(),1,4).year),r=ut(t.W,1),i=ut(t.E,1),(i<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var l=Se(wt(),o,a);n=ut(t.gg,e._a[ri],l.year),r=ut(t.w,l.week),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>Te(n,o,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[ri]=s.year,e._dayOfYear=s.dayOfYear)}function ht(e){if(e._f===n.ISO_8601)return void at(e);e._a=[],p(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=K(e._f,e._locale).match(Rr)||[],t=0;t<i.length;t++)o=i[t],r=(s.match(ee(o,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Yr[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),oe(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=u-l,s.length>0&&p(e).unusedInput.push(s),e._a[ai]<=12&&p(e).bigHour===!0&&e._a[ai]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[ai]=dt(e._locale,e._a[ai],e._meridiem),ct(e),ot(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],ht(t),m(t)&&(o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,(null==r||o<r)&&(r=o,n=t));f(e,n||t)}function mt(e){if(!e._d){var t=q(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ct(e)}}function vt(e){var t=new b(ot(gt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function gt(e){var t=e._i,n=e._f;return e._locale=e._locale||rt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new b(ot(t)):(u(t)?e._d=t:i(n)?pt(e):n?ht(e):yt(e),m(e)||(e._d=null),e))}function yt(e){var t=e._i;void 0===t?e._d=new Date(n.now()):u(t)?e._d=new Date(t.valueOf()):"string"==typeof t?st(e):i(t)?(e._a=l(t.slice(0),function(e){return parseInt(e,10)}),ct(e)):"object"==typeof t?mt(e):s(t)?e._d=new Date(t):n.createFromInputFallback(e)}function bt(e,t,n,r,s){var u={};return n!==!0&&n!==!1||(r=n,n=void 0),(o(e)&&a(e)||i(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=n,u._i=e,u._f=t,u._strict=r,vt(u)}function wt(e,t,n,r){return bt(e,t,n,r,!1)}function _t(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return wt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function xt(){var e=[].slice.call(arguments,0);return _t("isBefore",e)}function kt(){var e=[].slice.call(arguments,0);return _t("isAfter",e)}function St(e){var t=q(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=rt(),this._bubble()}function Tt(e){return e instanceof St}function jt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Ct(e,t){V(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+G(~~(e/60),2)+t+G(~~e%60,2)})}function Ot(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],i=(r+"").match(Wi)||["-",0,0],o=+(60*i[1])+x(i[2]);return 0===o?0:"+"===i[0]?o:-o}function Dt(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(w(e)||u(e)?e.valueOf():wt(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):wt(e).local()}function Et(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Mt(e,t){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(e=Ot(Kr,e),null===e)return this}else Math.abs(e)<16&&(e*=60);return!this._isUTC&&t&&(r=Et(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Gt(this,It(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Et(this)}function Nt(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function At(e){return this.utcOffset(0,e)}function Rt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Et(this),"m")),this}function Lt(){if(null!=this._tzm)this.utcOffset(this._tzm);else if("string"==typeof this._i){var e=Ot(Xr,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Pt(e){return!!this.isValid()&&(e=e?wt(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Yt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ft(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),e=gt(e),e._a){var t=e._isUTC?h(e._a):wt(e._a);this._isDSTShifted=this.isValid()&&k(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function qt(){return!!this.isValid()&&!this._isUTC}function Ht(){return!!this.isValid()&&this._isUTC}function Wt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function It(e,t){var n,r,i,o=e,a=null;return Tt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=Ii.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:x(a[oi])*n,h:x(a[ai])*n,m:x(a[si])*n,s:x(a[ui])*n,ms:x(jt(1e3*a[li]))*n}):(a=Ui.exec(e))?(n="-"===a[1]?-1:1,o={y:Ut(a[2],n),M:Ut(a[3],n),w:Ut(a[4],n),d:Ut(a[5],n),h:Ut(a[6],n),m:Ut(a[7],n),s:Ut(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=zt(wt(o.from),wt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new St(o),Tt(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Ut(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function $t(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function zt(e,t){var n;return e.isValid()&&t.isValid()?(t=Dt(t,e),e.isBefore(t)?n=$t(e,t):(n=$t(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Bt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(j(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=It(n,r),Gt(this,i,e),this}}function Gt(e,t,r,i){var o=t._milliseconds,a=jt(t._days),s=jt(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&$(e,"Date",U(e,"Date")+a*r),s&&fe(e,U(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Vt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Zt(e,t){var r=e||wt(),i=Dt(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(C(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,wt(r)))}function Jt(){return new b(this)}function Xt(e,t){var n=w(e)?e:wt(e);return!(!this.isValid()||!n.isValid())&&(t=F(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Kt(e,t){var n=w(e)?e:wt(e);return!(!this.isValid()||!n.isValid())&&(t=F(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Qt(e,t,n,r){return r=r||"()",("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function en(e,t){var n,r=w(e)?e:wt(e);return!(!this.isValid()||!r.isValid())&&(t=F(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function tn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function nn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function rn(e,t,n){var r,i,o,a;return this.isValid()?(r=Dt(e,this),r.isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),t=F(t),"year"===t||"month"===t||"quarter"===t?(a=on(this,r),"quarter"===t?a/=3:"year"===t&&(a/=12)):(o=this-r,a="second"===t?o/1e3:"minute"===t?o/6e4:"hour"===t?o/36e5:"day"===t?(o-i)/864e5:"week"===t?(o-i)/6048e5:o),n?a:_(a)):NaN):NaN}function on(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),o=e.clone().add(i,"months");return t-o<0?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function an(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function sn(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?C(Date.prototype.toISOString)?this.toDate().toISOString():X(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):X(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function un(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]';return this.format(n+r+i+o)}function ln(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=X(this,e);return this.localeData().postformat(t)}function cn(e,t){return this.isValid()&&(w(e)&&e.isValid()||wt(e).isValid())?It({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function fn(e){return this.from(wt(),e)}function hn(e,t){return this.isValid()&&(w(e)&&e.isValid()||wt(e).isValid())?It({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function dn(e){return this.to(wt(),e)}function pn(e){var t;return void 0===e?this._locale._abbr:(t=rt(e),null!=t&&(this._locale=t),this)}function mn(){return this._locale}function vn(e){switch(e=F(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function gn(e){return e=F(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function yn(){return this._d.valueOf()-6e4*(this._offset||0)}function bn(){return Math.floor(this.valueOf()/1e3)}function wn(){return new Date(this.valueOf())}function _n(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function xn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function kn(){return this.isValid()?this.toISOString():null}function Sn(){return m(this)}function Tn(){return f({},p(this))}function jn(){return p(this).overflow}function Cn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function On(e,t){V(0,[e,e.length],0,t)}function Dn(e){return An.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function En(e){return An.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Mn(){return Te(this.year(),1,4)}function Nn(){var e=this.localeData()._week;return Te(this.year(),e.dow,e.doy)}function An(e,t,n,r,i){var o;return null==e?Se(this,r,i).year:(o=Te(e,r,i),t>o&&(t=o),Rn.call(this,e,t,n,r,i))}function Rn(e,t,n,r,i){var o=ke(e,t,n,r,i),a=_e(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Ln(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Pn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Yn(e,t){t[li]=x(1e3*("0."+e))}function Fn(){return this._isUTC?"UTC":""}function qn(){return this._isUTC?"Coordinated Universal Time":""}function Hn(e){return wt(1e3*e)}function Wn(){return wt.apply(null,arguments).parseZone()}function In(e){return e}function Un(e,t,n,r){var i=rt(),o=h().set(r,t);return i[n](o,e)}function $n(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Un(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Un(e,r,n,"month");return i}function zn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i=rt(),o=e?i._week.dow:0;if(null!=n)return Un(t,(n+o)%7,r,"day");var a,u=[];for(a=0;a<7;a++)u[a]=Un(t,(a+o)%7,r,"day");return u}function Bn(e,t){return $n(e,t,"months")}function Gn(e,t){return $n(e,t,"monthsShort")}function Vn(e,t,n){return zn(e,t,n,"weekdays")}function Zn(e,t,n){return zn(e,t,n,"weekdaysShort")}function Jn(e,t,n){return zn(e,t,n,"weekdaysMin")}function Xn(){var e=this._data;return this._milliseconds=eo(this._milliseconds),this._days=eo(this._days),this._months=eo(this._months),e.milliseconds=eo(e.milliseconds),e.seconds=eo(e.seconds),e.minutes=eo(e.minutes),e.hours=eo(e.hours),e.months=eo(e.months),e.years=eo(e.years),this}function Kn(e,t,n,r){var i=It(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Qn(e,t){return Kn(this,e,t,1)}function er(e,t){return Kn(this,e,t,-1)}function tr(e){return e<0?Math.floor(e):Math.ceil(e)}function nr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*tr(ir(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=_(o/1e3),u.seconds=e%60,t=_(e/60),u.minutes=t%60,n=_(t/60),u.hours=n%24,a+=_(n/24),i=_(rr(a)),s+=i,a-=tr(ir(i)),r=_(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function rr(e){return 4800*e/146097}function ir(e){return 146097*e/4800}function or(e){var t,n,r=this._milliseconds;if(e=F(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+rr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ir(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function ar(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function sr(e){return function(){return this.as(e)}}function ur(e){return e=F(e),this[e+"s"]()}function lr(e){return function(){return this._data[e]}}function cr(){return _(this.days()/7)}function fr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function hr(e,t,n){var r=It(e).abs(),i=go(r.as("s")),o=go(r.as("m")),a=go(r.as("h")),s=go(r.as("d")),u=go(r.as("M")),l=go(r.as("y")),c=i<yo.s&&["s",i]||o<=1&&["m"]||o<yo.m&&["mm",o]||a<=1&&["h"]||a<yo.h&&["hh",a]||s<=1&&["d"]||s<yo.d&&["dd",s]||u<=1&&["M"]||u<yo.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,fr.apply(null,c)}function dr(e){return void 0===e?go:"function"==typeof e&&(go=e,!0)}function pr(e,t){return void 0!==yo[e]&&(void 0===t?yo[e]:(yo[e]=t,!0))}function mr(e){var t=this.localeData(),n=hr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function vr(){var e,t,n,r=bo(this._milliseconds)/1e3,i=bo(this._days),o=bo(this._months);e=_(r/60),t=_(e/60),r%=60,e%=60,n=_(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,h=this.asSeconds();return h?(h<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||f?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(f?f+"S":""):"P0D"}var gr,yr;yr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var br=yr,wr=n.momentProperties=[],_r=!1,xr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var kr;kr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var Sr,Tr=kr,jr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Cr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Or="Invalid date",Dr="%d",Er=/\d{1,2}/,Mr={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Nr={},Ar={},Rr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Lr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Pr={},Yr={},Fr=/\d/,qr=/\d\d/,Hr=/\d{3}/,Wr=/\d{4}/,Ir=/[+-]?\d{6}/,Ur=/\d\d?/,$r=/\d\d\d\d?/,zr=/\d\d\d\d\d\d?/,Br=/\d{1,3}/,Gr=/\d{1,4}/,Vr=/[+-]?\d{1,6}/,Zr=/\d+/,Jr=/[+-]?\d+/,Xr=/Z|[+-]\d\d:?\d\d/gi,Kr=/Z|[+-]\d\d(?::?\d\d)?/gi,Qr=/[+-]?\d+(\.\d{1,3})?/,ei=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ti={},ni={},ri=0,ii=1,oi=2,ai=3,si=4,ui=5,li=6,ci=7,fi=8;Sr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};var hi=Sr;V("M",["MM",2],"Mo",function(){return this.month()+1}),V("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),V("MMMM",0,0,function(e){return this.localeData().months(this,e)}),Y("month","M"),H("month",8),Q("M",Ur),Q("MM",Ur,qr),Q("MMM",function(e,t){return t.monthsShortRegex(e)}),Q("MMMM",function(e,t){return t.monthsRegex(e)}),re(["M","MM"],function(e,t){t[ii]=x(e)-1}),re(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[ii]=i:p(n).invalidMonth=e});var di=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,pi="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),mi="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),vi=ei,gi=ei;V("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),V(0,["YY",2],0,function(){return this.year()%100}),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),Y("year","y"),H("year",1),Q("Y",Jr),Q("YY",Ur,qr),Q("YYYY",Gr,Wr),Q("YYYYY",Vr,Ir),Q("YYYYYY",Vr,Ir),re(["YYYYY","YYYYYY"],ri),re("YYYY",function(e,t){t[ri]=2===e.length?n.parseTwoDigitYear(e):x(e)}),re("YY",function(e,t){t[ri]=n.parseTwoDigitYear(e)}),re("Y",function(e,t){t[ri]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return x(e)+(x(e)>68?1900:2e3)};var yi=I("FullYear",!0);V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),Y("week","w"),Y("isoWeek","W"),H("week",5),H("isoWeek",5),Q("w",Ur),Q("ww",Ur,qr),Q("W",Ur),Q("WW",Ur,qr),ie(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=x(e)});var bi={dow:0,doy:6};V("d",0,"do","day"),V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),Y("day","d"),Y("weekday","e"),Y("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),Q("d",Ur),Q("e",Ur),Q("E",Ur),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),ie(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),ie(["d","e","E"],function(e,t,n,r){t[r]=x(e)});var wi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_i="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ki=ei,Si=ei,Ti=ei;V("H",["HH",2],0,"hour"),V("h",["hh",2],0,ze),V("k",["kk",2],0,Be),V("hmm",0,0,function(){return""+ze.apply(this)+G(this.minutes(),2)}),V("hmmss",0,0,function(){return""+ze.apply(this)+G(this.minutes(),2)+G(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+G(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+G(this.minutes(),2)+G(this.seconds(),2)}),Ge("a",!0),Ge("A",!1),Y("hour","h"),H("hour",13),Q("a",Ve),Q("A",Ve),Q("H",Ur),Q("h",Ur),Q("HH",Ur,qr),Q("hh",Ur,qr),Q("hmm",$r),Q("hmmss",zr),Q("Hmm",$r),Q("Hmmss",zr),re(["H","HH"],ai),re(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),re(["h","hh"],function(e,t,n){t[ai]=x(e),p(n).bigHour=!0}),re("hmm",function(e,t,n){var r=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r)),p(n).bigHour=!0}),re("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r,2)),t[ui]=x(e.substr(i)),p(n).bigHour=!0}),re("Hmm",function(e,t,n){var r=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r))}),re("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r,2)),t[ui]=x(e.substr(i))});var ji,Ci=/[ap]\.?m?\.?/i,Oi=I("Hours",!0),Di={calendar:jr,longDateFormat:Cr,invalidDate:Or,ordinal:Dr,ordinalParse:Er,relativeTime:Mr,months:pi,monthsShort:mi,week:bi,weekdays:wi,weekdaysMin:xi,weekdaysShort:_i,meridiemParse:Ci},Ei={},Mi={},Ni=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ai=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ri=/Z|[+-]\d\d(?::?\d\d)?/,Li=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Pi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Yi=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=T("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Fi=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),qi=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=wt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}),Hi=function(){return Date.now?Date.now():+new Date};Ct("Z",":"),Ct("ZZ",""),Q("Z",Kr),Q("ZZ",Kr),re(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ot(Kr,e)});var Wi=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Ii=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ui=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;It.fn=St.prototype;var $i=Bt(1,"add"),zi=Bt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Bi=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),On("gggg","weekYear"),On("ggggg","weekYear"),On("GGGG","isoWeekYear"),On("GGGGG","isoWeekYear"),Y("weekYear","gg"),Y("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),Q("G",Jr),Q("g",Jr),Q("GG",Ur,qr),Q("gg",Ur,qr),Q("GGGG",Gr,Wr),Q("gggg",Gr,Wr),Q("GGGGG",Vr,Ir),Q("ggggg",Vr,Ir),ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),ie(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),V("Q",0,"Qo","quarter"),Y("quarter","Q"),H("quarter",7),Q("Q",Fr),re("Q",function(e,t){t[ii]=3*(x(e)-1)}),V("D",["DD",2],"Do","date"),Y("date","D"),H("date",9),Q("D",Ur),Q("DD",Ur,qr),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),re(["D","DD"],oi),re("Do",function(e,t){t[oi]=x(e.match(Ur)[0],10)});var Gi=I("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),Y("dayOfYear","DDD"),H("dayOfYear",4),Q("DDD",Br),Q("DDDD",Hr),re(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),V("m",["mm",2],0,"minute"),Y("minute","m"),H("minute",14),Q("m",Ur),Q("mm",Ur,qr),re(["m","mm"],si);var Vi=I("Minutes",!1);V("s",["ss",2],0,"second"),Y("second","s"),H("second",15),Q("s",Ur),Q("ss",Ur,qr),re(["s","ss"],ui);var Zi=I("Seconds",!1);V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Y("millisecond","ms"),H("millisecond",16),Q("S",Br,Fr),Q("SS",Br,qr),Q("SSS",Br,Hr);var Ji;for(Ji="SSSS";Ji.length<=9;Ji+="S")Q(Ji,Zr);for(Ji="S";Ji.length<=9;Ji+="S")re(Ji,Yn);var Xi=I("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var Ki=b.prototype;Ki.add=$i,Ki.calendar=Zt,Ki.clone=Jt,Ki.diff=rn,Ki.endOf=gn,Ki.format=ln,Ki.from=cn,Ki.fromNow=fn,Ki.to=hn,Ki.toNow=dn,Ki.get=z,Ki.invalidAt=jn,Ki.isAfter=Xt,Ki.isBefore=Kt,Ki.isBetween=Qt,Ki.isSame=en,Ki.isSameOrAfter=tn,Ki.isSameOrBefore=nn,Ki.isValid=Sn,Ki.lang=Bi,Ki.locale=pn,Ki.localeData=mn,Ki.max=qi,Ki.min=Fi,Ki.parsingFlags=Tn,Ki.set=B,Ki.startOf=vn,Ki.subtract=zi,Ki.toArray=_n,Ki.toObject=xn,Ki.toDate=wn,Ki.toISOString=sn,Ki.inspect=un,Ki.toJSON=kn,Ki.toString=an,Ki.unix=bn,Ki.valueOf=yn,Ki.creationData=Cn,Ki.year=yi,Ki.isLeapYear=be,Ki.weekYear=Dn,Ki.isoWeekYear=En,Ki.quarter=Ki.quarters=Ln,Ki.month=he,Ki.daysInMonth=de,Ki.week=Ki.weeks=De,Ki.isoWeek=Ki.isoWeeks=Ee,Ki.weeksInYear=Nn,Ki.isoWeeksInYear=Mn,Ki.date=Gi,Ki.day=Ki.days=Fe,Ki.weekday=qe,Ki.isoWeekday=He,Ki.dayOfYear=Pn,Ki.hour=Ki.hours=Oi,Ki.minute=Ki.minutes=Vi,Ki.second=Ki.seconds=Zi,Ki.millisecond=Ki.milliseconds=Xi,Ki.utcOffset=Mt,Ki.utc=At,Ki.local=Rt,Ki.parseZone=Lt,Ki.hasAlignedHourOffset=Pt,Ki.isDST=Yt,Ki.isLocal=qt,Ki.isUtcOffset=Ht,Ki.isUtc=Wt,Ki.isUTC=Wt,Ki.zoneAbbr=Fn,Ki.zoneName=qn,Ki.dates=T("dates accessor is deprecated. Use date instead.",Gi),Ki.months=T("months accessor is deprecated. Use month instead",he),Ki.years=T("years accessor is deprecated. Use year instead",yi),Ki.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Nt),Ki.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ft);var Qi=E.prototype;Qi.calendar=M,Qi.longDateFormat=N,Qi.invalidDate=A,Qi.ordinal=R,Qi.preparse=In,Qi.postformat=In,Qi.relativeTime=L,Qi.pastFuture=P,Qi.set=O,Qi.months=se,Qi.monthsShort=ue,Qi.monthsParse=ce,Qi.monthsRegex=me,Qi.monthsShortRegex=pe,Qi.week=je,Qi.firstDayOfYear=Oe,Qi.firstDayOfWeek=Ce,Qi.weekdays=Ae,Qi.weekdaysMin=Le,Qi.weekdaysShort=Re,Qi.weekdaysParse=Ye,Qi.weekdaysRegex=We,Qi.weekdaysShortRegex=Ie,Qi.weekdaysMinRegex=Ue,Qi.isPM=Ze,Qi.meridiem=Je,et("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=T("moment.lang is deprecated. Use moment.locale instead.",et),n.langData=T("moment.langData is deprecated. Use moment.localeData instead.",rt);var eo=Math.abs,to=sr("ms"),no=sr("s"),ro=sr("m"),io=sr("h"),oo=sr("d"),ao=sr("w"),so=sr("M"),uo=sr("y"),lo=lr("milliseconds"),co=lr("seconds"),fo=lr("minutes"),ho=lr("hours"),po=lr("days"),mo=lr("months"),vo=lr("years"),go=Math.round,yo={s:45,m:45,h:22,d:26,M:11},bo=Math.abs,wo=St.prototype;return wo.abs=Xn,wo.add=Qn,wo.subtract=er,wo.as=or,wo.asMilliseconds=to,wo.asSeconds=no,wo.asMinutes=ro,wo.asHours=io,wo.asDays=oo,wo.asWeeks=ao,wo.asMonths=so,wo.asYears=uo,wo.valueOf=ar,wo._bubble=nr,wo.get=ur,wo.milliseconds=lo,wo.seconds=co,wo.minutes=fo,wo.hours=ho,wo.days=po,wo.weeks=cr,wo.months=mo,wo.years=vo,wo.humanize=mr,wo.toISOString=vr,wo.toString=vr,wo.toJSON=vr,wo.locale=pn,wo.localeData=mn,wo.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",vr),wo.lang=Bi,V("X",0,0,"unix"),V("x",0,0,"valueOf"),Q("x",Jr),Q("X",Qr),re("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),re("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.16.0",r(wt),n.fn=Ki,n.min=xt,n.max=kt,n.now=Hi,n.utc=h,n.unix=Hn,n.months=Bn,n.isDate=u,n.locale=et,n.invalid=v,n.duration=It,n.isMoment=w,n.weekdays=Vn,n.parseZone=Wn,n.localeData=rt,n.isDuration=Tt,n.monthsShort=Gn,n.weekdaysMin=Jn,n.defineLocale=tt,n.updateLocale=nt,n.locales=it,n.weekdaysShort=Zn,n.normalizeUnits=F,n.relativeTimeRounding=dr,n.relativeTimeThreshold=pr,n.calendarFormat=Vt,n.prototype=Ki,n})}),Lh=n(function(e,t){(function(){function n(e,t,n){for(var r=(n||0)-1,i=e?e.length:0;++r<i;)if(e[r]===t)return r;return-1}function r(e,t){var r=typeof t;if(e=e.cache,"boolean"==r||null==t)return e[t]?0:-1;"number"!=r&&"string"!=r&&(r="object");var i="number"==r?t:b+t;return e=(e=e[r])&&e[i],"object"==r?e&&n(e,t)>-1?0:-1:e?0:-1}function i(e){var t=this.cache,n=typeof e;if("boolean"==n||null==e)t[e]=!0;else{"number"!=n&&"string"!=n&&(n="object");var r="number"==n?e:b+e,i=t[n]||(t[n]={});"object"==n?(i[r]||(i[r]=[])).push(e):i[r]=!0}}function o(e){return e.charCodeAt(0)}function a(e,t){for(var n=e.criteria,r=t.criteria,i=-1,o=n.length;++i<o;){var a=n[i],s=r[i];if(a!==s){if(a>s||"undefined"==typeof a)return 1;if(a<s||"undefined"==typeof s)return-1}}return e.index-t.index}function s(e){var t=-1,n=e.length,r=e[0],o=e[n/2|0],a=e[n-1];if(r&&"object"==typeof r&&o&&"object"==typeof o&&a&&"object"==typeof a)return!1;var s=c();s.false=s.null=s.true=s.undefined=!1;var u=c();for(u.array=e,u.cache=s,u.push=i;++t<n;)u.push(e[t]);return u}function u(e){return"\\"+Z[e]}function l(){return v.pop()||[]}function c(){return g.pop()||{array:null,cache:null,criteria:null,false:!1,index:0,null:!1,number:null,object:null,push:null,string:null,true:!1,undefined:!1,value:null}}function f(e){e.length=0,v.length<_&&v.push(e)}function h(e){var t=e.cache;t&&h(t),e.array=e.cache=e.criteria=e.object=e.number=e.string=e.value=null,g.length<_&&g.push(e)}function d(e,t,n){t||(t=0),"undefined"==typeof n&&(n=e?e.length:0);for(var r=-1,i=n-t||0,o=Array(i<0?0:i);++r<i;)o[r]=e[t+r];return o}function p(e){function t(e){return e&&"object"==typeof e&&!Kn(e)&&Rn.call(e,"__wrapped__")?e:new i(e)}function i(e,t){this.__chain__=!!t,this.__wrapped__=e}function v(e){function t(){if(r){var e=d(r);Ln.apply(e,arguments)}if(this instanceof t){var o=_(n.prototype),a=n.apply(o,e||arguments);return Ee(a)?a:o}return n.apply(i,e||arguments)}var n=e[0],r=e[2],i=e[4];return Xn(t,e),t}function g(e,t,n,r,i){if(n){var o=n(e);if("undefined"!=typeof o)return o}var a=Ee(e);if(!a)return e;var s=Cn.call(e);
if(!z[s])return e;var u=Zn[s];switch(s){case F:case q:return new u(+e);case W:case $:return new u(e);case U:return o=u(e.source,C.exec(e)),o.lastIndex=e.lastIndex,o}var c=Kn(e);if(t){var h=!r;r||(r=l()),i||(i=l());for(var p=r.length;p--;)if(r[p]==e)return i[p];o=c?u(e.length):{}}else o=c?d(e):or({},e);return c&&(Rn.call(e,"index")&&(o.index=e.index),Rn.call(e,"input")&&(o.input=e.input)),t?(r.push(e),i.push(o),(c?Je:ur)(e,function(e,a){o[a]=g(e,t,n,r,i)}),h&&(f(r),f(i)),o):o}function _(e,t){return Ee(e)?Hn(e):{}}function Z(e,t,n){if("function"!=typeof e)return Xt;if("undefined"==typeof t||!("prototype"in e))return e;var r=e.__bindData__;if("undefined"==typeof r&&(Jn.funcNames&&(r=!e.name),r=r||!Jn.funcDecomp,!r)){var i=Nn.call(e);Jn.funcNames||(r=!O.test(i)),r||(r=N.test(i),Xn(e,r))}if(r===!1||r!==!0&&1&r[1])return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)}}return Rt(e,t)}function X(e){function t(){var e=u?a:this;if(i){var p=d(i);Ln.apply(p,arguments)}if((o||c)&&(p||(p=d(arguments)),o&&Ln.apply(p,o),c&&p.length<s))return r|=16,X([n,f?r:r&-4,p,null,a,s]);if(p||(p=arguments),l&&(n=e[h]),this instanceof t){e=_(n.prototype);var m=n.apply(e,p);return Ee(m)?m:e}return n.apply(e,p)}var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],u=1&r,l=2&r,c=4&r,f=8&r,h=n;return Xn(t,e),t}function K(e,t){var i=-1,o=ue(),a=e?e.length:0,u=a>=w&&o===n,l=[];if(u){var c=s(t);c?(o=r,t=c):u=!1}for(;++i<a;){var f=e[i];o(t,f)<0&&l.push(f)}return u&&h(t),l}function Q(e,t,n,r){for(var i=(r||0)-1,o=e?e.length:0,a=[];++i<o;){var s=e[i];if(s&&"object"==typeof s&&"number"==typeof s.length&&(Kn(s)||he(s))){t||(s=Q(s,t,n));var u=-1,l=s.length,c=a.length;for(a.length+=l;++u<l;)a[c++]=s[u]}else n||a.push(s)}return a}function ee(e,t,n,r,i,o){if(n){var a=n(e,t);if("undefined"!=typeof a)return!!a}if(e===t)return 0!==e||1/e==1/t;var s=typeof e,u=typeof t;if(!(e!==e||e&&V[s]||t&&V[u]))return!1;if(null==e||null==t)return e===t;var c=Cn.call(e),h=Cn.call(t);if(c==P&&(c=I),h==P&&(h=I),c!=h)return!1;switch(c){case F:case q:return+e==+t;case W:return e!=+e?t!=+t:0==e?1/e==1/t:e==+t;case U:case $:return e==xn(t)}var d=c==Y;if(!d){var p=Rn.call(e,"__wrapped__"),m=Rn.call(t,"__wrapped__");if(p||m)return ee(p?e.__wrapped__:e,m?t.__wrapped__:t,n,r,i,o);if(c!=I)return!1;var v=e.constructor,g=t.constructor;if(v!=g&&!(De(v)&&v instanceof v&&De(g)&&g instanceof g)&&"constructor"in e&&"constructor"in t)return!1}var y=!i;i||(i=l()),o||(o=l());for(var b=i.length;b--;)if(i[b]==e)return o[b]==t;var w=0;if(a=!0,i.push(e),o.push(t),d){if(b=e.length,w=t.length,a=w==b,a||r)for(;w--;){var _=b,x=t[w];if(r)for(;_--&&!(a=ee(e[_],x,n,r,i,o)););else if(!(a=ee(e[w],x,n,r,i,o)))break}}else sr(t,function(t,s,u){if(Rn.call(u,s))return w++,a=Rn.call(e,s)&&ee(e[s],t,n,r,i,o)}),a&&!r&&sr(e,function(e,t,n){if(Rn.call(n,t))return a=--w>-1});return i.pop(),o.pop(),y&&(f(i),f(o)),a}function ne(e,t,n,r,i){(Kn(t)?Je:ur)(t,function(t,o){var a,s,u=t,l=e[o];if(t&&((s=Kn(t))||lr(t))){for(var c=r.length;c--;)if(a=r[c]==t){l=i[c];break}if(!a){var f;n&&(u=n(l,t),(f="undefined"!=typeof u)&&(l=u)),f||(l=s?Kn(l)?l:[]:lr(l)?l:{}),r.push(t),i.push(l),f||ne(l,t,n,r,i)}}else n&&(u=n(l,t),"undefined"==typeof u&&(u=t)),"undefined"!=typeof u&&(l=u);e[o]=l})}function re(e,t){return e+Mn(Vn()*(t-e+1))}function ie(e,t,i){var o=-1,a=ue(),u=e?e.length:0,c=[],d=!t&&u>=w&&a===n,p=i||d?l():c;if(d){var m=s(p);a=r,p=m}for(;++o<u;){var v=e[o],g=i?i(v,o,e):v;(t?!o||p[p.length-1]!==g:a(p,g)<0)&&((i||d)&&p.push(g),c.push(v))}return d?(f(p.array),h(p)):i&&f(p),c}function oe(e){return function(n,r,i){var o={};r=t.createCallback(r,i,3);var a=-1,s=n?n.length:0;if("number"==typeof s)for(;++a<s;){var u=n[a];e(o,u,r(u,a,n),n)}else ur(n,function(t,n,i){e(o,t,r(t,n,i),i)});return o}}function ae(e,t,n,r,i,o){var a=1&t,s=2&t,u=4&t,l=16&t,c=32&t;if(!s&&!De(e))throw new kn;l&&!n.length&&(t&=-17,l=n=!1),c&&!r.length&&(t&=-33,c=r=!1);var f=e&&e.__bindData__;if(f&&f!==!0)return f=d(f),f[2]&&(f[2]=d(f[2])),f[3]&&(f[3]=d(f[3])),!a||1&f[1]||(f[4]=i),!a&&1&f[1]&&(t|=8),!u||4&f[1]||(f[5]=o),l&&Ln.apply(f[2]||(f[2]=[]),n),c&&Fn.apply(f[3]||(f[3]=[]),r),f[1]|=t,ae.apply(null,f);var h=1==t||17===t?v:X;return h([e,t,n,r,i,o])}function se(e){return tr[e]}function ue(){var e=(e=t.indexOf)===gt?n:e;return e}function le(e){return"function"==typeof e&&On.test(e)}function ce(e){var t,n;return!!(e&&Cn.call(e)==I&&(t=e.constructor,!De(t)||t instanceof t))&&(sr(e,function(e,t){n=t}),"undefined"==typeof n||Rn.call(e,n))}function fe(e){return nr[e]}function he(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Cn.call(e)==P||!1}function de(e,t,n,r){return"boolean"!=typeof t&&null!=t&&(r=n,n=t,t=!1),g(e,t,"function"==typeof n&&Z(n,r,1))}function pe(e,t,n){return g(e,!0,"function"==typeof t&&Z(t,n,1))}function me(e,t){var n=_(e);return t?or(n,t):n}function ve(e,n,r){var i;return n=t.createCallback(n,r,3),ur(e,function(e,t,r){if(n(e,t,r))return i=t,!1}),i}function ge(e,n,r){var i;return n=t.createCallback(n,r,3),be(e,function(e,t,r){if(n(e,t,r))return i=t,!1}),i}function ye(e,t,n){var r=[];sr(e,function(e,t){r.push(t,e)});var i=r.length;for(t=Z(t,n,3);i--&&t(r[i--],r[i],e)!==!1;);return e}function be(e,t,n){var r=er(e),i=r.length;for(t=Z(t,n,3);i--;){var o=r[i];if(t(e[o],o,e)===!1)break}return e}function we(e){var t=[];return sr(e,function(e,n){De(e)&&t.push(n)}),t.sort()}function _e(e,t){return!!e&&Rn.call(e,t)}function xe(e){for(var t=-1,n=er(e),r=n.length,i={};++t<r;){var o=n[t];i[e[o]]=o}return i}function ke(e){return e===!0||e===!1||e&&"object"==typeof e&&Cn.call(e)==F||!1}function Se(e){return e&&"object"==typeof e&&Cn.call(e)==q||!1}function Te(e){return e&&1===e.nodeType||!1}function je(e){var t=!0;if(!e)return t;var n=Cn.call(e),r=e.length;return n==Y||n==$||n==P||n==I&&"number"==typeof r&&De(e.splice)?!r:(ur(e,function(){return t=!1}),t)}function Ce(e,t,n,r){return ee(e,t,"function"==typeof n&&Z(n,r,2))}function Oe(e){return In(e)&&!Un(parseFloat(e))}function De(e){return"function"==typeof e}function Ee(e){return!(!e||!V[typeof e])}function Me(e){return Ae(e)&&e!=+e}function Ne(e){return null===e}function Ae(e){return"number"==typeof e||e&&"object"==typeof e&&Cn.call(e)==W||!1}function Re(e){return e&&"object"==typeof e&&Cn.call(e)==U||!1}function Le(e){return"string"==typeof e||e&&"object"==typeof e&&Cn.call(e)==$||!1}function Pe(e){return"undefined"==typeof e}function Ye(e,n,r){var i={};return n=t.createCallback(n,r,3),ur(e,function(e,t,r){i[t]=n(e,t,r)}),i}function Fe(e){var t=arguments,n=2;if(!Ee(e))return e;if("number"!=typeof t[2]&&(n=t.length),n>3&&"function"==typeof t[n-2])var r=Z(t[--n-1],t[n--],2);else n>2&&"function"==typeof t[n-1]&&(r=t[--n]);for(var i=d(arguments,1,n),o=-1,a=l(),s=l();++o<n;)ne(e,i[o],r,a,s);return f(a),f(s),e}function qe(e,n,r){var i={};if("function"!=typeof n){var o=[];sr(e,function(e,t){o.push(t)}),o=K(o,Q(arguments,!0,!1,1));for(var a=-1,s=o.length;++a<s;){var u=o[a];i[u]=e[u]}}else n=t.createCallback(n,r,3),sr(e,function(e,t,r){n(e,t,r)||(i[t]=e)});return i}function He(e){for(var t=-1,n=er(e),r=n.length,i=pn(r);++t<r;){var o=n[t];i[t]=[o,e[o]]}return i}function We(e,n,r){var i={};if("function"!=typeof n)for(var o=-1,a=Q(arguments,!0,!1,1),s=Ee(e)?a.length:0;++o<s;){var u=a[o];u in e&&(i[u]=e[u])}else n=t.createCallback(n,r,3),sr(e,function(e,t,r){n(e,t,r)&&(i[t]=e)});return i}function Ie(e,n,r,i){var o=Kn(e);if(null==r)if(o)r=[];else{var a=e&&e.constructor,s=a&&a.prototype;r=_(s)}return n&&(n=t.createCallback(n,i,4),(o?Je:ur)(e,function(e,t,i){return n(r,e,t,i)})),r}function Ue(e){for(var t=-1,n=er(e),r=n.length,i=pn(r);++t<r;)i[t]=e[n[t]];return i}function $e(e){for(var t=arguments,n=-1,r=Q(t,!0,!1,1),i=t[2]&&t[2][t[1]]===e?1:r.length,o=pn(i);++n<i;)o[n]=e[r[n]];return o}function ze(e,t,n){var r=-1,i=ue(),o=e?e.length:0,a=!1;return n=(n<0?zn(0,o+n):n)||0,Kn(e)?a=i(e,t,n)>-1:"number"==typeof o?a=(Le(e)?e.indexOf(t,n):i(e,t,n))>-1:ur(e,function(e){if(++r>=n)return!(a=e===t)}),a}function Be(e,n,r){var i=!0;n=t.createCallback(n,r,3);var o=-1,a=e?e.length:0;if("number"==typeof a)for(;++o<a&&(i=!!n(e[o],o,e)););else ur(e,function(e,t,r){return i=!!n(e,t,r)});return i}function Ge(e,n,r){var i=[];n=t.createCallback(n,r,3);var o=-1,a=e?e.length:0;if("number"==typeof a)for(;++o<a;){var s=e[o];n(s,o,e)&&i.push(s)}else ur(e,function(e,t,r){n(e,t,r)&&i.push(e)});return i}function Ve(e,n,r){n=t.createCallback(n,r,3);var i=-1,o=e?e.length:0;if("number"!=typeof o){var a;return ur(e,function(e,t,r){if(n(e,t,r))return a=e,!1}),a}for(;++i<o;){var s=e[i];if(n(s,i,e))return s}}function Ze(e,n,r){var i;return n=t.createCallback(n,r,3),Xe(e,function(e,t,r){if(n(e,t,r))return i=e,!1}),i}function Je(e,t,n){var r=-1,i=e?e.length:0;if(t=t&&"undefined"==typeof n?t:Z(t,n,3),"number"==typeof i)for(;++r<i&&t(e[r],r,e)!==!1;);else ur(e,t);return e}function Xe(e,t,n){var r=e?e.length:0;if(t=t&&"undefined"==typeof n?t:Z(t,n,3),"number"==typeof r)for(;r--&&t(e[r],r,e)!==!1;);else{var i=er(e);r=i.length,ur(e,function(e,n,o){return n=i?i[--r]:--r,t(o[n],n,o)})}return e}function Ke(e,t){var n=d(arguments,2),r=-1,i="function"==typeof t,o=e?e.length:0,a=pn("number"==typeof o?o:0);return Je(e,function(e){a[++r]=(i?t:e[t]).apply(e,n)}),a}function Qe(e,n,r){var i=-1,o=e?e.length:0;if(n=t.createCallback(n,r,3),"number"==typeof o)for(var a=pn(o);++i<o;)a[i]=n(e[i],i,e);else a=[],ur(e,function(e,t,r){a[++i]=n(e,t,r)});return a}function et(e,n,r){var i=-(1/0),a=i;if("function"!=typeof n&&r&&r[n]===e&&(n=null),null==n&&Kn(e))for(var s=-1,u=e.length;++s<u;){var l=e[s];l>a&&(a=l)}else n=null==n&&Le(e)?o:t.createCallback(n,r,3),Je(e,function(e,t,r){var o=n(e,t,r);o>i&&(i=o,a=e)});return a}function tt(e,n,r){var i=1/0,a=i;if("function"!=typeof n&&r&&r[n]===e&&(n=null),null==n&&Kn(e))for(var s=-1,u=e.length;++s<u;){var l=e[s];l<a&&(a=l)}else n=null==n&&Le(e)?o:t.createCallback(n,r,3),Je(e,function(e,t,r){var o=n(e,t,r);o<i&&(i=o,a=e)});return a}function nt(e,n,r,i){if(!e)return r;var o=arguments.length<3;n=t.createCallback(n,i,4);var a=-1,s=e.length;if("number"==typeof s)for(o&&(r=e[++a]);++a<s;)r=n(r,e[a],a,e);else ur(e,function(e,t,i){r=o?(o=!1,e):n(r,e,t,i)});return r}function rt(e,n,r,i){var o=arguments.length<3;return n=t.createCallback(n,i,4),Xe(e,function(e,t,i){r=o?(o=!1,e):n(r,e,t,i)}),r}function it(e,n,r){return n=t.createCallback(n,r,3),Ge(e,function(e,t,r){return!n(e,t,r)})}function ot(e,t,n){if(e&&"number"!=typeof e.length&&(e=Ue(e)),null==t||n)return e?e[re(0,e.length-1)]:m;var r=at(e);return r.length=Bn(zn(0,t),r.length),r}function at(e){var t=-1,n=e?e.length:0,r=pn("number"==typeof n?n:0);return Je(e,function(e){var n=re(0,++t);r[t]=r[n],r[n]=e}),r}function st(e){var t=e?e.length:0;return"number"==typeof t?t:er(e).length}function ut(e,n,r){var i;n=t.createCallback(n,r,3);var o=-1,a=e?e.length:0;if("number"==typeof a)for(;++o<a&&!(i=n(e[o],o,e)););else ur(e,function(e,t,r){return!(i=n(e,t,r))});return!!i}function lt(e,n,r){var i=-1,o=Kn(n),s=e?e.length:0,u=pn("number"==typeof s?s:0);for(o||(n=t.createCallback(n,r,3)),Je(e,function(e,t,r){var a=u[++i]=c();o?a.criteria=Qe(n,function(t){return e[t]}):(a.criteria=l())[0]=n(e,t,r),a.index=i,a.value=e}),s=u.length,u.sort(a);s--;){var d=u[s];u[s]=d.value,o||f(d.criteria),h(d)}return u}function ct(e){return e&&"number"==typeof e.length?d(e):Ue(e)}function ft(e){for(var t=-1,n=e?e.length:0,r=[];++t<n;){var i=e[t];i&&r.push(i)}return r}function ht(e){return K(e,Q(arguments,!0,!0,1))}function dt(e,n,r){var i=-1,o=e?e.length:0;for(n=t.createCallback(n,r,3);++i<o;)if(n(e[i],i,e))return i;return-1}function pt(e,n,r){var i=e?e.length:0;for(n=t.createCallback(n,r,3);i--;)if(n(e[i],i,e))return i;return-1}function mt(e,n,r){var i=0,o=e?e.length:0;if("number"!=typeof n&&null!=n){var a=-1;for(n=t.createCallback(n,r,3);++a<o&&n(e[a],a,e);)i++}else if(i=n,null==i||r)return e?e[0]:m;return d(e,0,Bn(zn(0,i),o))}function vt(e,t,n,r){return"boolean"!=typeof t&&null!=t&&(r=n,n="function"!=typeof t&&r&&r[t]===e?null:t,t=!1),null!=n&&(e=Qe(e,n,r)),Q(e,t)}function gt(e,t,r){if("number"==typeof r){var i=e?e.length:0;r=r<0?zn(0,i+r):r||0}else if(r){var o=jt(e,t);return e[o]===t?o:-1}return n(e,t,r)}function yt(e,n,r){var i=0,o=e?e.length:0;if("number"!=typeof n&&null!=n){var a=o;for(n=t.createCallback(n,r,3);a--&&n(e[a],a,e);)i++}else i=null==n||r?1:n||i;return d(e,0,Bn(zn(0,o-i),o))}function bt(){for(var e=[],t=-1,i=arguments.length,o=l(),a=ue(),u=a===n,c=l();++t<i;){var d=arguments[t];(Kn(d)||he(d))&&(e.push(d),o.push(u&&d.length>=w&&s(t?e[t]:c)))}var p=e[0],m=-1,v=p?p.length:0,g=[];e:for(;++m<v;){var y=o[0];if(d=p[m],(y?r(y,d):a(c,d))<0){for(t=i,(y||c).push(d);--t;)if(y=o[t],(y?r(y,d):a(e[t],d))<0)continue e;g.push(d)}}for(;i--;)y=o[i],y&&h(y);return f(o),f(c),g}function wt(e,n,r){var i=0,o=e?e.length:0;if("number"!=typeof n&&null!=n){var a=o;for(n=t.createCallback(n,r,3);a--&&n(e[a],a,e);)i++}else if(i=n,null==i||r)return e?e[o-1]:m;return d(e,zn(0,o-i))}function _t(e,t,n){var r=e?e.length:0;for("number"==typeof n&&(r=(n<0?zn(0,r+n):Bn(n,r-1))+1);r--;)if(e[r]===t)return r;return-1}function xt(e){for(var t=arguments,n=0,r=t.length,i=e?e.length:0;++n<r;)for(var o=-1,a=t[n];++o<i;)e[o]===a&&(Yn.call(e,o--,1),i--);return e}function kt(e,t,n){e=+e||0,n="number"==typeof n?n:+n||1,null==t&&(t=e,e=0);for(var r=-1,i=zn(0,Dn((t-e)/(n||1))),o=pn(i);++r<i;)o[r]=e,e+=n;return o}function St(e,n,r){var i=-1,o=e?e.length:0,a=[];for(n=t.createCallback(n,r,3);++i<o;){var s=e[i];n(s,i,e)&&(a.push(s),Yn.call(e,i--,1),o--)}return a}function Tt(e,n,r){if("number"!=typeof n&&null!=n){var i=0,o=-1,a=e?e.length:0;for(n=t.createCallback(n,r,3);++o<a&&n(e[o],o,e);)i++}else i=null==n||r?1:zn(0,n);return d(e,i)}function jt(e,n,r,i){var o=0,a=e?e.length:o;for(r=r?t.createCallback(r,i,1):Xt,n=r(n);o<a;){var s=o+a>>>1;r(e[s])<n?o=s+1:a=s}return o}function Ct(){return ie(Q(arguments,!0,!0))}function Ot(e,n,r,i){return"boolean"!=typeof n&&null!=n&&(i=r,r="function"!=typeof n&&i&&i[n]===e?null:n,n=!1),null!=r&&(r=t.createCallback(r,i,3)),ie(e,n,r)}function Dt(e){return K(e,d(arguments,1))}function Et(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(Kn(n)||he(n))var r=r?ie(K(r,n).concat(K(n,r))):n}return r||[]}function Mt(){for(var e=arguments.length>1?arguments:arguments[0],t=-1,n=e?et(dr(e,"length")):0,r=pn(n<0?0:n);++t<n;)r[t]=dr(e,t);return r}function Nt(e,t){var n=-1,r=e?e.length:0,i={};for(t||!r||Kn(e[0])||(t=[]);++n<r;){var o=e[n];t?i[o]=t[n]:o&&(i[o[0]]=o[1])}return i}function At(e,t){if(!De(t))throw new kn;return function(){if(--e<1)return t.apply(this,arguments)}}function Rt(e,t){return arguments.length>2?ae(e,17,d(arguments,2),null,t):ae(e,1,null,null,t)}function Lt(e){for(var t=arguments.length>1?Q(arguments,!0,!1,1):we(e),n=-1,r=t.length;++n<r;){var i=t[n];e[i]=ae(e[i],1,null,null,e)}return e}function Pt(e,t){return arguments.length>2?ae(t,19,d(arguments,2),null,e):ae(t,3,null,null,e)}function Yt(){for(var e=arguments,t=e.length;t--;)if(!De(e[t]))throw new kn;return function(){for(var t=arguments,n=e.length;n--;)t=[e[n].apply(this,t)];return t[0]}}function Ft(e,t){return t="number"==typeof t?t:+t||e.length,ae(e,4,null,null,null,t)}function qt(e,t,n){var r,i,o,a,s,u,l,c=0,f=!1,h=!0;if(!De(e))throw new kn;if(t=zn(0,t)||0,n===!0){var d=!0;h=!1}else Ee(n)&&(d=n.leading,f="maxWait"in n&&(zn(t,n.maxWait)||0),h="trailing"in n?n.trailing:h);var p=function(){var n=t-(mr()-a);if(n<=0){i&&En(i);var f=l;i=u=l=m,f&&(c=mr(),o=e.apply(s,r),u||i||(r=s=null))}else u=Pn(p,n)},v=function(){u&&En(u),i=u=l=m,(h||f!==t)&&(c=mr(),o=e.apply(s,r),u||i||(r=s=null))};return function(){if(r=arguments,a=mr(),s=this,l=h&&(u||!d),f===!1)var n=d&&!u;else{i||d||(c=a);var m=f-(a-c),g=m<=0;g?(i&&(i=En(i)),c=a,o=e.apply(s,r)):i||(i=Pn(v,m))}return g&&u?u=En(u):u||t===f||(u=Pn(p,t)),n&&(g=!0,o=e.apply(s,r)),!g||u||i||(r=s=null),o}}function Ht(e){if(!De(e))throw new kn;var t=d(arguments,1);return Pn(function(){e.apply(m,t)},1)}function Wt(e,t){if(!De(e))throw new kn;var n=d(arguments,2);return Pn(function(){e.apply(m,n)},t)}function It(e,t){if(!De(e))throw new kn;var n=function(){var r=n.cache,i=t?t.apply(this,arguments):b+arguments[0];return Rn.call(r,i)?r[i]:r[i]=e.apply(this,arguments)};return n.cache={},n}function Ut(e){var t,n;if(!De(e))throw new kn;return function(){return t?n:(t=!0,n=e.apply(this,arguments),e=null,n)}}function $t(e){return ae(e,16,d(arguments,1))}function zt(e){return ae(e,32,null,d(arguments,1))}function Bt(e,t,n){var r=!0,i=!0;if(!De(e))throw new kn;return n===!1?r=!1:Ee(n)&&(r="leading"in n?n.leading:r,i="trailing"in n?n.trailing:i),B.leading=r,B.maxWait=t,B.trailing=i,qt(e,t,B)}function Gt(e,t){return ae(t,16,[e])}function Vt(e){return function(){return e}}function Zt(e,t,n){var r=typeof e;if(null==e||"function"==r)return Z(e,t,n);if("object"!=r)return tn(e);var i=er(e),o=i[0],a=e[o];return 1!=i.length||a!==a||Ee(a)?function(t){for(var n=i.length,r=!1;n--&&(r=ee(t[i[n]],e[i[n]],null,!0)););return r}:function(e){var t=e[o];return a===t&&(0!==a||1/a==1/t)}}function Jt(e){return null==e?"":xn(e).replace(ir,se)}function Xt(e){return e}function Kt(e,n,r){var o=!0,a=n&&we(n);n&&(r||a.length)||(null==r&&(r=n),s=i,n=e,e=t,a=we(n)),r===!1?o=!1:Ee(r)&&"chain"in r&&(o=r.chain);var s=e,u=De(s);Je(a,function(t){var r=e[t]=n[t];u&&(s.prototype[t]=function(){var t=this.__chain__,n=this.__wrapped__,i=[n];Ln.apply(i,arguments);var a=r.apply(e,i);if(o||t){if(n===a&&Ee(a))return this;a=new s(a),a.__chain__=t}return a})})}function Qt(){return e._=jn,this}function en(){}function tn(e){return function(t){return t[e]}}function nn(e,t,n){var r=null==e,i=null==t;if(null==n&&("boolean"==typeof e&&i?(n=e,e=1):i||"boolean"!=typeof t||(n=t,i=!0)),r&&i&&(t=1),e=+e||0,i?(t=e,e=0):t=+t||0,n||e%1||t%1){var o=Vn();return Bn(e+o*(t-e+parseFloat("1e-"+((o+"").length-1))),t)}return re(e,t)}function rn(e,t){if(e){var n=e[t];return De(n)?e[t]():n}}function on(e,n,r){var i=t.templateSettings;e=xn(e||""),r=ar({},r,i);var o,a=ar({},r.imports,i.imports),s=er(a),l=Ue(a),c=0,f=r.interpolate||M,h="__p += '",d=_n((r.escape||M).source+"|"+f.source+"|"+(f===D?j:M).source+"|"+(r.evaluate||M).source+"|$","g");e.replace(d,function(t,n,r,i,a,s){return r||(r=i),h+=e.slice(c,s).replace(A,u),n&&(h+="' +\n__e("+n+") +\n'"),a&&(o=!0,h+="';\n"+a+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=s+t.length,t}),h+="';\n";var p=r.variable,v=p;v||(p="obj",h="with ("+p+") {\n"+h+"\n}\n"),h=(o?h.replace(k,""):h).replace(S,"$1").replace(T,"$1;"),h="function("+p+") {\n"+(v?"":p+" || ("+p+" = {});\n")+"var __t, __p = '', __e = _.escape"+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g="\n/*\n//# sourceURL="+(r.sourceURL||"/lodash/template/source["+L++ +"]")+"\n*/";try{var y=gn(s,"return "+h+g).apply(m,l)}catch(e){throw e.source=h,e}return n?y(n):(y.source=h,y)}function an(e,t,n){e=(e=+e)>-1?e:0;var r=-1,i=pn(e);for(t=Z(t,n,1);++r<e;)i[r]=t(r);return i}function sn(e){return null==e?"":xn(e).replace(rr,fe)}function un(e){var t=++y;return xn(null==e?"":e)+t}function ln(e){return e=new i(e),e.__chain__=!0,e}function cn(e,t){return t(e),e}function fn(){return this.__chain__=!0,this}function hn(){return xn(this.__wrapped__)}function dn(){return this.__wrapped__}e=e?te.defaults(J.Object(),e,te.pick(J,R)):J;var pn=e.Array,mn=e.Boolean,vn=e.Date,gn=e.Function,yn=e.Math,bn=e.Number,wn=e.Object,_n=e.RegExp,xn=e.String,kn=e.TypeError,Sn=[],Tn=wn.prototype,jn=e._,Cn=Tn.toString,On=_n("^"+xn(Cn).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),Dn=yn.ceil,En=e.clearTimeout,Mn=yn.floor,Nn=gn.prototype.toString,An=le(An=wn.getPrototypeOf)&&An,Rn=Tn.hasOwnProperty,Ln=Sn.push,Pn=e.setTimeout,Yn=Sn.splice,Fn=Sn.unshift,qn=function(){try{var e={},t=le(t=wn.defineProperty)&&t,n=t(e,e,e)&&t}catch(e){}return n}(),Hn=le(Hn=wn.create)&&Hn,Wn=le(Wn=pn.isArray)&&Wn,In=e.isFinite,Un=e.isNaN,$n=le($n=wn.keys)&&$n,zn=yn.max,Bn=yn.min,Gn=e.parseInt,Vn=yn.random,Zn={};Zn[Y]=pn,Zn[F]=mn,Zn[q]=vn,Zn[H]=gn,Zn[I]=wn,Zn[W]=bn,Zn[U]=_n,Zn[$]=xn,i.prototype=t.prototype;var Jn=t.support={};Jn.funcDecomp=!le(e.WinRTError)&&N.test(p),Jn.funcNames="string"==typeof gn.name,t.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:D,variable:"",imports:{_:t}},Hn||(_=function(){function t(){}return function(n){if(Ee(n)){t.prototype=n;var r=new t;t.prototype=null}return r||e.Object()}}());var Xn=qn?function(e,t){G.value=t,qn(e,"__bindData__",G),G.value=null}:en,Kn=Wn||function(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Cn.call(e)==Y||!1},Qn=function(e){var t,n=e,r=[];if(!n)return r;if(!V[typeof e])return r;for(t in n)Rn.call(n,t)&&r.push(t);return r},er=$n?function(e){return Ee(e)?$n(e):[]}:Qn,tr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},nr=xe(tr),rr=_n("("+er(nr).join("|")+")","g"),ir=_n("["+er(tr).join("")+"]","g"),or=function(e,t,n){var r,i=e,o=i;if(!i)return o;var a=arguments,s=0,u="number"==typeof n?2:a.length;if(u>3&&"function"==typeof a[u-2])var l=Z(a[--u-1],a[u--],2);else u>2&&"function"==typeof a[u-1]&&(l=a[--u]);for(;++s<u;)if(i=a[s],i&&V[typeof i])for(var c=-1,f=V[typeof i]&&er(i),h=f?f.length:0;++c<h;)r=f[c],o[r]=l?l(o[r],i[r]):i[r];return o},ar=function(e,t,n){var r,i=e,o=i;if(!i)return o;for(var a=arguments,s=0,u="number"==typeof n?2:a.length;++s<u;)if(i=a[s],i&&V[typeof i])for(var l=-1,c=V[typeof i]&&er(i),f=c?c.length:0;++l<f;)r=c[l],"undefined"==typeof o[r]&&(o[r]=i[r]);return o},sr=function(e,t,n){var r,i=e,o=i;if(!i)return o;if(!V[typeof i])return o;t=t&&"undefined"==typeof n?t:Z(t,n,3);for(r in i)if(t(i[r],r,e)===!1)return o;return o},ur=function(e,t,n){var r,i=e,o=i;if(!i)return o;if(!V[typeof i])return o;t=t&&"undefined"==typeof n?t:Z(t,n,3);for(var a=-1,s=V[typeof i]&&er(i),u=s?s.length:0;++a<u;)if(r=s[a],t(i[r],r,e)===!1)return o;return o},lr=An?function(e){if(!e||Cn.call(e)!=I)return!1;var t=e.valueOf,n=le(t)&&(n=An(t))&&An(n);return n?e==n||An(e)==n:ce(e)}:ce,cr=oe(function(e,t,n){Rn.call(e,n)?e[n]++:e[n]=1}),fr=oe(function(e,t,n){(Rn.call(e,n)?e[n]:e[n]=[]).push(t)}),hr=oe(function(e,t,n){e[n]=t}),dr=Qe,pr=Ge,mr=le(mr=vn.now)&&mr||function(){return(new vn).getTime()},vr=8==Gn(x+"08")?Gn:function(e,t){return Gn(Le(e)?e.replace(E,""):e,t||0)};return t.after=At,t.assign=or,t.at=$e,t.bind=Rt,t.bindAll=Lt,t.bindKey=Pt,t.chain=ln,t.compact=ft,t.compose=Yt,t.constant=Vt,t.countBy=cr,t.create=me,t.createCallback=Zt,t.curry=Ft,t.debounce=qt,t.defaults=ar,t.defer=Ht,t.delay=Wt,t.difference=ht,t.filter=Ge,t.flatten=vt,t.forEach=Je,t.forEachRight=Xe,t.forIn=sr,t.forInRight=ye,t.forOwn=ur,t.forOwnRight=be,t.functions=we,t.groupBy=fr,t.indexBy=hr,t.initial=yt,t.intersection=bt,t.invert=xe,t.invoke=Ke,t.keys=er,t.map=Qe,t.mapValues=Ye,t.max=et,t.memoize=It,t.merge=Fe,t.min=tt,t.omit=qe,t.once=Ut,t.pairs=He,t.partial=$t,t.partialRight=zt,t.pick=We,t.pluck=dr,t.property=tn,t.pull=xt,t.range=kt,t.reject=it,t.remove=St,t.rest=Tt,t.shuffle=at,t.sortBy=lt,t.tap=cn,t.throttle=Bt,t.times=an,t.toArray=ct,t.transform=Ie,t.union=Ct,t.uniq=Ot,t.values=Ue,t.where=pr,t.without=Dt,t.wrap=Gt,t.xor=Et,t.zip=Mt,t.zipObject=Nt,t.collect=Qe,t.drop=Tt,t.each=Je,t.eachRight=Xe,t.extend=or,t.methods=we,t.object=Nt,t.select=Ge,t.tail=Tt,t.unique=Ot,t.unzip=Mt,Kt(t),t.clone=de,t.cloneDeep=pe,t.contains=ze,t.escape=Jt,t.every=Be,t.find=Ve,t.findIndex=dt,t.findKey=ve,t.findLast=Ze,t.findLastIndex=pt,t.findLastKey=ge,t.has=_e,t.identity=Xt,t.indexOf=gt,t.isArguments=he,t.isArray=Kn,t.isBoolean=ke,t.isDate=Se,t.isElement=Te,t.isEmpty=je,t.isEqual=Ce,t.isFinite=Oe,t.isFunction=De,t.isNaN=Me,t.isNull=Ne,t.isNumber=Ae,t.isObject=Ee,t.isPlainObject=lr,t.isRegExp=Re,t.isString=Le,t.isUndefined=Pe,t.lastIndexOf=_t,t.mixin=Kt,t.noConflict=Qt,t.noop=en,t.now=mr,t.parseInt=vr,t.random=nn,t.reduce=nt,t.reduceRight=rt,t.result=rn,t.runInContext=p,t.size=st,t.some=ut,t.sortedIndex=jt,t.template=on,t.unescape=sn,t.uniqueId=un,t.all=Be,t.any=ut,t.detect=Ve,t.findWhere=Ve,t.foldl=nt,t.foldr=rt,t.include=ze,t.inject=nt,Kt(function(){var e={};return ur(t,function(n,r){t.prototype[r]||(e[r]=n)}),e}(),!1),t.first=mt,t.last=wt,t.sample=ot,t.take=mt,t.head=mt,ur(t,function(e,n){var r="sample"!==n;t.prototype[n]||(t.prototype[n]=function(t,n){var o=this.__chain__,a=e(this.__wrapped__,t,n);return o||null!=t&&(!n||r&&"function"==typeof t)?new i(a,o):a})}),t.VERSION="2.4.2",t.prototype.chain=fn,t.prototype.toString=hn,t.prototype.value=dn,t.prototype.valueOf=dn,Je(["join","pop","shift"],function(e){var n=Sn[e];t.prototype[e]=function(){var e=this.__chain__,t=n.apply(this.__wrapped__,arguments);return e?new i(t,e):t}}),Je(["push","reverse","sort","unshift"],function(e){var n=Sn[e];t.prototype[e]=function(){return n.apply(this.__wrapped__,arguments),this}}),Je(["concat","slice","splice"],function(e){var n=Sn[e];t.prototype[e]=function(){return new i(n.apply(this.__wrapped__,arguments),this.__chain__)}}),t}var m,v=[],g=[],y=0,b=+new Date+"",w=75,_=40,x=" \t\v\f \ufeff\n\r\u2028\u2029  ",k=/\b__p \+= '';/g,S=/\b(__p \+=) '' \+/g,T=/(__e\(.*?\)|\b__t\)) \+\n'';/g,j=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,C=/\w*$/,O=/^\s*function[ \n\r\t]+\w/,D=/<%=([\s\S]+?)%>/g,E=RegExp("^["+x+"]*0+(?=.$)"),M=/($^)/,N=/\bthis\b/,A=/['\n\r\t\u2028\u2029\\]/g,R=["Array","Boolean","Date","Function","Math","Number","Object","RegExp","String","_","attachEvent","clearTimeout","isFinite","isNaN","parseInt","setTimeout"],L=0,P="[object Arguments]",Y="[object Array]",F="[object Boolean]",q="[object Date]",H="[object Function]",W="[object Number]",I="[object Object]",U="[object RegExp]",$="[object String]",z={};z[H]=!1,z[P]=z[Y]=z[F]=z[q]=z[W]=z[I]=z[U]=z[$]=!0;var B={leading:!1,maxWait:0,trailing:!1},G={configurable:!1,enumerable:!1,value:null,writable:!1},V={boolean:!1,function:!0,object:!0,number:!1,string:!1,undefined:!1},Z={"\\":"\\","'":"'","\n":"n","\r":"r","\t":"t","\u2028":"u2028","\u2029":"u2029"},J=V[typeof window]&&window||this,X=V[typeof t]&&t&&!t.nodeType&&t,K=V[typeof e]&&e&&!e.nodeType&&e,Q=K&&K.exports===X&&X,ee=V[typeof Wt]&&Wt;!ee||ee.global!==ee&&ee.window!==ee||(J=ee);var te=p();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(J._=te,define(function(){return te})):X&&K?Q?(K.exports=te)._=te:X._=te:J._=te}).call(this)}),Ph=Lh,Yh=function(e,t,n){e=ot(e),t=ot(t);var r,i;e.length>t.length?(r=e,i=t):(r=t,i=e);var o,a,s,u,l=n?n:.7,c=.1,f=Math.floor(Math.max(r.length/2-1,0)),h=[],d=[],p=0;for(o=0;o<i.length;o++)for(u=i[o],a=Math.max(o-f,0),s=Math.min(o+f+1,r.length);a<s;a++)if(!d[a]&&u===r[a]){h[o]=a,d[a]=!0,p++;break}var m,v,g=[],y=[],b=0,w=0;for(m=0,v=0;m<i.length;m++)h[m]>-1&&(g[v]=i[m],v++);for(m=0,v=0;m<r.length;m++)d[m]&&(y[v]=r[m],v++);for(o=0;o<g.length;o++)g[o]!==y[o]&&b++;for(o=0;o<i.length&&e[o]===t[o];o++)w++;var _=p,n=b/2;if(_){var x=(_/e.length+_/t.length+(_-n)/_)/3,k=x<l?x:x+Math.min(c,1/r.length)*w*(1-x);return k}return 0},Fh=function(e,t,n){if(e=ot(e),t=ot(t),0===e.length)return t.length;if(0===t.length)return e.length;var r,i,o,a,s=n?n:{d:1,i:1,s:1},u=[],l=[],c=t.length+1;for(r=0;r<c;r++)u[r]=r;for(r=0;r<e.length;r++){for(l[0]=r+1,i=0;i<t.length;i++)o=e[r]===t[i]?0:s.s,l[i+1]=Math.min(l[i]+s.d,u[i+1]+s.i,u[i]+o);for(i=0;i<c;i++)u[i]=l[i]}return a=Math.max(e.length,t.length),(a-l[t.length])/a},qh=function(e,t,n){e=ot(e),t=ot(t);var r,i,o,a,s,u,l,c=e.length,f=t.length,h=n?n:2,d=[],p=[],m=[],v=[],g=[];if(0===c||0===f)return c===f?1:0;if(r=0,c<h||f<h){for(i=0,a=Math.min(c,f);i<a;i++)e[i]===t[i]&&r++;return r/Math.max(c,f)}for(i=0;i<c+h-1;i++)i<h-1?d[i]=0:d[i]=e[i-h+1];for(i=0;i<=c;i++)p[i]=i;for(o=1;o<=f;o++){if(o<h){for(s=0;s<h-o;s++)g[s]=0;for(s=h-o;s<h;s++)g[s]=t[s-(h-o)]}else g=t.slice(o-h,o);for(m[0]=o,i=1;i<=c;i++){for(r=0,u=h,a=0;a<h;a++)d[i-1+a]!==g[a]?r++:0===d[i-1+a]&&u--;l=r/u,m[i]=Math.min(Math.min(m[i-1]+1,p[i]+1),p[i-1]+l)}v=p,p=m,m=v}return 1-p[c]/Math.max(c,f)},Hh=function(e,t){var n=[];Object.keys(e).forEach(function(e){t[e]&&n.push(e)});var r=n.length;if(0===r)return 0;var i=it(n.map(function(t){return e[t]})),o=it(n.map(function(e){return t[e]})),a=it(n.map(function(t){return Math.pow(e[t],2)})),s=it(n.map(function(e){return Math.pow(t[e],2)})),u=it(n.map(function(n){return e[n]*t[n]})),l=u-i*o/r,c=Math.sqrt((a-Math.pow(i,2)/r)*(s-Math.pow(o,2)/r));return 0===c?0:l/c},Wh=function(e,t){return e=ot(e),t=ot(t),Ph.intersection(e,t).length/Ph.union(e,t).length},Ih=function(e,t){e=ot(e),t=ot(t);var n=Ph.intersection(e,t).length;return n/(e.length+t.length-n)},Uh={jarowinkler:Yh,levenshtein:Fh,ngram:qh,pearson:Hh,jaccard:Wh,tanimoto:Ih},$h={author:Xe,lead_image_url:Ke,dek:Qe,date_published:tt,content:nt,title:rt},zh={defaultOpts:{stripUnlikelyCandidates:!0,weightNodes:!0,cleanConditionally:!0},extract:function(e,t){var n=e.$,r=e.html,i=e.title,o=e.url;t=si({},this.defaultOpts,t),n=n||qs.load(r);var a=this.getContentNode(n,i,o,t);if(We(a))return this.cleanAndReturnNode(a,n);var s=!0,u=!1,l=void 0;try{for(var c,f=Il(wu(t).filter(function(e){return t[e]===!0}));!(s=(c=f.next()).done);s=!0){var h=c.value;if(t[h]=!1,n=qs.load(r),a=this.getContentNode(n,i,o,t),We(a))break}}catch(e){u=!0,l=e}finally{try{!s&&f.return&&f.return()}finally{if(u)throw l}}return this.cleanAndReturnNode(a,n)},getContentNode:function(e,t,n,r){return nt(lt(e,r),{$:e,cleanConditionally:r.cleanConditionally,title:t,url:n})},cleanAndReturnNode:function(e,t){return e?ye(t.html(e)):null}},Bh=["tweetmeme-title","dc.title","rbtitle","headline","title"],Gh=["og:title"],Vh=[".hentry .entry-title","h1#articleHeader","h1.articleHeader","h1.article",".instapaper_title","#meebo-title"],Zh=["article h1","#entry-title",".entry-title","#entryTitle","#entrytitle",".entryTitle",".entrytitle","#articleTitle",".articleTitle","post post-title","h1.title","h2.article","h1","html head title","title"],Jh={extract:function(e){var t=e.$,n=e.url,r=e.metaCache,i=void 0;return(i=Pe(t,Bh,r))?rt(i,{url:n,$:t}):(i=Fe(t,Vh))?rt(i,{url:n,$:t}):(i=Pe(t,Gh,r))?rt(i,{url:n,$:t}):(i=Fe(t,Zh),i?rt(i,{url:n,$:t}):"")}},Xh=["byl","clmst","dc.author","dcsext.author","dc.creator","rbauthors","authors"],Kh=300,Qh=[".entry .entry-author",".author.vcard .fn",".author .vcard .fn",".byline.vcard .fn",".byline .vcard .fn",".byline .by .author",".byline .by",".byline .author",".post-author.vcard",".post-author .vcard","a[rel=author]","#by_author",".by_author","#entryAuthor",".entryAuthor",".byline a[href*=author]","#author .authorname",".author .authorname","#author",".author",".articleauthor",".ArticleAuthor",".byline"],ed=/^[\n\s]*By/i,td=[["#byline",ed],[".byline",ed]],nd={extract:function(e){var t=e.$,n=e.metaCache,r=void 0;if(r=Pe(t,Xh,n),r&&r.length<Kh)return Xe(r);if(r=Fe(t,Qh,2),r&&r.length<Kh)return Xe(r);var i=!0,o=!1,a=void 0;try{for(var s,u=Il(td);!(i=(s=u.next()).done);i=!0){var l=s.value,c=$l(l,2),f=c[0],h=c[1],d=t(f);if(1===d.length){var p=d.text();if(h.test(p))return Xe(p)}}}catch(e){o=!0,a=e}finally{try{!i&&u.return&&u.return()}finally{if(o)throw a}}return null}},rd=["article:published_time","displaydate","dc.date","dc.date.issued","rbpubdate","publish_date","pub_date","pagedate","pubdate","revision_date","doc_date","date_created","content_create_date","lastmodified","created","date"],id=[".hentry .dtstamp.published",".hentry .published",".hentry .dtstamp.updated",".hentry .updated",".single .published",".meta .published",".meta .postDate",".entry-date",".byline .date",".postmetadata .date",".article_datetime",".date-header",".story-date",".dateStamp","#story .datetime",".dateline",".pubdate"],od="(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)",ad=[new RegExp("/(20\\d{2}/\\d{2}/\\d{2})/","i"),new RegExp("(20\\d{2}-[01]\\d-[0-3]\\d)","i"),new RegExp("/(20\\d{2}/"+od+"/[0-3]\\d)/","i")],sd={extract:function(e){var t=e.$,n=e.url,r=e.metaCache,i=void 0;return(i=Pe(t,rd,r,!1))?tt(i):(i=Fe(t,id))?tt(i):(i=be(n,ad),i?tt(i):null)}},ud={extract:function(){
return null}},ld=["og:image","twitter:image","image_src"],cd=["link[rel=image_src]"],fd=["upload","wp-content","large","photo","wp-image"],hd=new RegExp(fd.join("|"),"i"),dd=["spacer","sprite","blank","throbber","gradient","tile","bg","background","icon","social","header","hdr","advert","spinner","loader","loading","default","rating","share","facebook","twitter","theme","promo","ads","wp-includes"],pd=new RegExp(dd.join("|"),"i"),md=/\.gif(\?.*)?$/i,vd=/\.jpe?g(\?.*)?$/i,gd={extract:function(e){var t=e.$,n=e.content,r=e.metaCache,i=e.html,o=void 0;t.browser||0!==t("head").length||t("*").first().prepend(i);var a=Pe(t,ld,r,!1);if(a&&(o=Ke(a)))return o;var s=t(n),u=t("img",s).toArray(),l={};u.forEach(function(e,n){var r=t(e),i=r.attr("src");if(i){var o=ft(i);o+=ht(r),o+=dt(r),o+=pt(r),o+=mt(r),o+=vt(u,n),l[i]=o}});var c=wu(l).reduce(function(e,t){return l[t]>e[1]?[t,l[t]]:e},[null,0]),f=$l(c,2),h=f[0],d=f[1];if(d>0&&(o=Ke(h)))return o;var p=!0,m=!1,v=void 0;try{for(var g,y=Il(cd);!(p=(g=y.next()).done);p=!0){var b=g.value,w=t(b).first(),_=w.attr("src");if(_&&(o=Ke(_)))return o;var x=w.attr("href");if(x&&(o=Ke(x)))return o;var k=w.attr("value");if(k&&(o=Ke(k)))return o}}catch(e){m=!0,v=e}finally{try{!p&&y.return&&y.return()}finally{if(m)throw v}}return null}},yd=n(function(e,t){(function(){var n,r,i,o,a,s,u,l,c,f,h,d,p,m,v;i=Math.floor,f=Math.min,r=function(e,t){return e<t?-1:e>t?1:0},c=function(e,t,n,o,a){var s;if(null==n&&(n=0),null==a&&(a=r),n<0)throw new Error("lo must be non-negative");for(null==o&&(o=e.length);n<o;)s=i((n+o)/2),a(t,e[s])<0?o=s:n=s+1;return[].splice.apply(e,[n,n-n].concat(t)),t},s=function(e,t,n){return null==n&&(n=r),e.push(t),m(e,0,e.length-1,n)},a=function(e,t){var n,i;return null==t&&(t=r),n=e.pop(),e.length?(i=e[0],e[0]=n,v(e,0,t)):i=n,i},l=function(e,t,n){var i;return null==n&&(n=r),i=e[0],e[0]=t,v(e,0,n),i},u=function(e,t,n){var i;return null==n&&(n=r),e.length&&n(e[0],t)<0&&(i=[e[0],t],t=i[0],e[0]=i[1],v(e,0,n)),t},o=function(e,t){var n,o,a,s,u,l;for(null==t&&(t=r),s=function(){l=[];for(var t=0,n=i(e.length/2);0<=n?t<n:t>n;0<=n?t++:t--)l.push(t);return l}.apply(this).reverse(),u=[],o=0,a=s.length;o<a;o++)n=s[o],u.push(v(e,n,t));return u},p=function(e,t,n){var i;if(null==n&&(n=r),i=e.indexOf(t),i!==-1)return m(e,0,i,n),v(e,i,n)},h=function(e,t,n){var i,a,s,l,c;if(null==n&&(n=r),a=e.slice(0,t),!a.length)return a;for(o(a,n),c=e.slice(t),s=0,l=c.length;s<l;s++)i=c[s],u(a,i,n);return a.sort(n).reverse()},d=function(e,t,n){var i,s,u,l,h,d,p,m,v,g;if(null==n&&(n=r),10*t<=e.length){if(l=e.slice(0,t).sort(n),!l.length)return l;for(u=l[l.length-1],m=e.slice(t),h=0,p=m.length;h<p;h++)i=m[h],n(i,u)<0&&(c(l,i,0,null,n),l.pop(),u=l[l.length-1]);return l}for(o(e,n),g=[],s=d=0,v=f(t,e.length);0<=v?d<v:d>v;s=0<=v?++d:--d)g.push(a(e,n));return g},m=function(e,t,n,i){var o,a,s;for(null==i&&(i=r),o=e[n];n>t&&(s=n-1>>1,a=e[s],i(o,a)<0);)e[n]=a,n=s;return e[n]=o},v=function(e,t,n){var i,o,a,s,u;for(null==n&&(n=r),o=e.length,u=t,a=e[t],i=2*t+1;i<o;)s=i+1,s<o&&!(n(e[i],e[s])<0)&&(i=s),e[t]=e[i],t=i,i=2*t+1;return e[t]=a,m(e,u,t,n)},n=function(){function e(e){this.cmp=null!=e?e:r,this.nodes=[]}return e.push=s,e.pop=a,e.replace=l,e.pushpop=u,e.heapify=o,e.updateItem=p,e.nlargest=h,e.nsmallest=d,e.prototype.push=function(e){return s(this.nodes,e,this.cmp)},e.prototype.pop=function(){return a(this.nodes,this.cmp)},e.prototype.peek=function(){return this.nodes[0]},e.prototype.contains=function(e){return this.nodes.indexOf(e)!==-1},e.prototype.replace=function(e){return l(this.nodes,e,this.cmp)},e.prototype.pushpop=function(e){return u(this.nodes,e,this.cmp)},e.prototype.heapify=function(){return o(this.nodes,this.cmp)},e.prototype.updateItem=function(e){return p(this.nodes,e,this.cmp)},e.prototype.clear=function(){return this.nodes=[]},e.prototype.empty=function(){return 0===this.nodes.length},e.prototype.size=function(){return this.nodes.length},e.prototype.clone=function(){var t;return t=new e,t.nodes=this.nodes.slice(0),t},e.prototype.toArray=function(){return this.nodes.slice(0)},e.prototype.insert=e.prototype.push,e.prototype.top=e.prototype.peek,e.prototype.front=e.prototype.peek,e.prototype.has=e.prototype.contains,e.prototype.copy=e.prototype.clone,e}(),function(n,r){return"function"==typeof define&&define.amd?define([],r):"object"==typeof t?e.exports=r():n.Heap=r()}(this,function(){return n})}).call(this)}),bd=yd,wd=n(function(e,t){(function(){var e,n,r,i,o,a,s,u,l,c,f,h,d,p,m,v,g,y,b,w,_=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1};s=Math.floor,l=Math.max,c=Math.min,n=bd,v=function(e,t){return t?2*e/t:1},m=function(e,t){var n,r,i,o,a,s;for(a=[e.length,t.length],r=a[0],i=a[1],n=o=0,s=c(r,i);0<=s?o<s:o>s;n=0<=s?++o:--o){if(e[n]<t[n])return-1;if(e[n]>t[n])return 1}return r-i},w=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},p=function(e){var t,n,r;for(n=0,r=e.length;n<r;n++)if(t=e[n])return!0;return!1},o=function(){function e(e,t,n,r){this.isjunk=e,null==t&&(t=""),null==n&&(n=""),this.autojunk=null==r||r,this.a=this.b=null,this.setSeqs(t,n)}return e.prototype.setSeqs=function(e,t){return this.setSeq1(e),this.setSeq2(t)},e.prototype.setSeq1=function(e){if(e!==this.a)return this.a=e,this.matchingBlocks=this.opcodes=null},e.prototype.setSeq2=function(e){if(e!==this.b)return this.b=e,this.matchingBlocks=this.opcodes=null,this.fullbcount=null,this._chainB()},e.prototype._chainB=function(){var e,t,n,r,i,o,a,u,l,c,f,h,d,p,m,v;for(e=this.b,this.b2j=t={},r=h=0,p=e.length;h<p;r=++h)n=e[r],o=w(t,n)?t[n]:t[n]=[],o.push(r);if(u={},a=this.isjunk)for(v=Object.keys(t),d=0,m=v.length;d<m;d++)n=v[d],a(n)&&(u[n]=!0,delete t[n]);if(f={},l=e.length,this.autojunk&&l>=200){c=s(l/100)+1;for(n in t)i=t[n],i.length>c&&(f[n]=!0,delete t[n])}return this.isbjunk=function(e){return w(u,e)},this.isbpopular=function(e){return w(f,e)}},e.prototype.findLongestMatch=function(e,t,n,r){var i,o,a,s,u,l,c,f,h,d,p,m,v,g,y,b,_,x,k,S,T;for(b=[this.a,this.b,this.b2j,this.isbjunk],i=b[0],o=b[1],a=b[2],f=b[3],_=[e,n,0],s=_[0],u=_[1],l=_[2],d={},c=v=e;e<=t?v<t:v>t;c=e<=t?++v:--v){for(m={},x=w(a,i[c])?a[i[c]]:[],g=0,y=x.length;g<y;g++)if(h=x[g],!(h<n)){if(h>=r)break;p=m[h]=(d[h-1]||0)+1,p>l&&(k=[c-p+1,h-p+1,p],s=k[0],u=k[1],l=k[2])}d=m}for(;s>e&&u>n&&!f(o[u-1])&&i[s-1]===o[u-1];)S=[s-1,u-1,l+1],s=S[0],u=S[1],l=S[2];for(;s+l<t&&u+l<r&&!f(o[u+l])&&i[s+l]===o[u+l];)l++;for(;s>e&&u>n&&f(o[u-1])&&i[s-1]===o[u-1];)T=[s-1,u-1,l+1],s=T[0],u=T[1],l=T[2];for(;s+l<t&&u+l<r&&f(o[u+l])&&i[s+l]===o[u+l];)l++;return[s,u,l]},e.prototype.getMatchingBlocks=function(){var e,t,n,r,i,o,a,s,u,l,c,f,h,d,p,v,g,y,b,w,_,x,k,S,T,j;if(this.matchingBlocks)return this.matchingBlocks;for(x=[this.a.length,this.b.length],d=x[0],p=x[1],y=[[0,d,0,p]],v=[];y.length;)k=y.pop(),t=k[0],e=k[1],r=k[2],n=k[3],S=b=this.findLongestMatch(t,e,r,n),i=S[0],s=S[1],c=S[2],c&&(v.push(b),t<i&&r<s&&y.push([t,i,r,s]),i+c<e&&s+c<n&&y.push([i+c,e,s+c,n]));for(v.sort(m),o=u=f=0,g=[],w=0,_=v.length;w<_;w++)T=v[w],a=T[0],l=T[1],h=T[2],o+f===a&&u+f===l?f+=h:(f&&g.push([o,u,f]),j=[a,l,h],o=j[0],u=j[1],f=j[2]);return f&&g.push([o,u,f]),g.push([d,p,0]),this.matchingBlocks=g},e.prototype.getOpcodes=function(){var e,t,n,r,i,o,a,s,u,l,c,f;if(this.opcodes)return this.opcodes;for(r=i=0,this.opcodes=t=[],l=this.getMatchingBlocks(),s=0,u=l.length;s<u;s++)c=l[s],e=c[0],n=c[1],o=c[2],a="",r<e&&i<n?a="replace":r<e?a="delete":i<n&&(a="insert"),a&&t.push([a,r,e,i,n]),f=[e+o,n+o],r=f[0],i=f[1],o&&t.push(["equal",e,r,n,i]);return t},e.prototype.getGroupedOpcodes=function(e){var t,n,r,i,o,a,s,u,f,h,d,p,m,v,g;for(null==e&&(e=3),t=this.getOpcodes(),t.length||(t=[["equal",0,1,0,1]]),"equal"===t[0][0]&&(p=t[0],f=p[0],i=p[1],o=p[2],a=p[3],s=p[4],t[0]=[f,l(i,o-e),o,l(a,s-e),s]),"equal"===t[t.length-1][0]&&(m=t[t.length-1],f=m[0],i=m[1],o=m[2],a=m[3],s=m[4],t[t.length-1]=[f,i,c(o,i+e),a,c(s,a+e)]),u=e+e,r=[],n=[],h=0,d=t.length;h<d;h++)v=t[h],f=v[0],i=v[1],o=v[2],a=v[3],s=v[4],"equal"===f&&o-i>u&&(n.push([f,i,c(o,i+e),a,c(s,a+e)]),r.push(n),n=[],g=[l(i,o-e),l(a,s-e)],i=g[0],a=g[1]),n.push([f,i,o,a,s]);return!n.length||1===n.length&&"equal"===n[0][0]||r.push(n),r},e.prototype.ratio=function(){var e,t,n,r,i;for(t=0,i=this.getMatchingBlocks(),n=0,r=i.length;n<r;n++)e=i[n],t+=e[2];return v(t,this.a.length+this.b.length)},e.prototype.quickRatio=function(){var e,t,n,r,i,o,a,s,u,l,c;if(!this.fullbcount)for(this.fullbcount=n={},l=this.b,o=0,s=l.length;o<s;o++)t=l[o],n[t]=(n[t]||0)+1;for(n=this.fullbcount,e={},r=0,c=this.a,a=0,u=c.length;a<u;a++)t=c[a],i=w(e,t)?e[t]:n[t]||0,e[t]=i-1,i>0&&r++;return v(r,this.a.length+this.b.length)},e.prototype.realQuickRatio=function(){var e,t,n;return n=[this.a.length,this.b.length],e=n[0],t=n[1],v(c(e,t),e+t)},e}(),u=function(e,t,r,i){var a,s,u,l,c,f,h,d,p,v;if(null==r&&(r=3),null==i&&(i=.6),!(r>0))throw new Error("n must be > 0: ("+r+")");if(!(0<=i&&i<=1))throw new Error("cutoff must be in [0.0, 1.0]: ("+i+")");for(a=[],s=new o,s.setSeq2(e),c=0,h=t.length;c<h;c++)l=t[c],s.setSeq1(l),s.realQuickRatio()>=i&&s.quickRatio()>=i&&s.ratio()>=i&&a.push([s.ratio(),l]);for(a=n.nlargest(a,r,m),v=[],f=0,d=a.length;f<d;f++)p=a[f],u=p[0],l=p[1],v.push(l);return v},g=function(e,t){var n,r,i;for(i=[0,e.length],n=i[0],r=i[1];n<r&&e[n]===t;)n++;return n},e=function(){function e(e,t){this.linejunk=e,this.charjunk=t}return e.prototype.compare=function(e,t){var n,r,i,a,s,u,l,c,f,h,d,p,m,v,g;for(s=new o(this.linejunk,e,t),c=[],v=s.getOpcodes(),h=0,p=v.length;h<p;h++){switch(g=v[h],f=g[0],r=g[1],n=g[2],a=g[3],i=g[4],f){case"replace":u=this._fancyReplace(e,r,n,t,a,i);break;case"delete":u=this._dump("-",e,r,n);break;case"insert":u=this._dump("+",t,a,i);break;case"equal":u=this._dump(" ",e,r,n);break;default:throw new Error("unknow tag ("+f+")")}for(d=0,m=u.length;d<m;d++)l=u[d],c.push(l)}return c},e.prototype._dump=function(e,t,n,r){var i,o,a;for(a=[],i=o=n;n<=r?o<r:o>r;i=n<=r?++o:--o)a.push(""+e+" "+t[i]);return a},e.prototype._plainReplace=function(e,t,n,r,i,o){var a,s,u,l,c,f,h,d,p,m;for(o-i<n-t?(a=this._dump("+",r,i,o),c=this._dump("-",e,t,n)):(a=this._dump("-",e,t,n),c=this._dump("+",r,i,o)),l=[],m=[a,c],f=0,d=m.length;f<d;f++)for(s=m[f],h=0,p=s.length;h<p;h++)u=s[h],l.push(u);return l},e.prototype._fancyReplace=function(e,t,n,r,i,a){var s,u,l,c,f,h,d,p,m,v,g,y,b,w,_,x,k,S,T,j,C,O,D,E,M,N,A,R,L,P,Y,F,q,H,W,I,U,$,z,B,G,V,Z,J,X,K,Q,ee,te;for(U=[.74,.75],d=U[0],_=U[1],w=new o(this.charjunk),$=[null,null],x=$[0],k=$[1],D=[],T=M=i;i<=a?M<a:M>a;T=i<=a?++M:--M)for(v=r[T],w.setSeq2(v),S=N=t;t<=n?N<n:N>n;S=t<=n?++N:--N)u=e[S],u!==v?(w.setSeq1(u),w.realQuickRatio()>d&&w.quickRatio()>d&&w.ratio()>d&&(Z=[w.ratio(),S,T],d=Z[0],p=Z[1],m=Z[2])):null===x&&(V=[S,T],x=V[0],k=V[1]);if(d<_){if(null===x){for(J=this._plainReplace(e,t,n,r,i,a),A=0,L=J.length;A<L;A++)O=J[A],D.push(O);return D}X=[x,k,1],p=X[0],m=X[1],d=X[2]}else x=null;for(K=this._fancyHelper(e,t,p,r,i,m),R=0,P=K.length;R<P;R++)O=K[R],D.push(O);if(Q=[e[p],r[m]],s=Q[0],h=Q[1],null===x){for(f=b="",w.setSeqs(s,h),ee=w.getOpcodes(),H=0,Y=ee.length;H<Y;H++)switch(te=ee[H],E=te[0],l=te[1],c=te[2],g=te[3],y=te[4],z=[c-l,y-g],j=z[0],C=z[1],E){case"replace":f+=Array(j+1).join("^"),b+=Array(C+1).join("^");break;case"delete":f+=Array(j+1).join("-");break;case"insert":b+=Array(C+1).join("+");break;case"equal":f+=Array(j+1).join(" "),b+=Array(C+1).join(" ");break;default:throw new Error("unknow tag ("+E+")")}for(B=this._qformat(s,h,f,b),W=0,F=B.length;W<F;W++)O=B[W],D.push(O)}else D.push(" "+s);for(G=this._fancyHelper(e,p+1,n,r,m+1,a),I=0,q=G.length;I<q;I++)O=G[I],D.push(O);return D},e.prototype._fancyHelper=function(e,t,n,r,i,o){var a;return a=[],t<n?a=i<o?this._fancyReplace(e,t,n,r,i,o):this._dump("-",e,t,n):i<o&&(a=this._dump("+",r,i,o)),a},e.prototype._qformat=function(e,t,n,r){var i,o;return o=[],i=c(g(e,"\t"),g(t,"\t")),i=c(i,g(n.slice(0,i)," ")),i=c(i,g(r.slice(0,i)," ")),n=n.slice(i).replace(/\s+$/,""),r=r.slice(i).replace(/\s+$/,""),o.push("- "+e),n.length&&o.push("? "+Array(i+1).join("\t")+n+"\n"),o.push("+ "+t),r.length&&o.push("? "+Array(i+1).join("\t")+r+"\n"),o},e}(),i=function(e,t){return null==t&&(t=/^\s*#?\s*$/),t.test(e)},r=function(e,t){return null==t&&(t=" \t"),_.call(t,e)>=0},b=function(e,t){var n,r;return n=e+1,r=t-e,1===r?""+n:(r||n--,""+n+","+r)},d=function(e,t,n){var r,i,a,s,u,l,c,f,h,d,p,m,v,g,y,w,_,x,k,S,T,j,C,O,D,E,M,N,A,R,L,P,Y,F,q,H,W,I;for(P=null!=n?n:{},u=P.fromfile,S=P.tofile,l=P.fromfiledate,T=P.tofiledate,w=P.n,y=P.lineterm,null==u&&(u=""),null==S&&(S=""),null==l&&(l=""),null==T&&(T=""),null==w&&(w=3),null==y&&(y="\n"),g=[],_=!1,Y=new o(null,e,t).getGroupedOpcodes(),j=0,E=Y.length;j<E;j++)for(c=Y[j],_||(_=!0,s=l?"\t"+l:"",k=T?"\t"+T:"",g.push("--- "+u+s+y),g.push("+++ "+S+k+y)),F=[c[0],c[c.length-1]],a=F[0],m=F[1],r=b(a[1],m[2]),i=b(a[3],m[4]),g.push("@@ -"+r+" +"+i+" @@"+y),C=0,M=c.length;C<M;C++)if(q=c[C],x=q[0],f=q[1],h=q[2],d=q[3],p=q[4],"equal"!==x){if("replace"===x||"delete"===x)for(W=e.slice(f,h),D=0,A=W.length;D<A;D++)v=W[D],g.push("-"+v);if("replace"===x||"insert"===x)for(I=t.slice(d,p),L=0,R=I.length;L<R;L++)v=I[L],g.push("+"+v)}else for(H=e.slice(f,h),O=0,N=H.length;O<N;O++)v=H[O],g.push(" "+v);return g},y=function(e,t){var n,r;return n=e+1,r=t-e,r||n--,r<=1?""+n:""+n+","+(n+r-1)},a=function(e,t,n){var r,i,a,s,u,l,c,f,h,d,m,v,g,b,w,_,x,k,S,T,j,C,O,D,E,M,N,A,R,L,P,Y,F,q,H,W,I,U,$,z;for(q=null!=n?n:{},u=q.fromfile,j=q.tofile,l=q.fromfiledate,C=q.tofiledate,_=q.n,w=q.lineterm,null==u&&(u=""),null==j&&(j=""),null==l&&(l=""),null==C&&(C=""),null==_&&(_=3),null==w&&(w="\n"),x={insert:"+ ",delete:"- ",replace:"! ",equal:" "},k=!1,b=[],H=new o(null,e,t).getGroupedOpcodes(),D=0,A=H.length;D<A;D++)if(c=H[D],!k){if(k=!0,s=l?"\t"+l:"",T=C?"\t"+C:"",b.push("*** "+u+s+w),b.push("--- "+j+T+w),W=[c[0],c[c.length-1]],a=W[0],v=W[1],b.push("***************"+w),r=y(a[1],v[2]),b.push("*** "+r+" ****"+w),p(function(){var e,t,n,r;for(r=[],e=0,t=c.length;e<t;e++)n=c[e],S=n[0],O=n[1],O=n[2],O=n[3],O=n[4],r.push("replace"===S||"delete"===S);return r}()))for(E=0,R=c.length;E<R;E++)if(I=c[E],S=I[0],f=I[1],h=I[2],O=I[3],O=I[4],"insert"!==S)for(U=e.slice(f,h),M=0,L=U.length;M<L;M++)g=U[M],b.push(x[S]+g);if(i=y(a[3],v[4]),b.push("--- "+i+" ----"+w),p(function(){var e,t,n,r;for(r=[],e=0,t=c.length;e<t;e++)n=c[e],S=n[0],O=n[1],O=n[2],O=n[3],O=n[4],r.push("replace"===S||"insert"===S);return r}()))for(N=0,P=c.length;N<P;N++)if($=c[N],S=$[0],O=$[1],O=$[2],d=$[3],m=$[4],"delete"!==S)for(z=t.slice(d,m),F=0,Y=z.length;F<Y;F++)g=z[F],b.push(x[S]+g)}return b},f=function(t,n,i,o){return null==o&&(o=r),new e(i,o).compare(t,n)},h=function(e,t){var n,r,i,o,a,s,u;if(o={1:"- ",2:"+ "}[t],!o)throw new Error("unknow delta choice (must be 1 or 2): "+t);for(i=[" ",o],r=[],a=0,s=e.length;a<s;a++)n=e[a],u=n.slice(0,2),_.call(i,u)>=0&&r.push(n.slice(2));return r},t._arrayCmp=m,t.SequenceMatcher=o,t.getCloseMatches=u,t._countLeading=g,t.Differ=e,t.IS_LINE_JUNK=i,t.IS_CHARACTER_JUNK=r,t._formatRangeUnified=b,t.unifiedDiff=d,t._formatRangeContext=y,t.contextDiff=a,t.ndiff=f,t.restore=h}).call(this)}),_d=wd,xd=/\d/,kd=["print","archive","comment","discuss","e-mail","email","share","reply","all","login","sign","single","adx","entry-unrelated"],Sd=new RegExp(kd.join("|"),"i"),Td=new RegExp("(next|weiter|continue|>([^|]|$)|»([^|]|$))","i"),jd=new RegExp("(first|last|end)","i"),Cd=new RegExp("(prev|earl|old|new|<|«)","i"),Od={extract:function(e){var t=e.$,n=e.url,r=e.parsedUrl,i=e.previousUrls,o=void 0===i?[]:i;r=r||Ps.parse(n);var a=_e(n),s=ke(n,r),u=t("a[href]").toArray(),l=Et({links:u,articleUrl:a,baseUrl:s,parsedUrl:r,$:t,previousUrls:o});if(!l)return null;var c=wu(l).reduce(function(e,t){var n=l[t];return n.score>e.score?n:e},{score:-100});return c.score>=50?c.href:null}},Dd=["og:url"],Ed={extract:function(e){var t=e.$,n=e.url,r=e.metaCache,i=t("link[rel=canonical]");if(0!==i.length){var o=i.attr("href");if(o)return Nt(o)}var a=Pe(t,Dd,r);return Nt(a?a:n)}},Md={ellipse:"…",chars:[" ","-"],max:140,truncate:!0},Nd=function(e,t,n){if("string"!=typeof e||0===e.length)return"";if(0===t)return"";n=n||{};for(var r in Md)null!==n[r]&&"undefined"!=typeof n[r]||(n[r]=Md[r]);return n.max=t||n.max,At(e,n.max,n.ellipse,n.chars,n.truncate)},Ad=["og:description","twitter:description"],Rd={extract:function(e){var t=e.$,n=e.content,r=e.metaCache,i=Pe(t,Ad,r);if(i)return Rt(qe(i,t));var o=200,a=n.slice(0,5*o);return Rt(t(a).text(),t,o)}},Ld={extract:function(e){var t=e.content,n=qs.load(t),r=n("div").first(),i=ye(r.text());return i.split(/\s/).length}},Pd={domain:"*",title:Jh.extract,date_published:sd.extract,author:nd.extract,content:zh.extract.bind(zh),lead_image_url:gd.extract,dek:ud.extract,next_page_url:Od.extract,url_and_domain:Ed.extract,excerpt:Rd.extract,word_count:Ld.extract,direction:function(e){var t=e.title;return yh.getDirection(t)},extract:function(e){var t=e.html,n=e.$;if(t&&!n){var r=qs.load(t);e.$=r}var i=this.title(e),o=this.date_published(e),a=this.author(e),s=this.content(si({},e,{title:i})),u=this.lead_image_url(si({},e,{content:s})),l=this.dek(si({},e,{content:s})),c=this.next_page_url(e),f=this.excerpt(si({},e,{content:s})),h=this.word_count(si({},e,{content:s})),d=this.direction({title:i}),p=this.url_and_domain(e),m=p.url,v=p.domain;return{title:i,author:a,date_published:o||null,dek:l,lead_image_url:u,content:s,next_page_url:c,url:m,domain:v,excerpt:f,word_count:h,direction:d}}},Yd={extract:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pd,t=arguments[1],n=t,r=n.contentOnly,i=n.extractedTitle;if("*"===e.domain)return e.extract(t);if(t=si({},t,{extractor:e}),r){var o=Ht(si({},t,{type:"content",extractHtml:!0,title:i}));return{content:o}}var a=Ht(si({},t,{type:"title"})),s=Ht(si({},t,{type:"date_published"})),u=Ht(si({},t,{type:"author"})),l=Ht(si({},t,{type:"next_page_url"})),c=Ht(si({},t,{type:"content",extractHtml:!0,title:a})),f=Ht(si({},t,{type:"lead_image_url",content:c})),h=Ht(si({},t,{type:"excerpt",content:c})),d=Ht(si({},t,{type:"dek",content:c,excerpt:h})),p=Ht(si({},t,{type:"word_count",content:c})),m=Ht(si({},t,{type:"direction",title:a})),v=Ht(si({},t,{type:"url_and_domain"}))||{url:null,domain:null},g=v.url,y=v.domain;return{title:a,content:c,author:u,date_published:s,lead_image_url:f,dek:d,next_page_url:l,url:g,domain:y,excerpt:h,word_count:p,direction:m}}},Fd=function(){function e(e){return t.apply(this,arguments)}var t=ls(wn.mark(function e(t){var n,r,i,o,a,s=t.next_page_url,u=t.html,l=t.$,c=t.metaCache,f=t.result,h=t.Extractor,d=t.title,p=t.url;return wn.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=1,r=[_e(p)];case 2:if(!(s&&n<26)){e.next=15;break}return n+=1,e.next=6,Wf.create(s);case 6:l=e.sent,u=l.html(),i={url:s,html:u,$:l,metaCache:c,contentOnly:!0,extractedTitle:d,previousUrls:r},o=Yd.extract(h,i),r.push(s),f=si({},f,{content:f.content+"<hr><h4>Page "+n+"</h4>"+o.content}),s=o.next_page_url,e.next=2;break;case 15:return a=Pd.word_count({content:"<div>"+f.content+"</div>"}),e.abrupt("return",si({},f,{total_pages:n,pages_rendered:n,word_count:a}));case 17:case"end":return e.stop()}},e,this)}));return e}(),qd={parse:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return ls(wn.mark(function i(){var o,a,s,u,l,c,f,h,d,p,m,v;return wn.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(o=r.fetchAllPages,a=void 0===o||o,s=r.fallback,u=void 0===s||s,!e&&qs.browser&&(e=window.location.href,t=t||qs.html()),l=Ps.parse(e),Y(l)){n.next=5;break}return n.abrupt("return",tu.badUrl);case 5:return c=Lt(e,l),n.next=8,Wf.create(e,t,l);case 8:if(f=n.sent,!f.failed){n.next=11;break}return n.abrupt("return",f);case 11:if(t||(t=f.html()),h=f("meta").map(function(e,t){return f(t).attr("name")}).toArray(),d=Yd.extract(c,{url:e,html:t,$:f,metaCache:h,parsedUrl:l,fallback:u}),p=d,m=p.title,v=p.next_page_url,!a||!v){n.next=21;break}return n.next=18,Fd({Extractor:c,next_page_url:v,html:t,$:f,metaCache:h,result:d,title:m,url:e});case 18:d=n.sent,n.next=22;break;case 21:d=si({},d,{total_pages:1,rendered_pages:1});case 22:return n.abrupt("return",d);case 23:case"end":return n.stop()}},i,n)}))()},browser:!!qs.browser,fetchResource:function(e){var t=this;return ls(wn.mark(function n(){return wn.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Wf.create(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}},n,t)}))()}};return qd}();