1import{c as n}from"./chunk-6IEOUFJJ.js";import{a as l,b as d}from"./chunk-FY2FBY5S.js";import{c as a}from"./chunk-ZIYJVGPD.js";import"./chunk-T6LYIDMV.js";import"./chunk-74EIPC4E.js";import{a as m}from"./chunk-6VKTQ3WR.js";import"./chunk-YI2EV5SO.js";import{u as r}from"./chunk-7WI4Z4JO.js";r();var o=class extends m{constructor(e,t,i={}){super(e,t,i)}getURLWidget(){return"https://s3.tradingview.com/tv.js"}load(){this._prepareSymbol(),this._composeHTML()}_composeHTML(){let e="tradingiew_382c4_".concat(this._symbolCompany),t={width:"100%",height:550,symbol:this._id,interval:"60",timezone:"Europe/Madrid",customer:"elespanolcom",theme:"Light",style:"2",locale:"es",toolbar_bg:"#f1f3f6",hide_legend:!0,details:!0,enable_publishing:!1,hide_top_toolbar:!1,save_image:!1,container_id:e};n.smartphone&&(t={width:"100%",height:350,symbol:this._id,interval:"60",timezone:"Europe/Madrid",customer:"elespanolcom",theme:"Light",style:"3",locale:"es",toolbar_bg:"#fff0e5",hide_legend:!0,hide_top_toolbar:!1,enable_publishing:!1,isTransparent:!0,save_image:!1,
1container_id:e});let i=Object.assign(t,this._extraParams),s=new d;window.TrandingView?this._printContent(this._getTemplateHTML(i,e)):(a(s,l.ON_IO_FINISH,()=>{this._printContent(this._getTemplateHTML(i,e))},this),s.load(this.getURLWidget()))}_getTemplateHTML(e,t){return"<div id=".concat(t,'></div>\n <div class="tradingview-widget-copyright"><a href="https://es.tradingview.com/symbols/').concat(this._symbolNormalized,'/" rel="noopener" target="_blank"><span class="blue-text">').concat(this._symbolCompany,' Gr\xE1fico</span></a> por TradingView</div>\n <script type="text/javascript">\n\n new TradingView.widget(\n ').concat(JSON.stringify(e),"\n )\n\n <\/script>")}};export{o as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.