mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
18b5fd5869
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@5933 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2 lines
36 KiB
JavaScript
2 lines
36 KiB
JavaScript
function summary(e,t){return e=e.replace("/p/processhacker/code/","https://sourceforge.net/p/processhacker/code/"),e.length>t?(e=e.substring(0,t),e=e.replace(/\s*$/,""),e.trim()+"..."):e.trim()}function displayNewsFeed(e){if(e.error)window.newsFeedContainer.innerHTML="Error fetching feed: "+e.error.message;else{for(var t="",n=e.feed.entries,r=0;r<n.length;r++)t+="<div>",t+='<a href="'+n[r].link+'" target="_blank" ">'+summary(n[r].title,32)+"</a>",t+='<span class="forumdate"> by <span class="author">'+n[r].author+"</span></span>",t+='<div class="forumdate">'+moment(n[r].publishedDate).fromNow()+" - "+new Date(n[r].publishedDate).toLocaleString()+"</div>",t+="</div>";window.newsFeedContainer.innerHTML=t}}function displayForumfeed(e){if(e.error)window.newsFeedContainer.innerHTML="Error fetching feed: "+e.error.message;else{for(var t="",n=e.feed.entries,r=0;r<n.length;r++)t+="<div>",t+='<a href="'+n[r].link+'" target="_blank" ">'+summary(n[r].title,32)+"</a>",t+='<span class="forumdate"> by <span class="user">'+n[r].author+"</span></span>",t+='<div class="forumdate">'+moment(n[r].publishedDate).fromNow()+" - "+new Date(n[r].publishedDate).toLocaleString()+"</div>",t+="</div>";window.forumFeedContainer.innerHTML=t}}function displaySvnFeed(e){if(e.error)window.newsFeedContainer.innerHTML="Error fetching feed: "+e.error.message;else{for(var t="",n=e.feed.entries,r=0;r<n.length;r++)t+="<div>",t+='<a href="'+n[r].link+'" target="_blank" ">'+summary(n[r].title,32)+"</a>",t+='<span class="forumdate"> by <span style="color:#AA0000">'+n[r].author+"</span></span>",t+='<div class="forumdate">'+moment(n[r].publishedDate).fromNow()+" - "+new Date(n[r].publishedDate).toLocaleString()+"</div>",t+="</div>";window.sourceFeedContainer.innerHTML=t}}!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function e(){return Cn.apply(null,arguments)}function t(e){Cn=e}function n(e){return"[object Array]"===Object.prototype.toString.call(e)}function r(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function i(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function o(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function a(e,t,n,r){return Te(e,t,n,r,!0).utc()}function u(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function d(e){return null==e._pf&&(e._pf=u()),e._pf}function l(e){if(null==e._isValid){var t=d(e);e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated,e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function c(e){var t=a(NaN);return null!=e?o(d(t),e):d(t).userInvalidated=!0,t}function f(e,t){var n,r,i;if("undefined"!=typeof t._isAMomentObject&&(e._isAMomentObject=t._isAMomentObject),"undefined"!=typeof t._i&&(e._i=t._i),"undefined"!=typeof t._f&&(e._f=t._f),"undefined"!=typeof t._l&&(e._l=t._l),"undefined"!=typeof t._strict&&(e._strict=t._strict),"undefined"!=typeof t._tzm&&(e._tzm=t._tzm),"undefined"!=typeof t._isUTC&&(e._isUTC=t._isUTC),"undefined"!=typeof t._offset&&(e._offset=t._offset),"undefined"!=typeof t._pf&&(e._pf=d(t)),"undefined"!=typeof t._locale&&(e._locale=t._locale),Ln.length>0)for(n in Ln)r=Ln[n],i=t[r],"undefined"!=typeof i&&(e[r]=i);return e}function h(t){f(this,t),this._d=new Date(+t._d),Gn===!1&&(Gn=!0,e.updateOffset(this),Gn=!1)}function m(e){return e instanceof h||null!=e&&null!=e._isAMomentObject}function _(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=t>=0?Math.floor(t):Math.ceil(t)),n}function y(e,t,n){var r,i=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),o=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&_(e[r])!==_(t[r]))&&o++;return o+s}function p(){}function g(e){return e?e.toLowerCase().replace("_","-"):e}function v(e){for(var t,n,r,i,s=0;s<e.length;){for(i=g(e[s]).split("-"),t=i.length,n=g(e[s+1]),n=n?n.split("-"):null;t>0;){if(r=w(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&y(i,n,!0)>=t-1)break;t--}s++}return null}function w(e){var t=null;if(!Wn[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=Un._abbr,require("./locale/"+e),D(t)}catch(n){}return Wn[e]}function D(e,t){var n;return e&&(n="undefined"==typeof t?Y(e):M(e,t),n&&(Un=n)),Un._abbr}function M(e,t){return null!==t?(t.abbr=e,Wn[e]||(Wn[e]=new p),Wn[e].set(t),D(e),Wn[e]):(delete Wn[e],null)}function Y(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Un;if(!n(e)){if(t=w(e))return t;e=[e]}return v(e)}function k(e,t){var n=e.toLowerCase();Pn[n]=Pn[n+"s"]=Pn[t]=e}function T(e){return"string"==typeof e?Pn[e]||Pn[e.toLowerCase()]:void 0}function S(e){var t,n,r={};for(n in e)s(e,n)&&(t=T(n),t&&(r[t]=e[n]));return r}function b(t,n){return function(r){return null!=r?(F(this,t,r),e.updateOffset(this,n),this):O(this,t)}}function O(e,t){return e._d["get"+(e._isUTC?"UTC":"")+t]()}function F(e,t,n){return e._d["set"+(e._isUTC?"UTC":"")+t](n)}function C(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=T(e),"function"==typeof this[e])return this[e](t);return this}function U(e,t,n){for(var r=""+Math.abs(e),i=e>=0;r.length<t;)r="0"+r;return(i?n?"+":"":"-")+r}function L(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(An[e]=i),t&&(An[t[0]]=function(){return U(i.apply(this,arguments),t[1],t[2])}),n&&(An[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function W(e){var t,n,r=e.match(Hn);for(t=0,n=r.length;n>t;t++)An[r[t]]?r[t]=An[r[t]]:r[t]=G(r[t]);return function(i){var s="";for(t=0;n>t;t++)s+=r[t]instanceof Function?r[t].call(i,e):r[t];return s}}function P(e,t){return e.isValid()?(t=H(t,e.localeData()),xn[t]||(xn[t]=W(t)),xn[t](e)):e.localeData().invalidDate()}function H(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(In.lastIndex=0;r>=0&&In.test(e);)e=e.replace(In,n),In.lastIndex=0,r-=1;return e}function I(e,t,n){er[e]="function"==typeof t?t:function(e){return e&&n?n:t}}function x(e,t){return s(er,e)?er[e](t._strict,t._locale):new RegExp(A(e))}function A(e){return e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function E(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=_(e)}),n=0;n<e.length;n++)tr[e[n]]=r}function N(e,t){E(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function z(e,t,n){null!=t&&s(tr,e)&&tr[e](t,n._a,n,e)}function Z(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function j(e){return this._months[e.month()]}function V(e){return this._monthsShort[e.month()]}function q(e,t,n){var r,i,s;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=a([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]||(s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(s.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 $(e,t){var n;return"string"==typeof t&&(t=e.localeData().monthsParse(t),"number"!=typeof t)?e:(n=Math.min(e.date(),Z(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e)}function B(t){return null!=t?($(this,t),e.updateOffset(this,!0),this):O(this,"Month")}function J(){return Z(this.year(),this.month())}function R(e){var t,n=e._a;return n&&-2===d(e).overflow&&(t=n[rr]<0||n[rr]>11?rr:n[ir]<1||n[ir]>Z(n[nr],n[rr])?ir:n[sr]<0||n[sr]>24||24===n[sr]&&(0!==n[or]||0!==n[ar]||0!==n[ur])?sr:n[or]<0||n[or]>59?or:n[ar]<0||n[ar]>59?ar:n[ur]<0||n[ur]>999?ur:-1,d(e)._overflowDayOfYear&&(nr>t||t>ir)&&(t=ir),d(e).overflow=t),e}function Q(t){e.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function X(e,t){var n=!0,r=e+"\n"+(new Error).stack;return o(function(){return n&&(Q(r),n=!1),t.apply(this,arguments)},t)}function K(e,t){cr[e]||(Q(t),cr[e]=!0)}function ee(e){var t,n,r=e._i,i=fr.exec(r);if(i){for(d(e).iso=!0,t=0,n=hr.length;n>t;t++)if(hr[t][1].exec(r)){e._f=hr[t][0]+(i[6]||" ");break}for(t=0,n=mr.length;n>t;t++)if(mr[t][1].exec(r)){e._f+=mr[t][0];break}r.match(Qn)&&(e._f+="Z"),ve(e)}else e._isValid=!1}function te(t){var n=_r.exec(t._i);return null!==n?void(t._d=new Date(+n[1])):(ee(t),void(t._isValid===!1&&(delete t._isValid,e.createFromInputFallback(t))))}function ne(e,t,n,r,i,s,o){var a=new Date(e,t,n,r,i,s,o);return 1970>e&&a.setFullYear(e),a}function re(e){var t=new Date(Date.UTC.apply(null,arguments));return 1970>e&&t.setUTCFullYear(e),t}function ie(e){return se(e)?366:365}function se(e){return e%4===0&&e%100!==0||e%400===0}function oe(){return se(this.year())}function ae(e,t,n){var r,i=n-t,s=n-e.day();return s>i&&(s-=7),i-7>s&&(s+=7),r=Se(e).add(s,"d"),{week:Math.ceil(r.dayOfYear()/7),year:r.year()}}function ue(e){return ae(e,this._week.dow,this._week.doy).week}function de(){return this._week.dow}function le(){return this._week.doy}function ce(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function fe(e){var t=ae(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function he(e,t,n,r,i){var s,o,a=re(e,0,1).getUTCDay();return a=0===a?7:a,n=null!=n?n:i,s=i-a+(a>r?7:0)-(i>a?7:0),o=7*(t-1)+(n-i)+s+1,{year:o>0?e:e-1,dayOfYear:o>0?o:ie(e-1)+o}}function me(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 _e(e,t,n){return null!=e?e:null!=t?t:n}function ye(e){var t=new Date;return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function pe(e){var t,n,r,i,s=[];if(!e._d){for(r=ye(e),e._w&&null==e._a[ir]&&null==e._a[rr]&&ge(e),e._dayOfYear&&(i=_e(e._a[nr],r[nr]),e._dayOfYear>ie(i)&&(d(e)._overflowDayOfYear=!0),n=re(i,0,e._dayOfYear),e._a[rr]=n.getUTCMonth(),e._a[ir]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;7>t;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[sr]&&0===e._a[or]&&0===e._a[ar]&&0===e._a[ur]&&(e._nextDay=!0,e._a[sr]=0),e._d=(e._useUTC?re:ne).apply(null,s),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[sr]=24)}}function ge(e){var t,n,r,i,s,o,a;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(s=1,o=4,n=_e(t.GG,e._a[nr],ae(Se(),1,4).year),r=_e(t.W,1),i=_e(t.E,1)):(s=e._locale._week.dow,o=e._locale._week.doy,n=_e(t.gg,e._a[nr],ae(Se(),s,o).year),r=_e(t.w,1),null!=t.d?(i=t.d,s>i&&++r):i=null!=t.e?t.e+s:s),a=he(n,r,i,o,s),e._a[nr]=a.year,e._dayOfYear=a.dayOfYear}function ve(t){if(t._f===e.ISO_8601)return void ee(t);t._a=[],d(t).empty=!0;var n,r,i,s,o,a=""+t._i,u=a.length,l=0;for(i=H(t._f,t._locale).match(Hn)||[],n=0;n<i.length;n++)s=i[n],r=(a.match(x(s,t))||[])[0],r&&(o=a.substr(0,a.indexOf(r)),o.length>0&&d(t).unusedInput.push(o),a=a.slice(a.indexOf(r)+r.length),l+=r.length),An[s]?(r?d(t).empty=!1:d(t).unusedTokens.push(s),z(s,r,t)):t._strict&&!r&&d(t).unusedTokens.push(s);d(t).charsLeftOver=u-l,a.length>0&&d(t).unusedInput.push(a),d(t).bigHour===!0&&t._a[sr]<=12&&t._a[sr]>0&&(d(t).bigHour=void 0),t._a[sr]=we(t._locale,t._a[sr],t._meridiem),pe(t),R(t)}function we(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&12>t&&(t+=12),r||12!==t||(t=0),t):t}function De(e){var t,n,r,i,s;if(0===e._f.length)return d(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)s=0,t=f({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],ve(t),l(t)&&(s+=d(t).charsLeftOver,s+=10*d(t).unusedTokens.length,d(t).score=s,(null==r||r>s)&&(r=s,n=t));o(e,n||t)}function Me(e){if(!e._d){var t=S(e._i);e._a=[t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],pe(e)}}function Ye(e){var t,i=e._i,s=e._f;return e._locale=e._locale||Y(e._l),null===i||void 0===s&&""===i?c({nullInput:!0}):("string"==typeof i&&(e._i=i=e._locale.preparse(i)),m(i)?new h(R(i)):(n(s)?De(e):s?ve(e):r(i)?e._d=i:ke(e),t=new h(R(e)),t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t))}function ke(t){var s=t._i;void 0===s?t._d=new Date:r(s)?t._d=new Date(+s):"string"==typeof s?te(t):n(s)?(t._a=i(s.slice(0),function(e){return parseInt(e,10)}),pe(t)):"object"==typeof s?Me(t):"number"==typeof s?t._d=new Date(s):e.createFromInputFallback(t)}function Te(e,t,n,r,i){var s={};return"boolean"==typeof n&&(r=n,n=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=e,s._f=t,s._strict=r,Ye(s)}function Se(e,t,n,r){return Te(e,t,n,r,!1)}function be(e,t){var r,i;if(1===t.length&&n(t[0])&&(t=t[0]),!t.length)return Se();for(r=t[0],i=1;i<t.length;++i)t[i][e](r)&&(r=t[i]);return r}function Oe(){var e=[].slice.call(arguments,0);return be("isBefore",e)}function Fe(){var e=[].slice.call(arguments,0);return be("isAfter",e)}function Ce(e){var t=S(e),n=t.year||0,r=t.quarter||0,i=t.month||0,s=t.week||0,o=t.day||0,a=t.hour||0,u=t.minute||0,d=t.second||0,l=t.millisecond||0;this._milliseconds=+l+1e3*d+6e4*u+36e5*a,this._days=+o+7*s,this._months=+i+3*r+12*n,this._data={},this._locale=Y(),this._bubble()}function Ue(e){return e instanceof Ce}function Le(e,t){L(e,0,0,function(){var e=this.utcOffset(),n="+";return 0>e&&(e=-e,n="-"),n+U(~~(e/60),2)+t+U(~~e%60,2)})}function Ge(e){var t=(e||"").match(Qn)||[],n=t[t.length-1]||[],r=(n+"").match(wr)||["-",0,0],i=+(60*r[1])+_(r[2]);return"+"===r[0]?i:-i}function We(t,n){var i,s;return n._isUTC?(i=n.clone(),s=(m(t)||r(t)?+t:+Se(t))-+i,i._d.setTime(+i._d+s),e.updateOffset(i,!1),i):Se(t).local()}function Pe(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function He(t,n){var r,i=this._offset||0;return null!=t?("string"==typeof t&&(t=Ge(t)),Math.abs(t)<16&&(t=60*t),!this._isUTC&&n&&(r=Pe(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==t&&(!n||this._changeInProgress?Xe(this,$e(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Pe(this)}function Ie(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function xe(e){return this.utcOffset(0,e)}function Ae(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Pe(this),"m")),this}function Ee(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ge(this._i)),this}function Ne(e){return e=e?Se(e).utcOffset():0,(this.utcOffset()-e)%60===0}function ze(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ze(){if(this._a){var e=this._isUTC?a(this._a):Se(this._a);return this.isValid()&&y(this._a,e.toArray())>0}return!1}function je(){return!this._isUTC}function Ve(){return this._isUTC}function qe(){return this._isUTC&&0===this._offset}function $e(e,t){var n,r,i,o=e,a=null;return Ue(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=Dr.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:_(a[ir])*n,h:_(a[sr])*n,m:_(a[or])*n,s:_(a[ar])*n,ms:_(a[ur])*n}):(a=Mr.exec(e))?(n="-"===a[1]?-1:1,o={y:Be(a[2],n),M:Be(a[3],n),d:Be(a[4],n),h:Be(a[5],n),m:Be(a[6],n),s:Be(a[7],n),w:Be(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Re(Se(o.from),Se(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Ce(o),Ue(e)&&s(e,"_locale")&&(r._locale=e._locale),r}function Be(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Je(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 Re(e,t){var n;return t=We(t,e),e.isBefore(t)?n=Je(e,t):(n=Je(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function Qe(e,t){return function(n,r){var i,s;return null===r||isNaN(+r)||(K(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),s=n,n=r,r=s),n="string"==typeof n?+n:n,i=$e(n,r),Xe(this,i,e),this}}function Xe(t,n,r,i){var s=n._milliseconds,o=n._days,a=n._months;i=null==i?!0:i,s&&t._d.setTime(+t._d+s*r),o&&F(t,"Date",O(t,"Date")+o*r),a&&$(t,O(t,"Month")+a*r),i&&e.updateOffset(t,o||a)}function Ke(e){var t=e||Se(),n=We(t,this).startOf("day"),r=this.diff(n,"days",!0),i=-6>r?"sameElse":-1>r?"lastWeek":0>r?"lastDay":1>r?"sameDay":2>r?"nextDay":7>r?"nextWeek":"sameElse";return this.format(this.localeData().calendar(i,this,Se(t)))}function et(){return new h(this)}function tt(e,t){var n;return t=T("undefined"!=typeof t?t:"millisecond"),"millisecond"===t?(e=m(e)?e:Se(e),+this>+e):(n=m(e)?+e:+Se(e),n<+this.clone().startOf(t))}function nt(e,t){var n;return t=T("undefined"!=typeof t?t:"millisecond"),"millisecond"===t?(e=m(e)?e:Se(e),+e>+this):(n=m(e)?+e:+Se(e),+this.clone().endOf(t)<n)}function rt(e,t,n){return this.isAfter(e,n)&&this.isBefore(t,n)}function it(e,t){var n;return t=T(t||"millisecond"),"millisecond"===t?(e=m(e)?e:Se(e),+this===+e):(n=+Se(e),+this.clone().startOf(t)<=n&&n<=+this.clone().endOf(t))}function st(e){return 0>e?Math.ceil(e):Math.floor(e)}function ot(e,t,n){var r,i,s=We(e,this),o=6e4*(s.utcOffset()-this.utcOffset());return t=T(t),"year"===t||"month"===t||"quarter"===t?(i=at(this,s),"quarter"===t?i/=3:"year"===t&&(i/=12)):(r=this-s,i="second"===t?r/1e3:"minute"===t?r/6e4:"hour"===t?r/36e5:"day"===t?(r-o)/864e5:"week"===t?(r-o)/6048e5:r),n?i:st(i)}function at(e,t){var n,r,i=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(i,"months");return 0>t-s?(n=e.clone().add(i-1,"months"),r=(t-s)/(s-n)):(n=e.clone().add(i+1,"months"),r=(t-s)/(n-s)),-(i+r)}function ut(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function dt(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():P(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):P(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function lt(t){var n=P(this,t||e.defaultFormat);return this.localeData().postformat(n)}function ct(e,t){return this.isValid()?$e({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ft(e){return this.from(Se(),e)}function ht(e,t){return this.isValid()?$e({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function mt(e){return this.to(Se(),e)}function _t(e){var t;return void 0===e?this._locale._abbr:(t=Y(e),null!=t&&(this._locale=t),this)}function yt(){return this._locale}function pt(e){switch(e=T(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":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 gt(e){return e=T(e),void 0===e||"millisecond"===e?this:this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms")}function vt(){return+this._d-6e4*(this._offset||0)}function wt(){return Math.floor(+this/1e3)}function Dt(){return this._offset?new Date(+this):this._d}function Mt(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Yt(){return l(this)}function kt(){return o({},d(this))}function Tt(){return d(this).overflow}function St(e,t){L(0,[e,e.length],0,t)}function bt(e,t,n){return ae(Se([e,11,31+t-n]),t,n).week}function Ot(e){var t=ae(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==e?t:this.add(e-t,"y")}function Ft(e){var t=ae(this,1,4).year;return null==e?t:this.add(e-t,"y")}function Ct(){return bt(this.year(),1,4)}function Ut(){var e=this.localeData()._week;return bt(this.year(),e.dow,e.doy)}function Lt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Gt(e,t){if("string"==typeof e)if(isNaN(e)){if(e=t.weekdaysParse(e),"number"!=typeof e)return null}else e=parseInt(e,10);return e}function Wt(e){return this._weekdays[e.day()]}function Pt(e){return this._weekdaysShort[e.day()]}function Ht(e){return this._weekdaysMin[e.day()]}function It(e){var t,n,r;for(this._weekdaysParse||(this._weekdaysParse=[]),t=0;7>t;t++)if(this._weekdaysParse[t]||(n=Se([2e3,1]).day(t),r="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[t]=new RegExp(r.replace(".",""),"i")),this._weekdaysParse[t].test(e))return t}function xt(e){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Gt(e,this.localeData()),this.add(e-t,"d")):t}function At(e){var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Et(e){return null==e?this.day()||7:this.day(this.day()%7?e:e-7)}function Nt(e,t){L(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function zt(e,t){return t._meridiemParse}function Zt(e){return"p"===(e+"").toLowerCase().charAt(0)}function jt(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Vt(e){L(0,[e,3],0,"millisecond")}function qt(){return this._isUTC?"UTC":""}function $t(){return this._isUTC?"Coordinated Universal Time":""}function Bt(e){return Se(1e3*e)}function Jt(){return Se.apply(null,arguments).parseZone()}function Rt(e,t,n){var r=this._calendar[e];return"function"==typeof r?r.call(t,n):r}function Qt(e){var t=this._longDateFormat[e];return!t&&this._longDateFormat[e.toUpperCase()]&&(t=this._longDateFormat[e.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e]=t),t}function Xt(){return this._invalidDate}function Kt(e){return this._ordinal.replace("%d",e)}function en(e){return e}function tn(e,t,n,r){var i=this._relativeTime[n];return"function"==typeof i?i(e,t,n,r):i.replace(/%d/i,e)}function nn(e,t){var n=this._relativeTime[e>0?"future":"past"];return"function"==typeof n?n(t):n.replace(/%s/i,t)}function rn(e){var t,n;for(n in e)t=e[n],"function"==typeof t?this[n]=t:this["_"+n]=t;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function sn(e,t,n,r){var i=Y(),s=a().set(r,t);return i[n](s,e)}function on(e,t,n,r,i){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return sn(e,t,n,i);var s,o=[];for(s=0;r>s;s++)o[s]=sn(e,s,n,i);return o}function an(e,t){return on(e,t,"months",12,"month")}function un(e,t){return on(e,t,"monthsShort",12,"month")}function dn(e,t){return on(e,t,"weekdays",7,"day")}function ln(e,t){return on(e,t,"weekdaysShort",7,"day")}function cn(e,t){return on(e,t,"weekdaysMin",7,"day")}function fn(){var e=this._data;return this._milliseconds=jr(this._milliseconds),this._days=jr(this._days),this._months=jr(this._months),e.milliseconds=jr(e.milliseconds),e.seconds=jr(e.seconds),e.minutes=jr(e.minutes),e.hours=jr(e.hours),e.months=jr(e.months),e.years=jr(e.years),this}function hn(e,t,n,r){var i=$e(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function mn(e,t){return hn(this,e,t,1)}function _n(e,t){return hn(this,e,t,-1)}function yn(){var e,t,n,r=this._milliseconds,i=this._days,s=this._months,o=this._data,a=0;return o.milliseconds=r%1e3,e=st(r/1e3),o.seconds=e%60,t=st(e/60),o.minutes=t%60,n=st(t/60),o.hours=n%24,i+=st(n/24),a=st(pn(i)),i-=st(gn(a)),s+=st(i/30),i%=30,a+=st(s/12),s%=12,o.days=i,o.months=s,o.years=a,this}function pn(e){return 400*e/146097}function gn(e){return 146097*e/400}function vn(e){var t,n,r=this._milliseconds;if(e=T(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+12*pn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(gn(this._months/12)),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 wn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12)}function Dn(e){return function(){return this.as(e)}}function Mn(e){return e=T(e),this[e+"s"]()}function Yn(e){return function(){return this._data[e]}}function kn(){return st(this.days()/7)}function Tn(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function Sn(e,t,n){var r=$e(e).abs(),i=oi(r.as("s")),s=oi(r.as("m")),o=oi(r.as("h")),a=oi(r.as("d")),u=oi(r.as("M")),d=oi(r.as("y")),l=i<ai.s&&["s",i]||1===s&&["m"]||s<ai.m&&["mm",s]||1===o&&["h"]||o<ai.h&&["hh",o]||1===a&&["d"]||a<ai.d&&["dd",a]||1===u&&["M"]||u<ai.M&&["MM",u]||1===d&&["y"]||["yy",d];return l[2]=t,l[3]=+e>0,l[4]=n,Tn.apply(null,l)}function bn(e,t){return void 0===ai[e]?!1:void 0===t?ai[e]:(ai[e]=t,!0)}function On(e){var t=this.localeData(),n=Sn(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Fn(){var e=ui(this.years()),t=ui(this.months()),n=ui(this.days()),r=ui(this.hours()),i=ui(this.minutes()),s=ui(this.seconds()+this.milliseconds()/1e3),o=this.asSeconds();return o?(0>o?"-":"")+"P"+(e?e+"Y":"")+(t?t+"M":"")+(n?n+"D":"")+(r||i||s?"T":"")+(r?r+"H":"")+(i?i+"M":"")+(s?s+"S":""):"P0D"}var Cn,Un,Ln=e.momentProperties=[],Gn=!1,Wn={},Pn={},Hn=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,In=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,xn={},An={},En=/\d/,Nn=/\d\d/,zn=/\d{3}/,Zn=/\d{4}/,jn=/[+-]?\d{6}/,Vn=/\d\d?/,qn=/\d{1,3}/,$n=/\d{1,4}/,Bn=/[+-]?\d{1,6}/,Jn=/\d+/,Rn=/[+-]?\d+/,Qn=/Z|[+-]\d\d:?\d\d/gi,Xn=/[+-]?\d+(\.\d{1,3})?/,Kn=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,er={},tr={},nr=0,rr=1,ir=2,sr=3,or=4,ar=5,ur=6;L("M",["MM",2],"Mo",function(){return this.month()+1}),L("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),L("MMMM",0,0,function(e){return this.localeData().months(this,e)}),k("month","M"),I("M",Vn),I("MM",Vn,Nn),I("MMM",Kn),I("MMMM",Kn),E(["M","MM"],function(e,t){t[rr]=_(e)-1}),E(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[rr]=i:d(n).invalidMonth=e});var dr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),lr="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),cr={};e.suppressDeprecationWarnings=!1;var fr=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,hr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],mr=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],_r=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=X("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),L(0,["YY",2],0,function(){return this.year()%100}),L(0,["YYYY",4],0,"year"),L(0,["YYYYY",5],0,"year"),L(0,["YYYYYY",6,!0],0,"year"),k("year","y"),I("Y",Rn),I("YY",Vn,Nn),I("YYYY",$n,Zn),I("YYYYY",Bn,jn),I("YYYYYY",Bn,jn),E(["YYYY","YYYYY","YYYYYY"],nr),E("YY",function(t,n){n[nr]=e.parseTwoDigitYear(t)}),e.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var yr=b("FullYear",!1);L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),k("week","w"),k("isoWeek","W"),I("w",Vn),I("ww",Vn,Nn),I("W",Vn),I("WW",Vn,Nn),N(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=_(e)});var pr={dow:0,doy:6};L("DDD",["DDDD",3],"DDDo","dayOfYear"),k("dayOfYear","DDD"),I("DDD",qn),I("DDDD",zn),E(["DDD","DDDD"],function(e,t,n){n._dayOfYear=_(e)}),e.ISO_8601=function(){};var gr=X("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Se.apply(null,arguments);return this>e?this:e}),vr=X("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Se.apply(null,arguments);return e>this?this:e});Le("Z",":"),Le("ZZ",""),I("Z",Qn),I("ZZ",Qn),E(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ge(e)});var wr=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Dr=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Mr=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;$e.fn=Ce.prototype;var Yr=Qe(1,"add"),kr=Qe(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Tr=X("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)});L(0,["gg",2],0,function(){return this.weekYear()%100}),L(0,["GG",2],0,function(){return this.isoWeekYear()%100}),St("gggg","weekYear"),St("ggggg","weekYear"),St("GGGG","isoWeekYear"),St("GGGGG","isoWeekYear"),k("weekYear","gg"),k("isoWeekYear","GG"),I("G",Rn),I("g",Rn),I("GG",Vn,Nn),I("gg",Vn,Nn),I("GGGG",$n,Zn),I("gggg",$n,Zn),I("GGGGG",Bn,jn),I("ggggg",Bn,jn),N(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=_(e)}),N(["gg","GG"],function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)}),L("Q",0,0,"quarter"),k("quarter","Q"),I("Q",En),E("Q",function(e,t){t[rr]=3*(_(e)-1)}),L("D",["DD",2],"Do","date"),k("date","D"),I("D",Vn),I("DD",Vn,Nn),I("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),E(["D","DD"],ir),E("Do",function(e,t){t[ir]=_(e.match(Vn)[0],10)});var Sr=b("Date",!0);L("d",0,"do","day"),L("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),L("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),L("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),k("day","d"),k("weekday","e"),k("isoWeekday","E"),I("d",Vn),I("e",Vn),I("E",Vn),I("dd",Kn),I("ddd",Kn),I("dddd",Kn),N(["dd","ddd","dddd"],function(e,t,n){var r=n._locale.weekdaysParse(e);null!=r?t.d=r:d(n).invalidWeekday=e}),N(["d","e","E"],function(e,t,n,r){t[r]=_(e)});var br="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Or="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Fr="Su_Mo_Tu_We_Th_Fr_Sa".split("_");L("H",["HH",2],0,"hour"),L("h",["hh",2],0,function(){return this.hours()%12||12}),Nt("a",!0),Nt("A",!1),k("hour","h"),I("a",zt),I("A",zt),I("H",Vn),I("h",Vn),I("HH",Vn,Nn),I("hh",Vn,Nn),E(["H","HH"],sr),E(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),E(["h","hh"],function(e,t,n){t[sr]=_(e),d(n).bigHour=!0});var Cr=/[ap]\.?m?\.?/i,Ur=b("Hours",!0);L("m",["mm",2],0,"minute"),k("minute","m"),I("m",Vn),I("mm",Vn,Nn),E(["m","mm"],or);var Lr=b("Minutes",!1);L("s",["ss",2],0,"second"),k("second","s"),I("s",Vn),I("ss",Vn,Nn),E(["s","ss"],ar);var Gr=b("Seconds",!1);L("S",0,0,function(){return~~(this.millisecond()/100)}),L(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Vt("SSS"),Vt("SSSS"),k("millisecond","ms"),I("S",qn,En),I("SS",qn,Nn),I("SSS",qn,zn),I("SSSS",Jn),E(["S","SS","SSS","SSSS"],function(e,t){t[ur]=_(1e3*("0."+e))});var Wr=b("Milliseconds",!1);L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName");var Pr=h.prototype;Pr.add=Yr,Pr.calendar=Ke,Pr.clone=et,
|
|
Pr.diff=ot,Pr.endOf=gt,Pr.format=lt,Pr.from=ct,Pr.fromNow=ft,Pr.to=ht,Pr.toNow=mt,Pr.get=C,Pr.invalidAt=Tt,Pr.isAfter=tt,Pr.isBefore=nt,Pr.isBetween=rt,Pr.isSame=it,Pr.isValid=Yt,Pr.lang=Tr,Pr.locale=_t,Pr.localeData=yt,Pr.max=vr,Pr.min=gr,Pr.parsingFlags=kt,Pr.set=C,Pr.startOf=pt,Pr.subtract=kr,Pr.toArray=Mt,Pr.toDate=Dt,Pr.toISOString=dt,Pr.toJSON=dt,Pr.toString=ut,Pr.unix=wt,Pr.valueOf=vt,Pr.year=yr,Pr.isLeapYear=oe,Pr.weekYear=Ot,Pr.isoWeekYear=Ft,Pr.quarter=Pr.quarters=Lt,Pr.month=B,Pr.daysInMonth=J,Pr.week=Pr.weeks=ce,Pr.isoWeek=Pr.isoWeeks=fe,Pr.weeksInYear=Ut,Pr.isoWeeksInYear=Ct,Pr.date=Sr,Pr.day=Pr.days=xt,Pr.weekday=At,Pr.isoWeekday=Et,Pr.dayOfYear=me,Pr.hour=Pr.hours=Ur,Pr.minute=Pr.minutes=Lr,Pr.second=Pr.seconds=Gr,Pr.millisecond=Pr.milliseconds=Wr,Pr.utcOffset=He,Pr.utc=xe,Pr.local=Ae,Pr.parseZone=Ee,Pr.hasAlignedHourOffset=Ne,Pr.isDST=ze,Pr.isDSTShifted=Ze,Pr.isLocal=je,Pr.isUtcOffset=Ve,Pr.isUtc=qe,Pr.isUTC=qe,Pr.zoneAbbr=qt,Pr.zoneName=$t,Pr.dates=X("dates accessor is deprecated. Use date instead.",Sr),Pr.months=X("months accessor is deprecated. Use month instead",B),Pr.years=X("years accessor is deprecated. Use year instead",yr),Pr.zone=X("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ie);var Hr=Pr,Ir={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},xr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},Ar="Invalid date",Er="%d",Nr=/\d{1,2}/,zr={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"},Zr=p.prototype;Zr._calendar=Ir,Zr.calendar=Rt,Zr._longDateFormat=xr,Zr.longDateFormat=Qt,Zr._invalidDate=Ar,Zr.invalidDate=Xt,Zr._ordinal=Er,Zr.ordinal=Kt,Zr._ordinalParse=Nr,Zr.preparse=en,Zr.postformat=en,Zr._relativeTime=zr,Zr.relativeTime=tn,Zr.pastFuture=nn,Zr.set=rn,Zr.months=j,Zr._months=dr,Zr.monthsShort=V,Zr._monthsShort=lr,Zr.monthsParse=q,Zr.week=ue,Zr._week=pr,Zr.firstDayOfYear=le,Zr.firstDayOfWeek=de,Zr.weekdays=Wt,Zr._weekdays=br,Zr.weekdaysMin=Ht,Zr._weekdaysMin=Fr,Zr.weekdaysShort=Pt,Zr._weekdaysShort=Or,Zr.weekdaysParse=It,Zr.isPM=Zt,Zr._meridiemParse=Cr,Zr.meridiem=jt,D("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===_(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.lang=X("moment.lang is deprecated. Use moment.locale instead.",D),e.langData=X("moment.langData is deprecated. Use moment.localeData instead.",Y);var jr=Math.abs,Vr=Dn("ms"),qr=Dn("s"),$r=Dn("m"),Br=Dn("h"),Jr=Dn("d"),Rr=Dn("w"),Qr=Dn("M"),Xr=Dn("y"),Kr=Yn("milliseconds"),ei=Yn("seconds"),ti=Yn("minutes"),ni=Yn("hours"),ri=Yn("days"),ii=Yn("months"),si=Yn("years"),oi=Math.round,ai={s:45,m:45,h:22,d:26,M:11},ui=Math.abs,di=Ce.prototype;di.abs=fn,di.add=mn,di.subtract=_n,di.as=vn,di.asMilliseconds=Vr,di.asSeconds=qr,di.asMinutes=$r,di.asHours=Br,di.asDays=Jr,di.asWeeks=Rr,di.asMonths=Qr,di.asYears=Xr,di.valueOf=wn,di._bubble=yn,di.get=Mn,di.milliseconds=Kr,di.seconds=ei,di.minutes=ti,di.hours=ni,di.days=ri,di.weeks=kn,di.months=ii,di.years=si,di.humanize=On,di.toISOString=Fn,di.toString=Fn,di.toJSON=Fn,di.locale=_t,di.localeData=yt,di.toIsoString=X("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fn),di.lang=Tr,L("X",0,0,"unix"),L("x",0,0,"valueOf"),I("x",Rn),I("X",Xn),E("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),E("x",function(e,t,n){n._d=new Date(_(e))}),e.version="2.10.3",t(Se),e.fn=Hr,e.min=Oe,e.max=Fe,e.utc=a,e.unix=Bt,e.months=an,e.isDate=r,e.locale=D,e.invalid=c,e.duration=$e,e.isMoment=m,e.weekdays=dn,e.parseZone=Jt,e.localeData=Y,e.isDuration=Ue,e.monthsShort=un,e.weekdaysMin=cn,e.defineLocale=M,e.weekdaysShort=ln,e.normalizeUnits=T,e.relativeTimeThreshold=bn;var li=e;return li}),window.onload=function(){if(window.newsFeedContainer=document.getElementById("news_feed_div"),window.forumFeedContainer=document.getElementById("forum_feed_div"),window.sourceFeedContainer=document.getElementById("source_feed_div"),!window.google)return window.newsFeedContainer.innerHTML="<div>Google API error.</div>",window.forumFeedContainer.innerHTML="<div>Google API error.</div>",void(window.sourceFeedContainer.innerHTML="<div>Google API error.</div>");window.newsFeedContainer.innerHTML="<div>Loading Latest News...</div>",window.forumFeedContainer.innerHTML="<div>Loading Forum Activity...</div>",window.sourceFeedContainer.innerHTML="<div>Loading Commit History...</div>";var e=new google.feeds.Feed("http://wj32.org/processhacker/forums/feed.php?f=1");e.setNumEntries(5),e.load(displayNewsFeed);var t=new google.feeds.Feed("http://wj32.org/processhacker/forums/feed.php?mode=topics_active");t.setNumEntries(5),t.load(displayForumfeed);var n=new google.feeds.Feed("http://sourceforge.net/p/processhacker/code/feed");n.setNumEntries(5),n.load(displaySvnFeed)}; |