15 lines
464 KiB
JavaScript
15 lines
464 KiB
JavaScript
!function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n,i,r=window.webpackJsonp;return window.webpackJsonp=function(o,s){for(var a,l,u,c=0,f=[];c<o.length;c++)l=o[c],i[l]&&f.push.apply(f,i[l]),i[l]=0;for(a in s)switch(u=s[a],typeof u){case"object":t[a]=function(e){var n=e.slice(1),i=e[0];return function(e,r,o){t[i].apply(this,[e,r,o].concat(n))}}(u);break;case"function":t[a]=u;break;default:t[a]=t[u]}for(r&&r(o,s);f.length;)f.shift().call(null,e);if(s[0])return n[0]=0,e(0)},n={},i={1:0},e.e=function(t,n){var r,o;return 0===i[t]?n.call(null,e):void(void 0!==i[t]?i[t].push(n):(i[t]=[n],r=document.getElementsByTagName("head")[0],o=document.createElement("script"),o.type="text/javascript",o.charset="utf-8",o.async=!0,o.src=e.p+""+({0:"library"}[t]||t)+"."+{0:"c3edcdf8b5d7baa6e0cf"}[t]+".js",r.appendChild(o)))},e.m=t,e.c=n,e.p="bundles/",e(0)}(function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))switch(typeof t[e]){case"function":break;case"object":t[e]=function(e){var n=e.slice(1),i=t[e[0]];return function(t,e,r){i.apply(this,[t,e,r].concat(n))}}(t[e]);break;default:t[e]=t[t[e]]}return t}([function(t,e,n){n(517),n(706),n(708),n(709),n(710),n(29),n(6),n(31),n(711),n(712),n(713),n(714),n(715),n(716),n(717),n(718),n(719),n(720),n(721),n(722),n(723),n(724),n(725),n(726),n(727),t.exports=n(728)},,function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},,,,function(t,e,n){(function(t){!function(e,n){t.exports=n()}(this,function(){"use strict";function e(){return jn.apply(null,arguments)}function i(t){jn=t}function r(t){return"[object Array]"===Object.prototype.toString.call(t)}function o(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function s(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function a(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t,e){for(var n in e)a(e,n)&&(t[n]=e[n]);return a(e,"toString")&&(t.toString=e.toString),a(e,"valueOf")&&(t.valueOf=e.valueOf),t}function u(t,e,n,i){return Ot(t,e,n,i,!0).utc()}function c(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function f(t){return null==t._pf&&(t._pf=c()),t._pf}function h(t){if(null==t._isValid){var e=f(t);t._isValid=!(isNaN(t._d.getTime())||!(e.overflow<0)||e.empty||e.invalidMonth||e.invalidWeekday||e.nullInput||e.invalidFormat||e.userInvalidated),t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function d(t){var e=u(NaN);return null!=t?l(f(e),t):f(e).userInvalidated=!0,e}function p(t,e){var n,i,r;if(void 0!==e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),void 0!==e._i&&(t._i=e._i),void 0!==e._f&&(t._f=e._f),void 0!==e._l&&(t._l=e._l),void 0!==e._strict&&(t._strict=e._strict),void 0!==e._tzm&&(t._tzm=e._tzm),void 0!==e._isUTC&&(t._isUTC=e._isUTC),void 0!==e._offset&&(t._offset=e._offset),void 0!==e._pf&&(t._pf=f(e)),void 0!==e._locale&&(t._locale=e._locale),Ri.length>0)for(n in Ri)i=Ri[n],r=e[i],void 0!==r&&(t[i]=r);return t}function g(t){p(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),Wi===!1&&(Wi=!0,e.updateOffset(this),Wi=!1)}function m(t){return t instanceof g||null!=t&&null!=t._isAMomentObject}function v(t){return t<0?Math.ceil(t):Math.floor(t)}function y(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=v(e)),n}function b(t,e,n){var i,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),s=0;for(i=0;i<r;i++)(n&&t[i]!==e[i]||!n&&y(t[i])!==y(e[i]))&&s++;return s+o}function _(){}function w(t){return t?t.toLowerCase().replace("_","-"):t}function x(t){for(var e,n,i,r,o=0;o<t.length;){for(r=w(t[o]).split("-"),e=r.length,n=w(t[o+1]),n=n?n.split("-"):null;e>0;){if(i=k(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&b(r,n,!0)>=e-1)break;e--}o++}return null}function k(e){var i=null;if(!Vi[e]&&void 0!==t&&t&&t.exports)try{i=Fn._abbr,n(7)("./"+e),S(i)}catch(t){}return Vi[e]}function S(t,e){var n;return t&&(n=void 0===e?D(t):T(t,e),n&&(Fn=n)),Fn._abbr}function T(t,e){return null!==e?(e.abbr=t,Vi[t]=Vi[t]||new _,Vi[t].set(e),S(t),Vi[t]):(delete Vi[t],null)}function D(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Fn;if(!r(t)){if(e=k(t))return e;t=[t]}return x(t)}function C(t,e){var n=t.toLowerCase();Bi[n]=Bi[n+"s"]=Bi[e]=t}function M(t){return"string"==typeof t?Bi[t]||Bi[t.toLowerCase()]:void 0}function P(t){var e,n,i={};for(n in t)a(t,n)&&(e=M(n),e&&(i[e]=t[n]));return i}function O(t,n){return function(i){return null!=i?(N(this,t,i),e.updateOffset(this,n),this):E(this,t)}}function E(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function N(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function I(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=M(t),"function"==typeof this[t])return this[t](e);return this}function A(t,e,n){var i=""+Math.abs(t),r=e-i.length,o=t>=0;return(o?n?"+":"":"-")+(""+Math.pow(10,Math.max(0,r))).substr(1)+i}function L(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(Gi[t]=r),e&&(Gi[e[0]]=function(){return A(r.apply(this,arguments),e[1],e[2])}),n&&(Gi[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function j(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function F(t){var e,n,i=t.match(Ui);for(e=0,n=i.length;e<n;e++)Gi[i[e]]?i[e]=Gi[i[e]]:i[e]=j(i[e]);return function(r){var o="";for(e=0;e<n;e++)o+=i[e]instanceof Function?i[e].call(r,t):i[e];return o}}function H(t,e){return t.isValid()?(e=z(e,t.localeData()),$i[e]=$i[e]||F(e),$i[e](t)):t.localeData().invalidDate()}function z(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(qi.lastIndex=0;i>=0&&qi.test(t);)t=t.replace(qi,n),qi.lastIndex=0,i-=1;return t}function Y(t){return"function"==typeof t&&"[object Function]"===Object.prototype.toString.call(t)}function R(t,e,n){ur[t]=Y(e)?e:function(t){return t&&n?n:e}}function W(t,e){return a(ur,t)?ur[t](e._strict,e._locale):RegExp(V(t))}function V(t){return t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function B(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(i=function(t,n){n[e]=y(t)}),n=0;n<t.length;n++)cr[t[n]]=i}function U(t,e){B(t,function(t,n,i,r){i._w=i._w||{},e(t,i._w,i,r)})}function q(t,e,n){null!=e&&a(cr,t)&&cr[t](e,n._a,n,t)}function $(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function G(t){return this._months[t.month()]}function X(t){return this._monthsShort[t.month()]}function K(t,e,n){var i,r,o;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=u([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function Q(t,e){var n;return"string"==typeof e&&(e=t.localeData().monthsParse(e),"number"!=typeof e)?t:(n=Math.min(t.date(),$(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function Z(t){return null!=t?(Q(this,t),e.updateOffset(this,!0),this):E(this,"Month")}function J(){return $(this.year(),this.month())}function tt(t){var e,n=t._a;return n&&f(t).overflow===-2&&(e=n[hr]<0||n[hr]>11?hr:n[dr]<1||n[dr]>$(n[fr],n[hr])?dr:n[pr]<0||n[pr]>24||24===n[pr]&&(0!==n[gr]||0!==n[mr]||0!==n[vr])?pr:n[gr]<0||n[gr]>59?gr:n[mr]<0||n[mr]>59?mr:n[vr]<0||n[vr]>999?vr:-1,f(t)._overflowDayOfYear&&(e<fr||e>dr)&&(e=dr),f(t).overflow=e),t}function et(t){e.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function nt(t,e){var n=!0;return l(function(){return n&&(et(t+"\n"+Error().stack),n=!1),e.apply(this,arguments)},e)}function it(t,e){Yn[t]||(et(e),Yn[t]=!0)}function rt(t){var e,n,i=t._i,r=Rn.exec(i);if(r){for(f(t).iso=!0,e=0,n=Wn.length;e<n;e++)if(Wn[e][1].exec(i)){t._f=Wn[e][0];break}for(e=0,n=Vn.length;e<n;e++)if(Vn[e][1].exec(i)){t._f+=(r[6]||" ")+Vn[e][0];break}i.match(sr)&&(t._f+="Z"),kt(t)}else t._isValid=!1}function ot(t){var n=Bn.exec(t._i);return null!==n?void(t._d=new Date(+n[1])):(rt(t),void(t._isValid===!1&&(delete t._isValid,e.createFromInputFallback(t))))}function st(t,e,n,i,r,o,s){var a=new Date(t,e,n,i,r,o,s);return t<1970&&a.setFullYear(t),a}function at(t){var e=new Date(Date.UTC.apply(null,arguments));return t<1970&&e.setUTCFullYear(t),e}function lt(t){return ut(t)?366:365}function ut(t){return t%4===0&&t%100!==0||t%400===0}function ct(){return ut(this.year())}function ft(t,e,n){var i,r=n-e,o=n-t.day();return o>r&&(o-=7),o<r-7&&(o+=7),i=Et(t).add(o,"d"),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function ht(t){return ft(t,this._week.dow,this._week.doy).week}function dt(){return this._week.dow}function pt(){return this._week.doy}function gt(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function mt(t){var e=ft(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function vt(t,e,n,i,r){var o,s=6+r-i,a=at(t,0,1+s),l=a.getUTCDay();return l<r&&(l+=7),n=null!=n?1*n:r,o=1+s+7*(e-1)-l+n,{year:o>0?t:t-1,dayOfYear:o>0?o:lt(t-1)+o}}function yt(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function bt(t,e,n){return null!=t?t:null!=e?e:n}function _t(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function wt(t){var e,n,i,r,o=[];if(!t._d){for(i=_t(t),t._w&&null==t._a[dr]&&null==t._a[hr]&&xt(t),t._dayOfYear&&(r=bt(t._a[fr],i[fr]),t._dayOfYear>lt(r)&&(f(t)._overflowDayOfYear=!0),n=at(r,0,t._dayOfYear),t._a[hr]=n.getUTCMonth(),t._a[dr]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=i[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[pr]&&0===t._a[gr]&&0===t._a[mr]&&0===t._a[vr]&&(t._nextDay=!0,t._a[pr]=0),t._d=(t._useUTC?at:st).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[pr]=24)}}function xt(t){var e,n,i,r,o,s,a;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(o=1,s=4,n=bt(e.GG,t._a[fr],ft(Et(),1,4).year),i=bt(e.W,1),r=bt(e.E,1)):(o=t._locale._week.dow,s=t._locale._week.doy,n=bt(e.gg,t._a[fr],ft(Et(),o,s).year),i=bt(e.w,1),null!=e.d?(r=e.d,r<o&&++i):r=null!=e.e?e.e+o:o),a=vt(n,i,r,s,o),t._a[fr]=a.year,t._dayOfYear=a.dayOfYear}function kt(t){if(t._f===e.ISO_8601)return void rt(t);t._a=[],f(t).empty=!0;var n,i,r,o,s,a=""+t._i,l=a.length,u=0;for(r=z(t._f,t._locale).match(Ui)||[],n=0;n<r.length;n++)o=r[n],i=(a.match(W(o,t))||[])[0],i&&(s=a.substr(0,a.indexOf(i)),s.length>0&&f(t).unusedInput.push(s),a=a.slice(a.indexOf(i)+i.length),u+=i.length),Gi[o]?(i?f(t).empty=!1:f(t).unusedTokens.push(o),q(o,i,t)):t._strict&&!i&&f(t).unusedTokens.push(o);f(t).charsLeftOver=l-u,a.length>0&&f(t).unusedInput.push(a),f(t).bigHour===!0&&t._a[pr]<=12&&t._a[pr]>0&&(f(t).bigHour=void 0),t._a[pr]=St(t._locale,t._a[pr],t._meridiem),wt(t),tt(t)}function St(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&e<12&&(e+=12),i||12!==e||(e=0),e):e}function Tt(t){var e,n,i,r,o;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)o=0,e=p({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],kt(e),h(e)&&(o+=f(e).charsLeftOver,o+=10*f(e).unusedTokens.length,f(e).score=o,(null==i||o<i)&&(i=o,n=e));l(t,n||e)}function Dt(t){if(!t._d){var e=P(t._i);t._a=[e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],wt(t)}}function Ct(t){var e=new g(tt(Mt(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Mt(t){var e=t._i,n=t._f;return t._locale=t._locale||D(t._l),null===e||void 0===n&&""===e?d({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),m(e)?new g(tt(e)):(r(n)?Tt(t):n?kt(t):o(e)?t._d=e:Pt(t),t))}function Pt(t){var n=t._i;void 0===n?t._d=new Date:o(n)?t._d=new Date(+n):"string"==typeof n?ot(t):r(n)?(t._a=s(n.slice(0),function(t){return parseInt(t,10)}),wt(t)):"object"==typeof n?Dt(t):"number"==typeof n?t._d=new Date(n):e.createFromInputFallback(t)}function Ot(t,e,n,i,r){var o={};return"boolean"==typeof n&&(i=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=t,o._f=e,o._strict=i,Ct(o)}function Et(t,e,n,i){return Ot(t,e,n,i,!1)}function Nt(t,e){var n,i;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return Et();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}function It(){var t=[].slice.call(arguments,0);return Nt("isBefore",t)}function At(){var t=[].slice.call(arguments,0);return Nt("isAfter",t)}function Lt(t){var e=P(t),n=e.year||0,i=e.quarter||0,r=e.month||0,o=e.week||0,s=e.day||0,a=e.hour||0,l=e.minute||0,u=e.second||0,c=e.millisecond||0;this._milliseconds=+c+1e3*u+6e4*l+36e5*a,this._days=+s+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=D(),this._bubble()}function jt(t){return t instanceof Lt}function Ft(t,e){L(t,0,0,function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+A(~~(t/60),2)+e+A(~~t%60,2)})}function Ht(t){var e=(t||"").match(sr)||[],n=e[e.length-1]||[],i=(n+"").match(Xn)||["-",0,0],r=+(60*i[1])+y(i[2]);return"+"===i[0]?r:-r}function zt(t,n){var i,r;return n._isUTC?(i=n.clone(),r=(m(t)||o(t)?+t:+Et(t))-+i,i._d.setTime(+i._d+r),e.updateOffset(i,!1),i):Et(t).local()}function Yt(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Rt(t,n){var i,r=this._offset||0;return null!=t?("string"==typeof t&&(t=Ht(t)),Math.abs(t)<16&&(t*=60),!this._isUTC&&n&&(i=Yt(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==t&&(!n||this._changeInProgress?ie(this,Zt(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:Yt(this)}function Wt(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Vt(t){return this.utcOffset(0,t)}function Bt(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Yt(this),"m")),this}function Ut(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ht(this._i)),this}function qt(t){return t=t?Et(t).utcOffset():0,(this.utcOffset()-t)%60===0}function $t(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Gt(){var t,e;return void 0!==this._isDSTShifted?this._isDSTShifted:(t={},p(t,this),t=Mt(t),t._a?(e=t._isUTC?u(t._a):Et(t._a),this._isDSTShifted=this.isValid()&&b(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted)}function Xt(){return!this._isUTC}function Kt(){return this._isUTC}function Qt(){return this._isUTC&&0===this._offset}function Zt(t,e){var n,i,r,o=t,s=null;return jt(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(s=Kn.exec(t))?(n="-"===s[1]?-1:1,o={y:0,d:y(s[dr])*n,h:y(s[pr])*n,m:y(s[gr])*n,s:y(s[mr])*n,ms:y(s[vr])*n}):(s=Qn.exec(t))?(n="-"===s[1]?-1:1,o={y:Jt(s[2],n),M:Jt(s[3],n),d:Jt(s[4],n),h:Jt(s[5],n),m:Jt(s[6],n),s:Jt(s[7],n),w:Jt(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=ee(Et(o.from),Et(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),i=new Lt(o),jt(t)&&a(t,"_locale")&&(i._locale=t._locale),i}function Jt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function te(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function ee(t,e){var n;return e=zt(e,t),t.isBefore(e)?n=te(t,e):(n=te(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function ne(t,e){return function(n,i){var r,o;return null===i||isNaN(+i)||(it(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),o=n,n=i,i=o),n="string"==typeof n?+n:n,r=Zt(n,i),ie(this,r,t),this}}function ie(t,n,i,r){var o=n._milliseconds,s=n._days,a=n._months;r=null==r||r,o&&t._d.setTime(+t._d+o*i),s&&N(t,"Date",E(t,"Date")+s*i),a&&Q(t,E(t,"Month")+a*i),r&&e.updateOffset(t,s||a)}function re(t,e){var n=t||Et(),i=zt(n,this).startOf("day"),r=this.diff(i,"days",!0),o=r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse";return this.format(e&&e[o]||this.localeData().calendar(o,this,Et(n)))}function oe(){return new g(this)}function se(t,e){var n;return e=M(void 0!==e?e:"millisecond"),"millisecond"===e?(t=m(t)?t:Et(t),+this>+t):(n=m(t)?+t:+Et(t),n<+this.clone().startOf(e))}function ae(t,e){var n;return e=M(void 0!==e?e:"millisecond"),"millisecond"===e?(t=m(t)?t:Et(t),+this<+t):(n=m(t)?+t:+Et(t),+this.clone().endOf(e)<n)}function le(t,e,n){return this.isAfter(t,n)&&this.isBefore(e,n)}function ue(t,e){var n;return e=M(e||"millisecond"),"millisecond"===e?(t=m(t)?t:Et(t),+this===+t):(n=+Et(t),+this.clone().startOf(e)<=n&&n<=+this.clone().endOf(e))}function ce(t,e,n){var i,r,o=zt(t,this),s=6e4*(o.utcOffset()-this.utcOffset());return e=M(e),"year"===e||"month"===e||"quarter"===e?(r=fe(this,o),"quarter"===e?r/=3:"year"===e&&(r/=12)):(i=this-o,r="second"===e?i/1e3:"minute"===e?i/6e4:"hour"===e?i/36e5:"day"===e?(i-s)/864e5:"week"===e?(i-s)/6048e5:i),n?r:v(r)}function fe(t,e){var n,i,r=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(r,"months");return e-o<0?(n=t.clone().add(r-1,"months"),i=(e-o)/(o-n)):(n=t.clone().add(r+1,"months"),i=(e-o)/(n-o)),-(r+i)}function he(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function de(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():H(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):H(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function pe(t){var n=H(this,t||e.defaultFormat);return this.localeData().postformat(n)}function ge(t,e){return this.isValid()?Zt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function me(t){return this.from(Et(),t)}function ve(t,e){return this.isValid()?Zt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ye(t){return this.to(Et(),t)}function be(t){var e;return void 0===t?this._locale._abbr:(e=D(t),null!=e&&(this._locale=e),this)}function _e(){return this._locale}function we(t){switch(t=M(t)){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"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function xe(t){return t=M(t),void 0===t||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")}function ke(){return+this._d-6e4*(this._offset||0)}function Se(){return Math.floor(+this/1e3)}function Te(){return this._offset?new Date(+this):this._d}function De(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Ce(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function Me(){return h(this)}function Pe(){return l({},f(this))}function Oe(){return f(this).overflow}function Ee(t,e){L(0,[t,t.length],0,e)}function Ne(t,e,n){return ft(Et([t,11,31+e-n]),e,n).week}function Ie(t){var e=ft(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")}function Ae(t){var e=ft(this,1,4).year;return null==t?e:this.add(t-e,"y")}function Le(){return Ne(this.year(),1,4)}function je(){var t=this.localeData()._week;return Ne(this.year(),t.dow,t.doy)}function Fe(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function He(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function ze(t){return this._weekdays[t.day()]}function Ye(t){return this._weekdaysShort[t.day()]}function Re(t){return this._weekdaysMin[t.day()]}function We(t){var e,n,i;for(this._weekdaysParse=this._weekdaysParse||[],e=0;e<7;e++)if(this._weekdaysParse[e]||(n=Et([2e3,1]).day(e),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=RegExp(i.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e}function Ve(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=He(t,this.localeData()),this.add(t-e,"d")):e}function Be(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Ue(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)}function qe(t,e){L(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function $e(t,e){return e._meridiemParse}function Ge(t){return"p"===(t+"").toLowerCase().charAt(0)}function Xe(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Ke(t,e){e[vr]=y(1e3*("0."+t))}function Qe(){return this._isUTC?"UTC":""}function Ze(){return this._isUTC?"Coordinated Universal Time":""}function Je(t){return Et(1e3*t)}function tn(){return Et.apply(null,arguments).parseZone()}function en(t,e,n){var i=this._calendar[t];return"function"==typeof i?i.call(e,n):i}function nn(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function rn(){return this._invalidDate}function on(t){return this._ordinal.replace("%d",t)}function sn(t){return t}function an(t,e,n,i){var r=this._relativeTime[n];return"function"==typeof r?r(t,e,n,i):r.replace(/%d/i,t)}function ln(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)}function un(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function cn(t,e,n,i){var r=D(),o=u().set(i,e);return r[n](o,t)}function fn(t,e,n,i,r){var o,s;if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return cn(t,e,n,r);for(s=[],o=0;o<i;o++)s[o]=cn(t,o,n,r);return s}function hn(t,e){return fn(t,e,"months",12,"month")}function dn(t,e){return fn(t,e,"monthsShort",12,"month")}function pn(t,e){return fn(t,e,"weekdays",7,"day")}function gn(t,e){return fn(t,e,"weekdaysShort",7,"day")}function mn(t,e){return fn(t,e,"weekdaysMin",7,"day")}function vn(){var t=this._data;return this._milliseconds=_i(this._milliseconds),this._days=_i(this._days),this._months=_i(this._months),t.milliseconds=_i(t.milliseconds),t.seconds=_i(t.seconds),t.minutes=_i(t.minutes),t.hours=_i(t.hours),t.months=_i(t.months),t.years=_i(t.years),this}function yn(t,e,n,i){var r=Zt(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function bn(t,e){return yn(this,t,e,1)}function _n(t,e){return yn(this,t,e,-1)}function wn(t){return t<0?Math.floor(t):Math.ceil(t)}function xn(){var t,e,n,i,r,o=this._milliseconds,s=this._days,a=this._months,l=this._data;return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*wn(Sn(a)+s),s=0,a=0),l.milliseconds=o%1e3,t=v(o/1e3),l.seconds=t%60,e=v(t/60),l.minutes=e%60,n=v(e/60),l.hours=n%24,s+=v(n/24),r=v(kn(s)),a+=r,s-=wn(Sn(r)),i=v(a/12),a%=12,l.days=s,l.months=a,l.years=i,this}function kn(t){return 4800*t/146097}function Sn(t){return 146097*t/4800}function Tn(t){var e,n,i=this._milliseconds;if(t=M(t),"month"===t||"year"===t)return e=this._days+i/864e5,n=this._months+kn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(Sn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw Error("Unknown unit "+t)}}function Dn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12)}function Cn(t){return function(){return this.as(t)}}function Mn(t){return t=M(t),this[t+"s"]()}function Pn(t){return function(){return this._data[t]}}function On(){return v(this.days()/7)}function En(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}function Nn(t,e,n){var i=Zt(t).abs(),r=ji(i.as("s")),o=ji(i.as("m")),s=ji(i.as("h")),a=ji(i.as("d")),l=ji(i.as("M")),u=ji(i.as("y")),c=r<Fi.s&&["s",r]||1===o&&["m"]||o<Fi.m&&["mm",o]||1===s&&["h"]||s<Fi.h&&["hh",s]||1===a&&["d"]||a<Fi.d&&["dd",a]||1===l&&["M"]||l<Fi.M&&["MM",l]||1===u&&["y"]||["yy",u];return c[2]=e,c[3]=+t>0,c[4]=n,En.apply(null,c)}function In(t,e){return void 0!==Fi[t]&&(void 0===e?Fi[t]:(Fi[t]=e,!0))}function An(t){var e=this.localeData(),n=Nn(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Ln(){var t,e,n,i,r,o,s,a,l=Hi(this._milliseconds)/1e3,u=Hi(this._days),c=Hi(this._months),f=v(l/60),h=v(f/60);return l%=60,f%=60,t=v(c/12),c%=12,e=t,n=c,i=u,r=h,o=f,s=l,a=this.asSeconds(),a?(a<0?"-":"")+"P"+(e?e+"Y":"")+(n?n+"M":"")+(i?i+"D":"")+(r||o||s?"T":"")+(r?r+"H":"")+(o?o+"M":"")+(s?s+"S":""):"P0D"}var jn,Fn,Hn,zn,Yn,Rn,Wn,Vn,Bn,Un,qn,$n,Gn,Xn,Kn,Qn,Zn,Jn,ti,ei,ni,ii,ri,oi,si,ai,li,ui,ci,fi,hi,di,pi,gi,mi,vi,yi,bi,_i,wi,xi,ki,Si,Ti,Di,Ci,Mi,Pi,Oi,Ei,Ni,Ii,Ai,Li,ji,Fi,Hi,zi,Yi,Ri=e.momentProperties=[],Wi=!1,Vi={},Bi={},Ui=/(\[[^\[]*\])|(\\)?(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,9}|x|X|zz?|ZZ?|.)/g,qi=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,$i={},Gi={},Xi=/\d/,Ki=/\d\d/,Qi=/\d{3}/,Zi=/\d{4}/,Ji=/[+-]?\d{6}/,tr=/\d\d?/,er=/\d{1,3}/,nr=/\d{1,4}/,ir=/[+-]?\d{1,6}/,rr=/\d+/,or=/[+-]?\d+/,sr=/Z|[+-]\d\d:?\d\d/gi,ar=/[+-]?\d+(\.\d{1,3})?/,lr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,ur={},cr={},fr=0,hr=1,dr=2,pr=3,gr=4,mr=5,vr=6;for(L("M",["MM",2],"Mo",function(){return this.month()+1}),L("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),L("MMMM",0,0,function(t){return this.localeData().months(this,t)}),C("month","M"),R("M",tr),R("MM",tr,Ki),R("MMM",lr),R("MMMM",lr),B(["M","MM"],function(t,e){e[hr]=y(t)-1}),B(["MMM","MMMM"],function(t,e,n,i){var r=n._locale.monthsParse(t,i,n._strict);null!=r?e[hr]=r:f(n).invalidMonth=t}),Hn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),zn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Yn={},e.suppressDeprecationWarnings=!1,Rn=/^\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)?)?$/,Wn=[["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}/]],Vn=[["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/]],Bn=/^\/?Date\((\-?\d+)/i,e.createFromInputFallback=nt("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(t){t._d=new Date(t._i+(t._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"),C("year","y"),R("Y",or),R("YY",tr,Ki),R("YYYY",nr,Zi),R("YYYYY",ir,Ji),R("YYYYYY",ir,Ji),B(["YYYYY","YYYYYY"],fr),B("YYYY",function(t,n){n[fr]=2===t.length?e.parseTwoDigitYear(t):y(t)}),B("YY",function(t,n){n[fr]=e.parseTwoDigitYear(t)}),e.parseTwoDigitYear=function(t){return y(t)+(y(t)>68?1900:2e3)},Un=O("FullYear",!1),L("w",["ww",2],"wo","week"),L("W",["WW",2],"Wo","isoWeek"),C("week","w"),C("isoWeek","W"),R("w",tr),R("ww",tr,Ki),R("W",tr),R("WW",tr,Ki),U(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=y(t)}),qn={dow:0,doy:6},L("DDD",["DDDD",3],"DDDo","dayOfYear"),C("dayOfYear","DDD"),R("DDD",er),R("DDDD",Qi),B(["DDD","DDDD"],function(t,e,n){n._dayOfYear=y(t)}),e.ISO_8601=function(){},$n=nt("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=Et.apply(null,arguments);return t<this?this:t}),Gn=nt("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=Et.apply(null,arguments);return t>this?this:t}),Ft("Z",":"),Ft("ZZ",""),R("Z",sr),R("ZZ",sr),B(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ht(t)}),Xn=/([\+\-]|\d\d)/gi,e.updateOffset=function(){},Kn=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Qn=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Zt.fn=Lt.prototype,Zn=ne(1,"add"),Jn=ne(-1,"subtract"),e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",ti=nt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)}),L(0,["gg",2],0,function(){return this.weekYear()%100}),L(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ee("gggg","weekYear"),Ee("ggggg","weekYear"),Ee("GGGG","isoWeekYear"),Ee("GGGGG","isoWeekYear"),C("weekYear","gg"),C("isoWeekYear","GG"),R("G",or),R("g",or),R("GG",tr,Ki),R("gg",tr,Ki),R("GGGG",nr,Zi),R("gggg",nr,Zi),R("GGGGG",ir,Ji),R("ggggg",ir,Ji),U(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=y(t)}),U(["gg","GG"],function(t,n,i,r){n[r]=e.parseTwoDigitYear(t)}),L("Q",0,0,"quarter"),C("quarter","Q"),R("Q",Xi),B("Q",function(t,e){e[hr]=3*(y(t)-1)}),L("D",["DD",2],"Do","date"),C("date","D"),R("D",tr),R("DD",tr,Ki),R("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),B(["D","DD"],dr),B("Do",function(t,e){e[dr]=y(t.match(tr)[0],10)}),ei=O("Date",!0),L("d",0,"do","day"),L("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),L("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),L("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),L("e",0,0,"weekday"),L("E",0,0,"isoWeekday"),C("day","d"),C("weekday","e"),C("isoWeekday","E"),R("d",tr),R("e",tr),R("E",tr),R("dd",lr),R("ddd",lr),R("dddd",lr),U(["dd","ddd","dddd"],function(t,e,n){var i=n._locale.weekdaysParse(t);null!=i?e.d=i:f(n).invalidWeekday=t}),U(["d","e","E"],function(t,e,n,i){e[i]=y(t)}),ni="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ii="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ri="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}),qe("a",!0),qe("A",!1),C("hour","h"),R("a",$e),R("A",$e),R("H",tr),R("h",tr),R("HH",tr,Ki),R("hh",tr,Ki),B(["H","HH"],pr),B(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),B(["h","hh"],function(t,e,n){e[pr]=y(t),f(n).bigHour=!0}),oi=/[ap]\.?m?\.?/i,si=O("Hours",!0),L("m",["mm",2],0,"minute"),C("minute","m"),R("m",tr),R("mm",tr,Ki),B(["m","mm"],gr),ai=O("Minutes",!1),L("s",["ss",2],0,"second"),C("second","s"),R("s",tr),R("ss",tr,Ki),B(["s","ss"],mr),li=O("Seconds",!1),L("S",0,0,function(){return~~(this.millisecond()/100)}),L(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),L(0,["SSS",3],0,"millisecond"),L(0,["SSSS",4],0,function(){return 10*this.millisecond();
|
||
}),L(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),L(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),L(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),L(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),L(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),C("millisecond","ms"),R("S",er,Xi),R("SS",er,Ki),R("SSS",er,Qi),ui="SSSS";ui.length<=9;ui+="S")R(ui,rr);for(ui="S";ui.length<=9;ui+="S")B(ui,Ke);return ci=O("Milliseconds",!1),L("z",0,0,"zoneAbbr"),L("zz",0,0,"zoneName"),fi=g.prototype,fi.add=Zn,fi.calendar=re,fi.clone=oe,fi.diff=ce,fi.endOf=xe,fi.format=pe,fi.from=ge,fi.fromNow=me,fi.to=ve,fi.toNow=ye,fi.get=I,fi.invalidAt=Oe,fi.isAfter=se,fi.isBefore=ae,fi.isBetween=le,fi.isSame=ue,fi.isValid=Me,fi.lang=ti,fi.locale=be,fi.localeData=_e,fi.max=Gn,fi.min=$n,fi.parsingFlags=Pe,fi.set=I,fi.startOf=we,fi.subtract=Jn,fi.toArray=De,fi.toObject=Ce,fi.toDate=Te,fi.toISOString=de,fi.toJSON=de,fi.toString=he,fi.unix=Se,fi.valueOf=ke,fi.year=Un,fi.isLeapYear=ct,fi.weekYear=Ie,fi.isoWeekYear=Ae,fi.quarter=fi.quarters=Fe,fi.month=Z,fi.daysInMonth=J,fi.week=fi.weeks=gt,fi.isoWeek=fi.isoWeeks=mt,fi.weeksInYear=je,fi.isoWeeksInYear=Le,fi.date=ei,fi.day=fi.days=Ve,fi.weekday=Be,fi.isoWeekday=Ue,fi.dayOfYear=yt,fi.hour=fi.hours=si,fi.minute=fi.minutes=ai,fi.second=fi.seconds=li,fi.millisecond=fi.milliseconds=ci,fi.utcOffset=Rt,fi.utc=Vt,fi.local=Bt,fi.parseZone=Ut,fi.hasAlignedHourOffset=qt,fi.isDST=$t,fi.isDSTShifted=Gt,fi.isLocal=Xt,fi.isUtcOffset=Kt,fi.isUtc=Qt,fi.isUTC=Qt,fi.zoneAbbr=Qe,fi.zoneName=Ze,fi.dates=nt("dates accessor is deprecated. Use date instead.",ei),fi.months=nt("months accessor is deprecated. Use month instead",Z),fi.years=nt("years accessor is deprecated. Use year instead",Un),fi.zone=nt("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Wt),hi=fi,di={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},pi={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"},gi="Invalid date",mi="%d",vi=/\d{1,2}/,yi={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"},bi=_.prototype,bi._calendar=di,bi.calendar=en,bi._longDateFormat=pi,bi.longDateFormat=nn,bi._invalidDate=gi,bi.invalidDate=rn,bi._ordinal=mi,bi.ordinal=on,bi._ordinalParse=vi,bi.preparse=sn,bi.postformat=sn,bi._relativeTime=yi,bi.relativeTime=an,bi.pastFuture=ln,bi.set=un,bi.months=G,bi._months=Hn,bi.monthsShort=X,bi._monthsShort=zn,bi.monthsParse=K,bi.week=ht,bi._week=qn,bi.firstDayOfYear=pt,bi.firstDayOfWeek=dt,bi.weekdays=ze,bi._weekdays=ni,bi.weekdaysMin=Re,bi._weekdaysMin=ri,bi.weekdaysShort=Ye,bi._weekdaysShort=ii,bi.weekdaysParse=We,bi.isPM=Ge,bi._meridiemParse=oi,bi.meridiem=Xe,S("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===y(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),e.lang=nt("moment.lang is deprecated. Use moment.locale instead.",S),e.langData=nt("moment.langData is deprecated. Use moment.localeData instead.",D),_i=Math.abs,wi=Cn("ms"),xi=Cn("s"),ki=Cn("m"),Si=Cn("h"),Ti=Cn("d"),Di=Cn("w"),Ci=Cn("M"),Mi=Cn("y"),Pi=Pn("milliseconds"),Oi=Pn("seconds"),Ei=Pn("minutes"),Ni=Pn("hours"),Ii=Pn("days"),Ai=Pn("months"),Li=Pn("years"),ji=Math.round,Fi={s:45,m:45,h:22,d:26,M:11},Hi=Math.abs,zi=Lt.prototype,zi.abs=vn,zi.add=bn,zi.subtract=_n,zi.as=Tn,zi.asMilliseconds=wi,zi.asSeconds=xi,zi.asMinutes=ki,zi.asHours=Si,zi.asDays=Ti,zi.asWeeks=Di,zi.asMonths=Ci,zi.asYears=Mi,zi.valueOf=Dn,zi._bubble=xn,zi.get=Mn,zi.milliseconds=Pi,zi.seconds=Oi,zi.minutes=Ei,zi.hours=Ni,zi.days=Ii,zi.weeks=On,zi.months=Ai,zi.years=Li,zi.humanize=An,zi.toISOString=Ln,zi.toString=Ln,zi.toJSON=Ln,zi.locale=be,zi.localeData=_e,zi.toIsoString=nt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ln),zi.lang=ti,L("X",0,0,"unix"),L("x",0,0,"valueOf"),R("x",or),R("X",ar),B("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),B("x",function(t,e,n){n._d=new Date(y(t))}),e.version="2.10.6",i(Et),e.fn=hi,e.min=It,e.max=At,e.utc=u,e.unix=Je,e.months=hn,e.isDate=o,e.locale=S,e.invalid=d,e.duration=Zt,e.isMoment=m,e.weekdays=pn,e.parseZone=tn,e.localeData=D,e.isDuration=jt,e.monthsShort=dn,e.weekdaysMin=mn,e.defineLocale=T,e.weekdaysShort=gn,e.normalizeUnits=M,e.relativeTimeThreshold=In,Yi=e})}).call(e,n(2)(t))},function(t,e,n){function i(t){return n(r(t))}function r(t){return o[t]||function(){throw Error("Cannot find module '"+t+"'.")}()}var o={"./en-gb":8,"./en-gb.js":8,"./ja":9,"./ja.js":9,"./ru":10,"./ru.js":10};i.keys=function(){return Object.keys(o)},i.resolve=r,t.exports=i,i.id=7},function(t,e,n){!function(t,e){e(n(6))}(this,function(t){"use strict";var e=t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10,n=1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n},week:{dow:1,doy:4}});return e})},function(t,e,n){!function(t,e){e(n(6))}(this,function(t){"use strict";var e=t.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return e})},function(t,e,n){!function(t,e){e(n(6))}(this,function(t){"use strict";function e(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]}function n(t,n,i){var r={mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===i?n?"минута":"минуту":t+" "+e(r[i],+t)}function i(t,e){var n={nominative:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),accusative:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function r(t,e){var n={nominative:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),accusative:"янв_фев_мар_апр_мая_июня_июля_авг_сен_окт_ноя_дек".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function o(t,e){var n={nominative:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),accusative:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_")},i=/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/.test(e)?"accusative":"nominative";return n[i][t.day()]}var s=t.defineLocale("ru",{months:i,monthsShort:r,weekdays:o,weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[й|я]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(){return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT"},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:n,mm:n,h:"час",hh:n,d:"день",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:7}});return s})},,,,,,,,,,,,,,,,,,,function(t,e,n){(function(e){t.exports=e.Mustache=n(30)}).call(e,function(){return this}())},function(t,e,n){var i,r,o;!function(n,s){"object"==typeof e&&e&&"string"!=typeof e.nodeName?s(e):(r=[e],i=s,o="function"==typeof i?i.apply(e,r):i,!(void 0!==o&&(t.exports=o)))}(this,function(t){function e(t){return"function"==typeof t}function n(t){return m(t)?"array":typeof t}function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function r(t,e){return null!=t&&"object"==typeof t&&e in t}function o(t,e){return v.call(t,e)}function s(t){return!o(y,t)}function a(t){return(t+"").replace(/[&<>"'`=\/]/g,function(t){return b[t]})}function l(e,n){function r(){if(d&&!p)for(;h.length;)delete l[h.pop()];else h=[];d=!1,p=!1}function o(t){if("string"==typeof t&&(t=t.split(w,2)),!m(t)||2!==t.length)throw Error("Invalid tags: "+t);g=RegExp(i(t[0])+"\\s*"),v=RegExp("\\s*"+i(t[1])),y=RegExp("\\s*"+i("}"+t[1]))}var a,l,h,d,p,g,v,y,b,T,D,C,M,P,O,E,N;if(!e)return[];for(a=[],l=[],h=[],d=!1,p=!1,o(n||t.tags),b=new f(e);!b.eos();){if(T=b.pos,C=b.scanUntil(g))for(E=0,N=C.length;E<N;++E)M=C.charAt(E),s(M)?h.push(l.length):p=!0,l.push(["text",M,T,T+1]),T+=1,"\n"===M&&r();if(!b.scan(g))break;if(d=!0,D=b.scan(S)||"name",b.scan(_),"="===D?(C=b.scanUntil(x),b.scan(x),b.scanUntil(v)):"{"===D?(C=b.scanUntil(y),b.scan(k),b.scanUntil(v),D="&"):C=b.scanUntil(v),!b.scan(v))throw Error("Unclosed tag at "+b.pos);if(P=[D,C,T,b.pos],l.push(P),"#"===D||"^"===D)a.push(P);else if("/"===D){if(O=a.pop(),!O)throw Error('Unopened section "'+C+'" at '+T);if(O[1]!==C)throw Error('Unclosed section "'+O[1]+'" at '+T)}else"name"===D||"{"===D||"&"===D?p=!0:"="===D&&o(C)}if(O=a.pop())throw Error('Unclosed section "'+O[1]+'" at '+b.pos);return c(u(l))}function u(t){var e,n,i,r,o=[];for(i=0,r=t.length;i<r;++i)e=t[i],e&&("text"===e[0]&&n&&"text"===n[0]?(n[1]+=e[1],n[3]=e[3]):(o.push(e),n=e));return o}function c(t){var e,n,i,r,o=[],s=o,a=[];for(i=0,r=t.length;i<r;++i)switch(e=t[i],e[0]){case"#":case"^":s.push(e),a.push(e),s=e[4]=[];break;case"/":n=a.pop(),n[5]=e[2],s=a.length>0?a[a.length-1][4]:o;break;default:s.push(e)}return o}function f(t){this.string=t,this.tail=t,this.pos=0}function h(t,e){this.view=t,this.cache={".":this.view},this.parent=e}function d(){this.cache={}}var p,g=Object.prototype.toString,m=Array.isArray||function(t){return"[object Array]"===g.call(t)},v=RegExp.prototype.test,y=/\S/,b={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},_=/\s*/,w=/\s+/,x=/\s*=/,k=/\s*\}/,S=/#|\^|\/|>|\{|&|=|!/;f.prototype.eos=function(){return""===this.tail},f.prototype.scan=function(t){var e,n=this.tail.match(t);return n&&0===n.index?(e=n[0],this.tail=this.tail.substring(e.length),this.pos+=e.length,e):""},f.prototype.scanUntil=function(t){var e,n=this.tail.search(t);switch(n){case-1:e=this.tail,this.tail="";break;case 0:e="";break;default:e=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=e.length,e},h.prototype.push=function(t){return new h(t,this)},h.prototype.lookup=function(t){var n,i,o,s,a,l=this.cache;if(l.hasOwnProperty(t))n=l[t];else{for(i=this,a=!1;i;){if(t.indexOf(".")>0)for(n=i.view,o=t.split("."),s=0;null!=n&&s<o.length;)s===o.length-1&&(a=r(n,o[s])),n=n[o[s++]];else n=i.view[t],a=r(i.view,t);if(a)break;i=i.parent}l[t]=n}return e(n)&&(n=n.call(this.view)),n},d.prototype.clearCache=function(){this.cache={}},d.prototype.parse=function(t,e){var n=this.cache,i=n[t];return null==i&&(i=n[t]=l(t,e)),i},d.prototype.render=function(t,e,n){var i=this.parse(t),r=e instanceof h?e:new h(e);return this.renderTokens(i,r,n,t)},d.prototype.renderTokens=function(t,e,n,i){var r,o,s,a,l,u="";for(a=0,l=t.length;a<l;++a)s=void 0,r=t[a],o=r[0],"#"===o?s=this.renderSection(r,e,n,i):"^"===o?s=this.renderInverted(r,e,n,i):">"===o?s=this.renderPartial(r,e,n,i):"&"===o?s=this.unescapedValue(r,e):"name"===o?s=this.escapedValue(r,e):"text"===o&&(s=this.rawValue(r)),void 0!==s&&(u+=s);return u},d.prototype.renderSection=function(t,n,i,r){function o(t){return l.render(t,n,i)}var s,a,l=this,u="",c=n.lookup(t[1]);if(c){if(m(c))for(s=0,a=c.length;s<a;++s)u+=this.renderTokens(t[4],n.push(c[s]),i,r);else if("object"==typeof c||"string"==typeof c||"number"==typeof c)u+=this.renderTokens(t[4],n.push(c),i,r);else if(e(c)){if("string"!=typeof r)throw Error("Cannot use higher-order sections without the original template");c=c.call(n.view,r.slice(t[3],t[5]),o),null!=c&&(u+=c)}else u+=this.renderTokens(t[4],n,i,r);return u}},d.prototype.renderInverted=function(t,e,n,i){var r=e.lookup(t[1]);if(!r||m(r)&&0===r.length)return this.renderTokens(t[4],e,n,i)},d.prototype.renderPartial=function(t,n,i){if(i){var r=e(i)?i(t[1]):i[t[1]];return null!=r?this.renderTokens(this.parse(r),n,i,r):void 0}},d.prototype.unescapedValue=function(t,e){var n=e.lookup(t[1]);if(null!=n)return n},d.prototype.escapedValue=function(e,n){var i=n.lookup(e[1]);if(null!=i)return t.escape(i)},d.prototype.rawValue=function(t){return t[1]},t.name="mustache.js",t.version="2.2.1",t.tags=["{{","}}"],p=new d,t.clearCache=function(){return p.clearCache()},t.parse=function(t,e){return p.parse(t,e)},t.render=function(t,e,i){if("string"!=typeof t)throw new TypeError('Invalid template! Template should be a "string" but "'+n(t)+'" was given as the first argument for mustache#render(template, view, partials)');return p.render(t,e,i)},t.to_html=function(n,i,r,o){var s=t.render(n,i,r);return e(o)?void o(s):s},t.escape=a,t.Scanner=f,t.Context=h,t.Writer=d})},function(t,e,n){var i;(function(r){!function(r,o){"use strict";var s,a,l,u,c,f,h,d,p,g,m,v,y,b,_,w,x,k,S,T,D,C,M,P=r,O=P.document,E=P.navigator,N=P.setTimeout,I=P.clearTimeout,A=P.setInterval,L=P.clearInterval,j=P.getComputedStyle,F=P.encodeURIComponent,H=P.ActiveXObject,z=P.Error,Y=P.Number.parseInt||P.parseInt,R=P.Number.parseFloat||P.parseFloat,W=P.Number.isNaN||P.isNaN,V=P.Date.now,B=P.Object.keys,U=P.Object.defineProperty,q=P.Object.prototype.hasOwnProperty,$=P.Array.prototype.slice,G=function(){var t,e,n=function(t){return t};if("function"==typeof P.wrap&&"function"==typeof P.unwrap)try{t=O.createElement("div"),e=P.unwrap(t),1===t.nodeType&&e&&1===e.nodeType&&(n=P.unwrap)}catch(t){}return n}(),X=function(t){return $.call(t,0)},K=function(){var t,e,n,i,r,s,a=X(arguments),l=a[0]||{};for(t=1,e=a.length;t<e;t++)if(null!=(n=a[t]))for(i in n)q.call(n,i)&&(r=l[i],s=n[i],l!==s&&s!==o&&(l[i]=s));return l},Q=function(t){var e,n,i,r;if("object"!=typeof t||null==t||"number"==typeof t.nodeType)e=t;else if("number"==typeof t.length)for(e=[],n=0,i=t.length;n<i;n++)q.call(t,n)&&(e[n]=Q(t[n]));else{e={};for(r in t)q.call(t,r)&&(e[r]=Q(t[r]))}return e},Z=function(t,e){var n,i,r={};for(n=0,i=e.length;n<i;n++)e[n]in t&&(r[e[n]]=t[e[n]]);return r},J=function(t,e){var n,i={};for(n in t)e.indexOf(n)===-1&&(i[n]=t[n]);return i},tt=function(t){if(t)for(var e in t)q.call(t,e)&&delete t[e];return t},et=function(t,e){if(t&&1===t.nodeType&&t.ownerDocument&&e&&(1===e.nodeType&&e.ownerDocument&&e.ownerDocument===t.ownerDocument||9===e.nodeType&&!e.ownerDocument&&e===t.ownerDocument))do{if(t===e)return!0;t=t.parentNode}while(t);return!1},nt=function(t){var e;return"string"==typeof t&&t&&(e=t.split("#")[0].split("?")[0],e=t.slice(0,t.lastIndexOf("/")+1)),e},it=function(t){var e,n;return"string"==typeof t&&t&&(n=t.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]?e=n[1]:(n=t.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]&&(e=n[1]))),e},rt=function(){var t,e;try{throw new z}catch(t){e=t}return e&&(t=e.sourceURL||e.fileName||it(e.stack)),t},ot=function(){var t,e,n;if(O.currentScript&&(t=O.currentScript.src))return t;if(e=O.getElementsByTagName("script"),1===e.length)return e[0].src||o;if("readyState"in e[0])for(n=e.length;n--;)if("interactive"===e[n].readyState&&(t=e[n].src))return t;return"loading"===O.readyState&&(t=e[e.length-1].src)?t:(t=rt())?t:o},st=function(){var t,e,n,i=O.getElementsByTagName("script");for(t=i.length;t--;){if(!(n=i[t].src)){e=null;break}if(n=nt(n),null==e)e=n;else if(e!==n){e=null;break}}return e||o},at=function(){var t=nt(ot())||st()||"";return t+"ZeroClipboard.swf"},lt=function(){return null==r.opener&&(!!r.top&&r!=r.top||!!r.parent&&r!=r.parent)}(),ut={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},ct="11.0.0",ft={},ht={},dt=null,pt=0,gt=0,mt={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity"}},vt=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],yt=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],bt=RegExp("^flash-("+yt.map(function(t){return t.replace(/^flash-/,"")}).join("|")+")$"),_t=RegExp("^flash-("+yt.slice(1).map(function(t){return t.replace(/^flash-/,"")}).join("|")+")$"),wt={swfPath:at(),trustedDomains:r.location.host?[r.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},xt=function(t){if("object"==typeof t&&null!==t)for(var e in t)if(q.call(t,e))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(e))wt[e]=t[e];else if(null==ut.bridge)if("containerId"===e||"swfObjectId"===e){if(!Ft(t[e]))throw Error("The specified `"+e+"` value is not valid as an HTML4 Element ID");wt[e]=t[e]}else wt[e]=t[e];{if("string"!=typeof t||!t)return Q(wt);if(q.call(wt,t))return wt[t]}},kt=function(){return ge(),{browser:Z(E,["userAgent","platform","appName"]),flash:J(ut,["bridge"]),zeroclipboard:{version:u.version,config:u.config()}}},St=function(){return!!(ut.disabled||ut.outdated||ut.sandboxed||ut.unavailable||ut.degraded||ut.deactivated)},Tt=function(t,e){var n,i,r,a={};if("string"==typeof t&&t)r=t.toLowerCase().split(/\s+/);else if("object"==typeof t&&t&&o===e)for(n in t)q.call(t,n)&&"string"==typeof n&&n&&"function"==typeof t[n]&&u.on(n,t[n]);if(r&&r.length){for(n=0,i=r.length;n<i;n++)t=r[n].replace(/^on/,""),a[t]=!0,ft[t]||(ft[t]=[]),ft[t].push(e);if(a.ready&&ut.ready&&u.emit({type:"ready"}),a.error){for(n=0,i=yt.length;n<i;n++)if(ut[yt[n].replace(/^flash-/,"")]===!0){u.emit({type:"error",name:yt[n]});break}s!==o&&u.version!==s&&u.emit({type:"error",name:"version-mismatch",jsVersion:u.version,swfVersion:s})}}return u},Dt=function(t,e){var n,i,r,s,a;if(0===arguments.length)s=B(ft);else if("string"==typeof t&&t)s=t.split(/\s+/);else if("object"==typeof t&&t&&o===e)for(n in t)q.call(t,n)&&"string"==typeof n&&n&&"function"==typeof t[n]&&u.off(n,t[n]);if(s&&s.length)for(n=0,i=s.length;n<i;n++)if(t=s[n].toLowerCase().replace(/^on/,""),a=ft[t],a&&a.length)if(e)for(r=a.indexOf(e);r!==-1;)a.splice(r,1),r=a.indexOf(e,r);else a.length=0;return u},Ct=function(t){var e;return e="string"==typeof t&&t?Q(ft[t])||null:Q(ft)},Mt=function(t){var e,n,i;if(t=Ht(t),t&&!Ut(t))return"ready"===t.type&&ut.overdue===!0?u.emit({type:"error",name:"flash-overdue"}):(e=K({},t),Vt.call(this,e),"copy"===t.type&&(i=Jt(ht),n=i.data,dt=i.formatMap),n)},Pt=function(){var t,e=ut.sandboxed;ge(),"boolean"!=typeof ut.ready&&(ut.ready=!1),ut.sandboxed!==e&&ut.sandboxed===!0?(ut.ready=!1,u.emit({type:"error",name:"flash-sandboxed"})):u.isFlashUnusable()||null!==ut.bridge||(t=wt.flashLoadTimeout,"number"==typeof t&&t>=0&&(pt=N(function(){"boolean"!=typeof ut.deactivated&&(ut.deactivated=!0),ut.deactivated===!0&&u.emit({type:"error",name:"flash-deactivated"})},t)),ut.overdue=!1,Qt())},Ot=function(){u.clearData(),u.blur(),u.emit("destroy"),Zt(),u.off()},Et=function(t,e){var n,i;if("object"==typeof t&&t&&o===e)n=t,u.clearData();else{if("string"!=typeof t||!t)return;n={},n[t]=e}for(i in n)"string"==typeof i&&i&&q.call(n,i)&&"string"==typeof n[i]&&n[i]&&(ht[i]=n[i])},Nt=function(t){o===t?(tt(ht),dt=null):"string"==typeof t&&q.call(ht,t)&&delete ht[t]},It=function(t){return o===t?Q(ht):"string"==typeof t&&q.call(ht,t)?ht[t]:o},At=function(t){var e,n,i;t&&1===t.nodeType&&(a&&(ae(a,wt.activeClass),a!==t&&ae(a,wt.hoverClass)),a=t,se(t,wt.hoverClass),e=t.getAttribute("title")||wt.title,"string"==typeof e&&e&&(n=Kt(ut.bridge),n&&n.setAttribute("title",e)),i=wt.forceHandCursor===!0||"pointer"===le(t,"cursor"),de(i),he())},Lt=function(){var t=Kt(ut.bridge);t&&(t.removeAttribute("title"),t.style.left="0px",t.style.top="-9999px",t.style.width="1px",t.style.height="1px"),a&&(ae(a,wt.hoverClass),ae(a,wt.activeClass),a=null)},jt=function(){return a||null},Ft=function(t){return"string"==typeof t&&t&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(t)},Ht=function(t){var e,n;if("string"==typeof t&&t?(e=t,t={}):"object"==typeof t&&t&&"string"==typeof t.type&&t.type&&(e=t.type),e)return e=e.toLowerCase(),!t.target&&(/^(copy|aftercopy|_click)$/.test(e)||"error"===e&&"clipboard-error"===t.name)&&(t.target=l),K(t,{type:e,target:t.target||a||null,relatedTarget:t.relatedTarget||null,currentTarget:ut&&ut.bridge||null,timeStamp:t.timeStamp||V()||null}),n=mt[t.type],"error"===t.type&&t.name&&n&&(n=n[t.name]),n&&(t.message=n),"ready"===t.type&&K(t,{target:null,version:ut.version}),"error"===t.type&&(bt.test(t.name)&&K(t,{target:null,minimumVersion:ct}),_t.test(t.name)&&K(t,{version:ut.version})),"copy"===t.type&&(t.clipboardData={setData:u.setData,clearData:u.clearData}),"aftercopy"===t.type&&(t=te(t,dt)),t.target&&!t.relatedTarget&&(t.relatedTarget=zt(t.target)),Yt(t)},zt=function(t){var e=t&&t.getAttribute&&t.getAttribute("data-clipboard-target");return e?O.getElementById(e):null},Yt=function(t){var e,n,i,r,s,a,l,u,c,f,h,d,p,g,m,v;return t&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(t.type)&&(e=t.target,n="_mouseover"===t.type&&t.relatedTarget?t.relatedTarget:o,i="_mouseout"===t.type&&t.relatedTarget?t.relatedTarget:o,r=ue(e),s=P.screenLeft||P.screenX||0,a=P.screenTop||P.screenY||0,l=O.body.scrollLeft+O.documentElement.scrollLeft,u=O.body.scrollTop+O.documentElement.scrollTop,c=r.left+("number"==typeof t._stageX?t._stageX:0),f=r.top+("number"==typeof t._stageY?t._stageY:0),h=c-l,d=f-u,p=s+h,g=a+d,m="number"==typeof t.movementX?t.movementX:0,v="number"==typeof t.movementY?t.movementY:0,delete t._stageX,delete t._stageY,K(t,{srcElement:e,fromElement:n,toElement:i,screenX:p,screenY:g,pageX:c,pageY:f,clientX:h,clientY:d,x:h,y:d,movementX:m,movementY:v,offsetX:0,offsetY:0,layerX:0,layerY:0})),t},Rt=function(t){var e=t&&"string"==typeof t.type&&t.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(e)},Wt=function(t,e,n,i){i?N(function(){t.apply(e,n)},0):t.apply(e,n)},Vt=function(t){var e,n,i,r,o,s,a,l,u,c;if("object"==typeof t&&t&&t.type){if(e=Rt(t),n=ft["*"]||[],i=ft[t.type]||[],r=n.concat(i),r&&r.length)for(c=this,o=0,s=r.length;o<s;o++)a=r[o],l=c,"string"==typeof a&&"function"==typeof P[a]&&(a=P[a]),"object"==typeof a&&a&&"function"==typeof a.handleEvent&&(l=a,a=a.handleEvent),"function"==typeof a&&(u=K({},t),Wt(a,l,[u],e));return this}},Bt=function(t){var e=null;return(lt===!1||t&&"error"===t.type&&t.name&&vt.indexOf(t.name)!==-1)&&(e=!1),e},Ut=function(t){var e,n,i,r,o,c=t.target||a||null,f="swf"===t._source;switch(delete t._source,t.type){case"error":e="flash-sandboxed"===t.name||Bt(t),"boolean"==typeof e&&(ut.sandboxed=e),yt.indexOf(t.name)!==-1?K(ut,{disabled:"flash-disabled"===t.name,outdated:"flash-outdated"===t.name,unavailable:"flash-unavailable"===t.name,degraded:"flash-degraded"===t.name,deactivated:"flash-deactivated"===t.name,overdue:"flash-overdue"===t.name,ready:!1}):"version-mismatch"===t.name&&(s=t.swfVersion,K(ut,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),fe();break;case"ready":s=t.swfVersion,n=ut.deactivated===!0,K(ut,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:n,ready:!n}),fe();break;case"beforecopy":l=c;break;case"copy":o=t.relatedTarget,!ht["text/html"]&&!ht["text/plain"]&&o&&(r=o.value||o.outerHTML||o.innerHTML)&&(i=o.value||o.textContent||o.innerText)?(t.clipboardData.clearData(),t.clipboardData.setData("text/plain",i),r!==i&&t.clipboardData.setData("text/html",r)):!ht["text/plain"]&&t.target&&(i=t.target.getAttribute("data-clipboard-text"))&&(t.clipboardData.clearData(),t.clipboardData.setData("text/plain",i));break;case"aftercopy":qt(t),u.clearData(),c&&c!==oe()&&c.focus&&c.focus();break;case"_mouseover":u.focus(c),wt.bubbleEvents===!0&&f&&(c&&c!==t.relatedTarget&&!et(t.relatedTarget,c)&&$t(K({},t,{type:"mouseenter",bubbles:!1,cancelable:!1})),$t(K({},t,{type:"mouseover"})));break;case"_mouseout":u.blur(),wt.bubbleEvents===!0&&f&&(c&&c!==t.relatedTarget&&!et(t.relatedTarget,c)&&$t(K({},t,{type:"mouseleave",bubbles:!1,cancelable:!1})),$t(K({},t,{type:"mouseout"})));break;case"_mousedown":se(c,wt.activeClass),wt.bubbleEvents===!0&&f&&$t(K({},t,{type:t.type.slice(1)}));break;case"_mouseup":ae(c,wt.activeClass),wt.bubbleEvents===!0&&f&&$t(K({},t,{type:t.type.slice(1)}));break;case"_click":l=null,wt.bubbleEvents===!0&&f&&$t(K({},t,{type:t.type.slice(1)}));break;case"_mousemove":wt.bubbleEvents===!0&&f&&$t(K({},t,{type:t.type.slice(1)}))}if(/^_(?:click|mouse(?:over|out|down|up|move))$/.test(t.type))return!0},qt=function(t){if(t.errors&&t.errors.length>0){var e=Q(t);K(e,{type:"error",name:"clipboard-error"}),delete e.success,N(function(){u.emit(e)},0)}},$t=function(t){if(t&&"string"==typeof t.type&&t){var e,n=t.target||null,i=n&&n.ownerDocument||O,r={view:i.defaultView||P,canBubble:!0,cancelable:!0,detail:"click"===t.type?1:0,button:"number"==typeof t.which?t.which-1:"number"==typeof t.button?t.button:i.createEvent?0:1},o=K(r,t);n&&i.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],e=i.createEvent("MouseEvents"),e.initMouseEvent&&(e.initMouseEvent.apply(e,o),e._source="js",n.dispatchEvent(e)))}},Gt=function(){var t,e,n=wt.flashLoadTimeout;"number"==typeof n&&n>=0&&(t=Math.min(1e3,n/10),e=wt.swfObjectId+"_fallbackContent",gt=A(function(){var t=O.getElementById(e);ce(t)&&(fe(),ut.deactivated=null,u.emit({type:"error",name:"swf-not-found"}))},t))},Xt=function(){var t=O.createElement("div");return t.id=wt.containerId,t.className=wt.containerClass,t.style.position="absolute",t.style.left="0px",t.style.top="-9999px",t.style.width="1px",t.style.height="1px",t.style.zIndex=""+pe(wt.zIndex),t},Kt=function(t){for(var e=t&&t.parentNode;e&&"OBJECT"===e.nodeName&&e.parentNode;)e=e.parentNode;return e||null},Qt=function(){var t,e,n,i,r,o,s,a,l=ut.bridge,c=Kt(l);return l||(e=re(P.location.host,wt),n="never"===e?"none":"all",i=ne(K({jsVersion:u.version},wt)),r=wt.swfPath+ee(wt.swfPath,wt),c=Xt(),o=O.createElement("div"),c.appendChild(o),O.body.appendChild(c),s=O.createElement("div"),a="activex"===ut.pluginType,s.innerHTML='<object id="'+wt.swfObjectId+'" name="'+wt.swfObjectId+'" width="100%" height="100%" '+(a?'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"':'type="application/x-shockwave-flash" data="'+r+'"')+">"+(a?'<param name="movie" value="'+r+'"/>':"")+'<param name="allowScriptAccess" value="'+e+'"/><param name="allowNetworking" value="'+n+'"/><param name="menu" value="false"/><param name="wmode" value="transparent"/><param name="flashvars" value="'+i+'"/><div id="'+wt.swfObjectId+'_fallbackContent"> </div></object>',l=s.firstChild,s=null,G(l).ZeroClipboard=u,c.replaceChild(l,o),Gt()),l||(l=O[wt.swfObjectId],l&&(t=l.length)&&(l=l[t-1]),!l&&c&&(l=c.firstChild)),ut.bridge=l||null,l},Zt=function(){var t,e=ut.bridge;e&&(t=Kt(e),t&&("activex"===ut.pluginType&&"readyState"in e?(e.style.display="none",function n(){if(4===e.readyState){for(var i in e)"function"==typeof e[i]&&(e[i]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else N(n,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),fe(),ut.ready=null,ut.bridge=null,ut.deactivated=null,s=o)},Jt=function(t){var e,n={},i={};if("object"==typeof t&&t){for(e in t)if(e&&q.call(t,e)&&"string"==typeof t[e]&&t[e])switch(e.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":n.text=t[e],i.text=e;break;case"text/html":case"html":case"air:html":case"flash:html":n.html=t[e],i.html=e;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":n.rtf=t[e],i.rtf=e}return{data:n,formatMap:i}}},te=function(t,e){var n,i,r,o,s,a;if("object"!=typeof t||!t||"object"!=typeof e||!e)return t;n={};for(i in t)if(q.call(t,i))if("errors"===i)for(n[i]=t[i]?t[i].slice():[],r=0,o=n[i].length;r<o;r++)n[i][r].format=e[n[i][r].format];else if("success"!==i&&"data"!==i)n[i]=t[i];else{n[i]={},s=t[i];for(a in s)a&&q.call(s,a)&&q.call(e,a)&&(n[i][e[a]]=s[a])}return n},ee=function(t,e){var n=null==e||e&&e.cacheBust===!0;return n?(t.indexOf("?")===-1?"?":"&")+"noCache="+V():"";
|
||
},ne=function(t){var e,n,i,r,o="",s=[];if(t.trustedDomains&&("string"==typeof t.trustedDomains?r=[t.trustedDomains]:"object"==typeof t.trustedDomains&&"length"in t.trustedDomains&&(r=t.trustedDomains)),r&&r.length)for(e=0,n=r.length;e<n;e++)if(q.call(r,e)&&r[e]&&"string"==typeof r[e]){if(i=ie(r[e]),!i)continue;if("*"===i){s.length=0,s.push(i);break}s.push.apply(s,[i,"//"+i,P.location.protocol+"//"+i])}return s.length&&(o+="trustedOrigins="+F(s.join(","))),t.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof t.swfObjectId&&t.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+F(t.swfObjectId)),"string"==typeof t.jsVersion&&t.jsVersion&&(o+=(o?"&":"")+"jsVersion="+F(t.jsVersion)),o},ie=function(t){var e,n;return null==t||""===t?null:(t=t.replace(/^\s+|\s+$/g,""),""===t?null:(e=t.indexOf("//"),t=e===-1?t:t.slice(e+2),n=t.indexOf("/"),t=n===-1?t:e===-1||0===n?null:t.slice(0,n),t&&".swf"===t.slice(-4).toLowerCase()?null:t||null))},re=function(){var t=function(t){var e,n,i,r=[];if("string"==typeof t&&(t=[t]),"object"!=typeof t||!t||"number"!=typeof t.length)return r;for(e=0,n=t.length;e<n;e++)if(q.call(t,e)&&(i=ie(t[e]))){if("*"===i){r.length=0,r.push("*");break}r.indexOf(i)===-1&&r.push(i)}return r};return function(e,n){var i,r,o=ie(n.swfPath);if(null===o&&(o=e),i=t(n.trustedDomains),r=i.length,r>0){if(1===r&&"*"===i[0])return"always";if(i.indexOf(e)!==-1)return 1===r&&e===o?"sameDomain":"always"}return"never"}}(),oe=function(){try{return O.activeElement}catch(t){return null}},se=function(t,e){var n,i,r,o=[];if("string"==typeof e&&e&&(o=e.split(/\s+/)),t&&1===t.nodeType&&o.length>0)if(t.classList)for(n=0,i=o.length;n<i;n++)t.classList.add(o[n]);else if(t.hasOwnProperty("className")){for(r=" "+t.className+" ",n=0,i=o.length;n<i;n++)r.indexOf(" "+o[n]+" ")===-1&&(r+=o[n]+" ");t.className=r.replace(/^\s+|\s+$/g,"")}return t},ae=function(t,e){var n,i,r,o=[];if("string"==typeof e&&e&&(o=e.split(/\s+/)),t&&1===t.nodeType&&o.length>0)if(t.classList&&t.classList.length>0)for(n=0,i=o.length;n<i;n++)t.classList.remove(o[n]);else if(t.className){for(r=(" "+t.className+" ").replace(/[\r\n\t]/g," "),n=0,i=o.length;n<i;n++)r=r.replace(" "+o[n]+" "," ");t.className=r.replace(/^\s+|\s+$/g,"")}return t},le=function(t,e){var n=j(t,null).getPropertyValue(e);return"cursor"!==e||n&&"auto"!==n||"A"!==t.nodeName?n:"pointer"},ue=function(t){var e,n,i,r,o,s,a,l,u,c={left:0,top:0,width:0,height:0};return t.getBoundingClientRect&&(e=t.getBoundingClientRect(),n=P.pageXOffset,i=P.pageYOffset,r=O.documentElement.clientLeft||0,o=O.documentElement.clientTop||0,s=0,a=0,"relative"===le(O.body,"position")&&(l=O.body.getBoundingClientRect(),u=O.documentElement.getBoundingClientRect(),s=l.left-u.left||0,a=l.top-u.top||0),c.left=e.left+n-r-s,c.top=e.top+i-o-a,c.width="width"in e?e.width:e.right-e.left,c.height="height"in e?e.height:e.bottom-e.top),c},ce=function(t){var e,n,i,r,o,s,a,l;return!!t&&(e=j(t,null),n=R(e.height)>0,i=R(e.width)>0,r=R(e.top)>=0,o=R(e.left)>=0,s=n&&i&&r&&o,a=s?null:ue(t),l="none"!==e.display&&"collapse"!==e.visibility&&(s||!!a&&(n||a.height>0)&&(i||a.width>0)&&(r||a.top>=0)&&(o||a.left>=0)))},fe=function(){I(pt),pt=0,L(gt),gt=0},he=function(){var t,e;a&&(t=Kt(ut.bridge))&&(e=ue(a),K(t.style,{width:e.width+"px",height:e.height+"px",top:e.top+"px",left:e.left+"px",zIndex:""+pe(wt.zIndex)}))},de=function(t){ut.ready===!0&&(ut.bridge&&"function"==typeof ut.bridge.setHandCursor?ut.bridge.setHandCursor(t):ut.ready=!1)},pe=function(t){if(/^(?:auto|inherit)$/.test(t))return t;var e;return"number"!=typeof t||W(t)?"string"==typeof t&&(e=pe(Y(t,10))):e=t,"number"==typeof e?e:"auto"},ge=function(t){var e,n,i,o=ut.sandboxed,s=null;if(t=t===!0,lt===!1)s=!1;else{try{n=r.frameElement||null}catch(t){i={name:t.name,message:t.message}}if(n&&1===n.nodeType&&"IFRAME"===n.nodeName)try{s=n.hasAttribute("sandbox")}catch(t){s=null}else{try{e=document.domain||null}catch(t){e=null}(null===e||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(s=!0)}}return ut.sandboxed=s,o===s||t||me(H),s},me=function(t){function e(t){var e=t.match(/[\d]+/g);return e.length=3,e.join(".")}function n(t){return!!t&&(t=t.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(t)||"chrome.plugin"===t.slice(-13))}function i(t){t&&(l=!0,t.version&&(f=e(t.version)),!f&&t.description&&(f=e(t.description)),t.filename&&(c=n(t.filename)))}var r,s,a,l=!1,u=!1,c=!1,f="";if(E.plugins&&E.plugins.length)r=E.plugins["Shockwave Flash"],i(r),E.plugins["Shockwave Flash 2.0"]&&(l=!0,f="2.0.0.11");else if(E.mimeTypes&&E.mimeTypes.length)a=E.mimeTypes["application/x-shockwave-flash"],r=a&&a.enabledPlugin,i(r);else if(o!==t){u=!0;try{s=new t("ShockwaveFlash.ShockwaveFlash.7"),l=!0,f=e(s.GetVariable("$version"))}catch(n){try{s=new t("ShockwaveFlash.ShockwaveFlash.6"),l=!0,f="6.0.21"}catch(n){try{s=new t("ShockwaveFlash.ShockwaveFlash"),l=!0,f=e(s.GetVariable("$version"))}catch(t){u=!1}}}}ut.disabled=l!==!0,ut.outdated=f&&R(f)<R(ct),ut.version=f||"0.0.0",ut.pluginType=c?"pepper":u?"activex":l?"netscape":"unknown"};me(H),ge(!0),u=function(){return this instanceof u?("function"==typeof u._createClient&&u._createClient.apply(this,X(arguments)),o):new u},U(u,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),u.config=function(){return xt.apply(this,X(arguments))},u.state=function(){return kt.apply(this,X(arguments))},u.isFlashUnusable=function(){return St.apply(this,X(arguments))},u.on=function(){return Tt.apply(this,X(arguments))},u.off=function(){return Dt.apply(this,X(arguments))},u.handlers=function(){return Ct.apply(this,X(arguments))},u.emit=function(){return Mt.apply(this,X(arguments))},u.create=function(){return Pt.apply(this,X(arguments))},u.destroy=function(){return Ot.apply(this,X(arguments))},u.setData=function(){return Et.apply(this,X(arguments))},u.clearData=function(){return Nt.apply(this,X(arguments))},u.getData=function(){return It.apply(this,X(arguments))},u.focus=u.activate=function(){return At.apply(this,X(arguments))},u.blur=u.deactivate=function(){return Lt.apply(this,X(arguments))},u.activeElement=function(){return jt.apply(this,X(arguments))},c=0,f={},h=0,d={},p={},K(wt,{autoActivate:!0}),g=function(t){var e=this;e.id=""+c++,f[e.id]={instance:e,elements:[],handlers:{}},t&&e.clip(t),u.on("*",function(t){return e.emit(t)}),u.on("destroy",function(){e.destroy()}),u.create()},m=function(t,e){var n,i,r,a={},l=f[this.id],c=l&&l.handlers;if(!l)throw Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof t&&t)r=t.toLowerCase().split(/\s+/);else if("object"==typeof t&&t&&o===e)for(n in t)q.call(t,n)&&"string"==typeof n&&n&&"function"==typeof t[n]&&this.on(n,t[n]);if(r&&r.length){for(n=0,i=r.length;n<i;n++)t=r[n].replace(/^on/,""),a[t]=!0,c[t]||(c[t]=[]),c[t].push(e);if(a.ready&&ut.ready&&this.emit({type:"ready",client:this}),a.error){for(n=0,i=yt.length;n<i;n++)if(ut[yt[n].replace(/^flash-/,"")]){this.emit({type:"error",name:yt[n],client:this});break}s!==o&&u.version!==s&&this.emit({type:"error",name:"version-mismatch",jsVersion:u.version,swfVersion:s})}}return this},v=function(t,e){var n,i,r,s,a,l=f[this.id],u=l&&l.handlers;if(!u)return this;if(0===arguments.length)s=B(u);else if("string"==typeof t&&t)s=t.split(/\s+/);else if("object"==typeof t&&t&&o===e)for(n in t)q.call(t,n)&&"string"==typeof n&&n&&"function"==typeof t[n]&&this.off(n,t[n]);if(s&&s.length)for(n=0,i=s.length;n<i;n++)if(t=s[n].toLowerCase().replace(/^on/,""),a=u[t],a&&a.length)if(e)for(r=a.indexOf(e);r!==-1;)a.splice(r,1),r=a.indexOf(e,r);else a.length=0;return this},y=function(t){var e=null,n=f[this.id]&&f[this.id].handlers;return n&&(e="string"==typeof t&&t?n[t]?n[t].slice(0):[]:Q(n)),e},b=function(t){if(S.call(this,t)){"object"==typeof t&&t&&"string"==typeof t.type&&t.type&&(t=K({},t));var e=K({},Ht(t),{client:this});T.call(this,e)}return this},_=function(t){var e,n;if(!f[this.id])throw Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");for(t=D(t),e=0;e<t.length;e++)q.call(t,e)&&t[e]&&1===t[e].nodeType&&(t[e].zcClippingId?d[t[e].zcClippingId].indexOf(this.id)===-1&&d[t[e].zcClippingId].push(this.id):(t[e].zcClippingId="zcClippingId_"+h++,d[t[e].zcClippingId]=[this.id],wt.autoActivate===!0&&C(t[e])),n=f[this.id]&&f[this.id].elements,n.indexOf(t[e])===-1&&n.push(t[e]));return this},w=function(t){var e,n,i,r,s=f[this.id];if(!s)return this;for(e=s.elements,t=o===t?e.slice(0):D(t),i=t.length;i--;)if(q.call(t,i)&&t[i]&&1===t[i].nodeType){for(n=0;(n=e.indexOf(t[i],n))!==-1;)e.splice(n,1);if(r=d[t[i].zcClippingId]){for(n=0;(n=r.indexOf(this.id,n))!==-1;)r.splice(n,1);0===r.length&&(wt.autoActivate===!0&&M(t[i]),delete t[i].zcClippingId)}}return this},x=function(){var t=f[this.id];return t&&t.elements?t.elements.slice(0):[]},k=function(){f[this.id]&&(this.unclip(),this.off(),delete f[this.id])},S=function(t){var e,n,i,r,o,s;return!(!t||!t.type)&&((!t.client||t.client===this)&&(e=f[this.id],n=e&&e.elements,i=!!n&&n.length>0,r=!t.target||i&&n.indexOf(t.target)!==-1,o=t.relatedTarget&&i&&n.indexOf(t.relatedTarget)!==-1,s=t.client&&t.client===this,!(!e||!(r||o||s))))},T=function(t){var e,n,i,r,o,s,a,l,u,c,h=f[this.id];if("object"==typeof t&&t&&t.type&&h&&(e=Rt(t),n=h&&h.handlers["*"]||[],i=h&&h.handlers[t.type]||[],r=n.concat(i),r&&r.length))for(c=this,o=0,s=r.length;o<s;o++)a=r[o],l=c,"string"==typeof a&&"function"==typeof P[a]&&(a=P[a]),"object"==typeof a&&a&&"function"==typeof a.handleEvent&&(l=a,a=a.handleEvent),"function"==typeof a&&(u=K({},t),Wt(a,l,[u],e))},D=function(t){return"string"==typeof t&&(t=[]),"number"!=typeof t.length?[t]:t},C=function(t){var e,n;t&&1===t.nodeType&&(e=function(t){(t||(t=P.event))&&("js"!==t._source&&(t.stopImmediatePropagation(),t.preventDefault()),delete t._source)},n=function(n){(n||(n=P.event))&&(e(n),u.focus(t))},t.addEventListener("mouseover",n,!1),t.addEventListener("mouseout",e,!1),t.addEventListener("mouseenter",e,!1),t.addEventListener("mouseleave",e,!1),t.addEventListener("mousemove",e,!1),p[t.zcClippingId]={mouseover:n,mouseout:e,mouseenter:e,mouseleave:e,mousemove:e})},M=function(t){var e,n,i,r,o,s;if(t&&1===t.nodeType&&(e=p[t.zcClippingId],"object"==typeof e&&e)){for(r=["move","leave","enter","out","over"],o=0,s=r.length;o<s;o++)n="mouse"+r[o],i=e[n],"function"==typeof i&&t.removeEventListener(n,i,!1);delete p[t.zcClippingId]}},u._createClient=function(){g.apply(this,X(arguments))},u.prototype.on=function(){return m.apply(this,X(arguments))},u.prototype.off=function(){return v.apply(this,X(arguments))},u.prototype.handlers=function(){return y.apply(this,X(arguments))},u.prototype.emit=function(){return b.apply(this,X(arguments))},u.prototype.clip=function(){return _.apply(this,X(arguments))},u.prototype.unclip=function(){return w.apply(this,X(arguments))},u.prototype.elements=function(){return x.apply(this,X(arguments))},u.prototype.destroy=function(){return k.apply(this,X(arguments))},u.prototype.setText=function(t){if(!f[this.id])throw Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return u.setData("text/plain",t),this},u.prototype.setHtml=function(t){if(!f[this.id])throw Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return u.setData("text/html",t),this},u.prototype.setRichText=function(t){if(!f[this.id])throw Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return u.setData("application/rtf",t),this},u.prototype.setData=function(){if(!f[this.id])throw Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return u.setData.apply(this,X(arguments)),this},u.prototype.clearData=function(){if(!f[this.id])throw Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return u.clearData.apply(this,X(arguments)),this},u.prototype.getData=function(){if(!f[this.id])throw Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return u.getData.apply(this,X(arguments))},i=function(){return u}.call(e,n,e,t),!(i!==o&&(t.exports=i))}(function(){return this||window}())}).call(e,n(31))},function(t,e){function n(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function r(t){if(c===setTimeout)return setTimeout(t,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(t,0);try{return c(t,0)}catch(e){try{return c.call(null,t,0)}catch(e){return c.call(this,t,0)}}}function o(t){if(f===clearTimeout)return clearTimeout(t);if((f===i||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function s(){d&&p&&(d=!1,p.length?h=p.concat(h):g=-1,h.length&&a())}function a(){var t,e;if(!d){for(t=r(s),d=!0,e=h.length;e;){for(p=h,h=[];++g<e;)p&&p[g].run();g=-1,e=h.length}p=null,d=!1,o(t)}}function l(t,e){this.fun=t,this.array=e}function u(){}var c,f,h,d,p,g,m=t.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(t){c=n}try{f="function"==typeof clearTimeout?clearTimeout:i}catch(t){f=i}}(),h=[],d=!1,g=-1,m.nextTick=function(t){var e,n=Array(arguments.length-1);if(arguments.length>1)for(e=1;e<arguments.length;e++)n[e-1]=arguments[e];h.push(new l(t,n)),1!==h.length||d||r(a)},l.prototype.run=function(){this.fun.apply(null,this.array)},m.title="browser",m.browser=!0,m.env={},m.argv=[],m.version="",m.versions={},m.on=u,m.addListener=u,m.once=u,m.off=u,m.removeListener=u,m.removeAllListeners=u,m.emit=u,m.binding=function(t){throw Error("process.binding is not supported")},m.cwd=function(){return"/"},m.chdir=function(t){throw Error("process.chdir is not supported")},m.umask=function(){return 0}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){(function(t){"use strict";if(n(518),n(705),t._babelPolyfill)throw Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0}).call(e,function(){return this}())},function(t,e,n){n(519),n(552),n(558),n(560),n(562),n(564),n(566),n(568),n(569),n(570),n(571),n(572),n(573),n(574),n(575),n(576),n(577),n(578),n(579),n(582),n(583),n(584),n(586),n(587),n(588),n(589),n(590),n(591),n(592),n(594),n(595),n(596),n(598),n(599),n(600),n(602),n(603),n(604),n(605),n(606),n(607),n(608),n(609),n(610),n(611),n(612),n(613),n(614),n(615),n(620),n(621),n(625),n(626),n(628),n(629),n(634),n(635),n(638),n(640),n(642),n(644),n(645),n(646),n(648),n(649),n(651),n(652),n(653),n(654),n(661),n(664),n(665),n(667),n(668),n(669),n(670),n(671),n(672),n(673),n(674),n(675),n(676),n(677),n(678),n(680),n(681),n(682),n(683),n(684),n(685),n(687),n(688),n(689),n(690),n(692),n(693),n(695),n(696),n(698),n(699),n(700),n(703),n(704),t.exports=n(523)},function(t,e,n){"use strict";var i,r,o,s,a,l,u,c,f,h,d,p=n(520),g=n(521),m=n(526),v=n(525),y=n(532),b=n(533),_=n(535),w=n(536),x=n(537),k=n(527),S=n(538),T=n(531),D=n(534),C=n(539),M=n(541),P=n(543),O=n(544),E=n(545),N=n(542),I=n(529)("__proto__"),A=n(546),L=n(551)(!1),j=Object.prototype,F=Array.prototype,H=F.slice,z=F.join,Y=p.setDesc,R=p.getDesc,W=p.setDescs,V={};m||(i=!k(function(){return 7!=Y(b("div"),"a",{get:function(){return 7}}).a}),p.setDesc=function(t,e,n){if(i)try{return Y(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(S(t)[e]=n.value),t},p.getDesc=function(t,e){if(i)try{return R(t,e)}catch(t){}if(_(t,e))return v(!j.propertyIsEnumerable.call(t,e),t[e])},p.setDescs=W=function(t,e){S(t);for(var n,i=p.getKeys(e),r=i.length,o=0;r>o;)p.setDesc(t,n=i[o++],e[n]);return t}),g(g.S+g.F*!m,"Object",{getOwnPropertyDescriptor:p.getDesc,defineProperty:p.setDesc,defineProperties:W}),r="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),o=r.concat("length","prototype"),s=r.length,a=function(){var t,e=b("iframe"),n=s,i=">";for(e.style.display="none",y.appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object</script"+i),t.close(),a=t.F;n--;)delete a.prototype[r[n]];return a()},l=function(t,e){return function(n){var i,r=M(n),o=0,s=[];for(i in r)i!=I&&_(r,i)&&s.push(i);for(;e>o;)_(r,i=t[o++])&&(~L(s,i)||s.push(i));return s}},u=function(){},g(g.S,"Object",{getPrototypeOf:p.getProto=p.getProto||function(t){return t=C(t),_(t,I)?t[I]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?j:null},getOwnPropertyNames:p.getNames=p.getNames||l(o,o.length,!0),create:p.create=p.create||function(t,e){var n;return null!==t?(u.prototype=S(t),n=new u,u.prototype=null,n[I]=t):n=a(),void 0===e?n:W(n,e)},keys:p.getKeys=p.getKeys||l(r,s,!1)}),c=function(t,e,n){if(!(e in V)){for(var i=[],r=0;r<e;r++)i[r]="a["+r+"]";V[e]=Function("F,a","return new F("+i.join(",")+")")}return V[e](t,n)},g(g.P,"Function",{bind:function(t){var e=T(this),n=H.call(arguments,1),i=function(){var r=n.concat(H.call(arguments));return this instanceof i?c(e,r.length,r):x(e,r,t)};return D(e.prototype)&&(i.prototype=e.prototype),i}}),g(g.P+g.F*k(function(){y&&H.call(y)}),"Array",{slice:function(t,e){var n,i,r,o,s,a=E(this.length),l=w(this);if(e=void 0===e?a:e,"Array"==l)return H.call(this,t,e);for(n=O(t,a),i=O(e,a),r=E(i-n),o=Array(r),s=0;s<r;s++)o[s]="String"==l?this.charAt(n+s):this[n+s];return o}}),g(g.P+g.F*(N!=Object),"Array",{join:function(t){return z.call(N(this),void 0===t?",":t)}}),g(g.S,"Array",{isArray:n(548)}),f=function(t){return function(e,n){T(e);var i=N(this),r=E(i.length),o=t?r-1:0,s=t?-1:1;if(arguments.length<2)for(;;){if(o in i){n=i[o],o+=s;break}if(o+=s,t?o<0:r<=o)throw TypeError("Reduce of empty array with no initial value")}for(;t?o>=0:r>o;o+=s)o in i&&(n=e(n,i[o],o,this));return n}},h=function(t){return function(e){return t(this,e,arguments[1])}},g(g.P,"Array",{forEach:p.each=p.each||h(A(0)),map:h(A(1)),filter:h(A(2)),some:h(A(3)),every:h(A(4)),reduce:f(!1),reduceRight:f(!0),indexOf:h(L),lastIndexOf:function(t,e){var n=M(this),i=E(n.length),r=i-1;for(arguments.length>1&&(r=Math.min(r,P(e))),r<0&&(r=E(i+r));r>=0;r--)if(r in n&&n[r]===t)return r;return-1}}),g(g.S,"Date",{now:function(){return+new Date}}),d=function(t){return t>9?t:"0"+t},g(g.P+g.F*(k(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!k(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(this))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),i=e<0?"-":e>9999?"+":"";return i+("00000"+Math.abs(e)).slice(i?-6:-4)+"-"+d(t.getUTCMonth()+1)+"-"+d(t.getUTCDate())+"T"+d(t.getUTCHours())+":"+d(t.getUTCMinutes())+":"+d(t.getUTCSeconds())+"."+(n>99?n:"0"+d(n))+"Z"}})},function(t,e){var n=Object;t.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(t,e,n){var i=n(522),r=n(523),o=n(524),s=n(528),a=n(530),l="prototype",u=function(t,e,n){var c,f,h,d,p=t&u.F,g=t&u.G,m=t&u.S,v=t&u.P,y=t&u.B,b=g?i:m?i[e]||(i[e]={}):(i[e]||{})[l],_=g?r:r[e]||(r[e]={}),w=_[l]||(_[l]={});g&&(n=e);for(c in n)f=!p&&b&&c in b,h=(f?b:n)[c],d=y&&f?a(h,i):v&&"function"==typeof h?a(Function.call,h):h,b&&!f&&s(b,c,h),_[c]!=h&&o(_,c,d),v&&w[c]!=h&&(w[c]=h)};i.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,t.exports=u},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(t,e,n){var i=n(520),r=n(525);t.exports=n(526)?function(t,e,n){return i.setDesc(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){t.exports=!n(527)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var i=n(522),r=n(524),o=n(529)("src"),s="toString",a=Function[s],l=(""+a).split(s);n(523).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,s){"function"==typeof n&&(n.hasOwnProperty(o)||r(n,o,t[e]?""+t[e]:l.join(e+"")),n.hasOwnProperty("name")||r(n,"name",e)),t===i?t[e]=n:(s||delete t[e],r(t,e,n))})(Function.prototype,s,function(){return"function"==typeof this&&this[o]||a.call(this)})},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},function(t,e,n){var i=n(531);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){t.exports=n(522).document&&document.documentElement},function(t,e,n){var i=n(534),r=n(522).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var i=n(534);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var i=n(540);t.exports=function(t){return Object(i(t))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var i=n(542),r=n(540);t.exports=function(t){return i(r(t))}},function(t,e,n){var i=n(536);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){var i=n(543),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},function(t,e,n){var i=n(543),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){var i=n(530),r=n(542),o=n(539),s=n(545),a=n(547);t.exports=function(t){var e=1==t,n=2==t,l=3==t,u=4==t,c=6==t,f=5==t||c;return function(h,d,p){for(var g,m,v=o(h),y=r(v),b=i(d,p,3),_=s(y.length),w=0,x=e?a(h,_):n?a(h,0):void 0;_>w;w++)if((f||w in y)&&(g=y[w],m=b(g,w,v),t))if(e)x[w]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return w;case 2:x.push(g)}else if(u)return!1;return c?-1:l||u?u:x}}},function(t,e,n){var i=n(534),r=n(548),o=n(549)("species");t.exports=function(t,e){var n;return r(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!r(n.prototype)||(n=void 0),i(n)&&(n=n[o],null===n&&(n=void 0))),new(void 0===n?Array:n)(e)}},function(t,e,n){var i=n(536);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(550)("wks"),r=n(529),o=n(522).Symbol;t.exports=function(t){return i[t]||(i[t]=o&&o[t]||(o||r)("Symbol."+t))}},function(t,e,n){var i=n(522),r="__core-js_shared__",o=i[r]||(i[r]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var i=n(541),r=n(545),o=n(544);t.exports=function(t){return function(e,n,s){var a,l=i(e),u=r(l.length),c=o(s,u);if(t&&n!=n){for(;u>c;)if(a=l[c++],a!=a)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c;return!t&&-1}}},function(t,e,n){"use strict";var i,r=n(520),o=n(522),s=n(535),a=n(526),l=n(521),u=n(528),c=n(527),f=n(550),h=n(553),d=n(529),p=n(549),g=n(554),m=n(555),v=n(556),y=n(548),b=n(538),_=n(541),w=n(525),x=r.getDesc,k=r.setDesc,S=r.create,T=m.get,D=o.Symbol,C=o.JSON,M=C&&C.stringify,P=!1,O=p("_hidden"),E=r.isEnum,N=f("symbol-registry"),I=f("symbols"),A="function"==typeof D,L=Object.prototype,j=a&&c(function(){return 7!=S(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=x(L,e);i&&delete L[e],k(t,e,n),i&&t!==L&&k(L,e,i)}:k,F=function(t){var e=I[t]=S(D.prototype);return e._k=t,a&&P&&j(L,t,{configurable:!0,set:function(e){s(this,O)&&s(this[O],t)&&(this[O][t]=!1),j(this,t,w(1,e))}}),e},H=function(t){return"symbol"==typeof t},z=function(t,e,n){return n&&s(I,e)?(n.enumerable?(s(t,O)&&t[O][e]&&(t[O][e]=!1),n=S(n,{enumerable:w(0,!1)})):(s(t,O)||k(t,O,w(1,{})),t[O][e]=!0),j(t,e,n)):k(t,e,n)},Y=function(t,e){b(t);for(var n,i=v(e=_(e)),r=0,o=i.length;o>r;)z(t,n=i[r++],e[n]);return t},R=function(t,e){return void 0===e?S(t):Y(S(t),e)},W=function(t){var e=E.call(this,t);return!(e||!s(this,t)||!s(I,t)||s(this,O)&&this[O][t])||e},V=function(t,e){var n=x(t=_(t),e);return!n||!s(I,e)||s(t,O)&&t[O][e]||(n.enumerable=!0),n},B=function(t){for(var e,n=T(_(t)),i=[],r=0;n.length>r;)s(I,e=n[r++])||e==O||i.push(e);return i},U=function(t){for(var e,n=T(_(t)),i=[],r=0;n.length>r;)s(I,e=n[r++])&&i.push(I[e]);return i},q=function(t){if(void 0!==t&&!H(t)){for(var e,n,i=[t],r=1,o=arguments;o.length>r;)i.push(o[r++]);return e=i[1],"function"==typeof e&&(n=e),!n&&y(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!H(e))return e}),i[1]=e,M.apply(C,i)}},$=c(function(){var t=D();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))});A||(D=function(){if(H(this))throw TypeError("Symbol is not a constructor");return F(d(arguments.length>0?arguments[0]:void 0))},u(D.prototype,"toString",function(){return this._k}),H=function(t){return t instanceof D},r.create=R,r.isEnum=W,r.getDesc=V,r.setDesc=z,r.setDescs=Y,r.getNames=m.get=B,r.getSymbols=U,a&&!n(557)&&u(L,"propertyIsEnumerable",W,!0)),i={for:function(t){return s(N,t+="")?N[t]:N[t]=D(t)},keyFor:function(t){return g(N,t)},useSetter:function(){P=!0},useSimple:function(){P=!1}},r.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(t){var e=p(t);i[t]=A?e:F(e)}),P=!0,l(l.G+l.W,{Symbol:D}),l(l.S,"Symbol",i),l(l.S+l.F*!A,"Object",{create:R,defineProperty:z,defineProperties:Y,getOwnPropertyDescriptor:V,getOwnPropertyNames:B,getOwnPropertySymbols:U}),C&&l(l.S+l.F*(!A||$),"JSON",{stringify:q}),h(D,"Symbol"),h(Math,"Math",!0),h(o.JSON,"JSON",!0)},function(t,e,n){var i=n(520).setDesc,r=n(535),o=n(549)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){var i=n(520),r=n(541);t.exports=function(t,e){for(var n,o=r(t),s=i.getKeys(o),a=s.length,l=0;a>l;)if(o[n=s[l++]]===e)return n}},function(t,e,n){var i=n(541),r=n(520).getNames,o={}.toString,s="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return r(t)}catch(t){return s.slice()}};t.exports.get=function(t){return s&&"[object Window]"==o.call(t)?a(t):r(i(t))}},function(t,e,n){var i=n(520);t.exports=function(t){var e,n,r,o,s=i.getKeys(t),a=i.getSymbols;if(a)for(e=a(t),n=i.isEnum,r=0;e.length>r;)n.call(t,o=e[r++])&&s.push(o);return s}},function(t,e){t.exports=!1},function(t,e,n){var i=n(521);i(i.S+i.F,"Object",{assign:n(559)})},function(t,e,n){var i=n(520),r=n(539),o=n(542);t.exports=n(527)(function(){var t=Object.assign,e={},n={},i=Symbol(),r="abcdefghijklmnopqrst";return e[i]=7,r.split("").forEach(function(t){n[t]=t}),7!=t({},e)[i]||Object.keys(t({},n)).join("")!=r})?function(t,e){for(var n,s,a,l,u,c=r(t),f=arguments,h=f.length,d=1,p=i.getKeys,g=i.getSymbols,m=i.isEnum;h>d;)for(n=o(f[d++]),s=g?p(n).concat(g(n)):p(n),a=s.length,l=0;a>l;)m.call(n,u=s[l++])&&(c[u]=n[u]);return c}:Object.assign},function(t,e,n){var i=n(521);i(i.S,"Object",{is:n(561)})},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},function(t,e,n){var i=n(521);i(i.S,"Object",{setPrototypeOf:n(563).set})},function(t,e,n){var i=n(520).getDesc,r=n(534),o=n(538),s=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(530)(Function.call,i(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return s(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:s}},function(t,e,n){"use strict";var i=n(565),r={};r[n(549)("toStringTag")]="z",r+""!="[object z]"&&n(528)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},function(t,e,n){var i=n(536),r=n(549)("toStringTag"),o="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=(e=Object(t))[r])?n:o?i(e):"Object"==(s=i(e))&&"function"==typeof e.callee?"Arguments":s}},function(t,e,n){var i=n(534);n(567)("freeze",function(t){return function(e){return t&&i(e)?t(e):e}})},function(t,e,n){var i=n(521),r=n(523),o=n(527);t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],s={};s[t]=e(n),i(i.S+i.F*o(function(){n(1)}),"Object",s)}},function(t,e,n){var i=n(534);n(567)("seal",function(t){return function(e){return t&&i(e)?t(e):e}})},function(t,e,n){var i=n(534);n(567)("preventExtensions",function(t){return function(e){return t&&i(e)?t(e):e}})},function(t,e,n){var i=n(534);n(567)("isFrozen",function(t){return function(e){return!i(e)||!!t&&t(e)}})},function(t,e,n){var i=n(534);n(567)("isSealed",function(t){return function(e){return!i(e)||!!t&&t(e)}})},function(t,e,n){var i=n(534);n(567)("isExtensible",function(t){return function(e){return!!i(e)&&(!t||t(e))}})},function(t,e,n){var i=n(541);n(567)("getOwnPropertyDescriptor",function(t){return function(e,n){return t(i(e),n)}})},function(t,e,n){var i=n(539);n(567)("getPrototypeOf",function(t){return function(e){return t(i(e))}})},function(t,e,n){var i=n(539);n(567)("keys",function(t){return function(e){return t(i(e))}})},function(t,e,n){n(567)("getOwnPropertyNames",function(){return n(555).get})},function(t,e,n){var i=n(520).setDesc,r=n(525),o=n(535),s=Function.prototype,a=/^\s*function ([^ (]*)/,l="name";l in s||n(526)&&i(s,l,{configurable:!0,get:function(){var t=(""+this).match(a),e=t?t[1]:"";return o(this,l)||i(this,l,r(5,e)),e}})},function(t,e,n){"use strict";var i=n(520),r=n(534),o=n(549)("hasInstance"),s=Function.prototype;o in s||i.setDesc(s,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i.getProto(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){"use strict";var i=n(520),r=n(522),o=n(535),s=n(536),a=n(580),l=n(527),u=n(581).trim,c="Number",f=r[c],h=f,d=f.prototype,p=s(i.create(d))==c,g="trim"in String.prototype,m=function(t){var e,n,i,r,o,s,l,c,f=a(t,!1);if("string"==typeof f&&f.length>2)if(f=g?f.trim():u(f,3),e=f.charCodeAt(0),43===e||45===e){if(n=f.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(f.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+f}for(o=f.slice(2),
|
||
s=0,l=o.length;s<l;s++)if(c=o.charCodeAt(s),c<48||c>r)return NaN;return parseInt(o,i)}return+f};f(" 0o1")&&f("0b1")&&!f("+0x1")||(f=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof f&&(p?l(function(){d.valueOf.call(n)}):s(n)!=c)?new h(m(e)):m(e)},i.each.call(n(526)?i.getNames(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),function(t){o(h,t)&&!o(f,t)&&i.setDesc(f,t,i.getDesc(h,t))}),f.prototype=d,d.constructor=f,n(528)(r,c,f))},function(t,e,n){var i=n(534);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var i=n(521),r=n(540),o=n(527),s="\t\n\v\f\r \u2028\u2029\ufeff",a="["+s+"]",l="
",u=RegExp("^"+a+a+"*"),c=RegExp(a+a+"*$"),f=function(t,e){var n={};n[t]=e(h),i(i.P+i.F*o(function(){return!!s[t]()||l[t]()!=l}),"String",n)},h=f.trim=function(t,e){return t=r(t)+"",1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(c,"")),t};t.exports=f},function(t,e,n){var i=n(521);i(i.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var i=n(521),r=n(522).isFinite;i(i.S,"Number",{isFinite:function(t){return"number"==typeof t&&r(t)}})},function(t,e,n){var i=n(521);i(i.S,"Number",{isInteger:n(585)})},function(t,e,n){var i=n(534),r=Math.floor;t.exports=function(t){return!i(t)&&isFinite(t)&&r(t)===t}},function(t,e,n){var i=n(521);i(i.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var i=n(521),r=n(585),o=Math.abs;i(i.S,"Number",{isSafeInteger:function(t){return r(t)&&o(t)<=9007199254740991}})},function(t,e,n){var i=n(521);i(i.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var i=n(521);i(i.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var i=n(521);i(i.S,"Number",{parseFloat:parseFloat})},function(t,e,n){var i=n(521);i(i.S,"Number",{parseInt:parseInt})},function(t,e,n){var i=n(521),r=n(593),o=Math.sqrt,s=Math.acosh;i(i.S+i.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:r(t-1+o(t-1)*o(t+1))}})},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){function i(t){return isFinite(t=+t)&&0!=t?t<0?-i(-t):Math.log(t+Math.sqrt(t*t+1)):t}var r=n(521);r(r.S,"Math",{asinh:i})},function(t,e,n){var i=n(521);i(i.S,"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var i=n(521),r=n(597);i(i.S,"Math",{cbrt:function(t){return r(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){var i=n(521);i(i.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var i=n(521),r=Math.exp;i(i.S,"Math",{cosh:function(t){return(r(t=+t)+r(-t))/2}})},function(t,e,n){var i=n(521);i(i.S,"Math",{expm1:n(601)})},function(t,e){t.exports=Math.expm1||function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}},function(t,e,n){var i=n(521),r=n(597),o=Math.pow,s=o(2,-52),a=o(2,-23),l=o(2,127)*(2-a),u=o(2,-126),c=function(t){return t+1/s-1/s};i(i.S,"Math",{fround:function(t){var e,n,i=Math.abs(t),o=r(t);return i<u?o*c(i/u/a)*u*a:(e=(1+a/s)*i,n=e-(e-i),n>l||n!=n?o*(1/0):o*n)}})},function(t,e,n){var i=n(521),r=Math.abs;i(i.S,"Math",{hypot:function(t,e){for(var n,i,o=0,s=0,a=arguments,l=a.length,u=0;s<l;)n=r(a[s++]),u<n?(i=u/n,o=o*i*i+1,u=n):n>0?(i=n/u,o+=i*i):o+=n;return u===1/0?1/0:u*Math.sqrt(o)}})},function(t,e,n){var i=n(521),r=Math.imul;i(i.S+i.F*n(527)(function(){return r(4294967295,5)!=-5||2!=r.length}),"Math",{imul:function(t,e){var n=65535,i=+t,r=+e,o=n&i,s=n&r;return 0|o*s+((n&i>>>16)*s+o*(n&r>>>16)<<16>>>0)}})},function(t,e,n){var i=n(521);i(i.S,"Math",{log10:function(t){return Math.log(t)/Math.LN10}})},function(t,e,n){var i=n(521);i(i.S,"Math",{log1p:n(593)})},function(t,e,n){var i=n(521);i(i.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var i=n(521);i(i.S,"Math",{sign:n(597)})},function(t,e,n){var i=n(521),r=n(601),o=Math.exp;i(i.S+i.F*n(527)(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(r(t)-r(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var i=n(521),r=n(601),o=Math.exp;i(i.S,"Math",{tanh:function(t){var e=r(t=+t),n=r(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var i=n(521);i(i.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var i=n(521),r=n(544),o=String.fromCharCode,s=String.fromCodePoint;i(i.S+i.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(t){for(var e,n=[],i=arguments,s=i.length,a=0;s>a;){if(e=+i[a++],r(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(((e-=65536)>>10)+55296,e%1024+56320))}return n.join("")}})},function(t,e,n){var i=n(521),r=n(541),o=n(545);i(i.S,"String",{raw:function(t){for(var e=r(t.raw),n=o(e.length),i=arguments,s=i.length,a=[],l=0;n>l;)a.push(e[l++]+""),l<s&&a.push(i[l]+"");return a.join("")}})},function(t,e,n){"use strict";n(581)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var i=n(616)(!0);n(617)(String,"String",function(t){this._t=t+"",this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var i=n(543),r=n(540);t.exports=function(t){return function(e,n){var o,s,a=r(e)+"",l=i(n),u=a.length;return l<0||l>=u?t?"":void 0:(o=a.charCodeAt(l),o<55296||o>56319||l+1===u||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):(o-55296<<10)+(s-56320)+65536)}}},function(t,e,n){"use strict";var i=n(557),r=n(521),o=n(528),s=n(524),a=n(535),l=n(618),u=n(619),c=n(553),f=n(520).getProto,h=n(549)("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",g="keys",m="values",v=function(){return this};t.exports=function(t,e,n,y,b,_,w){var x,k,S,T,D,C,M,P,O,E;if(u(n,e,y),x=function(t){if(!d&&t in D)return D[t];switch(t){case g:return function(){return new n(this,t)};case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},k=e+" Iterator",S=b==m,T=!1,D=t.prototype,C=D[h]||D[p]||b&&D[b],M=C||x(b),C&&(E=f(M.call(new t)),c(E,k,!0),!i&&a(D,p)&&s(E,h,v),S&&C.name!==m&&(T=!0,M=function(){return C.call(this)})),i&&!w||!d&&!T&&D[h]||s(D,h,M),l[e]=M,l[k]=v,b)if(P={values:S?M:x(m),keys:_?M:x(g),entries:S?x("entries"):M},w)for(O in P)O in D||o(D,O,P[O]);else r(r.P+r.F*(d||T),e,P);return P}},function(t,e){t.exports={}},function(t,e,n){"use strict";var i=n(520),r=n(525),o=n(553),s={};n(524)(s,n(549)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i.create(s,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e,n){"use strict";var i=n(521),r=n(616)(!1);i(i.P,"String",{codePointAt:function(t){return r(this,t)}})},function(t,e,n){"use strict";var i=n(521),r=n(545),o=n(622),s="endsWith",a=""[s];i(i.P+i.F*n(624)(s),"String",{endsWith:function(t){var e=o(this,t,s),n=arguments,i=n.length>1?n[1]:void 0,l=r(e.length),u=void 0===i?l:Math.min(r(i),l),c=t+"";return a?a.call(e,c,u):e.slice(u-c.length,u)===c}})},function(t,e,n){var i=n(623),r=n(540);t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return r(t)+""}},function(t,e,n){var i=n(534),r=n(536),o=n(549)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},function(t,e,n){var i=n(549)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){"use strict";var i=n(521),r=n(622),o="includes";i(i.P+i.F*n(624)(o),"String",{includes:function(t){return!!~r(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var i=n(521);i(i.P,"String",{repeat:n(627)})},function(t,e,n){"use strict";var i=n(543),r=n(540);t.exports=function(t){var e=r(this)+"",n="",o=i(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e,n){"use strict";var i=n(521),r=n(545),o=n(622),s="startsWith",a=""[s];i(i.P+i.F*n(624)(s),"String",{startsWith:function(t){var e=o(this,t,s),n=arguments,i=r(Math.min(n.length>1?n[1]:void 0,e.length)),l=t+"";return a?a.call(e,l,i):e.slice(i,i+l.length)===l}})},function(t,e,n){"use strict";var i=n(530),r=n(521),o=n(539),s=n(630),a=n(631),l=n(545),u=n(632);r(r.S+r.F*!n(633)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,r,c,f=o(t),h="function"==typeof this?this:Array,d=arguments,p=d.length,g=p>1?d[1]:void 0,m=void 0!==g,v=0,y=u(f);if(m&&(g=i(g,p>2?d[2]:void 0,2)),void 0==y||h==Array&&a(y))for(e=l(f.length),n=new h(e);e>v;v++)n[v]=m?g(f[v],v):f[v];else for(c=y.call(f),n=new h;!(r=c.next()).done;v++)n[v]=m?s(c,g,[r.value,v],!0):r.value;return n.length=v,n}})},function(t,e,n){var i=n(538);t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},function(t,e,n){var i=n(618),r=n(549)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},function(t,e,n){var i=n(565),r=n(549)("iterator"),o=n(618);t.exports=n(523).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},function(t,e,n){var i,r=n(549)("iterator"),o=!1;try{i=[7][r](),i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){var n,i,s;if(!e&&!o)return!1;n=!1;try{i=[7],s=i[r](),s.next=function(){return{done:n=!0}},i[r]=function(){return s},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var i=n(521);i(i.S+i.F*n(527)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments,n=e.length,i=new("function"==typeof this?this:Array)(n);n>t;)i[t]=e[t++];return i.length=n,i}})},function(t,e,n){"use strict";var i=n(636),r=n(637),o=n(618),s=n(541);t.exports=n(617)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):"keys"==e?r(0,n):"values"==e?r(0,t[n]):r(0,[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){var i=n(549)("unscopables"),r=Array.prototype;void 0==r[i]&&n(524)(r,i,{}),t.exports=function(t){r[i][t]=!0}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){n(639)("Array")},function(t,e,n){"use strict";var i=n(522),r=n(520),o=n(526),s=n(549)("species");t.exports=function(t){var e=i[t];o&&e&&!e[s]&&r.setDesc(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var i=n(521);i(i.P,"Array",{copyWithin:n(641)}),n(636)("copyWithin")},function(t,e,n){"use strict";var i=n(539),r=n(544),o=n(545);t.exports=[].copyWithin||function(t,e){var n=i(this),s=o(n.length),a=r(t,s),l=r(e,s),u=arguments,c=u.length>2?u[2]:void 0,f=Math.min((void 0===c?s:r(c,s))-l,s-a),h=1;for(l<a&&a<l+f&&(h=-1,l+=f-1,a+=f-1);f-- >0;)l in n?n[a]=n[l]:delete n[a],a+=h,l+=h;return n}},function(t,e,n){var i=n(521);i(i.P,"Array",{fill:n(643)}),n(636)("fill")},function(t,e,n){"use strict";var i=n(539),r=n(544),o=n(545);t.exports=[].fill||function(t){for(var e=i(this),n=o(e.length),s=arguments,a=s.length,l=r(a>1?s[1]:void 0,n),u=a>2?s[2]:void 0,c=void 0===u?n:r(u,n);c>l;)e[l++]=t;return e}},function(t,e,n){"use strict";var i=n(521),r=n(546)(5),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),i(i.P+i.F*s,"Array",{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(636)(o)},function(t,e,n){"use strict";var i=n(521),r=n(546)(6),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),i(i.P+i.F*s,"Array",{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(636)(o)},function(t,e,n){var i=n(520),r=n(522),o=n(623),s=n(647),a=r.RegExp,l=a,u=a.prototype,c=/a/g,f=/a/g,h=new a(c)!==c;!n(526)||h&&!n(527)(function(){return f[n(549)("match")]=!1,a(c)!=c||a(f)==f||"/a/i"!=a(c,"i")})||(a=function(t,e){var n=o(t),i=void 0===e;return this instanceof a||!n||t.constructor!==a||!i?h?new l(n&&!i?t.source:t,e):l((n=t instanceof a)?t.source:t,n&&i?s.call(t):e):t},i.each.call(i.getNames(l),function(t){t in a||i.setDesc(a,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})}),u.constructor=a,a.prototype=u,n(528)(r,"RegExp",a)),n(639)("RegExp")},function(t,e,n){"use strict";var i=n(538);t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var i=n(520);n(526)&&"g"!=/./g.flags&&i.setDesc(RegExp.prototype,"flags",{configurable:!0,get:n(647)})},function(t,e,n){n(650)("match",1,function(t,e){return function(n){"use strict";var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):RegExp(n)[e](i+"")}})},function(t,e,n){"use strict";var i=n(524),r=n(528),o=n(527),s=n(540),a=n(549);t.exports=function(t,e,n){var l=a(t),u=""[t];o(function(){var e={};return e[l]=function(){return 7},7!=""[t](e)})&&(r(String.prototype,t,n(s,l,u)),i(RegExp.prototype,l,2==e?function(t,e){return u.call(t,this,e)}:function(t){return u.call(t,this)}))}},function(t,e,n){n(650)("replace",2,function(t,e,n){return function(i,r){"use strict";var o=t(this),s=void 0==i?void 0:i[e];return void 0!==s?s.call(i,o,r):n.call(o+"",i,r)}})},function(t,e,n){n(650)("search",1,function(t,e){return function(n){"use strict";var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):RegExp(n)[e](i+"")}})},function(t,e,n){n(650)("split",2,function(t,e,n){return function(i,r){"use strict";var o=t(this),s=void 0==i?void 0:i[e];return void 0!==s?s.call(i,o,r):n.call(o+"",i,r)}})},function(t,e,n){"use strict";var i,r=n(520),o=n(557),s=n(522),a=n(530),l=n(565),u=n(521),c=n(534),f=n(538),h=n(531),d=n(655),p=n(656),g=n(563).set,m=n(561),v=n(549)("species"),y=n(657),b=n(658),_="Promise",w=s.process,x="process"==l(w),k=s[_],S=function(){},T=function(t){var e,n=new k(S);return t&&(n.constructor=function(t){t(S,S)}),(e=k.resolve(n)).catch(S),e===n},D=function(){function t(e){var n=new k(e);return g(n,t.prototype),n}var e,i=!1;try{i=k&&k.resolve&&T(),g(t,k),t.prototype=r.create(k.prototype,{constructor:{value:t}}),t.resolve(5).then(function(){})instanceof t||(i=!1),i&&n(526)&&(e=!1,k.resolve(r.setDesc({},"then",{get:function(){e=!0}})),i=e)}catch(t){i=!1}return i}(),C=function(t,e){return!(!o||t!==k||e!==i)||m(t,e)},M=function(t){var e=f(t)[v];return void 0!=e?e:t},P=function(t){var e;return!(!c(t)||"function"!=typeof(e=t.then))&&e},O=function(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=h(e),this.reject=h(n)},E=function(t){try{t()}catch(t){return{error:t}}},N=function(t,e){if(!t.n){t.n=!0;var n=t.c;b(function(){for(var i=t.v,r=1==t.s,o=0,a=function(e){var n,o,s=r?e.ok:e.fail,a=e.resolve,l=e.reject;try{s?(r||(t.h=!0),n=s===!0?i:s(i),n===e.promise?l(TypeError("Promise-chain cycle")):(o=P(n))?o.call(n,a,l):a(n)):l(i)}catch(t){l(t)}};n.length>o;)a(n[o++]);n.length=0,t.n=!1,e&&setTimeout(function(){var e,n,r=t.p;I(r)&&(x?w.emit("unhandledRejection",i,r):(e=s.onunhandledrejection)?e({promise:r,reason:i}):(n=s.console)&&n.error&&n.error("Unhandled promise rejection",i)),t.a=void 0},1)})}},I=function(t){var e,n=t._d,i=n.a||n.c,r=0;if(n.h)return!1;for(;i.length>r;)if(e=i[r++],e.fail||!I(e.promise))return!1;return!0},A=function(t){var e=this;e.d||(e.d=!0,e=e.r||e,e.v=t,e.s=2,e.a=e.c.slice(),N(e,!0))},L=function(t){var e,n=this;if(!n.d){n.d=!0,n=n.r||n;try{if(n.p===t)throw TypeError("Promise can't be resolved itself");(e=P(t))?b(function(){var i={r:n,d:!1};try{e.call(t,a(L,i,1),a(A,i,1))}catch(t){A.call(i,t)}}):(n.v=t,n.s=1,N(n,!1))}catch(t){A.call({r:n,d:!1},t)}}};D||(k=function(t){h(t);var e=this._d={p:d(this,k,_),c:[],a:void 0,s:0,d:!1,v:void 0,h:!1,n:!1};try{t(a(L,e,1),a(A,e,1))}catch(t){A.call(e,t)}},n(660)(k.prototype,{then:function(t,e){var n=new O(y(this,k)),i=n.promise,r=this._d;return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,r.c.push(n),r.a&&r.a.push(n),r.s&&N(r,!1),i},catch:function(t){return this.then(void 0,t)}})),u(u.G+u.W+u.F*!D,{Promise:k}),n(553)(k,_),n(639)(_),i=n(523)[_],u(u.S+u.F*!D,_,{reject:function(t){var e=new O(this),n=e.reject;return n(t),e.promise}}),u(u.S+u.F*(!D||T(!0)),_,{resolve:function(t){if(t instanceof k&&C(t.constructor,this))return t;var e=new O(this),n=e.resolve;return n(t),e.promise}}),u(u.S+u.F*!(D&&n(633)(function(t){k.all(t).catch(function(){})})),_,{all:function(t){var e=M(this),n=new O(e),i=n.resolve,o=n.reject,s=[],a=E(function(){p(t,!1,s.push,s);var n=s.length,a=Array(n);n?r.each.call(s,function(t,r){var s=!1;e.resolve(t).then(function(t){s||(s=!0,a[r]=t,--n||i(a))},o)}):i(a)});return a&&o(a.error),n.promise},race:function(t){var e=M(this),n=new O(e),i=n.reject,r=E(function(){p(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r&&i(r.error),n.promise}})},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError(n+": use the 'new' operator!");return t}},function(t,e,n){var i=n(530),r=n(630),o=n(631),s=n(538),a=n(545),l=n(632);t.exports=function(t,e,n,u){var c,f,h,d=l(t),p=i(n,u,e?2:1),g=0;if("function"!=typeof d)throw TypeError(t+" is not iterable!");if(o(d))for(c=a(t.length);c>g;g++)e?p(s(f=t[g])[0],f[1]):p(t[g]);else for(h=d.call(t);!(f=h.next()).done;)r(h,p,f.value,e)}},function(t,e,n){var i=n(538),r=n(531),o=n(549)("species");t.exports=function(t,e){var n,s=i(t).constructor;return void 0===s||void 0==(n=i(s)[o])?e:r(n)}},function(t,e,n){var i,r,o,s,a,l=n(522),u=n(659).set,c=l.MutationObserver||l.WebKitMutationObserver,f=l.process,h=l.Promise,d="process"==n(536)(f),p=function(){var t,e,n;for(d&&(t=f.domain)&&(f.domain=null,t.exit());i;)e=i.domain,n=i.fn,e&&e.enter(),n(),e&&e.exit(),i=i.next;r=void 0,t&&t.enter()};d?o=function(){f.nextTick(p)}:c?(s=1,a=document.createTextNode(""),new c(p).observe(a,{characterData:!0}),o=function(){a.data=s=-s}):o=h&&h.resolve?function(){h.resolve().then(p)}:function(){u.call(l,p)},t.exports=function(t){var e={fn:t,next:void 0,domain:d&&f.domain};r&&(r.next=e),i||(i=e,o()),r=e}},function(t,e,n){var i,r,o,s=n(530),a=n(537),l=n(532),u=n(533),c=n(522),f=c.process,h=c.setImmediate,d=c.clearImmediate,p=c.MessageChannel,g=0,m={},v="onreadystatechange",y=function(){var t,e=+this;m.hasOwnProperty(e)&&(t=m[e],delete m[e],t())},b=function(t){y.call(t.data)};h&&d||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++g]=function(){a("function"==typeof t?t:Function(t),e)},i(g),g},d=function(t){delete m[t]},"process"==n(536)(f)?i=function(t){f.nextTick(s(y,t,1))}:p?(r=new p,o=r.port2,r.port1.onmessage=b,i=s(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(i=function(t){c.postMessage(t+"","*")},c.addEventListener("message",b,!1)):i=v in u("script")?function(t){l.appendChild(u("script"))[v]=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(s(y,t,1),0)}),t.exports={set:h,clear:d}},function(t,e,n){var i=n(528);t.exports=function(t,e){for(var n in e)i(t,n,e[n]);return t}},function(t,e,n){"use strict";var i=n(662);n(663)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=i.getEntry(this,t);return e&&e.v},set:function(t,e){return i.def(this,0===t?0:t,e)}},i,!0)},function(t,e,n){"use strict";var i=n(520),r=n(524),o=n(660),s=n(530),a=n(655),l=n(540),u=n(656),c=n(617),f=n(637),h=n(529)("id"),d=n(535),p=n(534),g=n(639),m=n(526),v=Object.isExtensible||p,y=m?"_s":"size",b=0,_=function(t,e){if(!p(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!d(t,h)){if(!v(t))return"F";if(!e)return"E";r(t,h,++b)}return"O"+t[h]},w=function(t,e){var n,i=_(e);if("F"!==i)return t._i[i];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,r){var c=t(function(t,o){a(t,c,e),t._i=i.create(null),t._f=void 0,t._l=void 0,t[y]=0,void 0!=o&&u(o,n,t[r],t)});return o(c.prototype,{clear:function(){for(var t=this,e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[y]=0},delete:function(t){var e,n,i=this,r=w(i,t);return r&&(e=r.n,n=r.p,delete i._i[r.i],r.r=!0,n&&(n.n=e),e&&(e.p=n),i._f==r&&(i._f=e),i._l==r&&(i._l=n),i[y]--),!!r},forEach:function(t){for(var e,n=s(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!w(this,t)}}),m&&i.setDesc(c.prototype,"size",{get:function(){return l(this[y])}}),c},def:function(t,e,n){var i,r,o=w(t,e);return o?o.v=n:(t._l=o={i:r=_(e,!0),k:e,v:n,p:i=t._l,n:void 0,r:!1},t._f||(t._f=o),i&&(i.n=o),t[y]++,"F"!==r&&(t._i[r]=o)),t},getEntry:w,setStrong:function(t,e,n){c(t,e,function(t,e){this._t=t,this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?f(0,n.k):"values"==e?f(0,n.v):f(0,[n.k,n.v]):(t._t=void 0,f(1))},n?"entries":"values",!n,!0),g(e)}}},function(t,e,n){"use strict";var i=n(522),r=n(521),o=n(528),s=n(660),a=n(656),l=n(655),u=n(534),c=n(527),f=n(633),h=n(553);t.exports=function(t,e,n,d,p,g){var m,v,y,b,_,w=i[t],x=w,k=p?"set":"add",S=x&&x.prototype,T={},D=function(t){var e=S[t];o(S,t,"delete"==t?function(t){return!(g&&!u(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!u(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};return"function"==typeof x&&(g||S.forEach&&!c(function(){(new x).entries().next()}))?(m=new x,v=m[k](g?{}:-0,1)!=m,y=c(function(){m.has(1)}),b=f(function(t){new x(t)}),b||(x=e(function(e,n){l(e,x,t);var i=new w;return void 0!=n&&a(n,p,i[k],i),i}),x.prototype=S,S.constructor=x),g||m.forEach(function(t,e){_=1/e===-(1/0)}),(y||_)&&(D("delete"),D("has"),p&&D("get")),(_||v)&&D(k),g&&S.clear&&delete S.clear):(x=d.getConstructor(e,t,p,k),s(x.prototype,n)),h(x,t),T[t]=x,r(r.G+r.W+r.F*(x!=w),T),g||d.setStrong(x,t,p),x}},function(t,e,n){"use strict";var i=n(662);n(663)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return i.def(this,t=0===t?0:t,t)}},i)},function(t,e,n){"use strict";var i=n(520),r=n(528),o=n(666),s=n(534),a=n(535),l=o.frozenStore,u=o.WEAK,c=Object.isExtensible||s,f={},h=n(663)("WeakMap",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){if(s(t)){if(!c(t))return l(this).get(t);if(a(t,u))return t[u][this._i]}},set:function(t,e){return o.def(this,t,e)}},o,!0,!0);7!=(new h).set((Object.freeze||Object)(f),7).get(f)&&i.each.call(["delete","has","get","set"],function(t){var e=h.prototype,n=e[t];r(e,t,function(e,i){if(s(e)&&!c(e)){var r=l(this)[t](e,i);return"set"==t?this:r}return n.call(this,e,i)})})},function(t,e,n){"use strict";var i=n(524),r=n(660),o=n(538),s=n(534),a=n(655),l=n(656),u=n(546),c=n(535),f=n(529)("weak"),h=Object.isExtensible||s,d=u(5),p=u(6),g=0,m=function(t){return t._l||(t._l=new v)},v=function(){this.a=[]},y=function(t,e){return d(t.a,function(t){return t[0]===e})};v.prototype={get:function(t){var e=y(this,t);if(e)return e[1]},has:function(t){return!!y(this,t)},set:function(t,e){var n=y(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=p(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,i){var o=t(function(t,r){a(t,o,e),t._i=g++,t._l=void 0,void 0!=r&&l(r,n,t[i],t)});return r(o.prototype,{delete:function(t){return!!s(t)&&(h(t)?c(t,f)&&c(t[f],this._i)&&delete t[f][this._i]:m(this).delete(t))},has:function(t){return!!s(t)&&(h(t)?c(t,f)&&c(t[f],this._i):m(this).has(t))}}),o},def:function(t,e,n){return h(o(e))?(c(e,f)||i(e,f,{}),e[f][t._i]=n):m(t).set(e,n),t},frozenStore:m,WEAK:f}},function(t,e,n){"use strict";var i=n(666);n(663)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return i.def(this,t,!0)}},i,!1,!0)},function(t,e,n){var i=n(521),r=Function.apply,o=n(538);i(i.S,"Reflect",{apply:function(t,e,n){return r.call(t,e,o(n))}})},function(t,e,n){var i=n(520),r=n(521),o=n(531),s=n(538),a=n(534),l=Function.bind||n(523).Function.prototype.bind;r(r.S+r.F*n(527)(function(){function t(){}return!(Reflect.construct(function(){},[],t)instanceof t)}),"Reflect",{construct:function(t,e){var n,r,u,c,f;if(o(t),s(e),n=arguments.length<3?t:o(arguments[2]),t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}return r=[null],r.push.apply(r,e),new(l.apply(t,r))}return u=n.prototype,c=i.create(a(u)?u:Object.prototype),f=Function.apply.call(t,c,e),a(f)?f:c}})},function(t,e,n){var i=n(520),r=n(521),o=n(538);r(r.S+r.F*n(527)(function(){Reflect.defineProperty(i.setDesc({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t);try{return i.setDesc(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var i=n(521),r=n(520).getDesc,o=n(538);i(i.S,"Reflect",{deleteProperty:function(t,e){var n=r(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var i=n(521),r=n(538),o=function(t){this._t=r(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(619)(o,"Object",function(){var t,e=this,n=e._k;do if(e._i>=n.length)return{value:void 0,done:!0};while(!((t=n[e._i++])in e._t));return{value:t,done:!1}}),i(i.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,n){function i(t,e){var n,s,u=arguments.length<3?t:arguments[2];return l(t)===u?t[e]:(n=r.getDesc(t,e))?o(n,"value")?n.value:void 0!==n.get?n.get.call(u):void 0:a(s=r.getProto(t))?i(s,e,u):void 0}var r=n(520),o=n(535),s=n(521),a=n(534),l=n(538);s(s.S,"Reflect",{get:i})},function(t,e,n){var i=n(520),r=n(521),o=n(538);r(r.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return i.getDesc(o(t),e)}})},function(t,e,n){var i=n(521),r=n(520).getProto,o=n(538);i(i.S,"Reflect",{getPrototypeOf:function(t){return r(o(t))}})},function(t,e,n){var i=n(521);i(i.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var i=n(521),r=n(538),o=Object.isExtensible;i(i.S,"Reflect",{isExtensible:function(t){return r(t),!o||o(t)}})},function(t,e,n){var i=n(521);i(i.S,"Reflect",{ownKeys:n(679)})},function(t,e,n){var i=n(520),r=n(538),o=n(522).Reflect;t.exports=o&&o.ownKeys||function(t){var e=i.getNames(r(t)),n=i.getSymbols;return n?e.concat(n(t)):e}},function(t,e,n){var i=n(521),r=n(538),o=Object.preventExtensions;i(i.S,"Reflect",{preventExtensions:function(t){r(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,n){function i(t,e,n){var s,c,f=arguments.length<4?t:arguments[3],h=r.getDesc(l(t),e);if(!h){if(u(c=r.getProto(t)))return i(c,e,n,f);h=a(0)}return o(h,"value")?!(h.writable===!1||!u(f))&&(s=r.getDesc(f,e)||a(0),s.value=n,r.setDesc(f,e,s),!0):void 0!==h.set&&(h.set.call(f,n),!0)}var r=n(520),o=n(535),s=n(521),a=n(525),l=n(538),u=n(534);s(s.S,"Reflect",{set:i})},function(t,e,n){var i=n(521),r=n(563);r&&i(i.S,"Reflect",{setPrototypeOf:function(t,e){r.check(t,e);try{return r.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){"use strict";var i=n(521),r=n(551)(!0);i(i.P,"Array",{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),n(636)("includes")},function(t,e,n){"use strict";var i=n(521),r=n(616)(!0);i(i.P,"String",{at:function(t){return r(this,t)}})},function(t,e,n){"use strict";var i=n(521),r=n(686);i(i.P,"String",{padLeft:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){var i=n(545),r=n(627),o=n(540);t.exports=function(t,e,n,s){var a,l,u=o(t)+"",c=u.length,f=void 0===n?" ":n+"",h=i(e);return h<=c?u:(""==f&&(f=" "),a=h-c,l=r.call(f,Math.ceil(a/f.length)),l.length>a&&(l=l.slice(0,a)),s?l+u:u+l)}},function(t,e,n){"use strict";var i=n(521),r=n(686);i(i.P,"String",{padRight:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){"use strict";n(581)("trimLeft",function(t){return function(){return t(this,1)}})},function(t,e,n){"use strict";n(581)("trimRight",function(t){return function(){return t(this,2)}})},function(t,e,n){var i=n(521),r=n(691)(/[\\^$*+?.()|[\]{}]/g,"\\$&");i(i.S,"RegExp",{escape:function(t){return r(t)}})},function(t,e){t.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return(e+"").replace(t,n)}}},function(t,e,n){var i=n(520),r=n(521),o=n(679),s=n(541),a=n(525);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=s(t),l=i.setDesc,u=i.getDesc,c=o(r),f={},h=0;c.length>h;)n=u(r,e=c[h++]),e in f?l(f,e,a(0,n)):f[e]=n;return f}})},function(t,e,n){var i=n(521),r=n(694)(!1);i(i.S,"Object",{values:function(t){return r(t)}})},function(t,e,n){var i=n(520),r=n(541),o=i.isEnum;t.exports=function(t){return function(e){for(var n,s=r(e),a=i.getKeys(s),l=a.length,u=0,c=[];l>u;)o.call(s,n=a[u++])&&c.push(t?[n,s[n]]:s[n]);return c}}},function(t,e,n){var i=n(521),r=n(694)(!0);i(i.S,"Object",{entries:function(t){return r(t)}})},function(t,e,n){var i=n(521);i(i.P,"Map",{toJSON:n(697)("Map")})},function(t,e,n){var i=n(656),r=n(565);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");var e=[];return i(this,!1,e.push,e),e}}},function(t,e,n){var i=n(521);i(i.P,"Set",{toJSON:n(697)("Set")})},function(t,e,n){var i=n(520),r=n(521),o=n(530),s=n(523).Array||Array,a={},l=function(t,e){i.each.call(t.split(","),function(t){void 0==e&&t in s?a[t]=s[t]:t in[]&&(a[t]=o(Function.call,[][t],e))})};l("pop,reverse,shift,keys,values,entries",1),l("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),l("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),r(r.S,"Array",a)},function(t,e,n){var i=n(522),r=n(521),o=n(537),s=n(701),a=i.navigator,l=!!a&&/MSIE .\./.test(a.userAgent),u=function(t){return l?function(e,n){return t(o(s,[].slice.call(arguments,2),"function"==typeof e?e:Function(e)),n)}:t};r(r.G+r.B+r.F*l,{setTimeout:u(i.setTimeout),setInterval:u(i.setInterval)})},function(t,e,n){"use strict";var i=n(702),r=n(537),o=n(531);t.exports=function(){for(var t=o(this),e=arguments.length,n=Array(e),s=0,a=i._,l=!1;e>s;)(n[s]=arguments[s++])===a&&(l=!0);return function(){var i,o=this,s=arguments,u=s.length,c=0,f=0;if(!l&&!u)return r(t,n,o);if(i=n.slice(),l)for(;e>c;c++)i[c]===a&&(i[c]=s[f++]);for(;u>f;)i.push(s[f++]);return r(t,i,o)}}},function(t,e,n){t.exports=n(522)},function(t,e,n){var i=n(521),r=n(659);i(i.G+i.B,{setImmediate:r.set,clearImmediate:r.clear})},function(t,e,n){n(635);var i=n(522),r=n(524),o=n(618),s=n(549)("iterator"),a=i.NodeList,l=i.HTMLCollection,u=a&&a.prototype,c=l&&l.prototype,f=o.NodeList=o.HTMLCollection=o.Array;u&&!u[s]&&r(u,s,f),c&&!c[s]&&r(c,s,f)},function(t,e,n){(function(e,n){!function(e){"use strict";function i(t,e,n,i){var r=Object.create((e||o).prototype),s=new p(i||[]);return r._invoke=f(t,n,s),r}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function o(){}function s(){}function a(){}function l(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function u(t){this.arg=t}function c(t){function e(e,n){var i=t[e](n),s=i.value;return s instanceof u?Promise.resolve(s.arg).then(r,o):Promise.resolve(s).then(function(t){return i.value=t,i})}function i(t,n){function i(){return e(t,n)}return a=a?a.then(i,i):new Promise(function(t){t(i())})}var r,o,s,a;"object"==typeof n&&n.domain&&(e=n.domain.bind(e)),
|
||
r=e.bind(t,"next"),o=e.bind(t,"throw"),s=e.bind(t,"return"),this._invoke=i}function f(t,e,n){var i=y;return function(o,s){var a,l,u,c;if(i===_)throw Error("Generator is already running");if(i===w){if("throw"===o)throw s;return m()}for(;;){if(a=n.delegate){if("return"===o||"throw"===o&&a.iterator[o]===v){if(n.delegate=null,l=a.iterator.return,l&&(u=r(l,a.iterator,s),"throw"===u.type)){o="throw",s=u.arg;continue}if("return"===o)continue}if(u=r(a.iterator[o],a.iterator,s),"throw"===u.type){n.delegate=null,o="throw",s=u.arg;continue}if(o="next",s=v,c=u.arg,!c.done)return i=b,c;n[a.resultName]=c.value,n.next=a.nextLoc,n.delegate=null}if("next"===o)n._sent=s,i===b?n.sent=s:n.sent=v;else if("throw"===o){if(i===y)throw i=w,s;n.dispatchException(s)&&(o="next",s=v)}else"return"===o&&n.abrupt("return",s);if(i=_,u=r(t,e,n),"normal"===u.type){if(i=n.done?w:b,c={value:u.arg,done:n.done},u.arg!==x)return c;n.delegate&&"next"===o&&(s=v)}else"throw"===u.type&&(i=w,o="throw",s=u.arg)}}}function h(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function d(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function p(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(h,this),this.reset(!0)}function g(t){var e,n,i;if(t){if(e=t[T])return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return n=-1,i=function e(){for(;++n<t.length;)if(S.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=v,e.done=!0,e},i.next=i}return{next:m}}function m(){return{value:v,done:!0}}var v,y,b,_,w,x,k,S=Object.prototype.hasOwnProperty,T="function"==typeof Symbol&&Symbol.iterator||"@@iterator",D="object"==typeof t,C=e.regeneratorRuntime;return C?(D&&(t.exports=C),v):(C=e.regeneratorRuntime=D?t.exports:{},C.wrap=i,y="suspendedStart",b="suspendedYield",_="executing",w="completed",x={},k=a.prototype=o.prototype,s.prototype=k.constructor=a,a.constructor=s,s.displayName="GeneratorFunction",C.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===s||"GeneratorFunction"===(e.displayName||e.name))},C.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,a):t.__proto__=a,t.prototype=Object.create(k),t},C.awrap=function(t){return new u(t)},l(c.prototype),C.async=function(t,e,n,r){var o=new c(i(t,e,n,r));return C.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},l(k),k[T]=function(){return this},k.toString=function(){return"[object Generator]"},C.keys=function(t){var e,n=[];for(e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},C.values=g,p.prototype={constructor:p,reset:function(t){if(this.prev=0,this.next=0,this.sent=v,this.done=!1,this.delegate=null,this.tryEntries.forEach(d),!t)for(var e in this)"t"===e.charAt(0)&&S.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=v)},stop:function(){var t,e;if(this.done=!0,t=this.tryEntries[0],e=t.completion,"throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,i){return o.type="throw",o.arg=t,n.next=e,!!i}var n,i,r,o,s,a;if(this.done)throw t;for(n=this,i=this.tryEntries.length-1;i>=0;--i){if(r=this.tryEntries[i],o=r.completion,"root"===r.tryLoc)return e("end");if(r.tryLoc<=this.prev)if(s=S.call(r,"catchLoc"),a=S.call(r,"finallyLoc"),s&&a){if(this.prev<r.catchLoc)return e(r.catchLoc,!0);if(this.prev<r.finallyLoc)return e(r.finallyLoc)}else if(s){if(this.prev<r.catchLoc)return e(r.catchLoc,!0)}else{if(!a)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return e(r.finallyLoc)}}},abrupt:function(t,e){var n,i,r,o;for(n=this.tryEntries.length-1;n>=0;--n)if(i=this.tryEntries[n],i.tryLoc<=this.prev&&S.call(i,"finallyLoc")&&this.prev<i.finallyLoc){r=i;break}return r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null),o=r?r.completion:{},o.type=t,o.arg=e,r?this.next=r.finallyLoc:this.complete(o),x},complete:function(t,e){if("throw"===t.type)throw t.arg;"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=t.arg,this.next="end"):"normal"===t.type&&e&&(this.next=e)},finish:function(t){var e,n;for(e=this.tryEntries.length-1;e>=0;--e)if(n=this.tryEntries[e],n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),d(n),x},catch:function(t){var e,n,i,r;for(e=this.tryEntries.length-1;e>=0;--e)if(n=this.tryEntries[e],n.tryLoc===t)return i=n.completion,"throw"===i.type&&(r=i.arg,d(n)),r;throw Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:g(t),resultName:e,nextLoc:n},x}},v)}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(e,function(){return this}(),n(32))},function(t,e,n){var i,r;!function(o,s){function a(t){var e,n,i=Me[t]={};for(t=t.split(/\s+/),e=0,n=t.length;e<n;e++)i[t[e]]=!0;return i}function l(t,e,n){if(n===s&&1===t.nodeType){var i="data-"+e.replace(z,"-$1").toLowerCase();if(n=t.getAttribute(i),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:Ce.isNumeric(n)?+n:H.test(n)?Ce.parseJSON(n):n)}catch(t){}Ce.data(t,e,n)}else n=s}return n}function u(t){for(var e in t)if(("data"!==e||!Ce.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,n){var i=e+"defer",r=e+"queue",o=e+"mark",s=Ce._data(t,i);!s||"queue"!==n&&Ce._data(t,r)||"mark"!==n&&Ce._data(t,o)||setTimeout(function(){Ce._data(t,r)||Ce._data(t,o)||(Ce.removeData(t,i,!0),s.fire())},0)}function f(){return!1}function h(){return!0}function d(t){return!t||!t.parentNode||11===t.parentNode.nodeType}function p(t,e,n){if(e=e||0,Ce.isFunction(e))return Ce.grep(t,function(t,i){var r=!!e.call(t,i,t);return r===n});if(e.nodeType)return Ce.grep(t,function(t,i){return t===e===n});if("string"==typeof e){var i=Ce.grep(t,function(t){return 1===t.nodeType});if(ct.test(e))return Ce.filter(e,i,!n);e=Ce.filter(e,i)}return Ce.grep(t,function(t,i){return Ce.inArray(t,e)>=0===n})}function g(t){var e=pt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function m(t,e){return Ce.nodeName(t,"table")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function v(t,e){if(1===e.nodeType&&Ce.hasData(t)){var n,i,r,o=Ce._data(t),s=Ce._data(e,o),a=o.events;if(a){delete s.handle,s.events={};for(n in a)for(i=0,r=a[n].length;i<r;i++)Ce.event.add(e,n,a[n][i])}s.data&&(s.data=Ce.extend({},s.data))}}function y(t,e){var n;1===e.nodeType&&(e.clearAttributes&&e.clearAttributes(),e.mergeAttributes&&e.mergeAttributes(t),n=e.nodeName.toLowerCase(),"object"===n?e.outerHTML=t.outerHTML:"input"!==n||"checkbox"!==t.type&&"radio"!==t.type?"option"===n?e.selected=t.defaultSelected:"input"===n||"textarea"===n?e.defaultValue=t.defaultValue:"script"===n&&e.text!==t.text&&(e.text=t.text):(t.checked&&(e.defaultChecked=e.checked=t.checked),e.value!==t.value&&(e.value=t.value)),e.removeAttribute(Ce.expando),e.removeAttribute("_submit_attached"),e.removeAttribute("_change_attached"))}function b(t){return s!==t.getElementsByTagName?t.getElementsByTagName("*"):s!==t.querySelectorAll?t.querySelectorAll("*"):[]}function _(t){"checkbox"!==t.type&&"radio"!==t.type||(t.defaultChecked=t.checked)}function w(t){var e=(t.nodeName||"").toLowerCase();"input"===e?_(t):"script"!==e&&s!==t.getElementsByTagName&&Ce.grep(t.getElementsByTagName("input"),_)}function x(t){var e=Se.createElement("div");return Mt.appendChild(e),e.innerHTML=t.outerHTML,e.firstChild}function k(t,e,n){var i="width"===e?t.offsetWidth:t.offsetHeight,r="width"===e?1:0,o=4;if(i>0){if("border"!==n)for(;r<o;r+=2)n||(i-=parseFloat(Ce.css(t,"padding"+Ft[r]))||0),"margin"===n?i+=parseFloat(Ce.css(t,n+Ft[r]))||0:i-=parseFloat(Ce.css(t,"border"+Ft[r]+"Width"))||0;return i+"px"}if(i=Ht(t,e),(i<0||null==i)&&(i=t.style[e]),It.test(i))return i;if(i=parseFloat(i)||0,n)for(;r<o;r+=2)i+=parseFloat(Ce.css(t,"padding"+Ft[r]))||0,"padding"!==n&&(i+=parseFloat(Ce.css(t,"border"+Ft[r]+"Width"))||0),"margin"===n&&(i+=parseFloat(Ce.css(t,n+Ft[r]))||0);return i+"px"}function S(t){return function(e,n){if("string"!=typeof e&&(n=e,e="*"),Ce.isFunction(n))for(var i,r,o,s=e.toLowerCase().split(Jt),a=0,l=s.length;a<l;a++)i=s[a],o=/^\+/.test(i),o&&(i=i.substr(1)||"*"),r=t[i]=t[i]||[],r[o?"unshift":"push"](n)}}function T(t,e,n,i,r,o){r=r||e.dataTypes[0],o=o||{},o[r]=!0;for(var a,l=t[r],u=0,c=l?l.length:0,f=t===ie;u<c&&(f||!a);u++)a=l[u](e,n,i),"string"==typeof a&&(!f||o[a]?a=s:(e.dataTypes.unshift(a),a=T(t,e,n,i,a,o)));return!f&&a||o["*"]||(a=T(t,e,n,i,"*",o)),a}function D(t,e){var n,i,r=Ce.ajaxSettings.flatOptions||{};for(n in e)e[n]!==s&&((r[n]?t:i||(i={}))[n]=e[n]);i&&Ce.extend(!0,t,i)}function C(t,e,n,i){if(Ce.isArray(e))Ce.each(e,function(e,r){n||Wt.test(t)?i(t,r):C(t+"["+("object"==typeof r?e:"")+"]",r,n,i)});else if(n||"object"!==Ce.type(e))i(t,e);else for(var r in e)C(t+"["+r+"]",e[r],n,i)}function M(t,e,n){var i,r,o,a,l=t.contents,u=t.dataTypes,c=t.responseFields;for(r in c)r in n&&(e[c[r]]=n[r]);for(;"*"===u[0];)u.shift(),i===s&&(i=t.mimeType||e.getResponseHeader("content-type"));if(i)for(r in l)if(l[r]&&l[r].test(i)){u.unshift(r);break}if(u[0]in n)o=u[0];else{for(r in n){if(!u[0]||t.converters[r+" "+u[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function P(t,e){t.dataFilter&&(e=t.dataFilter(e,t.dataType));var n,i,r,o,a,l,u,c,f=t.dataTypes,h={},d=f.length,p=f[0];for(n=1;n<d;n++){if(1===n)for(i in t.converters)"string"==typeof i&&(h[i.toLowerCase()]=t.converters[i]);if(o=p,p=f[n],"*"===p)p=o;else if("*"!==o&&o!==p){if(a=o+" "+p,l=h[a]||h["* "+p],!l){c=s;for(u in h)if(r=u.split(" "),(r[0]===o||"*"===r[0])&&(c=h[r[1]+" "+p])){u=h[u],u===!0?l=c:c===!0&&(l=u);break}}l||c||Ce.error("No conversion from "+a.replace(" "," to ")),l!==!0&&(e=l?l(e):c(u(e)))}}return e}function O(){try{return new o.XMLHttpRequest}catch(t){}}function E(){try{return new o.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function N(){return setTimeout(I,0),_e=Ce.now()}function I(){_e=s}function A(t,e){var n={};return Ce.each(be.concat.apply([],be.slice(0,e)),function(){n[this]=t}),n}function L(t){if(!de[t]){var e=Se.body,n=Ce("<"+t+">").appendTo(e),i=n.css("display");n.remove(),"none"!==i&&""!==i||(pe||(pe=Se.createElement("iframe"),pe.frameBorder=pe.width=pe.height=0),e.appendChild(pe),ge&&pe.createElement||(ge=(pe.contentWindow||pe.contentDocument).document,ge.write((Ce.support.boxModel?"<!doctype html>":"")+"<html><body>"),ge.close()),n=ge.createElement(t),ge.body.appendChild(n),i=Ce.css(n,"display"),e.removeChild(pe)),de[t]=i}return de[t]}function j(t){return Ce.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var F,H,z,Y,R,W,V,B,U,q,$,G,X,K,Q,Z,J,tt,et,nt,it,rt,ot,st,at,lt,ut,ct,ft,ht,dt,pt,gt,mt,vt,yt,bt,_t,wt,xt,kt,St,Tt,Dt,Ct,Mt,Pt,Ot,Et,Nt,It,At,Lt,jt,Ft,Ht,zt,Yt,Rt,Wt,Vt,Bt,Ut,qt,$t,Gt,Xt,Kt,Qt,Zt,Jt,te,ee,ne,ie,re,oe,se,ae,le,ue,ce,fe,he,de,pe,ge,me,ve,ye,be,_e,we,xe,ke,Se=o.document,Te=o.navigator,De=o.location,Ce=function(){function t(){if(!a.isReady){try{Se.documentElement.doScroll("left")}catch(e){return setTimeout(t,1),s}a.ready()}}var e,n,i,r,a=function(t,n){return new a.fn.init(t,n,e)},l=o.jQuery,u=o.$,c=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,f=/\S/,h=/^\s+/,d=/\s+$/,p=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,g=/^[\],:{}\s]*$/,m=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,v=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,y=/(?:^|:|,)(?:\s*\[)+/g,b=/(webkit)[ \/]([\w.]+)/,_=/(opera)(?:.*version)?[ \/]([\w.]+)/,w=/(msie) ([\w.]+)/,x=/(mozilla)(?:.*? rv:([\w.]+))?/,k=/-([a-z]|[0-9])/gi,S=/^-ms-/,T=function(t,e){return(e+"").toUpperCase()},D=Te.userAgent,C=Object.prototype.toString,M=Object.prototype.hasOwnProperty,P=Array.prototype.push,O=Array.prototype.slice,E=String.prototype.trim,N=Array.prototype.indexOf,I={};return a.fn=a.prototype={constructor:a,init:function(t,e,n){var i,r,o,l;if(!t)return this;if(t.nodeType)return this.context=this[0]=t,this.length=1,this;if("body"===t&&!e&&Se.body)return this.context=Se,this[0]=Se.body,this.selector=t,this.length=1,this;if("string"==typeof t){if(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:c.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1])return e=e instanceof a?e[0]:e,l=e?e.ownerDocument||e:Se,o=p.exec(t),o?a.isPlainObject(e)?(t=[Se.createElement(o[1])],a.fn.attr.call(t,e,!0)):t=[l.createElement(o[1])]:(o=a.buildFragment([i[1]],[l]),t=(o.cacheable?a.clone(o.fragment):o.fragment).childNodes),a.merge(this,t);if(r=Se.getElementById(i[2]),r&&r.parentNode){if(r.id!==i[2])return n.find(t);this.length=1,this[0]=r}return this.context=Se,this.selector=t,this}return a.isFunction(t)?n.ready(t):(t.selector!==s&&(this.selector=t.selector,this.context=t.context),a.makeArray(t,this))},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return O.call(this,0)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t,e,n){var i=this.constructor();return a.isArray(t)?P.apply(i,t):a.merge(i,t),i.prevObject=this,i.context=this.context,"find"===e?i.selector=this.selector+(this.selector?" ":"")+n:e&&(i.selector=this.selector+"."+e+"("+n+")"),i},each:function(t,e){return a.each(this,t,e)},ready:function(t){return a.bindReady(),i.add(t),this},eq:function(t){return t=+t,t===-1?this.slice(t):this.slice(t,t+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(O.apply(this,arguments),"slice",O.call(arguments).join(","))},map:function(t){return this.pushStack(a.map(this,function(e,n){return t.call(e,n,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:P,sort:[].sort,splice:[].splice},a.fn.init.prototype=a.fn,a.extend=a.fn.extend=function(){var t,e,n,i,r,o,l=arguments[0]||{},u=1,c=arguments.length,f=!1;for("boolean"==typeof l&&(f=l,l=arguments[1]||{},u=2),"object"==typeof l||a.isFunction(l)||(l={}),c===u&&(l=this,--u);u<c;u++)if(null!=(t=arguments[u]))for(e in t)n=l[e],i=t[e],l!==i&&(f&&i&&(a.isPlainObject(i)||(r=a.isArray(i)))?(r?(r=!1,o=n&&a.isArray(n)?n:[]):o=n&&a.isPlainObject(n)?n:{},l[e]=a.extend(f,o,i)):i!==s&&(l[e]=i));return l},a.extend({noConflict:function(t){return o.$===a&&(o.$=u),t&&o.jQuery===a&&(o.jQuery=l),a},isReady:!1,readyWait:1,holdReady:function(t){t?a.readyWait++:a.ready(!0)},ready:function(t){if(t===!0&&!--a.readyWait||t!==!0&&!a.isReady){if(!Se.body)return setTimeout(a.ready,1);if(a.isReady=!0,t!==!0&&--a.readyWait>0)return;i.fireWith(Se,[a]),a.fn.trigger&&a(Se).trigger("ready").off("ready")}},bindReady:function(){if(!i){if(i=a.Callbacks("once memory"),"complete"===Se.readyState)return setTimeout(a.ready,1);if(Se.addEventListener)Se.addEventListener("DOMContentLoaded",r,!1),o.addEventListener("load",a.ready,!1);else if(Se.attachEvent){Se.attachEvent("onreadystatechange",r),o.attachEvent("onload",a.ready);var e=!1;try{e=null==o.frameElement}catch(t){}Se.documentElement.doScroll&&e&&t()}}},isFunction:function(t){return"function"===a.type(t)},isArray:Array.isArray||function(t){return"array"===a.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?t+"":I[C.call(t)]||"object"},isPlainObject:function(t){if(!t||"object"!==a.type(t)||t.nodeType||a.isWindow(t))return!1;try{if(t.constructor&&!M.call(t,"constructor")&&!M.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}var e;for(e in t);return e===s||M.call(t,e)},isEmptyObject:function(t){for(var e in t)return!1;return!0},error:function(t){throw Error(t)},parseJSON:function(t){return"string"==typeof t&&t?(t=a.trim(t),o.JSON&&o.JSON.parse?o.JSON.parse(t):g.test(t.replace(m,"@").replace(v,"]").replace(y,""))?Function("return "+t)():(a.error("Invalid JSON: "+t),s)):null},parseXML:function(t){if("string"!=typeof t||!t)return null;var e,n;try{o.DOMParser?(n=new DOMParser,e=n.parseFromString(t,"text/xml")):(e=new ActiveXObject("Microsoft.XMLDOM"),e.async="false",e.loadXML(t))}catch(t){e=s}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||a.error("Invalid XML: "+t),e},noop:function(){},globalEval:function(t){t&&f.test(t)&&(o.execScript||function(t){o.eval.call(o,t)})(t)},camelCase:function(t){return t.replace(S,"ms-").replace(k,T)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toUpperCase()===e.toUpperCase()},each:function(t,e,n){var i,r=0,o=t.length,l=o===s||a.isFunction(t);if(n)if(l){for(i in t)if(e.apply(t[i],n)===!1)break}else for(;r<o&&e.apply(t[r++],n)!==!1;);else if(l){for(i in t)if(e.call(t[i],i,t[i])===!1)break}else for(;r<o&&e.call(t[r],r,t[r++])!==!1;);return t},trim:E?function(t){return null==t?"":E.call(t)}:function(t){return null==t?"":(""+t).replace(h,"").replace(d,"")},makeArray:function(t,e){var n,i=e||[];return null!=t&&(n=a.type(t),null==t.length||"string"===n||"function"===n||"regexp"===n||a.isWindow(t)?P.call(i,t):a.merge(i,t)),i},inArray:function(t,e,n){var i;if(e){if(N)return N.call(e,t,n);for(i=e.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){var n,i=t.length,r=0;if("number"==typeof e.length)for(n=e.length;r<n;r++)t[i++]=e[r];else for(;e[r]!==s;)t[i++]=e[r++];return t.length=i,t},grep:function(t,e,n){var i,r,o,s=[];for(n=!!n,r=0,o=t.length;r<o;r++)i=!!e(t[r],r),n!==i&&s.push(t[r]);return s},map:function(t,e,n){var i,r,o=[],l=0,u=t.length,c=t instanceof a||u!==s&&"number"==typeof u&&(u>0&&t[0]&&t[u-1]||0===u||a.isArray(t));if(c)for(;l<u;l++)i=e(t[l],l,n),null!=i&&(o[o.length]=i);else for(r in t)i=e(t[r],r,n),null!=i&&(o[o.length]=i);return o.concat.apply([],o)},guid:1,proxy:function(t,e){var n,i,r;return"string"==typeof e&&(n=t[e],e=t,t=n),a.isFunction(t)?(i=O.call(arguments,2),r=function(){return t.apply(e,i.concat(O.call(arguments)))},r.guid=t.guid=t.guid||r.guid||a.guid++,r):s},access:function(t,e,n,i,r,o,l){var u,c=null==n,f=0,h=t.length;if(n&&"object"==typeof n){for(f in n)a.access(t,e,f,n[f],1,o,i);r=1}else if(i!==s){if(u=l===s&&a.isFunction(i),c&&(u?(u=e,e=function(t,e,n){return u.call(a(t),n)}):(e.call(t,i),e=null)),e)for(;f<h;f++)e(t[f],n,u?i.call(t[f],f,e(t[f],n)):i,l);r=1}return r?t:c?e.call(t):h?e(t[0],n):o},now:function(){return(new Date).getTime()},uaMatch:function(t){t=t.toLowerCase();var e=b.exec(t)||_.exec(t)||w.exec(t)||t.indexOf("compatible")<0&&x.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}},sub:function(){function t(e,n){return new t.fn.init(e,n)}a.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(n,i){return i&&i instanceof a&&!(i instanceof t)&&(i=t(i)),a.fn.init.call(this,n,i,e)},t.fn.init.prototype=t.fn;var e=t(Se);return t},browser:{}}),a.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(t,e){I["[object "+e+"]"]=e.toLowerCase()}),n=a.uaMatch(D),n.browser&&(a.browser[n.browser]=!0,a.browser.version=n.version),a.browser.webkit&&(a.browser.safari=!0),f.test(" ")&&(h=/^[\s\xA0]+/,d=/[\s\xA0]+$/),e=a(Se),Se.addEventListener?r=function(){Se.removeEventListener("DOMContentLoaded",r,!1),a.ready()}:Se.attachEvent&&(r=function(){"complete"===Se.readyState&&(Se.detachEvent("onreadystatechange",r),a.ready())}),a}(),Me={};Ce.Callbacks=function(t){t=t?Me[t]||a(t):{};var e,n,i,r,o,l,u=[],c=[],f=function(e){var n,i,r,o;for(n=0,i=e.length;n<i;n++)r=e[n],o=Ce.type(r),"array"===o?f(r):"function"===o&&(t.unique&&d.has(r)||u.push(r))},h=function(s,a){for(a=a||[],e=!t.memory||[s,a],n=!0,i=!0,l=r||0,r=0,o=u.length;u&&l<o;l++)if(u[l].apply(s,a)===!1&&t.stopOnFalse){e=!0;break}i=!1,u&&(t.once?e===!0?d.disable():u=[]:c&&c.length&&(e=c.shift(),d.fireWith(e[0],e[1])))},d={add:function(){if(u){var t=u.length;f(arguments),i?o=u.length:e&&e!==!0&&(r=t,h(e[0],e[1]))}return this},remove:function(){var e,n,r,s;if(u)for(e=arguments,n=0,r=e.length;n<r;n++)for(s=0;s<u.length&&(e[n]!==u[s]||(i&&s<=o&&(o--,s<=l&&l--),u.splice(s--,1),!t.unique));s++);return this},has:function(t){if(u)for(var e=0,n=u.length;e<n;e++)if(t===u[e])return!0;return!1},empty:function(){return u=[],this},disable:function(){return u=c=e=s,this},disabled:function(){return!u},lock:function(){return c=s,e&&e!==!0||d.disable(),this},locked:function(){return!c},fireWith:function(n,r){return c&&(i?t.once||c.push([n,r]):t.once&&e||h(n,r)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!n}};return d},F=[].slice,Ce.extend({Deferred:function(t){var e,n=Ce.Callbacks("once memory"),i=Ce.Callbacks("once memory"),r=Ce.Callbacks("memory"),o="pending",s={resolve:n,reject:i,notify:r},a={done:n.add,fail:i.add,progress:r.add,state:function(){return o},isResolved:n.fired,isRejected:i.fired,then:function(t,e,n){return l.done(t).fail(e).progress(n),this},always:function(){return l.done.apply(l,arguments).fail.apply(l,arguments),this},pipe:function(t,e,n){return Ce.Deferred(function(i){Ce.each({done:[t,"resolve"],fail:[e,"reject"],progress:[n,"notify"]},function(t,e){var n,r=e[0],o=e[1];Ce.isFunction(r)?l[t](function(){n=r.apply(this,arguments),n&&Ce.isFunction(n.promise)?n.promise().then(i.resolve,i.reject,i.notify):i[o+"With"](this===l?i:this,[n])}):l[t](i[o])})}).promise()},promise:function(t){if(null==t)t=a;else for(var e in a)t[e]=a[e];return t}},l=a.promise({});for(e in s)l[e]=s[e].fire,l[e+"With"]=s[e].fireWith;return l.done(function(){o="resolved"},i.disable,r.lock).fail(function(){o="rejected"},n.disable,r.lock),t&&t.call(l,l),l},when:function(t){function e(t){return function(e){i[t]=arguments.length>1?F.call(arguments,0):e,--a||l.resolveWith(l,i)}}function n(t){return function(e){s[t]=arguments.length>1?F.call(arguments,0):e,l.notifyWith(u,s)}}var i=F.call(arguments,0),r=0,o=i.length,s=Array(o),a=o,l=o<=1&&t&&Ce.isFunction(t.promise)?t:Ce.Deferred(),u=l.promise();if(o>1){for(;r<o;r++)i[r]&&i[r].promise&&Ce.isFunction(i[r].promise)?i[r].promise().then(e(r),l.reject,n(r)):--a;a||l.resolveWith(l,i)}else l!==t&&l.resolveWith(l,o?[t]:[]);return u}}),Ce.support=function(){var t,e,n,i,r,a,l,u,c,f,h,d=Se.createElement("div");Se.documentElement;if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",e=d.getElementsByTagName("*"),n=d.getElementsByTagName("a")[0],!e||!e.length||!n)return{};i=Se.createElement("select"),r=i.appendChild(Se.createElement("option")),a=d.getElementsByTagName("input")[0],t={leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.55/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:"on"===a.value,optSelected:r.selected,getSetAttribute:"t"!==d.className,enctype:!!Se.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==Se.createElement("nav").cloneNode(!0).outerHTML,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},Ce.boxModel=t.boxModel="CSS1Compat"===Se.compatMode,a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,i.disabled=!0,t.optDisabled=!r.disabled;try{delete d.test}catch(e){t.deleteExpando=!1}if(!d.addEventListener&&d.attachEvent&&d.fireEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).fireEvent("onclick")),a=Se.createElement("input"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","checked"),a.setAttribute("name","t"),d.appendChild(a),l=Se.createDocumentFragment(),l.appendChild(d.lastChild),t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=a.checked,l.removeChild(a),l.appendChild(d),d.attachEvent)for(f in{submit:1,change:1,focusin:1})c="on"+f,h=c in d,h||(d.setAttribute(c,"return;"),h="function"==typeof d[c]),t[f+"Bubbles"]=h;return l.removeChild(d),l=i=r=d=a=null,Ce(function(){var e,n,i,r,a,l,c,f,p,g,m,v,y=Se.getElementsByTagName("body")[0];y&&(c=1,v="padding:0;margin:0;border:",g="position:absolute;top:0;left:0;width:1px;height:1px;",m=v+"0;visibility:hidden;",f="style='"+g+v+"5px solid #000;",p="<div "+f+"display:block;'><div style='"+v+"0;display:block;overflow:hidden;'></div></div><table "+f+"' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>",e=Se.createElement("div"),e.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+c+"px",y.insertBefore(e,y.firstChild),d=Se.createElement("div"),e.appendChild(d),d.innerHTML="<table><tr><td style='"+v+"0;display:none'></td><td>t</td></tr></table>",u=d.getElementsByTagName("td"),h=0===u[0].offsetHeight,u[0].style.display="",u[1].style.display="none",t.reliableHiddenOffsets=h&&0===u[0].offsetHeight,o.getComputedStyle&&(d.innerHTML="",l=Se.createElement("div"),l.style.width="0",l.style.marginRight="0",d.style.width="2px",d.appendChild(l),t.reliableMarginRight=0===(parseInt((o.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)),s!==d.style.zoom&&(d.innerHTML="",d.style.width=d.style.padding="1px",d.style.border=0,d.style.overflow="hidden",d.style.display="inline",d.style.zoom=1,t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.style.overflow="visible",d.innerHTML="<div style='width:5px;'></div>",t.shrinkWrapBlocks=3!==d.offsetWidth),d.style.cssText=g+m,d.innerHTML=p,n=d.firstChild,i=n.firstChild,r=n.nextSibling.firstChild.firstChild,a={doesNotAddBorder:5!==i.offsetTop,doesAddBorderForTableAndCells:5===r.offsetTop},i.style.position="fixed",i.style.top="20px",a.fixedPosition=20===i.offsetTop||15===i.offsetTop,i.style.position=i.style.top="",n.style.overflow="hidden",n.style.position="relative",a.subtractsBorderForOverflowNotVisible=i.offsetTop===-5,a.doesNotIncludeMarginInBodyOffset=y.offsetTop!==c,o.getComputedStyle&&(d.style.marginTop="1%",t.pixelMargin="1%"!==(o.getComputedStyle(d,null)||{marginTop:0}).marginTop),s!==e.style.zoom&&(e.style.zoom=1),y.removeChild(e),l=d=e=null,Ce.extend(t,a))}),t}(),H=/^(?:\{.*\}|\[.*\])$/,z=/([A-Z])/g,Ce.extend({cache:{},uuid:0,expando:"jQuery"+(Ce.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(t){return t=t.nodeType?Ce.cache[t[Ce.expando]]:t[Ce.expando],!!t&&!u(t)},data:function(t,e,n,i){if(Ce.acceptData(t)){var r,o,a,l=Ce.expando,u="string"==typeof e,c=t.nodeType,f=c?Ce.cache:t,h=c?t[l]:t[l]&&l,d="events"===e;if(h&&f[h]&&(d||i||f[h].data)||!u||n!==s)return h||(c?t[l]=h=++Ce.uuid:h=l),f[h]||(f[h]={},c||(f[h].toJSON=Ce.noop)),"object"!=typeof e&&"function"!=typeof e||(i?f[h]=Ce.extend(f[h],e):f[h].data=Ce.extend(f[h].data,e)),r=o=f[h],i||(o.data||(o.data={}),o=o.data),n!==s&&(o[Ce.camelCase(e)]=n),d&&!o[e]?r.events:(u?(a=o[e],null==a&&(a=o[Ce.camelCase(e)])):a=o,a)}},removeData:function(t,e,n){if(Ce.acceptData(t)){var i,r,o,s=Ce.expando,a=t.nodeType,l=a?Ce.cache:t,c=a?t[s]:s;if(l[c]){if(e&&(i=n?l[c]:l[c].data)){Ce.isArray(e)||(e in i?e=[e]:(e=Ce.camelCase(e),e=e in i?[e]:e.split(" ")));for(r=0,o=e.length;r<o;r++)delete i[e[r]];if(!(n?u:Ce.isEmptyObject)(i))return}(n||(delete l[c].data,u(l[c])))&&(Ce.support.deleteExpando||!l.setInterval?delete l[c]:l[c]=null,a&&(Ce.support.deleteExpando?delete t[s]:t.removeAttribute?t.removeAttribute(s):t[s]=null))}}},_data:function(t,e,n){return Ce.data(t,e,n,!0)},acceptData:function(t){if(t.nodeName){var e=Ce.noData[t.nodeName.toLowerCase()];if(e)return!(e===!0||t.getAttribute("classid")!==e)}return!0}}),Ce.fn.extend({data:function(t,e){var n,i,r,o,a,u=this[0],c=0,f=null;if(t===s){if(this.length&&(f=Ce.data(u),1===u.nodeType&&!Ce._data(u,"parsedAttrs"))){for(r=u.attributes,a=r.length;c<a;c++)o=r[c].name,0===o.indexOf("data-")&&(o=Ce.camelCase(o.substring(5)),l(u,o,f[o]));Ce._data(u,"parsedAttrs",!0)}return f}return"object"==typeof t?this.each(function(){Ce.data(this,t)}):(n=t.split(".",2),n[1]=n[1]?"."+n[1]:"",i=n[1]+"!",Ce.access(this,function(e){return e===s?(f=this.triggerHandler("getData"+i,[n[0]]),f===s&&u&&(f=Ce.data(u,t),f=l(u,t,f)),f===s&&n[1]?this.data(n[0]):f):(n[1]=e,this.each(function(){var r=Ce(this);r.triggerHandler("setData"+i,n),Ce.data(this,t,e),r.triggerHandler("changeData"+i,n)}),s)},null,e,arguments.length>1,null,!1))},removeData:function(t){return this.each(function(){Ce.removeData(this,t)})}}),Ce.extend({_mark:function(t,e){t&&(e=(e||"fx")+"mark",Ce._data(t,e,(Ce._data(t,e)||0)+1))},_unmark:function(t,e,n){if(t!==!0&&(n=e,e=t,t=!1),e){n=n||"fx";var i=n+"mark",r=t?0:(Ce._data(e,i)||1)-1;r?Ce._data(e,i,r):(Ce.removeData(e,i,!0),c(e,n,"mark"))}},queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Ce._data(t,e),n&&(!i||Ce.isArray(n)?i=Ce._data(t,e,Ce.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=Ce.queue(t,e),i=n.shift(),r={};"inprogress"===i&&(i=n.shift()),i&&("fx"===e&&n.unshift("inprogress"),Ce._data(t,e+".run",r),i.call(t,function(){Ce.dequeue(t,e)},r)),n.length||(Ce.removeData(t,e+"queue "+e+".run",!0),c(t,e,"queue"))}}),Ce.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?Ce.queue(this[0],t):e===s?this:this.each(function(){var n=Ce.queue(this,t,e);"fx"===t&&"inprogress"!==n[0]&&Ce.dequeue(this,t)})},dequeue:function(t){return this.each(function(){Ce.dequeue(this,t)})},delay:function(t,e){return t=Ce.fx?Ce.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function n(){--l||r.resolveWith(o,[o])}"string"!=typeof t&&(e=t,t=s),t=t||"fx";for(var i,r=Ce.Deferred(),o=this,a=o.length,l=1,u=t+"defer",c=t+"queue",f=t+"mark";a--;)(i=Ce.data(o[a],u,s,!0)||(Ce.data(o[a],c,s,!0)||Ce.data(o[a],f,s,!0))&&Ce.data(o[a],u,Ce.Callbacks("once memory"),!0))&&(l++,i.add(n));return n(),r.promise(e)}}),Y=/[\n\t\r]/g,R=/\s+/,W=/\r/g,V=/^(?:button|input)$/i,B=/^(?:button|input|object|select|textarea)$/i,U=/^a(?:rea)?$/i,q=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,$=Ce.support.getSetAttribute,Ce.fn.extend({attr:function(t,e){return Ce.access(this,Ce.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){Ce.removeAttr(this,t)})},prop:function(t,e){return Ce.access(this,Ce.prop,t,e,arguments.length>1)},removeProp:function(t){return t=Ce.propFix[t]||t,this.each(function(){try{this[t]=s,delete this[t]}catch(t){}})},addClass:function(t){var e,n,i,r,o,s,a;if(Ce.isFunction(t))return this.each(function(e){Ce(this).addClass(t.call(this,e,this.className))});if(t&&"string"==typeof t)for(e=t.split(R),n=0,i=this.length;n<i;n++)if(r=this[n],1===r.nodeType)if(r.className||1!==e.length){for(o=" "+r.className+" ",s=0,a=e.length;s<a;s++)~o.indexOf(" "+e[s]+" ")||(o+=e[s]+" ");r.className=Ce.trim(o)}else r.className=t;return this},removeClass:function(t){var e,n,i,r,o,a,l;if(Ce.isFunction(t))return this.each(function(e){Ce(this).removeClass(t.call(this,e,this.className))});if(t&&"string"==typeof t||t===s)for(e=(t||"").split(R),n=0,i=this.length;n<i;n++)if(r=this[n],1===r.nodeType&&r.className)if(t){for(o=(" "+r.className+" ").replace(Y," "),a=0,l=e.length;a<l;a++)o=o.replace(" "+e[a]+" "," ");r.className=Ce.trim(o)}else r.className="";return this},toggleClass:function(t,e){var n=typeof t,i="boolean"==typeof e;return Ce.isFunction(t)?this.each(function(n){Ce(this).toggleClass(t.call(this,n,this.className,e),e)}):this.each(function(){if("string"===n)for(var r,o=0,s=Ce(this),a=e,l=t.split(R);r=l[o++];)a=i?a:!s.hasClass(r),s[a?"addClass":"removeClass"](r);else"undefined"!==n&&"boolean"!==n||(this.className&&Ce._data(this,"__className__",this.className),this.className=this.className||t===!1?"":Ce._data(this,"__className__")||"");
|
||
})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;n<i;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Y," ").indexOf(e)>-1)return!0;return!1},val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=Ce.isFunction(t),this.each(function(n){var r,o=Ce(this);1===this.nodeType&&(r=i?t.call(this,n,o.val()):t,null==r?r="":"number"==typeof r?r+="":Ce.isArray(r)&&(r=Ce.map(r,function(t){return null==t?"":t+""})),e=Ce.valHooks[this.type]||Ce.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&e.set(this,r,"value")!==s||(this.value=r))});if(r)return e=Ce.valHooks[r.type]||Ce.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&(n=e.get(r,"value"))!==s?n:(n=r.value,"string"==typeof n?n.replace(W,""):null==n?"":n)}}}),Ce.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){var e,n,i,r,o=t.selectedIndex,s=[],a=t.options,l="select-one"===t.type;if(o<0)return null;for(n=l?o:0,i=l?o+1:a.length;n<i;n++)if(r=a[n],r.selected&&(Ce.support.optDisabled?!r.disabled:null===r.getAttribute("disabled"))&&(!r.parentNode.disabled||!Ce.nodeName(r.parentNode,"optgroup"))){if(e=Ce(r).val(),l)return e;s.push(e)}return l&&!s.length&&a.length?Ce(a[o]).val():s},set:function(t,e){var n=Ce.makeArray(e);return Ce(t).find("option").each(function(){this.selected=Ce.inArray(Ce(this).val(),n)>=0}),n.length||(t.selectedIndex=-1),n}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(t,e,n,i){var r,o,a,l=t.nodeType;if(t&&3!==l&&8!==l&&2!==l)return i&&e in Ce.attrFn?Ce(t)[e](n):s===t.getAttribute?Ce.prop(t,e,n):(a=1!==l||!Ce.isXMLDoc(t),a&&(e=e.toLowerCase(),o=Ce.attrHooks[e]||(q.test(e)?X:G)),n!==s?null===n?(Ce.removeAttr(t,e),s):o&&"set"in o&&a&&(r=o.set(t,n,e))!==s?r:(t.setAttribute(e,""+n),n):o&&"get"in o&&a&&null!==(r=o.get(t,e))?r:(r=t.getAttribute(e),null===r?s:r))},removeAttr:function(t,e){var n,i,r,o,s,a=0;if(e&&1===t.nodeType)for(i=e.toLowerCase().split(R),o=i.length;a<o;a++)r=i[a],r&&(n=Ce.propFix[r]||r,s=q.test(r),s||Ce.attr(t,r,""),t.removeAttribute($?r:n),s&&n in t&&(t[n]=!1))},attrHooks:{type:{set:function(t,e){if(V.test(t.nodeName)&&t.parentNode)Ce.error("type property can't be changed");else if(!Ce.support.radioValue&&"radio"===e&&Ce.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}},value:{get:function(t,e){return G&&Ce.nodeName(t,"button")?G.get(t,e):e in t?t.value:null},set:function(t,e,n){return G&&Ce.nodeName(t,"button")?G.set(t,e,n):(t.value=e,s)}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(t,e,n){var i,r,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return o=1!==a||!Ce.isXMLDoc(t),o&&(e=Ce.propFix[e]||e,r=Ce.propHooks[e]),n!==s?r&&"set"in r&&(i=r.set(t,n,e))!==s?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=t.getAttributeNode("tabindex");return e&&e.specified?parseInt(e.value,10):B.test(t.nodeName)||U.test(t.nodeName)&&t.href?0:s}}}}),Ce.attrHooks.tabindex=Ce.propHooks.tabIndex,X={get:function(t,e){var n,i=Ce.prop(t,e);return i===!0||"boolean"!=typeof i&&(n=t.getAttributeNode(e))&&n.nodeValue!==!1?e.toLowerCase():s},set:function(t,e,n){var i;return e===!1?Ce.removeAttr(t,n):(i=Ce.propFix[n]||n,i in t&&(t[i]=!0),t.setAttribute(n,n.toLowerCase())),n}},$||(K={name:!0,id:!0,coords:!0},G=Ce.valHooks.button={get:function(t,e){var n;return n=t.getAttributeNode(e),n&&(K[e]?""!==n.nodeValue:n.specified)?n.nodeValue:s},set:function(t,e,n){var i=t.getAttributeNode(n);return i||(i=Se.createAttribute(n),t.setAttributeNode(i)),i.nodeValue=e+""}},Ce.attrHooks.tabindex.set=G.set,Ce.each(["width","height"],function(t,e){Ce.attrHooks[e]=Ce.extend(Ce.attrHooks[e],{set:function(t,n){if(""===n)return t.setAttribute(e,"auto"),n}})}),Ce.attrHooks.contenteditable={get:G.get,set:function(t,e,n){""===e&&(e="false"),G.set(t,e,n)}}),Ce.support.hrefNormalized||Ce.each(["href","src","width","height"],function(t,e){Ce.attrHooks[e]=Ce.extend(Ce.attrHooks[e],{get:function(t){var n=t.getAttribute(e,2);return null===n?s:n}})}),Ce.support.style||(Ce.attrHooks.style={get:function(t){return t.style.cssText.toLowerCase()||s},set:function(t,e){return t.style.cssText=""+e}}),Ce.support.optSelected||(Ce.propHooks.selected=Ce.extend(Ce.propHooks.selected,{get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}})),Ce.support.enctype||(Ce.propFix.enctype="encoding"),Ce.support.checkOn||Ce.each(["radio","checkbox"],function(){Ce.valHooks[this]={get:function(t){return null===t.getAttribute("value")?"on":t.value}}}),Ce.each(["radio","checkbox"],function(){Ce.valHooks[this]=Ce.extend(Ce.valHooks[this],{set:function(t,e){if(Ce.isArray(e))return t.checked=Ce.inArray(Ce(t).val(),e)>=0}})}),Q=/^(?:textarea|input|select)$/i,Z=/^([^\.]*)?(?:\.(.+))?$/,J=/(?:^|\s)hover(\.\S+)?\b/,tt=/^key/,et=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,it=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,rt=function(t){var e=it.exec(t);return e&&(e[1]=(e[1]||"").toLowerCase(),e[3]=e[3]&&RegExp("(?:^|\\s)"+e[3]+"(?:\\s|$)")),e},ot=function(t,e){var n=t.attributes||{};return(!e[1]||t.nodeName.toLowerCase()===e[1])&&(!e[2]||(n.id||{}).value===e[2])&&(!e[3]||e[3].test((n.class||{}).value))},st=function(t){return Ce.event.special.hover?t:t.replace(J,"mouseenter$1 mouseleave$1")},Ce.event={add:function(t,e,n,i,r){var o,a,l,u,c,f,h,d,p,g,m;if(3!==t.nodeType&&8!==t.nodeType&&e&&n&&(o=Ce._data(t))){for(n.handler&&(p=n,n=p.handler,r=p.selector),n.guid||(n.guid=Ce.guid++),l=o.events,l||(o.events=l={}),a=o.handle,a||(o.handle=a=function(t){return s===Ce||t&&Ce.event.triggered===t.type?s:Ce.event.dispatch.apply(a.elem,arguments)},a.elem=t),e=Ce.trim(st(e)).split(" "),u=0;u<e.length;u++)c=Z.exec(e[u])||[],f=c[1],h=(c[2]||"").split(".").sort(),m=Ce.event.special[f]||{},f=(r?m.delegateType:m.bindType)||f,m=Ce.event.special[f]||{},d=Ce.extend({type:f,origType:c[1],data:i,handler:n,guid:n.guid,selector:r,quick:r&&rt(r),namespace:h.join(".")},p),g=l[f],g||(g=l[f]=[],g.delegateCount=0,m.setup&&m.setup.call(t,i,h,a)!==!1||(t.addEventListener?t.addEventListener(f,a,!1):t.attachEvent&&t.attachEvent("on"+f,a))),m.add&&(m.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),r?g.splice(g.delegateCount++,0,d):g.push(d),Ce.event.global[f]=!0;t=null}},global:{},remove:function(t,e,n,i,r){var o,s,a,l,u,c,f,h,d,p,g,m,v=Ce.hasData(t)&&Ce._data(t);if(v&&(h=v.events)){for(e=Ce.trim(st(e||"")).split(" "),o=0;o<e.length;o++)if(s=Z.exec(e[o])||[],a=l=s[1],u=s[2],a){for(d=Ce.event.special[a]||{},a=(i?d.delegateType:d.bindType)||a,g=h[a]||[],c=g.length,u=u?RegExp("(^|\\.)"+u.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null,f=0;f<g.length;f++)m=g[f],!r&&l!==m.origType||n&&n.guid!==m.guid||u&&!u.test(m.namespace)||i&&i!==m.selector&&("**"!==i||!m.selector)||(g.splice(f--,1),m.selector&&g.delegateCount--,d.remove&&d.remove.call(t,m));0===g.length&&c!==g.length&&(d.teardown&&d.teardown.call(t,u)!==!1||Ce.removeEvent(t,a,v.handle),delete h[a])}else for(a in h)Ce.event.remove(t,a+e[o],n,i,!0);Ce.isEmptyObject(h)&&(p=v.handle,p&&(p.elem=null),Ce.removeData(t,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(t,e,n,i){if(!n||3!==n.nodeType&&8!==n.nodeType){var r,a,l,u,c,f,h,d,p,g,m=t.type||t,v=[];if(!nt.test(m+Ce.event.triggered)&&(m.indexOf("!")>=0&&(m=m.slice(0,-1),a=!0),m.indexOf(".")>=0&&(v=m.split("."),m=v.shift(),v.sort()),n&&!Ce.event.customEvent[m]||Ce.event.global[m]))if(t="object"==typeof t?t[Ce.expando]?t:new Ce.Event(m,t):new Ce.Event(m),t.type=m,t.isTrigger=!0,t.exclusive=a,t.namespace=v.join("."),t.namespace_re=t.namespace?RegExp("(^|\\.)"+v.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,f=m.indexOf(":")<0?"on"+m:"",n){if(t.result=s,t.target||(t.target=n),e=null!=e?Ce.makeArray(e):[],e.unshift(t),h=Ce.event.special[m]||{},!h.trigger||h.trigger.apply(n,e)!==!1){if(p=[[n,h.bindType||m]],!i&&!h.noBubble&&!Ce.isWindow(n)){for(g=h.delegateType||m,u=nt.test(g+m)?n:n.parentNode,c=null;u;u=u.parentNode)p.push([u,g]),c=u;c&&c===n.ownerDocument&&p.push([c.defaultView||c.parentWindow||o,g])}for(l=0;l<p.length&&!t.isPropagationStopped();l++)u=p[l][0],t.type=p[l][1],d=(Ce._data(u,"events")||{})[t.type]&&Ce._data(u,"handle"),d&&d.apply(u,e),d=f&&u[f],d&&Ce.acceptData(u)&&d.apply(u,e)===!1&&t.preventDefault();return t.type=m,i||t.isDefaultPrevented()||h._default&&h._default.apply(n.ownerDocument,e)!==!1||"click"===m&&Ce.nodeName(n,"a")||!Ce.acceptData(n)||f&&n[m]&&("focus"!==m&&"blur"!==m||0!==t.target.offsetWidth)&&!Ce.isWindow(n)&&(c=n[f],c&&(n[f]=null),Ce.event.triggered=m,n[m](),Ce.event.triggered=s,c&&(n[f]=c)),t.result}}else{r=Ce.cache;for(l in r)r[l].events&&r[l].events[m]&&Ce.event.trigger(t,e,r[l].handle.elem,!0)}}},dispatch:function(t){t=Ce.event.fix(t||o.event);var e,n,i,r,a,l,u,c,f,h,d=(Ce._data(this,"events")||{})[t.type]||[],p=d.delegateCount,g=[].slice.call(arguments,0),m=!t.exclusive&&!t.namespace,v=Ce.event.special[t.type]||{},y=[];if(g[0]=t,t.delegateTarget=this,!v.preDispatch||v.preDispatch.call(this,t)!==!1){if(p&&(!t.button||"click"!==t.type))for(r=Ce(this),r.context=this.ownerDocument||this,i=t.target;i!=this;i=i.parentNode||this)if(i.disabled!==!0){for(l={},c=[],r[0]=i,e=0;e<p;e++)f=d[e],h=f.selector,l[h]===s&&(l[h]=f.quick?ot(i,f.quick):r.is(h)),l[h]&&c.push(f);c.length&&y.push({elem:i,matches:c})}for(d.length>p&&y.push({elem:this,matches:d.slice(p)}),e=0;e<y.length&&!t.isPropagationStopped();e++)for(u=y[e],t.currentTarget=u.elem,n=0;n<u.matches.length&&!t.isImmediatePropagationStopped();n++)f=u.matches[n],(m||!t.namespace&&!f.namespace||t.namespace_re&&t.namespace_re.test(f.namespace))&&(t.data=f.data,t.handleObj=f,a=((Ce.event.special[f.origType]||{}).handle||f.handler).apply(u.elem,g),a!==s&&(t.result=a,a===!1&&(t.preventDefault(),t.stopPropagation())));return v.postDispatch&&v.postDispatch.call(this,t),t.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||Se,i=n.documentElement,r=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||o===s||(t.which=1&o?1:2&o?3:4&o?2:0),t}},fix:function(t){if(t[Ce.expando])return t;var e,n,i=t,r=Ce.event.fixHooks[t.type]||{},o=r.props?this.props.concat(r.props):this.props;for(t=Ce.Event(i),e=o.length;e;)n=o[--e],t[n]=i[n];return t.target||(t.target=i.srcElement||Se),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey===s&&(t.metaKey=t.ctrlKey),r.filter?r.filter(t,i):t},special:{ready:{setup:Ce.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(t,e,n){Ce.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(t,e){this.onbeforeunload===e&&(this.onbeforeunload=null)}}},simulate:function(t,e,n,i){var r=Ce.extend(new Ce.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?Ce.event.trigger(r,null,e):Ce.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefault()}},Ce.event.handle=Ce.event.dispatch,Ce.removeEvent=Se.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){t.detachEvent&&t.detachEvent("on"+e,n)},Ce.Event=function(t,e){return this instanceof Ce.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||t.returnValue===!1||t.getPreventDefault&&t.getPreventDefault()?h:f):this.type=t,e&&Ce.extend(this,e),this.timeStamp=t&&t.timeStamp||Ce.now(),this[Ce.expando]=!0,s):new Ce.Event(t,e)},Ce.Event.prototype={preventDefault:function(){this.isDefaultPrevented=h;var t=this.originalEvent;t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=h;var t=this.originalEvent;t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=h,this.stopPropagation()},isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f},Ce.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,e){Ce.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;o.selector;return r&&(r===i||Ce.contains(i,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),Ce.support.submitBubbles||(Ce.event.special.submit={setup:function(){return!Ce.nodeName(this,"form")&&(Ce.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=Ce.nodeName(e,"input")||Ce.nodeName(e,"button")?e.form:s;n&&!n._submit_attached&&(Ce.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),n._submit_attached=!0)}),s)},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&Ce.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!Ce.nodeName(this,"form")&&(Ce.event.remove(this,"._submit"),s)}}),Ce.support.changeBubbles||(Ce.event.special.change={setup:function(){return Q.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(Ce.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),Ce.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1,Ce.event.simulate("change",this,t,!0))})),!1):(Ce.event.add(this,"beforeactivate._change",function(t){var e=t.target;Q.test(e.nodeName)&&!e._change_attached&&(Ce.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||Ce.event.simulate("change",this.parentNode,t,!0)}),e._change_attached=!0)}),s)},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return Ce.event.remove(this,"._change"),Q.test(this.nodeName)}}),Ce.support.focusinBubbles||Ce.each({focus:"focusin",blur:"focusout"},function(t,e){var n=0,i=function(t){Ce.event.simulate(e,t.target,Ce.event.fix(t),!0)};Ce.event.special[e]={setup:function(){0===n++&&Se.addEventListener(t,i,!0)},teardown:function(){0===--n&&Se.removeEventListener(t,i,!0)}}}),Ce.fn.extend({on:function(t,e,n,i,r){var o,a;if("object"==typeof t){"string"!=typeof e&&(n=n||e,e=s);for(a in t)this.on(a,e,n,t[a],r);return this}if(null==n&&null==i?(i=e,n=e=s):null==i&&("string"==typeof e?(i=n,n=s):(i=n,n=e,e=s)),i===!1)i=f;else if(!i)return this;return 1===r&&(o=i,i=function(t){return Ce().off(t),o.apply(this,arguments)},i.guid=o.guid||(o.guid=Ce.guid++)),this.each(function(){Ce.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,Ce(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return e!==!1&&"function"!=typeof e||(n=e,e=s),n===!1&&(n=f),this.each(function(){Ce.event.remove(this,t,n,e)})},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},live:function(t,e,n){return Ce(this.context).on(t,this.selector,e,n),this},die:function(t,e){return Ce(this.context).off(t,this.selector||"**",e),this},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1==arguments.length?this.off(t,"**"):this.off(e,t,n)},trigger:function(t,e){return this.each(function(){Ce.event.trigger(t,e,this)})},triggerHandler:function(t,e){if(this[0])return Ce.event.trigger(t,e,this[0],!0)},toggle:function(t){var e=arguments,n=t.guid||Ce.guid++,i=0,r=function(n){var r=(Ce._data(this,"lastToggle"+t.guid)||0)%i;return Ce._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),e[r].apply(this,arguments)||!1};for(r.guid=n;i<e.length;)e[i++].guid=n;return this.click(r)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),Ce.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){Ce.fn[e]=function(t,n){return null==n&&(n=t,t=null),arguments.length>0?this.on(e,null,t,n):this.trigger(e)},Ce.attrFn&&(Ce.attrFn[e]=!0),tt.test(e)&&(Ce.event.fixHooks[e]=Ce.event.keyHooks),et.test(e)&&(Ce.event.fixHooks[e]=Ce.event.mouseHooks)}),function(){function t(t,e,n,i,r,o){var s,a,l,u;for(s=0,a=i.length;s<a;s++)if(l=i[s]){for(u=!1,l=l[t];l;){if(l[p]===n){u=i[l.sizset];break}if(1!==l.nodeType||o||(l[p]=n,l.sizset=s),l.nodeName.toLowerCase()===e){u=l;break}l=l[t]}i[s]=u}}function e(t,e,i,r,o,s){var a,l,u,c;for(a=0,l=r.length;a<l;a++)if(u=r[a]){for(c=!1,u=u[t];u;){if(u[p]===i){c=r[u.sizset];break}if(1===u.nodeType)if(s||(u[p]=i,u.sizset=a),"string"!=typeof e){if(u===e){c=!0;break}}else if(n.filter(e,[u]).length>0){c=u;break}u=u[t]}r[a]=c}}var n,i,r,o,a,l,u,c,f,h,d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,p="sizcache"+(Math.random()+"").replace(".",""),g=0,m=Object.prototype.toString,v=!1,y=!0,b=/\\/g,_=/\r\n/g,w=/\W/;[0,0].sort(function(){return y=!1,0}),n=function(t,e,i,s){var a,l,c,f,p,g,v,y,b,_,w,x,k;if(i=i||[],e=e||Se,a=e,1!==e.nodeType&&9!==e.nodeType)return[];if(!t||"string"!=typeof t)return i;_=!0,w=n.isXML(e),x=[],k=t;do if(d.exec(""),l=d.exec(k),l&&(k=l[3],x.push(l[1]),l[2])){p=l[3];break}while(l);if(x.length>1&&o.exec(t))if(2===x.length&&r.relative[x[0]])c=h(x[0]+x[1],e,s);else for(c=r.relative[x[0]]?[e]:n(x.shift(),e);x.length;)t=x.shift(),r.relative[t]&&(t+=x.shift()),c=h(t,c,s);else if(!s&&x.length>1&&9===e.nodeType&&!w&&r.match.ID.test(x[0])&&!r.match.ID.test(x[x.length-1])&&(g=n.find(x.shift(),e,w),e=g.expr?n.filter(g.expr,g.set)[0]:g.set[0]),e)for(g=s?{expr:x.pop(),set:u(s)}:n.find(x.pop(),1!==x.length||"~"!==x[0]&&"+"!==x[0]||!e.parentNode?e:e.parentNode,w),c=g.expr?n.filter(g.expr,g.set):g.set,x.length>0?f=u(c):_=!1;x.length;)v=x.pop(),y=v,r.relative[v]?y=x.pop():v="",null==y&&(y=e),r.relative[v](f,y,w);else f=x=[];if(f||(f=c),f||n.error(v||t),"[object Array]"===m.call(f))if(_)if(e&&1===e.nodeType)for(b=0;null!=f[b];b++)f[b]&&(f[b]===!0||1===f[b].nodeType&&n.contains(e,f[b]))&&i.push(c[b]);else for(b=0;null!=f[b];b++)f[b]&&1===f[b].nodeType&&i.push(c[b]);else i.push.apply(i,f);else u(f,i);return p&&(n(p,a,i,s),n.uniqueSort(i)),i},n.uniqueSort=function(t){if(c&&(v=y,t.sort(c),v))for(var e=1;e<t.length;e++)t[e]===t[e-1]&&t.splice(e--,1);return t},n.matches=function(t,e){return n(t,null,null,e)},n.matchesSelector=function(t,e){return n(e,null,null,[t]).length>0},n.find=function(t,e,n){var i,o,a,l,u,c;if(!t)return[];for(o=0,a=r.order.length;o<a;o++)if(u=r.order[o],(l=r.leftMatch[u].exec(t))&&(c=l[1],l.splice(1,1),"\\"!==c.substr(c.length-1)&&(l[1]=(l[1]||"").replace(b,""),i=r.find[u](l,e,n),null!=i))){t=t.replace(r.match[u],"");break}return i||(i=s!==e.getElementsByTagName?e.getElementsByTagName("*"):[]),{set:i,expr:t}},n.filter=function(t,e,i,o){for(var a,l,u,c,f,h,d,p,g,m=t,v=[],y=e,b=e&&e[0]&&n.isXML(e[0]);t&&e.length;){for(u in r.filter)if(null!=(a=r.leftMatch[u].exec(t))&&a[2]){if(h=r.filter[u],d=a[1],l=!1,a.splice(1,1),"\\"===d.substr(d.length-1))continue;if(y===v&&(v=[]),r.preFilter[u])if(a=r.preFilter[u](a,y,i,v,o,b)){if(a===!0)continue}else l=c=!0;if(a)for(p=0;null!=(f=y[p]);p++)f&&(c=h(f,a,p,y),g=o^c,i&&null!=c?g?l=!0:y[p]=!1:g&&(v.push(f),l=!0));if(c!==s){if(i||(y=v),t=t.replace(r.match[u],""),!l)return[];break}}if(t===m){if(null!=l)break;n.error(t)}m=t}return y},n.error=function(t){throw Error("Syntax error, unrecognized expression: "+t)},i=n.getText=function(t){var e,n,r=t.nodeType,o="";if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;if("string"==typeof t.innerText)return t.innerText.replace(_,"");for(t=t.firstChild;t;t=t.nextSibling)o+=i(t)}else if(3===r||4===r)return t.nodeValue}else for(e=0;n=t[e];e++)8!==n.nodeType&&(o+=i(n));return o},r=n.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{class:"className",for:"htmlFor"},attrHandle:{href:function(t){return t.getAttribute("href")},type:function(t){return t.getAttribute("type")}},relative:{"+":function(t,e){var i,r,o,s="string"==typeof e,a=s&&!w.test(e),l=s&&!a;for(a&&(e=e.toLowerCase()),i=0,r=t.length;i<r;i++)if(o=t[i]){for(;(o=o.previousSibling)&&1!==o.nodeType;);t[i]=l||o&&o.nodeName.toLowerCase()===e?o||!1:o===e}l&&n.filter(e,t,!0)},">":function(t,e){var i,r,o="string"==typeof e,s=0,a=t.length;if(o&&!w.test(e))for(e=e.toLowerCase();s<a;s++)i=t[s],i&&(r=i.parentNode,t[s]=r.nodeName.toLowerCase()===e&&r);else{for(;s<a;s++)i=t[s],i&&(t[s]=o?i.parentNode:i.parentNode===e);o&&n.filter(e,t,!0)}},"":function(n,i,r){var o,s=g++,a=e;"string"!=typeof i||w.test(i)||(i=i.toLowerCase(),o=i,a=t),a("parentNode",i,s,n,o,r)},"~":function(n,i,r){var o,s=g++,a=e;"string"!=typeof i||w.test(i)||(i=i.toLowerCase(),o=i,a=t),a("previousSibling",i,s,n,o,r)}},find:{ID:function(t,e,n){if(s!==e.getElementById&&!n){var i=e.getElementById(t[1]);return i&&i.parentNode?[i]:[]}},NAME:function(t,e){var n,i,r,o;if(s!==e.getElementsByName){for(n=[],i=e.getElementsByName(t[1]),r=0,o=i.length;r<o;r++)i[r].getAttribute("name")===t[1]&&n.push(i[r]);return 0===n.length?null:n}},TAG:function(t,e){if(s!==e.getElementsByTagName)return e.getElementsByTagName(t[1])}},preFilter:{CLASS:function(t,e,n,i,r,o){if(t=" "+t[1].replace(b,"")+" ",o)return t;for(var s,a=0;null!=(s=e[a]);a++)s&&(r^(s.className&&(" "+s.className+" ").replace(/[\t\n\r]/g," ").indexOf(t)>=0)?n||i.push(s):n&&(e[a]=!1));return!1},ID:function(t){return t[1].replace(b,"")},TAG:function(t,e){return t[1].replace(b,"").toLowerCase()},CHILD:function(t){if("nth"===t[1]){t[2]||n.error(t[0]),t[2]=t[2].replace(/^\+|\s*/g,"");var e=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec("even"===t[2]&&"2n"||"odd"===t[2]&&"2n+1"||!/\D/.test(t[2])&&"0n+"+t[2]||t[2]);t[2]=e[1]+(e[2]||1)-0,t[3]=e[3]-0}else t[2]&&n.error(t[0]);return t[0]=g++,t},ATTR:function(t,e,n,i,o,s){var a=t[1]=t[1].replace(b,"");return!s&&r.attrMap[a]&&(t[1]=r.attrMap[a]),t[4]=(t[4]||t[5]||"").replace(b,""),"~="===t[2]&&(t[4]=" "+t[4]+" "),t},PSEUDO:function(t,e,i,o,s){if("not"===t[1]){if(!((d.exec(t[3])||"").length>1||/^\w/.test(t[3]))){var a=n.filter(t[3],e,i,!0^s);return i||o.push.apply(o,a),!1}t[3]=n(t[3],null,null,e)}else if(r.match.POS.test(t[0])||r.match.CHILD.test(t[0]))return!0;return t},POS:function(t){return t.unshift(!0),t}},filters:{enabled:function(t){return t.disabled===!1&&"hidden"!==t.type},disabled:function(t){return t.disabled===!0},checked:function(t){return t.checked===!0},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},parent:function(t){return!!t.firstChild},empty:function(t){return!t.firstChild},has:function(t,e,i){return!!n(i[3],t).length},header:function(t){return/h\d/i.test(t.nodeName)},text:function(t){var e=t.getAttribute("type"),n=t.type;return"input"===t.nodeName.toLowerCase()&&"text"===n&&(e===n||null===e)},radio:function(t){return"input"===t.nodeName.toLowerCase()&&"radio"===t.type},checkbox:function(t){return"input"===t.nodeName.toLowerCase()&&"checkbox"===t.type},file:function(t){return"input"===t.nodeName.toLowerCase()&&"file"===t.type},password:function(t){return"input"===t.nodeName.toLowerCase()&&"password"===t.type},submit:function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&"submit"===t.type},image:function(t){return"input"===t.nodeName.toLowerCase()&&"image"===t.type},reset:function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&"reset"===t.type},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},input:function(t){return/input|select|textarea|button/i.test(t.nodeName)},focus:function(t){return t===t.ownerDocument.activeElement}},setFilters:{first:function(t,e){return 0===e},last:function(t,e,n,i){return e===i.length-1},even:function(t,e){return e%2===0},odd:function(t,e){return e%2===1},lt:function(t,e,n){return e<n[3]-0},gt:function(t,e,n){return e>n[3]-0},nth:function(t,e,n){return n[3]-0===e},eq:function(t,e,n){return n[3]-0===e}},filter:{PSEUDO:function(t,e,o,s){var a,l,u,c=e[1],f=r.filters[c];if(f)return f(t,o,e,s);if("contains"===c)return(t.textContent||t.innerText||i([t])||"").indexOf(e[3])>=0;if("not"===c){for(a=e[3],l=0,u=a.length;l<u;l++)if(a[l]===t)return!1;return!0}n.error(c)},CHILD:function(t,e){var n,i,r,o,s,a,l=e[1],u=t;switch(l){case"only":case"first":for(;u=u.previousSibling;)if(1===u.nodeType)return!1;if("first"===l)return!0;u=t;case"last":for(;u=u.nextSibling;)if(1===u.nodeType)return!1;return!0;case"nth":if(n=e[2],i=e[3],1===n&&0===i)return!0;if(r=e[0],o=t.parentNode,o&&(o[p]!==r||!t.nodeIndex)){for(s=0,u=o.firstChild;u;u=u.nextSibling)1===u.nodeType&&(u.nodeIndex=++s);o[p]=r}return a=t.nodeIndex-i,0===n?0===a:a%n===0&&a/n>=0}},ID:function(t,e){return 1===t.nodeType&&t.getAttribute("id")===e},TAG:function(t,e){return"*"===e&&1===t.nodeType||!!t.nodeName&&t.nodeName.toLowerCase()===e},CLASS:function(t,e){return(" "+(t.className||t.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(t,e){var i=e[1],o=n.attr?n.attr(t,i):r.attrHandle[i]?r.attrHandle[i](t):null!=t[i]?t[i]:t.getAttribute(i),s=o+"",a=e[2],l=e[4];return null==o?"!="===a:!a&&n.attr?null!=o:"="===a?s===l:"*="===a?s.indexOf(l)>=0:"~="===a?(" "+s+" ").indexOf(l)>=0:l?"!="===a?s!==l:"^="===a?0===s.indexOf(l):"$="===a?s.substr(s.length-l.length)===l:"|="===a&&(s===l||s.substr(0,l.length+1)===l+"-"):s&&o!==!1},POS:function(t,e,n,i){var o=e[2],s=r.setFilters[o];if(s)return s(t,n,e,i)}}},o=r.match.POS,a=function(t,e){return"\\"+(e-0+1)};for(l in r.match)r.match[l]=RegExp(r.match[l].source+/(?![^\[]*\])(?![^\(]*\))/.source),r.leftMatch[l]=RegExp(/(^(?:.|\r|\n)*?)/.source+r.match[l].source.replace(/\\(\d+)/g,a));r.match.globalPOS=o,u=function(t,e){return t=Array.prototype.slice.call(t,0),e?(e.push.apply(e,t),e):t};try{Array.prototype.slice.call(Se.documentElement.childNodes,0)[0].nodeType}catch(t){u=function(t,e){var n,i=0,r=e||[];if("[object Array]"===m.call(t))Array.prototype.push.apply(r,t);else if("number"==typeof t.length)for(n=t.length;i<n;i++)r.push(t[i]);else for(;t[i];i++)r.push(t[i]);return r}}Se.documentElement.compareDocumentPosition?c=function(t,e){return t===e?(v=!0,0):t.compareDocumentPosition&&e.compareDocumentPosition?4&t.compareDocumentPosition(e)?-1:1:t.compareDocumentPosition?-1:1}:(c=function(t,e){var n,i,r,o,s,a,l,u;if(t===e)return v=!0,0;if(t.sourceIndex&&e.sourceIndex)return t.sourceIndex-e.sourceIndex;if(r=[],o=[],s=t.parentNode,a=e.parentNode,l=s,s===a)return f(t,e);if(!s)return-1;if(!a)return 1;for(;l;)r.unshift(l),l=l.parentNode;for(l=a;l;)o.unshift(l),l=l.parentNode;for(n=r.length,i=o.length,u=0;u<n&&u<i;u++)if(r[u]!==o[u])return f(r[u],o[u]);return u===n?f(t,o[u],-1):f(r[u],e,1)},f=function(t,e,n){if(t===e)return n;for(var i=t.nextSibling;i;){if(i===e)return-1;i=i.nextSibling}return 1}),function(){var t=Se.createElement("div"),e="script"+(new Date).getTime(),n=Se.documentElement;t.innerHTML="<a name='"+e+"'/>",n.insertBefore(t,n.firstChild),Se.getElementById(e)&&(r.find.ID=function(t,e,n){if(s!==e.getElementById&&!n){var i=e.getElementById(t[1]);return i?i.id===t[1]||s!==i.getAttributeNode&&i.getAttributeNode("id").nodeValue===t[1]?[i]:s:[]}},r.filter.ID=function(t,e){var n=s!==t.getAttributeNode&&t.getAttributeNode("id");return 1===t.nodeType&&n&&n.nodeValue===e}),n.removeChild(t),n=t=null}(),function(){var t=Se.createElement("div");t.appendChild(Se.createComment("")),t.getElementsByTagName("*").length>0&&(r.find.TAG=function(t,e){var n,i,r=e.getElementsByTagName(t[1]);if("*"===t[1]){for(n=[],i=0;r[i];i++)1===r[i].nodeType&&n.push(r[i]);r=n}return r}),t.innerHTML="<a href='#'></a>",t.firstChild&&s!==t.firstChild.getAttribute&&"#"!==t.firstChild.getAttribute("href")&&(r.attrHandle.href=function(t){return t.getAttribute("href",2)}),t=null}(),Se.querySelectorAll&&!function(){var t,e=n,i=Se.createElement("div"),o="__sizzle__";if(i.innerHTML="<p class='TEST'></p>",!i.querySelectorAll||0!==i.querySelectorAll(".TEST").length){n=function(t,i,s,a){var l,c,f,h,d,p,g;if(i=i||Se,!a&&!n.isXML(i)){if(l=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(t),l&&(1===i.nodeType||9===i.nodeType)){if(l[1])return u(i.getElementsByTagName(t),s);if(l[2]&&r.find.CLASS&&i.getElementsByClassName)return u(i.getElementsByClassName(l[2]),s)}if(9===i.nodeType){if("body"===t&&i.body)return u([i.body],s);if(l&&l[3]){if(c=i.getElementById(l[3]),!c||!c.parentNode)return u([],s);if(c.id===l[3])return u([c],s)}try{return u(i.querySelectorAll(t),s)}catch(t){}}else if(1===i.nodeType&&"object"!==i.nodeName.toLowerCase()){f=i,h=i.getAttribute("id"),d=h||o,p=i.parentNode,g=/^\s*[+~]/.test(t),h?d=d.replace(/'/g,"\\$&"):i.setAttribute("id",d),g&&p&&(i=i.parentNode);try{if(!g||p)return u(i.querySelectorAll("[id='"+d+"'] "+t),s)}catch(t){}finally{h||f.removeAttribute("id")}}}return e(t,i,s,a)};for(t in e)n[t]=e[t];i=null}}(),function(){var t,e,i=Se.documentElement,o=i.matchesSelector||i.mozMatchesSelector||i.webkitMatchesSelector||i.msMatchesSelector;if(o){t=!o.call(Se.createElement("div"),"div"),e=!1;try{o.call(Se.documentElement,"[test!='']:sizzle")}catch(t){e=!0}n.matchesSelector=function(i,s){if(s=s.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!n.isXML(i))try{if(e||!r.match.PSEUDO.test(s)&&!/!=/.test(s)){var a=o.call(i,s);if(a||!t||i.document&&11!==i.document.nodeType)return a}}catch(t){}return n(s,null,null,[i]).length>0}}}(),function(){var t=Se.createElement("div");t.innerHTML="<div class='test e'></div><div class='test'></div>",t.getElementsByClassName&&0!==t.getElementsByClassName("e").length&&(t.lastChild.className="e",1!==t.getElementsByClassName("e").length&&(r.order.splice(1,0,"CLASS"),r.find.CLASS=function(t,e,n){if(s!==e.getElementsByClassName&&!n)return e.getElementsByClassName(t[1])},t=null))}(),Se.documentElement.contains?n.contains=function(t,e){return t!==e&&(!t.contains||t.contains(e))}:Se.documentElement.compareDocumentPosition?n.contains=function(t,e){return!!(16&t.compareDocumentPosition(e))}:n.contains=function(){return!1},n.isXML=function(t){var e=(t?t.ownerDocument||t:0).documentElement;return!!e&&"HTML"!==e.nodeName},h=function(t,e,i){for(var o,s,a,l=[],u="",c=e.nodeType?[e]:e;o=r.match.PSEUDO.exec(t);)u+=o[0],t=t.replace(r.match.PSEUDO,"");for(t=r.relative[t]?t+"*":t,s=0,a=c.length;s<a;s++)n(t,c[s],l,i);return n.filter(u,l)},n.attr=Ce.attr,n.selectors.attrMap={},Ce.find=n,Ce.expr=n.selectors,Ce.expr[":"]=Ce.expr.filters,
|
||
Ce.unique=n.uniqueSort,Ce.text=n.getText,Ce.isXMLDoc=n.isXML,Ce.contains=n.contains}(),at=/Until$/,lt=/^(?:parents|prevUntil|prevAll)/,ut=/,/,ct=/^.[^:#\[\.,]*$/,ft=Array.prototype.slice,ht=Ce.expr.match.globalPOS,dt={children:!0,contents:!0,next:!0,prev:!0},Ce.fn.extend({find:function(t){var e,n,i,r,o,s,a=this;if("string"!=typeof t)return Ce(t).filter(function(){for(e=0,n=a.length;e<n;e++)if(Ce.contains(a[e],this))return!0});for(i=this.pushStack("","find",t),e=0,n=this.length;e<n;e++)if(r=i.length,Ce.find(t,this[e],i),e>0)for(o=r;o<i.length;o++)for(s=0;s<r;s++)if(i[s]===i[o]){i.splice(o--,1);break}return i},has:function(t){var e=Ce(t);return this.filter(function(){for(var t=0,n=e.length;t<n;t++)if(Ce.contains(this,e[t]))return!0})},not:function(t){return this.pushStack(p(this,t,!1),"not",t)},filter:function(t){return this.pushStack(p(this,t,!0),"filter",t)},is:function(t){return!!t&&("string"==typeof t?ht.test(t)?Ce(t,this.context).index(this[0])>=0:Ce.filter(t,this).length>0:this.filter(t).length>0)},closest:function(t,e){var n,i,r,o,s=[],a=this[0];if(Ce.isArray(t)){for(r=1;a&&a.ownerDocument&&a!==e;){for(n=0;n<t.length;n++)Ce(a).is(t[n])&&s.push({selector:t[n],elem:a,level:r});a=a.parentNode,r++}return s}for(o=ht.test(t)||"string"!=typeof t?Ce(t,e||this.context):0,n=0,i=this.length;n<i;n++)for(a=this[n];a;){if(o?o.index(a)>-1:Ce.find.matchesSelector(a,t)){s.push(a);break}if(a=a.parentNode,!a||!a.ownerDocument||a===e||11===a.nodeType)break}return s=s.length>1?Ce.unique(s):s,this.pushStack(s,"closest",t)},index:function(t){return t?"string"==typeof t?Ce.inArray(this[0],Ce(t)):Ce.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(t,e){var n="string"==typeof t?Ce(t,e):Ce.makeArray(t&&t.nodeType?[t]:t),i=Ce.merge(this.get(),n);return this.pushStack(d(n[0])||d(i[0])?i:Ce.unique(i))},andSelf:function(){return this.add(this.prevObject)}}),Ce.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return Ce.dir(t,"parentNode")},parentsUntil:function(t,e,n){return Ce.dir(t,"parentNode",n)},next:function(t){return Ce.nth(t,2,"nextSibling")},prev:function(t){return Ce.nth(t,2,"previousSibling")},nextAll:function(t){return Ce.dir(t,"nextSibling")},prevAll:function(t){return Ce.dir(t,"previousSibling")},nextUntil:function(t,e,n){return Ce.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return Ce.dir(t,"previousSibling",n)},siblings:function(t){return Ce.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return Ce.sibling(t.firstChild)},contents:function(t){return Ce.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:Ce.makeArray(t.childNodes)}},function(t,e){Ce.fn[t]=function(n,i){var r=Ce.map(this,e,n);return at.test(t)||(i=n),i&&"string"==typeof i&&(r=Ce.filter(i,r)),r=this.length>1&&!dt[t]?Ce.unique(r):r,(this.length>1||ut.test(i))&<.test(t)&&(r=r.reverse()),this.pushStack(r,t,ft.call(arguments).join(","))}}),Ce.extend({filter:function(t,e,n){return n&&(t=":not("+t+")"),1===e.length?Ce.find.matchesSelector(e[0],t)?[e[0]]:[]:Ce.find.matches(t,e)},dir:function(t,e,n){for(var i=[],r=t[e];r&&9!==r.nodeType&&(n===s||1!==r.nodeType||!Ce(r).is(n));)1===r.nodeType&&i.push(r),r=r[e];return i},nth:function(t,e,n,i){e=e||1;for(var r=0;t&&(1!==t.nodeType||++r!==e);t=t[n]);return t},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),pt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:\d+|null)"/g,mt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,yt=/<([\w:]+)/,bt=/<tbody/i,_t=/<|&#?\w+;/,wt=/<(?:script|style)/i,xt=/<(?:script|object|embed|option|style)/i,kt=RegExp("<(?:"+pt+")[\\s/>]","i"),St=/checked\s*(?:[^=]|=\s*.checked.)/i,Tt=/\/(java|ecma)script/i,Dt=/^\s*<!(?:\[CDATA\[|\-\-)/,Ct={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},Mt=g(Se),Ct.optgroup=Ct.option,Ct.tbody=Ct.tfoot=Ct.colgroup=Ct.caption=Ct.thead,Ct.th=Ct.td,Ce.support.htmlSerialize||(Ct._default=[1,"div<div>","</div>"]),Ce.fn.extend({text:function(t){return Ce.access(this,function(t){return t===s?Ce.text(this):this.empty().append((this[0]&&this[0].ownerDocument||Se).createTextNode(t))},null,t,arguments.length)},wrapAll:function(t){if(Ce.isFunction(t))return this.each(function(e){Ce(this).wrapAll(t.call(this,e))});if(this[0]){var e=Ce(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return Ce.isFunction(t)?this.each(function(e){Ce(this).wrapInner(t.call(this,e))}):this.each(function(){var e=Ce(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=Ce.isFunction(t);return this.each(function(n){Ce(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){Ce.nodeName(this,"body")||Ce(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(t){1===this.nodeType&&this.appendChild(t)})},prepend:function(){return this.domManip(arguments,!0,function(t){1===this.nodeType&&this.insertBefore(t,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(t){this.parentNode.insertBefore(t,this)});if(arguments.length){var t=Ce.clean(arguments);return t.push.apply(t,this.toArray()),this.pushStack(t,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(t){this.parentNode.insertBefore(t,this.nextSibling)});if(arguments.length){var t=this.pushStack(this,"after",arguments);return t.push.apply(t,Ce.clean(arguments)),t}},remove:function(t,e){for(var n,i=0;null!=(n=this[i]);i++)t&&!Ce.filter(t,[n]).length||(e||1!==n.nodeType||(Ce.cleanData(n.getElementsByTagName("*")),Ce.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)for(1===t.nodeType&&Ce.cleanData(t.getElementsByTagName("*"));t.firstChild;)t.removeChild(t.firstChild);return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return Ce.clone(this,t,e)})},html:function(t){return Ce.access(this,function(t){var e=this[0]||{},n=0,i=this.length;if(t===s)return 1===e.nodeType?e.innerHTML.replace(gt,""):null;if("string"==typeof t&&!wt.test(t)&&(Ce.support.leadingWhitespace||!mt.test(t))&&!Ct[(yt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(vt,"<$1></$2>");try{for(;n<i;n++)e=this[n]||{},1===e.nodeType&&(Ce.cleanData(e.getElementsByTagName("*")),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(t){return this[0]&&this[0].parentNode?Ce.isFunction(t)?this.each(function(e){var n=Ce(this),i=n.html();n.replaceWith(t.call(this,e,i))}):("string"!=typeof t&&(t=Ce(t).detach()),this.each(function(){var e=this.nextSibling,n=this.parentNode;Ce(this).remove(),e?Ce(e).before(t):Ce(n).append(t)})):this.length?this.pushStack(Ce(Ce.isFunction(t)?t():t),"replaceWith",t):this},detach:function(t){return this.remove(t,!0)},domManip:function(t,e,n){var i,r,o,a,l,u,c,f=t[0],h=[];if(!Ce.support.checkClone&&3===arguments.length&&"string"==typeof f&&St.test(f))return this.each(function(){Ce(this).domManip(t,e,n,!0)});if(Ce.isFunction(f))return this.each(function(i){var r=Ce(this);t[0]=f.call(this,i,e?r.html():s),r.domManip(t,e,n)});if(this[0]){if(a=f&&f.parentNode,i=Ce.support.parentNode&&a&&11===a.nodeType&&a.childNodes.length===this.length?{fragment:a}:Ce.buildFragment(t,this,h),o=i.fragment,r=1===o.childNodes.length?o=o.firstChild:o.firstChild)for(e=e&&Ce.nodeName(r,"tr"),l=0,u=this.length,c=u-1;l<u;l++)n.call(e?m(this[l],r):this[l],i.cacheable||u>1&&l<c?Ce.clone(o,!0,!0):o);h.length&&Ce.each(h,function(t,e){e.src?Ce.ajax({type:"GET",global:!1,url:e.src,async:!1,dataType:"script"}):Ce.globalEval((e.text||e.textContent||e.innerHTML||"").replace(Dt,"/*$0*/")),e.parentNode&&e.parentNode.removeChild(e)})}return this}}),Ce.buildFragment=function(t,e,n){var i,r,o,s,a=t[0];return e&&e[0]&&(s=e[0].ownerDocument||e[0]),s.createDocumentFragment||(s=Se),!(1===t.length&&"string"==typeof a&&a.length<512&&s===Se&&"<"===a.charAt(0))||xt.test(a)||!Ce.support.checkClone&&St.test(a)||!Ce.support.html5Clone&&kt.test(a)||(r=!0,o=Ce.fragments[a],o&&1!==o&&(i=o)),i||(i=s.createDocumentFragment(),Ce.clean(t,s,i,n)),r&&(Ce.fragments[a]=o?i:1),{fragment:i,cacheable:r}},Ce.fragments={},Ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){Ce.fn[t]=function(n){var i,r,o,s=[],a=Ce(n),l=1===this.length&&this[0].parentNode;if(l&&11===l.nodeType&&1===l.childNodes.length&&1===a.length)return a[e](this[0]),this;for(i=0,r=a.length;i<r;i++)o=(i>0?this.clone(!0):this).get(),Ce(a[i])[e](o),s=s.concat(o);return this.pushStack(s,t,a.selector)}}),Ce.extend({clone:function(t,e,n){var i,r,o,s=Ce.support.html5Clone||Ce.isXMLDoc(t)||!kt.test("<"+t.nodeName+">")?t.cloneNode(!0):x(t);if(!(Ce.support.noCloneEvent&&Ce.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||Ce.isXMLDoc(t)))for(y(t,s),i=b(t),r=b(s),o=0;i[o];++o)r[o]&&y(i[o],r[o]);if(e&&(v(t,s),n))for(i=b(t),r=b(s),o=0;i[o];++o)v(i[o],r[o]);return i=r=null,s},clean:function(t,e,n,i){var r,o,a,l,u,c,f,h,d,p,m,v,y,b,_,x=[];for(e=e||Se,s===e.createElement&&(e=e.ownerDocument||e[0]&&e[0].ownerDocument||Se),l=0;null!=(u=t[l]);l++)if("number"==typeof u&&(u+=""),u){if("string"==typeof u)if(_t.test(u)){for(u=u.replace(vt,"<$1></$2>"),c=(yt.exec(u)||["",""])[1].toLowerCase(),f=Ct[c]||Ct._default,h=f[0],d=e.createElement("div"),p=Mt.childNodes,e===Se?Mt.appendChild(d):g(e).appendChild(d),d.innerHTML=f[1]+u+f[2];h--;)d=d.lastChild;if(!Ce.support.tbody)for(v=bt.test(u),y="table"!==c||v?"<table>"!==f[1]||v?[]:d.childNodes:d.firstChild&&d.firstChild.childNodes,a=y.length-1;a>=0;--a)Ce.nodeName(y[a],"tbody")&&!y[a].childNodes.length&&y[a].parentNode.removeChild(y[a]);!Ce.support.leadingWhitespace&&mt.test(u)&&d.insertBefore(e.createTextNode(mt.exec(u)[0]),d.firstChild),u=d.childNodes,d&&(d.parentNode.removeChild(d),p.length>0&&(m=p[p.length-1],m&&m.parentNode&&m.parentNode.removeChild(m)))}else u=e.createTextNode(u);if(!Ce.support.appendChecked)if(u[0]&&"number"==typeof(b=u.length))for(a=0;a<b;a++)w(u[a]);else w(u);u.nodeType?x.push(u):x=Ce.merge(x,u)}if(n)for(r=function(t){return!t.type||Tt.test(t.type)},l=0;x[l];l++)o=x[l],i&&Ce.nodeName(o,"script")&&(!o.type||Tt.test(o.type))?i.push(o.parentNode?o.parentNode.removeChild(o):o):(1===o.nodeType&&(_=Ce.grep(o.getElementsByTagName("script"),r),x.splice.apply(x,[l+1,0].concat(_))),n.appendChild(o));return x},cleanData:function(t){var e,n,i,r,o,s=Ce.cache,a=Ce.event.special,l=Ce.support.deleteExpando;for(i=0;null!=(r=t[i]);i++)if((!r.nodeName||!Ce.noData[r.nodeName.toLowerCase()])&&(n=r[Ce.expando])){if(e=s[n],e&&e.events){for(o in e.events)a[o]?Ce.event.remove(r,o):Ce.removeEvent(r,o,e.handle);e.handle&&(e.handle.elem=null)}l?delete r[Ce.expando]:r.removeAttribute&&r.removeAttribute(Ce.expando),delete s[n]}}}),Pt=/alpha\([^)]*\)/i,Ot=/opacity=([^)]*)/,Et=/([A-Z]|^ms)/g,Nt=/^[\-+]?(?:\d*\.)?\d+$/i,It=/^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,At=/^([\-+])=([\-+.\de]+)/,Lt=/^margin/,jt={position:"absolute",visibility:"hidden",display:"block"},Ft=["Top","Right","Bottom","Left"],Ce.fn.css=function(t,e){return Ce.access(this,function(t,e,n){return n!==s?Ce.style(t,e,n):Ce.css(t,e)},t,e,arguments.length>1)},Ce.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Ht(t,"opacity");return""===n?"1":n}return t.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:Ce.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a=Ce.camelCase(e),l=t.style,u=Ce.cssHooks[a];if(e=Ce.cssProps[a]||a,n===s)return u&&"get"in u&&(r=u.get(t,!1,i))!==s?r:l[e];if(o=typeof n,"string"===o&&(r=At.exec(n))&&(n=+(r[1]+1)*+r[2]+parseFloat(Ce.css(t,e)),o="number"),!(null==n||"number"===o&&isNaN(n)||("number"!==o||Ce.cssNumber[a]||(n+="px"),u&&"set"in u&&(n=u.set(t,n))===s)))try{l[e]=n}catch(t){}}},css:function(t,e,n){var i,r;return e=Ce.camelCase(e),r=Ce.cssHooks[e],e=Ce.cssProps[e]||e,"cssFloat"===e&&(e="float"),r&&"get"in r&&(i=r.get(t,!0,n))!==s?i:Ht?Ht(t,e):s},swap:function(t,e,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];i=n.call(t);for(r in e)t.style[r]=o[r];return i}}),Ce.curCSS=Ce.css,Se.defaultView&&Se.defaultView.getComputedStyle&&(zt=function(t,e){var n,i,r,o,s=t.style;return e=e.replace(Et,"-$1").toLowerCase(),(i=t.ownerDocument.defaultView)&&(r=i.getComputedStyle(t,null))&&(n=r.getPropertyValue(e),""!==n||Ce.contains(t.ownerDocument.documentElement,t)||(n=Ce.style(t,e))),!Ce.support.pixelMargin&&r&&Lt.test(e)&&It.test(n)&&(o=s.width,s.width=n,n=r.width,s.width=o),n}),Se.documentElement.currentStyle&&(Yt=function(t,e){var n,i,r,o=t.currentStyle&&t.currentStyle[e],s=t.style;return null==o&&s&&(r=s[e])&&(o=r),It.test(o)&&(n=s.left,i=t.runtimeStyle&&t.runtimeStyle.left,i&&(t.runtimeStyle.left=t.currentStyle.left),s.left="fontSize"===e?"1em":o,o=s.pixelLeft+"px",s.left=n,i&&(t.runtimeStyle.left=i)),""===o?"auto":o}),Ht=zt||Yt,Ce.each(["height","width"],function(t,e){Ce.cssHooks[e]={get:function(t,n,i){if(n)return 0!==t.offsetWidth?k(t,e,i):Ce.swap(t,jt,function(){return k(t,e,i)})},set:function(t,e){return Nt.test(e)?e+"px":e}}}),Ce.support.opacity||(Ce.cssHooks.opacity={get:function(t,e){return Ot.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,r=Ce.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,e>=1&&""===Ce.trim(o.replace(Pt,""))&&(n.removeAttribute("filter"),i&&!i.filter)||(n.filter=Pt.test(o)?o.replace(Pt,r):o+" "+r)}}),Ce(function(){Ce.support.reliableMarginRight||(Ce.cssHooks.marginRight={get:function(t,e){return Ce.swap(t,{display:"inline-block"},function(){return e?Ht(t,"margin-right"):t.style.marginRight})}})}),Ce.expr&&Ce.expr.filters&&(Ce.expr.filters.hidden=function(t){var e=t.offsetWidth,n=t.offsetHeight;return 0===e&&0===n||!Ce.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||Ce.css(t,"display"))},Ce.expr.filters.visible=function(t){return!Ce.expr.filters.hidden(t)}),Ce.each({margin:"",padding:"",border:"Width"},function(t,e){Ce.cssHooks[t+e]={expand:function(n){var i,r="string"==typeof n?n.split(" "):[n],o={};for(i=0;i<4;i++)o[t+Ft[i]+e]=r[i]||r[i-2]||r[0];return o}}}),Rt=/%20/g,Wt=/\[\]$/,Vt=/\r?\n/g,Bt=/#.*$/,Ut=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,qt=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,$t=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,Gt=/^(?:GET|HEAD)$/,Xt=/^\/\//,Kt=/\?/,Qt=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Zt=/^(?:select|textarea)/i,Jt=/\s+/,te=/([?&])_=[^&]*/,ee=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,ne=Ce.fn.load,ie={},re={},ae=["*/"]+["*"];try{oe=De.href}catch(t){oe=Se.createElement("a"),oe.href="",oe=oe.href}se=ee.exec(oe.toLowerCase())||[],Ce.fn.extend({load:function(t,e,n){var i,r,o,a;return"string"!=typeof t&&ne?ne.apply(this,arguments):this.length?(i=t.indexOf(" "),i>=0&&(r=t.slice(i,t.length),t=t.slice(0,i)),o="GET",e&&(Ce.isFunction(e)?(n=e,e=s):"object"==typeof e&&(e=Ce.param(e,Ce.ajaxSettings.traditional),o="POST")),a=this,Ce.ajax({url:t,type:o,dataType:"html",data:e,complete:function(t,e,i){i=t.responseText,t.isResolved()&&(t.done(function(t){i=t}),a.html(r?Ce("<div>").append(i.replace(Qt,"")).find(r):i)),n&&a.each(n,[i,e,t])}}),this):this},serialize:function(){return Ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?Ce.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Zt.test(this.nodeName)||qt.test(this.type))}).map(function(t,e){var n=Ce(this).val();return null==n?null:Ce.isArray(n)?Ce.map(n,function(t,n){return{name:e.name,value:t.replace(Vt,"\r\n")}}):{name:e.name,value:n.replace(Vt,"\r\n")}}).get()}}),Ce.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(t,e){Ce.fn[e]=function(t){return this.on(e,t)}}),Ce.each(["get","post"],function(t,e){Ce[e]=function(t,n,i,r){return Ce.isFunction(n)&&(r=r||i,i=n,n=s),Ce.ajax({type:e,url:t,data:n,success:i,dataType:r})}}),Ce.extend({getScript:function(t,e){return Ce.get(t,s,e,"script")},getJSON:function(t,e,n){return Ce.get(t,e,n,"json")},ajaxSetup:function(t,e){return e?D(t,Ce.ajaxSettings):(e=t,t=Ce.ajaxSettings),D(t,e),t},ajaxSettings:{url:oe,isLocal:$t.test(se[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":ae},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":o.String,"text html":!0,"text json":Ce.parseJSON,"text xml":Ce.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:S(ie),ajaxTransport:S(re),ajax:function(t,e){function n(t,e,n,f){if(2!==y){y=2,m&&clearTimeout(m),g=s,d=f||"",w.readyState=t>0?4:0;var h,p,v,_,x,k=e,S=n?M(i,w,n):s;if(t>=200&&t<300||304===t)if(i.ifModified&&((_=w.getResponseHeader("Last-Modified"))&&(Ce.lastModified[c]=_),(x=w.getResponseHeader("Etag"))&&(Ce.etag[c]=x)),304===t)k="notmodified",h=!0;else try{p=P(i,S),k="success",h=!0}catch(t){k="parsererror",v=t}else v=k,k&&!t||(k="error",t<0&&(t=0));w.status=t,w.statusText=""+(e||k),h?a.resolveWith(r,[p,k,w]):a.rejectWith(r,[w,k,v]),w.statusCode(u),u=s,b&&o.trigger("ajax"+(h?"Success":"Error"),[w,i,h?p:v]),l.fireWith(r,[w,k]),b&&(o.trigger("ajaxComplete",[w,i]),--Ce.active||Ce.event.trigger("ajaxStop"))}}var i,r,o,a,l,u,c,f,h,d,p,g,m,v,y,b,_,w,x,k;if("object"==typeof t&&(e=t,t=s),e=e||{},i=Ce.ajaxSetup({},e),r=i.context||i,o=r!==i&&(r.nodeType||r instanceof Ce)?Ce(r):Ce.event,a=Ce.Deferred(),l=Ce.Callbacks("once memory"),u=i.statusCode||{},f={},h={},y=0,w={readyState:0,setRequestHeader:function(t,e){if(!y){var n=t.toLowerCase();t=h[n]=h[n]||t,f[t]=e}return this},getAllResponseHeaders:function(){return 2===y?d:null},getResponseHeader:function(t){var e;if(2===y){if(!p)for(p={};e=Ut.exec(d);)p[e[1].toLowerCase()]=e[2];e=p[t.toLowerCase()]}return e===s?null:e},overrideMimeType:function(t){return y||(i.mimeType=t),this},abort:function(t){return t=t||"abort",g&&g.abort(t),n(0,t),this}},a.promise(w),w.success=w.done,w.error=w.fail,w.complete=l.add,w.statusCode=function(t){if(t){var e;if(y<2)for(e in t)u[e]=[u[e],t[e]];else e=t[w.status],w.then(e,e)}return this},i.url=((t||i.url)+"").replace(Bt,"").replace(Xt,se[1]+"//"),i.dataTypes=Ce.trim(i.dataType||"*").toLowerCase().split(Jt),null==i.crossDomain&&(v=ee.exec(i.url.toLowerCase()),i.crossDomain=!(!v||v[1]==se[1]&&v[2]==se[2]&&(v[3]||("http:"===v[1]?80:443))==(se[3]||("http:"===se[1]?80:443)))),i.data&&i.processData&&"string"!=typeof i.data&&(i.data=Ce.param(i.data,i.traditional)),T(ie,i,e,w),2===y)return!1;b=i.global,i.type=i.type.toUpperCase(),i.hasContent=!Gt.test(i.type),b&&0===Ce.active++&&Ce.event.trigger("ajaxStart"),i.hasContent||(i.data&&(i.url+=(Kt.test(i.url)?"&":"?")+i.data,delete i.data),c=i.url,i.cache===!1&&(x=Ce.now(),k=i.url.replace(te,"$1_="+x),i.url=k+(k===i.url?(Kt.test(i.url)?"&":"?")+"_="+x:""))),(i.data&&i.hasContent&&i.contentType!==!1||e.contentType)&&w.setRequestHeader("Content-Type",i.contentType),i.ifModified&&(c=c||i.url,Ce.lastModified[c]&&w.setRequestHeader("If-Modified-Since",Ce.lastModified[c]),Ce.etag[c]&&w.setRequestHeader("If-None-Match",Ce.etag[c])),w.setRequestHeader("Accept",i.dataTypes[0]&&i.accepts[i.dataTypes[0]]?i.accepts[i.dataTypes[0]]+("*"!==i.dataTypes[0]?", "+ae+"; q=0.01":""):i.accepts["*"]);for(_ in i.headers)w.setRequestHeader(_,i.headers[_]);if(i.beforeSend&&(i.beforeSend.call(r,w,i)===!1||2===y))return w.abort(),!1;for(_ in{success:1,error:1,complete:1})w[_](i[_]);if(g=T(re,i,e,w)){w.readyState=1,b&&o.trigger("ajaxSend",[w,i]),i.async&&i.timeout>0&&(m=setTimeout(function(){w.abort("timeout")},i.timeout));try{y=1,g.send(f,n)}catch(t){if(!(y<2))throw t;n(-1,t)}}else n(-1,"No Transport");return w},param:function(t,e){var n,i=[],r=function(t,e){e=Ce.isFunction(e)?e():e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(e===s&&(e=Ce.ajaxSettings.traditional),Ce.isArray(t)||t.jquery&&!Ce.isPlainObject(t))Ce.each(t,function(){r(this.name,this.value)});else for(n in t)C(n,t[n],e,r);return i.join("&").replace(Rt,"+")}}),Ce.extend({active:0,lastModified:{},etag:{}}),le=Ce.now(),ue=/(\=)\?(&|$)|\?\?/i,Ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return Ce.expando+"_"+le++}}),Ce.ajaxPrefilter("json jsonp",function(t,e,n){var i,r,s,a,l,u,c="string"==typeof t.data&&/^application\/x\-www\-form\-urlencoded/.test(t.contentType);if("jsonp"===t.dataTypes[0]||t.jsonp!==!1&&(ue.test(t.url)||c&&ue.test(t.data)))return r=t.jsonpCallback=Ce.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s=o[r],a=t.url,l=t.data,u="$1"+r+"$2",t.jsonp!==!1&&(a=a.replace(ue,u),t.url===a&&(c&&(l=l.replace(ue,u)),t.data===l&&(a+=(/\?/.test(a)?"&":"?")+t.jsonp+"="+r))),t.url=a,t.data=l,o[r]=function(t){i=[t]},n.always(function(){o[r]=s,i&&Ce.isFunction(s)&&o[r](i[0])}),t.converters["script json"]=function(){return i||Ce.error(r+" was not called"),i[0]},t.dataTypes[0]="json","script"}),Ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(t){return Ce.globalEval(t),t}}}),Ce.ajaxPrefilter("script",function(t){t.cache===s&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),Ce.ajaxTransport("script",function(t){if(t.crossDomain){var e,n=Se.head||Se.getElementsByTagName("head")[0]||Se.documentElement;return{send:function(i,r){e=Se.createElement("script"),e.async="async",t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,i){(i||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,n&&e.parentNode&&n.removeChild(e),e=s,i||r(200,"success"))},n.insertBefore(e,n.firstChild)},abort:function(){e&&e.onload(0,1)}}}}),ce=!!o.ActiveXObject&&function(){for(var t in he)he[t](0,1)},fe=0,Ce.ajaxSettings.xhr=o.ActiveXObject?function(){return!this.isLocal&&O()||E()}:O,function(t){Ce.extend(Ce.support,{ajax:!!t,cors:!!t&&"withCredentials"in t})}(Ce.ajaxSettings.xhr()),Ce.support.ajax&&Ce.ajaxTransport(function(t){if(!t.crossDomain||Ce.support.cors){var e;return{send:function(n,i){var r,a,l=t.xhr();if(t.username?l.open(t.type,t.url,t.async,t.username,t.password):l.open(t.type,t.url,t.async),t.xhrFields)for(a in t.xhrFields)l[a]=t.xhrFields[a];t.mimeType&&l.overrideMimeType&&l.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");try{for(a in n)l.setRequestHeader(a,n[a])}catch(t){}l.send(t.hasContent&&t.data||null),e=function(n,o){var a,u,c,f,h;try{if(e&&(o||4===l.readyState))if(e=s,r&&(l.onreadystatechange=Ce.noop,ce&&delete he[r]),o)4!==l.readyState&&l.abort();else{a=l.status,c=l.getAllResponseHeaders(),f={},h=l.responseXML,h&&h.documentElement&&(f.xml=h);try{f.text=l.responseText}catch(t){}try{u=l.statusText}catch(t){u=""}a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=f.text?200:404}}catch(t){o||i(-1,t)}f&&i(a,u,f,c)},t.async&&4!==l.readyState?(r=++fe,ce&&(he||(he={},Ce(o).unload(ce)),he[r]=e),l.onreadystatechange=e):e()},abort:function(){e&&e(0,1)}}}}),de={},me=/^(?:toggle|show|hide)$/,ve=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,be=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Ce.fn.extend({show:function(t,e,n){var i,r,o,s;if(t||0===t)return this.animate(A("show",3),t,e,n);for(o=0,s=this.length;o<s;o++)i=this[o],i.style&&(r=i.style.display,Ce._data(i,"olddisplay")||"none"!==r||(r=i.style.display=""),(""===r&&"none"===Ce.css(i,"display")||!Ce.contains(i.ownerDocument.documentElement,i))&&Ce._data(i,"olddisplay",L(i.nodeName)));for(o=0;o<s;o++)i=this[o],i.style&&(r=i.style.display,""!==r&&"none"!==r||(i.style.display=Ce._data(i,"olddisplay")||""));return this},hide:function(t,e,n){if(t||0===t)return this.animate(A("hide",3),t,e,n);for(var i,r,o=0,s=this.length;o<s;o++)i=this[o],i.style&&(r=Ce.css(i,"display"),"none"===r||Ce._data(i,"olddisplay")||Ce._data(i,"olddisplay",r));for(o=0;o<s;o++)this[o].style&&(this[o].style.display="none");return this},_toggle:Ce.fn.toggle,toggle:function(t,e,n){var i="boolean"==typeof t;return Ce.isFunction(t)&&Ce.isFunction(e)?this._toggle.apply(this,arguments):null==t||i?this.each(function(){var e=i?t:Ce(this).is(":hidden");Ce(this)[e?"show":"hide"]()}):this.animate(A("toggle",3),t,e,n),this},fadeTo:function(t,e,n,i){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){function r(){o.queue===!1&&Ce._mark(this);var e,n,i,r,s,a,l,u,c,f,h,d=Ce.extend({},o),p=1===this.nodeType,g=p&&Ce(this).is(":hidden");d.animatedProperties={};for(i in t)if(e=Ce.camelCase(i),i!==e&&(t[e]=t[i],delete t[i]),(s=Ce.cssHooks[e])&&"expand"in s){a=s.expand(t[e]),delete t[e];for(i in a)i in t||(t[i]=a[i])}for(e in t){if(n=t[e],Ce.isArray(n)?(d.animatedProperties[e]=n[1],n=t[e]=n[0]):d.animatedProperties[e]=d.specialEasing&&d.specialEasing[e]||d.easing||"swing","hide"===n&&g||"show"===n&&!g)return d.complete.call(this);!p||"height"!==e&&"width"!==e||(d.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===Ce.css(this,"display")&&"none"===Ce.css(this,"float")&&(Ce.support.inlineBlockNeedsLayout&&"inline"!==L(this.nodeName)?this.style.zoom=1:this.style.display="inline-block"))}null!=d.overflow&&(this.style.overflow="hidden");for(i in t)r=new Ce.fx(this,d,i),n=t[i],me.test(n)?(h=Ce._data(this,"toggle"+i)||("toggle"===n?g?"show":"hide":0),h?(Ce._data(this,"toggle"+i,"show"===h?"hide":"show"),r[h]()):r[n]()):(l=ve.exec(n),u=r.cur(),l?(c=parseFloat(l[2]),f=l[3]||(Ce.cssNumber[i]?"":"px"),"px"!==f&&(Ce.style(this,i,(c||1)+f),u=(c||1)/r.cur()*u,Ce.style(this,i,u+f)),l[1]&&(c=("-="===l[1]?-1:1)*c+u),r.custom(u,c,f)):r.custom(u,n,""));return!0}var o=Ce.speed(e,n,i);return Ce.isEmptyObject(t)?this.each(o.complete,[!1]):(t=Ce.extend({},t),o.queue===!1?this.each(r):this.queue(o.queue,r))},stop:function(t,e,n){return"string"!=typeof t&&(n=e,e=t,t=s),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){function e(t,e,i){var r=e[i];Ce.removeData(t,i,!0),r.stop(n)}var i,r=!1,o=Ce.timers,s=Ce._data(this);if(n||Ce._unmark(!0,this),null==t)for(i in s)s[i]&&s[i].stop&&i.indexOf(".run")===i.length-4&&e(this,s,i);else s[i=t+".run"]&&s[i].stop&&e(this,s,i);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(n?o[i](!0):o[i].saveState(),r=!0,o.splice(i,1));n&&r||Ce.dequeue(this,t)})}}),Ce.each({slideDown:A("show",1),slideUp:A("hide",1),slideToggle:A("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){Ce.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),Ce.extend({speed:function(t,e,n){var i=t&&"object"==typeof t?Ce.extend({},t):{complete:n||!n&&e||Ce.isFunction(t)&&t,duration:t,easing:n&&e||e&&!Ce.isFunction(e)&&e};return i.duration=Ce.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in Ce.fx.speeds?Ce.fx.speeds[i.duration]:Ce.fx.speeds._default,null!=i.queue&&i.queue!==!0||(i.queue="fx"),i.old=i.complete,i.complete=function(t){Ce.isFunction(i.old)&&i.old.call(this),i.queue?Ce.dequeue(this,i.queue):t!==!1&&Ce._unmark(this)},i},easing:{linear:function(t){return t},swing:function(t){return-Math.cos(t*Math.PI)/2+.5}},timers:[],fx:function(t,e,n){this.options=e,this.elem=t,this.prop=n,e.orig=e.orig||{}}}),Ce.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(Ce.fx.step[this.prop]||Ce.fx.step._default)(this)},cur:function(){if(null!=this.elem[this.prop]&&(!this.elem.style||null==this.elem.style[this.prop]))return this.elem[this.prop];var t,e=Ce.css(this.elem,this.prop);return isNaN(t=parseFloat(e))?e&&"auto"!==e?e:0:t},custom:function(t,e,n){function i(t){return r.step(t)}var r=this,o=Ce.fx;this.startTime=_e||N(),this.end=e,this.now=this.start=t,this.pos=this.state=0,this.unit=n||this.unit||(Ce.cssNumber[this.prop]?"":"px"),i.queue=this.options.queue,i.elem=this.elem,i.saveState=function(){Ce._data(r.elem,"fxshow"+r.prop)===s&&(r.options.hide?Ce._data(r.elem,"fxshow"+r.prop,r.start):r.options.show&&Ce._data(r.elem,"fxshow"+r.prop,r.end))},i()&&Ce.timers.push(i)&&!ye&&(ye=setInterval(o.tick,o.interval))},show:function(){var t=Ce._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=t||Ce.style(this.elem,this.prop),this.options.show=!0,t!==s?this.custom(this.cur(),t):this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur()),Ce(this.elem).show()},hide:function(){this.options.orig[this.prop]=Ce._data(this.elem,"fxshow"+this.prop)||Ce.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(t){var e,n,i,r=_e||N(),o=!0,s=this.elem,a=this.options;if(t||r>=a.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),a.animatedProperties[this.prop]=!0;for(e in a.animatedProperties)a.animatedProperties[e]!==!0&&(o=!1);if(o){if(null==a.overflow||Ce.support.shrinkWrapBlocks||Ce.each(["","X","Y"],function(t,e){s.style["overflow"+e]=a.overflow[t]}),a.hide&&Ce(s).hide(),a.hide||a.show)for(e in a.animatedProperties)Ce.style(s,e,a.orig[e]),Ce.removeData(s,"fxshow"+e,!0),Ce.removeData(s,"toggle"+e,!0);i=a.complete,i&&(a.complete=!1,i.call(s))}return!1}return a.duration==1/0?this.now=r:(n=r-this.startTime,this.state=n/a.duration,this.pos=Ce.easing[a.animatedProperties[this.prop]](this.state,n,0,1,a.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},Ce.extend(Ce.fx,{tick:function(){for(var t,e=Ce.timers,n=0;n<e.length;n++)t=e[n],t()||e[n]!==t||e.splice(n--,1);e.length||Ce.fx.stop()},interval:13,stop:function(){clearInterval(ye),ye=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(t){Ce.style(t.elem,"opacity",t.now)},_default:function(t){t.elem.style&&null!=t.elem.style[t.prop]?t.elem.style[t.prop]=t.now+t.unit:t.elem[t.prop]=t.now}}}),Ce.each(be.concat.apply([],be),function(t,e){e.indexOf("margin")&&(Ce.fx.step[e]=function(t){Ce.style(t.elem,e,Math.max(0,t.now)+t.unit)})}),Ce.expr&&Ce.expr.filters&&(Ce.expr.filters.animated=function(t){return Ce.grep(Ce.timers,function(e){return t===e.elem}).length}),xe=/^t(?:able|d|h)$/i,ke=/^(?:body|html)$/i,we="getBoundingClientRect"in Se.documentElement?function(t,e,n,i){try{i=t.getBoundingClientRect()}catch(t){}if(!i||!Ce.contains(n,t))return i?{top:i.top,left:i.left}:{top:0,left:0};var r=e.body,o=j(e),s=n.clientTop||r.clientTop||0,a=n.clientLeft||r.clientLeft||0,l=o.pageYOffset||Ce.support.boxModel&&n.scrollTop||r.scrollTop,u=o.pageXOffset||Ce.support.boxModel&&n.scrollLeft||r.scrollLeft,c=i.top+l-s,f=i.left+u-a;return{top:c,left:f}}:function(t,e,n){for(var i,r=t.offsetParent,o=t,s=e.body,a=e.defaultView,l=a?a.getComputedStyle(t,null):t.currentStyle,u=t.offsetTop,c=t.offsetLeft;(t=t.parentNode)&&t!==s&&t!==n&&(!Ce.support.fixedPosition||"fixed"!==l.position);)i=a?a.getComputedStyle(t,null):t.currentStyle,
|
||
u-=t.scrollTop,c-=t.scrollLeft,t===r&&(u+=t.offsetTop,c+=t.offsetLeft,!Ce.support.doesNotAddBorder||Ce.support.doesAddBorderForTableAndCells&&xe.test(t.nodeName)||(u+=parseFloat(i.borderTopWidth)||0,c+=parseFloat(i.borderLeftWidth)||0),o=r,r=t.offsetParent),Ce.support.subtractsBorderForOverflowNotVisible&&"visible"!==i.overflow&&(u+=parseFloat(i.borderTopWidth)||0,c+=parseFloat(i.borderLeftWidth)||0),l=i;return"relative"!==l.position&&"static"!==l.position||(u+=s.offsetTop,c+=s.offsetLeft),Ce.support.fixedPosition&&"fixed"===l.position&&(u+=Math.max(n.scrollTop,s.scrollTop),c+=Math.max(n.scrollLeft,s.scrollLeft)),{top:u,left:c}},Ce.fn.offset=function(t){if(arguments.length)return t===s?this:this.each(function(e){Ce.offset.setOffset(this,t,e)});var e=this[0],n=e&&e.ownerDocument;return n?e===n.body?Ce.offset.bodyOffset(e):we(e,n,n.documentElement):null},Ce.offset={bodyOffset:function(t){var e=t.offsetTop,n=t.offsetLeft;return Ce.support.doesNotIncludeMarginInBodyOffset&&(e+=parseFloat(Ce.css(t,"marginTop"))||0,n+=parseFloat(Ce.css(t,"marginLeft"))||0),{top:e,left:n}},setOffset:function(t,e,n){var i,r,o,s,a,l,u,c,f,h=Ce.css(t,"position");"static"===h&&(t.style.position="relative"),i=Ce(t),r=i.offset(),o=Ce.css(t,"top"),s=Ce.css(t,"left"),a=("absolute"===h||"fixed"===h)&&Ce.inArray("auto",[o,s])>-1,l={},u={},a?(u=i.position(),c=u.top,f=u.left):(c=parseFloat(o)||0,f=parseFloat(s)||0),Ce.isFunction(e)&&(e=e.call(t,n,r)),null!=e.top&&(l.top=e.top-r.top+c),null!=e.left&&(l.left=e.left-r.left+f),"using"in e?e.using.call(t,l):i.css(l)}},Ce.fn.extend({position:function(){if(!this[0])return null;var t=this[0],e=this.offsetParent(),n=this.offset(),i=ke.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(Ce.css(t,"marginTop"))||0,n.left-=parseFloat(Ce.css(t,"marginLeft"))||0,i.top+=parseFloat(Ce.css(e[0],"borderTopWidth"))||0,i.left+=parseFloat(Ce.css(e[0],"borderLeftWidth"))||0,{top:n.top-i.top,left:n.left-i.left}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Se.body;t&&!ke.test(t.nodeName)&&"static"===Ce.css(t,"position");)t=t.offsetParent;return t})}}),Ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);Ce.fn[t]=function(i){return Ce.access(this,function(t,i,r){var o=j(t);return r===s?o?e in o?o[e]:Ce.support.boxModel&&o.document.documentElement[i]||o.document.body[i]:t[i]:(o?o.scrollTo(n?Ce(o).scrollLeft():r,n?r:Ce(o).scrollTop()):t[i]=r,s)},t,i,arguments.length,null)}}),Ce.each({Height:"height",Width:"width"},function(t,e){var n="client"+t,i="scroll"+t,r="offset"+t;Ce.fn["inner"+t]=function(){var t=this[0];return t?t.style?parseFloat(Ce.css(t,e,"padding")):this[e]():null},Ce.fn["outer"+t]=function(t){var n=this[0];return n?n.style?parseFloat(Ce.css(n,e,t?"margin":"border")):this[e]():null},Ce.fn[e]=function(t){return Ce.access(this,function(t,e,o){var a,l,u,c;return Ce.isWindow(t)?(a=t.document,l=a.documentElement[n],Ce.support.boxModel&&l||a.body&&a.body[n]||l):9===t.nodeType?(a=t.documentElement,a[n]>=a[i]?a[n]:Math.max(t.body[i],a[i],t.body[r],a[r])):o===s?(u=Ce.css(t,e),c=parseFloat(u),Ce.isNumeric(c)?c:u):(Ce(t).css(e,o),s)},e,t,arguments.length,null)}}),o.jQuery=o.$=Ce,n(707)&&n(707).jQuery&&(i=[],r=function(){return Ce}.apply(e,i),!(r!==s&&(t.exports=r)))}(window),t.exports=$},function(t,e){(function(e){t.exports=e}).call(e,{})},function(module,exports){"use strict";!function(t,e){function n(e){return!t(e).parents().andSelf().filter(function(){return"hidden"===t.curCSS(this,"visibility")||t.expr.filters.hidden(this)}).length}t.ui=t.ui||{},t.ui.version||(t.extend(t.ui,{version:"1.8.11",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),t.fn.extend({_focus:t.fn.focus,focus:function(e,n){return"number"==typeof e?this.each(function(){var i=this;setTimeout(function(){t(i).focus(),n&&n.call(i)},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;return e=t.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(t.curCSS(this,"position",1))&&/(auto|scroll)/.test(t.curCSS(this,"overflow",1)+t.curCSS(this,"overflow-y",1)+t.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(t.curCSS(this,"overflow",1)+t.curCSS(this,"overflow-y",1)+t.curCSS(this,"overflow-x",1))}).eq(0),/fixed/.test(this.css("position"))||!e.length?t(document):e},zIndex:function(n){if(n!==e)return this.css("zIndex",n);if(this.length){n=t(this[0]);for(var i;n.length&&n[0]!==document;){if(i=n.css("position"),("absolute"===i||"relative"===i||"fixed"===i)&&(i=parseInt(n.css("zIndex"),10),!isNaN(i)&&0!==i))return i;n=n.parent()}}return 0},disableSelection:function(){return this.bind((t.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),t.each(["Width","Height"],function(n,i){function r(e,n,i,r){return t.each(o,function(){n-=parseFloat(t.curCSS(e,"padding"+this,!0))||0,i&&(n-=parseFloat(t.curCSS(e,"border"+this+"Width",!0))||0),r&&(n-=parseFloat(t.curCSS(e,"margin"+this,!0))||0)}),n}var o="Width"===i?["Left","Right"]:["Top","Bottom"],s=i.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(n){return n===e?a["inner"+i].call(this):this.each(function(){t(this).css(s,r(this,n)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){t(this).css(s,r(this,e,!0,n)+"px")})}}),t.extend(t.expr[":"],{data:function(e,n,i){return!!t.data(e,i[3])},focusable:function(e){var i=e.nodeName.toLowerCase(),r=t.attr(e,"tabindex");return"area"===i?(i=e.parentNode,r=i.name,!(!e.href||!r||"map"!==i.nodeName.toLowerCase())&&(e=t("img[usemap=#"+r+"]")[0],!!e&&n(e))):(/input|select|textarea|button|object/.test(i)?!e.disabled:"a"==i?e.href||!isNaN(r):!isNaN(r))&&n(e)},tabbable:function(e){var n=t.attr(e,"tabindex");return(isNaN(n)||n>=0)&&t(e).is(":focusable")}}),t(function(){var e=document.body,n=e.appendChild(n=document.createElement("div"));t.extend(n.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),t.support.minHeight=100===n.offsetHeight,t.support.selectstart="onselectstart"in n,e.removeChild(n).style.display="none"}),t.extend(t.ui,{plugin:{add:function(e,n,i){e=t.ui[e].prototype;for(var r in i)e.plugins[r]=e.plugins[r]||[],e.plugins[r].push([n,i[r]])},call:function(t,e,n){if((e=t.plugins[e])&&t.element[0].parentNode)for(var i=0;i<e.length;i++)t.options[e[i][0]]&&e[i][1].apply(t.element,n)}},contains:function(t,e){return document.compareDocumentPosition?16&t.compareDocumentPosition(e):t!==e&&t.contains(e)},hasScroll:function(e,n){if("hidden"===t(e).css("overflow"))return!1;n=n&&"left"===n?"scrollLeft":"scrollTop";var i=!1;return e[n]>0||(e[n]=1,i=e[n]>0,e[n]=0,i)},isOverAxis:function(t,e,n){return t>e&&t<e+n},isOver:function(e,n,i,r,o,s){return t.ui.isOverAxis(e,i,o)&&t.ui.isOverAxis(n,r,s)}}))}(jQuery),function(t,e){var n,i;t.cleanData?(n=t.cleanData,t.cleanData=function(e){for(var i,r=0;null!=(i=e[r]);r++)t(i).triggerHandler("remove");n(e)}):(i=t.fn.remove,t.fn.remove=function(e,n){return this.each(function(){return n||e&&!t.filter(e,[this]).length||t("*",this).add([this]).each(function(){t(this).triggerHandler("remove")}),i.call(t(this),e,n)})}),t.widget=function(e,n,i){var r,o=e.split(".")[0];e=e.split(".")[1],r=o+"-"+e,i||(i=n,n=t.Widget),t.expr[":"][r]=function(n){return!!t.data(n,e)},t[o]=t[o]||{},t[o][e]=function(t,e){arguments.length&&this._createWidget(t,e)},n=new n,n.options=t.extend(!0,{},n.options),t[o][e].prototype=t.extend(!0,n,{namespace:o,widgetName:e,widgetEventPrefix:t[o][e].prototype.widgetEventPrefix||e,widgetBaseClass:r},i),t.widget.bridge(e,t[o][e])},t.widget.bridge=function(n,i){t.fn[n]=function(r){var o="string"==typeof r,s=Array.prototype.slice.call(arguments,1),a=this;return r=!o&&s.length?t.extend.apply(null,[!0,r].concat(s)):r,o&&"_"===r.charAt(0)?a:(o?this.each(function(){var i=t.data(this,n),o=i&&t.isFunction(i[r])?i[r].apply(i,s):i;if(o!==i&&o!==e)return a=o,!1}):this.each(function(){var e=t.data(this,n);e?e.option(r||{})._init():t.data(this,n,new i(r,this))}),a)}},t.Widget=function(t,e){arguments.length&&this._createWidget(t,e)},t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:!1},_createWidget:function(e,n){t.data(n,this.widgetName,this),this.element=t(n),this.options=t.extend(!0,{},this.options,this._getCreateOptions(),e);var i=this;this.element.bind("remove."+this.widgetName,function(){i.destroy()}),this._create(),this._trigger("create"),this._init()},_getCreateOptions:function(){return t.metadata&&t.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName),this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(n,i){var r=n;if(0===arguments.length)return t.extend({},this.options);if("string"==typeof n){if(i===e)return this.options[n];r={},r[n]=i}return this._setOptions(r),this},_setOptions:function(e){var n=this;return t.each(e,function(t,e){n._setOption(t,e)}),this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&this.widget()[e?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",e),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_trigger:function(e,n,i){var r,o=this.options[e];if(n=t.Event(n),n.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i=i||{},n.originalEvent)for(e=t.event.props.length;e;)r=t.event.props[--e],n[r]=n.originalEvent[r];return this.element.trigger(n,i),!(t.isFunction(o)&&o.call(this.element[0],n,i)===!1||n.isDefaultPrevented())}}}(jQuery),function(t){t.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(n){if(!0===t.data(n.target,e.widgetName+".preventClickEvent"))return t.removeData(n.target,e.widgetName+".preventClickEvent"),n.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(e){if(e.originalEvent=e.originalEvent||{},!e.originalEvent.mouseHandled){this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var n=this,i=1==e.which,r="string"==typeof this.options.cancel&&t(e.target).parents().add(e.target).filter(this.options.cancel).length;return!(i&&!r&&this._mouseCapture(e))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){n.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return n._mouseMove(t)},this._mouseUpDelegate=function(t){return n._mouseUp(t)},t(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),e.originalEvent.mouseHandled=!0))}},_mouseMove:function(e){return!t.browser.msie||document.documentMode>=9||e.button?this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&((this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1)?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted):this._mouseUp(e)},_mouseUp:function(e){return t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target==this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(jQuery),function(t){t.ui=t.ui||{};var e=/left|center|right/,n=/top|center|bottom/,i=t.fn.position,r=t.fn.offset;t.fn.position=function(r){if(!r||!r.of)return i.apply(this,arguments);r=t.extend({},r);var o,s,a,l=t(r.of),u=l[0],c=(r.collision||"flip").split(" "),f=r.offset?r.offset.split(" "):[0,0];return 9===u.nodeType?(o=l.width(),s=l.height(),a={top:0,left:0}):u.setTimeout?(o=l.width(),s=l.height(),a={top:l.scrollTop(),left:l.scrollLeft()}):u.preventDefault?(r.at="left top",o=s=0,a={top:r.of.pageY,left:r.of.pageX}):(o=l.outerWidth(),s=l.outerHeight(),a=l.offset()),t.each(["my","at"],function(){var t=(r[this]||"").split(" ");1===t.length&&(t=e.test(t[0])?t.concat(["center"]):n.test(t[0])?["center"].concat(t):["center","center"]),t[0]=e.test(t[0])?t[0]:"center",t[1]=n.test(t[1])?t[1]:"center",r[this]=t}),1===c.length&&(c[1]=c[0]),f[0]=parseInt(f[0],10)||0,1===f.length&&(f[1]=f[0]),f[1]=parseInt(f[1],10)||0,"right"===r.at[0]?a.left+=o:"center"===r.at[0]&&(a.left+=o/2),"bottom"===r.at[1]?a.top+=s:"center"===r.at[1]&&(a.top+=s/2),a.left+=f[0],a.top+=f[1],this.each(function(){var e,n=t(this),i=n.outerWidth(),l=n.outerHeight(),u=parseInt(t.curCSS(this,"marginLeft",!0))||0,h=parseInt(t.curCSS(this,"marginTop",!0))||0,d=i+u+(parseInt(t.curCSS(this,"marginRight",!0))||0),p=l+h+(parseInt(t.curCSS(this,"marginBottom",!0))||0),g=t.extend({},a);"right"===r.my[0]?g.left-=i:"center"===r.my[0]&&(g.left-=i/2),"bottom"===r.my[1]?g.top-=l:"center"===r.my[1]&&(g.top-=l/2),g.left=Math.round(g.left),g.top=Math.round(g.top),e={left:g.left-u,top:g.top-h},t.each(["left","top"],function(n,a){t.ui.position[c[n]]&&t.ui.position[c[n]][a](g,{targetWidth:o,targetHeight:s,elemWidth:i,elemHeight:l,collisionPosition:e,collisionWidth:d,collisionHeight:p,offset:f,my:r.my,at:r.at})}),t.fn.bgiframe&&n.bgiframe(),n.offset(t.extend(g,{using:r.using}))})},t.ui.position={fit:{left:function(e,n){var i=t(window);i=n.collisionPosition.left+n.collisionWidth-i.width()-i.scrollLeft(),e.left=i>0?e.left-i:Math.max(e.left-n.collisionPosition.left,e.left)},top:function(e,n){var i=t(window);i=n.collisionPosition.top+n.collisionHeight-i.height()-i.scrollTop(),e.top=i>0?e.top-i:Math.max(e.top-n.collisionPosition.top,e.top)}},flip:{left:function(e,n){var i,r,o,s;"center"!==n.at[0]&&(i=t(window),i=n.collisionPosition.left+n.collisionWidth-i.width()-i.scrollLeft(),r="left"===n.my[0]?-n.elemWidth:"right"===n.my[0]?n.elemWidth:0,o="left"===n.at[0]?n.targetWidth:-n.targetWidth,s=-2*n.offset[0],e.left+=n.collisionPosition.left<0?r+o+s:i>0?r+o+s:0)},top:function(e,n){var i,r,o,s;"center"!==n.at[1]&&(i=t(window),i=n.collisionPosition.top+n.collisionHeight-i.height()-i.scrollTop(),r="top"===n.my[1]?-n.elemHeight:"bottom"===n.my[1]?n.elemHeight:0,o="top"===n.at[1]?n.targetHeight:-n.targetHeight,s=-2*n.offset[1],e.top+=n.collisionPosition.top<0?r+o+s:i>0?r+o+s:0)}}},t.offset.setOffset||(t.offset.setOffset=function(e,n){/static/.test(t.curCSS(e,"position"))&&(e.style.position="relative");var i=t(e),r=i.offset(),o=parseInt(t.curCSS(e,"top",!0),10)||0,s=parseInt(t.curCSS(e,"left",!0),10)||0;r={top:n.top-r.top+o,left:n.left-r.left+s},"using"in n?n.using.call(e,r):i.css(r)},t.fn.offset=function(e){var n=this[0];return n&&n.ownerDocument?e?this.each(function(){t.offset.setOffset(this,e)}):r.call(this):null})}(jQuery),function(t){t.widget("ui.draggable",t.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){"original"!=this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},destroy:function(){if(this.element.data("draggable"))return this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy(),this},_mouseCapture:function(e){var n=this.options;return!(this.helper||n.disabled||t(e.target).is(".ui-resizable-handle"))&&(this.handle=this._getHandle(e),!!this.handle)},_mouseStart:function(e){var n=this.options;return this.helper=this._createHelper(e),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),n.containment&&this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.helper.addClass("ui-draggable-dragging"),this._mouseDrag(e,!0),!0)},_mouseDrag:function(e,n){if(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),!n){if(n=this._uiHash(),this._trigger("drag",e,n)===!1)return this._mouseUp({}),!1;this.position=n.position}return this.options.axis&&"y"==this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"==this.options.axis||(this.helper[0].style.top=this.position.top+"px"),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var n,i=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(i=t.ui.ddmanager.drop(this,e)),this.dropped&&(i=this.dropped,this.dropped=!1),!!(this.element[0]&&this.element[0].parentNode||"original"!=this.options.helper)&&("invalid"==this.options.revert&&!i||"valid"==this.options.revert&&i||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?(n=this,t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){n._trigger("stop",e)!==!1&&n._clear()})):this._trigger("stop",e)!==!1&&this._clear(),!1)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){var n=!this.options.handle||!t(this.options.handle,this.element).length;return t(this.options.handle,this.element).find("*").andSelf().each(function(){this==e.target&&(n=!0)}),n},_createHelper:function(e){var n=this.options;return e=t.isFunction(n.helper)?t(n.helper.apply(this.element[0],[e])):"clone"==n.helper?this.element.clone():this.element,e.parents("body").length||e.appendTo("parent"==n.appendTo?this.element[0].parentNode:n.appendTo),e[0]!=this.element[0]&&!/(fixed|absolute)/.test(e.css("position"))&&e.css("position","absolute"),e},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"==this.cssPosition&&this.scrollParent[0]!=document&&t.ui.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&t.browser.msie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"==this.cssPosition){var t=this.element.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,n,i=this.options;"parent"==i.containment&&(i.containment=this.helper[0].parentNode),"document"!=i.containment&&"window"!=i.containment||(this.containment=[("document"==i.containment?0:t(window).scrollLeft())-this.offset.relative.left-this.offset.parent.left,("document"==i.containment?0:t(window).scrollTop())-this.offset.relative.top-this.offset.parent.top,("document"==i.containment?0:t(window).scrollLeft())+t("document"==i.containment?document:window).width()-this.helperProportions.width-this.margins.left,("document"==i.containment?0:t(window).scrollTop())+(t("document"==i.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||i.containment.constructor==Array?i.containment.constructor==Array&&(this.containment=i.containment):(e=t(i.containment)[0],e&&(i=t(i.containment).offset(),n="hidden"!=t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0),i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0),i.left+(n?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,i.top+(n?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom]))},_convertPositionTo:function(e,n){n||(n=this.position),e="absolute"==e?1:-1;var i="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&t.ui.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(i[0].tagName);return{top:n.top+this.offset.relative.top*e+this.offset.parent.top*e-(t.browser.safari&&t.browser.version<526&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollTop():r?0:i.scrollTop())*e),left:n.left+this.offset.relative.left*e+this.offset.parent.left*e-(t.browser.safari&&t.browser.version<526&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():r?0:i.scrollLeft())*e)}},_generatePosition:function(e){var n=this.options,i="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&t.ui.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(i[0].tagName),o=e.pageX,s=e.pageY;return this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(o=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(s=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(o=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(s=this.containment[3]+this.offset.click.top)),n.grid&&(s=this.originalPageY+Math.round((s-this.originalPageY)/n.grid[1])*n.grid[1],s=this.containment&&(s-this.offset.click.top<this.containment[1]||s-this.offset.click.top>this.containment[3])?s-this.offset.click.top<this.containment[1]?s+n.grid[1]:s-n.grid[1]:s,o=this.originalPageX+Math.round((o-this.originalPageX)/n.grid[0])*n.grid[0],o=this.containment&&(o-this.offset.click.left<this.containment[0]||o-this.offset.click.left>this.containment[2])?o-this.offset.click.left<this.containment[0]?o+n.grid[0]:o-n.grid[0]:o)),{top:s-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(t.browser.safari&&t.browser.version<526&&"fixed"==this.cssPosition?0:"fixed"==this.cssPosition?-this.scrollParent.scrollTop():r?0:i.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(t.browser.safari&&t.browser.version<526&&"fixed"==this.cssPosition?0:"fixed"==this.cssPosition?-this.scrollParent.scrollLeft():r?0:i.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(e,n,i){return i=i||this._uiHash(),t.ui.plugin.call(this,e,[n,i]),"drag"==e&&(this.positionAbs=this._convertPositionTo("absolute")),t.Widget.prototype._trigger.call(this,e,n,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.extend(t.ui.draggable,{version:"1.8.11"}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,n){var i=t(this).data("draggable"),r=i.options,o=t.extend({},n,{item:i.element});i.sortables=[],t(r.connectToSortable).each(function(){var n=t.data(this,"sortable");n&&!n.options.disabled&&(i.sortables.push({instance:n,shouldRevert:n.options.revert}),n.refreshPositions(),n._trigger("activate",e,o))})},stop:function(e,n){var i=t(this).data("draggable"),r=t.extend({},n,{item:i.element});t.each(i.sortables,function(){this.instance.isOver?(this.instance.isOver=0,i.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=!0),this.instance._mouseStop(e),this.instance.options.helper=this.instance.options._helper,"original"==i.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",e,r))})},drag:function(e,n){var i=t(this).data("draggable"),r=this;t.each(i.sortables,function(){this.instance.positionAbs=i.positionAbs,this.instance.helperProportions=i.helperProportions,this.instance.offset.click=i.offset.click,this.instance._intersectsWith(this.instance.containerCache)?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=t(r).clone().appendTo(this.instance.element).data("sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return n.helper[0]},e.target=this.instance.currentItem[0],this.instance._mouseCapture(e,!0),this.instance._mouseStart(e,!0,!0),this.instance.offset.click.top=i.offset.click.top,this.instance.offset.click.left=i.offset.click.left,this.instance.offset.parent.left-=i.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=i.offset.parent.top-this.instance.offset.parent.top,i._trigger("toSortable",e),i.dropped=this.instance.element,i.currentItem=i.element,this.instance.fromOutside=i),this.instance.currentItem&&this.instance._mouseDrag(e)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",e,this.instance._uiHash(this.instance)),this.instance._mouseStop(e,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),i._trigger("fromSortable",e),i.dropped=!1)})}}),t.ui.plugin.add("draggable","cursor",{start:function(){var e=t("body"),n=t(this).data("draggable").options;e.css("cursor")&&(n._cursor=e.css("cursor")),e.css("cursor",n.cursor)},stop:function(){var e=t(this).data("draggable").options;e._cursor&&t("body").css("cursor",e._cursor)}}),t.ui.plugin.add("draggable","iframeFix",{start:function(){var e=t(this).data("draggable").options;t(e.iframeFix===!0?"iframe":e.iframeFix).each(function(){t('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(t(this).offset()).appendTo("body")})},stop:function(){t("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}}),t.ui.plugin.add("draggable","opacity",{start:function(e,n){e=t(n.helper),n=t(this).data("draggable").options,e.css("opacity")&&(n._opacity=e.css("opacity")),e.css("opacity",n.opacity)},stop:function(e,n){e=t(this).data("draggable").options,e._opacity&&t(n.helper).css("opacity",e._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(){var e=t(this).data("draggable");e.scrollParent[0]!=document&&"HTML"!=e.scrollParent[0].tagName&&(e.overflowOffset=e.scrollParent.offset())},drag:function(e){var n=t(this).data("draggable"),i=n.options,r=!1;n.scrollParent[0]!=document&&"HTML"!=n.scrollParent[0].tagName?(i.axis&&"x"==i.axis||(n.overflowOffset.top+n.scrollParent[0].offsetHeight-e.pageY<i.scrollSensitivity?n.scrollParent[0].scrollTop=r=n.scrollParent[0].scrollTop+i.scrollSpeed:e.pageY-n.overflowOffset.top<i.scrollSensitivity&&(n.scrollParent[0].scrollTop=r=n.scrollParent[0].scrollTop-i.scrollSpeed)),i.axis&&"y"==i.axis||(n.overflowOffset.left+n.scrollParent[0].offsetWidth-e.pageX<i.scrollSensitivity?n.scrollParent[0].scrollLeft=r=n.scrollParent[0].scrollLeft+i.scrollSpeed:e.pageX-n.overflowOffset.left<i.scrollSensitivity&&(n.scrollParent[0].scrollLeft=r=n.scrollParent[0].scrollLeft-i.scrollSpeed))):(i.axis&&"x"==i.axis||(e.pageY-t(document).scrollTop()<i.scrollSensitivity?r=t(document).scrollTop(t(document).scrollTop()-i.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<i.scrollSensitivity&&(r=t(document).scrollTop(t(document).scrollTop()+i.scrollSpeed))),i.axis&&"y"==i.axis||(e.pageX-t(document).scrollLeft()<i.scrollSensitivity?r=t(document).scrollLeft(t(document).scrollLeft()-i.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<i.scrollSensitivity&&(r=t(document).scrollLeft(t(document).scrollLeft()+i.scrollSpeed)))),r!==!1&&t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(n,e)}}),t.ui.plugin.add("draggable","snap",{start:function(){var e=t(this).data("draggable"),n=e.options;e.snapElements=[],t(n.snap.constructor!=String?n.snap.items||":data(draggable)":n.snap).each(function(){var n=t(this),i=n.offset();this!=e.element[0]&&e.snapElements.push({item:this,width:n.outerWidth(),height:n.outerHeight(),top:i.top,left:i.left})})},drag:function(e,n){var i,r,o,s,a,l,u,c,f,h,d,p,g,m,v,y,b;for(i=t(this).data("draggable"),r=i.options,o=r.snapTolerance,s=n.offset.left,a=s+i.helperProportions.width,l=n.offset.top,u=l+i.helperProportions.height,
|
||
c=i.snapElements.length-1;c>=0;c--)f=i.snapElements[c].left,h=f+i.snapElements[c].width,d=i.snapElements[c].top,p=d+i.snapElements[c].height,f-o<s&&s<h+o&&d-o<l&&l<p+o||f-o<s&&s<h+o&&d-o<u&&u<p+o||f-o<a&&a<h+o&&d-o<l&&l<p+o||f-o<a&&a<h+o&&d-o<u&&u<p+o?("inner"!=r.snapMode&&(g=Math.abs(d-u)<=o,m=Math.abs(p-l)<=o,v=Math.abs(f-a)<=o,y=Math.abs(h-s)<=o,g&&(n.position.top=i._convertPositionTo("relative",{top:d-i.helperProportions.height,left:0}).top-i.margins.top),m&&(n.position.top=i._convertPositionTo("relative",{top:p,left:0}).top-i.margins.top),v&&(n.position.left=i._convertPositionTo("relative",{top:0,left:f-i.helperProportions.width}).left-i.margins.left),y&&(n.position.left=i._convertPositionTo("relative",{top:0,left:h}).left-i.margins.left)),b=g||m||v||y,"outer"!=r.snapMode&&(g=Math.abs(d-l)<=o,m=Math.abs(p-u)<=o,v=Math.abs(f-s)<=o,y=Math.abs(h-a)<=o,g&&(n.position.top=i._convertPositionTo("relative",{top:d,left:0}).top-i.margins.top),m&&(n.position.top=i._convertPositionTo("relative",{top:p-i.helperProportions.height,left:0}).top-i.margins.top),v&&(n.position.left=i._convertPositionTo("relative",{top:0,left:f}).left-i.margins.left),y&&(n.position.left=i._convertPositionTo("relative",{top:0,left:h-i.helperProportions.width}).left-i.margins.left)),!i.snapElements[c].snapping&&(g||m||v||y||b)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,e,t.extend(i._uiHash(),{snapItem:i.snapElements[c].item})),i.snapElements[c].snapping=g||m||v||y||b):(i.snapElements[c].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,e,t.extend(i._uiHash(),{snapItem:i.snapElements[c].item})),i.snapElements[c].snapping=!1)}}),t.ui.plugin.add("draggable","stack",{start:function(){var e,n=t(this).data("draggable").options;n=t.makeArray(t(n.stack)).sort(function(e,n){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(n).css("zIndex"),10)||0)}),n.length&&(e=parseInt(n[0].style.zIndex)||0,t(n).each(function(t){this.style.zIndex=e+t}),this[0].style.zIndex=e+n.length)}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,n){e=t(n.helper),n=t(this).data("draggable").options,e.css("zIndex")&&(n._zIndex=e.css("zIndex")),e.css("zIndex",n.zIndex)},stop:function(e,n){e=t(this).data("draggable").options,e._zIndex&&t(n.helper).css("zIndex",e._zIndex)}})}(jQuery),function(t){t.widget("ui.resizable",t.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:function(){var e,n,i,r,o=this,s=this.options;if(this.element.addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!s.aspectRatio,aspectRatio:s.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:s.helper||s.ghost||s.animate?s.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(/relative/.test(this.element.css("position"))&&t.browser.opera&&this.element.css({position:"relative",top:"auto",left:"auto"}),this.element.wrap(t('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=s.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor==String)for("all"==this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),e=this.handles.split(","),this.handles={},n=0;n<e.length;n++)i=t.trim(e[n]),r=t('<div class="ui-resizable-handle ui-resizable-'+i+'"></div>'),/sw|se|ne|nw/.test(i)&&r.css({zIndex:++s.zIndex}),"se"==i&&r.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[i]=".ui-resizable-"+i,this.element.append(r);this._renderAxis=function(e){var n,i,r;e=e||this.element;for(n in this.handles)this.handles[n].constructor==String&&(this.handles[n]=t(this.handles[n],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(i=t(this.handles[n],this.element),r=0,r=/sw|ne|nw|se|n|s/.test(n)?i.outerHeight():i.outerWidth(),i="padding"+(/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"),e.css(i,r),this._proportionallyResize()),t(this.handles[n])},this._renderAxis(this.element),this._handles=t(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){if(!o.resizing){if(this.className)var t=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);o.axis=t&&t[1]?t[1]:"se"}}),s.autoHide&&(this._handles.hide(),t(this.element).addClass("ui-resizable-autohide").hover(function(){t(this).removeClass("ui-resizable-autohide"),o._handles.show()},function(){o.resizing||(t(this).addClass("ui-resizable-autohide"),o._handles.hide())})),this._mouseInit()},destroy:function(){var e,n;return this._mouseDestroy(),e=function(e){t(e).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()},this.elementIsWrapper&&(e(this.element),n=this.element,n.after(this.originalElement.css({position:n.css("position"),width:n.outerWidth(),height:n.outerHeight(),top:n.css("top"),left:n.css("left")})).remove()),this.originalElement.css("resize",this.originalResizeStyle),e(this.originalElement),this},_mouseCapture:function(e){var n,i=!1;for(n in this.handles)t(this.handles[n])[0]==e.target&&(i=!0);return!this.options.disabled&&i},_mouseStart:function(n){var i,r=this.options,o=this.element.position(),s=this.element;return this.resizing=!0,this.documentScroll={top:t(document).scrollTop(),left:t(document).scrollLeft()},(s.is(".ui-draggable")||/absolute/.test(s.css("position")))&&s.css({position:"absolute",top:o.top,left:o.left}),t.browser.opera&&/relative/.test(s.css("position"))&&s.css({position:"relative",top:"auto",left:"auto"}),this._renderProxy(),o=e(this.helper.css("left")),i=e(this.helper.css("top")),r.containment&&(o+=t(r.containment).scrollLeft()||0,i+=t(r.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:o,top:i},this.size=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalPosition={left:o,top:i},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalMousePosition={left:n.pageX,top:n.pageY},this.aspectRatio="number"==typeof r.aspectRatio?r.aspectRatio:this.originalSize.width/this.originalSize.height||1,r=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"==r?this.axis+"-resize":r),s.addClass("ui-resizable-resizing"),this._propagate("start",n),!0},_mouseDrag:function(t){var e=this.helper,n=this.originalMousePosition,i=this._change[this.axis];return!!i&&(n=i.apply(this,[t,t.pageX-n.left||0,t.pageY-n.top||0]),(this._aspectRatio||t.shiftKey)&&(n=this._updateRatio(n,t)),n=this._respectSize(n,t),this._propagate("resize",t),e.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(n),this._trigger("resize",t,this.ui()),!1)},_mouseStop:function(e){var n,i,r,o,s;return this.resizing=!1,n=this.options,i=this,this._helper&&(r=this._proportionallyResizeElements,o=r.length&&/textarea/i.test(r[0].nodeName),r=o&&t.ui.hasScroll(r[0],"left")?0:i.sizeDiff.height,o=o?0:i.sizeDiff.width,o={width:i.helper.width()-o,height:i.helper.height()-r},r=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,s=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null,n.animate||this.element.css(t.extend(o,{top:s,left:r})),i.helper.height(i.size.height),i.helper.width(i.size.width),this._helper&&!n.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updateCache:function(t){this.offset=this.helper.offset(),n(t.left)&&(this.position.left=t.left),n(t.top)&&(this.position.top=t.top),n(t.height)&&(this.size.height=t.height),n(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,n=this.size,i=this.axis;return t.height?t.width=n.height*this.aspectRatio:t.width&&(t.height=n.width/this.aspectRatio),"sw"==i&&(t.left=e.left+(n.width-t.width),t.top=null),"nw"==i&&(t.top=e.top+(n.height-t.height),t.left=e.left+(n.width-t.width)),t},_respectSize:function(t){var e,i,r,o=this.options,s=this.axis,a=n(t.width)&&o.maxWidth&&o.maxWidth<t.width,l=n(t.height)&&o.maxHeight&&o.maxHeight<t.height,u=n(t.width)&&o.minWidth&&o.minWidth>t.width,c=n(t.height)&&o.minHeight&&o.minHeight>t.height;return u&&(t.width=o.minWidth),c&&(t.height=o.minHeight),a&&(t.width=o.maxWidth),l&&(t.height=o.maxHeight),e=this.originalPosition.left+this.originalSize.width,i=this.position.top+this.size.height,r=/sw|nw|w/.test(s),s=/nw|ne|n/.test(s),u&&r&&(t.left=e-o.minWidth),a&&r&&(t.left=e-o.maxWidth),c&&s&&(t.top=i-o.minHeight),l&&s&&(t.top=i-o.maxHeight),(o=!t.width&&!t.height)&&!t.left&&t.top?t.top=null:o&&!t.top&&t.left&&(t.left=null),t},_proportionallyResize:function(){var e,n,i,r,o;if(this._proportionallyResizeElements.length)for(e=this.helper||this.element,n=0;n<this._proportionallyResizeElements.length;n++)i=this._proportionallyResizeElements[n],this.borderDif||(r=[i.css("borderTopWidth"),i.css("borderRightWidth"),i.css("borderBottomWidth"),i.css("borderLeftWidth")],o=[i.css("paddingTop"),i.css("paddingRight"),i.css("paddingBottom"),i.css("paddingLeft")],this.borderDif=t.map(r,function(t,e){return t=parseInt(t,10)||0,e=parseInt(o[e],10)||0,t+e})),t.browser.msie&&(t(e).is(":hidden")||t(e).parents(":hidden").length)||i.css({height:e.height()-this.borderDif[0]-this.borderDif[2]||0,width:e.width()-this.borderDif[1]-this.borderDif[3]||0})},_renderProxy:function(){var e,n,i=this.options;this.elementOffset=this.element.offset(),this._helper?(this.helper=this.helper||t('<div style="overflow:hidden;"></div>'),e=t.browser.msie&&t.browser.version<7,n=e?1:0,e=e?2:-1,this.helper.addClass(this._helper).css({width:this.element.outerWidth()+e,height:this.element.outerHeight()+e,position:"absolute",left:this.elementOffset.left-n+"px",top:this.elementOffset.top-n+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){return{left:this.originalPosition.left+e,width:this.originalSize.width-e}},n:function(t,e,n){return{top:this.originalPosition.top+n,height:this.originalSize.height-n}},s:function(t,e,n){return{height:this.originalSize.height+n}},se:function(e,n,i){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,n,i]))},sw:function(e,n,i){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,n,i]))},ne:function(e,n,i){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,n,i]))},nw:function(e,n,i){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,n,i]))}},_propagate:function(e,n){t.ui.plugin.call(this,e,[n,this.ui()]),"resize"!=e&&this._trigger(e,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.extend(t.ui.resizable,{version:"1.8.11"}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).data("resizable").options,n=function(e){t(e).each(function(){var e=t(this);e.data("resizable-alsoresize",{width:parseInt(e.width(),10),height:parseInt(e.height(),10),left:parseInt(e.css("left"),10),top:parseInt(e.css("top"),10),position:e.css("position")})})};"object"!=typeof e.alsoResize||e.alsoResize.parentNode?n(e.alsoResize):e.alsoResize.length?(e.alsoResize=e.alsoResize[0],n(e.alsoResize)):t.each(e.alsoResize,function(t){n(t)})},resize:function(e,n){var i,r,o,s,a=t(this).data("resizable");e=a.options,i=a.originalSize,r=a.originalPosition,o={height:a.size.height-i.height||0,width:a.size.width-i.width||0,top:a.position.top-r.top||0,left:a.position.left-r.left||0},s=function(e,i){t(e).each(function(){var e=t(this),r=t(this).data("resizable-alsoresize"),s={},l=i&&i.length?i:e.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(l,function(t,e){(t=(r[e]||0)+(o[e]||0))&&t>=0&&(s[e]=t||null)}),t.browser.opera&&/relative/.test(e.css("position"))&&(a._revertToRelativePosition=!0,e.css({position:"absolute",top:"auto",left:"auto"})),e.css(s)})},"object"!=typeof e.alsoResize||e.alsoResize.nodeType?s(e.alsoResize):t.each(e.alsoResize,function(t,e){s(t,e)})},stop:function(){var e=t(this).data("resizable"),n=e.options,i=function(e){t(e).each(function(){var e=t(this);e.css({position:e.data("resizable-alsoresize").position})})};e._revertToRelativePosition&&(e._revertToRelativePosition=!1,"object"!=typeof n.alsoResize||n.alsoResize.nodeType?i(n.alsoResize):t.each(n.alsoResize,function(t){i(t)})),t(this).removeData("resizable-alsoresize")}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var n,i=t(this).data("resizable"),r=i.options,o=i._proportionallyResizeElements,s=o.length&&/textarea/i.test(o[0].nodeName),a=s&&t.ui.hasScroll(o[0],"left")?0:i.sizeDiff.height;s={width:i.size.width-(s?0:i.sizeDiff.width),height:i.size.height-a},a=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,n=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null,i.element.animate(t.extend(s,n&&a?{top:n,left:a}:{}),{duration:r.animateDuration,easing:r.animateEasing,step:function(){var n={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};o&&o.length&&t(o[0]).css({width:n.width,height:n.height}),i._updateCache(n),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var n,i,r,o,s=t(this).data("resizable"),a=s.element,l=s.options.containment;(a=l instanceof t?l.get(0):/parent/.test(l)?a.parent().get(0):l)&&(s.containerElement=t(a),/document/.test(l)||l==document?(s.containerOffset={left:0,top:0},s.containerPosition={left:0,top:0},s.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(n=t(a),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,r){i[t]=e(n.css("padding"+r))}),s.containerOffset=n.offset(),s.containerPosition=n.position(),s.containerSize={height:n.innerHeight()-i[3],width:n.innerWidth()-i[1]},l=s.containerOffset,r=s.containerSize.height,o=s.containerSize.width,o=t.ui.hasScroll(a,"left")?a.scrollWidth:o,r=t.ui.hasScroll(a)?a.scrollHeight:r,s.parentData={element:a,left:l.left,top:l.top,width:o,height:r}))},resize:function(e){var n,i,r=t(this).data("resizable"),o=r.options,s=r.containerOffset,a=r.position;e=r._aspectRatio||e.shiftKey,n={top:0,left:0},i=r.containerElement,i[0]!=document&&/static/.test(i.css("position"))&&(n=s),a.left<(r._helper?s.left:0)&&(r.size.width+=r._helper?r.position.left-s.left:r.position.left-n.left,e&&(r.size.height=r.size.width/o.aspectRatio),r.position.left=o.helper?s.left:0),a.top<(r._helper?s.top:0)&&(r.size.height+=r._helper?r.position.top-s.top:r.position.top,e&&(r.size.width=r.size.height*o.aspectRatio),r.position.top=r._helper?s.top:0),r.offset.left=r.parentData.left+r.position.left,r.offset.top=r.parentData.top+r.position.top,o=Math.abs((r._helper?r.offset.left-n.left:r.offset.left-n.left)+r.sizeDiff.width),s=Math.abs((r._helper?r.offset.top-n.top:r.offset.top-s.top)+r.sizeDiff.height),a=r.containerElement.get(0)==r.element.parent().get(0),n=/relative|absolute/.test(r.containerElement.css("position")),a&&n&&(o-=r.parentData.left),o+r.size.width>=r.parentData.width&&(r.size.width=r.parentData.width-o,e&&(r.size.height=r.size.width/r.aspectRatio)),s+r.size.height>=r.parentData.height&&(r.size.height=r.parentData.height-s,e&&(r.size.width=r.size.height*r.aspectRatio))},stop:function(){var e=t(this).data("resizable"),n=e.options,i=e.containerOffset,r=e.containerPosition,o=e.containerElement,s=t(e.helper),a=s.offset(),l=s.outerWidth()-e.sizeDiff.width;s=s.outerHeight()-e.sizeDiff.height,e._helper&&!n.animate&&/relative/.test(o.css("position"))&&t(this).css({left:a.left-r.left-i.left,width:l,height:s}),e._helper&&!n.animate&&/static/.test(o.css("position"))&&t(this).css({left:a.left-r.left-i.left,width:l,height:s})}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).data("resizable"),n=e.options,i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof n.ghost?n.ghost:""),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).data("resizable");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).data("resizable");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,n=t(this).data("resizable"),i=n.options,r=n.size,o=n.originalSize,s=n.originalPosition,a=n.axis;i.grid="number"==typeof i.grid?[i.grid,i.grid]:i.grid,e=Math.round((r.width-o.width)/(i.grid[0]||1))*(i.grid[0]||1),i=Math.round((r.height-o.height)/(i.grid[1]||1))*(i.grid[1]||1),/^(se|s|e)$/.test(a)?(n.size.width=o.width+e,n.size.height=o.height+i):/^(ne)$/.test(a)?(n.size.width=o.width+e,n.size.height=o.height+i,n.position.top=s.top-i):(/^(sw)$/.test(a)?(n.size.width=o.width+e,n.size.height=o.height+i):(n.size.width=o.width+e,n.size.height=o.height+i,n.position.top=s.top-i),n.position.left=s.left-e)}});var e=function(t){return parseInt(t,10)||0},n=function(t){return!isNaN(parseInt(t,10))}}(jQuery),function(t){t.widget("ui.sortable",t.ui.mouse,{widgetEventPrefix:"sort",options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3},_create:function(){this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=!!this.items.length&&(/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display"))),this.offset=this.element.offset(),this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable"),this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData("sortable-item");return this},_setOption:function(e,n){"disabled"===e?(this.options[e]=n,this.widget()[n?"addClass":"removeClass"]("ui-sortable-disabled")):t.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(e,n){var i,r,o;return!this.reverting&&(!this.options.disabled&&"static"!=this.options.type&&(this._refreshItems(e),i=null,r=this,t(e.target).parents().each(function(){if(t.data(this,"sortable-item")==r)return i=t(this),!1}),t.data(e.target,"sortable-item")==r&&(i=t(e.target)),!!i&&(!(this.options.handle&&!n&&(o=!1,t(this.options.handle,i).find("*").andSelf().each(function(){this==e.target&&(o=!0)}),!o))&&(this.currentItem=i,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(e,n,i){n=this.options;var r=this;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),n.containment&&this._setContainment(),n.cursor&&(t("body").css("cursor")&&(this._storedCursor=t("body").css("cursor")),t("body").css("cursor",n.cursor)),n.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",n.opacity)),n.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",n.zIndex)),this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(i=this.containers.length-1;i>=0;i--)this.containers[i]._trigger("activate",e,r._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var n,i,r,o;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(n=this.options,i=!1,this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<n.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+n.scrollSpeed:e.pageY-this.overflowOffset.top<n.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-n.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<n.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+n.scrollSpeed:e.pageX-this.overflowOffset.left<n.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-n.scrollSpeed)):(e.pageY-t(document).scrollTop()<n.scrollSensitivity?i=t(document).scrollTop(t(document).scrollTop()-n.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<n.scrollSensitivity&&(i=t(document).scrollTop(t(document).scrollTop()+n.scrollSpeed)),e.pageX-t(document).scrollLeft()<n.scrollSensitivity?i=t(document).scrollLeft(t(document).scrollLeft()-n.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<n.scrollSensitivity&&(i=t(document).scrollLeft(t(document).scrollLeft()+n.scrollSpeed))),i!==!1&&t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"==this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"==this.options.axis||(this.helper[0].style.top=this.position.top+"px"),n=this.items.length-1;n>=0;n--)if(i=this.items[n],r=i.item[0],o=this._intersectsWithPointer(i),o&&!(r==this.currentItem[0]||this.placeholder[1==o?"next":"prev"]()[0]==r||t.ui.contains(this.placeholder[0],r)||"semi-dynamic"==this.options.type&&t.ui.contains(this.element[0],r))){if(this.direction=1==o?"down":"up","pointer"!=this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(e,i),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,n){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var i=this;n=i.placeholder.offset(),i.reverting=!0,t(this.helper).animate({left:n.left-this.offset.parent.left-i.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:n.top-this.offset.parent.top-i.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){i._clear(e)})}else this._clear(e,n);return!1}},cancel:function(){var e,n=this;if(this.dragging)for(this._mouseUp({target:null}),"original"==this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show(),e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,n._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,n._uiHash(this)),this.containers[e].containerCache.over=0);return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!=this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var n=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},t(n).each(function(){var n=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[-=_](.+)/);n&&i.push((e.key||n[1]+"[]")+"="+(e.key&&e.expression?n[1]:n[2]))}),!i.length&&e.key&&i.push(e.key+"="),i.join("&")},toArray:function(e){var n=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},n.each(function(){i.push(t(e.item||this).attr(e.attribute||"id")||"")}),i},_intersectsWith:function(t){var e=this.positionAbs.left,n=e+this.helperProportions.width,i=this.positionAbs.top,r=i+this.helperProportions.height,o=t.left,s=o+t.width,a=t.top,l=a+t.height,u=this.offset.click.top,c=this.offset.click.left;return u=i+u>a&&i+u<l&&e+c>o&&e+c<s,"pointer"==this.options.tolerance||this.options.forcePointerForContainers||"pointer"!=this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?u:o<e+this.helperProportions.width/2&&n-this.helperProportions.width/2<s&&a<i+this.helperProportions.height/2&&r-this.helperProportions.height/2<l},_intersectsWithPointer:function(e){var n,i=t.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height);return e=t.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width),i=i&&e,e=this._getDragVerticalDirection(),n=this._getDragHorizontalDirection(),!!i&&(this.floating?n&&"right"==n||"down"==e?2:1:e&&("down"==e?2:1))},_intersectsWithSides:function(e){var n,i,r=t.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height);return e=t.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),n=this._getDragVerticalDirection(),i=this._getDragHorizontalDirection(),this.floating&&i?"right"==i&&e||"left"==i&&!e:n&&("down"==n&&r||"up"==n&&!r)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!=t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!=t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor==String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var n,i,r,o=[],s=[],a=this._connectWith();if(a&&e)for(e=a.length-1;e>=0;e--)for(n=t(a[e]),i=n.length-1;i>=0;i--)r=t.data(n[i],"sortable"),r&&r!=this&&!r.options.disabled&&s.push([t.isFunction(r.options.items)?r.options.items.call(r.element):t(r.options.items,r.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),r]);for(s.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),e=s.length-1;e>=0;e--)s[e][0].each(function(){o.push(this)});return t(o)},_removeCurrentsFromItems:function(){var t,e,n;for(t=this.currentItem.find(":data(sortable-item)"),e=0;e<this.items.length;e++)for(n=0;n<t.length;n++)t[n]==this.items[e].item[0]&&this.items.splice(e,1)},_refreshItems:function(e){var n,i,r,o,s,a,l;if(this.items=[],this.containers=[this],n=this.items,i=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],r=this._connectWith(),r)for(o=r.length-1;o>=0;o--)for(s=t(r[o]),a=s.length-1;a>=0;a--)l=t.data(s[a],"sortable"),l&&l!=this&&!l.options.disabled&&(i.push([t.isFunction(l.options.items)?l.options.items.call(l.element[0],e,{item:this.currentItem}):t(l.options.items,l.element),l]),this.containers.push(l));for(o=i.length-1;o>=0;o--)for(e=i[o][1],r=i[o][0],a=0,s=r.length;a<s;a++)l=t(r[a]),l.data("sortable-item",e),n.push({item:l,instance:e,width:0,height:0,left:0,top:0})},refreshPositions:function(e){var n,i,r;for(this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),n=this.items.length-1;n>=0;n--)i=this.items[n],r=this.options.toleranceElement?t(this.options.toleranceElement,i.item):i.item,e||(i.width=r.outerWidth(),i.height=r.outerHeight()),r=r.offset(),i.left=r.left,i.top=r.top;if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(n=this.containers.length-1;n>=0;n--)r=this.containers[n].element.offset(),this.containers[n].containerCache.left=r.left,this.containers[n].containerCache.top=r.top,this.containers[n].containerCache.width=this.containers[n].element.outerWidth(),this.containers[n].containerCache.height=this.containers[n].element.outerHeight();return this},_createPlaceholder:function(e){var n,i=e||this,r=i.options;r.placeholder&&r.placeholder.constructor!=String||(n=r.placeholder,r.placeholder={element:function(){var e=t(document.createElement(i.currentItem[0].nodeName)).addClass(n||i.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];return n||(e.style.visibility="hidden"),e},update:function(t,e){n&&!r.forcePlaceholderSize||(e.height()||e.height(i.currentItem.innerHeight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),e.width()||e.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10)))}}),i.placeholder=t(r.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),r.placeholder.update(i,i.placeholder)},_contactContainers:function(e){var n,i,r,o,s,a;for(n=null,i=null,r=this.containers.length-1;r>=0;r--)t.ui.contains(this.currentItem[0],this.containers[r].element[0])||(this._intersectsWith(this.containers[r].containerCache)?n&&t.ui.contains(this.containers[r].element[0],n.element[0])||(n=this.containers[r],
|
||
i=r):this.containers[r].containerCache.over&&(this.containers[r]._trigger("out",e,this._uiHash(this)),this.containers[r].containerCache.over=0));if(n)if(1===this.containers.length)this.containers[i]._trigger("over",e,this._uiHash(this)),this.containers[i].containerCache.over=1;else if(this.currentContainer!=this.containers[i]){for(n=1e4,r=null,o=this.positionAbs[this.containers[i].floating?"left":"top"],s=this.items.length-1;s>=0;s--)t.ui.contains(this.containers[i].element[0],this.items[s].item[0])&&(a=this.items[s][this.containers[i].floating?"left":"top"],Math.abs(a-o)<n&&(n=Math.abs(a-o),r=this.items[s]));(r||this.options.dropOnEmpty)&&(this.currentContainer=this.containers[i],r?this._rearrange(e,r,null,!0):this._rearrange(e,null,this.containers[i].element,!0),this._trigger("change",e,this._uiHash()),this.containers[i]._trigger("change",e,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[i]._trigger("over",e,this._uiHash(this)),this.containers[i].containerCache.over=1)}},_createHelper:function(e){var n=this.options;return e=t.isFunction(n.helper)?t(n.helper.apply(this.element[0],[e,this.currentItem])):"clone"==n.helper?this.currentItem.clone():this.currentItem,e.parents("body").length||t("parent"!=n.appendTo?n.appendTo:this.currentItem[0].parentNode)[0].appendChild(e[0]),e[0]==this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(""==e[0].style.width||n.forceHelperSize)&&e.width(this.currentItem.width()),(""==e[0].style.height||n.forceHelperSize)&&e.height(this.currentItem.height()),e},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"==this.cssPosition&&this.scrollParent[0]!=document&&t.ui.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&t.browser.msie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"==this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,n,i=this.options;"parent"==i.containment&&(i.containment=this.helper[0].parentNode),"document"!=i.containment&&"window"!=i.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,t("document"==i.containment?document:window).width()-this.helperProportions.width-this.margins.left,(t("document"==i.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(e=t(i.containment)[0],i=t(i.containment).offset(),n="hidden"!=t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(n?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(n?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,n){n||(n=this.position),e="absolute"==e?1:-1;var i="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&t.ui.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(i[0].tagName);return{top:n.top+this.offset.relative.top*e+this.offset.parent.top*e-(t.browser.safari&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollTop():r?0:i.scrollTop())*e),left:n.left+this.offset.relative.left*e+this.offset.parent.left*e-(t.browser.safari&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():r?0:i.scrollLeft())*e)}},_generatePosition:function(e){var n,i,r=this.options,o="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&t.ui.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(o[0].tagName);return"relative"!=this.cssPosition||this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),n=e.pageX,i=e.pageY,this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(n=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(i=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(n=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(i=this.containment[3]+this.offset.click.top)),r.grid&&(i=this.originalPageY+Math.round((i-this.originalPageY)/r.grid[1])*r.grid[1],i=this.containment&&(i-this.offset.click.top<this.containment[1]||i-this.offset.click.top>this.containment[3])?i-this.offset.click.top<this.containment[1]?i+r.grid[1]:i-r.grid[1]:i,n=this.originalPageX+Math.round((n-this.originalPageX)/r.grid[0])*r.grid[0],n=this.containment&&(n-this.offset.click.left<this.containment[0]||n-this.offset.click.left>this.containment[2])?n-this.offset.click.left<this.containment[0]?n+r.grid[0]:n-r.grid[0]:n)),{top:i-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(t.browser.safari&&"fixed"==this.cssPosition?0:"fixed"==this.cssPosition?-this.scrollParent.scrollTop():s?0:o.scrollTop()),left:n-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(t.browser.safari&&"fixed"==this.cssPosition?0:"fixed"==this.cssPosition?-this.scrollParent.scrollLeft():s?0:o.scrollLeft())}},_rearrange:function(t,e,n,i){n?n[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"==this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var r=this,o=this.counter;window.setTimeout(function(){o==r.counter&&r.refreshPositions(!i)},0)},_clear:function(e,n){var i,r;if(this.reverting=!1,i=[],!this._noFinalSort&&this.currentItem[0].parentNode&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]==this.currentItem[0]){for(r in this._storedCSS)"auto"!=this._storedCSS[r]&&"static"!=this._storedCSS[r]||(this._storedCSS[r]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();if(this.fromOutside&&!n&&i.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev==this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent==this.currentItem.parent()[0]||n||i.push(function(t){this._trigger("update",t,this._uiHash())}),!t.ui.contains(this.element[0],this.currentItem[0]))for(n||i.push(function(t){this._trigger("remove",t,this._uiHash())}),r=this.containers.length-1;r>=0;r--)t.ui.contains(this.containers[r].element[0],this.currentItem[0])&&!n&&(i.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.containers[r])),i.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.containers[r])));for(r=this.containers.length-1;r>=0;r--)n||i.push(function(t){return function(e){t._trigger("deactivate",e,this._uiHash(this))}}.call(this,this.containers[r])),this.containers[r].containerCache.over&&(i.push(function(t){return function(e){t._trigger("out",e,this._uiHash(this))}}.call(this,this.containers[r])),this.containers[r].containerCache.over=0);if(this._storedCursor&&t("body").css("cursor",this._storedCursor),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"==this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!n){for(this._trigger("beforeStop",e,this._uiHash()),r=0;r<i.length;r++)i[r].call(this,e);this._trigger("stop",e,this._uiHash())}return!1}if(n||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!=this.currentItem[0]&&this.helper.remove(),this.helper=null,!n){for(r=0;r<i.length;r++)i[r].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){t.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(e){var n=e||this;return{helper:n.helper,placeholder:n.placeholder||t([]),position:n.position,originalPosition:n.originalPosition,offset:n.positionAbs,item:n.currentItem,sender:e?e.element:null}}}),t.extend(t.ui.sortable,{version:"1.8.11"})}(jQuery),function(t){t.widget("ui.slider",t.ui.mouse,{widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var e=this,n=this.options;if(this._mouseSliding=this._keySliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"),n.disabled&&this.element.addClass("ui-slider-disabled ui-disabled"),this.range=t([]),n.range&&(n.range===!0?(this.range=t("<div></div>"),n.values||(n.values=[this._valueMin(),this._valueMin()]),n.values.length&&2!==n.values.length&&(n.values=[n.values[0],n.values[0]])):this.range=t("<div></div>"),this.range.appendTo(this.element).addClass("ui-slider-range"),"min"!==n.range&&"max"!==n.range||this.range.addClass("ui-slider-range-"+n.range),this.range.addClass("ui-widget-header")),0===t(".ui-slider-handle",this.element).length&&t("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle"),n.values&&n.values.length)for(;t(".ui-slider-handle",this.element).length<n.values.length;)t("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle");this.handles=t(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all"),this.handle=this.handles.eq(0),this.handles.add(this.range).filter("a").click(function(t){t.preventDefault()}).hover(function(){n.disabled||t(this).addClass("ui-state-hover")},function(){t(this).removeClass("ui-state-hover")}).focus(function(){n.disabled?t(this).blur():(t(".ui-slider .ui-state-focus").removeClass("ui-state-focus"),t(this).addClass("ui-state-focus"))}).blur(function(){t(this).removeClass("ui-state-focus")}),this.handles.each(function(e){t(this).data("index.ui-slider-handle",e)}),this.handles.keydown(function(n){var i,r,o,s=!0,a=t(this).data("index.ui-slider-handle");if(!e.options.disabled){switch(n.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(s=!1,!e._keySliding&&(e._keySliding=!0,t(this).addClass("ui-state-active"),i=e._start(n,a),i===!1))return}switch(o=e.options.step,i=r=e.options.values&&e.options.values.length?e.values(a):e.value(),n.keyCode){case t.ui.keyCode.HOME:r=e._valueMin();break;case t.ui.keyCode.END:r=e._valueMax();break;case t.ui.keyCode.PAGE_UP:r=e._trimAlignValue(i+(e._valueMax()-e._valueMin())/5);break;case t.ui.keyCode.PAGE_DOWN:r=e._trimAlignValue(i-(e._valueMax()-e._valueMin())/5);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(i===e._valueMax())return;r=e._trimAlignValue(i+o);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i===e._valueMin())return;r=e._trimAlignValue(i-o)}return e._slide(n,a,r),s}}).keyup(function(n){var i=t(this).data("index.ui-slider-handle");e._keySliding&&(e._keySliding=!1,e._stop(n,i),e._change(n,i),t(this).removeClass("ui-state-active"))}),this._refreshValue(),this._animateOff=!1},destroy:function(){return this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider"),this._mouseDestroy(),this},_mouseCapture:function(e){var n,i,r,o,s,a=this.options;return!a.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),n=this._normValueFromMouse({x:e.pageX,y:e.pageY}),i=this._valueMax()-this._valueMin()+1,o=this,this.handles.each(function(e){var a=Math.abs(n-o.values(e));i>a&&(i=a,r=t(this),s=e)}),a.range===!0&&this.values(1)===a.min&&(s+=1,r=t(this.handles[s])),this._start(e,s)!==!1&&(this._mouseSliding=!0,o._handleIndex=s,r.addClass("ui-state-active").focus(),a=r.offset(),this._clickOffset=t(e.target).parents().andSelf().is(".ui-slider-handle")?{left:e.pageX-a.left-r.width()/2,top:e.pageY-a.top-r.height()/2-(parseInt(r.css("borderTopWidth"),10)||0)-(parseInt(r.css("borderBottomWidth"),10)||0)+(parseInt(r.css("marginTop"),10)||0)}:{left:0,top:0},this.handles.hasClass("ui-state-hover")||this._slide(e,s,n),this._animateOff=!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e=this._normValueFromMouse({x:t.pageX,y:t.pageY});return this._slide(t,this._handleIndex,e),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._clickOffset=this._handleIndex=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e;return"horizontal"===this.orientation?(e=this.elementSize.width,t=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,t=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),e=t/e,e>1&&(e=1),e<0&&(e=0),"vertical"===this.orientation&&(e=1-e),t=this._valueMax()-this._valueMin(),this._trimAlignValue(this._valueMin()+e*t)},_start:function(t,e){var n={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(n.value=this.values(e),n.values=this.values()),this._trigger("start",t,n)},_slide:function(t,e,n){var i;this.options.values&&this.options.values.length?(i=this.values(e?0:1),2===this.options.values.length&&this.options.range===!0&&(0===e&&n>i||1===e&&n<i)&&(n=i),n!==this.values(e)&&(i=this.values(),i[e]=n,t=this._trigger("slide",t,{handle:this.handles[e],value:n,values:i}),this.values(e?0:1),t!==!1&&this.values(e,n,!0))):n!==this.value()&&(t=this._trigger("slide",t,{handle:this.handles[e],value:n}),t!==!1&&this.value(n))},_stop:function(t,e){var n={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(n.value=this.values(e),n.values=this.values()),this._trigger("stop",t,n)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var n={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(n.value=this.values(e),n.values=this.values()),this._trigger("change",t,n)}},value:function(t){return arguments.length&&(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0)),this._value()},values:function(e,n){var i,r,o;if(arguments.length>1&&(this.options.values[e]=this._trimAlignValue(n),this._refreshValue(),this._change(null,e)),!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(e):this.value();for(i=this.options.values,r=arguments[0],o=0;o<i.length;o+=1)i[o]=this._trimAlignValue(r[o]),this._change(null,o);this._refreshValue()},_setOption:function(e,n){var i,r=0;switch(t.isArray(this.options.values)&&(r=this.options.values.length),t.Widget.prototype._setOption.apply(this,arguments),e){case"disabled":n?(this.handles.filter(".ui-state-focus").blur(),this.handles.removeClass("ui-state-hover"),this.handles.attr("disabled","disabled"),this.element.addClass("ui-disabled")):(this.handles.removeAttr("disabled"),this.element.removeClass("ui-disabled"));break;case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=0;i<r;i+=1)this._change(null,i);this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,n;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);for(e=this.options.values.slice(),n=0;n<e.length;n+=1)e[n]=this._trimAlignValue(e[n]);return e},_trimAlignValue:function(t){var e,n,i;return t<=this._valueMin()?this._valueMin():t>=this._valueMax()?this._valueMax():(e=this.options.step>0?this.options.step:1,n=(t-this._valueMin())%e,i=t-n,2*Math.abs(n)>=e&&(i+=n>0?e:-e),parseFloat(i.toFixed(5)))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,n,i,r,o,s=this.options.range,a=this.options,l=this,u=!this._animateOff&&a.animate,c={};this.options.values&&this.options.values.length?this.handles.each(function(i){e=(l.values(i)-l._valueMin())/(l._valueMax()-l._valueMin())*100,c["horizontal"===l.orientation?"left":"bottom"]=e+"%",t(this).stop(1,1)[u?"animate":"css"](c,a.animate),l.options.range===!0&&("horizontal"===l.orientation?(0===i&&l.range.stop(1,1)[u?"animate":"css"]({left:e+"%"},a.animate),1===i&&l.range[u?"animate":"css"]({width:e-n+"%"},{queue:!1,duration:a.animate})):(0===i&&l.range.stop(1,1)[u?"animate":"css"]({bottom:e+"%"},a.animate),1===i&&l.range[u?"animate":"css"]({height:e-n+"%"},{queue:!1,duration:a.animate}))),n=e}):(i=this.value(),r=this._valueMin(),o=this._valueMax(),e=o!==r?(i-r)/(o-r)*100:0,c["horizontal"===l.orientation?"left":"bottom"]=e+"%",this.handle.stop(1,1)[u?"animate":"css"](c,a.animate),"min"===s&&"horizontal"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({width:e+"%"},a.animate),"max"===s&&"horizontal"===this.orientation&&this.range[u?"animate":"css"]({width:100-e+"%"},{queue:!1,duration:a.animate}),"min"===s&&"vertical"===this.orientation&&this.range.stop(1,1)[u?"animate":"css"]({height:e+"%"},a.animate),"max"===s&&"vertical"===this.orientation&&this.range[u?"animate":"css"]({height:100-e+"%"},{queue:!1,duration:a.animate}))}}),t.extend(t.ui.slider,{version:"1.8.11"})}(jQuery),function(d,A){function K(){this.debug=!1,this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._inDialog=this._datepickerShowing=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1},d.extend(this._defaults,this.regional[""]),this.dpDiv=d('<div id="'+this._mainDivId+'" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')}function F(t,e){d.extend(t,e);for(var n in e)null!=e[n]&&e[n]!=A||(t[n]=e[n]);return t}d.extend(d.ui,{datepicker:{version:"1.8.11"}});var y=(new Date).getTime();d.extend(K.prototype,{markerClassName:"hasDatepicker",log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return F(this._defaults,t||{}),this},_attachDatepicker:function(a,b){var e,f,i,c=null;for(e in this._defaults)if(f=a.getAttribute("date:"+e)){c=c||{};try{c[e]=eval(f)}catch(t){c[e]=f}}e=a.nodeName.toLowerCase(),f="div"==e||"span"==e,a.id||(this.uuid+=1,a.id="dp"+this.uuid),i=this._newInst(d(a),f),i.settings=d.extend({},b||{},c||{}),"input"==e?this._connectDatepicker(a,i):f&&this._inlineDatepicker(a,i)},_newInst:function(t,e){return{id:t[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:e,dpDiv:e?d('<div class="'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'):this.dpDiv}},_connectDatepicker:function(t,e){var n=d(t);e.append=d([]),e.trigger=d([]),n.hasClass(this.markerClassName)||(this._attachments(n,e),n.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(t,n,i){e.settings[n]=i}).bind("getData.datepicker",function(t,n){return this._get(e,n)}),this._autoSize(e),d.data(t,"datepicker",e))},_attachments:function(t,e){var n,i=this._get(e,"appendText"),r=this._get(e,"isRTL");e.append&&e.append.remove(),i&&(e.append=d('<span class="'+this._appendClass+'">'+i+"</span>"),t[r?"before":"after"](e.append)),t.unbind("focus",this._showDatepicker),e.trigger&&e.trigger.remove(),i=this._get(e,"showOn"),"focus"!=i&&"both"!=i||t.focus(this._showDatepicker),"button"!=i&&"both"!=i||(i=this._get(e,"buttonText"),n=this._get(e,"buttonImage"),e.trigger=d(this._get(e,"buttonImageOnly")?d("<img/>").addClass(this._triggerClass).attr({src:n,alt:i,title:i}):d('<button type="button"></button>').addClass(this._triggerClass).html(""==n?i:d("<img/>").attr({src:n,alt:i,title:i}))),t[r?"before":"after"](e.trigger),e.trigger.click(function(){return d.datepicker._datepickerShowing&&d.datepicker._lastInput==t[0]?d.datepicker._hideDatepicker():d.datepicker._showDatepicker(t[0]),!1}))},_autoSize:function(t){var e,n,i;this._get(t,"autoSize")&&!t.inline&&(e=new Date(2009,11,20),n=this._get(t,"dateFormat"),n.match(/[DM]/)&&(i=function(t){for(var e=0,n=0,i=0;i<t.length;i++)t[i].length>e&&(e=t[i].length,n=i);return n},e.setMonth(i(this._get(t,n.match(/MM/)?"monthNames":"monthNamesShort"))),e.setDate(i(this._get(t,n.match(/DD/)?"dayNames":"dayNamesShort"))+20-e.getDay())),t.input.attr("size",this._formatDate(t,e).length))},_inlineDatepicker:function(t,e){var n=d(t);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(e.dpDiv).bind("setData.datepicker",function(t,n,i){e.settings[n]=i}).bind("getData.datepicker",function(t,n){return this._get(e,n)}),d.data(t,"datepicker",e),this._setDate(e,this._getDefaultDate(e),!0),this._updateDatepicker(e),this._updateAlternate(e),e.dpDiv.show())},_dialogDatepicker:function(t,e,n,i,r){return t=this._dialogInst,t||(this.uuid+=1,this._dialogInput=d('<input type="text" id="dp'+this.uuid+'" style="position: absolute; top: -100px; width: 0px; z-index: -10;"/>'),this._dialogInput.keydown(this._doKeyDown),d("body").append(this._dialogInput),t=this._dialogInst=this._newInst(this._dialogInput,!1),t.settings={},d.data(this._dialogInput[0],"datepicker",t)),F(t.settings,i||{}),e=e&&e.constructor==Date?this._formatDate(t,e):e,this._dialogInput.val(e),this._pos=r?r.length?r:[r.pageX,r.pageY]:null,this._pos||(this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/2-150+(document.documentElement.scrollTop||document.body.scrollTop)]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),t.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),d.blockUI&&d.blockUI(this.dpDiv),d.data(this._dialogInput[0],"datepicker",t),this},_destroyDatepicker:function(t){var e,n=d(t),i=d.data(t,"datepicker");n.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),d.removeData(t,"datepicker"),"input"==e?(i.append.remove(),i.trigger.remove(),n.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):"div"!=e&&"span"!=e||n.removeClass(this.markerClassName).empty())},_enableDatepicker:function(t){var e,n=d(t),i=d.data(t,"datepicker");n.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),"input"==e?(t.disabled=!1,i.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!=e&&"span"!=e||n.children("."+this._inlineClass).children().removeClass("ui-state-disabled"),this._disabledInputs=d.map(this._disabledInputs,function(e){return e==t?null:e}))},_disableDatepicker:function(t){var e,n=d(t),i=d.data(t,"datepicker");n.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),"input"==e?(t.disabled=!0,i.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!=e&&"span"!=e||n.children("."+this._inlineClass).children().addClass("ui-state-disabled"),this._disabledInputs=d.map(this._disabledInputs,function(e){return e==t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]==t)return!0;return!1},_getInst:function(t){try{return d.data(t,"datepicker")}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,e,n){var i,r,o,s,a=this._getInst(t);return 2==arguments.length&&"string"==typeof e?"defaults"==e?d.extend({},d.datepicker._defaults):a?"all"==e?d.extend({},a.settings):this._get(a,e):null:(i=e||{},"string"==typeof e&&(i={},i[e]=n),void(a&&(this._curInst==a&&this._hideDatepicker(),r=this._getDateDatepicker(t,!0),o=this._getMinMaxDate(a,"min"),s=this._getMinMaxDate(a,"max"),F(a.settings,i),null!==o&&i.dateFormat!==A&&i.minDate===A&&(a.settings.minDate=this._formatDate(a,o)),null!==s&&i.dateFormat!==A&&i.maxDate===A&&(a.settings.maxDate=this._formatDate(a,s)),this._attachments(d(t),a),this._autoSize(a),this._setDateDatepicker(t,r),this._updateDatepicker(a))))},_changeDatepicker:function(t,e,n){this._optionDatepicker(t,e,n)},_refreshDatepicker:function(t){(t=this._getInst(t))&&this._updateDatepicker(t)},_setDateDatepicker:function(t,e){(t=this._getInst(t))&&(this._setDate(t,e),this._updateDatepicker(t),this._updateAlternate(t))},_getDateDatepicker:function(t,e){return(t=this._getInst(t))&&!t.inline&&this._setDateFromField(t,e),t?this._getDate(t):null},_doKeyDown:function(t){var e=d.datepicker._getInst(t.target),n=!0,i=e.dpDiv.is(".ui-datepicker-rtl");if(e._keyEvent=!0,d.datepicker._datepickerShowing)switch(t.keyCode){case 9:d.datepicker._hideDatepicker(),n=!1;break;case 13:return n=d("td."+d.datepicker._dayOverClass+":not(."+d.datepicker._currentClass+")",e.dpDiv),n[0]?d.datepicker._selectDay(t.target,e.selectedMonth,e.selectedYear,n[0]):d.datepicker._hideDatepicker(),!1;case 27:d.datepicker._hideDatepicker();break;case 33:d.datepicker._adjustDate(t.target,t.ctrlKey?-d.datepicker._get(e,"stepBigMonths"):-d.datepicker._get(e,"stepMonths"),"M");break;case 34:d.datepicker._adjustDate(t.target,t.ctrlKey?+d.datepicker._get(e,"stepBigMonths"):+d.datepicker._get(e,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&d.datepicker._clearDate(t.target),n=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&d.datepicker._gotoToday(t.target),n=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&d.datepicker._adjustDate(t.target,i?1:-1,"D"),n=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&d.datepicker._adjustDate(t.target,t.ctrlKey?-d.datepicker._get(e,"stepBigMonths"):-d.datepicker._get(e,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&d.datepicker._adjustDate(t.target,-7,"D"),n=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&d.datepicker._adjustDate(t.target,i?-1:1,"D"),n=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&d.datepicker._adjustDate(t.target,t.ctrlKey?+d.datepicker._get(e,"stepBigMonths"):+d.datepicker._get(e,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&d.datepicker._adjustDate(t.target,7,"D"),n=t.ctrlKey||t.metaKey;break;default:n=!1}else 36==t.keyCode&&t.ctrlKey?d.datepicker._showDatepicker(this):n=!1;n&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var e,n=d.datepicker._getInst(t.target);if(d.datepicker._get(n,"constrainInput"))return n=d.datepicker._possibleChars(d.datepicker._get(n,"dateFormat")),e=String.fromCharCode(t.charCode==A?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||e<" "||!n||n.indexOf(e)>-1},_doKeyUp:function(t){if(t=d.datepicker._getInst(t.target),t.input.val()!=t.lastVal)try{d.datepicker.parseDate(d.datepicker._get(t,"dateFormat"),t.input?t.input.val():null,d.datepicker._getFormatConfig(t))&&(d.datepicker._setDateFromField(t),d.datepicker._updateAlternate(t),d.datepicker._updateDatepicker(t))}catch(t){d.datepicker.log(t)}return!0},_showDatepicker:function(t){var e,n,i,r,o;t=t.target||t,"input"!=t.nodeName.toLowerCase()&&(t=d("input",t.parentNode)[0]),d.datepicker._isDisabledDatepicker(t)||d.datepicker._lastInput==t||(e=d.datepicker._getInst(t),d.datepicker._curInst&&d.datepicker._curInst!=e&&d.datepicker._curInst.dpDiv.stop(!0,!0),n=d.datepicker._get(e,"beforeShow"),F(e.settings,n?n.apply(t,[t,e]):{}),e.lastVal=null,d.datepicker._lastInput=t,d.datepicker._setDateFromField(e),d.datepicker._inDialog&&(t.value=""),d.datepicker._pos||(d.datepicker._pos=d.datepicker._findPos(t),d.datepicker._pos[1]+=t.offsetHeight),i=!1,d(t).parents().each(function(){return i|="fixed"==d(this).css("position"),!i}),i&&d.browser.opera&&(d.datepicker._pos[0]-=document.documentElement.scrollLeft,d.datepicker._pos[1]-=document.documentElement.scrollTop),n={left:d.datepicker._pos[0],top:d.datepicker._pos[1]
|
||
},d.datepicker._pos=null,e.dpDiv.empty(),e.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),d.datepicker._updateDatepicker(e),n=d.datepicker._checkOffset(e,n,i),e.dpDiv.css({position:d.datepicker._inDialog&&d.blockUI?"static":i?"fixed":"absolute",display:"none",left:n.left+"px",top:n.top+"px"}),e.inline||(n=d.datepicker._get(e,"showAnim"),r=d.datepicker._get(e,"duration"),o=function(){var t,n;d.datepicker._datepickerShowing=!0,t=e.dpDiv.find("iframe.ui-datepicker-cover"),t.length&&(n=d.datepicker._getBorders(e.dpDiv),t.css({left:-n[0],top:-n[1],width:e.dpDiv.outerWidth(),height:e.dpDiv.outerHeight()}))},e.dpDiv.zIndex(d(t).zIndex()+1),d.effects&&d.effects[n]?e.dpDiv.show(n,d.datepicker._get(e,"showOptions"),r,o):e.dpDiv[n||"show"](n?r:null,o),n&&r||o(),e.input.is(":visible")&&!e.input.is(":disabled")&&e.input.focus(),d.datepicker._curInst=e))},_updateDatepicker:function(t){var e,n,i=this,r=d.datepicker._getBorders(t.dpDiv);t.dpDiv.empty().append(this._generateHTML(t)),e=t.dpDiv.find("iframe.ui-datepicker-cover"),e.length&&e.css({left:-r[0],top:-r[1],width:t.dpDiv.outerWidth(),height:t.dpDiv.outerHeight()}),t.dpDiv.find("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a").bind("mouseout",function(){d(this).removeClass("ui-state-hover"),this.className.indexOf("ui-datepicker-prev")!=-1&&d(this).removeClass("ui-datepicker-prev-hover"),this.className.indexOf("ui-datepicker-next")!=-1&&d(this).removeClass("ui-datepicker-next-hover")}).bind("mouseover",function(){i._isDisabledDatepicker(t.inline?t.dpDiv.parent()[0]:t.input[0])||(d(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),d(this).addClass("ui-state-hover"),this.className.indexOf("ui-datepicker-prev")!=-1&&d(this).addClass("ui-datepicker-prev-hover"),this.className.indexOf("ui-datepicker-next")!=-1&&d(this).addClass("ui-datepicker-next-hover"))}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end(),r=this._getNumberOfMonths(t),e=r[1],e>1?t.dpDiv.addClass("ui-datepicker-multi-"+e).css("width",17*e+"em"):t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),t.dpDiv[(1!=r[0]||1!=r[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t==d.datepicker._curInst&&d.datepicker._datepickerShowing&&t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&t.input[0]!=document.activeElement&&t.input.focus(),t.yearshtml&&(n=t.yearshtml,setTimeout(function(){n===t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),n=t.yearshtml=null},0))},_getBorders:function(t){var e=function(t){return{thin:1,medium:2,thick:3}[t]||t};return[parseFloat(e(t.css("border-left-width"))),parseFloat(e(t.css("border-top-width")))]},_checkOffset:function(t,e,n){var i=t.dpDiv.outerWidth(),r=t.dpDiv.outerHeight(),o=t.input?t.input.outerWidth():0,s=t.input?t.input.outerHeight():0,a=document.documentElement.clientWidth+d(document).scrollLeft(),l=document.documentElement.clientHeight+d(document).scrollTop();return e.left-=this._get(t,"isRTL")?i-o:0,e.left-=n&&e.left==t.input.offset().left?d(document).scrollLeft():0,e.top-=n&&e.top==t.input.offset().top+s?d(document).scrollTop():0,e.left-=Math.min(e.left,e.left+i>a&&a>i?Math.abs(e.left+i-a):0),e.top-=Math.min(e.top,e.top+r>l&&l>r?Math.abs(r+s):0),e},_findPos:function(t){for(var e=this._get(this._getInst(t),"isRTL");t&&("hidden"==t.type||1!=t.nodeType||d.expr.filters.hidden(t));)t=t[e?"previousSibling":"nextSibling"];return t=d(t).offset(),[t.left,t.top]},_hideDatepicker:function(t){var e,n,i=this._curInst;!i||t&&i!=d.data(t,"datepicker")||this._datepickerShowing&&(t=this._get(i,"showAnim"),e=this._get(i,"duration"),n=function(){d.datepicker._tidyDialog(i),this._curInst=null},d.effects&&d.effects[t]?i.dpDiv.hide(t,d.datepicker._get(i,"showOptions"),e,n):i.dpDiv["slideDown"==t?"slideUp":"fadeIn"==t?"fadeOut":"hide"](t?e:null,n),t||n(),(t=this._get(i,"onClose"))&&t.apply(i.input?i.input[0]:null,[i.input?i.input.val():"",i]),this._datepickerShowing=!1,this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),d.blockUI&&(d.unblockUI(),d("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(t){d.datepicker._curInst&&(t=d(t.target),t[0].id!=d.datepicker._mainDivId&&0==t.parents("#"+d.datepicker._mainDivId).length&&!t.hasClass(d.datepicker.markerClassName)&&!t.hasClass(d.datepicker._triggerClass)&&d.datepicker._datepickerShowing&&!(d.datepicker._inDialog&&d.blockUI)&&d.datepicker._hideDatepicker())},_adjustDate:function(t,e,n){t=d(t);var i=this._getInst(t[0]);this._isDisabledDatepicker(t[0])||(this._adjustInstDate(i,e+("M"==n?this._get(i,"showCurrentAtPos"):0),n),this._updateDatepicker(i))},_gotoToday:function(t){var e,n;t=d(t),e=this._getInst(t[0]),this._get(e,"gotoCurrent")&&e.currentDay?(e.selectedDay=e.currentDay,e.drawMonth=e.selectedMonth=e.currentMonth,e.drawYear=e.selectedYear=e.currentYear):(n=new Date,e.selectedDay=n.getDate(),e.drawMonth=e.selectedMonth=n.getMonth(),e.drawYear=e.selectedYear=n.getFullYear()),this._notifyChange(e),this._adjustDate(t)},_selectMonthYear:function(t,e,n){t=d(t);var i=this._getInst(t[0]);i._selectingMonthYear=!1,i["selected"+("M"==n?"Month":"Year")]=i["draw"+("M"==n?"Month":"Year")]=parseInt(e.options[e.selectedIndex].value,10),this._notifyChange(i),this._adjustDate(t)},_clickMonthYear:function(t){var e=this._getInst(d(t)[0]);e.input&&e._selectingMonthYear&&setTimeout(function(){e.input.focus()},0),e._selectingMonthYear=!e._selectingMonthYear},_selectDay:function(t,e,n,i){var r=d(t);d(i).hasClass(this._unselectableClass)||this._isDisabledDatepicker(r[0])||(r=this._getInst(r[0]),r.selectedDay=r.currentDay=d("a",i).html(),r.selectedMonth=r.currentMonth=e,r.selectedYear=r.currentYear=n,this._selectDate(t,this._formatDate(r,r.currentDay,r.currentMonth,r.currentYear)))},_clearDate:function(t){t=d(t),this._getInst(t[0]),this._selectDate(t,"")},_selectDate:function(t,e){t=this._getInst(d(t)[0]),e=null!=e?e:this._formatDate(t),t.input&&t.input.val(e),this._updateAlternate(t);var n=this._get(t,"onSelect");n?n.apply(t.input?t.input[0]:null,[e,t]):t.input&&t.input.trigger("change"),t.inline?this._updateDatepicker(t):(this._hideDatepicker(),this._lastInput=t.input[0],"object"!=typeof t.input[0]&&t.input.focus(),this._lastInput=null)},_updateAlternate:function(t){var e,n,i,r=this._get(t,"altField");r&&(e=this._get(t,"altFormat")||this._get(t,"dateFormat"),n=this._getDate(t),i=this.formatDate(e,n,this._getFormatConfig(t)),d(r).each(function(){d(this).val(i)}))},noWeekends:function(t){return t=t.getDay(),[t>0&&t<6,""]},iso8601Week:function(t){t=new Date(t.getTime()),t.setDate(t.getDate()+4-(t.getDay()||7));var e=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((e-t)/864e5)/7)+1},parseDate:function(t,e,n){var i,r,o,s,a,l,u,c,f,h,d,p,g,m,v,y;if(null==t||null==e)throw"Invalid arguments";if(e="object"==typeof e?""+e:e+"",""==e)return null;for(i=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,i="string"!=typeof i?i:(new Date).getFullYear()%100+parseInt(i,10),r=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,o=(n?n.dayNames:null)||this._defaults.dayNames,s=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,a=(n?n.monthNames:null)||this._defaults.monthNames,l=n=-1,u=-1,c=-1,f=!1,h=function(e){return(e=v+1<t.length&&t.charAt(v+1)==e)&&v++,e},d=function(t){var n=h(t);if(t=RegExp("^\\d{1,"+("@"==t?14:"!"==t?20:"y"==t&&n?4:"o"==t?3:2)+"}"),t=e.substring(m).match(t),!t)throw"Missing number at position "+m;return m+=t[0].length,parseInt(t[0],10)},p=function(t,n,i){for(t=h(t)?i:n,n=0;n<t.length;n++)if(e.substr(m,t[n].length).toLowerCase()==t[n].toLowerCase())return m+=t[n].length,n+1;throw"Unknown name at position "+m},g=function(){if(e.charAt(m)!=t.charAt(v))throw"Unexpected literal at position "+m;m++},m=0,v=0;v<t.length;v++)if(f)"'"!=t.charAt(v)||h("'")?g():f=!1;else switch(t.charAt(v)){case"d":u=d("d");break;case"D":p("D",r,o);break;case"o":c=d("o");break;case"m":l=d("m");break;case"M":l=p("M",s,a);break;case"y":n=d("y");break;case"@":y=new Date(d("@")),n=y.getFullYear(),l=y.getMonth()+1,u=y.getDate();break;case"!":y=new Date((d("!")-this._ticksTo1970)/1e4),n=y.getFullYear(),l=y.getMonth()+1,u=y.getDate();break;case"'":h("'")?g():f=!0;break;default:g()}if(n==-1?n=(new Date).getFullYear():n<100&&(n+=(new Date).getFullYear()-(new Date).getFullYear()%100+(n<=i?0:-100)),c>-1)for(l=1,u=c;;){if(i=this._getDaysInMonth(n,l-1),u<=i)break;l++,u-=i}if(y=this._daylightSavingAdjust(new Date(n,l-1,u)),y.getFullYear()!=n||y.getMonth()+1!=l||y.getDate()!=u)throw"Invalid date";return y},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,n){var i,r,o,s,a,l,u,c,f;if(!e)return"";if(i=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,r=(n?n.dayNames:null)||this._defaults.dayNames,o=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,n=(n?n.monthNames:null)||this._defaults.monthNames,s=function(e){return(e=f+1<t.length&&t.charAt(f+1)==e)&&f++,e},a=function(t,e,n){if(e=""+e,s(t))for(;e.length<n;)e="0"+e;return e},l=function(t,e,n,i){return s(t)?i[e]:n[e]},u="",c=!1,e)for(f=0;f<t.length;f++)if(c)"'"!=t.charAt(f)||s("'")?u+=t.charAt(f):c=!1;else switch(t.charAt(f)){case"d":u+=a("d",e.getDate(),2);break;case"D":u+=l("D",e.getDay(),i,r);break;case"o":u+=a("o",(e.getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5,3);break;case"m":u+=a("m",e.getMonth()+1,2);break;case"M":u+=l("M",e.getMonth(),o,n);break;case"y":u+=s("y")?e.getFullYear():(e.getYear()%100<10?"0":"")+e.getYear()%100;break;case"@":u+=e.getTime();break;case"!":u+=1e4*e.getTime()+this._ticksTo1970;break;case"'":s("'")?u+="'":c=!0;break;default:u+=t.charAt(f)}return u},_possibleChars:function(t){for(var e="",n=!1,i=function(e){return(e=r+1<t.length&&t.charAt(r+1)==e)&&r++,e},r=0;r<t.length;r++)if(n)"'"!=t.charAt(r)||i("'")?e+=t.charAt(r):n=!1;else switch(t.charAt(r)){case"d":case"m":case"y":case"@":e+="0123456789";break;case"D":case"M":return null;case"'":i("'")?e+="'":n=!0;break;default:e+=t.charAt(r)}return e},_get:function(t,e){return t.settings[e]!==A?t.settings[e]:this._defaults[e]},_setDateFromField:function(t,e){var n,i,r,o,s;if(t.input.val()!=t.lastVal){n=this._get(t,"dateFormat"),i=t.lastVal=t.input?t.input.val():null,r=o=this._getDefaultDate(t),s=this._getFormatConfig(t);try{r=this.parseDate(n,i,s)||o}catch(t){this.log(t),i=e?"":i}t.selectedDay=r.getDate(),t.drawMonth=t.selectedMonth=r.getMonth(),t.drawYear=t.selectedYear=r.getFullYear(),t.currentDay=i?r.getDate():0,t.currentMonth=i?r.getMonth():0,t.currentYear=i?r.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(t,e,n){var i=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},r=function(e){var n,i,r,o,s;try{return d.datepicker.parseDate(d.datepicker._get(t,"dateFormat"),e,d.datepicker._getFormatConfig(t))}catch(t){}for(n=(e.toLowerCase().match(/^c/)?d.datepicker._getDate(t):null)||new Date,i=n.getFullYear(),r=n.getMonth(),n=n.getDate(),o=/([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,s=o.exec(e);s;){switch(s[2]||"d"){case"d":case"D":n+=parseInt(s[1],10);break;case"w":case"W":n+=7*parseInt(s[1],10);break;case"m":case"M":r+=parseInt(s[1],10),n=Math.min(n,d.datepicker._getDaysInMonth(i,r));break;case"y":case"Y":i+=parseInt(s[1],10),n=Math.min(n,d.datepicker._getDaysInMonth(i,r))}s=o.exec(e)}return new Date(i,r,n)};return(e=(e=null==e||""===e?n:"string"==typeof e?r(e):"number"==typeof e?isNaN(e)?n:i(e):new Date(e.getTime()))&&""+e=="Invalid Date"?n:e)&&(e.setHours(0),e.setMinutes(0),e.setSeconds(0),e.setMilliseconds(0)),this._daylightSavingAdjust(e)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,n){var i=!e,r=t.selectedMonth,o=t.selectedYear;e=this._restrictMinMax(t,this._determineDate(t,e,new Date)),t.selectedDay=t.currentDay=e.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=e.getMonth(),t.drawYear=t.selectedYear=t.currentYear=e.getFullYear(),r==t.selectedMonth&&o==t.selectedYear||n||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(i?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""==t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_generateHTML:function(t){var e,n,i,r,o,s,a,l,u,c,f,h,p,g,m,v,b,_,w,x,k,S,T,D,C,M,P,O,E,N,I,A,L,j,F,H=new Date;if(H=this._daylightSavingAdjust(new Date(H.getFullYear(),H.getMonth(),H.getDate())),e=this._get(t,"isRTL"),n=this._get(t,"showButtonPanel"),i=this._get(t,"hideIfNoPrevNext"),r=this._get(t,"navigationAsDateFormat"),o=this._getNumberOfMonths(t),s=this._get(t,"showCurrentAtPos"),a=this._get(t,"stepMonths"),l=1!=o[0]||1!=o[1],u=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),c=this._getMinMaxDate(t,"min"),f=this._getMinMaxDate(t,"max"),s=t.drawMonth-s,h=t.drawYear,s<0&&(s+=12,h--),f)for(p=this._daylightSavingAdjust(new Date(f.getFullYear(),f.getMonth()-o[0]*o[1]+1,f.getDate())),p=c&&p<c?c:p;this._daylightSavingAdjust(new Date(h,s,1))>p;)s--,s<0&&(s=11,h--);for(t.drawMonth=s,t.drawYear=h,p=this._get(t,"prevText"),p=r?this.formatDate(p,this._daylightSavingAdjust(new Date(h,s-a,1)),this._getFormatConfig(t)):p,p=this._canAdjustMonth(t,-1,h,s)?'<a class="ui-datepicker-prev ui-corner-all" onclick="DP_jQuery_'+y+".datepicker._adjustDate('#"+t.id+"', -"+a+", 'M');\" title=\""+p+'"><span class="ui-icon ui-icon-circle-triangle-'+(e?"e":"w")+'">'+p+"</span></a>":i?"":'<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="'+p+'"><span class="ui-icon ui-icon-circle-triangle-'+(e?"e":"w")+'">'+p+"</span></a>",g=this._get(t,"nextText"),g=r?this.formatDate(g,this._daylightSavingAdjust(new Date(h,s+a,1)),this._getFormatConfig(t)):g,i=this._canAdjustMonth(t,1,h,s)?'<a class="ui-datepicker-next ui-corner-all" onclick="DP_jQuery_'+y+".datepicker._adjustDate('#"+t.id+"', +"+a+", 'M');\" title=\""+g+'"><span class="ui-icon ui-icon-circle-triangle-'+(e?"w":"e")+'">'+g+"</span></a>":i?"":'<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="'+g+'"><span class="ui-icon ui-icon-circle-triangle-'+(e?"w":"e")+'">'+g+"</span></a>",a=this._get(t,"currentText"),g=this._get(t,"gotoCurrent")&&t.currentDay?u:H,a=r?this.formatDate(a,g,this._getFormatConfig(t)):a,r=t.inline?"":'<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" onclick="DP_jQuery_'+y+'.datepicker._hideDatepicker();">'+this._get(t,"closeText")+"</button>",n=n?'<div class="ui-datepicker-buttonpane ui-widget-content">'+(e?r:"")+(this._isInRange(t,g)?'<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" onclick="DP_jQuery_'+y+".datepicker._gotoToday('#"+t.id+"');\">"+a+"</button>":"")+(e?"":r)+"</div>":"",r=parseInt(this._get(t,"firstDay"),10),r=isNaN(r)?0:r,a=this._get(t,"showWeek"),g=this._get(t,"dayNames"),this._get(t,"dayNamesShort"),m=this._get(t,"dayNamesMin"),v=this._get(t,"monthNames"),b=this._get(t,"monthNamesShort"),_=this._get(t,"beforeShowDay"),w=this._get(t,"showOtherMonths"),x=this._get(t,"selectOtherMonths"),this._get(t,"calculateWeek"),k=this._getDefaultDate(t),S="",T=0;T<o[0];T++){for(D="",C=0;C<o[1];C++){if(M=this._daylightSavingAdjust(new Date(h,s,t.selectedDay)),P=" ui-corner-all",O="",l){if(O+='<div class="ui-datepicker-group',o[1]>1)switch(C){case 0:O+=" ui-datepicker-group-first",P=" ui-corner-"+(e?"right":"left");break;case o[1]-1:O+=" ui-datepicker-group-last",P=" ui-corner-"+(e?"left":"right");break;default:O+=" ui-datepicker-group-middle",P=""}O+='">'}for(O+='<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix'+P+'">'+(/all|left/.test(P)&&0==T?e?i:p:"")+(/all|right/.test(P)&&0==T?e?p:i:"")+this._generateMonthYearHeader(t,s,h,c,f,T>0||C>0,v,b)+'</div><table class="ui-datepicker-calendar"><thead><tr>',E=a?'<th class="ui-datepicker-week-col">'+this._get(t,"weekHeader")+"</th>":"",P=0;P<7;P++)N=(P+r)%7,E+="<th"+((P+r+6)%7>=5?' class="ui-datepicker-week-end"':"")+'><span title="'+g[N]+'">'+m[N]+"</span></th>";for(O+=E+"</tr></thead><tbody>",E=this._getDaysInMonth(h,s),h==t.selectedYear&&s==t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,E)),P=(this._getFirstDayOfMonth(h,s)-r+7)%7,E=l?6:Math.ceil((P+E)/7),N=this._daylightSavingAdjust(new Date(h,s,1-P)),I=0;I<E;I++){for(O+="<tr>",A=a?'<td class="ui-datepicker-week-col">'+this._get(t,"calculateWeek")(N)+"</td>":"",P=0;P<7;P++)L=_?_.apply(t.input?t.input[0]:null,[N]):[!0,""],j=N.getMonth()!=s,F=j&&!x||!L[0]||c&&N<c||f&&N>f,A+='<td class="'+((P+r+6)%7>=5?" ui-datepicker-week-end":"")+(j?" ui-datepicker-other-month":"")+(N.getTime()==M.getTime()&&s==t.selectedMonth&&t._keyEvent||k.getTime()==N.getTime()&&k.getTime()==M.getTime()?" "+this._dayOverClass:"")+(F?" "+this._unselectableClass+" ui-state-disabled":"")+(j&&!w?"":" "+L[1]+(N.getTime()==u.getTime()?" "+this._currentClass:"")+(N.getTime()==H.getTime()?" ui-datepicker-today":""))+'"'+(j&&!w||!L[2]?"":' title="'+L[2]+'"')+(F?"":' onclick="DP_jQuery_'+y+".datepicker._selectDay('#"+t.id+"',"+N.getMonth()+","+N.getFullYear()+', this);return false;"')+">"+(j&&!w?" ":F?'<span class="ui-state-default">'+N.getDate()+"</span>":'<a class="ui-state-default'+(N.getTime()==H.getTime()?" ui-state-highlight":"")+(N.getTime()==u.getTime()?" ui-state-active":"")+(j?" ui-priority-secondary":"")+'" href="#">'+N.getDate()+"</a>")+"</td>",N.setDate(N.getDate()+1),N=this._daylightSavingAdjust(N);O+=A+"</tr>"}s++,s>11&&(s=0,h++),O+="</tbody></table>"+(l?"</div>"+(o[0]>0&&C==o[1]-1?'<div class="ui-datepicker-row-break"></div>':""):""),D+=O}S+=D}return S+=n+(d.browser.msie&&parseInt(d.browser.version,10)<7&&!t.inline?'<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>':""),t._keyEvent=!1,S},_generateMonthYearHeader:function(t,e,n,i,r,o,s,a){var l,u,c,f=this._get(t,"changeMonth"),h=this._get(t,"changeYear"),p=this._get(t,"showMonthAfterYear"),g='<div class="ui-datepicker-title">',m="";if(o||!f)m+='<span class="ui-datepicker-month">'+s[e]+"</span>";else{for(s=i&&i.getFullYear()==n,l=r&&r.getFullYear()==n,m+='<select class="ui-datepicker-month" onchange="DP_jQuery_'+y+".datepicker._selectMonthYear('#"+t.id+"', this, 'M');\" onclick=\"DP_jQuery_"+y+".datepicker._clickMonthYear('#"+t.id+"');\">",u=0;u<12;u++)(!s||u>=i.getMonth())&&(!l||u<=r.getMonth())&&(m+='<option value="'+u+'"'+(u==e?' selected="selected"':"")+">"+a[u]+"</option>");m+="</select>"}if(p||(g+=m+(!o&&f&&h?"":" ")),t.yearshtml="",o||!h)g+='<span class="ui-datepicker-year">'+n+"</span>";else{for(a=this._get(t,"yearRange").split(":"),c=(new Date).getFullYear(),s=function(t){return t=t.match(/c[+-].*/)?n+parseInt(t.substring(1),10):t.match(/[+-].*/)?c+parseInt(t,10):parseInt(t,10),isNaN(t)?c:t},e=s(a[0]),a=Math.max(e,s(a[1]||"")),e=i?Math.max(e,i.getFullYear()):e,a=r?Math.min(a,r.getFullYear()):a,t.yearshtml+='<select class="ui-datepicker-year" onchange="DP_jQuery_'+y+".datepicker._selectMonthYear('#"+t.id+"', this, 'Y');\" onclick=\"DP_jQuery_"+y+".datepicker._clickMonthYear('#"+t.id+"');\">";e<=a;e++)t.yearshtml+='<option value="'+e+'"'+(e==n?' selected="selected"':"")+">"+e+"</option>";t.yearshtml+="</select>",d.browser.mozilla?g+='<select class="ui-datepicker-year"><option value="'+n+'" selected="selected">'+n+"</option></select>":(g+=t.yearshtml,t.yearshtml=null)}return g+=this._get(t,"yearSuffix"),p&&(g+=(!o&&f&&h?"":" ")+m),g+="</div>"},_adjustInstDate:function(t,e,n){var i=t.drawYear+("Y"==n?e:0),r=t.drawMonth+("M"==n?e:0);e=Math.min(t.selectedDay,this._getDaysInMonth(i,r))+("D"==n?e:0),i=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(i,r,e))),t.selectedDay=i.getDate(),t.drawMonth=t.selectedMonth=i.getMonth(),t.drawYear=t.selectedYear=i.getFullYear(),"M"!=n&&"Y"!=n||this._notifyChange(t)},_restrictMinMax:function(t,e){var n=this._getMinMaxDate(t,"min");return t=this._getMinMaxDate(t,"max"),e=n&&e<n?n:e,e=t&&e>t?t:e},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){return t=this._get(t,"numberOfMonths"),null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,n,i){var r=this._getNumberOfMonths(t);return n=this._daylightSavingAdjust(new Date(n,i+(e<0?e:r[0]*r[1]),1)),e<0&&n.setDate(this._getDaysInMonth(n.getFullYear(),n.getMonth())),this._isInRange(t,n)},_isInRange:function(t,e){var n=this._getMinMaxDate(t,"min");return t=this._getMinMaxDate(t,"max"),(!n||e.getTime()>=n.getTime())&&(!t||e.getTime()<=t.getTime())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),{shortYearCutoff:e,dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,n,i){return e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear),e=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(i,n,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay)),this.formatDate(this._get(t,"dateFormat"),e,this._getFormatConfig(t))}}),d.fn.datepicker=function(t){if(!this.length)return this;d.datepicker.initialized||(d(document).mousedown(d.datepicker._checkExternalClick).find("body").append(d.datepicker.dpDiv),d.datepicker.initialized=!0);var e=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!=t&&"getDate"!=t&&"widget"!=t?"option"==t&&2==arguments.length&&"string"==typeof arguments[1]?d.datepicker["_"+t+"Datepicker"].apply(d.datepicker,[this[0]].concat(e)):this.each(function(){"string"==typeof t?d.datepicker["_"+t+"Datepicker"].apply(d.datepicker,[this].concat(e)):d.datepicker._attachDatepicker(this,t)}):d.datepicker["_"+t+"Datepicker"].apply(d.datepicker,[this[0]].concat(e))},d.datepicker=new K,d.datepicker.initialized=!1,d.datepicker.uuid=(new Date).getTime(),d.datepicker.version="1.8.11",window["DP_jQuery_"+y]=d}(jQuery),jQuery.effects||function(t,e){function n(e){var n;return e&&e.constructor==Array&&3==e.length?e:(n=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(e))?[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10)]:(n=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(e))?[2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3])]:(n=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(e))?[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]:(n=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(e))?[parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16)]:/rgba\(0, 0, 0, 0\)/.exec(e)?u.transparent:u[t.trim(e).toLowerCase()]}function i(e,i){var r;do{if(r=t.curCSS(e,i),""!=r&&"transparent"!=r||t.nodeName(e,"body"))break;i="backgroundColor"}while(e=e.parentNode);return n(r)}function r(){var t,e,n,i=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,r={};if(i&&i.length&&i[0]&&i[i[0]])for(n=i.length;n--;)t=i[n],"string"==typeof i[t]&&(e=t.replace(/\-(\w)/g,function(t,e){return e.toUpperCase()}),r[e]=i[t]);else for(t in i)"string"==typeof i[t]&&(r[t]=i[t]);return r}function o(e){var n,i;for(n in e)i=e[n],(null==i||t.isFunction(i)||n in f||/scrollbar/.test(n)||!/color/i.test(n)&&isNaN(parseFloat(i)))&&delete e[n];return e}function s(t,e){var n,i={_:0};for(n in e)t[n]!=e[n]&&(i[n]=e[n]);return i}function a(e,n,i,r){return"object"==typeof e&&(r=n,i=null,n=e,e=n.effect),t.isFunction(n)&&(r=n,i=null,n={}),("number"==typeof n||t.fx.speeds[n])&&(r=i,i=n,n={}),t.isFunction(i)&&(r=i,i=null),n=n||{},i=i||n.duration,i=t.fx.off?0:"number"==typeof i?i:i in t.fx.speeds?t.fx.speeds[i]:t.fx.speeds._default,r=r||n.complete,[e,n,i,r]}function l(e){return!(e&&"number"!=typeof e&&!t.fx.speeds[e])||"string"==typeof e&&!t.effects[e]}t.effects={},t.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","borderColor","color","outlineColor"],function(e,r){t.fx.step[r]=function(t){t.colorInit||(t.start=i(t.elem,r),t.end=n(t.end),t.colorInit=!0),t.elem.style[r]="rgb("+Math.max(Math.min(parseInt(t.pos*(t.end[0]-t.start[0])+t.start[0],10),255),0)+","+Math.max(Math.min(parseInt(t.pos*(t.end[1]-t.start[1])+t.start[1],10),255),0)+","+Math.max(Math.min(parseInt(t.pos*(t.end[2]-t.start[2])+t.start[2],10),255),0)+")"}});var u={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},c=["add","remove","toggle"],f={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.effects.animateClass=function(e,n,i,a){return t.isFunction(i)&&(a=i,i=null),this.queue("fx",function(){var l,u=t(this),f=u.attr("style")||" ",h=o(r.call(this)),d=u.attr("className");t.each(c,function(t,n){e[n]&&u[n+"Class"](e[n])}),l=o(r.call(this)),u.attr("className",d),u.animate(s(h,l),n,i,function(){t.each(c,function(t,n){e[n]&&u[n+"Class"](e[n])}),"object"==typeof u.attr("style")?(u.attr("style").cssText="",u.attr("style").cssText=f):u.attr("style",f),a&&a.apply(this,arguments)}),h=t.queue(this),l=h.splice(h.length-1,1)[0],h.splice(1,0,l),t.dequeue(this)})},t.fn.extend({_addClass:t.fn.addClass,addClass:function(e,n,i,r){return n?t.effects.animateClass.apply(this,[{add:e},n,i,r]):this._addClass(e)},_removeClass:t.fn.removeClass,removeClass:function(e,n,i,r){return n?t.effects.animateClass.apply(this,[{remove:e},n,i,r]):this._removeClass(e)},_toggleClass:t.fn.toggleClass,toggleClass:function(n,i,r,o,s){return"boolean"==typeof i||i===e?r?t.effects.animateClass.apply(this,[i?{add:n}:{remove:n},r,o,s]):this._toggleClass(n,i):t.effects.animateClass.apply(this,[{toggle:n},i,r,o])},switchClass:function(e,n,i,r,o){return t.effects.animateClass.apply(this,[{add:n,remove:e},i,r,o])}}),t.extend(t.effects,{version:"1.8.11",save:function(t,e){for(var n=0;n<e.length;n++)null!==e[n]&&t.data("ec.storage."+e[n],t[0].style[e[n]])},restore:function(t,e){for(var n=0;n<e.length;n++)null!==e[n]&&t.css(e[n],t.data("ec.storage."+e[n]))},setMode:function(t,e){return"toggle"==e&&(e=t.is(":hidden")?"show":"hide"),e},getBaseline:function(t,e){var n;switch(t[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=t[0]/e.height}switch(t[1]){case"left":t=0;break;case"center":t=.5;break;case"right":t=1;break;default:t=t[1]/e.width}return{x:t,y:n}},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var n={width:e.outerWidth(!0),height:e.outerHeight(!0),float:e.css("float")},i=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0});return e.wrap(i),i=e.parent(),"static"==e.css("position")?(i.css({position:"relative"}),e.css({position:"relative"})):(t.extend(n,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,i){n[i]=e.css(i),isNaN(parseInt(n[i],10))&&(n[i]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(n).show()},removeWrapper:function(t){return t.parent().is(".ui-effects-wrapper")?t.parent().replaceWith(t):t},setTransition:function(e,n,i,r){return r=r||{},t.each(n,function(t,n){unit=e.cssUnit(n),unit[0]>0&&(r[n]=unit[0]*i+unit[1])}),r}}),t.fn.extend({effect:function(e){var n,i=a.apply(this,arguments),r={options:i[1],duration:i[2],callback:i[3]};return i=r.options.mode,n=t.effects[e],t.fx.off||!n?i?this[i](r.duration,r.callback):this.each(function(){r.callback&&r.callback.call(this)}):n.call(this,r)},_show:t.fn.show,show:function(t){if(l(t))return this._show.apply(this,arguments);var e=a.apply(this,arguments);return e[1].mode="show",this.effect.apply(this,e)},_hide:t.fn.hide,hide:function(t){if(l(t))return this._hide.apply(this,arguments);var e=a.apply(this,arguments);return e[1].mode="hide",this.effect.apply(this,e)},__toggle:t.fn.toggle,toggle:function(e){if(l(e)||"boolean"==typeof e||t.isFunction(e))return this.__toggle.apply(this,arguments);var n=a.apply(this,arguments);return n[1].mode="toggle",this.effect.apply(this,n)},cssUnit:function(e){var n=this.css(e),i=[];return t.each(["em","px","%","pt"],function(t,e){n.indexOf(e)>0&&(i=[parseFloat(n),e])}),i}}),t.easing.jswing=t.easing.swing,t.extend(t.easing,{def:"easeOutQuad",swing:function(e,n,i,r,o){return t.easing[t.easing.def](e,n,i,r,o)},easeInQuad:function(t,e,n,i,r){return i*(e/=r)*e+n},easeOutQuad:function(t,e,n,i,r){return-i*(e/=r)*(e-2)+n},easeInOutQuad:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e+n:-i/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,i,r){return i*(e/=r)*e*e+n},easeOutCubic:function(t,e,n,i,r){return i*((e=e/r-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e+n:i/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,i,r){return i*(e/=r)*e*e*e+n},easeOutQuart:function(t,e,n,i,r){return-i*((e=e/r-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e*e+n:-i/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,i,r){return i*(e/=r)*e*e*e*e+n},easeOutQuint:function(t,e,n,i,r){return i*((e=e/r-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e*e*e+n:i/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,i,r){return-i*Math.cos(e/r*(Math.PI/2))+i+n},easeOutSine:function(t,e,n,i,r){return i*Math.sin(e/r*(Math.PI/2))+n},easeInOutSine:function(t,e,n,i,r){return-i/2*(Math.cos(Math.PI*e/r)-1)+n},easeInExpo:function(t,e,n,i,r){return 0==e?n:i*Math.pow(2,10*(e/r-1))+n},easeOutExpo:function(t,e,n,i,r){return e==r?n+i:i*(-Math.pow(2,-10*e/r)+1)+n},easeInOutExpo:function(t,e,n,i,r){return 0==e?n:e==r?n+i:(e/=r/2)<1?i/2*Math.pow(2,10*(e-1))+n:i/2*(-Math.pow(2,-10*--e)+2)+n},easeInCirc:function(t,e,n,i,r){return-i*(Math.sqrt(1-(e/=r)*e)-1)+n},easeOutCirc:function(t,e,n,i,r){return i*Math.sqrt(1-(e=e/r-1)*e)+n},easeInOutCirc:function(t,e,n,i,r){return(e/=r/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+n:i/2*(Math.sqrt(1-(e-=2)*e)+1)+n},easeInElastic:function(t,e,n,i,r){t=1.70158;var o=0,s=i;return 0==e?n:1==(e/=r)?n+i:(o||(o=.3*r),s<Math.abs(i)?(s=i,t=o/4):t=o/(2*Math.PI)*Math.asin(i/s),-(s*Math.pow(2,10*(e-=1))*Math.sin(2*(e*r-t)*Math.PI/o))+n)},easeOutElastic:function(t,e,n,i,r){
|
||
t=1.70158;var o=0,s=i;return 0==e?n:1==(e/=r)?n+i:(o||(o=.3*r),s<Math.abs(i)?(s=i,t=o/4):t=o/(2*Math.PI)*Math.asin(i/s),s*Math.pow(2,-10*e)*Math.sin(2*(e*r-t)*Math.PI/o)+i+n)},easeInOutElastic:function(t,e,n,i,r){t=1.70158;var o=0,s=i;return 0==e?n:2==(e/=r/2)?n+i:(o||(o=.3*r*1.5),s<Math.abs(i)?(s=i,t=o/4):t=o/(2*Math.PI)*Math.asin(i/s),e<1?-.5*s*Math.pow(2,10*(e-=1))*Math.sin(2*(e*r-t)*Math.PI/o)+n:s*Math.pow(2,-10*(e-=1))*Math.sin(2*(e*r-t)*Math.PI/o)*.5+i+n)},easeInBack:function(t,n,i,r,o,s){return s==e&&(s=1.70158),r*(n/=o)*n*((s+1)*n-s)+i},easeOutBack:function(t,n,i,r,o,s){return s==e&&(s=1.70158),r*((n=n/o-1)*n*((s+1)*n+s)+1)+i},easeInOutBack:function(t,n,i,r,o,s){return s==e&&(s=1.70158),(n/=o/2)<1?r/2*n*n*(((s*=1.525)+1)*n-s)+i:r/2*((n-=2)*n*(((s*=1.525)+1)*n+s)+2)+i},easeInBounce:function(e,n,i,r,o){return r-t.easing.easeOutBounce(e,o-n,0,r,o)+i},easeOutBounce:function(t,e,n,i,r){return(e/=r)<1/2.75?7.5625*i*e*e+n:e<2/2.75?i*(7.5625*(e-=1.5/2.75)*e+.75)+n:e<2.5/2.75?i*(7.5625*(e-=2.25/2.75)*e+.9375)+n:i*(7.5625*(e-=2.625/2.75)*e+.984375)+n},easeInOutBounce:function(e,n,i,r,o){return n<o/2?.5*t.easing.easeInBounce(e,2*n,0,r,o)+i:.5*t.easing.easeOutBounce(e,2*n-o,0,r,o)+.5*r+i}})}(jQuery)},function(t,e){"use strict";!function(t){function e(e){var n,i;"string"==typeof e.data&&(n=e.handler,i=e.data.toLowerCase().split(" "),e.handler=function(e){var r,o,s,a,l,u;if(this===e.target||!/textarea|select/i.test(e.target.nodeName)&&"text"!==e.target.type)for(r="keypress"!==e.type&&t.hotkeys.specialKeys[e.which],o=String.fromCharCode(e.which).toLowerCase(),s="",a={},e.ctrlKey&&"ctrl"!==r&&(s+="ctrl+"),e.altKey&&"alt"!==r&&(s+="alt+"),e.metaKey&&!e.ctrlKey&&"meta"!==r&&(s+="meta+"),e.shiftKey&&"shift"!==r&&(s+="shift+"),r?a[s+r]=!0:(a[s+o]=!0,a[s+t.hotkeys.shiftNums[o]]=!0,"shift+"===s&&(a[t.hotkeys.shiftNums[o]]=!0)),l=0,u=i.length;l<u;l++)if(a[i[l]])return n.apply(this,arguments)})}t.hotkeys={version:"0.8",specialKeys:{8:/mac/i.test(navigator.platform)?"del":"backspace",9:"tab",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",191:"/",224:"meta"},shiftNums:{"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":": ","'":'"',",":"<",".":">","/":"?","\\":"|"}},t.each(["keydown","keyup","keypress"],function(){t.event.special[this]={add:e}})}(jQuery)},function(t,e,n){var i,r;(function(){function n(t){function e(e,n,i,r,o,s){for(;o>=0&&o<s;o+=t){var a=r?r[o]:o;i=n(i,e[a],a,e)}return i}return function(n,i,r,o){i=l(i,o,4);var s=!g(n)&&U.keys(n),a=(s||n).length,u=t>0?0:a-1;return arguments.length<3&&(r=n[s?s[u]:u],u+=t),e(n,i,r,s,u,a)}}function o(t){return function(e,n,i){var r,o;for(n=u(n,i),r=p(e),o=t>0?0:r-1;o>=0&&o<r;o+=t)if(n(e[o],o,e))return o;return-1}}function s(t,e,n){return function(i,r,o){var s=0,a=p(i);if("number"==typeof o)t>0?s=o>=0?o:Math.max(o+a,s):a=o>=0?Math.min(o+1,a):o+a+1;else if(n&&o&&a)return o=n(i,r),i[o]===r?o:-1;if(r!==r)return o=e(F.call(i,s,a),U.isNaN),o>=0?o+s:-1;for(o=t>0?s:a-1;o>=0&&o<a;o+=t)if(i[o]===r)return o;return-1}}function a(t,e){var n=_.length,i=t.constructor,r=U.isFunction(i)&&i.prototype||A,o="constructor";for(U.has(t,o)&&!U.contains(e,o)&&e.push(o);n--;)o=_[n],o in t&&t[o]!==r[o]&&!U.contains(e,o)&&e.push(o)}var l,u,c,f,h,d,p,g,m,v,y,b,_,w,x,k,S,T,D,C,M,P,O,E=this,N=E._,I=Array.prototype,A=Object.prototype,L=Function.prototype,j=I.push,F=I.slice,H=A.toString,z=A.hasOwnProperty,Y=Array.isArray,R=Object.keys,W=L.bind,V=Object.create,B=function(){},U=function(t){return t instanceof U?t:this instanceof U?void(this._wrapped=t):new U(t)};void 0!==t&&t.exports&&(e=t.exports=U),e._=U,U.VERSION="1.8.3",l=function(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)};case 4:return function(n,i,r,o){return t.call(e,n,i,r,o)}}return function(){return t.apply(e,arguments)}},u=function(t,e,n){return null==t?U.identity:U.isFunction(t)?l(t,e,n):U.isObject(t)?U.matcher(t):U.property(t)},U.iteratee=function(t,e){return u(t,e,1/0)},c=function(t,e){return function(n){var i,r,o,s,a,l,u=arguments.length;if(u<2||null==n)return n;for(i=1;i<u;i++)for(r=arguments[i],o=t(r),s=o.length,a=0;a<s;a++)l=o[a],e&&void 0!==n[l]||(n[l]=r[l]);return n}},f=function(t){if(!U.isObject(t))return{};if(V)return V(t);B.prototype=t;var e=new B;return B.prototype=null,e},h=function(t){return function(e){return null==e?void 0:e[t]}},d=Math.pow(2,53)-1,p=h("length"),g=function(t){var e=p(t);return"number"==typeof e&&e>=0&&e<=d},U.each=U.forEach=function(t,e,n){var i,r,o;if(e=l(e,n),g(t))for(i=0,r=t.length;i<r;i++)e(t[i],i,t);else for(o=U.keys(t),i=0,r=o.length;i<r;i++)e(t[o[i]],o[i],t);return t},U.map=U.collect=function(t,e,n){var i,r,o,s,a;for(e=u(e,n),i=!g(t)&&U.keys(t),r=(i||t).length,o=Array(r),s=0;s<r;s++)a=i?i[s]:s,o[s]=e(t[a],a,t);return o},U.reduce=U.foldl=U.inject=n(1),U.reduceRight=U.foldr=n(-1),U.find=U.detect=function(t,e,n){var i;if(i=g(t)?U.findIndex(t,e,n):U.findKey(t,e,n),void 0!==i&&i!==-1)return t[i]},U.filter=U.select=function(t,e,n){var i=[];return e=u(e,n),U.each(t,function(t,n,r){e(t,n,r)&&i.push(t)}),i},U.reject=function(t,e,n){return U.filter(t,U.negate(u(e)),n)},U.every=U.all=function(t,e,n){var i,r,o,s;for(e=u(e,n),i=!g(t)&&U.keys(t),r=(i||t).length,o=0;o<r;o++)if(s=i?i[o]:o,!e(t[s],s,t))return!1;return!0},U.some=U.any=function(t,e,n){var i,r,o,s;for(e=u(e,n),i=!g(t)&&U.keys(t),r=(i||t).length,o=0;o<r;o++)if(s=i?i[o]:o,e(t[s],s,t))return!0;return!1},U.contains=U.includes=U.include=function(t,e,n,i){return g(t)||(t=U.values(t)),("number"!=typeof n||i)&&(n=0),U.indexOf(t,e,n)>=0},U.invoke=function(t,e){var n=F.call(arguments,2),i=U.isFunction(e);return U.map(t,function(t){var r=i?e:t[e];return null==r?r:r.apply(t,n)})},U.pluck=function(t,e){return U.map(t,U.property(e))},U.where=function(t,e){return U.filter(t,U.matcher(e))},U.findWhere=function(t,e){return U.find(t,U.matcher(e))},U.max=function(t,e,n){var i,r,o,s,a=-(1/0),l=-(1/0);if(null==e&&null!=t)for(t=g(t)?t:U.values(t),o=0,s=t.length;o<s;o++)i=t[o],i>a&&(a=i);else e=u(e,n),U.each(t,function(t,n,i){r=e(t,n,i),(r>l||r===-(1/0)&&a===-(1/0))&&(a=t,l=r)});return a},U.min=function(t,e,n){var i,r,o,s,a=1/0,l=1/0;if(null==e&&null!=t)for(t=g(t)?t:U.values(t),o=0,s=t.length;o<s;o++)i=t[o],i<a&&(a=i);else e=u(e,n),U.each(t,function(t,n,i){r=e(t,n,i),(r<l||r===1/0&&a===1/0)&&(a=t,l=r)});return a},U.shuffle=function(t){var e,n,i=g(t)?t:U.values(t),r=i.length,o=Array(r);for(e=0;e<r;e++)n=U.random(0,e),n!==e&&(o[e]=o[n]),o[n]=i[e];return o},U.sample=function(t,e,n){return null==e||n?(g(t)||(t=U.values(t)),t[U.random(t.length-1)]):U.shuffle(t).slice(0,Math.max(0,e))},U.sortBy=function(t,e,n){return e=u(e,n),U.pluck(U.map(t,function(t,n,i){return{value:t,index:n,criteria:e(t,n,i)}}).sort(function(t,e){var n=t.criteria,i=e.criteria;if(n!==i){if(n>i||void 0===n)return 1;if(n<i||void 0===i)return-1}return t.index-e.index}),"value")},m=function(t){return function(e,n,i){var r={};return n=u(n,i),U.each(e,function(i,o){var s=n(i,o,e);t(r,i,s)}),r}},U.groupBy=m(function(t,e,n){U.has(t,n)?t[n].push(e):t[n]=[e]}),U.indexBy=m(function(t,e,n){t[n]=e}),U.countBy=m(function(t,e,n){U.has(t,n)?t[n]++:t[n]=1}),U.toArray=function(t){return t?U.isArray(t)?F.call(t):g(t)?U.map(t,U.identity):U.values(t):[]},U.size=function(t){return null==t?0:g(t)?t.length:U.keys(t).length},U.partition=function(t,e,n){e=u(e,n);var i=[],r=[];return U.each(t,function(t,n,o){(e(t,n,o)?i:r).push(t)}),[i,r]},U.first=U.head=U.take=function(t,e,n){if(null!=t)return null==e||n?t[0]:U.initial(t,t.length-e)},U.initial=function(t,e,n){return F.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},U.last=function(t,e,n){if(null!=t)return null==e||n?t[t.length-1]:U.rest(t,Math.max(0,t.length-e))},U.rest=U.tail=U.drop=function(t,e,n){return F.call(t,null==e||n?1:e)},U.compact=function(t){return U.filter(t,U.identity)},v=function(t,e,n,i){var r,o,s,a,l,u=[],c=0;for(r=i||0,o=p(t);r<o;r++)if(s=t[r],g(s)&&(U.isArray(s)||U.isArguments(s)))for(e||(s=v(s,e,n)),a=0,l=s.length,u.length+=l;a<l;)u[c++]=s[a++];else n||(u[c++]=s);return u},U.flatten=function(t,e){return v(t,e,!1)},U.without=function(t){return U.difference(t,F.call(arguments,1))},U.uniq=U.unique=function(t,e,n,i){var r,o,s,a,l,c;for(U.isBoolean(e)||(i=n,n=e,e=!1),null!=n&&(n=u(n,i)),r=[],o=[],s=0,a=p(t);s<a;s++)l=t[s],c=n?n(l,s,t):l,e?(s&&o===c||r.push(l),o=c):n?U.contains(o,c)||(o.push(c),r.push(l)):U.contains(r,l)||r.push(l);return r},U.union=function(){return U.uniq(v(arguments,!0,!0))},U.intersection=function(t){var e,n,i,r,o=[],s=arguments.length;for(e=0,n=p(t);e<n;e++)if(i=t[e],!U.contains(o,i)){for(r=1;r<s&&U.contains(arguments[r],i);r++);r===s&&o.push(i)}return o},U.difference=function(t){var e=v(arguments,!0,!0,1);return U.filter(t,function(t){return!U.contains(e,t)})},U.zip=function(){return U.unzip(arguments)},U.unzip=function(t){var e,n=t&&U.max(t,p).length||0,i=Array(n);for(e=0;e<n;e++)i[e]=U.pluck(t,e);return i},U.object=function(t,e){var n,i,r={};for(n=0,i=p(t);n<i;n++)e?r[t[n]]=e[n]:r[t[n][0]]=t[n][1];return r},U.findIndex=o(1),U.findLastIndex=o(-1),U.sortedIndex=function(t,e,n,i){var r,o,s,a;for(n=u(n,i,1),r=n(e),o=0,s=p(t);o<s;)a=Math.floor((o+s)/2),n(t[a])<r?o=a+1:s=a;return o},U.indexOf=s(1,U.findIndex,U.sortedIndex),U.lastIndexOf=s(-1,U.findLastIndex),U.range=function(t,e,n){var i,r,o;for(null==e&&(e=t||0,t=0),n=n||1,i=Math.max(Math.ceil((e-t)/n),0),r=Array(i),o=0;o<i;o++,t+=n)r[o]=t;return r},y=function(t,e,n,i,r){var o,s;return i instanceof e?(o=f(t.prototype),s=t.apply(o,r),U.isObject(s)?s:o):t.apply(n,r)},U.bind=function(t,e){var n,i;if(W&&t.bind===W)return W.apply(t,F.call(arguments,1));if(!U.isFunction(t))throw new TypeError("Bind must be called on a function");return n=F.call(arguments,2),i=function(){return y(t,i,e,this,n.concat(F.call(arguments)))}},U.partial=function(t){var e=F.call(arguments,1),n=function(){var i,r=0,o=e.length,s=Array(o);for(i=0;i<o;i++)s[i]=e[i]===U?arguments[r++]:e[i];for(;r<arguments.length;)s.push(arguments[r++]);return y(t,n,this,this,s)};return n},U.bindAll=function(t){var e,n,i=arguments.length;if(i<=1)throw Error("bindAll must be passed function names");for(e=1;e<i;e++)n=arguments[e],t[n]=U.bind(t[n],t);return t},U.memoize=function(t,e){var n=function(i){var r=n.cache,o=""+(e?e.apply(this,arguments):i);return U.has(r,o)||(r[o]=t.apply(this,arguments)),r[o]};return n.cache={},n},U.delay=function(t,e){var n=F.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},U.defer=U.partial(U.delay,U,1),U.throttle=function(t,e,n){var i,r,o,s,a=null,l=0;return n||(n={}),s=function(){l=n.leading===!1?0:U.now(),a=null,o=t.apply(i,r),a||(i=r=null)},function(){var u,c=U.now();return l||n.leading!==!1||(l=c),u=e-(c-l),i=this,r=arguments,u<=0||u>e?(a&&(clearTimeout(a),a=null),l=c,o=t.apply(i,r),a||(i=r=null)):a||n.trailing===!1||(a=setTimeout(s,u)),o}},U.debounce=function(t,e,n){var i,r,o,s,a,l=function(){var u=U.now()-s;u<e&&u>=0?i=setTimeout(l,e-u):(i=null,n||(a=t.apply(o,r),i||(o=r=null)))};return function(){o=this,r=arguments,s=U.now();var u=n&&!i;return i||(i=setTimeout(l,e)),u&&(a=t.apply(o,r),o=r=null),a}},U.wrap=function(t,e){return U.partial(e,t)},U.negate=function(t){return function(){return!t.apply(this,arguments)}},U.compose=function(){var t=arguments,e=t.length-1;return function(){for(var n=e,i=t[e].apply(this,arguments);n--;)i=t[n].call(this,i);return i}},U.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},U.before=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},U.once=U.partial(U.before,2),b=!{toString:null}.propertyIsEnumerable("toString"),_=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],U.keys=function(t){var e,n;if(!U.isObject(t))return[];if(R)return R(t);e=[];for(n in t)U.has(t,n)&&e.push(n);return b&&a(t,e),e},U.allKeys=function(t){var e,n;if(!U.isObject(t))return[];e=[];for(n in t)e.push(n);return b&&a(t,e),e},U.values=function(t){var e,n=U.keys(t),i=n.length,r=Array(i);for(e=0;e<i;e++)r[e]=t[n[e]];return r},U.mapObject=function(t,e,n){var i,r,o,s,a;for(e=u(e,n),i=U.keys(t),r=i.length,o={},a=0;a<r;a++)s=i[a],o[s]=e(t[s],s,t);return o},U.pairs=function(t){var e,n=U.keys(t),i=n.length,r=Array(i);for(e=0;e<i;e++)r[e]=[n[e],t[n[e]]];return r},U.invert=function(t){var e,n,i={},r=U.keys(t);for(e=0,n=r.length;e<n;e++)i[t[r[e]]]=r[e];return i},U.functions=U.methods=function(t){var e,n=[];for(e in t)U.isFunction(t[e])&&n.push(e);return n.sort()},U.extend=c(U.allKeys),U.extendOwn=U.assign=c(U.keys),U.findKey=function(t,e,n){var i,r,o,s;for(e=u(e,n),i=U.keys(t),o=0,s=i.length;o<s;o++)if(r=i[o],e(t[r],r,t))return r},U.pick=function(t,e,n){var i,r,o,s,a,u,c={},f=t;if(null==f)return c;U.isFunction(e)?(r=U.allKeys(f),i=l(e,n)):(r=v(arguments,!1,!1,1),i=function(t,e,n){return e in n},f=Object(f));for(o=0,s=r.length;o<s;o++)a=r[o],u=f[a],i(u,a,f)&&(c[a]=u);return c},U.omit=function(t,e,n){if(U.isFunction(e))e=U.negate(e);else{var i=U.map(v(arguments,!1,!1,1),String);e=function(t,e){return!U.contains(i,e)}}return U.pick(t,e,n)},U.defaults=c(U.allKeys,!0),U.create=function(t,e){var n=f(t);return e&&U.extendOwn(n,e),n},U.clone=function(t){return U.isObject(t)?U.isArray(t)?t.slice():U.extend({},t):t},U.tap=function(t,e){return e(t),t},U.isMatch=function(t,e){var n,i,r,o=U.keys(e),s=o.length;if(null==t)return!s;for(n=Object(t),i=0;i<s;i++)if(r=o[i],e[r]!==n[r]||!(r in n))return!1;return!0},w=function(t,e,n,i){var r,o,s,a,l,u,c;if(t===e)return 0!==t||1/t===1/e;if(null==t||null==e)return t===e;if(t instanceof U&&(t=t._wrapped),e instanceof U&&(e=e._wrapped),r=H.call(t),r!==H.call(e))return!1;switch(r){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!==+t?+e!==+e:0===+t?1/+t===1/e:+t===+e;case"[object Date]":case"[object Boolean]":return+t===+e}if(o="[object Array]"===r,!o){if("object"!=typeof t||"object"!=typeof e)return!1;if(s=t.constructor,a=e.constructor,s!==a&&!(U.isFunction(s)&&s instanceof s&&U.isFunction(a)&&a instanceof a)&&"constructor"in t&&"constructor"in e)return!1}for(n=n||[],i=i||[],l=n.length;l--;)if(n[l]===t)return i[l]===e;if(n.push(t),i.push(e),o){if(l=t.length,l!==e.length)return!1;for(;l--;)if(!w(t[l],e[l],n,i))return!1}else{if(u=U.keys(t),l=u.length,U.keys(e).length!==l)return!1;for(;l--;)if(c=u[l],!U.has(e,c)||!w(t[c],e[c],n,i))return!1}return n.pop(),i.pop(),!0},U.isEqual=function(t,e){return w(t,e)},U.isEmpty=function(t){return null==t||(g(t)&&(U.isArray(t)||U.isString(t)||U.isArguments(t))?0===t.length:0===U.keys(t).length)},U.isElement=function(t){return!(!t||1!==t.nodeType)},U.isArray=Y||function(t){return"[object Array]"===H.call(t)},U.isObject=function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},U.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){U["is"+t]=function(e){return H.call(e)==="[object "+t+"]"}}),U.isArguments(arguments)||(U.isArguments=function(t){return U.has(t,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(U.isFunction=function(t){return"function"==typeof t||!1}),U.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},U.isNaN=function(t){return U.isNumber(t)&&t!==+t},U.isBoolean=function(t){return t===!0||t===!1||"[object Boolean]"===H.call(t)},U.isNull=function(t){return null===t},U.isUndefined=function(t){return void 0===t},U.has=function(t,e){return null!=t&&z.call(t,e)},U.noConflict=function(){return E._=N,this},U.identity=function(t){return t},U.constant=function(t){return function(){return t}},U.noop=function(){},U.property=h,U.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},U.matcher=U.matches=function(t){return t=U.extendOwn({},t),function(e){return U.isMatch(e,t)}},U.times=function(t,e,n){var i,r=Array(Math.max(0,t));for(e=l(e,n,1),i=0;i<t;i++)r[i]=e(i);return r},U.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},U.now=Date.now||function(){return(new Date).getTime()},x={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},k=U.invert(x),S=function(t){var e=function(e){return t[e]},n="(?:"+U.keys(t).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(t){return t=null==t?"":""+t,i.test(t)?t.replace(r,e):t}},U.escape=S(x),U.unescape=S(k),U.result=function(t,e,n){var i=null==t?void 0:t[e];return void 0===i&&(i=n),U.isFunction(i)?i.call(t):i},T=0,U.uniqueId=function(t){var e=++T+"";return t?t+e:e},U.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},D=/(.)^/,C={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},M=/\\|'|\r|\n|\u2028|\u2029/g,P=function(t){return"\\"+C[t]},U.template=function(t,e,n){var i,r,o,s,a,l;!e&&n&&(e=n),e=U.defaults({},e,U.templateSettings),i=RegExp([(e.escape||D).source,(e.interpolate||D).source,(e.evaluate||D).source].join("|")+"|$","g"),r=0,o="__p+='",t.replace(i,function(e,n,i,s,a){return o+=t.slice(r,a).replace(M,P),r=a+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":i?o+="'+\n((__t=("+i+"))==null?'':__t)+\n'":s&&(o+="';\n"+s+"\n__p+='"),e}),o+="';\n",e.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{s=Function(e.variable||"obj","_",o)}catch(t){throw t.source=o,t}return a=function(t){return s.call(this,t,U)},l=e.variable||"obj",a.source="function("+l+"){\n"+o+"}",a},U.chain=function(t){var e=U(t);return e._chain=!0,e},O=function(t,e){return t._chain?U(e).chain():e},U.mixin=function(t){U.each(U.functions(t),function(e){var n=U[e]=t[e];U.prototype[e]=function(){var t=[this._wrapped];return j.apply(t,arguments),O(this,n.apply(U,t))}})},U.mixin(U),U.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=I[t];U.prototype[t]=function(){var n=this._wrapped;return e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],O(this,n)}}),U.each(["concat","join","slice"],function(t){var e=I[t];U.prototype[t]=function(){return O(this,e.apply(this._wrapped,arguments))}}),U.prototype.value=function(){return this._wrapped},U.prototype.valueOf=U.prototype.toJSON=U.prototype.value,U.prototype.toString=function(){return""+this._wrapped},i=[],r=function(){return U}.apply(e,i),!(void 0!==r&&(t.exports=r))}).call(this)},function(t,e){"use strict";!function(){var t,e,n,i,r,o,s=function(){};for(void 0===window.console&&(window.console={}),t=window.console,e=["dir","log","time","info","warn","count","clear","debug","error","group","trace","assert","dirxml","profile","timeEnd","groupEnd","profileEnd","timeStamp","exception","table","notifyFirebug","groupCollapsed","getFirebugElement","firebug","userObjects","someMethodForAssetHashChange"],n=0,i=e.length;n<i;n++)if(r=e[n],void 0===t[r])try{t[r]=s}catch(t){}o=window.onerror,window.__tv_js_errors=[],window.onerror=function(t,e,n,i,r){var s=new Date;if(s=s.getHours()+":"+s.getMinutes()+":"+s.getSeconds()+"."+s.getMilliseconds(),null!=r?window.__tv_js_errors.push(t+" (found at "+e+", line "+n+" at time "+s+", stack:<br> "+r.stack+")<br><br>"):window.__tv_js_errors.push(t+" (found at "+e+", line "+n+" at time "+s+")"),o)try{o.apply(window,arguments)}catch(t){}}}()},function(t,e,n){var i,r,o;!function(s){r=[n(706)],i=s,o="function"==typeof i?i.apply(e,r):i,!(void 0!==o&&(t.exports=o))}(function(t){function e(t){return a.raw?t:encodeURIComponent(t)}function n(t){return a.raw?t:decodeURIComponent(t)}function i(t){return e(a.json?JSON.stringify(t):t+"")}function r(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(s," ")),a.json?JSON.parse(t):t}catch(t){}}function o(e,n){var i=a.raw?e:r(e);return t.isFunction(n)?n(i):i}var s=/\+/g,a=t.cookie=function(r,s,l){var u,c,f,h,d,p,g,m,v;if(void 0!==s&&!t.isFunction(s))return l=t.extend({},a.defaults,l),"number"==typeof l.expires&&(u=l.expires,c=l.expires=new Date,c.setTime(+c+864e5*u)),document.cookie=e(r)+"="+i(s)+(l.expires?"; expires="+l.expires.toUTCString():"")+(l.path?"; path="+l.path:"")+(l.domain?"; domain="+l.domain:"")+(l.secure?"; secure":"");for(f=r?void 0:{},h=document.cookie?document.cookie.split("; "):[],d=0,p=h.length;d<p;d++){if(g=h[d].split("="),m=n(g.shift()),v=g.join("="),r&&r===m){f=o(v,s);break}r||void 0===(v=o(v))||(f[m]=v)}return f};a.defaults={},t.removeCookie=function(e,n){return void 0!==t.cookie(e)&&(t.cookie(e,"",t.extend({},n,{expires:-1})),!t.cookie(e))}})},function(t,e){"use strict";!function(t){function e(e){var n=e||window.event,i=[].slice.call(arguments,1),r=0,o=0,s=0;return e=t.event.fix(n),e.type="mousewheel",n.wheelDelta&&(r=n.wheelDelta/120),n.detail&&(r=-n.detail/3),s=r,void 0!==n.axis&&n.axis===n.HORIZONTAL_AXIS&&(s=0,o=-1*r),void 0!==n.wheelDeltaY&&(s=n.wheelDeltaY/120),void 0!==n.wheelDeltaX&&(o=-1*n.wheelDeltaX/120),i.unshift(e,r,o,s),(t.event.dispatch||t.event.handle).apply(this,i)}var n,i=["DOMMouseScroll","mousewheel"];if(t.event.fixHooks)for(n=i.length;n;)t.event.fixHooks[i[--n]]=t.event.mouseHooks;t.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var t=i.length;t;)this.addEventListener(i[--t],e,!1);else this.onmousewheel=e},teardown:function(){if(this.removeEventListener)for(var t=i.length;t;)this.removeEventListener(i[--t],e,!1);else this.onmousewheel=null}},t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}(jQuery)},function(t,e){!function(t){"use strict";t.fn.pixelSnap=function(){var e=.01,n=1-e;return t(this).each(function(){var i,r,o,s,a,l,u=this,c=t(u);u.getBoundingClientRect&&(i=u.getBoundingClientRect(),(i.left%1<e||i.left%1>n)&&(i.top%1<e||i.top%1>n)||(r=Math.round(parseFloat(c.css("margin-left")))||0,o=Math.round(parseFloat(c.css("margin-top")))||0,c.css({"margin-left":r+"px","margin-top":o+"px"}),s=u.getBoundingClientRect(),a=-s.left%1,a>0&&(a-=1),a<-.5&&(a+=1),l=-s.top%1,l>0&&(l-=1),l<-.5&&(l+=1),c.css({"margin-left":r+a+"px","margin-top":o+l+"px"})))}),this}}(jQuery)},function(t,e){"use strict";!function(t,e){function n(){this._state=[],this._defaults={classHolder:"sbHolder",classHolderDisabled:"sbHolderDisabled",classHolderOpen:"sbHolderOpen",classSelector:"sbSelector",classOptions:"sbOptions",classGroup:"sbGroup",classSub:"sbSub",classDisabled:"sbDisabled",classToggleOpen:"sbToggleOpen",classToggle:"sbToggle",classSeparator:"sbSeparator",useCustomPrependWithSelector:"",customPrependSelectorClass:"",speed:200,slidesUp:!1,effect:"slide",onChange:null,onOpen:null,onClose:null}}function i(e,n,i,r){function o(){n.removeClass(e.settings.customPrependSelectorClass),e._lastSelectorPrepend&&(e._lastSelectorPrepend.remove(),delete e._lastSelectorPrepend),i.data("custom-option-prepend")&&(e.settings.customPrependSelectorClass&&n.addClass(e.settings.customPrependSelectorClass),e._lastSelectorPrepend=t(i.data("custom-option-prepend")).clone(),n[e.settings.useCustomPrependWithSelector](e._lastSelectorPrepend))}e.settings.useCustomPrependWithSelector&&(r?e._onAttachCallback=o:o())}var r="selectbox",o=!1,s=!0;t.extend(n.prototype,{_refreshSelectbox:function(t,e){if(!t)return o;var n=this._getInst(t);return null==n?o:(this._fillList(t,n,e),s)},_isOpenSelectbox:function(t){if(!t)return o;var e=this._getInst(t);return e.isOpen},_isDisabledSelectbox:function(t){if(!t)return o;var e=this._getInst(t);return e.isDisabled},_attachSelectbox:function(n,i){function s(){var e,n=this.attr("id").split("_")[1];for(e in u._state)e!==n&&u._state.hasOwnProperty(e)&&t(":input[sb='"+e+"']")[0]&&u._closeSelectbox(t(":input[sb='"+e+"']")[0])}function a(e){l.children().each(function(i){var r,o=t(this);if(o.is(":selected")){if(38==e&&i>0)return r=t(l.children()[i-1]),u._changeSelectbox(n,r.val(),r.text()),!1;if(40==e&&i<l.children().length-1)return r=t(l.children()[i+1]),u._changeSelectbox(n,r.val(),r.text()),!1}})}var l,u,c,f,h,d,p,g,m,v,y,b;return this._getInst(n)?o:(l=t(n),u=this,c=u._newInst(l),g=o,m=l.find("optgroup"),v=l.find("option"),y=v.length,l.attr("sb",c.uid),t.extend(c.settings,u._defaults,i),u._state[c.uid]=o,l.hide(),f=t("<div>",{id:"sbHolder_"+c.uid,class:c.settings.classHolder}),b=l.data("selectbox-css"),b&&f.css(b),h=t("<a>",{id:"sbSelector_"+c.uid,href:"#",class:c.settings.classSelector,click:function(e){e.preventDefault(),e.stopPropagation(),s.apply(t(this),[]);var i=t(this).attr("id").split("_")[1];u._state[i]?u._closeSelectbox(n):(u._openSelectbox(n),d.focus())},keyup:function(t){a(t.keyCode)}}),d=t("<a>",{id:"sbToggle_"+c.uid,href:"#",class:c.settings.classToggle,click:function(e){e.preventDefault(),e.stopPropagation(),s.apply(t(this),[]);var i=t(this).attr("id").split("_")[1];u._state[i]?u._closeSelectbox(n):(u._openSelectbox(n),d.focus())},keyup:function(t){a(t.keyCode)}}),d.appendTo(f),p=t("<ul>",{id:"sbOptions_"+c.uid,class:c.settings.classOptions,css:{display:"none"}}),c.sbOptions=p,c.sbToggle=d,c.sbSelector=h,this._fillList(n,c),t.data(n,r,c),h.appendTo(f),p.appendTo(f),f.insertAfter(l),c._onAttachCallback&&(c._onAttachCallback(),delete c._onAttachCallback),l.is(":disabled")&&t.selectbox._disableSelectbox(n),l.change(function(){var e=t(this).val(),i=l.find("option[value='"+e+"']").text();u._changeSelectbox(n,e,i)}),e)},_detachSelectbox:function(n){var i=this._getInst(n);return i?(t("#sbHolder_"+i.uid).remove(),delete this._state[i.uid],t.data(n,r,null),t(n).show(),e):o},_changeSelectbox:function(e,n,r){var a,l,u=this._getInst(e),c=this._get(u,"onChange"),f=t("#sbSelector_"+u.uid).text()===r&&t("#sbOptions_"+u.uid).find('a[rel="'+n+'"]').hasClass("active");f||(a=t(e).find("option[value='"+n+"']"),l=t("#sbSelector_"+u.uid),l.text(r),i(u,l,a),t("#sbOptions_"+u.uid).find(".active").removeClass("active"),t("#sbOptions_"+u.uid).find('a[rel="'+n+'"]').addClass("active"),t(e).find("option").attr("selected",o),a.attr("selected",s),c?c.apply(u.input?u.input[0]:null,[n,u]):u.input&&u.input.trigger("change"))},_enableSelectbox:function(n){var i=this._getInst(n);return i&&i.isDisabled?(t("#sbHolder_"+i.uid).removeClass(i.settings.classHolderDisabled),i.isDisabled=o,t.data(n,r,i),e):o},_disableSelectbox:function(n){var i=this._getInst(n);return!i||i.isDisabled?o:(t("#sbHolder_"+i.uid).addClass(i.settings.classHolderDisabled),i.isDisabled=s,t.data(n,r,i),e)},_optionSelectbox:function(n,i,s){var a=this._getInst(n);return a?null==s?a[i]:(a[i]=s,t.data(n,r,a),e):o},_openSelectbox:function(e){var n,i,o,a,l,u,c,f,h=this._getInst(e),d=this;!h||h.isOpen||h.isDisabled||(n=t("#sbOptions_"+h.uid),i=parseInt(t(window).height(),10),o=parseInt(t(window).width(),10),a=t("#sbHolder_"+h.uid).offset(),l=t(window).scrollTop(),u=n.prev().height(),c=i-(a.top-l)-u/2,f=this._get(h,"onOpen"),c>50&&!h.settings.slidesUp?n.css({bottom:"auto",top:u+2+"px",maxHeight:c-u+"px"}):n.css({top:"auto",bottom:u+2+"px",maxHeight:a.top-l-u/2+"px"}),a.left+n.width()>o?n.css("left","-"+(n.width()-n.parent().width()+3)+"px"):n.css("left","-1px"),"fade"===h.settings.effect?n.fadeIn(h.settings.speed):n.slideDown(h.settings.speed),t("#sbToggle_"+h.uid).addClass(h.settings.classToggleOpen),t("#sbHolder_"+h.uid).addClass(h.settings.classHolderOpen),this._state[h.uid]=s,h.isOpen=s,f&&f.apply(h.input?h.input[0]:null,[h]),t.data(e,r,h),t("html").unbind("click.sbClose").one("click.sbClose",function(){d._closeSelectbox(e)}))},_closeSelectbox:function(e){var n,i=this._getInst(e);i&&i.isOpen&&(n=this._get(i,"onClose"),t("#sbOptions_"+i.uid).hide(),t("#sbToggle_"+i.uid).removeClass(i.settings.classToggleOpen),t("#sbHolder_"+i.uid).removeClass(i.settings.classHolderOpen),this._state[i.uid]=o,i.isOpen=o,n&&n.apply(i.input?i.input[0]:null,[i]),t.data(e,r,i),t("html").unbind("click.sbClose"))},_newInst:function(t){var e=t[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:e,input:t,uid:Math.floor(99999999*Math.random()),isOpen:o,isDisabled:o,isSelected:o,settings:{}}},_getInst:function(e){try{return t.data(e,r)}catch(t){throw"Missing instance data for this selectbox"}},_get:function(t,n){return t.settings[n]!==e?t.settings[n]:this._defaults[n]},_getOptions:function(n,r,o,a,l){var u=!(!arguments[1]||!arguments[1].sub),c=!(!arguments[1]||!arguments[1].disabled),f=this;arguments[0].each(function(n){var r,h=t(this),d=t("<li>");h.is(":selected")&&(o.sbSelector.text(h.text()),i(o,o.sbSelector,h,!0),o.isSelected=s),n===a-1&&d.addClass("last"),function(){var n,i=h.text(),s=h.data("custom-option-text"),a=s!==e?s:i;"__separator__"===h.val()?(r=t("<span>").addClass(o.settings.classSeparator),r.appendTo(d)):h.is(":disabled")||c?(r=t("<span>",{text:a}).addClass(o.settings.classDisabled),u&&r.addClass(o.settings.classSub),r.appendTo(d)):(r=t("<a>",{href:"#"+h.val(),rel:h.val(),text:a,class:"filter",click:function(e){e.preventDefault();var n=o.sbToggle;n.attr("id").split("_")[1];f._closeSelectbox(l),f._changeSelectbox(l,t(this).attr("rel"),i),n.focus()}}),h.is(":selected")&&r.addClass("active"),u&&r.addClass(o.settings.classSub),r.appendTo(d)),n=h.data("custom-option-prepend"),n&&r.prepend(n)}(),d.addClass(h.attr("class")),d.appendTo(o.sbOptions)})},_fillList:function(e,n,r){var o=this,a=t(e),l=(a.find("optgroup"),a.find("option")),u=l.length;r||(r=0),a.children().slice(r).each(function(i){var r,s=t(this),a={};s.is("option")?o._getOptions(s,null,n,u,e):s.is("optgroup")&&(r=t("<li>"),t("<span>",{text:s.attr("label")}).addClass(n.settings.classGroup).appendTo(r),r.appendTo(n.sbOptions),s.is(":disabled")&&(a.disabled=!0),a.sub=!0,o._getOptions(s.find("option"),a,n,u,e))}),n.isSelected||(n.sbSelector.text(l.first().text()),i(n,n.sbSelector,l.first(),!0),n.isSelected=s)}}),t.fn.selectbox=function(e){var n=Array.prototype.slice.call(arguments,1);return"string"==typeof e&&"isDisabled"==e?t.selectbox["_"+e+"Selectbox"].apply(t.selectbox,[this[0]].concat(n)):"option"==e&&2==arguments.length&&"string"==typeof arguments[1]?t.selectbox["_"+e+"Selectbox"].apply(t.selectbox,[this[0]].concat(n)):this.each(function(){"string"==typeof e?t.selectbox["_"+e+"Selectbox"].apply(t.selectbox,[this].concat(n)):t.selectbox._attachSelectbox(this,e)})},t.selectbox=new n,t.selectbox.version="0.1.3"}(jQuery)},function(t,e){(function(){"use strict";var t=window.Modernizr=function(t,e,n){function i(t){b.cssText=t}function r(t,e){return typeof t===e}function o(t,e){return!!~(""+t).indexOf(e)}function s(t,e){var i,r;for(i in t)if(r=t[i],!o(r,"-")&&b[r]!==n)return"pfx"!=e||r;return!1}function a(t,e,i){var o,s;for(o in t)if(s=e[t[o]],s!==n)return i===!1?t[o]:r(s,"function")?s.bind(i||e):s;return!1}function l(t,e,n){var i=t.charAt(0).toUpperCase()+t.slice(1),o=(t+" "+x.join(i+" ")+i).split(" ");return r(e,"string")||r(e,"undefined")?s(o,e):(o=(t+" "+k.join(i+" ")+i).split(" "),a(o,e,n))}var u,c,f,h,d="2.7.1",p={},g=!0,m=e.documentElement,v="modernizr",y=e.createElement(v),b=y.style,_=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),w="Webkit Moz O ms",x=w.split(" "),k=w.toLowerCase().split(" "),S={},T=[],D=T.slice,C=function(t,n,i,r){var o,s,a,l,u=e.createElement("div"),c=e.body,f=c||e.createElement("body");if(parseInt(i,10))for(;i--;)a=e.createElement("div"),a.id=r?r[i]:v+(i+1),u.appendChild(a);return o='­<style id="s'+v+'">'+t+"</style>",u.id=v,(c?u:f).innerHTML+=o,f.appendChild(u),c||(f.style.background="",f.style.overflow="hidden",l=m.style.overflow,m.style.overflow="hidden",m.appendChild(f)),s=n(u,t),c?u.parentNode.removeChild(u):(f.parentNode.removeChild(f),m.style.overflow=l),
|
||
!!s},M=function(){function t(t,o){o=o||e.createElement(i[t]||"div"),t="on"+t;var s=t in o;return s||(o.setAttribute||(o=e.createElement("div")),o.setAttribute&&o.removeAttribute&&(o.setAttribute(t,""),s=r(o[t],"function"),r(o[t],"undefined")||(o[t]=n),o.removeAttribute(t))),o=null,s}var i={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return t}(),P={}.hasOwnProperty;f=r(P,"undefined")||r(P.call,"undefined")?function(t,e){return e in t&&r(t.constructor.prototype[e],"undefined")}:function(t,e){return P.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e,n,i=this;if("function"!=typeof i)throw new TypeError;return e=D.call(arguments,1),n=function(){var r,o,s;return this instanceof n?(r=function(){},r.prototype=i.prototype,o=new r,s=i.apply(o,e.concat(D.call(arguments))),Object(s)===s?s:o):i.apply(t,e.concat(D.call(arguments)))}}),S.canvas=function(){var t=e.createElement("canvas");return!!t.getContext&&!!t.getContext("2d")},S.canvastext=function(){return!!p.canvas&&!!r(e.createElement("canvas").getContext("2d").fillText,"function")},S.touch=function(){var n;return"ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch?n=!0:C("@media ("+_.join("touch-enabled),(")+v+"){#modernizr{top:9px;position:absolute}}",function(t){n=9===t.offsetTop}),n},S.history=function(){return!!t.history&&!!history.pushState},S.draganddrop=function(){var t=e.createElement("div");return"draggable"in t||"ondragstart"in t&&"ondrop"in t},S.websockets=function(){return"WebSocket"in t||"MozWebSocket"in t},S.multiplebgs=function(){return i("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(b.background)},S.csscolumns=function(){return l("columnCount")},S.csstransitions=function(){return l("transition")},S.localstorage=function(){try{return localStorage.setItem(v,v),localStorage.removeItem(v),!0}catch(t){return!1}};for(h in S)f(S,h)&&(c=h.toLowerCase(),p[c]=S[h](),T.push((p[c]?"":"no-")+c));return p.addTest=function(t,e){if("object"==typeof t)for(var i in t)f(t,i)&&p.addTest(i,t[i]);else{if(t=t.toLowerCase(),p[t]!==n)return p;e="function"==typeof e?e():e,void 0!==g&&g&&(m.className+=" feature-"+(e?"":"no-")+t),p[t]=e}return p},i(""),y=u=null,p._version=d,p._prefixes=_,p._domPrefixes=k,p._cssomPrefixes=x,p.hasEvent=M,p.testProp=function(t){return s([t])},p.testAllProps=l,p.testStyles=C,m.className=m.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(g?" feature-js feature-"+T.join(" feature-"):""),p}(this,this.document);t.touch=t.touch&&"onorientationchange"in window,t.addTest("pointerevents",function(){var t,e=document.createElement("x"),n=document.documentElement,i=window.getComputedStyle,r=!1;return"pointerEvents"in e.style&&(e.style.pointerEvents="auto",e.style.pointerEvents="x",n.appendChild(e),i&&(t=i(e,""),r=!!t&&"auto"===t.pointerEvents),n.removeChild(e),!!r)}),t.addTest("flexbox",t.testAllProps("flexBasis","1px",!0))}).call(window)},function(t,e){"use strict";!function(t){function e(t,e,n){var i,r,o,s,a,l;if(t/=255,e/=255,n/=255,i=Math.max(t,e,n),r=Math.min(t,e,n),a=i,l=i-r,s=0===i?0:l/i,i==r)o=0;else{switch(i){case t:o=(e-n)/l+(e<n?6:0);break;case e:o=(n-t)/l+2;break;case n:o=(t-e)/l+4}o/=6}return[o,s,a]}function n(t,e,n){var i,r,o,s=Math.floor(6*t),a=6*t-s,l=n*(1-e),u=n*(1-a*e),c=n*(1-(1-a)*e);switch(s%6){case 0:i=n,r=c,o=l;break;case 1:i=u,r=n,o=l;break;case 2:i=l,r=n,o=c;break;case 3:i=l,r=u,o=n;break;case 4:i=c,r=l,o=n;break;case 5:i=n,r=l,o=u}return[255*i,255*r,255*o]}function i(t){return t=t.replace(/^(?:[\da-f]{3}){1,2}$/i,"#$&"),t=t.replace(/^#([\da-f])([\da-f])([\da-f])$/i,"#$1$1$2$2$3$3"),t=t.replace(/^\s*RGB\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/,function(t,e,n,i){return TradingView.rgbComp(e,n,i)})}function r(t){return TradingView.decompNamedColor(t)||t.match(/[0-9.]+/g)}function o(t){t&&(t.join||(t=t?(""+t).split(","):[]),l=t)}function s(c){function f(e){var n=!1;return e=e.toLowerCase(),t.each(l,function(t,i){if(i.toLowerCase()==e)return n=!0,!1}),!n&&(l=[e].concat(l.slice(0,a-1)),!0)}function h(e,n){n=n||{};var i=t(this);e=TradingView.rgbaComp(TradingView.rgbDecomp(e),n.transparency),d.call(this,e),i.removeData("tvcolorpicker").removeData("tvcolorpicker-custom-color"),n.close&&(y(),i.blur())}function d(e){var n=t(this);n.val(e),n.change(),e?n.trigger("pick-color",e):n.trigger("pick-transparent"),p.call(this,e)}function p(e){return""===e?void t(this).addClass("tvcolorpicker-gradient-widget"):(t(this).removeClass("tvcolorpicker-gradient-widget"),void t(this).css({backgroundColor:e,color:e}))}function g(n,i){var o,s,l=this,u=t(l).val().toLowerCase(),c=document.createElement("table"),f=document.createElement("tbody");return c.appendChild(f),s=0,t.each(n,function(n,c){var d,p,g;s++,n%a===0&&(o=t("<tr></tr>").appendTo(f)),d=t('<td class="tvcolorpicker-cell"></td>').appendTo(o),p=t('<div class="tvcolorpicker-transparency"><div class="tvcolorpicker-swatch"></div></div>').appendTo(d).find(".tvcolorpicker-swatch").data("color",c),i&&i.addClass&&p.addClass(i.addClass),c&&(c=c.toLowerCase(),u&&TradingView.rgbComp.apply(null,r(u))===TradingView.rgbComp.apply(null,r(c))&&p.addClass("active"),p.css({backgroundColor:c}).data("color",c),p.bind("click",function(){h.call(l,c,{close:!0,transparency:b.val()})}),g=e.apply(this,TradingView.rgbDecomp(c)))}),t(c).addClass("tvcolorpicker-table"),s?c:t()}function m(e,n,i){var r,o=t(e).offset(),s={left:t(document).scrollLeft(),top:t(document).scrollTop()},a={width:t(e).outerWidth(),height:t(e).outerHeight()},l={width:t(window).width(),height:t(window).height()},u={width:t(n).outerWidth(),height:t(n).outerHeight()};switch(i.direction){default:case"down":r={top:o.top+a.height+i.offset,left:o.left+i.drift};break;case"right":r={top:o.top+i.drift,left:o.left+a.width+i.offset}}r.top+u.height>l.height+s.top&&(r.top=l.height-u.height+s.top),o.left+u.width>l.width&&(r.left=l.width-u.width),r.left+="px",r.top+="px",n.css(r)}function v(i){function o(t){var e=t.originalEvent,i=t.offsetX||t.layerX||e&&(e.offsetX||e.layerX)||0,r=t.offsetY||t.layerY||e&&(e.offsetY||e.layerY)||0;k.css({left:i+"px",top:r+"px"}),A[0]=i/O,A[1]=1-r/P,D.css({backgroundColor:TradingView.rgbComp(n(A[0],A[1],1))}),p()}function s(e){1==e.which&&(E=!1,v.is(".opened")&&t(F).get(0).focus())}function a(e){var n=e.pageY,i=t(M),r=i.offset().top,o=n-r;return o>i.height()?i.height():o<0?0:o}function c(t){var e=a(t);C.css({top:e+"px"}),A[2]=1-e/P,p()}function f(e){1==e.which&&(N=!1,t(document).unbind("mouseup",f),v.is(".opened")&&t(F).get(0).focus())}function p(){I&&(I=!1,v.find(".tvcolorpicker-swatch.active").removeClass("active"));var t=TradingView.rgbaComp(n(A[0],A[1],A[2]),b.val());F.val().toUpperCase()!=t.toUpperCase()&&(F.data("tvcolorpicker-custom-color",t),d.call(F,t))}var v,y,_,w,x,k,S,T,D,C,M,P,O,E,N,I,A,L,j=!1,F=t(this);return function(){var t=F.val();TradingView.isHexColor(t)&&d.call(F,TradingView.rgbaComp(TradingView.hexRgbDecomp(t)))}(),v=t('<div class="tvcolorpicker-popup opened">'),y=t('<div class="tvcolorpicker-swatches-area"></div>').appendTo(v),y.append(g.call(this,["rgba(0, 0, 0, 1)","rgba(66, 66, 66, 1)","rgba(101, 101, 101, 1)","rgba(152, 152, 152, 1)","rgba(182, 182, 182, 1)","rgba(203, 203, 203, 1)","rgba(216, 216, 216, 1)","rgba(238, 238, 238, 1)","rgba(242, 242, 242, 1)","rgba(255, 255, 255, 1)"])),y.append(g.call(this,["rgba(151, 0, 0, 1)","rgba(255, 0, 0, 1)","rgba(255, 152, 0, 1)","rgba(255, 255, 0, 1)","rgba(0, 255, 0, 1)","rgba(0, 255, 255, 1)","rgba(73, 133, 231, 1)","rgba(0, 0, 255, 1)","rgba(152, 0, 255, 1)","rgba(255, 0, 255, 1)"])),y.append(g.call(this,["rgba(230, 184, 175, 1)","rgba(244, 204, 204, 1)","rgba(252, 229, 205, 1)","rgba(255, 242, 204, 1)","rgba(217, 234, 211, 1)","rgba(208, 224, 227, 1)","rgba(201, 218, 248, 1)","rgba(207, 226, 243, 1)","rgba(217, 210, 233, 1)","rgba(234, 209, 220, 1)","rgba(221, 126, 107, 1)","rgba(234, 153, 153, 1)","rgba(249, 203, 156, 1)","rgba(255, 229, 153, 1)","rgba(182, 215, 168, 1)","rgba(162, 196, 201, 1)","rgba(164, 194, 244, 1)","rgba(159, 197, 232, 1)","rgba(180, 167, 214, 1)","rgba(213, 166, 189, 1)","rgba(204, 65, 37, 1)","rgba(224, 102, 102, 1)","rgba(246, 178, 107, 1)","rgba(255, 217, 102, 1)","rgba(147, 196, 125, 1)","rgba(118, 165, 175, 1)","rgba(109, 158, 235, 1)","rgba(111, 168, 220, 1)","rgba(142, 124, 195, 1)","rgba(194, 123, 160, 1)","rgba(166, 28, 0, 1)","rgba(204, 0, 0, 1)","rgba(230, 145, 56, 1)","rgba(241, 194, 50, 1)","rgba(106, 168, 79, 1)","rgba(69, 129, 142, 1)","rgba(60, 120, 216, 1)","rgba(61, 133, 198, 1)","rgba(103, 78, 167, 1)","rgba(166, 77, 121, 1)","rgba(133, 32, 12, 1)","rgba(153, 0, 0, 1)","rgba(180, 95, 6, 1)","rgba(191, 144, 0, 1)","rgba(56, 118, 29, 1)","rgba(19, 79, 92, 1)","rgba(17, 85, 204, 1)","rgba(11, 83, 148, 1)","rgba(53, 28, 117, 1)","rgba(116, 27, 71, 1)","rgba(91, 15, 0, 1)","rgba(102, 0, 0, 1)","rgba(120, 63, 4, 1)","rgba(127, 96, 0, 1)","rgba(39, 78, 19, 1)","rgba(12, 52, 61, 1)","rgba(28, 69, 135, 1)","rgba(7, 55, 99, 1)","rgba(32, 18, 77, 1)","rgba(76, 17, 48, 1)"])),_=t('<div class="tvcolorpicker-custom-area"></div>').css({display:"none"}).appendTo(v),w=t('<div class="tvcolorpicker-hsv"></div>').appendTo(_),x=t('<div class="tvcolorpicker-hs"></div>').appendTo(w),k=t('<div class="tvcolorpicker-hs-handle"></div>').appendTo(x),S=t('<div class="tvcolorpicker-hs-area"></div>').appendTo(x),T=t('<div class="tvcolorpicker-vv">').appendTo(w),D=t('<div class="tvcolorpicker-v"></div>').appendTo(T),C=t('<div class="tvcolorpicker-v-handle"></div>').appendTo(D),M=t('<div class="tvcolorpicker-v-area"></div>').appendTo(D),b=TradingView.getTransparencySlider(t(this),i.hideTransparency),b.initEvents(),b.updateColor(),b.$el.appendTo(v),b.val(r(F.val()||u)[3]),P=x.height(),O=x.width(),E=!1,N=!1,I=!0,A=[0,0,.5],S.bind("mousedown",function(e){1==e.which&&(E=!0,t(document).bind("mouseup",s),o(e),e.preventDefault())}),S.bind("mousemove",function(t){E&&(o(t),t.preventDefault())}),t(b).on("change",function(){return j?void p():void h.call(this,t(this).val()||u,{transparency:b.val()})}.bind(this)),t(b).on("afterChange",function(){t(this).focus()}.bind(this)),T.bind("mousedown",function(e){1==e.which&&(N=!0,t(document).bind("mouseup",f),c(e),e.preventDefault())}),t(document).bind("mousemove",function(t){N&&(c(t),t.preventDefault())}),L=t('<a class="tvcolorpicker-custom-button _tv-button">'+t.t("Custom color...")+"</a>").appendTo(v).bind("click",function(){var i,r=t(this).is(".active");r||_.css({minWidth:y.width()+"px",minHeight:y.height()+"px"}),t(this)[r?"removeClass":"addClass"]("active"),j=t(this).is(".active"),_.css({display:r?"none":"block"}),y.css({display:r?"block":"none"}),r?F.removeData("tvcolorpicker-custom-color"):(P=x.height(),O=x.width(),i=TradingView.rgbDecomp(F.val()||u),A=e.apply(this,i),k.css({left:~~(A[0]*O)+"px",top:~~((1-A[1])*P)+"px"}),C.css({top:~~((1-A[2])*P)+"px"}),D.css({backgroundColor:TradingView.rgbComp(n(A[0],A[1],1))}))}),v.append(t(g.call(this,l,{addClass:"tvcolorpicker-user"})).addClass("tvcolorpicker-user-swatches")),t(document.body).append(v),m(F,v,i),v}function y(){t(".tvcolorpicker-popup").removeClass("opened").remove(),t(b).off("change"),t(b).off("afterChange"),t(_).data("tvcolorpicker",null),t(_).each(function(){var e,n=t(this).data("tvcolorpicker-custom-color");n&&(f(n)&&t(this).trigger("customcolorchange",[l]),t(this).data("tvcolorpicker-custom-color",null)),e=t(this).data("tvcolorpicker-previous-color"),e&&e!=t(this).val()&&t(this).trigger("change"),t(this).removeData("tvcolorpicker-previous-color")})}var b,_;return c=t.extend({},s.options,c||{}),_=this,c&&"customColors"in c&&o(c.customColors),this.each(function(){function e(){var t=i(s.val());p.call(s,t)}var n,r,o,s=t(this);s.val(i(s.val())),n=null,r=!1,s.addClass("tvcolorpicker-widget").attr("autocomplete","off").attr("readonly",!0),o=function(){s.data("tvcolorpicker")||(y.call(s),n=v.call(s,c),s.data("tvcolorpicker-custom-color",null),s.data("tvcolorpicker",n),s.data("tvcolorpicker-previous-color",s.val()),n.bind("mousedown click",function(e){var i=t(e.target).parents().andSelf();i.is(n)&&(s.focus(),r=!0,setTimeout(function(){r=!1},0))}))},s.on("touchstart",o),s.focus(o),y.call(s),s.bind("blur",function(t){r?t.stopPropagation():y.call(s)}),s.change(function(t){e()}),e()})}var a,l,u;if(!t)throw Error("This program cannot be run in DOS mode");s.setCustomColors=o,t.fn.tvcolorpicker=s,a=10,l=[],u="rgba(14, 15, 16, 1)",s.options={direction:"down",offset:0,drift:0}}(window.jQuery)},function(t,e){"use strict";Array.isArray||(Array.isArray=function(t){return"[object Array]"==Object.prototype.toString.call(t)}),Array.prototype.forEach||(Array.prototype.forEach=function(t){var e,n,i,r;if(void 0===this||null===this)throw new TypeError;if(e=Object(this),n=e.length>>>0,"function"!=typeof t)throw new TypeError;for(i=arguments.length>=2?arguments[1]:void 0,r=0;r<n;r++)r in e&&t.call(i,e[r],r,e)}),Array.prototype.map||(Array.prototype.map=function(t){var e,n,i,r,o;if(void 0===this||null===this)throw new TypeError;if(e=Object(this),n=e.length>>>0,"function"!=typeof t)throw new TypeError;for(i=Array(n),r=arguments.length>=2?arguments[1]:void 0,o=0;o<n;o++)o in e&&(i[o]=t.call(r,e[o],o,e));return i})},function(t,e){"use strict";Object.keys||(Object.keys=function(){var t=Object.prototype.hasOwnProperty,e=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],i=n.length;return function(r){var o,s,a;if("object"!=typeof r&&"function"!=typeof r||null===r)throw new TypeError("Object.keys called on non-object");o=[];for(s in r)t.call(r,s)&&o.push(s);if(e)for(a=0;a<i;a++)t.call(r,n[a])&&o.push(n[a]);return o}}())},function(t,e){(function(){"use strict";!function(t){function e(e){var r,s;for(s in o)if(r=n(o[s]+i(e)),t[r])return r;return!1}function n(t){return t[0].toLowerCase()+t.slice(1)}function i(t){return t[0].toUpperCase()+t.slice(1)}function r(n,i){var r=e(n);r?t[n]=t[r]:t[n]=i}var o=["","webkit","moz","o","ms"],s=0;r("requestAnimationFrame",function(t){return setTimeout(t,16),s++})}(this)}).call(window)},function(t,e){"use strict";!function(){var t,e,n,i,r,o;window.parent!==window&&window.CanvasRenderingContext2D&&window.TextMetrics&&(e=window.CanvasRenderingContext2D.prototype)&&e.hasOwnProperty("font")&&e.hasOwnProperty("mozTextStyle")&&"function"==typeof e.__lookupSetter__&&(n=e.__lookupSetter__("font"))&&(e.__defineSetter__("font",function(t){try{return n.call(this,t)}catch(t){if("NS_ERROR_FAILURE"!==t.name)throw t}}),i=e.measureText,t=function(){this.width=0,this.isFake=!0,this.__proto__=window.TextMetrics.prototype},e.measureText=function(e){try{return i.apply(this,arguments)}catch(e){if("NS_ERROR_FAILURE"!==e.name)throw e;return new t}},r=e.fillText,e.fillText=function(t,e,n,i){try{r.apply(this,arguments)}catch(t){if("NS_ERROR_FAILURE"!==t.name)throw t}},o=e.strokeText,e.strokeText=function(t,e,n,i){try{o.apply(this,arguments)}catch(t){if("NS_ERROR_FAILURE"!==t.name)throw t}})}()},function(t,e){!function(t){t.easing.jswing=t.easing.swing,t.extend(t.easing,{def:"easeOutQuad",swing:function(e,n,i,r,o){return t.easing[t.easing.def](e,n,i,r,o)},easeInQuad:function(t,e,n,i,r){return i*(e/=r)*e+n},easeOutQuad:function(t,e,n,i,r){return-i*(e/=r)*(e-2)+n},easeInOutQuad:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e+n:-i/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,i,r){return i*(e/=r)*e*e+n},easeOutCubic:function(t,e,n,i,r){return i*((e=e/r-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e+n:i/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,i,r){return i*(e/=r)*e*e*e+n},easeOutQuart:function(t,e,n,i,r){return-i*((e=e/r-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e*e+n:-i/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,i,r){return i*(e/=r)*e*e*e*e+n},easeOutQuint:function(t,e,n,i,r){return i*((e=e/r-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e*e*e+n:i/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,i,r){return-i*Math.cos(e/r*(Math.PI/2))+i+n},easeOutSine:function(t,e,n,i,r){return i*Math.sin(e/r*(Math.PI/2))+n},easeInOutSine:function(t,e,n,i,r){return-i/2*(Math.cos(Math.PI*e/r)-1)+n},easeInExpo:function(t,e,n,i,r){return 0==e?n:i*Math.pow(2,10*(e/r-1))+n},easeOutExpo:function(t,e,n,i,r){return e==r?n+i:i*(-Math.pow(2,-10*e/r)+1)+n},easeInOutExpo:function(t,e,n,i,r){return 0==e?n:e==r?n+i:(e/=r/2)<1?i/2*Math.pow(2,10*(e-1))+n:i/2*(-Math.pow(2,-10*--e)+2)+n},easeInCirc:function(t,e,n,i,r){return-i*(Math.sqrt(1-(e/=r)*e)-1)+n},easeOutCirc:function(t,e,n,i,r){return i*Math.sqrt(1-(e=e/r-1)*e)+n},easeInOutCirc:function(t,e,n,i,r){return(e/=r/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+n:i/2*(Math.sqrt(1-(e-=2)*e)+1)+n},easeInElastic:function(t,e,n,i,r){var o=1.70158,s=0,a=i;return 0==e?n:1==(e/=r)?n+i:(s||(s=.3*r),a<Math.abs(i)?(a=i,o=s/4):o=s/(2*Math.PI)*Math.asin(i/a),-(a*Math.pow(2,10*(e-=1))*Math.sin((e*r-o)*(2*Math.PI)/s))+n)},easeOutElastic:function(t,e,n,i,r){var o=1.70158,s=0,a=i;return 0==e?n:1==(e/=r)?n+i:(s||(s=.3*r),a<Math.abs(i)?(a=i,o=s/4):o=s/(2*Math.PI)*Math.asin(i/a),a*Math.pow(2,-10*e)*Math.sin((e*r-o)*(2*Math.PI)/s)+i+n)},easeInOutElastic:function(t,e,n,i,r){var o=1.70158,s=0,a=i;return 0==e?n:2==(e/=r/2)?n+i:(s||(s=r*(.3*1.5)),a<Math.abs(i)?(a=i,o=s/4):o=s/(2*Math.PI)*Math.asin(i/a),e<1?-.5*(a*Math.pow(2,10*(e-=1))*Math.sin((e*r-o)*(2*Math.PI)/s))+n:a*Math.pow(2,-10*(e-=1))*Math.sin((e*r-o)*(2*Math.PI)/s)*.5+i+n)},easeInBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),i*(e/=r)*e*((o+1)*e-o)+n},easeOutBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),i*((e=e/r-1)*e*((o+1)*e+o)+1)+n},easeInOutBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),(e/=r/2)<1?i/2*(e*e*(((o*=1.525)+1)*e-o))+n:i/2*((e-=2)*e*(((o*=1.525)+1)*e+o)+2)+n},easeInBounce:function(e,n,i,r,o){return r-t.easing.easeOutBounce(e,o-n,0,r,o)+i},easeOutBounce:function(t,e,n,i,r){return(e/=r)<1/2.75?i*(7.5625*e*e)+n:e<2/2.75?i*(7.5625*(e-=1.5/2.75)*e+.75)+n:e<2.5/2.75?i*(7.5625*(e-=2.25/2.75)*e+.9375)+n:i*(7.5625*(e-=2.625/2.75)*e+.984375)+n},easeInOutBounce:function(e,n,i,r,o){return n<o/2?.5*t.easing.easeInBounce(e,2*n,0,r,o)+i:.5*t.easing.easeOutBounce(e,2*n-o,0,r,o)+.5*r+i}})}(jQuery)},function(t,e,n){var i,r;!function(t){"use strict";function e(t){var e=t.length,i=n.type(t);return"function"!==i&&!n.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t))}var n,i,r,o,s,a,l;if(!t.jQuery){n=function(t,e){return new n.fn.init(t,e)},n.isWindow=function(t){return t&&t===t.window},n.type=function(t){return t?"object"==typeof t||"function"==typeof t?r[s.call(t)]||"object":typeof t:t+""},n.isArray=Array.isArray||function(t){return"array"===n.type(t)},n.isPlainObject=function(t){var e;if(!t||"object"!==n.type(t)||t.nodeType||n.isWindow(t))return!1;try{if(t.constructor&&!o.call(t,"constructor")&&!o.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(e in t);return void 0===e||o.call(t,e)},n.each=function(t,n,i){var r,o=0,s=t.length,a=e(t);if(i){if(a)for(;o<s&&(r=n.apply(t[o],i),r!==!1);o++);else for(o in t)if(t.hasOwnProperty(o)&&(r=n.apply(t[o],i),r===!1))break}else if(a)for(;o<s&&(r=n.call(t[o],o,t[o]),r!==!1);o++);else for(o in t)if(t.hasOwnProperty(o)&&(r=n.call(t[o],o,t[o]),r===!1))break;return t},n.data=function(t,e,r){var o,s,a;if(void 0===r){if(o=t[n.expando],s=o&&i[o],void 0===e)return s;if(s&&e in s)return s[e]}else if(void 0!==e)return a=t[n.expando]||(t[n.expando]=++n.uuid),i[a]=i[a]||{},i[a][e]=r,r},n.removeData=function(t,e){var r=t[n.expando],o=r&&i[r];o&&(e?n.each(e,function(t,e){delete o[e]}):delete i[r])},n.extend=function(){var t,e,i,r,o,s,a=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[l]||{},l++),"object"!=typeof a&&"function"!==n.type(a)&&(a={}),l===u&&(a=this,l--);l<u;l++)if(o=arguments[l])for(r in o)o.hasOwnProperty(r)&&(t=a[r],i=o[r],a!==i&&(c&&i&&(n.isPlainObject(i)||(e=n.isArray(i)))?(e?(e=!1,s=t&&n.isArray(t)?t:[]):s=t&&n.isPlainObject(t)?t:{},a[r]=n.extend(c,s,i)):void 0!==i&&(a[r]=i)));return a},n.queue=function(t,i,r){function o(t,n){var i=n||[];return t&&(e(Object(t))?!function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;)t[r++]=e[i++];if(n!==n)for(;void 0!==e[i];)t[r++]=e[i++];return t.length=r,t}(i,"string"==typeof t?[t]:t):[].push.call(i,t)),i}if(t){i=(i||"fx")+"queue";var s=n.data(t,i);return r?(!s||n.isArray(r)?s=n.data(t,i,o(r)):s.push(r),s):s||[]}},n.dequeue=function(t,e){n.each(t.nodeType?[t]:t,function(t,i){e=e||"fx";var r=n.queue(i,e),o=r.shift();"inprogress"===o&&(o=r.shift()),o&&("fx"===e&&r.unshift("inprogress"),o.call(i,function(){n.dequeue(i,e)}))})},n.fn=n.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw Error("Not a DOM node.")},offset:function(){var e=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:e.top+(t.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:e.left+(t.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function t(t){for(var e=t.offsetParent||document;e&&"html"!==e.nodeType.toLowerCase&&"static"===e.style.position;)e=e.offsetParent;return e||document}var e=this[0],i=t(e),r=this.offset(),o=/^(?:body|html)$/i.test(i.nodeName)?{top:0,left:0}:n(i).offset();return r.top-=parseFloat(e.style.marginTop)||0,r.left-=parseFloat(e.style.marginLeft)||0,i.style&&(o.top+=parseFloat(i.style.borderTopWidth)||0,o.left+=parseFloat(i.style.borderLeftWidth)||0),{top:r.top-o.top,left:r.left-o.left}}},i={},n.expando="velocity"+(new Date).getTime(),n.uuid=0,r={},o=r.hasOwnProperty,s=r.toString,a="Boolean Number String Function Array Date RegExp Object Error".split(" ");for(l=0;l<a.length;l++)r["[object "+a[l]+"]"]=a[l].toLowerCase();n.fn.init.prototype=n.fn,t.Velocity={Utilities:n}}}(window),function(o){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=o():(i=o,r="function"==typeof i?i.call(e,n,e,t):i,!(void 0!==r&&(t.exports=r)))}(function(){"use strict";return function(t,e,n,i){function r(t){for(var e,n=-1,i=t?t.length:0,r=[];++n<i;)e=t[n],e&&r.push(e);return r}function o(t){return x.isWrapped(t)?t=[].slice.call(t):x.isNode(t)&&(t=[t]),t}function s(t){var e=h.data(t,"velocity");return null===e?i:e}function a(t){return function(e){return Math.round(e*t)*(1/t)}}function l(t,n,i,r){function o(t,e){return 1-3*e+3*t}function s(t,e){return 3*e-6*t}function a(t){return 3*t}function l(t,e,n){return((o(e,n)*t+s(e,n))*t+a(e))*t}function u(t,e,n){return 3*o(e,n)*t*t+2*s(e,n)*t+a(e)}function c(e,n){var r,o,s;for(r=0;r<_;++r){if(o=u(n,t,i),0===o)return n;s=l(n,t,i)-e,n-=s/o}return n}function f(){for(var e=0;e<S;++e)m[e]=l(e*T,t,i)}function h(e,n,r){var o,s,a=0;do s=n+(r-n)/2,o=l(s,t,i)-e,o>0?r=s:n=s;while(Math.abs(o)>x&&++a<k);return s}function d(e){for(var n,r,o,s=0,a=1,l=S-1;a!==l&&m[a]<=e;++a)s+=T;return--a,n=(e-m[a])/(m[a+1]-m[a]),r=s+n*T,o=u(r,t,i),o>=w?c(e,r):0===o?r:h(e,s,s+T)}function p(){v=!0,t===n&&i===r||f()}var g,m,v,y,b,_=4,w=.001,x=1e-7,k=10,S=11,T=1/(S-1),D="Float32Array"in e;if(4!==arguments.length)return!1;for(g=0;g<4;++g)if("number"!=typeof arguments[g]||isNaN(arguments[g])||!isFinite(arguments[g]))return!1;return t=Math.min(t,1),i=Math.min(i,1),t=Math.max(t,0),i=Math.max(i,0),m=D?new Float32Array(S):Array(S),v=!1,y=function(e){return v||p(),t===n&&i===r?e:0===e?0:1===e?1:l(d(e),n,r)},y.getControlPoints=function(){return[{x:t,y:n},{x:i,y:r}]},b="generateBezier("+[t,n,i,r]+")",y.toString=function(){return b},y}function u(t,e){var n=t;return x.isString(t)?g.Easings[t]||(n=!1):n=x.isArray(t)&&1===t.length?a.apply(null,t):x.isArray(t)&&2===t.length?m.apply(null,t.concat([e])):!(!x.isArray(t)||4!==t.length)&&l.apply(null,t),n===!1&&(n=g.Easings[g.defaults.easing]?g.defaults.easing:p),n}function c(t){var e,n,o,a,l,u,d,p,m,y,_,w,k,S,T,D,C,M,P,O,E,N,I,A;if(t)for(e=(new Date).getTime(),n=g.State.calls.length,n>1e4&&(g.State.calls=r(g.State.calls),n=g.State.calls.length),o=0;o<n;o++)if(g.State.calls[o]){for(a=g.State.calls[o],l=a[0],u=a[2],d=a[3],p=!!d,m=null,d||(d=g.State.calls[o][3]=e-16),y=Math.min((e-d)/u.duration,1),_=0,w=l.length;_<w;_++)if(k=l[_],S=k.element,s(S)){T=!1,u.display!==i&&null!==u.display&&"none"!==u.display&&("flex"===u.display&&(D=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],h.each(D,function(t,e){v.setPropertyValue(S,"display",e)})),v.setPropertyValue(S,"display",u.display)),u.visibility!==i&&"hidden"!==u.visibility&&v.setPropertyValue(S,"visibility",u.visibility);for(C in k)if(k.hasOwnProperty(C)&&"element"!==C){if(M=k[C],O=x.isString(M.easing)?g.Easings[M.easing]:M.easing,1===y)P=M.endValue;else if(E=M.endValue-M.startValue,P=M.startValue+E*O(y,u,E),!p&&P===M.currentValue)continue;M.currentValue=P,"tween"===C?m=P:(v.Hooks.registered[C]&&(N=v.Hooks.getRoot(C),I=s(S).rootPropertyValueCache[N],I&&(M.rootPropertyValue=I)),A=v.setPropertyValue(S,C,M.currentValue+(0===parseFloat(P)?"":M.unitType),M.rootPropertyValue,M.scrollData),v.Hooks.registered[C]&&(v.Normalizations.registered[N]?s(S).rootPropertyValueCache[N]=v.Normalizations.registered[N]("extract",null,A[1]):s(S).rootPropertyValueCache[N]=A[1]),"transform"===A[0]&&(T=!0))}u.mobileHA&&s(S).transformCache.translate3d===i&&(s(S).transformCache.translate3d="(0px, 0px, 0px)",T=!0),T&&v.flushTransformCache(S)}u.display!==i&&"none"!==u.display&&(g.State.calls[o][2].display=!1),u.visibility!==i&&"hidden"!==u.visibility&&(g.State.calls[o][2].visibility=!1),u.progress&&u.progress.call(a[1],a[1],y,Math.max(0,d+u.duration-e),d,m),1===y&&f(o)}g.State.isTicking&&b(c)}function f(t,e){var n,r,o,a,l,u,c,f,d,p,m,y;if(!g.State.calls[t])return!1;for(n=g.State.calls[t][0],r=g.State.calls[t][1],o=g.State.calls[t][2],a=g.State.calls[t][4],l=!1,u=0,c=n.length;u<c;u++){if(f=n[u].element,e||o.loop||("none"===o.display&&v.setPropertyValue(f,"display",o.display),"hidden"===o.visibility&&v.setPropertyValue(f,"visibility",o.visibility)),d=s(f),o.loop===!0||h.queue(f)[1]!==i&&/\.velocityQueueEntryFlag/i.test(h.queue(f)[1])||d&&(d.isAnimating=!1,d.rootPropertyValueCache={},p=!1,h.each(v.Lists.transforms3D,function(t,e){var n=/^scale/.test(e)?1:0,r=d.transformCache[e];d.transformCache[e]!==i&&RegExp("^\\("+n+"[^.]").test(r)&&(p=!0,delete d.transformCache[e])}),o.mobileHA&&(p=!0,delete d.transformCache.translate3d),p&&v.flushTransformCache(f),v.Values.removeClass(f,"velocity-animating")),!e&&o.complete&&!o.loop&&u===c-1)try{o.complete.call(r,r)}catch(t){setTimeout(function(){throw t},1)}a&&o.loop!==!0&&a(r),d&&o.loop===!0&&!e&&(h.each(d.tweensContainer,function(t,e){if(/^rotate/.test(t)&&(parseFloat(e.startValue)-parseFloat(e.endValue))%360===0){var n=e.startValue;e.startValue=e.endValue,e.endValue=n}/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),g(f,"reverse",{loop:!0,delay:o.delay})),o.queue!==!1&&h.dequeue(f,o.queue)}for(g.State.calls[t]=!1,m=0,y=g.State.calls.length;m<y;m++)if(g.State.calls[m]!==!1){l=!0;break}l===!1&&(g.State.isTicking=!1,delete g.State.calls,g.State.calls=[])}var h,d,p,g,m,v,y,b,_=function(){var t,e;if(n.documentMode)return n.documentMode;for(t=7;t>4;t--)if(e=n.createElement("div"),e.innerHTML="<!--[if IE "+t+"]><span></span><![endif]-->",e.getElementsByTagName("span").length)return e=null,t;return i}(),w=function(){var t=0;return e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||function(e){var n,i=(new Date).getTime();return n=Math.max(0,16-(i-t)),t=i+n,setTimeout(function(){e(i+n)},n)}}(),x={isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isNodeList:function(t){return"object"==typeof t&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(t))&&t.length!==i&&(0===t.length||"object"==typeof t[0]&&t[0].nodeType>0)},isWrapped:function(t){return t&&(t.jquery||e.Zepto&&e.Zepto.zepto.isZ(t))},isSVG:function(t){return e.SVGElement&&t instanceof e.SVGElement},isEmptyObject:function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}},k=!1;if(t.fn&&t.fn.jquery?(h=t,k=!0):h=e.Velocity.Utilities,_<=8&&!k)throw Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");return _<=7?(jQuery.fn.velocity=jQuery.fn.animate,i):(d=400,p="swing",g={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:e.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:h,Redirects:{},Easings:{},Promise:e.Promise,defaults:{queue:"",duration:d,easing:p,begin:i,complete:i,progress:i,display:i,visibility:i,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(t){h.data(t,"velocity",{isSVG:x.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:3,patch:1},debug:!1},e.pageYOffset!==i?(g.State.scrollAnchor=e,g.State.scrollPropertyLeft="pageXOffset",g.State.scrollPropertyTop="pageYOffset"):(g.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,g.State.scrollPropertyLeft="scrollLeft",g.State.scrollPropertyTop="scrollTop"),m=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,n,i){var r={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};return{dx:r.v,dv:t(r)}}function n(n,i){var r={dx:n.v,dv:t(n)},o=e(n,.5*i,r),s=e(n,.5*i,o),a=e(n,i,s),l=1/6*(r.dx+2*(o.dx+s.dx)+a.dx),u=1/6*(r.dv+2*(o.dv+s.dv)+a.dv);return n.x=n.x+l*i,n.v=n.v+u*i,n}return function t(e,i,r){var o,s,a,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0,f=1e-4,h=.016;for(e=parseFloat(e)||500,i=parseFloat(i)||20,r=r||null,l.tension=e,l.friction=i,o=null!==r,o?(c=t(e,i),s=c/r*h):s=h;;)if(a=n(a||l,s),u.push(1+a.x),c+=16,!(Math.abs(a.x)>f&&Math.abs(a.v)>f))break;return o?function(t){return u[t*(u.length-1)|0]}:c}}(),g.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},h.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(t,e){g.Easings[e[0]]=l.apply(null,e[1])}),v=g.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],
|
||
clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){var t,e,n,i,r,o,s,a,l;for(t=0;t<v.Lists.colors.length;t++)e="color"===v.Lists.colors[t]?"0 0 0 1":"255 255 255 1",v.Hooks.templates[v.Lists.colors[t]]=["Red Green Blue Alpha",e];if(_)for(n in v.Hooks.templates)v.Hooks.templates.hasOwnProperty(n)&&(i=v.Hooks.templates[n],r=i[0].split(" "),o=i[1].match(v.RegEx.valueSplit),"Color"===r[0]&&(r.push(r.shift()),o.push(o.shift()),v.Hooks.templates[n]=[r.join(" "),o.join(" ")]));for(n in v.Hooks.templates)if(v.Hooks.templates.hasOwnProperty(n)){i=v.Hooks.templates[n],r=i[0].split(" ");for(s in r)r.hasOwnProperty(s)&&(a=n+r[s],l=s,v.Hooks.registered[a]=[n,l])}},getRoot:function(t){var e=v.Hooks.registered[t];return e?e[0]:t},cleanRootPropertyValue:function(t,e){return v.RegEx.valueUnwrap.test(e)&&(e=e.match(v.RegEx.valueUnwrap)[1]),v.Values.isCSSNullValue(e)&&(e=v.Hooks.templates[t][1]),e},extractValue:function(t,e){var n,i,r=v.Hooks.registered[t];return r?(n=r[0],i=r[1],e=v.Hooks.cleanRootPropertyValue(n,e),(""+e).match(v.RegEx.valueSplit)[i]):e},injectValue:function(t,e,n){var i,r,o,s,a=v.Hooks.registered[t];return a?(i=a[0],r=a[1],n=v.Hooks.cleanRootPropertyValue(i,n),o=(""+n).match(v.RegEx.valueSplit),o[r]=e,s=o.join(" ")):n}},Normalizations:{registered:{clip:function(t,e,n){switch(t){case"name":return"clip";case"extract":var i;return v.RegEx.wrappedValueAlreadyExtracted.test(n)?i=n:(i=(""+n).match(v.RegEx.valueUnwrap),i=i?i[1].replace(/,(\s+)?/g," "):n),i;case"inject":return"rect("+n+")"}},blur:function(t,e,n){var i,r;switch(t){case"name":return g.State.isFirefox?"filter":"-webkit-filter";case"extract":return i=parseFloat(n),i||0===i||(r=(""+n).match(/blur\(([0-9]+[A-z]+)\)/i),i=r?r[1]:0),i;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(t,e,n){if(_<=8)switch(t){case"name":return"filter";case"extract":var i=(""+n).match(/alpha\(opacity=(.*)\)/i);return n=i?i[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name":return"opacity";case"extract":return n;case"inject":return n}}},register:function(){var t,e;for(_&&!(_>9)||g.State.isGingerbread||(v.Lists.transformsBase=v.Lists.transformsBase.concat(v.Lists.transforms3D)),t=0;t<v.Lists.transformsBase.length;t++)!function(){var e=v.Lists.transformsBase[t];v.Normalizations.registered[e]=function(t,n,r){switch(t){case"name":return"transform";case"extract":return s(n)===i||s(n).transformCache[e]===i?/^scale/i.test(e)?1:0:s(n).transformCache[e].replace(/[()]/g,"");case"inject":var o=!1;switch(e.substr(0,e.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":g.State.isAndroid&&s(n).transformCache[e]===i&&r<1&&(r=1),o=!/(\d)$/i.test(r);break;case"skew":o=!/(deg|\d)$/i.test(r);break;case"rotate":o=!/(deg|\d)$/i.test(r)}return o||(s(n).transformCache[e]="("+r+")"),s(n).transformCache[e]}}}();for(e=0;e<v.Lists.colors.length;e++)!function(){var t=v.Lists.colors[e];v.Normalizations.registered[t]=function(e,n,r){var o,s,a;switch(e){case"name":return t;case"extract":return v.RegEx.wrappedValueAlreadyExtracted.test(r)?o=r:(a={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"},/^[A-z]+$/i.test(r)?s=a[r]!==i?a[r]:a.black:v.RegEx.isHex.test(r)?s="rgb("+v.Values.hexToRgb(r).join(" ")+")":/^rgba?\(/i.test(r)||(s=a.black),o=(""+(s||r)).match(v.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")),(!_||_>8)&&3===o.split(" ").length&&(o+=" 1"),o;case"inject":return _<=8?4===r.split(" ").length&&(r=r.split(/\s+/).slice(0,3).join(" ")):3===r.split(" ").length&&(r+=" 1"),(_<=8?"rgb":"rgba")+"("+r.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(_||g.State.isAndroid&&!g.State.isChrome)&&(e+="|transform"),RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){var e,n,i,r;if(g.State.prefixMatches[t])return[g.State.prefixMatches[t],!0];for(e=["","Webkit","Moz","ms","O"],n=0,i=e.length;n<i;n++)if(r=0===n?t:e[n]+t.replace(/^\w/,function(t){return t.toUpperCase()}),x.isString(g.State.prefixElement.style[r]))return g.State.prefixMatches[t]=r,[r,!0];return[t,!1]}},Values:{hexToRgb:function(t){var e,n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return t=t.replace(n,function(t,e,n,i){return e+e+n+n+i+i}),e=i.exec(t),e?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return!t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&(""+t.tagName).toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){t.classList?t.classList.add(e):t.className+=(t.className.length?" ":"")+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=(""+t.className).replace(RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(t,n,r,o){function a(t,n){var r,l,u,c,f,d,p=0;if(_<=8)p=h.css(t,n);else{if(r=!1,/^(width|height)$/.test(n)&&0===v.getPropertyValue(t,"display")&&(r=!0,v.setPropertyValue(t,"display",v.Values.getDisplayType(t))),l=function(){r&&v.setPropertyValue(t,"display","none")},!o){if("height"===n&&"border-box"!==(""+v.getPropertyValue(t,"boxSizing")).toLowerCase())return u=t.offsetHeight-(parseFloat(v.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(v.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(v.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(v.getPropertyValue(t,"paddingBottom"))||0),l(),u;if("width"===n&&"border-box"!==(""+v.getPropertyValue(t,"boxSizing")).toLowerCase())return c=t.offsetWidth-(parseFloat(v.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(v.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(v.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(v.getPropertyValue(t,"paddingRight"))||0),l(),c}f=s(t)===i?e.getComputedStyle(t,null):s(t).computedStyle?s(t).computedStyle:s(t).computedStyle=e.getComputedStyle(t,null),"borderColor"===n&&(n="borderTopColor"),p=9===_&&"filter"===n?f.getPropertyValue(n):f[n],""!==p&&null!==p||(p=t.style[n]),l()}return"auto"===p&&/^(top|right|bottom|left)$/i.test(n)&&(d=a(t,"position"),("fixed"===d||"absolute"===d&&/top|left/i.test(n))&&(p=h(t).position()[n]+"px")),p}var l,u,c,f,d,p;if(v.Hooks.registered[n]?(u=n,c=v.Hooks.getRoot(u),r===i&&(r=v.getPropertyValue(t,v.Names.prefixCheck(c)[0])),v.Normalizations.registered[c]&&(r=v.Normalizations.registered[c]("extract",t,r)),l=v.Hooks.extractValue(u,r)):v.Normalizations.registered[n]&&(f=v.Normalizations.registered[n]("name",t),"transform"!==f&&(d=a(t,v.Names.prefixCheck(f)[0]),v.Values.isCSSNullValue(d)&&v.Hooks.templates[n]&&(d=v.Hooks.templates[n][1])),l=v.Normalizations.registered[n]("extract",t,d)),!/^[\d-]/.test(l))if(p=s(t),p&&p.isSVG&&v.Names.SVGAttribute(n))if(/^(height|width)$/i.test(n))try{l=t.getBBox()[n]}catch(t){l=0}else l=t.getAttribute(n);else l=a(t,v.Names.prefixCheck(n)[0]);return v.Values.isCSSNullValue(l)&&(l=0),g.debug>=2&&console.log("Get "+n+": "+l),l},setPropertyValue:function(t,n,i,r,o){var a,l,u,c=n;if("scroll"===n)o.container?o.container["scroll"+o.direction]=i:"Left"===o.direction?e.scrollTo(i,o.alternateValue):e.scrollTo(o.alternateValue,i);else if(v.Normalizations.registered[n]&&"transform"===v.Normalizations.registered[n]("name",t))v.Normalizations.registered[n]("inject",t,i),c="transform",i=s(t).transformCache[n];else{if(v.Hooks.registered[n]&&(a=n,l=v.Hooks.getRoot(n),r=r||v.getPropertyValue(t,l),i=v.Hooks.injectValue(a,i,r),n=l),v.Normalizations.registered[n]&&(i=v.Normalizations.registered[n]("inject",t,i),n=v.Normalizations.registered[n]("name",t)),c=v.Names.prefixCheck(n)[0],_<=8)try{t.style[c]=i}catch(t){g.debug&&console.log("Browser does not support ["+i+"] for ["+c+"]")}else u=s(t),u&&u.isSVG&&v.Names.SVGAttribute(n)?t.setAttribute(n,i):t.style[c]=i;g.debug>=2&&console.log("Set "+n+" ("+c+"): "+i)}return[c,i]},flushTransformCache:function(t){var e,n,r,o,a="",l=s(t);(_||g.State.isAndroid&&!g.State.isChrome)&&l&&l.isSVG?(e=function(e){return parseFloat(v.getPropertyValue(t,e))},n={translate:[e("translateX"),e("translateY")],skewX:[e("skewX")],skewY:[e("skewY")],scale:1!==e("scale")?[e("scale"),e("scale")]:[e("scaleX"),e("scaleY")],rotate:[e("rotateZ"),0,0]},h.each(s(t).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),n[t]&&(a+=t+"("+n[t].join(" ")+") ",delete n[t])})):(h.each(s(t).transformCache,function(e){return r=s(t).transformCache[e],"transformPerspective"===e?(o=r,!0):(9===_&&"rotateZ"===e&&(e="rotate"),a+=e+r+" ",i)}),o&&(a="perspective"+o+" "+a)),v.setPropertyValue(t,"transform",a)}},v.Hooks.register(),v.Normalizations.register(),g.hook=function(t,e,n){var r;return t=o(t),h.each(t,function(t,o){if(s(o)===i&&g.init(o),n===i)r===i&&(r=g.CSS.getPropertyValue(o,e));else{var a=g.CSS.setPropertyValue(o,e,n);"transform"===a[0]&&g.CSS.flushTransformCache(o),r=a}}),r},y=function(){function t(){return l?C.promise||null:p}function r(t,r){function o(o){var d,p,m,y,T,D,P,O,E,N,L,j,F,H,z,Y,R,W,V,B,U,q,$,G;if(l.begin&&0===S)try{l.begin.call(b,b)}catch(t){setTimeout(function(){throw t},1)}if("scroll"===M)m=/^x$/i.test(l.axis)?"Left":"Top",y=parseFloat(l.offset)||0,l.container?x.isWrapped(l.container)||x.isNode(l.container)?(l.container=l.container[0]||l.container,T=l.container["scroll"+m],P=T+h(t).position()[m.toLowerCase()]+y):l.container=null:(T=g.State.scrollAnchor[g.State["scrollProperty"+m]],D=g.State.scrollAnchor[g.State["scrollProperty"+("Left"===m?"Top":"Left")]],P=h(t).offset()[m.toLowerCase()]+y),f={scroll:{rootPropertyValue:!1,startValue:T,currentValue:T,endValue:P,unitType:"",easing:l.easing,scrollData:{container:l.container,direction:m,alternateValue:D}},element:t},g.debug&&console.log("tweensContainer (scroll): ",f.scroll,t);else if("reverse"===M){if(d=s(t),!d)return;if(!d.tweensContainer)return h.dequeue(t,l.queue),i;"none"===d.opts.display&&(d.opts.display="auto"),"hidden"===d.opts.visibility&&(d.opts.visibility="visible"),d.opts.loop=!1,d.opts.begin=null,d.opts.complete=null,w.easing||delete l.easing,w.duration||delete l.duration,l=h.extend({},d.opts,l),p=h.extend(!0,{},d?d.tweensContainer:null);for(O in p)p.hasOwnProperty(O)&&"element"!==O&&(E=p[O].startValue,p[O].startValue=p[O].currentValue=p[O].endValue,p[O].endValue=E,x.isEmptyObject(w)||(p[O].easing=l.easing),g.debug&&console.log("reverse tweensContainer ("+O+"): "+JSON.stringify(p[O]),t));f=p}else if("start"===M){d=s(t),d&&d.tweensContainer&&d.isAnimating===!0&&(p=d.tweensContainer),N=function(e,n){var o,s,a;return x.isArray(e)?(o=e[0],!x.isArray(e[1])&&/^[\d-]/.test(e[1])||x.isFunction(e[1])||v.RegEx.isHex.test(e[1])?a=e[1]:(x.isString(e[1])&&!v.RegEx.isHex.test(e[1])||x.isArray(e[1]))&&(s=n?e[1]:u(e[1],l.duration),e[2]!==i&&(a=e[2]))):o=e,n||(s=s||l.easing),x.isFunction(o)&&(o=o.call(t,r,k)),x.isFunction(a)&&(a=a.call(t,r,k)),[o||0,s,a]},h.each(_,function(t,e){var n,r,o,s,a,l,u,c,f;if(RegExp("^"+v.Lists.colors.join("$|^")+"$").test(v.Names.camelCase(t))&&(n=N(e,!0),r=n[0],o=n[1],s=n[2],v.RegEx.isHex.test(r))){for(a=["Red","Green","Blue"],l=v.Values.hexToRgb(r),u=s?v.Values.hexToRgb(s):i,c=0;c<a.length;c++)f=[l[c]],o&&f.push(o),u!==i&&f.push(u[c]),_[v.Names.camelCase(t)+a[c]]=f;delete _[t]}});for(L in _)if(_.hasOwnProperty(L))if(j=N(_[L]),F=j[0],H=j[1],z=j[2],L=v.Names.camelCase(L),Y=v.Hooks.getRoot(L),R=!1,d&&d.isSVG||"tween"===Y||v.Names.prefixCheck(Y)[1]!==!1||v.Normalizations.registered[Y]!==i){if((l.display!==i&&null!==l.display&&"none"!==l.display||l.visibility!==i&&"hidden"!==l.visibility)&&/opacity|filter/.test(L)&&!z&&0!==F&&(z=0),l._cacheValues&&p&&p[L]?(z===i&&(z=p[L].endValue+p[L].unitType),R=d.rootPropertyValueCache[Y]):v.Hooks.registered[L]?z===i?(R=v.getPropertyValue(t,Y),z=v.getPropertyValue(t,L,R)):R=v.Hooks.templates[Y][1]:z===i&&(z=v.getPropertyValue(t,L)),U=!1,q=function(t,e){var n,i;return i=(""+(e||"0")).toLowerCase().replace(/[%A-z]+$/,function(t){return n=t,""}),n||(n=v.Values.getUnitType(t)),[i,n]},W=q(L,z),z=W[0],B=W[1],W=q(L,F),F=W[0].replace(/^([+-\/*])=/,function(t,e){return U=e,""}),V=W[1],z=parseFloat(z)||0,F=parseFloat(F)||0,"%"===V&&(/^(fontSize|lineHeight)$/.test(L)?(F/=100,V="em"):/^scale/.test(L)?(F/=100,V=""):/(Red|Green|Blue)$/i.test(L)&&(F=F/100*255,V="")),$=function(){var i,r,o,s={myParent:t.parentNode||n.body,position:v.getPropertyValue(t,"position"),fontSize:v.getPropertyValue(t,"fontSize")},a=s.position===I.lastPosition&&s.myParent===I.lastParent,l=s.fontSize===I.lastFontSize;return I.lastParent=s.myParent,I.lastPosition=s.position,I.lastFontSize=s.fontSize,i=100,r={},l&&a?(r.emToPx=I.lastEmToPx,r.percentToPxWidth=I.lastPercentToPxWidth,r.percentToPxHeight=I.lastPercentToPxHeight):(o=d&&d.isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div"),g.init(o),s.myParent.appendChild(o),h.each(["overflow","overflowX","overflowY"],function(t,e){g.CSS.setPropertyValue(o,e,"hidden")}),g.CSS.setPropertyValue(o,"position",s.position),g.CSS.setPropertyValue(o,"fontSize",s.fontSize),g.CSS.setPropertyValue(o,"boxSizing","content-box"),h.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){g.CSS.setPropertyValue(o,e,i+"%")}),g.CSS.setPropertyValue(o,"paddingLeft",i+"em"),r.percentToPxWidth=I.lastPercentToPxWidth=(parseFloat(v.getPropertyValue(o,"width",null,!0))||1)/i,r.percentToPxHeight=I.lastPercentToPxHeight=(parseFloat(v.getPropertyValue(o,"height",null,!0))||1)/i,r.emToPx=I.lastEmToPx=(parseFloat(v.getPropertyValue(o,"paddingLeft"))||1)/i,s.myParent.removeChild(o)),null===I.remToPx&&(I.remToPx=parseFloat(v.getPropertyValue(n.body,"fontSize"))||16),null===I.vwToPx&&(I.vwToPx=parseFloat(e.innerWidth)/100,I.vhToPx=parseFloat(e.innerHeight)/100),r.remToPx=I.remToPx,r.vwToPx=I.vwToPx,r.vhToPx=I.vhToPx,g.debug>=1&&console.log("Unit ratios: "+JSON.stringify(r),t),r},/[\/*]/.test(U))V=B;else if(B!==V&&0!==z)if(0===F)V=B;else{switch(a=a||$(),G=/margin|padding|left|right|width|text|word|letter/i.test(L)||/X$/.test(L)||"x"===L?"x":"y",B){case"%":z*="x"===G?a.percentToPxWidth:a.percentToPxHeight;break;case"px":break;default:z*=a[B+"ToPx"]}switch(V){case"%":z*=1/("x"===G?a.percentToPxWidth:a.percentToPxHeight);break;case"px":break;default:z*=1/a[V+"ToPx"]}}switch(U){case"+":F=z+F;break;case"-":F=z-F;break;case"*":F*=z;break;case"/":F=z/F}f[L]={rootPropertyValue:R,startValue:z,currentValue:z,endValue:F,unitType:V,easing:H},g.debug&&console.log("tweensContainer ("+L+"): "+JSON.stringify(f[L]),t)}else g.debug&&console.log("Skipping ["+Y+"] due to a lack of browser support.");f.element=t}f.element&&(v.Values.addClass(t,"velocity-animating"),A.push(f),d=s(t),d&&(""===l.queue&&(d.tweensContainer=f,d.opts=l),d.isAnimating=!0),S===k-1?(g.State.calls.push([A,b,l,null,C.resolver]),g.State.isTicking===!1&&(g.State.isTicking=!0,c())):S++)}var a,l=h.extend({},g.defaults,w),f={};switch(s(t)===i&&g.init(t),parseFloat(l.delay)&&l.queue!==!1&&h.queue(t,l.queue,function(e){g.velocityQueueEntryFlag=!0,s(t).delayTimer={setTimeout:setTimeout(e,parseFloat(l.delay)),next:e}}),(""+l.duration).toLowerCase()){case"fast":l.duration=200;break;case"normal":l.duration=d;break;case"slow":l.duration=600;break;default:l.duration=parseFloat(l.duration)||1}g.mock!==!1&&(g.mock===!0?l.duration=l.delay=1:(l.duration*=parseFloat(g.mock)||1,l.delay*=parseFloat(g.mock)||1)),l.easing=u(l.easing,l.duration),l.begin&&!x.isFunction(l.begin)&&(l.begin=null),l.progress&&!x.isFunction(l.progress)&&(l.progress=null),l.complete&&!x.isFunction(l.complete)&&(l.complete=null),l.display!==i&&null!==l.display&&(l.display=(""+l.display).toLowerCase(),"auto"===l.display&&(l.display=g.CSS.Values.getDisplayType(t))),l.visibility!==i&&null!==l.visibility&&(l.visibility=(""+l.visibility).toLowerCase()),l.mobileHA=l.mobileHA&&g.State.isMobile&&!g.State.isGingerbread,l.queue===!1?l.delay?setTimeout(o,l.delay):o():h.queue(t,l.queue,function(t,e){return e===!0?(C.promise&&C.resolver(b),!0):(g.velocityQueueEntryFlag=!0,o(t),i)}),""!==l.queue&&"fx"!==l.queue||"inprogress"===h.queue(t)[0]||h.dequeue(t)}var a,l,p,m,b,_,w,k,S,T,D,C,M,P,O,E,N,I,A,L,j,F,H=arguments[0]&&(arguments[0].p||h.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||x.isString(arguments[0].properties));if(x.isWrapped(this)?(l=!1,m=0,b=this,p=this):(l=!0,m=1,b=H?arguments[0].elements||arguments[0].e:arguments[0]),b=o(b)){if(H?(_=arguments[0].properties||arguments[0].p,w=arguments[0].options||arguments[0].o):(_=arguments[m],w=arguments[m+1]),k=b.length,S=0,!/^(stop|finish|finishAll)$/i.test(_)&&!h.isPlainObject(w))for(T=m+1,w={},D=T;D<arguments.length;D++)x.isArray(arguments[D])||!/^(fast|normal|slow)$/i.test(arguments[D])&&!/^\d/.test(arguments[D])?x.isString(arguments[D])||x.isArray(arguments[D])?w.easing=arguments[D]:x.isFunction(arguments[D])&&(w.complete=arguments[D]):w.duration=arguments[D];switch(C={promise:null,resolver:null,rejecter:null},l&&g.Promise&&(C.promise=new g.Promise(function(t,e){C.resolver=t,C.rejecter=e})),_){case"scroll":M="scroll";break;case"reverse":M="reverse";break;case"finish":case"finishAll":case"stop":return h.each(b,function(t,e){s(e)&&s(e).delayTimer&&(clearTimeout(s(e).delayTimer.setTimeout),s(e).delayTimer.next&&s(e).delayTimer.next(),delete s(e).delayTimer),"finishAll"!==_||w!==!0&&!x.isString(w)||(h.each(h.queue(e,x.isString(w)?w:""),function(t,e){x.isFunction(e)&&e()}),h.queue(e,x.isString(w)?w:"",[]))}),P=[],h.each(g.State.calls,function(t,e){e&&h.each(e[1],function(n,r){var o=w===i?"":w;return o!==!0&&e[2].queue!==o&&(w!==i||e[2].queue!==!1)||(h.each(b,function(n,i){if(i===r)if((w===!0||x.isString(w))&&(h.each(h.queue(i,x.isString(w)?w:""),function(t,e){x.isFunction(e)&&e(null,!0)}),h.queue(i,x.isString(w)?w:"",[])),"stop"===_){var a=s(i);a&&a.tweensContainer&&o!==!1&&h.each(a.tweensContainer,function(t,e){e.endValue=e.currentValue}),P.push(t)}else"finish"!==_&&"finishAll"!==_||(e[2].duration=1)}),i)})}),"stop"===_&&(h.each(P,function(t,e){f(e,!0)}),C.promise&&C.resolver(b)),t();default:if(!h.isPlainObject(_)||x.isEmptyObject(_))return x.isString(_)&&g.Redirects[_]?(a=h.extend({},w),O=a.duration,E=a.delay||0,a.backwards===!0&&(b=h.extend(!0,[],b).reverse()),h.each(b,function(t,e){parseFloat(a.stagger)?a.delay=E+parseFloat(a.stagger)*t:x.isFunction(a.stagger)&&(a.delay=E+a.stagger.call(e,t,k)),a.drag&&(a.duration=parseFloat(O)||(/^(callout|transition)/.test(_)?1e3:d),a.duration=Math.max(a.duration*(a.backwards?1-t/k:(t+1)/k),.75*a.duration,200)),g.Redirects[_].call(e,e,a||{},t,k,b,C.promise?C:i)}),t()):(N="Velocity: First argument ("+_+") was not a property map, a known action, or a registered redirect. Aborting.",C.promise?C.rejecter(Error(N)):console.log(N),t());M="start"}if(I={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},A=[],h.each(b,function(t,e){x.isNode(e)&&r(e,t)}),a=h.extend({},g.defaults,w),a.loop=parseInt(a.loop,10),L=2*a.loop-1,a.loop)for(j=0;j<L;j++)F={delay:a.delay,progress:a.progress},j===L-1&&(F.display=a.display,F.visibility=a.visibility,F.complete=a.complete),y(b,"reverse",F);return t()}},g=h.extend(y,g),g.animate=y,b=e.requestAnimationFrame||w,g.State.isMobile||n.hidden===i||n.addEventListener("visibilitychange",function(){n.hidden?(b=function(t){return setTimeout(function(){t(!0)},16)},c()):b=e.requestAnimationFrame||w}),t.Velocity=g,t!==e&&(t.fn.velocity=y,t.fn.velocity.defaults=g.defaults),h.each(["Down","Up"],function(t,e){g.Redirects["slide"+e]=function(t,n,r,o,s,a){var l=h.extend({},n),u=l.begin,c=l.complete,f={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},d={};l.display===i&&(l.display="Down"===e?"inline"===g.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),l.begin=function(){var n,i;u&&u.call(s,s);for(n in f)f.hasOwnProperty(n)&&(d[n]=t.style[n],i=g.CSS.getPropertyValue(t,n),f[n]="Down"===e?[i,0]:[0,i]);d.overflow=t.style.overflow,t.style.overflow="hidden"},l.complete=function(){for(var e in d)d.hasOwnProperty(e)&&(t.style[e]=d[e]);c&&c.call(s,s),a&&a.resolver(s)},g(t,f,l)}}),h.each(["In","Out"],function(t,e){g.Redirects["fade"+e]=function(t,n,r,o,s,a){var l=h.extend({},n),u=l.complete,c={opacity:"In"===e?1:0};r!==o-1?l.complete=l.begin=null:l.complete=function(){u&&u.call(s,s),a&&a.resolver(s)},l.display===i&&(l.display="In"===e?"auto":"none"),g(this,c,l)}}),g)}(window.jQuery||window.Zepto||window,window,document)})},function(t,e){"use strict";!function(t){function e(t,e,n){for(var i=0;i<a.length;i++)a[i]||(e=e.toLowerCase()),t.addEventListener(a[i]+e,n,!1)}function n(e){var n=e.data(c).complete;i(e),n&&t.isFunction(n)&&n()}function i(t){t.stop(!0),t.css("background-color",""),t.removeData(u),t.removeData(c)}function r(t){var e=t.data(u);e&&(e!==!0?(e--,e?(o(t),t.data(u,e)):n(t)):o(t))}function o(t){var e=t.css("background-color"),n=t.data(c),i=n.highlightColor||f,o=n.duration||h,s=n.easing||d;t.animate({"background-color":i},o,s).animate({"background-color":e},o,s,r.bind(t,t))}var s,a,l,u,c,f,h,d,p=!1,g=document.body||document.documentElement,m="animation",v="",y="Webkit Moz O ms Khtml".split(" "),b="";if(void 0!==g.style.animationName&&(p=!0),p===!1)for(s=0;s<y.length;s++)if(void 0!==g.style[y[s]+"AnimationName"]){b=y[s],m=b+"Animation",v="-"+b.toLowerCase()+"-",p=!0;break}a=["webkit","moz","MS","o",""],l="flicker-",u=l+"enable",c=l+"options",f="#fbf8e9",h=400,d="swing",t.fn.highlight=function(n,r){switch(n){default:n=void 0===n||n,this.each(function(){if(p)n=n===!0?"infinite":n,e(this,"AnimationEnd",function(){this.style[m]=""}),this.style[m]="highlight-animation 0.4s ease-in-out "+n+" alternate";else{var i=t(this);i.data(u,n),i.data(c,t.extend({},r||{})),i.is(":animated")||o(i)}});break;case!1:this.each(function(){p?this.style[m]="":i(t(this))})}}}(jQuery)},function(t,e){"use strict";!function(t){var e,n;void 0!==document.hidden?(e="hidden",n="visibilitychange"):void 0!==document.mozHidden?(e="mozHidden",n="mozvisibilitychange"):void 0!==document.msHidden?(e="msHidden",n="msvisibilitychange"):void 0!==document.webkitHidden&&(e="webkitHidden",n="webkitvisibilitychange"),t.tabvisible=!0,n&&(t(document).on(n,function(n){t.tabvisible=!document[e],t(window).trigger("visibilitychange",!document[e])}),t(document).trigger(n)),t.whenTabVisible=function(e){!n||t.tabvisible?e():t(window).one("visibilitychange",e)}}(jQuery)},function(t,e){"use strict";!function(t){var e,n,i,r,o,s;!t.support.cors&&t.ajaxTransport&&window.XDomainRequest&&(e=/^https?:\/\//i,n=/^get|post$/i,i=RegExp("^"+location.protocol,"i"),r=/text\/html/i,o=/\/json/i,s=/\/xml/i,t.ajaxTransport("* text html xml json",function(a,l,u){var c,f;if(a.crossDomain&&a.async&&n.test(a.type)&&e.test(a.url)&&i.test(a.url))return c=null,f=(l.dataType||"").toLowerCase(),{send:function(e,n){c=new XDomainRequest,/^\d+$/.test(l.timeout)&&(c.timeout=l.timeout),c.ontimeout=function(){n(500,"timeout")},c.onload=function(){var e,i="Content-Length: "+c.responseText.length+"\r\nContent-Type: "+c.contentType,a={code:200,message:"success"},l={text:c.responseText};try{if("html"===f||r.test(c.contentType))l.html=c.responseText;else if("json"===f||"text"!==f&&o.test(c.contentType))try{l.json=t.parseJSON(c.responseText)}catch(t){a.code=500,a.message="parseerror"}else if("xml"===f||"text"!==f&&s.test(c.contentType)){e=new ActiveXObject("Microsoft.XMLDOM"),e.async=!1;try{e.loadXML(c.responseText)}catch(t){e=void 0}if(!e||!e.documentElement||e.getElementsByTagName("parsererror").length)throw a.code=500,a.message="parseerror","Invalid XML: "+c.responseText;l.xml=e}}catch(t){throw t}finally{n(a.code,a.message,l,i)}},c.onprogress=function(){},c.onerror=function(){n(500,"error",{text:c.responseText})};var i="";l.data&&(i="string"===t.type(l.data)?l.data:t.param(l.data)),c.open(a.type,a.url),c.send(i)},abort:function(){c&&c.abort()}}}))}(jQuery)},function(t,e){"use strict";!function(t){t.fn.inputselectable=function(e){var n,i,r,o=t(this);if(e=t.extend({},e),!o.is('input[type="text"]'))throw Error(o+' should be input[type="text"]');if(e.list&&e.list.length&&!o.hasClass("ISinput"))return o.addClass("ISinput"),n=t('<div class="ISwraper"></div>'),i=t('<div class="IStoggle"></div>'),r=function(n,r,s){function a(n,r){r||(r=c),r.remove(),o.off("click"),e.closeHandle instanceof t&&e.closeHandle.off("click"),i.removeClass("active"),o.focus()}var l,u,c;if(n.stopPropagation(),(!i.is(":active")&&!i.is(".active")||(a(null,t(".ISdropdown")),!s))&&r&&r.length){for(l='<ul class="ISdropdown">',u=0;u<r.length;u++)l+='<li><div><span class="IStext">'+r[u]+"</span></div></li>";l+="</ul>",c=t(l),c.find("li").each(function(){t(this).click(function(){o.val(t(this).find(".IStext").text()),a()})}),o.on("click","",a),e.closeHandle instanceof t&&e.closeHandle.on("click","",a),c.insertAfter(o),c.css({top:o.outerHeight(),width:o.outerWidth(),"max-height":t(window).height()-c.offset().top-35}),i.toggleClass("active")}},o.wrap(n),"static"==o.css("position")?n.css("position","relative"):n.css({top:o.css("top"),left:o.css("left"),position:o.css("position")}),n.css({width:o.outerHeight(),height:o.outerWidth()}),i.insertAfter(o),i.click(function(t){r(t,e.list,!0)}),o.keyup(function(n){var i=RegExp(o.val(),"i"),s=t.grep(e.list,function(t){return i.test(t)});r(n,s)}),o.focus()}}(jQuery)},function(t,e,n){(function(e){e.$||(e.$={}),t.exports=e.$.i18n=n(729)}).call(e,function(){return this}())},function(t,e){"use strict";!function(){function e(t,e){if(!e||"function"==typeof e)return t;for(var n in e)t[n]=e[n];return t}function n(t,e,n){var i,r=0,o=t.length,s=void 0===o||"[object Array]"!==Object.prototype.toString.apply(t)||"function"==typeof t;if(n)if(s){for(i in t)if(e.apply(t[i],n)===!1)break}else for(;r<o&&e.apply(t[r++],n)!==!1;);else if(s){for(i in t)if(e.call(t[i],i,t[i])===!1)break}else for(;r<o&&e.call(t[r],r,t[r++])!==!1;);return t}function i(t){return"string"==typeof t?t.replace(/[&<>"'\/]/g,function(t){return L[t]}):t}function r(t){var e=function(t){if(window.XMLHttpRequest)return t(null,new XMLHttpRequest);if(window.ActiveXObject)try{return t(null,new ActiveXObject("Msxml2.XMLHTTP"))}catch(e){return t(null,new ActiveXObject("Microsoft.XMLHTTP"))}return t(Error())},n=function(t){var e,n;if("string"==typeof t)return t;e=[];for(n in t)t.hasOwnProperty(n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e.join("&")},i=function(t){var e,n,i;for(t=t.replace(/\r\n/g,"\n"),e="",n=0;n<t.length;n++)i=t.charCodeAt(n),i<128?e+=String.fromCharCode(i):i>127&&i<2048?(e+=String.fromCharCode(i>>6|192),e+=String.fromCharCode(63&i|128)):(e+=String.fromCharCode(i>>12|224),e+=String.fromCharCode(i>>6&63|128),e+=String.fromCharCode(63&i|128));return e},r=function(t){var e,n,r,o,s,a,l,u,c,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t=i(t),e="",c=0;do n=t.charCodeAt(c++),r=t.charCodeAt(c++),o=t.charCodeAt(c++),s=n>>2,a=(3&n)<<4|r>>4,l=(15&r)<<2|o>>6,u=63&o,isNaN(r)?l=u=64:isNaN(o)&&(u=64),e+=f.charAt(s)+f.charAt(a)+f.charAt(l)+f.charAt(u),n=r=o="",s=a=l=u="";while(c<t.length);return e},o=function(){var t,e,n,i=arguments[0];for(t=1;t<arguments.length;t++){e=arguments[t];for(n in e)e.hasOwnProperty(n)&&(i[n]=e[n])}return i},s=function(t,i,r,a){var l,u,c,f,h;return"function"==typeof r&&(a=r,r={}),r.cache=r.cache||!1,r.data=r.data||{},r.headers=r.headers||{},r.jsonp=r.jsonp||!1,r.async=void 0===r.async||r.async,l=o({accept:"*/*","content-type":"application/x-www-form-urlencoded;charset=UTF-8"},s.headers,r.headers),u="application/json"===l["content-type"]?JSON.stringify(r.data):n(r.data),"GET"===t&&(c=[],u&&(c.push(u),u=null),r.cache||c.push("_="+(new Date).getTime()),r.jsonp&&(c.push("callback="+r.jsonp),c.push("jsonp="+r.jsonp)),c=c.join("&"),c.length>1&&(i+=i.indexOf("?")>-1?"&"+c:"?"+c),r.jsonp)?(f=document.getElementsByTagName("head")[0],h=document.createElement("script"),h.type="text/javascript",h.src=i,void f.appendChild(h)):void e(function(e,n){if(e)return a(e);n.open(t,i,r.async);for(var o in l)l.hasOwnProperty(o)&&n.setRequestHeader(o,l[o]);n.onreadystatechange=function(){if(4===n.readyState){var t=n.responseText||"";if(!a)return;a(n.status,{text:function(){return t},json:function(){return JSON.parse(t)}})}},n.send(u)})},a={authBasic:function(t,e){s.headers.Authorization="Basic "+r(t+":"+e)},connect:function(t,e,n){return s("CONNECT",t,e,n)},del:function(t,e,n){return s("DELETE",t,e,n)},get:function(t,e,n){return s("GET",t,e,n)},head:function(t,e,n){return s("HEAD",t,e,n)},headers:function(t){s.headers=t||{}},isAllowed:function(t,e,n){this.options(t,function(t,i){n(i.text().indexOf(e)!==-1)})},options:function(t,e,n){return s("OPTIONS",t,e,n)},patch:function(t,e,n){return s("PATCH",t,e,n)},post:function(t,e,n){return s("POST",t,e,n)},put:function(t,e,n){return s("PUT",t,e,n)},trace:function(t,e,n){return s("TRACE",t,e,n)}},l=t.type?t.type.toLowerCase():"get";a[l](t.url,t,function(e,n){200===e?t.success(n.json(),e,null):t.error(n.text(),e,null)})}function o(t,e){var n,i,r,o,s,a,l,u;if("function"==typeof t&&(e=t,t={}),t=t||{},H.extend(A,t),delete A.fixLng,"string"==typeof A.ns&&(A.ns={namespaces:[A.ns],defaultNs:A.ns}),"string"==typeof A.fallbackNS&&(A.fallbackNS=[A.fallbackNS]),"string"!=typeof A.fallbackLng&&"boolean"!=typeof A.fallbackLng||(A.fallbackLng=[A.fallbackLng]),A.interpolationPrefixEscaped=H.regexEscape(A.interpolationPrefix),A.interpolationSuffixEscaped=H.regexEscape(A.interpolationSuffix),A.lng||(A.lng=H.detectLanguage()),A.lng?A.useCookie&&H.cookie.create(A.cookieName,A.lng,A.cookieExpirationTime,A.cookieDomain):(A.lng=A.fallbackLng[0],A.useCookie&&H.cookie.remove(A.cookieName)),N=H.toLanguages(A.lng),O=N[0],H.log("currentLng set to: "+O),n=_,t.fixLng&&(n=function(t,e){return e=e||{},e.lng=e.lng||n.lng,_(t,e)},n.lng=O),Y.setCurrentLng(O),C&&A.setJqueryExt&&p(),C&&C.Deferred&&(i=C.Deferred()),A.resStore){if(P=A.resStore,I=!0,e&&e(n),i&&i.resolve(n),i)return i.promise()}else{for(r=H.toLanguages(A.lng),"string"==typeof A.preload&&(A.preload=[A.preload]),o=0,s=A.preload.length;o<s;o++)for(a=H.toLanguages(A.preload[o]),l=0,u=a.length;l<u;l++)r.indexOf(a[l])<0&&r.push(a[l]);if(M.sync.load(r,A,function(t,r){P=r,I=!0,e&&e(n),i&&i.resolve(n)}),i)return i.promise()}}function s(t,e){"string"==typeof t&&(t=[t]);for(var n=0,i=t.length;n<i;n++)A.preload.indexOf(t[n])<0&&A.preload.push(t[n]);return o(e)}function a(t,e,n){"string"!=typeof e?(n=e,e=A.ns.defaultNs):A.ns.namespaces.indexOf(e)<0&&A.ns.namespaces.push(e),P[t]=P[t]||{},P[t][e]=P[t][e]||{},H.extend(P[t][e],n)}function l(t,e){"string"!=typeof e&&(e=A.ns.defaultNs),P[t]=P[t]||{},P[t][e]={}}function u(t){A.ns.defaultNs=t}function c(t,e){f([t],e)}function f(t,e){var n,i,r,o,s,a,l,u,c,f,h,d,p={dynamicLoad:A.dynamicLoad,resGetPath:A.resGetPath,getAsync:A.getAsync,customLoad:A.customLoad,ns:{namespaces:t,defaultNs:""}},g=H.toLanguages(A.lng);for("string"==typeof A.preload&&(A.preload=[A.preload]),n=0,i=A.preload.length;n<i;n++)for(r=H.toLanguages(A.preload[n]),o=0,s=r.length;o<s;o++)g.indexOf(r[o])<0&&g.push(r[o]);for(a=[],l=0,u=g.length;l<u;l++){if(c=!1,f=P[g[l]])for(h=0,d=t.length;h<d;h++)f[t[h]]||(c=!0);else c=!0;
|
||
c&&a.push(g[l])}a.length?M.sync._fetch(a,p,function(n,i){var r=t.length*a.length;H.each(t,function(t,n){A.ns.namespaces.indexOf(n)<0&&A.ns.namespaces.push(n),H.each(a,function(t,o){P[o]=P[o]||{},P[o][n]=i[o][n],r--,0===r&&e&&(A.useLocalStorage&&M.sync._storeLocal(P),e())})})}):e&&e()}function h(t,e,n){return"function"==typeof e?(n=e,e={}):e||(e={}),e.lng=t,o(e,n)}function d(){return O}function p(){function t(t,e,n){var i,r,o,s,a;0!==e.length&&(i="text",0===e.indexOf("[")&&(r=e.split("]"),e=r[1],i=r[0].substr(1,r[0].length-1)),e.indexOf(";")===e.length-1&&(e=e.substr(0,e.length-2)),"html"===i?(o=A.defaultValueFromContent?C.extend({defaultValue:t.html()},n):n,t.html(C.t(e,o))):"text"===i?(o=A.defaultValueFromContent?C.extend({defaultValue:t.text()},n):n,t.text(C.t(e,o))):"prepend"===i?(o=A.defaultValueFromContent?C.extend({defaultValue:t.html()},n):n,t.prepend(C.t(e,o))):"append"===i?(o=A.defaultValueFromContent?C.extend({defaultValue:t.html()},n):n,t.append(C.t(e,o))):0===i.indexOf("data-")?(s=i.substr(5),o=A.defaultValueFromContent?C.extend({defaultValue:t.data(s)},n):n,a=C.t(e,o),t.data(s,a),t.attr(i,a)):(o=A.defaultValueFromContent?C.extend({defaultValue:t.attr(i)},n):n,t.attr(i,C.t(e,o))))}function e(e,n){var i,r,o,s=e.attr(A.selectorAttr);s||void 0===s||s===!1||(s=e.text()||e.val()),s&&(i=e,r=e.data("i18n-target"),r&&(i=e.find(r)||e),n||A.useDataAttrOptions!==!0||(n=e.data("i18n-options")),n=n||{},s.indexOf(";")>=0?(o=s.split(";"),C.each(o,function(e,r){""!==r&&t(i,r,n)})):t(i,s,n),A.useDataAttrOptions===!0&&e.data("i18n-options",n))}C.t=C.t||_,C.fn.i18n=function(t){return this.each(function(){e(C(this),t);var n=C(this).find("["+A.selectorAttr+"]");n.each(function(){e(C(this),t)})})}}function g(t,e,n,i){if(!t)return t;if(i=i||e,t.indexOf(i.interpolationPrefix||A.interpolationPrefix)<0)return t;var r=i.interpolationPrefix?H.regexEscape(i.interpolationPrefix):A.interpolationPrefixEscaped,o=i.interpolationSuffix?H.regexEscape(i.interpolationSuffix):A.interpolationSuffixEscaped,s="HTML"+o;return H.each(e,function(e,a){var l=n?n+A.keyseparator+e:e;"object"==typeof a&&null!==a?t=g(t,a,l,i):i.escapeInterpolation||A.escapeInterpolation?(t=t.replace(RegExp(""+r+l+s,"g"),a),t=t.replace(RegExp(""+r+l+o,"g"),H.escape(a))):t=t.replace(RegExp(""+r+l+o,"g"),a)}),t}function m(t,e){var n,i,r,o,s,a,l,u,c=",",f="{",h="}",d=H.extend({},e);for(delete d.postProcess;t.indexOf(A.reusePrefix)!=-1&&(E++,!(E>A.maxRecursion));){if(n=t.lastIndexOf(A.reusePrefix),i=t.indexOf(A.reuseSuffix,n)+A.reuseSuffix.length,r=t.substring(n,i),o=r.replace(A.reusePrefix,"").replace(A.reuseSuffix,""),o.indexOf(c)!=-1&&(s=o.indexOf(c),o.indexOf(f,s)!=-1&&o.indexOf(h,s)!=-1)){a=o.indexOf(f,s),l=o.indexOf(h,a)+h.length;try{d=H.extend(d,JSON.parse(o.substring(a,l))),o=o.substring(0,s)}catch(t){}}u=k(o,d),t=t.replace(r,u)}return t}function v(t){return t.context&&("string"==typeof t.context||"number"==typeof t.context)}function y(t){return void 0!==t.count&&"string"!=typeof t.count&&1!==t.count}function b(t,e){e=e||{};var n=w(t,e),i=S(t,e);return void 0!==i||i===n}function _(t,e){return e=e||{},I?(E=0,k.apply(null,arguments)):t||""}function w(t,e){return void 0!==e.defaultValue?e.defaultValue:t}function x(){var t,e=[];for(t=1;t<arguments.length;t++)e.push(arguments[t]);return{postProcess:"sprintf",sprintf:e}}function k(t,e){var n,i,r,o,s,a,l,u,c,f;if(e&&"object"!=typeof e?"sprintf"===A.shortcutFunction?e=x.apply(null,arguments):"defaultValue"===A.shortcutFunction&&(e={defaultValue:e}):e=e||{},void 0===t||null===t)return"";if("string"==typeof t&&(t=[t]),n=t[0],t.length>1)for(i=0;i<t.length&&(n=t[i],!b(n,e));i++);if(r=w(n,e),o=S(n,e),s=e.lng?H.toLanguages(e.lng):N,a=e.ns||A.ns.defaultNs,n.indexOf(A.nsseparator)>-1&&(l=n.split(A.nsseparator),a=l[0],n=l[1]),void 0===o&&A.sendMissing&&(e.lng?z.postMissing(s[0],a,n,r,s):z.postMissing(A.lng,a,n,r,s)),u=e.postProcess||A.postProcess,void 0!==o&&u&&R[u]&&(o=R[u](o,n,e)),c=r,r.indexOf(A.nsseparator)>-1&&(l=r.split(A.nsseparator),c=l[1]),c===n&&A.parseMissingKey&&(r=A.parseMissingKey(r)),void 0===o&&(r=g(r,e),r=m(r,e),u&&R[u]&&(f=w(n,e),o=R[u](f,n,e))),!o)try{window.parent.__translations||(window.parent.__translations=[]),window.parent.__translations.indexOf(r)<0&&r.length>1&&window.parent.__translations.push(r)}catch(t){}return void 0!==o?o:r}function S(t,e){var n,i,r,o,s,a,l,u,c,f,h,d,p,b,x,T,D,C,O,E,I,L,j;if(e=e||{},r=w(t,e),o=N,!P)return r;if("cimode"===o[0].toLowerCase())return r;if(e.lng&&(o=H.toLanguages(e.lng),P[o[0]]||(s=A.getAsync,A.getAsync=!1,M.sync.load(o,A,function(t,e){H.extend(P,e),A.getAsync=s}))),a=e.ns||A.ns.defaultNs,t.indexOf(A.nsseparator)>-1&&(l=t.split(A.nsseparator),a=l[0],t=l[1]),v(e)&&(n=H.extend({},e),delete n.context,n.defaultValue=A.contextNotFound,u=a+A.nsseparator+t+"_"+e.context,i=_(u,n),i!=A.contextNotFound))return g(i,{context:e.context});if(y(e)&&(n=H.extend({},e),delete n.count,n.defaultValue=A.pluralNotFound,c=a+A.nsseparator+t+A.pluralSuffix,f=Y.get(o[0],e.count),f>=0?c=c+"_"+f:1===f&&(c=a+A.nsseparator+t),i=_(c,n),i!=A.pluralNotFound))return g(i,{count:e.count,interpolationPrefix:e.interpolationPrefix,interpolationSuffix:e.interpolationSuffix});for(d=t.split(A.keyseparator),p=0,b=o.length;p<b&&void 0===h;p++){for(x=o[p],T=0,D=P[x]&&P[x][a];d[T];)D=D&&D[d[T]],T++;void 0!==D&&(C=Object.prototype.toString.apply(D),"string"==typeof D?(D=g(D,e),D=m(D,e)):"[object Array]"!==C||A.returnObjectTrees||e.returnObjectTrees?null===D&&A.fallbackOnNull===!0?D=void 0:null!==D&&(A.returnObjectTrees||e.returnObjectTrees?"[object Number]"!==C&&"[object Function]"!==C&&"[object RegExp]"!==C&&(O="[object Array]"===C?[]:{},H.each(D,function(n){O[n]=k(a+A.nsseparator+t+A.keyseparator+n,e)}),D=O):A.objectTreeKeyHandler&&"function"==typeof A.objectTreeKeyHandler?D=A.objectTreeKeyHandler(t,D,x,a,e):(D="key '"+a+":"+t+" ("+x+")' returned an object instead of string.",H.log(D))):(D=D.join("\n"),D=g(D,e),D=m(D,e)),"string"==typeof D&&""===D.trim()&&A.fallbackOnEmpty===!0&&(D=void 0),h=D)}if(void 0===h&&!e.isFallbackLookup&&(A.fallbackToDefaultNS===!0||A.fallbackNS&&A.fallbackNS.length>0))if(e.isFallbackLookup=!0,A.fallbackNS.length)for(E=0,I=A.fallbackNS.length;E<I&&(h=S(A.fallbackNS[E]+A.nsseparator+t,e),!h||(L=h.indexOf(A.nsseparator)>-1?h.split(A.nsseparator)[1]:h,j=r.indexOf(A.nsseparator)>-1?r.split(A.nsseparator)[1]:r,L===j));E++);else h=S(t,e);return h}function T(){var t,e,n=[];return"undefined"!=typeof window&&(!function(){var t,e,i,r,o=window.location.search.substring(1),s=o.split("&");for(t=0;t<s.length;t++)e=s[t].indexOf("="),e>0&&(i=s[t].substring(0,e),r=s[t].substring(e+1),n[i]=r)}(),n[A.detectLngQS]&&(t=n[A.detectLngQS])),!t&&"undefined"!=typeof document&&A.useCookie&&(e=H.cookie.read(A.cookieName),e&&(t=e)),t||"undefined"==typeof navigator||(t=navigator.language?navigator.language:navigator.userLanguage),t}var D,C,M,P,O,E,N,I,A,L,j,F,H,z,Y,R,W,V,B;Array.prototype.indexOf||(Array.prototype.indexOf=function(t){var e,n,i,r;if(null==this)throw new TypeError;if(e=Object(this),n=e.length>>>0,0===n)return-1;if(i=0,arguments.length>0&&(i=+arguments[1],i!=i?i=0:0!=i&&i!=1/0&&i!=-(1/0)&&(i=(i>0||-1)*Math.floor(Math.abs(i)))),i>=n)return-1;for(r=i>=0?i:Math.max(n-Math.abs(i),0);r<n;r++)if(r in e&&e[r]===t)return r;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(t){var e,n,i,r;if(null==this)throw new TypeError;if(e=Object(this),n=e.length>>>0,0===n)return-1;for(i=n,arguments.length>1&&(i=+arguments[1],i!=i?i=0:0!=i&&i!=1/0&&i!=-(1/0)&&(i=(i>0||-1)*Math.floor(Math.abs(i)))),r=i>=0?Math.min(i,n-1):n-Math.abs(i);r>=0;r--)if(r in e&&e[r]===t)return r;return-1}),"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),D=this||window,C=D.jQuery||D.Zepto,M={},P={},E=0,N=[],I=!1,void 0!==t&&t.exports?t.exports=M:(C&&(C.i18n=C.i18n||M),D.i18n=D.i18n||M),A={lng:void 0,load:"all",preload:[],lowerCaseLng:!1,returnObjectTrees:!1,fallbackLng:["dev"],fallbackNS:[],detectLngQS:"setLng",ns:"translation",fallbackOnNull:!0,fallbackOnEmpty:!1,fallbackToDefaultNS:!1,nsseparator:":",keyseparator:".",selectorAttr:"data-i18n",debug:!1,resGetPath:"locales/__lng__/__ns__.json",resPostPath:"locales/add/__lng__/__ns__",getAsync:!1,postAsync:!1,resStore:void 0,useLocalStorage:!1,localStorageExpirationTime:6048e5,dynamicLoad:!1,sendMissing:!1,sendMissingTo:"fallback",sendType:"POST",interpolationPrefix:"__",interpolationSuffix:"__",reusePrefix:"$t(",reuseSuffix:")",pluralSuffix:"_plural",pluralNotFound:"plural_not_found"+Math.random(),contextNotFound:"context_not_found"+Math.random(),escapeInterpolation:!1,setJqueryExt:!0,defaultValueFromContent:!0,useDataAttrOptions:!1,cookieExpirationTime:void 0,useCookie:!0,cookieName:"i18next",cookieDomain:void 0,objectTreeKeyHandler:void 0,postProcess:void 0,parseMissingKey:void 0,shortcutFunction:"sprintf"},L={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},j={create:function(t,e,n,i){var r,o;n?(o=new Date,o.setTime(o.getTime()+60*n*1e3),r="; expires="+o.toGMTString()):r="",i=i?"domain="+i+";":"",document.cookie=t+"="+e+r+";"+i+"path=/"},read:function(t){var e,n,i=t+"=",r=document.cookie.split(";");for(e=0;e<r.length;e++){for(n=r[e];" "==n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(i))return n.substring(i.length,n.length)}return null},remove:function(t){this.create(t,"",-1)}},F={create:function(t,e,n,i){},read:function(t){return null},remove:function(t){}},H={extend:C?C.extend:e,each:C?C.each:n,ajax:C?C.ajax:"undefined"!=typeof document?r:function(){},cookie:"undefined"!=typeof document?j:F,detectLanguage:T,escape:i,log:function(t){A.debug&&"undefined"!=typeof console&&console.log(t)},toLanguages:function(t){var e,n,i=[];for("string"==typeof t&&t.indexOf("-")>-1?(e=t.split("-"),t=A.lowerCaseLng?e[0].toLowerCase()+"-"+e[1].toLowerCase():e[0].toLowerCase()+"-"+e[1].toUpperCase(),"unspecific"!==A.load&&i.push(t),"current"!==A.load&&i.push(e[0])):i.push(t),n=0;n<A.fallbackLng.length;n++)i.indexOf(A.fallbackLng[n])===-1&&A.fallbackLng[n]&&i.push(A.fallbackLng[n]);return i},regexEscape:function(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},H.applyReplacement=g,z={load:function(t,e,n){e.useLocalStorage?z._loadLocal(t,e,function(i,r){var o,s,a=[];for(o=0,s=t.length;o<s;o++)r[t[o]]||a.push(t[o]);a.length>0?z._fetch(a,e,function(t,e){H.extend(r,e),z._storeLocal(e),n(null,r)}):n(null,r)}):z._fetch(t,e,function(t,e){n(null,e)})},_loadLocal:function(t,e,n){var i,r={},o=(new Date).getTime();window.localStorage&&(i=t.length,H.each(t,function(t,s){var a=window.localStorage.getItem("res_"+s);a&&(a=JSON.parse(a),a.i18nStamp&&a.i18nStamp+e.localStorageExpirationTime>o&&(r[s]=a)),i--,0===i&&n(null,r)}))},_storeLocal:function(t){if(window.localStorage)for(var e in t)t[e].i18nStamp=(new Date).getTime(),window.localStorage.setItem("res_"+e,JSON.stringify(t[e]))},_fetch:function(t,e,n){var i,r,o,s,a=e.ns,l={};e.dynamicLoad?(o=function(t,e){n(null,e)},"function"==typeof e.customLoad?e.customLoad(t,a.namespaces,e,o):(s=g(e.resGetPath,{lng:t.join("+"),ns:a.namespaces.join("+")}),H.ajax({url:s,success:function(t,e,n){H.log("loaded: "+s),o(null,t)},error:function(t,e,n){H.log("failed loading: "+s),o("failed loading resource.json error: "+n)},dataType:"json",async:e.getAsync}))):(i=a.namespaces.length*t.length,H.each(a.namespaces,function(o,s){H.each(t,function(t,o){var a=function(t,e){t&&(r=r||[],r.push(t)),l[o]=l[o]||{},l[o][s]=e,i--,0===i&&n(r,l)};"function"==typeof e.customLoad?e.customLoad(o,s,e,a):z._fetchOne(o,s,e,a)})}))},_fetchOne:function(t,e,n,i){var r=g(n.resGetPath,{lng:t,ns:e});H.ajax({url:r,success:function(t,e,n){H.log("loaded: "+r),i(null,t)},error:function(t,e,n){if(e&&200==e||t&&t.status&&200==t.status)H.log("There is a typo in: "+r);else if(e&&404==e||t&&t.status&&404==t.status)H.log("Does not exist: "+r);else{var o=e?e:t&&t.status?t.status:null;H.log(o+" when loading "+r)}i(n,{})},dataType:"json",async:n.getAsync})},postMissing:function(t,e,n,i,r){var o,s,a,l,u,c,f={};if(f[n]=i,o=[],"fallback"===A.sendMissingTo&&A.fallbackLng[0]!==!1)for(s=0;s<A.fallbackLng.length;s++)o.push({lng:A.fallbackLng[s],url:g(A.resPostPath,{lng:A.fallbackLng[s],ns:e})});else if("current"===A.sendMissingTo||"fallback"===A.sendMissingTo&&A.fallbackLng[0]===!1)o.push({lng:t,url:g(A.resPostPath,{lng:t,ns:e})});else if("all"===A.sendMissingTo)for(s=0,a=r.length;s<a;s++)o.push({lng:r[s],url:g(A.resPostPath,{lng:r[s],ns:e})});for(l=0,u=o.length;l<u;l++)c=o[l],H.ajax({url:c.url,type:A.sendType,data:f,success:function(t,r,o){var s,a,l;for(H.log("posted missing key '"+n+"' to: "+c.url),s=n.split("."),a=0,l=P[c.lng][e];s[a];)l=a===s.length-1?l[s[a]]=i:l[s[a]]=l[s[a]]||{},a++},error:function(t,e,i){H.log("failed posting missing key '"+n+"' to: "+c.url)},dataType:"json",async:A.postAsync})}},Y={rules:{ach:{name:"Acholi",numbers:[1,2],plurals:function(t){return+(t>1)}},af:{name:"Afrikaans",numbers:[1,2],plurals:function(t){return+(1!=t)}},ak:{name:"Akan",numbers:[1,2],plurals:function(t){return+(t>1)}},am:{name:"Amharic",numbers:[1,2],plurals:function(t){return+(t>1)}},an:{name:"Aragonese",numbers:[1,2],plurals:function(t){return+(1!=t)}},ar:{name:"Arabic",numbers:[0,1,2,3,11,100],plurals:function(t){return+(0===t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)}},arn:{name:"Mapudungun",numbers:[1,2],plurals:function(t){return+(t>1)}},ast:{name:"Asturian",numbers:[1,2],plurals:function(t){return+(1!=t)}},ay:{name:"Aymará",numbers:[1],plurals:function(t){return 0}},az:{name:"Azerbaijani",numbers:[1,2],plurals:function(t){return+(1!=t)}},be:{name:"Belarusian",numbers:[1,2,5],plurals:function(t){return+(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)}},bg:{name:"Bulgarian",numbers:[1,2],plurals:function(t){return+(1!=t)}},bn:{name:"Bengali",numbers:[1,2],plurals:function(t){return+(1!=t)}},bo:{name:"Tibetan",numbers:[1],plurals:function(t){return 0}},br:{name:"Breton",numbers:[1,2],plurals:function(t){return+(t>1)}},bs:{name:"Bosnian",numbers:[1,2,5],plurals:function(t){return+(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)}},ca:{name:"Catalan",numbers:[1,2],plurals:function(t){return+(1!=t)}},cgg:{name:"Chiga",numbers:[1],plurals:function(t){return 0}},cs:{name:"Czech",numbers:[1,2,5],plurals:function(t){return+(1==t?0:t>=2&&t<=4?1:2)}},csb:{name:"Kashubian",numbers:[1,2,5],plurals:function(t){return+(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)}},cy:{name:"Welsh",numbers:[1,2,3,8],plurals:function(t){return+(1==t?0:2==t?1:8!=t&&11!=t?2:3)}},da:{name:"Danish",numbers:[1,2],plurals:function(t){return+(1!=t)}},de:{name:"German",numbers:[1,2],plurals:function(t){return+(1!=t)}},dz:{name:"Dzongkha",numbers:[1],plurals:function(t){return 0}},el:{name:"Greek",numbers:[1,2],plurals:function(t){return+(1!=t)}},en:{name:"English",numbers:[1,2],plurals:function(t){return+(1!=t)}},eo:{name:"Esperanto",numbers:[1,2],plurals:function(t){return+(1!=t)}},es:{name:"Spanish",numbers:[1,2],plurals:function(t){return+(1!=t)}},es_ar:{name:"Argentinean Spanish",numbers:[1,2],plurals:function(t){return+(1!=t)}},et:{name:"Estonian",numbers:[1,2],plurals:function(t){return+(1!=t)}},eu:{name:"Basque",numbers:[1,2],plurals:function(t){return+(1!=t)}},fa:{name:"Persian",numbers:[1],plurals:function(t){return 0}},fi:{name:"Finnish",numbers:[1,2],plurals:function(t){return+(1!=t)}},fil:{name:"Filipino",numbers:[1,2],plurals:function(t){return+(t>1)}},fo:{name:"Faroese",numbers:[1,2],plurals:function(t){return+(1!=t)}},fr:{name:"French",numbers:[1,2],plurals:function(t){return+(t>1)}},fur:{name:"Friulian",numbers:[1,2],plurals:function(t){return+(1!=t)}},fy:{name:"Frisian",numbers:[1,2],plurals:function(t){return+(1!=t)}},ga:{name:"Irish",numbers:[1,2,3,7,11],plurals:function(t){return+(1==t?0:2==t?1:t<7?2:t<11?3:4)}},gd:{name:"Scottish Gaelic",numbers:[1,2,3,20],plurals:function(t){return+(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3)}},gl:{name:"Galician",numbers:[1,2],plurals:function(t){return+(1!=t)}},gu:{name:"Gujarati",numbers:[1,2],plurals:function(t){return+(1!=t)}},gun:{name:"Gun",numbers:[1,2],plurals:function(t){return+(t>1)}},ha:{name:"Hausa",numbers:[1,2],plurals:function(t){return+(1!=t)}},he:{name:"Hebrew",numbers:[1,2],plurals:function(t){return+(1!=t)}},hi:{name:"Hindi",numbers:[1,2],plurals:function(t){return+(1!=t)}},hr:{name:"Croatian",numbers:[1,2,5],plurals:function(t){return+(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)}},hu:{name:"Hungarian",numbers:[1,2],plurals:function(t){return+(1!=t)}},hy:{name:"Armenian",numbers:[1,2],plurals:function(t){return+(1!=t)}},ia:{name:"Interlingua",numbers:[1,2],plurals:function(t){return+(1!=t)}},id:{name:"Indonesian",numbers:[1],plurals:function(t){return 0}},is:{name:"Icelandic",numbers:[1,2],plurals:function(t){return+(t%10!=1||t%100==11)}},it:{name:"Italian",numbers:[1,2],plurals:function(t){return+(1!=t)}},ja:{name:"Japanese",numbers:[1],plurals:function(t){return 0}},jbo:{name:"Lojban",numbers:[1],plurals:function(t){return 0}},jv:{name:"Javanese",numbers:[0,1],plurals:function(t){return+(0!==t)}},ka:{name:"Georgian",numbers:[1],plurals:function(t){return 0}},kk:{name:"Kazakh",numbers:[1],plurals:function(t){return 0}},km:{name:"Khmer",numbers:[1],plurals:function(t){return 0}},kn:{name:"Kannada",numbers:[1,2],plurals:function(t){return+(1!=t)}},ko:{name:"Korean",numbers:[1],plurals:function(t){return 0}},ku:{name:"Kurdish",numbers:[1,2],plurals:function(t){return+(1!=t)}},kw:{name:"Cornish",numbers:[1,2,3,4],plurals:function(t){return+(1==t?0:2==t?1:3==t?2:3)}},ky:{name:"Kyrgyz",numbers:[1],plurals:function(t){return 0}},lb:{name:"Letzeburgesch",numbers:[1,2],plurals:function(t){return+(1!=t)}},ln:{name:"Lingala",numbers:[1,2],plurals:function(t){return+(t>1)}},lo:{name:"Lao",numbers:[1],plurals:function(t){return 0}},lt:{name:"Lithuanian",numbers:[1,2,10],plurals:function(t){return+(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)}},lv:{name:"Latvian",numbers:[1,2,0],plurals:function(t){return+(t%10==1&&t%100!=11?0:0!==t?1:2)}},mai:{name:"Maithili",numbers:[1,2],plurals:function(t){return+(1!=t)}},mfe:{name:"Mauritian Creole",numbers:[1,2],plurals:function(t){return+(t>1)}},mg:{name:"Malagasy",numbers:[1,2],plurals:function(t){return+(t>1)}},mi:{name:"Maori",numbers:[1,2],plurals:function(t){return+(t>1)}},mk:{name:"Macedonian",numbers:[1,2],plurals:function(t){return+(1==t||t%10==1?0:1)}},ml:{name:"Malayalam",numbers:[1,2],plurals:function(t){return+(1!=t)}},mn:{name:"Mongolian",numbers:[1,2],plurals:function(t){return+(1!=t)}},mnk:{name:"Mandinka",numbers:[0,1,2],plurals:function(t){return+(1==t?1:2)}},mr:{name:"Marathi",numbers:[1,2],plurals:function(t){return+(1!=t)}},ms:{name:"Malay",numbers:[1],plurals:function(t){return 0}},mt:{name:"Maltese",numbers:[1,2,11,20],plurals:function(t){return+(1==t?0:0===t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)}},nah:{name:"Nahuatl",numbers:[1,2],plurals:function(t){return+(1!=t)}},nap:{name:"Neapolitan",numbers:[1,2],plurals:function(t){return+(1!=t)}},nb:{name:"Norwegian Bokmal",numbers:[1,2],plurals:function(t){return+(1!=t)}},ne:{name:"Nepali",numbers:[1,2],plurals:function(t){return+(1!=t)}},nl:{name:"Dutch",numbers:[1,2],plurals:function(t){return+(1!=t)}},nn:{name:"Norwegian Nynorsk",numbers:[1,2],plurals:function(t){return+(1!=t)}},no:{name:"Norwegian",numbers:[1,2],plurals:function(t){return+(1!=t)}},nso:{name:"Northern Sotho",numbers:[1,2],plurals:function(t){return+(1!=t)}},oc:{name:"Occitan",numbers:[1,2],plurals:function(t){return+(t>1)}},or:{name:"Oriya",numbers:[2,1],plurals:function(t){return+(1!=t)}},pa:{name:"Punjabi",numbers:[1,2],plurals:function(t){return+(1!=t)}},pap:{name:"Papiamento",numbers:[1,2],plurals:function(t){return+(1!=t)}},pl:{name:"Polish",numbers:[1,2,5],plurals:function(t){return+(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)}},pms:{name:"Piemontese",numbers:[1,2],plurals:function(t){return+(1!=t)}},ps:{name:"Pashto",numbers:[1,2],plurals:function(t){return+(1!=t)}},pt:{name:"Portuguese",numbers:[1,2],plurals:function(t){return+(1!=t)}},pt_br:{name:"Brazilian Portuguese",numbers:[1,2],plurals:function(t){return+(1!=t)}},rm:{name:"Romansh",numbers:[1,2],plurals:function(t){return+(1!=t)}},ro:{name:"Romanian",numbers:[1,2,20],plurals:function(t){return+(1==t?0:0===t||t%100>0&&t%100<20?1:2)}},ru:{name:"Russian",numbers:[1,2,5],plurals:function(t){return+(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)}},sah:{name:"Yakut",numbers:[1],plurals:function(t){return 0}},sco:{name:"Scots",numbers:[1,2],plurals:function(t){return+(1!=t)}},se:{name:"Northern Sami",numbers:[1,2],plurals:function(t){return+(1!=t)}},si:{name:"Sinhala",numbers:[1,2],plurals:function(t){return+(1!=t)}},sk:{name:"Slovak",numbers:[1,2,5],plurals:function(t){return+(1==t?0:t>=2&&t<=4?1:2)}},sl:{name:"Slovenian",numbers:[5,1,2,3],plurals:function(t){return+(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)}},so:{name:"Somali",numbers:[1,2],plurals:function(t){return+(1!=t)}},son:{name:"Songhay",numbers:[1,2],plurals:function(t){return+(1!=t)}},sq:{name:"Albanian",numbers:[1,2],plurals:function(t){return+(1!=t)}},sr:{name:"Serbian",numbers:[1,2,5],plurals:function(t){return+(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)}},su:{name:"Sundanese",numbers:[1],plurals:function(t){return 0}},sv:{name:"Swedish",numbers:[1,2],plurals:function(t){return+(1!=t)}},sw:{name:"Swahili",numbers:[1,2],plurals:function(t){return+(1!=t)}},ta:{name:"Tamil",numbers:[1,2],plurals:function(t){return+(1!=t)}},te:{name:"Telugu",numbers:[1,2],plurals:function(t){return+(1!=t)}},tg:{name:"Tajik",numbers:[1,2],plurals:function(t){return+(t>1)}},th:{name:"Thai",numbers:[1],plurals:function(t){return 0}},ti:{name:"Tigrinya",numbers:[1,2],plurals:function(t){return+(t>1)}},tk:{name:"Turkmen",numbers:[1,2],plurals:function(t){return+(1!=t)}},tr:{name:"Turkish",numbers:[1,2],plurals:function(t){return+(t>1)}},tt:{name:"Tatar",numbers:[1],plurals:function(t){return 0}},ug:{name:"Uyghur",numbers:[1],plurals:function(t){return 0}},uk:{name:"Ukrainian",numbers:[1,2,5],plurals:function(t){return+(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)}},ur:{name:"Urdu",numbers:[1,2],plurals:function(t){return+(1!=t)}},uz:{name:"Uzbek",numbers:[1,2],plurals:function(t){return+(t>1)}},vi:{name:"Vietnamese",numbers:[1],plurals:function(t){return 0}},wa:{name:"Walloon",numbers:[1,2],plurals:function(t){return+(t>1)}},wo:{name:"Wolof",numbers:[1],plurals:function(t){return 0}},yo:{name:"Yoruba",numbers:[1,2],plurals:function(t){return+(1!=t)}},zh:{name:"Chinese",numbers:[1],plurals:function(t){return 0}}},addRule:function(t,e){Y.rules[t]=e},setCurrentLng:function(t){if(!Y.currentRule||Y.currentRule.lng!==t){var e=t.split("-");Y.currentRule={lng:t,rule:Y.rules[e[0]]}}},get:function(t,e){function n(e,n){var i,r,o;return i=Y.currentRule&&Y.currentRule.lng===t?Y.currentRule.rule:Y.rules[e],i?(r=i.plurals(n),o=i.numbers[r],2===i.numbers.length&&1===i.numbers[0]&&(2===o?o=-1:1===o&&(o=1)),o):1===n?"1":"-1"}var i=t.split("-");return n(i[0],e)}},R={},W=function(t,e){R[t]=e},V=function(){function t(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function e(t,e){for(var n=[];e>0;n[--e]=t);return n.join("")}var n=function(){return n.cache.hasOwnProperty(arguments[0])||(n.cache[arguments[0]]=n.parse(arguments[0])),n.format.call(null,n.cache[arguments[0]],arguments)};return n.format=function(n,i){var r,o,s,a,l,u,c,f=1,h=n.length,d="",p=[];for(o=0;o<h;o++)if(d=t(n[o]),"string"===d)p.push(n[o]);else if("array"===d){if(a=n[o],a[2])for(r=i[f],s=0;s<a[2].length;s++){if(!r.hasOwnProperty(a[2][s]))throw V('[sprintf] property "%s" does not exist',a[2][s]);r=r[a[2][s]]}else r=a[1]?i[a[1]]:i[f++];if(/[^s]/.test(a[8])&&"number"!=t(r))throw V("[sprintf] expecting number but found %s",t(r));switch(a[8]){case"b":r=r.toString(2);break;case"c":r=String.fromCharCode(r);break;case"d":r=parseInt(r,10);break;case"e":r=a[7]?r.toExponential(a[7]):r.toExponential();break;case"f":r=a[7]?parseFloat(r).toFixed(a[7]):parseFloat(r);break;case"o":r=r.toString(8);break;case"s":r=(r+="")&&a[7]?r.substring(0,a[7]):r;break;case"u":r=Math.abs(r);break;case"x":r=r.toString(16);break;case"X":r=r.toString(16).toUpperCase()}r=/[def]/.test(a[8])&&a[3]&&r>=0?"+"+r:r,u=a[4]?"0"==a[4]?"0":a[4].charAt(1):" ",c=a[6]-(r+"").length,l=a[6]?e(u,c):"",p.push(a[5]?r+l:l+r)}return p.join("")},n.cache={},n.parse=function(t){for(var e,n,i,r=t,o=[],s=[],a=0;r;){if(null!==(o=/^[^\x25]+/.exec(r)))s.push(o[0]);else if(null!==(o=/^\x25{2}/.exec(r)))s.push("%");else{if(null===(o=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(r)))throw"[sprintf] huh?";if(o[2]){if(a|=1,e=[],n=o[2],i=[],null===(i=/^([a-z_][a-z_\d]*)/i.exec(n)))throw"[sprintf] huh?";for(e.push(i[1]);""!==(n=n.substring(i[0].length));)if(null!==(i=/^\.([a-z_][a-z_\d]*)/i.exec(n)))e.push(i[1]);else{if(null===(i=/^\[(\d+)\]/.exec(n)))throw"[sprintf] huh?";e.push(i[1])}o[2]=e}else a|=2;if(3===a)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";s.push(o)}r=r.substring(o[0].length)}return s},n}(),B=function(t,e){return e.unshift(t),V.apply(null,e)},W("sprintf",function(t,e,n){return n.sprintf?"[object Array]"===Object.prototype.toString.apply(n.sprintf)?B(t,n.sprintf):"object"==typeof n.sprintf?V(t,n.sprintf):t:t}),M.init=o,M.setLng=h,M.preload=s,M.addResourceBundle=a,M.removeResourceBundle=l,M.loadNamespace=c,M.loadNamespaces=f,M.setDefaultNamespace=u,M.t=_,M.translate=_,M.exists=b,M.detectLanguage=H.detectLanguage,M.pluralExtensions=Y,M.sync=z,M.functions=H,M.lng=d,M.addPostProcessor=W,M.options=A}()}])); |