(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[93308],{63030:e=>{e.exports={}},167175:(e,t,o)=>{"use strict";o.d(t,{isAndroid:()=>p,isAnyMobile:()=>v,isBlackBerry:()=>g,isChrome:()=>a,isEdge:()=>c,isFF:()=>l,isIOS:()=>m,isIPad:()=>w,isLinux:()=>_,isMac:()=>u,isOperaMini:()=>f,isSafari:()=>d,isWindows:()=>h,mobiletouch:()=>s,touch:()=>r});const i="undefined"!=typeof window&&"undefined"!=typeof navigator,n=i&&"ontouchstart"in window,s=i&&n&&"onorientationchange"in window,r=i&&(n||!!navigator.maxTouchPoints),a=i&&window.chrome&&window.chrome.runtime,l=i&&window.navigator.userAgent.toLowerCase().indexOf("firefox")>-1,c=i&&/\sEdge\/\d\d\b/.test(navigator.userAgent),d=i&&Boolean(navigator.vendor)&&navigator.vendor.indexOf("Apple")>-1&&-1===navigator.userAgent.indexOf("CriOS")&&-1===navigator.userAgent.indexOf("FxiOS"),u=i&&/mac/i.test(navigator.platform),h=i&&/Win32|Win64/i.test(navigator.platform),_=i&&/Linux/i.test(navigator.platform),p=i&&/Android/i.test(navigator.userAgent),g=i&&/BlackBerry/i.test(navigator.userAgent),m=i&&/iPhone|iPad|iPod/.test(navigator.platform),f=i&&/Opera Mini/i.test(navigator.userAgent),w=i&&("MacIntel"===navigator.platform&&navigator.maxTouchPoints>1||/iPad/.test(navigator.platform)),v=p||g||m||f},581996:(e,t,o)=>{"use strict";o.d(t,{ResizerDetacherState:()=>s});var i=o(650151),n=o(401580);class s{constructor(e){this._alive=new n.WatchedValue,this._container=new n.WatchedValue,this._width=new n.WatchedValue,this._height=new n.WatchedValue,this._fullscreen=new n.WatchedValue,this._detachable=new n.WatchedValue,this._fullscreenable=new n.WatchedValue,this._visible=new n.WatchedValue,this._availWidth=new n.WatchedValue,this._availHeight=new n.WatchedValue,this._owner=new n.WatchedValue,this._ownersStack=[],this.owner=this._owner.readonly(),this._bridge={alive:this._alive.readonly(),container:this._container.readonly(),width:this._width.readonly(),height:this._height.readonly(),fullscreen:this._fullscreen.readonly(),detachable:this._detachable.readonly(),fullscreenable:this._fullscreenable.readonly(),visible:this._visible.readonly(),availWidth:this._availWidth.readonly(),availHeight:this._availHeight.readonly(),remove:()=>{const e=this._owner.value();e&&e.remove&&e.remove()},negotiateWidth:e=>{const t=this._owner.value();t&&t.negotiateWidth&&t.negotiateWidth(e)},negotiateHeight:e=>{const t=this._owner.value();t&&t.negotiateHeight&&t.negotiateHeight(e)},requestFullscreen:()=>{const e=this._owner.value();e&&e.requestFullscreen&&e.requestFullscreen()},exitFullscreen:()=>{const e=this._owner.value();e&&e.exitFullscreen&&e.exitFullscreen()},detach:e=>{const t=this._owner.value();t&&t.detach&&t.detach(e)},attach:()=>{const e=this._owner.value();e&&e.attach&&e.attach()}},e&&this.pushOwner(e)}bridge(){return this._bridge}pushOwner(e){if(!e.alive.value())return;for(const e of this._ownersStack)this._unsubscribeOwner(e);const t={owner:e};this._ownersStack.push(t),this._subscribeOwner(t)}_subscribeOwner(e){const t=e.owner;if(e.deathWatcher||(this._alive.setValue(!0), e.deathWatcher=t.alive.spawn(),e.deathWatcher.subscribe((t=>{t||this._deadHandler(e)}))),this._owner.setValue(t),!e.subscriptions){const o=e.subscriptions=[];this._visible.setValue(!1);const i=(e,t)=>{if(e){const i=e.spawn();o.push(i),i.subscribe((e=>{t.setValue(e)}),{callWithLast:!0})}else t.deleteValue()};i(t.container,this._container),i(t.width,this._width),i(t.height,this._height),i(t.fullscreen,this._fullscreen),i(t.detachable,this._detachable),i(t.fullscreenable,this._fullscreenable),i(t.availWidth,this._availWidth),i(t.availHeight,this._availHeight),i(t.visible,this._visible)}}_unsubscribeOwner(e,t){if(e.subscriptions){for(const t of e.subscriptions)t.unsubscribe();e.subscriptions=null}t&&e.deathWatcher&&(e.deathWatcher.unsubscribe(),e.deathWatcher=null)}_deadHandler(e){const t=this._ownersStack.indexOf(e);(0,i.assert)(-1!==t,"sanitized owner should be in stack");for(let e=this._ownersStack.length-1;e>=t;e--)this._unsubscribeOwner(this._ownersStack[e],!0);this._ownersStack.length=t,t>0?this._subscribeOwner(this._ownersStack[t-1]):(this._alive.setValue(!1),this._owner.deleteValue())}}},554433:(e,t,o)=>{"use strict";o.d(t,{VisibilityApi:()=>n});var i=o(401580);class n{constructor(e){let t;this.isVisible=new i.WatchedValue(!0);let o=null;for(const i of["","moz","ms","webkit"]){const n=i?`${i}Hidden`:"hidden";if(n in e){t=`${i}visibilitychange`,o=()=>{this.isVisible.setValue(!e[n])},o(),e.addEventListener(t,o,!1);break}}this.destroy=()=>{o&&(e.removeEventListener(t,o,!1),o=null)}}}},572570:(e,t,o)=>{"use strict";function i(e){if(null!=e&&"boolean"!=typeof e&&!isNaN(Number(e)))return Number(e)}function n(e){if(null!=e&&"number"!=typeof e&&"boolean"!=typeof e)return String(e)}o.d(t,{toNumberOrUndefined:()=>i,toStringOrUndefined:()=>n})},719240:(e,t,o)=>{"use strict";o.d(t,{DataModeIndicator:()=>l});var i=o(444372),n=(o(586463),o(310085),o(780792));const s={connecting:"tv-data-mode--connecting",delayed:"tv-data-mode--delayed",delayed_streaming:"tv-data-mode--delayed",endofday:"tv-data-mode--endofday",forbidden:"tv-data-mode--forbidden",realtime:"tv-data-mode--realtime",snapshot:"tv-data-mode--snapshot",loading:"tv-data-mode--loading",replay:"tv-data-mode--replay"};function r(){return{connecting:i.t(null,{context:"data_mode_connecting_letter"},o(52587)),delayed:i.t(null,{context:"data_mode_delayed_letter"},o(469219)),delayed_streaming:i.t(null,{context:"data_mode_delayed_streaming_letter"},o(426211)),endofday:i.t(null,{context:"data_mode_end_of_day_letter"},o(960582)),forbidden:i.t(null,{context:"data_mode_forbidden_letter"},o(957357)),realtime:i.t(null,{context:"data_mode_realtime_letter"},o(647310)),snapshot:i.t(null,{context:"data_mode_snapshot_letter"},o(87817)),loading:"",replay:i.t(null,{context:"data_mode_replay_letter"},o(214485))}}const a={streaming:"realtime"};class l extends n.AbstractIndicator{constructor(e){super(e),this._quoteSessionPrefix="data-mode-indicator",this._componentClass="tv-data-mode",this._init(e)}getLabel(){return!0===this._shortMode?this._shortLabelMap[this._value]||"":super.getLabel()} setMode(e,t){this.update({values:{update_mode:e,update_mode_seconds:t}})}hide(){this._el.classList.add("i-hidden")}show(){this._el.classList.remove("i-hidden")}getTooltipText(){let e="";const t=this.getValue();if(""===t)return e;switch(t){case"delayed":e=i.t(null,void 0,o(728332));break;case"delayed_streaming":e=i.t(null,void 0,o(887267));break;default:e=this._labelMap[t]||e}return["delayed","delayed_streaming"].includes(t)&&(e=e.format({number:String(Math.round(this._modeInterval/60))})),e}_init(e={}){const t=Object.assign({},{classMap:s,classSuffix:"",data:{values:{update_mode:"connecting"}},labelMap:{connecting:i.t(null,void 0,o(413859)),delayed:i.t(null,void 0,o(78211)),delayed_streaming:i.t(null,void 0,o(78211)),endofday:i.t(null,void 0,o(132023)),forbidden:i.t(null,void 0,o(113439)),realtime:i.t(null,void 0,o(906530)),snapshot:i.t(null,void 0,o(502927)),loading:"",replay:i.t(null,void 0,o(688506))},modeInterval:600,short:!1,shortLabelMap:r(),showTooltip:!0,tooltipType:"custom"},e);this._modeInterval=t.modeInterval||600,this._shortLabelMap=t.shortLabelMap||r(),super._init(t),this._render()}_getValueFromData(e){let t;return t=void 0!==e.values&&void 0!==e.values.update_mode?e.values.update_mode:this.getValue(),a[t]||t}_updateValue(e,t){void 0!==e.values&&void 0!==e.values.update_mode_seconds&&(this._modeInterval=e.values.update_mode_seconds),super._updateValue(e,t)}}},600303:(e,t,o)=>{"use strict";o.d(t,{MarketStatusIndicator:()=>a});var i=o(444372),n=(o(63030),o(780792));const s={invalid:"tv-market-status--invalid",market:"tv-market-status--market",out_of_session:"tv-market-status--out-of-session",post_market:"tv-market-status--post-market",pre_market:"tv-market-status--pre-market",loading:"tv-market-status--loading",holiday:"tv-market-status--holiday",replay:"tv-market-status--replay",delisted:"tv-market-status--delisted"},r={invalid:"tv-market-status__icon--invalid",market:"tv-market-status__icon--market",out_of_session:"tv-market-status__icon--out-of-session",post_market:"tv-market-status__icon--post-market",pre_market:"tv-market-status__icon--pre-market",loading:"tv-market-status__icon--loading",holiday:"tv-market-status__icon--holiday",replay:"tv-market-status__icon--replay",delisted:"tv-market-status__icon--delisted"};class a extends n.AbstractIndicator{constructor(e){super(e),this._quoteSessionPrefix="market-status-indicator",this._componentClass="tv-market-status",this._extraTitle="",this._init(e)}setStatus(e,t){const o={values:{current_session:"delisted"===this.getValue()?"delisted":e}};this.update(o,t)}getTooltipText(){let e=super.getTooltipText();return""===e||""!==this._extraTitle&&(e=`${e}, ${this._extraTitle}`),e}setExtraTitle(e){this._extraTitle=e}reset(){this._clearClasses(),this._labelEl.textContent="",this._extraTitle="",this._el.setAttribute("title",""),this._value=""}enableShortMode(e=!0){void 0!==this._labelEl&&this._labelEl.classList.add("i-hidden"),super.enableShortMode()}disableShortMode(){void 0!==this._labelEl&&this._labelEl.classList.remove("i-hidden"),super.disableShortMode()} _renderLabel(){this._labelEl.textContent=this.getLabel()}_getValueFromData(e){var t,o,i;return(null===(o=null===(t=e.values)||void 0===t?void 0:t.typespecs)||void 0===o?void 0:o.includes("discontinued"))?"delisted":void 0!==(null===(i=e.values)||void 0===i?void 0:i.current_session)?e.values.current_session:this.getValue()}_render(){this._renderLabelElement(),this._sessionStatusIcon?this._renderIconElement():this._renderDotElement(),super._render()}_init(e){const t=Object.assign({},function(){const e={invalid:i.t(null,void 0,o(132619)),market:i.t(null,void 0,o(383949)),out_of_session:i.t(null,void 0,o(895814)),post_market:i.t(null,void 0,o(429985)),pre_market:i.t(null,void 0,o(356042)),loading:i.t(null,void 0,o(25911)),holiday:i.t(null,void 0,o(988958)),delisted:i.t(null,void 0,o(389905)),replay:""};return{classMap:s,iconClassMap:r,classSuffix:"",data:{},extraTitle:"",labelMap:e,short:!1,showTooltip:!0,tooltipType:"custom"}}(),e);super._init(t),this.setExtraTitle(t.extraTitle),this._render()}_renderLabelElement(){void 0===this._labelEl&&(this._labelEl=document.createElement("span"),this._labelEl.classList.add(`${this._componentClass}__label`),this._labelEl.classList.add(`${this._componentClass}__label${this._classSuffix}`),this._el.appendChild(this._labelEl))}_renderDotElement(){this._el.contains(this._iconEl)&&this._el.removeChild(this._iconEl),void 0===this._dotEl&&(this._dotEl=document.createElement("span"),this._dotEl.classList.add(`${this._componentClass}__dot`),this._dotEl.classList.add(`${this._componentClass}__dot${this._classSuffix}`),this._el.appendChild(this._dotEl))}_renderIconElement(){this._el.contains(this._dotEl)&&this._el.removeChild(this._dotEl),void 0===this._iconEl&&this._value&&(this._iconEl=document.createElement("span"),this._iconEl.classList.add(`${this._componentClass}__icon`),this._iconEl.classList.add(`${this._componentClass}__icon${this._classSuffix}`),this._el.appendChild(this._iconEl))}}},719718:(e,t,o)=>{"use strict";o.d(t,{adwordsAnalyticsEnabled:()=>r,createImage:()=>n,marketingAnalyticsEnabled:()=>s});var i=o(125226);function n(e){const t=document.createElement("img");return t.src=e,t}function s(){return(0,i.isFeatureEnabled)("marketing-analytics")}function r(){return(0,i.isFeatureEnabled)("adwords-analytics")}},384295:(e,t,o)=>{"use strict";o.d(t,{CmEvent:()=>i,trackCmEvent:()=>r});var i,n=o(719718);!function(e){e.PageView="visit",e.RegistrationCompleted="signup",e.TrialSignUp="trial",e.PaidPlanAcquired="psub"}(i||(i={}));const s=(e,t)=>`https://ad.doubleclick.net/ddm/activity/src=13919399;type=${e===i.PaidPlanAcquired?"wsales":"wcount"};cat=${e};${t?`cost=${t};`:""}u27=${function(e="_sp_"){const t=new RegExp(e+"id\\.[a-f0-9]+=([^;]+);?"),o=document.cookie.match(t);return o&&o[1]?o[1].split(".")[0]:""}()};u28=${window.user.id};dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;ord=${1e3*Math.random()}?`;function r(e,t){(0,n.createImage)(s(e,t))}},641261:(e,t,o)=>{"use strict";o.d(t,{GTagEvent:()=>u,trackGTagAdsEvent:()=>_}) ;var i=o(251954),n=o(261030),s=o(314802),r=o(638456),a=o(588948),l=o(691805),c=o(719718);let d=!1;var u;function h(){d||!(0,c.adwordsAnalyticsEnabled)()||(0,s.isOnMobileAppPage)("any")||r.CheckMobile.iOS()||((0,a.updateInitData)(),(0,a.getInitData)().gadwId&&(d=!0,(0,l.appendScript)(`https://www.googletagmanager.com/gtag/js?id=${(0,a.getInitData)().gadwId}`),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("consent","default",{ad_storage:(0,n.getCookieSetting)(n.CookieSettings.Advertising)?"granted":"denied"}),window.gtag("config",(0,a.getInitData)().gadwId),i.subscribe(n.cookieSettingsChangeEvent,((e,t)=>{e===n.CookieSettings.Advertising&&window.gtag("consent","update",{ad_storage:t?"granted":"denied"})}),null)))}function _(e,t={}){if(h(),!d)return;const o=(0,a.getInitData)().gadwId;window.gtag("event","conversion",{send_to:`${o}/${e}`,user_id:window.user.id,...t})}!function(e){e.PageView="kwnRCP6AwqsBEOTvvuED",e.TrialSignUp="6_gCCOyejsACEK3sq6gB",e.RegistrationCompleted="JzYhCIOr578CEK3sq6gB",e.PaidPlanAcquired="ca8iCNrG578CEK3sq6gB"}(u||(u={}))},665343:(e,t,o)=>{"use strict";o.d(t,{TwitterEvent:()=>i,trackTwitterEvent:()=>r});var i,n=o(719718),s=o(261030);!function(e){e.SiteVisit="o2eg2",e.TrialSignUp="o1wjo",e.RegistrationCompleted="o1wjq",e.PaidPlanAcquired="o1wjr"}(i||(i={}));function r(e){(0,n.marketingAnalyticsEnabled)()&&(0,s.getCookieSetting)(s.CookieSettings.Analytics)&&(e=>[`https://analytics.twitter.com/i/adsct?txn_id=${e}&p_id=Twitter&tw_sale_amount=0&tw_order_quantity=0`,`https://t.co/i/adsct?txn_id=${e}&p_id=Twitter&tw_sale_amount=0&tw_order_quantity=0"`])(e).map(n.createImage)}},691805:(e,t,o)=>{"use strict";o.d(t,{appendScript:()=>n});var i=o(503031);function n(e){const t=document.createElement("script");t.async=!0,t.src=e;const o=(0,i.getCspNonce)();return o&&t.setAttribute("nonce",o),document.head.appendChild(t),t}},503031:(e,t,o)=>{"use strict";function i(){const e=document.querySelector("script[nonce]");if(null!==e)return e.getAttribute("nonce")||e.nonce}o.d(t,{getCspNonce:()=>i})},66974:(e,t,o)=>{"use strict";o.r(t),o.d(t,{environment:()=>s,getEnvironmentByHost:()=>n,isDebug:()=>l,isLocal:()=>r,isProd:()=>a});const i=new Set(["battle","staging","test","local"]);function n(e){return-1!==["i18n.tradingview.com","partial.tradingview.com","www.tradingview.com","wwwcn.tradingview.com"].indexOf(e)||-1!==["d33t3vvu2t2yu5.cloudfront.net","dwq4do82y8xi7.cloudfront.net","s.tradingview.com","s3.tradingview.com"].indexOf(e)||e.match(/^[a-z]{2}\.tradingview\.com/)||e.match(/prod-[^.]+.tradingview.com/)?"battle":e.includes("tradingview.com")||e.includes("staging")?"staging":"local"}function s(){const e=self.environment;return function(e){i.has(e)||console.warn("Invalid environment "+e)}(e),e}function r(){return"local"===s()}function a(){return"battle"===s()}function l(){return!a()}},152592:(e,t,o)=>{"use strict";o.d(t,{isMcxQuoteData:()=>s});var i=o(416234);function n(e){return e===i.SymbolGroup.McxFlag}function s(e){var t ;return!!e&&(n(e.symbolname)||"permission_denied"===e.status&&n(null===(t=e.values)||void 0===t?void 0:t.alternative))}},40763:(e,t,o)=>{"use strict";function i(e){return e.endsWith("_dly")}function n(e){return!!e&&(!(void 0===e.symbolname||!i(e.symbolname))||Boolean("permission_denied"===e.status&&e.values&&void 0!==e.values.alternative&&i(e.values.alternative)))}o.d(t,{isSfQuoteData:()=>n})},778016:(e,t,o)=>{"use strict";o.d(t,{canUpgradePlan:()=>p,enabled:()=>a,getConfig:()=>_,getExpertPlansWithFeature:()=>u,getProPlansWithFeature:()=>c});var i=o(650151),n=o(409352),s=o(102710),r=o(255453);function a(e,t,o){let i=window.user;o&&(i=o);const n=_(e,t,i);return!!n&&!(n.disable_on_trial&&(!i||i.is_trial))}const l={free:"free",pro:"pro",pro_trial:"pro_trial",pro_realtime:"pro_realtime",pro_realtime_trial:"pro_realtime_trial",pro_premium:"pro_premium",pro_premium_trial:"pro_premium_trial"};function c(e){return Object.values(l).filter((t=>{const o=_(e,(0,r.getProductForTrial)(t));return o&&!((0,r.isTrialProduct)(t)&&o.disable_on_trial)}))}const d={pro_expert:"pro_expert",pro_realtime_expert:"pro_realtime_expert",pro_premium_expert:"pro_premium_expert"};function u(e){return Object.values(d).filter((t=>{const o=_(e,t);return o&&!((0,r.isTrialProduct)(t)&&o.disable_on_trial)}))}function h(e){const t=n[e];return t?t.extends?Object.assign({},h(t.extends),t):t:null}function _(e,t,o){var i,n;let a=h(t||(null!==(i=function(e){let t=window.user;"undefined"!=typeof window&&window.user&&(t=window.user),e&&(t=e);let o=(null==t?void 0:t.pro_plan)||"free";const i="free"!==o&&!(0,r.isTrialProduct)(o);return i||(o=(0,r.getProductForTrial)(o)),i&&t&&!t.new_pro_product_line&&(o=`__legacy_${o}`),o}(o))&&void 0!==i?i:""));if(!a)return null;const l=null===(n=window.TradingView)||void 0===n?void 0:n.widgetCustomer;return l&&s[l]&&(a=Object.assign({},a,s[l])),a&&a[e]||null}function p(){var e,t,o,n;const s=null!==(t=null===(e=_("BACKEND_CONNECTIONS"))||void 0===e?void 0:e.limit)&&void 0!==t?t:0,r=(0,i.ensureDefined)(window.pro),a=r.getProductsByType(r.PRODUCT_TYPES.pro_plan);for(const e of a)if((null!==(n=null===(o=_("BACKEND_CONNECTIONS",(0,i.ensureDefined)(e.id)))||void 0===o?void 0:o.limit)&&void 0!==n?n:0)>s)return!0;return!1}},125226:(e,t,o)=>{"use strict";var i=o(49437).TVLocalStorage,n=o(707957).Delegate,s=o(855385);o(638456);var r=new n;TradingView.FeatureToggle={force_prefix:"forcefeaturetoggle.",onChanged:new n,enableFeature:function(e){i.setItem(this.force_prefix+e,"true"),r.fire(e)},disableFeature:function(e){i.setItem(this.force_prefix+e,"false"),r.fire(e)},resetFeature:function(e){i.removeItem(this.force_prefix+e),r.fire(e)},onFeaturesStateChanged:function(){return r}},TradingView.isFeatureEnabled=function(e){var t="featuretoggle_seed";function n(e){try{var o=s(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(o).getUint32(0,!0)/4294967296}catch(e){return.5}}function a(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","disable_recaptcha_on_signup","braintree-gopro-in-order-dialog","braintree-apple-pay","braintree-google-pay","braintree-apple-pay-trial","braintree-google-pay-trial","braintree-3ds-enabled","remove_order_ticket_cancel_button","trial_increased_monthly_discounts","checkout-tvcoins","checkout-3ds","checkout-subscriptions","razorpay-card-tvcoins","razorpay-card-subscriptions","razorpay-upi-tvcoins","razorpay-upi-subscriptions","dlocal-payments","hide_gopro_popup_upgrade_button","tradestation_use_sync_mapper","broker_id_session","modular_broker_use_sync_mapper","multichart_replay","oanda-european-accounts-warning","mobile_show_bottom_panel","disable_save_settings","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-calendar-advanced-chart-widget","disable-lse-data-screener-heatmap-widgets","paper_competition_banner","paper_competition_started_dialog","disable_pushstream_connections_for_anonymous_users","use_staging_verifier","account_verifier_maintenance","ibkr_use_new_init_session_api","tradestation_account_data_streaming","enable_eventsource_pushstream_transport","enable_eventsource_pushstream_mobile","performance_test_mode","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","enable_diff_decorations","disable_pine_v4","enable_profiler","pine_logs_in_detach","editor_new_save","editor_new_save_only","hide_find_in_header","new_version_flow","enable_new_custom_public_chats","bottom_panel_track_events","ibkr_ws_account_summary","continuous_front_contract_trading","vertex-tax-included","enable_traded_context_linking","order_context_validation_in_instant_mode","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","hide_dom","enable_sign_in_popup_with_evercookie","start_replay_right_after_point_selection","switching_raf_toast","new_order_size_calculator","order_type_specific_settings_saving","hide_position_trade_value","paper_force_connect_pushstream","use_broker_logos_from_single_source","alerts-start-christmas","alerts-use-http-caching","forexcom_session_v2","fxcm_server_logger","minds_comments_enable_for_free_users","fxcm_trailing_stop_bracket","mock_tweet_data_for_tests","replay_result_sharing","ibkr_ws_server_logger","options_strategy_analyzer_tab","options_details_widget","options_overlay","options_product_page","options_exchange_nse","options_exchange_cme","options_exchange_cbot","options_exchange_comex","options_exchange_nymex","options_exchange_bse","options_exchange_opra","ibkr_subscribe_to_order_updates_first","rest_logout_on_429","amp_oauth_authorization","blueline_oauth_authorization","dorman_oauth_authorization","cqg_oauth_authorization","ironbeam_oauth_authorization","optimus_oauth_authorization","stonex_oauth_authorization","tickmill_oauth_authorization","ibkr_ws_account_ledger","force_max_allowed_pulling_intervals","fxcm_password_authorization_type","change_password_suggestion_popup","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","news_screener_page_client","news_enable_streaming_hibernation","news_streaming_hibernation_delay_60min","news_streaming_hibernation_delay_10min","news_streaming_hibernation_delay_5min","replay_trading_brackets","cqg-realtime-bandwidth-limit","cityindex_spreadbetting","paper_use_new_auth","stack_trace_clickable","oauth2_code_flow_provider_server_logger","turn_off_ai","enable_binanceapis_base_url","unsibscribe_competition_for_participants","enable_first_touch_is_selection","paper_delay_trading","static_dom","binance_disable_live_account_verification","enable_forced_email_confirmation","ibkr_use_new_subscriptions_url","ylg_oauth_authorization","show_replay_trading_panel","order_ticket_resizable_drawer_on","enable_toast_notifications_groupable","enable_order_moving_by_price_line","replay_trading_on_study","enable_anchor_for_traded_objects"],o="[A-Z]+[a-zA-Z0-9_]+",i=new RegExp(`broker_${o}_dev`,"g"),n=new RegExp(`hide_${o}_on_ios`,"g"),s=new RegExp(`hide_${o}_on_android`,"g"),r=new RegExp(`hide_${o}_on_mobile_web`,"g") ;return-1===t.indexOf(e)&&-1===e.indexOf("-maintenance")&&!1===i.test(e)&&!1===n.test(e)&&!1===s.test(e)&&!1===r.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([o.e(5069),o.e(34604)]).then(o.bind(o,405069)).then((t=>{t.pushStreamMultiplexer.on("featuretoggle",(function(t){var o=a(t.name);e[t.name]=t.state,o!==a(t.name)&&r.fire(t.name)}))})),a}(window.featureToggleState||{}),t.FeatureToggle=TradingView.FeatureToggle,t.isFeatureEnabled=TradingView.isFeatureEnabled,t.onFeaturesStateChanged=TradingView.FeatureToggle.onFeaturesStateChanged.bind(TradingView.FeatureToggle)},128327:(e,t,o)=>{"use strict";function i(e){if(e instanceof Error)return e.stack||e.message;try{return e.outerHTML.slice(0,1024)}catch(e){}try{if(void 0!==e)return JSON.stringify(e).slice(0,1024)}catch(e){}return String(e)}function n(){window.__tv_js_errors||(window.__tv_js_errors=[]),window.addEventListener("error",(e=>{const t=(new Date).toISOString();window.__tv_js_errors.push(`${t} ${e.message||"JS error"}. ${e.filename||""}, line ${e.lineno}, col ${e.colno}.\nError: ${i(e.error)}`)}),!1),window.addEventListener("unhandledrejection",(e=>{const t=(new Date).toISOString();window.__tv_js_errors.push(`${t} Unhandled rejection.\nReason: ${i(e.reason)}`)}),!1),document.addEventListener("securitypolicyviolation",(e=>{if(String(e.sourceFile).startsWith("https://securepubads.g.doubleclick.net")&&String(e.blockedURI).startsWith("https://adservice.google."))return;const t=(new Date).toISOString(),o="report"===e.disposition?"CSP report-only":"CSP violation";window.__tv_js_errors.push(`${t} ${o}: ${e.violatedDirective||e.effectiveDirective}. ${e.sourceFile||""}, line ${e.lineNumber}, col ${e.columnNumber}.\nBlocked URI: ${e.blockedURI}\nSample: ${e.sample}\nTarget: ${i(e.target)}`)}),!1)}o.d(t,{install:()=>n})},849204:(e,t,o)=>{"use strict";o.r(t),o.d(t,{LogoSize:()=>i,LogoUrlResolver:()=>r,getLogoUrlResolver:()=>l});var i,n=o(650151),s=o(588948);!function(e){e[e.Medium=0]="Medium",e[e.Large=1]="Large"}(i||(i={}));class r{constructor(e){(0,n.assert)(""!==e,"S3 base url must be a non-empty string"),this._baseUrl=e}getSymbolLogoUrl(e,t){switch((0,n.assert)(""!==e,"logo id must be a non-empty string"),t){case i.Medium:return this._baseUrl+`${e}.svg`;case i.Large:return this._baseUrl+`${e}--big.svg`}}getCountryFlagUrl(e,t){return this.getSymbolLogoUrl("country/"+e,t)}getCryptoLogoUrl(e,t){return this.getSymbolLogoUrl("crypto/"+e,t)}getProviderLogoUrl(e,t){return this.getSymbolLogoUrl("provider/"+e,t)}getSourceLogoUrl(e,t){return this.getSymbolLogoUrl("source/"+e,t)} getBlockchainContractLogoUrl(e,t){return this.getSymbolLogoUrl("blockchain/"+e,t)}}let a;function l(){return function(){if(!a){const e=(0,s.getInitData)(),t=e.settings?e.settings.S3_LOGO_SERVICE_BASE_URL:"";a=new r(t)}return a}()}},912445:(e,t,o)=>{"use strict";let i;function n(e,t){null==i||i(e,t)}function s(e){i=e}o.d(t,{muteLinkingGroup:()=>n,setMuteLinkingGroup:()=>s})},934440:(e,t,o)=>{"use strict";const i=o(244842);window.TradingView=window.TradingView||{};var n,s,r,a,l,c,d,u=TradingView.postMessageWrapper=(s=Object.create(null),r=Object.create(null),a=Object.create(null),l=0,c=0,d="TradingView",window.addEventListener&&window.addEventListener("message",(function(e){var t;try{t=JSON.parse(e.data),i.enabled("charting_library_debug_mode")&&console.log(`${(new Date).toISOString()} PostMessage: incoming message: `+JSON.stringify(t))}catch(e){return}if(t&&t.provider&&t.provider===d)if("get"===t.type){if(!r[t.name])return;r[t.name].forEach((function(e){"function"==typeof e&&e.call(t,t.data,(function(e){var o={id:t.id,type:"on",name:t.name,client_id:t.client_id,data:e,provider:d};n.postMessage(JSON.stringify(o),"*")}))}))}else if("on"===t.type)s[t.client_id]&&s[t.client_id][t.id]&&(s[t.client_id][t.id].call(t,t.data),delete s[t.client_id][t.id]);else if("post"===t.type){if(!r[t.name])return;r[t.name].forEach((function(e){"function"==typeof e&&e.call(t,t.data,(function(){}))}))}})),function(e,t){s[t]=Object.create(null),a[t]=e,n=e;var o="";return{on:function(e,t,o){r[e]&&o||(r[e]=[]),r[e].push(t)},get:function(e,o,i){var n={id:l++,type:"get",name:e,client_id:t,data:o,provider:d};s[t][n.id]=i,a[t].postMessage(JSON.stringify(n),"*")},post:function(e,t,i){var n={id:c++,type:"post",name:t,client_id:o,data:i,provider:d};e&&"function"==typeof e.postMessage&&e.postMessage(JSON.stringify(n),"*")},setClientId:function(e){o=e}}});e.exports=u},416234:(e,t,o)=>{"use strict";o.d(t,{SymbolGroup:()=>i,getSymbolGroupData:()=>s});o(586463);var i,n=o(444372);function s(e){const t={[i.NseFlag]:{title:n.t(null,void 0,o(343857)),description:n.t(null,void 0,o(552666))}};return t[e]?t[e]:null}!function(e){e.NseFlag="nse_free",e.McxFlag="mcx_free"}(i||(i={}))},519073:(e,t,o)=>{"use strict";function i(e){return void 0!==e&&e.includes("crypto")}function n(e,t){return"stock"===e&&t.includes("right")||"right"===e}function s(e,t){return r(e,t)||"stock"===e&&t.includes("fund")&&t.includes("etf")||"structured"===e&&t.includes("etn")}function r(e,t){return"fund"===e&&t.includes("etf")}function a(e){return"economic"===e}function l(e,t,o){return i(t)&&"spot"===e&&"USD"===o}function c(e,t){return"spot"===e&&t.includes("cryptoasset")}function d(e,t,o){return Boolean("bond"===e&&o&&t.includes("government"))}function u(e){var t;return Boolean(null===(t=e.typespecs)||void 0===t?void 0:t.includes("yield"))}function h(e,t){ return"stock"===e&&t.includes("common")||"stock"===e&&t.includes("preferred")||"stock"===e&&t.includes("forward")||"stock"===e&&t.includes("bonus")||"stock"===e&&t.includes("cfd")||"fund"===e&&t.includes("mutual")||"fund"===e&&t.includes("unit")||"fund"===e&&t.includes("trust")||"fund"===e&&t.includes("reit")||"fund"===e&&t.includes("etn")||"fund"===e&&t.includes("closedend")||"bond"===e&&t.includes("convertible")||"dr"===e||"warrant"===e||"structured"===e&&!t.includes("etn")}function _(e){var t;return null!==(t=null==e?void 0:e.includes("discontinued"))&&void 0!==t&&t}o.d(t,{hasCryptoTypespec:()=>i,isCryptoSpotUsd:()=>l,isCryptoassetSpot:()=>c,isEconomicSymbol:()=>a,isEtf:()=>s,isFundEtf:()=>r,isGovernmentBenchmarkBond:()=>d,isRight:()=>n,isStocksSymbol:()=>h,isSymbolDelisted:()=>_,isYield:()=>u})},175203:(e,t,o)=>{"use strict";o.d(t,{telemetry:()=>d});var i=o(707957),n=o(120780),s=o(638456),r=o(314802);o(659863);const a=(0,o(201089).getLogger)("Common.Telemetry"),l={default:15e3,site:3e5},c=["before_websocket_connection_time_frame","websocket_connection_time_frame","first_series_full_time_frame","page_full_load_time_frame","page_load_time_frame"];const d=new class{constructor(){this.reportSent=new i.Delegate,this.timeCounters={series:{marks:[]},study:{},pine:{}},this._timeoutIds={},this._commonAdditionalData={cluster:null,userId:"0"},this._reportStash={}}setSessionInfo(e){const t=this._parseCluster(e);null!==t&&(this._commonAdditionalData.cluster=t)}sendReport(e,t,o){var i;if(!this._isAbleToSendReport(t))return;const n=this._getSubserviceType(e),s=this._getHost(e,n);if(null!==s){if(o=void 0===o?{count:1}:o,this._addReportToStash(o,t,s),!this._timeoutIds[e]){const t=null!==(i=l[e])&&void 0!==i?i:l.default;this._timeoutIds[e]=setTimeout(this._sendTelemetryToService.bind(this,e,s),t)}}else a.logError(`Unable to get host for counter: ${t}, metric type: ${e}, serivce type: ${n}`)}sendChartReport(e,t,o=!0){this._sendServiceSpecifiedReport("charts",e,t,o)}sendLineToolsStorageReport(e,t,o=!0){this._sendServiceSpecifiedReport("line_tools_storage",e,t,o)}_sendServiceSpecifiedReport(e,t,o,i=!0){this._updateUserInfo(),o=void 0===o?{count:1}:o,i&&(o=this._appendCommonAdditionalInfo(o,["cluster","userId"])),this.sendReport(e,t,o)}_updateUserInfo(){const e="user"in window&&"id"in window.user?window.user.id:"0";this._commonAdditionalData.userId=String(e)}_isAbleToSendReport(e){const t=window.TELEMETRY_HOSTS,o=c.includes(e),i=Boolean(window.TradingView.onChartPage||(0,s.onWidget)());return t&&(!o||i)}_sendTelemetryToService(e,t){if(this._reportStash.hasOwnProperty(t)){const e=this._cropParams(this._reportStash[t]),o=this._renameAllParams(e),i={event:"report_stash",params:this._cleanAllParams(o)};a.logDebug(`Report to host: ${t}; stash: ${JSON.stringify(this._reportStash[t])}`),this.reportSent.fire(this._reportStash[t]),delete this._reportStash[t],(0,n.fetch)(`${t}/report`,{method:"POST",body:JSON.stringify(i)})}this._timeoutIds[e]=null}_getHost(e,t){const o=window.TELEMETRY_HOSTS,i=o[e]&&o[e][t];return Boolean(i)?i:null} _getSubserviceType(e){if(!["charts","site"].includes(e))return"all";let t="free";const o=window.user.is_pro;return"charts"===e&&(0,r.isOnMobileAppPage)("old")?t=o?"ios_pro":"ios_free":"charts"===e&&(0,r.isOnMobileAppPage)("new")?t=o?"android_pro":"android_free":(0,s.onWidget)()?t="widget":o&&(t="pro"),t}_parseCluster(e){let t;try{t=JSON.parse(e).session_id}catch(e){return a.logError("Could not parse cluster id (session id)"),null}const o=/(.*@)(.*)/gi.exec(t);return null!==o&&o.length>=3?o[2]:null}_appendCommonAdditionalInfo(e,t){return t.forEach((t=>{t in this._commonAdditionalData&&(e.additional=e.additional||{},e.additional[t]=this._commonAdditionalData[t])})),e}_cropParams(e){var t;for(const o in e)e.hasOwnProperty(o)&&e[o].length>1e3&&(e.too_much_metrics_frame=null!==(t=e.too_much_metrics_frame)&&void 0!==t?t:[],e.too_much_metrics_frame.push({value:e[o].length,additional:{event:o}}),delete e[o]);return e}_renameAllParams(e){const t={};for(const o in e)e.hasOwnProperty(o)&&(t[o]=[],e[o].forEach((e=>{t[o].push(this._renameEntryParams(e))})));return t}_renameEntryParams(e){const t={count:"c",value:"v",text:"t",additional:"a"};return Object.keys(e).reduce(((o,i)=>(o[t[i]]=e[i],o)),{})}_cleanAllParams(e){const t={};for(const o in e)if(e.hasOwnProperty(o)){t[o]=[];const i={c:0};e[o].forEach((e=>{const n=this._cleanEntryParams(e),s=Object.keys(n).length;1===s&&void 0!==n.c?i.c+=n.c:s>0&&t[o].push(n)})),i.c>0&&t[o].push(i),0===t[o].length&&delete t[o]}return t}_cleanEntryParams(e){const t=Object.keys(e).reduce(((t,o)=>"c"!==o&&"t"!==o||e[o]?(t[o]=e[o],t):t),{});return"c"in t||"v"in t||"t"in t?t:{}}_addReportToStash(e,t,o){o in this._reportStash||(this._reportStash[o]={}),t in this._reportStash[o]||(this._reportStash[o][t]=[]),Object.keys(e).length>0&&this._reportStash[o][t].push(e)}}},779923:(e,t,o)=>{"use strict";async function i(e,t){const i=await Promise.all([o.e(32662),o.e(5987),o.e(98996),o.e(43387),o.e(66458),o.e(4343),o.e(44597),o.e(1413),o.e(52078),o.e(19216),o.e(16005),o.e(16165),o.e(56448),o.e(62526),o.e(38890)]).then(o.bind(o,872462));return i.showSimpleDialog(e,i.renameModule,t)}async function n(e,t){const i=await Promise.all([o.e(32662),o.e(5987),o.e(98996),o.e(43387),o.e(66458),o.e(4343),o.e(44597),o.e(1413),o.e(52078),o.e(19216),o.e(16005),o.e(16165),o.e(56448),o.e(62526),o.e(38890)]).then(o.bind(o,872462));return i.showSimpleDialog(e,i.confirmModule,t)}async function s(e,t){const i=await Promise.all([o.e(32662),o.e(5987),o.e(98996),o.e(43387),o.e(66458),o.e(4343),o.e(44597),o.e(1413),o.e(52078),o.e(19216),o.e(16005),o.e(16165),o.e(56448),o.e(62526),o.e(38890)]).then(o.bind(o,872462));return i.showSimpleDialog(e,i.warningModule,t)}o.r(t),o.d(t,{showConfirm:()=>n,showRename:()=>i,showWarning:()=>s})},83871:(e,t,o)=>{"use strict";o.d(t,{SYMBOL_LIST_SERVICE:()=>i});const i={id:"SymbolListService"}},546705:e=>{e.exports={loaderContainer:"loaderContainer-UjjEDANi",loaderOrderContainer:"loaderOrderContainer-UjjEDANi",openAnimation:"openAnimation-UjjEDANi",openOrderAnimation:"openOrderAnimation-UjjEDANi"}}, 531005:(e,t,o)=>{"use strict";o.d(t,{reconnectChartApi:()=>i,setBroker:()=>n});o(730128);function i(e){const t=window.ChartApiInstance;window.is_authenticated&&(t.disconnect(),e&&t.authTokenManager().reset(),setTimeout((()=>t.connect()),500))}function n(e){window.ChartApiInstance.setBroker(e)}},315347:(e,t,o)=>{"use strict";var i,n;function s(e,t){return"period-back"===e.type&&"period-back"===t.type?e.value===t.value:"time-range"===e.type&&"time-range"===t.type&&(e.from===t.from&&e.to===t.to)}o.d(t,{TIMEFRAMETYPE:()=>n,areEqualTimeFrames:()=>s}),function(e){e.extractErrorReason=function(e){return e.params[1]}}(i||(i={})),function(e){e.PeriodBack="period-back",e.TimeRange="time-range"}(n||(n={}))},707957:(e,t,o)=>{"use strict";o.d(t,{Delegate:()=>s});const i=(0,o(194582).getLogger)("Common.Delegate");function n(e){return!e.singleShot}class s{constructor(){this.fire=this._fireImpl.bind(this),this._listeners=[]}subscribe(e,t,o){this._listeners.push({object:e,member:t,singleShot:!!o,skip:!1})}unsubscribe(e,t){for(let o=0;o=0;--t){const o=this._listeners[t];o.object===e&&(o.skip=!0,this._listeners.splice(t,1))}}destroy(){this._listeners=[]}_fireImpl(...e){const t=this._listeners;this._listeners=this._listeners.filter(n);const o=t.length;for(let n=0;n{"use strict";o.d(t,{LOGLEVEL:()=>s,getLogHistory:()=>y,getLogLevel:()=>m,getLogger:()=>C,getRawLogHistory:()=>v,isHighRateEnabled:()=>f,loggingOff:()=>x,loggingOn:()=>T,serializeLogHistoryEntry:()=>b,setLogLevel:()=>w});const i="undefined"!=typeof window?window:{};let n=!1;try{localStorage.getItem(""),n=!0}catch(e){}var s;!function(e){e[e.ERROR=1]="ERROR",e[e.WARNING=2]="WARNING",e[e.INFO=3]="INFO",e[e.NORMAL=4]="NORMAL",e[e.DEBUG=5]="DEBUG"}(s||(s={}));let r=0;const a="tv.logger.loglevel",l="tv.logger.logHighRate",c=[];let d=null,u=null,h=null,_=NaN,p=s.WARNING,g=!1;function m(){return p}function f(){return g}function w(e){e=Math.max(s.ERROR,Math.min(s.DEBUG,e)),p=e,k()}function v(e,t){let o=c.reduce(((e,t)=>e.concat(t)),[]);return o.sort(((e,t)=>e.id-t.id)),void 0!==t&&(o=o.filter((e=>e.subSystemId===t))),"number"==typeof e&&(o=o.slice(-e)),o}function b(e){return new Date(e.timestamp).toISOString()+":"+e.subSystemId+":"+e.message.replace(/"/g,"'")}const y=i.lget=(e,t)=>function(e,t){let o,i=0,n=0;for(o=e.length-1;o>=1&&(i+=8*(1+encodeURIComponent(e[o]).length),!(o-1>0&&(n=8*(1+encodeURIComponent(e[o-1]).length),i+n>t)));o--);return e.slice(o)}(v(e,t).map(b),75497472);function S(e,t,o,i){if(t===u&&i.id===h)return;const n=new Date;if(e<=s.NORMAL&&function(e,t,o,i,n){"function"==typeof structuredClone&&(t=structuredClone(t));const s={id:r,message:t,subSystemId:i,timestamp:Number(e)};r+=1,o.push(s),void 0!==n&&o.length>n&&o.splice(0,1) }(n,t,o,i.id,i.maxCount),e<=p&&(!i.highRate||f())&&(!d||i.id.match(d))){const o=n.toISOString()+":"+i.id+":"+t;switch(e){case s.DEBUG:console.debug(o);break;case s.INFO:case s.NORMAL:i.color?console.log("%c"+o,"color: "+i.color):console.log(o);break;case s.WARNING:console.warn(o);break;case s.ERROR:console.error(o)}u=t,h=i.id,_&&clearTimeout(_),_=setTimeout((()=>{u=null,h=null,_=NaN}),1e3)}}function C(e,t={}){const o=[];c.push(o);const i=Object.assign(t,{id:e});function n(e){return t=>S(e,String(t),o,i)}return{logDebug:n(s.DEBUG),logError:n(s.ERROR),logInfo:n(s.INFO),logNormal:n(s.NORMAL),logWarn:n(s.WARNING)}}const E=C("logger"),T=i.lon=(e,t)=>{w(s.DEBUG),E.logNormal("Debug logging enabled"),g=Boolean(e),d=t||null,k()},x=i.loff=()=>{w(s.INFO),E.logInfo("Debug logging disabled")};function k(){try{n&&(localStorage.setItem(l,String(g)),localStorage.setItem(a,String(p)))}catch(e){E.logWarn(`Cannot save logger state (level: ${p}, high-rate: ${g}) to localStorage: ${e.message}`)}}!function(){g=!!n&&"true"===localStorage.getItem(l);let e=parseInt(n&&localStorage.getItem(a)||"");Number.isNaN(e)&&(e=s.WARNING),w(e),E.logNormal(`Init with settings - level: ${p}, high-rate: ${g}`)}(),i.performance&&i.performance.now?E.logNormal(`Sync logger and perf times, now is ${i.performance.now()}`):E.logWarn("Perf time is not available")},181728:(e,t,o)=>{"use strict";function i(e,t){return!!(null==t?void 0:t.includes("cfd"))&&["commodity","futures","index","stock","fund"].includes(e)}function n(e,t){return"stock"===e&&void 0!==t&&!t.includes("cfd")}o.d(t,{isCFDSymbol:()=>i,isStockSymbol:()=>n})},217504:(e,t,o)=>{"use strict";o.d(t,{getMinTick:()=>c,getMinTickData:()=>l,makeVariableMinTickData:()=>u});var i=o(960521),n=o(150335),s=o(389137),r=o(667353);function a(e){return e?(0,i.Big)(e.minMove).div(e.priceScale).toNumber():NaN}function l(e){const{minTick:t,price:o,variableMinTickData:i,shouldCheckForEquality:s}=e,r=(0,n.isNumber)(t)?d(t):t;return void 0===i?r:function(e,t,o=!1){for(let i=0;i(0,s.isEven)(t)?function(e){const t=Number(e);if(Number.isFinite(t))return d(t);{const t=e.split("/");if(t.length<2||t.length>3)throw new Error(`Unexpected mintick: ${e}`);const o=Number(t[1]),i=Number(t[0]);if(!Number.isFinite(o)||!Number.isFinite(i))throw new Error(`Unexpected mintick: ${e}`);const n=3===t.length?Number(t[2]):void 0;if(void 0!==n&&!Number.isFinite(n))throw new Error(`Unexpected mintick: ${e}`);const s={priceScale:o,minMove:i};return void 0!==n&&(s.minMove2=n),s}}(e):function(e){const t=Number(e);if(Number.isNaN(t))throw new Error(`Unexpected price limit: ${e}`);return t}(e)));if((0, s.isEven)(e.length))throw new Error("Theme must not be event number of elements");const n=[];for(let t=0;t{"use strict";o.d(t,{WatchedValue:()=>l});var i=o(428123),n=o(194582),s=o(805377);const r=(0,n.getLogger)("Common.WatchedValue");function a(e){r.logError(`${e&&(e.stack||e.message)}`)}class l{constructor(...e){this._listeners=[],e.length>0&&(this._value=e[0])}destroy(){this.unsubscribe()}value(){return this._owner?this._owner._value:this._value}setValue(e,t){const o=this._owner?this._owner:this;if("function"==typeof o.hook&&(e=o.hook(e)),o.writeLock)return;const i=o._value===e||Number.isNaN(o._value)&&Number.isNaN(e);if(!t&&i&&o.hasOwnProperty("_value"))return;o._value=e;const n=o._listeners.slice();let s=0;for(let t=0;tthis.spawn(e).readonly(),destroy:this.destroy.bind(this)};return this._readonlyInstance=e,e}spawn(e){return new c(this._owner||this,e)}when(e){(0,s.callWhen)(this,(e=>Boolean(e)),(()=>{try{e(this.value())}catch(e){a(e)}}))}assertNoSubscriptions(){0}ownership(){return(0,i.ownership)(this)}spawnOwnership(){return(0,i.ownership)(this.spawn())}weakReference(){return(0,i.weakReference)(this)}}class c extends l{constructor(e,t){super(),delete this._listeners,this._owner=e,this._onDestroy=t}destroy(){var e;try{null===(e=this._onDestroy)||void 0===e||e.call(this)}catch(e){a(e)}super.destroy()}readonly(){return super.readonly()}}},509823:(e,t,o)=>{"use strict";o.d(t,{MouseClickAutoBlurHandler:()=>r,initMouseClickAutoBlurHandler:()=>a});var i=o(895171),n=o(184277);const s="data-mouse-click-auto-blur";class r{constructor(){this._handler=e=>{document.activeElement instanceof HTMLElement&&((0, n.isKeyboardClick)(e)||e.target instanceof Element&&"INPUT"!==document.activeElement.tagName&&null!==document.activeElement.closest(`[${s}]`)&&document.activeElement.blur())},window.addEventListener("click",this._handler,!0)}static attributes(e=!0){return e?{[s]:!0}:{}}}const a=(0,i.default)((()=>new r))},580602:(e,t,o)=>{"use strict";o.d(t,{createScopedVisibleElementFilter:()=>c,getActiveElementSelectors:()=>d,mapKeyCodeToDirection:()=>l,navigationOrderComparator:()=>n,queryFocusableElements:()=>r,queryTabbableElements:()=>s,updateTabIndexes:()=>a});var i=o(31341);function n(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function s(e){return Array.from(e.querySelectorAll('button:not([disabled]):not([aria-disabled]):not([tabindex="-1"]), [tabindex]:not([disabled]):not([aria-disabled]):not([tabindex="-1"])')).filter(c(e))}function r(e){return Array.from(e.querySelectorAll('button:not([disabled]):not([aria-disabled="true"]):not([aria-disabled=""]), [tabindex]:not([disabled]):not([aria-disabled="true"]):not([aria-disabled=""])')).filter(c(e))}function a(){window.dispatchEvent(new CustomEvent("keyboard-navigation-activation",{bubbles:!0}))}function l(e){const t=(0,i.isRtl)();switch(e){case 38:return"blockPrev";case 40:return"blockNext";case 37:return t?"inlineNext":"inlinePrev";case 39:return t?"inlinePrev":"inlineNext";default:return null}}function c(e){return t=>{let o=t;for(;o!==e&&null!==o;){const e=getComputedStyle(o);if("none"===e.display||"visible"!==e.visibility)return!1;o=o.parentElement}return!0}}function d(){return['button:not([disabled]):not([aria-disabled]):not([tabindex="-1"])','input:not([disabled]):not([aria-disabled]):not([tabindex="-1"])','select:not([disabled]):not([aria-disabled]):not([tabindex="-1"])','textarea:not([disabled]):not([aria-disabled]):not([tabindex="-1"])','[tabindex]:not([disabled]):not([aria-disabled]):not([tabindex="-1"])'].join(", ")}},497981:(e,t,o)=>{"use strict";o.d(t,{PriceColorer:()=>i});var i,n=o(81979),s=o(195294);!function(e){function t(e,t){return 0===e?t&&void 0!==t.neutral?t.neutral:n.color.black70:e>0?t&&void 0!==t.up?t.up:s.colorsPalette["color-success"]:t&&void 0!==t.down?t.down:s.colorsPalette["color-danger"]}e.formatSign=t,e.formatDiff=function(e,o){return t(o-e)},e.domDifference=function(e,t,o=0,i="",n=""){function s(e){const t=document.createElement("span");return t.innerHTML=e,t}const r=document.createElement("div");if(!o)return r.appendChild(s(e)),r;const a=e+"",l=t+"";let c=null;if(a.length===l.length){for(let e=0;e{"use strict";function i(e){if(!e)return"";if(["AMEX"].includes(e))return"Arca";if(["NYSE ARCA & MKT"].includes(e))return"NYSE Arca";if(["Cboe BZX"].includes(e))return"Cboe One" ;if(["FTSEST"].includes(e))return"FTSE ST";const t=/^(CME|COMEX|CBOT|NYMEX)_MINI$/.exec(e);return null!==t?t[1]:e}o.d(t,{redefineExchangeName:()=>i})},339315:(e,t,o)=>{"use strict";o.r(t),o.d(t,{SERIES_STATUS_TEXT:()=>b,STATUS_CALCULATION_ERROR:()=>m,STATUS_DELAYED:()=>u,STATUS_DELAYED_STREAMING:()=>h,STATUS_EOD:()=>c,STATUS_ERROR:()=>g,STATUS_INVALID_SYMBOL:()=>a,STATUS_LOADING:()=>s,STATUS_NO_BARS:()=>_,STATUS_OFFLINE:()=>i,STATUS_PULSE:()=>d,STATUS_READY:()=>r,STATUS_REPLAY:()=>p,STATUS_RESOLVING:()=>n,STATUS_SNAPSHOT:()=>l,STATUS_UNSUPPORTED_RESOLUTION:()=>f,STYLE_AREA:()=>E,STYLE_BARS:()=>y,STYLE_BASELINE:()=>L,STYLE_CANDLES:()=>S,STYLE_COLUMNS:()=>A,STYLE_HEIKEN_ASHI:()=>N,STYLE_HILO:()=>O,STYLE_HLC_AREA:()=>U,STYLE_HOLLOW_CANDLES:()=>F,STYLE_KAGI:()=>x,STYLE_LINE:()=>C,STYLE_LINE_WITH_MARKERS:()=>I,STYLE_PB:()=>P,STYLE_PNF:()=>k,STYLE_RANGE:()=>D,STYLE_RENKO:()=>T,STYLE_SHORT_NAMES:()=>V,STYLE_STEPLINE:()=>M,SYMBOL_STRING_DATA:()=>R,chartStylesWithAttachedStudies:()=>B,seriesLoadingStatuses:()=>v,seriesReadyStatuses:()=>w});const i=0,n=1,s=2,r=3,a=4,l=5,c=6,d=7,u=8,h=9,_=10,p=11,g=12,m=13,f=14,w=new Set([3,6,7,8,9,11]),v=new Set([1,2]),b={[i]:"connecting",[n]:"loading",[s]:"loading",[r]:"realtime",[a]:"invalid",[l]:"snapshot",[c]:"endofday",[d]:"endofday",[u]:"delayed",[h]:"delayed_streaming",[_]:"forbidden",[p]:"replay",[g]:"error",[m]:"calculation_error",[f]:"unsupported_resolution"},y=0,S=1,C=2,E=3,T=4,x=5,k=6,P=7,N=8,F=9,L=10,D=11,O=12,A=13,I=14,M=15,U=16,V={0:"bar",1:"candle",9:"hollowCandle",2:"line",14:"lineWithMarkers",15:"stepline",3:"area",16:"hlcArea",4:"renko",7:"pb",5:"kagi",6:"pnf",8:"ha",10:"baseline",11:"range",12:"hilo",13:"column",17:"volFootprint",18:"tpo",19:"volCandles",20:"svp"},R={4:{type:"BarSetRenko@tv-prostudies",basicStudyVersion:73},7:{type:"BarSetPriceBreak@tv-prostudies",basicStudyVersion:34},5:{type:"BarSetKagi@tv-prostudies",basicStudyVersion:73},6:{type:"BarSetPnF@tv-prostudies",basicStudyVersion:73},8:{type:"BarSetHeikenAshi@tv-basicstudies",basicStudyVersion:60},11:{type:"BarSetRange@tv-basicstudies",basicStudyVersion:72},17:{type:"Footprint@tv-volumebyprice",basicStudyVersion:104},18:{type:"TPOPeriodic@tv-volumebyprice",basicStudyVersion:104},20:{type:"VbPSessions@tv-volumebyprice",basicStudyVersion:126}},B=[17,18,20]},846540:(e,t,o)=>{"use strict";o.r(t),o.d(t,{types:()=>i});const i={ECONOMIC:"economic",QUANDL:"quandl"}},151874:(e,t,o)=>{"use strict";o.r(t);var i=o(226722),n=o(345848),s=o(120780),r=o(924335),a=o(534909),l=o(541558),c=o(66974),d=o(49437),u=o(201089);const h=(0,u.getLogger)("Common.Evercookie");o(30707);const _=new window.evercookie({domain:(0,c.isProd)()?".tradingview.com":location.hostname,lso:!1}),p=(0,u.getLogger)("Common.Evercookie"),g=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;class m{constructor(){this._cookieName="tv_ecuid",this._env=null,this.check=()=>{if(this._isEcNotAvailable()||d.TVLocalStorage.getItem("_tv_ec_ignore_username")===window.user.username)return;const e=window.user.id;this._getEcUids().catch((e=>{ p.logWarn(`Error thrown inside getEcUids(). Leave evercookie data untouched. User: ${window.user.username} (${window.user.id})\nActual error: ${e}`)})).then((t=>{if(void 0===t)return void p.logWarn(`getEcUids() returned no data. Leave evercookie data untouched. User: ${window.user.username} (${window.user.id})`);let i=t.localEcUid;const n=t.remoteEcUids;i&&g.test(i)||(i=(0,l.guid)(),_.set(this._cookieName,i));const r=t=>{t.subscription_canceled&&Promise.all([o.e(32662),o.e(43387),o.e(34422),o.e(63244),o.e(29471),o.e(90385),o.e(18932)]).then(o.bind(o,136313)).then((e=>e.createTrialCanceledDialog())),e===window.user.id&&t.is_suspicious?d.TVLocalStorage.setItem("is_suspicious","1"):d.TVLocalStorage.removeItem("is_suspicious")};n&&0!==n.length&&-1!==n.indexOf(i)||e!==window.user.id||function(e){const t=new FormData;return t.append("ecuid",e),(0,s.fetch)("/accounts/set-ecuid/",{body:t,credentials:"include",method:"POST"}).then((e=>{if(e.ok)return e.json().catch((e=>{h.logWarn(`Error in reponse.json() of /accounts/set-ecuid/. User: ${window.user.username} (${window.user.id})\nActual error: ${e}`)}));throw new Error("Unable to set remote ecuids. Response was not OK")}))}(i).then(r)})).catch((e=>{p.logError(e.message+` User: ${window.user.username} (${window.user.id})`)}))},this._isEcNotAvailable()||(this._env=(0,c.environment)(),(0,c.isDebug)()&&(this._cookieName+="_"+this._env))}_isEcNotAvailable(){return TradingView.onWidget&&TradingView.onWidget()||!window.user}_getLocalEcUid(){return new Promise((e=>{_.get(this._cookieName,(t=>{e(t)}))}))}_getEcUids(){return new Promise(((e,t)=>{let o;this._getLocalEcUid().then((e=>(o=e,function(e){return new Promise(((t,o)=>{const i=new FormData;e&&i.append("local_ecuid",e),(0,s.fetch)("/accounts/get-ecuid/",{body:i,credentials:"include",method:"POST"}).then((e=>{if(e.ok)return e.json().catch((e=>{h.logWarn(`Error in reponse.json() of /accounts/get-ecuid/. User: ${window.user.username} (${window.user.id})\nActual error: ${e}`)}));throw new Error("Unable to get remote ecuids. Response was not OK")})).then((e=>{t(e)})).catch((e=>{o(e)}))}))}(e)))).then((t=>{if(void 0===t)throw new Error(`getRemoteEcUids() returned no response. User: ${window.user.username} (${window.user.id})`);e({localEcUid:o,remoteEcUids:t.ecuids})})).catch((e=>{t(e)}))}))}}var f=o(252458);document.addEventListener("DOMContentLoaded",(()=>{document.addEventListener("click",(e=>{const t=e.target.closest(".js-profile-message");t instanceof HTMLElement&&(e.preventDefault(),function(e){const t=e.dataset.username;window.runOrSignIn((()=>(0,f.openPMDialog)(t)),{source:"Private message from broker popup",verifiedPhoneRequired:!0})}(t))}))}));var w=o(781666),v=o(638456),b=o(314802),y=o(799786),S=o(860037);var C=o(251954),E=o(673747),T=o(49336);function x(e,t="x"){let o=!1;return"x"!==t&&"both"!==t||(o=o||e.offsetWidth(t.nodeType===Node.TEXT_NODE&&e.push(t.textContent||""),e)),[]).join("").trim()),o}function F(e,t){let o=!1;const i=e.children;for(let e=0;e{document.addEventListener("mouseenter",(e=>{const t=e.target;if(t instanceof HTMLElement&&t.matches(".apply-overflow-tooltip")){const e=P(t);if(t.matches(".apply-overflow-tooltip--check-children-recursively")){if(!k(t,e))return}else if(t.matches(".apply-overflow-tooltip--check-children")){if(!F(t,e))return}else if(!x(t,e))return;(0,E.showOnElement)(t,{text:N(t)});const o=()=>{(0,E.hide)(),["mouseleave","mousedown"].forEach((e=>t.removeEventListener(e,o)))};["mouseleave","mousedown"].forEach((e=>t.addEventListener(e,o)))}}),!0),document.addEventListener("focus",(e=>{const t=e.target;if(t instanceof HTMLElement&&(t.matches(".apply-overflow-tooltip-focus")||t.querySelector(".apply-overflow-tooltip-focus"))){const e=t.matches(".apply-overflow-tooltip")?t:t.querySelector(".apply-overflow-tooltip"),o=P(e);if(e.matches(".apply-overflow-tooltip--check-children-recursively")){if(!k(e,o))return}else if(e.matches(".apply-overflow-tooltip--check-children")){if(!F(e,o))return}else if(!x(e,o))return;(0,E.showOnElement)(t,{text:N(e)});const i=()=>{(0,E.hide)(),t.removeEventListener("blur",i)};t.addEventListener("blur",i)}}),!0)}));var L=o(707957),D=o(173278),O=o(329806),A=o(895171),I=o(591800),M=o(580602);class U{constructor(){this._handleMouseDown=()=>{this._forwardTab=void 0},this._handleKeyDown=e=>{this._forwardTab=void 0,[9,I.Modifiers.Shift+9].includes((0,I.hashFromEvent)(e))&&(this._forwardTab=!e.shiftKey)},this._handleFocus=e=>{const t=e.target;if(void 0===this._forwardTab||!(t instanceof HTMLElement))return;const o=this._findDeepestFocusTrapElement(document.documentElement);if(!(o instanceof HTMLElement)||!o||o.contains(t))return;e.preventDefault(),e.stopPropagation(),t.blur();const i=o.compareDocumentPosition(t);if(i&Node.DOCUMENT_POSITION_PRECEDING||i&Node.DOCUMENT_POSITION_FOLLOWING){const e=this._forwardTab?R(o):R(o,!0);e instanceof HTMLElement&&e.focus()}},document.documentElement.addEventListener("focus",this._handleFocus,{capture:!0}),document.documentElement.addEventListener("keydown",this._handleKeyDown,{capture:!0}),document.documentElement.addEventListener("mousedown",this._handleMouseDown,{capture:!0})}destroy(){document.documentElement.removeEventListener("focus",this._handleFocus,{capture:!0}),document.documentElement.removeEventListener("keydown",this._handleKeyDown,{capture:!0}),document.documentElement.removeEventListener("mousedown",this._handleMouseDown,{capture:!0})}_findDeepestFocusTrapElement(e){ const t=e.querySelectorAll('[data-focus-trap="true"]');let o=null,i=-1;return t.forEach((t=>{const n=this._calculateParentCount(t,e);n>i&&(i=n,o=t)})),o}_calculateParentCount(e,t){let o=0,i=e.parentElement;for(;i&&i!==t;)"true"===i.getAttribute("data-focus-trap")&&o++,i=i.parentElement;return o}}const V=(0,A.default)((()=>new U));function R(e,t){var o;const i=(0,M.getActiveElementSelectors)(),n=Array.from(e.querySelectorAll(i)).filter((0,M.createScopedVisibleElementFilter)(e));return null!==(o=t?n[n.length-1]:n[0])&&void 0!==o?o:null}var B=o(509823),j=o(402243);var H=o(392896),$=o(641261),W=o(665343),G=o(384295);let q,Y;function z(){if(window.initData.lfs){const e=document.getElementsByClassName("js-admin-warning")[0];document.body.removeChild(e)}let e=!0;[/^\/chart\//,/^\/share-your-love\//,/^\/pine\//].forEach((t=>{t.test(window.location.pathname)&&(e=!1)})),e&&window.location.reload()}function J(e){window.user=(0,O.deepExtend)({},e),window.TradingView.changeLoginState(!0)}function K(e){const t=window.user.available_offers||{};{const e=document.documentElement;e.classList.toggle("is-authenticated",window.is_authenticated),e.classList.toggle("is-not-authenticated",!window.is_authenticated)}window.TVSettings&&window.TVSettings.sync(window.user.settings),window.is_authenticated?(e&&!1!==window.user.profile_data_filled||void 0===Y||Y.check(),e||(Promise.all([o.e(5056),o.e(90385),o.e(19158)]).then(o.bind(o,444139)).then((e=>e.offerButtonLoginStateChangeInit())),(0,v.onGoPro)()&&window.location.reload()),!1===window.user.profile_data_filled&&((0,v.checkPageType)("mobile")||(0,b.isOnMobileAppPage)("any")||window.location.pathname.startsWith("/privacy-policy")||window.location.pathname.startsWith("/policies")||(0,T.whenDocumentReady)((()=>{(0,w.showSignModal)({mode:"create-account",onUnmountEvent:()=>{window.user.social_registration?(o.e(22947).then(o.bind(o,113452)).then((({registrationEvent:e})=>{e("Social")})),(0,$.trackGTagAdsEvent)($.GTagEvent.RegistrationCompleted),(0,W.trackTwitterEvent)(W.TwitterEvent.RegistrationCompleted),(0,G.trackCmEvent)(G.CmEvent.RegistrationCompleted),delete window.user.social_registration):i.TVXWindowEvents.emit("loginStateChange",JSON.stringify({is_authenticated:window.is_authenticated,user:window.user}))}})}),!0),(0,n.trackEvent)("Conversion","First login"),delete window.user.profile_data_filled),window.TradingView.setTrialAvailiable(void 0!==t[r.OFFERS.trial])):(Object.keys(t).forEach((e=>{const o=e;t[o].available_for_anons||delete t[o]})),window.user={username:"Guest",following:"0",followers:"0",ignore_list:[],available_offers:t},d.TVLocalStorage.removeItem("trial_availiable"))}q=window.loginStateChange?window.loginStateChange:window.loginStateChange=new L.Delegate,q.subscribe(null,K),(0,y.createGroup)({desc:"Support"}).add({desc:"Open",hotkey:y.Modifiers.Mod+191,handler:()=>(0,S.showSupportDialog)({initialState:"shortcuts"})}),i.TVXWindowEvents.on("loginStateChange",(e=>{const t=JSON.parse(e);window.user=t.user,window.is_authenticated=!!t.is_authenticated,q.fire()})), i.TVXWindowEvents.on("signOut",(()=>{z()})),(()=>{const e="user-obj-changed",t={};window.crossTabSyncUserAttr=t=>{const o={};t instanceof Array?t.forEach((e=>{o[e]=window.user[e]})):o[t]=window.user[t],i.TVXWindowEvents.emit(e,JSON.stringify(o))},i.TVXWindowEvents.on(e,(e=>{const o=JSON.parse(e);let i;for(i in o)if(o.hasOwnProperty(i)){window.user[i]=o[i];(t[i]||[]).forEach((e=>{e.fire(o[i])}))}}))})(),window.TradingView.changeLoginState=e=>{window.is_authenticated=!!e,i.TVXWindowEvents.emit("loginStateChange",JSON.stringify({is_authenticated:window.is_authenticated,user:window.user})),q.fire(),window.is_authenticated&&C.emit(D.GLOBAL_EVENT_SIGN_IN_SUCCESS)},window.loginUser=J,window.addEventListener("storage",(e=>{"login_user"===e.key&&null!==e.newValue&&J(JSON.parse(e.newValue))})),window.TradingView.signOut=()=>{const e={...window.user};(0,s.fetch)("/accounts/logout/",{method:"POST",headers:{accept:"html"},credentials:"same-origin"}).then((()=>{window.TradingView.changeLoginState(!1),i.TVXWindowEvents.emit("signOut"),z()})).catch((()=>{window.user=e,window.TradingView.changeLoginState(!0)}))},Y=new m,window.loginRequiredDelegate=new L.Delegate,window.runOrSignIn=(e,t)=>{t||(t={});const o=[];if(t.paidAccountCheck&&o.push((()=>(0,H.paidAccountCheck)({successButtonText:t.paidAccountSuccessButtonText}))),t.verifiedPhoneRequired){const e=()=>Promise.resolve((0,j.whenVerified)({showDialog:!0,source:t.source,doNotCheckSuspicious:t.doNotCheckSuspicious,doNotCheckSocialActivity:t.doNotCheckSocialActivity,customPhoneCheck:t.customPhoneCheck,doNotShowConfirmation:t.doNotShowConfirmation,isSuspiciousCountry:t.isSuspiciousCountry,afterAllCb:t.afterAllCb}));o.push(e)}window.is_authenticated?o.reduce(((e,t)=>e.then(t)),Promise.resolve()).then(e).catch((()=>{})):(0,w.showSignModal)({source:t.source,sourceMeta:t.sourceMeta,feature:t.feature,mode:t.mode,signinSuccess:e,startTrial:t.startTrial,onUnmountEvent:t.onUnmountEvent})},window.is_authenticated&&i.TVXWindowEvents.on("user-status-declared",(e=>{window.user.declared_status=e})),window.onLoginStateChange=K,window.TradingView.setTrialAvailiable=e=>{d.TVLocalStorage.setItem("trial_availiable",e?"1":"0")},window.TradingView.notificationsChanged=new L.Delegate,(0,a.install)(),V(),(0,B.initMouseClickAutoBlurHandler)()},764005:(e,t,o)=>{"use strict";function i(e,t,o){return e*(1-o)+t*o}o.d(t,{doAnimate:()=>r,lerp:()=>i});const n={from:0,duration:250,easing:o(81979).easingFunc.easeOutCubic};class s{constructor(e){this._doing=!0,this._completed=!1,this._options={...n,...e};const t=performance.now();window.requestAnimationFrame((e=>{this._animation(t,this._options.from,e)}))}stop(){this._doing=!1}completed(){return this._completed}_animation(e,t,o){if(!this._doing)return void this._finishAnimation();const n=(o=!o||o<1e12?performance.now():o)-e,s=n>=this._options.duration||t===this._options.to,r=i(this._options.from,this._options.to,this._options.easing(n/this._options.duration)),a=s?this._options.to:r,l=a-t;this._options.onStep(l,a), s?this._finishAnimation():window.requestAnimationFrame((t=>{this._animation(e,a,t)}))}_finishAnimation(){this._options.onComplete&&this._options.onComplete(),this._completed=!0}}function r(e){return new s(e)}},201089:(e,t,o)=>{"use strict";o.r(t),o.d(t,{LOGLEVEL:()=>i.LOGLEVEL,getLogHistory:()=>i.getLogHistory,getLogLevel:()=>i.getLogLevel,getLogger:()=>i.getLogger,getRawLogHistory:()=>i.getRawLogHistory,isHighRateEnabled:()=>i.isHighRateEnabled,loggingOff:()=>i.loggingOff,loggingOn:()=>i.loggingOn,serializeLogHistoryEntry:()=>i.serializeLogHistoryEntry,setLogLevel:()=>i.setLogLevel});var i=o(194582)},922651:()=>{"use strict";(()=>{if(window.matchMedia("").addEventListener)return;const e=window.matchMedia;window.matchMedia=(...t)=>{const o=e(...t);return o.addEventListener=(e,t)=>o.addListener(t),o.removeEventListener=(e,t)=>o.removeListener(t),o}})()},851269:(e,t,o)=>{"use strict";o.d(t,{getCountries:()=>s});var i=o(120780);let n=null;async function s(){var e;if(null!==n)return n;const t=await(0,i.fetch)("/accounts/countries/",{credentials:"include"});if(!t.ok){const e=await t.json();throw Error(String(e))}const o=await t.json();return n={...o,current_country_code:null!==(e=o.current_country_code)&&void 0!==e?e:"US"},n}},371927:(e,t,o)=>{"use strict";o.d(t,{ActionButtonsLayout:()=>s,ContentAlign:()=>n,DialogTheme:()=>r,PredefinedAction:()=>i});var i,n,s,r;o(86746);!function(e){e.Close="close",e.OpenGopro="openGopro"}(i||(i={})),function(e){e.Center="center",e.Left="left"}(n||(n={})),function(e){e.Row="row",e.Column="column"}(s||(s={})),function(e){e.Offer="offer",e.Gopro="gopro"}(r||(r={}))},261642:(e,t,o)=>{"use strict";o.d(t,{initOrderDialogLoader:()=>s});var i=o(546705);let n=null;async function s(e=!1){if(n)return n;const t=document.querySelector("body"),s=document.createElement("div");t.classList.add("i-no-scroll"),s.classList.add(i.loaderContainer),e&&s.classList.add(i.loaderOrderContainer),t.appendChild(s);const{Spinner:r}=await Promise.all([o.e(69749),o.e(78775)]).then(o.bind(o,941285)),a=new r;return a.spin(s),e?s.classList.add(i.openOrderAnimation):s.classList.add(i.openAnimation),n=()=>{a&&a.destroy(),s&&t.contains(s)&&t.removeChild(s),n=null},n}},971843:(e,t,o)=>{"use strict";async function i(e){ (await Promise.all([o.e(14819),o.e(73224),o.e(97144),o.e(53284),o.e(46939),o.e(81146),o.e(48751),o.e(32662),o.e(5987),o.e(98996),o.e(43387),o.e(66458),o.e(5761),o.e(4343),o.e(28430),o.e(70428),o.e(44597),o.e(4908),o.e(52078),o.e(61204),o.e(69749),o.e(19216),o.e(37132),o.e(66323),o.e(14),o.e(50473),o.e(36827),o.e(37657),o.e(16600),o.e(35697),o.e(31149),o.e(85258),o.e(79656),o.e(83483),o.e(45444),o.e(63751),o.e(82452),o.e(77382),o.e(13031),o.e(47686),o.e(39118),o.e(95069),o.e(11112),o.e(85317),o.e(11803),o.e(89039),o.e(68794),o.e(67463),o.e(62680),o.e(5056),o.e(89788),o.e(62996),o.e(24115),o.e(23237),o.e(77162),o.e(31767),o.e(38523),o.e(74009),o.e(3938),o.e(49571),o.e(55051),o.e(90385),o.e(68561),o.e(99028),o.e(93620),o.e(68239),o.e(84756),o.e(69847),o.e(42198),o.e(64798),o.e(56397),o.e(39781),o.e(38357),o.e(78703)]).then(o.bind(o,260818))).openPaymentOrderDialog(e)}o.d(t,{showPaymentOrderDialog:()=>i})},683253:(e,t,o)=>{"use strict";o.d(t,{check:()=>n});var i=o(851269);async function n(){const{is_restricted:e}=await(0,i.getCountries)();return e}},419398:(e,t,o)=>{"use strict";o.r(t),o.d(t,{showRestrictedCountryNotificationDialog:()=>s});var i=o(444372),n=o(779923);function s(){(0,n.showWarning)({title:i.t(null,void 0,o(513111)),text:i.t(null,void 0,o(82352))})}},252458:(e,t,o)=>{"use strict";function i(){return Promise.all([o.e(69760),o.e(94810),o.e(11789),o.e(5761),o.e(4343),o.e(4908),o.e(69749),o.e(37132),o.e(36827),o.e(45444),o.e(88430),o.e(7879),o.e(85686),o.e(60678),o.e(35367),o.e(50389),o.e(15471),o.e(90385),o.e(24951),o.e(53869),o.e(74823),o.e(99676),o.e(74327),o.e(16527),o.e(24025)]).then(o.t.bind(o,748598,19))}function n(e,t){i().then((o=>o.noteForAuthor(e,t)))}function s(e,t){i().then((o=>o.openPMDialog(e,t)))}function r(){i().then((e=>e.newPrivateChatDialog()))}o.d(t,{newPrivateChatDialog:()=>r,noteForAuthor:()=>n,openPMDialog:()=>s})},397150:(e,t,o)=>{"use strict";o.d(t,{showTooManyStudiesNotice:()=>s});var i=o(444372),n=o(779923);function s(e){(0,n.showWarning)({title:i.t(null,void 0,o(533603)),text:i.t(null,{replace:{number:`${e}`}},o(470213))})}},173278:(e,t,o)=>{"use strict";o.d(t,{GLOBAL_EVENT_SIGN_IN_SUCCESS:()=>i,showEmailKey:()=>r,signupSource:()=>n,signupSourceMeta:()=>s});const i="GLOBAL_EVENT_SIGN_IN_SUCCESS";const n="signupSource",s="signupSourceMeta",r="auto-show-email-for-signin"},860037:(e,t,o)=>{"use strict";o.d(t,{showSupportDialog:()=>i});o(659863);function i(e){return Promise.all([o.e(30969),o.e(5987),o.e(43387),o.e(5761),o.e(4343),o.e(28430),o.e(70428),o.e(44597),o.e(4908),o.e(52078),o.e(61204),o.e(69749),o.e(19216),o.e(66323),o.e(50473),o.e(16600),o.e(35697),o.e(33101),o.e(45444),o.e(5378),o.e(5657),o.e(14260),o.e(8954),o.e(88430),o.e(77382),o.e(13031),o.e(84064),o.e(63244),o.e(11112),o.e(84614),o.e(62680),o.e(6190),o.e(50389),o.e(19788),o.e(19376),o.e(90385),o.e(25977),o.e(23127),o.e(24951),o.e(29571),o.e(40746),o.e(69226),o.e(85482),o.e(99676),o.e(12156),o.e(57274)]).then(o.bind(o,316245)).then((t=>new t.SupportDialog(e).open()))}},665746:(e,t,o)=>{"use strict";o.d(t,{ showWithUserDeclarationDialog:()=>r});var i=o(29900),n=o(807655),s=o(793335);const r=e=>{const{callback:t,isExpertProduct:r,isCloseButtonShown:a,onClose:l}=e;return null===window.user.declared_status?((0,s.trackUserDeclarationEvent)("show_user_declaration",n.UserStatus.NonPro),async function(e,t,i,n=!0){Promise.all([o.e(26797),o.e(32662),o.e(5987),o.e(98996),o.e(43387),o.e(66458),o.e(4343),o.e(16600),o.e(77382),o.e(13031),o.e(24115),o.e(77162),o.e(81612),o.e(90385),o.e(99028),o.e(62526),o.e(91769),o.e(79124)]).then(o.bind(o,114830)).then((({showDeclarationDialog:o})=>o(e,t,i,n)))}(t,l,r,void 0===a||a)):(e=>{var t,o,i;return void 0!==e&&!e&&(null===(t=window.user)||void 0===t?void 0:t.declared_status)===n.UserStatus.Pro&&!(null===(o=window.user)||void 0===o?void 0:o.is_expert)&&Boolean(null===(i=window.user)||void 0===i?void 0:i.is_pro)})(r)?(0,i.showUpgradeToProDialog)({onClose:l}):t()}},29900:(e,t,o)=>{"use strict";async function i(e={}){Promise.all([o.e(14819),o.e(73224),o.e(53284),o.e(58639),o.e(32662),o.e(5987),o.e(98996),o.e(66458),o.e(4343),o.e(16600),o.e(45444),o.e(24115),o.e(74009),o.e(45983),o.e(90385),o.e(62526),o.e(42198),o.e(45389),o.e(91769),o.e(60662),o.e(15199)]).then(o.bind(o,507172)).then((({showUpgradeToProDialog:t})=>t(e)))}o.d(t,{showUpgradeToProDialog:()=>i})},793335:(e,t,o)=>{"use strict";o.d(t,{trackUserDeclarationEvent:()=>n});var i=o(776734);async function n(e,t){const o=await(0,i.getTracker)(),n={action:e,status:t};o&&o.trackUserDeclarationEvent(n)}},807655:(e,t,o)=>{"use strict";o.d(t,{DAYS_UNTIL_BLOCK:()=>s,UserStatus:()=>i,getDaysUntilBlock:()=>r,isUserLockedOut:()=>a});var i,n=o(755785);!function(e){e.NonPro="non_pro",e.Pro="pro"}(i||(i={}));const s=30,r=(0,n.memoize)((()=>{const e=window.user.declared_status_timestamp;if(!e)return null;const t=((new Date).getTime()-new Date(1e3*e).getTime())/1e3/24/60/60;return s-Math.floor(t)})),a=(0,n.memoize)((e=>{const t=null!=e?e:r();return Boolean(t&&t<0)}))},859261:(e,t,o)=>{"use strict";async function i(e){return(await Promise.all([o.e(14819),o.e(73224),o.e(79624),o.e(43387),o.e(4343),o.e(44597),o.e(52078),o.e(69749),o.e(19216),o.e(35697),o.e(31149),o.e(5657),o.e(14260),o.e(8954),o.e(88430),o.e(63244),o.e(11112),o.e(89039),o.e(55955),o.e(90385),o.e(25977),o.e(86454),o.e(68239),o.e(47484),o.e(84756),o.e(43498),o.e(68606)]).then(o.bind(o,460978))).createPhoneDialog(e)}async function n(e){return(await Promise.all([o.e(14819),o.e(73224),o.e(79624),o.e(43387),o.e(4343),o.e(44597),o.e(52078),o.e(69749),o.e(19216),o.e(35697),o.e(31149),o.e(5657),o.e(14260),o.e(8954),o.e(88430),o.e(63244),o.e(11112),o.e(89039),o.e(55955),o.e(90385),o.e(25977),o.e(86454),o.e(68239),o.e(47484),o.e(84756),o.e(43498),o.e(68606)]).then(o.bind(o,460978))).createEmailDialog(e)}o.d(t,{createPhoneDialog:()=>i,createSMSEmailDialog:()=>n})},534909:(e,t,o)=>{"use strict";async function i(e){if(!(e.target&&e.target instanceof Element))return;const t=e.target.closest(".js-follow-user");if(!t)return ;const{followUserHandler:i}=await Promise.all([o.e(95305),o.e(45607)]).then(o.bind(o,999026));await i(t)}function n(){document.body.addEventListener("click",i)}o.d(t,{install:()=>n})},402243:(e,t,o)=>{"use strict";o.d(t,{verificationIsRequired:()=>h,whenVerified:()=>_});var i=o(444372),n=o(345848),s=o(859261),r=o(49437),a=o(244842),l=o(957879);let c=l.Deferred();function d(e,t){var o=TVSettings.getBool("_phone_verif_dlg_initial",!0);TVSettings.setValue("_phone_verif_dlg_initial",!1),(0,n.trackEvent)("Phone verification",e+(o?" initial":""),t)}function u(e){const t=l.Deferred();return(0,s.createPhoneDialog)({featureSource:e.source,doNotShowConfirmation:e.doNotShowConfirmation}).then((o=>{o.on("afterOpen",(()=>d("Show dialog",e.source))).on("verification:success",(o=>{t.resolve(o),d("Verified",e.source)})).on("verification:cancel",(()=>{t.reject("cancelled"),d("Cancelled",e.source)})).on("verification:codeExpired",(()=>d("Show dialog",e.source))).open()})),t}function h(e={}){return new Promise((t=>{!window.is_authenticated||user.is_staff||user.is_superuser||user.is_pro||user.is_moderator?t([!1]):e.customPhoneCheck?e.customPhoneCheck()?t([!0,"date-joined"]):t([!1]):a.enabled("phone_verification")&&!user.has_phone?e.isSuspiciousCountry?t([!0]):!0!==e.doNotCheckSocialActivity?t([!0,"date-joined"]):(!0!==e.doNotCheckSuspicious&&t([Boolean(r.TVLocalStorage.getItem("is_suspicious")),"suspicious"]),t([!0,"default"])):t([!1])}))}function _(e={}){const t=l.Deferred();return h({doNotCheckSuspicious:e.doNotCheckSuspicious,doNotCheckSocialActivity:e.doNotCheckSocialActivity,customPhoneCheck:e.customPhoneCheck,isSuspiciousCountry:e.isSuspiciousCountry}).then((([n,s])=>{if(!n)return c.resolve(),t.resolve();if(n&&e.silentPhoneVerification)return t.reject("phone_verification_required");if(!e.showDialog)return c.done((()=>t.resolve()));const r={source:e.source,doNotShowConfirmation:e.doNotShowConfirmation};"suspicious"!==s&&(r.topMessage=i.t(null,void 0,o(236640))),u(r).done((()=>t.resolve())).always((()=>{t.reject("phone_verification_declined"),e.afterAllCb&&e.afterAllCb()}))})).catch((e=>e)),t.promise()}window.loginStateChange&&loginStateChange.subscribe(null,(()=>{window.is_authenticated&&(c=l.Deferred(),h().then((([e,t])=>{e||c.resolve()})))}))},318172:(e,t,o)=>{"use strict";o.d(t,{Pro:()=>u});var i=o(120780),n=o(101090),s=o(746133),r=o(403009),a=o(707957),l=o(588948),c=o(201089);const d=(0,l.getFreshInitData)();class u{constructor(e){var t,o;this.packagesUpdated=new a.Delegate,this.PRODUCT_TYPES={pro_plan:1,exchange:4,connection:6,coins:8},this._products={},this._invalidShopConf=!1,this._freeProductIds=["tv-scripting","tv-basicstudies","tv-prostudies","Script$USER","Script$EDGR","ESD$TV"],this._discounts={},this._offers=[],this._paidExchanges=[],this._logger=(0,c.getLogger)("Pro"),e&&(this._offers=null!==(t=e.offers)&&void 0!==t?t:[],this._paidExchanges=null!==(o=e.paid_exchanges)&&void 0!==o?o:[],this._invalidShopConf=!0,"undefined"!=typeof window&&window.loginStateChange.subscribe(this,this.onLoginStateChange))} isDiscountProductId(e){return e in this._discounts}hasPackage(e){return this._offers.includes(e)||this._freeProductIds.includes(e)}async updateShopConf(e=!1){return void 0!==this._shopConfPromise||(this._shopConfPromise=(0,i.fetch)("/market/shopconf/",{credentials:"include"}).then((async t=>{const o=await t.json();return this._products=o.all_products&&JSON.parse(o.all_products)||{},this._discounts=o.discounts&&JSON.parse(o.discounts)||{},this._offers=o.offers&&JSON.parse(o.offers)||[],this._paidExchanges=o.paid_exchanges&&JSON.parse(o.paid_exchanges)||[],this._invalidShopConf=!1,delete this._shopConfPromise,e||this.packagesUpdated.fire(),o})).catch((()=>{throw this._logger.logError("Update shopconf error"),delete this._shopConfPromise,Error("Update shopconf error")}))),this._shopConfPromise}invalidateShopConf(){this._invalidShopConf=!0}isInvalidShopConf(){return!!this._invalidShopConf}ensureValidShopConf(){return new Promise((e=>this.runOrUpdate(e)))}onLoginStateChange(e){e||this.updateShopConf()}runOrUpdate(e,t){this.isInvalidShopConf()?this.updateShopConf(t).then(e):e()}getIDCExchanges(e){const t=this._products;if(d)if(e){if(d.idc_delay_exchanges_list)return d.idc_delay_exchanges_list}else if(d.idc_exchanges_list)return d.idc_exchanges_list;return Object.keys(t).filter((o=>{const i=t[o];return!!(0,r.isExchange)(i)&&(e?i.idc_service_codes_delay:i.idc_service_codes)})).map((e=>t[e].exchange))}getProduct(e){if(e in this._products)return this._products[e];if(this.isDiscountProductId(e)){const t=this._discounts[e],o={discount_text_id:e,...this._products[t.product]};return void 0!==t.fixed_cost&&(o.fixed_cost=t.fixed_cost),void 0!==t.extra_days&&(o.extra_days=t.extra_days),void 0!==t.billing_cycle&&(o.billing_cycle=t.billing_cycle),void 0!==t.next_billing_cycle&&(o.next_billing_cycle=t.next_billing_cycle),o}return{}}async findProduct(e){if(this.isInvalidShopConf())try{await this.updateShopConf()}catch(e){}return this.getProduct(e)}getDiscountProduct(e){var t;return null!==(t=this._discounts[e])&&void 0!==t?t:{}}isOffer(e,t){return Object.keys(this._discounts).filter((e=>!this._discounts[e].expired&&this._discounts[e].offer_type===t)).includes(e)}getUserExchanges(){var e;const t=null===(e=window.pro)||void 0===e?void 0:e.offers();return t?t.map((e=>this.getProduct(e))).filter((e=>(0,r.isExchange)(e))):[]}getUserPaidExchanges(){var e;const t=null===(e=window.pro)||void 0===e?void 0:e.paidExchanges();return t?t.map((e=>this.getProduct(e))):[]}getUserExchangeByPerm(e){return this.getUserExchanges().find((t=>t.exchange===e))}getExchange(e){const t=this.getProductsByType(r.ProductType.Exchange);let o;for(let i=0;ithis._products[t].type===e)).map((e=>this.getProduct(e)))}getProPlanProducts(){return this.getProductsByType(r.ProductType.ProPlan).filter((e=>!e.is_expert))}getExpertPlanProducts(){ return this.getProductsByType(r.ProductType.ProPlan).filter((e=>e.is_expert))}getPaidExchangesForProfessional(){return this.getProductsByType(r.ProductType.Exchange).filter((e=>e.paid_for_expert))}getProPlanProductsList(){return this.getProPlanProducts().map((e=>e.text_id))}getExpertPlanProductsList(){return this.getExpertPlanProducts().map((e=>e.text_id))}isExpertProduct(e){return this.getExpertPlanProductsList().includes(e)}isPro(){return(0,r.isPro)(window.user)}getSuperProduct(e){}getStudiesOrder(){return[]}userHasRealtimeForExchange(e){const t=(null!=e?e:"").toLowerCase().replace("exchange-",""),o=this.getExchange(t);if(!(0,r.isProductDefined)(o))return!1;if(this._offers.includes("exchange-"+o.exchange))return!0;if(o.included_exchanges)for(let e=0;e{"use strict";o.r(t),o.d(t,{CUSTOM_SUFFIX:()=>a,EA_SUFFIX:()=>r,TRIAL_SUFFIX:()=>s,billingCycleToMonth:()=>S,billingCycleToTimeUnit:()=>l,billingPeriodText:()=>u,countDiscountByBillingCycle:()=>b,countPriceIncludeExtraDays:()=>y,floor0:()=>T,getDiscountFromEarlyAccess:()=>g,getDiscountProductId:()=>m,getPlanName:()=>N,getProductForTrial:()=>p,getReadableCycle:()=>c,getReadableNumericCycle:()=>d,getRelativeAmountOfDaysFromBillingCycle:()=>v,humanizeCardPlan:()=>w,humanizeProPlan:()=>f,isEarlyAccess:()=>h,isOldUser:()=>F,isTrialProduct:()=>_,round0:()=>E,round1or0:()=>k,round2:()=>C,round2or0:()=>x,roundMinimal:()=>P});o(586463);var i=o(444372),n=o(746133);const s="_trial",r="_discount",a="_custom";function l(e){return{y:i.t(null,{ plural:"years",count:1},o(870659)),m:i.t(null,{plural:"months",count:1},o(99062)),"3m":i.t(null,void 0,o(252656)),"2y":i.t(null,void 0,o(943350))}[e]}function c(e){return{m:i.t(null,void 0,o(438144)),y:i.t(null,void 0,o(739048)),"3m":i.t(null,void 0,o(490227)),"2y":i.t(null,void 0,o(565851))}[e]||""}function d(e){return{[n.BillingCycle.Monthly]:i.t(null,void 0,o(438144)),[n.BillingCycle.OneYear]:i.t(null,void 0,o(187534)),[n.BillingCycle.ThreeMonths]:i.t(null,void 0,o(490227)),[n.BillingCycle.TwoYears]:i.t(null,void 0,o(122354))}[e]||""}function u(e){var t;return null!==(t={y:i.t(null,void 0,o(304183)),m:i.t(null,void 0,o(432950)),"2y":i.t(null,void 0,o(89571))}[e])&&void 0!==t?t:""}function h(e){return/\d{0,2}_discount$/.test(e)}function _(e){return new RegExp(s+"$").test(e)}function p(e){return e.split(s)[0]}function g(e){const t=e.match(new RegExp("^(d{0,2})"+r+"$"));return t?+t[1]||50:0}function m(e,t,o){return`${e}_${t}${o}`}function f(e,t){let n=e;switch(e){case"free":n="Basic";break;case"pro":n="Essential";break;case"pro_realtime":n="Plus";break;case"pro_premium":n="Premium";break;case"pro_expert":n="Expert";break;case"pro_realtime_expert":n="Elite";break;case"pro_premium_expert":n="Ultimate"}return t&&(n+=" "+i.t(null,void 0,o(679372))),n}function w(e){let t=e;switch(e){case"pro":t="Essential";break;case"pro_realtime":t="Plus";break;case"pro_premium":t="Premium";break;case"pro_expert":t="Expert";break;case"pro_realtime_expert":t="Elite";break;case"pro_premium_expert":t="Ultimate";break;case"free":t="Basic"}return t}function v(e,t){const o=t||new Date,i=S(e),n=o.getMonth()+i,s=new Date(new Date(o).setMonth(n));return s.getMonth()>n%12&&s.setDate(0),function(e,t){const o=t.getTime()-e.getTime();return Math.round(o/1e3/60/60/24)}(o,s)}function b(e,t,o){return Math.round((t-e)*S(o))}function y(e,t,o=0){return e/(30*S(t)+o)*(30*S(n.BillingCycle.Monthly))}function S(e){switch(e){case n.BillingCycle.TwoYears:return 24;case n.BillingCycle.OneYear:return 12;case n.BillingCycle.ThreeMonths:return 3;default:return 1}}function C(e){return(Math.round(100*e)/100).toFixed(2)}function E(e){const t=Math.round(100*e)/100;return Math.round(t).toFixed(0)}function T(e){return Math.floor(e).toString()}function x(e){const t=Math.round(100*e)/100,o=Math.round(t);return Math.abs(t-o)>0?t.toFixed(2):o.toFixed(0)}function k(e){return Number.isInteger(e)?e.toFixed(0):(Math.round(10*e)/10).toFixed(1)}function P(e){const t=Math.round(100*e)/100,o=Math.round(10*e)/10,i=Math.round(t);return Math.abs(t-i)>0?Math.abs(t-o)>0?t.toFixed(2):o.toFixed(1):i.toFixed(0)}function N(e){const t=i.t(null,void 0,o(133011));if(_(e)){const o=f(p(e));return t.format({proPlanName:o})}return f(e)}function F(){return!!window.user.date_joined&&new Date(window.user.date_joined).getTime(){"use strict";o.r(t),o.d(t,{QuoteTicker:()=>S});var i=o(329806),n=o(201089),s=o(389137),r=o(541346),a=o(497981),l=o(624444),c=o(943994),d=o(600303),u=o(719240),h=o(665570),_=o(955255),p=o(876332);var g=o(572570) ;function m(e,t,o){const i=(0,g.toNumberOrUndefined)(e);if("economic"===(null==t?void 0:t.type)&&0===i||void 0===i)return;const n=(null==o?void 0:o.customPriceFormatter)||"volume"===t.format&&new c.VolumeFormatter({precision:2})||new l.PriceFormatter({priceScale:t.pricescale||100,minMove:t.minmov||1,fractional:t.fractional,minMove2:t.minmove2}),s=void 0!==(null==o?void 0:o.signPositiveChange)?o.signPositiveChange:null==o?void 0:o.signPositive;return((e,t=!0)=>t?`(${e})`:e)(n.format(i,{signPositive:s,signNegative:null==o?void 0:o.signNegative}),null==o?void 0:o.changeInBrackets)}var f=o(152592),w=o(40763);const v=(0,n.getLogger)("QuoteTicker"),b={addDescriptionTitle:!0,changeDirectionDownClass:"down",changeDirectionUpClass:"up",changeDirectionNeutralClass:"neutral",changeInBrackets:!1,changePercentInBrackets:!1,lastPriceTimeInBrackets:!0,lastReleaseDateTimeInBrackets:!0,rtcTimeInBrackets:!0,clientName:"quote-ticker",dontDyePrice:!1,fallingBg:null,growingBg:null,lastFallingClass:"falling",lastGrowingClass:"growing",quoteSession:null,signNegative:!0,signPositive:!1,customPriceFormatter:null,customTimeFormatter:null,sessionStatusClassSuffix:"--for-ticker",dataModeClassSuffix:"--for-ticker",showInvalidSymbolStatus:!1,indicatorsTooltipType:"custom",lastPriceLastCharSup:!1,lastPriceHighlightDiffOnly:!1,initedHook:void 0,setStateHook:void 0,permissionDeniedHook:void 0,noSuchSymbolHook:void 0},y=/[KMBT]/;function S(e,t,o={}){this.enabled=!0,this._symbol=e,this._symbolOriginal=null,this._options=(0,i.deepExtend)({},b,o),!1!==this._options.signNegative&&!0!==this._options.signNegative&&delete this._options.signNegative,o.customPriceFormatter&&(this._customPriceFormatter=o.customPriceFormatter),o.customTimeFormatter&&(void 0!==o.customTimeFormatter.lastPrice||void 0!==o.customTimeFormatter.rtc?this._timeFormatter=o.customTimeFormatter:this._timeFormatter={lastPrice:o.customPriceFormatter,rtc:o.customPriceFormatter}),this._percentFormatter=new r.PercentageFormatter,this._defaultPriceFormatter=new l.PriceFormatter({priceScale:100}),this._priceFormatter=this._customPriceFormatter||this._defaultPriceFormatter,this._volumeFormatter=new c.VolumeFormatter({precision:2}),this._cache={},this._lastPrice=null,this._lastPriceFormatted="",this._elements={},this._textNodes={},this._changeVolumeLetter=this._getChangeVolumeLetterCallback(),this._setElements(t),this._highlighters={},this._initHighlighters(),this._options.setStateHook&&this.setStateHook(this._options.setStateHook),this.quoteSession=this._options.quoteSession||(0,p.getQuoteSessionInstance)("simple"),this._quoteSessionEventHandler=this.onData.bind(this),this._connectTimeoutId=setTimeout(this.connect.bind(this),0)}function C(e){const t=e.search(y),o=t>=0?e.slice(t):"";return[t>0?e.substring(t,0):0===t?"":e,o]}function E(e,t,o,i,n){var s,r=null;function a(){if(s&&(clearTimeout(s),s=void 0),o||t)for(var r=0;re.classList.add("i-hidden"))),this._textNodes.change=this._getOrCreateTextNodes(this._elements.change),this._textNodes.changePercent=this._getOrCreateTextNodes(this._elements.changePercent),this._textNodes.extHrsChange=this._getOrCreateTextNodes(this._elements.extHrsChange),this._textNodes.extHrsChangePercent=this._getOrCreateTextNodes(this._elements.extHrsChangePercent),this._textNodes.extHrsClose=this._getOrCreateTextNodes(this._elements.extHrsClose),this._textNodes.last=this._getOrCreateTextNodes(this._elements.last),this._textNodes.open=this._findTextNodes(e,"js-symbol-open"),this._textNodes.eps=this._findTextNodes(e,"js-symbol-eps"),this._textNodes.marketCap=this._findTextNodes(e,"js-symbol-market-cap"),this._textNodes.prevClose=this._findTextNodes(e,"js-symbol-prev-close"),this._textNodes.dividends=this._findTextNodes(e,"js-symbol-dividends"),this._textNodes.priceEarnings=this._findTextNodes(e,"js-symbol-pe"),this._textNodes.volume=this._findTextNodes(e,"js-symbol-volume"),this._textNodes.high=this._findTextNodes(e,"js-symbol-high"),this._textNodes.low=this._findTextNodes(e,"js-symbol-low"),this._textNodes.currency=this._findTextNodes(e,"js-symbol-currency"),this._textNodes.lastPriceTime=this._findTextNodes(e,"js-symbol-lp-time"),this._textNodes.lastReleaseDate=this._findTextNodes(e,"js-symbol-last-release-date"), this._textNodes.rtcTime=this._findTextNodes(e,"js-symbol-rtc-time"),this._elements.lastHighlight=this._options.lastPriceHighlightDiffOnly?this._elements.last.map((e=>this._appendAndGetNewElement(e,"span"))):this._elements.last,this._textNodes.lastHighlight=this._getOrCreateTextNodes(this._elements.lastHighlight),this._elements.lastSup=this._options.lastPriceLastCharSup?this._elements.lastHighlight.map((e=>this._appendAndGetNewElement(e,"sup"))):[],this._textNodes.lastSup=this._getOrCreateTextNodes(this._elements.lastSup)},S.prototype._findElements=function(e,t){var o=(0,s.isArray)(t)?t:[t];return Array.prototype.concat.apply([],o.map((t=>Array.prototype.slice.call(e.getElementsByClassName(t)))))},S.prototype._findTextNodes=function(e,t){return this._getOrCreateTextNodes(this._findElements(e,t))},S.prototype._getOrCreateTextNodes=function(e){return e.map((e=>{var t=this._getFirstTextNode(e);return t||(t=e.ownerDocument.createTextNode(""),e.appendChild(t)),t}))},S.prototype._appendAndGetNewElement=function(e,t){const o=document.createElement(t);return e.appendChild(o),o},S.prototype._getFirstTextNode=function(e){for(var t=e.childNodes,o=t.length-1;o>=0;o--)if(3===t.item(o).nodeType)return t.item(o);return null},S.prototype.connect=function(e){this._subscribed||(this._subscribedSymbol=e||this._symbol,this.quoteSession.subscribe(this._options.clientName,this._subscribedSymbol,this._quoteSessionEventHandler),this._subscribed=!0)},S.prototype.disconnect=function(){clearTimeout(this._connectTimeoutId),this._subscribed&&(this.quoteSession.unsubscribe(this._options.clientName,this._subscribedSymbol,this._quoteSessionEventHandler),this._subscribed=!1)},S.prototype.onData=function(e,t){this.enabled&&("ok"===e.status?this.successData(e,t):"permission_denied"===e.status?this.onPermissionDenied(e):"error"===e.status&&this.errorData(e))},S.prototype.successData=function(e,t){e.values&&this.setState(e.values,e,t)},S.prototype.onPermissionDenied=function(e){(0,w.isSfQuoteData)(e)||(0,f.isMcxQuoteData)(e)?this._options.permissionDeniedHook?this._options.permissionDeniedHook(e,this._symbolOriginal||this._symbol):this.errorData(e):this.downgradeData(e)},S.prototype.errorData=function(e){this._options.showInvalidSymbolStatus&&(this.setShortName(this._symbol),this._elements.sessionStatus.map((e=>new d.MarketStatusIndicator({classSuffix:this._options.sessionStatusClassSuffix,el:e,data:{values:{current_session:"invalid"}},tooltipType:this._options.indicatorsTooltipType})))),this._options.noSuchSymbolHook?(this._symbolOriginal&&this.setShortName(this._symbolOriginal),this._options.noSuchSymbolHook.call(this,e,this._symbolOriginal||this._symbol)):v.logWarn("No data for: "+this._symbol)},S.prototype.downgradeData=function(e){{const t=e&&e.values&&e.values.alternative,o=this._symbol===t;if(!(t&&-1!==t.indexOf(":"))||o)return void this.errorData(e);this._symbolOriginal=this._symbol,this._symbol=t,this._subscribed=!1,this.connect()}},S.prototype.setState=function(e,t,i){const n=i.values;this._isVolumeFormat="volume"===e.format, null==n.pricescale&&null==n.minmov&&null==n.fractional&&null==n.minmove2||(this._priceFormatter=this._customPriceFormatter||this._isVolumeFormat&&this._volumeFormatter||new l.PriceFormatter({priceScale:e.pricescale||100,minMove:e.minmov||1,fractional:e.fractional,minMove2:e.minmove2}));const s=this._options,r=this._percentFormatter,a=this._priceFormatter,p=this._defaultPriceFormatter,g=this._volumeFormatter,f=(e,t=!0)=>t?`(${e})`:e,w=void 0!==s.signPositiveChange?s.signPositiveChange:s.signPositive,b=e=>m(e,n,s),y=e=>{const t=r.format(e,{signPositive:w,signNegative:s.signNegative});return f(t,s.changePercentInBrackets)},S=a.format.bind(a),C=p.format.bind(p),E=g.format.bind(g),T=e=>null==e?c.PLACE_HOLDER:C(e);s.disableChange||(this._setNodesValue(this._textNodes.change,n.change,b),this._setNodesValue(this._textNodes.changePercent,n.change_percent,y),null!=n.change&&(s.dontDyePrice||this._setChangeFontColor([].concat(this._elements.change,this._elements.changePercent),n.change,s.changeUpFontColor,s.changeDownFontColor,s.changeNeutralFontColor),this._setChangeDirection(this._elements.changeDirection,n.change)),this._setNodesValue(this._textNodes.extHrsChange,n.rch,b),this._setNodesValue(this._textNodes.extHrsChangePercent,n.rchp,y),null!=n.rch&&(s.dontDyePrice||this._setChangeFontColor([].concat(this._elements.extHrsChange,this._elements.extHrsChangePercent),n.rch,s.changeUpFontColor,s.changeDownFontColor,s.changeNeutralFontColor),this._setChangeDirection(this._elements.extHrsChangeDirection,n.rch))),this._setNodesValue(this._textNodes.prevClose,n.prev_close_price,S),this._setNodesValue(this._textNodes.dividends,e.dividends_yield,(e=>null==e?c.PLACE_HOLDER:r.format(e,{signPositive:s.signPositive,signNegative:s.signNegative})),!0);let x=(0,h.getTranslatedSymbolDescription)(n);if(x&&(x=this._prepareSymbolDescription(x),this._setTextsContent(this._elements.description,x),this._options.addDescriptionTitle))for(var k=0;k{this._setTextsContent(this._elements.lastPeriod,t.periodFormatter(e["reference-last-period"]))})),this._elements.lastPeriod.length&&void 0===e["reference-last-period"]&&this._setTextsContent(this._elements.lastPeriod,"—"),this._setLastValue(n.last_price,S),this._setNodesValue(this._textNodes.extHrsClose,n.rtc,S),n.rtc&&this._highlighters.extHrsClose.show(n.rtc),n.industry&&this._setTextsContent(this._elements.industry,e.industry,(e=>e)),n.sector&&this._setTextsContent(this._elements.sector,e.sector), this._elements.sessionStatus&&n.current_session&&(this._sessionStatusInstances?this._sessionStatusInstances.forEach((e=>e.setStatus(n.current_session))):this._sessionStatusInstances=this._elements.sessionStatus.map((t=>new d.MarketStatusIndicator({classSuffix:this._options.sessionStatusClassSuffix,el:t,short:!0,data:{values:n},quoteSession:this.quoteSession,symbol:e.original_name,manualUpdate:!0,tooltipType:this._options.indicatorsTooltipType,sessionStatusIcon:this._options.sessionStatusIcon})))),this._setNodesValue(this._textNodes.open,n.open_price,S),this._setNodesValue(this._textNodes.high,n.high_price,S),this._setNodesValue(this._textNodes.low,n.low_price,S),this._setNodesValue(this._textNodes.eps,e.earnings_per_share_basic_ttm,T,!0),this._setNodesValue(this._textNodes.priceEarnings,e.price_earnings_ttm,T,!0),this._setNodesValue(this._textNodes.marketCap,e.market_cap_basic,E,!0),this._setNodesValue(this._textNodes.volume,e.volume,E,!0);const N=(0,_.prepareCurrencyValue)(n);if(N&&this._setNodesValue(this._textNodes.currency,N,null,!0),(n.lp_time||e.lp_time)&&this._textNodes.lastPriceTime.length&&(this._timeFormatter&&this._timeFormatter.lastPrice?this._setNodesValue(this._textNodes.lastPriceTime,f(this._timeFormatter.lastPrice(e.lp_time,e.current_session),this._options.lastPriceTimeInBrackets)):v.logError("last price time field requested with no formatter provided")),(n.last_release_date||e.last_release_date)&&this._textNodes.lastReleaseDate.length&&(this._timeFormatter&&this._timeFormatter.lastReleaseDate?this._setNodesValue(this._textNodes.lastReleaseDate,f(this._timeFormatter.lastReleaseDate(e.last_release_date,e.current_session),this._options.lastReleaseDateTimeInBrackets)):v.logError("lastReleaseDate time field requested with no formatter provided")),(n.rtc_time||e.rtc_time)&&this._textNodes.rtcTime.length&&(this._timeFormatter&&this._timeFormatter.rtc?this._setNodesValue(this._textNodes.rtcTime,f(this._timeFormatter.rtc(e.rtc_time,e.current_session),this._options.rtcTimeInBrackets)):v.logError("rtc time field requested with no formatter provided")),null!=n.last_price)for(k=0;kt.update({values:e}))):this._updateModeInstances=this._elements.updateMode.map((t=>new u.DataModeIndicator({classSuffix:this._options.dataModeClassSuffix,el:t,data:{values:e},modeInterval:e.update_mode_seconds,short:!0,tooltipType:this._options.indicatorsTooltipType})))),this._setStateHook&&this._setStateHook(t.values,i.values,t.complete,this.getOptions()),this._lastPrice?this._highlighters.last.show(e.last_price):null===this._lastPrice&&(this._container.classList.add("quote-ticker-inited"),"function"==typeof this._options.initedHook&&this._options.initedHook("last_price"in e)),this._lastPrice=e.last_price},S.prototype._setNodesValue=function(e,t,o,i){ if(null!=t||i)for(var n="function"==typeof o?o(t):t,s=0;s{3!==t.childNodes.length?t.appendChild(document.createTextNode(e)):t.childNodes[2].nodeValue=e})))}},S.prototype._getLastValueStringDiff=function(e,t){if(e===t){const[e,o]=C(t);return[e,"",o]}let o=0;for(;e[o]===t[o];)o++;const[i,n]=C(t.slice(o));return[t.slice(0,o),i,n]},S.prototype._setChangeFontColor=function(e,t,o,i,n){for(var s=a.PriceColorer.formatSign(t,{up:o,down:i,neutral:n}),r=0;r0),i.toggle(this._options.changeDirectionDownClass,t<0),i.toggle(this._options.changeDirectionNeutralClass,0===t)}},S.prototype.setShortName=function(e=""){this._setTextsContent(this._elements.shortName,e)},S.prototype._prepareSymbolDescription=function(e){var t=this._getCache("symbol-description:"+e);return t||(t=e,this._setCache("symbol-description:"+e,t),t)},S.prototype._initHighlighters=function(){this._highlighters.last=new E(this._elements.lastHighlight,this._options.growingBg,this._options.fallingBg,this._options.lastGrowingClass,this._options.lastFallingClass),this._highlighters.extHrsClose=new E(this._elements.extHrsClose,this._options.growingBg,this._options.fallingBg,this._options.lastGrowingClass,this._options.lastFallingClass)},S.prototype.disable=function(){this.enabled=!1,this.disconnect()},S.prototype.enable=function(){this.enabled=!0,this.connect()},S.prototype.setStateHook=function(e){null===e&&this._setStateHook?delete this._setStateHook:"function"==typeof e&&(this._setStateHook=e)},S.prototype._setCache=function(e,t){null==t?delete this._cache[e]:this._cache[e]=t},S.prototype._getCache=function(e){return this._cache&&this._cache[e]},S.prototype.getOptions=function(){return this._options}},529366:(e,t,o)=>{"use strict";var i=o(960337).createGoProDialog,n=o(781666).showSignModal;window.TVDialogs={showSignInDialog:function(e){return n(e)},showGoProDialog:function(e){i(e)}}},755785:(e,t,o)=>{"use strict";function i(e,t){const o=new Map;return function(...i){ const n=""+(t?t.apply(null,i):i[0]);if(!o.has(n)){const t=e.apply(this,i);return o.set(n,t),t}return o.get(n)}}o.d(t,{memoize:()=>i})},955255:(e,t,o)=>{"use strict";function i(e){let t=[];const o=e.currency_code||e.value_unit_id;switch(e.measure){case"price":t=[o,e.unit_id];break;case"unit":t=["PCT"===o?"%":o,e.unit_id];break;default:t=["PCT"===o?"%":o]}return t.filter(Boolean).join(" / ")}o.d(t,{prepareCurrencyValue:()=>i})},101090:(e,t,o)=>{"use strict";o.d(t,{visitPaymentPage:()=>u});var i=o(444372),n=o(971843),s=o(746133),r=o(683253),a=o(419398),l=o(261642),c=o(501437),d=o(665746);function u(e="y",t={},u){var h;const _=null!==(h=t.productName)&&void 0!==h?h:"pro",p="bitcoin"===(t.paymentMethod||"paypal")?"Bitcoin payment":"Paypal payment",g=null!=u?u:(0,l.initOrderDialogLoader)();window.runOrSignIn((async()=>{var i;if(await(0,r.check)())return void(0,a.showRestrictedCountryNotificationDialog)();if("function"==typeof t.canVisit&&!t.canVisit())return void(t.reloadIfCantVisit?location.reload():location.href="/");const{coupon:l,coupon_billing_cycle:u}=(0,c.getUrlParams)(),{updateConversionData:h}=await o.e(19434).then(o.bind(o,388326)),_=await h("gopro-payment-dialog"),p=()=>(0,n.showPaymentOrderDialog)({productId:t.productName,billingCycle:t.exchangesOnly?s.BillingCycle.Monthly:e,fixedCycle:t.fixedCycle,exchanges:t.selectedPackages,coupon:Boolean(u)?l:void 0,planStatus:t.planStatus,initialSelectedPackageName:t.initialSelectedPackageName,initialState:{user:_.user,state:_.state}});null===(i=window.pro)||void 0===i||i.runOrUpdate((()=>{var e;const o=Boolean(t.productName&&(null===(e=window.pro)||void 0===e?void 0:e.isExpertProduct(t.productName)));return t.isPromoOrder?p().then((async()=>(await g)())):(0,d.showWithUserDeclarationDialog)({callback:p,isExpertProduct:o}).then((async()=>{(await g)()}))}))}),{source:p,paidAccountCheck:window.pro&&window.pro.getProduct(_).type===window.pro.PRODUCT_TYPES.pro_plan,paidAccountSuccessButtonText:i.t(null,void 0,o(976111)),onUnmountEvent:async()=>{u?u():(await g)()}})}},746518:e=>{"use strict" ;e.exports=JSON.parse('{"content":{"chartProperties":{"scalesProperties":{"textColor":"#B2B5BE","lineColor":"rgba(240, 243, 250, 0)","backgroundColor":"#ffffff"},"paneProperties":{"vertGridProperties":{"color":"rgba(240, 243, 250, 0.06)"},"horzGridProperties":{"color":"rgba(240, 243, 250, 0.06)"},"crossHairProperties":{"color":"#9598A1"},"background":"#131722","backgroundGradientStartColor":"#181C27","backgroundGradientEndColor":"#131722","backgroundType":"gradient","separatorColor":"#2A2E39"}},"sessions":{"graphics":{"backgrounds":{"outOfSession":{"color":"#2962FF","transparency":92},"preMarket":{"color":"#FF9800","transparency":92},"postMarket":{"color":"#2962FF","transparency":92}},"vertlines":{"sessBreaks":{"color":"#4985e7","style":2,"width":1}}}},"mainSourceProperties":{"baseLineColor":"#5d606b","candleStyle":{"borderColor":"#378658","upColor":"#089981","wickColor":"#B5B5B8","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"haStyle":{"borderColor":"#378658","upColor":"#089981","wickColor":"#B5B5B8","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"barStyle":{"downColor":"#F23645","upColor":"#089981"},"pnfStyle":{"downColor":"#F23645","upColor":"#089981","upColorProjection":"#336854","downColorProjection":"#7f323f"},"baselineStyle":{"baselineColor":"#758696","topFillColor1":"rgba(8, 153, 129, 0.28)","topFillColor2":"rgba(8, 153, 129, 0.05)","bottomFillColor1":"rgba(242, 54, 69, 0.05)","bottomFillColor2":"rgba(242, 54, 69, 0.28)","topLineColor":"#089981","bottomLineColor":"#F23645"},"areaStyle":{"transparency":100,"color1":"rgba(41, 98, 255, 0.28)","color2":"#2962FF","linecolor":"#2962FF","linewidth":2,"linestyle":0},"hiloStyle":{"color":"#2962FF","borderColor":"#2962FF","labelColor":"#2962FF"},"columnStyle":{"upColor":"rgba(8, 153, 129, 0.5)","downColor":"rgba(242, 54, 69, 0.5)","priceSource":"close"},"renkoStyle":{"upColor":"#089981","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645","upColorProjection":"#336854","downColorProjection":"#7f323f","borderUpColorProjection":"#336854","borderDownColorProjection":"#7f323f","wickUpColor":"#089981","wickDownColor":"#F23645"},"lineStyle":{"color":"#2962FF","linewidth":2,"linestyle":0},"lineWithMarkersStyle":{"color":"#2962FF","linewidth":2,"linestyle":0},"steplineStyle":{"color":"#2962FF","linewidth":2,"linestyle":0},"kagiStyle":{"downColor":"#F23645","upColor":"#089981","upColorProjection":"#336854","downColorProjection":"#7f323f"},"pbStyle":{"upColor":"#089981","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645","upColorProjection":"#336854","downColorProjection":"#7f323f","borderUpColorProjection":"#336854","borderDownColorProjection":"#7f323f"},"rangeStyle":{"upColor":"#089981","downColor":"#F23645","upColorProjection":"#336854","downColorProjection":"#7f323f"},"tpoStyle":{"color":"#2962ff","tpo":{"colors":{"gradientColors":["#e91e63","#00c853","#00bcd4","#651FFF"]}},"volumeProfile":{"valuesColor":"#089981","vah":{"color":"#3179F5"},"val":{"color":"#3179F5"},"poc":{"color":"#F23645"},"volumeColor":"rgba(41, 98, 255, 0.3)","valueAreaColor":"rgba(41, 98, 255, 0.7)"}}}}}') },979706:e=>{"use strict" ;e.exports=JSON.parse('{"content":{"chartProperties":{"scalesProperties":{"textColor":"#131722","lineColor":"rgba(42, 46, 57, 0)","backgroundColor":"#ffffff"},"paneProperties":{"vertGridProperties":{"color":"rgba(42, 46, 57, 0.06)"},"horzGridProperties":{"color":"rgba(42, 46, 57, 0.06)"},"crossHairProperties":{"color":"#9598A1"},"background":"#ffffff","backgroundGradientStartColor":"#ffffff","backgroundGradientEndColor":"#ffffff","separatorColor":"#E0E3EB"}},"sessions":{"graphics":{"backgrounds":{"outOfSession":{"color":"#2962FF","transparency":92},"preMarket":{"color":"#FF9800","transparency":92},"postMarket":{"color":"#2962FF","transparency":92}},"vertlines":{"sessBreaks":{"color":"#4985e7","style":2,"width":1}}}},"mainSourceProperties":{"baseLineColor":"#B2B5BE","candleStyle":{"borderColor":"#378658","upColor":"#089981","wickColor":"#737375","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"haStyle":{"borderColor":"#378658","upColor":"#089981","wickColor":"#737375","wickUpColor":"#089981","wickDownColor":"#F23645","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645"},"barStyle":{"downColor":"#F23645","upColor":"#089981"},"pnfStyle":{"downColor":"#F23645","upColor":"#089981","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae"},"baselineStyle":{"baselineColor":"#758696","topFillColor1":"rgba(8, 153, 129, 0.28)","topFillColor2":"rgba(8, 153, 129, 0.05)","bottomFillColor1":"rgba(242, 54, 69, 0.05)","bottomFillColor2":"rgba(242, 54, 69, 0.28)","topLineColor":"#089981","bottomLineColor":"#F23645"},"areaStyle":{"transparency":100,"color1":"rgba(41, 98, 255, 0.28)","color2":"#2962FF","linecolor":"#2962FF","linewidth":2,"linestyle":0},"hiloStyle":{"color":"#2962FF","borderColor":"#2962FF","labelColor":"#2962FF"},"columnStyle":{"upColor":"rgba(8, 153, 129, 0.5)","downColor":"rgba(242, 54, 69, 0.5)","priceSource":"close"},"renkoStyle":{"upColor":"#089981","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae","borderUpColorProjection":"#a9dcc3","borderDownColorProjection":"#f5a6ae","wickUpColor":"#089981","wickDownColor":"#F23645"},"lineStyle":{"color":"#2962FF","linewidth":2,"linestyle":0},"lineWithMarkersStyle":{"color":"#2962FF","linewidth":2,"linestyle":0},"steplineStyle":{"color":"#2962FF","linewidth":2,"linestyle":0},"kagiStyle":{"downColor":"#F23645","upColor":"#089981","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae"},"pbStyle":{"upColor":"#089981","downColor":"#F23645","borderUpColor":"#089981","borderDownColor":"#F23645","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae","borderUpColorProjection":"#a9dcc3","borderDownColorProjection":"#f5a6ae"},"rangeStyle":{"upColor":"#089981","downColor":"#F23645","upColorProjection":"#a9dcc3","downColorProjection":"#f5a6ae"},"tpoStyle":{"color":"#2962ff","tpo":{"colors":{"gradientColors":["#e91e63","#00c853","#00bcd4","#651FFF"]}},"volumeProfile":{"valuesColor":"#089981","vah":{"color":"#3179F5"},"val":{"color":"#3179F5"},"poc":{"color":"#F23645"},"volumeColor":"rgba(41, 98, 255, 0.3)","valueAreaColor":"rgba(41, 98, 255, 0.7)"}}}}}') }}]);