(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{DxCR:function(t,e,i){"use strict";(function(t){i("sZhh"),i("QBwY");var r=i("56W2");i("pay7");var o=i("Eyy1").ensureNotNull,n=i("ivNn").isNaN,s=i("eJTA"),a=s.rgba,l=s.rgbaToString,c=s.parseRgb,u=i("XPit").TimePointIndexSearchMode,h=i("zXvd").NumericFormatter,p=i("Tmoa"),d=i("jNEI").addColorPicker,v=i("2h0C").Binding,f=i("txPx").getLogger("Chart.PropertyPage");function g(t,e){return'"}function _(t,e){this._model=e,this._bindings=[],this._property=t,this.supportThemeSwitcher=!1}function m(t){return function(e){return et?t:e}}function y(t){return function(e){var i=parseInt(e,10);return n(i)?t:i}}function C(t,e,i,r,o,n,s){v.call(this,t,e,r,o,n),this._transformFunction=i,this._setter=s,this._attachToControl(t,r)}function k(t,e,i,r,o,n){this._subControlIds=e,v.call(this,t,i,r,o,n),this._forEachSubControl((function(t){this._attachToControl(t,r)}))}function T(t,e,i,r,o,n,s){this._model=r,this._mainSeries=n,this._toIntTransformer=y(s),this._disabled=!1,v.call(this,t,e,i,r,o);var a=this;i&&t.change((function(){a.setValueToProperty(a.value())})),this._mainSeries.dataEvents().barReceived().subscribe(this,(function(){a.setValue(this.property().value())}))}function x(t,e,i,r,o,n,s){v.call(this,t,e,i,r,o),this._transform=n,i&&t.on("accept-symbol",function(t,e){this.setValueToProperty(e),this.setValue(e)}.bind(this)),s&&(s.subscribe(this,this._updateDisplayedSymbol),this._updateDelegate=s)}function M(t,e,i,r,o,n,s,a){v.call(this,t,e,r,o,n),this._transformFunction=i,this._propertyChangedHook=a,this._setter=s;var l=this;r&&t.change((function(){l._setter?l._setter.call(l,l.value()):l.setValueToProperty(l.value())}))}function w(t,e,i,r,o,n){if(!t.is(":checkbox, :radio"))return new S(t,e,i,r,o);v.call(this,t,e,i,r,o),this._setter=n;var s=this;i&&t.change((function(){s._setter?s._setter.call(s,s.value()):s.setValueToProperty(s.value())}))}function V(t,e,i,r,o,n){v.call(this,t,e,i,r,o),this._inverted=!0===n}function S(t,e,i,r,o){v.call(this,t,e,i,r,o);var n=this;i&&t.click((function(){var t=$(this).toggleClass("active").hasClass("active");n.setValueToProperty(t)}))}function O(t,e,i,r,o,n){var s;s=t.is("input")?t:t.find("input"),v.call(this,s,e,i,r,o),this._transparencyProperty=n,this.applyOldTransparency();var a=this;i&&s.change((function(){a.setValueToProperty(a.value())}))}function E(e,i,r,o,n,s){isNumber(i.value())||(f.logWarn("Property cannot be binded to control, bad value (expect number): "+i.value()),i=new t),v.call(this,e,i,r,o,n);var a=this;function l(t,e){var i=a.control().slider("option","min"),r=a.control().slider("option","max"),o=a._property.value();(i<=o&&o<=r||il._transformers[1]&&$(n[1]).val(l._transformers[1]),-1!==$.inArray(t.keyCode,[46,8,9,27,13,110,190])||65===t.keyCode&&!0===t.ctrlKey||67===t.keyCode&&!0===t.ctrlKey||88===t.keyCode&&!0===t.ctrlKey||t.keyCode>=35&&t.keyCode<=39||(t.shiftKey||t.keyCode<48||t.keyCode>57)&&(t.keyCode<96||t.keyCode>105)&&t.preventDefault()}))})),$(n[0]).on("keyup",(function(t){parseInt($(this).val())l._transformers[1]&&$(this).val(l._transformers[1]),parseInt($(this).val())>parseInt($(n[1]).val())&&$(this).val(n[1].val()),l._control.slider("values",0,$(this).val()),P.prototype.setValueToProperty.call(l,l._control.slider("values"),"from")})),$(n[1]).on("keyup",(function(t){parseInt($(this).val())l._transformers[1]&&$(this).val(l._transformers[1]),parseInt($(this).val())<$(n[0]).val()&&$(this).val(n[0].val()),l._control.slider("values",1,$(this).val()),P.prototype.setValueToProperty.call(l,l._control.slider("values"),"to")}))),this._propFrom.listeners().subscribe(this,P.prototype.propertyChanged),this._propTo.listeners().subscribe(this,P.prototype.propertyChanged),r&&t.on("slide",(function(t,e){l.setValueToProperty(l._control.slider("values"),e.handle)})),t.slider({stop:function(t,e){n&&($(n[0]).val(l._control.slider("values",0)),$(n[1]).val(l._control.slider("values",1))),l.setValueToProperty(l._control.slider("values"),e.handle)},start:function(t,e){n&&($(n[0]).val(l._control.slider("values",0)),$(n[1]).val(l._control.slider("values",1))),l.setValueToProperty(l._control.slider("values"),e.handle)}})}_.prototype.model=function(){return this._model}, _.prototype.bindControl=function(t){return this._bindings.push(t),t},_.prototype.unbindControl=function(t){var e=this._bindings.indexOf(t);-1!==e&&this._bindings.splice(e,1)},_.prototype.loadData=function(){for(var t=0;t',t).slider({max:4,min:1,step:1})},_.prototype.createColorPicker=function(t){return d(null,t)},_.prototype.createCombo=function(t){var e=$(document.createElement("select")),i=t.reduce((function(t,e){return t.add($(document.createElement("option")).prop({value:e,text:e}))}),$());return e.append(i)},_.prototype.createFontEditor=function(t){var e=t||TradingView.factoryDefaults("chartproperties.editorFontsList");return this.createCombo(e)},_.prototype.createFontSizeEditor=function(t){var e=t||[10,11,12,14,16,20,24,28,32,40];return this.createCombo(e).addClass("tv-select-container-fontsize")},_.prototype.createSeriesMinTickEditor=function(){var t="",$(t)},_.prototype.createPrecisionEditor=function(){for(var t="",$(t)},_.prototype.createLabeledCell=function(t,e,i){var r,o,n=null;"number"==typeof t.valueOf()?(n=t,r=e,o=i):(r=t,o=e),r+="";var s=this._labelToId(r),a=$("");return $("