"use strict";(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5283],{21730:(e,t,r)=>{r.r(t),r.d(t,{LineToolABCD:()=>a});var n=r(50151),i=r(78176),o=r(41414),s=r(65045);class a extends o.LineDataSource{constructor(e,t,n,i){super(e,t??a.createProperties(e.backgroundTheme().spawnOwnership()),n,i),Promise.all([r.e(6290),r.e(986),r.e(6668),r.e(1583)]).then(r.bind(r,85033)).then((t=>{this._setPaneViews([new t.ABCDPaneView(this,e)])}))}pointsCount(){return 4}name(){return"ABCD Pattern"}static createProperties(e,t){const r=new i.DefaultProperty({defaultName:"linetoolabcd",state:t,theme:e});return this._configureProperties(r),r}_getPropertyDefinitionsViewModelClass(){return Promise.all([r.e(3198),r.e(5410),r.e(2745),r.e(8823),r.e(8537)]).then(r.bind(r,52536)).then((e=>e.PatternWithoutBackgroundDefinitionsViewModel))}static _configureProperties(e){super._configureProperties(e),e.addChild("linesColors",new s.LineToolColorsProperty([(0,n.ensureDefined)(e.child("color"))])),e.addChild("textsColors",new s.LineToolColorsProperty([(0,n.ensureDefined)(e.child("textcolor"))]))}}}}]);