(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[81053],{257566:e=>{e.exports={}},3095:e=>{e.exports={button:"button-D4RPB3ZC",content:"content-D4RPB3ZC","icon-only":"icon-only-D4RPB3ZC",link:"link-D4RPB3ZC","color-brand":"color-brand-D4RPB3ZC","variant-primary":"variant-primary-D4RPB3ZC","variant-secondary":"variant-secondary-D4RPB3ZC","color-gray":"color-gray-D4RPB3ZC","color-green":"color-green-D4RPB3ZC","color-red":"color-red-D4RPB3ZC","color-black":"color-black-D4RPB3ZC","color-black-friday":"color-black-friday-D4RPB3ZC","color-cyber-monday":"color-cyber-monday-D4RPB3ZC","size-xsmall":"size-xsmall-D4RPB3ZC","start-icon-wrap":"start-icon-wrap-D4RPB3ZC","end-icon-wrap":"end-icon-wrap-D4RPB3ZC","with-start-icon":"with-start-icon-D4RPB3ZC","with-end-icon":"with-end-icon-D4RPB3ZC","size-small":"size-small-D4RPB3ZC","size-medium":"size-medium-D4RPB3ZC","size-large":"size-large-D4RPB3ZC","size-xlarge":"size-xlarge-D4RPB3ZC",animated:"animated-D4RPB3ZC",stretch:"stretch-D4RPB3ZC",grouped:"grouped-D4RPB3ZC","adjust-position":"adjust-position-D4RPB3ZC","first-row":"first-row-D4RPB3ZC","first-col":"first-col-D4RPB3ZC","no-corner-top-left":"no-corner-top-left-D4RPB3ZC","no-corner-top-right":"no-corner-top-right-D4RPB3ZC","no-corner-bottom-right":"no-corner-bottom-right-D4RPB3ZC","no-corner-bottom-left":"no-corner-bottom-left-D4RPB3ZC","text-wrap":"text-wrap-D4RPB3ZC","multiline-content":"multiline-content-D4RPB3ZC","secondary-text":"secondary-text-D4RPB3ZC","primary-text":"primary-text-D4RPB3ZC"}},998103:e=>{e.exports={"card-exterior":"card-exterior-Us1ZHpvJ"}},502137:e=>{e.exports={"tv-circle-logo":"tv-circle-logo-PsAlMQQF","tv-circle-logo--xxxsmall":"tv-circle-logo--xxxsmall-PsAlMQQF","tv-circle-logo--xxsmall":"tv-circle-logo--xxsmall-PsAlMQQF","tv-circle-logo--xsmall":"tv-circle-logo--xsmall-PsAlMQQF","tv-circle-logo--small":"tv-circle-logo--small-PsAlMQQF","tv-circle-logo--medium":"tv-circle-logo--medium-PsAlMQQF","tv-circle-logo--large":"tv-circle-logo--large-PsAlMQQF","tv-circle-logo--xlarge":"tv-circle-logo--xlarge-PsAlMQQF","tv-circle-logo--xxlarge":"tv-circle-logo--xxlarge-PsAlMQQF","tv-circle-logo--xxxlarge":"tv-circle-logo--xxxlarge-PsAlMQQF","tv-circle-logo--visually-hidden":"tv-circle-logo--visually-hidden-PsAlMQQF"}},557690:e=>{e.exports={preview:"preview-gDIex6UB",fixedHeight:"fixedHeight-gDIex6UB",ratio16by9:"ratio16by9-gDIex6UB",ratio2by1:"ratio2by1-gDIex6UB","broken-image":"broken-image-gDIex6UB","preview-grid":"preview-grid-gDIex6UB",picture:"picture-gDIex6UB",image:"image-gDIex6UB","image-link":"image-link-gDIex6UB",middle:"middle-gDIex6UB",corner:"corner-gDIex6UB","corner-top-left":"corner-top-left-gDIex6UB","corner-top-right":"corner-top-right-gDIex6UB","corner-bottom-left":"corner-bottom-left-gDIex6UB","corner-bottom-right":"corner-bottom-right-gDIex6UB"}},128415:e=>{e.exports={"tv-spinner__container-rotate":"tv-spinner__container-rotate-aLqboHuu"}},254073:e=>{e.exports={"css-value-copyright-transition-params":".6s 0s cubic-bezier(.4, .01, .22, 1)", "css-value-copyright-transition-params-half-time":".3s 0s cubic-bezier(.4, .01, .22, 1)",label:"label-dzbd7lyV",logoWrap:"logoWrap-dzbd7lyV",expandedWithTransition:"expandedWithTransition-dzbd7lyV",expandedByClick:"expandedByClick-dzbd7lyV",start:"start-dzbd7lyV",end:"end-dzbd7lyV",snap:"snap-dzbd7lyV",top:"top-dzbd7lyV",bottom:"bottom-dzbd7lyV",large:"large-dzbd7lyV",expanded:"expanded-dzbd7lyV",label__link:"label__link-dzbd7lyV"}},491741:e=>{e.exports={}},731041:e=>{e.exports={}},32546:e=>{e.exports={container:"container-TCXDeXQO",content:"content-TCXDeXQO",icon:"icon-TCXDeXQO",title:"title-TCXDeXQO",subtitle:"subtitle-TCXDeXQO",childrenContainer:"childrenContainer-TCXDeXQO"}},618630:e=>{e.exports={container:"container-Q_KPo8tL",innerContainer:"innerContainer-Q_KPo8tL",header:"header-Q_KPo8tL",title:"title-Q_KPo8tL",icon:"icon-Q_KPo8tL",link:"link-Q_KPo8tL"}},186015:e=>{e.exports={previewWrapper:"previewWrapper-S9oMlbeu"}},523:e=>{e.exports={loader:"loader-LlTtXvfG"}},685533:e=>{e.exports={card:"card-YNF0OWRe",cardWithImage:"cardWithImage-YNF0OWRe",container:"container-YNF0OWRe",header:"header-YNF0OWRe",title:"title-YNF0OWRe",article:"article-YNF0OWRe",preview:"preview-YNF0OWRe"}},767833:e=>{e.exports={grid:"grid-0GkkYHKF"}},396204:e=>{e.exports={}},661518:e=>{e.exports={}},876289:e=>{e.exports={wrap:"wrap-wXGVFOC9",wrapWithArrowsOuting:"wrapWithArrowsOuting-wXGVFOC9",wrapOverflow:"wrapOverflow-wXGVFOC9",scrollWrap:"scrollWrap-wXGVFOC9",noScrollBar:"noScrollBar-wXGVFOC9",icon:"icon-wXGVFOC9",scrollLeft:"scrollLeft-wXGVFOC9",scrollRight:"scrollRight-wXGVFOC9",isVisible:"isVisible-wXGVFOC9",iconWrap:"iconWrap-wXGVFOC9",fadeLeft:"fadeLeft-wXGVFOC9",fadeRight:"fadeRight-wXGVFOC9"}},167175:(e,t,n)=>{"use strict";n.d(t,{isAndroid:()=>h,isAnyMobile:()=>w,isBlackBerry:()=>p,isChrome:()=>s,isEdge:()=>c,isFF:()=>l,isIOS:()=>f,isIPad:()=>y,isLinux:()=>m,isMac:()=>d,isOperaMini:()=>_,isSafari:()=>u,isWindows:()=>g,mobiletouch:()=>a,touch:()=>i});const r="undefined"!=typeof window&&"undefined"!=typeof navigator,o=r&&"ontouchstart"in window,a=r&&o&&"onorientationchange"in window,i=r&&(o||!!navigator.maxTouchPoints),s=r&&window.chrome&&window.chrome.runtime,l=r&&window.navigator.userAgent.toLowerCase().indexOf("firefox")>-1,c=r&&/\sEdge\/\d\d\b/.test(navigator.userAgent),u=r&&Boolean(navigator.vendor)&&navigator.vendor.indexOf("Apple")>-1&&-1===navigator.userAgent.indexOf("CriOS")&&-1===navigator.userAgent.indexOf("FxiOS"),d=r&&/mac/i.test(navigator.platform),g=r&&/Win32|Win64/i.test(navigator.platform),m=r&&/Linux/i.test(navigator.platform),h=r&&/Android/i.test(navigator.userAgent),p=r&&/BlackBerry/i.test(navigator.userAgent),f=r&&/iPhone|iPad|iPod/.test(navigator.platform),_=r&&/Opera Mini/i.test(navigator.userAgent),y=r&&("MacIntel"===navigator.platform&&navigator.maxTouchPoints>1||/iPad/.test(navigator.platform)),w=h||p||f||_},631110:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});const r=n.tf},915812:(e,t,n)=>{"use strict";n.d(t,{SquareAnchorButton:()=>o.SquareAnchorButton,SquareButton:()=>r.SquareButton});n(221191) ;var r=n(422175),o=n(951144)},951144:(e,t,n)=>{"use strict";n.d(t,{SquareAnchorButton:()=>l});var r=n(50959),o=n(301792),a=n(8626),i=n(221191);function s(e){const{className:t,color:n,variant:r,size:o,stretch:i,animated:s,icon:l,iconOnly:c,startIcon:u,endIcon:d,...g}=e;return{...g,...(0,a.filterDataProps)(e),...(0,a.filterAriaProps)(e)}}function l(e){const{reference:t}=e,{isGrouped:n,cellState:a,disablePositionAdjustment:l}=(0,r.useContext)(o.ControlGroupContext),c=(0,i.getSquareButtonClasses)({...e,isGrouped:n,cellState:a,disablePositionAdjustment:l,isAnchor:!0});return r.createElement("a",{...s(e),className:c,ref:t},r.createElement(i.SquareButtonContent,{...e}))}},221191:(e,t,n)=>{"use strict";n.d(t,{SquareButtonContent:()=>d,getSquareButtonClasses:()=>u});var r=n(50959),o=n(497754),a=n(307754),i=n(79205),s=n(3095),l=n.n(s);const c="apply-overflow-tooltip apply-overflow-tooltip--check-children-recursively apply-overflow-tooltip--allow-text";function u(e){const{color:t="brand",size:n="medium",variant:r="primary",stretch:i=!1,icon:s,startIcon:u,endIcon:d,iconOnly:g=!1,className:m,isGrouped:h,cellState:p,disablePositionAdjustment:f=!1,primaryText:_,secondaryText:y,isAnchor:w=!1}=e,v=function(e){let t="";return 0!==e&&(1&e&&(t=o(t,l()["no-corner-top-left"])),2&e&&(t=o(t,l()["no-corner-top-right"])),4&e&&(t=o(t,l()["no-corner-bottom-right"])),8&e&&(t=o(t,l()["no-corner-bottom-left"]))),t}((0,a.getGroupCellRemoveRoundBorders)(p));return o(m,l().button,l()[`size-${n}`],l()[`color-${t}`],l()[`variant-${r}`],i&&l().stretch,(s||u)&&l()["with-start-icon"],d&&l()["with-end-icon"],g&&l()["icon-only"],v,h&&l().grouped,h&&!f&&l()["adjust-position"],h&&p.isTop&&l()["first-row"],h&&p.isLeft&&l()["first-col"],_&&y&&l()["multiline-content"],w&&l().link,c)}function d(e){const{startIcon:t,icon:n,iconOnly:a,children:s,endIcon:u,primaryText:d,secondaryText:g}=e,m=null!=t?t:n,h=!(t||n||u||a)&&!s&&d&&g;return r.createElement(r.Fragment,null,m&&r.createElement(i.Icon,{icon:m,className:l()["start-icon-wrap"]}),s&&r.createElement("span",{className:l().content},s),u&&!a&&r.createElement(i.Icon,{icon:u,className:l()["end-icon-wrap"]}),h&&function(e){return e.primaryText&&e.secondaryText&&r.createElement("div",{className:o(l()["text-wrap"],c)},r.createElement("span",{className:l()["primary-text"]}," ",e.primaryText," "),"string"==typeof e.secondaryText?r.createElement("span",{className:l()["secondary-text"]}," ",e.secondaryText," "):r.createElement("span",{className:l()["secondary-text"]},r.createElement("span",null,e.secondaryText.firstLine),r.createElement("span",null,e.secondaryText.secondLine)))}(e))}},422175:(e,t,n)=>{"use strict";n.d(t,{SquareButton:()=>c});var r=n(50959),o=n(843085),a=n(301792),i=n(8626),s=n(221191);function l(e){const{className:t,color:n,variant:r,size:o,stretch:a,animated:s,icon:l,iconOnly:c,startIcon:u,endIcon:d,primaryText:g,secondaryText:m,...h}=e;return{...h,...(0,i.filterDataProps)(e),...(0,i.filterAriaProps)(e)}}function c(e){ const{reference:t,tooltipText:n,...i}=e,{isGrouped:c,cellState:u,disablePositionAdjustment:d}=(0,r.useContext)(a.ControlGroupContext),g=(0,s.getSquareButtonClasses)({...i,isGrouped:c,cellState:u,disablePositionAdjustment:d});return r.createElement("button",{...l(i),className:g,ref:t,"data-overflow-tooltip-text":null!=n?n:e.primaryText?[e.primaryText,e.secondaryText].join(" "):(0,o.getTextForTooltip)(e.children)},r.createElement(s.SquareButtonContent,{...i}))}},301792:(e,t,n)=>{"use strict";n.d(t,{ControlGroupContext:()=>r});const r=n(50959).createContext({isGrouped:!1,cellState:{isTop:!0,isRight:!0,isBottom:!0,isLeft:!0}})},307754:(e,t,n)=>{"use strict";function r(e){let t=0;return e.isTop&&e.isLeft||(t+=1),e.isTop&&e.isRight||(t+=2),e.isBottom&&e.isLeft||(t+=8),e.isBottom&&e.isRight||(t+=4),t}n.d(t,{getGroupCellRemoveRoundBorders:()=>r})},132734:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>o});var r=n(50959);const o=r.forwardRef(((e,t)=>{const{icon:n="",title:o,ariaLabel:a,ariaLabelledby:i,ariaHidden:s,...l}=e,c=!!(o||a||i);return r.createElement("span",{...l,ref:t,role:"img","aria-label":a,"aria-labelledby":i,"aria-hidden":s||!c,title:o,dangerouslySetInnerHTML:{__html:n}})}))},79205:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>r.Icon});var r=n(132734)},685023:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_SIZE:()=>r,spinnerSizeMap:()=>o});const r="large",o={mini:"xsmall",xxsmall:"xxsmall",xsmall:"xsmall",small:"small",medium:"medium",large:"large"}},818612:(e,t,n)=>{"use strict";n.d(t,{Spinner:()=>i});var r=n(50959),o=n(497754),a=n(685023);n(128415);function i(e){const t=o(e.className,"tv-spinner","tv-spinner--shown",`tv-spinner--size_${a.spinnerSizeMap[e.size||a.DEFAULT_SIZE]}`);return r.createElement("div",{className:t,style:e.style,role:"progressbar"})}},8626:(e,t,n)=>{"use strict";function r(e){return a(e,i)}function o(e){return a(e,s)}function a(e,t){const n=Object.entries(e).filter(t),r={};for(const[e,t]of n)r[e]=t;return r}function i(e){const[t,n]=e;return 0===t.indexOf("data-")&&"string"==typeof n}function s(e){return 0===e[0].indexOf("aria-")}n.d(t,{filterAriaProps:()=>o,filterDataProps:()=>r})},843085:(e,t,n)=>{"use strict";n.d(t,{getTextForTooltip:()=>i});var r=n(50959);const o=e=>(0,r.isValidElement)(e)&&Boolean(e.props.children),a=e=>null==e||"boolean"==typeof e||"{}"===JSON.stringify(e)?"":e.toString()+" ",i=e=>Array.isArray(e)||(0,r.isValidElement)(e)?r.Children.toArray(e).reduce(((e,t)=>{let n="";return n=(0,r.isValidElement)(t)&&o(t)?i(t.props.children):(0,r.isValidElement)(t)&&!o(t)?"":a(t),e.concat(n)}),"").trim():a(e)},439563:(e,t,n)=>{"use strict";async function r(){const e=(await Promise.all([n.e(70056),n.e(36683)]).then(n.bind(n,469449))).getTrackerInstance();return e||null}n.d(t,{getEmbedWidgetTracker:()=>r})},443549:(e,t,n)=>{"use strict";n.d(t,{Spinner:()=>r.Spinner});var r=n(818612)},995683:(e,t,n)=>{"use strict";function r(e,t,n={}){return Object.assign({},e,function(e,t,n={}){const r=Object.assign({},t);for(const o of Object.keys(t)){const a=n[o]||o;a in e&&(r[o]=[e[a],t[o]].join(" "))}return r}(e,t,n))} n.d(t,{mergeThemes:()=>r})},428123:(e,t,n)=>{"use strict";function r(e){const t=Object.create(e);return t.release=()=>{},t.ownership=()=>t,t}function o(e){const t=Object.create(e);return t.release=()=>e.destroy(),t.ownership=()=>t,t}n.d(t,{ownership:()=>o,weakReference:()=>r})},194582:(e,t,n)=>{"use strict";n.d(t,{LOGLEVEL:()=>a,getLogHistory:()=>b,getLogLevel:()=>f,getLogger:()=>E,getRawLogHistory:()=>w,isHighRateEnabled:()=>_,loggingOff:()=>T,loggingOn:()=>C,serializeLogHistoryEntry:()=>v,setLogLevel:()=>y});const r="undefined"!=typeof window?window:{};let o=!1;try{localStorage.getItem(""),o=!0}catch(e){}var a;!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"}(a||(a={}));let i=0;const s="tv.logger.loglevel",l="tv.logger.logHighRate",c=[];let u=null,d=null,g=null,m=NaN,h=a.WARNING,p=!1;function f(){return h}function _(){return p}function y(e){e=Math.max(a.ERROR,Math.min(a.DEBUG,e)),h=e,N()}function w(e,t){let n=c.reduce(((e,t)=>e.concat(t)),[]);return n.sort(((e,t)=>e.id-t.id)),void 0!==t&&(n=n.filter((e=>e.subSystemId===t))),"number"==typeof e&&(n=n.slice(-e)),n}function v(e){return new Date(e.timestamp).toISOString()+":"+e.subSystemId+":"+e.message.replace(/"/g,"'")}const b=r.lget=(e,t)=>function(e,t){let n,r=0,o=0;for(n=e.length-1;n>=1&&(r+=8*(1+encodeURIComponent(e[n]).length),!(n-1>0&&(o=8*(1+encodeURIComponent(e[n-1]).length),r+o>t)));n--);return e.slice(n)}(w(e,t).map(v),75497472);function x(e,t,n,r){if(t===d&&r.id===g)return;const o=new Date;if(e<=a.NORMAL&&function(e,t,n,r,o){"function"==typeof structuredClone&&(t=structuredClone(t));const a={id:i,message:t,subSystemId:r,timestamp:Number(e)};i+=1,n.push(a),void 0!==o&&n.length>o&&n.splice(0,1)}(o,t,n,r.id,r.maxCount),e<=h&&(!r.highRate||_())&&(!u||r.id.match(u))){const n=o.toISOString()+":"+r.id+":"+t;switch(e){case a.DEBUG:console.debug(n);break;case a.INFO:case a.NORMAL:r.color?console.log("%c"+n,"color: "+r.color):console.log(n);break;case a.WARNING:console.warn(n);break;case a.ERROR:console.error(n)}d=t,g=r.id,m&&clearTimeout(m),m=setTimeout((()=>{d=null,g=null,m=NaN}),1e3)}}function E(e,t={}){const n=[];c.push(n);const r=Object.assign(t,{id:e});function o(e){return t=>x(e,String(t),n,r)}return{logDebug:o(a.DEBUG),logError:o(a.ERROR),logInfo:o(a.INFO),logNormal:o(a.NORMAL),logWarn:o(a.WARNING)}}const L=E("logger"),C=r.lon=(e,t)=>{y(a.DEBUG),L.logNormal("Debug logging enabled"),p=Boolean(e),u=t||null,N()},T=r.loff=()=>{y(a.INFO),L.logInfo("Debug logging disabled")};function N(){try{o&&(localStorage.setItem(l,String(p)),localStorage.setItem(s,String(h)))}catch(e){L.logWarn(`Cannot save logger state (level: ${h}, high-rate: ${p}) to localStorage: ${e.message}`)}}!function(){p=!!o&&"true"===localStorage.getItem(l);let e=parseInt(o&&localStorage.getItem(s)||"");Number.isNaN(e)&&(e=a.WARNING),y(e),L.logNormal(`Init with settings - level: ${h}, high-rate: ${p}`)}(), r.performance&&r.performance.now?L.logNormal(`Sync logger and perf times, now is ${r.performance.now()}`):L.logWarn("Perf time is not available")},805377:(e,t,n)=>{"use strict";function r(e,t,n){if(t(e.value()))return void n();const r=o=>{t(o)&&(e.unsubscribe(r),n())};e.subscribe(r,{callWithLast:!0})}n.d(t,{callWhen:()=>r})},401580:(e,t,n)=>{"use strict";n.d(t,{WatchedValue:()=>l});var r=n(428123),o=n(194582),a=n(805377);const i=(0,o.getLogger)("Common.WatchedValue");function s(e){i.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 n=this._owner?this._owner:this;if("function"==typeof n.hook&&(e=n.hook(e)),n.writeLock)return;const r=n._value===e||Number.isNaN(n._value)&&Number.isNaN(e);if(!t&&r&&n.hasOwnProperty("_value"))return;n._value=e;const o=n._listeners.slice();let a=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,a.callWhen)(this,(e=>Boolean(e)),(()=>{try{e(this.value())}catch(e){s(e)}}))}assertNoSubscriptions(){0}ownership(){return(0,r.ownership)(this)}spawnOwnership(){return(0,r.ownership)(this.spawn())}weakReference(){return(0,r.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){s(e)}super.destroy()}readonly(){return super.readonly()}}},9757:(e,t,n)=>{n(778785).setClasses();var r=n(49336).whenDocumentReady,o=n(663261).handleTVLinksClick;r((()=>{o()}))},473507:(e,t,n)=>{"use strict";var r=n(50959),o=n(631129),a=n(650151),i=n(444372),s=n(497754),l=n.n(s),c=n(998103),u=n.n(c);function d(e){const{children:t,className:n,onClick:o,reference:a,htmlAttrId:i,...l}=e;return r.createElement("article",{...l,id:i,className:s(u()["card-exterior"],n),onClick:o,ref:a},t)}var g=n(502137),m=n.n(g);m()["tv-circle-logo--visually-hidden"];function h(e){var t,n ;const o=(a=e.size,i=e.className,s(m()["tv-circle-logo"],m()[`tv-circle-logo--${a}`],i));var a,i;const l=null!==(n=null!==(t=e.alt)&&void 0!==t?t:e.title)&&void 0!==n?n:"";return function(e){return"logoUrl"in e&&null!==e.logoUrl&&void 0!==e.logoUrl&&0!==e.logoUrl.length}(e)?r.createElement("img",{className:o,crossOrigin:"",src:e.logoUrl,alt:l,title:e.title,loading:e.loading,"aria-label":e["aria-label"],"aria-hidden":e["aria-hidden"]}):r.createElement("span",{className:o,title:e.title,"aria-label":e["aria-label"],"aria-hidden":e["aria-hidden"]},e.placeholderLetter)}var p=n(201089);const f=(0,p.getLogger)("Common.InitData"),_=window.initData||{};function y(){window.initData&&window.initData!==_&&(Object.assign(_,window.initData),window.initData=_);const e=document.querySelectorAll('script[type="application/prs.init-data+json"]');for(let t=0;tr.createElement("source",{...e,key:t}))),r.createElement("img",{...c,alt:l,src:o,onError:()=>d(!0),role:a,loading:i,className:s(N().image,t)}))}!function(e){e.FixedHeight="fixedHeight",e.Ratio16by9="ratio16by9",e.Ratio2by1="ratio2by1"}(C||(C={}));var D=n(186015);function S(e){const{previewImage:t,resizeMode:n=C.Ratio16by9,className:o}=e,a=[{srcSet:t.url,type:"images/jpg"}];return r.createElement(R,{resizeMode:n,className:l()(D.previewWrapper,o)},r.createElement(k,{fallbackSrc:t.url,sources:a,alt:t.source||""}))}function M(e,t,n="long"){const r=Math.floor(e/1e3),o=Math.sign(r),[a,i]=function(e){if(e<90)return[1,"minute"];if(e<2700)return[Math.max(Math.floor(e/60),2),"minute"] ;if(e<5400)return[1,"hour"];if(e<79200)return[Math.max(Math.floor(e/60/60),2),"hour"];if(e<129600)return[1,"day"];if(e<216e4)return[Math.max(Math.floor(e/86400),2),"day"];if(e<3888e3)return[1,"month"];if(e<29808e3)return[Math.max(Math.floor(e/2592e3),2),"month"];return e<47088e3?[1,"year"]:[Math.max(Math.floor(e/31536e3),2),"year"]}(Math.abs(r));return new Intl.RelativeTimeFormat(t,{numeric:"auto",style:n}).format(o*a,i)}function O(){if(!window.customElements.get("relative-time")){class e extends HTMLElement{static get observedAttributes(){return["event-time","locale","format-style"]}constructor(){super(),this._currentTime=0,this._eventTime=0,this._locale=void 0,this._style="long",this._isConnected=!1,this._date=document.createElement("time");const e=this.getAttribute("ssr-time");this._currentTime=e?Date.parse(e):Date.now();this.attachShadow({mode:"closed"}).appendChild(this._date)}connectedCallback(){this._isConnected=!0,this.classList.add("apply-common-tooltip"),this._updateAttributes(),this._connectionChanged()}disconnectedCallback(){this._isConnected=!1,this._connectionChanged()}attributeChangedCallback(e,t,n){"event-time"===e&&(this._eventTime=Date.parse(n)),"locale"===e&&(this._locale=n),"format-style"===e&&(this._style=n),this._isConnected&&(this._updateAttributes(),this.update(Date.now()))}update(e){const t=M(this._eventTime-e,this._locale,this._style);this._date.innerText=t}_updateAttributes(){const e=new Date(this._eventTime);var t;this.setAttribute("title",function(e,t){return new Intl.DateTimeFormat(t,{year:"numeric",day:"numeric",month:"short",hour:"2-digit",minute:"2-digit",calendar:"gregory",timeZoneName:"short"}).format(e)}(e,(t=this._locale)?`${t}-u-hc-h23`:void 0)),this._date.setAttribute("datetime",e.toUTCString())}_connectionChanged(){this._isConnected?(P.add(this),this.update(this._currentTime),F()):P.delete(this)}}window.customElements.define("relative-time",e)}}const P=new Set;let I=0,B=0;function F(){0===I&&0===B&&0!==P.size&&(I=setTimeout((()=>{I=0,B=requestAnimationFrame((()=>{B=0,F(),function(){const e=Date.now();for(const t of P)t.update(e)}()}))}),3e4))}function A(e){const{ssrTime:t,eventTime:n,localeIso:o,formatStyle:a,fallbackText:i,isSSR:s,className:l}=e,c=new Date(t||Date.now()),u=new Date(n),d=(0,r.useRef)(null);return s||(0,r.useLayoutEffect)((()=>{const e=d.current;i&&e&&!e.textContent&&(e.textContent=i)})),(0,r.useEffect)((()=>{const e=d.current;Intl.RelativeTimeFormat&&(e&&e.remove(),O())}),[]),r.createElement("relative-time",{locale:o,"ssr-time":c.toUTCString(),"event-time":u.toUTCString(),"format-style":a,class:l},r.createElement(U,{startDate:c,endDate:u,localeIso:o,style:a,ref:d}))}const U=r.forwardRef(((e,t)=>{const{startDate:n,endDate:o,localeIso:a,style:i}=e;if(Intl.RelativeTimeFormat){const e=(0,r.useMemo)((()=>M(o.getTime()-n.getTime(),a,i)),[]);return r.createElement("time",{ref:t,dateTime:o.toUTCString(),suppressHydrationWarning:!0},e)}return r.createElement("time",{ref:t,dangerouslySetInnerHTML:{__html:""},suppressHydrationWarning:!0}) })),z=JSON.parse('{"ar_AE":{"language":"ar","language_name":"العربية","flag":"sa","geoip_code":"sa","countries_with_this_language":["ae","bh","dj","dz","eg","er","iq","jo","km","kw","lb","ly","ma","mr","om","qa","sa","sd","so","sy","td","tn","ye"],"priority":500,"dir":"rtl","iso":"ar","iso_639_3":"arb","show_on_widgets":true,"global_name":"Arabic"},"br":{"language":"pt","language_name":"Português","flag":"br","geoip_code":"br","priority":650,"iso":"pt","iso_639_3":"por","show_on_widgets":true,"global_name":"Portuguese"},"ca_ES":{"language":"ca_ES","language_name":"Català","flag":"es","geoip_code":"es","priority":745,"iso":"ca","iso_639_3":"cat","disabled":true,"show_on_widgets":true,"global_name":"Catalan"},"cs":{"language":"cs","language_name":"Czech","flag":"cz","geoip_code":"cz","priority":718,"iso":"cs","iso_639_3":"ces","show_on_widgets":true,"global_name":"Czech","is_in_european_union":true,"isBattle":true},"de_DE":{"language":"de","language_name":"Deutsch","flag":"de","geoip_code":"de","countries_with_this_language":["at","ch"],"priority":756,"iso":"de","iso_639_3":"deu","show_on_widgets":true,"global_name":"German","is_in_european_union":true},"en":{"language":"en","language_name":"English","flag":"us","geoip_code":"us","priority":1000,"iso":"en","iso_639_3":"eng","show_on_widgets":true,"global_name":"English","is_only_recommended_tw_autorepost":true},"es":{"language":"es","language_name":"Español","flag":"es","geoip_code":"es","countries_with_this_language":["mx","ar","ve","cl","co","pe","uy","py","cr","gt","c","bo","pa","pr"],"priority":744,"iso":"es","iso_639_3":"spa","show_on_widgets":true,"global_name":"Spanish","is_in_european_union":true},"fa_IR":{"language":"fa","language_name":"فارسى","flag":"ir","geoip_code":"ir","priority":480,"dir":"rtl","iso":"fa","iso_639_3":"fas","show_on_widgets":false,"global_name":"Iranian","disabled":true},"fr":{"language":"fr","language_name":"Français","flag":"fr","geoip_code":"fr","priority":750,"iso":"fr","iso_639_3":"fra","show_on_widgets":true,"global_name":"French","is_in_european_union":true},"he_IL":{"language":"he_IL","language_name":"עברית","flag":"il","geoip_code":"il","priority":490,"dir":"rtl","iso":"he","iso_639_3":"heb","show_on_widgets":true,"global_name":"Israeli"},"hu_HU":{"language":"hu_HU","language_name":"Magyar","flag":"hu","geoip_code":"hu","priority":724,"iso":"hu","iso_639_3":"hun","show_on_widgets":true,"global_name":"Hungarian","is_in_european_union":true,"disabled":true},"id":{"language":"id_ID","language_name":"Bahasa Indonesia","flag":"id","geoip_code":"id","priority":648,"iso":"id","iso_639_3":"ind","show_on_widgets":true,"global_name":"Indonesian"},"in":{"language":"en","language_name":"English ‎(India)‎","flag":"in","geoip_code":"in","priority":800,"iso":"en","iso_639_3":"eng","show_on_widgets":true,"global_name":"Indian"},"it":{"language":"it","language_name":"Italiano","flag":"it","geoip_code":"it","priority":737,"iso":"it","iso_639_3":"ita","show_on_widgets":true,"global_name":"Italian","is_in_european_union":true},"ja":{"language":"ja","language_name":"日本語","flag":"jp","geoip_code":"jp","priority":600,"iso":"ja","iso_639_3":"jpn","show_on_widgets":true,"global_name":"Japanese"},"kr":{"language":"ko","language_name":"한국어","flag":"kr","geoip_code":"kr","priority":550,"iso":"ko","iso_639_3":"kor","show_on_widgets":true,"global_name":"Korean"},"ms_MY":{"language":"ms_MY","language_name":"Bahasa Melayu","flag":"my","geoip_code":"my","priority":647,"iso":"ms","iso_639_3":"zlm","show_on_widgets":true,"global_name":"Malaysian"},"pl":{"language":"pl","language_name":"Polski","flag":"pl","geoip_code":"pl","priority":725,"iso":"pl","iso_639_3":"pol","show_on_widgets":true,"global_name":"Polish","is_in_european_union":true},"ru":{"language":"ru","language_name":"Русский","flag":"ru","geoip_code":"ru","countries_with_this_language":["am","by","kg","kz","md","tj","tm","uz"],"priority":700,"iso":"ru","iso_639_3":"rus","show_on_widgets":true,"global_name":"Russian","is_only_recommended_tw_autorepost":true},"sv_SE":{"language":"sv","language_name":"Svenska","flag":"se","geoip_code":"se","priority":723,"iso":"sv","iso_639_3":"swe","show_on_widgets":true,"global_name":"Swedish","is_in_european_union":true},"th_TH":{"language":"th","language_name":"ภาษาไทย","flag":"th","geoip_code":"th","priority":646,"iso":"th","iso_639_3":"tha","show_on_widgets":true,"global_name":"Thai"},"tr":{"language":"tr","language_name":"Türkçe","flag":"tr","geoip_code":"tr","priority":713,"iso":"tr","iso_639_3":"tur","show_on_widgets":true,"global_name":"Turkish","is_only_recommended_tw_autorepost":true},"vi_VN":{"language":"vi","language_name":"Tiếng Việt","flag":"vn","geoip_code":"vn","priority":645,"iso":"vi","iso_639_3":"vie","show_on_widgets":true,"global_name":"Vietnamese"},"zh_CN":{"language":"zh","language_name":"简体中文","flag":"cn","geoip_code":"cn","countries_with_this_language":["zh"],"priority":537,"iso":"zh-Hans","iso_639_3":"cmn","show_on_widgets":true,"global_name":"Chinese"},"zh_TW":{"language":"zh_TW","language_name":"繁體中文","flag":"tw","geoip_code":"tw","countries_with_this_language":["hk"],"priority":536,"iso":"zh-Hant","iso_639_3":"cmn","show_on_widgets":true,"global_name":"Taiwanese"},"el":{"language":"el","language_name":"Greek","flag":"gr","geoip_code":"gr","priority":625,"iso":"el","iso_639_3":"ell","global_name":"Greek","is_in_european_union":true,"isBattle":true},"nl_NL":{"language":"nl_NL","language_name":"Dutch","flag":"nl","geoip_code":"nl","priority":731,"iso":"nl","iso_639_3":"nld","global_name":"Dutch","is_in_european_union":true,"isBattle":true},"ro":{"language":"ro","language_name":"Romanian","flag":"ro","geoip_code":"ro","priority":707,"iso":"ro","iso_639_3":"ron","global_name":"Romanian","is_in_european_union":true,"isBattle":true}}'),$=function(){ const e=document.querySelectorAll("link[rel~=link-locale][data-locale]");if(0===e.length)return z;const t={};return e.forEach((e=>{const n=(0,a.ensureNotNull)(e.getAttribute("data-locale"));t[n]={...z[n],href:e.href}})),t}();function W(e){var t;return e=e||window.locale,null===(t=$[e])||void 0===t?void 0:t.iso}const H={dateFormatter:null,timeFormatter:null,tickMarkFormatter:null,priceFormatterFactory:null,studyFormatterFactory:null};var V=n(389137);function j(e,t){if(!(0,V.isNumber)(e))return"n/a";if(!(0,V.isInteger)(t))throw new TypeError("invalid length");if(t<0||t>24)throw new TypeError("invalid length");if(0===t)return e.toString();return("0000000000000000"+e.toString()).slice(-t)}class G{constructor(e){this._isTwelveHoursFormat=!1,this._valuesAndDelimeters=[];const t=e||"%h:%m:%s",n=new RegExp("%h|%m|%s\\+|%ss\\+|%ss|%ampm|%s","g");let r=n.exec(t),o=0;for(;null!==r;){const e=r[0];"%ampm"===e&&(this._isTwelveHoursFormat=!0);const a=t.substring(o,r.index);""!==a&&this._valuesAndDelimeters.push(a),this._valuesAndDelimeters.push(e),o=r.index+e.length,r=n.exec(t)}}format(e){return H.timeFormatter?H.timeFormatter.format(e):this._formatTime(e,!1)}formatLocal(e){return H.timeFormatter?H.timeFormatter.formatLocal?H.timeFormatter.formatLocal(e):H.timeFormatter.format(e):this._formatTime(e,!0)}_formatTime(e,t){let n=t?e.getHours():e.getUTCHours();const r=t?e.getMinutes():e.getUTCMinutes(),o=t?e.getSeconds():e.getUTCSeconds(),a=t?e.getMilliseconds():e.getUTCMilliseconds();let i="";this._isTwelveHoursFormat&&(i=n>=12?"PM":"AM",n%=12,n=n||12);let s="",l=!1;for(let e=this._valuesAndDelimeters.length-1;e>=0;e--){const t=this._valuesAndDelimeters[e];let c;switch(t){case"%h":c=j(n,2);break;case"%m":c=j(r,2);break;case"%s+":0!==o?c=j(o,2):(c="",l=!0);break;case"%s":c=j(o,2);break;case"%ss":c=j(a,3);break;case"%ss+":0!==a?c=j(a,3):(c="",l=!0);break;case"%ampm":c=i;break;default:if(l){l=!1;continue}c=t}s=c+s}return s}}n(39654);const Z={1:()=>i.t(null,void 0,n(795425)),2:()=>i.t(null,void 0,n(835050)),3:()=>i.t(null,void 0,n(651369)),4:()=>i.t(null,void 0,n(442762)),5:()=>i.t(null,{context:"short"},n(227991)),6:()=>i.t(null,void 0,n(715224)),7:()=>i.t(null,void 0,n(6215)),8:()=>i.t(null,void 0,n(38465)),9:()=>i.t(null,void 0,n(757902)),10:()=>i.t(null,void 0,n(73546)),11:()=>i.t(null,void 0,n(671230)),12:()=>i.t(null,void 0,n(92203))},q=(e,t)=>(t?e.getMonth():e.getUTCMonth())+1,Q=(e,t)=>t?e.getFullYear():e.getUTCFullYear(),X=(e,t)=>j(((e,t)=>t?e.getDate():e.getUTCDate())(e,t),2),Y=(e,t)=>Z[q(e,t)](),K=(e,t)=>j(q(e,t),2),J=(e,t)=>j(Q(e,t)%100,2),ee=(e,t)=>j(Q(e,t),4),te={"dd MMM 'yy":(e,t)=>`${X(e,t)} ${Y(e,t)} '${J(e,t)}`,"MMM 'yy":(e,t)=>`${Y(e,t)} '${J(e,t)}`,"MMM dd, yyyy":(e,t)=>`${Y(e,t)} ${X(e,t)}, ${ee(e,t)}`,"MMM yyyy":(e,t)=>`${Y(e,t)} ${ee(e,t)}`,"MMM dd":(e,t)=>`${Y(e,t)} ${X(e,t)}`,"dd MMM":(e,t)=>`${X(e,t)} ${Y(e,t)}`,"yyyy-MM-dd":(e,t)=>`${ee(e,t)}-${K(e,t)}-${X(e,t)}`,"yy-MM-dd":(e,t)=>`${J(e,t)}-${K(e,t)}-${X(e,t)}`,"yy/MM/dd":(e,t)=>`${J(e,t)}/${K(e,t)}/${X(e,t)}`,"yyyy/MM/dd":(e,t)=>`${ee(e,t)}/${K(e,t)}/${X(e,t)}`, "dd-MM-yyyy":(e,t)=>`${X(e,t)}-${K(e,t)}-${ee(e,t)}`,"dd-MM-yy":(e,t)=>`${X(e,t)}-${K(e,t)}-${J(e,t)}`,"dd/MM/yy":(e,t)=>`${X(e,t)}/${K(e,t)}/${J(e,t)}`,"dd/MM/yyyy":(e,t)=>`${X(e,t)}/${K(e,t)}/${ee(e,t)}`,"MM/dd/yy":(e,t)=>`${K(e,t)}/${X(e,t)}/${J(e,t)}`,"MM/dd/yyyy":(e,t)=>`${K(e,t)}/${X(e,t)}/${ee(e,t)}`};Object.keys(te);function ne(e){return function(e){const t=new Date(e),n=new G("%h:%m"),r=te["MMM dd"](t,!0);return[n.formatLocal(t),r]}(e).join(" ").replace(" "," · ")}function re(){const e=W();return e&&`${e}-u-hc-h23`}const oe=e=>{const t=ae(e).getTime();return new Intl.DateTimeFormat(re(),{day:"numeric",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit",calendar:"gregory",timeZoneName:"short"}).format(t)};function ae(e){return e instanceof Date?e:new Date(e)}function ie(e){const t=new Date(e.eventTime);return r.createElement("time",{dateTime:t.toUTCString(),className:s(e.title&&"apply-common-tooltip",e.className),title:e.title,suppressHydrationWarning:!0},e.children)}function se(e){const t=new Date,n=new Date(e.eventTime),o=n.getTime(),a=t.getTime()-o,i=t.getFullYear()!==n.getFullYear();return!i&&a<6912e5?r.createElement(A,{className:e.className,eventTime:e.eventTime,ssrTime:e.ssrTime,localeIso:W(),fallbackText:ne(o),isSSR:!1}):r.createElement(ie,{className:e.className,eventTime:e.eventTime,title:oe(e.eventTime)},function(e,t){if(t)return(e=>{const t=ae(e).getTime();return new Intl.DateTimeFormat(re(),{month:"short",day:"numeric",calendar:"gregory",year:"numeric"}).format(t)})(e);return(e=>{const t=ae(e).getTime();return new Intl.DateTimeFormat(re(),{month:"short",day:"numeric",calendar:"gregory"}).format(t)})(e)}(o,i))}var le=n(685533);Promise.all([n.e(33101),n.e(39727),n.e(68984),n.e(34052)]).then(n.bind(n,750532));const ce=L();function ue(e){const{showSymbol:t,event:n,ssrTime:o}=e,a=(i=n.symbol,i.includes(":")?i.split(":"):["",i])[1];var i;const l="image"===n.extra.pinType,c=()=>r.createElement(d,{className:le.article},r.createElement("div",{className:le.container},r.createElement("div",{className:le.header},t&&r.createElement(r.Fragment,null,r.createElement(h,{logoUrl:n.symbol_logo_id&&ce.getSymbolLogoUrl(n.symbol_logo_id,v.Medium),placeholderLetter:a[0],size:"xxxsmall"}),!n.symbol_logo_id&&r.createElement("span",{className:le.symbolName},a)),r.createElement(se,{eventTime:n.modified,ssrTime:o&&1e3*o,isSSR:!1})),l&&r.createElement(S,{previewImage:n.extra.coverImage,className:le.preview}),r.createElement("div",{className:s("apply-overflow-tooltip","apply-overflow-tooltip--direction_both",le.title),"data-overflow-tooltip-text":n.headline},n.headline)));return n.uri?r.createElement("a",{href:n.uri,target:"_blank",className:s(le.card,l&&le.cardWithImage)},c()):r.createElement("div",{className:s(le.card,l&&le.cardWithImage)},c())}var de=n(443549),ge=n(523);const me=r.forwardRef(((e,t)=>r.createElement("div",{className:ge.loader,ref:t},r.createElement(de.Spinner,{size:"medium"}))));var he=n(767833);function pe(e){const{events:t,showSymbol:n,loaderRef:o}=e;return r.createElement("div",{className:he.grid },t.map((t=>r.createElement(ue,{key:t.id,event:t,showSymbol:n,ssrTime:e.ssrTime}))),o&&r.createElement(me,{ref:o}))}var fe=n(915812),_e=n(79205),ye=n(628702),we=n(32546);function ve(e){return r.createElement("div",{className:we.container,"data-name":e.dataName},r.createElement("div",{className:we.content},r.createElement(_e.Icon,{className:we.icon,icon:ye}),r.createElement("p",{className:we.title},e.title),r.createElement("p",{className:we.subtitle},e.subtitle),e.children&&r.createElement("div",{className:we.childrenContainer},e.children)))}function be(e){const{symbolName:t}=e;return t?r.createElement(ve,{dataName:"no-news-state-cards",subtitle:i.t(null,void 0,n(900718)).format({symbolName:t}),title:i.t(null,void 0,n(516817))}):r.createElement(ve,{dataName:"empty-state-cards",title:i.t(null,void 0,n(957973)),subtitle:i.t(null,void 0,n(85283))},r.createElement(fe.SquareAnchorButton,{variant:"secondary",size:"large",href:".",color:"black"},i.t(null,void 0,n(283365))))}function xe(){const e=window;return{...e.initData.widgetDefaults,...e.initData.hashSettings,...e.initData.querySettings}}var Ee=n(618630);Promise.all([n.e(33101),n.e(39727),n.e(68984),n.e(10147)]).then(n.bind(n,673747));const Le=L();function Ce(e){const{events:t,symbolName:o,symbolLogoId:a,symbolPageUrl:s,onLoaderReached:l,hasFullyLoaded:c}=e,[u,d]=r.useState(s),g=i.t(null,void 0,n(838777)),m=r.useRef(null),p=r.useRef(null);return function(e){const{containerRef:t,loaderRef:n,onLoaderReached:o}=e;r.useEffect((()=>{const e=null==t?void 0:t.current,r=n.current;if(!r||!o)return;const a=new IntersectionObserver((e=>{for(const t of e)t.isIntersecting&&o()}),{root:e});return a.observe(r),()=>{a.unobserve(r)}}))}({containerRef:m,loaderRef:p,onLoaderReached:l}),r.useEffect((()=>{const e=xe();e.largeChartUrl&&d(e.largeChartUrl)}),[]),r.createElement("div",{className:Ee.container,ref:m},r.createElement("div",{className:Ee.header},o?r.createElement(r.Fragment,null,r.createElement(h,{logoUrl:a?Le.getSymbolLogoUrl(a,v.Medium):void 0,size:"medium",className:Ee.icon}),r.createElement("h1",{className:Ee.title},r.createElement("a",{className:Ee.link,target:"_blank",href:u},o),g)):r.createElement("h1",{className:Ee.title},g)),r.createElement("div",{className:Ee.innerContainer},0===t.length?r.createElement(be,{symbolName:o}):r.createElement("div",null,r.createElement(pe,{showSymbol:!o,events:t,loaderRef:c?void 0:p,ssrTime:e.ssrTime}))))}n(491741);var Te,Ne=n(120780);!function(e){e.Expand="expand-logo",e.LargeTradeLogo="large-trade-logo"}(Te||(Te={}));const Re=new Set([Te.Expand,Te.LargeTradeLogo]),ke=window.WIDGET_SHERIFF_HOST||"https://widget-sheriff.xstaging-widget.tv",De=(0,p.getLogger)("WidgetSheriff.Widget");let Se=null;async function Me(){return null===Se&&(Se=await async function(){const e=function(){if(document.location.ancestorOrigins&&document.location.ancestorOrigins.length)return document.location.ancestorOrigins[document.location.ancestorOrigins.length-1];try{return new URL(document.referrer).origin}catch(e){return document.location.origin||null}}() ;if(null===e)return De.logWarn("ancestorOrigin is undefined"),Promise.resolve([]);const t=new URL("/sheriff/api/v1/rules/search",ke);t.searchParams.append("origin",e);return(await(0,Ne.fetch)(t.toJSON()).then((e=>{if(!e.ok)throw new Error("Guard request error occured");return 204===e.status?Promise.resolve({actions:[]}):e.json()})).catch((e=>(De.logWarn(e.message),Promise.resolve({actions:[]}))))).actions.filter((e=>Re.has(e)))}()),Promise.resolve(Se)}var Oe,Pe=n(995683),Ie=n(254073);function Be({sheriffOptions:e,...t}){const[n,r]=function({svgText:e,icon:t,theme:n,url:r,mode:o,verticalPosition:a=Oe.Vertical.Bottom,horizontalPosition:i=Oe.Horizontal.End,snapToEdge:l=!0,isExpanded:c=!1,className:u}){let d;switch(o){case"new":case"with_border":case"large_trade":d=(0,V.clone)(n);break;default:d=(0,Pe.mergeThemes)((0,V.clone)(Ie),n)}const g=document.createElement("span");let m;r&&(m=document.createElement("a"),m.classList.add(...d.label__link.split(/\s/)),m.href=r,m.target="_blank",m.rel="noopener noreferrer",m.setAttribute("data-target-type","copyright"),g.append(m)),g.className=s(d.label,i===Oe.Horizontal.Start&&d.start,i===Oe.Horizontal.End&&d.end,a===Oe.Vertical.Top&&d.top,a===Oe.Vertical.Bottom&&d.bottom,l&&"large_trade"!==o&&d.snap,"large_old"===o&&d.large,(c||"large_trade"===o)&&d.expanded,u,"js-copyright-label"),g.addEventListener("click",(()=>{function e(){g.classList.remove(d.expandedByClick),g.removeEventListener("mouseleave",e)}g.classList.contains(d.expandedWithTransition)||g.classList.contains(d.expanded)||(g.classList.contains(d.expandedByClick)?r||e():(g.classList.add(d.expandedByClick),g.addEventListener("mouseleave",e)))}));const h=document.createElement("span");h.className=d.logoWrap,h.innerHTML=t;const p=document.createElement("span");return p.className=d.svgTextWrap,p.innerHTML=e,g.append(h,p),[g,d]}(t),o=e&&e.includes(Te.Expand),a=e&&e.includes(Te.LargeTradeLogo);return n.className=s(n.className,(o||a)&&r.expandedWithTransition),n}async function Fe(e,t,r,o,i={}){var s,l;const c=i.isSheriffDisabled?[]:await Me(),u=c.includes(Te.LargeTradeLogo),d=function(e){return["crypto-coins-heatmap","forex-cross-rates","market-overview","symbol-overview","market-quotes","stock-heatmap","screener","forex-heat-map","crypto-mkt-screener","events","hotlists"].includes(e)}(t),g=u&&d?"large_trade":void 0,m=await async function(e,t,r,o){if("lentaru"===e){const{getLentaCopyrightData:e}=await Promise.all([n.e(12353),n.e(1523)]).then(n.bind(n,466672));return e()}if("cmoneycomtw"===e){const{getCmoneycomtwCopyrightData:e}=await Promise.all([n.e(6686),n.e(71903),n.e(42091)]).then(n.bind(n,20922));return e(t,r)}if("new"===o){const{getTradingViewCopyrightData:e}=await Promise.all([n.e(36498),n.e(36228)]).then(n.bind(n,703094));return e(t,r)}if("with_border"===o){const{getTradingViewCopyrightData:e}=await Promise.all([n.e(95563),n.e(37753)]).then(n.bind(n,513316));return e(t,r)}if("large_trade"===o){const{getTradingViewCopyrightData:e}=await Promise.all([n.e(5172),n.e(47259)]).then(n.bind(n,203515));return e(t,r)}{ const{getTradingViewCopyrightData:e}=await Promise.all([n.e(6686),n.e(47243)]).then(n.bind(n,88136));return e(t,r)}}(i.customer,i.locale,function(e,t){return e&&e.utm_campaign&&(e.utm_campaign+=`-${t}`),e}(o,"logo"),g),h=null!==(l=null!=g?g:null===(s=i.copyrightOptions)||void 0===s?void 0:s.mode)&&void 0!==l?l:"small_old";(0,a.ensureNotNull)(e).appendChild(Be({sheriffOptions:c,snapToEdge:r,...i.copyrightOptions,...m,mode:h}))}!function(e){let t,n;!function(e){e[e.Bottom=0]="Bottom",e[e.Top=1]="Top"}(t=e.Vertical||(e.Vertical={})),function(e){e[e.Start=0]="Start",e[e.End=1]="End"}(n=e.Horizontal||(e.Horizontal={}))}(Oe||(Oe={}));var Ae=n(185515),Ue=n(401580);function ze({path:e,requestData:t,signal:n}){const r=new URL(e,window.origin);if("GET"===t.method&&t.query)for(const[e,n]of Object.entries(t.query))void 0!==n&&r.searchParams.append(e,n);const o={method:t.method,credentials:"same-origin",signal:n};return"POST"!==t.method&&"PUT"!==t.method||(o.body=JSON.stringify(t.body),o.headers=new Headers({"Content-Type":"application/json"})),(0,Ne.fetch)(r.toString(),o)}class $e extends Error{constructor(e,t){super([e,t.code,t.detail].filter(Boolean).join(" - ")),this.status=e,this.payload=t,this.name="APIError",Object.setPrototypeOf(this,new.target.prototype)}}var We=n(439563);n(9757),n(586463),n(257566),n(731041),n(876289),n(661518),n(396204);!async function(e){var t;null===(t=await(0,We.getEmbedWidgetTracker)())||void 0===t||t.trackWidgetPageView(e)}("timeline");const He=(0,a.ensureNotNull)(document.querySelector(".js-timeline-widget-ssr-root")),Ve=(y(),_)[(0,a.ensureDefined)(He.dataset.propsId)],je=xe(),Ge=(0,Ae.filterUtmInfo)(je),{locale:Ze,whitelabel:qe}=je;if(!Ve.hasFullyLoaded){const e=new(Qe=function(e){return async function(e){const t=await ze(e);try{const e=await t.json();return t.ok?e:Promise.reject(new $e(t.status,e))}catch(e){return Promise.reject(new $e(t.status,{}))}}({path:"/timeline_events/",requestData:{query:e,method:"GET"}})},class{constructor(e){this._hasFullyLoaded=!1;const{initEvents:t,pageSize:n,market:r,country:o,symbolName:a,forMainAndMarketPages:i}=e;this._events=new Ue.WatchedValue(t),this._pageSize=n,this._market=r,this._country=o,this._symbolName=a,this._forMainAndMarketPages=i}loadMore(){if(this._hasFullyLoaded)return Promise.resolve();if(!this._requestPromise){const t=()=>{delete this._requestPromise};this._requestPromise=Qe({market:this._market,country:this._country,symbol:this._symbolName,limit:this._pageSize,date_lt:(e=this._events.value(),0===e.length?void 0:e[e.length-1].date),for_main_and_market_pages:this._forMainAndMarketPages}).then((e=>{e.length{throw this._hasFullyLoaded=!0,e})).finally(t)}var e;return this._requestPromise}subscribe(e){this._events.subscribe(e)}unsubscribe(e){this._events.unsubscribe(e)}value(){return this._events.value()}hasFullyLoaded(){return this._hasFullyLoaded}})({initEvents:Ve.events,pageSize:10,market:Ve.market,symbolName:Ve.symbolName, forMainAndMarketPages:Boolean(Ve.market||!Ve.symbolName)});Ve.onLoaderReached=()=>{try{e.loadMore()}finally{o.render(r.createElement(Ce,{...Ve,events:e.value(),hasFullyLoaded:e.hasFullyLoaded()}),He)}}}var Qe;!function(e,t,n,r={}){if(null===e.parentElement)return console.warn("Can not wrap 'elWidgetContainer' because it has no parentElement"),e;let o=null,i=document.querySelector(".js-embed-widget-body");const s=null!==i;if(s){i=(0,a.ensureNotNull)(i),o=(0,a.ensureNotNull)(i.parentElement);let e=document.querySelector(".js-embed-widget-head");null===e&&(e=document.createElement("div"),e.classList.add("tv-embed-widget-wrapper__header"),e.classList.add("js-embed-widget-head"),o.insertBefore(e,i))}else o=document.createElement("div"),o.classList.add("tv-embed-widget-wrapper"),o.innerHTML='
',i=o.querySelector(".js-embed-widget-body");if(r.overflowAuto&&i.classList.add("tv-embed-widget-wrapper__body--overflow_auto"),r.showBorderOnTransparent&&i.classList.add("tv-embed-widget-wrapper__body--border-on-transparent"),!r.isWhiteLabel){Fe(i,t,!document.documentElement.classList.contains("is-transparent")||Boolean(r.showBorderOnTransparent),n,r)}s||(e.parentElement.insertBefore(o,e),i.appendChild(e))}(He,"timeline",Ge,{isWhiteLabel:qe,locale:Ze,copyrightOptions:{verticalPosition:Oe.Vertical.Top,mode:"small_old"}}),o.hydrate(r.createElement(Ce,{...Ve}),He)},120780:(e,t,n)=>{"use strict";n.d(t,{fetch:()=>o});const r=(0,n(201089).getLogger)("Fetch");function o(e,t,n={}){{const{logOnErrorStatus:o=!0,logBodyOnError:a=!1}=n;t=t||{},function(e){return new URL(e,document.baseURI).origin===location.origin}(e)&&(t.headers?t.headers instanceof Headers||(t.headers=new Headers(t.headers)):t.headers=new Headers,window.locale&&t.headers.set("X-Language",window.locale),t.headers.set("X-Requested-With","XMLHttpRequest")),void 0===t.credentials&&(t.credentials="same-origin");const i=window.fetch(e,t);return i.then((n=>{if(!n.ok&&o){let o="";t.method&&(o+=`${t.method.toUpperCase()} `),o+=e,o+=`. Status ${n.status}`,n.statusText&&(o+=`. ${n.statusText}`),n.headers.via&&(o+=`. Via: ${n.headers.via}`),a&&"string"==typeof t.body&&(o+=`. Body: ${t.body.slice(0,1024)}`),r.logError(o)}return n}),(n=>{if(n&&"AbortError"===n.name)return;let o="";t.method&&(o+=`${t.method.toUpperCase()} `),o+=e,navigator.onLine?o+=`. ${n}`:o+=". User is offline.",r.logError(o)})),i}}},201089:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LOGLEVEL:()=>r.LOGLEVEL,getLogHistory:()=>r.getLogHistory,getLogLevel:()=>r.getLogLevel,getLogger:()=>r.getLogger,getRawLogHistory:()=>r.getRawLogHistory,isHighRateEnabled:()=>r.isHighRateEnabled,loggingOff:()=>r.loggingOff,loggingOn:()=>r.loggingOn,serializeLogHistoryEntry:()=>r.serializeLogHistoryEntry,setLogLevel:()=>r.setLogLevel});var r=n(194582)},919476:(e,t,n)=>{"use strict";n.d(t,{decodeHTMLEntities:()=>l,htmlEscape:()=>c});const r=/[<"'&>]/g,o=e=>`&#${e.charCodeAt(0)};`,a={"<":"<",">":">", """:'"',"'":"'","&":"&","<":"<",">":">",""":'"',"'":"'","'":"'","&":"&"},i=Object.assign({},...Object.entries(a).map((([e,t])=>({[t]:e})))),s=new RegExp(Object.keys(a).join("|"),"g");new RegExp(Object.keys(i).join("|"),"g");function l(e){return e.replace(s,(e=>a[e]||e))}function c(e){return e.replace(r,o)}},501437:(e,t,n)=>{"use strict";function r(e){const t=[];for(const n in e)e.hasOwnProperty(n)&&null!=e[n]&&t.push({key:n,pair:encodeURIComponent(n)+"="+encodeURIComponent(e[n])});return t.sort(((e,t)=>e.key>t.key?1:e.keye.pair)).join("&")}n.d(t,{createUrlParams:()=>r})},691239:(e,t,n)=>{"use strict";n.d(t,{isInternalHost:()=>r});function r(e,t=window.location.hostname){const n="."===t.slice(-1)?3:2,r=t.toLowerCase().split(".").slice(-n),o=e.toLowerCase().split(".").slice(-r.length);return r.join(".")===o.join(".")}},185515:(e,t,n)=>{"use strict";n.d(t,{buildUtmQueryString:()=>s,filterUtmInfo:()=>i});var r=n(501437),o=n(919476);const a=["utm_source","utm_medium","utm_campaign"];function i(e){const t={};return a.forEach((n=>{const r=e[n];"string"==typeof r&&""!==r&&(t[n]=(0,o.htmlEscape)(r))})),t}function s(e,t=!1){const n=(0,r.createUrlParams)(e);return n&&t?"?"+n:n}},49336:(e,t,n)=>{"use strict";function r(e,t=!1){"loading"!==document.readyState?t?setTimeout((()=>e()),1):e():document.addEventListener("DOMContentLoaded",(()=>e()))}n.d(t,{whenDocumentReady:()=>r});new Promise((e=>{r(e)}))},663261:(e,t,n)=>{"use strict";n.d(t,{handleTVLinksClick:()=>i});var r=n(439563),o=n(185515),a=n(691239);function i(){document.addEventListener("click",(e=>{const t=e.target.closest(":link");if(!(null==t?void 0:t.hostname)||!(0,a.isInternalHost)(t.hostname,"tradingview.com"))return;const n=t.dataset.targetType||null;!function(e,t){const n=function(){const e=window.initData.hashSettings;if(Object.keys(e).length>0)return(0,o.filterUtmInfo)(e);const t=new URLSearchParams(location.href);return{utm_campaign:t.get("utm_campaign")||void 0,utm_source:t.get("utm_source")||void 0}}(),a=function(e){var t;const n=(null===(t=location.ancestorOrigins)||void 0===t?void 0:t[0])||document.referrer;return e.utm_source||function(e){try{return new URL(e).host}catch(e){return""}}(n)}(n);!async function(e){var t;null===(t=await(0,r.getEmbedWidgetTracker)())||void 0===t||t.trackWidgetTVLinkClick(e)}({widget_type:s(n),domain:a,link:e,target_type:t})}(t.href,n)}))}function s(e){if(e.utm_campaign)return e.utm_campaign;const t=location.pathname;return t.includes("embed-widget")?t.split("/")[2]:t}},628702:e=>{ e.exports=''}},e=>{e.O(0,[82960,43387,5761,69749,69430,80732,7818,74978,27799,86160,77700,45922,26548,90385,51957],(()=>{return t=473507,e(e.s=t);var t}));e.O()}]);