var TradingView=function(e){"use strict";function t(e){if(null!==e)return e.getAttribute("nonce")||e.nonce}var i,o,r,n,a,s,l,c,d,h,g,u,C,p,S,m,y,_,T,b,P,w,L,f,A,v,I,O,R,D,k,V,F,W,E,M,N,B,U,x,H,j,z,G,$,q,J,K,Z,Q,Y,X,ee,te,ie,oe,re,ne,ae,se,le,ce,de,he,ge,ue,Ce,pe,Se,me,ye,_e,Te,be,Pe,we,Le,fe,Ae,ve,Ie,Oe,Re,De,ke,Ve,Fe;function We(e,t){const i={...e};for(const o in t)"object"!=typeof e[o]||null===e[o]||Array.isArray(e[o])?void 0!==t[o]&&(i[o]=t[o]):i[o]=We(e[o],t[o]);return i}e.ActionId=void 0,(i=e.ActionId||(e.ActionId={})).UnknownAction="UnknownAction",i.Spinner="Spinner",i.Loading="Loading",i.AlertAdd="Alert.Add",i.AlertEdit="Alert.Edit",i.AlertsClone="Alerts.Clone",i.AlertsRemove="Alerts.Remove",i.AlertsRemoveAll="Alerts.RemoveAll",i.AlertsRemoveFiltered="Alerts.RemoveFiltered",i.AlertsRemoveAllInactive="Alerts.RemoveAllInactive",i.AlertsRemoveAllWatchlistInactive="Alerts.RemoveAllWatchlistInactive",i.AlertsRemoveFires="Alerts.RemoveFires",i.AlertsRestart="Alerts.Restart",i.AlertsRestartAllInactive="Alerts.RestartAllInactive",i.AlertsRestartFilteredInactive="Alerts.RestartFilteredInactive",i.AlertsStop="Alerts.Stop",i.AlertsStopAll="Alerts.StopAll",i.AlertsStopFilteredActive="Alerts.StopFilteredActive",i.AlertsExportFiresToCSV="Alerts.ExportFiresToCSV",i.AlertsLogClear="AlertsLog.Clear",i.AlertsLogRemoveFiltered="AlertsLog.RemoveFiltered",i.ChartAddIndicatorToAllCharts="Chart.AddIndicatorToAllCharts",i.ChartAddSymbolToWatchList="Chart.AddSymbolToWatchList",i.ChartAlertLabelToggleExtendLines="Chart.AlertLabel.ToggleExtendLines",i.ChartApplyIndicatorsToAllCharts="Chart.ApplyIndicatorsToAllCharts",i.ChartIndicatorApplyChildIndicator="Chart.Indicator.ApplyChildIndicator",i.ChartIndicatorApplyFinancials="Chart.Indicator.ApplyFinancials",i.ChartIndicatorAbout="Chart.Indicator.About",i.ChartIndicatorPineLogs="Chart.Indicator.PineLogs",i.ChartIndicatorPineSource="Chart.Indicator.PineSource",i.ChartIndicatorAddFavorites="Chart.Indicator.AddFavorites",i.ChartChangeTimeZone="Chart.ChangeTimeZone",i.ChartClipboardCopyPrice="Chart.Clipboard.CopyPrice",i.ChartClipboardCopyLineTools="Chart.Clipboard.CopyLineTools",i.ChartClipboardCopySource="Chart.Clipboard.CopySource",i.ChartClipboardPasteSource="Chart.Clipboard.PasteSource",i.ChartCrosshairLockVerticalCursor="Chart.Crosshair.LockVerticalCursor",i.ChartCrosshairPlusButtonDrawHorizontalLine="Chart.Crosshair.PlusButton.DrawHorizontalLine",i.ChartCustomActionId="Chart.CustomActionId",i.ChartDialogsShowChangeInterval="Chart.Dialogs.ShowChangeInterval",i.ChartDialogsShowChangeSymbol="Chart.Dialogs.ShowChangeSymbol",i.ChartDialogsShowCompareOrAddSymbol="Chart.Dialogs.ShowCompareOrAddSymbol",i.ChartDialogsShowGeneralSettings="Chart.Dialogs.ShowGeneralSettings",i.ChartDialogsShowGeneralSettingsLegendTab="Chart.Dialogs.ShowGeneralSettings.LegendTab",i.ChartDialogsShowGeneralSettingsSymbolTab="Chart.Dialogs.ShowGeneralSettings.SymbolTab",i.ChartDialogsShowGeneralScalesTab="Chart.Dialogs.ShowGeneralSettings.ScalesTab",i.ChartDialogsShowGeneralSettingsEventsTab="Chart.Dialogs.ShowGeneralSettings.EventsTab",i.ChartDialogsShowGeneralSettingsAlertsTab="Chart.Dialogs.ShowGeneralSettings.AlertsTab",i.ChartDialogsShowGoToDate="Chart.Dialogs.ShowGoToDate",i.ChartDialogsShowInsertIndicators="Chart.Dialogs.ShowInsertIndicators",i.ChartDialogsShowInsertFinancials="Chart.Dialogs.ShowInsertFinancials",i.ChartDialogsShowNews="Chart.Dialogs.ShowNews",i.ChartDialogsShowInsertSeasonals="Chart.Dialogs.ShowInsertSeasonals",i.ChartDialogsShowInsertStockBonds="Chart.Dialogs.ShowInsertStockBonds",i.ChartDialogsShowForwardCurve="Chart.Dialogs.ShowForwardCurve",i.ChartDialogsShowInsertDocuments="Chart.Dialogs.ShowInsertDocuments",i.ChartDialogsShowInsertEtfs="Chart.Dialogs.ShowInsertEtfs",i.ChartDialogsShowInsertContracts="Chart.Dialogs.ShowInsertContracts",i.ChartDialogsShowInsertAnalysis="Chart.Dialogs.ShowInsertAnalysis",i.ChartDialogsShowInsertTechnicals="Chart.Dialogs.ShowInsertTechnicals",i.ChartDialogsShowInsertForecast="Chart.Dialogs.ShowInsertForecast",i.ChartDialogsShowInsertOptions="Chart.Dialogs.ShowInsertOptions",i.ChartDetailsMetricsActionId="Chart.Dialogs.DetailsMetrics",i.ChartDialogsShowInsertEconomyIndicators="Chart.Dialogs.ShowInsertEconomyIndicators",i.ChartDialogsShowSymbolInfo="Chart.Dialogs.ShowSymbolInfo",i.ChartDrawingToolbarToggleVisibility="Chart.DrawingToolbar.ToggleVisibility",i.ChartExternalActionId="Chart.ExternalActionId",i.ChartFavoriteDrawingToolsToolbarHide="Chart.FavoriteDrawingToolsToolbar.Hide",i.ChartIndicatorShowSettingsDialog="Chart.Indicator.ShowSettingsDialog",i.ChartLegendToggleLastDayChangeValuesVisibility="Chart.Legend.ToggleLastDayChangeValuesVisibility",i.ChartLinkingGroupSync="Chart.LinkingGroupSync",i.ChartLinkingGroupSyncChangeGroup="Chart.LinkingGroupSync.ChangeGroup",i.ChartLegendToggleBarChangeValuesVisibility="Chart.Legend.ToggleBarChangeValuesVisibility",i.ChartLegendToggleBarChangeColor="Chart.Legend.ToggleBarChangeColor",i.ChartLegendTogglePriceSourceVisibility="Chart.Legend.TogglePriceSourceVisibility",i.ChartLegendToggleIndicatorArgumentsVisibility="Chart.Legend.ToggleIndicatorArgumentsVisibility",i.ChartLegendToggleIndicatorTitlesVisibility="Chart.Legend.ToggleIndicatorTitlesVisibility",i.ChartLegendToggleIndicatorValuesVisibility="Chart.Legend.ToggleIndicatorValuesVisibility",i.ChartLegendToggleOhlcValuesVisibility="Chart.Legend.ToggleOhlcValuesVisibility",i.ChartLegendToggleOpenMarketStatusVisibility="Chart.Legend.ToggleOpenMarketStatusVisibility",i.ChartLegendToggleSymbolVisibility="Chart.Legend.ToggleSymbolVisibility",i.ChartLegendToggleVolumeVisibility="Chart.Legend.ToggleVolumeVisibility",i.ChartLines="Chart.Lines",i.ChartLinesToggleBidAskLinesVisibility="Chart.Lines.ToggleBidAskLinesVisibility",i.ChartLinesToggleHighLowLinesVisibility="Chart.Lines.ToggleHighLowLinesVisibility",i.ChartLinesToggleAverageLineVisibility="Chart.Lines.ToggleAverageLineVisibility",i.ChartLinesTogglePrePostMarketPriceLineVisibility="Chart.Lines.TogglePrePostMarketPriceLineVisibility",i.ChartLinesToggleSeriesPrevCloseLineVisibility="Chart.Lines.ToggleSeriesPrevCloseLineVisibility",i.ChartLinesToggleSeriesPriceLineVisibility="Chart.Lines.ToggleSeriesPriceLineVisibility",i.ChartLineToolBarsPatternToggleFlipped="Chart.LineTool.BarsPattern.ToggleFlipped",i.ChartLineToolBarsPatternToggleMirrored="Chart.LineTool.BarsPattern.ToggleMirrored",i.ChartLineToolRiskRewardReverse="Chart.LineTool.RiskReward.Reverse",i.ChartLineToolClone="Chart.LineTool.Clone",i.ChartLineToolCreateLimitOrderFromState="Chart.LineTool.CreateLimitOrderFromState",i.ChartLineToolElliotChangeDegreeProperty="Chart.LineTool.Elliot.ChangeDegreeProperty",i.ChartLineToolNoSync="Chart.LineTool.NoSync",i.ChartLineToolPitchforkChangeTypeToInside="Chart.LineTool.Pitchfork.ChangeTypeToInside",i.ChartLineToolPitchforkChangeTypeToModifiedSchiff="Chart.LineTool.Pitchfork.ChangeTypeToModifiedSchiff",i.ChartLineToolPitchforkChangeTypeToOriginal="Chart.LineTool.Pitchfork.ChangeTypeToOriginal",i.ChartLineToolPitchforkChangeTypeToSchiff="Chart.LineTool.Pitchfork.ChangeTypeToSchiff",i.ChartLineToolSyncInLayout="Chart.LineTool.SyncInLayout",i.ChartLineToolSyncGlobally="Chart.LineTool.SyncGlobally",i.ChartLineToolTemplates="Chart.LineTool.Templates",i.ChartLineToolTemplatesApply="Chart.LineTool.Templates.Apply",i.ChartLineToolTemplatesApplyDefaults="Chart.LineTool.Templates.ApplyDefaults",i.ChartLineToolTemplatesSaveAs="Chart.LineTool.Templates.SaveAs",i.ChartLineToolToolbarChangeFontSizeProperty="Chart.LineTool.Toolbar.ChangeFontSizeProperty",i.ChartLineToolToolbarChangeLineStyleToDashed="Chart.LineTool.Toolbar.ChangeLineStyleToDashed",i.ChartLineToolToolbarChangeLineStyleToDotted="Chart.LineTool.Toolbar.ChangeLineStyleToDotted",i.ChartLineToolToolbarChangeLineStyleToSolid="Chart.LineTool.Toolbar.ChangeLineStyleToSolid",i.ChartMarksToggleVisibility="Chart.Marks.ToggleVisibility",i.ChartMoveChartInLayout="Chart.MoveChartInLayout",i.ChartMoveChartInLayoutBack="Chart.MoveChartInLayout.Back",i.ChartMoveChartInLayoutForward="Chart.MoveChartInLayout.Forward",i.ChartTpoResetAllMergesAndSplits="Chart.TPO.ResetAllMergesAndSplits",i.ChartTpoSplitBlock="Chart.TPO.SplitBlock",i.ChartTpoMergeBlock="Chart.TPO.MergeBlock",i.ChartObjectTreeShow="Chart.ObjectTree.Show",i.ChartDataWindowShow="Chart.DataWindow.Show",i.ChartPaneControlsDeletePane="Chart.PaneControls.DeletePane",i.ChartPaneControlsMaximizePane="Chart.PaneControls.MaximizePane",i.ChartPaneControlsMinimizePane="Chart.PaneControls.MinimizePane",i.ChartPaneControlsMovePaneDown="Chart.PaneControls.MovePaneDown",i.ChartPaneControlsMovePaneUp="Chart.PaneControls.MovePaneUp",i.ChartPaneControlsCollapsePane="Chart.PaneControls.CollapsePane",i.ChartPaneControlsRestorePane="Chart.PaneControls.RestorePane",i.ChartPriceScaleLabels="Chart.PriceScale.Labels",i.ChartPriceScaleLabelsToggleBidAskLabelsVisibility="Chart.PriceScale.Labels.ToggleBidAskLabelsVisibility",i.ChartPriceScaleLabelsToggleHighLowPriceLabelsVisibility="Chart.PriceScale.Labels.ToggleHighLowPriceLabelsVisibility",i.ChartPriceScaleLabelsToggleAveragePriceLabelVisibility="Chart.PriceScale.Labels.ToggleAveragePriceLabelVisibility",i.ChartPriceScaleLabelsToggleIndicatorsNameLabelsVisibility="Chart.PriceScale.Labels.ToggleIndicatorsNameLabelsVisibility",i.ChartPriceScaleLabelsToggleIndicatorsValueLabelsVisibility="Chart.PriceScale.Labels.ToggleIndicatorsValueLabelsVisibility",i.ChartPriceScaleLabelsTogglePrePostMarketLabelsVisibility="Chart.PriceScale.Labels.TogglePrePostMarketLabelsVisibility",i.ChartPriceScaleLabelsToggleNoOverlappingLabelsVisibility="Chart.PriceScale.Labels.ToggleNoOverlappingLabelsVisibility",i.ChartPriceScaleLabelsToggleSeriesLastValueVisibility="Chart.PriceScale.Labels.ToggleSeriesLastValueVisibility",i.ChartPriceScaleLabelsToggleSymbolNameLabelsVisibility="Chart.PriceScale.Labels.ToggleSymbolNameLabelsVisibility",i.ChartPriceScaleLabelsToggleSymbolPrevCloseValueVisibility="Chart.PriceScale.Labels.ToggleSymbolPrevCloseValueVisibility",i.ChartPriceScaleMergeAllScales="Chart.PriceScale.MergeAllScales",i.ChartPriceScaleMergeAllScalesToLeft="Chart.PriceScale.MergeAllScalesToLeft",i.ChartPriceScaleMergeAllScalesToRight="Chart.PriceScale.MergeAllScalesToRight",i.ChartPriceScaleMoveToLeft="Chart.PriceScale.MoveToLeft",i.ChartPriceScaleMoveToRight="Chart.PriceScale.MoveToRight",i.ChartPriceScaleReset="Chart.PriceScale.Reset",i.ChartPriceScaleToggleAddOrderPlusButtonVisibility="Chart.PriceScale.ToggleAddOrderPlusButtonVisibility",i.ChartPriceScaleToggleAutoScale="Chart.PriceScale.ToggleAutoScale",i.ChartPriceScaleToggleAutoScaleSeriesOnly="Chart.PriceScale.ToggleAutoScaleSeriesOnly",i.ChartPriceScaleToggleCountdownToBarCloseVisibility="Chart.PriceScale.ToggleCountdownToBarCloseVisibility",i.ChartPriceScaleToggleIndexedTo100="Chart.PriceScale.ToggleIndexedTo100",i.ChartPriceScaleToggleInvertScale="Chart.PriceScale.ToggleInvertScale",i.ChartPriceScaleToggleLogarithmic="Chart.PriceScale.ToggleLogarithmic",i.ChartPriceScaleTogglePercentage="Chart.PriceScale.TogglePercentage",i.ChartPriceScaleToggleRegular="Chart.PriceScale.ToggleRegular",i.ChartRedo="Chart.Redo",i.ChartRemoveAllIndicators="Chart.RemoveAllIndicators",i.ChartRemoveAllIndicatorsAndLineTools="Chart.RemoveAllIndicatorsAndLineTools",i.ChartRemoveAllLineTools="Chart.RemoveAllLineTools",i.ChartScalesReset="Chart.Scales.Reset",i.ChartScalesToggleLockPriceToBarRatio="Chart.Scales.ToggleLockPriceToBarRatio",i.ChartScrollToLineTool="Chart.ScrollToLineTool",i.ChartSelectedObjectHide="Chart.SelectedObject.Hide",i.ChartSelectedObjectRemove="Chart.SelectedObject.Remove",i.ChartSelectedObjectShow="Chart.SelectedObject.Show",i.ChartSelectedObjectShowSettingsDialog="Chart.SelectedObject.ShowSettingsDialog",i.ChartSelectedObjectInsertRowTable="Chart.SelectedObject.InsertRowTable",i.ChartSelectedObjectInsertColumnTable="Chart.SelectedObject.InsertColumnTable",i.ChartSelectedObjectRemoveRowTable="Chart.SelectedObject.RemoveRowTable",i.ChartSelectedObjectRemoveColumnTable="Chart.SelectedObject.RemoveColumnTable",i.ChartSelectedObjectToggleLocked="Chart.SelectedObject.ToggleLocked",i.ChartSelectedObjectToggleAnchored="Chart.SelectedObject.ToggleAnchored",i.ChartSeriesPriceScaleToggleAutoScale="Chart.Series.PriceScale.ToggleAutoScale",i.ChartSeriesPriceScaleToggleIndexedTo100="Chart.Series.PriceScale.ToggleIndexedTo100",i.ChartSeriesPriceScaleToggleInvertPriceScale="Chart.Series.PriceScale.ToggleInvertPriceScale",i.ChartSeriesPriceScaleToggleLogarithmic="Chart.Series.PriceScale.ToggleLogarithmic",i.ChartSeriesPriceScaleTogglePercentage="Chart.Series.PriceScale.TogglePercentage",i.ChartSeriesPriceScaleToggleRegular="Chart.Series.PriceScale.ToggleRegular",i.ChartSessionBreaksToggleVisibility="Chart.SessionBreaks.ToggleVisibility",i.ChartSetSession="Chart.SetSession",i.ChartSourceChangePriceScale="Chart.Source.ChangePriceScale",i.ChartSourceMergeDown="Chart.Source.MergeDown",i.ChartSourceMergeUp="Chart.Source.MergeUp",i.ChartSourceMoveToNoScale="Chart.Source.MoveToNoScale",i.ChartSourceMoveToOtherScale="Chart.Source.MoveToOtherScale",i.ChartSourceMoveToPane="Chart.Source.MoveToPane",i.ChartSourceUnmergeDown="Chart.Source.UnmergeDown",i.ChartSourceUnmergeUp="Chart.Source.UnmergeUp",i.ChartSourceVisualOrder="Chart.Source.VisualOrder",i.ChartSourceVisualOrderBringForward="Chart.Source.VisualOrder.BringForward",i.ChartSourceVisualOrderBringToFront="Chart.Source.VisualOrder.BringToFront",i.ChartSourceVisualOrderSendBackward="Chart.Source.VisualOrder.SendBackward",i.ChartSourceVisualOrderSendToBack="Chart.Source.VisualOrder.SendToBack",i.ChartSourceResetInputPoints="Chart.Source.ResetInputPoints",i.ChartOpenTableView="Chart.OpenTableView",i.ChartThemeApply="Chart.Theme.Apply",i.ChartThemeApplyCustom="Chart.Theme.Apply.Custom",i.ChartThemeSaveAs="Chart.Theme.SaveAs",i.ChartTimeScaleReset="Chart.TimeScale.Reset",i.ChartUndo="Chart.Undo",i.ChartShowAllIdeas="Chart.ShowAllIdeas",i.ChartShowIdeasOfFollowedUsers="Chart.ShowIdeasOfFollowedUsers",i.ChartShowMyIdeasOnly="Chart.ShowMyIdeasOnly",i.ChartToggleVisibilityAllLineTools="Chart.ToggleVisibility.AllLineTools",i.ChartToggleVisibilityContinuousContractSwitch="Chart.ToggleVisibility.ContinuousContractSwitch",i.ChartToggleVisibilityContractExpiration="Chart.ToggleVisibility.ContractExpiration",i.ChartToggleVisibilityDividends="Chart.ToggleVisibility.Dividends",i.ChartToggleVisibilityEarnings="Chart.ToggleVisibility.Earnings",i.ChartToggleVisibilityEconomicEvents="Chart.ToggleVisibility.EconomicEvents",i.ChartToggleVisibilitySplits="Chart.ToggleVisibility.Splits",i.ChartToggleVisibilityLatestNewsAndMinds="Chart.ToggleVisibility.LatestNewsAndMinds",i.ChartToggleVisibilityKeyFactsToday="Chart.ToggleVisibility.KeyFactsToday",i.ChartSourceIntervalsVisibility="Chart.Source.IntervalsVisibility",i.ChartSourceIntervalsVisibilityCurrentAndAbove="Chart.Source.IntervalsVisibility.CurrentAndAbove",i.ChartSourceIntervalsVisibilityCurrentAndBelow="Chart.Source.IntervalsVisibility.CurrentAndBelow",i.ChartSourceIntervalsVisibilityOnlyCurrent="Chart.Source.IntervalsVisibility.Current",i.ChartSourceIntervalsVisibilityAll="Chart.Source.IntervalsVisibility.All",i.NoteCreate="Note.Create",i.NoteEdit="Note.Edit",i.NoteRemove="Note.Remove",i.ObjectsTreeCreateGroup="ObjectsTree.CreateGroup",i.ObjectsTreeRemoveItem="ObjectsTree.RemoveItem",i.ObjectsTreeRenameItem="ObjectsTree.RenameItem",i.ObjectsTreeToggleItemLocked="ObjectsTree.ToggleItemLocked",i.ObjectsTreeToggleItemVisibility="ObjectsTree.ToggleItemVisibility",i.PineEditorConsoleCopyMessage="PineEditor.Console.CopyMessage",i.PineEditorConsoleToggleVisibility="PineEditor.Console.ToggleVisibility",i.PineEditorConsoleClear="PineEditor.Console.Clear",i.ScreenerColumnRemove="Screener.Column.Remove",i.ScreenerFilterChange="Screener.Filter.Change",i.ScreenerFilterReset="Screener.Filter.Reset",i.ScreenerToggleVisibilityCurrency="Screener.ToggleVisibility.Currency",i.ScreenerToggleVisibilityDescription="Screener.ToggleVisibility.Description",i.ScreenerToggleVisibilityRating="Screener.ToggleVisibility.Rating",i.ScreenerToggleVisibilitySymbolType="Screener.ToggleVisibility.SymbolType",i.TradingAddOrder="Trading.AddOrder",i.TradingCancelOrder="Trading.CancelOrder",i.TradingClosePosition="Trading.ClosePosition",i.TradingCustomActionId="Trading.CustomActionId",i.TradingDOMPlaceLimitOrder="Trading.DOMPlaceLimitOrder",i.TradingDOMPlaceMarketOrder="Trading.DOMPlaceMarketOrder",i.TradingDOMPlaceStopLimitOrder="Trading.DOMPlaceStopLimitOrder",i.TradingDOMPlaceStopOrder="Trading.DOMPlaceStopOrder",i.TradingEditOrder="Trading.EditOrder",i.TradingModifyPosition="Trading.ModifyPosition",i.TradingReversePosition="Trading.ReversePosition",i.TradingSellBuyButtonsToggleVisibility="Trading.SellBuyButtonsToggleVisibility",i.TradingTradeFromChart="Trading.TradeFromChart",i.TradingNoOverlapMode="Trading.NoOverlapMode",i.TradingShowSelectBrokerPanel="Trading.ShowSelectBrokerPanel",i.TradingOrderTitle="Trading.OrderTitle",i.TradingPositionTitle="Trading.PositionTitle",i.WatchlistActions="Watchlist.Actions",i.WatchlistAddSelectedSymbolsToCompare="Watchlist.AddSelectedSymbolsToCompare ",i.WatchlistAddSymbolToCompare="Watchlist.AddSymbolToCompare",i.WatchlistAddSymbolToSection="Watchlist.AddSymbolToSection",i.WatchlistChangeFlaggedGroupColor="Watchlist.ChangeFlaggedGroupColor",i.WatchlistAddSymbol="Watchlist.AddSymbol",i.WatchlistCreate="Watchlist.Create",i.WatchlistAddSelectedSymbols="Watchlist.AddSelectedSymbols",i.WatchlistAddSelectedSymbolsLists="Watchlist.AddSelectedSymbols.Lists",i.WatchlistGetDisplayedTickerDescription="Watchlist.GetDisplayedTickerDescription",i.WatchlistCreateSection="Watchlist.CreateSection",i.WatchlistFlagSelectedSymbols="Watchlist.FlagSelectedSymbols",i.WatchlistFlagSymbol="Watchlist.FlagSymbol",i.WatchlistOpenSymbolChart="Watchlist.OpenSymbolChart",i.WatchlistOpenSymbolOverview="Watchlist.OpenSymbolOverview",i.WatchlistRemoveSection="Watchlist.RemoveSection",i.WatchlistRemoveSymbol="Watchlist.RemoveSymbol",i.WatchlistRenameSection="Watchlist.RenameSection",i.WatchlistUnflagAllSymbols="Watchlist.UnflagAllSymbols",i.WatchlistUnflagSelectedSymbols="Watchlist.UnflagSelectedSymbols",i.WatchlistUnflagSymbol="Watchlist.UnflagSymbol",function(e){e.extractErrorReason=function(e){return e.params[1]}}(o||(o={})),function(e){e.Default="default",e.FullSingleSession="full_single_session"}(r||(r={})),e.TimeFrameType=void 0,(n=e.TimeFrameType||(e.TimeFrameType={})).PeriodBack="period-back",n.TimeRange="time-range",function(e){e.PeriodBack="period-back",e.TimeRange="time-range"}(a||(a={})),e.MarketStatus=void 0,(s=e.MarketStatus||(e.MarketStatus={})).Open="market",s.Pre="pre_market",s.Post="post_market",s.Close="out_of_session",s.Holiday="holiday",e.MenuItemType=void 0,(l=e.MenuItemType||(e.MenuItemType={})).Separator="separator",l.Action="action",e.ClearMarksMode=void 0,(c=e.ClearMarksMode||(e.ClearMarksMode={}))[c.All=0]="All",c[c.BarMarks=1]="BarMarks",c[c.TimeScaleMarks=2]="TimeScaleMarks",e.LineStudyPlotStyle=void 0,(d=e.LineStudyPlotStyle||(e.LineStudyPlotStyle={}))[d.Line=0]="Line",d[d.Histogram=1]="Histogram",d[d.Cross=3]="Cross",d[d.Area=4]="Area",d[d.Columns=5]="Columns",d[d.Circles=6]="Circles",d[d.LineWithBreaks=7]="LineWithBreaks",d[d.AreaWithBreaks=8]="AreaWithBreaks",d[d.StepLine=9]="StepLine",d[d.StepLineWithDiamonds=10]="StepLineWithDiamonds",d[d.StepLineWithBreaks=11]="StepLineWithBreaks",e.StudyPlotType=void 0,(h=e.StudyPlotType||(e.StudyPlotType={})).Line="line",h.Colorer="colorer",h.BarColorer="bar_colorer",h.BgColorer="bg_colorer",h.TextColorer="text_colorer",h.OhlcColorer="ohlc_colorer",h.CandleWickColorer="wick_colorer",h.CandleBorderColorer="border_colorer",h.UpColorer="up_colorer",h.DownColorer="down_colorer",h.Shapes="shapes",h.Chars="chars",h.Arrows="arrows",h.Data="data",h.DataOffset="dataoffset",h.OhlcOpen="ohlc_open",h.OhlcHigh="ohlc_high",h.OhlcLow="ohlc_low",h.OhlcClose="ohlc_close",function(e){e.AlertCondition="alertcondition"}(g||(g={})),e.StudyPlotDisplayTarget=void 0,(u=e.StudyPlotDisplayTarget||(e.StudyPlotDisplayTarget={}))[u.None=0]="None",u[u.Pane=1]="Pane",u[u.DataWindow=2]="DataWindow",u[u.PriceScale=4]="PriceScale",u[u.StatusLine=8]="StatusLine",u[u.PineScreener=16]="PineScreener",u[u.All=4294967295]="All",function(e){e[e.None=0]="None",e[e.Pane=1]="Pane",e[e.DataWindow=2]="DataWindow",e[e.PriceScale=4]="PriceScale",e[e.StatusLine=8]="StatusLine",e[e.PineScreener=16]="PineScreener",e[e.All=4294967295]="All"}(C||(C={})),e.OhlcStudyPlotStyle=void 0,(p=e.OhlcStudyPlotStyle||(e.OhlcStudyPlotStyle={})).OhlcBars="ohlc_bars",p.OhlcCandles="ohlc_candles",function(e){e.Auto="auto",e.Tiny="tiny",e.Small="small",e.Normal="normal",e.Large="large",e.Huge="huge"}(S||(S={})),e.StudyInputType=void 0,(m=e.StudyInputType||(e.StudyInputType={})).Integer="integer",m.Float="float",m.Price="price",m.Bool="bool",m.Text="text",m.Symbol="symbol",m.Session="session",m.Source="source",m.Resolution="resolution",m.Time="time",m.BarTime="bar_time",m.Color="color",m.Textarea="text_area",function(e){e[e.None=0]="None",e[e.DataWindow=2]="DataWindow",e[e.StatusLine=8]="StatusLine",e[e.All=15]="All"}(y||(y={})),function(e){e.InitialCapital="initial_capital",e.Currency="currency",e.DefaultQTYValue="default_qty_value",e.DefaultQTYType="default_qty_type",e.Pyramiding="pyramiding",e.ComissionValue="commission_value",e.ComissionType="commission_type",e.BacktestFillLimitsAssumtion="backtest_fill_limits_assumption",e.Slippage="slippage",e.CalcOnOrderFills="calc_on_order_fills",e.CalcOnEveryTick="calc_on_every_tick",e.MarginLong="margin_long",e.MarginShort="margin_short",e.UseBarMagnifier="use_bar_magnifier",e.ProcessOrdersOnClose="process_orders_on_close",e.FillOrdersOnStandardOHLC="fill_orders_on_standard_ohlc"}(_||(_={})),function(e){e.Fixed="fixed",e.CashPerOrder="cash_per_order",e.PercentOfEquity="percent_of_equity"}(T||(T={})),function(e){e.Percent="percent",e.CashPerContract="cash_per_contract",e.CashPerOrder="cash_per_order"}(b||(b={})),function(e){e.FirstBar="first_visible_bar_time",e.LastBar="last_visible_bar_time",e.Realtime="subscribeRealtime"}(P||(P={})),function(e){e.FgColor="__chart_fgcolor",e.BgColor="__chart_bgcolor"}(w||(w={})),e.StudyTargetPriceScale=void 0,(L=e.StudyTargetPriceScale||(e.StudyTargetPriceScale={}))[L.Right=0]="Right",L[L.Left=1]="Left",L[L.NoScale=2]="NoScale",function(e){e[e.Right=0]="Right",e[e.Left=1]="Left",e[e.None=2]="None"}(f||(f={})),e.FilledAreaType=void 0,(A=e.FilledAreaType||(e.FilledAreaType={})).TypePlots="plot_plot",A.TypeHlines="hline_hline",function(e){e[e.StopLoss=0]="StopLoss",e[e.TrailingStop=1]="TrailingStop",e[e.GuaranteedStop=2]="GuaranteedStop"}(v||(v={})),function(e){e.Futures="futures",e.Options="options",e.Others="others",e.FutureAndOptions="futureAndOptions"}(I||(I={})),function(e){e.PerContract="contract",e.Fixed="fixed",e.Percent="percent",e.Disabled="disabled"}(O||(O={})),function(e){e.Stocks="stocks",e.Futures="futures",e.Forex="forex",e.Crypto="crypto",e.Others="others"}(R||(R={})),function(e){e.Symbol="symbol"}(D||(D={})),function(e){e[e.Critical=0]="Critical",e[e.Informational=1]="Informational"}(k||(k={})),function(e){e[e.PopUp=0]="PopUp",e[e.Notification=1]="Notification"}(V||(V={})),function(e){e.Quantity="qty",e.OrderSide="side",e.Price="price",e.Duration="duration",e.Brackets="brackets",e.StopLossType="slType"}(F||(F={})),function(e){e[e.CONNECTED=1]="CONNECTED",e[e.CONNECTING=2]="CONNECTING",e[e.DISCONNECTED=3]="DISCONNECTED",e[e.ERROR=4]="ERROR"}(W||(W={})),e.ConnectionStatus=void 0,(E=e.ConnectionStatus||(e.ConnectionStatus={}))[E.Connected=1]="Connected",E[E.Connecting=2]="Connecting",E[E.Disconnected=3]="Disconnected",E[E.Error=4]="Error",function(e){e[e.LIMIT=1]="LIMIT",e[e.MARKET=2]="MARKET",e[e.STOP=3]="STOP",e[e.STOPLIMIT=4]="STOPLIMIT"}(M||(M={})),e.OrderType=void 0,(N=e.OrderType||(e.OrderType={}))[N.Limit=1]="Limit",N[N.Market=2]="Market",N[N.Stop=3]="Stop",N[N.StopLimit=4]="StopLimit",function(e){e[e.BUY=1]="BUY",e[e.SELL=-1]="SELL"}(B||(B={})),e.Side=void 0,(U=e.Side||(e.Side={}))[U.Buy=1]="Buy",U[U.Sell=-1]="Sell",function(e){e[e.CANCELED=1]="CANCELED",e[e.FILLED=2]="FILLED",e[e.INACTIVE=3]="INACTIVE",e[e.PLACING=4]="PLACING",e[e.REJECTED=5]="REJECTED",e[e.WORKING=6]="WORKING"}(x||(x={})),function(e){e[e.ALL=0]="ALL",e[e.CANCELED=1]="CANCELED",e[e.FILLED=2]="FILLED",e[e.INACTIVE=3]="INACTIVE",e[e.REJECTED=5]="REJECTED",e[e.WORKING=6]="WORKING"}(H||(H={})),e.OrderStatus=void 0,(j=e.OrderStatus||(e.OrderStatus={}))[j.Canceled=1]="Canceled",j[j.Filled=2]="Filled",j[j.Inactive=3]="Inactive",j[j.Placing=4]="Placing",j[j.Rejected=5]="Rejected",j[j.Working=6]="Working",e.OrderStatusFilter=void 0,(z=e.OrderStatusFilter||(e.OrderStatusFilter={}))[z.All=0]="All",z[z.Canceled=1]="Canceled",z[z.Filled=2]="Filled",z[z.Inactive=3]="Inactive",z[z.Rejected=5]="Rejected",z[z.Working=6]="Working",function(e){e[e.Order=1]="Order",e[e.Position=2]="Position"}(G||(G={})),function(e){e[e.ORDER=1]="ORDER",e[e.POSITION=2]="POSITION"}($||($={})),e.ParentType=void 0,(q=e.ParentType||(e.ParentType={}))[q.Order=1]="Order",q[q.Position=2]="Position",q[q.IndividualPosition=3]="IndividualPosition",function(e){e[e.StopLoss=0]="StopLoss",e[e.TakeProfit=1]="TakeProfit",e[e.TrailingStop=2]="TrailingStop",e[e.GuaranteedStop=3]="GuaranteedStop"}(J||(J={})),function(e){e[e.LIMITPRICE=1]="LIMITPRICE",e[e.STOPPRICE=2]="STOPPRICE",e[e.TAKEPROFIT=3]="TAKEPROFIT",e[e.STOPLOSS=4]="STOPLOSS"}(K||(K={})),e.OrderTicketFocusControl=void 0,(Z=e.OrderTicketFocusControl||(e.OrderTicketFocusControl={}))[Z.LimitPrice=1]="LimitPrice",Z[Z.StopPrice=2]="StopPrice",Z[Z.TakeProfit=3]="TakeProfit",Z[Z.StopLoss=4]="StopLoss",Z[Z.Quantity=5]="Quantity",function(e){e[e.ERROR=0]="ERROR",e[e.SUCCESS=1]="SUCCESS"}(Q||(Q={})),e.NotificationType=void 0,(Y=e.NotificationType||(e.NotificationType={}))[Y.Error=0]="Error",Y[Y.Success=1]="Success",function(e){e[e.Demo=1]="Demo",e[e.Real=0]="Real"}(X||(X={})),e.OrderOrPositionMessageType=void 0,(ee=e.OrderOrPositionMessageType||(e.OrderOrPositionMessageType={})).Information="information",ee.Warning="warning",ee.Error="error",function(e){e.Demo="demo",e.Live="live"}(te||(te={})),function(e){e[e.LogOut=0]="LogOut",e[e.FailedRestoring=1]="FailedRestoring",e[e.Offline=2]="Offline",e[e.APIError=3]="APIError",e[e.TwoFactorRequired=4]="TwoFactorRequired",e[e.CancelAuthorization=5]="CancelAuthorization",e[e.TimeOutForAuthorization=6]="TimeOutForAuthorization",e[e.OauthError=7]="OauthError",e[e.BrokenConnection=8]="BrokenConnection",e[e.Reconnect=9]="Reconnect",e[e.FailedSignIn=10]="FailedSignIn",e[e.SwitchBroker=11]="SwitchBroker"}(ie||(ie={})),function(e){e[e.None=0]="None",e[e.Pips=1]="Pips",e[e.Ticks=2]="Ticks"}(oe||(oe={})),function(e){e.Halted="HALTED",e.NotShortable="NOT-SHORTABLE",e.HardToBorrow="HARD-TO-BORROW"}(re||(re={})),function(e){e[e.Limit=1]="Limit",e[e.Stop=2]="Stop"}(ne||(ne={})),function(e){e.Disallowed="disallowed",e.Allowed="allowed",e.AllowedWithWarning="allowed_with_warning"}(ae||(ae={})),function(e){e.PlaceOrder="place_order",e.ModifyOrder="modify_order",e.CancelOrder="cancel_order",e.CancelMultipleOrders="cancel_multiple_orders",e.ModifyPosition="modify_position",e.ClosePosition="close_position",e.ModifyIndividualPosition="modify_individual_position",e.CloseIndividualPosition="close_individual_position",e.CloseNetPosition="close_net_position"}(se||(se={})),function(e){e.TakeProfit="take_profit",e.ExitLevels="exit_levels"}(le||(le={})),e.StandardFormatterName=void 0,(ce=e.StandardFormatterName||(e.StandardFormatterName={})).Date="date",ce.DateOrDateTime="dateOrDateTime",ce.Default="default",ce.Fixed="fixed",ce.FixedInCurrency="fixedInCurrency",ce.VariablePrecision="variablePrecision",ce.FormatQuantity="formatQuantity",ce.FormatPrice="formatPrice",ce.FormatPriceForexSup="formatPriceForexSup",ce.FormatExitLevels="formatExitLevels",ce.FormatPriceInCurrency="formatPriceInCurrency",ce.IntegerSeparated="integerSeparated",ce.LocalDate="localDate",ce.LocalDateOrDateTime="localDateOrDateTime",ce.Percentage="percentage",ce.ColoredPercentage="coloredPercentage",ce.Pips="pips",ce.Profit="profit",ce.ProfitInInstrumentCurrency="profitInInstrumentCurrency",ce.ProfitInPercent="profitInPercent",ce.Side="side",ce.PositionSide="positionSide",ce.Status="status",ce.Symbol="symbol",ce.Text="text",ce.Type="type",ce.MarginPercent="marginPercent",ce.Empty="empty",e.OverridePriceAxisLastValueMode=void 0,(de=e.OverridePriceAxisLastValueMode||(e.OverridePriceAxisLastValueMode={}))[de.LastPriceAndPercentageValue=0]="LastPriceAndPercentageValue",de[de.LastValueAccordingToScale=1]="LastValueAccordingToScale",e.OverrideLineStyle=void 0,(he=e.OverrideLineStyle||(e.OverrideLineStyle={}))[he.Solid=0]="Solid",he[he.Dotted=1]="Dotted",he[he.Dashed=2]="Dashed",function(e){e[e.Offline=0]="Offline",e[e.Resolving=1]="Resolving",e[e.Loading=2]="Loading",e[e.Ready=3]="Ready",e[e.InvalidSymbol=4]="InvalidSymbol",e[e.Snapshot=5]="Snapshot",e[e.EOD=6]="EOD",e[e.Pulse=7]="Pulse",e[e.Delayed=8]="Delayed",e[e.DelayedSteaming=9]="DelayedSteaming",e[e.NoBars=10]="NoBars",e[e.Replay=11]="Replay",e[e.Error=12]="Error",e[e.CalculationError=13]="CalculationError",e[e.UnsupportedResolution=14]="UnsupportedResolution"}(ge||(ge={})),function(e){e[e.Markers=0]="Markers",e[e.Stepline=1]="Stepline",e[e.Simple=2]="Simple"}(ue||(ue={})),e.ChartStyle=void 0,(Ce=e.ChartStyle||(e.ChartStyle={}))[Ce.Bar=0]="Bar",Ce[Ce.Candle=1]="Candle",Ce[Ce.Line=2]="Line",Ce[Ce.Area=3]="Area",Ce[Ce.Renko=4]="Renko",Ce[Ce.Kagi=5]="Kagi",Ce[Ce.PnF=6]="PnF",Ce[Ce.LineBreak=7]="LineBreak",Ce[Ce.HeikinAshi=8]="HeikinAshi",Ce[Ce.HollowCandle=9]="HollowCandle",Ce[Ce.Baseline=10]="Baseline",Ce[Ce.Range=11]="Range",Ce[Ce.HiLo=12]="HiLo",Ce[Ce.Column=13]="Column",Ce[Ce.LineWithMarkers=14]="LineWithMarkers",Ce[Ce.Stepline=15]="Stepline",Ce[Ce.HLCArea=16]="HLCArea",Ce[Ce.VolFootprint=17]="VolFootprint",Ce[Ce.TPO=18]="TPO",Ce[Ce.VolCandle=19]="VolCandle",Ce[Ce.SVP=20]="SVP",Ce[Ce.HLCBars=21]="HLCBars",e.TimeHoursFormat=void 0,(pe=e.TimeHoursFormat||(e.TimeHoursFormat={})).TwentyFourHours="24-hours",pe.TwelveHours="12-hours",function(e){e[e.Initial=2]="Initial",e[e.SeriesZOrderIsAlwaysZero=3]="SeriesZOrderIsAlwaysZero",e[e.Current=3]="Current"}(Se||(Se={})),e.PlDisplay=void 0,(me=e.PlDisplay||(e.PlDisplay={}))[me.Money=0]="Money",me[me.Pips=1]="Pips",me[me.Percentage=2]="Percentage",e.TradedGroupHorizontalAlignment=void 0,(ye=e.TradedGroupHorizontalAlignment||(e.TradedGroupHorizontalAlignment={}))[ye.Left=0]="Left",ye[ye.Center=1]="Center",ye[ye.Right=2]="Right",e.PlDisplay.Money,e.PlDisplay.Money,e.TradedGroupHorizontalAlignment.Right,function(e){e[e.Background=0]="Background",e[e.Foreground=1]="Foreground",e[e.Topmost=2]="Topmost"}(_e||(_e={})),function(e){e[e.Unavailable=0]="Unavailable",e[e.AvailableReadonlyAlwaysDisabled=1]="AvailableReadonlyAlwaysDisabled",e[e.AvailableReadonlyAlwaysEnabled=2]="AvailableReadonlyAlwaysEnabled",e[e.Available=3]="Available"}(Te||(Te={})),function(e){e[e.ViewportChangeUserAction=0]="ViewportChangeUserAction",e[e.DataUpdate=1]="DataUpdate",e[e.SeriesRestart=2]="SeriesRestart",e[e.SeriesCompleted=3]="SeriesCompleted",e[e.StudyCreation=4]="StudyCreation"}(be||(be={})),function(e){e[e.Chart=0]="Chart"}(Pe||(Pe={})),e.VisibilityType=void 0,(we=e.VisibilityType||(e.VisibilityType={})).AlwaysOn="alwaysOn",we.VisibleOnMouseOver="visibleOnMouseOver",we.AlwaysOff="alwaysOff",e.PriceScaleMode=void 0,(Le=e.PriceScaleMode||(e.PriceScaleMode={}))[Le.Normal=0]="Normal",Le[Le.Log=1]="Log",Le[Le.Percentage=2]="Percentage",Le[Le.IndexedTo100=3]="IndexedTo100",e.SeriesType=void 0,(fe=e.SeriesType||(e.SeriesType={}))[fe.Bars=0]="Bars",fe[fe.Candles=1]="Candles",fe[fe.Line=2]="Line",fe[fe.Area=3]="Area",fe[fe.HeikenAshi=8]="HeikenAshi",fe[fe.HollowCandles=9]="HollowCandles",fe[fe.Baseline=10]="Baseline",fe[fe.HiLo=12]="HiLo",fe[fe.Column=13]="Column",fe[fe.LineWithMarkers=14]="LineWithMarkers",fe[fe.Stepline=15]="Stepline",fe[fe.HLCArea=16]="HLCArea",fe[fe.VolCandle=19]="VolCandle",fe[fe.HLCBars=21]="HLCBars",fe[fe.Renko=4]="Renko",fe[fe.Kagi=5]="Kagi",fe[fe.PointAndFigure=6]="PointAndFigure",fe[fe.LineBreak=7]="LineBreak",function(e){e.Value="_seriesId"}(Ae||(Ae={})),function(e){e[e.InvalidSymbol=0]="InvalidSymbol",e[e.ReplayUnsupported=1]="ReplayUnsupported",e[e.UnsupportedDepth=2]="UnsupportedDepth",e[e.UnsupportedIntradyReplay=3]="UnsupportedIntradyReplay"}(ve||(ve={})),e.HHistDirection=void 0,(Ie=e.HHistDirection||(e.HHistDirection={})).LeftToRight="left_to_right",Ie.RightToLeft="right_to_left",function(e){e.Relative="relative",e.Absolute="absolute"}(Oe||(Oe={})),function(e){e.UpDown="Up/Down",e.Total="Total",e.Delta="Delta"}(Re||(Re={})),e.MarkLocation=void 0,(De=e.MarkLocation||(e.MarkLocation={})).AboveBar="AboveBar",De.BelowBar="BelowBar",De.Top="Top",De.Bottom="Bottom",De.Right="Right",De.Left="Left",De.Absolute="Absolute",De.AbsoluteUp="AbsoluteUp",De.AbsoluteDown="AbsoluteDown",function(e){e.Left="left",e.Center="center",e.Right="right"}(ke||(ke={})),function(e){e.Top="top",e.Middle="middle",e.Bottom="bottom"}(Ve||(Ve={})),e.LineStyle=void 0,(Fe=e.LineStyle||(e.LineStyle={}))[Fe.Solid=0]="Solid",Fe[Fe.Dotted=1]="Dotted",Fe[Fe.Dashed=2]="Dashed";const Ee={width:800,height:500,interval:"1D",timezone:"Etc/UTC",container:"",library_path:"",locale:"en",widgetbar:{details:!1,watchlist:!1,news:!1,datawindow:!1,watchlist_settings:{default_symbols:[]}},overrides:{"mainSeriesProperties.showCountdown":!1},studies_overrides:{},trading_customization:{position:{},order:{}},brokerConfig:{configFlags:{}},fullscreen:!1,autosize:!1,disabled_features:[],enabled_features:[],debug:!1,logo:{},time_frames:[{text:"5y",resolution:"1W"},{text:"1y",resolution:"1W"},{text:"6m",resolution:"120"},{text:"3m",resolution:"60"},{text:"1m",resolution:"30"},{text:"5d",resolution:"5"},{text:"1d",resolution:"1"}],client_id:"0",user_id:"0",charts_storage_api_version:"1.0",favorites:{intervals:[],chartTypes:[],indicators:[],drawingTools:[]}},Me=JSON.parse('[{"iso":"en","dir":"ltr","language":"en"},{"iso":"en","dir":"ltr","language":"en"},{"iso":"de","dir":"ltr","language":"de"},{"iso":"fr","dir":"ltr","language":"fr"},{"iso":"ca","dir":"ltr","language":"ca_ES"},{"iso":"es","dir":"ltr","language":"es"},{"iso":"it","dir":"ltr","language":"it"},{"iso":"pl","dir":"ltr","language":"pl"},{"iso":"hu","dir":"ltr","language":"hu_HU"},{"iso":"sv","dir":"ltr","language":"sv"},{"iso":"tr","dir":"ltr","language":"tr"},{"iso":"ru","dir":"ltr","language":"ru"},{"iso":"pt","dir":"ltr","language":"pt"},{"iso":"id","dir":"ltr","language":"id_ID"},{"iso":"ms","dir":"ltr","language":"ms_MY"},{"iso":"th","dir":"ltr","language":"th"},{"iso":"vi","dir":"ltr","language":"vi"},{"iso":"ja","dir":"ltr","language":"ja"},{"iso":"ko","dir":"ltr","language":"ko"},{"iso":"zh-Hans","dir":"ltr","language":"zh"},{"iso":"zh-Hant","dir":"ltr","language":"zh_TW"},{"iso":"ar","dir":"rtl","language":"ar"},{"iso":"he","dir":"rtl","language":"he_IL"}]');let Ne=!1;function Be(e){return e||void 0}function Ue(e){for(const i of Array.from(e.querySelectorAll("script[nonce]"))){const e=Be(t(i));if(void 0!==e)return e}}function xe(e){const t=Be(e);return void 0===t?"":` nonce="${i=t,i.replace(/&/g,"&").replace(/"/g,""").replace(//g,">")}"`;var i}function He(e,t){return`