(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[26036],{678800:e=>{e.exports={}},167175:(e,t,r)=>{"use strict";r.d(t,{isAndroid:()=>p,isAnyMobile:()=>w,isBlackBerry:()=>h,isChrome:()=>s,isEdge:()=>c,isFF:()=>l,isIOS:()=>m,isIPad:()=>b,isLinux:()=>u,isMac:()=>d,isOperaMini:()=>f,isSafari:()=>_,isWindows:()=>g,mobiletouch:()=>a,touch:()=>o});const i="undefined"!=typeof window&&"undefined"!=typeof navigator,n=i&&"ontouchstart"in window,a=i&&n&&"onorientationchange"in window,o=i&&(n||!!navigator.maxTouchPoints),s=i&&window.chrome&&window.chrome.runtime,l=i&&window.navigator.userAgent.toLowerCase().indexOf("firefox")>-1,c=i&&/\sEdge\/\d\d\b/.test(navigator.userAgent),_=i&&Boolean(navigator.vendor)&&navigator.vendor.indexOf("Apple")>-1&&-1===navigator.userAgent.indexOf("CriOS")&&-1===navigator.userAgent.indexOf("FxiOS"),d=i&&/mac/i.test(navigator.platform),g=i&&/Win32|Win64/i.test(navigator.platform),u=i&&/Linux/i.test(navigator.platform),p=i&&/Android/i.test(navigator.userAgent),h=i&&/BlackBerry/i.test(navigator.userAgent),m=i&&/iPhone|iPad|iPod/.test(navigator.platform),f=i&&/Opera Mini/i.test(navigator.userAgent),b=i&&("MacIntel"===navigator.platform&&navigator.maxTouchPoints>1||/iPad/.test(navigator.platform)),w=p||h||m||f},651338:(e,t,r)=>{"use strict";r.d(t,{createEmbedWidgetWrapper:()=>p});r(678800);var i=r(650151),n=r(125226),a=r(120780),o=r(201089),s=r(952598);const l=window.WIDGET_SHERIFF_HOST||"https://www.xstaging-widget.tv",c=(0,o.getLogger)("WidgetSheriff.Widget");let _=null;async function d(){return null===_&&(_=await async function(){if(!(0,n.isFeatureEnabled)("widget-sheriff"))return Promise.resolve([]);const e=function(){if(document.location.ancestorOrigins&&document.location.ancestorOrigins.length)return document.location.ancestorOrigins[document.location.ancestorOrigins.length-1];try{return new URL(document.referrer).origin}catch(e){return document.location.origin||null}}();if(null===e)return c.logWarn("ancestorOrigin is undefined"),Promise.resolve([]);const t=new URL("/sheriff/api/v1/rules/search",l);t.searchParams.append("origin",e);return(await(0,a.fetch)(t.toJSON()).then((e=>{if(!e.ok)throw new Error("Guard request error occured");return 204===e.status?Promise.resolve({actions:[]}):e.json()})).catch((e=>(c.logWarn(e.message),Promise.resolve({actions:[]}))))).actions.filter((e=>s.widgetSheriffActions.has(e)))}()),Promise.resolve(_)}var g=r(351079);async function u(e,t,n,a,o={}){var l,c;const _=o.isSheriffDisabled?[]:await d(),u=_.includes(s.KnownAction.LargeTradeLogo),p=function(e){return["crypto-coins-heatmap","forex-cross-rates","market-overview","symbol-overview","market-quotes","stock-heatmap","screener","forex-heat-map","crypto-mkt-screener","events","hotlists"].includes(e)}(t),h=u&&p?"large_trade":void 0,m=await async function(e,t,i,n){if("lentaru"===e){const{getLentaCopyrightData:e}=await Promise.all([r.e(97171),r.e(1523)]).then(r.bind(r,466672));return e()}if("cmoneycomtw"===e){ const{getCmoneycomtwCopyrightData:e}=await Promise.all([r.e(51879),r.e(95933),r.e(42091)]).then(r.bind(r,20922));return e(t,i)}if("new"===n){const{getTradingViewCopyrightData:e}=await Promise.all([r.e(7368),r.e(36228)]).then(r.bind(r,703094));return e(t,i)}if("with_border"===n){const{getTradingViewCopyrightData:e}=await Promise.all([r.e(44949),r.e(37753)]).then(r.bind(r,513316));return e(t,i)}if("large_trade"===n){const{getTradingViewCopyrightData:e}=await Promise.all([r.e(94129),r.e(47259)]).then(r.bind(r,203515));return e(t,i)}{const{getTradingViewCopyrightData:e}=await Promise.all([r.e(51879),r.e(53259)]).then(r.bind(r,88136));return e(t,i)}}(o.customer,o.locale,function(e,t){return e&&e.utm_campaign&&(e.utm_campaign+=`-${t}`),e}(a,"logo"),h),f=null!==(c=null!=h?h:null===(l=o.copyrightOptions)||void 0===l?void 0:l.mode)&&void 0!==c?c:"small_old";(0,i.ensureNotNull)(e).appendChild((0,g.createCopyrightLabel)({sheriffOptions:_,snapToEdge:n,...o.copyrightOptions,...m,mode:f}))}function p(e,t,r,n={}){if(null===e.parentElement)return console.warn("Can not wrap 'elWidgetContainer' because it has no parentElement"),e;let a=null,o=document.querySelector(".js-embed-widget-body");const s=null!==o;if(s){o=(0,i.ensureNotNull)(o),a=(0,i.ensureNotNull)(o.parentElement);let e=document.querySelector(".js-embed-widget-head");null===e&&(e=document.createElement("div"),e.classList.add("tv-embed-widget-wrapper__header"),e.classList.add("js-embed-widget-head"),a.insertBefore(e,o))}else a=document.createElement("div"),a.classList.add("tv-embed-widget-wrapper"),a.innerHTML='
',o=a.querySelector(".js-embed-widget-body");if(n.overflowAuto&&o.classList.add("tv-embed-widget-wrapper__body--overflow_auto"),n.showBorderOnTransparent&&o.classList.add("tv-embed-widget-wrapper__body--border-on-transparent"),!n.isWhiteLabel){u(o,t,!document.documentElement.classList.contains("is-transparent")||Boolean(n.showBorderOnTransparent),r,n)}return s||(e.parentElement.insertBefore(a,e),o.appendChild(e)),e}},125226:(e,t,r)=>{"use strict";var i=r(49437).TVLocalStorage,n=r(707957).Delegate,a=r(855385);r(638456);var o=new n;TradingView.FeatureToggle={force_prefix:"forcefeaturetoggle.",onChanged:new n,enableFeature:function(e){i.setItem(this.force_prefix+e,"true"),o.fire(e)},disableFeature:function(e){i.setItem(this.force_prefix+e,"false"),o.fire(e)},resetFeature:function(e){i.removeItem(this.force_prefix+e),o.fire(e)},onFeaturesStateChanged:function(){return o}},TradingView.isFeatureEnabled=function(e){var t="featuretoggle_seed";function n(e){try{var r=a(e+function(){if(window.user&&window.user.id)return window.user.id;var e=i.getItem(t);return null!==e||(e=Math.floor(1e6*Math.random()),i.setItem(t,e)),e}());return new DataView(r).getUint32(0,!0)/4294967296}catch(e){return.5}}function s(t){return!("local"!==window.environment||!function(e){ var t=["skip_navigation_on_chart","tick_intervals","broker_TRADESTATION","broker_TRADOVATE_dev","black_friday_mainpage","black_friday_popup","datawindow","trading-fast-renew-oauth-token","switching_year_to_month_disabled","default_year_billing_cycle_switcher","marketing-analytics","visible_address_fields_by_default","slow-support-warning","hide-trading-floating-toolbar","save-short-streams","details_disable_bid_ask","vat_disabled","pro_plan_upgrades_disabled","pro_plan_downgrades_disabled","disable_recaptcha_on_signup","braintree-gopro-in-order-dialog","braintree-apple-pay","braintree-google-pay-uk","braintree-apple-pay-trial","braintree-google-pay-trial-uk","braintree-3ds-enabled","remove_order_ticket_cancel_button","trial_increased_monthly_discounts","razorpay-card-tvcoins","razorpay-card-subscriptions","razorpay-upi-tvcoins","razorpay-upi-subscriptions","razorpay-use-recurring-billing-scheduler","dlocal-payments","hide_gopro_popup_upgrade_button","tradestation_use_sync_mapper","broker_id_session","disable_retry_load_linetools_from_storage","modular_broker_use_sync_mapper","do_not_save_shared_line_tools_to_charts","save_shared_line_tools","multichart_replay","oanda-european-accounts-warning","mobile_show_bottom_panel","disable_save_settings","weighted_time_points","ignore_mobile_apps_distinguish_pro_full_name","desktop_version_notification_enabled","favorites-in-broker-dropdown","enable_toggle_streams_rtmp_url","hide_ecomonic_events","mobile_trading_web","mobile_trading_ios","mobile_trading_android","hide_real_brokers_on_mobile","disable_tradestation_country_block","enable_trading_server_logger","hide_ranges_label_colors","disable_user_specific_encryption","minds_widget_enabled","self-replacing-advanced-chart-widget","disable_pushstream_connections_for_anonymous_users","use_staging_verifier","ally_use_new_sso_url","ibkr_use_new_init_session_api","enable_eventsource_pushstream_transport","enable_eventsource_pushstream_mobile","ftx_request_server_logger","ibkr_request_server_logger","disallow_concurrent_sessions","check_ibkr_side_maintenance","tradestation_request_server_logger","trading_request_server_logger","hide_tweet_drawingtool","RU_SF_disable","RU_VOR_disable","enable_monaco_editor","enable_import_inlay_hints","enable_pine_editor_status_bar","enable_pine_logs","enable_new_custom_public_chats","bottom_panel_track_events","ibkr_ws_account_summary","continuous_front_contract_trading","vertex-tax-included","enable_traded_context_linking","show_data_problems_in_help_center","chart_storage_hibernation_delay_60min","chart_storage_hibernation_delay_10min","chart_storage_hibernation_delay_5min","force_disable_jsx_menu_items_rendering","widget-sheriff","enable_sign_in_popup_with_evercookie","start_replay_right_after_point_selection","switching_raf_toast","order_type_specific_settings_saving","enable_share_idea_via_twitter","hide_position_trade_value","paper_force_connect_pushstream","alerts-widgets-use-facade","alerts-editor-use-facade","alerts-facade-use-permission-proxy","alerts-use-toasts-for-notifications","alerts-use-pricealerts-pushstream-for-notifications","alerts-use-pricealerts-pushstream-for-support-dialog","alerts-do-not-send-pine-facade-data","forexcom_session_v2","new_idea_publish_page","new_script_publish_page","fxcm_fcl_server_logger","minds_comments_enable_for_free_users","fxcm_trailing_stop_bracket","mock_tweet_data_for_tests","replay_result_sharing","ibkr_ws_server_logger","hide_left_right_arrow_tools","options_strategy_analyzer_tab","options_strategy_details","options_strategy_dialog","ibkr_subscribe_to_order_updates_first","rest_logout_on_429","ibkr_ws_account_ledger","force_max_allowed_pulling_intervals","fxcm_password_authorization_type","ibkr_disable_ws_connect_timeout","oanda_rest_api","launch-oanda-country-group-1","launch-oanda-country-group-2","launch-oanda-country-group-3","news_enable_streaming","cqg-realtime-bandwidth-limit"],r="[A-Z]+[a-zA-Z0-9_]+",i=new RegExp(`broker_${r}_dev`,"g"),n=new RegExp(`hide_${r}_on_ios`,"g"),a=new RegExp(`hide_${r}_on_android`,"g"),o=new RegExp(`hide_${r}_on_mobile_web`,"g") ;return-1===t.indexOf(e)&&-1===e.indexOf("-maintenance")&&!1===i.test(e)&&!1===n.test(e)&&!1===a.test(e)&&!1===o.test(e)}(t))||(!e[t]||-1!==e[t])&&(!!("true"===i.getItem(TradingView.FeatureToggle.force_prefix+t)||window.is_authenticated&&"undefined"!=typeof user&&user.settings&&"true"===user.settings[TradingView.FeatureToggle.force_prefix+t])||!("false"===i.getItem(TradingView.FeatureToggle.force_prefix+t)||window.is_authenticated&&"undefined"!=typeof user&&user.settings&&"false"===user.settings[TradingView.FeatureToggle.force_prefix+t])&&(!!e[t]&&(1===e[t]||n(t)<=e[t])))}return TradingView.onWidget()||Promise.all([r.e(55404),r.e(1867),r.e(34604)]).then(r.bind(r,501867)).then((t=>{t.pushStreamMultiplexer.on("featuretoggle",(function(t){var r=s(t.name);e[t.name]=t.state,r!==s(t.name)&&o.fire(t.name)}))})),s}(window.featureToggleState||{}),TradingView.FeatureToggle,t.isFeatureEnabled=TradingView.isFeatureEnabled,TradingView.FeatureToggle.onFeaturesStateChanged.bind(TradingView.FeatureToggle)},49437:(e,t,r)=>{"use strict";const{getLogger:i}=r(201089),n=i("TVLocalStorage");var a=function(){try{this.isAvailable=!0,this.localStorage=window.localStorage,this.localStorage.setItem("tvlocalstorage.available","true")}catch(e){delete this.isAvailable,delete this.localStorage}this._updateLength();try{this._report()}catch(e){}};a.prototype._report=function(){if(this.isAvailable){const e=10,t=[];for(let e=0;e