').text($.t("There are no saved charts")).appendTo(this.itemsListContainer),this.itemsListContainer.on("click",".js-remove-button",function(t){var e=n._findItemById(r(t.currentTarget));n._onRemoveButtonClicked(e,t),t.stopPropagation()}).on("click",".js-table-row",function(t){var e=n._findItemById(r(t.currentTarget));n._onItemClicked(e,t),t.preventDefault()}).on("scrolltoend",function(){n.showMoreData()}),i.enabled("items_favoriting")&&this.itemsListContainer.on("click",".js-empty-star",function(t){var e=n._findItemById(r(t.currentTarget));n._onFavoriteClicked(e,!0,t),t.stopPropagation()}).on("click",".js-filled-star",function(t){var e=n._findItemById(r(t.currentTarget));n._onFavoriteClicked(e,!1,t),t.stopPropagation()}),this.header.children(".tv-load-chart-dialog-table__column--header").click($.proxy(this,"sortClick")),o.inputChangedDelegate.subscribe(this.qs,this.qs.onInput),this.favorites=e,this.setChartsData(t),this.qs.onInput(""),
this._dialog&&this._dialog.close(),this._dialog=u({title:this.title,width:600,height:550,content:s,contentWrapTemplate:"
",destroyOnClose:!0,withScroll:!1,isClickOutFn:function(){return!this._removeDialogShown&&void 0}.bind(this)}),this._dialog.open()},s.prototype.highlightOccurrences=function(t){0!==t.length&&this.itemsList.children(".js-table-row").each(function(){var e,n=$(this).find(".js-column-name"),i=n.text();i=p(i,t),n.html(i),e=$(this).find(".js-column-symbol"),i=e.text(),i=p(i,t),e.html(i)})},t.exports.LoadChartDialog=s}).call(e,n(126),n(5),n(854))},188:function(t,e,n){"use strict";function i(t){var e=t.type||"popup";return delete t.type,"modal"===e?new o.TVModal(t):new s.TVPopup(t)}var o,s;Object.defineProperty(e,"__esModule",{value:!0}),o=n(837),s=n(843),e.createDialog=i},690:function(t,e,n){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),i=n(839),n.n(i),n.o(i,"TVDialogAbstract")&&n.d(e,"TVDialogAbstract",function(){return i.TVDialogAbstract}),n.o(i,"closeAllDialogs")&&n.d(e,"closeAllDialogs",function(){return i.closeAllDialogs})},826:function(t,e,n){(function(t){!function(e,n){t.exports=n()}(0,function(){"use strict";function e(){return An.apply(null,arguments)}function i(t){An=t}function o(t){return"[object Array]"===Object.prototype.toString.call(t)}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function r(t,e){var n,i=[];for(n=0;n0)for(n in zi)i=zi[n],void 0!==(o=e[i])&&(t[i]=o);return t}function p(t){f(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),!1===Ei&&(Ei=!0,e.updateOffset(this),Ei=!1)}function m(t){return t instanceof p||null!=t&&null!=t._isAMomentObject}function g(t){return t<0?Math.ceil(t):Math.floor(t)}function y(t){
var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=g(e)),n}function v(t,e,n){var i,o=Math.min(t.length,e.length),s=Math.abs(t.length-e.length),r=0;for(i=0;i0;){if(i=D(o.slice(0,e).join("-")))return i;if(n&&n.length>=e&&v(o,n,!0)>=e-1)break;e--}s++}return null}function D(e){var i=null;if(!Bi[e]&&void 0!==t&&t&&t.exports)try{i=Pn._abbr,n(963)("./"+e),$(i)}catch(t){}return Bi[e]}function $(t,e){var n;return t&&(n=void 0===e?k(t):T(t,e))&&(Pn=n),Pn._abbr}function T(t,e){return null!==e?(e.abbr=t,Bi[t]=Bi[t]||new b,Bi[t].set(e),$(t),Bi[t]):(delete Bi[t],null)}function k(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Pn;if(!o(t)){if(e=D(t))return e;t=[t]}return w(t)}function S(t,e){var n=t.toLowerCase();Ui[n]=Ui[n+"s"]=Ui[e]=t}function L(t){return"string"==typeof t?Ui[t]||Ui[t.toLowerCase()]:void 0}function Y(t){var e,n,i={};for(n in t)a(t,n)&&(e=L(n))&&(i[e]=t[n]);return i}function C(t,n){return function(i){return null!=i?(x(this,t,i),e.updateOffset(this,n),this):O(this,t)}}function O(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function x(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function H(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=L(t),"function"==typeof this[t])return this[t](e);return this}function j(t,e,n){var i=""+Math.abs(t),o=e-i.length;return(t>=0?n?"+":"":"-")+(""+Math.pow(10,Math.max(0,o))).substr(1)+i}function W(t,e,n,i){var o=i;"string"==typeof i&&(o=function(){return this[i]()}),t&&(Ni[t]=o),e&&(Ni[e[0]]=function(){return j(o.apply(this,arguments),e[1],e[2])}),n&&(Ni[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function A(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function P(t){var e,n,i=t.match(Gi);for(e=0,n=i.length;e=0&&Vi.test(t);)t=t.replace(Vi,n),Vi.lastIndex=0,i-=1;return t}function z(t){return"function"==typeof t&&"[object Function]"===Object.prototype.toString.call(t)}function E(t,e,n){lo[t]=z(e)?e:function(t){return t&&n?n:e}}function B(t,e){return a(lo,t)?lo[t](e._strict,e._locale):RegExp(U(t))}function U(t){return t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,o){return e||n||i||o}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function G(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(i=function(t,n){n[e]=y(t)}),n=0;n11?ho:n[_o]<1||n[_o]>N(n[uo],n[ho])?_o:n[fo]<0||n[fo]>24||24===n[fo]&&(0!==n[po]||0!==n[mo]||0!==n[go])?fo:n[po]<0||n[po]>59?po:n[mo]<0||n[mo]>59?mo:n[go]<0||n[go]>999?go:-1,u(t)._overflowDayOfYear&&(e_o)&&(e=_o),u(t).overflow=e),t}function et(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function nt(t,e){var n=!0;return l(function(){return n&&(et(t+"\n"+Error().stack),n=!1),e.apply(this,arguments)},e)}function it(t,e){zn[t]||(et(e),zn[t]=!0)}function ot(t){var e,n,i=t._i,o=En.exec(i);if(o){for(u(t).iso=!0,e=0,n=Bn.length;eo&&(s-=7),s0?t:t-1,
dayOfYear:s>0?s:lt(t-1)+s}}function yt(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function vt(t,e,n){return null!=t?t:null!=e?e:n}function bt(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Mt(t){var e,n,i,o,s=[];if(!t._d){for(i=bt(t),t._w&&null==t._a[_o]&&null==t._a[ho]&&wt(t),t._dayOfYear&&(o=vt(t._a[uo],i[uo]),t._dayOfYear>lt(o)&&(u(t)._overflowDayOfYear=!0),n=at(o,0,t._dayOfYear),t._a[ho]=n.getUTCMonth(),t._a[_o]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[fo]&&0===t._a[po]&&0===t._a[mo]&&0===t._a[go]&&(t._nextDay=!0,t._a[fo]=0),t._d=(t._useUTC?at:rt).apply(null,s),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[fo]=24)}}function wt(t){var e,n,i,o,s,r,a;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(s=1,r=4,n=vt(e.GG,t._a[uo],ut(Ot(),1,4).year),i=vt(e.W,1),o=vt(e.E,1)):(s=t._locale._week.dow,r=t._locale._week.doy,n=vt(e.gg,t._a[uo],ut(Ot(),s,r).year),i=vt(e.w,1),null!=e.d?(o=e.d)0&&u(t).unusedInput.push(r),a=a.slice(a.indexOf(i)+i.length),d+=i.length),Ni[s]?(i?u(t).empty=!1:u(t).unusedTokens.push(s),J(s,i,t)):t._strict&&!i&&u(t).unusedTokens.push(s);u(t).charsLeftOver=l-d,a.length>0&&u(t).unusedInput.push(a),!0===u(t).bigHour&&t._a[fo]<=12&&t._a[fo]>0&&(u(t).bigHour=void 0),t._a[fo]=$t(t._locale,t._a[fo],t._meridiem),Mt(t),tt(t)}function $t(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&e<12&&(e+=12),i||12!==e||(e=0),e):e}function Tt(t){var e,n,i,o,s;if(0===t._f.length)return u(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;othis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qt(){var t,e;return void 0!==this._isDSTShifted?this._isDSTShifted:(t={},f(t,this),t=Lt(t),t._a?(e=t._isUTC?d(t._a):Ot(t._a),this._isDSTShifted=this.isValid()&&v(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted)}function Rt(){return!this._isUTC}function Zt(){return this._isUTC}function Qt(){return this._isUTC&&0===this._offset}function Xt(t,e){var n,i,o,s=t,r=null;return At(t)?s={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(s={},e?s[e]=t:s.milliseconds=t):(r=Zn.exec(t))?(n="-"===r[1]?-1:1,s={y:0,d:y(r[_o])*n,h:y(r[fo])*n,m:y(r[po])*n,s:y(r[mo])*n,ms:y(r[go])*n}):(r=Qn.exec(t))?(n="-"===r[1]?-1:1,s={y:Kt(r[2],n),M:Kt(r[3],n),d:Kt(r[4],n),h:Kt(r[5],n),m:Kt(r[6],n),s:Kt(r[7],n),w:Kt(r[8],n)}):null==s?s={}:"object"==typeof s&&("from"in s||"to"in s)&&(o=ee(Ot(s.from),Ot(s.to)),s={},s.ms=o.milliseconds,s.M=o.months),i=new Wt(s),
At(t)&&a(t,"_locale")&&(i._locale=t._locale),i}function Kt(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function te(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function ee(t,e){var n;return e=It(e,t),t.isBefore(e)?n=te(t,e):(n=te(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function ne(t,e){return function(n,i){var o,s;return null===i||isNaN(+i)||(it(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),s=n,n=i,i=s),n="string"==typeof n?+n:n,o=Xt(n,i),ie(this,o,t),this}}function ie(t,n,i,o){var s=n._milliseconds,r=n._days,a=n._months;o=null==o||o,s&&t._d.setTime(+t._d+s*i),r&&x(t,"Date",O(t,"Date")+r*i),a&&Q(t,O(t,"Month")+a*i),o&&e.updateOffset(t,r||a)}function oe(t,e){var n=t||Ot(),i=It(n,this).startOf("day"),o=this.diff(i,"days",!0),s=o<-6?"sameElse":o<-1?"lastWeek":o<0?"lastDay":o<1?"sameDay":o<2?"nextDay":o<7?"nextWeek":"sameElse";return this.format(e&&e[s]||this.localeData().calendar(s,this,Ot(n)))}function se(){return new p(this)}function re(t,e){return e=L(void 0!==e?e:"millisecond"),"millisecond"===e?(t=m(t)?t:Ot(t),+this>+t):(m(t)?+t:+Ot(t))<+this.clone().startOf(e)}function ae(t,e){var n;return e=L(void 0!==e?e:"millisecond"),"millisecond"===e?(t=m(t)?t:Ot(t),+this<+t):(n=m(t)?+t:+Ot(t),+this.clone().endOf(e)11?n?"pm":"PM":n?"am":"AM"}function Ze(t,e){e[go]=y(1e3*("0."+t))}function Qe(){return this._isUTC?"UTC":""}function Xe(){return this._isUTC?"Coordinated Universal Time":""}function Ke(t){return Ot(1e3*t)}function tn(){return Ot.apply(null,arguments).parseZone()}function en(t,e,n){var i=this._calendar[t];return"function"==typeof i?i.call(e,n):i}function nn(t){
var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function on(){return this._invalidDate}function sn(t){return this._ordinal.replace("%d",t)}function rn(t){return t}function an(t,e,n,i){var o=this._relativeTime[n];return"function"==typeof o?o(t,e,n,i):o.replace(/%d/i,t)}function ln(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)}function dn(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function cn(t,e,n,i){var o=k(),s=d().set(i,e);return o[n](s,t)}function un(t,e,n,i,o){var s,r;if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return cn(t,e,n,o);for(r=[],s=0;s=0&&r>=0&&a>=0||s<=0&&r<=0&&a<=0||(s+=864e5*Mn($n(a)+r),r=0,a=0),l.milliseconds=s%1e3,t=g(s/1e3),l.seconds=t%60,e=g(t/60),l.minutes=e%60,n=g(e/60),l.hours=n%24,r+=g(n/24),o=g(Dn(r)),a+=o,r-=Mn($n(o)),i=g(a/12),a%=12,l.days=r,l.months=a,l.years=i,this}function Dn(t){return 4800*t/146097}function $n(t){return 146097*t/4800}function Tn(t){var e,n,i=this._milliseconds;if("month"===(t=L(t))||"year"===t)return e=this._days+i/864e5,n=this._months+Dn(e),"month"===t?n:n/12;switch(e=this._days+Math.round($n(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw Error("Unknown unit "+t)}}function kn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12)}function Sn(t){return function(){return this.as(t)}}function Ln(t){return t=L(t),this[t+"s"]()}function Yn(t){return function(){return this._data[t]}}function Cn(){return g(this.days()/7)}function On(t,e,n,i,o){return o.relativeTime(e||1,!!n,t,i)}function xn(t,e,n){
var i=Xt(t).abs(),o=Ai(i.as("s")),s=Ai(i.as("m")),r=Ai(i.as("h")),a=Ai(i.as("d")),l=Ai(i.as("M")),d=Ai(i.as("y")),c=o0,c[4]=n,On.apply(null,c)}function Hn(t,e){return void 0!==Pi[t]&&(void 0===e?Pi[t]:(Pi[t]=e,!0))}function jn(t){var e=this.localeData(),n=xn(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Wn(){var t,e,n,i,o,s,r,a,l=Fi(this._milliseconds)/1e3,d=Fi(this._days),c=Fi(this._months),u=g(l/60),h=g(u/60);return l%=60,u%=60,t=g(c/12),c%=12,e=t,n=c,i=d,o=h,s=u,r=l,a=this.asSeconds(),a?(a<0?"-":"")+"P"+(e?e+"Y":"")+(n?n+"M":"")+(i?i+"D":"")+(o||s||r?"T":"")+(o?o+"H":"")+(s?s+"M":"")+(r?r+"S":""):"P0D"}var An,Pn,Fn,In,zn,En,Bn,Un,Gn,Vn,Jn,Nn,qn,Rn,Zn,Qn,Xn,Kn,ti,ei,ni,ii,oi,si,ri,ai,li,di,ci,ui,hi,_i,fi,pi,mi,gi,yi,vi,bi,Mi,wi,Di,$i,Ti,ki,Si,Li,Yi,Ci,Oi,xi,Hi,ji,Wi,Ai,Pi,Fi,Ii,zi=e.momentProperties=[],Ei=!1,Bi={},Ui={},Gi=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Vi=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ji={},Ni={},qi=/\d/,Ri=/\d\d/,Zi=/\d{3}/,Qi=/\d{4}/,Xi=/[+-]?\d{6}/,Ki=/\d\d?/,to=/\d{1,3}/,eo=/\d{1,4}/,no=/[+-]?\d{1,6}/,io=/\d+/,oo=/[+-]?\d+/,so=/Z|[+-]\d\d:?\d\d/gi,ro=/[+-]?\d+(\.\d{1,3})?/,ao=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,lo={},co={},uo=0,ho=1,_o=2,fo=3,po=4,mo=5,go=6;for(W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),W("MMMM",0,0,function(t){return this.localeData().months(this,t)}),S("month","M"),E("M",Ki),E("MM",Ki,Ri),E("MMM",ao),E("MMMM",ao),G(["M","MM"],function(t,e){e[ho]=y(t)-1}),G(["MMM","MMMM"],function(t,e,n,i){var o=n._locale.monthsParse(t,i,n._strict);null!=o?e[ho]=o:u(n).invalidMonth=t}),Fn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),In="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),zn={},e.suppressDeprecationWarnings=!1,En=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],Un=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Gn=/^\/?Date\((\-?\d+)/i,e.createFromInputFallback=nt("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),
W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),S("year","y"),E("Y",oo),E("YY",Ki,Ri),E("YYYY",eo,Qi),E("YYYYY",no,Xi),E("YYYYYY",no,Xi),G(["YYYYY","YYYYYY"],uo),G("YYYY",function(t,n){n[uo]=2===t.length?e.parseTwoDigitYear(t):y(t)}),G("YY",function(t,n){n[uo]=e.parseTwoDigitYear(t)}),e.parseTwoDigitYear=function(t){return y(t)+(y(t)>68?1900:2e3)},Vn=C("FullYear",!1),W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),S("week","w"),S("isoWeek","W"),E("w",Ki),E("ww",Ki,Ri),E("W",Ki),E("WW",Ki,Ri),V(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=y(t)}),Jn={dow:0,doy:6},W("DDD",["DDDD",3],"DDDo","dayOfYear"),S("dayOfYear","DDD"),E("DDD",to),E("DDDD",Zi),G(["DDD","DDDD"],function(t,e,n){n._dayOfYear=y(t)}),e.ISO_8601=function(){},Nn=nt("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=Ot.apply(null,arguments);return tthis?this:t}),Pt("Z",":"),Pt("ZZ",""),E("Z",so),E("ZZ",so),G(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ft(t)}),Rn=/([\+\-]|\d\d)/gi,e.updateOffset=function(){},Zn=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Qn=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Xt.fn=Wt.prototype,Xn=ne(1,"add"),Kn=ne(-1,"subtract"),e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",ti=nt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)}),W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Oe("gggg","weekYear"),Oe("ggggg","weekYear"),Oe("GGGG","isoWeekYear"),Oe("GGGGG","isoWeekYear"),S("weekYear","gg"),S("isoWeekYear","GG"),E("G",oo),E("g",oo),E("GG",Ki,Ri),E("gg",Ki,Ri),E("GGGG",eo,Qi),E("gggg",eo,Qi),E("GGGGG",no,Xi),E("ggggg",no,Xi),V(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=y(t)}),V(["gg","GG"],function(t,n,i,o){n[o]=e.parseTwoDigitYear(t)}),W("Q",0,0,"quarter"),S("quarter","Q"),E("Q",qi),G("Q",function(t,e){e[ho]=3*(y(t)-1)}),W("D",["DD",2],"Do","date"),S("date","D"),E("D",Ki),E("DD",Ki,Ri),E("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),G(["D","DD"],_o),G("Do",function(t,e){e[_o]=y(t.match(Ki)[0],10)}),ei=C("Date",!0),W("d",0,"do","day"),W("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),W("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),W("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),S("day","d"),S("weekday","e"),S("isoWeekday","E"),E("d",Ki),E("e",Ki),E("E",Ki),E("dd",ao),E("ddd",ao),E("dddd",ao),V(["dd","ddd","dddd"],function(t,e,n){var i=n._locale.weekdaysParse(t);null!=i?e.d=i:u(n).invalidWeekday=t}),
V(["d","e","E"],function(t,e,n,i){e[i]=y(t)}),ni="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ii="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),W("H",["HH",2],0,"hour"),W("h",["hh",2],0,function(){return this.hours()%12||12}),Je("a",!0),Je("A",!1),S("hour","h"),E("a",Ne),E("A",Ne),E("H",Ki),E("h",Ki),E("HH",Ki,Ri),E("hh",Ki,Ri),G(["H","HH"],fo),G(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),G(["h","hh"],function(t,e,n){e[fo]=y(t),u(n).bigHour=!0}),si=/[ap]\.?m?\.?/i,ri=C("Hours",!0),W("m",["mm",2],0,"minute"),S("minute","m"),E("m",Ki),E("mm",Ki,Ri),G(["m","mm"],po),ai=C("Minutes",!1),W("s",["ss",2],0,"second"),S("second","s"),E("s",Ki),E("ss",Ki,Ri),G(["s","ss"],mo),li=C("Seconds",!1),W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),S("millisecond","ms"),E("S",to,qi),E("SS",to,Ri),E("SSS",to,Zi),di="SSSS";di.length<=9;di+="S")E(di,io);for(di="S";di.length<=9;di+="S")G(di,Ze);return ci=C("Milliseconds",!1),W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName"),ui=p.prototype,ui.add=Xn,ui.calendar=oe,ui.clone=se,ui.diff=ce,ui.endOf=we,ui.format=fe,ui.from=pe,ui.fromNow=me,ui.to=ge,ui.toNow=ye,ui.get=H,ui.invalidAt=Ce,ui.isAfter=re,ui.isBefore=ae,ui.isBetween=le,ui.isSame=de,ui.isValid=Le,ui.lang=ti,ui.locale=ve,ui.localeData=be,ui.max=qn,ui.min=Nn,ui.parsingFlags=Ye,ui.set=H,ui.startOf=Me,ui.subtract=Kn,ui.toArray=ke,ui.toObject=Se,ui.toDate=Te,ui.toISOString=_e,ui.toJSON=_e,ui.toString=he,ui.unix=$e,ui.valueOf=De,ui.year=Vn,ui.isLeapYear=ct,ui.weekYear=He,ui.isoWeekYear=je,ui.quarter=ui.quarters=Pe,ui.month=X,ui.daysInMonth=K,ui.week=ui.weeks=pt,ui.isoWeek=ui.isoWeeks=mt,ui.weeksInYear=Ae,ui.isoWeeksInYear=We,ui.date=ei,ui.day=ui.days=Ue,ui.weekday=Ge,ui.isoWeekday=Ve,ui.dayOfYear=yt,ui.hour=ui.hours=ri,ui.minute=ui.minutes=ai,ui.second=ui.seconds=li,ui.millisecond=ui.milliseconds=ci,ui.utcOffset=Et,ui.utc=Ut,ui.local=Gt,ui.parseZone=Vt,ui.hasAlignedHourOffset=Jt,ui.isDST=Nt,ui.isDSTShifted=qt,ui.isLocal=Rt,ui.isUtcOffset=Zt,ui.isUtc=Qt,ui.isUTC=Qt,ui.zoneAbbr=Qe,ui.zoneName=Xe,ui.dates=nt("dates accessor is deprecated. Use date instead.",ei),ui.months=nt("months accessor is deprecated. Use month instead",X),ui.years=nt("years accessor is deprecated. Use year instead",Vn),ui.zone=nt("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Bt),hi=ui,_i={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},fi={LTS:"h:mm:ss A",LT:"h:mm A",
L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},pi="Invalid date",mi="%d",gi=/\d{1,2}/,yi={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},vi=b.prototype,vi._calendar=_i,vi.calendar=en,vi._longDateFormat=fi,vi.longDateFormat=nn,vi._invalidDate=pi,vi.invalidDate=on,vi._ordinal=mi,vi.ordinal=sn,vi._ordinalParse=gi,vi.preparse=rn,vi.postformat=rn,vi._relativeTime=yi,vi.relativeTime=an,vi.pastFuture=ln,vi.set=dn,vi.months=q,vi._months=Fn,vi.monthsShort=R,vi._monthsShort=In,vi.monthsParse=Z,vi.week=ht,vi._week=Jn,vi.firstDayOfYear=ft,vi.firstDayOfWeek=_t,vi.weekdays=Ie,vi._weekdays=ni,vi.weekdaysMin=Ee,vi._weekdaysMin=oi,vi.weekdaysShort=ze,vi._weekdaysShort=ii,vi.weekdaysParse=Be,vi.isPM=qe,vi._meridiemParse=si,vi.meridiem=Re,$("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===y(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=nt("moment.lang is deprecated. Use moment.locale instead.",$),e.langData=nt("moment.langData is deprecated. Use moment.localeData instead.",k),bi=Math.abs,Mi=Sn("ms"),wi=Sn("s"),Di=Sn("m"),$i=Sn("h"),Ti=Sn("d"),ki=Sn("w"),Si=Sn("M"),Li=Sn("y"),Yi=Yn("milliseconds"),Ci=Yn("seconds"),Oi=Yn("minutes"),xi=Yn("hours"),Hi=Yn("days"),ji=Yn("months"),Wi=Yn("years"),Ai=Math.round,Pi={s:45,m:45,h:22,d:26,M:11},Fi=Math.abs,Ii=Wt.prototype,Ii.abs=gn,Ii.add=vn,Ii.subtract=bn,Ii.as=Tn,Ii.asMilliseconds=Mi,Ii.asSeconds=wi,Ii.asMinutes=Di,Ii.asHours=$i,Ii.asDays=Ti,Ii.asWeeks=ki,Ii.asMonths=Si,Ii.asYears=Li,Ii.valueOf=kn,Ii._bubble=wn,Ii.get=Ln,Ii.milliseconds=Yi,Ii.seconds=Ci,Ii.minutes=Oi,Ii.hours=xi,Ii.days=Hi,Ii.weeks=Cn,Ii.months=ji,Ii.years=Wi,Ii.humanize=jn,Ii.toISOString=Wn,Ii.toString=Wn,Ii.toJSON=Wn,Ii.locale=ve,Ii.localeData=be,Ii.toIsoString=nt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Wn),Ii.lang=ti,W("X",0,0,"unix"),W("x",0,0,"valueOf"),E("x",oo),E("X",ro),G("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),G("x",function(t,e,n){n._d=new Date(y(t))}),e.version="2.10.6",i(Ot),e.fn=hi,e.min=Ht,e.max=jt,e.utc=d,e.unix=Ke,e.months=hn,e.isDate=s,e.locale=$,e.invalid=_,e.duration=Xt,e.isMoment=m,e.weekdays=fn,e.parseZone=tn,e.localeData=k,e.isDuration=At,e.monthsShort=_n,e.weekdaysMin=mn,e.defineLocale=T,e.weekdaysShort=pn,e.normalizeUnits=L,e.relativeTimeThreshold=Hn,e})}).call(e,n(51)(t))},827:function(t,e,n){"use strict";function i(t){return t in $.fn?Promise.resolve():(r||(r=new Promise(function(t){n.e(31).then(function(e){n(831),t()}.bind(null,n)).catch(n.oe)})),r)}function o(t){return new a(t)}var s,r,a;Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"LazyJqueryUI",function(){return a}),e.lazyJqueryUI=o,s=n(14),n.n(s),a=function(){function t(t){this._$elem=t}return t.prototype.draggable=function(){var t=arguments,e=this._$elem;return i("draggable").then(function(){return e.draggable.apply(e,t)})},
t.prototype.resizable=function(){var t=arguments,e=this._$elem;return i("resizable").then(function(){return e.resizable.apply(e,t)})},t.prototype.sortable=function(){var t=arguments,e=this._$elem;return i("sortable").then(function(){return e.sortable.apply(e,t)})},t.prototype.datepicker=function(){var t=arguments,e=this._$elem;return i("datepicker").then(function(){return e.datepicker.apply(e,t)})},t}()},828:function(t,e){t.exports=''},832:function(t,e,n){"use strict";(function(i){function o(t){return t&&t.__esModule?t:{default:t}}function s(){var t,e,n=c.width();for(h.width=n,h.height=c.height(),t=0;t<_.length;t++)if(n<=h.breakpoints[_[t]]){h.device!==_[t]&&(e=h.device,h.device=_[t],h.trigger("changeDevice",[_[t],e]));break}return h}var r,a,l,d,c,u,h,_;Object.defineProperty(e,"__esModule",{value:!0}),r=n(301),a=o(r),l=n(838),d=$("body"),c=$(window),u=0,h={width:null,height:null,device:null,checkDevice:s,isMobileSafari:!!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/)||!!navigator.userAgent.match("CriOS"),getScrollbarWidth:function(){var t=void 0;return function(){var e,n,i,o;return void 0===t&&(e=document.createElement("div"),e.style.visibility="hidden",e.style.width="100px",e.style.msOverflowStyle="scrollbar",document.body.appendChild(e),n=e.offsetWidth,e.style.overflow="scroll",i=document.createElement("div"),i.style.width="100%",e.appendChild(i),o=i.offsetWidth,e.parentNode.removeChild(e),t=n-o),t}}(),hasScroll:function(t){return t.get(0).scrollHeight>t.height()},breakpoints:l.breakpoints,widgetbarBreakpoint:1064,setFixedBodyState:function(t){var e,n;t&&1==++u?("hidden"!==$(document.body).css("overflow").toLowerCase()&&document.body.scrollHeight>document.body.offsetHeight&&($(".widgetbar-wrap").css("right",h.getScrollbarWidth()),d.css("padding-right",parseInt(d.css("padding-right").replace("px",""))+h.getScrollbarWidth()+"px").data("wasScroll",!0)),d.addClass("i-no-scroll")):!t&&u>0&&0==--u&&(d.removeClass("i-no-scroll"),d.data("wasScroll")&&(e=d.get(0),$(".widgetbar-wrap").css("right",0),n=$(".widgetbar-wrap").width()||0,e.scrollHeight<=e.clientHeight&&(n-=h.getScrollbarWidth()),d.css("padding-right",(n<0?0:n)+"px").data("wasScroll",void 0)))}},_=Object.keys(h.breakpoints).sort(function(t,e){return h.breakpoints[t]-h.breakpoints[e]}),i.extend(h,a.default.prototype),s(),$(s),c.on("resize",s),e.default=h,t.exports=e.default}).call(e,n(187))},833:function(t,e,n){"use strict";(function(t){function i(e,n,i){var o,s,r,a,l,d,c=this;if(this._options=$.extend({},this._defaultOptions,i||{}),this._$wrapper=e,this._$content=n,this._scroll_speed=40,this._shadow_offset=10,this._header_height=this._options.headerHeight,this._scroll_margin_top=this._options.scrollMarginTop,this.scrolled=new t,
this.scrolltoend=new t,this.scrolltostart=new t,this.visibilityCallbacks=[],o=navigator.platform.toLowerCase(),s=navigator.userAgent.toLowerCase(),r=s.indexOf("firefox")>-1,a=o.indexOf("android")>-1||s.indexOf("android")>-1,this._touch=Modernizr.touch||navigator.msMaxTouchPoints||r&&a,this._touch)return this._$content.css("position","relative"),void this._$wrapper.css({"overflow-y":"auto","-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}).scroll(this._onScroll.bind(this));this._$wrapper.css("overflow","hidden"),this._$wrapper.on("mouseenter.sidebar-scroll",function(){c._bottomFixed||c._dragging||(c._options.alwaysVisible||c._$scrollBar.addClass("active"),c._onScroll())}).on("mouseleave.sidebar-scroll",function(){c._bottomFixed||c._dragging||(c._options.alwaysVisible||c._$scrollBar.removeClass("active"),c._onScroll())}).on("mousewheel.sidebar-scroll",function(t,e){if(!t.isDefaultPrevented())return c.scroll(e,"MozMousePixelScroll"===t.originalEvent.type?2:null)}),!1!==this._options.showTopShadow&&(this._$shadowTop=$('
"},e.TVModal=function(e){function n(){var t,e,i,o,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,n),t=r(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,d({},w,a))),t.$overlay=$(t.options.overlayTemplate),t.$modalWrap=$(t.options.containerTemplate),t.$body=t.$modalWrap.find(".tv-dialog__modal-body").append(t.$el),
t.options.closeOnOutsideClick&&t.$overlay.add(t.$modalWrap).click(function(e){t.isEventOut(e)&&t.close()}),t.on("change:zIndex",function(){t.$overlay.css("z-index",t.zIndex),t.$modalWrap.css("z-index",t.zIndex)}),t.on("destroy",function(){var e=function(){t.$overlay.remove(),t.$modalWrap.remove()};t.opened?(t.close(),setTimeout(e,t.options.closingDuration)):e()}),t.on("beforeOpen",function(){M.push(t)}),t.options.ajax.url&&(e=t.options.ajax.beforeSend||$.noop,i=t.options.ajax.success||!1,o=t.options.ajax.error||$.noop,$.extend(t.options.ajax,{beforeSend:function(){t.trigger("beforeLoading",[t]),t.startSpinner(),e(t)},success:function(e){t.trigger("afterLoading",[t]),t.renderContent(i?i(t,e):e).showContent(),t.trigger("afterLoadingShow",[t])},error:function(){t.renderContent(t.options.ajaxErrorTemplate),o(t),t.trigger("errorLoading",[t])}})),t.on("error",function(e,n){t.$modalWrap[0].getBoundingClientRect().height0&&M[M.length-1].focus(),e.options.destroyOnClose&&e.destroy()},this.options.closingDuration),this}},{key:"showContent",value:function(){var t=this;return this.$modalWrap.removeClass("i-hidden"),setTimeout(function(){t.$modalWrap.removeClass("i-closed")},20),setTimeout(function(){t.trigger("afterOpen",[t]),t.spinner&&t.stopSpinner()},.75*h.dur+20),this}},{key:"hideContent",value:function(){if(this.$el)return this.$modalWrap.addClass("i-closed"),this.unfocus(),this}},{key:"startSpinner",value:function(){return this.spinner=new m.Spinner("large"),this.spinner.spin(this.$overlay[0]),this}},{key:"stopSpinner",value:function(){if(this.spinner)return this.spinner.stop(),delete this.spinner,this}}]),n}(p.TVDialogAbstract)}).call(e,n(187))},838:function(t,e,n){
"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"breakpoints",function(){return i});var i={desktop:1/0,desktopHd:1919,phone:767,"phone-vertical":479,tablet:1019}},839:function(t,e,n){"use strict";(function(t,i){function o(t){return t&&t.__esModule?t:{default:t}}function s(t){var e,n;if(t&&t.__esModule)return t;if(e={},null!=t)for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function d(){v.forEach(function(t){return t.close()})}var c,u,h,_,f,p,m,g,y,v,b,M,w,D,T,k,S;Object.defineProperty(e,"__esModule",{value:!0}),e.TVDialogAbstract=void 0,c=Object.assign||function(t){var e,n,i;for(e=1;e',errorTemplate:'