"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[2087],{50991:(e,i,t)=>{t.r(i),t.d(i,{LineToolHighlighter:()=>h});var r=t(78176),s=t(55393),n=t(65045);class h extends s.LineToolBrushBase{constructor(e,i,t,r){super(e,i??h.createProperties(e.backgroundTheme().spawnOwnership()),t,r),this._loadPaneViews(e)}smooth(){return this.properties().childs().smooth.value()}name(){return"Highlighter"}static createProperties(e,i){const t=new r.DefaultProperty({defaultName:"linetoolhighlighter",state:i,theme:e});return this._configureProperties(t),t}_getPropertyDefinitionsViewModelClass(){return Promise.all([t.e(3198),t.e(5410),t.e(2745),t.e(8823),t.e(8537)]).then(t.bind(t,32548)).then((e=>e.HighlighterDefinitionsViewModel))}_loadPaneViews(e){Promise.all([t.e(6290),t.e(986),t.e(6668),t.e(1583)]).then(t.bind(t,92189)).then((i=>{this._setPaneViews([new i.HighlighterPaneView(this,e)])}))}static _configureProperties(e){super._configureProperties(e),e.addChild("widths",new n.LineToolWidthsProperty([e.childs().width])),e.addExcludedKey("widths",3)}}}}]);