# HG changeset patch # User Alexandre Segura # Date 1490009337 -3600 # Node ID ef3366b6d6956b4406d16763b24371bbd70cebc3 # Parent 8602c254b9eb9bfb218e8893db2e461dd00239fb Compile assets for production. diff -r 8602c254b9eb -r ef3366b6d695 src/iconolab/static/iconolab/js/iconolab.js --- a/src/iconolab/static/iconolab/js/iconolab.js Mon Mar 20 12:26:06 2017 +0100 +++ b/src/iconolab/static/iconolab/js/iconolab.js Mon Mar 20 12:28:57 2017 +0100 @@ -1,10 +1,10 @@ -webpackJsonp([1],[function(e,t,n){n(196),e.exports=n(287)},function(e,t,n){(function(e){!function(t,n){e.exports=n()}(this,function(){"use strict";function t(){return gr.apply(null,arguments)}function r(e){gr=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t;for(t in e)return!1;return!0}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,r=[];for(n=0;n0)for(n in br)r=br[n],i=t[r],g(i)||(e[r]=i);return e}function y(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),wr===!1&&(wr=!0,t.updateOffset(this),wr=!1)}function b(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function M(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=w(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)}function $(e,t){var n=e.toLowerCase();Ar[n]=Ar[n+"s"]=Ar[t]=e}function F(e){return"string"==typeof e?Ar[e]||Ar[e.toLowerCase()]:void 0}function z(e){var t,n,r={};for(n in e)c(e,n)&&(t=F(n),t&&(r[t]=e[n]));return r}function R(e,t){Hr[e]=t}function N(e){var t=[];for(var n in e)t.push({unit:n,priority:Hr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function W(e,n){return function(r){return null!=r?(B(this,e,r),t.updateOffset(this,n),this):I(this,e)}}function I(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function B(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function q(e){return e=F(e),T(this[e])?this[e]():this}function V(e,t){if("object"==typeof e){e=z(e);for(var n=N(e),r=0;r=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function J(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&($r[e]=i),t&&($r[t[0]]=function(){return U(i.apply(this,arguments),t[1],t[2])}),n&&($r[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Pr);for(t=0,n=r.length;t=0&&Er.test(e);)e=e.replace(Er,n),Er.lastIndex=0,r-=1;return e}function Q(e,t,n){ti[e]=T(t)?t:function(e,r){return e&&n?n:t}}function ee(e,t){return c(ti,e)?ti[e](t._strict,t._locale):new RegExp(te(e))}function te(e){return ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function re(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=M(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function we(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Me(e,t,n){var r=7+t-n,i=(7+we(e,0,r).getUTCDay()-t)%7;return-i+r-1}function xe(e,t,n,r,i){var a,o,s=(7+n-r)%7,l=Me(e,r,i),u=1+7*(t-1)+s+l;return u<=0?(a=e-1,o=ge(a)+u):u>ge(e)?(a=e+1,o=u-ge(e)):(a=e,o=u),{year:a,dayOfYear:o}}function ke(e,t,n){var r,i,a=Me(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?(i=e.year()-1,r=o+Le(i,t,n)):o>Le(e.year(),t,n)?(r=o-Le(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function Le(e,t,n){var r=Me(e,t,n),i=Me(e+1,t,n);return(ge(e)-r+i)/7}function Ye(e){return ke(e,this._week.dow,this._week.doy).week}function Te(){return this._week.dow}function De(){return this._week.doy}function Se(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function je(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ce(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ae(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function He(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Pe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ee(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Oe(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?(i=fi.call(this._weekdaysParse,o),i!==-1?i:null):"ddd"===t?(i=fi.call(this._shortWeekdaysParse,o),i!==-1?i:null):(i=fi.call(this._minWeekdaysParse,o),i!==-1?i:null):"dddd"===t?(i=fi.call(this._weekdaysParse,o),i!==-1?i:(i=fi.call(this._shortWeekdaysParse,o),i!==-1?i:(i=fi.call(this._minWeekdaysParse,o),i!==-1?i:null))):"ddd"===t?(i=fi.call(this._shortWeekdaysParse,o),i!==-1?i:(i=fi.call(this._weekdaysParse,o),i!==-1?i:(i=fi.call(this._minWeekdaysParse,o),i!==-1?i:null))):(i=fi.call(this._minWeekdaysParse,o),i!==-1?i:(i=fi.call(this._weekdaysParse,o),i!==-1?i:(i=fi.call(this._shortWeekdaysParse,o),i!==-1?i:null)))}function $e(e,t,n){var r,i,a;if(this._weekdaysParseExact)return Oe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Fe(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ce(e,this.localeData()),this.add(e-t,"d")):t}function ze(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ae(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ne(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=xi),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function We(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ki),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ie(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Li),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Be(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(r),s.push(i),l.push(a),u.push(r),u.push(i),u.push(a);for(o.sort(e),s.sort(e),l.sort(e),u.sort(e),t=0;t<7;t++)s[t]=ne(s[t]),l[t]=ne(l[t]),u[t]=ne(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ve(){return this.hours()||24}function Ue(e,t){J(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Je(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ke(e){return e?e.toLowerCase().replace("_","-"):e}function Xe(e){for(var t,n,r,i,a=0;a0;){if(r=Qe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}a++}return null}function Qe(t){var r=null;if(!ji[t]&&"undefined"!=typeof e&&e&&e.exports)try{r=Yi._abbr,n(291)("./"+t),et(r)}catch(e){}return ji[t]}function et(e,t){var n;return e&&(n=g(t)?rt(e):tt(e,t),n&&(Yi=n)),Yi._abbr}function tt(e,t){if(null!==t){var n=Si;if(t.abbr=e,null!=ji[e])Y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ji[e]._config;else if(null!=t.parentLocale){if(null==ji[t.parentLocale])return Ci[t.parentLocale]||(Ci[t.parentLocale]=[]),Ci[t.parentLocale].push({name:e,config:t}),null;n=ji[t.parentLocale]._config}return ji[e]=new j(S(n,t)),Ci[e]&&Ci[e].forEach(function(e){tt(e.name,e.config)}),et(e),ji[e]}return delete ji[e],null}function nt(e,t){if(null!=t){var n,r=Si;null!=ji[e]&&(r=ji[e]._config),t=S(r,t),n=new j(t),n.parentLocale=ji[e],ji[e]=n,et(e)}else null!=ji[e]&&(null!=ji[e].parentLocale?ji[e]=ji[e].parentLocale:null!=ji[e]&&delete ji[e]);return ji[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Yi;if(!i(e)){if(t=Qe(e))return t;e=[e]}return Xe(e)}function it(){return Lr(ji)}function at(e){var t,n=e._a;return n&&p(e).overflow===-2&&(t=n[ii]<0||n[ii]>11?ii:n[ai]<1||n[ai]>oe(n[ri],n[ii])?ai:n[oi]<0||n[oi]>24||24===n[oi]&&(0!==n[si]||0!==n[li]||0!==n[ui])?oi:n[si]<0||n[si]>59?si:n[li]<0||n[li]>59?li:n[ui]<0||n[ui]>999?ui:-1,p(e)._overflowDayOfYear&&(tai)&&(t=ai),p(e)._overflowWeeks&&t===-1&&(t=ci),p(e)._overflowWeekday&&t===-1&&(t=di),p(e).overflow=t),e}function ot(e){var t,n,r,i,a,o,s=e._i,l=Ai.exec(s)||Hi.exec(s);if(l){for(p(e).iso=!0,t=0,n=Ei.length;tge(i)&&(p(e)._overflowDayOfYear=!0),n=we(i,0,e._dayOfYear),e._a[ii]=n.getUTCMonth(),e._a[ai]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[oi]&&0===e._a[si]&&0===e._a[li]&&0===e._a[ui]&&(e._nextDay=!0,e._a[oi]=0),e._d=(e._useUTC?we:be).apply(null,a),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[oi]=24)}}function dt(e){var t,n,r,i,a,o,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)a=1,o=4,n=lt(t.GG,e._a[ri],ke(bt(),1,4).year),r=lt(t.W,1),i=lt(t.E,1),(i<1||i>7)&&(l=!0);else{a=e._locale._week.dow,o=e._locale._week.doy;var u=ke(bt(),a,o);n=lt(t.gg,e._a[ri],u.year),r=lt(t.w,u.week),null!=t.d?(i=t.d,(i<0||i>6)&&(l=!0)):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):i=a}r<1||r>Le(n,a,o)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=xe(n,r,i,a,o),e._a[ri]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===t.ISO_8601)return void ot(e);e._a=[],p(e).empty=!0;var n,r,i,a,o,s=""+e._i,l=s.length,u=0;for(i=X(e._f,e._locale).match(Pr)||[],n=0;n0&&p(e).unusedInput.push(o),s=s.slice(s.indexOf(r)+r.length),u+=r.length),$r[a]?(r?p(e).empty=!1:p(e).unusedTokens.push(a),ae(a,r,e)):e._strict&&!r&&p(e).unusedTokens.push(a);p(e).charsLeftOver=l-u,s.length>0&&p(e).unusedInput.push(s),e._a[oi]<=12&&p(e).bigHour===!0&&e._a[oi]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[oi]=ht(e._locale,e._a[oi],e._meridiem),ct(e),at(e)}function ht(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,a;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ft(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):bt(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function zt(){return!!this.isValid()&&!this._isUTC}function Rt(){return!!this.isValid()&&this._isUTC}function Nt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Wt(e,t){var n,r,i,a=e,o=null;return Lt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(a={},t?a[t]=e:a.milliseconds=e):(o=Wi.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:M(o[ai])*n,h:M(o[oi])*n,m:M(o[si])*n,s:M(o[li])*n,ms:M(Yt(1e3*o[ui]))*n}):(o=Ii.exec(e))?(n="-"===o[1]?-1:1,a={y:It(o[2],n),M:It(o[3],n),w:It(o[4],n),d:It(o[5],n),h:It(o[6],n),m:It(o[7],n),s:It(o[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=qt(bt(a.from),bt(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),r=new kt(a),Lt(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function It(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Bt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function qt(e,t){var n;return e.isValid()&&t.isValid()?(t=St(t,e),e.isBefore(t)?n=Bt(e,t):(n=Bt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Vt(e,t){return function(n,r){var i,a;return null===r||isNaN(+r)||(Y(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),n="string"==typeof n?+n:n,i=Wt(n,r),Ut(this,i,e),this}}function Ut(e,n,r,i){var a=n._milliseconds,o=Yt(n._days),s=Yt(n._months);e.isValid()&&(i=null==i||i,a&&e._d.setTime(e._d.valueOf()+a*r),o&&B(e,"Date",I(e,"Date")+o*r),s&&de(e,I(e,"Month")+s*r),i&&t.updateOffset(e,o||s))}function Jt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,n){var r=e||bt(),i=St(r,this).startOf("day"),a=t.calendarFormat(this,i)||"sameElse",o=n&&(T(n[a])?n[a].call(this,r):n[a]);return this.format(o||this.localeData().calendar(a,this,bt(r)))}function Zt(){return new y(this)}function Kt(e,t){var n=b(e)?e:bt(e);return!(!this.isValid()||!n.isValid())&&(t=F(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()a&&(t=a),Pn.call(this,e,t,n,r,i))}function Pn(e,t,n,r,i){var a=xe(e,t,n,r,i),o=we(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function En(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function On(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function $n(e,t){t[ui]=M(1e3*("0."+e))}function Fn(){return this._isUTC?"UTC":""}function zn(){return this._isUTC?"Coordinated Universal Time":""}function Rn(e){return bt(1e3*e)}function Nn(){return bt.apply(null,arguments).parseZone()}function Wn(e){return e}function In(e,t,n,r){var i=rt(),a=f().set(r,t);return i[n](a,e)}function Bn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return In(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=In(e,r,n,"month");return i}function qn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t, -t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i=rt(),a=e?i._week.dow:0;if(null!=n)return In(t,(n+a)%7,r,"day");var o,l=[];for(o=0;o<7;o++)l[o]=In(t,(o+a)%7,r,"day");return l}function Vn(e,t){return Bn(e,t,"months")}function Un(e,t){return Bn(e,t,"monthsShort")}function Jn(e,t,n){return qn(e,t,n,"weekdays")}function Gn(e,t,n){return qn(e,t,n,"weekdaysShort")}function Zn(e,t,n){return qn(e,t,n,"weekdaysMin")}function Kn(){var e=this._data;return this._milliseconds=ea(this._milliseconds),this._days=ea(this._days),this._months=ea(this._months),e.milliseconds=ea(e.milliseconds),e.seconds=ea(e.seconds),e.minutes=ea(e.minutes),e.hours=ea(e.hours),e.months=ea(e.months),e.years=ea(e.years),this}function Xn(e,t,n,r){var i=Wt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Qn(e,t){return Xn(this,e,t,1)}function er(e,t){return Xn(this,e,t,-1)}function tr(e){return e<0?Math.floor(e):Math.ceil(e)}function nr(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*tr(ir(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=w(a/1e3),l.seconds=e%60,t=w(e/60),l.minutes=t%60,n=w(t/60),l.hours=n%24,o+=w(n/24),i=w(rr(o)),s+=i,o-=tr(ir(i)),r=w(s/12),s%=12,l.days=o,l.months=s,l.years=r,this}function rr(e){return 4800*e/146097}function ir(e){return 146097*e/4800}function ar(e){var t,n,r=this._milliseconds;if(e=F(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+rr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ir(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*M(this._months/12)}function sr(e){return function(){return this.as(e)}}function lr(e){return e=F(e),this[e+"s"]()}function ur(e){return function(){return this._data[e]}}function cr(){return w(this.days()/7)}function dr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function fr(e,t,n){var r=Wt(e).abs(),i=_a(r.as("s")),a=_a(r.as("m")),o=_a(r.as("h")),s=_a(r.as("d")),l=_a(r.as("M")),u=_a(r.as("y")),c=i0,c[4]=n,dr.apply(null,c)}function hr(e){return void 0===e?_a:"function"==typeof e&&(_a=e,!0)}function pr(e,t){return void 0!==ga[e]&&(void 0===t?ga[e]:(ga[e]=t,!0))}function mr(e){var t=this.localeData(),n=fr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function _r(){var e,t,n,r=va(this._milliseconds)/1e3,i=va(this._days),a=va(this._months);e=w(r/60),t=w(e/60),r%=60,e%=60,n=w(a/12),a%=12;var o=n,s=a,l=i,u=t,c=e,d=r,f=this.asSeconds();return f?(f<0?"-":"")+"P"+(o?o+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(u||c||d?"T":"")+(u?u+"H":"")+(c?c+"M":"")+(d?d+"S":""):"P0D"}var gr,vr;vr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var vi=W("FullYear",!0);J("w",["ww",2],"wo","week"),J("W",["WW",2],"Wo","isoWeek"),$("week","w"),$("isoWeek","W"),R("week",5),R("isoWeek",5),Q("w",Ir),Q("ww",Ir,zr),Q("W",Ir),Q("WW",Ir,zr),ie(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=M(e)});var yi={dow:0,doy:6};J("d",0,"do","day"),J("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),J("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),J("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),J("e",0,0,"weekday"),J("E",0,0,"isoWeekday"),$("day","d"),$("weekday","e"),$("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),Q("d",Ir),Q("e",Ir),Q("E",Ir),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),ie(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),ie(["d","e","E"],function(e,t,n,r){t[r]=M(e)});var bi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),wi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Mi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xi=ei,ki=ei,Li=ei;J("H",["HH",2],0,"hour"),J("h",["hh",2],0,qe),J("k",["kk",2],0,Ve),J("hmm",0,0,function(){return""+qe.apply(this)+U(this.minutes(),2)}),J("hmmss",0,0,function(){return""+qe.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),J("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),J("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)}),Ue("a",!0),Ue("A",!1),$("hour","h"),R("hour",13),Q("a",Je),Q("A",Je),Q("H",Ir),Q("h",Ir),Q("HH",Ir,zr),Q("hh",Ir,zr),Q("hmm",Br),Q("hmmss",qr),Q("Hmm",Br),Q("Hmmss",qr),re(["H","HH"],oi),re(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),re(["h","hh"],function(e,t,n){t[oi]=M(e),p(n).bigHour=!0}),re("hmm",function(e,t,n){var r=e.length-2;t[oi]=M(e.substr(0,r)),t[si]=M(e.substr(r)),p(n).bigHour=!0}),re("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[oi]=M(e.substr(0,r)),t[si]=M(e.substr(r,2)),t[li]=M(e.substr(i)),p(n).bigHour=!0}),re("Hmm",function(e,t,n){var r=e.length-2;t[oi]=M(e.substr(0,r)),t[si]=M(e.substr(r))}),re("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[oi]=M(e.substr(0,r)),t[si]=M(e.substr(r,2)),t[li]=M(e.substr(i))});var Yi,Ti=/[ap]\.?m?\.?/i,Di=W("Hours",!0),Si={calendar:Yr,longDateFormat:Tr,invalidDate:Dr,ordinal:Sr,ordinalParse:jr,relativeTime:Cr,months:pi,monthsShort:mi,week:yi,weekdays:bi,weekdaysMin:Mi,weekdaysShort:wi,meridiemParse:Ti},ji={},Ci={},Ai=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Hi=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Pi=/Z|[+-]\d\d(?::?\d\d)?/,Ei=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Oi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],$i=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=L("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),t.ISO_8601=function(){};var Fi=L("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=bt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:_()}),Ri=function(){return Date.now?Date.now():+new Date};Tt("Z",":"),Tt("ZZ",""),Q("Z",Xr),Q("ZZ",Xr),re(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Dt(Xr,e)});var Ni=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Wi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ii=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Wt.fn=kt.prototype;var Bi=Vt(1,"add"),qi=Vt(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Vi=L("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});J(0,["gg",2],0,function(){return this.weekYear()%100}),J(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Dn("gggg","weekYear"),Dn("ggggg","weekYear"),Dn("GGGG","isoWeekYear"),Dn("GGGGG","isoWeekYear"),$("weekYear","gg"),$("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),Q("G",Zr),Q("g",Zr),Q("GG",Ir,zr),Q("gg",Ir,zr),Q("GGGG",Ur,Nr),Q("gggg",Ur,Nr),Q("GGGGG",Jr,Wr),Q("ggggg",Jr,Wr),ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=M(e)}),ie(["gg","GG"],function(e,n,r,i){n[i]=t.parseTwoDigitYear(e)}),J("Q",0,"Qo","quarter"),$("quarter","Q"),R("quarter",7),Q("Q",Fr),re("Q",function(e,t){t[ii]=3*(M(e)-1)}),J("D",["DD",2],"Do","date"),$("date","D"),R("date",9),Q("D",Ir),Q("DD",Ir,zr),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),re(["D","DD"],ai),re("Do",function(e,t){t[ai]=M(e.match(Ir)[0],10)});var Ui=W("Date",!0);J("DDD",["DDDD",3],"DDDo","dayOfYear"),$("dayOfYear","DDD"),R("dayOfYear",4),Q("DDD",Vr),Q("DDDD",Rr),re(["DDD","DDDD"],function(e,t,n){n._dayOfYear=M(e)}),J("m",["mm",2],0,"minute"),$("minute","m"),R("minute",14),Q("m",Ir),Q("mm",Ir,zr),re(["m","mm"],si);var Ji=W("Minutes",!1);J("s",["ss",2],0,"second"),$("second","s"),R("second",15),Q("s",Ir),Q("ss",Ir,zr),re(["s","ss"],li);var Gi=W("Seconds",!1);J("S",0,0,function(){return~~(this.millisecond()/100)}),J(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),J(0,["SSS",3],0,"millisecond"),J(0,["SSSS",4],0,function(){return 10*this.millisecond()}),J(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),J(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),J(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),J(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),J(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),$("millisecond","ms"),R("millisecond",16),Q("S",Vr,Fr),Q("SS",Vr,zr),Q("SSS",Vr,Rr);var Zi;for(Zi="SSSS";Zi.length<=9;Zi+="S")Q(Zi,Gr);for(Zi="S";Zi.length<=9;Zi+="S")re(Zi,$n);var Ki=W("Milliseconds",!1);J("z",0,0,"zoneAbbr"),J("zz",0,0,"zoneName");var Xi=y.prototype;Xi.add=Bi,Xi.calendar=Gt,Xi.clone=Zt,Xi.diff=rn,Xi.endOf=gn,Xi.format=un,Xi.from=cn,Xi.fromNow=dn,Xi.to=fn,Xi.toNow=hn,Xi.get=q,Xi.invalidAt=Yn,Xi.isAfter=Kt,Xi.isBefore=Xt,Xi.isBetween=Qt,Xi.isSame=en,Xi.isSameOrAfter=tn,Xi.isSameOrBefore=nn,Xi.isValid=kn,Xi.lang=Vi,Xi.locale=pn,Xi.localeData=mn,Xi.max=zi,Xi.min=Fi,Xi.parsingFlags=Ln,Xi.set=V,Xi.startOf=_n,Xi.subtract=qi,Xi.toArray=wn,Xi.toObject=Mn,Xi.toDate=bn,Xi.toISOString=sn,Xi.inspect=ln,Xi.toJSON=xn,Xi.toString=on,Xi.unix=yn,Xi.valueOf=vn,Xi.creationData=Tn,Xi.year=vi,Xi.isLeapYear=ye,Xi.weekYear=Sn,Xi.isoWeekYear=jn,Xi.quarter=Xi.quarters=En,Xi.month=fe,Xi.daysInMonth=he,Xi.week=Xi.weeks=Se,Xi.isoWeek=Xi.isoWeeks=je,Xi.weeksInYear=An,Xi.isoWeeksInYear=Cn,Xi.date=Ui,Xi.day=Xi.days=Fe,Xi.weekday=ze,Xi.isoWeekday=Re,Xi.dayOfYear=On,Xi.hour=Xi.hours=Di,Xi.minute=Xi.minutes=Ji,Xi.second=Xi.seconds=Gi,Xi.millisecond=Xi.milliseconds=Ki,Xi.utcOffset=Ct,Xi.utc=Ht,Xi.local=Pt,Xi.parseZone=Et,Xi.hasAlignedHourOffset=Ot,Xi.isDST=$t,Xi.isLocal=zt,Xi.isUtcOffset=Rt,Xi.isUtc=Nt,Xi.isUTC=Nt,Xi.zoneAbbr=Fn,Xi.zoneName=zn,Xi.dates=L("dates accessor is deprecated. Use date instead.",Ui),Xi.months=L("months accessor is deprecated. Use month instead",fe),Xi.years=L("years accessor is deprecated. Use year instead",vi),Xi.zone=L("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",At),Xi.isDSTShifted=L("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ft);var Qi=j.prototype;Qi.calendar=C,Qi.longDateFormat=A,Qi.invalidDate=H,Qi.ordinal=P,Qi.preparse=Wn,Qi.postformat=Wn,Qi.relativeTime=E,Qi.pastFuture=O,Qi.set=D,Qi.months=se,Qi.monthsShort=le,Qi.monthsParse=ce,Qi.monthsRegex=me,Qi.monthsShortRegex=pe,Qi.week=Ye,Qi.firstDayOfYear=De,Qi.firstDayOfWeek=Te,Qi.weekdays=He,Qi.weekdaysMin=Ee,Qi.weekdaysShort=Pe,Qi.weekdaysParse=$e,Qi.weekdaysRegex=Ne,Qi.weekdaysShortRegex=We,Qi.weekdaysMinRegex=Ie,Qi.isPM=Ge,Qi.meridiem=Ze,et("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===M(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),t.lang=L("moment.lang is deprecated. Use moment.locale instead.",et),t.langData=L("moment.langData is deprecated. Use moment.localeData instead.",rt);var ea=Math.abs,ta=sr("ms"),na=sr("s"),ra=sr("m"),ia=sr("h"),aa=sr("d"),oa=sr("w"),sa=sr("M"),la=sr("y"),ua=ur("milliseconds"),ca=ur("seconds"),da=ur("minutes"),fa=ur("hours"),ha=ur("days"),pa=ur("months"),ma=ur("years"),_a=Math.round,ga={s:45,m:45,h:22,d:26,M:11},va=Math.abs,ya=kt.prototype;return ya.abs=Kn,ya.add=Qn,ya.subtract=er,ya.as=ar,ya.asMilliseconds=ta,ya.asSeconds=na,ya.asMinutes=ra,ya.asHours=ia,ya.asDays=aa,ya.asWeeks=oa,ya.asMonths=sa,ya.asYears=la,ya.valueOf=or,ya._bubble=nr,ya.get=lr,ya.milliseconds=ua,ya.seconds=ca,ya.minutes=da,ya.hours=fa,ya.days=ha,ya.weeks=cr,ya.months=pa,ya.years=ma,ya.humanize=mr,ya.toISOString=_r,ya.toString=_r,ya.toJSON=_r,ya.locale=pn,ya.localeData=mn,ya.toIsoString=L("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",_r),ya.lang=Vi,J("X",0,0,"unix"),J("x",0,0,"valueOf"),Q("x",Zr),Q("X",Qr),re("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),re("x",function(e,t,n){n._d=new Date(M(e))}),t.version="2.17.1",r(bt),t.fn=Xi,t.min=Mt,t.max=xt,t.now=Ri,t.utc=f,t.unix=Rn,t.months=Vn,t.isDate=l,t.locale=et,t.invalid=_,t.duration=Wt,t.isMoment=b,t.weekdays=Jn,t.parseZone=Nn,t.localeData=rt,t.isDuration=Lt,t.monthsShort=Un,t.weekdaysMin=Zn,t.defineLocale=tt,t.updateLocale=nt,t.locales=it,t.weekdaysShort=Gn,t.normalizeUnits=F,t.relativeTimeRounding=hr,t.relativeTimeThreshold=pr,t.calendarFormat=Jt,t.prototype=Xi,t})}).call(t,n(169)(e))},,function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&g.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",a(e,t),t}function l(e,t){var n,r,i;if(t.singleton){var a=_++;n=m||(m=s(t)),r=u.bind(null,n,a,!1),i=u.bind(null,n,a,!0)}else n=s(t),r=c.bind(null,n),i=function(){o(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function u(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=v(t,i);else{var a=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(a,o[t]):e.appendChild(a)}}function c(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var d={},f=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},h=f(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),p=f(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,_=0,g=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=i(e);return r(n,t),function(e){for(var a=[],o=0;oe.length?n:e}),u.value=e.join(d)}else u.value=e.join(n.slice(s,s+u.count));s+=u.count,u.added||(l+=u.count)}}var f=t[o-1];return o>1&&(f.added||f.removed)&&e.equals("",f.value)&&(t[o-2].value+=f.value,t.pop()),t}function i(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){function n(e){return s?(setTimeout(function(){s(void 0,e)},0),!0):e}function a(){for(var a=-1*d;a<=d;a+=2){var o=void 0,s=h[a-1],f=h[a+1],p=(f?f.newPos:0)-a;s&&(h[a-1]=void 0);var m=s&&s.newPos+1=u&&p+1>=c)return n(r(l,o.components,t,e,l.useLongestToken));h[a]=o}else h[a]=void 0}d++}var o=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],s=o.callback;"function"==typeof o&&(s=o,o={}),this.options=o;var l=this;e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var u=t.length,c=e.length,d=1,f=u+c,h=[{newPos:-1,components:[]}],p=this.extractCommon(h[0],t,e,0);if(h[0].newPos+1>=u&&p+1>=c)return n([{value:this.join(t),count:t.length}]);if(s)!function e(){setTimeout(function(){return d>f?s():void(a()||e())},0)}();else for(;d<=f;){var m=a();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var i=t.length,a=n.length,o=e.newPos,s=o-r,l=0;o+11)for(var r=0,i=n.length;r=1&&(delete n[i],a.s=1,e--,function(e){setTimeout(function(){t("mina.finish."+e.id,e)})}(a)),a.update()}e&&r(_)},g=function(e,t,i,a,o,l,v){var y={id:s(),start:e,end:t,b:i,s:0,dur:a-i,spd:1,get:o,set:l,easing:v||g.linear,status:u,speed:c,duration:d,stop:f,pause:h,resume:p,update:m};n[y.id]=y;var b,w=0;for(b in n)if(n.hasOwnProperty(b)&&(w++,2==w))break;return 1==w&&r(_),y};return g.time=l,g.getById=function(e){return n[e]||null},g.linear=function(e){return e},g.easeout=function(e){return Math.pow(e,1.7)},g.easein=function(e){return Math.pow(e,.48)},g.easeinout=function(e){if(1==e)return 1;if(0==e)return 0;var t=.48-e/1.04,n=Math.sqrt(.1734+t*t),r=n-t,i=Math.pow(Math.abs(r),1/3)*(r<0?-1:1),a=-n-t,o=Math.pow(Math.abs(a),1/3)*(a<0?-1:1),s=i+o+.5;return 3*(1-s)*s*s+s*s*s},g.backin=function(e){if(1==e)return 1;var t=1.70158;return e*e*((t+1)*e-t)},g.backout=function(e){if(0==e)return 0;e-=1;var t=1.70158;return e*e*((t+1)*e+t)+1},g.elastic=function(e){return e==!!e?e:Math.pow(2,-10*e)*Math.sin((e-.075)*(2*Math.PI)/.3)+1},g.bounce=function(e){var t,n=7.5625,r=2.75;return e<1/r?t=n*e*e:e<2/r?(e-=1.5/r,t=n*e*e+.75):e<2.5/r?(e-=2.25/r,t=n*e*e+.9375):(e-=2.625/r,t=n*e*e+.984375),t},e.mina=g,g}("undefined"==typeof t?function(){}:t),r=function(e){function n(e,t){if(e){if(e.nodeType)return M(e);if(i(e,"array")&&n.set)return n.set.apply(n,e);if(e instanceof v)return e;if(null==t)return e=k.doc.querySelector(String(e)),M(e)}return e=null==e?"100%":e,t=null==t?"100%":t,new w(e,t)}function r(e,t){if(t){if("#text"==e&&(e=k.doc.createTextNode(t.text||t["#text"]||"")),"#comment"==e&&(e=k.doc.createComment(t.text||t["#text"]||"")),"string"==typeof e&&(e=r(e)),"string"==typeof t)return 1==e.nodeType?"xlink:"==t.substring(0,6)?e.getAttributeNS(q,t.substring(6)):"xml:"==t.substring(0,4)?e.getAttributeNS(V,t.substring(4)):e.getAttribute(t):"text"==t?e.nodeValue:null;if(1==e.nodeType){for(var n in t)if(t[L](n)){var i=Y(t[n]);i?"xlink:"==n.substring(0,6)?e.setAttributeNS(q,n.substring(6),i):"xml:"==n.substring(0,4)?e.setAttributeNS(V,n.substring(4),i):e.setAttribute(n,i):e.removeAttribute(n)}}else"text"in t&&(e.nodeValue=t.text)}else e=k.doc.createElementNS(V,e);return e}function i(e,t){return t=Y.prototype.toLowerCase.call(t),"finite"==t?isFinite(e):!("array"!=t||!(e instanceof Array||Array.isArray&&Array.isArray(e)))||("null"==t&&null===e||t==typeof e&&null!==e||"object"==t&&e===Object(e)||E.call(e).slice(8,-1).toLowerCase()==t)}function a(e){if("function"==typeof e||Object(e)!==e)return e; -var t=new e.constructor;for(var n in e)e[L](n)&&(t[n]=a(e[n]));return t}function o(e,t){for(var n=0,r=e.length;n=1e3&&delete s[l.shift()],l.push(a),s[a]=e.apply(t,i),n?n(s[a]):s[a])}return r}function l(e,t,n,r,i,a){if(null==i){var o=e-n,s=t-r;return o||s?(180+180*S.atan2(-s,-o)/H+360)%360:0}return l(e,t,i,a)-l(n,r,i,a)}function u(e){return e%360*H/180}function c(e){return 180*e/H%360}function d(e){var t=[];return e=e.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(e,n,r){return r=r.split(/\s*,\s*|\s+/),"rotate"==n&&1==r.length&&r.push(0,0),"scale"==n&&(r.length>2?r=r.slice(0,2):2==r.length&&r.push(0,0),1==r.length&&r.push(r[0],0,0)),"skewX"==n?t.push(["m",1,0,S.tan(u(r[0])),1,0,0]):"skewY"==n?t.push(["m",1,S.tan(u(r[0])),0,1,0,0]):t.push([n.charAt(0)].concat(r)),e}),t}function f(e,t){var r=ee(e),i=new n.Matrix;if(r)for(var a=0,o=r.length;a.5;){var h,p,m,_,g,v;(m=a-c)>=0&&(g=r(h=l.getPointAtLength(m)))e-n)return t-a+e}return t},n.getRGB=s(function(e){if(!e||(e=Y(e)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:K};if("none"==e)return{r:-1,g:-1,b:-1,hex:"none",toString:K};if(!(F[L](e.toLowerCase().substring(0,2))||"#"==e.charAt())&&(e=J(e)),!e)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:K};var t,r,a,o,s,l,u=e.match(O);return u?(u[2]&&(a=D(u[2].substring(5),16),r=D(u[2].substring(3,5),16),t=D(u[2].substring(1,3),16)),u[3]&&(a=D((s=u[3].charAt(3))+s,16),r=D((s=u[3].charAt(2))+s,16),t=D((s=u[3].charAt(1))+s,16)),u[4]&&(l=u[4].split($),t=T(l[0]),"%"==l[0].slice(-1)&&(t*=2.55),r=T(l[1]),"%"==l[1].slice(-1)&&(r*=2.55),a=T(l[2]),"%"==l[2].slice(-1)&&(a*=2.55),"rgba"==u[1].toLowerCase().slice(0,4)&&(o=T(l[3])),l[3]&&"%"==l[3].slice(-1)&&(o/=100)),u[5]?(l=u[5].split($),t=T(l[0]),"%"==l[0].slice(-1)&&(t/=100),r=T(l[1]),"%"==l[1].slice(-1)&&(r/=100),a=T(l[2]),"%"==l[2].slice(-1)&&(a/=100),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(t/=360),"hsba"==u[1].toLowerCase().slice(0,4)&&(o=T(l[3])),l[3]&&"%"==l[3].slice(-1)&&(o/=100),n.hsb2rgb(t,r,a,o)):u[6]?(l=u[6].split($),t=T(l[0]),"%"==l[0].slice(-1)&&(t/=100),r=T(l[1]),"%"==l[1].slice(-1)&&(r/=100),a=T(l[2]),"%"==l[2].slice(-1)&&(a/=100),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(t/=360),"hsla"==u[1].toLowerCase().slice(0,4)&&(o=T(l[3])),l[3]&&"%"==l[3].slice(-1)&&(o/=100),n.hsl2rgb(t,r,a,o)):(t=C(S.round(t),255),r=C(S.round(r),255),a=C(S.round(a),255),o=C(j(o,0),1),u={r:t,g:r,b:a,toString:K},u.hex="#"+(16777216|a|r<<8|t<<16).toString(16).slice(1),u.opacity=i(o,"finite")?o:1,u)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:K}},n),n.hsb=s(function(e,t,r){return n.hsb2rgb(e,t,r).hex}),n.hsl=s(function(e,t,r){return n.hsl2rgb(e,t,r).hex}),n.rgb=s(function(e,t,n,r){if(i(r,"finite")){var a=S.round;return"rgba("+[a(e),a(t),a(n),+r.toFixed(2)]+")"}return"#"+(16777216|n|t<<8|e<<16).toString(16).slice(1)});var J=function(e){var t=k.doc.getElementsByTagName("head")[0]||k.doc.getElementsByTagName("svg")[0],n="rgb(255, 0, 0)";return(J=s(function(e){if("red"==e.toLowerCase())return n;t.style.color=n,t.style.color=e;var r=k.doc.defaultView.getComputedStyle(t,P).getPropertyValue("color");return r==n?null:r}))(e)},G=function(){return"hsb("+[this.h,this.s,this.b]+")"},Z=function(){return"hsl("+[this.h,this.s,this.l]+")"},K=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},X=function(e,t,r){if(null==t&&i(e,"object")&&"r"in e&&"g"in e&&"b"in e&&(r=e.b,t=e.g,e=e.r),null==t&&i(e,string)){var a=n.getRGB(e);e=a.r,t=a.g,r=a.b}return(e>1||t>1||r>1)&&(e/=255,t/=255,r/=255),[e,t,r]},Q=function(e,t,r,a){e=S.round(255*e),t=S.round(255*t),r=S.round(255*r);var o={r:e,g:t,b:r,opacity:i(a,"finite")?a:1,hex:n.rgb(e,t,r),toString:K};return i(a,"finite")&&(o.opacity=a),o};n.color=function(e){var t;return i(e,"object")&&"h"in e&&"s"in e&&"b"in e?(t=n.hsb2rgb(e),e.r=t.r,e.g=t.g,e.b=t.b,e.opacity=1,e.hex=t.hex):i(e,"object")&&"h"in e&&"s"in e&&"l"in e?(t=n.hsl2rgb(e),e.r=t.r,e.g=t.g,e.b=t.b,e.opacity=1,e.hex=t.hex):(i(e,"string")&&(e=n.getRGB(e)),i(e,"object")&&"r"in e&&"g"in e&&"b"in e&&!("error"in e)?(t=n.rgb2hsl(e),e.h=t.h,e.s=t.s,e.l=t.l,t=n.rgb2hsb(e),e.v=t.b):(e={hex:"none"},e.r=e.g=e.b=e.h=e.s=e.v=e.l=-1,e.error=1)),e.toString=K,e},n.hsb2rgb=function(e,t,n,r){i(e,"object")&&"h"in e&&"s"in e&&"b"in e&&(n=e.b,t=e.s,r=e.o,e=e.h),e*=360;var a,o,s,l,u;return e=e%360/60,u=n*t,l=u*(1-A(e%2-1)),a=o=s=n-u,e=~~e,a+=[u,l,0,0,l,u][e],o+=[l,u,u,l,0,0][e],s+=[0,0,l,u,u,l][e],Q(a,o,s,r)},n.hsl2rgb=function(e,t,n,r){i(e,"object")&&"h"in e&&"s"in e&&"l"in e&&(n=e.l,t=e.s,e=e.h),(e>1||t>1||n>1)&&(e/=360,t/=100,n/=100),e*=360;var a,o,s,l,u;return e=e%360/60,u=2*t*(n<.5?n:1-n),l=u*(1-A(e%2-1)),a=o=s=n-u/2,e=~~e,a+=[u,l,0,0,l,u][e],o+=[l,u,u,l,0,0][e],s+=[0,0,l,u,u,l][e],Q(a,o,s,r)},n.rgb2hsb=function(e,t,n){n=X(e,t,n),e=n[0],t=n[1],n=n[2];var r,i,a,o;return a=j(e,t,n),o=a-C(e,t,n),r=0==o?null:a==e?(t-n)/o:a==t?(n-e)/o+2:(e-t)/o+4,r=(r+360)%6*60/360,i=0==o?0:o/a,{h:r,s:i,b:a,toString:G}},n.rgb2hsl=function(e,t,n){n=X(e,t,n),e=n[0],t=n[1],n=n[2];var r,i,a,o,s,l;return o=j(e,t,n),s=C(e,t,n),l=o-s,r=0==l?null:o==e?(t-n)/l:o==t?(n-e)/l+2:(e-t)/l+4,r=(r+360)%6*60/360,a=(o+s)/2,i=0==l?0:a<.5?l/(2*a):l/(2-2*a),{h:r,s:i,l:a,toString:Z}},n.parsePathString=function(e){if(!e)return null;var t=n.path(e);if(t.arr)return n.path.clone(t.arr);var r={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},a=[];return i(e,"array")&&i(e[0],"array")&&(a=n.path.clone(e)),a.length||Y(e).replace(z,function(e,t,n){var i=[],o=t.toLowerCase();if(n.replace(N,function(e,t){t&&i.push(+t)}),"m"==o&&i.length>2&&(a.push([t].concat(i.splice(0,2))),o="l",t="m"==t?"l":"L"),"o"==o&&1==i.length&&a.push([t,i[0]]),"r"==o)a.push([t].concat(i));else for(;i.length>=r[o]&&(a.push([t].concat(i.splice(0,r[o]))),r[o]););}),a.toString=n.path.toString,t.arr=n.path.clone(a),a};var ee=n.parseTransformString=function(e){if(!e)return null;var t=[];return i(e,"array")&&i(e[0],"array")&&(t=n.path.clone(e)),t.length||Y(e).replace(R,function(e,n,r){var i=[];n.toLowerCase();r.replace(N,function(e,t){t&&i.push(+t)}),t.push([n].concat(i))}),t.toString=n.path.toString,t};n._.svgTransform2string=d,n._.rgTransform=/^[a-z][\s]*-?\.?\d/i,n._.transform2matrix=f,n._unit2px=m;k.doc.contains||k.doc.compareDocumentPosition?function(e,t){var n=9==e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e==r||!(!r||1!=r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t;)if(t=t.parentNode,t==e)return!0;return!1};n._.getSomeDefs=h,n._.getSomeSVG=p,n.select=function(e){return e=Y(e).replace(/([^\\]):/g,"$1\\:"),M(k.doc.querySelector(e))},n.selectAll=function(e){for(var t=k.doc.querySelectorAll(e),r=(n.set||Array)(),i=0;i1))return t("snap.util.getattr."+e,r).firstDefined();var c={};c[e]=n,e=c}for(var d in e)e[L](d)&&t("snap.util.attr."+d,r,e[d]);return r},n.parse=function(e){var t=k.doc.createDocumentFragment(),n=!0,r=k.doc.createElement("div");if(e=Y(e),e.match(/^\s*<\s*svg(?:\s|>)/)||(e=""+e+"",n=!1),r.innerHTML=e,e=r.getElementsByTagName("svg")[0])if(n)t=e;else for(;e.firstChild;)t.appendChild(e.firstChild);return new y(t)},n.fragment=function(){for(var e=Array.prototype.slice.call(arguments,0),t=k.doc.createDocumentFragment(),r=0,i=e.length;r")}else e&&(t+="/>");return t}}var f=i.prototype,h=r.is,p=String,m=r._unit2px,_=r._.$,g=r._.make,v=r._.getSomeDefs,y="hasOwnProperty",b=r._.wrap;f.getBBox=function(e){if(!r.Matrix||!r.path)return this.node.getBBox();var t=this,n=new r.Matrix;if(t.removed)return r._.box();for(;"use"==t.type;)if(e||(n=n.add(t.transform().localMatrix.translate(t.attr("x")||0,t.attr("y")||0))),t.original)t=t.original;else{var i=t.attr("xlink:href");t=t.original=t.node.ownerDocument.getElementById(i.substring(i.indexOf("#")+1))}var a=t._,o=r.path.get[t.type]||r.path.get.deflt;try{return e?(a.bboxwt=o?r.path.getBBox(t.realPath=o(t)):r._.box(t.node.getBBox()),r._.box(a.bboxwt)):(t.realPath=o(t),t.matrix=t.transform().localMatrix,a.bbox=r.path.getBBox(r.path.map(t.realPath,n.add(t.matrix))),r._.box(a.bbox))}catch(e){return r._.box()}};var w=function(){return this.string};f.transform=function(e){var t=this._;if(null==e){for(var n,i=this,a=new r.Matrix(this.node.getCTM()),o=l(this),s=[o],u=new r.Matrix,c=o.toTransformString(),d=p(o)==p(this.matrix)?p(t.transform):c;"svg"!=i.type&&(i=i.parent());)s.push(l(i));for(n=s.length;n--;)u.add(s[n]);return{string:d,globalMatrix:a,totalMatrix:u,localMatrix:o,diffMatrix:a.clone().add(o.invert()),global:a.toTransformString(),total:u.toTransformString(),local:c,toString:w}}return e instanceof r.Matrix?(this.matrix=e,this._.transform=e.toTransformString()):l(this,e),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?_(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?_(this.node,{patternTransform:this.matrix}):_(this.node,{transform:this.matrix})),this},f.parent=function(){return b(this.node.parentNode)},f.append=f.add=function(e){if(e){if("set"==e.type){var t=this;return e.forEach(function(e){t.add(e)}),this}e=b(e),this.node.appendChild(e.node),e.paper=this.paper}return this},f.appendTo=function(e){return e&&(e=b(e),e.append(this)),this},f.prepend=function(e){if(e){if("set"==e.type){var t,n=this;return e.forEach(function(e){t?t.after(e):n.prepend(e),t=e}),this}e=b(e);var r=e.parent();this.node.insertBefore(e.node,this.node.firstChild),this.add&&this.add(),e.paper=this.paper,this.parent()&&this.parent().add(),r&&r.add()}return this},f.prependTo=function(e){return e=b(e),e.prepend(this),this},f.before=function(e){if("set"==e.type){var t=this;return e.forEach(function(e){var n=e.parent();t.node.parentNode.insertBefore(e.node,t.node),n&&n.add()}),this.parent().add(),this}e=b(e);var n=e.parent();return this.node.parentNode.insertBefore(e.node,this.node),this.parent()&&this.parent().add(),n&&n.add(),e.paper=this.paper,this},f.after=function(e){e=b(e);var t=e.parent();return this.node.nextSibling?this.node.parentNode.insertBefore(e.node,this.node.nextSibling):this.node.parentNode.appendChild(e.node),this.parent()&&this.parent().add(),t&&t.add(),e.paper=this.paper,this},f.insertBefore=function(e){e=b(e);var t=this.parent();return e.node.parentNode.insertBefore(this.node,e.node),this.paper=e.paper,t&&t.add(),e.parent()&&e.parent().add(),this},f.insertAfter=function(e){e=b(e);var t=this.parent();return e.node.parentNode.insertBefore(this.node,e.node.nextSibling),this.paper=e.paper,t&&t.add(),e.parent()&&e.parent().add(),this},f.remove=function(){var e=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,e&&e.add(),this},f.select=function(e){return e=p(e).replace(/([^\\]):/g,"$1\\:"),b(this.node.querySelector(e))},f.selectAll=function(e){for(var t=this.node.querySelectorAll(e),n=(r.set||Array)(),i=0;i{contents}',{x:+t.x.toFixed(3),y:+t.y.toFixed(3),width:+t.width.toFixed(3),height:+t.height.toFixed(3),contents:this.outerSVG()});return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(n)))}},s.prototype.select=f.select,s.prototype.selectAll=f.selectAll}),r.plugin(function(e,t,n,r,i){function a(e,t,n,r,i,a){return null==t&&"[object SVGMatrix]"==o.call(e)?(this.a=e.a,this.b=e.b,this.c=e.c,this.d=e.d,this.e=e.e,void(this.f=e.f)):void(null!=e?(this.a=+e,this.b=+t,this.c=+n,this.d=+r,this.e=+i,this.f=+a):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0))}var o=Object.prototype.toString,s=String,l=Math,u="";!function(t){function n(e){return e[0]*e[0]+e[1]*e[1]}function r(e){var t=l.sqrt(n(e));e[0]&&(e[0]/=t),e[1]&&(e[1]/=t)}t.add=function(e,t,n,r,i,o){var s,l,u,c,d=[[],[],[]],f=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],h=[[e,n,i],[t,r,o],[0,0,1]];for(e&&e instanceof a&&(h=[[e.a,e.c,e.e],[e.b,e.d,e.f],[0,0,1]]),s=0;s<3;s++)for(l=0;l<3;l++){for(c=0,u=0;u<3;u++)c+=f[s][u]*h[u][l];d[s][l]=c}return this.a=d[0][0],this.b=d[1][0],this.c=d[0][1],this.d=d[1][1],this.e=d[0][2],this.f=d[1][2],this},t.invert=function(){var e=this,t=e.a*e.d-e.b*e.c;return new a(e.d/t,-e.b/t,-e.c/t,e.a/t,(e.c*e.f-e.d*e.e)/t,(e.b*e.e-e.a*e.f)/t)},t.clone=function(){return new a(this.a,this.b,this.c,this.d,this.e,this.f)},t.translate=function(e,t){return this.add(1,0,0,1,e,t)},t.scale=function(e,t,n,r){return null==t&&(t=e),(n||r)&&this.add(1,0,0,1,n,r),this.add(e,0,0,t,0,0),(n||r)&&this.add(1,0,0,1,-n,-r),this},t.rotate=function(t,n,r){t=e.rad(t),n=n||0,r=r||0;var i=+l.cos(t).toFixed(9),a=+l.sin(t).toFixed(9);return this.add(i,a,-a,i,n,r),this.add(1,0,0,1,-n,-r)},t.x=function(e,t){return e*this.a+t*this.c+this.e},t.y=function(e,t){return e*this.b+t*this.d+this.f},t.get=function(e){return+this[s.fromCharCode(97+e)].toFixed(4)},t.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},t.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},t.determinant=function(){return this.a*this.d-this.b*this.c},t.split=function(){var t={};t.dx=this.e,t.dy=this.f;var i=[[this.a,this.c],[this.b,this.d]];t.scalex=l.sqrt(n(i[0])),r(i[0]),t.shear=i[0][0]*i[1][0]+i[0][1]*i[1][1],i[1]=[i[1][0]-i[0][0]*t.shear,i[1][1]-i[0][1]*t.shear],t.scaley=l.sqrt(n(i[1])),r(i[1]),t.shear/=t.scaley,this.determinant()<0&&(t.scalex=-t.scalex);var a=-i[0][1],o=i[1][1];return o<0?(t.rotate=e.deg(l.acos(o)),a<0&&(t.rotate=360-t.rotate)):t.rotate=e.deg(l.asin(a)),t.isSimple=!(+t.shear.toFixed(9)||t.scalex.toFixed(9)!=t.scaley.toFixed(9)&&t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t},t.toTransformString=function(e){var t=e||this.split();return+t.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(t.scalex=+t.scalex.toFixed(4),t.scaley=+t.scaley.toFixed(4),t.rotate=+t.rotate.toFixed(4),(t.dx||t.dy?"t"+[+t.dx.toFixed(4),+t.dy.toFixed(4)]:u)+(1!=t.scalex||1!=t.scaley?"s"+[t.scalex,t.scaley,0,0]:u)+(t.rotate?"r"+[+t.rotate.toFixed(4),0,0]:u))}}(a.prototype),e.Matrix=a,e.matrix=function(e,t,n,r,i,o){return new a(e,t,n,r,i,o)}}),r.plugin(function(e,n,r,i,a){function o(r){return function(i){if(t.stop(),i instanceof a&&1==i.node.childNodes.length&&("radialGradient"==i.node.firstChild.tagName||"linearGradient"==i.node.firstChild.tagName||"pattern"==i.node.firstChild.tagName)&&(i=i.node.firstChild,h(this).appendChild(i),i=d(i)),i instanceof n)if("radialGradient"==i.type||"linearGradient"==i.type||"pattern"==i.type){i.node.id||m(i.node,{id:i.id});var o=_(i.node.id)}else o=i.attr(r);else if(o=e.color(i),o.error){var s=e(h(this).ownerSVGElement).gradient(i);s?(s.node.id||m(s.node,{id:s.id}),o=_(s.node.id)):o=i}else o=g(o);var l={};l[r]=o,m(this.node,l),this.node.style[r]=y}}function s(e){t.stop(),e==+e&&(e+="px"),this.node.style.fontSize=e}function l(e){for(var t=[],n=e.childNodes,r=0,i=n.length;r1&&(e=Array.prototype.slice.call(arguments,0));var t={};return l(e,"object")&&!l(e,"array")?t=e:null!=e&&(t={points:e}),this.el("polyline",t)},s.polygon=function(e){arguments.length>1&&(e=Array.prototype.slice.call(arguments,0));var t={};return l(e,"object")&&!l(e,"array")?t=e:null!=e&&(t={points:e}),this.el("polygon",t)},function(){function r(){return this.selectAll("stop")}function i(e,t){var r=c("stop"),i={offset:+t+"%"};return e=n.color(e),i["stop-color"]=e.hex,e.opacity<1&&(i["stop-opacity"]=e.opacity),c(r,i),this.node.appendChild(r),this}function a(){if("linearGradient"==this.type){var e=c(this.node,"x1")||0,t=c(this.node,"x2")||1,r=c(this.node,"y1")||0,i=c(this.node,"y2")||0;return n._.box(e,r,math.abs(t-e),math.abs(i-r))}var a=this.node.cx||.5,o=this.node.cy||.5,s=this.node.r||0;return n._.box(a-s,o-s,2*s,2*s)}function o(e,n){function r(e,t){for(var n=(t-d)/(e-f),r=f;ra){if(r&&!m.start){if(h=l(s,u,d[1],d[2],d[3],d[4],d[5],d[6],a-_),p+=["C"+i(h.start.x),i(h.start.y),i(h.m.x),i(h.m.y),i(h.x),i(h.y)],o)return p;m.start=p,p=["M"+i(h.x),i(h.y)+"C"+i(h.n.x),i(h.n.y),i(h.end.x),i(h.end.y),i(d[5]),i(d[6])].join(),_+=f,s=+d[5],u=+d[6];continue}if(!n&&!r)return h=l(s,u,d[1],d[2],d[3],d[4],d[5],d[6],a-_)}_+=f,s=+d[5],u=+d[6]}p+=d.shift()+d}return m.end=p,h=n?_:r?m:c(s,u,d[0],d[1],d[2],d[3],d[4],d[5],1)},null,e._.clone)}function c(e,t,n,r,i,a,o,s,l){var u=1-l,c=q(u,3),d=q(u,2),f=l*l,h=f*l,p=c*e+3*d*l*n+3*u*l*l*i+h*o,m=c*t+3*d*l*r+3*u*l*l*a+h*s,_=e+2*l*(n-e)+f*(i-2*n+e),g=t+2*l*(r-t)+f*(a-2*r+t),v=n+2*l*(i-n)+f*(o-2*i+n),y=r+2*l*(a-r)+f*(s-2*a+r),b=u*e+l*n,w=u*t+l*r,M=u*i+l*o,x=u*a+l*s,k=90-180*N.atan2(_-v,g-y)/W;return{x:p,y:m,m:{x:_,y:g},n:{x:v,y:y},start:{x:b,y:w},end:{x:M,y:x},alpha:k}}function d(t,n,r,i,o,s,l,u){e.is(t,"array")||(t=[t,n,r,i,o,s,l,u]);var c=C.apply(null,t);return a(c.min.x,c.min.y,c.max.x-c.min.x,c.max.y-c.min.y)}function f(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function h(e,t){return e=a(e),t=a(t),f(t,e.x,e.y)||f(t,e.x2,e.y)||f(t,e.x,e.y2)||f(t,e.x2,e.y2)||f(e,t.x,t.y)||f(e,t.x2,t.y)||f(e,t.x,t.y2)||f(e,t.x2,t.y2)||(e.xt.x||t.xe.x)&&(e.yt.y||t.ye.y)}function p(e,t,n,r,i){var a=-3*t+9*n-9*r+3*i,o=e*a+6*t-12*n+6*r;return e*o-3*t+3*n}function m(e,t,n,r,i,a,o,s,l){null==l&&(l=1),l=l>1?1:l<0?0:l;for(var u=l/2,c=12,d=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],h=0,m=0;mh;)d/=2,f+=(uB(i,o)||B(t,r)B(a,s))){var l=(e*r-t*n)*(i-o)-(e-n)*(i*s-a*o),u=(e*r-t*n)*(a-s)-(t-r)*(i*s-a*o),c=(e-n)*(a-s)-(t-r)*(i-o);if(c){var d=l/c,f=u/c,h=+d.toFixed(2),p=+f.toFixed(2);if(!(h<+I(e,n).toFixed(2)||h>+B(e,n).toFixed(2)||h<+I(i,o).toFixed(2)||h>+B(i,o).toFixed(2)||p<+I(t,r).toFixed(2)||p>+B(t,r).toFixed(2)||p<+I(a,s).toFixed(2)||p>+B(a,s).toFixed(2)))return{x:d,y:f}}}}function v(e,t,n){var r=d(e),i=d(t);if(!h(r,i))return n?0:[];for(var a=m.apply(0,e),o=m.apply(0,t),s=~~(a/8),l=~~(o/8),u=[],f=[],p={},_=n?0:[],v=0;v=0&&D<=1&&S>=0&&S<=1&&(n?_++:_.push({x:T.x,y:T.y,t1:D,t2:S}))}}return _}function y(e,t){return w(e,t)}function b(e,t){return w(e,t,1)}function w(e,t,n){e=A(e),t=A(t);for(var r,i,a,o,s,l,u,c,d,f,h=n?0:[],p=0,m=e.length;p180),0,l,c]];else d=[["M",e,t],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return d.toString=o,d}function Y(t){var n=i(t),r=String.prototype.toLowerCase;if(n.rel)return s(n.rel);e.is(t,"array")&&e.is(t&&t[0],"array")||(t=e.parsePathString(t));var a=[],l=0,u=0,c=0,d=0,f=0;"M"==t[0][0]&&(l=t[0][1],u=t[0][2],c=l,d=u,f++,a.push(["M",l,u]));for(var h=f,p=t.length;h1&&(v=N.sqrt(v),r*=v,i*=v);var y=r*r,b=i*i,w=(o==s?-1:1)*N.sqrt(V((y*b-y*g*g-b*_*_)/(y*g*g+b*_*_))),M=w*r*g/i+(t+l)/2,x=w*-i*_/r+(n+u)/2,k=N.asin(((n-x)/i).toFixed(9)),L=N.asin(((u-x)/i).toFixed(9));k=tL&&(k-=2*W),!s&&L>k&&(L-=2*W)}var Y=L-k;if(V(Y)>f){var T=L,D=l,S=u;L=k+f*(s&&L>k?1:-1),l=M+r*N.cos(L),u=x+i*N.sin(L),p=j(l,u,r,i,a,0,s,D,S,[L,T,M,x])}Y=L-k;var C=N.cos(k),A=N.sin(k),H=N.cos(L),P=N.sin(L),E=N.tan(Y/4),O=4/3*r*E,$=4/3*i*E,F=[t,n],z=[t+O*A,n-$*C],R=[l+O*P,u-$*H],I=[l,u];if(z[0]=2*F[0]-z[0],z[1]=2*F[1]-z[1],c)return[z,R,I].concat(p);p=[z,R,I].concat(p).join().split(",");for(var B=[],q=0,U=p.length;q7){e[t].shift();for(var n=e[t];n.length;)f[t]="A",a&&(h[t]="A"),e.splice(t++,0,["C"].concat(n.splice(0,6)));e.splice(t,1),g=B(r.length,a&&a.length||0)}},d=function(e,t,n,i,o){e&&t&&"M"==e[o][0]&&"M"!=t[o][0]&&(t.splice(o,0,["M",i.x,i.y]),n.bx=0,n.by=0,n.x=e[o][1],n.y=e[o][2],g=B(r.length,a&&a.length||0))},f=[],h=[],p="",m="",_=0,g=B(r.length,a&&a.length||0);_r;r+=2){var a=[{x:+e[r-2],y:+e[r-1]},{x:+e[r],y:+e[r+1]},{x:+e[r+2],y:+e[r+3]},{x:+e[r+4],y:+e[r+5]}];t?r?i-4==r?a[3]={x:+e[0],y:+e[1]}:i-2==r&&(a[2]={x:+e[0],y:+e[1]},a[3]={x:+e[2],y:+e[3]}):a[0]={x:+e[i-2],y:+e[i-1]}:i-4==r?a[3]=a[2]:r||(a[0]={x:+e[r],y:+e[r+1]}),n.push(["C",(-a[0].x+6*a[1].x+a[2].x)/6,(-a[0].y+6*a[1].y+a[2].y)/6,(a[1].x+6*a[2].x-a[3].x)/6,(a[1].y+6*a[2].y-a[3].y)/6,a[2].x,a[2].y])}return n}var E=t.prototype,O=e.is,$=e._.clone,F="hasOwnProperty",z=/,?([a-z]),?/gi,R=parseFloat,N=Math,W=N.PI,I=N.min,B=N.max,q=N.pow,V=N.abs,U=u(1),J=u(),G=u(0,1),Z=e._unit2px,K={path:function(e){return e.attr("path")},circle:function(e){var t=Z(e);return L(t.cx,t.cy,t.r)},ellipse:function(e){var t=Z(e);return L(t.cx||0,t.cy||0,t.rx,t.ry)},rect:function(e){var t=Z(e);return k(t.x||0,t.y||0,t.width,t.height,t.rx,t.ry)},image:function(e){var t=Z(e);return k(t.x||0,t.y||0,t.width,t.height)},line:function(e){return"M"+[e.attr("x1")||0,e.attr("y1")||0,e.attr("x2"),e.attr("y2")]},polyline:function(e){return"M"+e.attr("points")},polygon:function(e){return"M"+e.attr("points")+"z"},deflt:function(e){var t=e.node.getBBox();return k(t.x,t.y,t.width,t.height)}};e.path=i,e.path.getTotalLength=U,e.path.getPointAtLength=J,e.path.getSubpath=function(e,t,n){if(this.getTotalLength(e)-n<1e-6)return G(e,t).end;var r=G(e,n,1);return t?G(r,t).end:r},E.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()},E.getPointAtLength=function(e){return J(this.attr("d"),e)},E.getSubpath=function(t,n){return e.path.getSubpath(this.attr("d"),t,n)},e._.box=a,e.path.findDotsAtSegment=c,e.path.bezierBBox=d,e.path.isPointInsideBBox=f,e.closest=function(t,n,r,i){for(var o=100,s=a(t-o/2,n-o/2,o,o),l=[],u=r[0].hasOwnProperty("x")?function(e){return{x:r[e].x,y:r[e].y}}:function(e){return{x:r[e],y:i[e]}},c=0;o<=1e6&&!c;){for(var d=0,h=r.length;dg&&(_=g,l[d].len=g,m=l[d])}return m}},e.path.isBBoxIntersect=h,e.path.intersection=y,e.path.intersectionNumber=b,e.path.isPointInside=M,e.path.getBBox=x,e.path.get=K,e.path.toRelative=Y,e.path.toAbsolute=T,e.path.toCubic=A,e.path.map=H,e.path.toString=o,e.path.clone=s}),r.plugin(function(e,r,i,a){var o=Math.max,s=Math.min,l=function(e){if(this.items=[],this.bindings={},this.length=0,this.type="set",e)for(var t=0,n=e.length;t',{def:r})},e.filter.blur.toString=function(){return this()},e.filter.shadow=function(t,n,r,i,a){return"string"==typeof r&&(i=r,a=i,r=4),"string"!=typeof i&&(a=i,i="#000"),i=i||"#000",null==r&&(r=4),null==a&&(a=1),null==t&&(t=0,n=2),null==n&&(n=t),i=e.color(i),e.format('',{color:i,dx:t,dy:n,blur:r,opacity:a})},e.filter.shadow.toString=function(){return this()},e.filter.grayscale=function(t){return null==t&&(t=1),e.format('',{a:.2126+.7874*(1-t),b:.7152-.7152*(1-t),c:.0722-.0722*(1-t),d:.2126-.2126*(1-t),e:.7152+.2848*(1-t),f:.0722-.0722*(1-t),g:.2126-.2126*(1-t),h:.0722+.9278*(1-t)})},e.filter.grayscale.toString=function(){return this()},e.filter.sepia=function(t){return null==t&&(t=1),e.format('',{a:.393+.607*(1-t),b:.769-.769*(1-t),c:.189-.189*(1-t),d:.349-.349*(1-t),e:.686+.314*(1-t),f:.168-.168*(1-t),g:.272-.272*(1-t),h:.534-.534*(1-t),i:.131+.869*(1-t)})},e.filter.sepia.toString=function(){return this()},e.filter.saturate=function(t){return null==t&&(t=1),e.format('',{amount:1-t})},e.filter.saturate.toString=function(){return this()},e.filter.hueRotate=function(t){return t=t||0,e.format('',{angle:t})},e.filter.hueRotate.toString=function(){return this()},e.filter.invert=function(t){return null==t&&(t=1),e.format('',{amount:t,amount2:1-t})},e.filter.invert.toString=function(){return this()},e.filter.brightness=function(t){return null==t&&(t=1),e.format('',{amount:t})},e.filter.brightness.toString=function(){return this()},e.filter.contrast=function(t){return null==t&&(t=1),e.format('',{amount:t,amount2:.5-t/2})},e.filter.contrast.toString=function(){return this()}}),r.plugin(function(e,t,n,r,i){var a=e._.box,o=e.is,s=/^[^a-z]*([tbmlrc])/i,l=function(){return"T"+this.dx+","+this.dy};t.prototype.getAlign=function(e,t){null==t&&o(e,"string")&&(t=e,e=null),e=e||this.paper;var n=e.getBBox?e.getBBox():a(e),r=this.getBBox(),i={};switch(t=t&&t.match(s),t=t?t[1].toLowerCase():"c"){case"t":i.dx=0,i.dy=n.y-r.y;break;case"b":i.dx=0,i.dy=n.y2-r.y2;break;case"m":i.dx=0,i.dy=n.cy-r.cy;break;case"l":i.dx=n.x-r.x,i.dy=0;break;case"r":i.dx=n.x2-r.x2,i.dy=0;break;default:i.dx=n.cx-r.cx,i.dy=0}return i.toString=l,i},t.prototype.align=function(e,t){return this.transform("..."+this.getAlign(e,t))}}),r})}).call(window)},function(e,t,n){var r;(function(e,i,a){(function(){function a(e,t){return e.set(t[0],t[1]),e}function o(e,t){return e.add(t),e}function s(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function l(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i-1}function p(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function z(e,t){for(var n=e.length;n--&&k(t,e[n],0)>-1;);return n}function R(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function N(e){return"\\"+Kn[e]}function W(e,t){return null==e?ie:e[t]}function I(e){return Wn.test(e)}function B(e){return In.test(e)}function q(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function V(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function U(e,t){return function(n){return e(t(n))}}function J(e,t){for(var n=-1,r=e.length,i=0,a=[];++n>>1,Fe=[["ary",ye],["bind",fe],["bindKey",he],["curry",me],["curryRight",_e],["flip",we],["partial",ge],["partialRight",ve],["rearg",be]],ze="[object Arguments]",Re="[object Array]",Ne="[object AsyncFunction]",We="[object Boolean]",Ie="[object Date]",Be="[object DOMException]",qe="[object Error]",Ve="[object Function]",Ue="[object GeneratorFunction]",Je="[object Map]",Ge="[object Number]",Ze="[object Null]",Ke="[object Object]",Xe="[object Promise]",Qe="[object Proxy]",et="[object RegExp]",tt="[object Set]",nt="[object String]",rt="[object Symbol]",it="[object Undefined]",at="[object WeakMap]",ot="[object WeakSet]",st="[object ArrayBuffer]",lt="[object DataView]",ut="[object Float32Array]",ct="[object Float64Array]",dt="[object Int8Array]",ft="[object Int16Array]",ht="[object Int32Array]",pt="[object Uint8Array]",mt="[object Uint8ClampedArray]",_t="[object Uint16Array]",gt="[object Uint32Array]",vt=/\b__p \+= '';/g,yt=/\b(__p \+=) '' \+/g,bt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,Mt=/[&<>"']/g,xt=RegExp(wt.source),kt=RegExp(Mt.source),Lt=/<%-([\s\S]+?)%>/g,Yt=/<%([\s\S]+?)%>/g,Tt=/<%=([\s\S]+?)%>/g,Dt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,St=/^\w*$/,jt=/^\./,Ct=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,At=/[\\^$.*+?()[\]{}|]/g,Ht=RegExp(At.source),Pt=/^\s+|\s+$/g,Et=/^\s+/,Ot=/\s+$/,$t=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ft=/\{\n\/\* \[wrapped with (.+)\] \*/,zt=/,? & /,Rt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Nt=/\\(\\)?/g,Wt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,It=/\w*$/,Bt=/^[-+]0x[0-9a-f]+$/i,qt=/^0b[01]+$/i,Vt=/^\[object .+?Constructor\]$/,Ut=/^0o[0-7]+$/i,Jt=/^(?:0|[1-9]\d*)$/,Gt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zt=/($^)/,Kt=/['\n\r\u2028\u2029\\]/g,Xt="\\ud800-\\udfff",Qt="\\u0300-\\u036f\\ufe20-\\ufe23",en="\\u20d0-\\u20f0",tn="\\u2700-\\u27bf",nn="a-z\\xdf-\\xf6\\xf8-\\xff",rn="\\xac\\xb1\\xd7\\xf7",an="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",on="\\u2000-\\u206f",sn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ln="A-Z\\xc0-\\xd6\\xd8-\\xde",un="\\ufe0e\\ufe0f",cn=rn+an+on+sn,dn="['’]",fn="["+Xt+"]",hn="["+cn+"]",pn="["+Qt+en+"]",mn="\\d+",_n="["+tn+"]",gn="["+nn+"]",vn="[^"+Xt+cn+mn+tn+nn+ln+"]",yn="\\ud83c[\\udffb-\\udfff]",bn="(?:"+pn+"|"+yn+")",wn="[^"+Xt+"]",Mn="(?:\\ud83c[\\udde6-\\uddff]){2}",xn="[\\ud800-\\udbff][\\udc00-\\udfff]",kn="["+ln+"]",Ln="\\u200d",Yn="(?:"+gn+"|"+vn+")",Tn="(?:"+kn+"|"+vn+")",Dn="(?:"+dn+"(?:d|ll|m|re|s|t|ve))?",Sn="(?:"+dn+"(?:D|LL|M|RE|S|T|VE))?",jn=bn+"?",Cn="["+un+"]?",An="(?:"+Ln+"(?:"+[wn,Mn,xn].join("|")+")"+Cn+jn+")*",Hn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Pn="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",En=Cn+jn+An,On="(?:"+[_n,Mn,xn].join("|")+")"+En,$n="(?:"+[wn+pn+"?",pn,Mn,xn,fn].join("|")+")",Fn=RegExp(dn,"g"),zn=RegExp(pn,"g"),Rn=RegExp(yn+"(?="+yn+")|"+$n+En,"g"),Nn=RegExp([kn+"?"+gn+"+"+Dn+"(?="+[hn,kn,"$"].join("|")+")",Tn+"+"+Sn+"(?="+[hn,kn+Yn,"$"].join("|")+")",kn+"?"+Yn+"+"+Dn,kn+"+"+Sn,Pn,Hn,mn,On].join("|"),"g"),Wn=RegExp("["+Ln+Xt+Qt+en+un+"]"),In=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Bn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],qn=-1,Vn={};Vn[ut]=Vn[ct]=Vn[dt]=Vn[ft]=Vn[ht]=Vn[pt]=Vn[mt]=Vn[_t]=Vn[gt]=!0,Vn[ze]=Vn[Re]=Vn[st]=Vn[We]=Vn[lt]=Vn[Ie]=Vn[qe]=Vn[Ve]=Vn[Je]=Vn[Ge]=Vn[Ke]=Vn[et]=Vn[tt]=Vn[nt]=Vn[at]=!1;var Un={};Un[ze]=Un[Re]=Un[st]=Un[lt]=Un[We]=Un[Ie]=Un[ut]=Un[ct]=Un[dt]=Un[ft]=Un[ht]=Un[Je]=Un[Ge]=Un[Ke]=Un[et]=Un[tt]=Un[nt]=Un[rt]=Un[pt]=Un[mt]=Un[_t]=Un[gt]=!0,Un[qe]=Un[Ve]=Un[at]=!1;var Jn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Gn={"&":"&","<":"<",">":">",'"':""","'":"'"},Zn={"&":"&","<":"<",">":">",""":'"',"'":"'"},Kn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Xn=parseFloat,Qn=parseInt,er="object"==typeof e&&e&&e.Object===Object&&e,tr="object"==typeof self&&self&&self.Object===Object&&self,nr=er||tr||Function("return this")(),rr="object"==typeof t&&t&&!t.nodeType&&t,ir=rr&&"object"==typeof i&&i&&!i.nodeType&&i,ar=ir&&ir.exports===rr,or=ar&&er.process,sr=function(){try{return or&&or.binding("util")}catch(e){}}(),lr=sr&&sr.isArrayBuffer,ur=sr&&sr.isDate,cr=sr&&sr.isMap,dr=sr&&sr.isRegExp,fr=sr&&sr.isSet,hr=sr&&sr.isTypedArray,pr=D("length"),mr=S(Jn),_r=S(Gn),gr=S(Zn),vr=function e(t){function n(e){if(rl(e)&&!mf(e)&&!(e instanceof b)){if(e instanceof i)return e;if(pc.call(e,"__wrapped__"))return Qa(e)}return new i(e)}function r(){}function i(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=ie}function b(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ee,this.__views__=[]}function S(){var e=new b(this.__wrapped__);return e.__actions__=$i(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=$i(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=$i(this.__views__),e}function K(){if(this.__filtered__){var e=new b(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function te(){var e=this.__wrapped__.value(),t=this.__dir__,n=mf(e),r=t<0,i=n?e.length:0,a=Ma(0,i,this.__views__),o=a.start,s=a.end,l=s-o,u=r?s:o-1,c=this.__iteratees__,d=c.length,f=0,h=Bc(l,this.__takeCount__);if(!n||i-1}function ln(e,t){var n=this.__data__,r=Cn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function un(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function $n(e,t,n,r,i,a,o){var s;if(r&&(s=a?r(e,i,a,o):r(e)),s!==ie)return s;if(!nl(e))return e;var l=mf(e);if(l){if(s=La(e),!t)return $i(e,s)}else{var c=kd(e),d=c==Ve||c==Ue;if(gf(e))return Li(e,t);if(c==Ke||c==ze||d&&!a){if(s=Ya(d?{}:e),!t)return zi(e,Hn(s,e))}else{if(!Un[c])return a?e:{};s=Ta(e,c,$n,t)}}o||(o=new vn);var f=o.get(e);if(f)return f;o.set(e,s);var h=l?ie:(n?ha:Fl)(e);return u(h||e,function(i,a){h&&(a=i,i=e[a]),jn(s,a,$n(i,t,n,r,a,e,o))}),s}function Rn(e){var t=Fl(e);return function(n){return Nn(n,e,t)}}function Nn(e,t,n){var r=n.length;if(null==e)return!r;for(e=ac(e);r--;){var i=n[r],a=t[i],o=e[i];if(o===ie&&!(i in e)||!a(o))return!1}return!0}function Wn(e,t,n){if("function"!=typeof e)throw new lc(le);return Td(function(){e.apply(ie,n)},t)}function In(e,t,n,r){var i=-1,a=h,o=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=m(t,E(n))),r?(a=p,o=!1):t.length>=oe&&(a=$,o=!1,t=new mn(t));e:for(;++ii?0:i+n),r=r===ie||r>i?i:bl(r),r<0&&(r+=i),r=n>r?0:wl(r);n0&&n(s)?t>1?er(s,t-1,n,r,i):_(i,s):r||(i[i.length]=s)}return i}function tr(e,t){return e&&pd(e,t,Fl)}function rr(e,t){return e&&md(e,t,Fl)}function ir(e,t){return f(t,function(t){return Qs(e[t])})}function or(e,t){t=Aa(t,e)?[t]:xi(t);for(var n=0,r=t.length;null!=e&&nt}function br(e,t){return null!=e&&pc.call(e,t)}function wr(e,t){return null!=e&&t in ac(e)}function Mr(e,t,n){return e>=Bc(t,n)&&e=120&&c.length>=120)?new mn(o&&c):ie}c=e[0];var d=-1,f=s[0];e:for(;++d-1;)s!==e&&Dc.call(s,l,1),Dc.call(e,l,1);return e}function Xr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;if(ja(i))Dc.call(e,i,1);else if(Aa(i,e))delete e[Za(i)];else{var o=xi(i),s=qa(e,o);null!=s&&delete s[Za(yo(o))]}}}return e}function Qr(e,t){return e+$c(Uc()*(t-e+1))}function ei(e,t,n,r){for(var i=-1,a=Ic(Oc((t-e)/(n||1)),0),o=ec(a);a--;)o[r?a:++i]=e,e+=n;return o}function ti(e,t){var n="";if(!e||t<1||t>Ae)return n;do t%2&&(n+=e),t=$c(t/2),t&&(e+=e);while(t);return n}function ni(e,t){return Dd(Ba(e,t,Du),e+"")}function ri(e){return Ln(Kl(e))}function ii(e,t){var n=Kl(e);return Ga(n,On(t,0,n.length))}function ai(e,t,n,r){if(!nl(e))return e;t=Aa(t,e)?[t]:xi(t);for(var i=-1,a=t.length,o=a-1,s=e;null!=s&&++ii?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=ec(i);++r>>1,o=e[a];null!==o&&!pl(o)&&(n?o<=t:o=oe){var u=t?null:bd(e);if(u)return G(u);o=!1,i=$,l=new mn}else l=t?[]:s;e:for(;++r=r?e:si(e,t,n)}function Li(e,t){if(t)return e.slice();var n=e.length,r=kc?kc(n):new e.constructor(n);return e.copy(r),r}function Yi(e){var t=new e.constructor(e.byteLength);return new xc(t).set(new xc(e)),t}function Ti(e,t){var n=t?Yi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Di(e,t,n){var r=t?n(V(e),!0):V(e);return g(r,a,new e.constructor)}function Si(e){var t=new e.constructor(e.source,It.exec(e));return t.lastIndex=e.lastIndex,t}function ji(e,t,n){var r=t?n(G(e),!0):G(e);return g(r,o,new e.constructor)}function Ci(e){return ud?ac(ud.call(e)):{}}function Ai(e,t){var n=t?Yi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Hi(e,t){if(e!==t){var n=e!==ie,r=null===e,i=e===e,a=pl(e),o=t!==ie,s=null===t,l=t===t,u=pl(t);if(!s&&!u&&!a&&e>t||a&&o&&l&&!s&&!u||r&&o&&l||!n&&l||!i)return 1;if(!r&&!a&&!u&&e=s)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}function Ei(e,t,n,r){for(var i=-1,a=e.length,o=n.length,s=-1,l=t.length,u=Ic(a-o,0),c=ec(l+u),d=!r;++s1?n[i-1]:ie,o=i>2?n[2]:ie;for(a=e.length>3&&"function"==typeof a?(i--,a):ie,o&&Ca(n[0],n[1],o)&&(a=i<3?ie:a,i=1),t=ac(t);++r-1?i[a?t[o]:o]:ie}}function Zi(e){return fa(function(t){var n=t.length,r=n,a=i.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if("function"!=typeof o)throw new lc(le);if(a&&!s&&"wrapper"==ma(o))var s=new i([],!0)}for(r=s?r:n;++r=oe)return s.plant(r).value();for(var i=0,a=n?t[i].apply(this,e):r;++i1&&v.reverse(),d&&ls))return!1;var u=a.get(e);if(u&&a.get(t))return u==t;var c=-1,d=!0,f=i&Me?new mn:ie;for(a.set(e,t),a.set(t,e);++c1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace($t,"{\n/* [wrapped with "+t+"] */\n")}function Sa(e){return mf(e)||pf(e)||!!(Sc&&e&&e[Sc])}function ja(e,t){return t=null==t?Ae:t,!!t&&("number"==typeof e||Jt.test(e))&&e>-1&&e%1==0&&e0){if(++t>=Ye)return arguments[0]}else t=0;return e.apply(ie,arguments)}}function Ga(e,t){var n=-1,r=e.length,i=r-1;for(t=t===ie?r:t;++n=this.__values__.length,t=e?ie:this.__values__[this.__index__++];return{done:e,value:t}}function es(){return this}function ts(e){for(var t,n=this;n instanceof r;){var i=Qa(n);i.__index__=0,i.__values__=ie,t?a.__wrapped__=i:t=i;var a=i;n=n.__wrapped__}return a.__wrapped__=e,t}function ns(){var e=this.__wrapped__;if(e instanceof b){var t=e;return this.__actions__.length&&(t=new b(this)),t=t.reverse(),t.__actions__.push({func:Zo,args:[Yo],thisArg:ie}),new i(t,this.__chain__)}return this.thru(Yo)}function rs(){return vi(this.__wrapped__,this.__actions__)}function is(e,t,n){var r=mf(e)?d:Jn;return n&&Ca(e,t,n)&&(t=ie),r(e,ga(t,3))}function as(e,t){var n=mf(e)?f:Kn;return n(e,ga(t,3))}function os(e,t){return er(fs(e,t),1)}function ss(e,t){return er(fs(e,t),Ce)}function ls(e,t,n){return n=n===ie?1:bl(n),er(fs(e,t),n)}function us(e,t){var n=mf(e)?u:fd;return n(e,ga(t,3))}function cs(e,t){var n=mf(e)?c:hd;return n(e,ga(t,3))}function ds(e,t,n,r){e=Bs(e)?e:Kl(e),n=n&&!r?bl(n):0;var i=e.length;return n<0&&(n=Ic(i+n,0)),hl(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&k(e,t,n)>-1}function fs(e,t){var n=mf(e)?m:Nr;return n(e,ga(t,3))}function hs(e,t,n,r){return null==e?[]:(mf(t)||(t=null==t?[]:[t]),n=r?ie:n,mf(n)||(n=null==n?[]:[n]),Ur(e,t,n))}function ps(e,t,n){var r=mf(e)?g:j,i=arguments.length<3;return r(e,ga(t,4),n,i,fd)}function ms(e,t,n){var r=mf(e)?v:j,i=arguments.length<3;return r(e,ga(t,4),n,i,hd)}function _s(e,t){var n=mf(e)?f:Kn;return n(e,js(ga(t,3)))}function gs(e){var t=mf(e)?Ln:ri;return t(e)}function vs(e,t,n){t=(n?Ca(e,t,n):t===ie)?1:bl(t);var r=mf(e)?Yn:ii;return r(e,t)}function ys(e){var t=mf(e)?Tn:oi;return t(e)}function bs(e){if(null==e)return 0;if(Bs(e))return hl(e)?Q(e):e.length;var t=kd(e);return t==Je||t==tt?e.size:Fr(e).length}function ws(e,t,n){var r=mf(e)?y:li;return n&&Ca(e,t,n)&&(t=ie),r(e,ga(t,3))}function Ms(e,t){if("function"!=typeof t)throw new lc(le);return e=bl(e),function(){if(--e<1)return t.apply(this,arguments)}}function xs(e,t,n){return t=n?ie:t,t=e&&null==t?e.length:t,la(e,ye,ie,ie,ie,ie,t)}function ks(e,t){var n;if("function"!=typeof t)throw new lc(le);return e=bl(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=ie),n}}function Ls(e,t,n){t=n?ie:t;var r=la(e,me,ie,ie,ie,ie,ie,t);return r.placeholder=Ls.placeholder,r}function Ys(e,t,n){t=n?ie:t;var r=la(e,_e,ie,ie,ie,ie,ie,t);return r.placeholder=Ys.placeholder,r}function Ts(e,t,n){function r(t){var n=f,r=h;return f=h=ie,v=t,m=e.apply(r,n)}function i(e){return v=e,_=Td(s,t),y?r(e):m}function a(e){var n=e-g,r=e-v,i=t-n;return b?Bc(i,p-r):i}function o(e){var n=e-g,r=e-v;return g===ie||n>=t||n<0||b&&r>=p}function s(){var e=nf();return o(e)?l(e):void(_=Td(s,a(e)))}function l(e){return _=ie,w&&f?r(e):(f=h=ie,m)}function u(){_!==ie&&yd(_),v=0,f=g=h=_=ie}function c(){return _===ie?m:l(nf())}function d(){var e=nf(),n=o(e);if(f=arguments,h=this,g=e,n){if(_===ie)return i(g);if(b)return _=Td(s,t),r(g)}return _===ie&&(_=Td(s,t)),m}var f,h,p,m,_,g,v=0,y=!1,b=!1,w=!0;if("function"!=typeof e)throw new lc(le);return t=Ml(t)||0,nl(n)&&(y=!!n.leading,b="maxWait"in n,p=b?Ic(Ml(n.maxWait)||0,t):p,w="trailing"in n?!!n.trailing:w),d.cancel=u,d.flush=c,d}function Ds(e){return la(e,we)}function Ss(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new lc(le);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Ss.Cache||un),n}function js(e){if("function"!=typeof e)throw new lc(le);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Cs(e){return ks(2,e)}function As(e,t){if("function"!=typeof e)throw new lc(le);return t=t===ie?t:bl(t),ni(e,t)}function Hs(e,t){if("function"!=typeof e)throw new lc(le);return t=t===ie?0:Ic(bl(t),0),ni(function(n){var r=n[t],i=ki(n,0,t);return r&&_(i,r),s(e,this,i)})}function Ps(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new lc(le);return nl(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ts(e,t,{leading:r,maxWait:t,trailing:i})}function Es(e){return xs(e,1)}function Os(e,t){return uf(Mi(t),e)}function $s(){if(!arguments.length)return[];var e=arguments[0];return mf(e)?e:[e]}function Fs(e){return $n(e,!1,!0)}function zs(e,t){return t="function"==typeof t?t:ie,$n(e,!1,!0,t)}function Rs(e){return $n(e,!0,!0)}function Ns(e,t){return t="function"==typeof t?t:ie,$n(e,!0,!0,t)}function Ws(e,t){return null==t||Nn(e,t,Fl(t))}function Is(e,t){return e===t||e!==e&&t!==t}function Bs(e){return null!=e&&tl(e.length)&&!Qs(e)}function qs(e){return rl(e)&&Bs(e)}function Vs(e){return e===!0||e===!1||rl(e)&&pr(e)==We}function Us(e){return rl(e)&&1===e.nodeType&&!dl(e)}function Js(e){if(null==e)return!0;if(Bs(e)&&(mf(e)||"string"==typeof e||"function"==typeof e.splice||gf(e)||Mf(e)||pf(e)))return!e.length;var t=kd(e);if(t==Je||t==tt)return!e.size;if(Oa(e))return!Fr(e).length;for(var n in e)if(pc.call(e,n))return!1;return!0}function Gs(e,t){return Sr(e,t)}function Zs(e,t,n){n="function"==typeof n?n:ie;var r=n?n(e,t):ie;return r===ie?Sr(e,t,n):!!r}function Ks(e){if(!rl(e))return!1;var t=pr(e);return t==qe||t==Be||"string"==typeof e.message&&"string"==typeof e.name&&!dl(e)}function Xs(e){return"number"==typeof e&&Rc(e)}function Qs(e){if(!nl(e))return!1;var t=pr(e);return t==Ve||t==Ue||t==Ne||t==Qe}function el(e){return"number"==typeof e&&e==bl(e)}function tl(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Ae}function nl(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rl(e){return null!=e&&"object"==typeof e}function il(e,t){return e===t||Ar(e,t,ya(t))}function al(e,t,n){return n="function"==typeof n?n:ie,Ar(e,t,ya(t),n)}function ol(e){return cl(e)&&e!=+e}function sl(e){if(Ld(e))throw new nc(se);return Hr(e)}function ll(e){return null===e}function ul(e){return null==e}function cl(e){return"number"==typeof e||rl(e)&&pr(e)==Ge}function dl(e){if(!rl(e)||pr(e)!=Ke)return!1;var t=Lc(e);if(null===t)return!0;var n=pc.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&hc.call(n)==vc}function fl(e){return el(e)&&e>=-Ae&&e<=Ae}function hl(e){return"string"==typeof e||!mf(e)&&rl(e)&&pr(e)==nt}function pl(e){return"symbol"==typeof e||rl(e)&&pr(e)==rt}function ml(e){return e===ie}function _l(e){return rl(e)&&kd(e)==at}function gl(e){return rl(e)&&pr(e)==ot}function vl(e){if(!e)return[];if(Bs(e))return hl(e)?ee(e):$i(e);if(jc&&e[jc])return q(e[jc]());var t=kd(e),n=t==Je?V:t==tt?G:Kl;return n(e)}function yl(e){if(!e)return 0===e?e:0;if(e=Ml(e),e===Ce||e===-Ce){var t=e<0?-1:1;return t*He}return e===e?e:0}function bl(e){var t=yl(e),n=t%1;return t===t?n?t-n:t:0}function wl(e){return e?On(bl(e),0,Ee):0}function Ml(e){if("number"==typeof e)return e;if(pl(e))return Pe;if(nl(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=nl(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Pt,"");var n=qt.test(e);return n||Ut.test(e)?Qn(e.slice(2),n?2:8):Bt.test(e)?Pe:+e}function xl(e){return Fi(e,zl(e))}function kl(e){return On(bl(e),-Ae,Ae)}function Ll(e){return null==e?"":hi(e)}function Yl(e,t){var n=dd(e);return null==t?n:Hn(n,t)}function Tl(e,t){return M(e,ga(t,3),tr)}function Dl(e,t){return M(e,ga(t,3),rr)}function Sl(e,t){return null==e?e:pd(e,ga(t,3),zl)}function jl(e,t){return null==e?e:md(e,ga(t,3),zl)}function Cl(e,t){return e&&tr(e,ga(t,3))}function Al(e,t){return e&&rr(e,ga(t,3))}function Hl(e){return null==e?[]:ir(e,Fl(e))}function Pl(e){return null==e?[]:ir(e,zl(e))}function El(e,t,n){var r=null==e?ie:or(e,t);return r===ie?n:r}function Ol(e,t){return null!=e&&ka(e,t,br)}function $l(e,t){return null!=e&&ka(e,t,wr)}function Fl(e){return Bs(e)?kn(e):Fr(e)}function zl(e){return Bs(e)?kn(e,!0):zr(e)}function Rl(e,t){var n={};return t=ga(t,3),tr(e,function(e,r,i){Pn(n,t(e,r,i),e)}),n}function Nl(e,t){var n={};return t=ga(t,3),tr(e,function(e,r,i){Pn(n,r,t(e,r,i))}),n}function Wl(e,t){return Il(e,js(ga(t)))}function Il(e,t){return null==e?{}:Gr(e,pa(e),ga(t))}function Bl(e,t,n){t=Aa(t,e)?[t]:xi(t);var r=-1,i=t.length;for(i||(e=ie,i=1);++rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Uc();return Bc(e+i*(t-e+Xn("1e-"+((i+"").length-1))),t)}return Qr(e,t)}function nu(e){return Jf(Ll(e).toLowerCase())}function ru(e){return e=Ll(e),e&&e.replace(Gt,mr).replace(zn,"")}function iu(e,t,n){e=Ll(e),t=hi(t);var r=e.length;n=n===ie?r:On(bl(n),0,r);var i=n;return n-=t.length,n>=0&&e.slice(n,i)==t}function au(e){return e=Ll(e),e&&kt.test(e)?e.replace(Mt,_r):e}function ou(e){return e=Ll(e),e&&Ht.test(e)?e.replace(At,"\\$&"):e}function su(e,t,n){e=Ll(e),t=bl(t);var r=t?Q(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return ta($c(i),n)+e+ta(Oc(i),n)}function lu(e,t,n){e=Ll(e),t=bl(t);var r=t?Q(e):0;return t&&r>>0)?(e=Ll(e),e&&("string"==typeof t||null!=t&&!bf(t))&&(t=hi(t),!t&&I(e))?ki(ee(e),0,n):e.split(t,n)):[]}function pu(e,t,n){return e=Ll(e),n=On(bl(n),0,e.length),t=hi(t),e.slice(n,n+t.length)==t}function mu(e,t,r){var i=n.templateSettings;r&&Ca(e,t,r)&&(t=ie),e=Ll(e),t=Tf({},t,i,Dn);var a,o,s=Tf({},t.imports,i.imports,Dn),l=Fl(s),u=O(s,l),c=0,d=t.interpolate||Zt,f="__p += '",h=oc((t.escape||Zt).source+"|"+d.source+"|"+(d===Tt?Wt:Zt).source+"|"+(t.evaluate||Zt).source+"|$","g"),p="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++qn+"]")+"\n";e.replace(h,function(t,n,r,i,s,l){return r||(r=i),f+=e.slice(c,l).replace(Kt,N),n&&(a=!0,f+="' +\n__e("+n+") +\n'"),s&&(o=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t}),f+="';\n";var m=t.variable;m||(f="with (obj) {\n"+f+"\n}\n"),f=(o?f.replace(vt,""):f).replace(yt,"$1").replace(bt,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var _=Gf(function(){return rc(l,p+"return "+f).apply(ie,u)});if(_.source=f,Ks(_))throw _;return _}function _u(e){return Ll(e).toLowerCase()}function gu(e){return Ll(e).toUpperCase()}function vu(e,t,n){if(e=Ll(e),e&&(n||t===ie))return e.replace(Pt,"");if(!e||!(t=hi(t)))return e;var r=ee(e),i=ee(t),a=F(r,i),o=z(r,i)+1;return ki(r,a,o).join("")}function yu(e,t,n){if(e=Ll(e),e&&(n||t===ie))return e.replace(Ot,"");if(!e||!(t=hi(t)))return e;var r=ee(e),i=z(r,ee(t))+1;return ki(r,0,i).join("")}function bu(e,t,n){if(e=Ll(e),e&&(n||t===ie))return e.replace(Et,"");if(!e||!(t=hi(t)))return e;var r=ee(e),i=F(r,ee(t));return ki(r,i).join("")}function wu(e,t){var n=ke,r=Le;if(nl(t)){var i="separator"in t?t.separator:i;n="length"in t?bl(t.length):n,r="omission"in t?hi(t.omission):r}e=Ll(e);var a=e.length;if(I(e)){var o=ee(e);a=o.length}if(n>=a)return e;var s=n-Q(r);if(s<1)return r;var l=o?ki(o,0,s).join(""):e.slice(0,s);if(i===ie)return l+r;if(o&&(s+=l.length-s),bf(i)){if(e.slice(s).search(i)){var u,c=l;for(i.global||(i=oc(i.source,Ll(It.exec(i))+"g")),i.lastIndex=0;u=i.exec(c);)var d=u.index;l=l.slice(0,d===ie?s:d)}}else if(e.indexOf(hi(i),s)!=s){var f=l.lastIndexOf(i);f>-1&&(l=l.slice(0,f))}return l+r}function Mu(e){return e=Ll(e),e&&xt.test(e)?e.replace(wt,gr):e}function xu(e,t,n){return e=Ll(e),t=n?ie:t,t===ie?B(e)?re(e):w(e):e.match(t)||[]}function ku(e){var t=null==e?0:e.length,n=ga();return e=t?m(e,function(e){if("function"!=typeof e[1])throw new lc(le);return[n(e[0]),e[1]]}):[],ni(function(n){for(var r=-1;++rAe)return[];var n=Ee,r=Bc(e,Ee);t=ga(t),e-=Ee;for(var i=H(r,t);++n1?e[t-1]:ie;return n="function"==typeof n?(e.pop(),n):ie,qo(e,n)}),Ud=fa(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return En(t,e)};return!(t>1||this.__actions__.length)&&r instanceof b&&ja(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Zo,args:[a],thisArg:ie}),new i(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(ie),e})):this.thru(a)}),Jd=Ri(function(e,t,n){pc.call(e,n)?++e[n]:Pn(e,n,1)}),Gd=Gi(lo),Zd=Gi(uo),Kd=Ri(function(e,t,n){pc.call(e,n)?e[n].push(t):Pn(e,n,[t])}),Xd=ni(function(e,t,n){var r=-1,i="function"==typeof t,a=Aa(t),o=Bs(e)?ec(e.length):[];return fd(e,function(e){var l=i?t:a&&null!=e?e[t]:ie;o[++r]=l?s(l,e,n):Lr(e,t,n)}),o}),Qd=Ri(function(e,t,n){Pn(e,n,t)}),ef=Ri(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),tf=ni(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ca(e,t[0],t[1])?t=[]:n>2&&Ca(t[0],t[1],t[2])&&(t=[t[0]]),Ur(e,er(t,1),[])}),nf=Pc||function(){return nr.Date.now()},rf=ni(function(e,t,n){var r=fe;if(n.length){var i=J(n,_a(rf));r|=ge}return la(e,r,t,n,i)}),af=ni(function(e,t,n){var r=fe|he;if(n.length){var i=J(n,_a(af));r|=ge}return la(t,r,e,n,i)}),of=ni(function(e,t){return Wn(e,1,t)}),sf=ni(function(e,t,n){return Wn(e,Ml(t)||0,n)});Ss.Cache=un;var lf=vd(function(e,t){t=1==t.length&&mf(t[0])?m(t[0],E(ga())):m(er(t,1),E(ga()));var n=t.length;return ni(function(r){for(var i=-1,a=Bc(r.length,n);++i=t}),pf=Yr(function(){return arguments}())?Yr:function(e){return rl(e)&&pc.call(e,"callee")&&!Tc.call(e,"callee")},mf=ec.isArray,_f=lr?E(lr):Tr,gf=zc||zu,vf=ur?E(ur):Dr,yf=cr?E(cr):Cr,bf=dr?E(dr):Pr,wf=fr?E(fr):Er,Mf=hr?E(hr):Or,xf=ia(Rr),kf=ia(function(e,t){return e<=t}),Lf=Ni(function(e,t){if(Oa(t)||Bs(t))return void Fi(t,Fl(t),e);for(var n in t)pc.call(t,n)&&jn(e,n,t[n])}),Yf=Ni(function(e,t){Fi(t,zl(t),e)}),Tf=Ni(function(e,t,n,r){Fi(t,zl(t),e,r)}),Df=Ni(function(e,t,n,r){Fi(t,Fl(t),e,r)}),Sf=fa(En),jf=ni(function(e){return e.push(ie,Dn),s(Tf,ie,e)}),Cf=ni(function(e){return e.push(ie,Na),s(Of,ie,e)}),Af=Xi(function(e,t,n){e[t]=n},Yu(Du)),Hf=Xi(function(e,t,n){pc.call(e,t)?e[t].push(n):e[t]=[n]},ga),Pf=ni(Lr),Ef=Ni(function(e,t,n){Br(e,t,n)}),Of=Ni(function(e,t,n,r){Br(e,t,n,r)}),$f=fa(function(e,t){return null==e?{}:(t=m(t,Za),Jr(e,In(pa(e),t)))}),Ff=fa(function(e,t){return null==e?{}:Jr(e,m(t,Za))}),zf=sa(Fl),Rf=sa(zl),Nf=Vi(function(e,t,n){return t=t.toLowerCase(),e+(n?nu(t):t)}),Wf=Vi(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),If=Vi(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Bf=qi("toLowerCase"),qf=Vi(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Vf=Vi(function(e,t,n){return e+(n?" ":"")+Jf(t)}),Uf=Vi(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Jf=qi("toUpperCase"),Gf=ni(function(e,t){try{return s(e,ie,t)}catch(e){return Ks(e)?e:new nc(e)}}),Zf=fa(function(e,t){return u(t,function(t){t=Za(t),Pn(e,t,rf(e[t],e))}),e}),Kf=Zi(),Xf=Zi(!0),Qf=ni(function(e,t){return function(n){return Lr(n,e,t)}}),eh=ni(function(e,t){return function(n){return Lr(e,n,t)}}),th=ea(m),nh=ea(d),rh=ea(y),ih=ra(),ah=ra(!0),oh=Qi(function(e,t){return e+t},0),sh=oa("ceil"),lh=Qi(function(e,t){return e/t},1),uh=oa("floor"),ch=Qi(function(e,t){return e*t},1),dh=oa("round"),fh=Qi(function(e,t){return e-t},0);return n.after=Ms,n.ary=xs,n.assign=Lf,n.assignIn=Yf,n.assignInWith=Tf,n.assignWith=Df,n.at=Sf,n.before=ks,n.bind=rf,n.bindAll=Zf,n.bindKey=af,n.castArray=$s,n.chain=Jo,n.chunk=eo,n.compact=to,n.concat=no,n.cond=ku,n.conforms=Lu,n.constant=Yu,n.countBy=Jd,n.create=Yl,n.curry=Ls,n.curryRight=Ys,n.debounce=Ts,n.defaults=jf,n.defaultsDeep=Cf,n.defer=of,n.delay=sf,n.difference=jd,n.differenceBy=Cd,n.differenceWith=Ad,n.drop=ro,n.dropRight=io,n.dropRightWhile=ao,n.dropWhile=oo,n.fill=so,n.filter=as,n.flatMap=os,n.flatMapDeep=ss,n.flatMapDepth=ls,n.flatten=co,n.flattenDeep=fo,n.flattenDepth=ho,n.flip=Ds,n.flow=Kf,n.flowRight=Xf,n.fromPairs=po,n.functions=Hl,n.functionsIn=Pl,n.groupBy=Kd,n.initial=go,n.intersection=Hd,n.intersectionBy=Pd,n.intersectionWith=Ed,n.invert=Af,n.invertBy=Hf,n.invokeMap=Xd,n.iteratee=Su,n.keyBy=Qd,n.keys=Fl,n.keysIn=zl,n.map=fs,n.mapKeys=Rl,n.mapValues=Nl,n.matches=ju,n.matchesProperty=Cu,n.memoize=Ss,n.merge=Ef,n.mergeWith=Of,n.method=Qf,n.methodOf=eh,n.mixin=Au,n.negate=js,n.nthArg=Eu,n.omit=$f,n.omitBy=Wl,n.once=Cs,n.orderBy=hs,n.over=th,n.overArgs=lf,n.overEvery=nh,n.overSome=rh,n.partial=uf,n.partialRight=cf,n.partition=ef,n.pick=Ff,n.pickBy=Il,n.property=Ou,n.propertyOf=$u,n.pull=Od,n.pullAll=Mo,n.pullAllBy=xo,n.pullAllWith=ko,n.pullAt=$d,n.range=ih,n.rangeRight=ah,n.rearg=df,n.reject=_s,n.remove=Lo,n.rest=As,n.reverse=Yo,n.sampleSize=vs,n.set=ql,n.setWith=Vl,n.shuffle=ys,n.slice=To,n.sortBy=tf,n.sortedUniq=Po,n.sortedUniqBy=Eo,n.split=hu,n.spread=Hs,n.tail=Oo,n.take=$o,n.takeRight=Fo,n.takeRightWhile=zo,n.takeWhile=Ro,n.tap=Go,n.throttle=Ps,n.thru=Zo,n.toArray=vl,n.toPairs=zf,n.toPairsIn=Rf,n.toPath=Bu,n.toPlainObject=xl,n.transform=Ul,n.unary=Es,n.union=Fd,n.unionBy=zd,n.unionWith=Rd,n.uniq=No,n.uniqBy=Wo,n.uniqWith=Io,n.unset=Jl,n.unzip=Bo,n.unzipWith=qo,n.update=Gl,n.updateWith=Zl,n.values=Kl,n.valuesIn=Xl,n.without=Nd,n.words=xu,n.wrap=Os,n.xor=Wd,n.xorBy=Id,n.xorWith=Bd,n.zip=qd,n.zipObject=Vo,n.zipObjectDeep=Uo,n.zipWith=Vd,n.entries=zf,n.entriesIn=Rf,n.extend=Yf,n.extendWith=Tf,Au(n,n),n.add=oh,n.attempt=Gf,n.camelCase=Nf,n.capitalize=nu,n.ceil=sh,n.clamp=Ql,n.clone=Fs,n.cloneDeep=Rs,n.cloneDeepWith=Ns,n.cloneWith=zs,n.conformsTo=Ws,n.deburr=ru,n.defaultTo=Tu,n.divide=lh,n.endsWith=iu,n.eq=Is,n.escape=au,n.escapeRegExp=ou,n.every=is,n.find=Gd,n.findIndex=lo,n.findKey=Tl,n.findLast=Zd,n.findLastIndex=uo,n.findLastKey=Dl,n.floor=uh,n.forEach=us,n.forEachRight=cs,n.forIn=Sl,n.forInRight=jl,n.forOwn=Cl,n.forOwnRight=Al,n.get=El,n.gt=ff,n.gte=hf,n.has=Ol,n.hasIn=$l,n.head=mo,n.identity=Du,n.includes=ds,n.indexOf=_o,n.inRange=eu,n.invoke=Pf,n.isArguments=pf,n.isArray=mf,n.isArrayBuffer=_f,n.isArrayLike=Bs,n.isArrayLikeObject=qs,n.isBoolean=Vs,n.isBuffer=gf,n.isDate=vf,n.isElement=Us,n.isEmpty=Js,n.isEqual=Gs,n.isEqualWith=Zs,n.isError=Ks,n.isFinite=Xs,n.isFunction=Qs,n.isInteger=el,n.isLength=tl,n.isMap=yf,n.isMatch=il,n.isMatchWith=al,n.isNaN=ol,n.isNative=sl,n.isNil=ul,n.isNull=ll,n.isNumber=cl,n.isObject=nl,n.isObjectLike=rl,n.isPlainObject=dl,n.isRegExp=bf,n.isSafeInteger=fl,n.isSet=wf,n.isString=hl,n.isSymbol=pl,n.isTypedArray=Mf,n.isUndefined=ml,n.isWeakMap=_l,n.isWeakSet=gl,n.join=vo,n.kebabCase=Wf,n.last=yo,n.lastIndexOf=bo,n.lowerCase=If,n.lowerFirst=Bf,n.lt=xf,n.lte=kf,n.max=Vu,n.maxBy=Uu,n.mean=Ju,n.meanBy=Gu,n.min=Zu,n.minBy=Ku,n.stubArray=Fu,n.stubFalse=zu,n.stubObject=Ru,n.stubString=Nu,n.stubTrue=Wu,n.multiply=ch,n.nth=wo,n.noConflict=Hu,n.noop=Pu,n.now=nf,n.pad=su,n.padEnd=lu,n.padStart=uu,n.parseInt=cu,n.random=tu,n.reduce=ps,n.reduceRight=ms,n.repeat=du,n.replace=fu,n.result=Bl,n.round=dh,n.runInContext=e,n.sample=gs,n.size=bs,n.snakeCase=qf,n.some=ws,n.sortedIndex=Do,n.sortedIndexBy=So,n.sortedIndexOf=jo,n.sortedLastIndex=Co,n.sortedLastIndexBy=Ao,n.sortedLastIndexOf=Ho,n.startCase=Vf,n.startsWith=pu,n.subtract=fh,n.sum=Xu,n.sumBy=Qu,n.template=mu,n.times=Iu,n.toFinite=yl,n.toInteger=bl,n.toLength=wl,n.toLower=_u,n.toNumber=Ml,n.toSafeInteger=kl,n.toString=Ll,n.toUpper=gu,n.trim=vu,n.trimEnd=yu,n.trimStart=bu,n.truncate=wu,n.unescape=Mu,n.uniqueId=qu,n.upperCase=Uf,n.upperFirst=Jf,n.each=us,n.eachRight=cs,n.first=mo,Au(n,function(){var e={};return tr(n,function(t,r){pc.call(n.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),n.VERSION=ae,u(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){n[e].placeholder=n}),u(["drop","take"],function(e,t){b.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new b(this);n=n===ie?1:Ic(bl(n),0);var i=this.clone();return r?i.__takeCount__=Bc(n,i.__takeCount__):i.__views__.push({size:Bc(n,Ee),type:e+(i.__dir__<0?"Right":"")}),i},b.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),u(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==De||n==je;b.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ga(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),u(["head","last"],function(e,t){var n="take"+(t?"Right":"");b.prototype[e]=function(){return this[n](1).value()[0]}}),u(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");b.prototype[e]=function(){return this.__filtered__?new b(this):this[n](1)}}),b.prototype.compact=function(){return this.filter(Du)},b.prototype.find=function(e){return this.filter(e).head()},b.prototype.findLast=function(e){return this.reverse().find(e)},b.prototype.invokeMap=ni(function(e,t){return"function"==typeof e?new b(this):this.map(function(n){return Lr(n,e,t)})}),b.prototype.reject=function(e){return this.filter(js(ga(e)))},b.prototype.slice=function(e,t){e=bl(e);var n=this;return n.__filtered__&&(e>0||t<0)?new b(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==ie&&(t=bl(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},b.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},b.prototype.toArray=function(){return this.take(Ee)},tr(b.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),o=n[a?"take"+("last"==t?"Right":""):t],s=a||/^find/.test(t);o&&(n.prototype[t]=function(){var t=this.__wrapped__,l=a?[1]:arguments,u=t instanceof b,c=l[0],d=u||mf(t),f=function(e){var t=o.apply(n,_([e],l));return a&&h?t[0]:t};d&&r&&"function"==typeof c&&1!=c.length&&(u=d=!1);var h=this.__chain__,p=!!this.__actions__.length,m=s&&!h,g=u&&!p;if(!s&&d){t=g?t:new b(this);var v=e.apply(t,l);return v.__actions__.push({func:Zo,args:[f],thisArg:ie}),new i(v,h)}return m&&g?e.apply(this,l):(v=this.thru(f),m?a?v.value()[0]:v.value():v)})}),u(["pop","push","shift","sort","splice","unshift"],function(e){var t=uc[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var n=this.value();return t.apply(mf(n)?n:[],e)}return this[r](function(n){return t.apply(mf(n)?n:[],e)})}}),tr(b.prototype,function(e,t){var r=n[t];if(r){var i=r.name+"",a=nd[i]||(nd[i]=[]);a.push({name:t,func:r})}}),nd[Ki(ie,he).name]=[{name:"wrapper",func:ie}],b.prototype.clone=S,b.prototype.reverse=K,b.prototype.value=te,n.prototype.at=Ud,n.prototype.chain=Ko,n.prototype.commit=Xo,n.prototype.next=Qo,n.prototype.plant=ts,n.prototype.reverse=ns,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=rs,n.prototype.first=n.prototype.head,jc&&(n.prototype[jc]=es),n},yr=vr();nr._=yr,r=function(){return yr}.call(t,n,t,i),!(r!==ie&&(i.exports=r))}).call(this)}).call(t,function(){return this}(),n(169)(e),n(8))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.eventEmitter=t.generateId=void 0;var i=n(283),a=r(i),o=(0,a.default)({}),s=function(){var e=0,t="item_";return function(n){return n="string"==typeof n?n:t,e+=1,n+e}}();t.generateId=s,t.eventEmitter=o},function(e,t,n){var r=n(23).Pipe,i=function(){};i.prototype.setResult=function(e){return this.result=e,this.hasResult=!0,this},i.prototype.exit=function(){return this.exiting=!0,this},i.prototype.switchTo=function(e,t){return"string"==typeof e||e instanceof r?this.nextPipe=e:(this.next=e,t&&(this.nextPipe=t)),this},i.prototype.push=function(e,t){return e.parent=this,"undefined"!=typeof t&&(e.childName=t),e.root=this.root||this,e.options=e.options||this.options,this.children?(this.children[this.children.length-1].next=e,this.children.push(e)):(this.children=[e],this.nextAfterChildren=this.next||null,this.next=e),e.next=this,this},t.Context=i},function(e,t,n){var r=n(10).Context,i=n(20),a=function(e,t){this.left=e,this.right=t,this.pipe="diff"};a.prototype=new r,a.prototype.setResult=function(e){if(this.options.cloneDiffValues){var t="function"==typeof this.options.cloneDiffValues?this.options.cloneDiffValues:function(e){return JSON.parse(JSON.stringify(e),i)};"object"==typeof e[0]&&(e[0]=t(e[0])),"object"==typeof e[1]&&(e[1]=t(e[1]))}return r.prototype.setResult.apply(this,arguments)},t.DiffContext=a},function(e,t,n){var r=n(10).Context,i=function(e,t){this.left=e,this.delta=t,this.pipe="patch"};i.prototype=new r,t.PatchContext=i},function(e,t,n){var r=n(10).Context,i=function(e){this.delta=e,this.pipe="reverse"};i.prototype=new r,t.ReverseContext=i},function(e,t){t.isBrowser="undefined"!=typeof window},function(e,t,n){var r=n(5),i=r.BaseFormatter,a=function(){this.includeMoveDestinations=!1};a.prototype=new i,a.prototype.prepareContext=function(e){i.prototype.prepareContext.call(this,e),e.indent=function(e){this.indentLevel=(this.indentLevel||0)+("undefined"==typeof e?1:e),this.indentPad=new Array(this.indentLevel+1).join("  ")},e.row=function(t,n){e.out('
'),e.out(e.indentPad),e.out('
'),e.out(t),e.out('
'),e.out(n),e.out("
")}},a.prototype.typeFormattterErrorFormatter=function(e,t){e.row("",'
'+t+"
")},a.prototype.formatTextDiffString=function(e,t){var n=this.parseTextDiff(t);e.out('
    ');for(var r=0,i=n.length;r
    '+a.location.line+''+a.location.chr+'
    ');for(var o=a.pieces,s=0,l=o.length;s'+u.text+"")}e.out("
    ")}e.out("
")},a.prototype.rootBegin=function(e,t,n){e.out(''),"node"===t&&(e.row("{"),e.indent()),"array"===n&&e.row('"_t": "a",',"Array delta (member names indicate array indices)")},a.prototype.rootEnd=function(e,t){"node"===t&&(e.indent(-1),e.row("}")),e.out("
")},a.prototype.nodeBegin=function(e,t,n,r,i){e.row("""+t+"": {"),"node"===r&&e.indent(),"array"===i&&e.row('"_t": "a",',"Array delta (member names indicate array indices)")},a.prototype.nodeEnd=function(e,t,n,r,i,a){"node"===r&&e.indent(-1),e.row("}"+(a?"":","))},a.prototype.format_unchanged=function(){},a.prototype.format_movedestination=function(){},a.prototype.format_node=function(e,t,n){this.formatDeltaChildren(e,t,n)};var o=function(e){return'
"'+e+""
"},s={added:function(e,t,n,r){var i="
([newValue])
";return"undefined"==typeof r?"new value"+i:"number"==typeof r?"insert at index "+r+i:"add property "+o(r)+i},modified:function(e,t,n,r){var i="
([previousValue, newValue])
";return"undefined"==typeof r?"modify value"+i:"number"==typeof r?"modify at index "+r+i:"modify property "+o(r)+i},deleted:function(e,t,n,r){var i="
([previousValue, 0, 0])
";return"undefined"==typeof r?"delete value"+i:"number"==typeof r?"remove index "+r+i:"delete property "+o(r)+i},moved:function(e,t,n,r){return'move from index '+r+' to index '+e[1]+""},textdiff:function(e,t,n,r){var i="undefined"==typeof r?"":"number"==typeof r?" at index "+r:" at property "+o(r);return"text diff"+i+', format is a variation of Unidiff'}},l=function(e,t){var n=this.getDeltaType(t),r=s[n],i=r&&r.apply(r,Array.prototype.slice.call(arguments,1)),a=JSON.stringify(t,null,2);"textdiff"===n&&(a=a.split("\\n").join('\\n"+\n "')),e.indent(),e.row(a,i),e.indent(-1)};a.prototype.format_added=l,a.prototype.format_modified=l,a.prototype.format_deleted=l,a.prototype.format_moved=l,a.prototype.format_textdiff=l,t.AnnotatedFormatter=a;var u;t.format=function(e,t){return u||(u=new a),u.format(e,t)}},function(e,t,n){function r(e){for(var t=e,n=[[/&/g,"&"],[//g,">"],[/'/g,"'"],[/"/g,"""]],r=0;r'+t+"")},o.prototype.formatValue=function(e,t){e.out("
"+r(JSON.stringify(t,null,2))+"
")},o.prototype.formatTextDiffString=function(e,t){var n=this.parseTextDiff(t);e.out('
    ');for(var i=0,a=n.length;i
    '+o.location.line+''+o.location.chr+'
    ');for(var s=o.pieces,l=0,u=s.length;l'+r(unescape(c.text))+"")}e.out("
    ")}e.out("
")};var s=function(e){e=e||document;var t=function(e){return e.textContent||e.innerText},n=function(e,t,n){for(var r=e.querySelectorAll(t),i=0,a=r.length;i0?0:u)+"px";var c=u>0?"M30,0 Q-10,"+Math.round(u/2)+" 26,"+(u-4):"M30,"+-u+" Q-10,"+Math.round(-u/2)+" 26,4";a.setAttribute("d",c),i.style.display=""}catch(e){return}})};o.prototype.rootBegin=function(e,t,n){var r="jsondiffpatch-"+t+(n?" jsondiffpatch-child-node-type-"+n:"");e.out('
')},o.prototype.rootEnd=function(e){e.out("
"+(e.hasArrows?'":""))},o.prototype.nodeBegin=function(e,t,n,r,i){var a="jsondiffpatch-"+r+(i?" jsondiffpatch-child-node-type-"+i:"");e.out('
  • '+n+"
    ")},o.prototype.nodeEnd=function(e){e.out("
  • ")},o.prototype.format_unchanged=function(e,t,n){"undefined"!=typeof n&&(e.out('
    '),this.formatValue(e,n),e.out("
    "))},o.prototype.format_movedestination=function(e,t,n){"undefined"!=typeof n&&(e.out('
    '),this.formatValue(e,n),e.out("
    "))},o.prototype.format_node=function(e,t,n){var r="a"===t._t?"array":"object";e.out('
      '),this.formatDeltaChildren(e,t,n),e.out("
    ")},o.prototype.format_added=function(e,t){e.out('
    '),this.formatValue(e,t[0]),e.out("
    ")},o.prototype.format_modified=function(e,t){e.out('
    '),this.formatValue(e,t[0]),e.out('
    '),this.formatValue(e,t[1]),e.out("
    ")},o.prototype.format_deleted=function(e,t){e.out('
    '),this.formatValue(e,t[0]),e.out("
    ")},o.prototype.format_moved=function(e,t){e.out('
    '),this.formatValue(e,t[0]),e.out('
    '+t[1]+"
    "),e.out('
    \t \t \t \t \t \t \t \t \t
    '),e.hasArrows=!0},o.prototype.format_textdiff=function(e,t){e.out('
    '),this.formatTextDiffString(e,t[0]),e.out("
    ")};var l=function(e,t,n){var r=t||document.body,i="jsondiffpatch-unchanged-",a={showing:i+"showing",hiding:i+"hiding",visible:i+"visible",hidden:i+"hidden"},o=r.classList;if(o){if(!n)return o.remove(a.showing),o.remove(a.hiding),o.remove(a.visible),o.remove(a.hidden),void(e===!1&&o.add(a.hidden));e===!1?(o.remove(a.showing),o.add(a.visible),setTimeout(function(){o.add(a.hiding)},10)):(o.remove(a.hiding),o.add(a.showing),o.remove(a.hidden));var l=setInterval(function(){s(r)},100);setTimeout(function(){o.remove(a.showing),o.remove(a.hiding),e===!1?(o.add(a.hidden),o.remove(a.visible)):(o.add(a.visible),o.remove(a.hidden)),setTimeout(function(){o.remove(a.visible),clearInterval(l)},n+400)},n)}},u=function(e,t){return l(!1,e,t)};t.HtmlFormatter=o,t.showUnchanged=l,t.hideUnchanged=u;var c;t.format=function(e,t){return c||(c=new o),c.format(e,t)}},function(e,t,n){var r=n(14);if(t.base=n(5),t.html=n(16),t.annotated=n(15),t.jsonpatch=n(18),!r.isBrowser){var i="./console";t.console=n(290)(i)}},function(e,t,n){!function(){function e(){this.includeMoveDestinations=!1}function r(e){return e[e.length-1]}function i(e,t){return e.sort(t),e}function a(e){return i(e,function(e,t){var n=e.path.split("/"),i=t.path.split("/");return n.length!==i.length?n.length-i.length:f(r(n),r(i))})}function o(e,t){var n=[],r=[];return e.forEach(function(e){var i=t(e)?n:r;i.push(e)}),[n,r]}function s(e){var t=o(e,function(e){return"remove"===e.op}),n=t[0],r=t[1],i=a(n);return i.concat(r)}var l=n(5),u=l.BaseFormatter,c={added:"add",deleted:"remove",modified:"replace",moved:"moved",movedestination:"movedestination",unchanged:"unchanged",error:"error",textDiffLine:"textDiffLine"};e.prototype=new u,e.prototype.prepareContext=function(e){u.prototype.prepareContext.call(this,e),e.result=[],e.path=[],e.pushCurrentOp=function(e,t){var n={op:e,path:this.currentPath()};"undefined"!=typeof t&&(n.value=t),this.result.push(n)},e.currentPath=function(){return"/"+this.path.join("/")}},e.prototype.typeFormattterErrorFormatter=function(e,t){e.out("[ERROR]"+t)},e.prototype.rootBegin=function(){},e.prototype.rootEnd=function(){},e.prototype.nodeBegin=function(e,t,n){e.path.push(n)},e.prototype.nodeEnd=function(e){e.path.pop()},e.prototype.format_unchanged=function(e,t,n){"undefined"!=typeof n&&e.pushCurrentOp(c.unchanged,n)},e.prototype.format_movedestination=function(e,t,n){"undefined"!=typeof n&&e.pushCurrentOp(c.movedestination,n)},e.prototype.format_node=function(e,t,n){this.formatDeltaChildren(e,t,n)},e.prototype.format_added=function(e,t){e.pushCurrentOp(c.added,t[0])},e.prototype.format_modified=function(e,t){e.pushCurrentOp(c.modified,t[1])},e.prototype.format_deleted=function(e){e.pushCurrentOp(c.deleted)},e.prototype.format_moved=function(e,t){e.pushCurrentOp(c.moved,t[1])},e.prototype.format_textdiff=function(){throw"not implimented"},e.prototype.format=function(e,t){var n={};return this.prepareContext(n),this.recurse(n,e,t),n.result},t.JSONFormatter=e;var d,f=function(e,t){var n=parseInt(e,10),r=parseInt(t,10);return isNaN(n)||isNaN(r)?0:r-n},h=function(t,n){return d||(d=new e),s(d.format(t,n))};t.log=function(e,t){console.log(h(e,t))},t.format=h}()},function(e,t,n){e.exports=!n(25)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e,t){var n;return"string"==typeof t&&(n=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d*))?(Z|([+\-])(\d{2}):(\d{2}))$/.exec(t))?new Date(Date.UTC(+n[1],+n[2]-1,+n[3],+n[4],+n[5],+n[6],+(n[7]||0))):t}},function(e,t,n){var r=n(213),i=n(5),a=i.BaseFormatter,o={added:r.green,deleted:r.red,movedestination:r.gray,moved:r.yellow,unchanged:r.gray,error:r.white.bgRed,textDiffLine:r.gray},s=function(){this.includeMoveDestinations=!1};s.prototype=new a,s.prototype.prepareContext=function(e){a.prototype.prepareContext.call(this,e),e.indent=function(e){this.indentLevel=(this.indentLevel||0)+("undefined"==typeof e?1:e),this.indentPad=new Array(this.indentLevel+1).join(" "),this.outLine()},e.outLine=function(){this.buffer.push("\n"+(this.indentPad||""))},e.out=function(){for(var e=0,t=arguments.length;e "),e.pushColor(o.added),this.formatValue(e,t[1]),e.popColor()},s.prototype.format_deleted=function(e,t){this.formatValue(e,t[0])},s.prototype.format_moved=function(e,t){e.out("==> "+t[1])},s.prototype.format_textdiff=function(e,t){this.formatTextDiffString(e,t[0])},t.ConsoleFormatter=s;var l,u=function(e,t){return l||(l=new s),l.format(e,t)};t.log=function(e,t){console.log(u(e,t))},t.format=u},function(e,t,n){var r=n(14),i=n(30).DiffPatcher;t.DiffPatcher=i,t.create=function(e){return new i(e)},t.dateReviver=n(20);var a;if(t.diff=function(){return a||(a=new i),a.diff.apply(a,arguments)},t.patch=function(){return a||(a=new i),a.patch.apply(a,arguments)},t.unpatch=function(){return a||(a=new i),a.unpatch.apply(a,arguments)},t.reverse=function(){return a||(a=new i),a.reverse.apply(a,arguments)},r.isBrowser)t.homepage="{{package-homepage}}",t.version="{{package-version}}";else{var o="../package.json",s=n(52)(o);t.homepage=s.homepage,t.version=s.version;var l="./formatters",u=n(52)(l);t.formatters=u,t.console=u.console}},function(e,t){var n=function(e){this.name=e,this.filters=[]};n.prototype.process=function(e){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var t=this.debug,n=this.filters.length,r=e,i=0;i0)for(n in br)r=br[n],i=t[r],g(i)||(e[r]=i);return e}function y(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),wr===!1&&(wr=!0,t.updateOffset(this),wr=!1)}function b(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function M(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=w(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)}function $(e,t){var n=e.toLowerCase();Ar[n]=Ar[n+"s"]=Ar[t]=e}function F(e){return"string"==typeof e?Ar[e]||Ar[e.toLowerCase()]:void 0}function z(e){var t,n,r={};for(n in e)c(e,n)&&(t=F(n),t&&(r[t]=e[n]));return r}function N(e,t){Hr[e]=t}function R(e){var t=[];for(var n in e)t.push({unit:n,priority:Hr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function W(e,n){return function(r){return null!=r?(I(this,e,r),t.updateOffset(this,n),this):B(this,e)}}function B(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function I(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function V(e){return e=F(e),T(this[e])?this[e]():this}function q(e,t){if("object"==typeof e){e=z(e);for(var n=R(e),r=0;r=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function J(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&($r[e]=i),t&&($r[t[0]]=function(){return U(i.apply(this,arguments),t[1],t[2])}),n&&($r[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Pr);for(t=0,n=r.length;t=0&&Er.test(e);)e=e.replace(Er,n),Er.lastIndex=0,r-=1;return e}function Q(e,t,n){ti[e]=T(t)?t:function(e,r){return e&&n?n:t}}function ee(e,t){return c(ti,e)?ti[e](t._strict,t._locale):new RegExp(te(e))}function te(e){return ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function re(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=M(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function we(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Me(e,t,n){var r=7+t-n,i=(7+we(e,0,r).getUTCDay()-t)%7;return-i+r-1}function xe(e,t,n,r,i){var a,o,s=(7+n-r)%7,l=Me(e,r,i),u=1+7*(t-1)+s+l;return u<=0?(a=e-1,o=ge(a)+u):u>ge(e)?(a=e+1,o=u-ge(e)):(a=e,o=u),{year:a,dayOfYear:o}}function ke(e,t,n){var r,i,a=Me(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?(i=e.year()-1,r=o+Le(i,t,n)):o>Le(e.year(),t,n)?(r=o-Le(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function Le(e,t,n){var r=Me(e,t,n),i=Me(e+1,t,n);return(ge(e)-r+i)/7}function Ye(e){return ke(e,this._week.dow,this._week.doy).week}function Te(){return this._week.dow}function De(){return this._week.doy}function Se(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function je(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ce(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ae(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function He(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Pe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ee(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Oe(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?(i=fi.call(this._weekdaysParse,o),i!==-1?i:null):"ddd"===t?(i=fi.call(this._shortWeekdaysParse,o),i!==-1?i:null):(i=fi.call(this._minWeekdaysParse,o),i!==-1?i:null):"dddd"===t?(i=fi.call(this._weekdaysParse,o),i!==-1?i:(i=fi.call(this._shortWeekdaysParse,o),i!==-1?i:(i=fi.call(this._minWeekdaysParse,o),i!==-1?i:null))):"ddd"===t?(i=fi.call(this._shortWeekdaysParse,o),i!==-1?i:(i=fi.call(this._weekdaysParse,o),i!==-1?i:(i=fi.call(this._minWeekdaysParse,o),i!==-1?i:null))):(i=fi.call(this._minWeekdaysParse,o),i!==-1?i:(i=fi.call(this._weekdaysParse,o),i!==-1?i:(i=fi.call(this._shortWeekdaysParse,o),i!==-1?i:null)))}function $e(e,t,n){var r,i,a;if(this._weekdaysParseExact)return Oe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Fe(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ce(e,this.localeData()),this.add(e-t,"d")):t}function ze(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Ne(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ae(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Re(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ie.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=xi),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function We(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ie.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ki),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Be(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ie.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Li),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ie(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(r),s.push(i),l.push(a),u.push(r),u.push(i),u.push(a);for(o.sort(e),s.sort(e),l.sort(e),u.sort(e),t=0;t<7;t++)s[t]=ne(s[t]),l[t]=ne(l[t]),u[t]=ne(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Ve(){return this.hours()%12||12}function qe(){return this.hours()||24}function Ue(e,t){J(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Je(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ke(e){return e?e.toLowerCase().replace("_","-"):e}function Xe(e){for(var t,n,r,i,a=0;a0;){if(r=Qe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}a++}return null}function Qe(t){var r=null;if(!ji[t]&&"undefined"!=typeof e&&e&&e.exports)try{r=Yi._abbr,n(291)("./"+t),et(r)}catch(e){}return ji[t]}function et(e,t){var n;return e&&(n=g(t)?rt(e):tt(e,t),n&&(Yi=n)),Yi._abbr}function tt(e,t){if(null!==t){var n=Si;if(t.abbr=e,null!=ji[e])Y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ji[e]._config;else if(null!=t.parentLocale){if(null==ji[t.parentLocale])return Ci[t.parentLocale]||(Ci[t.parentLocale]=[]),Ci[t.parentLocale].push({name:e,config:t}),null;n=ji[t.parentLocale]._config}return ji[e]=new j(S(n,t)),Ci[e]&&Ci[e].forEach(function(e){tt(e.name,e.config)}),et(e),ji[e]}return delete ji[e],null}function nt(e,t){if(null!=t){var n,r=Si;null!=ji[e]&&(r=ji[e]._config),t=S(r,t),n=new j(t),n.parentLocale=ji[e],ji[e]=n,et(e)}else null!=ji[e]&&(null!=ji[e].parentLocale?ji[e]=ji[e].parentLocale:null!=ji[e]&&delete ji[e]);return ji[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Yi;if(!i(e)){if(t=Qe(e))return t;e=[e]}return Xe(e)}function it(){return Lr(ji)}function at(e){var t,n=e._a;return n&&p(e).overflow===-2&&(t=n[ii]<0||n[ii]>11?ii:n[ai]<1||n[ai]>oe(n[ri],n[ii])?ai:n[oi]<0||n[oi]>24||24===n[oi]&&(0!==n[si]||0!==n[li]||0!==n[ui])?oi:n[si]<0||n[si]>59?si:n[li]<0||n[li]>59?li:n[ui]<0||n[ui]>999?ui:-1,p(e)._overflowDayOfYear&&(tai)&&(t=ai),p(e)._overflowWeeks&&t===-1&&(t=ci),p(e)._overflowWeekday&&t===-1&&(t=di),p(e).overflow=t),e}function ot(e){var t,n,r,i,a,o,s=e._i,l=Ai.exec(s)||Hi.exec(s);if(l){for(p(e).iso=!0,t=0,n=Ei.length;tge(i)&&(p(e)._overflowDayOfYear=!0),n=we(i,0,e._dayOfYear),e._a[ii]=n.getUTCMonth(),e._a[ai]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[oi]&&0===e._a[si]&&0===e._a[li]&&0===e._a[ui]&&(e._nextDay=!0,e._a[oi]=0),e._d=(e._useUTC?we:be).apply(null,a),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[oi]=24)}}function dt(e){var t,n,r,i,a,o,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)a=1,o=4,n=lt(t.GG,e._a[ri],ke(bt(),1,4).year),r=lt(t.W,1),i=lt(t.E,1),(i<1||i>7)&&(l=!0);else{a=e._locale._week.dow,o=e._locale._week.doy;var u=ke(bt(),a,o);n=lt(t.gg,e._a[ri],u.year),r=lt(t.w,u.week),null!=t.d?(i=t.d,(i<0||i>6)&&(l=!0)):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):i=a}r<1||r>Le(n,a,o)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=xe(n,r,i,a,o),e._a[ri]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===t.ISO_8601)return void ot(e);e._a=[],p(e).empty=!0;var n,r,i,a,o,s=""+e._i,l=s.length,u=0;for(i=X(e._f,e._locale).match(Pr)||[],n=0;n0&&p(e).unusedInput.push(o),s=s.slice(s.indexOf(r)+r.length),u+=r.length),$r[a]?(r?p(e).empty=!1:p(e).unusedTokens.push(a),ae(a,r,e)):e._strict&&!r&&p(e).unusedTokens.push(a);p(e).charsLeftOver=l-u,s.length>0&&p(e).unusedInput.push(s),e._a[oi]<=12&&p(e).bigHour===!0&&e._a[oi]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[oi]=ht(e._locale,e._a[oi],e._meridiem),ct(e),at(e)}function ht(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,a;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ft(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):bt(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function zt(){return!!this.isValid()&&!this._isUTC}function Nt(){return!!this.isValid()&&this._isUTC}function Rt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Wt(e,t){var n,r,i,a=e,o=null;return Lt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(a={},t?a[t]=e:a.milliseconds=e):(o=Wi.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:M(o[ai])*n,h:M(o[oi])*n,m:M(o[si])*n,s:M(o[li])*n,ms:M(Yt(1e3*o[ui]))*n}):(o=Bi.exec(e))?(n="-"===o[1]?-1:1,a={y:Bt(o[2],n),M:Bt(o[3],n),w:Bt(o[4],n),d:Bt(o[5],n),h:Bt(o[6],n),m:Bt(o[7],n),s:Bt(o[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=Vt(bt(a.from),bt(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),r=new kt(a),Lt(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Bt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function It(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Vt(e,t){var n;return e.isValid()&&t.isValid()?(t=St(t,e),e.isBefore(t)?n=It(e,t):(n=It(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function qt(e,t){return function(n,r){var i,a;return null===r||isNaN(+r)||(Y(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),n="string"==typeof n?+n:n,i=Wt(n,r),Ut(this,i,e),this}}function Ut(e,n,r,i){var a=n._milliseconds,o=Yt(n._days),s=Yt(n._months);e.isValid()&&(i=null==i||i,a&&e._d.setTime(e._d.valueOf()+a*r),o&&I(e,"Date",B(e,"Date")+o*r),s&&de(e,B(e,"Month")+s*r),i&&t.updateOffset(e,o||s))}function Jt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,n){var r=e||bt(),i=St(r,this).startOf("day"),a=t.calendarFormat(this,i)||"sameElse",o=n&&(T(n[a])?n[a].call(this,r):n[a]);return this.format(o||this.localeData().calendar(a,this,bt(r)))}function Zt(){return new y(this)}function Kt(e,t){var n=b(e)?e:bt(e);return!(!this.isValid()||!n.isValid())&&(t=F(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()a&&(t=a),Pn.call(this,e,t,n,r,i))}function Pn(e,t,n,r,i){var a=xe(e,t,n,r,i),o=we(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function En(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function On(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function $n(e,t){t[ui]=M(1e3*("0."+e))}function Fn(){return this._isUTC?"UTC":""}function zn(){return this._isUTC?"Coordinated Universal Time":""}function Nn(e){return bt(1e3*e)}function Rn(){return bt.apply(null,arguments).parseZone()}function Wn(e){return e}function Bn(e,t,n,r){var i=rt(),a=f().set(r,t);return i[n](a,e)}function In(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Bn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Bn(e,r,n,"month");return i}function Vn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t, +t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i=rt(),a=e?i._week.dow:0;if(null!=n)return Bn(t,(n+a)%7,r,"day");var o,l=[];for(o=0;o<7;o++)l[o]=Bn(t,(o+a)%7,r,"day");return l}function qn(e,t){return In(e,t,"months")}function Un(e,t){return In(e,t,"monthsShort")}function Jn(e,t,n){return Vn(e,t,n,"weekdays")}function Gn(e,t,n){return Vn(e,t,n,"weekdaysShort")}function Zn(e,t,n){return Vn(e,t,n,"weekdaysMin")}function Kn(){var e=this._data;return this._milliseconds=ea(this._milliseconds),this._days=ea(this._days),this._months=ea(this._months),e.milliseconds=ea(e.milliseconds),e.seconds=ea(e.seconds),e.minutes=ea(e.minutes),e.hours=ea(e.hours),e.months=ea(e.months),e.years=ea(e.years),this}function Xn(e,t,n,r){var i=Wt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Qn(e,t){return Xn(this,e,t,1)}function er(e,t){return Xn(this,e,t,-1)}function tr(e){return e<0?Math.floor(e):Math.ceil(e)}function nr(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*tr(ir(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=w(a/1e3),l.seconds=e%60,t=w(e/60),l.minutes=t%60,n=w(t/60),l.hours=n%24,o+=w(n/24),i=w(rr(o)),s+=i,o-=tr(ir(i)),r=w(s/12),s%=12,l.days=o,l.months=s,l.years=r,this}function rr(e){return 4800*e/146097}function ir(e){return 146097*e/4800}function ar(e){var t,n,r=this._milliseconds;if(e=F(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+rr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ir(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*M(this._months/12)}function sr(e){return function(){return this.as(e)}}function lr(e){return e=F(e),this[e+"s"]()}function ur(e){return function(){return this._data[e]}}function cr(){return w(this.days()/7)}function dr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function fr(e,t,n){var r=Wt(e).abs(),i=_a(r.as("s")),a=_a(r.as("m")),o=_a(r.as("h")),s=_a(r.as("d")),l=_a(r.as("M")),u=_a(r.as("y")),c=i0,c[4]=n,dr.apply(null,c)}function hr(e){return void 0===e?_a:"function"==typeof e&&(_a=e,!0)}function pr(e,t){return void 0!==ga[e]&&(void 0===t?ga[e]:(ga[e]=t,!0))}function mr(e){var t=this.localeData(),n=fr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function _r(){var e,t,n,r=va(this._milliseconds)/1e3,i=va(this._days),a=va(this._months);e=w(r/60),t=w(e/60),r%=60,e%=60,n=w(a/12),a%=12;var o=n,s=a,l=i,u=t,c=e,d=r,f=this.asSeconds();return f?(f<0?"-":"")+"P"+(o?o+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(u||c||d?"T":"")+(u?u+"H":"")+(c?c+"M":"")+(d?d+"S":""):"P0D"}var gr,vr;vr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var vi=W("FullYear",!0);J("w",["ww",2],"wo","week"),J("W",["WW",2],"Wo","isoWeek"),$("week","w"),$("isoWeek","W"),N("week",5),N("isoWeek",5),Q("w",Br),Q("ww",Br,zr),Q("W",Br),Q("WW",Br,zr),ie(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=M(e)});var yi={dow:0,doy:6};J("d",0,"do","day"),J("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),J("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),J("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),J("e",0,0,"weekday"),J("E",0,0,"isoWeekday"),$("day","d"),$("weekday","e"),$("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),Q("d",Br),Q("e",Br),Q("E",Br),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),ie(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),ie(["d","e","E"],function(e,t,n,r){t[r]=M(e)});var bi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),wi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Mi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xi=ei,ki=ei,Li=ei;J("H",["HH",2],0,"hour"),J("h",["hh",2],0,Ve),J("k",["kk",2],0,qe),J("hmm",0,0,function(){return""+Ve.apply(this)+U(this.minutes(),2)}),J("hmmss",0,0,function(){return""+Ve.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),J("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),J("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)}),Ue("a",!0),Ue("A",!1),$("hour","h"),N("hour",13),Q("a",Je),Q("A",Je),Q("H",Br),Q("h",Br),Q("HH",Br,zr),Q("hh",Br,zr),Q("hmm",Ir),Q("hmmss",Vr),Q("Hmm",Ir),Q("Hmmss",Vr),re(["H","HH"],oi),re(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),re(["h","hh"],function(e,t,n){t[oi]=M(e),p(n).bigHour=!0}),re("hmm",function(e,t,n){var r=e.length-2;t[oi]=M(e.substr(0,r)),t[si]=M(e.substr(r)),p(n).bigHour=!0}),re("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[oi]=M(e.substr(0,r)),t[si]=M(e.substr(r,2)),t[li]=M(e.substr(i)),p(n).bigHour=!0}),re("Hmm",function(e,t,n){var r=e.length-2;t[oi]=M(e.substr(0,r)),t[si]=M(e.substr(r))}),re("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[oi]=M(e.substr(0,r)),t[si]=M(e.substr(r,2)),t[li]=M(e.substr(i))});var Yi,Ti=/[ap]\.?m?\.?/i,Di=W("Hours",!0),Si={calendar:Yr,longDateFormat:Tr,invalidDate:Dr,ordinal:Sr,ordinalParse:jr,relativeTime:Cr,months:pi,monthsShort:mi,week:yi,weekdays:bi,weekdaysMin:Mi,weekdaysShort:wi,meridiemParse:Ti},ji={},Ci={},Ai=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Hi=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Pi=/Z|[+-]\d\d(?::?\d\d)?/,Ei=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Oi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],$i=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=L("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),t.ISO_8601=function(){};var Fi=L("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=bt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:_()}),Ni=function(){return Date.now?Date.now():+new Date};Tt("Z",":"),Tt("ZZ",""),Q("Z",Xr),Q("ZZ",Xr),re(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Dt(Xr,e)});var Ri=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Wi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Bi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Wt.fn=kt.prototype;var Ii=qt(1,"add"),Vi=qt(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var qi=L("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});J(0,["gg",2],0,function(){return this.weekYear()%100}),J(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Dn("gggg","weekYear"),Dn("ggggg","weekYear"),Dn("GGGG","isoWeekYear"),Dn("GGGGG","isoWeekYear"),$("weekYear","gg"),$("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),Q("G",Zr),Q("g",Zr),Q("GG",Br,zr),Q("gg",Br,zr),Q("GGGG",Ur,Rr),Q("gggg",Ur,Rr),Q("GGGGG",Jr,Wr),Q("ggggg",Jr,Wr),ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=M(e)}),ie(["gg","GG"],function(e,n,r,i){n[i]=t.parseTwoDigitYear(e)}),J("Q",0,"Qo","quarter"),$("quarter","Q"),N("quarter",7),Q("Q",Fr),re("Q",function(e,t){t[ii]=3*(M(e)-1)}),J("D",["DD",2],"Do","date"),$("date","D"),N("date",9),Q("D",Br),Q("DD",Br,zr),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),re(["D","DD"],ai),re("Do",function(e,t){t[ai]=M(e.match(Br)[0],10)});var Ui=W("Date",!0);J("DDD",["DDDD",3],"DDDo","dayOfYear"),$("dayOfYear","DDD"),N("dayOfYear",4),Q("DDD",qr),Q("DDDD",Nr),re(["DDD","DDDD"],function(e,t,n){n._dayOfYear=M(e)}),J("m",["mm",2],0,"minute"),$("minute","m"),N("minute",14),Q("m",Br),Q("mm",Br,zr),re(["m","mm"],si);var Ji=W("Minutes",!1);J("s",["ss",2],0,"second"),$("second","s"),N("second",15),Q("s",Br),Q("ss",Br,zr),re(["s","ss"],li);var Gi=W("Seconds",!1);J("S",0,0,function(){return~~(this.millisecond()/100)}),J(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),J(0,["SSS",3],0,"millisecond"),J(0,["SSSS",4],0,function(){return 10*this.millisecond()}),J(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),J(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),J(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),J(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),J(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),$("millisecond","ms"),N("millisecond",16),Q("S",qr,Fr),Q("SS",qr,zr),Q("SSS",qr,Nr);var Zi;for(Zi="SSSS";Zi.length<=9;Zi+="S")Q(Zi,Gr);for(Zi="S";Zi.length<=9;Zi+="S")re(Zi,$n);var Ki=W("Milliseconds",!1);J("z",0,0,"zoneAbbr"),J("zz",0,0,"zoneName");var Xi=y.prototype;Xi.add=Ii,Xi.calendar=Gt,Xi.clone=Zt,Xi.diff=rn,Xi.endOf=gn,Xi.format=un,Xi.from=cn,Xi.fromNow=dn,Xi.to=fn,Xi.toNow=hn,Xi.get=V,Xi.invalidAt=Yn,Xi.isAfter=Kt,Xi.isBefore=Xt,Xi.isBetween=Qt,Xi.isSame=en,Xi.isSameOrAfter=tn,Xi.isSameOrBefore=nn,Xi.isValid=kn,Xi.lang=qi,Xi.locale=pn,Xi.localeData=mn,Xi.max=zi,Xi.min=Fi,Xi.parsingFlags=Ln,Xi.set=q,Xi.startOf=_n,Xi.subtract=Vi,Xi.toArray=wn,Xi.toObject=Mn,Xi.toDate=bn,Xi.toISOString=sn,Xi.inspect=ln,Xi.toJSON=xn,Xi.toString=on,Xi.unix=yn,Xi.valueOf=vn,Xi.creationData=Tn,Xi.year=vi,Xi.isLeapYear=ye,Xi.weekYear=Sn,Xi.isoWeekYear=jn,Xi.quarter=Xi.quarters=En,Xi.month=fe,Xi.daysInMonth=he,Xi.week=Xi.weeks=Se,Xi.isoWeek=Xi.isoWeeks=je,Xi.weeksInYear=An,Xi.isoWeeksInYear=Cn,Xi.date=Ui,Xi.day=Xi.days=Fe,Xi.weekday=ze,Xi.isoWeekday=Ne,Xi.dayOfYear=On,Xi.hour=Xi.hours=Di,Xi.minute=Xi.minutes=Ji,Xi.second=Xi.seconds=Gi,Xi.millisecond=Xi.milliseconds=Ki,Xi.utcOffset=Ct,Xi.utc=Ht,Xi.local=Pt,Xi.parseZone=Et,Xi.hasAlignedHourOffset=Ot,Xi.isDST=$t,Xi.isLocal=zt,Xi.isUtcOffset=Nt,Xi.isUtc=Rt,Xi.isUTC=Rt,Xi.zoneAbbr=Fn,Xi.zoneName=zn,Xi.dates=L("dates accessor is deprecated. Use date instead.",Ui),Xi.months=L("months accessor is deprecated. Use month instead",fe),Xi.years=L("years accessor is deprecated. Use year instead",vi),Xi.zone=L("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",At),Xi.isDSTShifted=L("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ft);var Qi=j.prototype;Qi.calendar=C,Qi.longDateFormat=A,Qi.invalidDate=H,Qi.ordinal=P,Qi.preparse=Wn,Qi.postformat=Wn,Qi.relativeTime=E,Qi.pastFuture=O,Qi.set=D,Qi.months=se,Qi.monthsShort=le,Qi.monthsParse=ce,Qi.monthsRegex=me,Qi.monthsShortRegex=pe,Qi.week=Ye,Qi.firstDayOfYear=De,Qi.firstDayOfWeek=Te,Qi.weekdays=He,Qi.weekdaysMin=Ee,Qi.weekdaysShort=Pe,Qi.weekdaysParse=$e,Qi.weekdaysRegex=Re,Qi.weekdaysShortRegex=We,Qi.weekdaysMinRegex=Be,Qi.isPM=Ge,Qi.meridiem=Ze,et("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===M(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),t.lang=L("moment.lang is deprecated. Use moment.locale instead.",et),t.langData=L("moment.langData is deprecated. Use moment.localeData instead.",rt);var ea=Math.abs,ta=sr("ms"),na=sr("s"),ra=sr("m"),ia=sr("h"),aa=sr("d"),oa=sr("w"),sa=sr("M"),la=sr("y"),ua=ur("milliseconds"),ca=ur("seconds"),da=ur("minutes"),fa=ur("hours"),ha=ur("days"),pa=ur("months"),ma=ur("years"),_a=Math.round,ga={s:45,m:45,h:22,d:26,M:11},va=Math.abs,ya=kt.prototype;return ya.abs=Kn,ya.add=Qn,ya.subtract=er,ya.as=ar,ya.asMilliseconds=ta,ya.asSeconds=na,ya.asMinutes=ra,ya.asHours=ia,ya.asDays=aa,ya.asWeeks=oa,ya.asMonths=sa,ya.asYears=la,ya.valueOf=or,ya._bubble=nr,ya.get=lr,ya.milliseconds=ua,ya.seconds=ca,ya.minutes=da,ya.hours=fa,ya.days=ha,ya.weeks=cr,ya.months=pa,ya.years=ma,ya.humanize=mr,ya.toISOString=_r,ya.toString=_r,ya.toJSON=_r,ya.locale=pn,ya.localeData=mn,ya.toIsoString=L("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",_r),ya.lang=qi,J("X",0,0,"unix"),J("x",0,0,"valueOf"),Q("x",Zr),Q("X",Qr),re("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),re("x",function(e,t,n){n._d=new Date(M(e))}),t.version="2.17.1",r(bt),t.fn=Xi,t.min=Mt,t.max=xt,t.now=Ni,t.utc=f,t.unix=Nn,t.months=qn,t.isDate=l,t.locale=et,t.invalid=_,t.duration=Wt,t.isMoment=b,t.weekdays=Jn,t.parseZone=Rn,t.localeData=rt,t.isDuration=Lt,t.monthsShort=Un,t.weekdaysMin=Zn,t.defineLocale=tt,t.updateLocale=nt,t.locales=it,t.weekdaysShort=Gn,t.normalizeUnits=F,t.relativeTimeRounding=hr,t.relativeTimeThreshold=pr,t.calendarFormat=Jt,t.prototype=Xi,t})}).call(t,n(169)(e))},,function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&g.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",a(e,t),t}function l(e,t){var n,r,i;if(t.singleton){var a=_++;n=m||(m=s(t)),r=u.bind(null,n,a,!1),i=u.bind(null,n,a,!0)}else n=s(t),r=c.bind(null,n),i=function(){o(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function u(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=v(t,i);else{var a=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(a,o[t]):e.appendChild(a)}}function c(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var d={},f=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},h=f(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),p=f(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,_=0,g=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=i(e);return r(n,t),function(e){for(var a=[],o=0;oe.length?n:e}),u.value=e.join(d)}else u.value=e.join(n.slice(s,s+u.count));s+=u.count,u.added||(l+=u.count)}}var f=t[o-1];return o>1&&(f.added||f.removed)&&e.equals("",f.value)&&(t[o-2].value+=f.value,t.pop()),t}function i(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){function n(e){return s?(setTimeout(function(){s(void 0,e)},0),!0):e}function a(){for(var a=-1*d;a<=d;a+=2){var o=void 0,s=h[a-1],f=h[a+1],p=(f?f.newPos:0)-a;s&&(h[a-1]=void 0);var m=s&&s.newPos+1=u&&p+1>=c)return n(r(l,o.components,t,e,l.useLongestToken));h[a]=o}else h[a]=void 0}d++}var o=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],s=o.callback;"function"==typeof o&&(s=o,o={}),this.options=o;var l=this;e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var u=t.length,c=e.length,d=1,f=u+c,h=[{newPos:-1,components:[]}],p=this.extractCommon(h[0],t,e,0);if(h[0].newPos+1>=u&&p+1>=c)return n([{value:this.join(t),count:t.length}]);if(s)!function e(){setTimeout(function(){return d>f?s():void(a()||e())},0)}();else for(;d<=f;){var m=a();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var i=t.length,a=n.length,o=e.newPos,s=o-r,l=0;o+11)for(var r=0,i=n.length;r=1&&(delete n[i],a.s=1,e--,function(e){setTimeout(function(){t("mina.finish."+e.id,e)})}(a)),a.update()}e&&r(_)},g=function(e,t,i,a,o,l,v){var y={id:s(),start:e,end:t,b:i,s:0,dur:a-i,spd:1,get:o,set:l,easing:v||g.linear,status:u,speed:c,duration:d,stop:f,pause:h,resume:p,update:m};n[y.id]=y;var b,w=0;for(b in n)if(n.hasOwnProperty(b)&&(w++,2==w))break;return 1==w&&r(_),y};return g.time=l,g.getById=function(e){return n[e]||null},g.linear=function(e){return e},g.easeout=function(e){return Math.pow(e,1.7)},g.easein=function(e){return Math.pow(e,.48)},g.easeinout=function(e){if(1==e)return 1;if(0==e)return 0;var t=.48-e/1.04,n=Math.sqrt(.1734+t*t),r=n-t,i=Math.pow(Math.abs(r),1/3)*(r<0?-1:1),a=-n-t,o=Math.pow(Math.abs(a),1/3)*(a<0?-1:1),s=i+o+.5;return 3*(1-s)*s*s+s*s*s},g.backin=function(e){if(1==e)return 1;var t=1.70158;return e*e*((t+1)*e-t)},g.backout=function(e){if(0==e)return 0;e-=1;var t=1.70158;return e*e*((t+1)*e+t)+1},g.elastic=function(e){return e==!!e?e:Math.pow(2,-10*e)*Math.sin((e-.075)*(2*Math.PI)/.3)+1},g.bounce=function(e){var t,n=7.5625,r=2.75;return e<1/r?t=n*e*e:e<2/r?(e-=1.5/r,t=n*e*e+.75):e<2.5/r?(e-=2.25/r,t=n*e*e+.9375):(e-=2.625/r,t=n*e*e+.984375),t},e.mina=g,g}("undefined"==typeof t?function(){}:t),r=function(e){function n(e,t){if(e){if(e.nodeType)return M(e);if(i(e,"array")&&n.set)return n.set.apply(n,e);if(e instanceof v)return e;if(null==t)return e=k.doc.querySelector(String(e)),M(e)}return e=null==e?"100%":e,t=null==t?"100%":t,new w(e,t)}function r(e,t){if(t){if("#text"==e&&(e=k.doc.createTextNode(t.text||t["#text"]||"")),"#comment"==e&&(e=k.doc.createComment(t.text||t["#text"]||"")),"string"==typeof e&&(e=r(e)),"string"==typeof t)return 1==e.nodeType?"xlink:"==t.substring(0,6)?e.getAttributeNS(V,t.substring(6)):"xml:"==t.substring(0,4)?e.getAttributeNS(q,t.substring(4)):e.getAttribute(t):"text"==t?e.nodeValue:null;if(1==e.nodeType){for(var n in t)if(t[L](n)){var i=Y(t[n]);i?"xlink:"==n.substring(0,6)?e.setAttributeNS(V,n.substring(6),i):"xml:"==n.substring(0,4)?e.setAttributeNS(q,n.substring(4),i):e.setAttribute(n,i):e.removeAttribute(n)}}else"text"in t&&(e.nodeValue=t.text)}else e=k.doc.createElementNS(q,e);return e}function i(e,t){return t=Y.prototype.toLowerCase.call(t),"finite"==t?isFinite(e):!("array"!=t||!(e instanceof Array||Array.isArray&&Array.isArray(e)))||("null"==t&&null===e||t==typeof e&&null!==e||"object"==t&&e===Object(e)||E.call(e).slice(8,-1).toLowerCase()==t)}function a(e){if("function"==typeof e||Object(e)!==e)return e; +var t=new e.constructor;for(var n in e)e[L](n)&&(t[n]=a(e[n]));return t}function o(e,t){for(var n=0,r=e.length;n=1e3&&delete s[l.shift()],l.push(a),s[a]=e.apply(t,i),n?n(s[a]):s[a])}return r}function l(e,t,n,r,i,a){if(null==i){var o=e-n,s=t-r;return o||s?(180+180*S.atan2(-s,-o)/H+360)%360:0}return l(e,t,i,a)-l(n,r,i,a)}function u(e){return e%360*H/180}function c(e){return 180*e/H%360}function d(e){var t=[];return e=e.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(e,n,r){return r=r.split(/\s*,\s*|\s+/),"rotate"==n&&1==r.length&&r.push(0,0),"scale"==n&&(r.length>2?r=r.slice(0,2):2==r.length&&r.push(0,0),1==r.length&&r.push(r[0],0,0)),"skewX"==n?t.push(["m",1,0,S.tan(u(r[0])),1,0,0]):"skewY"==n?t.push(["m",1,S.tan(u(r[0])),0,1,0,0]):t.push([n.charAt(0)].concat(r)),e}),t}function f(e,t){var r=ee(e),i=new n.Matrix;if(r)for(var a=0,o=r.length;a.5;){var h,p,m,_,g,v;(m=a-c)>=0&&(g=r(h=l.getPointAtLength(m)))e-n)return t-a+e}return t},n.getRGB=s(function(e){if(!e||(e=Y(e)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:K};if("none"==e)return{r:-1,g:-1,b:-1,hex:"none",toString:K};if(!(F[L](e.toLowerCase().substring(0,2))||"#"==e.charAt())&&(e=J(e)),!e)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:K};var t,r,a,o,s,l,u=e.match(O);return u?(u[2]&&(a=D(u[2].substring(5),16),r=D(u[2].substring(3,5),16),t=D(u[2].substring(1,3),16)),u[3]&&(a=D((s=u[3].charAt(3))+s,16),r=D((s=u[3].charAt(2))+s,16),t=D((s=u[3].charAt(1))+s,16)),u[4]&&(l=u[4].split($),t=T(l[0]),"%"==l[0].slice(-1)&&(t*=2.55),r=T(l[1]),"%"==l[1].slice(-1)&&(r*=2.55),a=T(l[2]),"%"==l[2].slice(-1)&&(a*=2.55),"rgba"==u[1].toLowerCase().slice(0,4)&&(o=T(l[3])),l[3]&&"%"==l[3].slice(-1)&&(o/=100)),u[5]?(l=u[5].split($),t=T(l[0]),"%"==l[0].slice(-1)&&(t/=100),r=T(l[1]),"%"==l[1].slice(-1)&&(r/=100),a=T(l[2]),"%"==l[2].slice(-1)&&(a/=100),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(t/=360),"hsba"==u[1].toLowerCase().slice(0,4)&&(o=T(l[3])),l[3]&&"%"==l[3].slice(-1)&&(o/=100),n.hsb2rgb(t,r,a,o)):u[6]?(l=u[6].split($),t=T(l[0]),"%"==l[0].slice(-1)&&(t/=100),r=T(l[1]),"%"==l[1].slice(-1)&&(r/=100),a=T(l[2]),"%"==l[2].slice(-1)&&(a/=100),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(t/=360),"hsla"==u[1].toLowerCase().slice(0,4)&&(o=T(l[3])),l[3]&&"%"==l[3].slice(-1)&&(o/=100),n.hsl2rgb(t,r,a,o)):(t=C(S.round(t),255),r=C(S.round(r),255),a=C(S.round(a),255),o=C(j(o,0),1),u={r:t,g:r,b:a,toString:K},u.hex="#"+(16777216|a|r<<8|t<<16).toString(16).slice(1),u.opacity=i(o,"finite")?o:1,u)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:K}},n),n.hsb=s(function(e,t,r){return n.hsb2rgb(e,t,r).hex}),n.hsl=s(function(e,t,r){return n.hsl2rgb(e,t,r).hex}),n.rgb=s(function(e,t,n,r){if(i(r,"finite")){var a=S.round;return"rgba("+[a(e),a(t),a(n),+r.toFixed(2)]+")"}return"#"+(16777216|n|t<<8|e<<16).toString(16).slice(1)});var J=function(e){var t=k.doc.getElementsByTagName("head")[0]||k.doc.getElementsByTagName("svg")[0],n="rgb(255, 0, 0)";return(J=s(function(e){if("red"==e.toLowerCase())return n;t.style.color=n,t.style.color=e;var r=k.doc.defaultView.getComputedStyle(t,P).getPropertyValue("color");return r==n?null:r}))(e)},G=function(){return"hsb("+[this.h,this.s,this.b]+")"},Z=function(){return"hsl("+[this.h,this.s,this.l]+")"},K=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},X=function(e,t,r){if(null==t&&i(e,"object")&&"r"in e&&"g"in e&&"b"in e&&(r=e.b,t=e.g,e=e.r),null==t&&i(e,string)){var a=n.getRGB(e);e=a.r,t=a.g,r=a.b}return(e>1||t>1||r>1)&&(e/=255,t/=255,r/=255),[e,t,r]},Q=function(e,t,r,a){e=S.round(255*e),t=S.round(255*t),r=S.round(255*r);var o={r:e,g:t,b:r,opacity:i(a,"finite")?a:1,hex:n.rgb(e,t,r),toString:K};return i(a,"finite")&&(o.opacity=a),o};n.color=function(e){var t;return i(e,"object")&&"h"in e&&"s"in e&&"b"in e?(t=n.hsb2rgb(e),e.r=t.r,e.g=t.g,e.b=t.b,e.opacity=1,e.hex=t.hex):i(e,"object")&&"h"in e&&"s"in e&&"l"in e?(t=n.hsl2rgb(e),e.r=t.r,e.g=t.g,e.b=t.b,e.opacity=1,e.hex=t.hex):(i(e,"string")&&(e=n.getRGB(e)),i(e,"object")&&"r"in e&&"g"in e&&"b"in e&&!("error"in e)?(t=n.rgb2hsl(e),e.h=t.h,e.s=t.s,e.l=t.l,t=n.rgb2hsb(e),e.v=t.b):(e={hex:"none"},e.r=e.g=e.b=e.h=e.s=e.v=e.l=-1,e.error=1)),e.toString=K,e},n.hsb2rgb=function(e,t,n,r){i(e,"object")&&"h"in e&&"s"in e&&"b"in e&&(n=e.b,t=e.s,r=e.o,e=e.h),e*=360;var a,o,s,l,u;return e=e%360/60,u=n*t,l=u*(1-A(e%2-1)),a=o=s=n-u,e=~~e,a+=[u,l,0,0,l,u][e],o+=[l,u,u,l,0,0][e],s+=[0,0,l,u,u,l][e],Q(a,o,s,r)},n.hsl2rgb=function(e,t,n,r){i(e,"object")&&"h"in e&&"s"in e&&"l"in e&&(n=e.l,t=e.s,e=e.h),(e>1||t>1||n>1)&&(e/=360,t/=100,n/=100),e*=360;var a,o,s,l,u;return e=e%360/60,u=2*t*(n<.5?n:1-n),l=u*(1-A(e%2-1)),a=o=s=n-u/2,e=~~e,a+=[u,l,0,0,l,u][e],o+=[l,u,u,l,0,0][e],s+=[0,0,l,u,u,l][e],Q(a,o,s,r)},n.rgb2hsb=function(e,t,n){n=X(e,t,n),e=n[0],t=n[1],n=n[2];var r,i,a,o;return a=j(e,t,n),o=a-C(e,t,n),r=0==o?null:a==e?(t-n)/o:a==t?(n-e)/o+2:(e-t)/o+4,r=(r+360)%6*60/360,i=0==o?0:o/a,{h:r,s:i,b:a,toString:G}},n.rgb2hsl=function(e,t,n){n=X(e,t,n),e=n[0],t=n[1],n=n[2];var r,i,a,o,s,l;return o=j(e,t,n),s=C(e,t,n),l=o-s,r=0==l?null:o==e?(t-n)/l:o==t?(n-e)/l+2:(e-t)/l+4,r=(r+360)%6*60/360,a=(o+s)/2,i=0==l?0:a<.5?l/(2*a):l/(2-2*a),{h:r,s:i,l:a,toString:Z}},n.parsePathString=function(e){if(!e)return null;var t=n.path(e);if(t.arr)return n.path.clone(t.arr);var r={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},a=[];return i(e,"array")&&i(e[0],"array")&&(a=n.path.clone(e)),a.length||Y(e).replace(z,function(e,t,n){var i=[],o=t.toLowerCase();if(n.replace(R,function(e,t){t&&i.push(+t)}),"m"==o&&i.length>2&&(a.push([t].concat(i.splice(0,2))),o="l",t="m"==t?"l":"L"),"o"==o&&1==i.length&&a.push([t,i[0]]),"r"==o)a.push([t].concat(i));else for(;i.length>=r[o]&&(a.push([t].concat(i.splice(0,r[o]))),r[o]););}),a.toString=n.path.toString,t.arr=n.path.clone(a),a};var ee=n.parseTransformString=function(e){if(!e)return null;var t=[];return i(e,"array")&&i(e[0],"array")&&(t=n.path.clone(e)),t.length||Y(e).replace(N,function(e,n,r){var i=[];n.toLowerCase();r.replace(R,function(e,t){t&&i.push(+t)}),t.push([n].concat(i))}),t.toString=n.path.toString,t};n._.svgTransform2string=d,n._.rgTransform=/^[a-z][\s]*-?\.?\d/i,n._.transform2matrix=f,n._unit2px=m;k.doc.contains||k.doc.compareDocumentPosition?function(e,t){var n=9==e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e==r||!(!r||1!=r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t;)if(t=t.parentNode,t==e)return!0;return!1};n._.getSomeDefs=h,n._.getSomeSVG=p,n.select=function(e){return e=Y(e).replace(/([^\\]):/g,"$1\\:"),M(k.doc.querySelector(e))},n.selectAll=function(e){for(var t=k.doc.querySelectorAll(e),r=(n.set||Array)(),i=0;i1))return t("snap.util.getattr."+e,r).firstDefined();var c={};c[e]=n,e=c}for(var d in e)e[L](d)&&t("snap.util.attr."+d,r,e[d]);return r},n.parse=function(e){var t=k.doc.createDocumentFragment(),n=!0,r=k.doc.createElement("div");if(e=Y(e),e.match(/^\s*<\s*svg(?:\s|>)/)||(e=""+e+"",n=!1),r.innerHTML=e,e=r.getElementsByTagName("svg")[0])if(n)t=e;else for(;e.firstChild;)t.appendChild(e.firstChild);return new y(t)},n.fragment=function(){for(var e=Array.prototype.slice.call(arguments,0),t=k.doc.createDocumentFragment(),r=0,i=e.length;r")}else e&&(t+="/>");return t}}var f=i.prototype,h=r.is,p=String,m=r._unit2px,_=r._.$,g=r._.make,v=r._.getSomeDefs,y="hasOwnProperty",b=r._.wrap;f.getBBox=function(e){if(!r.Matrix||!r.path)return this.node.getBBox();var t=this,n=new r.Matrix;if(t.removed)return r._.box();for(;"use"==t.type;)if(e||(n=n.add(t.transform().localMatrix.translate(t.attr("x")||0,t.attr("y")||0))),t.original)t=t.original;else{var i=t.attr("xlink:href");t=t.original=t.node.ownerDocument.getElementById(i.substring(i.indexOf("#")+1))}var a=t._,o=r.path.get[t.type]||r.path.get.deflt;try{return e?(a.bboxwt=o?r.path.getBBox(t.realPath=o(t)):r._.box(t.node.getBBox()),r._.box(a.bboxwt)):(t.realPath=o(t),t.matrix=t.transform().localMatrix,a.bbox=r.path.getBBox(r.path.map(t.realPath,n.add(t.matrix))),r._.box(a.bbox))}catch(e){return r._.box()}};var w=function(){return this.string};f.transform=function(e){var t=this._;if(null==e){for(var n,i=this,a=new r.Matrix(this.node.getCTM()),o=l(this),s=[o],u=new r.Matrix,c=o.toTransformString(),d=p(o)==p(this.matrix)?p(t.transform):c;"svg"!=i.type&&(i=i.parent());)s.push(l(i));for(n=s.length;n--;)u.add(s[n]);return{string:d,globalMatrix:a,totalMatrix:u,localMatrix:o,diffMatrix:a.clone().add(o.invert()),global:a.toTransformString(),total:u.toTransformString(),local:c,toString:w}}return e instanceof r.Matrix?(this.matrix=e,this._.transform=e.toTransformString()):l(this,e),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?_(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?_(this.node,{patternTransform:this.matrix}):_(this.node,{transform:this.matrix})),this},f.parent=function(){return b(this.node.parentNode)},f.append=f.add=function(e){if(e){if("set"==e.type){var t=this;return e.forEach(function(e){t.add(e)}),this}e=b(e),this.node.appendChild(e.node),e.paper=this.paper}return this},f.appendTo=function(e){return e&&(e=b(e),e.append(this)),this},f.prepend=function(e){if(e){if("set"==e.type){var t,n=this;return e.forEach(function(e){t?t.after(e):n.prepend(e),t=e}),this}e=b(e);var r=e.parent();this.node.insertBefore(e.node,this.node.firstChild),this.add&&this.add(),e.paper=this.paper,this.parent()&&this.parent().add(),r&&r.add()}return this},f.prependTo=function(e){return e=b(e),e.prepend(this),this},f.before=function(e){if("set"==e.type){var t=this;return e.forEach(function(e){var n=e.parent();t.node.parentNode.insertBefore(e.node,t.node),n&&n.add()}),this.parent().add(),this}e=b(e);var n=e.parent();return this.node.parentNode.insertBefore(e.node,this.node),this.parent()&&this.parent().add(),n&&n.add(),e.paper=this.paper,this},f.after=function(e){e=b(e);var t=e.parent();return this.node.nextSibling?this.node.parentNode.insertBefore(e.node,this.node.nextSibling):this.node.parentNode.appendChild(e.node),this.parent()&&this.parent().add(),t&&t.add(),e.paper=this.paper,this},f.insertBefore=function(e){e=b(e);var t=this.parent();return e.node.parentNode.insertBefore(this.node,e.node),this.paper=e.paper,t&&t.add(),e.parent()&&e.parent().add(),this},f.insertAfter=function(e){e=b(e);var t=this.parent();return e.node.parentNode.insertBefore(this.node,e.node.nextSibling),this.paper=e.paper,t&&t.add(),e.parent()&&e.parent().add(),this},f.remove=function(){var e=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,e&&e.add(),this},f.select=function(e){return e=p(e).replace(/([^\\]):/g,"$1\\:"),b(this.node.querySelector(e))},f.selectAll=function(e){for(var t=this.node.querySelectorAll(e),n=(r.set||Array)(),i=0;i{contents}',{x:+t.x.toFixed(3),y:+t.y.toFixed(3),width:+t.width.toFixed(3),height:+t.height.toFixed(3),contents:this.outerSVG()});return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(n)))}},s.prototype.select=f.select,s.prototype.selectAll=f.selectAll}),r.plugin(function(e,t,n,r,i){function a(e,t,n,r,i,a){return null==t&&"[object SVGMatrix]"==o.call(e)?(this.a=e.a,this.b=e.b,this.c=e.c,this.d=e.d,this.e=e.e,void(this.f=e.f)):void(null!=e?(this.a=+e,this.b=+t,this.c=+n,this.d=+r,this.e=+i,this.f=+a):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0))}var o=Object.prototype.toString,s=String,l=Math,u="";!function(t){function n(e){return e[0]*e[0]+e[1]*e[1]}function r(e){var t=l.sqrt(n(e));e[0]&&(e[0]/=t),e[1]&&(e[1]/=t)}t.add=function(e,t,n,r,i,o){var s,l,u,c,d=[[],[],[]],f=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],h=[[e,n,i],[t,r,o],[0,0,1]];for(e&&e instanceof a&&(h=[[e.a,e.c,e.e],[e.b,e.d,e.f],[0,0,1]]),s=0;s<3;s++)for(l=0;l<3;l++){for(c=0,u=0;u<3;u++)c+=f[s][u]*h[u][l];d[s][l]=c}return this.a=d[0][0],this.b=d[1][0],this.c=d[0][1],this.d=d[1][1],this.e=d[0][2],this.f=d[1][2],this},t.invert=function(){var e=this,t=e.a*e.d-e.b*e.c;return new a(e.d/t,-e.b/t,-e.c/t,e.a/t,(e.c*e.f-e.d*e.e)/t,(e.b*e.e-e.a*e.f)/t)},t.clone=function(){return new a(this.a,this.b,this.c,this.d,this.e,this.f)},t.translate=function(e,t){return this.add(1,0,0,1,e,t)},t.scale=function(e,t,n,r){return null==t&&(t=e),(n||r)&&this.add(1,0,0,1,n,r),this.add(e,0,0,t,0,0),(n||r)&&this.add(1,0,0,1,-n,-r),this},t.rotate=function(t,n,r){t=e.rad(t),n=n||0,r=r||0;var i=+l.cos(t).toFixed(9),a=+l.sin(t).toFixed(9);return this.add(i,a,-a,i,n,r),this.add(1,0,0,1,-n,-r)},t.x=function(e,t){return e*this.a+t*this.c+this.e},t.y=function(e,t){return e*this.b+t*this.d+this.f},t.get=function(e){return+this[s.fromCharCode(97+e)].toFixed(4)},t.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},t.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},t.determinant=function(){return this.a*this.d-this.b*this.c},t.split=function(){var t={};t.dx=this.e,t.dy=this.f;var i=[[this.a,this.c],[this.b,this.d]];t.scalex=l.sqrt(n(i[0])),r(i[0]),t.shear=i[0][0]*i[1][0]+i[0][1]*i[1][1],i[1]=[i[1][0]-i[0][0]*t.shear,i[1][1]-i[0][1]*t.shear],t.scaley=l.sqrt(n(i[1])),r(i[1]),t.shear/=t.scaley,this.determinant()<0&&(t.scalex=-t.scalex);var a=-i[0][1],o=i[1][1];return o<0?(t.rotate=e.deg(l.acos(o)),a<0&&(t.rotate=360-t.rotate)):t.rotate=e.deg(l.asin(a)),t.isSimple=!(+t.shear.toFixed(9)||t.scalex.toFixed(9)!=t.scaley.toFixed(9)&&t.rotate),t.isSuperSimple=!+t.shear.toFixed(9)&&t.scalex.toFixed(9)==t.scaley.toFixed(9)&&!t.rotate,t.noRotation=!+t.shear.toFixed(9)&&!t.rotate,t},t.toTransformString=function(e){var t=e||this.split();return+t.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(t.scalex=+t.scalex.toFixed(4),t.scaley=+t.scaley.toFixed(4),t.rotate=+t.rotate.toFixed(4),(t.dx||t.dy?"t"+[+t.dx.toFixed(4),+t.dy.toFixed(4)]:u)+(1!=t.scalex||1!=t.scaley?"s"+[t.scalex,t.scaley,0,0]:u)+(t.rotate?"r"+[+t.rotate.toFixed(4),0,0]:u))}}(a.prototype),e.Matrix=a,e.matrix=function(e,t,n,r,i,o){return new a(e,t,n,r,i,o)}}),r.plugin(function(e,n,r,i,a){function o(r){return function(i){if(t.stop(),i instanceof a&&1==i.node.childNodes.length&&("radialGradient"==i.node.firstChild.tagName||"linearGradient"==i.node.firstChild.tagName||"pattern"==i.node.firstChild.tagName)&&(i=i.node.firstChild,h(this).appendChild(i),i=d(i)),i instanceof n)if("radialGradient"==i.type||"linearGradient"==i.type||"pattern"==i.type){i.node.id||m(i.node,{id:i.id});var o=_(i.node.id)}else o=i.attr(r);else if(o=e.color(i),o.error){var s=e(h(this).ownerSVGElement).gradient(i);s?(s.node.id||m(s.node,{id:s.id}),o=_(s.node.id)):o=i}else o=g(o);var l={};l[r]=o,m(this.node,l),this.node.style[r]=y}}function s(e){t.stop(),e==+e&&(e+="px"),this.node.style.fontSize=e}function l(e){for(var t=[],n=e.childNodes,r=0,i=n.length;r1&&(e=Array.prototype.slice.call(arguments,0));var t={};return l(e,"object")&&!l(e,"array")?t=e:null!=e&&(t={points:e}),this.el("polyline",t)},s.polygon=function(e){arguments.length>1&&(e=Array.prototype.slice.call(arguments,0));var t={};return l(e,"object")&&!l(e,"array")?t=e:null!=e&&(t={points:e}),this.el("polygon",t)},function(){function r(){return this.selectAll("stop")}function i(e,t){var r=c("stop"),i={offset:+t+"%"};return e=n.color(e),i["stop-color"]=e.hex,e.opacity<1&&(i["stop-opacity"]=e.opacity),c(r,i),this.node.appendChild(r),this}function a(){if("linearGradient"==this.type){var e=c(this.node,"x1")||0,t=c(this.node,"x2")||1,r=c(this.node,"y1")||0,i=c(this.node,"y2")||0;return n._.box(e,r,math.abs(t-e),math.abs(i-r))}var a=this.node.cx||.5,o=this.node.cy||.5,s=this.node.r||0;return n._.box(a-s,o-s,2*s,2*s)}function o(e,n){function r(e,t){for(var n=(t-d)/(e-f),r=f;ra){if(r&&!m.start){if(h=l(s,u,d[1],d[2],d[3],d[4],d[5],d[6],a-_),p+=["C"+i(h.start.x),i(h.start.y),i(h.m.x),i(h.m.y),i(h.x),i(h.y)],o)return p;m.start=p,p=["M"+i(h.x),i(h.y)+"C"+i(h.n.x),i(h.n.y),i(h.end.x),i(h.end.y),i(d[5]),i(d[6])].join(),_+=f,s=+d[5],u=+d[6];continue}if(!n&&!r)return h=l(s,u,d[1],d[2],d[3],d[4],d[5],d[6],a-_)}_+=f,s=+d[5],u=+d[6]}p+=d.shift()+d}return m.end=p,h=n?_:r?m:c(s,u,d[0],d[1],d[2],d[3],d[4],d[5],1)},null,e._.clone)}function c(e,t,n,r,i,a,o,s,l){var u=1-l,c=V(u,3),d=V(u,2),f=l*l,h=f*l,p=c*e+3*d*l*n+3*u*l*l*i+h*o,m=c*t+3*d*l*r+3*u*l*l*a+h*s,_=e+2*l*(n-e)+f*(i-2*n+e),g=t+2*l*(r-t)+f*(a-2*r+t),v=n+2*l*(i-n)+f*(o-2*i+n),y=r+2*l*(a-r)+f*(s-2*a+r),b=u*e+l*n,w=u*t+l*r,M=u*i+l*o,x=u*a+l*s,k=90-180*R.atan2(_-v,g-y)/W;return{x:p,y:m,m:{x:_,y:g},n:{x:v,y:y},start:{x:b,y:w},end:{x:M,y:x},alpha:k}}function d(t,n,r,i,o,s,l,u){e.is(t,"array")||(t=[t,n,r,i,o,s,l,u]);var c=C.apply(null,t);return a(c.min.x,c.min.y,c.max.x-c.min.x,c.max.y-c.min.y)}function f(e,t,n){return t>=e.x&&t<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function h(e,t){return e=a(e),t=a(t),f(t,e.x,e.y)||f(t,e.x2,e.y)||f(t,e.x,e.y2)||f(t,e.x2,e.y2)||f(e,t.x,t.y)||f(e,t.x2,t.y)||f(e,t.x,t.y2)||f(e,t.x2,t.y2)||(e.xt.x||t.xe.x)&&(e.yt.y||t.ye.y)}function p(e,t,n,r,i){var a=-3*t+9*n-9*r+3*i,o=e*a+6*t-12*n+6*r;return e*o-3*t+3*n}function m(e,t,n,r,i,a,o,s,l){null==l&&(l=1),l=l>1?1:l<0?0:l;for(var u=l/2,c=12,d=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],h=0,m=0;mh;)d/=2,f+=(uI(i,o)||I(t,r)I(a,s))){var l=(e*r-t*n)*(i-o)-(e-n)*(i*s-a*o),u=(e*r-t*n)*(a-s)-(t-r)*(i*s-a*o),c=(e-n)*(a-s)-(t-r)*(i-o);if(c){var d=l/c,f=u/c,h=+d.toFixed(2),p=+f.toFixed(2);if(!(h<+B(e,n).toFixed(2)||h>+I(e,n).toFixed(2)||h<+B(i,o).toFixed(2)||h>+I(i,o).toFixed(2)||p<+B(t,r).toFixed(2)||p>+I(t,r).toFixed(2)||p<+B(a,s).toFixed(2)||p>+I(a,s).toFixed(2)))return{x:d,y:f}}}}function v(e,t,n){var r=d(e),i=d(t);if(!h(r,i))return n?0:[];for(var a=m.apply(0,e),o=m.apply(0,t),s=~~(a/8),l=~~(o/8),u=[],f=[],p={},_=n?0:[],v=0;v=0&&D<=1&&S>=0&&S<=1&&(n?_++:_.push({x:T.x,y:T.y,t1:D,t2:S}))}}return _}function y(e,t){return w(e,t)}function b(e,t){return w(e,t,1)}function w(e,t,n){e=A(e),t=A(t);for(var r,i,a,o,s,l,u,c,d,f,h=n?0:[],p=0,m=e.length;p180),0,l,c]];else d=[["M",e,t],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return d.toString=o,d}function Y(t){var n=i(t),r=String.prototype.toLowerCase;if(n.rel)return s(n.rel);e.is(t,"array")&&e.is(t&&t[0],"array")||(t=e.parsePathString(t));var a=[],l=0,u=0,c=0,d=0,f=0;"M"==t[0][0]&&(l=t[0][1],u=t[0][2],c=l,d=u,f++,a.push(["M",l,u]));for(var h=f,p=t.length;h1&&(v=R.sqrt(v),r*=v,i*=v);var y=r*r,b=i*i,w=(o==s?-1:1)*R.sqrt(q((y*b-y*g*g-b*_*_)/(y*g*g+b*_*_))),M=w*r*g/i+(t+l)/2,x=w*-i*_/r+(n+u)/2,k=R.asin(((n-x)/i).toFixed(9)),L=R.asin(((u-x)/i).toFixed(9));k=tL&&(k-=2*W),!s&&L>k&&(L-=2*W)}var Y=L-k;if(q(Y)>f){var T=L,D=l,S=u;L=k+f*(s&&L>k?1:-1),l=M+r*R.cos(L),u=x+i*R.sin(L),p=j(l,u,r,i,a,0,s,D,S,[L,T,M,x])}Y=L-k;var C=R.cos(k),A=R.sin(k),H=R.cos(L),P=R.sin(L),E=R.tan(Y/4),O=4/3*r*E,$=4/3*i*E,F=[t,n],z=[t+O*A,n-$*C],N=[l+O*P,u-$*H],B=[l,u];if(z[0]=2*F[0]-z[0],z[1]=2*F[1]-z[1],c)return[z,N,B].concat(p);p=[z,N,B].concat(p).join().split(",");for(var I=[],V=0,U=p.length;V7){e[t].shift();for(var n=e[t];n.length;)f[t]="A",a&&(h[t]="A"),e.splice(t++,0,["C"].concat(n.splice(0,6)));e.splice(t,1),g=I(r.length,a&&a.length||0)}},d=function(e,t,n,i,o){e&&t&&"M"==e[o][0]&&"M"!=t[o][0]&&(t.splice(o,0,["M",i.x,i.y]),n.bx=0,n.by=0,n.x=e[o][1],n.y=e[o][2],g=I(r.length,a&&a.length||0))},f=[],h=[],p="",m="",_=0,g=I(r.length,a&&a.length||0);_r;r+=2){var a=[{x:+e[r-2],y:+e[r-1]},{x:+e[r],y:+e[r+1]},{x:+e[r+2],y:+e[r+3]},{x:+e[r+4],y:+e[r+5]}];t?r?i-4==r?a[3]={x:+e[0],y:+e[1]}:i-2==r&&(a[2]={x:+e[0],y:+e[1]},a[3]={x:+e[2],y:+e[3]}):a[0]={x:+e[i-2],y:+e[i-1]}:i-4==r?a[3]=a[2]:r||(a[0]={x:+e[r],y:+e[r+1]}),n.push(["C",(-a[0].x+6*a[1].x+a[2].x)/6,(-a[0].y+6*a[1].y+a[2].y)/6,(a[1].x+6*a[2].x-a[3].x)/6,(a[1].y+6*a[2].y-a[3].y)/6,a[2].x,a[2].y])}return n}var E=t.prototype,O=e.is,$=e._.clone,F="hasOwnProperty",z=/,?([a-z]),?/gi,N=parseFloat,R=Math,W=R.PI,B=R.min,I=R.max,V=R.pow,q=R.abs,U=u(1),J=u(),G=u(0,1),Z=e._unit2px,K={path:function(e){return e.attr("path")},circle:function(e){var t=Z(e);return L(t.cx,t.cy,t.r)},ellipse:function(e){var t=Z(e);return L(t.cx||0,t.cy||0,t.rx,t.ry)},rect:function(e){var t=Z(e);return k(t.x||0,t.y||0,t.width,t.height,t.rx,t.ry)},image:function(e){var t=Z(e);return k(t.x||0,t.y||0,t.width,t.height)},line:function(e){return"M"+[e.attr("x1")||0,e.attr("y1")||0,e.attr("x2"),e.attr("y2")]},polyline:function(e){return"M"+e.attr("points")},polygon:function(e){return"M"+e.attr("points")+"z"},deflt:function(e){var t=e.node.getBBox();return k(t.x,t.y,t.width,t.height)}};e.path=i,e.path.getTotalLength=U,e.path.getPointAtLength=J,e.path.getSubpath=function(e,t,n){if(this.getTotalLength(e)-n<1e-6)return G(e,t).end;var r=G(e,n,1);return t?G(r,t).end:r},E.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()},E.getPointAtLength=function(e){return J(this.attr("d"),e)},E.getSubpath=function(t,n){return e.path.getSubpath(this.attr("d"),t,n)},e._.box=a,e.path.findDotsAtSegment=c,e.path.bezierBBox=d,e.path.isPointInsideBBox=f,e.closest=function(t,n,r,i){for(var o=100,s=a(t-o/2,n-o/2,o,o),l=[],u=r[0].hasOwnProperty("x")?function(e){return{x:r[e].x,y:r[e].y}}:function(e){return{x:r[e],y:i[e]}},c=0;o<=1e6&&!c;){for(var d=0,h=r.length;dg&&(_=g,l[d].len=g,m=l[d])}return m}},e.path.isBBoxIntersect=h,e.path.intersection=y,e.path.intersectionNumber=b,e.path.isPointInside=M,e.path.getBBox=x,e.path.get=K,e.path.toRelative=Y,e.path.toAbsolute=T,e.path.toCubic=A,e.path.map=H,e.path.toString=o,e.path.clone=s}),r.plugin(function(e,r,i,a){var o=Math.max,s=Math.min,l=function(e){if(this.items=[],this.bindings={},this.length=0,this.type="set",e)for(var t=0,n=e.length;t',{def:r})},e.filter.blur.toString=function(){return this()},e.filter.shadow=function(t,n,r,i,a){return"string"==typeof r&&(i=r,a=i,r=4),"string"!=typeof i&&(a=i,i="#000"),i=i||"#000",null==r&&(r=4),null==a&&(a=1),null==t&&(t=0,n=2),null==n&&(n=t),i=e.color(i),e.format('',{color:i,dx:t,dy:n,blur:r,opacity:a})},e.filter.shadow.toString=function(){return this()},e.filter.grayscale=function(t){return null==t&&(t=1),e.format('',{a:.2126+.7874*(1-t),b:.7152-.7152*(1-t),c:.0722-.0722*(1-t),d:.2126-.2126*(1-t),e:.7152+.2848*(1-t),f:.0722-.0722*(1-t),g:.2126-.2126*(1-t),h:.0722+.9278*(1-t)})},e.filter.grayscale.toString=function(){return this()},e.filter.sepia=function(t){return null==t&&(t=1),e.format('',{a:.393+.607*(1-t),b:.769-.769*(1-t),c:.189-.189*(1-t),d:.349-.349*(1-t),e:.686+.314*(1-t),f:.168-.168*(1-t),g:.272-.272*(1-t),h:.534-.534*(1-t),i:.131+.869*(1-t)})},e.filter.sepia.toString=function(){return this()},e.filter.saturate=function(t){return null==t&&(t=1),e.format('',{amount:1-t})},e.filter.saturate.toString=function(){return this()},e.filter.hueRotate=function(t){return t=t||0,e.format('',{angle:t})},e.filter.hueRotate.toString=function(){return this()},e.filter.invert=function(t){return null==t&&(t=1),e.format('',{amount:t,amount2:1-t})},e.filter.invert.toString=function(){return this()},e.filter.brightness=function(t){return null==t&&(t=1),e.format('',{amount:t})},e.filter.brightness.toString=function(){return this()},e.filter.contrast=function(t){return null==t&&(t=1),e.format('',{amount:t,amount2:.5-t/2})},e.filter.contrast.toString=function(){return this()}}),r.plugin(function(e,t,n,r,i){var a=e._.box,o=e.is,s=/^[^a-z]*([tbmlrc])/i,l=function(){return"T"+this.dx+","+this.dy};t.prototype.getAlign=function(e,t){null==t&&o(e,"string")&&(t=e,e=null),e=e||this.paper;var n=e.getBBox?e.getBBox():a(e),r=this.getBBox(),i={};switch(t=t&&t.match(s),t=t?t[1].toLowerCase():"c"){case"t":i.dx=0,i.dy=n.y-r.y;break;case"b":i.dx=0,i.dy=n.y2-r.y2;break;case"m":i.dx=0,i.dy=n.cy-r.cy;break;case"l":i.dx=n.x-r.x,i.dy=0;break;case"r":i.dx=n.x2-r.x2,i.dy=0;break;default:i.dx=n.cx-r.cx,i.dy=0}return i.toString=l,i},t.prototype.align=function(e,t){return this.transform("..."+this.getAlign(e,t))}}),r})}).call(window)},function(e,t,n){var r;(function(e,i,a){(function(){function a(e,t){return e.set(t[0],t[1]),e}function o(e,t){return e.add(t),e}function s(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function l(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i-1}function p(e,t,n){for(var r=-1,i=null==e?0:e.length;++r-1;);return n}function z(e,t){for(var n=e.length;n--&&k(t,e[n],0)>-1;);return n}function N(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function R(e){return"\\"+Kn[e]}function W(e,t){return null==e?ie:e[t]}function B(e){return Wn.test(e)}function I(e){return Bn.test(e)}function V(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function q(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function U(e,t){return function(n){return e(t(n))}}function J(e,t){for(var n=-1,r=e.length,i=0,a=[];++n>>1,Fe=[["ary",ye],["bind",fe],["bindKey",he],["curry",me],["curryRight",_e],["flip",we],["partial",ge],["partialRight",ve],["rearg",be]],ze="[object Arguments]",Ne="[object Array]",Re="[object AsyncFunction]",We="[object Boolean]",Be="[object Date]",Ie="[object DOMException]",Ve="[object Error]",qe="[object Function]",Ue="[object GeneratorFunction]",Je="[object Map]",Ge="[object Number]",Ze="[object Null]",Ke="[object Object]",Xe="[object Promise]",Qe="[object Proxy]",et="[object RegExp]",tt="[object Set]",nt="[object String]",rt="[object Symbol]",it="[object Undefined]",at="[object WeakMap]",ot="[object WeakSet]",st="[object ArrayBuffer]",lt="[object DataView]",ut="[object Float32Array]",ct="[object Float64Array]",dt="[object Int8Array]",ft="[object Int16Array]",ht="[object Int32Array]",pt="[object Uint8Array]",mt="[object Uint8ClampedArray]",_t="[object Uint16Array]",gt="[object Uint32Array]",vt=/\b__p \+= '';/g,yt=/\b(__p \+=) '' \+/g,bt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,Mt=/[&<>"']/g,xt=RegExp(wt.source),kt=RegExp(Mt.source),Lt=/<%-([\s\S]+?)%>/g,Yt=/<%([\s\S]+?)%>/g,Tt=/<%=([\s\S]+?)%>/g,Dt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,St=/^\w*$/,jt=/^\./,Ct=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,At=/[\\^$.*+?()[\]{}|]/g,Ht=RegExp(At.source),Pt=/^\s+|\s+$/g,Et=/^\s+/,Ot=/\s+$/,$t=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ft=/\{\n\/\* \[wrapped with (.+)\] \*/,zt=/,? & /,Nt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Rt=/\\(\\)?/g,Wt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Bt=/\w*$/,It=/^[-+]0x[0-9a-f]+$/i,Vt=/^0b[01]+$/i,qt=/^\[object .+?Constructor\]$/,Ut=/^0o[0-7]+$/i,Jt=/^(?:0|[1-9]\d*)$/,Gt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zt=/($^)/,Kt=/['\n\r\u2028\u2029\\]/g,Xt="\\ud800-\\udfff",Qt="\\u0300-\\u036f\\ufe20-\\ufe23",en="\\u20d0-\\u20f0",tn="\\u2700-\\u27bf",nn="a-z\\xdf-\\xf6\\xf8-\\xff",rn="\\xac\\xb1\\xd7\\xf7",an="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",on="\\u2000-\\u206f",sn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ln="A-Z\\xc0-\\xd6\\xd8-\\xde",un="\\ufe0e\\ufe0f",cn=rn+an+on+sn,dn="['’]",fn="["+Xt+"]",hn="["+cn+"]",pn="["+Qt+en+"]",mn="\\d+",_n="["+tn+"]",gn="["+nn+"]",vn="[^"+Xt+cn+mn+tn+nn+ln+"]",yn="\\ud83c[\\udffb-\\udfff]",bn="(?:"+pn+"|"+yn+")",wn="[^"+Xt+"]",Mn="(?:\\ud83c[\\udde6-\\uddff]){2}",xn="[\\ud800-\\udbff][\\udc00-\\udfff]",kn="["+ln+"]",Ln="\\u200d",Yn="(?:"+gn+"|"+vn+")",Tn="(?:"+kn+"|"+vn+")",Dn="(?:"+dn+"(?:d|ll|m|re|s|t|ve))?",Sn="(?:"+dn+"(?:D|LL|M|RE|S|T|VE))?",jn=bn+"?",Cn="["+un+"]?",An="(?:"+Ln+"(?:"+[wn,Mn,xn].join("|")+")"+Cn+jn+")*",Hn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Pn="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",En=Cn+jn+An,On="(?:"+[_n,Mn,xn].join("|")+")"+En,$n="(?:"+[wn+pn+"?",pn,Mn,xn,fn].join("|")+")",Fn=RegExp(dn,"g"),zn=RegExp(pn,"g"),Nn=RegExp(yn+"(?="+yn+")|"+$n+En,"g"),Rn=RegExp([kn+"?"+gn+"+"+Dn+"(?="+[hn,kn,"$"].join("|")+")",Tn+"+"+Sn+"(?="+[hn,kn+Yn,"$"].join("|")+")",kn+"?"+Yn+"+"+Dn,kn+"+"+Sn,Pn,Hn,mn,On].join("|"),"g"),Wn=RegExp("["+Ln+Xt+Qt+en+un+"]"),Bn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,In=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Vn=-1,qn={};qn[ut]=qn[ct]=qn[dt]=qn[ft]=qn[ht]=qn[pt]=qn[mt]=qn[_t]=qn[gt]=!0,qn[ze]=qn[Ne]=qn[st]=qn[We]=qn[lt]=qn[Be]=qn[Ve]=qn[qe]=qn[Je]=qn[Ge]=qn[Ke]=qn[et]=qn[tt]=qn[nt]=qn[at]=!1;var Un={};Un[ze]=Un[Ne]=Un[st]=Un[lt]=Un[We]=Un[Be]=Un[ut]=Un[ct]=Un[dt]=Un[ft]=Un[ht]=Un[Je]=Un[Ge]=Un[Ke]=Un[et]=Un[tt]=Un[nt]=Un[rt]=Un[pt]=Un[mt]=Un[_t]=Un[gt]=!0,Un[Ve]=Un[qe]=Un[at]=!1;var Jn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Gn={"&":"&","<":"<",">":">",'"':""","'":"'"},Zn={"&":"&","<":"<",">":">",""":'"',"'":"'"},Kn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Xn=parseFloat,Qn=parseInt,er="object"==typeof e&&e&&e.Object===Object&&e,tr="object"==typeof self&&self&&self.Object===Object&&self,nr=er||tr||Function("return this")(),rr="object"==typeof t&&t&&!t.nodeType&&t,ir=rr&&"object"==typeof i&&i&&!i.nodeType&&i,ar=ir&&ir.exports===rr,or=ar&&er.process,sr=function(){try{return or&&or.binding("util")}catch(e){}}(),lr=sr&&sr.isArrayBuffer,ur=sr&&sr.isDate,cr=sr&&sr.isMap,dr=sr&&sr.isRegExp,fr=sr&&sr.isSet,hr=sr&&sr.isTypedArray,pr=D("length"),mr=S(Jn),_r=S(Gn),gr=S(Zn),vr=function e(t){function n(e){if(rl(e)&&!mf(e)&&!(e instanceof b)){if(e instanceof i)return e;if(pc.call(e,"__wrapped__"))return Qa(e)}return new i(e)}function r(){}function i(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=ie}function b(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ee,this.__views__=[]}function S(){var e=new b(this.__wrapped__);return e.__actions__=$i(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=$i(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=$i(this.__views__),e}function K(){if(this.__filtered__){var e=new b(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function te(){var e=this.__wrapped__.value(),t=this.__dir__,n=mf(e),r=t<0,i=n?e.length:0,a=Ma(0,i,this.__views__),o=a.start,s=a.end,l=s-o,u=r?s:o-1,c=this.__iteratees__,d=c.length,f=0,h=Ic(l,this.__takeCount__);if(!n||i-1}function ln(e,t){var n=this.__data__,r=Cn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function un(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function $n(e,t,n,r,i,a,o){var s;if(r&&(s=a?r(e,i,a,o):r(e)),s!==ie)return s;if(!nl(e))return e;var l=mf(e);if(l){if(s=La(e),!t)return $i(e,s)}else{var c=kd(e),d=c==qe||c==Ue;if(gf(e))return Li(e,t);if(c==Ke||c==ze||d&&!a){if(s=Ya(d?{}:e),!t)return zi(e,Hn(s,e))}else{if(!Un[c])return a?e:{};s=Ta(e,c,$n,t)}}o||(o=new vn);var f=o.get(e);if(f)return f;o.set(e,s);var h=l?ie:(n?ha:Fl)(e);return u(h||e,function(i,a){h&&(a=i,i=e[a]),jn(s,a,$n(i,t,n,r,a,e,o))}),s}function Nn(e){var t=Fl(e);return function(n){return Rn(n,e,t)}}function Rn(e,t,n){var r=n.length;if(null==e)return!r;for(e=ac(e);r--;){var i=n[r],a=t[i],o=e[i];if(o===ie&&!(i in e)||!a(o))return!1}return!0}function Wn(e,t,n){if("function"!=typeof e)throw new lc(le);return Td(function(){e.apply(ie,n)},t)}function Bn(e,t,n,r){var i=-1,a=h,o=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=m(t,E(n))),r?(a=p,o=!1):t.length>=oe&&(a=$,o=!1,t=new mn(t));e:for(;++ii?0:i+n),r=r===ie||r>i?i:bl(r),r<0&&(r+=i),r=n>r?0:wl(r);n0&&n(s)?t>1?er(s,t-1,n,r,i):_(i,s):r||(i[i.length]=s)}return i}function tr(e,t){return e&&pd(e,t,Fl)}function rr(e,t){return e&&md(e,t,Fl)}function ir(e,t){return f(t,function(t){return Qs(e[t])})}function or(e,t){t=Aa(t,e)?[t]:xi(t);for(var n=0,r=t.length;null!=e&&nt}function br(e,t){return null!=e&&pc.call(e,t)}function wr(e,t){return null!=e&&t in ac(e)}function Mr(e,t,n){return e>=Ic(t,n)&&e=120&&c.length>=120)?new mn(o&&c):ie}c=e[0];var d=-1,f=s[0];e:for(;++d-1;)s!==e&&Dc.call(s,l,1),Dc.call(e,l,1);return e}function Xr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;if(ja(i))Dc.call(e,i,1);else if(Aa(i,e))delete e[Za(i)];else{var o=xi(i),s=Va(e,o);null!=s&&delete s[Za(yo(o))]}}}return e}function Qr(e,t){return e+$c(Uc()*(t-e+1))}function ei(e,t,n,r){for(var i=-1,a=Bc(Oc((t-e)/(n||1)),0),o=ec(a);a--;)o[r?a:++i]=e,e+=n;return o}function ti(e,t){var n="";if(!e||t<1||t>Ae)return n;do t%2&&(n+=e),t=$c(t/2),t&&(e+=e);while(t);return n}function ni(e,t){return Dd(Ia(e,t,Du),e+"")}function ri(e){return Ln(Kl(e))}function ii(e,t){var n=Kl(e);return Ga(n,On(t,0,n.length))}function ai(e,t,n,r){if(!nl(e))return e;t=Aa(t,e)?[t]:xi(t);for(var i=-1,a=t.length,o=a-1,s=e;null!=s&&++ii?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=ec(i);++r>>1,o=e[a];null!==o&&!pl(o)&&(n?o<=t:o=oe){var u=t?null:bd(e);if(u)return G(u);o=!1,i=$,l=new mn}else l=t?[]:s;e:for(;++r=r?e:si(e,t,n)}function Li(e,t){if(t)return e.slice();var n=e.length,r=kc?kc(n):new e.constructor(n);return e.copy(r),r}function Yi(e){var t=new e.constructor(e.byteLength);return new xc(t).set(new xc(e)),t}function Ti(e,t){var n=t?Yi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Di(e,t,n){var r=t?n(q(e),!0):q(e);return g(r,a,new e.constructor)}function Si(e){var t=new e.constructor(e.source,Bt.exec(e));return t.lastIndex=e.lastIndex,t}function ji(e,t,n){var r=t?n(G(e),!0):G(e);return g(r,o,new e.constructor)}function Ci(e){return ud?ac(ud.call(e)):{}}function Ai(e,t){var n=t?Yi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Hi(e,t){if(e!==t){var n=e!==ie,r=null===e,i=e===e,a=pl(e),o=t!==ie,s=null===t,l=t===t,u=pl(t);if(!s&&!u&&!a&&e>t||a&&o&&l&&!s&&!u||r&&o&&l||!n&&l||!i)return 1;if(!r&&!a&&!u&&e=s)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}function Ei(e,t,n,r){for(var i=-1,a=e.length,o=n.length,s=-1,l=t.length,u=Bc(a-o,0),c=ec(l+u),d=!r;++s1?n[i-1]:ie,o=i>2?n[2]:ie;for(a=e.length>3&&"function"==typeof a?(i--,a):ie,o&&Ca(n[0],n[1],o)&&(a=i<3?ie:a,i=1),t=ac(t);++r-1?i[a?t[o]:o]:ie}}function Zi(e){return fa(function(t){var n=t.length,r=n,a=i.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if("function"!=typeof o)throw new lc(le);if(a&&!s&&"wrapper"==ma(o))var s=new i([],!0)}for(r=s?r:n;++r=oe)return s.plant(r).value();for(var i=0,a=n?t[i].apply(this,e):r;++i1&&v.reverse(),d&&ls))return!1;var u=a.get(e);if(u&&a.get(t))return u==t;var c=-1,d=!0,f=i&Me?new mn:ie;for(a.set(e,t),a.set(t,e);++c1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace($t,"{\n/* [wrapped with "+t+"] */\n")}function Sa(e){return mf(e)||pf(e)||!!(Sc&&e&&e[Sc])}function ja(e,t){return t=null==t?Ae:t,!!t&&("number"==typeof e||Jt.test(e))&&e>-1&&e%1==0&&e0){if(++t>=Ye)return arguments[0]}else t=0;return e.apply(ie,arguments)}}function Ga(e,t){var n=-1,r=e.length,i=r-1;for(t=t===ie?r:t;++n=this.__values__.length,t=e?ie:this.__values__[this.__index__++];return{done:e,value:t}}function es(){return this}function ts(e){for(var t,n=this;n instanceof r;){var i=Qa(n);i.__index__=0,i.__values__=ie,t?a.__wrapped__=i:t=i;var a=i;n=n.__wrapped__}return a.__wrapped__=e,t}function ns(){var e=this.__wrapped__;if(e instanceof b){var t=e;return this.__actions__.length&&(t=new b(this)),t=t.reverse(),t.__actions__.push({func:Zo,args:[Yo],thisArg:ie}),new i(t,this.__chain__)}return this.thru(Yo)}function rs(){return vi(this.__wrapped__,this.__actions__)}function is(e,t,n){var r=mf(e)?d:Jn;return n&&Ca(e,t,n)&&(t=ie),r(e,ga(t,3))}function as(e,t){var n=mf(e)?f:Kn;return n(e,ga(t,3))}function os(e,t){return er(fs(e,t),1)}function ss(e,t){return er(fs(e,t),Ce)}function ls(e,t,n){return n=n===ie?1:bl(n),er(fs(e,t),n)}function us(e,t){var n=mf(e)?u:fd;return n(e,ga(t,3))}function cs(e,t){var n=mf(e)?c:hd;return n(e,ga(t,3))}function ds(e,t,n,r){e=Is(e)?e:Kl(e),n=n&&!r?bl(n):0;var i=e.length;return n<0&&(n=Bc(i+n,0)),hl(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&k(e,t,n)>-1}function fs(e,t){var n=mf(e)?m:Rr;return n(e,ga(t,3))}function hs(e,t,n,r){return null==e?[]:(mf(t)||(t=null==t?[]:[t]),n=r?ie:n,mf(n)||(n=null==n?[]:[n]),Ur(e,t,n))}function ps(e,t,n){var r=mf(e)?g:j,i=arguments.length<3;return r(e,ga(t,4),n,i,fd)}function ms(e,t,n){var r=mf(e)?v:j,i=arguments.length<3;return r(e,ga(t,4),n,i,hd)}function _s(e,t){var n=mf(e)?f:Kn;return n(e,js(ga(t,3)))}function gs(e){var t=mf(e)?Ln:ri;return t(e)}function vs(e,t,n){t=(n?Ca(e,t,n):t===ie)?1:bl(t);var r=mf(e)?Yn:ii;return r(e,t)}function ys(e){var t=mf(e)?Tn:oi;return t(e)}function bs(e){if(null==e)return 0;if(Is(e))return hl(e)?Q(e):e.length;var t=kd(e);return t==Je||t==tt?e.size:Fr(e).length}function ws(e,t,n){var r=mf(e)?y:li;return n&&Ca(e,t,n)&&(t=ie),r(e,ga(t,3))}function Ms(e,t){if("function"!=typeof t)throw new lc(le);return e=bl(e),function(){if(--e<1)return t.apply(this,arguments)}}function xs(e,t,n){return t=n?ie:t,t=e&&null==t?e.length:t,la(e,ye,ie,ie,ie,ie,t)}function ks(e,t){var n;if("function"!=typeof t)throw new lc(le);return e=bl(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=ie),n}}function Ls(e,t,n){t=n?ie:t;var r=la(e,me,ie,ie,ie,ie,ie,t);return r.placeholder=Ls.placeholder,r}function Ys(e,t,n){t=n?ie:t;var r=la(e,_e,ie,ie,ie,ie,ie,t);return r.placeholder=Ys.placeholder,r}function Ts(e,t,n){function r(t){var n=f,r=h;return f=h=ie,v=t,m=e.apply(r,n)}function i(e){return v=e,_=Td(s,t),y?r(e):m}function a(e){var n=e-g,r=e-v,i=t-n;return b?Ic(i,p-r):i}function o(e){var n=e-g,r=e-v;return g===ie||n>=t||n<0||b&&r>=p}function s(){var e=nf();return o(e)?l(e):void(_=Td(s,a(e)))}function l(e){return _=ie,w&&f?r(e):(f=h=ie,m)}function u(){_!==ie&&yd(_),v=0,f=g=h=_=ie}function c(){return _===ie?m:l(nf())}function d(){var e=nf(),n=o(e);if(f=arguments,h=this,g=e,n){if(_===ie)return i(g);if(b)return _=Td(s,t),r(g)}return _===ie&&(_=Td(s,t)),m}var f,h,p,m,_,g,v=0,y=!1,b=!1,w=!0;if("function"!=typeof e)throw new lc(le);return t=Ml(t)||0,nl(n)&&(y=!!n.leading,b="maxWait"in n,p=b?Bc(Ml(n.maxWait)||0,t):p,w="trailing"in n?!!n.trailing:w),d.cancel=u,d.flush=c,d}function Ds(e){return la(e,we)}function Ss(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new lc(le);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Ss.Cache||un),n}function js(e){if("function"!=typeof e)throw new lc(le);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Cs(e){return ks(2,e)}function As(e,t){if("function"!=typeof e)throw new lc(le);return t=t===ie?t:bl(t),ni(e,t)}function Hs(e,t){if("function"!=typeof e)throw new lc(le);return t=t===ie?0:Bc(bl(t),0),ni(function(n){var r=n[t],i=ki(n,0,t);return r&&_(i,r),s(e,this,i)})}function Ps(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new lc(le);return nl(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ts(e,t,{leading:r,maxWait:t,trailing:i})}function Es(e){return xs(e,1)}function Os(e,t){return uf(Mi(t),e)}function $s(){if(!arguments.length)return[];var e=arguments[0];return mf(e)?e:[e]}function Fs(e){return $n(e,!1,!0)}function zs(e,t){return t="function"==typeof t?t:ie,$n(e,!1,!0,t)}function Ns(e){return $n(e,!0,!0)}function Rs(e,t){return t="function"==typeof t?t:ie,$n(e,!0,!0,t)}function Ws(e,t){return null==t||Rn(e,t,Fl(t))}function Bs(e,t){return e===t||e!==e&&t!==t}function Is(e){return null!=e&&tl(e.length)&&!Qs(e)}function Vs(e){return rl(e)&&Is(e)}function qs(e){return e===!0||e===!1||rl(e)&&pr(e)==We}function Us(e){return rl(e)&&1===e.nodeType&&!dl(e)}function Js(e){if(null==e)return!0;if(Is(e)&&(mf(e)||"string"==typeof e||"function"==typeof e.splice||gf(e)||Mf(e)||pf(e)))return!e.length;var t=kd(e);if(t==Je||t==tt)return!e.size;if(Oa(e))return!Fr(e).length;for(var n in e)if(pc.call(e,n))return!1;return!0}function Gs(e,t){return Sr(e,t)}function Zs(e,t,n){n="function"==typeof n?n:ie;var r=n?n(e,t):ie;return r===ie?Sr(e,t,n):!!r}function Ks(e){if(!rl(e))return!1;var t=pr(e);return t==Ve||t==Ie||"string"==typeof e.message&&"string"==typeof e.name&&!dl(e)}function Xs(e){return"number"==typeof e&&Nc(e)}function Qs(e){if(!nl(e))return!1;var t=pr(e);return t==qe||t==Ue||t==Re||t==Qe}function el(e){return"number"==typeof e&&e==bl(e)}function tl(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Ae}function nl(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rl(e){return null!=e&&"object"==typeof e}function il(e,t){return e===t||Ar(e,t,ya(t))}function al(e,t,n){return n="function"==typeof n?n:ie,Ar(e,t,ya(t),n)}function ol(e){return cl(e)&&e!=+e}function sl(e){if(Ld(e))throw new nc(se);return Hr(e)}function ll(e){return null===e}function ul(e){return null==e}function cl(e){return"number"==typeof e||rl(e)&&pr(e)==Ge}function dl(e){if(!rl(e)||pr(e)!=Ke)return!1;var t=Lc(e);if(null===t)return!0;var n=pc.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&hc.call(n)==vc}function fl(e){return el(e)&&e>=-Ae&&e<=Ae}function hl(e){return"string"==typeof e||!mf(e)&&rl(e)&&pr(e)==nt}function pl(e){return"symbol"==typeof e||rl(e)&&pr(e)==rt}function ml(e){return e===ie}function _l(e){return rl(e)&&kd(e)==at}function gl(e){return rl(e)&&pr(e)==ot}function vl(e){if(!e)return[];if(Is(e))return hl(e)?ee(e):$i(e);if(jc&&e[jc])return V(e[jc]());var t=kd(e),n=t==Je?q:t==tt?G:Kl;return n(e)}function yl(e){if(!e)return 0===e?e:0;if(e=Ml(e),e===Ce||e===-Ce){var t=e<0?-1:1;return t*He}return e===e?e:0}function bl(e){var t=yl(e),n=t%1;return t===t?n?t-n:t:0}function wl(e){return e?On(bl(e),0,Ee):0}function Ml(e){if("number"==typeof e)return e;if(pl(e))return Pe;if(nl(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=nl(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Pt,"");var n=Vt.test(e);return n||Ut.test(e)?Qn(e.slice(2),n?2:8):It.test(e)?Pe:+e}function xl(e){return Fi(e,zl(e))}function kl(e){return On(bl(e),-Ae,Ae)}function Ll(e){return null==e?"":hi(e)}function Yl(e,t){var n=dd(e);return null==t?n:Hn(n,t)}function Tl(e,t){return M(e,ga(t,3),tr)}function Dl(e,t){return M(e,ga(t,3),rr)}function Sl(e,t){return null==e?e:pd(e,ga(t,3),zl)}function jl(e,t){return null==e?e:md(e,ga(t,3),zl)}function Cl(e,t){return e&&tr(e,ga(t,3))}function Al(e,t){return e&&rr(e,ga(t,3))}function Hl(e){return null==e?[]:ir(e,Fl(e))}function Pl(e){return null==e?[]:ir(e,zl(e))}function El(e,t,n){var r=null==e?ie:or(e,t);return r===ie?n:r}function Ol(e,t){return null!=e&&ka(e,t,br)}function $l(e,t){return null!=e&&ka(e,t,wr)}function Fl(e){return Is(e)?kn(e):Fr(e)}function zl(e){return Is(e)?kn(e,!0):zr(e)}function Nl(e,t){var n={};return t=ga(t,3),tr(e,function(e,r,i){Pn(n,t(e,r,i),e)}),n}function Rl(e,t){var n={};return t=ga(t,3),tr(e,function(e,r,i){Pn(n,r,t(e,r,i))}),n}function Wl(e,t){return Bl(e,js(ga(t)))}function Bl(e,t){return null==e?{}:Gr(e,pa(e),ga(t))}function Il(e,t,n){t=Aa(t,e)?[t]:xi(t);var r=-1,i=t.length;for(i||(e=ie,i=1);++rt){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Uc();return Ic(e+i*(t-e+Xn("1e-"+((i+"").length-1))),t)}return Qr(e,t)}function nu(e){return Jf(Ll(e).toLowerCase())}function ru(e){return e=Ll(e),e&&e.replace(Gt,mr).replace(zn,"")}function iu(e,t,n){e=Ll(e),t=hi(t);var r=e.length;n=n===ie?r:On(bl(n),0,r);var i=n;return n-=t.length,n>=0&&e.slice(n,i)==t}function au(e){return e=Ll(e),e&&kt.test(e)?e.replace(Mt,_r):e}function ou(e){return e=Ll(e),e&&Ht.test(e)?e.replace(At,"\\$&"):e}function su(e,t,n){e=Ll(e),t=bl(t);var r=t?Q(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return ta($c(i),n)+e+ta(Oc(i),n)}function lu(e,t,n){e=Ll(e),t=bl(t);var r=t?Q(e):0;return t&&r>>0)?(e=Ll(e),e&&("string"==typeof t||null!=t&&!bf(t))&&(t=hi(t),!t&&B(e))?ki(ee(e),0,n):e.split(t,n)):[]}function pu(e,t,n){return e=Ll(e),n=On(bl(n),0,e.length),t=hi(t),e.slice(n,n+t.length)==t}function mu(e,t,r){var i=n.templateSettings;r&&Ca(e,t,r)&&(t=ie),e=Ll(e),t=Tf({},t,i,Dn);var a,o,s=Tf({},t.imports,i.imports,Dn),l=Fl(s),u=O(s,l),c=0,d=t.interpolate||Zt,f="__p += '",h=oc((t.escape||Zt).source+"|"+d.source+"|"+(d===Tt?Wt:Zt).source+"|"+(t.evaluate||Zt).source+"|$","g"),p="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Vn+"]")+"\n";e.replace(h,function(t,n,r,i,s,l){return r||(r=i),f+=e.slice(c,l).replace(Kt,R),n&&(a=!0,f+="' +\n__e("+n+") +\n'"),s&&(o=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t}),f+="';\n";var m=t.variable;m||(f="with (obj) {\n"+f+"\n}\n"),f=(o?f.replace(vt,""):f).replace(yt,"$1").replace(bt,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var _=Gf(function(){return rc(l,p+"return "+f).apply(ie,u)});if(_.source=f,Ks(_))throw _;return _}function _u(e){return Ll(e).toLowerCase()}function gu(e){return Ll(e).toUpperCase()}function vu(e,t,n){if(e=Ll(e),e&&(n||t===ie))return e.replace(Pt,"");if(!e||!(t=hi(t)))return e;var r=ee(e),i=ee(t),a=F(r,i),o=z(r,i)+1;return ki(r,a,o).join("")}function yu(e,t,n){if(e=Ll(e),e&&(n||t===ie))return e.replace(Ot,"");if(!e||!(t=hi(t)))return e;var r=ee(e),i=z(r,ee(t))+1;return ki(r,0,i).join("")}function bu(e,t,n){if(e=Ll(e),e&&(n||t===ie))return e.replace(Et,"");if(!e||!(t=hi(t)))return e;var r=ee(e),i=F(r,ee(t));return ki(r,i).join("")}function wu(e,t){var n=ke,r=Le;if(nl(t)){var i="separator"in t?t.separator:i;n="length"in t?bl(t.length):n,r="omission"in t?hi(t.omission):r}e=Ll(e);var a=e.length;if(B(e)){var o=ee(e);a=o.length}if(n>=a)return e;var s=n-Q(r);if(s<1)return r;var l=o?ki(o,0,s).join(""):e.slice(0,s);if(i===ie)return l+r;if(o&&(s+=l.length-s),bf(i)){if(e.slice(s).search(i)){var u,c=l;for(i.global||(i=oc(i.source,Ll(Bt.exec(i))+"g")),i.lastIndex=0;u=i.exec(c);)var d=u.index;l=l.slice(0,d===ie?s:d)}}else if(e.indexOf(hi(i),s)!=s){var f=l.lastIndexOf(i);f>-1&&(l=l.slice(0,f))}return l+r}function Mu(e){return e=Ll(e),e&&xt.test(e)?e.replace(wt,gr):e}function xu(e,t,n){return e=Ll(e),t=n?ie:t,t===ie?I(e)?re(e):w(e):e.match(t)||[]}function ku(e){var t=null==e?0:e.length,n=ga();return e=t?m(e,function(e){if("function"!=typeof e[1])throw new lc(le);return[n(e[0]),e[1]]}):[],ni(function(n){for(var r=-1;++rAe)return[];var n=Ee,r=Ic(e,Ee);t=ga(t),e-=Ee;for(var i=H(r,t);++n1?e[t-1]:ie;return n="function"==typeof n?(e.pop(),n):ie,Vo(e,n)}),Ud=fa(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return En(t,e)};return!(t>1||this.__actions__.length)&&r instanceof b&&ja(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Zo,args:[a],thisArg:ie}),new i(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(ie),e})):this.thru(a)}),Jd=Ni(function(e,t,n){pc.call(e,n)?++e[n]:Pn(e,n,1)}),Gd=Gi(lo),Zd=Gi(uo),Kd=Ni(function(e,t,n){pc.call(e,n)?e[n].push(t):Pn(e,n,[t])}),Xd=ni(function(e,t,n){var r=-1,i="function"==typeof t,a=Aa(t),o=Is(e)?ec(e.length):[];return fd(e,function(e){var l=i?t:a&&null!=e?e[t]:ie;o[++r]=l?s(l,e,n):Lr(e,t,n)}),o}),Qd=Ni(function(e,t,n){Pn(e,n,t)}),ef=Ni(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),tf=ni(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ca(e,t[0],t[1])?t=[]:n>2&&Ca(t[0],t[1],t[2])&&(t=[t[0]]),Ur(e,er(t,1),[])}),nf=Pc||function(){return nr.Date.now()},rf=ni(function(e,t,n){var r=fe;if(n.length){var i=J(n,_a(rf));r|=ge}return la(e,r,t,n,i)}),af=ni(function(e,t,n){var r=fe|he;if(n.length){var i=J(n,_a(af));r|=ge}return la(t,r,e,n,i)}),of=ni(function(e,t){return Wn(e,1,t)}),sf=ni(function(e,t,n){return Wn(e,Ml(t)||0,n)});Ss.Cache=un;var lf=vd(function(e,t){t=1==t.length&&mf(t[0])?m(t[0],E(ga())):m(er(t,1),E(ga()));var n=t.length;return ni(function(r){for(var i=-1,a=Ic(r.length,n);++i=t}),pf=Yr(function(){return arguments}())?Yr:function(e){return rl(e)&&pc.call(e,"callee")&&!Tc.call(e,"callee")},mf=ec.isArray,_f=lr?E(lr):Tr,gf=zc||zu,vf=ur?E(ur):Dr,yf=cr?E(cr):Cr,bf=dr?E(dr):Pr,wf=fr?E(fr):Er,Mf=hr?E(hr):Or,xf=ia(Nr),kf=ia(function(e,t){return e<=t}),Lf=Ri(function(e,t){if(Oa(t)||Is(t))return void Fi(t,Fl(t),e);for(var n in t)pc.call(t,n)&&jn(e,n,t[n])}),Yf=Ri(function(e,t){Fi(t,zl(t),e)}),Tf=Ri(function(e,t,n,r){Fi(t,zl(t),e,r)}),Df=Ri(function(e,t,n,r){Fi(t,Fl(t),e,r)}),Sf=fa(En),jf=ni(function(e){return e.push(ie,Dn),s(Tf,ie,e)}),Cf=ni(function(e){return e.push(ie,Ra),s(Of,ie,e)}),Af=Xi(function(e,t,n){e[t]=n},Yu(Du)),Hf=Xi(function(e,t,n){pc.call(e,t)?e[t].push(n):e[t]=[n]},ga),Pf=ni(Lr),Ef=Ri(function(e,t,n){Ir(e,t,n)}),Of=Ri(function(e,t,n,r){Ir(e,t,n,r)}),$f=fa(function(e,t){return null==e?{}:(t=m(t,Za),Jr(e,Bn(pa(e),t)))}),Ff=fa(function(e,t){return null==e?{}:Jr(e,m(t,Za))}),zf=sa(Fl),Nf=sa(zl),Rf=qi(function(e,t,n){return t=t.toLowerCase(),e+(n?nu(t):t)}),Wf=qi(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Bf=qi(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),If=Vi("toLowerCase"),Vf=qi(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),qf=qi(function(e,t,n){return e+(n?" ":"")+Jf(t)}),Uf=qi(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Jf=Vi("toUpperCase"),Gf=ni(function(e,t){try{return s(e,ie,t)}catch(e){return Ks(e)?e:new nc(e)}}),Zf=fa(function(e,t){return u(t,function(t){t=Za(t),Pn(e,t,rf(e[t],e))}),e}),Kf=Zi(),Xf=Zi(!0),Qf=ni(function(e,t){return function(n){return Lr(n,e,t)}}),eh=ni(function(e,t){return function(n){return Lr(e,n,t)}}),th=ea(m),nh=ea(d),rh=ea(y),ih=ra(),ah=ra(!0),oh=Qi(function(e,t){return e+t},0),sh=oa("ceil"),lh=Qi(function(e,t){return e/t},1),uh=oa("floor"),ch=Qi(function(e,t){return e*t},1),dh=oa("round"),fh=Qi(function(e,t){return e-t},0);return n.after=Ms,n.ary=xs,n.assign=Lf,n.assignIn=Yf,n.assignInWith=Tf,n.assignWith=Df,n.at=Sf,n.before=ks,n.bind=rf,n.bindAll=Zf,n.bindKey=af,n.castArray=$s,n.chain=Jo,n.chunk=eo,n.compact=to,n.concat=no,n.cond=ku,n.conforms=Lu,n.constant=Yu,n.countBy=Jd,n.create=Yl,n.curry=Ls,n.curryRight=Ys,n.debounce=Ts,n.defaults=jf,n.defaultsDeep=Cf,n.defer=of,n.delay=sf,n.difference=jd,n.differenceBy=Cd,n.differenceWith=Ad,n.drop=ro,n.dropRight=io,n.dropRightWhile=ao,n.dropWhile=oo,n.fill=so,n.filter=as,n.flatMap=os,n.flatMapDeep=ss,n.flatMapDepth=ls,n.flatten=co,n.flattenDeep=fo,n.flattenDepth=ho,n.flip=Ds,n.flow=Kf,n.flowRight=Xf,n.fromPairs=po,n.functions=Hl,n.functionsIn=Pl,n.groupBy=Kd,n.initial=go,n.intersection=Hd,n.intersectionBy=Pd,n.intersectionWith=Ed,n.invert=Af,n.invertBy=Hf,n.invokeMap=Xd,n.iteratee=Su,n.keyBy=Qd,n.keys=Fl,n.keysIn=zl,n.map=fs,n.mapKeys=Nl,n.mapValues=Rl,n.matches=ju,n.matchesProperty=Cu,n.memoize=Ss,n.merge=Ef,n.mergeWith=Of,n.method=Qf,n.methodOf=eh,n.mixin=Au,n.negate=js,n.nthArg=Eu,n.omit=$f,n.omitBy=Wl,n.once=Cs,n.orderBy=hs,n.over=th,n.overArgs=lf,n.overEvery=nh,n.overSome=rh,n.partial=uf,n.partialRight=cf,n.partition=ef,n.pick=Ff,n.pickBy=Bl,n.property=Ou,n.propertyOf=$u,n.pull=Od,n.pullAll=Mo,n.pullAllBy=xo,n.pullAllWith=ko,n.pullAt=$d,n.range=ih,n.rangeRight=ah,n.rearg=df,n.reject=_s,n.remove=Lo,n.rest=As,n.reverse=Yo,n.sampleSize=vs,n.set=Vl,n.setWith=ql,n.shuffle=ys,n.slice=To,n.sortBy=tf,n.sortedUniq=Po,n.sortedUniqBy=Eo,n.split=hu,n.spread=Hs,n.tail=Oo,n.take=$o,n.takeRight=Fo,n.takeRightWhile=zo,n.takeWhile=No,n.tap=Go,n.throttle=Ps,n.thru=Zo,n.toArray=vl,n.toPairs=zf,n.toPairsIn=Nf,n.toPath=Iu,n.toPlainObject=xl,n.transform=Ul,n.unary=Es,n.union=Fd,n.unionBy=zd,n.unionWith=Nd,n.uniq=Ro,n.uniqBy=Wo,n.uniqWith=Bo,n.unset=Jl,n.unzip=Io,n.unzipWith=Vo,n.update=Gl,n.updateWith=Zl,n.values=Kl,n.valuesIn=Xl,n.without=Rd,n.words=xu,n.wrap=Os,n.xor=Wd,n.xorBy=Bd,n.xorWith=Id,n.zip=Vd,n.zipObject=qo,n.zipObjectDeep=Uo,n.zipWith=qd,n.entries=zf,n.entriesIn=Nf,n.extend=Yf,n.extendWith=Tf,Au(n,n),n.add=oh,n.attempt=Gf,n.camelCase=Rf,n.capitalize=nu,n.ceil=sh,n.clamp=Ql,n.clone=Fs,n.cloneDeep=Ns,n.cloneDeepWith=Rs,n.cloneWith=zs,n.conformsTo=Ws,n.deburr=ru,n.defaultTo=Tu,n.divide=lh,n.endsWith=iu,n.eq=Bs,n.escape=au,n.escapeRegExp=ou,n.every=is,n.find=Gd,n.findIndex=lo,n.findKey=Tl,n.findLast=Zd,n.findLastIndex=uo,n.findLastKey=Dl,n.floor=uh,n.forEach=us,n.forEachRight=cs,n.forIn=Sl,n.forInRight=jl,n.forOwn=Cl,n.forOwnRight=Al,n.get=El,n.gt=ff,n.gte=hf,n.has=Ol,n.hasIn=$l,n.head=mo,n.identity=Du,n.includes=ds,n.indexOf=_o,n.inRange=eu,n.invoke=Pf,n.isArguments=pf,n.isArray=mf,n.isArrayBuffer=_f,n.isArrayLike=Is,n.isArrayLikeObject=Vs,n.isBoolean=qs,n.isBuffer=gf,n.isDate=vf,n.isElement=Us,n.isEmpty=Js,n.isEqual=Gs,n.isEqualWith=Zs,n.isError=Ks,n.isFinite=Xs,n.isFunction=Qs,n.isInteger=el,n.isLength=tl,n.isMap=yf,n.isMatch=il,n.isMatchWith=al,n.isNaN=ol,n.isNative=sl,n.isNil=ul,n.isNull=ll,n.isNumber=cl,n.isObject=nl,n.isObjectLike=rl,n.isPlainObject=dl,n.isRegExp=bf,n.isSafeInteger=fl,n.isSet=wf,n.isString=hl,n.isSymbol=pl,n.isTypedArray=Mf,n.isUndefined=ml,n.isWeakMap=_l,n.isWeakSet=gl,n.join=vo,n.kebabCase=Wf,n.last=yo,n.lastIndexOf=bo,n.lowerCase=Bf,n.lowerFirst=If,n.lt=xf,n.lte=kf,n.max=qu,n.maxBy=Uu,n.mean=Ju,n.meanBy=Gu,n.min=Zu,n.minBy=Ku,n.stubArray=Fu,n.stubFalse=zu,n.stubObject=Nu,n.stubString=Ru,n.stubTrue=Wu,n.multiply=ch,n.nth=wo,n.noConflict=Hu,n.noop=Pu,n.now=nf,n.pad=su,n.padEnd=lu,n.padStart=uu,n.parseInt=cu,n.random=tu,n.reduce=ps,n.reduceRight=ms,n.repeat=du,n.replace=fu,n.result=Il,n.round=dh,n.runInContext=e,n.sample=gs,n.size=bs,n.snakeCase=Vf,n.some=ws,n.sortedIndex=Do,n.sortedIndexBy=So,n.sortedIndexOf=jo,n.sortedLastIndex=Co,n.sortedLastIndexBy=Ao,n.sortedLastIndexOf=Ho,n.startCase=qf,n.startsWith=pu,n.subtract=fh,n.sum=Xu,n.sumBy=Qu,n.template=mu,n.times=Bu,n.toFinite=yl,n.toInteger=bl,n.toLength=wl,n.toLower=_u,n.toNumber=Ml,n.toSafeInteger=kl,n.toString=Ll,n.toUpper=gu,n.trim=vu,n.trimEnd=yu,n.trimStart=bu,n.truncate=wu,n.unescape=Mu,n.uniqueId=Vu,n.upperCase=Uf,n.upperFirst=Jf,n.each=us,n.eachRight=cs,n.first=mo,Au(n,function(){var e={};return tr(n,function(t,r){pc.call(n.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),n.VERSION=ae,u(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){n[e].placeholder=n}),u(["drop","take"],function(e,t){b.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new b(this);n=n===ie?1:Bc(bl(n),0);var i=this.clone();return r?i.__takeCount__=Ic(n,i.__takeCount__):i.__views__.push({size:Ic(n,Ee),type:e+(i.__dir__<0?"Right":"")}),i},b.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),u(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==De||n==je;b.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ga(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),u(["head","last"],function(e,t){var n="take"+(t?"Right":"");b.prototype[e]=function(){return this[n](1).value()[0]}}),u(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");b.prototype[e]=function(){return this.__filtered__?new b(this):this[n](1)}}),b.prototype.compact=function(){return this.filter(Du)},b.prototype.find=function(e){return this.filter(e).head()},b.prototype.findLast=function(e){return this.reverse().find(e)},b.prototype.invokeMap=ni(function(e,t){return"function"==typeof e?new b(this):this.map(function(n){return Lr(n,e,t)})}),b.prototype.reject=function(e){return this.filter(js(ga(e)))},b.prototype.slice=function(e,t){e=bl(e);var n=this;return n.__filtered__&&(e>0||t<0)?new b(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==ie&&(t=bl(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},b.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},b.prototype.toArray=function(){return this.take(Ee)},tr(b.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),o=n[a?"take"+("last"==t?"Right":""):t],s=a||/^find/.test(t);o&&(n.prototype[t]=function(){var t=this.__wrapped__,l=a?[1]:arguments,u=t instanceof b,c=l[0],d=u||mf(t),f=function(e){var t=o.apply(n,_([e],l));return a&&h?t[0]:t};d&&r&&"function"==typeof c&&1!=c.length&&(u=d=!1);var h=this.__chain__,p=!!this.__actions__.length,m=s&&!h,g=u&&!p;if(!s&&d){t=g?t:new b(this);var v=e.apply(t,l);return v.__actions__.push({func:Zo,args:[f],thisArg:ie}),new i(v,h)}return m&&g?e.apply(this,l):(v=this.thru(f),m?a?v.value()[0]:v.value():v)})}),u(["pop","push","shift","sort","splice","unshift"],function(e){var t=uc[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var n=this.value();return t.apply(mf(n)?n:[],e)}return this[r](function(n){return t.apply(mf(n)?n:[],e)})}}),tr(b.prototype,function(e,t){var r=n[t];if(r){var i=r.name+"",a=nd[i]||(nd[i]=[]);a.push({name:t,func:r})}}),nd[Ki(ie,he).name]=[{name:"wrapper",func:ie}],b.prototype.clone=S,b.prototype.reverse=K,b.prototype.value=te,n.prototype.at=Ud,n.prototype.chain=Ko,n.prototype.commit=Xo,n.prototype.next=Qo,n.prototype.plant=ts,n.prototype.reverse=ns,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=rs,n.prototype.first=n.prototype.head,jc&&(n.prototype[jc]=es),n},yr=vr();nr._=yr,r=function(){return yr}.call(t,n,t,i),!(r!==ie&&(i.exports=r))}).call(this)}).call(t,function(){return this}(),n(169)(e),n(8))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.eventEmitter=t.generateId=void 0;var i=n(283),a=r(i),o=(0,a.default)({}),s=function(){var e=0,t="item_";return function(n){return n="string"==typeof n?n:t,e+=1,n+e}}();t.generateId=s,t.eventEmitter=o},function(e,t,n){var r=n(23).Pipe,i=function(){};i.prototype.setResult=function(e){return this.result=e,this.hasResult=!0,this},i.prototype.exit=function(){return this.exiting=!0,this},i.prototype.switchTo=function(e,t){return"string"==typeof e||e instanceof r?this.nextPipe=e:(this.next=e,t&&(this.nextPipe=t)),this},i.prototype.push=function(e,t){return e.parent=this,"undefined"!=typeof t&&(e.childName=t),e.root=this.root||this,e.options=e.options||this.options,this.children?(this.children[this.children.length-1].next=e,this.children.push(e)):(this.children=[e],this.nextAfterChildren=this.next||null,this.next=e),e.next=this,this},t.Context=i},function(e,t,n){var r=n(10).Context,i=n(20),a=function(e,t){this.left=e,this.right=t,this.pipe="diff"};a.prototype=new r,a.prototype.setResult=function(e){if(this.options.cloneDiffValues){var t="function"==typeof this.options.cloneDiffValues?this.options.cloneDiffValues:function(e){return JSON.parse(JSON.stringify(e),i)};"object"==typeof e[0]&&(e[0]=t(e[0])),"object"==typeof e[1]&&(e[1]=t(e[1]))}return r.prototype.setResult.apply(this,arguments)},t.DiffContext=a},function(e,t,n){var r=n(10).Context,i=function(e,t){this.left=e,this.delta=t,this.pipe="patch"};i.prototype=new r,t.PatchContext=i},function(e,t,n){var r=n(10).Context,i=function(e){this.delta=e,this.pipe="reverse"};i.prototype=new r,t.ReverseContext=i},function(e,t){t.isBrowser="undefined"!=typeof window},function(e,t,n){var r=n(5),i=r.BaseFormatter,a=function(){this.includeMoveDestinations=!1};a.prototype=new i,a.prototype.prepareContext=function(e){i.prototype.prepareContext.call(this,e),e.indent=function(e){this.indentLevel=(this.indentLevel||0)+("undefined"==typeof e?1:e),this.indentPad=new Array(this.indentLevel+1).join("  ")},e.row=function(t,n){e.out('
    '),e.out(e.indentPad),e.out('
    '),e.out(t),e.out('
    '),e.out(n),e.out("
    ")}},a.prototype.typeFormattterErrorFormatter=function(e,t){e.row("",'
    '+t+"
    ")},a.prototype.formatTextDiffString=function(e,t){var n=this.parseTextDiff(t);e.out('
      ');for(var r=0,i=n.length;r
      '+a.location.line+''+a.location.chr+'
      ');for(var o=a.pieces,s=0,l=o.length;s'+u.text+"")}e.out("
      ")}e.out("
    ")},a.prototype.rootBegin=function(e,t,n){e.out(''),"node"===t&&(e.row("{"),e.indent()),"array"===n&&e.row('"_t": "a",',"Array delta (member names indicate array indices)")},a.prototype.rootEnd=function(e,t){"node"===t&&(e.indent(-1),e.row("}")),e.out("
    ")},a.prototype.nodeBegin=function(e,t,n,r,i){e.row("""+t+"": {"),"node"===r&&e.indent(),"array"===i&&e.row('"_t": "a",',"Array delta (member names indicate array indices)")},a.prototype.nodeEnd=function(e,t,n,r,i,a){"node"===r&&e.indent(-1),e.row("}"+(a?"":","))},a.prototype.format_unchanged=function(){},a.prototype.format_movedestination=function(){},a.prototype.format_node=function(e,t,n){this.formatDeltaChildren(e,t,n)};var o=function(e){return'
    "'+e+""
    "},s={added:function(e,t,n,r){var i="
    ([newValue])
    ";return"undefined"==typeof r?"new value"+i:"number"==typeof r?"insert at index "+r+i:"add property "+o(r)+i},modified:function(e,t,n,r){var i="
    ([previousValue, newValue])
    ";return"undefined"==typeof r?"modify value"+i:"number"==typeof r?"modify at index "+r+i:"modify property "+o(r)+i},deleted:function(e,t,n,r){var i="
    ([previousValue, 0, 0])
    ";return"undefined"==typeof r?"delete value"+i:"number"==typeof r?"remove index "+r+i:"delete property "+o(r)+i},moved:function(e,t,n,r){return'move from index '+r+' to index '+e[1]+""},textdiff:function(e,t,n,r){var i="undefined"==typeof r?"":"number"==typeof r?" at index "+r:" at property "+o(r);return"text diff"+i+', format is a variation of Unidiff'}},l=function(e,t){var n=this.getDeltaType(t),r=s[n],i=r&&r.apply(r,Array.prototype.slice.call(arguments,1)),a=JSON.stringify(t,null,2);"textdiff"===n&&(a=a.split("\\n").join('\\n"+\n "')),e.indent(),e.row(a,i),e.indent(-1)};a.prototype.format_added=l,a.prototype.format_modified=l,a.prototype.format_deleted=l,a.prototype.format_moved=l,a.prototype.format_textdiff=l,t.AnnotatedFormatter=a;var u;t.format=function(e,t){return u||(u=new a),u.format(e,t)}},function(e,t,n){function r(e){for(var t=e,n=[[/&/g,"&"],[//g,">"],[/'/g,"'"],[/"/g,"""]],r=0;r'+t+"")},o.prototype.formatValue=function(e,t){e.out("
    "+r(JSON.stringify(t,null,2))+"
    ")},o.prototype.formatTextDiffString=function(e,t){var n=this.parseTextDiff(t);e.out('
      ');for(var i=0,a=n.length;i
      '+o.location.line+''+o.location.chr+'
      ');for(var s=o.pieces,l=0,u=s.length;l'+r(unescape(c.text))+"")}e.out("
      ")}e.out("
    ")};var s=function(e){e=e||document;var t=function(e){return e.textContent||e.innerText},n=function(e,t,n){for(var r=e.querySelectorAll(t),i=0,a=r.length;i0?0:u)+"px";var c=u>0?"M30,0 Q-10,"+Math.round(u/2)+" 26,"+(u-4):"M30,"+-u+" Q-10,"+Math.round(-u/2)+" 26,4";a.setAttribute("d",c),i.style.display=""}catch(e){return}})};o.prototype.rootBegin=function(e,t,n){var r="jsondiffpatch-"+t+(n?" jsondiffpatch-child-node-type-"+n:"");e.out('
    ')},o.prototype.rootEnd=function(e){e.out("
    "+(e.hasArrows?'":""))},o.prototype.nodeBegin=function(e,t,n,r,i){var a="jsondiffpatch-"+r+(i?" jsondiffpatch-child-node-type-"+i:"");e.out('
  • '+n+"
    ")},o.prototype.nodeEnd=function(e){e.out("
  • ")},o.prototype.format_unchanged=function(e,t,n){"undefined"!=typeof n&&(e.out('
    '),this.formatValue(e,n),e.out("
    "))},o.prototype.format_movedestination=function(e,t,n){"undefined"!=typeof n&&(e.out('
    '),this.formatValue(e,n),e.out("
    "))},o.prototype.format_node=function(e,t,n){var r="a"===t._t?"array":"object";e.out('
      '),this.formatDeltaChildren(e,t,n),e.out("
    ")},o.prototype.format_added=function(e,t){e.out('
    '),this.formatValue(e,t[0]),e.out("
    ")},o.prototype.format_modified=function(e,t){e.out('
    '),this.formatValue(e,t[0]),e.out('
    '),this.formatValue(e,t[1]),e.out("
    ")},o.prototype.format_deleted=function(e,t){e.out('
    '),this.formatValue(e,t[0]),e.out("
    ")},o.prototype.format_moved=function(e,t){e.out('
    '),this.formatValue(e,t[0]),e.out('
    '+t[1]+"
    "),e.out('
    \t \t \t \t \t \t \t \t \t
    '),e.hasArrows=!0},o.prototype.format_textdiff=function(e,t){e.out('
    '),this.formatTextDiffString(e,t[0]),e.out("
    ")};var l=function(e,t,n){var r=t||document.body,i="jsondiffpatch-unchanged-",a={showing:i+"showing",hiding:i+"hiding",visible:i+"visible",hidden:i+"hidden"},o=r.classList;if(o){if(!n)return o.remove(a.showing),o.remove(a.hiding),o.remove(a.visible),o.remove(a.hidden),void(e===!1&&o.add(a.hidden));e===!1?(o.remove(a.showing),o.add(a.visible),setTimeout(function(){o.add(a.hiding)},10)):(o.remove(a.hiding),o.add(a.showing),o.remove(a.hidden));var l=setInterval(function(){s(r)},100);setTimeout(function(){o.remove(a.showing),o.remove(a.hiding),e===!1?(o.add(a.hidden),o.remove(a.visible)):(o.add(a.visible),o.remove(a.hidden)),setTimeout(function(){o.remove(a.visible),clearInterval(l)},n+400)},n)}},u=function(e,t){return l(!1,e,t)};t.HtmlFormatter=o,t.showUnchanged=l,t.hideUnchanged=u;var c;t.format=function(e,t){return c||(c=new o),c.format(e,t)}},function(e,t,n){var r=n(14);if(t.base=n(5),t.html=n(16),t.annotated=n(15),t.jsonpatch=n(18),!r.isBrowser){var i="./console";t.console=n(290)(i)}},function(e,t,n){!function(){function e(){this.includeMoveDestinations=!1}function r(e){return e[e.length-1]}function i(e,t){return e.sort(t),e}function a(e){return i(e,function(e,t){var n=e.path.split("/"),i=t.path.split("/");return n.length!==i.length?n.length-i.length:f(r(n),r(i))})}function o(e,t){var n=[],r=[];return e.forEach(function(e){var i=t(e)?n:r;i.push(e)}),[n,r]}function s(e){var t=o(e,function(e){return"remove"===e.op}),n=t[0],r=t[1],i=a(n);return i.concat(r)}var l=n(5),u=l.BaseFormatter,c={added:"add",deleted:"remove",modified:"replace",moved:"moved",movedestination:"movedestination",unchanged:"unchanged",error:"error",textDiffLine:"textDiffLine"};e.prototype=new u,e.prototype.prepareContext=function(e){u.prototype.prepareContext.call(this,e),e.result=[],e.path=[],e.pushCurrentOp=function(e,t){var n={op:e,path:this.currentPath()};"undefined"!=typeof t&&(n.value=t),this.result.push(n)},e.currentPath=function(){return"/"+this.path.join("/")}},e.prototype.typeFormattterErrorFormatter=function(e,t){e.out("[ERROR]"+t)},e.prototype.rootBegin=function(){},e.prototype.rootEnd=function(){},e.prototype.nodeBegin=function(e,t,n){e.path.push(n)},e.prototype.nodeEnd=function(e){e.path.pop()},e.prototype.format_unchanged=function(e,t,n){"undefined"!=typeof n&&e.pushCurrentOp(c.unchanged,n)},e.prototype.format_movedestination=function(e,t,n){"undefined"!=typeof n&&e.pushCurrentOp(c.movedestination,n)},e.prototype.format_node=function(e,t,n){this.formatDeltaChildren(e,t,n)},e.prototype.format_added=function(e,t){e.pushCurrentOp(c.added,t[0])},e.prototype.format_modified=function(e,t){e.pushCurrentOp(c.modified,t[1])},e.prototype.format_deleted=function(e){e.pushCurrentOp(c.deleted)},e.prototype.format_moved=function(e,t){e.pushCurrentOp(c.moved,t[1])},e.prototype.format_textdiff=function(){throw"not implimented"},e.prototype.format=function(e,t){var n={};return this.prepareContext(n),this.recurse(n,e,t),n.result},t.JSONFormatter=e;var d,f=function(e,t){var n=parseInt(e,10),r=parseInt(t,10);return isNaN(n)||isNaN(r)?0:r-n},h=function(t,n){return d||(d=new e),s(d.format(t,n))};t.log=function(e,t){console.log(h(e,t))},t.format=h}()},function(e,t,n){e.exports=!n(25)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e,t){var n;return"string"==typeof t&&(n=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d*))?(Z|([+\-])(\d{2}):(\d{2}))$/.exec(t))?new Date(Date.UTC(+n[1],+n[2]-1,+n[3],+n[4],+n[5],+n[6],+(n[7]||0))):t}},function(e,t,n){var r=n(213),i=n(5),a=i.BaseFormatter,o={added:r.green,deleted:r.red,movedestination:r.gray,moved:r.yellow,unchanged:r.gray,error:r.white.bgRed,textDiffLine:r.gray},s=function(){this.includeMoveDestinations=!1};s.prototype=new a,s.prototype.prepareContext=function(e){a.prototype.prepareContext.call(this,e),e.indent=function(e){this.indentLevel=(this.indentLevel||0)+("undefined"==typeof e?1:e),this.indentPad=new Array(this.indentLevel+1).join(" "),this.outLine()},e.outLine=function(){this.buffer.push("\n"+(this.indentPad||""))},e.out=function(){for(var e=0,t=arguments.length;e "),e.pushColor(o.added),this.formatValue(e,t[1]),e.popColor()},s.prototype.format_deleted=function(e,t){this.formatValue(e,t[0])},s.prototype.format_moved=function(e,t){e.out("==> "+t[1])},s.prototype.format_textdiff=function(e,t){this.formatTextDiffString(e,t[0])},t.ConsoleFormatter=s;var l,u=function(e,t){return l||(l=new s),l.format(e,t)};t.log=function(e,t){console.log(u(e,t))},t.format=u},function(e,t,n){var r=n(14),i=n(30).DiffPatcher;t.DiffPatcher=i,t.create=function(e){return new i(e)},t.dateReviver=n(20);var a;if(t.diff=function(){return a||(a=new i),a.diff.apply(a,arguments)},t.patch=function(){return a||(a=new i),a.patch.apply(a,arguments)},t.unpatch=function(){return a||(a=new i),a.unpatch.apply(a,arguments)},t.reverse=function(){return a||(a=new i),a.reverse.apply(a,arguments)},r.isBrowser)t.homepage="{{package-homepage}}",t.version="{{package-version}}";else{var o="../package.json",s=n(52)(o);t.homepage=s.homepage,t.version=s.version;var l="./formatters",u=n(52)(l);t.formatters=u,t.console=u.console}},function(e,t){var n=function(e){this.name=e,this.filters=[]};n.prototype.process=function(e){if(!this.processor)throw new Error("add this pipe to a processor before using it");for(var t=this.debug,n=this.filters.length,r=e,i=0;it.length?e:t,u=e.length>t.length?t:e,c=l.indexOf(u);if(c!=-1)return s=[[i,l.substring(0,c)],[a,u],[i,l.substring(c+u.length)]],e.length>t.length&&(s[0][0]=s[2][0]=r),s;if(1==u.length)return[[r,e],[i,t]];l=u=null;var d=this.diff_halfMatch_(e,t);if(d){var f=d[0],h=d[1],p=d[2],m=d[3],_=d[4],g=this.diff_main(f,p,n,o),v=this.diff_main(h,m,n,o);return g.concat([[a,_]],v)}return n&&e.length>100&&t.length>100?this.diff_lineMode_(e,t,o):this.diff_bisect_(e,t,o)},n.prototype.diff_lineMode_=function(e,t,n){var o=this.diff_linesToChars_(e,t);e=o[0],t=o[1];var s=o[2],l=this.diff_bisect_(e,t,n);this.diff_charsToLines_(l,s),this.diff_cleanupSemantic(l),l.push([a,""]);for(var u=0,c=0,d=0,f="",h="";u=1&&d>=1){var o=this.diff_main(f,h,!1,n);l.splice(u-c-d,c+d),u=u-c-d;for(var p=o.length-1;p>=0;p--)l.splice(u,0,o[p]);u+=o.length}d=0,c=0,f="",h=""}u++}return l.pop(),l},n.prototype.diff_bisect_=function(e,t,n){for(var a=e.length,o=t.length,s=Math.ceil((a+o)/2),l=s,u=2*s,c=new Array(u),d=new Array(u),f=0;fn);y++){for(var b=-y+m;b<=y-_;b+=2){var w,M=l+b;w=b==-y||b!=y&&c[M-1]a)_+=2;else if(x>o)m+=2;else if(p){var k=l+h-b;if(k>=0&&k=L)return this.diff_bisectSplit_(e,t,w,x,n)}}}for(var Y=-y+g;Y<=y-v;Y+=2){var L,k=l+Y;L=Y==-y||Y!=y&&d[k-1]a)v+=2;else if(T>o)g+=2;else if(!p){var M=l+h-Y;if(M>=0&&M=L)return this.diff_bisectSplit_(e,t,w,x,n)}}}}return[[r,e],[i,t]]},n.prototype.diff_bisectSplit_=function(e,t,n,r,i){var a=e.substring(0,n),o=t.substring(0,r),s=e.substring(n),l=t.substring(r),u=this.diff_main(a,o,!1,i),c=this.diff_main(s,l,!1,i);return u.concat(c)},n.prototype.diff_linesToChars_=function(e,t){function n(e){for(var t="",n=0,a=-1,o=r.length;ar?e=e.substring(n-r):n=e.length?[r,i,a,s,c]:null}if(this.Diff_Timeout<=0)return null;var r=e.length>t.length?e:t,i=e.length>t.length?t:e;if(r.length<4||2*i.lengthl[4].length?s:l:s;var u,c,d,f;e.length>t.length?(u=a[0],c=a[1],d=a[2],f=a[3]):(d=a[0],f=a[1],u=a[2],c=a[3]);var h=a[4];return[u,c,d,f,h]},n.prototype.diff_cleanupSemantic=function(e){for(var t=!1,n=[],o=0,s=null,l=0,u=0,c=0,d=0,f=0;l0?n[o-1]:-1,u=0,c=0,d=0,f=0,s=null,t=!0)),l++;for(t&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),l=1;l=h.length/2||m>=p.length/2)&&(e.splice(l,0,[a,p.substring(0,m)]),e[l-1][1]=h.substring(0,h.length-m),e[l+1][1]=p.substring(m),l++),l++}l++}},n.prototype.diff_cleanupSemanticLossless=function(e){function t(e,t){if(!e||!t)return 5;var a=0;return(e.charAt(e.length-1).match(n)||t.charAt(0).match(n))&&(a++,(e.charAt(e.length-1).match(r)||t.charAt(0).match(r))&&(a++,(e.charAt(e.length-1).match(i)||t.charAt(0).match(i))&&(a++,(e.match(o)||t.match(s))&&a++))),a}for(var n=/[^a-zA-Z0-9]/,r=/\s/,i=/[\r\n]/,o=/\n\r?\n$/,s=/^\r?\n\r?\n/,l=1;l=g&&(g=v,p=u,m=c,_=d)}e[l-1][1]!=p&&(p?e[l-1][1]=p:(e.splice(l-1,1),l--),e[l][1]=m,_?e[l+1][1]=_:(e.splice(l+1,1),l--))}l++}},n.prototype.diff_cleanupEfficiency=function(e){for(var t=!1,n=[],o=0,s="",l=0,u=!1,c=!1,d=!1,f=!1;l0?n[o-1]:-1,d=f=!1),t=!0)),l++;t&&this.diff_cleanupMerge(e)},n.prototype.diff_cleanupMerge=function(e){e.push([a,""]);for(var t,n=0,o=0,s=0,l="",u="";n1?(0!==o&&0!==s&&(t=this.diff_commonPrefix(u,l),0!==t&&(n-o-s>0&&e[n-o-s-1][0]==a?e[n-o-s-1][1]+=u.substring(0,t):(e.splice(0,0,[a,u.substring(0,t)]),n++),u=u.substring(t),l=l.substring(t)),t=this.diff_commonSuffix(u,l),0!==t&&(e[n][1]=u.substring(u.length-t)+e[n][1],u=u.substring(0,u.length-t),l=l.substring(0,l.length-t))),0===o?e.splice(n-o-s,o+s,[i,u]):0===s?e.splice(n-o-s,o+s,[r,l]):e.splice(n-o-s,o+s,[r,l],[i,u]),n=n-o-s+(o?1:0)+(s?1:0)+1):0!==n&&e[n-1][0]==a?(e[n-1][1]+=e[n][1],e.splice(n,1)):n++,s=0,o=0,l="",u=""}""===e[e.length-1][1]&&e.pop();var c=!1;for(n=1;nt));n++)s=a,l=o;return e.length!=n&&e[n][0]===r?l:l+(t-s)},n.prototype.diff_prettyHtml=function(e){for(var t=[],n=0,o=/&/g,s=//g,u=/\n/g,c=0;c");switch(d){case i:t[c]=''+h+"";break;case r:t[c]=''+h+"";break;case a:t[c]=""+h+""}d!==r&&(n+=f.length)}return t.join("")},n.prototype.diff_text1=function(e){for(var t=[],n=0;nthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var i=this.match_alphabet_(t),a=this,o=this.Match_Threshold,s=e.indexOf(t,n);s!=-1&&(o=Math.min(r(0,s),o),s=e.lastIndexOf(t,n+t.length),s!=-1&&(o=Math.min(r(0,s),o)));var l=1<=p;g--){var v=i[e.charAt(g-1)];if(0===h?_[g]=(_[g+1]<<1|1)&v:_[g]=(_[g+1]<<1|1)&v|((d[g+1]|d[g])<<1|1)|d[g+1],_[g]&l){var y=r(h,g-1);if(y<=o){if(o=y,s=g-1,!(s>n))break;p=Math.max(1,2*n-s)}}}if(r(h+1,n)>o)break;d=_}return s},n.prototype.match_alphabet_=function(e){for(var t={},n=0;n2&&(this.diff_cleanupSemantic(l),this.diff_cleanupEfficiency(l));else if(e&&"object"==typeof e&&"undefined"==typeof t&&"undefined"==typeof o)l=e,s=this.diff_text1(l);else if("string"==typeof e&&t&&"object"==typeof t&&"undefined"==typeof o)s=e,l=t;else{if("string"!=typeof e||"string"!=typeof t||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");s=e,l=o}if(0===l.length)return[];for(var u=[],c=new n.patch_obj,d=0,f=0,h=0,p=s,m=s,_=0;_=2*this.Patch_Margin&&d&&(this.patch_addContext_(c,p),u.push(c),c=new n.patch_obj,d=0,p=m,f=h)}g!==i&&(f+=v.length),g!==r&&(h+=v.length)}return d&&(this.patch_addContext_(c,p),u.push(c)),u},n.prototype.patch_deepCopy=function(e){for(var t=[],r=0;rthis.Match_MaxBits?(u=this.match_main(t,d.substring(0,this.Match_MaxBits),c),u!=-1&&(f=this.match_main(t,d.substring(d.length-this.Match_MaxBits),c+d.length-this.Match_MaxBits),(f==-1||u>=f)&&(u=-1))):u=this.match_main(t,d,c),u==-1)s[l]=!1,o-=e[l].length2-e[l].length1;else{s[l]=!0,o=u-c;var h;if(h=f==-1?t.substring(u,u+d.length):t.substring(u,f+this.Match_MaxBits),d==h)t=t.substring(0,u)+this.diff_text2(e[l].diffs)+t.substring(u+d.length);else{var p=this.diff_main(d,h,!1);if(d.length>this.Match_MaxBits&&this.diff_levenshtein(p)/d.length>this.Patch_DeleteThreshold)s[l]=!1;else{this.diff_cleanupSemanticLossless(p);for(var m,_=0,g=0;go[0][1].length){var s=t-o[0][1].length;o[0][1]=n.substring(o[0][1].length)+o[0][1],i.start1-=s,i.start2-=s,i.length1+=s,i.length2+=s}if(i=e[e.length-1],o=i.diffs,0==o.length||o[o.length-1][0]!=a)o.push([a,n]),i.length1+=t,i.length2+=t;else if(t>o[o.length-1][1].length){var s=t-o[o.length-1][1].length;o[o.length-1][1]+=n.substring(0,s),i.length1+=s,i.length2+=s}return n},n.prototype.patch_splitMax=function(e){for(var t=this.Match_MaxBits,o=0;ot){var s=e[o];e.splice(o--,1);for(var l=s.start1,u=s.start2,c="";0!==s.diffs.length;){var d=new n.patch_obj,f=!0;for(d.start1=l-c.length,d.start2=u-c.length,""!==c&&(d.length1=d.length2=c.length,d.diffs.push([a,c]));0!==s.diffs.length&&d.length12*t?(d.length1+=p.length,l+=p.length,f=!1,d.diffs.push([h,p]),s.diffs.shift()):(p=p.substring(0,t-d.length1-this.Patch_Margin),d.length1+=p.length,l+=p.length,h===a?(d.length2+=p.length,u+=p.length):f=!1,d.diffs.push([h,p]),p==s.diffs[0][1]?s.diffs.shift():s.diffs[0][1]=s.diffs[0][1].substring(p.length))}c=this.diff_text2(d.diffs),c=c.substring(c.length-this.Patch_Margin);var m=this.diff_text1(s.diffs).substring(0,this.Patch_Margin);""!==m&&(d.length1+=m.length,d.length2+=m.length,0!==d.diffs.length&&d.diffs[d.diffs.length-1][0]===a?d.diffs[d.diffs.length-1][1]+=m:d.diffs.push([a,m])),f||e.splice(++o,0,d)}}},n.prototype.patch_toText=function(e){for(var t=[],n=0;n0&&g>0&&!c.objectHash&&"boolean"!=typeof c.matchByPosition&&(c.matchByPosition=!r(p,m,_,g));f<_&&f0)for(var D=0;D=0;t--){n=a[t];var c=r["_"+n],d=i.splice(n,1)[0];c[2]===u&&s.push({index:c[1],value:d})}s=s.sort(h.numericallyBy("index"));var f=s.length;for(t=0;t0)for(t=0;t<_;t++){var g=l[t];m=new o(e.left[g.index],g.delta),e.push(m,g.index)}return e.children?void e.exit():void e.setResult(e.left).exit()}};p.filterName="arrays";var m=function(e){if(e&&e.children&&"a"===e.delta._t){for(var t,n=e.children.length,r=0;rr?r++:o>=r&&se[r-1][a]?i(e,t,n,r,a-1,o):i(e,t,n,r-1,a,o)},a=function(e,t,a,o){o=o||{};var s=r(e,t,a||n,o),l=i(s,e,t,e.length,t.length,o);return"string"==typeof e&&"string"==typeof t&&(l.sequence=l.sequence.join("")),l};t.get=a},function(e,t,n){var r=n(11).DiffContext,i=n(12).PatchContext,a=n(13).ReverseContext,o=function(e){if(e&&e.children){for(var t,n=e.children.length,r=e.result,i=0;i=this.viewport.width&&(a=this.viewport.width-this.currentViewBox[2]),o+this.currentViewBox[3]>=this.viewport.height&&(o=this.viewport.height-this.currentViewBox[3]),a<=0&&(a=0),o<=0&&(o=0),this.currentViewBox[0]=a,this.currentViewBox[1]=o,this.updateViewBox()}},{key:"reset",value:function(){this.scale=1,this.currentViewBox=[0,0,this.imageWidth,this.imageHeight],this.updateViewBox()}},{key:"zoomOut",value:function(){if(1==this.scale)return!1;var e=this.currentViewBox[0]+this.currentViewBox[2]/2,t=this.currentViewBox[1]+this.currentViewBox[3]/2,n=this.zoomFactor*(this.scale-1),r=this.imgMinSize-this.imgMinSize*n,i=r,a=e-r/2,o=t-i/2;this.currentViewBox[0]=a,this.currentViewBox[1]=o,this.currentViewBox[2]=r,this.currentViewBox[3]=i,this.updateViewBox(),this.scale--}}]),e}();t.default={enable_zoom:function(e){return new o(e)}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={methods:{save:function(e){Object.assign(e,{fragment:this.toSVGPath()}),this.$parent.$emit("save",e)}}}},function(e,t,n){(function(e,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(7),o=i(a),s=n(304),l=i(s),u={placement:"auto",container:"body",trigger:"manual",html:!0,title:"",content:""};t.default={methods:{addTooltip:function(){var t=this,n=new Vue(l.default);this.originalAnnotation&&(n.originalTitle=this.originalAnnotation.title,n.originalDescription=this.originalAnnotation.description,n.originalTags=this.originalAnnotation.tags),n.$mount(e("
    ").get(0)),n.$on("close",function(){t.clear()}),n.$on("save",function(e){t.save(e)}),u.content=n.$el;var i=new o.default(this.getTooltipTarget()),a=r(i.node);a.popover(u),this.$on("drag:start",function(){a.popover("hide")}),this.$on("drag:end",function(){a.popover("show")}),a.on("shown.bs.popover",function(e){var t=a.data("bs.popover").tip();t.find('input[name="title"]').focus(),document.body.scrollTop>0&&t.css("top",parseInt(t.css("top"),10)+document.body.scrollTop)}),a.popover("show")},destroyTooltip:function(){var e=new o.default(this.getTooltipTarget()),t=r(e.node);t.data("bs.popover")&&t.popover("destroy")},hideTooltip:function(){var e=new o.default(this.getTooltipTarget()),t=r(e.node);t.data("bs.popover")&&t.popover("hide")},showTooltip:function(){var e=new o.default(this.getTooltipTarget()),t=r(e.node);t.data("bs.popover")&&t.popover("show")}}}}).call(t,n(2),n(2))},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(26),i=n(24),a=n(220),o=n(224),s="prototype",l=function(e,t,n){var u,c,d,f=e&l.F,h=e&l.G,p=e&l.S,m=e&l.P,_=e&l.B,g=e&l.W,v=h?i:i[t]||(i[t]={}),y=v[s],b=h?r:p?r[t]:(r[t]||{})[s];h&&(n=t);for(u in n)c=!f&&b&&void 0!==b[u],c&&u in v||(d=c?b[u]:n[u],v[u]=h&&"function"!=typeof b[u]?n[u]:_&&c?a(d,r):g&&b[u]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[s]=e[s],t}(d):m&&"function"==typeof d?a(Function.call,d):d,m&&((v.virtual||(v.virtual={}))[u]=d,e&l.R&&y&&!y[u]&&o(y,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(219);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(217),i=n(225),a=n(237),o=Object.defineProperty;t.f=n(19)?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(46),i=n(44);e.exports=function(e){return r(i(e))}},function(e,t){"use strict";function n(e){function t(){var e={};for(s.push(e);l=20?"ste":"de")},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ar-dz",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,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",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},i=function(e){return function(t,i,a,o){var s=n(t),l=r[e][n(t)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],o=e.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return o})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,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",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,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"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:0,doy:6}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,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",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},a=function(e){return function(t,n,a,o){var s=r(t),l=i[e][r(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},o=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],s=e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return s})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},n=e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,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:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var n=e%10,r=e%100-n,i=e>=100?100:null;return e+(t[n]||t[r]||t[i])},week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:n?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:n?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===r?n?"хвіліна":"хвіліну":"h"===r?n?"гадзіна":"гадзіну":e+" "+t(i[r],+e)}var r=e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".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:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:n,mm:n,h:n,hh:n,d:"дзень",dd:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!==2&&e%10!==3||e%100===12||e%100===13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},n={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r=e.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},r=e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n){var r={mm:"munutenn",MM:"miz",dd:"devezh"};return e+" "+i(r[n],e)}function n(e){switch(r(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function r(e){return e>9?r(e%10):e}function i(e,t){return 2===t?a(e):e}function a(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var o=e.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:n},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){var t=1===e?"añ":"vet";return e+t},week:{dow:1,doy:4}});return o})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}var n=e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return e>1&&e<5&&1!==~~(e/10)}function n(e,n,r,i){var a=e+" ";switch(r){case"s":return n||i?"pár sekund":"pár sekundami";case"m":return n?"minuta":i?"minutu":"minutou";case"mm":return n||i?a+(t(e)?"minuty":"minut"):a+"minutami";case"h":return n?"hodina":i?"hodinu":"hodinou";case"hh":return n||i?a+(t(e)?"hodiny":"hodin"):a+"hodinami"; case"d":return n||i?"den":"dnem";case"dd":return n||i?a+(t(e)?"dny":"dní"):a+"dny";case"M":return n||i?"měsíc":"měsícem";case"MM":return n||i?a+(t(e)?"měsíce":"měsíců"):a+"měsíci";case"y":return n||i?"rok":"rokem";case"yy":return n||i?a+(t(e)?"roky":"let"):a+"lety"}}var r="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),i="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),a=e.defineLocale("cs",{months:r,monthsShort:i,monthsParse:function(e,t){var n,r=[];for(n=0;n<12;n++)r[n]=new RegExp("^"+e[n]+"$|^"+t[n]+"$","i");return r}(r,i),shortMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(i),longMonthsParse:function(e){var t,n=[];for(t=0;t<12;t++)n[t]=new RegExp("^"+e[t]+"$","i");return n}(r),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){var t=/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран";return e+t},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,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:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,n="",r=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=r[t]),e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".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.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}var n=e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,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:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?i[n][0]:i[n][1]}var n=e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,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:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],r=e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}var n=e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,n){var r=this._calendarEl[e],i=n&&n.hours();return t(r)&&(r=r.apply(n)),r.replace("{}",i%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("en-au",{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:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("en-ca",{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:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("en-ie",{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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("en-nz",{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:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},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(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}var n=e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},r=e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,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"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,function(e){return n[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,r,i){var a="";switch(r){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"m":return i?"minuutin":"minuutti";case"mm":a=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":a=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":a=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":a=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":a=i?"vuoden":"vuotta"}return a=n(e,i)+" "+a}function n(e,t){return e<10?t?i[e]:r[e]:e}var r="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),i=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",r[7],r[8],r[9]],a=e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".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:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,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:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(e){return e+(1===e?"er":"e")},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,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:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(e){return e+(1===e?"er":"")},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),r=e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,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:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){ @@ -13,29 +13,29 @@ }}var n=e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},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:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var e=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}},n=e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var e=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return e[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"e":1===t?"a":2===t?"a":"e";return e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,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:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},r=e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".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:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t?e:"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}});return r})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},ordinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sext_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Sex_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:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",m:"minutu ida",mm:"minutus %d",h:"horas ida",hh:"horas %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<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 t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e){var t=e;return t=e.indexOf("jaj")!==-1?t.slice(0,-3)+"leS":e.indexOf("jar")!==-1?t.slice(0,-3)+"waQ":e.indexOf("DIS")!==-1?t.slice(0,-3)+"nem":t+" pIq"}function n(e){var t=e;return t=e.indexOf("jaj")!==-1?t.slice(0,-3)+"Hu’":e.indexOf("jar")!==-1?t.slice(0,-3)+"wen":e.indexOf("DIS")!==-1?t.slice(0,-3)+"ben":t+" ret"}function r(e,t,n,r){var a=i(e);switch(n){case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}function i(e){var t=Math.floor(e%1e3/100),n=Math.floor(e%100/10),r=e%10,i="";return t>0&&(i+=a[t]+"vatlh"),n>0&&(i+=(""!==i?" ":"")+a[n]+"maH"),r>0&&(i+=(""!==i?" ":"")+a[r]),""===i?"pagh":i}var a="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_"),o=e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".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:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:t,past:n,s:"puS lup",m:"wa’ tup",mm:r,h:"wa’ rep",hh:r,d:"wa’ jaj",dd:r,M:"wa’ jar",MM:r,y:"wa’ DIS",yy:r},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},n=e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".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:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(e){if(0===e)return e+"'ıncı";var n=e%10,r=e%100-n,i=e>=100?100:null;return e+(t[n]||t[r]||t[i])},week:{dow:1,doy:7}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t,n,r){var i={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",""+e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",""+e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",""+e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",""+e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",""+e+" ars"]};return r?i[n][0]:t?i[n][0]:i[n][1]}var n=e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return n})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".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:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".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:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":e+" "+t(i[r],+e)}function r(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},r=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative";return n[r][e.day()]}function i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var a=e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:r,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".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:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},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:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return a})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},ordinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}});return t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var t,n;return t=e().startOf("week"),n=this.diff(t,"days")>=7?"[下]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},lastWeek:function(){var t,n;return t=e().startOf("week"),n=this.unix()=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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 t})},function(e,t,n){!function(e,t){t(n(1))}(this,function(e){"use strict";var t=e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},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 t})},function(e,t,n){var r;/*! showdown 06-02-2017 */ (function(){function i(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Specify a prefix to generated header ids",type:"string"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as
    (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"}};if(e===!1)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}function a(){"use strict";var e=i(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}function o(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};l.helper.isArray(e)||(e=[e]);for(var i=0;i-1,d=new RegExp(t+"|"+n,"g"+u.replace(/g/g,"")),f=new RegExp(t,u.replace(/g/g,"")),h=[];do for(i=0;o=d.exec(e);)if(f.test(o[0]))i++||(a=d.lastIndex,s=a-o[0].length);else if(i&&!--i){l=o.index+o[0].length;var p={left:{start:s,end:a},match:{start:a,end:o.index},right:{start:o.index,end:l},wholeMatch:{start:s,end:l}};if(h.push(p),!c)return h}while(i&&(d.lastIndex=a));return h};l.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var i=p(e,t,n,r),a=[],o=0;o0){var c=[];0!==o[0].wholeMatch.start&&c.push(e.slice(0,o[0].wholeMatch.start));for(var d=0;d.9?t[2](e):n>.45?t[1](e):t[0](e)}return e})},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),l.helper.regexes={asteriskAndDash:/([*_])/g},l.Converter=function(e){"use strict";function t(){e=e||{};for(var t in d)d.hasOwnProperty(t)&&(s[t]=d[t]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var r in e)e.hasOwnProperty(r)&&(s[r]=e[r]);s.extensions&&l.helper.forEach(s.extensions,n)}function n(e,t){if(t=t||null,l.helper.isString(e)){if(e=l.helper.stdExtName(e),t=e,l.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void r(l.extensions[e],e);if(l.helper.isUndefined(c[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=c[e]}"function"==typeof e&&(e=e()),l.helper.isArray(e)||(e=[e]);var n=o(e,t);if(!n.valid)throw Error(n.error);for(var a=0;a-1))return e;f=""}else f=n.gUrls[d],l.helper.isUndefined(n.gTitles[d])||(h=n.gTitles[d]);f=f.replace(l.helper.regexes.asteriskAndDash,l.helper.escapeCharactersCallback);var p='"};return e=e.replace(/(\[((?:\[[^\]]*]|[^\[\]])*)][ ]?(?:\n[ ]*)?\[(.*?)])()()()()/g,r),e=e.replace(/(\[((?:\[[^\]]*]|[^\[\]])*)]\([ \t]*()?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,r),e=e.replace(/(\[([^\[\]]+)])()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d\-]+))(?=[.!?;,[\]()]|\s|$)/gim,function(e,n,r,i,a){if("\\"===r)return n+i;if(!l.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var o=t.ghMentionsLink.replace(/\{u}/g,a);return n+''+i+""})),e=n.converter._dispatch("anchors.after",e,t,n)}),l.subParser("autoLinks",function(e,t,n){"use strict";function r(e,n,r,i,a){var o=n,s="";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),t.excludeTrailingPunctuationFromURLs&&a&&(s=a),''+o+""+s}function i(e,r,i){var a="mailto:";return r=r||"",i=l.subParser("unescapeSpecialChars")(i,t,n),t.encodeEmails?(a=l.helper.encodeEmailAddress(a+i),i=l.helper.encodeEmailAddress(i)):a+=i,r+''+i+""}e=n.converter._dispatch("autoLinks.before",e,t,n);var a=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+)()(?=\s|$)(?!["<>])/gi,o=/\b(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?()]?)(?=\s|$)(?!["<>])/gi,s=/<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)>/gi,u=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-\/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,c=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi;return e=e.replace(s,r),e=e.replace(c,i),t.simplifiedAutoLink&&(e=t.excludeTrailingPunctuationFromURLs?e.replace(o,r):e.replace(a,r),e=e.replace(u,i)),e=n.converter._dispatch("autoLinks.after",e,t,n)}),l.subParser("blockGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=l.subParser("blockQuotes")(e,t,n),e=l.subParser("headers")(e,t,n),e=l.subParser("horizontalRule")(e,t,n),e=l.subParser("lists")(e,t,n),e=l.subParser("codeBlocks")(e,t,n),e=l.subParser("tables")(e,t,n),e=l.subParser("hashHTMLBlocks")(e,t,n),e=l.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)}),l.subParser("blockQuotes",function(e,t,n){"use strict";return e=n.converter._dispatch("blockQuotes.before",e,t,n),e=e.replace(/((^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+)/gm,function(e,r){var i=r;return i=i.replace(/^[ \t]*>[ \t]?/gm,"¨0"),i=i.replace(/¨0/g,""),i=i.replace(/^[ \t]+$/gm,""),i=l.subParser("githubCodeBlocks")(i,t,n),i=l.subParser("blockGamut")(i,t,n),i=i.replace(/(^|\n)/g,"$1 "),i=i.replace(/(\s*
    [^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=n.replace(/^  /gm,"¨0"),n=n.replace(/¨0/g,"")}),l.subParser("hashBlock")("
    \n"+i+"\n
    ",t,n)}),e=n.converter._dispatch("blockQuotes.after",e,t,n)}),l.subParser("codeBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n),e+="¨0";var r=/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;return e=e.replace(r,function(e,r,i){var a=r,o=i,s="\n";return a=l.subParser("outdent")(a,t,n),a=l.subParser("encodeCode")(a,t,n),a=l.subParser("detab")(a,t,n),a=a.replace(/^\n+/g,""),a=a.replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(s=""),a="
    "+a+s+"
    ",l.subParser("hashBlock")(a,t,n)+o}),e=e.replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)}),l.subParser("codeSpans",function(e,t,n){"use strict";return e=n.converter._dispatch("codeSpans.before",e,t,n),"undefined"==typeof e&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,r,i,a){var o=a;return o=o.replace(/^([ \t]*)/g,""),o=o.replace(/[ \t]*$/g,""),o=l.subParser("encodeCode")(o,t,n),r+""+o+""}),e=n.converter._dispatch("codeSpans.after",e,t,n)}),l.subParser("detab",function(e,t,n){"use strict";return e=n.converter._dispatch("detab.before",e,t,n),e=e.replace(/\t(?=\t)/g," "),e=e.replace(/\t/g,"¨A¨B"),e=e.replace(/¨B(.+?)¨A/g,function(e,t){for(var n=t,r=4-n.length%4,i=0;i/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)}),l.subParser("encodeBackslashEscapes",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n),e=e.replace(/\\(\\)/g,l.helper.escapeCharactersCallback),e=e.replace(/\\([`*_{}\[\]()>#+.!~=-])/g,l.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)}),l.subParser("encodeCode",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeCode.before",e,t,n),e=e.replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,l.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)}),l.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,n){"use strict";e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n);var r=/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|)/gi;return e=e.replace(r,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=])/g,l.helper.escapeCharactersCallback)}),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)}),l.subParser("githubCodeBlocks",function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e+="¨0",e=e.replace(/(?:^|\n)```(.*)\n([\s\S]*?)\n```/g,function(e,r,i){var a=t.omitExtraWLInCodeBlocks?"":"\n";return i=l.subParser("encodeCode")(i,t,n),i=l.subParser("detab")(i,t,n),i=i.replace(/^\n+/g,""),i=i.replace(/\n+$/g,""),i="
    "+i+a+"
    ",i=l.subParser("hashBlock")(i,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:i})-1)+"G\n\n"}),e=e.replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e}),l.subParser("hashBlock",function(e,t,n){"use strict";return e=n.converter._dispatch("hashBlock.before",e,t,n),e=e.replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)}),l.subParser("hashCodeTags",function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);var r=function(e,r,i,a){var o=i+l.subParser("encodeCode")(r,t,n)+a;return"¨C"+(n.gHtmlSpans.push(o)-1)+"C"};return e=l.helper.replaceRecursiveRegExp(e,r,"]*>","","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)}),l.subParser("hashElement",function(e,t,n){"use strict";return function(e,t){var r=t;return r=r.replace(/\n\n/g,"\n"),r=r.replace(/^\n/,""),r=r.replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}}),l.subParser("hashHTMLBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);for(var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],i=function(e,t,r,i){var a=e;return r.search(/\bmarkdown\b/)!==-1&&(a=r+n.converter.makeHtml(t)+i),"\n\n¨K"+(n.gHtmlBlocks.push(a)-1)+"K\n\n"},a=0;a]*>","","gim");return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,l.subParser("hashElement")(e,t,n)),e=l.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}","gm"),e=e.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,l.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)}),l.subParser("hashHTMLSpans",function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=n.converter._dispatch("hashHTMLSpans.before",e,t,n),e=e.replace(/<[^>]+?\/>/gi,function(e){return r(e)}),e=e.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return r(e)}),e=e.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return r(e)}),e=e.replace(/<[^>]+?>/gi,function(e){return r(e)}),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)}),l.subParser("unhashHTMLSpans",function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r]*>\\s*]*>","^ {0,3}\\s*
    ","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)}),l.subParser("headers",function(e,t,n){"use strict";function r(e){var r;return r=l.helper.isString(t.prefixHeaderId)?t.prefixHeaderId+e:t.prefixHeaderId===!0?"section "+e:e,r=a?r.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}e=n.converter._dispatch("headers.before",e,t,n);var i=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),a=t.ghCompatibleHeaderId,o=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,s=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=e.replace(o,function(e,a){var o=l.subParser("spanGamut")(a,t,n),s=t.noHeaderId?"":' id="'+r(a)+'"',u=i,c=""+o+"";return l.subParser("hashBlock")(c,t,n)}),e=e.replace(s,function(e,a){var o=l.subParser("spanGamut")(a,t,n),s=t.noHeaderId?"":' id="'+r(a)+'"',u=i+1,c=""+o+"";return l.subParser("hashBlock")(c,t,n)});var u=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;return e=e.replace(u,function(e,a,o){var s=l.subParser("spanGamut")(o,t,n),u=t.noHeaderId?"":' id="'+r(o)+'"',c=i-1+a.length,d=""+s+"";return l.subParser("hashBlock")(d,t,n)}),e=n.converter._dispatch("headers.after",e,t,n)}),l.subParser("horizontalRule",function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=l.subParser("hashBlock")("
    ",t,n);return e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r),e=e.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r),e=e.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)}),l.subParser("images",function(e,t,n){"use strict";function r(e,t,r,i,a,o,s,u){var c=n.gUrls,d=n.gTitles,f=n.gDimensions;if(r=r.toLowerCase(),u||(u=""),""===i||null===i){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),i="#"+r,l.helper.isUndefined(c[r]))return e;i=c[r],l.helper.isUndefined(d[r])||(u=d[r]),l.helper.isUndefined(f[r])||(a=f[r].width,o=f[r].height)}t=t.replace(/"/g,""").replace(l.helper.regexes.asteriskAndDash,l.helper.escapeCharactersCallback),i=i.replace(l.helper.regexes.asteriskAndDash,l.helper.escapeCharactersCallback);var h=''+t+'?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(['"])(.*?)\6[ \t]*)?\)/g,a=/!\[([^\]]*?)] ?(?:\n *)?\[(.*?)]()()()()()/g;return e=e.replace(a,r),e=e.replace(i,r),e=n.converter._dispatch("images.after",e,t,n)}),l.subParser("italicsAndBold",function(e,t,n){"use strict";return e=n.converter._dispatch("italicsAndBold.before",e,t,n),t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*)___\b/g,"$1"),e=e.replace(/\b__(\S[\s\S]*)__\b/g,"$1"),e=e.replace(/\b_(\S[\s\S]*?)_\b/g,"$1")):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?""+t+"":e}),e=e.replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?""+t+"":e}),e=e.replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?""+t+"":e})),e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?""+t+"":e}),e=e.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?""+t+"":e}),e=e.replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?""+t+"":e}),e=n.converter._dispatch("italicsAndBold.after",e,t,n)}),l.subParser("lists",function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n"),e+="¨0";var i=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,a=/\n[ \t]*\n(?!¨0)/.test(e);return t.disableForced4SpacesIndentedSublists&&(i=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=e.replace(i,function(e,r,i,o,s,u,c){c=c&&""!==c.trim();var d=l.subParser("outdent")(s,t,n),f="";return u&&t.tasklists&&(f=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='-1?(d=l.subParser("githubCodeBlocks")(d,t,n),d=l.subParser("blockGamut")(d,t,n)):(d=l.subParser("lists")(d,t,n),d=d.replace(/\n$/,""),d=l.subParser("hashHTMLBlocks")(d,t,n),d=d.replace(/\n\n+/g,"\n\n"),d=d.replace(/\n\n/g,"¨B"),d=a?l.subParser("paragraphs")(d,t,n):l.subParser("spanGamut")(d,t,n),d=d.replace(/¨B/g,"\n\n")),d=d.replace("¨A",""),d=""+d+"\n"}),e=e.replace(/¨0/g,""),n.gListLevel--,r&&(e=e.replace(/\s+$/,"")),e}function i(e,n,i){var a=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,o=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,s="ul"===n?a:o,l="";return e.search(s)!==-1?!function e(t){var u=t.search(s);u!==-1?(l+="\n<"+n+">\n"+r(t.slice(0,u),!!i)+"\n",n="ul"===n?"ol":"ul",s="ul"===n?a:o,e(t.slice(u))):l+="\n<"+n+">\n"+r(t,!!i)+"\n"}(e):l="\n<"+n+">\n"+r(e,!!i)+"\n",l}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n){var r=n.search(/[*+-]/g)>-1?"ul":"ol";return i(t,r,!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n,r){var a=r.search(/[*+-]/g)>-1?"ul":"ol";return i(n,a,!1)}),e=e.replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)}),l.subParser("outdent",function(e,t,n){"use strict";return e=n.converter._dispatch("outdent.before",e,t,n),e=e.replace(/^(\t|[ ]{1,4})/gm,"¨0"),e=e.replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)}),l.subParser("paragraphs",function(e,t,n){"use strict";e=n.converter._dispatch("paragraphs.before",e,t,n),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,"");for(var r=e.split(/\n{2,}/g),i=[],a=r.length,o=0;o=0?i.push(s):s.search(/\S/)>=0&&(s=l.subParser("spanGamut")(s,t,n),s=s.replace(/^([ \t]*)/g,"

    "),s+="

    ",i.push(s))}for(a=i.length,o=0;o]*>\s*]*>/.test(c)&&(d=!0)}i[o]=c}return e=i.join("\n"),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)}),l.subParser("runExtension",function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var i=e.regex;i instanceof RegExp||(i=new RegExp(i,"g")),t=t.replace(i,e.replace)}return t}),l.subParser("spanGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=l.subParser("codeSpans")(e,t,n),e=l.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=l.subParser("encodeBackslashEscapes")(e,t,n),e=l.subParser("images")(e,t,n),e=l.subParser("anchors")(e,t,n),e=l.subParser("autoLinks")(e,t,n),e=l.subParser("italicsAndBold")(e,t,n),e=l.subParser("strikethrough")(e,t,n),e=l.subParser("hashHTMLSpans")(e,t,n),e=l.subParser("encodeAmpsAndAngles")(e,t,n),e=t.simpleLineBreaks?e.replace(/\n/g,"
    \n"):e.replace(/ +\n/g,"
    \n"),e=n.converter._dispatch("spanGamut.after",e,t,n)}),l.subParser("strikethrough",function(e,t,n){"use strict";return t.strikethrough&&(e=n.converter._dispatch("strikethrough.before",e,t,n), -e=e.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,"$1"),e=n.converter._dispatch("strikethrough.after",e,t,n)),e}),l.subParser("stripLinkDefinitions",function(e,t,n){"use strict";var r=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm;return e+="¨0",e=e.replace(r,function(e,r,i,a,o,s,u){return r=r.toLowerCase(),n.gUrls[r]=l.subParser("encodeAmpsAndAngles")(i,t,n),s?s+u:(u&&(n.gTitles[r]=u.replace(/"|'/g,""")),t.parseImgDimensions&&a&&o&&(n.gDimensions[r]={width:a,height:o}),"")}),e=e.replace(/¨0/,"")}),l.subParser("tables",function(e,t,n){"use strict";function r(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function i(e,r){var i="";return e=e.trim(),t.tableHeaderId&&(i=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),e=l.subParser("spanGamut")(e,t,n),""+e+"\n"}function a(e,r){var i=l.subParser("spanGamut")(e,t,n);return""+i+"\n"}function o(e,t){for(var n="\n\n\n",r=e.length,i=0;i\n\n\n",i=0;i\n";for(var a=0;a\n"}return n+="\n
    \n"}if(!t.tables)return e;var s=/^ {0,3}\|?.+\|.+\n[ \t]{0,3}\|?[ \t]*:?[ \t]*(?:-|=){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:-|=){2,}[\s\S]+?(?:\n\n|¨0)/gm;return e=n.converter._dispatch("tables.before",e,t,n),e=e.replace(s,function(e){var t,n=e.split("\n");for(t=0;t0},isEmpty:function(){return!this.query},isDirty:function(){return!!this.query}},methods:{update:function(){var e=this;return this.query?void(this.minChars&&this.query.length0?this.current--:this.current===-1?this.current=this.items.length-1:this.current=-1},down:function(){this.currentn.h?(n.y=Math.max(0,n.y-(n.w*s-n.h)/2),n.h=n.w*s):(n.x=Math.max(0,n.x-(n.h/s-n.w)/2),n.w=n.h/s),e=[n.x,n.y,n.w,n.h],!!n&&e.join(" ")},zoom:function(e){var t=this.$refs.smallSvgWrapper;if(this.$options.ZOOM_OUT===e){var n=[0,0,t.getAttribute("width"),t.getAttribute("height")];t.setAttribute("viewBox",n.join(" ")),this.canZoom=!0}this.$options.ZOOM_IN===e&&(t.setAttribute("viewBox",this.computeCentreredViewBox()),this.canZoom=!1)},setDrawingMode:function(e,t){this.initialDrawingMode||(this.initialDrawingMode=e);var t="boolean"!=typeof t||t;this.mode=this.$options["MODE_"+e],this.isRect=this.mode===this.$options.MODE_RECT,t&&this.drawingComponent.setDrawingMode(this.mode)},cancel:function(){this.formView=!0;var e=this.$refs.currentPath.getAttribute("d");e.length&&this.initialDrawingMode&&(e+=";"+this.initialDrawingMode,this.drawingComponent.setPath(e))},highLightZone:function(){this.displayMask?this.displayMask=!1:this.displayMask=!0},displayEditedPath:function(){this.drawingComponent.getPath()},resetZoom:function(){this.zoom(this.$options.ZOOM_OUT)},showEditor:function(){this.formView=!1,this.resetZoom()},showForm:function(){this.normalizePath=this.drawingComponent.getPath();var e=this.$refs.smallImage;this.formView=!0;var t=e.getAttribute("width")/100,n=e.getAttribute("height")/100,r=[t,0,0,n,0,0].join(",");this.transformMatrix="matrix("+r+")",this.fragmentPath=this.normalizePath.split(";")[0]},clear:function(){this.drawingComponent.clear()}}}},function(e,t,n){(function(e){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var a,o=n(307),s=r(o);t.default=(a={components:{modalpanel:s.default},mounted:function(){},props:["transform-matrix","image-path","image-height","image-width"],data:function(){return{diffText:"",tagMode:!1,textMode:!1,fragmentMode:!1,originalPath:"",modifiedPath:"",tags:[]}}},i(a,"mounted",function(){return!1}),i(a,"computed",{matrixTransform:function e(){var e="";return this.transformMatrix&&(e="matrix("+this.transformMatrix+")"),e}}),i(a,"methods",{setContent:function(e){this.$refs.modalcontent.appendChild(e)},switchMode:function(e){var t=["tagMode","textMode","fragmentMode"];this.tagMode=!1,this.textMode=!1,this.fragmentMode=!1,t.indexOf(e)!==-1&&(this[e]=!0)},showTagDiff:function(e,t){this.switchMode("tagMode");var n=iconolab.JsonDiff.diff(e,t),r=[];if(e.forEach(function(e,i){var e=JSON.parse(JSON.stringify(e)),a=n["_"+i],o=n[i];return a||o||r.push(e),Array.isArray(a)?(e.action="del",r.push(e),!0):o&&(o.tag_label||o.relevancy||o.accuracy)?(e.action=o.tag_label?"replace":"update",e.new_label=t[i].tag_label,e.new_accuracy=t[i].accuracy,e.new_relevancy=t[i].relevancy,r.push(e),!0):Array.isArray(o)?(e.action="add",r.push(t[i]),!0):void 0}),e.length").append(i).html()},showFragmentDiff:function(e,t){this.switchMode("fragmentMode"),this.originalPath=e,this.modifiedPath=t},show:function(){this.$refs.panel.show()},hide:function(){this.$refs.panel.hide()}}),a)}).call(t,n(2))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(38),a=r(i),o=n(8),s=r(o),l=n(163),u=r(l),c=n(1),d=r(c),f=new u.default.Converter,h={title:"",description:"",fragment:"",tags:[],readonly:!0};t.default={props:{action:String,annotation:{type:Object,default:function(){return null}},isAuthenticated:{type:Boolean,default:!1}},components:{"tag-list":a.default},data:function(){return h},mounted:function(){this.annotation&&this.loadAnnotation(this.annotation)},watch:{annotation:function(e){e?this.loadAnnotation(e):this.reset()}},computed:{descriptionComputed:function(){return f.makeHtml(this.description)},lastRevisionText:function(){if(this.annotation){var e=(0,d.default)(this.annotation.created).locale("fr");return"Dernière version "+e.fromNow()+" par "+this.annotation.author}},formAction:function(){if(this.annotation)return this.action.replace(":annotation_guid",this.annotation.annotation_guid)},serializedTags:function(){var e=this.tags.map(function(e){return{tag_input:"string"==typeof e.tag_link&&e.tag_link.length?e.tag_link:e.tag_label,tag_label:e.tag_label,accuracy:e.accuracy,relevancy:e.relevancy}});return JSON.stringify(e)},hasChanged:function(){return!!this.annotation&&(this.title!==this.annotation.title||this.description!==this.annotation.description||!s.default.isEqual(this.annotation.tags,this.tags))}},methods:{onTagsChange:function(e){this.tags=e},reset:function(){Object.assign(this,h)},loadAnnotation:function(e){Object.assign(this,{title:e.title,description:e.description,fragment:e.fragment,tags:e.tags.slice(),readonly:!0})}}}},function(e,t,n){(function(e){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(8),a=r(i);t.default={props:["annotations","annotation"],mounted:function(){this.annotation&&this.slideToAnnotation()},watch:{annotation:function(e){e&&this.slideToAnnotation()}},methods:{toggleAnnotation:function(e,t){e.preventDefault(),this.annotation&&this.annotation===t?this.$emit("close:annotation"):this.$emit("click:annotation",t)},isActive:function(e){return e===this.annotation},getCommentsCount:function(e){var t=e.stats.comments_count;return t+" commentaire"+(t>1?"s":"")},slideToAnnotation:function(){var t=this,n=a.default.find(this.$refs.annotations,function(n){return e(n).attr("href")==="#"+t.annotation.annotation_guid});if(n){var r=e(this.$el.closest(".panel"));r.animate({scrollTop:r.scrollTop()-r.offset().top+e(n).offset().top},600)}}}}}).call(t,n(2))},function(e,t,n){(function(e){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),a=r(i),o=n(303),s=r(o),l=n(302),u=r(l),c=n(305),d=r(c),f=n(8),h=r(f);t.default={props:{image:String,thumbnail:String,annotation:{type:Object,default:null},tooltip:{type:Boolean,default:!1},isAuthenticated:{type:Boolean,default:!1},annotations:{type:Array,default:[]}},components:{shapeRect:s.default,shapeFree:u.default,zoomThumbnail:d.default},data:function(){return{paper:null,loaded:!1,mode:"rect",viewport:{width:0,height:0},viewBox:[0,0,0,0],zoomFactor:.1,scale:1,imgMinSize:0,imageWidth:0,imageHeight:0,readonly:!1,strokeWidth:15}},computed:{canvasClass:function(){return{"canvas--rect":!this.readonly&&this.isAuthenticated&&"rect"===this.mode,"canvas--free":!this.readonly&&this.isAuthenticated&&"free"===this.mode}},normalizedAnnotations:function e(){var t=this,e=h.default.map(this.annotations,function(e){if(e.fragment.length>0){var n=e.fragment.split(";"),r=t.denormalizePath(n[0]),i=n[1].toLowerCase();Object.assign(e,{mode:i,path:r})}return e});return this.annotation?h.default.filter(e,function(e){return e===t.annotation}):e}},watch:{mode:function(e){this.reset(),this.readonly||this.handleDraw()},loaded:function(e){if(e){var t=this.paper.node.getBoundingClientRect();console.log("Viewport: %s x %s",t.width,t.height);var n=[0,0,this.imageWidth,this.imageHeight],r={width:t.width,height:t.height},i=15*Math.min(n[2],n[3])/r.width;this.$refs.rect.handlerSize=i,Object.assign(this,{viewBox:n,viewport:r,strokeWidth:i/4}),this.paper.attr({viewBox:this.viewBox}),h.default.size(this.annotations)>0&&(this.readonly=!0)}},annotation:function(e){this.isAuthenticated&&(this.readonly=!!e)},scale:function(e){var t=this,n=0;if(e>1&&(n=e-1),1===e)this.resetViewBox();else{var r=this.getCenter(),i=this.imageWidth-this.imageWidth*n,a=this.imageHeight-this.imageHeight*n,o=[r.x-i/2,r.y-a/2,i,a];this.hideTooltip(),this.animateViewBox(o,function(){return t.showTooltip()})}},readonly:function(e,t){this.reset(),e||(this.handleDraw(),this.annotation&&this.$emit("close:annotation"))}},mounted:function(){var e=this,t=new Image;t.onload=function(n){e.paper=new a.default(e.$refs.svg),e.imgMinSize=Math.min(t.width,t.height),console.log("Image: %s x %s",t.width,t.height),Object.assign(e,{imageWidth:t.width,imageHeight:t.height,loaded:!0})},t.src=this.image},methods:{onAnnotationClick:function(e){this.$emit("click:annotation",e)},toggleReadonly:function(){this.isAuthenticated&&(this.readonly=!this.readonly)},hideTooltip:function(){this.$refs.free.hideTooltip(),this.$refs.rect.hideTooltip()},showTooltip:function(){"free"===this.mode&&this.$refs.free.showTooltip(),"rect"===this.mode&&this.$refs.rect.showTooltip()},reset:function(){this.$refs.rect.clear(),this.$refs.free.clear(),this.removeEventHandlers(),this.resetZoom(),this.resetViewBox()},removeEventHandlers:function(){this.paper.unmousedown(),this.paper.unmousemove(),this.paper.unmouseup(),this.paper.unclick()},setMode:function(e){this.readonly||(this.mode=e)},getCenter:function(){return{x:this.viewBox[0]+this.viewBox[2]/2,y:this.viewBox[1]+this.viewBox[3]/2}},changeViewBox:function(e){var t=this.viewBox.slice();t[0]=e.x,t[1]=e.y,this.paper.attr({viewBox:t})},resetZoom:function(){this.scale=1,this.$refs.thumbnail.reset()},animateViewBox:function(e,t){var n=this,r=this.viewBox.slice();a.default.animate(r,e,function(e){return n.paper.attr({viewBox:e})},350,mina.easeinout,function(){n.viewBox=e,t&&t()})},resetViewBox:function(){this.animateViewBox([0,0,this.imageWidth,this.imageHeight])},zoomIn:function(){this.scale>=1.9||(this.scale=this.scale+1*this.zoomFactor)},zoomOut:function(){1!==this.scale&&(this.scale=this.scale-1*this.zoomFactor)},zoomOffset:function(){return{x:this.viewport.width/this.viewBox[2],y:this.viewport.height/this.viewBox[3]}},computeOffset:function(e){var t=this.$refs.image.getBoundingClientRect(),n=this.zoomOffset(),r=(e.clientX-t.left)/Math.min(n.x,n.y),i=(e.clientY-t.top)/Math.min(n.x,n.y);return{x:r,y:i}},computeHandlerSize:function(e){return 60*Math.min(this.viewBox[2],this.viewBox[3])/this.imageWidth},normalizePath:function(e){var t=100/this.imageWidth,n=100/this.imageHeight;if(isNaN(t)||isNaN(n))throw new Error("Ratio should be a number.");var r=a.default.matrix(t,0,0,n,0,0);return e=a.default.path.map(e,r).toString(),e.search(/[z|Z]/gi)===-1&&(e+=" Z"),e},denormalizePath:function(e){var t=this.imageWidth/100,n=this.imageHeight/100;if(isNaN(t)||isNaN(n))throw new Error("Ratio should be a number.");var r=a.default.matrix(t,0,0,n,0,0);return e=a.default.path.map(e,r).toString(),e.search(/[z|Z]/gi)===-1&&(e+=" Z"),e},toSVGPath:function(){"free"===this.mode&&this.$refs.free.toSVGPath(),"rect"===this.mode&&this.$refs.rect.toSVGPath()},handleDraw:function(){"free"===this.mode&&this.handleDrawFree(),"rect"===this.mode&&this.handleDrawRect()},handleDrawFree:function(){var t=this;if(this.isAuthenticated){this.removeEventHandlers();var n,r=function(e,t){n=null,this.$refs.free.addPoint(e,t)};this.paper.click(function(i){if(!n&&e(i.target).is("image")&&!t.$refs.free.closed){var a=t.computeOffset(i),o=a.x,s=a.y;n=setTimeout(r.bind(t,o,s),190)}})}},handleDrawRect:function(){var e=this;if(this.isAuthenticated){this.removeEventHandlers();var t={x:0,y:0},n={x:0,y:0},r=!1;this.paper.mousedown(function(n){e.$refs.rect.width>0&&e.$refs.rect.height>0||(t=e.computeOffset(n),r=!0)}),this.paper.mousemove(function(i){if(r){var a,o;n=e.computeOffset(i);var s=Math.abs(n.x-t.x),l=Math.abs(t.y-n.y);n.y>t.y&&n.x>t.x&&(a=t.x,o=t.y),n.yt.x&&(a=n.x-s,o=n.y),n.yt.y&&n.x0&&(e=["comment-thread"]),e},dateFormatted:function(){var e=(0,s.default)(this.date).locale("fr");return e.fromNow()},commentFormatted:function(){return l.makeHtml(this.comment)}}}},function(e,t,n){(function(e){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(300),a=r(i);t.default={props:["annotation","fetch","is-authenticated"],components:{Comment:a.default},data:function(){return{comments:[]}},computed:{commentsURL:function(){return this.fetch.replace(":annotation_guid",this.annotation.annotation_guid)}},watch:{annotation:function(t){var n=this;t?e.getJSON(this.commentsURL).then(function(e){return n.comments=e}):this.comments=[]}},mounted:function(){var t=this;this.annotation&&e.getJSON(this.commentsURL).then(function(e){return t.comments=e})}}}).call(t,n(2))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),a=r(i),o=n(43),s=r(o),l=n(42),u=r(l);t.default={mixins:[s.default,u.default],props:["paper","original-annotation","original-path","readonly","stroke-width"],data:function(){return{path:"",closed:!1,points:[]}},computed:{annotationHref:function(){return this.originalAnnotation?"annotation-path-"+this.originalAnnotation.annotation_guid:"annotation-path-new"},annotationSelector:function(){return"#"+this.annotationHref}},mounted:function(){var e=this;if(this.originalPath){this.fromSVGPath(this.originalPath,!1);var t=new a.default(this.$refs.g);t.click(function(){return e.$emit("click")})}},watch:{closed:function(e){e&&(this.path+=" Z")},points:function(e){var t="M";if(!(e.length<=1)){t+=e[0].x+","+e[0].y;for(var n=0;n2&&(t.closed=!0,t.$nextTick(function(){setTimeout(function(){return t.addTooltip()},250)}))}),r.dblclick(function(e){var n=new a.default(e.target),r=parseInt(n.attr("data-key"),10);t.points.splice(r,1)});var o={onMove:function(e,t,r,a,o){i=!0;var s=n.$parent.computeOffset(o);this.attr({cx:s.x,cy:s.y});var l=parseInt(this.attr("data-key"),10);n.points.splice(l,1,{x:s.x,y:s.y})},onStart:function(){return t.hideTooltip()},onEnd:function(e){i&&(i=!1,n.showTooltip())}};r.drag(o.onMove,o.onStart,o.onEnd)},addResizeHandlers:function(){var e=this;this.$refs.handlers.forEach(function(t){return e.addResizeHandler(t)})}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),a=r(i),o=n(43),s=r(o),l=n(42),u=r(l);t.default={mixins:[s.default,u.default],props:["paper","original-annotation","tooltip","readonly","original-path"],data:function(){return{transform:"translate(0, 0)",isResizing:!1,x:0,y:0,width:0,height:0,handlerSize:60}},computed:{showResizeHandlers:function(){return!this.readonly&&this.width>0&&this.height>0}},mounted:function(){var e=this,t=this,n={onMove:function(e,n){if(!t.isResizing&&!t.readonly){var r=this.transform().diffMatrix.invert();r.e=r.f=0;var i=r.x(e,n),a=r.y(e,n),o=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[i,a];this.transform(o)}},onStart:function(){t.readonly||(this.data("origTransform",this.transform().local),t.$emit("drag:start"))},onEnd:function(){return t.$emit("drag:end")}},r=new a.default(this.$refs.g);r.drag(n.onMove,n.onStart,n.onEnd),this.originalPath&&(this.fromSVGPath(this.originalPath,!1),r.click(function(){return e.$emit("click")}))},watch:{x:function(e,t){this.transform="translate("+this.x+", "+this.y+")"},y:function(e,t){this.transform="translate("+this.x+", "+this.y+")"}},methods:{clear:function(){var e=new a.default(this.$refs.shape),t=new a.default(this.$refs.topLeft),n=new a.default(this.$refs.bottomRight);e.node.removeAttribute("transform"),t.node.removeAttribute("transform"),n.node.removeAttribute("transform"),this.destroyTooltip(),Object.assign(this,{transform:"translate(0, 0)",x:0,y:0,width:0,height:0})},getTooltipTarget:function(){return this.$refs.shape},addResizeHandlers:function(){var e=this,t=new a.default(this.$refs.shape),n=new a.default(this.$refs.topLeft),r=new a.default(this.$refs.bottomRight),i={onMove:function(e,i){var a=this.transform().diffMatrix.invert();a.e=a.f=0;var o=a.x(e,i),s=a.y(e,i);this.transform("t"+[o,s]+this.data("origTransform"));var l=r.getBBox().x-n.getBBox().x,u=r.getBBox().y-n.getBBox().y,c={width:l,height:u};this===n&&(c.transform=t.data("origTransform")+(t.data("origTransform")?"T":"t")+[o,s]),t.attr(c)},onStart:function(){e.isResizing=!0,t.data("origTransform",t.transform().local),this.data("origTransform",this.transform().local)},onEnd:function(){e.isResizing=!1}};n.drag(i.onMove,i.onStart,i.onEnd),r.drag(i.onMove,i.onStart,i.onEnd)},fromSVGPath:function(e,t){var n=this,r=a.default.path.getBBox(e);Object.assign(this,{x:r.x,y:r.y,width:r.width,height:r.height}),this.$nextTick(function(){n.addResizeHandlers(),t&&setTimeout(function(){return n.addTooltip()},250)})},toSVGPath:function(){var e,t=new a.default(this.$refs.shape),n=t.getBBox(),r=t.transform();if(r.global.length){var i=t.node.getAttribute("x"),o=t.node.getAttribute("y"),s=r.totalMatrix,l=this.paper.rect(s.x(i,o),s.y(i,o),n.width,n.height);e=l.getBBox().path,l.remove()}else e=t.getBBox().path;var u=a.default.path.toAbsolute(e).toString();return this.$parent.normalizePath(u)+";RECT"}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(38),a=r(i);t.default={props:["original-title","original-description","original-tags"],components:{"tag-list":a.default},data:function(){return{title:"",description:"",tags:[],error:!1}},computed:{titleFormGroup:function(){return{"has-error":this.error}}},mounted:function(){var e=this;this.originalTitle&&(this.title=this.originalTitle),this.originalDescription&&(this.description=this.originalDescription),this.$on("error",function(t){t.title&&(e.error=!0)})},methods:{close:function(e){e.preventDefault(),this.$emit("close")},save:function(e){return e.preventDefault(),this.error=!1,0===this.title.trim().length?void this.$emit("error",{title:!0}):void this.$emit("save",{title:this.title,description:this.description,tags:this.$refs.taglist.tags})}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),a=r(i);a.default.plugin(function(e,t,n,r){function i(e,t){var n,r,i=this.transform().globalMatrix.invert();i.e=i.f=0,n=i.x(e,t),r=i.y(e,t),this.data("x",+this.data("ox")+n),this.data("y",+this.data("oy")+r),this.data("x")>this.data("maxx")-this.data("ibb").width&&this.data("x",this.data("maxx")-this.data("ibb").width),this.data("y")>this.data("maxy")-this.data("ibb").height&&this.data("y",this.data("maxy")-this.data("ibb").height),this.data("x")=o&&(l=o-r.w),u+r.h>=s&&(u=s-r.h),l=l<0?0:l,u=u<0?0:u;var c="T"+[l,u];this.attr("transform",c),e.notifyMove(this.getBBox().x,this.getBBox().y)},function(){this.data("startPosition",{x:this.getBBox().x,y:this.getBBox().y}),this.data("origTransform",this.transform().local)},function(){})},moveHandlerToCenter:function(e,t){cx=cx?cx:this.width/2,cy=cy?cy:this.height/2;var n=cx-this.handler.getBBox().w/2,r=cy-this.handler.getBBox().h/2;this.handler.transform("T"+[n,r])},notifyMove:function(e,t){if(i.eventEmitter.emit("moveZoomHandler",{x:e,y:t,viewport:{width:this.image.attr("width"),height:this.image.attr("height")}}),!this.currentViewBox||!this.currentViewport||"function"!=typeof this.updateFunction)return!1;var n=this.currentImageSize.width/this.image.attr("width"),r=this.currentImageSize.height/this.image.attr("height"),a=e*n,o=t*r;this.currentViewBox[0]=a,this.currentViewBox[1]=o,this.updateFunction(this.currentViewBox)},handleZoomChanged:function(e){if(1===e.currentScale)return void(this.showHandler=!1);this.showHandler=!0,this.currentViewport=e.viewport,this.currentViewBox=e.currentViewBox,this.currentImageSize=e.imageSize,this.updateFunction=e.updateFunction;var t=e.currentViewBox[2]*this.imgMinSize/e.minSize;this.handler.attr("width",t),this.handler.attr("height",t);var n=e.currentViewBox[0]*this.image.attr("width")/e.imageSize.width,r=e.currentViewBox[1]*this.image.attr("height")/e.imageSize.height;this.handler.transform("T"+[n,r])}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(296),a=r(i);t.default={init:function(){return new Vue(a.default)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9),i=function(e,t,n,r){this.paper=e,this.shape=t,this.handlers=[],this.viewPort=n,this.viewBox=r,this.isResizing=!1,this.currentPosition={},this.HANDLER_SIZE=8,this.SHAPE_MIN_SIZE=20,this.states={},this.noop=function(){},this.init()};i.prototype={init:function(){this.showHandlers()},computeHandlerSize:function(){return this.HANDLER_SIZE*Math.min(this.viewBox[2],this.viewBox[3])/this.viewPort.width},showHandlers:function(){var e=this.shape.getBBox(),t=e.x-this.computeHandlerSize()/2,n=e.y-this.computeHandlerSize()/2,r=this.paper.rect(t,n,this.computeHandlerSize(),this.computeHandlerSize()).attr({fill:"red"});r.addClass("drawingHandler"),this.shape.addClass("drawingHandler");var i={position:"t_r",handler:r};this.handlers.push(i),this.shapesGroup=this.paper.g(this.shape,r),this.attachEvents()},updateShapePositions:function(e,t,n){var r=e.handler.getBBox(),i=this.shape.data("origBbox"),a=(r.x+this.computeHandlerSize()/2,r.y+this.computeHandlerSize()/2,t>0?i.width-t:i.width+Math.abs(t)),o=n>0?i.height-n:i.height+Math.abs(n),s=this.shape.data("origTransform")+(this.shape.data("origTransform")?"T":"t")+[t,n];this.shape.attr({transform:s,width:a,height:o})},dragEvents:{onStart:function(e,t,n,r){this.startPosition={x:r.clientX,y:r.clientY},this.isResizing=!0,this.currentPosition={},e.handler.data("origTransform",e.handler.transform().local),this.shape.data("origBbox",this.shape.getBBox()),this.shape.data("origBounding",this.shape.node.getBoundingClientRect()),this.shape.data("origTransform",this.shape.transform().local)},onMove:function(e,t,n,r,i,a){var o,s,l=e.handler.transform().diffMatrix.invert();l.e=l.f=0,o=l.x(t,n),s=l.y(t,n),this.currentPosition.x=a.clientX,this.currentPosition.y=a.clientY,this.checkBondaries(t,n)&&(e.handler.transform("t"+[o,s]+e.handler.data("origTransform")),this.updateShapePositions(e,o,s))},onStop:function(){this.isResizing=!1,this.startPosition={},this.currentPosition={}}},checkBondaries:function(e,t){var n=!0,r=this.shape.data("origBounding");this.shape.node.getBoundingClientRect();return r.width-e<=this.SHAPE_MIN_SIZE&&(n=!1),r.height-t<=this.SHAPE_MIN_SIZE&&(n=!1),n},destroy:function(){this.handlers.map(function(e){e.handler.remove()}),delete this},getZoomFactor:function(){return{x:this.viewPort.width/this.viewBox[2],y:this.viewPort.height/this.viewBox[3]}},attachEvents:function(){var e=this;this.handlers.map(function(t){t.handler.drag(e.dragEvents.onMove.bind(e,t),e.dragEvents.onStart.bind(e,t),e.dragEvents.onStop.bind(e,t))}),r.eventEmitter.on("cutout:clear",function(){e.destroy()}),this.shapesGroup.drag(function(t,n){if(!e.isResizing){var r=this.transform().diffMatrix.invert();r.e=r.f=0;var i=r.x(t,n),a=r.y(t,n),o=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[i,a];this.transform(o)}},function(){this.data("origTransform",this.transform().local)},this.noop)}};t.default={enable_resizer:function(e,t,n,r){new i(e,t,n,r)}}},function(e,t,n){(function(e){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),a=r(i),o=n(193),s=r(o),l=n(9),u=n(41);r(u);a.default.plugin(function(e,t,n,r){var i=t.prototype;i.toBack=function(){this.prependTo(this.paper)},i.toFront=function(){this.appendTo(this.paper)}}),Element.prototype.getTransformedXY=function(e,t){var n=this.transform().globalMatrix;return{x:n.x(e,t),y:n.y(e,t)}};var c=null,d=null,f=[],h={X:100,Y:100},p={x:1,y:1},m={width:850,height:850},_=[],g=!1,v=null,y=null,b=!1,w=null,M="#ff00ff",x="red",k="orange",L="#FF0000",Y=8,T=!1,D=!0,S=!1,j=!0,C="RECT",A=C,H="FREE",P=[C,H],E=null,O=function(){var e=0,t="item_";return function(n){return n="string"==typeof n?n:t,e+=1,n+e}}(),$=function(e){if(g)return void c.path(e).attr({stroke:"red",opacity:.6});var t=a.default.path.getBBox(e);w=c.rect(t.x,t.y,t.width,t.height),w.attr({fill:k,stroke:x,opacity:.6}),y=w,b=!1,S=!0,s.default.enable_resizer(c,y,m,_)},F=function(e){if(g)return void c.path(e).attr({stroke:"orange",fill:"orange",opacity:.5});var t=a.default.parsePathString(e);t.map(function(e){"Z"!==e[0]?J(c,e[1],e[2],f):(S=!0,z(c,N))})},z=function(e,t){var n="M";if(!(f.length<=1)){n+=f[0].x+","+f[0].y;for(var r=0;r2&&(S=!0)},I=function(e,t,n){var r=f.indexOf(e);return r!==-1&&(f[r].x=t,f[r].y=n,!0)},B=function(){_.length||(_=[0,0,parseInt(d.width()),parseInt(d.height())]);var e=Y*Math.min(_[2],_[3])/850;return e},q=function(e,t,n,r,i){T=!0;var a,o,s=this.transform().diffMatrix.invert();s.e=s.f=0,a=s.x(e,t),o=s.y(e,t);var l=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[a,o];this.attr({transform:l});var u=this.getBBox(),c=I(this.data("point"),u.x+B()/2,u.y+B()/2);c&&z(this.paper)},V=function(e,t){e.handler.click(W.bind(this,e,t)),e.handler.hover(function(){e.handler.attr({fill:"yellow"})},function(){var t=e.isFirst?L:"";e.handler.attr({fill:t})}),e.handler.drag(q,function(){this.data("origTransform",this.transform().local)},function(){return!T||(T=!1,void(D=!1))})},U=function(e,t){var n,r=B(),i=t.x-r/2,a=t.y-r/2;return n=e.rect(i,a,r,r),n.addClass("drawingHandler"),t.handler=n,t.handler.data("point",t),0===f.length&&(t.isFirst=!0),V(t,e),t.handler.attr({fill:0===f.length?L:"",opacity:.9,stroke:M}),t},J=function(e,t,n,r){var i={x:t,y:n,id:O()};return S?void z(e,N):D?(i=U(e,i),r.push(i),void z(e)):(D=!0,!1)},G=function(e){if(g)return!1;var t={},n={},r=function(e){var t=e.target||e.srcElement,n=t.getBoundingClientRect(),r=(e.clientX-n.left)/Math.min(p.x,p.y),i=(e.clientY-n.top)/Math.min(p.x,p.y);return{x:r,y:i}};e.mousedown(function(e){if(A!==H&&!S){var n=r(e);t.x=n.x,t.y=n.y,b=!0}}),e.mousemove(function(i){if(A!==H&&b){var a,o,s=r(i);n.x=s.x,n.y=s.y,w&&w.remove();var l=Math.abs(n.x-t.x),u=Math.abs(t.y-n.y);n.y>t.y&&n.x>t.x&&(a=t.x,o=t.y),n.yt.x&&(a=n.x-l,o=n.y),n.yt.y&&n.x2&&z(t,N)),!1)});var i=function(e){var t=e.target||e.srcElement,n=t.getBoundingClientRect(),r=(e.clientX-n.left)/Math.min(p.x,p.y),i=(e.clientY-n.top)/Math.min(p.x,p.y);return{x:r,y:i}},a=function(e,i){if(!r){if(A===C)return!0;if(!j)return!0;J(t,e,i,f),n=null,r=!1}};t.click(function(t){if(!n&&e(t.target).is(d)){var r=i(t),o=r.x,s=r.y;n=setTimeout(a.bind(this,o,s),190)}})}},K=function(){l.eventEmitter.on("zoomChanged",function(e){p=e.zoomFactor,_=e.currentViewBox;var t=X.getPath();X.clear(),X.setPath(t)})},X={getPaper:function(){return c},setPath:function(e){var t=e.split(";");P.indexOf(t[1])===-1&&(t[1]="FREE"),this.setDrawingMode(t[1]);var n=t[0];if(n.length){var r=d.attr("width")/h.X,i=d.attr("height")/h.Y;(isNaN(r)||isNaN(i))&&new Error("Ratio should be a number.");var o=a.default.matrix(r,0,0,i,0,0),s=a.default.path.map(n,o).toString();s.search(/[z|Z]/gi)===-1&&(s+="Z"),t.length>=2&&(t[1]===C&&$(s),t[1]===H&&F(s))}},setDrawingMode:function(e){P.indexOf(e)!==-1&&(A=e),"function"==typeof E&&E(A),this.clear()},clear:function(){f.map(function(e){e.handler&&e.handler.remove()}),y&&y.remove(),l.eventEmitter.emit("cutout:clear"),f=[],v=null,y=null,T=!1,D=!0,S=!1,j=!0},getShapeBBox:function(){var e=this.getPath();return a.default.path.getBBox(e)},getShape:function(){return this.getPath()},getPath:function(){var e="";if(y)if(A===C){var t=y.getBBox(),n=y.transform();if(n.global.length){var r=y.node.getAttribute("x"),i=y.node.getAttribute("y"),o=n.totalMatrix,s=c.rect(o.x(r,i),o.y(r,i),t.width,t.height);l=s.getBBox().path,s.remove()}else var l=y.getBBox().path;e=a.default.path.toAbsolute(l).toString()}else e=y.attr("d");var u=h.X/d.attr("width"),f=h.Y/d.attr("height");if((isNaN(u)||isNaN(f))&&new Error("ratio should be a number."),!e.length)return e=A===C?";RECT":";FREE";var p=a.default.matrix(u,0,0,f,0,0);e=a.default.path.map(e,p).toString();var m=A===C?";RECT":";FREE";return e.search(/[z|Z]/gi)===-1&&(e+=" Z"),e+=m}};t.default={init:function(t){d=e(t.wrapperId).find(".main-image").eq(0);var n=e(t.wrapperId).find(".cut-canvas").eq(0),r=e(t.wrapperId).find(".image-path").eq(0);if("function"==typeof t.onDrawingModeChange&&(E=t.onDrawingModeChange),!d.length)throw new Error("The main image Can't be found ...");if(!n.length){var n=e('').addClass("cut-canvas");e(t.wrapperId).append(n),n.append(d)}if(n.css({marginLeft:"auto",marginRight:"auto",width:m.width,height:m.height}),"boolean"==typeof t.readOnly&&t.readOnly===!0&&(g=!0),c=new a.default(n.get(0)),r.length){e(n).append(r);var i=r.attr("d");X.setPath(i),r.remove()}return K(),Z(c),G(c),X}}}).call(t,n(2))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(299),a=r(i),o=n(297),s=r(o),l=n(298),u=r(l),c=n(301),d=r(c);t.default={Canvas:a.default,AnnotationForm:s.default,AnnotationList:u.default,CommentList:d.default}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n(285),n(286),n(284);var i=n(328),a=(r(i),n(39)),o=r(a),s=n(192),l=r(s),u=n(167),c=r(u),d=n(306),f=r(d),h=n(295),p=r(h),m=n(164),_=r(m),g=n(22),v=r(g),y=n(195),b=r(y),w=n(165),M=r(w),x=n(38),k=r(x),L=n(265);Vue.config.ignoredElements=["mask"];var Y={Cutout:l.default,JsDiff:L,JsonDiff:v.default,CollectionSelector:p.default,VueComponents:{Typeahead:o.default,MergeTool:f.default,Zoomview:c.default,DiffViewer:_.default,Editor:b.default,ColorButtons:M.default,TagList:k.default}};Vue.component("color-buttons",M.default),Vue.component("image-annotator",b.default.Canvas),Vue.component("annotation-form",b.default.AnnotationForm),Vue.component("annotation-list",b.default.AnnotationList),Vue.component("comment-list",b.default.CommentList),window.iconolab||(window.iconolab=Y)},function(e,t,n){e.exports={default:n(214),__esModule:!0}},function(e,t,n){e.exports={default:n(215),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(198),a=r(i);t.default=function(e,t,n){return t in e?(0,a.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){var t=function e(){return i.apply(e,arguments)};return t._styles=e,t.__proto__=p,t}function i(){var e=arguments,t=e.length,n=0!==t&&String(arguments[0]);if(t>1)for(var r=1;rc;)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(216);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(27),i=n(26).document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(47),i=n(231);e.exports=n(19)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){e.exports=!n(19)&&!n(25)(function(){return 7!=Object.defineProperty(n(221)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(229),i=n(227),a=n(230),o=n(236),s=n(46),l=Object.assign;e.exports=!l||n(25)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=o(e),l=arguments.length,u=1,c=i.f,d=a.f;l>u;)for(var f,h=s(arguments[u++]),p=c?r(h).concat(c(h)):r(h),m=p.length,_=0;m>_;)d.call(h,f=p[_++])&&(n[f]=h[f]);return n}:l},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(223),i=n(49),a=n(218)(!1),o=n(232)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=o&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~a(u,n)||u.push(n));return u}},function(e,t,n){var r=n(228),i=n(222);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(233)("keys"),i=n(238);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(26),i="__core-js_shared__",a=r[i]||(r[i]={});e.exports=function(e){return a[e]||(a[e]={})}},function(e,t,n){var r=n(48),i=Math.max,a=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(48),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(44);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(27);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(45);r(r.S+r.F,"Object",{assign:n(226)})},function(e,t,n){var r=n(45);r(r.S+r.F*!n(19),"Object",{defineProperty:n(47).f})},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".popover{min-width:300px}.popover-content .form-group{margin-bottom:10px}.popover-content .form-group label{font-size:12px}.popover-content .taglist{margin:10px 0 15px}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,"Typeahead[data-v-09005644]{position:relative}.selected-tags[data-v-09005644]{border:1px solid red;width:200px!important}.selected-tags select[data-v-09005644]{display:inline-block}.Typeahead__input[data-v-09005644]{width:100%;font-size:14px;color:#2c3e50;line-height:1.42857143;box-shadow:inset 0 1px 4px rgba(0,0,0,.4);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-weight:300;padding:12px 26px;border:none;border-radius:22px;letter-spacing:1px;box-sizing:border-box}.Typeahead__input[data-v-09005644]:focus{border-color:#4fc08d;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px #4fc08d}.tag-item[data-v-09005644]{border:1px solid red}.fa-times[data-v-09005644]{cursor:pointer}ul[data-v-09005644]{padding:0;margin-top:8px;min-width:100%;background-color:#fff;list-style:none;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:1000}li[data-v-09005644]{padding:10px 16px;border-bottom:1px solid #ccc;cursor:pointer}li[data-v-09005644]:first-child{border-radius:4px 4px 0 0}li[data-v-09005644]:last-child{border-radius:0 0 4px 4px;border-bottom:0}span[data-v-09005644]{display:block;color:#2c3e50}.active[data-v-09005644]{background-color:#3aa373}.active span[data-v-09005644]{color:#fff}.name[data-v-09005644]{font-weight:700;font-size:18px}.screen-name[data-v-09005644]{font-style:italic}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,"",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,"Typeahead[data-v-163b42f5]{position:relative}.selected-tags[data-v-163b42f5]{border:1px solid red;width:200px!important}.selected-tags select[data-v-163b42f5]{display:inline-block}.Typeahead__input[data-v-163b42f5]{width:100%;font-size:14px;color:#2c3e50;line-height:1.42857143;box-shadow:inset 0 1px 4px rgba(0,0,0,.4);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-weight:300;padding:12px 26px;border:none;border-radius:22px;letter-spacing:1px;box-sizing:border-box}.Typeahead__input[data-v-163b42f5]:focus{border-color:#4fc08d;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px #4fc08d}.tag-item[data-v-163b42f5]{border:1px solid red}.fa-times[data-v-163b42f5]{cursor:pointer}ul[data-v-163b42f5]{padding:0;margin-top:8px;min-width:100%;background-color:#fff;list-style:none;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:1000}li[data-v-163b42f5]{padding:10px 16px;border-bottom:1px solid #ccc;cursor:pointer}li[data-v-163b42f5]:first-child{border-radius:4px 4px 0 0}li[data-v-163b42f5]:last-child{border-radius:0 0 4px 4px;border-bottom:0}span.tag-label[data-v-163b42f5]{color:#2c3e50}.active[data-v-163b42f5]{background-color:#3aa373}.active span[data-v-163b42f5]{color:#fff}.name[data-v-163b42f5]{font-weight:700;font-size:18px}.screen-name[data-v-163b42f5]{font-style:italic}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,'.btn-group[data-v-1826f540]{margin-bottom:10px}.btn[data-v-1826f540]{padding:3px 12px;line-height:12px}.value-wrapper[data-v-1826f540]{font-size:10px}.btn--highlight[data-v-1826f540]{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn--highlight[data-value="1"][data-v-1826f540]{background-color:#fc5f62}.btn--highlight[data-value="2"][data-v-1826f540]{background-color:#f7c136}.btn--highlight[data-value="3"][data-v-1826f540]{background-color:#f7e53b}.btn--highlight[data-value="4"][data-v-1826f540]{background-color:#ebf63d}.btn--highlight[data-value="5"][data-v-1826f540]{background-color:#b9e78b}',""]); -},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".wrapper[data-v-21ad04a8]{height:auto;overflow-y:auto;margin-bottom:20px}.alert[data-v-21ad04a8]{padding:10px;font-size:12px}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".alert[data-v-2842cc86]{padding:10px;font-size:12px}.tag-list[data-v-2842cc86]{margin-bottom:15px}.tag-list-item[data-v-2842cc86]:first-of-type{border-top-left-radius:4px;border-top-right-radius:4px}.tag-list-item[data-v-2842cc86]:last-of-type{border-bottom-left-radius:4px;border-bottom-right-radius:4px}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".move-handler[data-v-2cdf3ca8]{cursor:-webkit-grab;cursor:grab}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,'.tag-item-btn[data-v-2ceb798e]{float:left;position:relative}.tag-item-btn button[data-v-2ceb798e]{border:none;background-color:transparent}.tag-item-accuracy .fa[data-v-2ceb798e],.tag-item-relevancy .fa[data-v-2ceb798e]{position:absolute;left:50%;top:-50%;transform:translate(-50%,-50%)}.tag-item-btn[data-value="1"][data-v-2ceb798e]{background-color:#fc5f62}.tag-item-btn[data-value="2"][data-v-2ceb798e]{background-color:#f7c136}.tag-item-btn[data-value="3"][data-v-2ceb798e]{background-color:#f7e53b}.tag-item-btn[data-value="4"][data-v-2ceb798e]{background-color:#ebf63d}.tag-item-btn[data-value="5"][data-v-2ceb798e]{background-color:#b9e78b}.tag-title[data-v-2ceb798e]{padding:5px 5px 5px 10px;font-size:12px;max-width:140px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tag-item-form[data-v-2ceb798e]{padding:15px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.tag-item-form label[data-v-2ceb798e],.tag-item-form small[data-v-2ceb798e]{display:block;margin-bottom:5px}.tag-container[data-v-2ceb798e]{border:1px solid #ccc;border-bottom:none}.tag-item[data-v-2ceb798e],.tag-list .tag-container[data-v-2ceb798e]:last-of-type{border-bottom:1px solid #ccc}.tag-item[data-v-2ceb798e]{display:flex;justify-content:space-between;align-items:center}.tag-item[data-v-2ceb798e]:not(.tag-item--readonly):hover{cursor:pointer;background-color:#f5f5f5}',""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".wrapper[data-v-45428799]{position:relative}.cut-canvas[data-v-45428799]{width:100%;height:700px;border:1px solid #ddd}.canvas--free[data-v-45428799]:hover,.canvas--rect[data-v-45428799]:hover{cursor:crosshair}.mode-controls .btn>svg[data-v-45428799]{margin-top:4px}.mode-controls .btn-primary>svg[data-v-45428799]{fill:#fff}.controls[data-v-45428799]{position:absolute;transform:translateX(-50%);left:50%;bottom:15px;display:flex;align-items:center}.controls>[data-v-45428799]{background-color:rgba(34,34,34,.9)}.controls .btn[data-v-45428799]{background-color:transparent;color:#ccc;fill:#ccc;float:left}.controls .btn.active[data-v-45428799],.controls .btn[data-v-45428799]:active{color:#fff;fill:#fff;background-color:#111}.controls .btn[data-v-45428799]:hover{background-color:#222}.controls .controls-left[data-v-45428799]{border-top-left-radius:4px;border-bottom-left-radius:4px}.controls .controls-center[data-v-45428799]{border-radius:4px;padding:8px 8px 4px}.controls .controls-right[data-v-45428799]{border-top-right-radius:4px;border-bottom-right-radius:4px}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".shape[data-v-506fb618]{fill:transparent;stroke:#fff;outline-color:#000;outline-style:solid}.shape.active[data-v-506fb618],.shape[data-v-506fb618]:hover{cursor:pointer;fill:#c5f2ff;opacity:.25}.shape--draggable[data-v-506fb618]:hover{cursor:move}.handler-top-left[data-v-506fb618]:hover{cursor:nw-resize}.handler-bottom-right[data-v-506fb618]:hover{cursor:se-resize}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,"form[data-v-51ceff58]{margin-bottom:20px;clear:both}label[data-v-51ceff58]{font-weight:400}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".comment[data-v-52ae02ee]{font-size:12px;padding:10px 0;border-bottom:1px solid #ddd}.comment-thread[data-v-52ae02ee]{border-bottom-width:0;border-left:3px solid #ddd;padding-left:10px;margin-left:10px}.comment-author[data-v-52ae02ee]{float:left;margin-right:4px}.comment-footer[data-v-52ae02ee]{margin-top:0;color:#ccc}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".diff-viewer-wrapper[data-v-64c3b6ce]{margin-top:5px}.diff-panel[data-v-64c3b6ce]{border:1px solid gray;width:300px;heigth:250px}del[data-v-64c3b6ce]{text-decoration:none;color:#b30000;background:#fadad7}ins[data-v-64c3b6ce]{background:#eaf2c2;color:#406619;text-decoration:none}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".handler[data-v-a8fd4508]{fill:#fff;stroke:#000}.path[data-v-a8fd4508]{stroke:inherit;stroke-width:inherit;fill:inherit;transform:inherit}.stroke-fg[data-v-a8fd4508]{stroke:#000;fill:transparent}.stroke-fg[data-v-a8fd4508]:hover{cursor:pointer;fill:#c5f2ff;opacity:.25;stroke-opacity:1}.stroke-bg[data-v-a8fd4508]{stroke:#fff;fill:transparent}.handler--first[data-v-a8fd4508]{fill:#ff0}",""])},function(e,t,n){"use strict";var r,i=n(269),a=n(276),o=n(272),s=n(279);r=e.exports=function(e,t){var n,r,o,l,u;return arguments.length<2||"string"!=typeof e?(l=t,t=e,e=null):l=arguments[2],null==e?(n=o=!0,r=!1):(n=s.call(e,"c"),r=s.call(e,"e"),o=s.call(e,"w")),u={value:t,configurable:n,enumerable:r,writable:o},l?i(a(l),u):u},r.gs=function(e,t,n){var r,l,u,c;return"string"!=typeof e?(u=n,n=t,t=e,e=null):u=arguments[3],null==t?t=void 0:o(t)?null==n?n=void 0:o(n)||(u=n,n=void 0):(u=t,t=n=void 0),null==e?(r=!0,l=!1):(r=s.call(e,"c"),l=s.call(e,"e")),c={get:t,set:n,configurable:r,enumerable:l},u?i(a(u),c):c}},function(e,t){"use strict";function n(e){for(var t=[],n=void 0,r=void 0,i=0;i"):i.removed&&t.push(""),t.push(r(i.value)),i.added?t.push(""):i.removed&&t.push("")}return t.join("")}function r(e){var t=e;return t=t.replace(/&/g,"&"),t=t.replace(//g,">"),t=t.replace(/"/g,""")}t.__esModule=!0,t.convertChangesToXML=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return s.diff(e,t,n)}t.__esModule=!0,t.arrayDiff=void 0,t.diffArrays=i;var a=n(6),o=r(a),s=t.arrayDiff=new o.default;s.tokenize=s.join=function(e){return e.slice()}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return s.diff(e,t,n)}t.__esModule=!0,t.characterDiff=void 0,t.diffChars=i;var a=n(6),o=r(a),s=t.characterDiff=new o.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return s.diff(e,t,n)}t.__esModule=!0,t.cssDiff=void 0,t.diffCss=i;var a=n(6),o=r(a),s=t.cssDiff=new o.default;s.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return d.diff(e,t,n)}function a(e,t,n){t=t||[],n=n||[];var r=void 0;for(r=0;rd))return!1;t++}}return!0}var r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}for(var i=e.split(/\r\n|[\n\v\f\r\x85]/),a=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,u=r.compareLine||function(e,t,n,r){return t===r},c=0,d=r.fuzzFactor||0,f=0,h=0,p=void 0,m=void 0,_=0;_0?u(s.lines.slice(-l.context)):[],f-=p.length,h-=p.length)}(o=p).push.apply(o,r(a.map(function(e){return(t.added?"+":"-")+e}))),t.added?_+=a.length:m+=a.length}else{if(f)if(a.length<=2*l.context&&e=c.length-2&&a.length<=l.context){var w=/\n$/.test(n),M=/\n$/.test(i);0!=a.length||w?w&&M||p.push("\\ No newline at end of file"):p.splice(b.oldLines,0,"\\ No newline at end of file")}d.push(b),f=0,h=0,p=[]}m+=a.length,_+=a.length}},v=0;v-1}},function(e,t){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(n,"\\$&")}},function(e,t,n){"use strict";var r,i,a,o,s,l,u,c=n(256),d=n(277),f=Function.prototype.apply,h=Function.prototype.call,p=Object.create,m=Object.defineProperty,_=Object.defineProperties,g=Object.prototype.hasOwnProperty,v={configurable:!0,enumerable:!1,writable:!0};r=function(e,t){var n;return d(t),g.call(this,"__ee__")?n=this.__ee__:(n=v.value=p(null),m(this,"__ee__",v),v.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},i=function(e,t){var n,i;return d(t),i=this,r.call(this,e,n=function(){a.call(i,e,n),f.call(t,this,arguments)}),n.__eeOnceListener__=t,this},a=function(e,t){var n,r,i,a;if(d(t),!g.call(this,"__ee__"))return this;if(n=this.__ee__,!n[e])return this;if(r=n[e],"object"==typeof r)for(a=0;i=r[a];++a)i!==t&&i.__eeOnceListener__!==t||(2===r.length?n[e]=r[a?0:1]:r.splice(a,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},o=function(e){var t,n,r,i,a;if(g.call(this,"__ee__")&&(i=this.__ee__[e]))if("object"==typeof i){for(n=arguments.length,a=new Array(n-1),t=1;t1)for(var n=1;n0,expression:"tags.length > 0"}],ref:"items",refInFor:!0,staticClass:"tag-list-item",attrs:{label:t.tag_label,index:r,accuracy:t.accuracy,relevancy:t.relevancy,readonly:e.readonly}})})),e._v(" "),n("typeahead",{directives:[{name:"show",rawName:"v-show",value:!e.readonly,expression:"!readonly"}],ref:"typeahead",attrs:{placeholder:"Rechercher un mot-clé"}})],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg",{ref:"svg",attrs:{width:e.thumbnailWidth,height:e.thumbnailHeight}},[n("image",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0",y:"0",width:e.thumbnailWidth,height:e.thumbnailHeight,"xlink:href":e.image}}),e._v(" "),n("rect",{ref:"handler",staticClass:"move-handler",staticStyle:{fill:"black",opacity:"0.4"},attrs:{x:e.x,y:e.y,width:e.width,height:e.height}})])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tag-container"},[n("div",{staticClass:"tag-item",class:{"tag-item--readonly":e.readonly},on:{click:e.toggle}},[n("span",{staticClass:"tag-title"},[e._v(e._s(e.label))]),e._v(" "),n("div",{staticClass:"tag-item-buttons"},[n("div",{staticClass:"tag-item-btn tag-item-accuracy",attrs:{"data-value":e.accuracy}},[n("button",{staticClass:"btn btn-default",attrs:{type:"button",title:e.accuracyTitle}},[e._v(e._s(e.accuracy||"?"))]),e._v(" "),0===e.index?n("i",{staticClass:"fa fa-exclamation-triangle text-muted",attrs:{"aria-hidden":"true",title:"Fiabilité"}}):e._e()]),e._v(" "),n("div",{staticClass:"tag-item-btn tag-item-relevancy",attrs:{"data-value":e.relevancy}},[n("button",{staticClass:"btn btn-default",attrs:{type:"button",title:e.relevancyTitle}},[e._v(e._s(e.relevancy||"?"))]),e._v(" "),0===e.index?n("i",{staticClass:"fa fa-crosshairs text-muted",attrs:{"aria-hidden":"true",title:"Pertinence"}}):e._e()]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.readonly,expression:"!readonly"}],staticClass:"tag-item-btn tag-item-delete"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:e.remove}},[n("i",{staticClass:"fa fa-times",attrs:{"aria-hidden":"true"}})])])])]),e._v(" "),n("div",{staticClass:"collapse"},[n("div",{staticClass:"tag-item-form"},[n("div",[n("label",{staticClass:"small"},[e._v("Fiabilité")]),e._v(" "),n("small",[e._v("Êtes-vous sûr de votre mot-clé ?")]),e._v(" "),n("color-buttons",{ref:"accuracy",attrs:{"original-value":e.accuracy},on:{change:function(t){e.onChange("accuracy",t.value)}}})],1),e._v(" "),n("div",[n("label",{staticClass:"small"},[e._v("Pertinence")]),e._v(" "),n("small",[e._v("Votre mot-clé est-il indispensable à la compréhension de l'image ?")]),e._v(" "),n("color-buttons",{ref:"relevancy",attrs:{"original-value":e.relevancy},on:{change:function(t){e.onChange("relevancy",t.value)}}})],1)])])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"zoomview-wrapper"},[e._m(0),e._v(" "),n("svg",{ref:"root-svg"},[n("image",{attrs:{id:"small-image",x:"0",y:"0","xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":e.imageUrl,width:e.imageWidth,height:e.imageHeight}}),e._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:e.showHandler,expression:"showHandler"}],ref:"handler",staticStyle:{fill:"black",opacity:"0.4"},attrs:{id:"zoom-handler",x:"0",y:"0"}})]),e._v(" "),n("ul",{staticClass:"form-drawing-wrapper zoom-action-list list-inline"},[n("li",{staticClass:"small showPointer",on:{click:e.incraseDrawingZoom}},[n("i",{staticClass:"fa fa-search-plus"})]),e._v(" "),n("li",{staticClass:"small showPointer",on:{click:e.resetDrawingZoom}},[n("i",{staticClass:"fa fa-square"})]),e._v(" "),n("li",{staticClass:"small showPointer",on:{click:e.decreaseDrawingZoom}},[n("i",{staticClass:"fa fa-search-minus"})])])])},staticRenderFns:[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",{staticClass:"form-drawing pullright"},[n("strong",[e._v("Zoom")])])}]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"wrapper"},[n("div",[n("svg",{ref:"svg",staticClass:"cut-canvas",class:e.canvasClass,attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e.loaded?n("image",{ref:"image",attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":e.image,x:"0",y:"0",width:e.imageWidth,height:e.imageHeight}}):e._e(),e._v(" "),e._l(e.normalizedAnnotations,function(t){return e.loaded&&e.readonly&&"rect"==t.mode?n("shape-rect",{key:t.annotation_guid,attrs:{paper:e.paper,"original-annotation":t,"original-path":t.path,readonly:e.readonly},on:{click:function(n){e.onAnnotationClick(t)}}}):e._e()}),e._v(" "),e._l(e.normalizedAnnotations,function(t){return e.loaded&&e.readonly&&"free"==t.mode?n("shape-free",{key:t.annotation_guid,attrs:{paper:e.paper,"original-annotation":t,"original-path":t.path,readonly:e.readonly,"stroke-width":e.strokeWidth},on:{click:function(n){e.onAnnotationClick(t)}}}):e._e()}),e._v(" "),n("shape-rect",{directives:[{name:"show",rawName:"v-show",value:e.loaded&&!e.readonly&&"rect"==e.mode,expression:"loaded && !readonly && mode == 'rect'"}],ref:"rect",attrs:{paper:e.paper,readonly:!1}}),e._v(" "),n("shape-free",{directives:[{name:"show",rawName:"v-show",value:e.loaded&&!e.readonly&&"free"==e.mode,expression:"loaded && !readonly && mode == 'free'"}],ref:"free",attrs:{paper:e.paper,"stroke-width":e.strokeWidth,readonly:!1}}),e._v(" "),n("defs",[n("filter",{attrs:{id:"shadow",width:"200%",height:"200%"}},[n("feOffset",{attrs:{result:"offOut",in:"SourceAlpha",dx:"0",dy:"0"}}),e._v(" "),n("feGaussianBlur",{attrs:{result:"blurOut",in:"offOut",stdDeviation:"10"}}),e._v(" "),n("feBlend",{attrs:{in:"SourceGraphic",in2:"blurOut",mode:"normal"}})],1)])],2)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],staticClass:"controls"},[n("div",{staticClass:"controls-left"},[n("button",{staticClass:"btn",class:{active:e.readonly,disabled:!e.isAuthenticated},attrs:{type:"button"},on:{click:e.toggleReadonly}},[n("i",{staticClass:"fa fa-eye"})]),e._v(" "),n("button",{staticClass:"btn",class:{disabled:!e.isAuthenticated},attrs:{type:"button"},on:{click:e.toggleReadonly}},[n("i",{directives:[{name:"show",rawName:"v-show",value:e.readonly,expression:"readonly"}],staticClass:"fa fa-toggle-on",staticStyle:{transform:"rotate(180deg)"}}),e._v(" "),n("i",{directives:[{name:"show",rawName:"v-show",value:!e.readonly,expression:"!readonly"}],staticClass:"fa fa-toggle-on"})]),e._v(" "),n("button",{staticClass:"btn",class:{active:!e.readonly&&"rect"===e.mode,disabled:e.readonly},attrs:{type:"button"},on:{click:function(t){e.setMode("rect")}}},[n("svg",{attrs:{width:"14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 512 512","enable-background":"new 0 0 512 512","xml:space":"preserve"}},[n("g",[n("rect",{attrs:{x:"352",y:"432",width:"64",height:"48"}}),n("polygon",{attrs:{points:"416,352 416,96 176,96 176,160 352,160 352,352 160,352 160,32 96,32 96,96 32,96 32,160 96,160 96,416 480,416 480,352"}})]),n("text",{attrs:{x:"0",y:"527",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[e._v("Created by Bluetip Design")]),n("text",{attrs:{x:"0",y:"532",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[e._v("from the Noun Project")])])]),e._v(" "),n("button",{staticClass:"btn",class:{active:!e.readonly&&"free"===e.mode,disabled:e.readonly},attrs:{type:"button"},on:{click:function(t){e.setMode("free")}}},[n("svg",{attrs:{width:"14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 30 30","xml:space":"preserve"}},[n("g",{attrs:{transform:"translate(-450 -380)"}},[n("g",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[n("path",{attrs:{ -d:"M453,395c0,2.209,1.79,4,4,4c1.307,0,2.455-0.635,3.186-1.604l7.121,4.069C467.11,401.938,467,402.456,467,403 c0,2.209,1.79,4,4,4c2.209,0,4-1.791,4-4s-1.791-4-4-4c-1.307,0-2.455,0.635-3.186,1.604l-7.121-4.069 c0.196-0.473,0.307-0.99,0.307-1.534s-0.11-1.062-0.307-1.534l7.121-4.069c0.73,0.969,1.879,1.604,3.186,1.604 c2.209,0,4-1.791,4-4s-1.791-4-4-4c-2.21,0-4,1.791-4,4c0,0.544,0.11,1.062,0.307,1.534l-7.121,4.069 c-0.73-0.969-1.879-1.604-3.186-1.604C454.79,391,453,392.791,453,395z M471,400c1.654,0,3,1.346,3,3s-1.346,3-3,3s-3-1.346-3-3 S469.346,400,471,400z M471,384c1.654,0,3,1.346,3,3s-1.346,3-3,3s-3-1.346-3-3S469.346,384,471,384z M460,395 c0,1.654-1.346,3-3,3s-3-1.346-3-3s1.346-3,3-3S460,393.346,460,395z"}})])]),n("text",{attrs:{x:"0",y:"45",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[e._v("Created by Hea Poh Lin")]),n("text",{attrs:{x:"0",y:"50",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[e._v("from the Noun Project")])])])]),e._v(" "),n("zoom-thumbnail",{ref:"thumbnail",staticClass:"controls-center",attrs:{image:e.thumbnail,viewport:e.viewport,viewBox:e.viewBox,imageWidth:e.imageWidth,imageHeight:e.imageHeight},on:{change:function(t){e.changeViewBox(t)},dragstart:e.hideTooltip,dragend:e.showTooltip}}),e._v(" "),n("div",{staticClass:"controls-right"},[n("button",{staticClass:"btn",class:{disabled:1===e.scale},attrs:{type:"button"},on:{click:e.zoomOut}},[n("i",{staticClass:"fa fa-minus",attrs:{"aria-hidden":"true"}})]),e._v(" "),n("button",{staticClass:"btn",class:{disabled:e.scale>=1.9},attrs:{type:"button"},on:{click:e.zoomIn}},[n("i",{staticClass:"fa fa-plus",attrs:{"aria-hidden":"true"}})])])],1)])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("g",{ref:"g",attrs:{filter:"url(#shadow)",transform:e.transform}},[n("rect",{ref:"shape",staticClass:"shape",class:{"shape--draggable":!e.readonly},style:{"outline-width":e.handlerSize/5+"px"},attrs:{x:"0",y:"0",width:e.width,height:e.height,"stroke-width":e.handlerSize/5}}),e._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:e.showResizeHandlers,expression:"showResizeHandlers"}],ref:"topLeft",staticClass:"handler-rect handler-top-left",attrs:{x:e.handlerSize/2*-1,y:e.handlerSize/2*-1,width:e.handlerSize,height:e.handlerSize,fill:"#ffffff",stroke:"#000000","stroke-width":e.handlerSize/5}}),e._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:e.showResizeHandlers,expression:"showResizeHandlers"}],ref:"bottomRight",staticClass:"handler-rect handler-bottom-right",attrs:{x:e.width-e.handlerSize/2,y:e.height-e.handlerSize/2,width:e.handlerSize,height:e.handlerSize,fill:"#ffffff",stroke:"#000000","stroke-width":e.handlerSize/5}})])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.annotation&&e.isAuthenticated?n("button",{staticClass:"btn btn-xs pull-right",class:{"btn-primary":e.readonly,"btn-warning":!e.readonly},on:{click:function(t){e.readonly=!e.readonly}}},[e.readonly?n("i",{staticClass:"fa fa-edit"}):e._e(),e._v(" "),e.readonly?n("span",[e._v("Modifier")]):e._e(),e._v(" "),e.readonly?e._e():n("i",{staticClass:"fa fa-ban"}),e._v(" "),e.readonly?e._e():n("span",[e._v("Annuler")])]):e._e(),e._v(" "),e.annotation?e._e():n("div",{staticClass:"alert alert-warning text-center"},[e._v("\n Aucune annotation sélectionnée\n ")]),e._v(" "),n("form",{attrs:{action:e.formAction,method:"post"}},[e._t("default"),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.fragment,expression:"fragment"}],attrs:{type:"hidden",name:"fragment"},domProps:{value:e._s(e.fragment)},on:{input:function(t){t.target.composing||(e.fragment=t.target.value)}}}),e._v(" "),e.annotation?n("div",{staticClass:"form-group form-group-sm"},[!e.readonly||e.title?n("label",{staticClass:"small text-muted"},[e._v("Titre")]):e._e(),e._v(" "),e.readonly?e._e():n("input",{directives:[{name:"model",rawName:"v-model",value:e.title,expression:"title"}],staticClass:"form-control",attrs:{type:"text",name:"title"},domProps:{value:e._s(e.title)},on:{input:function(t){t.target.composing||(e.title=t.target.value)}}}),e._v(" "),e.readonly&&e.title?n("p",{class:{"text-muted":!e.title}},[e._v(e._s(e.title||"Pas de titre"))]):e._e()]):e._e(),e._v(" "),e.annotation?n("div",{staticClass:"form-group form-group-sm"},[!e.readonly||e.description?n("label",{staticClass:"small text-muted"},[e._v("Description")]):e._e(),e._v(" "),e.readonly?e._e():n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.description,expression:"description"}],staticClass:"form-control",attrs:{name:"description",placeholder:"Décrivez ce que vous voyez"},domProps:{value:e._s(e.description)},on:{input:function(t){t.target.composing||(e.description=t.target.value)}}}),e._v(" "),e.readonly&&e.description?n("p",{class:{"text-muted":!e.description},domProps:{innerHTML:e._s(e.descriptionComputed)}},[e._v(e._s(e.descriptionComputed||"Pas de description"))]):e._e()]):e._e(),e._v(" "),e.annotation?n("div",{staticClass:"form-group form-group-sm"},[n("label",{staticClass:"small text-muted"},[e._v("Mots-clés")]),e._v(" "),n("tag-list",{ref:"taglist",attrs:{"original-tags":e.annotation.tags,readonly:e.readonly},on:{change:function(t){e.onTagsChange(t.tags)}}}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.serializedTags,expression:"serializedTags"}],attrs:{type:"hidden",name:"tags"},domProps:{value:e._s(e.serializedTags)},on:{input:function(t){t.target.composing||(e.serializedTags=t.target.value)}}})],1):e._e(),e._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:e.readonly,expression:"readonly"}],staticClass:"small text-center text-muted"},[e._v(e._s(e.lastRevisionText))]),e._v(" "),e.annotation&&!e.readonly?n("button",{staticClass:"btn btn-block btn-sm btn-primary",class:{disabled:!e.hasChanged},attrs:{type:"submit"}},[e._v("Enregistrer une nouvelle version")]):e._e()],2)])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"comment",class:e.commentClass,on:{mouseover:function(t){e.hover=!0},mouseleave:function(t){e.hover=!1}}},[n("div",{staticClass:"comment-body"},[n("strong",{staticClass:"comment-author"},[e._v(e._s(e.username))]),e._v(" "),n("div",{staticClass:"comment-content",domProps:{innerHTML:e._s(e.commentFormatted)}})]),e._v(" "),n("div",{staticClass:"comment-footer"},[n("span",{staticClass:"comment-date"},[e._v(e._s(e.dateFormatted))])]),e._v(" "),e.allowThread&&e.isAuthenticated?n("comment-form",{directives:[{name:"show",rawName:"v-show",value:e.hover,expression:"hover"}],attrs:{annotation:e.annotation,"reply-to":e.id}}):e._e()],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"diff-viewer-wrapper col-md-12"},[n("modalpanel",{ref:"panel"},[n("h5",{slot:"header"},[e._v("Comparer les deux versions:")]),e._v(" "),n("div",{slot:"content"},[n("div",{ref:"modalcontent"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.fragmentMode,expression:"fragmentMode"}]},[n("svg",[n("image",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",href:e.imagePath,x:"0",y:"0",width:e.imageWidth,height:e.imageHeight}}),e._v(" "),n("g",{attrs:{transform:e.matrixTransform}},[n("path",{attrs:{d:e.originalPath,fill:"red",stroke:"blue",opacity:"0.3"}}),e._v(" "),n("path",{attrs:{d:e.modifiedPath,fill:"blue",stroke:"red",opacity:"0.3"}})])])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.textMode,expression:"textMode"}]},[n("div",{domProps:{innerHTML:e._s(e.diffText)}})]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.tagMode,expression:"tagMode"}]},[n("ul",e._l(e.tags,function(t,r){return n("li",[t.action?e._e():[n("li",[n("span",[e._v(e._s(t.tag_label))]),e._v(" | précision : "+e._s(t.accuracy)+" \n\t\t\t\t\t\t\t\t\t- \n\t\t\t\t\t\t\t\t\tpertinence : "+e._s(t.relevancy)+"\n\t\t\t\t\t\t\t\t")])],e._v(" "),"replace"==t.action?[n("del",[e._v("--")]),e._v(" "),n("del",[e._v(e._s(t.tag_label))]),e._v(" a été remplacé par\n\t\t\t\t\t\t\t\t"),n("ins",[e._v("++")]),e._v(" "),n("strong",[n("ins",[e._v(e._s(t.new_label))])]),e._v(" \n\t\t\t\t\t\t\t\tfiabilité : "),n("ins",[e._v(e._s(t.new_accuracy))]),e._v(" - \n\t\t\t\t\t\t\t\tpertinence: "),n("ins",[e._v(e._s(t.new_relevancy))])]:e._e(),e._v(" "),"add"==t.action?[n("li",[n("ins",[e._v("++")]),e._v(" "),n("ins",[e._v(e._s(t.tag_label))]),e._v("\n\t\t\t\t\t\t\t\t\tfiabilité : "),n("ins",[e._v(e._s(t.accuracy))]),e._v(" - \n\t\t\t\t\t\t\t\t\tpertinence : "),n("ins",[e._v(e._s(t.relevancy))])])]:e._e(),e._v(" "),"del"==t.action?[n("li",[n("del",[e._v("--")]),e._v(" "),n("del",[e._v(e._s(t.tag_label))]),e._v(" a été effacé")])]:e._e(),e._v(" "),"update"==t.action?[n("li",[n("strong",[e._v(e._s(t.tag_label))]),e._v(" "),t.accuracy!=t.new_accuracy?[e._v("\n\t\t\t\t\t\t\t\t\t\tfiabilité: "),n("del",[e._v(e._s(t.accuracy))]),e._v(" "),n("ins",[e._v(e._s(t.new_accuracy))]),e._v(" -\t\n\t\t\t\t\t\t\t\t\t")]:e._e(),e._v(" "),t.accuracy==t.new_accuracy?[e._v("\n\t\t\t\t\t\t\t\t\t\tfiabilité: "+e._s(t.accuracy)+" -\n\t\t\t\t\t\t\t\t\t")]:e._e(),e._v(" "),t.relevancy!=t.new_relevancy?[e._v("\n\t\t\t\t\t\t\t\t\t\tpertinence: "),n("del",[e._v(e._s(t.relevancy))]),e._v(" "),n("ins",[e._v(e._s(t.new_relevancy))])]:e._e(),e._v(" "),t.relevancy==t.new_relevancy?[e._v("\n\t\t\t\t\t\t\t\t\t\tpertinence: "+e._s(t.relevancy)+"\t\n\t\t\t\t\t\t\t\t\t")]:e._e()],2)]:e._e()],2)}))])])])])],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("ul",{directives:[{name:"show",rawName:"v-show",value:!e.readOnly,expression:"!readOnly"}],staticClass:"tags-wrapper list-unstyled"},e._l(e.tags,function(t,r){return n("li",{ref:t.id,refInFor:!0,staticClass:"tag-item"},[n("i",{staticClass:"fa fa-tag"}),e._v(" "),n("strong",[n("span",{domProps:{textContent:e._s(t.tag_label)}})]),e._v("\n\n\t\t\tFiabilité: \t"),n("select",{on:{change:function(n){e.updateAccuracy(n,t)}}},e._l([1,2,3,4,5],function(r,i){return n("option",{domProps:{selected:t.accuracy==r,value:r}},[e._v(e._s(r))])})),e._v("\n\n\t\t\tPertinence: "),n("select",{on:{change:function(n){e.updatePertinence(n,t)}}},e._l([1,2,3,4,5],function(r,i){return n("option",{domProps:{selected:t.relevancy==r,value:r}},[e._v(e._s(r))])})),e._v(" "),n("a",{on:{click:function(n){e.removeTag(t)}}},[n("i",{staticClass:"fa fa-trash"})])])})),e._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.readOnly,expression:"readOnly"}],staticClass:"list-inline"},e._l(e.tags,function(t,r){return n("li",[n("i",{staticClass:"fa fa-tag"}),e._v(" "),n("span",{staticClass:"label label-info"},[e._v(e._s(t.tag_label))]),e._v("\n\t\t\t | fiabilité "),n("span",{staticClass:"badge"},[e._v(e._s(t.accuracy))]),e._v("\n\t\t\t | pertinence "),n("span",{staticClass:"badge"},[e._v(e._s(t.relevancy))])])}))])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",[n("defs",[n("path",{ref:"path",staticClass:"path",attrs:{id:e.annotationHref,d:e.path}})]),e._v(" "),n("g",{ref:"g",attrs:{filter:"url(#shadow)"}},[n("use",{staticClass:"stroke-bg",attrs:{"xlink:href":e.annotationSelector,"stroke-width":2*e.strokeWidth}}),e._v(" "),n("use",{staticClass:"stroke-fg",attrs:{"xlink:href":e.annotationSelector,"stroke-width":e.strokeWidth}}),e._v(" "),e._l(e.points,function(t,r){return n("circle",{directives:[{name:"show",rawName:"v-show",value:!e.readonly,expression:"!readonly"}],key:r,ref:"handlers",refInFor:!0,class:{handler:!0,"handler--first":0===r&&!e.closed},attrs:{"data-key":r,cx:t.x,cy:t.y,r:2*e.strokeWidth,"stroke-width":e.strokeWidth}})}),e._v(" "),n("g")],2)])},staticRenderFns:[]}},function(e,t){/*! +e=e.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,"$1"),e=n.converter._dispatch("strikethrough.after",e,t,n)),e}),l.subParser("stripLinkDefinitions",function(e,t,n){"use strict";var r=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm;return e+="¨0",e=e.replace(r,function(e,r,i,a,o,s,u){return r=r.toLowerCase(),n.gUrls[r]=l.subParser("encodeAmpsAndAngles")(i,t,n),s?s+u:(u&&(n.gTitles[r]=u.replace(/"|'/g,""")),t.parseImgDimensions&&a&&o&&(n.gDimensions[r]={width:a,height:o}),"")}),e=e.replace(/¨0/,"")}),l.subParser("tables",function(e,t,n){"use strict";function r(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function i(e,r){var i="";return e=e.trim(),t.tableHeaderId&&(i=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),e=l.subParser("spanGamut")(e,t,n),""+e+"\n"}function a(e,r){var i=l.subParser("spanGamut")(e,t,n);return""+i+"\n"}function o(e,t){for(var n="\n\n\n",r=e.length,i=0;i\n\n\n",i=0;i\n";for(var a=0;a\n"}return n+="\n
    \n"}if(!t.tables)return e;var s=/^ {0,3}\|?.+\|.+\n[ \t]{0,3}\|?[ \t]*:?[ \t]*(?:-|=){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:-|=){2,}[\s\S]+?(?:\n\n|¨0)/gm;return e=n.converter._dispatch("tables.before",e,t,n),e=e.replace(s,function(e){var t,n=e.split("\n");for(t=0;t0},isEmpty:function(){return!this.query},isDirty:function(){return!!this.query}},methods:{update:function(){var e=this;return this.query?void(this.minChars&&this.query.length0?this.current--:this.current===-1?this.current=this.items.length-1:this.current=-1},down:function(){this.currentn.h?(n.y=Math.max(0,n.y-(n.w*s-n.h)/2),n.h=n.w*s):(n.x=Math.max(0,n.x-(n.h/s-n.w)/2),n.w=n.h/s),e=[n.x,n.y,n.w,n.h],!!n&&e.join(" ")},zoom:function(e){var t=this.$refs.smallSvgWrapper;if(this.$options.ZOOM_OUT===e){var n=[0,0,t.getAttribute("width"),t.getAttribute("height")];t.setAttribute("viewBox",n.join(" ")),this.canZoom=!0}this.$options.ZOOM_IN===e&&(t.setAttribute("viewBox",this.computeCentreredViewBox()),this.canZoom=!1)},setDrawingMode:function(e,t){this.initialDrawingMode||(this.initialDrawingMode=e);var t="boolean"!=typeof t||t;this.mode=this.$options["MODE_"+e],this.isRect=this.mode===this.$options.MODE_RECT,t&&this.drawingComponent.setDrawingMode(this.mode)},cancel:function(){this.formView=!0;var e=this.$refs.currentPath.getAttribute("d");e.length&&this.initialDrawingMode&&(e+=";"+this.initialDrawingMode,this.drawingComponent.setPath(e))},highLightZone:function(){this.displayMask?this.displayMask=!1:this.displayMask=!0},displayEditedPath:function(){this.drawingComponent.getPath()},resetZoom:function(){this.zoom(this.$options.ZOOM_OUT)},showEditor:function(){this.formView=!1,this.resetZoom()},showForm:function(){this.normalizePath=this.drawingComponent.getPath();var e=this.$refs.smallImage;this.formView=!0;var t=e.getAttribute("width")/100,n=e.getAttribute("height")/100,r=[t,0,0,n,0,0].join(",");this.transformMatrix="matrix("+r+")",this.fragmentPath=this.normalizePath.split(";")[0]},clear:function(){this.drawingComponent.clear()}}}},function(e,t,n){(function(e){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var a,o=n(307),s=r(o);t.default=(a={components:{modalpanel:s.default},mounted:function(){},props:["transform-matrix","image-path","image-height","image-width"],data:function(){return{diffText:"",tagMode:!1,textMode:!1,fragmentMode:!1,originalPath:"",modifiedPath:"",tags:[]}}},i(a,"mounted",function(){return!1}),i(a,"computed",{matrixTransform:function e(){var e="";return this.transformMatrix&&(e="matrix("+this.transformMatrix+")"),e}}),i(a,"methods",{setContent:function(e){this.$refs.modalcontent.appendChild(e)},switchMode:function(e){var t=["tagMode","textMode","fragmentMode"];this.tagMode=!1,this.textMode=!1,this.fragmentMode=!1,t.indexOf(e)!==-1&&(this[e]=!0)},showTagDiff:function(e,t){this.switchMode("tagMode");var n=iconolab.JsonDiff.diff(e,t),r=[];if(e.forEach(function(e,i){var e=JSON.parse(JSON.stringify(e)),a=n["_"+i],o=n[i];return a||o||r.push(e),Array.isArray(a)?(e.action="del",r.push(e),!0):o&&(o.tag_label||o.relevancy||o.accuracy)?(e.action=o.tag_label?"replace":"update",e.new_label=t[i].tag_label,e.new_accuracy=t[i].accuracy,e.new_relevancy=t[i].relevancy,r.push(e),!0):Array.isArray(o)?(e.action="add",r.push(t[i]),!0):void 0}),e.length").append(i).html()},showFragmentDiff:function(e,t){this.switchMode("fragmentMode"),this.originalPath=e,this.modifiedPath=t},show:function(){this.$refs.panel.show()},hide:function(){this.$refs.panel.hide()}}),a)}).call(t,n(2))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(38),a=r(i),o=n(8),s=r(o),l=n(163),u=r(l),c=n(1),d=r(c),f=new u.default.Converter,h={title:"",description:"",fragment:"",tags:[],readonly:!0};t.default={props:{action:String,annotation:{type:Object,default:function(){return null}},isAuthenticated:{type:Boolean,default:!1}},components:{"tag-list":a.default},data:function(){return h},mounted:function(){this.annotation&&this.loadAnnotation(this.annotation)},watch:{annotation:function(e){e?this.loadAnnotation(e):this.reset()}},computed:{descriptionComputed:function(){return f.makeHtml(this.description)},lastRevisionText:function(){if(this.annotation){var e=(0,d.default)(this.annotation.created).locale("fr");return"Dernière version "+e.fromNow()+" par "+this.annotation.author}},formAction:function(){if(this.annotation)return this.action.replace(":annotation_guid",this.annotation.annotation_guid)},serializedTags:function(){var e=this.tags.map(function(e){return{tag_input:"string"==typeof e.tag_link&&e.tag_link.length?e.tag_link:e.tag_label,tag_label:e.tag_label,accuracy:e.accuracy,relevancy:e.relevancy}});return JSON.stringify(e)},hasChanged:function(){return!!this.annotation&&(this.title!==this.annotation.title||this.description!==this.annotation.description||!s.default.isEqual(this.annotation.tags,this.tags))}},methods:{onTagsChange:function(e){this.tags=e},reset:function(){Object.assign(this,h)},loadAnnotation:function(e){Object.assign(this,{title:e.title,description:e.description,fragment:e.fragment,tags:e.tags.slice(),readonly:!0})}}}},function(e,t,n){(function(e){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(8),a=r(i);t.default={props:["annotations","annotation"],mounted:function(){this.annotation&&this.slideToAnnotation()},watch:{annotation:function(e){e&&this.slideToAnnotation()}},methods:{toggleAnnotation:function(e,t){e.preventDefault(),this.annotation&&this.annotation===t?this.$emit("close:annotation"):this.$emit("click:annotation",t)},isActive:function(e){return e===this.annotation},getCommentsCount:function(e){var t=e.stats.comments_count;return t+" commentaire"+(t>1?"s":"")},slideToAnnotation:function(){var t=this,n=a.default.find(this.$refs.annotations,function(n){return e(n).attr("href")==="#"+t.annotation.annotation_guid});if(n){var r=e(this.$el.closest(".panel"));r.animate({scrollTop:r.scrollTop()-r.offset().top+e(n).offset().top},600)}}}}}).call(t,n(2))},function(e,t,n){(function(e){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),a=r(i),o=n(303),s=r(o),l=n(302),u=r(l),c=n(305),d=r(c),f=n(8),h=r(f);t.default={props:{image:String,thumbnail:String,annotation:{type:Object,default:null},tooltip:{type:Boolean,default:!1},isAuthenticated:{type:Boolean,default:!1},annotations:{type:Array,default:[]},loginUrl:String},components:{shapeRect:s.default,shapeFree:u.default,zoomThumbnail:d.default},data:function(){return{paper:null,loaded:!1,mode:"rect",viewport:{width:0,height:0},viewBox:[0,0,0,0],zoomFactor:.1,scale:1,imgMinSize:0,imageWidth:0,imageHeight:0,readonly:!1,strokeWidth:15,imageRatio:1}},computed:{canvasClass:function(){return{"canvas--rect":!this.readonly&&this.isAuthenticated&&"rect"===this.mode,"canvas--free":!this.readonly&&this.isAuthenticated&&"free"===this.mode}},normalizedAnnotations:function e(){var t=this,e=h.default.map(this.annotations,function(e){if(e.fragment.length>0){var n=e.fragment.split(";"),r=t.denormalizePath(n[0]),i=n[1].toLowerCase();Object.assign(e,{mode:i,path:r})}return e});return this.annotation?h.default.filter(e,function(e){return e===t.annotation}):e}},watch:{mode:function(e){this.reset(),this.readonly||this.handleDraw()},loaded:function(e){if(e){var t=this.paper.node.getBoundingClientRect();console.log("Viewport: %s x %s",t.width,t.height);var n=[0,0,this.imageWidth,this.imageHeight],r={width:t.width,height:t.height},i=1;this.imageWidth>this.imageHeight&&(i=r.width/this.imageWidth),this.imageHeight>this.imageWidth&&(i=r.height/this.imageHeight);var a=i>1?2*i:2/i;Object.assign(this,{viewBox:n,viewport:r,imageRatio:i,strokeWidth:a}),this.paper.attr({viewBox:this.viewBox}),h.default.size(this.annotations)>0&&(this.readonly=!0)}},annotation:function(e){this.isAuthenticated&&(this.readonly=!!e)},scale:function(e){var t=this,n=0;if(e>1&&(n=e-1),1===e)this.resetViewBox();else{var r=this.getCenter(),i=this.imageWidth-this.imageWidth*n,a=this.imageHeight-this.imageHeight*n,o=[r.x-i/2,r.y-a/2,i,a];this.hideTooltip(),this.animateViewBox(o,function(){return t.showTooltip()})}},readonly:function(e,t){this.reset(),e||(this.handleDraw(),this.annotation&&this.$emit("close:annotation"))}},mounted:function(){var e=this,t=new Image;t.onload=function(n){e.paper=new a.default(e.$refs.svg),console.log("Image: %s x %s",t.width,t.height),Object.assign(e,{imageWidth:t.width,imageHeight:t.height,imgMinSize:Math.min(t.width,t.height),loaded:!0})},t.src=this.image},methods:{onAnnotationClick:function(e){this.$emit("click:annotation",e)},toggleReadonly:function(){this.isAuthenticated&&(this.readonly=!this.readonly)},hideTooltip:function(){this.$refs.free.hideTooltip(),this.$refs.rect.hideTooltip()},showTooltip:function(){"free"===this.mode&&this.$refs.free.showTooltip(),"rect"===this.mode&&this.$refs.rect.showTooltip()},reset:function(){this.$refs.rect.clear(),this.$refs.free.clear(),this.removeEventHandlers(),this.resetZoom(),this.resetViewBox()},removeEventHandlers:function(){this.paper.unmousedown(),this.paper.unmousemove(),this.paper.unmouseup(),this.paper.unclick()},setMode:function(e){this.readonly||(this.mode=e)},getCenter:function(){return{x:this.viewBox[0]+this.viewBox[2]/2,y:this.viewBox[1]+this.viewBox[3]/2}},changeViewBox:function(e){var t=this.viewBox.slice();t[0]=e.x,t[1]=e.y,this.paper.attr({viewBox:t})},resetZoom:function(){this.scale=1,this.$refs.thumbnail.reset()},animateViewBox:function(e,t){var n=this,r=this.viewBox.slice();a.default.animate(r,e,function(e){return n.paper.attr({viewBox:e})},350,mina.easeinout,function(){n.viewBox=e,t&&t()})},resetViewBox:function(){this.animateViewBox([0,0,this.imageWidth,this.imageHeight])},zoomIn:function(){this.scale>=1.9||(this.scale=this.scale+1*this.zoomFactor)},zoomOut:function(){1!==this.scale&&(this.scale=this.scale-1*this.zoomFactor)},zoomOffset:function(){return{x:this.viewport.width/this.viewBox[2],y:this.viewport.height/this.viewBox[3]}},computeOffset:function(e){var t=this.$refs.image.getBoundingClientRect(),n=this.zoomOffset(),r=(e.clientX-t.left)/Math.min(n.x,n.y),i=(e.clientY-t.top)/Math.min(n.x,n.y);return{x:r,y:i}},normalizePath:function(e){var t=100/this.imageWidth,n=100/this.imageHeight;if(isNaN(t)||isNaN(n))throw new Error("Ratio should be a number.");var r=a.default.matrix(t,0,0,n,0,0);return e=a.default.path.map(e,r).toString(),e.search(/[z|Z]/gi)===-1&&(e+=" Z"),e},denormalizePath:function(e){var t=this.imageWidth/100,n=this.imageHeight/100;if(isNaN(t)||isNaN(n))throw new Error("Ratio should be a number.");var r=a.default.matrix(t,0,0,n,0,0);return e=a.default.path.map(e,r).toString(),e.search(/[z|Z]/gi)===-1&&(e+=" Z"),e},toSVGPath:function(){"free"===this.mode&&this.$refs.free.toSVGPath(),"rect"===this.mode&&this.$refs.rect.toSVGPath()},handleDraw:function(){"free"===this.mode&&this.handleDrawFree(),"rect"===this.mode&&this.handleDrawRect()},handleDrawFree:function(){var t=this;if(this.isAuthenticated){this.removeEventHandlers();var n,r=function(e,t){n=null,this.$refs.free.addPoint(e,t)};this.paper.click(function(i){if(!n&&e(i.target).is("image")&&!t.$refs.free.closed){var a=t.computeOffset(i),o=a.x,s=a.y;n=setTimeout(r.bind(t,o,s),190)}})}},handleDrawRect:function(){var e=this;if(this.isAuthenticated){this.removeEventHandlers();var t={x:0,y:0},n={x:0,y:0},r=!1;this.paper.mousedown(function(n){e.$refs.rect.width>0&&e.$refs.rect.height>0||(t=e.computeOffset(n),r=!0)}),this.paper.mousemove(function(i){if(r){var a,o;n=e.computeOffset(i);var s=Math.abs(n.x-t.x),l=Math.abs(t.y-n.y);n.y>t.y&&n.x>t.x&&(a=t.x,o=t.y),n.yt.x&&(a=n.x-s,o=n.y),n.yt.y&&n.x0&&(e=["comment-thread"]),e},dateFormatted:function(){var e=(0,s.default)(this.date).locale("fr");return e.fromNow()},commentFormatted:function(){return l.makeHtml(this.comment)}}}},function(e,t,n){(function(e){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(300),a=r(i);t.default={props:["annotation","fetch","is-authenticated"],components:{Comment:a.default},data:function(){return{comments:[]}},computed:{commentsURL:function(){return this.fetch.replace(":annotation_guid",this.annotation.annotation_guid)}},watch:{annotation:function(t){var n=this;t?e.getJSON(this.commentsURL).then(function(e){return n.comments=e}):this.comments=[]}},mounted:function(){var t=this;this.annotation&&e.getJSON(this.commentsURL).then(function(e){return t.comments=e})}}}).call(t,n(2))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),a=r(i),o=n(43),s=r(o),l=n(42),u=r(l);t.default={mixins:[s.default,u.default],props:["paper","original-annotation","original-path","readonly","stroke-width"],data:function(){return{path:"",closed:!1,points:[],text:{x:0,y:0}}},computed:{annotationHref:function(){return this.originalAnnotation?"annotation-path-"+this.originalAnnotation.annotation_guid:"annotation-path-new"},annotationSelector:function(){return"#"+this.annotationHref}},mounted:function(){var e=this,t=new a.default(this.$refs.g);this.originalPath?(this.fromSVGPath(this.originalPath,!1),t.click(function(){return e.$emit("click")})):t.dblclick(function(){return e.closePath()})},watch:{closed:function(e){e&&(this.path+=" Z")},points:function(e){var t=this,n="M";if(!(e.length<=1)){n+=e[0].x+","+e[0].y;for(var r=0;r2&&t.closePath()}),r.dblclick(function(e){e.preventDefault(),e.stopPropagation();var n=new a.default(e.target),r=parseInt(n.attr("data-key"),10);t.points.splice(r,1)});var o={onMove:function(e,t,r,a,o){i=!0;var s=n.$parent.computeOffset(o);this.attr({cx:s.x,cy:s.y});var l=parseInt(this.attr("data-key"),10);n.points.splice(l,1,{x:s.x,y:s.y})},onStart:function(){return t.hideTooltip()},onEnd:function(e){i&&(i=!1,n.showTooltip())}};r.drag(o.onMove,o.onStart,o.onEnd)},addResizeHandlers:function(){var e=this;this.$refs.handlers.forEach(function(t){return e.addResizeHandler(t)})}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),a=r(i),o=n(43),s=r(o),l=n(42),u=r(l);t.default={mixins:[s.default,u.default],props:["paper","original-annotation","tooltip","readonly","original-path","stroke-width"],data:function(){return{transform:"translate(0, 0)",isResizing:!1,x:0,y:0,width:0,height:0}},computed:{showResizeHandlers:function(){return!this.readonly&&this.width>0&&this.height>0}},mounted:function(){var e=this,t=this,n={onMove:function(e,n){if(!t.isResizing&&!t.readonly){var r=this.transform().diffMatrix.invert();r.e=r.f=0;var i=r.x(e,n),a=r.y(e,n),o=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[i,a];this.transform(o)}},onStart:function(){t.readonly||(this.data("origTransform",this.transform().local),t.$emit("drag:start"))},onEnd:function(){return t.$emit("drag:end")}},r=new a.default(this.$refs.g);r.drag(n.onMove,n.onStart,n.onEnd),this.originalPath&&(this.fromSVGPath(this.originalPath,!1),r.click(function(){return e.$emit("click")}))},watch:{x:function(e,t){this.transform="translate("+this.x+", "+this.y+")"},y:function(e,t){this.transform="translate("+this.x+", "+this.y+")"}},methods:{clear:function(){var e=new a.default(this.$refs.shape),t=new a.default(this.$refs.topLeft),n=new a.default(this.$refs.bottomRight);e.node.removeAttribute("transform"),t.node.removeAttribute("transform"),n.node.removeAttribute("transform"),this.destroyTooltip(),Object.assign(this,{transform:"translate(0, 0)",x:0,y:0,width:0,height:0})},getTooltipTarget:function(){return this.$refs.shape},addResizeHandlers:function(){var e=this,t=new a.default(this.$refs.shape),n=new a.default(this.$refs.topLeft),r=new a.default(this.$refs.bottomRight),i={onMove:function(e,i){var a=this.transform().diffMatrix.invert();a.e=a.f=0;var o=a.x(e,i),s=a.y(e,i);this.transform("t"+[o,s]+this.data("origTransform"));var l=r.getBBox().x-n.getBBox().x,u=r.getBBox().y-n.getBBox().y,c={width:l,height:u};this===n&&(c.transform=t.data("origTransform")+(t.data("origTransform")?"T":"t")+[o,s]),t.attr(c)},onStart:function(){e.isResizing=!0,t.data("origTransform",t.transform().local),this.data("origTransform",this.transform().local)},onEnd:function(){e.isResizing=!1}};n.drag(i.onMove,i.onStart,i.onEnd),r.drag(i.onMove,i.onStart,i.onEnd)},fromSVGPath:function(e,t){var n=this,r=a.default.path.getBBox(e);Object.assign(this,{x:r.x,y:r.y,width:r.width,height:r.height}),this.$nextTick(function(){n.addResizeHandlers(),t&&setTimeout(function(){return n.addTooltip()},250)})},toSVGPath:function(){var e,t=new a.default(this.$refs.shape),n=t.getBBox(),r=t.transform();if(r.global.length){var i=t.node.getAttribute("x"),o=t.node.getAttribute("y"),s=r.totalMatrix,l=this.paper.rect(s.x(i,o),s.y(i,o),n.width,n.height);e=l.getBBox().path,l.remove()}else e=t.getBBox().path;var u=a.default.path.toAbsolute(e).toString();return this.$parent.normalizePath(u)+";RECT"}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(38),a=r(i);t.default={props:["original-title","original-description","original-tags"],components:{"tag-list":a.default},data:function(){return{title:"",description:"",tags:[],titleError:!1,tagsError:!1}},computed:{titleFormGroupClass:function(){return{"has-error":this.titleError}},tagsFormGroupClass:function(){return{"has-error":this.tagsError}}},mounted:function(){this.originalTitle&&(this.title=this.originalTitle),this.originalDescription&&(this.description=this.originalDescription)},methods:{close:function(e){e.preventDefault(),this.$emit("close")},save:function(e){e.preventDefault(),Object.assign(this,{titleError:!1,tagsError:!1}),0===this.title.trim().length&&(this.titleError=!0),0===this.$refs.taglist.tags.length&&(this.tagsError=!0),this.titleError||this.tagsError||this.$emit("save",{title:this.title,description:this.description,tags:this.$refs.taglist.tags})}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),a=r(i);a.default.plugin(function(e,t,n,r){function i(e,t){var n,r,i=this.transform().globalMatrix.invert();i.e=i.f=0,n=i.x(e,t),r=i.y(e,t),this.data("x",+this.data("ox")+n),this.data("y",+this.data("oy")+r),this.data("x")>this.data("maxx")-this.data("ibb").width&&this.data("x",this.data("maxx")-this.data("ibb").width),this.data("y")>this.data("maxy")-this.data("ibb").height&&this.data("y",this.data("maxy")-this.data("ibb").height),this.data("x")=o&&(l=o-r.w),u+r.h>=s&&(u=s-r.h),l=l<0?0:l,u=u<0?0:u;var c="T"+[l,u];this.attr("transform",c),e.notifyMove(this.getBBox().x,this.getBBox().y)},function(){this.data("startPosition",{x:this.getBBox().x,y:this.getBBox().y}),this.data("origTransform",this.transform().local)},function(){})},moveHandlerToCenter:function(e,t){cx=cx?cx:this.width/2,cy=cy?cy:this.height/2;var n=cx-this.handler.getBBox().w/2,r=cy-this.handler.getBBox().h/2;this.handler.transform("T"+[n,r])},notifyMove:function(e,t){if(i.eventEmitter.emit("moveZoomHandler",{x:e,y:t,viewport:{width:this.image.attr("width"),height:this.image.attr("height")}}),!this.currentViewBox||!this.currentViewport||"function"!=typeof this.updateFunction)return!1;var n=this.currentImageSize.width/this.image.attr("width"),r=this.currentImageSize.height/this.image.attr("height"),a=e*n,o=t*r;this.currentViewBox[0]=a,this.currentViewBox[1]=o,this.updateFunction(this.currentViewBox)},handleZoomChanged:function(e){if(1===e.currentScale)return void(this.showHandler=!1);this.showHandler=!0,this.currentViewport=e.viewport,this.currentViewBox=e.currentViewBox,this.currentImageSize=e.imageSize,this.updateFunction=e.updateFunction;var t=e.currentViewBox[2]*this.imgMinSize/e.minSize;this.handler.attr("width",t),this.handler.attr("height",t);var n=e.currentViewBox[0]*this.image.attr("width")/e.imageSize.width,r=e.currentViewBox[1]*this.image.attr("height")/e.imageSize.height;this.handler.transform("T"+[n,r])}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(296),a=r(i);t.default={init:function(){return new Vue(a.default)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9),i=function(e,t,n,r){this.paper=e,this.shape=t,this.handlers=[],this.viewPort=n,this.viewBox=r,this.isResizing=!1,this.currentPosition={},this.HANDLER_SIZE=8,this.SHAPE_MIN_SIZE=20,this.states={},this.noop=function(){},this.init()};i.prototype={init:function(){this.showHandlers()},computeHandlerSize:function(){return this.HANDLER_SIZE*Math.min(this.viewBox[2],this.viewBox[3])/this.viewPort.width},showHandlers:function(){var e=this.shape.getBBox(),t=e.x-this.computeHandlerSize()/2,n=e.y-this.computeHandlerSize()/2,r=this.paper.rect(t,n,this.computeHandlerSize(),this.computeHandlerSize()).attr({fill:"red"});r.addClass("drawingHandler"),this.shape.addClass("drawingHandler");var i={position:"t_r",handler:r};this.handlers.push(i),this.shapesGroup=this.paper.g(this.shape,r),this.attachEvents()},updateShapePositions:function(e,t,n){var r=e.handler.getBBox(),i=this.shape.data("origBbox"),a=(r.x+this.computeHandlerSize()/2,r.y+this.computeHandlerSize()/2,t>0?i.width-t:i.width+Math.abs(t)),o=n>0?i.height-n:i.height+Math.abs(n),s=this.shape.data("origTransform")+(this.shape.data("origTransform")?"T":"t")+[t,n];this.shape.attr({transform:s,width:a,height:o})},dragEvents:{onStart:function(e,t,n,r){this.startPosition={x:r.clientX,y:r.clientY},this.isResizing=!0,this.currentPosition={},e.handler.data("origTransform",e.handler.transform().local),this.shape.data("origBbox",this.shape.getBBox()),this.shape.data("origBounding",this.shape.node.getBoundingClientRect()),this.shape.data("origTransform",this.shape.transform().local)},onMove:function(e,t,n,r,i,a){var o,s,l=e.handler.transform().diffMatrix.invert();l.e=l.f=0,o=l.x(t,n),s=l.y(t,n),this.currentPosition.x=a.clientX,this.currentPosition.y=a.clientY,this.checkBondaries(t,n)&&(e.handler.transform("t"+[o,s]+e.handler.data("origTransform")),this.updateShapePositions(e,o,s))},onStop:function(){this.isResizing=!1,this.startPosition={},this.currentPosition={}}},checkBondaries:function(e,t){var n=!0,r=this.shape.data("origBounding");this.shape.node.getBoundingClientRect();return r.width-e<=this.SHAPE_MIN_SIZE&&(n=!1),r.height-t<=this.SHAPE_MIN_SIZE&&(n=!1),n},destroy:function(){this.handlers.map(function(e){e.handler.remove()}),delete this},getZoomFactor:function(){return{x:this.viewPort.width/this.viewBox[2],y:this.viewPort.height/this.viewBox[3]}},attachEvents:function(){var e=this;this.handlers.map(function(t){t.handler.drag(e.dragEvents.onMove.bind(e,t),e.dragEvents.onStart.bind(e,t),e.dragEvents.onStop.bind(e,t))}),r.eventEmitter.on("cutout:clear",function(){e.destroy()}),this.shapesGroup.drag(function(t,n){if(!e.isResizing){var r=this.transform().diffMatrix.invert();r.e=r.f=0;var i=r.x(t,n),a=r.y(t,n),o=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[i,a];this.transform(o)}},function(){this.data("origTransform",this.transform().local)},this.noop)}};t.default={enable_resizer:function(e,t,n,r){new i(e,t,n,r)}}},function(e,t,n){(function(e){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),a=r(i),o=n(193),s=r(o),l=n(9),u=n(41);r(u);a.default.plugin(function(e,t,n,r){var i=t.prototype;i.toBack=function(){this.prependTo(this.paper)},i.toFront=function(){this.appendTo(this.paper)}}),Element.prototype.getTransformedXY=function(e,t){var n=this.transform().globalMatrix;return{x:n.x(e,t),y:n.y(e,t)}};var c=null,d=null,f=[],h={X:100,Y:100},p={x:1,y:1},m={width:850,height:850},_=[],g=!1,v=null,y=null,b=!1,w=null,M="#ff00ff",x="red",k="orange",L="#FF0000",Y=8,T=!1,D=!0,S=!1,j=!0,C="RECT",A=C,H="FREE",P=[C,H],E=null,O=function(){var e=0,t="item_";return function(n){return n="string"==typeof n?n:t,e+=1,n+e}}(),$=function(e){if(g)return void c.path(e).attr({stroke:"red",opacity:.6});var t=a.default.path.getBBox(e);w=c.rect(t.x,t.y,t.width,t.height),w.attr({fill:k,stroke:x,opacity:.6}),y=w,b=!1,S=!0,s.default.enable_resizer(c,y,m,_)},F=function(e){if(g)return void c.path(e).attr({stroke:"orange",fill:"orange",opacity:.5});var t=a.default.parsePathString(e);t.map(function(e){"Z"!==e[0]?J(c,e[1],e[2],f):(S=!0,z(c,R))})},z=function(e,t){var n="M";if(!(f.length<=1)){n+=f[0].x+","+f[0].y;for(var r=0;r2&&(S=!0)},B=function(e,t,n){var r=f.indexOf(e);return r!==-1&&(f[r].x=t,f[r].y=n,!0)},I=function(){_.length||(_=[0,0,parseInt(d.width()),parseInt(d.height())]);var e=Y*Math.min(_[2],_[3])/850;return e},V=function(e,t,n,r,i){T=!0;var a,o,s=this.transform().diffMatrix.invert();s.e=s.f=0,a=s.x(e,t),o=s.y(e,t);var l=this.data("origTransform")+(this.data("origTransform")?"T":"t")+[a,o];this.attr({transform:l});var u=this.getBBox(),c=B(this.data("point"),u.x+I()/2,u.y+I()/2);c&&z(this.paper)},q=function(e,t){e.handler.click(W.bind(this,e,t)),e.handler.hover(function(){e.handler.attr({fill:"yellow"})},function(){var t=e.isFirst?L:"";e.handler.attr({fill:t})}),e.handler.drag(V,function(){this.data("origTransform",this.transform().local)},function(){return!T||(T=!1,void(D=!1))})},U=function(e,t){var n,r=I(),i=t.x-r/2,a=t.y-r/2;return n=e.rect(i,a,r,r),n.addClass("drawingHandler"),t.handler=n,t.handler.data("point",t),0===f.length&&(t.isFirst=!0),q(t,e),t.handler.attr({fill:0===f.length?L:"",opacity:.9,stroke:M}),t},J=function(e,t,n,r){var i={x:t,y:n,id:O()};return S?void z(e,R):D?(i=U(e,i),r.push(i),void z(e)):(D=!0,!1)},G=function(e){if(g)return!1;var t={},n={},r=function(e){var t=e.target||e.srcElement,n=t.getBoundingClientRect(),r=(e.clientX-n.left)/Math.min(p.x,p.y),i=(e.clientY-n.top)/Math.min(p.x,p.y);return{x:r,y:i}};e.mousedown(function(e){if(A!==H&&!S){var n=r(e);t.x=n.x,t.y=n.y,b=!0}}),e.mousemove(function(i){if(A!==H&&b){var a,o,s=r(i);n.x=s.x,n.y=s.y,w&&w.remove();var l=Math.abs(n.x-t.x),u=Math.abs(t.y-n.y);n.y>t.y&&n.x>t.x&&(a=t.x,o=t.y),n.yt.x&&(a=n.x-l,o=n.y),n.yt.y&&n.x2&&z(t,R)),!1)});var i=function(e){var t=e.target||e.srcElement,n=t.getBoundingClientRect(),r=(e.clientX-n.left)/Math.min(p.x,p.y),i=(e.clientY-n.top)/Math.min(p.x,p.y);return{x:r,y:i}},a=function(e,i){if(!r){if(A===C)return!0;if(!j)return!0;J(t,e,i,f),n=null,r=!1}};t.click(function(t){if(!n&&e(t.target).is(d)){var r=i(t),o=r.x,s=r.y;n=setTimeout(a.bind(this,o,s),190)}})}},K=function(){l.eventEmitter.on("zoomChanged",function(e){p=e.zoomFactor,_=e.currentViewBox;var t=X.getPath();X.clear(),X.setPath(t)})},X={getPaper:function(){return c},setPath:function(e){var t=e.split(";");P.indexOf(t[1])===-1&&(t[1]="FREE"),this.setDrawingMode(t[1]);var n=t[0];if(n.length){var r=d.attr("width")/h.X,i=d.attr("height")/h.Y;(isNaN(r)||isNaN(i))&&new Error("Ratio should be a number.");var o=a.default.matrix(r,0,0,i,0,0),s=a.default.path.map(n,o).toString();s.search(/[z|Z]/gi)===-1&&(s+="Z"),t.length>=2&&(t[1]===C&&$(s),t[1]===H&&F(s))}},setDrawingMode:function(e){P.indexOf(e)!==-1&&(A=e),"function"==typeof E&&E(A),this.clear()},clear:function(){f.map(function(e){e.handler&&e.handler.remove()}),y&&y.remove(),l.eventEmitter.emit("cutout:clear"),f=[],v=null,y=null,T=!1,D=!0,S=!1,j=!0},getShapeBBox:function(){var e=this.getPath();return a.default.path.getBBox(e)},getShape:function(){return this.getPath()},getPath:function(){var e="";if(y)if(A===C){var t=y.getBBox(),n=y.transform();if(n.global.length){var r=y.node.getAttribute("x"),i=y.node.getAttribute("y"),o=n.totalMatrix,s=c.rect(o.x(r,i),o.y(r,i),t.width,t.height);l=s.getBBox().path,s.remove()}else var l=y.getBBox().path;e=a.default.path.toAbsolute(l).toString()}else e=y.attr("d");var u=h.X/d.attr("width"),f=h.Y/d.attr("height");if((isNaN(u)||isNaN(f))&&new Error("ratio should be a number."),!e.length)return e=A===C?";RECT":";FREE";var p=a.default.matrix(u,0,0,f,0,0);e=a.default.path.map(e,p).toString();var m=A===C?";RECT":";FREE";return e.search(/[z|Z]/gi)===-1&&(e+=" Z"),e+=m}};t.default={init:function(t){d=e(t.wrapperId).find(".main-image").eq(0);var n=e(t.wrapperId).find(".cut-canvas").eq(0),r=e(t.wrapperId).find(".image-path").eq(0);if("function"==typeof t.onDrawingModeChange&&(E=t.onDrawingModeChange),!d.length)throw new Error("The main image Can't be found ...");if(!n.length){var n=e('').addClass("cut-canvas");e(t.wrapperId).append(n),n.append(d)}if(n.css({marginLeft:"auto",marginRight:"auto",width:m.width,height:m.height}),"boolean"==typeof t.readOnly&&t.readOnly===!0&&(g=!0),c=new a.default(n.get(0)),r.length){e(n).append(r);var i=r.attr("d");X.setPath(i),r.remove()}return K(),Z(c),G(c),X}}}).call(t,n(2))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(299),a=r(i),o=n(297),s=r(o),l=n(298),u=r(l),c=n(301),d=r(c);t.default={Canvas:a.default,AnnotationForm:s.default,AnnotationList:u.default,CommentList:d.default}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n(285),n(286),n(284);var i=n(328),a=(r(i),n(39)),o=r(a),s=n(192),l=r(s),u=n(167),c=r(u),d=n(306),f=r(d),h=n(295),p=r(h),m=n(164),_=r(m),g=n(22),v=r(g),y=n(195),b=r(y),w=n(165),M=r(w),x=n(38),k=r(x),L=n(265);Vue.config.ignoredElements=["mask"];var Y={Cutout:l.default,JsDiff:L,JsonDiff:v.default,CollectionSelector:p.default,VueComponents:{Typeahead:o.default,MergeTool:f.default,Zoomview:c.default,DiffViewer:_.default,Editor:b.default,ColorButtons:M.default,TagList:k.default}};Vue.component("color-buttons",M.default),Vue.component("image-annotator",b.default.Canvas),Vue.component("annotation-form",b.default.AnnotationForm),Vue.component("annotation-list",b.default.AnnotationList),Vue.component("comment-list",b.default.CommentList),window.iconolab||(window.iconolab=Y)},function(e,t,n){e.exports={default:n(214),__esModule:!0}},function(e,t,n){e.exports={default:n(215),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(198),a=r(i);t.default=function(e,t,n){return t in e?(0,a.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){var t=function e(){return i.apply(e,arguments)};return t._styles=e,t.__proto__=p,t}function i(){var e=arguments,t=e.length,n=0!==t&&String(arguments[0]);if(t>1)for(var r=1;rc;)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(216);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(27),i=n(26).document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(47),i=n(231);e.exports=n(19)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){e.exports=!n(19)&&!n(25)(function(){return 7!=Object.defineProperty(n(221)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";var r=n(229),i=n(227),a=n(230),o=n(236),s=n(46),l=Object.assign;e.exports=!l||n(25)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=o(e),l=arguments.length,u=1,c=i.f,d=a.f;l>u;)for(var f,h=s(arguments[u++]),p=c?r(h).concat(c(h)):r(h),m=p.length,_=0;m>_;)d.call(h,f=p[_++])&&(n[f]=h[f]);return n}:l},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(223),i=n(49),a=n(218)(!1),o=n(232)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=o&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~a(u,n)||u.push(n));return u}},function(e,t,n){var r=n(228),i=n(222);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(233)("keys"),i=n(238);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(26),i="__core-js_shared__",a=r[i]||(r[i]={});e.exports=function(e){return a[e]||(a[e]={})}},function(e,t,n){var r=n(48),i=Math.max,a=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):a(e,t)}},function(e,t,n){var r=n(48),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(44);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(27);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(45);r(r.S+r.F,"Object",{assign:n(226)})},function(e,t,n){var r=n(45);r(r.S+r.F*!n(19),"Object",{defineProperty:n(47).f})},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".popover{min-width:300px}.popover-content .form-group{margin-bottom:10px}.popover-content .form-group label{font-size:12px}.popover-content .taglist{margin:10px 0 15px}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,"Typeahead[data-v-09005644]{position:relative}.selected-tags[data-v-09005644]{border:1px solid red;width:200px!important}.selected-tags select[data-v-09005644]{display:inline-block}.Typeahead__input[data-v-09005644]{width:100%;font-size:14px;color:#2c3e50;line-height:1.42857143;box-shadow:inset 0 1px 4px rgba(0,0,0,.4);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-weight:300;padding:12px 26px;border:none;border-radius:22px;letter-spacing:1px;box-sizing:border-box}.Typeahead__input[data-v-09005644]:focus{border-color:#4fc08d;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px #4fc08d}.tag-item[data-v-09005644]{border:1px solid red}.fa-times[data-v-09005644]{cursor:pointer}ul[data-v-09005644]{padding:0;margin-top:8px;min-width:100%;background-color:#fff;list-style:none;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:1000}li[data-v-09005644]{padding:10px 16px;border-bottom:1px solid #ccc;cursor:pointer}li[data-v-09005644]:first-child{border-radius:4px 4px 0 0}li[data-v-09005644]:last-child{border-radius:0 0 4px 4px;border-bottom:0}span[data-v-09005644]{display:block;color:#2c3e50}.active[data-v-09005644]{background-color:#3aa373}.active span[data-v-09005644]{color:#fff}.name[data-v-09005644]{font-weight:700;font-size:18px}.screen-name[data-v-09005644]{font-style:italic}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,"",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,"Typeahead[data-v-163b42f5]{position:relative}.selected-tags[data-v-163b42f5]{border:1px solid red;width:200px!important}.selected-tags select[data-v-163b42f5]{display:inline-block}.Typeahead__input[data-v-163b42f5]{width:100%;font-size:14px;color:#2c3e50;line-height:1.42857143;box-shadow:inset 0 1px 4px rgba(0,0,0,.4);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;font-weight:300;padding:12px 26px;border:none;border-radius:22px;letter-spacing:1px;box-sizing:border-box}.Typeahead__input[data-v-163b42f5]:focus{border-color:#4fc08d;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px #4fc08d}.tag-item[data-v-163b42f5]{border:1px solid red}.fa-times[data-v-163b42f5]{cursor:pointer}ul[data-v-163b42f5]{padding:0;margin-top:8px;min-width:100%;background-color:#fff;list-style:none;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.25);z-index:1000}li[data-v-163b42f5]{padding:10px 16px;border-bottom:1px solid #ccc;cursor:pointer}li[data-v-163b42f5]:first-child{border-radius:4px 4px 0 0}li[data-v-163b42f5]:last-child{border-radius:0 0 4px 4px;border-bottom:0}span.tag-label[data-v-163b42f5]{color:#2c3e50}.active[data-v-163b42f5]{background-color:#3aa373}.active span[data-v-163b42f5]{color:#fff}.name[data-v-163b42f5]{font-weight:700;font-size:18px}.screen-name[data-v-163b42f5]{font-style:italic}",""]); +},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,'.btn-group[data-v-1826f540]{margin:0 5px 10px}.btn[data-v-1826f540]{padding:3px 12px;line-height:12px}.value-label[data-v-1826f540]{display:inline-block;vertical-align:middle;margin-bottom:10px}.value-wrapper[data-v-1826f540]{font-size:10px}.btn--highlight[data-v-1826f540]{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn--highlight[data-value="1"][data-v-1826f540]{background-color:#fc5f62}.btn--highlight[data-value="2"][data-v-1826f540]{background-color:#f7c136}.btn--highlight[data-value="3"][data-v-1826f540]{background-color:#f7e53b}.btn--highlight[data-value="4"][data-v-1826f540]{background-color:#ebf63d}.btn--highlight[data-value="5"][data-v-1826f540]{background-color:#b9e78b}',""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".wrapper[data-v-21ad04a8]{height:auto;overflow-y:auto;margin-bottom:20px}.alert[data-v-21ad04a8]{padding:10px;font-size:12px}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".alert[data-v-2842cc86]{padding:10px;font-size:12px}.tag-list[data-v-2842cc86]{margin-bottom:15px}.tag-list-item[data-v-2842cc86]:first-of-type{border-top-left-radius:4px;border-top-right-radius:4px}.tag-list-item[data-v-2842cc86]:last-of-type{border-bottom-left-radius:4px;border-bottom-right-radius:4px}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".move-handler[data-v-2cdf3ca8]{cursor:-webkit-grab;cursor:grab}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,'.tag-item-btn[data-v-2ceb798e]{float:left;position:relative}.tag-item-btn button[data-v-2ceb798e]{border:none;background-color:transparent}.tag-item-accuracy .fa[data-v-2ceb798e],.tag-item-relevancy .fa[data-v-2ceb798e]{position:absolute;left:50%;top:-50%;transform:translate(-50%,-50%)}.tag-item-btn[data-value="1"][data-v-2ceb798e]{background-color:#fc5f62}.tag-item-btn[data-value="2"][data-v-2ceb798e]{background-color:#f7c136}.tag-item-btn[data-value="3"][data-v-2ceb798e]{background-color:#f7e53b}.tag-item-btn[data-value="4"][data-v-2ceb798e]{background-color:#ebf63d}.tag-item-btn[data-value="5"][data-v-2ceb798e]{background-color:#b9e78b}.tag-title[data-v-2ceb798e]{padding:5px 5px 5px 10px;font-size:12px;max-width:140px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tag-item-form[data-v-2ceb798e]{padding:15px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.tag-item-form label[data-v-2ceb798e],.tag-item-form small[data-v-2ceb798e]{display:block;margin-bottom:5px}.tag-container[data-v-2ceb798e]{border:1px solid #ccc;border-bottom:none}.tag-item[data-v-2ceb798e],.tag-list .tag-container[data-v-2ceb798e]:last-of-type{border-bottom:1px solid #ccc}.tag-item[data-v-2ceb798e]{display:flex;justify-content:space-between;align-items:center}.tag-item[data-v-2ceb798e]:not(.tag-item--readonly):hover{cursor:pointer;background-color:#f5f5f5}',""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".wrapper[data-v-45428799]{position:relative}.cut-canvas[data-v-45428799]{width:100%;height:700px;border:1px solid #ddd}.canvas--free[data-v-45428799]:hover,.canvas--rect[data-v-45428799]:hover{cursor:crosshair}.mode-controls .btn>svg[data-v-45428799]{margin-top:4px}.mode-controls .btn-primary>svg[data-v-45428799]{fill:#fff}.controls[data-v-45428799]{position:absolute;transform:translateX(-50%);left:50%;bottom:15px;display:flex;align-items:center}.controls>[data-v-45428799]{background-color:rgba(34,34,34,.9)}.controls .btn[data-v-45428799]{background-color:transparent;color:#ccc;fill:#ccc;float:left}.controls .btn.active[data-v-45428799],.controls .btn[data-v-45428799]:active{color:#fff;fill:#fff;background-color:#111}.controls .btn[data-v-45428799]:hover{background-color:#222}.controls .controls-left[data-v-45428799]{border-top-left-radius:4px;border-bottom-left-radius:4px}.controls .controls-center[data-v-45428799]{border-radius:4px;padding:8px 8px 4px}.controls .controls-right[data-v-45428799]{border-top-right-radius:4px;border-bottom-right-radius:4px}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".shape[data-v-506fb618]{fill:transparent;stroke:#fff;outline-color:#000;outline-style:solid}.shape.active[data-v-506fb618],.shape[data-v-506fb618]:hover{cursor:pointer;fill:#c5f2ff;opacity:.25}.shape--draggable[data-v-506fb618]:hover{cursor:move}.handler[data-v-506fb618]{fill:#fff;stroke:#000}.handler-top-left[data-v-506fb618]:hover{cursor:nw-resize}.handler-bottom-right[data-v-506fb618]:hover{cursor:se-resize}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,"form[data-v-51ceff58]{margin-bottom:20px;clear:both}label[data-v-51ceff58]{font-weight:400}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".comment[data-v-52ae02ee]{font-size:12px;padding:10px 0;border-bottom:1px solid #ddd}.comment-thread[data-v-52ae02ee]{border-bottom-width:0;border-left:3px solid #ddd;padding-left:10px;margin-left:10px}.comment-author[data-v-52ae02ee]{float:left;margin-right:4px}.comment-footer[data-v-52ae02ee]{margin-top:0;color:#ccc}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".diff-viewer-wrapper[data-v-64c3b6ce]{margin-top:5px}.diff-panel[data-v-64c3b6ce]{border:1px solid gray;width:300px;heigth:250px}del[data-v-64c3b6ce]{text-decoration:none;color:#b30000;background:#fadad7}ins[data-v-64c3b6ce]{background:#eaf2c2;color:#406619;text-decoration:none}",""])},function(e,t,n){t=e.exports=n(3)(),t.push([e.id,".handler[data-v-a8fd4508]{fill:#fff;stroke:#000}.path[data-v-a8fd4508]{stroke:inherit;stroke-width:inherit;fill:inherit;transform:inherit}.stroke-fg[data-v-a8fd4508]{stroke:#000;fill:transparent}.overlay[data-v-a8fd4508]{fill:transparent}.overlay.active[data-v-a8fd4508],.overlay[data-v-a8fd4508]:hover{cursor:pointer;fill:#c5f2ff;opacity:.25;stroke-opacity:1}.stroke-bg[data-v-a8fd4508]{stroke:#fff;fill:transparent}.handler--first[data-v-a8fd4508]{fill:#ff0}",""])},function(e,t,n){"use strict";var r,i=n(269),a=n(276),o=n(272),s=n(279);r=e.exports=function(e,t){var n,r,o,l,u;return arguments.length<2||"string"!=typeof e?(l=t,t=e,e=null):l=arguments[2],null==e?(n=o=!0,r=!1):(n=s.call(e,"c"),r=s.call(e,"e"),o=s.call(e,"w")),u={value:t,configurable:n,enumerable:r,writable:o},l?i(a(l),u):u},r.gs=function(e,t,n){var r,l,u,c;return"string"!=typeof e?(u=n,n=t,t=e,e=null):u=arguments[3],null==t?t=void 0:o(t)?null==n?n=void 0:o(n)||(u=n,n=void 0):(u=t,t=n=void 0),null==e?(r=!0,l=!1):(r=s.call(e,"c"),l=s.call(e,"e")),c={get:t,set:n,configurable:r,enumerable:l},u?i(a(u),c):c}},function(e,t){"use strict";function n(e){for(var t=[],n=void 0,r=void 0,i=0;i"):i.removed&&t.push(""),t.push(r(i.value)),i.added?t.push(""):i.removed&&t.push("")}return t.join("")}function r(e){var t=e;return t=t.replace(/&/g,"&"),t=t.replace(//g,">"),t=t.replace(/"/g,""")}t.__esModule=!0,t.convertChangesToXML=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return s.diff(e,t,n)}t.__esModule=!0,t.arrayDiff=void 0,t.diffArrays=i;var a=n(6),o=r(a),s=t.arrayDiff=new o.default;s.tokenize=s.join=function(e){return e.slice()}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return s.diff(e,t,n)}t.__esModule=!0,t.characterDiff=void 0,t.diffChars=i;var a=n(6),o=r(a),s=t.characterDiff=new o.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return s.diff(e,t,n)}t.__esModule=!0,t.cssDiff=void 0,t.diffCss=i;var a=n(6),o=r(a),s=t.cssDiff=new o.default;s.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){return d.diff(e,t,n)}function a(e,t,n){t=t||[],n=n||[];var r=void 0;for(r=0;rd))return!1;t++}}return!0}var r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}for(var i=e.split(/\r\n|[\n\v\f\r\x85]/),a=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,u=r.compareLine||function(e,t,n,r){return t===r},c=0,d=r.fuzzFactor||0,f=0,h=0,p=void 0,m=void 0,_=0;_0?u(s.lines.slice(-l.context)):[],f-=p.length,h-=p.length)}(o=p).push.apply(o,r(a.map(function(e){return(t.added?"+":"-")+e}))),t.added?_+=a.length:m+=a.length}else{if(f)if(a.length<=2*l.context&&e=c.length-2&&a.length<=l.context){var w=/\n$/.test(n),M=/\n$/.test(i);0!=a.length||w?w&&M||p.push("\\ No newline at end of file"):p.splice(b.oldLines,0,"\\ No newline at end of file")}d.push(b),f=0,h=0,p=[]}m+=a.length,_+=a.length}},v=0;v-1}},function(e,t){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(n,"\\$&")}},function(e,t,n){"use strict";var r,i,a,o,s,l,u,c=n(256),d=n(277),f=Function.prototype.apply,h=Function.prototype.call,p=Object.create,m=Object.defineProperty,_=Object.defineProperties,g=Object.prototype.hasOwnProperty,v={configurable:!0,enumerable:!1,writable:!0};r=function(e,t){var n;return d(t),g.call(this,"__ee__")?n=this.__ee__:(n=v.value=p(null),m(this,"__ee__",v),v.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},i=function(e,t){var n,i;return d(t),i=this,r.call(this,e,n=function(){a.call(i,e,n),f.call(t,this,arguments)}),n.__eeOnceListener__=t,this},a=function(e,t){var n,r,i,a;if(d(t),!g.call(this,"__ee__"))return this;if(n=this.__ee__,!n[e])return this;if(r=n[e],"object"==typeof r)for(a=0;i=r[a];++a)i!==t&&i.__eeOnceListener__!==t||(2===r.length?n[e]=r[a?0:1]:r.splice(a,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},o=function(e){var t,n,r,i,a;if(g.call(this,"__ee__")&&(i=this.__ee__[e]))if("object"==typeof i){for(n=arguments.length,a=new Array(n-1),t=1;t1)for(var n=1;n0,expression:"tags.length > 0"}],ref:"items",refInFor:!0,staticClass:"tag-list-item",attrs:{label:t.tag_label,index:r,accuracy:t.accuracy,relevancy:t.relevancy,readonly:e.readonly}})})),e._v(" "),n("typeahead",{directives:[{name:"show",rawName:"v-show",value:!e.readonly,expression:"!readonly"}],ref:"typeahead",attrs:{placeholder:"Rechercher un mot-clé"}})],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg",{ref:"svg",attrs:{width:e.thumbnailWidth,height:e.thumbnailHeight}},[n("image",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0",y:"0",width:e.thumbnailWidth,height:e.thumbnailHeight,"xlink:href":e.image}}),e._v(" "),n("rect",{ref:"handler",staticClass:"move-handler",staticStyle:{fill:"black",opacity:"0.4"},attrs:{x:e.x,y:e.y,width:e.width,height:e.height}})])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tag-container"},[n("div",{staticClass:"tag-item",class:{"tag-item--readonly":e.readonly},on:{click:e.toggle}},[n("span",{staticClass:"tag-title"},[e._v(e._s(e.label))]),e._v(" "),n("div",{staticClass:"tag-item-buttons"},[n("div",{staticClass:"tag-item-btn tag-item-accuracy",attrs:{"data-value":e.accuracy}},[n("button",{staticClass:"btn btn-default",attrs:{type:"button",title:e.accuracyTitle}},[e._v(e._s(e.accuracy||"?"))]),e._v(" "),0===e.index?n("i",{staticClass:"fa fa-exclamation-triangle text-muted",attrs:{"aria-hidden":"true",title:"Fiabilité"}}):e._e()]),e._v(" "),n("div",{staticClass:"tag-item-btn tag-item-relevancy",attrs:{"data-value":e.relevancy}},[n("button",{staticClass:"btn btn-default",attrs:{type:"button",title:e.relevancyTitle}},[e._v(e._s(e.relevancy||"?"))]),e._v(" "),0===e.index?n("i",{staticClass:"fa fa-crosshairs text-muted",attrs:{"aria-hidden":"true",title:"Pertinence"}}):e._e()]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.readonly,expression:"!readonly"}],staticClass:"tag-item-btn tag-item-delete"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button"},on:{click:e.remove}},[n("i",{staticClass:"fa fa-times",attrs:{"aria-hidden":"true"}})])])])]),e._v(" "),n("div",{staticClass:"collapse"},[n("div",{staticClass:"tag-item-form"},[n("div",[n("label",{staticClass:"small"},[e._v("Fiabilité")]),e._v(" "),n("small",[e._v("Êtes-vous sûr de votre mot-clé ?")]),e._v(" "),n("color-buttons",{ref:"accuracy",attrs:{"original-value":e.accuracy},on:{change:function(t){e.onChange("accuracy",t.value)}}})],1),e._v(" "),n("div",[n("label",{staticClass:"small"},[e._v("Pertinence")]),e._v(" "),n("small",[e._v("Votre mot-clé est-il indispensable à la compréhension de l'image ?")]),e._v(" "),n("color-buttons",{ref:"relevancy",attrs:{"original-value":e.relevancy},on:{change:function(t){e.onChange("relevancy",t.value)}}})],1)])])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"zoomview-wrapper"},[e._m(0),e._v(" "),n("svg",{ref:"root-svg"},[n("image",{attrs:{id:"small-image",x:"0",y:"0","xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":e.imageUrl,width:e.imageWidth,height:e.imageHeight}}),e._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:e.showHandler,expression:"showHandler"}],ref:"handler",staticStyle:{fill:"black",opacity:"0.4"},attrs:{id:"zoom-handler",x:"0",y:"0"}})]),e._v(" "),n("ul",{staticClass:"form-drawing-wrapper zoom-action-list list-inline"},[n("li",{staticClass:"small showPointer",on:{click:e.incraseDrawingZoom}},[n("i",{staticClass:"fa fa-search-plus"})]),e._v(" "),n("li",{staticClass:"small showPointer",on:{click:e.resetDrawingZoom}},[n("i",{staticClass:"fa fa-square"})]),e._v(" "),n("li",{staticClass:"small showPointer",on:{click:e.decreaseDrawingZoom}},[n("i",{staticClass:"fa fa-search-minus"})])])])},staticRenderFns:[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",{staticClass:"form-drawing pullright"},[n("strong",[e._v("Zoom")])])}]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"wrapper"},[n("div",[n("svg",{ref:"svg",staticClass:"cut-canvas",class:e.canvasClass,attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[e.loaded?n("image",{ref:"image",attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":e.image,x:"0",y:"0",width:e.imageWidth,height:e.imageHeight}}):e._e(),e._v(" "),e._l(e.normalizedAnnotations,function(t){return e.loaded&&e.readonly&&"rect"==t.mode?n("shape-rect",{key:t.annotation_guid,attrs:{paper:e.paper,"original-annotation":t,"original-path":t.path,readonly:e.readonly,"stroke-width":e.strokeWidth},on:{click:function(n){e.onAnnotationClick(t)}}}):e._e()}),e._v(" "),e._l(e.normalizedAnnotations,function(t){return e.loaded&&e.readonly&&"free"==t.mode?n("shape-free",{key:t.annotation_guid,attrs:{paper:e.paper,"original-annotation":t,"original-path":t.path,readonly:e.readonly,"stroke-width":e.strokeWidth},on:{click:function(n){e.onAnnotationClick(t)}}}):e._e()}),e._v(" "),n("shape-rect",{directives:[{name:"show",rawName:"v-show",value:e.loaded&&!e.readonly&&"rect"==e.mode,expression:"loaded && !readonly && mode == 'rect'"}],ref:"rect",attrs:{paper:e.paper,"stroke-width":e.strokeWidth,readonly:!1}}),e._v(" "),n("shape-free",{directives:[{name:"show",rawName:"v-show",value:e.loaded&&!e.readonly&&"free"==e.mode,expression:"loaded && !readonly && mode == 'free'"}],ref:"free",attrs:{paper:e.paper,"stroke-width":e.strokeWidth,readonly:!1}}),e._v(" "),n("defs",[n("filter",{attrs:{id:"shadow",width:"200%",height:"200%"}},[n("feOffset",{attrs:{result:"offOut",in:"SourceAlpha",dx:"0",dy:"0"}}),e._v(" "),n("feGaussianBlur",{attrs:{result:"blurOut",in:"offOut",stdDeviation:"10"}}),e._v(" "),n("feBlend",{attrs:{in:"SourceGraphic",in2:"blurOut",mode:"normal"}})],1)])],2)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],staticClass:"controls"},[n("div",{staticClass:"controls-left"},[n("button",{directives:[{name:"show",rawName:"v-show",value:e.isAuthenticated,expression:"isAuthenticated"}],staticClass:"btn",class:{active:e.readonly},attrs:{type:"button"},on:{click:e.toggleReadonly}},[n("i",{staticClass:"fa fa-eye"})]),e._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:e.isAuthenticated,expression:"isAuthenticated"}],staticClass:"btn",attrs:{type:"button"},on:{click:e.toggleReadonly}},[n("i",{directives:[{name:"show",rawName:"v-show",value:e.readonly,expression:"readonly"}],staticClass:"fa fa-toggle-on",staticStyle:{ +transform:"rotate(180deg)"}}),e._v(" "),n("i",{directives:[{name:"show",rawName:"v-show",value:!e.readonly,expression:"!readonly"}],staticClass:"fa fa-toggle-on"})]),e._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:e.isAuthenticated,expression:"isAuthenticated"}],staticClass:"btn",class:{active:!e.readonly&&"rect"===e.mode,disabled:e.readonly},attrs:{type:"button"},on:{click:function(t){e.setMode("rect")}}},[n("svg",{attrs:{width:"14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 512 512","enable-background":"new 0 0 512 512","xml:space":"preserve"}},[n("g",[n("rect",{attrs:{x:"352",y:"432",width:"64",height:"48"}}),n("polygon",{attrs:{points:"416,352 416,96 176,96 176,160 352,160 352,352 160,352 160,32 96,32 96,96 32,96 32,160 96,160 96,416 480,416 480,352"}})]),n("text",{attrs:{x:"0",y:"527",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[e._v("Created by Bluetip Design")]),n("text",{attrs:{x:"0",y:"532",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[e._v("from the Noun Project")])])]),e._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:e.isAuthenticated,expression:"isAuthenticated"}],staticClass:"btn",class:{active:!e.readonly&&"free"===e.mode,disabled:e.readonly},attrs:{type:"button"},on:{click:function(t){e.setMode("free")}}},[n("svg",{attrs:{width:"14",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 30 30","xml:space":"preserve"}},[n("g",{attrs:{transform:"translate(-450 -380)"}},[n("g",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[n("path",{attrs:{d:"M453,395c0,2.209,1.79,4,4,4c1.307,0,2.455-0.635,3.186-1.604l7.121,4.069C467.11,401.938,467,402.456,467,403 c0,2.209,1.79,4,4,4c2.209,0,4-1.791,4-4s-1.791-4-4-4c-1.307,0-2.455,0.635-3.186,1.604l-7.121-4.069 c0.196-0.473,0.307-0.99,0.307-1.534s-0.11-1.062-0.307-1.534l7.121-4.069c0.73,0.969,1.879,1.604,3.186,1.604 c2.209,0,4-1.791,4-4s-1.791-4-4-4c-2.21,0-4,1.791-4,4c0,0.544,0.11,1.062,0.307,1.534l-7.121,4.069 c-0.73-0.969-1.879-1.604-3.186-1.604C454.79,391,453,392.791,453,395z M471,400c1.654,0,3,1.346,3,3s-1.346,3-3,3s-3-1.346-3-3 S469.346,400,471,400z M471,384c1.654,0,3,1.346,3,3s-1.346,3-3,3s-3-1.346-3-3S469.346,384,471,384z M460,395 c0,1.654-1.346,3-3,3s-3-1.346-3-3s1.346-3,3-3S460,393.346,460,395z"}})])]),n("text",{attrs:{x:"0",y:"45",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[e._v("Created by Hea Poh Lin")]),n("text",{attrs:{x:"0",y:"50",fill:"#000000","font-size":"5px","font-weight":"bold","font-family":"'Helvetica Neue', Helvetica, Arial-Unicode, Arial, Sans-serif"}},[e._v("from the Noun Project")])])]),e._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:!e.isAuthenticated,expression:"!isAuthenticated"}],staticClass:"btn",attrs:{href:e.loginUrl}},[n("i",{staticClass:"fa fa-sign-in"}),e._v(" "),n("small",[e._v("Connexion")])])]),e._v(" "),n("zoom-thumbnail",{ref:"thumbnail",staticClass:"controls-center",attrs:{image:e.thumbnail,viewport:e.viewport,viewBox:e.viewBox,imageWidth:e.imageWidth,imageHeight:e.imageHeight},on:{change:function(t){e.changeViewBox(t)},dragstart:e.hideTooltip,dragend:e.showTooltip}}),e._v(" "),n("div",{staticClass:"controls-right"},[n("button",{staticClass:"btn",class:{disabled:1===e.scale},attrs:{type:"button"},on:{click:e.zoomOut}},[n("i",{staticClass:"fa fa-minus",attrs:{"aria-hidden":"true"}})]),e._v(" "),n("button",{staticClass:"btn",class:{disabled:e.scale>=1.9},attrs:{type:"button"},on:{click:e.zoomIn}},[n("i",{staticClass:"fa fa-plus",attrs:{"aria-hidden":"true"}})])])],1)])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("g",{ref:"g",attrs:{filter:"url(#shadow)",transform:e.transform}},[n("rect",{ref:"shape",staticClass:"shape",class:{"shape--draggable":!e.readonly},style:{"outline-width":e.strokeWidth/2+"px"},attrs:{x:"0",y:"0",width:e.width,height:e.height,"stroke-width":e.strokeWidth}}),e._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:e.showResizeHandlers,expression:"showResizeHandlers"}],ref:"topLeft",staticClass:"handler handler-top-left",attrs:{x:4*e.strokeWidth/2*-1,y:4*e.strokeWidth/2*-1,width:4*e.strokeWidth,height:4*e.strokeWidth,"stroke-width":e.strokeWidth}}),e._v(" "),n("rect",{directives:[{name:"show",rawName:"v-show",value:e.showResizeHandlers,expression:"showResizeHandlers"}],ref:"bottomRight",staticClass:"handler handler-bottom-right",attrs:{x:e.width-4*e.strokeWidth/2,y:e.height-4*e.strokeWidth/2,width:4*e.strokeWidth,height:4*e.strokeWidth,"stroke-width":e.strokeWidth}})])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.annotation&&e.isAuthenticated?n("button",{staticClass:"btn btn-xs pull-right",class:{"btn-primary":e.readonly,"btn-warning":!e.readonly},on:{click:function(t){e.readonly=!e.readonly}}},[e.readonly?n("i",{staticClass:"fa fa-edit"}):e._e(),e._v(" "),e.readonly?n("span",[e._v("Modifier")]):e._e(),e._v(" "),e.readonly?e._e():n("i",{staticClass:"fa fa-ban"}),e._v(" "),e.readonly?e._e():n("span",[e._v("Annuler")])]):e._e(),e._v(" "),e.annotation?e._e():n("div",{staticClass:"alert alert-warning text-center"},[e._v("\n Aucune annotation sélectionnée\n ")]),e._v(" "),n("form",{attrs:{action:e.formAction,method:"post"}},[e._t("default"),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.fragment,expression:"fragment"}],attrs:{type:"hidden",name:"fragment"},domProps:{value:e._s(e.fragment)},on:{input:function(t){t.target.composing||(e.fragment=t.target.value)}}}),e._v(" "),e.annotation?n("div",{staticClass:"form-group form-group-sm"},[!e.readonly||e.title?n("label",{staticClass:"small text-muted"},[e._v("Titre")]):e._e(),e._v(" "),e.readonly?e._e():n("input",{directives:[{name:"model",rawName:"v-model",value:e.title,expression:"title"}],staticClass:"form-control",attrs:{type:"text",name:"title"},domProps:{value:e._s(e.title)},on:{input:function(t){t.target.composing||(e.title=t.target.value)}}}),e._v(" "),e.readonly&&e.title?n("p",{class:{"text-muted":!e.title}},[e._v(e._s(e.title||"Pas de titre"))]):e._e()]):e._e(),e._v(" "),e.annotation?n("div",{staticClass:"form-group form-group-sm"},[!e.readonly||e.description?n("label",{staticClass:"small text-muted"},[e._v("Description")]):e._e(),e._v(" "),e.readonly?e._e():n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.description,expression:"description"}],staticClass:"form-control",attrs:{name:"description",placeholder:"Décrivez ce que vous voyez"},domProps:{value:e._s(e.description)},on:{input:function(t){t.target.composing||(e.description=t.target.value)}}}),e._v(" "),e.readonly&&e.description?n("p",{class:{"text-muted":!e.description},domProps:{innerHTML:e._s(e.descriptionComputed)}},[e._v(e._s(e.descriptionComputed||"Pas de description"))]):e._e()]):e._e(),e._v(" "),e.annotation?n("div",{staticClass:"form-group form-group-sm"},[n("label",{staticClass:"small text-muted"},[e._v("Mots-clés")]),e._v(" "),n("tag-list",{ref:"taglist",attrs:{"original-tags":e.annotation.tags,readonly:e.readonly},on:{change:function(t){e.onTagsChange(t.tags)}}}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.serializedTags,expression:"serializedTags"}],attrs:{type:"hidden",name:"tags"},domProps:{value:e._s(e.serializedTags)},on:{input:function(t){t.target.composing||(e.serializedTags=t.target.value)}}})],1):e._e(),e._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:e.readonly,expression:"readonly"}],staticClass:"small text-center text-muted"},[e._v(e._s(e.lastRevisionText))]),e._v(" "),e.annotation&&!e.readonly?n("button",{staticClass:"btn btn-block btn-sm btn-primary",class:{disabled:!e.hasChanged},attrs:{type:"submit"}},[e._v("Enregistrer une nouvelle version")]):e._e()],2)])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"comment",class:e.commentClass,on:{mouseover:function(t){e.hover=!0},mouseleave:function(t){e.hover=!1}}},[n("div",{staticClass:"comment-body"},[n("strong",{staticClass:"comment-author"},[e._v(e._s(e.username))]),e._v(" "),n("div",{staticClass:"comment-content",domProps:{innerHTML:e._s(e.commentFormatted)}})]),e._v(" "),n("div",{staticClass:"comment-footer"},[n("span",{staticClass:"comment-date"},[e._v(e._s(e.dateFormatted))])]),e._v(" "),e.allowThread&&e.isAuthenticated?n("comment-form",{directives:[{name:"show",rawName:"v-show",value:e.hover,expression:"hover"}],attrs:{annotation:e.annotation,"reply-to":e.id}}):e._e()],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"diff-viewer-wrapper col-md-12"},[n("modalpanel",{ref:"panel"},[n("h5",{slot:"header"},[e._v("Comparer les deux versions:")]),e._v(" "),n("div",{slot:"content"},[n("div",{ref:"modalcontent"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.fragmentMode,expression:"fragmentMode"}]},[n("svg",[n("image",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink",href:e.imagePath,x:"0",y:"0",width:e.imageWidth,height:e.imageHeight}}),e._v(" "),n("g",{attrs:{transform:e.matrixTransform}},[n("path",{attrs:{d:e.originalPath,fill:"red",stroke:"blue",opacity:"0.3"}}),e._v(" "),n("path",{attrs:{d:e.modifiedPath,fill:"blue",stroke:"red",opacity:"0.3"}})])])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.textMode,expression:"textMode"}]},[n("div",{domProps:{innerHTML:e._s(e.diffText)}})]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.tagMode,expression:"tagMode"}]},[n("ul",e._l(e.tags,function(t,r){return n("li",[t.action?e._e():[n("li",[n("span",[e._v(e._s(t.tag_label))]),e._v(" | précision : "+e._s(t.accuracy)+" \n\t\t\t\t\t\t\t\t\t- \n\t\t\t\t\t\t\t\t\tpertinence : "+e._s(t.relevancy)+"\n\t\t\t\t\t\t\t\t")])],e._v(" "),"replace"==t.action?[n("del",[e._v("--")]),e._v(" "),n("del",[e._v(e._s(t.tag_label))]),e._v(" a été remplacé par\n\t\t\t\t\t\t\t\t"),n("ins",[e._v("++")]),e._v(" "),n("strong",[n("ins",[e._v(e._s(t.new_label))])]),e._v(" \n\t\t\t\t\t\t\t\tfiabilité : "),n("ins",[e._v(e._s(t.new_accuracy))]),e._v(" - \n\t\t\t\t\t\t\t\tpertinence: "),n("ins",[e._v(e._s(t.new_relevancy))])]:e._e(),e._v(" "),"add"==t.action?[n("li",[n("ins",[e._v("++")]),e._v(" "),n("ins",[e._v(e._s(t.tag_label))]),e._v("\n\t\t\t\t\t\t\t\t\tfiabilité : "),n("ins",[e._v(e._s(t.accuracy))]),e._v(" - \n\t\t\t\t\t\t\t\t\tpertinence : "),n("ins",[e._v(e._s(t.relevancy))])])]:e._e(),e._v(" "),"del"==t.action?[n("li",[n("del",[e._v("--")]),e._v(" "),n("del",[e._v(e._s(t.tag_label))]),e._v(" a été effacé")])]:e._e(),e._v(" "),"update"==t.action?[n("li",[n("strong",[e._v(e._s(t.tag_label))]),e._v(" "),t.accuracy!=t.new_accuracy?[e._v("\n\t\t\t\t\t\t\t\t\t\tfiabilité: "),n("del",[e._v(e._s(t.accuracy))]),e._v(" "),n("ins",[e._v(e._s(t.new_accuracy))]),e._v(" -\t\n\t\t\t\t\t\t\t\t\t")]:e._e(),e._v(" "),t.accuracy==t.new_accuracy?[e._v("\n\t\t\t\t\t\t\t\t\t\tfiabilité: "+e._s(t.accuracy)+" -\n\t\t\t\t\t\t\t\t\t")]:e._e(),e._v(" "),t.relevancy!=t.new_relevancy?[e._v("\n\t\t\t\t\t\t\t\t\t\tpertinence: "),n("del",[e._v(e._s(t.relevancy))]),e._v(" "),n("ins",[e._v(e._s(t.new_relevancy))])]:e._e(),e._v(" "),t.relevancy==t.new_relevancy?[e._v("\n\t\t\t\t\t\t\t\t\t\tpertinence: "+e._s(t.relevancy)+"\t\n\t\t\t\t\t\t\t\t\t")]:e._e()],2)]:e._e()],2)}))])])])])],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("ul",{directives:[{name:"show",rawName:"v-show",value:!e.readOnly,expression:"!readOnly"}],staticClass:"tags-wrapper list-unstyled"},e._l(e.tags,function(t,r){return n("li",{ref:t.id,refInFor:!0,staticClass:"tag-item"},[n("i",{staticClass:"fa fa-tag"}),e._v(" "),n("strong",[n("span",{domProps:{textContent:e._s(t.tag_label)}})]),e._v("\n\n\t\t\tFiabilité: \t"),n("select",{on:{change:function(n){e.updateAccuracy(n,t)}}},e._l([1,2,3,4,5],function(r,i){return n("option",{domProps:{selected:t.accuracy==r,value:r}},[e._v(e._s(r))])})),e._v("\n\n\t\t\tPertinence: "),n("select",{on:{change:function(n){e.updatePertinence(n,t)}}},e._l([1,2,3,4,5],function(r,i){return n("option",{domProps:{selected:t.relevancy==r,value:r}},[e._v(e._s(r))])})),e._v(" "),n("a",{on:{click:function(n){e.removeTag(t)}}},[n("i",{staticClass:"fa fa-trash"})])])})),e._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.readOnly,expression:"readOnly"}],staticClass:"list-inline"},e._l(e.tags,function(t,r){return n("li",[n("i",{staticClass:"fa fa-tag"}),e._v(" "),n("span",{staticClass:"label label-info"},[e._v(e._s(t.tag_label))]),e._v("\n\t\t\t | fiabilité "),n("span",{staticClass:"badge"},[e._v(e._s(t.accuracy))]),e._v("\n\t\t\t | pertinence "),n("span",{staticClass:"badge"},[e._v(e._s(t.relevancy))])])}))])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",[n("defs",[n("path",{ref:"path",staticClass:"path",attrs:{id:e.annotationHref,d:e.path}})]),e._v(" "),n("g",{ref:"g"},[n("use",{staticClass:"stroke-bg",attrs:{"xlink:href":e.annotationSelector,"stroke-width":2*e.strokeWidth,filter:"url(#shadow)"}}),e._v(" "),n("use",{staticClass:"stroke-fg",attrs:{"xlink:href":e.annotationSelector,"stroke-width":e.strokeWidth}}),e._v(" "),n("use",{staticClass:"overlay",class:{active:!e.originalAnnotation},attrs:{"xlink:href":e.annotationSelector}}),e._v(" "),e._l(e.points,function(t,r){return n("circle",{directives:[{name:"show",rawName:"v-show",value:!e.readonly,expression:"!readonly"}],key:r,ref:"handlers",refInFor:!0,class:{handler:!0,"handler--first":0===r&&!e.closed},attrs:{"data-key":r,cx:t.x,cy:t.y,r:2*e.strokeWidth,"stroke-width":e.strokeWidth}})}),e._v(" "),!e.originalAnnotation&&!e.closed&&e.points.length>3?n("text",{ref:"text",staticClass:"text",attrs:{x:e.text.x,y:e.text.y,"font-family":"Verdana","font-size":4*e.strokeWidth}},[e._v("\n Double-cliquez pour fermer la zone\n ")]):e._e(),e._v(" "),n("g")],2)])},staticRenderFns:[]}},function(e,t){/*! * vue-resource v0.9.3 * https://github.com/vuejs/vue-resource * Released under the MIT License. */ -"use strict";function n(e){this.state=te,this.value=void 0,this.deferred=[];var t=this;try{e(function(e){t.resolve(e)},function(e){t.reject(e)})}catch(e){t.reject(e)}}function r(e,t){e instanceof re?this.promise=e:this.promise=new re(e.bind(t)),this.context=t}function i(e){oe=e.util,ae=e.config.debug||!e.config.silent}function a(e){"undefined"!=typeof console&&ae&&console.warn("[VueResource warn]: "+e)}function o(e){"undefined"!=typeof console&&console.error(e)}function s(e,t){return oe.nextTick(e,t)}function l(e){return e.replace(/^\s*|\s*$/g,"")}function u(e){return"string"==typeof e}function c(e){return e===!0||e===!1}function d(e){return"function"==typeof e}function f(e){return null!==e&&"object"==typeof e}function h(e){return f(e)&&Object.getPrototypeOf(e)==Object.prototype}function p(e){return"undefined"!=typeof FormData&&e instanceof FormData}function m(e,t,n){var i=r.resolve(e);return arguments.length<2?i:i.then(t,n)}function _(e,t,n){return n=n||{},d(n)&&(n=n.call(t)),v(e.bind({$vm:t,$options:n}),e,{$options:n})}function g(e,t){var n,r;if("number"==typeof e.length)for(n=0;n=200&&a<300}return e.prototype.text=function(){return this.body},e.prototype.blob=function(){return new Blob([this.body])},e.prototype.json=function(){return JSON.parse(this.body)},e}(),_e=function(){function e(t){pe(this,e),this.method="GET",this.body=null,this.params={},this.headers={},ue(this,t)}return e.prototype.getUrl=function(){return A(this)},e.prototype.getBody=function(){return this.body},e.prototype.respondWith=function(e,t){return new me(e,ue(t||{},{url:this.getUrl()}))},e}(),ge={"X-Requested-With":"XMLHttpRequest"},ve={Accept:"application/json, text/plain, */*"},ye={"Content-Type":"application/json;charset=utf-8"};G.options={},G.headers={put:ye,post:ye,patch:ye,delete:ye,custom:ge,common:ve},G.interceptors=[N,B,W,F,R,I,O],["get","delete","head","jsonp"].forEach(function(e){G[e]=function(t,n){return this(ue(n||{},{url:t,method:e}))}}),["post","put","patch"].forEach(function(e){G[e]=function(t,n,r){return this(ue(r||{},{url:t,method:e,body:n}))}}),Z.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(X),e.exports=X},function(e,t,n){var r=n(241);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(242);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(243);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(244);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(245);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(246);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(247);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(248);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(249);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(250);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(251);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(252);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(253);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(254);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(255);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){(function(t){/*! +"use strict";function n(e){this.state=te,this.value=void 0,this.deferred=[];var t=this;try{e(function(e){t.resolve(e)},function(e){t.reject(e)})}catch(e){t.reject(e)}}function r(e,t){e instanceof re?this.promise=e:this.promise=new re(e.bind(t)),this.context=t}function i(e){oe=e.util,ae=e.config.debug||!e.config.silent}function a(e){"undefined"!=typeof console&&ae&&console.warn("[VueResource warn]: "+e)}function o(e){"undefined"!=typeof console&&console.error(e)}function s(e,t){return oe.nextTick(e,t)}function l(e){return e.replace(/^\s*|\s*$/g,"")}function u(e){return"string"==typeof e}function c(e){return e===!0||e===!1}function d(e){return"function"==typeof e}function f(e){return null!==e&&"object"==typeof e}function h(e){return f(e)&&Object.getPrototypeOf(e)==Object.prototype}function p(e){return"undefined"!=typeof FormData&&e instanceof FormData}function m(e,t,n){var i=r.resolve(e);return arguments.length<2?i:i.then(t,n)}function _(e,t,n){return n=n||{},d(n)&&(n=n.call(t)),v(e.bind({$vm:t,$options:n}),e,{$options:n})}function g(e,t){var n,r;if("number"==typeof e.length)for(n=0;n=200&&a<300}return e.prototype.text=function(){return this.body},e.prototype.blob=function(){return new Blob([this.body])},e.prototype.json=function(){return JSON.parse(this.body)},e}(),_e=function(){function e(t){pe(this,e),this.method="GET",this.body=null,this.params={},this.headers={},ue(this,t)}return e.prototype.getUrl=function(){return A(this)},e.prototype.getBody=function(){return this.body},e.prototype.respondWith=function(e,t){return new me(e,ue(t||{},{url:this.getUrl()}))},e}(),ge={"X-Requested-With":"XMLHttpRequest"},ve={Accept:"application/json, text/plain, */*"},ye={"Content-Type":"application/json;charset=utf-8"};G.options={},G.headers={put:ye,post:ye,patch:ye,delete:ye,custom:ge,common:ve},G.interceptors=[R,I,W,F,N,B,O],["get","delete","head","jsonp"].forEach(function(e){G[e]=function(t,n){return this(ue(n||{},{url:t,method:e}))}}),["post","put","patch"].forEach(function(e){G[e]=function(t,n,r){return this(ue(r||{},{url:t,method:e,body:n}))}}),Z.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(X),e.exports=X},function(e,t,n){var r=n(241);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(242);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(243);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(244);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(245);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(246);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(247);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(248);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(249);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(250);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(251);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(252);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(253);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(254);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(255);"string"==typeof r&&(r=[[e.id,r,""]]);n(4)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){(function(t){/*! * Vue.js v1.0.28 * (c) 2016 Evan You * Released under the MIT License. */ -"use strict";function n(e,t,r){if(i(e,t))return void(e[t]=r);if(e._isVue)return void n(e._data,t,r);var a=e.__ob__;if(!a)return void(e[t]=r);if(a.convert(t,r),a.dep.notify(),a.vms)for(var o=a.vms.length;o--;){var s=a.vms[o];s._proxy(t),s._digest()}return r}function r(e,t){if(i(e,t)){delete e[t];var n=e.__ob__;if(!n)return void(e._isVue&&(delete e._data[t],e._digest()));if(n.dep.notify(),n.vms)for(var r=n.vms.length;r--;){var a=n.vms[r];a._unproxy(t),a._digest()}}}function i(e,t){return In.call(e,t)}function a(e){return Bn.test(e)}function o(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function s(e){return null==e?"":e.toString()}function l(e){if("string"!=typeof e)return e;var t=Number(e);return isNaN(t)?e:t}function u(e){return"true"===e||"false"!==e&&e}function c(e){var t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t!==n||34!==t&&39!==t?e:e.slice(1,-1)}function d(e){return e.replace(qn,f)}function f(e,t){return t?t.toUpperCase():""}function h(e){return e.replace(Vn,"$1-$2").replace(Vn,"$1-$2").toLowerCase()}function p(e){return e.replace(Un,f)}function m(e,t){return function(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}}function _(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function g(e,t){for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function v(e){return null!==e&&"object"==typeof e}function y(e){return Jn.call(e)===Gn}function b(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function w(e,t){var n,r,i,a,o,s=function s(){var l=Date.now()-a;l=0?n=setTimeout(s,t-l):(n=null,o=e.apply(i,r),n||(i=r=null))};return function(){return i=this,r=arguments,a=Date.now(),n||(n=setTimeout(s,t)),o}}function M(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1}function x(e){var t=function t(){if(!t.cancelled)return e.apply(this,arguments)};return t.cancel=function(){t.cancelled=!0},t}function k(e,t){return e==t||!(!v(e)||!v(t))&&JSON.stringify(e)===JSON.stringify(t)}function L(e){return/native code/.test(e.toString())}function Y(e){this.size=0,this.limit=e,this.head=this.tail=void 0,this._keymap=Object.create(null)}function T(){return pr.charCodeAt(gr+1)}function D(){return pr.charCodeAt(++gr)}function S(){return gr>=_r}function j(){for(;T()===jr;)D()}function C(e){return e===Yr||e===Tr}function A(e){return Cr[e]}function H(e,t){return Ar[e]===t}function P(){for(var e,t=D();!S();)if(e=D(),e===Sr)D();else if(e===t)break}function E(e){for(var t=0,n=e;!S();)if(e=T(),C(e))P();else if(n===e&&t++,H(n,e)&&t--,D(),0===t)break}function O(){for(var e=gr;!S();)if(vr=T(),C(vr))P();else if(A(vr))E(vr);else if(vr===Dr){if(D(),vr=T(),vr!==Dr){yr!==Mr&&yr!==Lr||(yr=xr);break}D()}else{if(vr===jr&&(yr===kr||yr===Lr)){j();break}yr===xr&&(yr=kr),D()}return pr.slice(e+1,gr)||null}function $(){for(var e=[];!S();)e.push(F());return e}function F(){var e,t={};return yr=xr,t.name=O().trim(),yr=Lr,e=z(),e.length&&(t.args=e),t}function z(){for(var e=[];!S()&&yr!==xr;){var t=O();if(!t)break;e.push(R(t))}return e}function R(e){if(wr.test(e))return{value:l(e),dynamic:!1};var t=c(e),n=t===e;return{value:n?e:t,dynamic:n}}function N(e){var t=br.get(e);if(t)return t;pr=e,mr={},_r=pr.length,gr=-1,vr="",yr=Mr;var n;return pr.indexOf("|")<0?mr.expression=pr.trim():(mr.expression=O().trim(),n=$(),n.length&&(mr.filters=n)),br.put(e,mr),mr}function W(e){return e.replace(Pr,"\\$&")}function I(){var e=W(Wr.delimiters[0]),t=W(Wr.delimiters[1]),n=W(Wr.unsafeDelimiters[0]),r=W(Wr.unsafeDelimiters[1]);Or=new RegExp(n+"((?:.|\\n)+?)"+r+"|"+e+"((?:.|\\n)+?)"+t,"g"),$r=new RegExp("^"+n+"((?:.|\\n)+?)"+r+"$"),Er=new Y(1e3)}function B(e){Er||I();var t=Er.get(e);if(t)return t;if(!Or.test(e))return null;for(var n,r,i,a,o,s,l=[],u=Or.lastIndex=0;n=Or.exec(e);)r=n.index,r>u&&l.push({value:e.slice(u,r)}),i=$r.test(n[0]),a=i?n[1]:n[2],o=a.charCodeAt(0),s=42===o,a=s?a.slice(1):a,l.push({tag:!0,value:a.trim(),html:i,oneTime:s}),u=r+n[0].length;return u1?e.map(function(e){return V(e,t)}).join("+"):V(e[0],t,!0)}function V(e,t,n){return e.tag?e.oneTime&&t?'"'+t.$eval(e.value)+'"':U(e.value,n):'"'+e.value+'"'}function U(e,t){if(Fr.test(e)){var n=N(e);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+e+")"}return t?e:"("+e+")"}function J(e,t,n,r){K(e,1,function(){t.appendChild(e)},n,r)}function G(e,t,n,r){K(e,1,function(){re(e,t)},n,r)}function Z(e,t,n){K(e,-1,function(){ae(e)},t,n)}function K(e,t,n,r,i){var a=e.__v_trans;if(!a||!a.hooks&&!or||!r._isCompiled||r.$parent&&!r.$parent._isCompiled)return n(),void(i&&i());var o=t>0?"enter":"leave";a[o](n,i)}function X(e){if("string"==typeof e){e=document.querySelector(e)}return e}function Q(e){if(!e)return!1;var t=e.ownerDocument.documentElement,n=e.parentNode;return t===e||t===n||!(!n||1!==n.nodeType||!t.contains(n))}function ee(e,t){var n=e.getAttribute(t);return null!==n&&e.removeAttribute(t),n}function te(e,t){var n=ee(e,":"+t);return null===n&&(n=ee(e,"v-bind:"+t)),n}function ne(e,t){return e.hasAttribute(t)||e.hasAttribute(":"+t)||e.hasAttribute("v-bind:"+t)}function re(e,t){t.parentNode.insertBefore(e,t)}function ie(e,t){t.nextSibling?re(e,t.nextSibling):t.parentNode.appendChild(e)}function ae(e){e.parentNode.removeChild(e)}function oe(e,t){t.firstChild?re(e,t.firstChild):t.appendChild(e)}function se(e,t){var n=e.parentNode;n&&n.replaceChild(t,e)}function le(e,t,n,r){e.addEventListener(t,n,r)}function ue(e,t,n){e.removeEventListener(t,n)}function ce(e){var t=e.className;return"object"==typeof t&&(t=t.baseVal||""),t}function de(e,t){nr&&!/svg$/.test(e.namespaceURI)?e.className=t:e.setAttribute("class",t)}function fe(e,t){if(e.classList)e.classList.add(t);else{var n=" "+ce(e)+" ";n.indexOf(" "+t+" ")<0&&de(e,(n+t).trim())}}function he(e,t){if(e.classList)e.classList.remove(t);else{for(var n=" "+ce(e)+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");de(e,n.trim())}e.className||e.removeAttribute("class")}function pe(e,t){var n,r;if(ge(e)&&Me(e.content)&&(e=e.content),e.hasChildNodes())for(me(e),r=t?document.createDocumentFragment():document.createElement("div");n=e.firstChild;)r.appendChild(n);return r}function me(e){for(var t;t=e.firstChild,_e(t);)e.removeChild(t);for(;t=e.lastChild,_e(t);)e.removeChild(t)}function _e(e){return e&&(3===e.nodeType&&!e.data.trim()||8===e.nodeType)}function ge(e){return e.tagName&&"template"===e.tagName.toLowerCase()}function ve(e,t){var n=Wr.debug?document.createComment(e):document.createTextNode(t?" ":"");return n.__v_anchor=!0,n}function ye(e){if(e.hasAttributes())for(var t=e.attributes,n=0,r=t.length;n=l.length){for(var e=0;e=97&&t<=122||t>=65&&t<=90?"ident":t>=49&&t<=57?"number":"else"}function We(e){var t=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(a(t)?c(t):"*"+t)}function Ie(e){function t(){var t=e[c+1];if(d===hi&&"'"===t||d===pi&&'"'===t)return c++,r="\\"+t,h[ii](),!0}var n,r,i,a,o,s,l,u=[],c=-1,d=li,f=0,h=[];for(h[ai]=function(){void 0!==i&&(u.push(i),i=void 0)},h[ii]=function(){void 0===i?i=r:i+=r},h[oi]=function(){h[ii](),f++},h[si]=function(){if(f>0)f--,d=fi,h[ii]();else{if(f=0,i=We(i),i===!1)return!1;h[ai]()}};null!=d;)if(c++,n=e[c],"\\"!==n||!t()){if(a=Ne(n),l=gi[d],o=l[a]||l.else||_i,o===_i)return;if(d=o[0],s=h[o[1]],s&&(r=o[2],r=void 0===r?n:r,s()===!1))return;if(d===mi)return u.raw=e,u}}function Be(e){var t=ri.get(e);return t||(t=Ie(e),t&&ri.put(e,t)),t}function qe(e,t){return et(t).get(e)}function Ve(e,t,r){var i=e;if("string"==typeof t&&(t=Ie(t)),!t||!v(e))return!1;for(var a,o,s=0,l=t.length;s-1?n.replace(Ti,Ze):n,t+"scope."+n)}function Ze(e,t){return Ci[t]}function Ke(e){xi.test(e),Ci.length=0;var t=e.replace(Yi,Je).replace(ki,"");return t=(" "+t).replace(Si,Ge).replace(Ti,Ze),Xe(t)}function Xe(e){try{return new Function("scope","return "+e+";")}catch(e){return Ue}}function Qe(e){var t=Be(e);if(t)return function(e,n){Ve(e,t,n)}}function et(e,t){e=e.trim();var n=yi.get(e);if(n)return t&&!n.set&&(n.set=Qe(n.exp)),n;var r={exp:e};return r.get=tt(e)&&e.indexOf("[")<0?Xe("scope."+e):Ke(e),t&&(r.set=Qe(e)),yi.put(e,r),r}function tt(e){return Di.test(e)&&!ji.test(e)&&"Math."!==e.slice(0,5)}function nt(){Hi.length=0,Pi.length=0,Ei={},Oi={},$i=!1}function rt(){for(var e=!0;e;)e=!1,it(Hi),it(Pi),Hi.length?e=!0:(Qn&&Wr.devtools&&Qn.emit("flush"),nt())}function it(e){for(var t=0;t0){var o=a+(r?t:xe(t));i=Ki.get(o),i||(i=Gt(n,e.$options,!0),Ki.put(o,i))}else i=Gt(n,e.$options,!0);this.linker=i}function wt(e,t,n){var r=e.node.previousSibling;if(r){for(e=r.__v_frag;!(e&&e.forId===n&&e.inserted||r===t);){if(r=r.previousSibling,!r)return;e=r.__v_frag}return e}}function Mt(e){for(var t=-1,n=new Array(Math.floor(e));++t47&&t<58?parseInt(e,10):1===e.length&&(t=e.toUpperCase().charCodeAt(0),t>64&&t<91)?t:va[e]});return n=[].concat.apply([],n),function(t){if(n.indexOf(t.keyCode)>-1)return e.call(this,t)}}function Dt(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function St(e){return function(t){return t.preventDefault(),e.call(this,t)}}function jt(e){return function(t){if(t.target===t.currentTarget)return e.call(this,t)}}function Ct(e){if(xa[e])return xa[e];var t=At(e);return xa[e]=xa[t]=t,t}function At(e){e=h(e);var t=d(e),n=t.charAt(0).toUpperCase()+t.slice(1);ka||(ka=document.createElement("div"));var r,i=ba.length;if("filter"!==t&&t in ka.style)return{kebab:e,camel:t};for(;i--;)if(r=wa[i]+n,r in ka.style)return{kebab:ba[i]+e,camel:r}}function Ht(e){var t=[];if(Zn(e))for(var n=0,r=e.length;n=i?n():e[a].call(t,r)}var i=e.length,a=0;e[0].call(t,r)}function Ot(e,t,n){for(var r,i,o,s,l,u,c,f=[],p=n.$options.propsData,m=Object.keys(t),_=m.length;_--;)if(i=m[_],r=t[i]||Ra,l=d(i),Na.test(l)){if(c={name:i,path:l,options:r,mode:za.ONE_WAY,raw:null},o=h(i),null===(s=te(e,o))&&(null!==(s=te(e,o+".sync"))?c.mode=za.TWO_WAY:null!==(s=te(e,o+".once"))&&(c.mode=za.ONE_TIME)),null!==s)c.raw=s,u=N(s),s=u.expression,c.filters=u.filters,a(s)&&!u.filters?c.optimizedLiteral=!0:c.dynamic=!0,c.parentPath=s;else if(null!==(s=ee(e,o)))c.raw=s;else if(p&&null!==(s=p[i]||p[l]))c.raw=s;else;f.push(c)}return $t(f)}function $t(e){return function(t,n){t._props={};for(var r,a,o,s,d,f=t.$options.propsData,p=e.length;p--;)if(r=e[p],d=r.raw,a=r.path,o=r.options,t._props[a]=r,f&&i(f,a)&&zt(t,r,f[a]),null===d)zt(t,r,void 0);else if(r.dynamic)r.mode===za.ONE_TIME?(s=(n||t._context||t).$get(r.parentPath),zt(t,r,s)):t._context?t._bindDir({name:"prop",def:Ia,prop:r},null,null,n):zt(t,r,t.$get(r.parentPath));else if(r.optimizedLiteral){var m=c(d);s=m===d?u(l(d)):m,zt(t,r,s)}else s=o.type===Boolean&&(""===d||d===h(r.name))||d,zt(t,r,s)}}function Ft(e,t,n,r){var i=t.dynamic&&tt(t.parentPath),a=n;void 0===a&&(a=Nt(e,t)),a=It(t,a,e);var o=a!==n;Wt(t,a,e)||(a=void 0),i&&!o?Pe(function(){r(a)}):r(a)}function zt(e,t,n){Ft(e,t,n,function(n){ze(e,t.path,n)})}function Rt(e,t,n){Ft(e,t,n,function(n){e[t.path]=n})}function Nt(e,t){var n=t.options;if(!i(n,"default"))return n.type!==Boolean&&void 0;var r=n.default;return v(r),"function"==typeof r&&n.type!==Function?r.call(e):r}function Wt(e,t,n){if(!e.options.required&&(null===e.raw||null==t))return!0;var r=e.options,i=r.type,a=!i,o=[];if(i){Zn(i)||(i=[i]);for(var s=0;st?-1:e===t?0:1}),t=0,n=s.length;th.priority)&&(h=f,c=i.name,s=gn(i.name),o=i.value,u=l[1],d=l[2]));return h?mn(e,u,o,n,h,c,d,s):void 0}function pn(){}function mn(e,t,n,r,i,a,o,s){var l=N(n),u={name:t,arg:o,expression:l.expression,filters:l.filters,raw:n,attr:a,modifiers:s,def:i};"for"!==t&&"router-view"!==t||(u.ref=ye(e));var c=function(e,t,n,r,i){u.ref&&ze((r||e).$refs,u.ref,null),e._bindDir(u,t,n,r,i)};return c.terminal=!0,c}function _n(e,t){function n(e,t,n){var r=n&&yn(n),i=!r&&N(a);m.push({name:e,attr:o,raw:s,def:t,arg:u,modifiers:c,expression:i&&i.expression,filters:i&&i.filters,interp:n,hasOneTime:r})}for(var r,i,a,o,s,l,u,c,d,f,h,p=e.length,m=[];p--;)if(r=e[p],i=o=r.name,a=s=r.value,f=B(a),u=null,c=gn(i),i=i.replace(io,""),f)a=q(f),u=i,n("bind",Oa.bind,f);else if(ao.test(i))c.literal=!to.test(i),n("transition",eo.transition);else if(no.test(i))u=i.replace(no,""),n("on",Oa.on);else if(to.test(i))l=i.replace(to,""),"style"===l||"class"===l?n(l,eo[l]):(u=l,n("bind",Oa.bind));else if(h=i.match(ro)){if(l=h[1],u=h[2],"else"===l)continue;d=Ae(t,"directives",l,!0),d&&n(l,d)}if(m.length)return vn(m)}function gn(e){var t=Object.create(null),n=e.match(io);if(n)for(var r=n.length;r--;)t[n[r].slice(1)]=!0;return t}function vn(e){return function(t,n,r,i,a){for(var o=e.length;o--;)t._bindDir(e[o],n,r,i,a)}}function yn(e){for(var t=e.length;t--;)if(e[t].oneTime)return!0}function bn(e){return"SCRIPT"===e.tagName&&(!e.hasAttribute("type")||"text/javascript"===e.getAttribute("type"))}function wn(e,t){return t&&(t._containerAttrs=xn(e)),ge(e)&&(e=ft(e)),t&&(t._asComponent&&!t.template&&(t.template=""),t.template&&(t._content=pe(e),e=Mn(e,t))),Me(e)&&(oe(ve("v-start",!0),e),e.appendChild(ve("v-end",!0))),e}function Mn(e,t){var n=t.template,r=ft(n,!0);if(r){var i=r.firstChild;if(!i)return r;var a=i.tagName&&i.tagName.toLowerCase();return t.replace?(e===document.body,r.childNodes.length>1||1!==i.nodeType||"component"===a||Ae(t,"components",a)||ne(i,"is")||Ae(t,"elementDirectives",a)||i.hasAttribute("v-for")||i.hasAttribute("v-if")?r:(t._replacerAttrs=xn(i),kn(e,i),i)):(e.appendChild(r),e)}}function xn(e){if(1===e.nodeType&&e.hasAttributes())return _(e.attributes)}function kn(e,t){for(var n,r,i=e.attributes,a=i.length;a--;)n=i[a].name,r=i[a].value,t.hasAttribute(n)||lo.test(n)?"class"===n&&!B(r)&&(r=r.trim())&&r.split(/\s+/).forEach(function(e){fe(t,e)}):t.setAttribute(n,r)}function Ln(e,t){if(t){for(var n,r,i=e._slotContents=Object.create(null),a=0,o=t.children.length;a1?_(n):n;var i=t&&n.some(function(e){return e._fromParent});i&&(r=!1);for(var a=_(arguments,1),o=0,s=n.length;ot?a:-a}var n=null,r=void 0;e=_o(e);var i=_(arguments,1),a=i[i.length-1];"number"==typeof a?(a=a<0?-1:1,i=i.length>1?i.slice(0,-1):i):a=1;var o=i[0];return o?("function"==typeof o?n=function(e,t){return o(e,t)*a}:(r=Array.prototype.concat.apply([],i),n=function(e,i,a){return a=a||0,a>=r.length-1?t(e,i,a):t(e,i,a)||n(e,i,a+1)}),e.slice().sort(n)):e}function Nn(e,t){var n;if(y(e)){var r=Object.keys(e);for(n=r.length;n--;)if(Nn(e[r[n]],t))return!0}else if(Zn(e)){for(n=e.length;n--;)if(Nn(e[n],t))return!0}else if(null!=e)return e.toString().toLowerCase().indexOf(t)>-1}function Wn(e){function t(e){return new Function("return function "+p(e)+" (options) { this._init(options) }")()}e.options={directives:Oa,elementDirectives:mo,filters:vo,transitions:{},components:{},partials:{},replace:!0},e.util=ti,e.config=Wr,e.set=n,e.delete=r,e.nextTick=dr,e.compiler=uo,e.FragmentFactory=bt,e.internalDirectives=eo,e.parsers={path:vi,text:zr,template:Gi,directive:Hr,expression:Ai},e.cid=0;var i=1;e.extend=function(e){e=e||{};var n=this,r=0===n.cid;if(r&&e._Ctor)return e._Ctor;var a=e.name||n.options.name,o=t(a||"VueComponent");return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=i++,o.options=Ce(n.options,e),o.super=n,o.extend=n.extend,Wr._assetTypes.forEach(function(e){o[e]=n[e]}),a&&(o.options.components[a]=o),r&&(e._Ctor=o),o},e.use=function(e){if(!e.installed){var t=_(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):e.apply(null,t),e.installed=!0,this}},e.mixin=function(t){e.options=Ce(e.options,t)},Wr._assetTypes.forEach(function(t){e[t]=function(n,r){return r?("component"===t&&y(r)&&(r.name||(r.name=n),r=e.extend(r)),this.options[t+"s"][n]=r,r):this.options[t+"s"][n]}}),g(e.transition,Br)}var In=Object.prototype.hasOwnProperty,Bn=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,qn=/-(\w)/g,Vn=/([^-])([A-Z])/g,Un=/(?:^|[-_\/])(\w)/g,Jn=Object.prototype.toString,Gn="[object Object]",Zn=Array.isArray,Kn="__proto__"in{},Xn="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Qn=Xn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,er=Xn&&window.navigator.userAgent.toLowerCase(),tr=er&&er.indexOf("trident")>0,nr=er&&er.indexOf("msie 9.0")>0,rr=er&&er.indexOf("android")>0,ir=er&&/iphone|ipad|ipod|ios/.test(er),ar=void 0,or=void 0,sr=void 0,lr=void 0;if(Xn&&!nr){var ur=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,cr=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;ar=ur?"WebkitTransition":"transition",or=ur?"webkitTransitionEnd":"transitionend",sr=cr?"WebkitAnimation":"animation",lr=cr?"webkitAnimationEnd":"animationend"}var dr=function(){function e(){n=!1;var e=t.slice(0);t.length=0;for(var r=0;r=this.length&&(this.length=Number(e)+1),this.splice(e,1,t)[0]}),b(Kr,"$remove",function(e){if(this.length){var t=M(this,e);return t>-1?this.splice(t,1):void 0}});var Qr=Object.getOwnPropertyNames(Xr),ei=!0;Ee.prototype.walk=function(e){for(var t=Object.keys(e),n=0,r=t.length;n",""],tr:[2,"","
    "],col:[2,"","
    "]};Ii.td=Ii.th=[3,"","
    "],Ii.option=Ii.optgroup=[1,'"],Ii.thead=Ii.tbody=Ii.colgroup=Ii.caption=Ii.tfoot=[1,"","
    "],Ii.g=Ii.defs=Ii.symbol=Ii.use=Ii.image=Ii.text=Ii.circle=Ii.ellipse=Ii.line=Ii.path=Ii.polygon=Ii.polyline=Ii.rect=[1,'',""];var Bi=/<([\w:-]+)/,qi=/&#?\w+?;/,Vi=//g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});d+=e.length-m.length,e=m,a(f,d-p,d)}else{var _=e.indexOf("<");if(0===_){if(Zo.test(e)){var g=e.indexOf("-->");if(g>=0){n(g+3);continue}}if(Ko.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var y=e.match(Go);if(y){n(y[0].length);continue}var b=e.match(Jo);if(b){var w=d;n(b[0].length),a(b[1],w,d);continue}var M=r();if(M){i(M);continue}}var x=void 0,k=void 0,L=void 0;if(_>0){for(k=e.slice(_);!(Jo.test(k)||Vo.test(k)||Zo.test(k)||Ko.test(k)||(L=k.indexOf("<",1),L<0));)_+=L,k=e.slice(_);x=e.substring(0,_),n(_)}_<0&&(x=e,e=""),t.chars&&x&&t.chars(x)}if(e===o&&t.chars){t.chars(e);break}}a()}function Yn(e){function t(){(o||(o=[])).push(e.slice(p,i).trim()),p=i+1}var n,r,i,a,o,s=!1,l=!1,u=!1,c=!1,d=0,f=0,h=0,p=0;for(i=0;i=0&&(_=e.charAt(m)," "===_);m--);_&&/[\w$]/.test(_)||(c=!0)}}else void 0===a?(p=i+1,a=e.slice(0,i).trim()):t();if(void 0===a?a=e.slice(0,i).trim():0!==p&&t(),o)for(i=0;io&&a.push(JSON.stringify(e.slice(o,i)));var s=Yn(r[1].trim());a.push("_s("+s+")"),o=i+r[0].length}return o=Qo}function Rn(e){return 34===e||39===e}function Nn(e){var t=1;for(rs=ns;!zn();)if(e=Fn(),Rn(e))Wn(e);else if(91===e&&t++,93===e&&t--,0===t){is=ns;break}}function Wn(e){for(var t=e;!zn()&&(e=Fn(),e!==t););}function In(e,t){as=t.warn||Sn,os=t.getTagNamespace||xi,ss=t.mustUseProp||xi,ls=t.isPreTag||xi,us=jn(t.modules,"preTransformNode"),cs=jn(t.modules,"transformNode"),ds=jn(t.modules,"postTransformNode"),fs=t.delimiters;var n,r,i=[],a=t.preserveWhitespace!==!1,o=!1,s=!1,l=!1;return Ln(e,{expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,shouldDecodeNewlines:t.shouldDecodeNewlines,start:function(a,u,c){function d(t){l||("slot"!==t.tag&&"template"!==t.tag||(l=!0,as("Cannot use <"+t.tag+"> as component root element because it may contain multiple nodes:\n"+e)),t.attrsMap.hasOwnProperty("v-for")&&(l=!0,as("Cannot use v-for on stateful component root element because it renders multiple elements:\n"+e)))}var f=r&&r.ns||os(a);ji&&"svg"===f&&(u=sr(u));var h={type:1,tag:a,attrsList:u,attrsMap:ar(u),parent:r,children:[]};f&&(h.ns=f),or(h)&&!Ei()&&(h.forbidden=!0,as("Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <"+a+">, as they will not be parsed."));for(var p=0;p cannot be keyed. Place the key on real elements instead."),e.key=t)}function Un(e){var t=En(e,"ref");t&&(e.ref=t,e.refInFor=rr(e))}function Jn(e){var t;if(t=On(e,"v-for")){var n=t.match(Es);if(!n)return void as("Invalid v-for expression: "+t);e.for=n[2].trim();var r=n[1].trim(),i=r.match(Os);i?(e.alias=i[1].trim(),e.iterator1=i[2].trim(),i[3]&&(e.iterator2=i[3].trim())):e.alias=r}}function Gn(e){var t=On(e,"v-if");if(t)e.if=t,Xn(e,{exp:t,block:e});else{null!=On(e,"v-else")&&(e.else=!0);var n=On(e,"v-else-if");n&&(e.elseif=n)}}function Zn(e,t){var n=Kn(t.children);n&&n.if?Xn(n,{exp:e.elseif,block:e}):as("v-"+(e.elseif?'else-if="'+e.elseif+'"':"else")+" used on element <"+e.tag+"> without corresponding v-if.")}function Kn(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];" "!==e[t].text&&as('text "'+e[t].text.trim()+'" between v-if and v-else(-if) will be ignored.'),e.pop()}}function Xn(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Qn(e){var t=On(e,"v-once");null!=t&&(e.once=!0)}function er(e){if("slot"===e.tag)e.slotName=En(e,"name"),e.key&&as("`key` does not work on because slots are abstract outlets and can possibly expand into multiple elements. Use the key on a wrapping element instead.");else{var t=En(e,"slot");t&&(e.slotTarget='""'===t?'"default"':t),"template"===e.tag&&(e.slotScope=On(e,"scope"))}}function tr(e){var t;(t=En(e,"is"))&&(e.component=t),null!=On(e,"inline-template")&&(e.inlineTemplate=!0)}function nr(e){var t,n,r,i,a,o,s,l,u=e.attrsList;for(t=0,n=u.length;t, use
    .'),An(e,r,JSON.stringify(a))}}function rr(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}function ir(e){var t=e.match(Rs);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}function ar(e){for(var t={},n=0,r=e.length;n: You are binding v-model directly to a v-for iteration alias. This will not be able to modify the v-for source array because writing to the alias is like modifying a function local variable. Consider using an array of objects and use v-model on an object property instead.'),n=n.parent}function ur(e,t){e&&(hs=Bs(t.staticKeys||""),ps=t.isReservedTag||xi,dr(e),fr(e,!1))}function cr(e){return r("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))}function dr(e){if(e.static=pr(e),1===e.type){if(!ps(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t1||1!==t.type)&&ms("Inline-template components must have exactly one child element."),1===t.type){var n=wr(t,Ms);return"inlineTemplate:{render:function(){"+n.render+"},staticRenderFns:["+n.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}function Cr(e){return"scopedSlots:{"+Object.keys(e).map(function(t){return Ar(t,e[t])}).join(",")+"}"}function Ar(e,t){return e+":function("+String(t.attrsMap.scope)+"){return "+("template"===t.tag?Hr(t)||"void 0":Mr(t))+"}"}function Hr(e,t){var n=e.children;if(n.length){var r=n[0];if(1===n.length&&r.for&&"template"!==r.tag&&"slot"!==r.tag)return Mr(r);var i=Pr(n);return"["+n.map($r).join(",")+"]"+(t&&i?","+i:"")}}function Pr(e){for(var t=0,n=0;n, use
    .')}r&&(e.staticClass=JSON.stringify(r));var a=En(e,"class",!1);a&&(e.classBinding=a)}function Zr(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}function Kr(e,t){var n=t.warn||Sn,r=On(e,"style");if(r){var i=Dn(r,t.delimiters);i&&n('style="'+r+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of
    , use
    .'),e.staticStyle=JSON.stringify(io(r))}var a=En(e,"style",!1);a&&(e.styleBinding=a)}function Xr(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}function Qr(e,t,n){xs=n;var r=t.value,i=t.modifiers,a=e.tag,o=e.attrsMap.type,s=e.attrsMap["v-bind:type"]||e.attrsMap[":type"];return"input"===a&&s&&xs(':\nv-model does not support dynamic input types. Use v-if branches instead.'),"select"===a?ri(e,r,i):"input"===a&&"checkbox"===o?ei(e,r,i):"input"===a&&"radio"===o?ti(e,r,i):ni(e,r,i),!0}function ei(e,t,n){null!=e.attrsMap.checked&&xs("<"+e.tag+' v-model="'+t+"\" checked>:\ninline checked attributes will be ignored when using v-model. Declare initial values in the component's data option instead.");var r=n&&n.number,i=En(e,"value")||"null",a=En(e,"true-value")||"true",o=En(e,"false-value")||"false";Cn(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===a?":("+t+")":":_q("+t+","+a+")")),Pn(e,"click","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+a+"):("+o+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function ti(e,t,n){null!=e.attrsMap.checked&&xs("<"+e.tag+' v-model="'+t+"\" checked>:\ninline checked attributes will be ignored when using v-model. Declare initial values in the component's data option instead.");var r=n&&n.number,i=En(e,"value")||"null";i=r?"_n("+i+")":i,Cn(e,"checked","_q("+t+","+i+")"),Pn(e,"click",ai(t,i),null,!0)}function ni(e,t,n){"input"===e.tag&&e.attrsMap.value&&xs("<"+e.tag+' v-model="'+t+'" value="'+e.attrsMap.value+"\">:\ninline value attributes will be ignored when using v-model. Declare initial values in the component's data option instead."),"textarea"===e.tag&&e.children.length&&xs('