4 lines
11 KiB
JavaScript
4 lines
11 KiB
JavaScript
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[6864],{70168:e=>{e.exports={button:"button-D4RPB3ZC",iconOnly:"iconOnly-D4RPB3ZC",withStartSlot:"withStartSlot-D4RPB3ZC",withEndSlot:"withEndSlot-D4RPB3ZC",startSlotWrap:"startSlotWrap-D4RPB3ZC",endSlotWrap:"endSlotWrap-D4RPB3ZC",xsmall:"xsmall-D4RPB3ZC",small:"small-D4RPB3ZC",medium:"medium-D4RPB3ZC",large:"large-D4RPB3ZC",xlarge:"xlarge-D4RPB3ZC",content:"content-D4RPB3ZC",link:"link-D4RPB3ZC",blue:"blue-D4RPB3ZC",primary:"primary-D4RPB3ZC",secondary:"secondary-D4RPB3ZC",gray:"gray-D4RPB3ZC",green:"green-D4RPB3ZC",red:"red-D4RPB3ZC",black:"black-D4RPB3ZC",slot:"slot-D4RPB3ZC",stretch:"stretch-D4RPB3ZC",grouped:"grouped-D4RPB3ZC",adjustPosition:"adjustPosition-D4RPB3ZC",firstRow:"firstRow-D4RPB3ZC",firstCol:"firstCol-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",textWrap:"textWrap-D4RPB3ZC",multilineContent:"multilineContent-D4RPB3ZC",primaryText:"primaryText-D4RPB3ZC",secondaryText:"secondaryText-D4RPB3ZC"}},23296:e=>{e.exports={container:"container-qm7Rg5MB",mobile:"mobile-qm7Rg5MB",inputContainer:"inputContainer-qm7Rg5MB",withCancel:"withCancel-qm7Rg5MB",input:"input-qm7Rg5MB",icon:"icon-qm7Rg5MB",cancel:"cancel-qm7Rg5MB"}},63059:e=>{e.exports={container:"container-QcG0kDOU",image:"image-QcG0kDOU",title:"title-QcG0kDOU",description:"description-QcG0kDOU",button:"button-QcG0kDOU"}},68222:e=>{e.exports={highlighted:"highlighted-cwp8YRo6"}},97737:(e,t,r)=>{"use strict";var n,o,i;function a(e="default"){switch(e){case"default":return"primary";case"stroke":return"secondary"}}function c(e="primary"){switch(e){case"primary":return"brand";case"success":return"green";case"default":return"gray";case"danger":return"red"}}function l(e="m"){switch(e){case"s":return"xsmall";case"m":return"small";case"l":return"large"}}r.d(t,{Button:()=>d}),function(e){e.Primary="primary",e.Success="success",e.Default="default",e.Danger="danger"}(n||(n={})),function(e){e.Small="s",e.Medium="m",e.Large="l"}(o||(o={})),function(e){e.Default="default",e.Stroke="stroke"}(i||(i={}));var s=r(50959),u=r(43814);function m(e){const{intent:t,size:r,appearance:n,useFullWidth:o,icon:i,...s}=e;return{...s,color:c(t),size:l(r),variant:a(n),stretch:o}}function d(e){return s.createElement(u.SquareButton,{...m(e)})}},43814:(e,t,r)=>{"use strict";r.d(t,{SquareButton:()=>y});var n=r(50959),o=r(97754),i=r.n(o),a=r(95604),c=r(70168),l=r.n(c);const s="apply-overflow-tooltip apply-overflow-tooltip--check-children-recursively apply-overflow-tooltip--allow-text apply-common-tooltip";function u(e){const{size:t="medium",variant:r="primary",color:n="brand",stretch:o=!1,startSlot:c,endSlot:u,iconOnly:m=!1,className:d,isGrouped:p,cellState:f,disablePositionAdjustment:h=!1,primaryText:g,secondaryText:y,isAnchor:x=!1}=e,C="brand"===n?"black":n,R=function(e){let t="";return 0!==e&&(1&e&&(t=i()(t,l()["no-corner-top-left"])),
|
|
2&e&&(t=i()(t,l()["no-corner-top-right"])),4&e&&(t=i()(t,l()["no-corner-bottom-right"])),8&e&&(t=i()(t,l()["no-corner-bottom-left"]))),t}((0,a.getGroupCellRemoveRoundBorders)(f)),v=m&&(c||u);return i()(d,l().button,l()[t],l()[C],l()[r],o&&l().stretch,c&&l().withStartIcon,u&&l().withEndIcon,v&&l().iconOnly,R,p&&l().grouped,p&&!h&&l().adjustPosition,p&&f.isTop&&l().firstRow,p&&f.isLeft&&l().firstCol,g&&y&&l().multilineContent,x&&l().link,s)}function m(e){const{startSlot:t,iconOnly:r,children:o,endSlot:a,primaryText:c,secondaryText:u}=e;if(t&&a&&r)return n.createElement("span",{className:i()(l().slot,l().startSlotWrap)},t);const m=r&&(t??a),d=!t&&!a&&!r&&!o&&c&&u;return n.createElement(n.Fragment,null,t&&n.createElement("span",{className:i()(l().slot,l().startSlotWrap)},t),o&&!m&&n.createElement("span",{className:l().content},o),a&&n.createElement("span",{className:i()(l().slot,l().endSlotWrap)},a),d&&!m&&function(e){return e.primaryText&&e.secondaryText&&n.createElement("div",{className:i()(l().textWrap,s)},n.createElement("span",{className:l().primaryText}," ",e.primaryText," "),"string"==typeof e.secondaryText?n.createElement("span",{className:l().secondaryText}," ",e.secondaryText," "):n.createElement("span",{className:l().secondaryText},n.createElement("span",null,e.secondaryText.firstLine),n.createElement("span",null,e.secondaryText.secondLine)))}(e))}var d=r(34094),p=r(86332),f=r(90186);function h(e,t){return r=>{if(t)return r.preventDefault(),void r.stopPropagation();e?.(r)}}function g(e){const{className:t,color:r,variant:n,size:o,stretch:i,iconOnly:a,startSlot:c,endSlot:l,primaryText:s,secondaryText:u,...m}=e;return{...m,...(0,f.filterDataProps)(e),...(0,f.filterAriaProps)(e)}}function y(e){const{reference:t,tooltipText:r,disabled:o,onClick:i,onMouseOver:a,onMouseOut:c,onMouseDown:l,onMouseEnter:s,"aria-disabled":f,...y}=e,{isGrouped:x,cellState:C,disablePositionAdjustment:R}=(0,n.useContext)(p.ControlGroupContext),v=u({...y,isGrouped:x,cellState:C,disablePositionAdjustment:R}),P=r??(e.primaryText?[e.primaryText,e.secondaryText].join(" "):(0,d.getTextForTooltip)(e.children));return n.createElement("button",{...g(y),"aria-disabled":o||f,tabIndex:e.tabIndex??(o?-1:0),className:v,ref:t,onClick:h(i,o),onMouseDown:h(l,o),onMouseOver:h(a,o),onMouseOut:h(c,o),onMouseEnter:h(s,o),"data-overflow-tooltip-text":P},n.createElement(m,{...y}))}r(49406)},39416:(e,t,r)=>{"use strict";r.d(t,{useFunctionalRefObject:()=>i});var n=r(50959),o=r(43010);function i(e){const t=(0,n.useMemo)((()=>function(e){const t=r=>{e(r),t.current=r};return t.current=null,t}((e=>{c.current(e)}))),[]),r=(0,n.useRef)(null),i=t=>{if(null===t)return a(r.current,t),void(r.current=null);r.current!==e&&(r.current=e,a(r.current,t))},c=(0,n.useRef)(i);return c.current=i,(0,o.useIsomorphicLayoutEffect)((()=>{if(null!==t.current)return c.current(t.current),()=>c.current(null)}),[e]),t}function a(e,t){null!==e&&("function"==typeof e?e(t):e.current=t)}},90186:(e,t,r)=>{"use strict";function n(e){return i(e,a)}function o(e){return i(e,c)}function i(e,t){
|
|
const r=Object.entries(e).filter(t),n={};for(const[e,t]of r)n[e]=t;return n}function a(e){const[t,r]=e;return 0===t.indexOf("data-")&&"string"==typeof r}function c(e){return 0===e[0].indexOf("aria-")}r.d(t,{filterAriaProps:()=>o,filterDataProps:()=>n,filterProps:()=>i,isAriaAttribute:()=>c,isDataAttribute:()=>a})},34094:(e,t,r)=>{"use strict";r.d(t,{getTextForTooltip:()=>a});var n=r(50959);const o=e=>(0,n.isValidElement)(e)&&Boolean(e.props.children),i=(e,t=!0)=>null==e||"boolean"==typeof e||"{}"===JSON.stringify(e)?"":e.toString()+(t?" ":""),a=e=>Array.isArray(e)||(0,n.isValidElement)(e)?n.Children.toArray(e).reduce(((e,t)=>{let r="";return r=(0,n.isValidElement)(t)&&o(t)?a(t.props.children):(0,n.isValidElement)(t)&&!o(t)?"":i(t),e.concat(r)}),"").trim():i(e,!1)},69654:(e,t,r)=>{"use strict";r.d(t,{DialogSearch:()=>m});var n=r(50959),o=r(97754),i=r.n(o),a=r(11542),c=r(9745),l=r(6347),s=r(54313),u=r(23296);function m(e){const{children:t,isMobile:o,renderInput:m,onCancel:p,containerClassName:f,inputContainerClassName:h,iconClassName:g,cancelTitle:y=a.t(null,void 0,r(4543)),...x}=e;return n.createElement("div",{className:i()(u.container,o&&u.mobile,f)},n.createElement("div",{className:i()(u.inputContainer,o&&u.mobile,h,p&&u.withCancel)},m||n.createElement(d,{isMobile:o,...x})),t,n.createElement(c.Icon,{className:i()(u.icon,o&&u.mobile,g),icon:o?s:l}),p&&(!o||""!==x.value)&&n.createElement("div",{className:i()(u.cancel,o&&u.mobile),onClick:p},y))}function d(e){const{className:t,reference:r,isMobile:o,value:a,onChange:c,onFocus:l,onBlur:s,onKeyDown:m,onSelect:d,placeholder:p,activeDescendant:f,...h}=e;return n.createElement("input",{...h,ref:r,type:"text",className:i()(t,u.input,o&&u.mobile),autoComplete:"off",role:"searchbox","data-role":"search",placeholder:p,value:a,onChange:c,onFocus:l,onBlur:s,onSelect:d,onKeyDown:m,"aria-activedescendant":f})}},92164:(e,t,r)=>{"use strict";r.d(t,{ContentIsNotFound:()=>s});var n=r(50959),o=r(97754),i=r.n(o),a=r(9745),c=r(97737),l=r(63059);function s(e){const{className:t,icon:r,title:o,description:s,buttonText:u,buttonAction:m}=e;return n.createElement("div",{className:i()(l.container,t)},r&&n.createElement(a.Icon,{icon:r,className:l.image}),o&&n.createElement("h3",{className:l.title},o),s&&n.createElement("p",{className:l.description},s),u&&m&&n.createElement(c.Button,{onClick:m,className:l.button},u))}},97006:(e,t,r)=>{"use strict";r.d(t,{createRegExpList:()=>c,getHighlightedChars:()=>l,rankedSearch:()=>a});var n=r(87465);function o(e){return e.replace(/[!-/[-^{-}?]/g,"\\$&")}var i;function a(e){const{data:t,rules:r,queryString:o,isPreventedFromFiltering:i,primaryKey:a,secondaryKey:c=a,optionalPrimaryKey:l,tertiaryKey:s}=e;return t.map((e=>{const t=l&&e[l]?e[l]:e[a],i=e[c],u=s&&e[s];let m,d=0;return r.forEach((e=>{const{re:r,fullMatch:a}=e;if(r.lastIndex=0,(0,n.isString)(t)&&t&&t.toLowerCase()===o.toLowerCase())return d=4,void(m=t.match(a)?.index);if((0,n.isString)(t)&&a.test(t))return d=3,void(m=t.match(a)?.index);if((0,n.isString)(i)&&a.test(i))return d=2,
|
|
void(m=i.match(a)?.index);if((0,n.isString)(i)&&r.test(i))return d=2,void(m=i.match(r)?.index);if(Array.isArray(u))for(const e of u)if(a.test(e))return d=1,void(m=e.match(a)?.index)})),{matchPriority:d,matchIndex:m,item:e}})).filter((e=>i||e.matchPriority)).sort(((e,t)=>{if(e.matchPriority<t.matchPriority)return 1;if(e.matchPriority>t.matchPriority)return-1;if(e.matchPriority===t.matchPriority){if(void 0===e.matchIndex||void 0===t.matchIndex)return 0;if(e.matchIndex>t.matchIndex)return 1;if(e.matchIndex<t.matchIndex)return-1}return 0})).map((({item:e})=>e))}function c(e,t){const r=[],n=e.toLowerCase(),i=e.split("").map(((e,t)=>`(${0!==t?`[/\\s-]${o(e)}`:o(e)})`)).join("(.*?)")+"(.*)";return r.push({fullMatch:new RegExp(`(${o(e)})`,"i"),re:new RegExp(`^${i}`,"i"),reserveRe:new RegExp(i,"i"),fuzzyHighlight:!0}),t&&t.hasOwnProperty(n)&&r.push({fullMatch:t[n],re:t[n],fuzzyHighlight:!1}),r}function l(e,t,r){const n=[];return e&&r?(r.forEach((e=>{const{fullMatch:r,re:o,reserveRe:i}=e;r.lastIndex=0,o.lastIndex=0;const a=r.exec(t),c=a||o.exec(t)||i&&i.exec(t);if(e.fuzzyHighlight=!a,c)if(e.fuzzyHighlight){let e=c.index;for(let t=1;t<c.length;t++){const r=c[t],o=c[t].length;if(t%2){const t=r.startsWith(" ")||r.startsWith("/")||r.startsWith("-");n[t?e+1:e]=!0}e+=o}}else for(let e=0;e<c[0].length;e++)n[c.index+e]=!0})),n):n}!function(e){e[e.Low=0]="Low",e[e.MediumLow=1]="MediumLow",e[e.Medium=2]="Medium",e[e.High=3]="High",e[e.Highest=4]="Highest"}(i||(i={}))},24637:(e,t,r)=>{"use strict";r.d(t,{HighlightedText:()=>c});var n=r(50959),o=r(97754),i=r(97006),a=r(68222);function c(e){const{queryString:t,rules:r,text:c,className:l}=e,s=(0,n.useMemo)((()=>(0,i.getHighlightedChars)(t,c,r)),[t,r,c]);return n.createElement(n.Fragment,null,s.length?c.split("").map(((e,t)=>n.createElement(n.Fragment,{key:t},s[t]?n.createElement("span",{className:o(a.highlighted,l)},e):n.createElement("span",null,e)))):c)}},4237:(e,t,r)=>{"use strict";var n=r(32227);t.createRoot=n.createRoot,n.hydrateRoot},54313:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M18.5 12.5a6 6 0 1 1-12 0 6 6 0 0 1 12 0Zm-1.25 5.8a7.5 7.5 0 1 1 1.06-1.06l4.22 4.23.53.53L22 23.06l-.53-.53-4.22-4.22Z"/></svg>'},6347:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" d="M17.4 17.5a7 7 0 1 0-4.9 2c1.9 0 3.64-.76 4.9-2zm0 0l5.1 5"/></svg>'}}]); |