Release v31.0.0 (from 028f81fbf6fef55e9694e5df4bd5106cc04c188a)
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8456,8481,1328,5132],{53336:function(e,t){var n,o,s;o=[t],n=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var o={get passive(){n=!0}};window.addEventListener("testPassive",null,o),window.removeEventListener("testPassive",null,o)}var s="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),i=[],r=!1,a=-1,l=void 0,c=void 0,h=function(e){return i.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},d=function(e){var t=e||window.event;return!!h(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)},u=function(){setTimeout((function(){void 0!==c&&(document.body.style.paddingRight=c,c=void 0),void 0!==l&&(document.body.style.overflow=l,l=void 0)}))};e.disableBodyScroll=function(e,o){if(s){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!i.some((function(t){return t.targetElement===e}))){var u={targetElement:e,options:o||{}};i=[].concat(t(i),[u]),e.ontouchstart=function(e){1===e.targetTouches.length&&(a=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n,o,s,i;1===t.targetTouches.length&&(o=e,i=(n=t).targetTouches[0].clientY-a,!h(n.target)&&(o&&0===o.scrollTop&&0<i||(s=o)&&s.scrollHeight-s.scrollTop<=s.clientHeight&&i<0?d(n):n.stopPropagation()))},r||(document.addEventListener("touchmove",d,n?{passive:!1}:void 0),r=!0)}}else{m=o,setTimeout((function(){if(void 0===c){var e=!!m&&!0===m.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(c=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===l&&(l=document.body.style.overflow,document.body.style.overflow="hidden")}));var v={targetElement:e,options:o||{}};i=[].concat(t(i),[v])}var m},e.clearAllBodyScrollLocks=function(){s?(i.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),r&&(document.removeEventListener("touchmove",d,n?{passive:!1}:void 0),r=!1),i=[],a=-1):(u(),i=[])},e.enableBodyScroll=function(e){if(s){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,i=i.filter((function(t){return t.targetElement!==e})),r&&0===i.length&&(document.removeEventListener("touchmove",d,n?{passive:!1}:void 0),r=!1)}else 1===i.length&&i[0].targetElement===e?(u(),i=[]):i=i.filter((function(t){return t.targetElement!==e}))}},void 0===(s="function"==typeof n?n.apply(t,o):n)||(e.exports=s)},98297:e=>{e.exports={"checkbox-size":"18px","checkbox-primary-default-bg":"var(--color-container-fill-primary-neutral-extra-bold)",
|
||||
"checkbox-primary-hover-bg":"var(--color-container-fill-primary-neutral-bold)","checkbox-primary-active-bg":"var(--color-container-fill-primary-neutral-medium)","checkbox-primary-fg":"var(--color-container-fill-quinary-inverse)","checkbox-danger-default-bg":"var(--color-container-fill-primary-danger-bold)","checkbox-danger-hover-bg":"var(--color-container-fill-primary-danger-semi-bold)","checkbox-danger-active-bg":"var(--color-container-fill-primary-danger)","checkbox-danger-fg":"var(--color-container-fill-quaternary-inverse)",wrapper:"wrapper-GZajBGIm",input:"input-GZajBGIm",focusOutline:"focusOutline-GZajBGIm",primary:"primary-GZajBGIm",disabled:"disabled-GZajBGIm",danger:"danger-GZajBGIm",view:"view-GZajBGIm"}},44859:e=>{e.exports={"checkbox-size":"18px",box:"box-vgla_e5o",unchecked:"unchecked-vgla_e5o",checked:"checked-vgla_e5o",mixed:"mixed-vgla_e5o",disabled:"disabled-vgla_e5o",checkedMark:"checkedMark-vgla_e5o",mixedMark:"mixedMark-vgla_e5o"}},75332:e=>{e.exports={loader:"loader-UL6iwcBa",static:"static-UL6iwcBa",item:"item-UL6iwcBa","tv-button-loader":"tv-button-loader-UL6iwcBa",medium:"medium-UL6iwcBa",small:"small-UL6iwcBa",black:"black-UL6iwcBa",white:"white-UL6iwcBa",gray:"gray-UL6iwcBa",primary:"primary-UL6iwcBa"}},32386:e=>{e.exports={wrap:"wrap-HAxAr6QG",image:"image-HAxAr6QG",text:"text-HAxAr6QG"}},45516:e=>{e.exports={section:"section-Og4Rg_SK",heading:"heading-Og4Rg_SK"}},88724:e=>{e.exports={item:"item-nuuDM7vP",normal:"normal-nuuDM7vP",big:"big-nuuDM7vP",selected:"selected-nuuDM7vP",contentCell:"contentCell-nuuDM7vP",content:"content-nuuDM7vP",favourite:"favourite-nuuDM7vP",favoriteActionCell:"favoriteActionCell-nuuDM7vP",iconCell:"iconCell-nuuDM7vP",icon:"icon-nuuDM7vP",checkboxInput:"checkboxInput-nuuDM7vP",label:"label-nuuDM7vP"}},33509:e=>{e.exports={dialog:"dialog-UAy2ZKyS",wrap:"wrap-UAy2ZKyS",empty:"empty-UAy2ZKyS",image:"image-UAy2ZKyS",emptyState:"emptyState-UAy2ZKyS"}},89981:e=>{e.exports={accessible:"accessible-rm8yeqY4"}},83327:e=>{e.exports={loaderWrap:"loaderWrap-jGEARQlM",big:"big-jGEARQlM",loader:"loader-jGEARQlM"}},70995:e=>{e.exports={item:"item-GJX1EXhk",interactive:"interactive-GJX1EXhk",hovered:"hovered-GJX1EXhk",disabled:"disabled-GJX1EXhk",active:"active-GJX1EXhk",shortcut:"shortcut-GJX1EXhk",normal:"normal-GJX1EXhk",big:"big-GJX1EXhk",iconCell:"iconCell-GJX1EXhk",icon:"icon-GJX1EXhk",content:"content-GJX1EXhk",label:"label-GJX1EXhk",checked:"checked-GJX1EXhk",toolbox:"toolbox-GJX1EXhk",showToolboxOnHover:"showToolboxOnHover-GJX1EXhk",arrowIcon:"arrowIcon-GJX1EXhk",subMenu:"subMenu-GJX1EXhk",invisibleHotkey:"invisibleHotkey-GJX1EXhk"}},55461:e=>{e.exports={row:"row-DFIg7eOh",line:"line-DFIg7eOh",hint:"hint-DFIg7eOh"}},34235:e=>{e.exports={menu:"menu-Tx5xMZww"}},26001:e=>{e.exports={item:"item-WJDah4zD",emptyIcons:"emptyIcons-WJDah4zD",loading:"loading-WJDah4zD",disabled:"disabled-WJDah4zD",interactive:"interactive-WJDah4zD",hovered:"hovered-WJDah4zD",normal:"normal-WJDah4zD",big:"big-WJDah4zD",icon:"icon-WJDah4zD",label:"label-WJDah4zD",title:"title-WJDah4zD",
|
||||
nested:"nested-WJDah4zD",shortcut:"shortcut-WJDah4zD",remove:"remove-WJDah4zD"}},49445:e=>{e.exports={separator:"separator-Ymxd0dt_"}},80163:e=>{e.exports={"default-drawer-min-top-distance":"100px",wrap:"wrap-_HnK0UIN",positionBottom:"positionBottom-_HnK0UIN",backdrop:"backdrop-_HnK0UIN",drawer:"drawer-_HnK0UIN",positionLeft:"positionLeft-_HnK0UIN"}},12139:e=>{e.exports={menuWrap:"menuWrap-Kq3ruQo8",isMeasuring:"isMeasuring-Kq3ruQo8",scrollWrap:"scrollWrap-Kq3ruQo8",momentumBased:"momentumBased-Kq3ruQo8",menuBox:"menuBox-Kq3ruQo8",isHidden:"isHidden-Kq3ruQo8"}},36779:e=>{e.exports={button:"button-iLKiGOdQ",hovered:"hovered-iLKiGOdQ",disabled:"disabled-iLKiGOdQ",focused:"focused-iLKiGOdQ",active:"active-iLKiGOdQ",hidden:"hidden-iLKiGOdQ"}},71236:(e,t,n)=>{"use strict";n.d(t,{CheckboxInput:()=>d});var o=n(79474),s=n(14487),i=n.n(s),r=n(40197),a=n(11864),l=n(94350),c=n(98297),h=n.n(c);function d(e){const t=e.intent??"primary";return o.createElement("span",{className:i()(h().wrapper,e.disabled&&h().disabled,e.className),title:e.title,style:e.style},o.createElement("span",{className:i()(h().view,h()[t])},o.createElement(l.CheckboxViewImpl,{checked:e.checked,disabled:e.disabled})),o.createElement("input",{id:e.id,tabIndex:e.tabIndex,className:i()(h()[t],h().input),type:"checkbox",name:e.name,checked:!1!==e.checked,disabled:e.disabled,value:e.value,role:e.role,onChange:e.onChange,ref:e.reference,"aria-checked":(()=>{switch(e.checked){case!0:return"true";case!1:return"false";case"mixed":return"mixed"}})(),"aria-required":e.ariaRequired,"aria-describedby":e.ariaDescribedby,"aria-invalid":e.ariaInvalid,"data-qa-id":e.dataQaId,...(0,r.filterDataProps)(e)}),o.createElement("div",{className:h().focusOutline}))}(0,a.makeSwitchGroupItem)(d)},94350:(e,t,n)=>{"use strict";n.d(t,{CheckboxViewImpl:()=>d});var o=n(79474),s=n(14487),i=n.n(s),r=n(64588),a=n(17070),l=n.n(a),c=n(44859),h=n.n(c);function d(e){const{checked:t,disabled:n}=e;return o.createElement("div",{className:i()(h().box,!0===t&&h().checked,!1===t&&h().unchecked,"mixed"===t&&h().mixed,n&&h().disabled)},!0===t&&o.createElement(r.BlockIcon,{icon:l(),className:h().checkedMark}),"mixed"===t&&o.createElement("div",{className:h().mixedMark}))}},69947:(e,t,n)=>{"use strict";n.d(t,{useIsomorphicLayoutEffect:()=>s});var o=n(79474);function s(e,t){("undefined"==typeof window?o.useEffect:o.useLayoutEffect)(e,t)}},50534:(e,t,n)=>{"use strict";function o(e,t,n,o,s){function i(s){if(e>s.timeStamp)return;const i=s.target;void 0!==n&&null!==t&&null!==i&&i.ownerDocument===o&&(t.contains(i)||n(s))}return s.click&&o.addEventListener("click",i,!1),s.mouseDown&&o.addEventListener("mousedown",i,!1),s.touchEnd&&o.addEventListener("touchend",i,!1),s.touchStart&&o.addEventListener("touchstart",i,!1),()=>{o.removeEventListener("click",i,!1),o.removeEventListener("mousedown",i,!1),o.removeEventListener("touchend",i,!1),o.removeEventListener("touchstart",i,!1)}}n.d(t,{addOutsideEventListener:()=>o})},4138:(e,t,n)=>{"use strict";n.d(t,{useOutsideEvent:()=>r});var o=n(79474),s=n(69947),i=n(50534)
|
||||
;function r(e){const{click:t,mouseDown:n,touchEnd:r,touchStart:a,handler:l,reference:c}=e,h=(0,o.useRef)(null),d=(0,o.useRef)("undefined"==typeof window?0:new window.CustomEvent("timestamp").timeStamp);return(0,s.useIsomorphicLayoutEffect)((()=>{const e={click:t,mouseDown:n,touchEnd:r,touchStart:a},o=c?c.current:h.current;return(0,i.addOutsideEventListener)(d.current,o,l,document,e)}),[t,n,r,a,l]),c||h}},73457:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>s});var o=n(79474);const s=o.forwardRef(((e,t)=>{const{icon:n="",title:s,ariaLabel:i,ariaLabelledby:r,ariaHidden:a,...l}=e,c=!!(s||i||r);return o.createElement("span",{role:"img",...l,ref:t,"aria-label":i,"aria-labelledby":r,"aria-hidden":a||!c,title:s,dangerouslySetInnerHTML:{__html:n}})}))},66334:(e,t,n)=>{"use strict";n.d(t,{Icon:()=>o.Icon});var o=n(73457)},61597:(e,t,n)=>{"use strict";n.d(t,{Loader:()=>c});var o,s=n(79474),i=n(14487),r=n.n(i),a=n(75332),l=n.n(a);function c(e){const{className:t,size:n="medium",staticPosition:o,color:i="black"}=e,a=r()(l().item,l()[i],l()[n]);return s.createElement("span",{className:r()(l().loader,o&&l().static,t)},s.createElement("span",{className:a}),s.createElement("span",{className:a}),s.createElement("span",{className:a}))}!function(e){e.Medium="medium",e.Small="small"}(o||(o={}))},78972:(e,t,n)=>{"use strict";n.d(t,{SubmenuContext:()=>s,SubmenuHandler:()=>i});var o=n(79474);const s=o.createContext(null);function i(e){const[t,n]=(0,o.useState)(null),i=(0,o.useRef)(null),r=(0,o.useRef)(new Map);return(0,o.useEffect)((()=>()=>{null!==i.current&&clearTimeout(i.current)}),[]),o.createElement(s.Provider,{value:{current:t,setCurrent:function(e){null!==i.current&&(clearTimeout(i.current),i.current=null);null===t?n(e):i.current=setTimeout((()=>{i.current=null,n(e)}),100)},registerSubmenu:function(e,t){return r.current.set(e,t),()=>{r.current.delete(e)}},isSubmenuNode:function(e){return Array.from(r.current.values()).some((t=>t(e)))}}},e.children)}},52885:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>c,PortalContext:()=>h});var o=n(79474),s=n(29365),i=n(56770),r=n(46765),a=n(70014),l=n(99286);class c extends o.PureComponent{constructor(){super(...arguments),this._uuid=(0,i.nanoid)()}componentWillUnmount(){this._manager().removeWindow(this._uuid)}render(){const e=this._manager().ensureWindow(this._uuid,this.props.layerOptions);e.style.top=this.props.top||"",e.style.bottom=this.props.bottom||"",e.style.left=this.props.left||"",e.style.right=this.props.right||"",e.style.pointerEvents=this.props.pointerEvents||"";const t=this.props.className;return t&&("string"==typeof t?e.classList.add(t):e.classList.add(...t)),this.props.shouldTrapFocus&&!e.hasAttribute(a.FOCUS_TRAP_DATA_ATTRIBUTE)&&e.setAttribute(a.FOCUS_TRAP_DATA_ATTRIBUTE,"true"),this.props["aria-hidden"]&&e.setAttribute("aria-hidden","true"),s.createPortal(o.createElement(h.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?(0,r.getRootOverlapManager)():this.context}}c.contextType=l.SlotContext
|
||||
;const h=o.createContext(null)},99286:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>s,SlotContext:()=>i});var o=n(79474);class s extends o.Component{shouldComponentUpdate(){return!1}render(){return o.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const i=o.createContext(null)},11864:(e,t,n)=>{"use strict";n.d(t,{SwitchGroup:()=>r,makeSwitchGroupItem:()=>a});var o=n(79474),s=n(16687);const i=(0,o.createContext)({getName:()=>"",getValues:()=>[],getOnChange:()=>s.default,subscribe:s.default,unsubscribe:s.default});class r extends o.PureComponent{constructor(e){super(e),this._subscriptions=new Set,this._getName=()=>this.props.name,this._getValues=()=>this.props.values,this._getOnChange=()=>this.props.onChange,this._subscribe=e=>{this._subscriptions.add(e)},this._unsubscribe=e=>{this._subscriptions.delete(e)},this.state={switchGroupContext:{getName:this._getName,getValues:this._getValues,getOnChange:this._getOnChange,subscribe:this._subscribe,unsubscribe:this._unsubscribe}}}render(){return o.createElement(i.Provider,{value:this.state.switchGroupContext},this.props.children)}componentDidUpdate(e){this._notify(this._getUpdates(this.props.values,e.values))}_notify(e){this._subscriptions.forEach((t=>t(e)))}_getUpdates(e,t){return[...t,...e].filter((n=>t.includes(n)?!e.includes(n):e.includes(n)))}}function a(e){var t;return t=class extends o.PureComponent{constructor(){super(...arguments),this._onChange=e=>{this.context.getOnChange()(e.target.value)},this._onUpdate=e=>{e.includes(this.props.value)&&this.forceUpdate()}}componentDidMount(){this.context.subscribe(this._onUpdate)}render(){return o.createElement(e,{...this.props,name:this._getName(),onChange:this._onChange,checked:this._isChecked()})}componentWillUnmount(){this.context.unsubscribe(this._onUpdate)}_getName(){return this.context.getName()}_isChecked(){return this.context.getValues().includes(this.props.value)}},t.contextType=i,t}},40197:(e,t,n)=>{"use strict";function o(e){return i(e,r)}function s(e){return i(e,a)}function i(e,t){const n=Object.entries(e).filter(t),o={};for(const[e,t]of n)o[e]=t;return o}function r(e){const[t,n]=e;return 0===t.indexOf("data-")&&"string"==typeof n}function a(e){return 0===e[0].indexOf("aria-")}function l(e,t){const n=o(e);return t&&(n["data-qa-id"]=t),n}n.d(t,{filterAriaProps:()=>s,filterCheckedDataProps:()=>l,filterDataProps:()=>o,filterProps:()=>i,isAriaAttribute:()=>a,isDataAttribute:()=>r})},46765:(e,t,n)=>{"use strict";n.d(t,{OverlapManager:()=>r,getRootOverlapManager:()=>l});var o=n(85842),s=n(70014);class i{constructor(){this._storage=[]}add(e){this._storage.push(e)}remove(e){this._storage=this._storage.filter((t=>e!==t))}has(e){return this._storage.includes(e)}getItems(){return this._storage}}class r{constructor(e=document){this._storage=new i,this._windows=new Map,this._index=0,this._document=e,this._container=e.createDocumentFragment()}setContainer(e){const t=this._container,n=null===e?this._document.createDocumentFragment():e;!function(e,t){Array.from(e.childNodes).forEach((e=>{
|
||||
e.nodeType===Node.ELEMENT_NODE&&t.appendChild(e)}))}(t,n),this._container=n}registerWindow(e){this._storage.has(e)||this._storage.add(e)}ensureWindow(e,t={position:"fixed",direction:"normal"}){const n=this._windows.get(e);if(void 0!==n)return n;this.registerWindow(e);const o=this._document.createElement("div");if(o.style.position=t.position,o.style.zIndex=this._index.toString(),o.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(o);else if(t.index<=0)this._container.insertBefore(o,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(o,e)}}else"reverse"===t.direction?this._container.insertBefore(o,this._container.firstChild):this._container.appendChild(o);return this._windows.set(e,o),++this._index,o}unregisterWindow(e){this._storage.remove(e);const t=this._windows.get(e);void 0!==t&&(null!==t.parentElement&&t.parentElement.removeChild(t),this._windows.delete(e))}getZindex(e){const t=this.ensureWindow(e);return parseInt(t.style.zIndex||"0")}moveLastWindowToTop(){const e=this._storage.getItems(),t=e[e.length-1];t&&this.moveToTop(t)}moveToTop(e){if(this.getZindex(e)!==this._index){const t=this.ensureWindow(e);this._windows.forEach(((e,n)=>{e.hasAttribute(s.FOCUS_TRAP_DATA_ATTRIBUTE)&&e.setAttribute(s.FOCUS_TRAP_DATA_ATTRIBUTE,e===t?"true":"false")})),t.style.zIndex=(++this._index).toString()}}removeWindow(e){this.unregisterWindow(e)}}const a=new WeakMap;function l(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return(0,o.ensureDefined)(a.get(t));{const t=new r(e),n=function(e){const t=e.createElement("div");return t.style.position="absolute",t.style.zIndex=150..toString(),t.style.top="0px",t.style.left="0px",t.id="overlap-manager-root",t.dataset.qaId="overlap-manager-root",t}(e);return a.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}var c;!function(e){e[e.BaseZindex=150]="BaseZindex"}(c||(c={}))},11288:(e,t,n)=>{"use strict";n.d(t,{setFixedBodyState:()=>c});const o=(()=>{let e;return()=>{if(void 0===e){const t=document.createElement("div"),n=t.style;n.visibility="hidden",n.width="100px",n.msOverflowStyle="scrollbar",document.body.appendChild(t);const o=t.offsetWidth;t.style.overflow="scroll";const s=document.createElement("div");s.style.width="100%",t.appendChild(s);const i=s.offsetWidth;t.parentNode?.removeChild(t),e=o-i}return e}})();function s(e,t,n){null!==e&&e.style.setProperty(t,n)}function i(e,t){return getComputedStyle(e,null).getPropertyValue(t)}function r(e,t){return parseInt(i(e,t))}let a=0,l=!1;function c(e){const{body:t}=document,n=t.querySelector(".widgetbar-wrap");if(e&&1==++a){const e=i(t,"overflow"),a=r(t,"padding-right");"hidden"!==e.toLowerCase()&&t.scrollHeight>t.offsetHeight&&(s(n,"right",`${o()}px`),t.style.paddingRight=`${a+o()}px`,l=!0),t.classList.add("i-no-scroll")}else if(!e&&a>0&&0==--a&&(t.classList.remove("i-no-scroll"),l)){s(n,"right","0px");let e=0;0,t.scrollHeight<=t.clientHeight&&(e-=o()),t.style.paddingRight=(e<0?0:e)+"px",l=!1}}},
|
||||
96898:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Components:()=>h,showDefaultSearchDialog:()=>c,showSymbolSearchItemsDialog:()=>r.showSymbolSearchItemsDialog});var o=n(70761),s=(n(72445),n(95360)),i=n(66411),r=n(45267),a=n(89659),l=n(90141);n(16905),n(45958);!(0,l.isOnMobileAppPage)("any")&&window.matchMedia("(min-width: 602px) and (min-height: 445px)").matches;function c(e){new a.WatchedValue({});const t=(0,i.getSymbolSearchCompleteOverrideFunction)(),{defaultValue:n,showSpreadActions:l,source:c,onSearchComplete:h,trackResultsOptions:d,setSymbol:u=(e,t)=>o.linking.setSymbolAndLogInitiator(e,t),searchType:v,...m}=e,p={...m,showSpreadActions:l??(0,s.canShowSpreadActions)(),onSymbolFiltersParamsChange:void 0,onSearchComplete:(e,n)=>{t(e[0].symbol,e[0].result).then((e=>{u(e.symbol,"symbol search"),h?.(e.symbol)}))},onEmptyResults:void 0};(0,r.showSymbolSearchItemsDialog)({...p,defaultValue:n})}const h={SymbolSearchWatchlistDialogContentItem:null,SymbolSearchWatchlistDialog:null}},45267:(e,t,n)=>{"use strict";n.d(t,{showSymbolSearchItemsDialog:()=>l});var o=n(79474),s=n(16780),i=n(84688),r=n(72101),a=n(64483);function l(e){const{symbolTypeFilter:t,initialMode:n="symbolSearch",autofocus:l=!0,defaultValue:c,showSpreadActions:h,selectSearchOnInit:d,onSearchComplete:u,dialogTitle:v,placeholder:m,fullscreen:p,initialScreen:g,wrapper:b,dialog:f,contentItem:w,onClose:y,onOpen:x,footer:S,symbolTypes:_,searchInput:E,emptyState:C,hideMarkedListFlag:k,dialogWidth:M="auto",manager:I,shouldReturnFocus:T,onSymbolFiltersParamsChange:A,onEmptyResults:D,customSearchSymbols:L,enableOptionsChain:R,disableRecents:N,overrideQueryParams:H,hiddenFilterIds:P,showRecents:O,searchInitiationPoint:F,selectedSymbolSettingsKey:z,filterValuesSettingsKey:B}=e;if(i.dialogsOpenerManager.isOpened("SymbolSearch")||i.dialogsOpenerManager.isOpened("ChangeIntervalDialog"))return;const W=document.createElement("div"),V=o.createElement(s.SlotContext.Provider,{value:I??null},o.createElement(r.SymbolSearchItemsDialog,{symbolTypeFilter:t,onClose:Z,initialMode:n,defaultValue:c,showSpreadActions:h,hideMarkedListFlag:k,selectSearchOnInit:d,onSearchComplete:u,dialogTitle:v,placeholder:m,fullscreen:p,initialScreen:g,wrapper:b,dialog:f,contentItem:w,footer:S,symbolTypes:_,searchInput:E,emptyState:C,autofocus:l,dialogWidth:M,shouldReturnFocus:T,onSymbolFiltersParamsChange:A,onEmptyResults:D,customSearchSymbols:L,enableOptionsChain:R,disableRecents:N,overrideQueryParams:H,hiddenFilterIds:P,showRecents:O,searchInitiationPoint:F,selectedSymbolSettingsKey:z,filterValuesSettingsKey:B})),U=(0,a.createReactRoot)(V,W);function Z(){U.unmount(),i.dialogsOpenerManager.setAsClosed("SymbolSearch"),y&&y()}return i.dialogsOpenerManager.setAsOpened("SymbolSearch"),x&&x(),{close:Z}}},82329:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalSearchDialogRenderer:()=>je});var o=n(79474),s=n(98059),i=n(87740),r=n(88434),a=n(91599),l=n(82287),c=n(46472),h=n(7321),d=n(44973),u=n(14487),v=n.n(u),m=n(66334),p=n(47097),g=n(49841),b=n(87750),f=n(40895),w=n(32386);function y(e){
|
||||
const{text:t,showIcon:n=!0,className:s}=e,i=g.watchedTheme.value()===p.StdTheme.Dark?f:b;return o.createElement("div",{className:u(w.wrap,s)},n&&o.createElement(m.Icon,{icon:i,className:w.image}),o.createElement("span",{className:w.text},t))}var x=n(35088),S=n(16687),_=n(73283),E=n(27156),C=n(62369),k=n(28390),M=n(88724);const I=(0,_.mergeThemes)(E.DEFAUL_CONTEXT_MENU_ITEM_THEME,M);function T(e){const{action:t,onExecute:n}=e,[s,i]=(0,k.useActiveDescendant)(null);return o.createElement(C.ContextMenuAction,{theme:I,onShowSubMenu:S.default,isSubMenuOpened:!1,checkboxInput:!0,reference:s,selected:i,action:t,onExecute:()=>n(t),className:v()("apply-overflow-tooltip","apply-overflow-tooltip-focus","apply-overflow-tooltip--direction_y","apply-overflow-tooltip--check-children-recursively"),"data-overflow-tooltip-text":t.getLabel()})}var A=n(45516);function D(e){const{heading:t,items:n,onExecute:s,getActionIndex:i}=e;return o.createElement("table",{className:A.section},o.createElement("tbody",null,o.createElement("tr",null,o.createElement("td",{className:A.heading},t)),n.map((e=>o.createElement(T,{key:e.id,action:e,onExecute:s,index:i(e)})))))}var L=n(33509);const R=[{name:"drawingsActions",label:a.t(null,void 0,n(65588))},{name:"functionActions",label:a.t(null,void 0,n(16348))},{name:"settingsActions",label:a.t(null,void 0,n(30586))}];function N(e){const{dialogId:t,items:s,onClose:i,shouldReturnFocus:u}=e,[v,m]=(0,o.useState)(""),[p,g]=(0,o.useState)([]),b=(0,o.useRef)(null),f=(0,o.useRef)(null),w=(0,o.useRef)(null);(0,o.useEffect)((()=>{b.current?.focus()}),[]),(0,o.useEffect)((()=>{const e=b.current;if(e)return e.addEventListener("input",H),H(),()=>{e&&e.removeEventListener("input",H)}}),[]);const S=(0,o.useCallback)((0,r.default)((e=>{}),1e3),[]),_=(0,o.useCallback)((0,r.default)(i,200),[]);(0,o.useEffect)((()=>()=>{S.flush(),_.cancel()}),[]);const E=(0,o.useMemo)((()=>{const e=new Set(l.getJSON("GlobalSearchDialog.recent",[])),t=[];for(const n of e){const e=s.find((e=>e.getState().id===n));e&&t.push(e)}return t.reverse(),t}),[]),C=(0,o.useMemo)((()=>R.reduce(((e,t)=>(e.set(t.name,p.filter((e=>e.getState().category===t.name))),e)),new Map)),[p]),{handleKeyDown:k,handleForceFocus:M,handleSearchRefBlur:I,onDialogClick:T,resetFocusState:A}=(0,c.useSearchDialogKeyboardNavigation)({dialogRef:f,searchInputRef:b,contentContainerRef:w,getNextFocusedItemIndex:function(e,t){const n=null===e?1===t?-1:0:e;for(let e=1;e<=p.length;e++){const o=(p.length+e*t+n)%p.length;if(!p[o].isDisabled())return o}return null},isNavigationDisabled:!p.length,scrollToFocusedItem:function(e){e?.scrollIntoView({block:"nearest"})},onEscapeClick:i,getElementIdByIndex:function(e,t){let n=p[e].id;null!=t&&(n+="-favorite");return CSS.escape(n)}});return o.createElement(x.AdaptivePopupDialog,{ref:f,dataName:t,title:a.t(null,void 0,n(3606)),onClose:i,onClickOutside:i,shouldReturnFocus:u,render:()=>o.createElement(o.Fragment,null,o.createElement(d.DialogSearch,{reference:b,onBlur:I}),o.createElement("div",{className:L.wrap,ref:w
|
||||
},v?o.createElement(o.Fragment,null,p.length?R.map((e=>{const t=C.get(e.name);return t&&t.length?o.createElement(D,{key:e.name,heading:e.label,items:t,onExecute:N,getActionIndex:O}):null})):o.createElement(y,{text:a.t(null,void 0,n(93276)),className:L.emptyState})):o.createElement(o.Fragment,null,Boolean(p.length)?o.createElement(D,{heading:a.t(null,void 0,n(97205)),items:p,onExecute:N,getActionIndex:O}):o.createElement(y,{text:a.t(null,void 0,n(89808)),showIcon:!1,className:L.emptyState})))),onKeyDown:k,className:L.dialog,onForceFocus:M,onClick:T,isOpened:!0});function N(e){const t=new Set(l.getJSON("GlobalSearchDialog.recent",[])),n=e.getState().id;t.has(n)&&t.delete(n),t.add(n),l.setJSON("GlobalSearchDialog.recent",Array.from(t).slice(-10)),e.getState().checkable?_():i()}function H(){A();const e=b.current?b.current.value.toLocaleLowerCase().trim():"";if(m(e),e){const t=s.filter((t=>P(t).includes(e)||function(e,t){const{aliases:n}=t.getState();if(n)return n.some((t=>t.toLowerCase().includes(e)));return!1}(e,t))).sort((t=>P(t)===e?-1:0));g(t),t.length||S(e)}else g(E)}function P(e){const{label:t}=e.getState();return(0,h.isString)(t)?t.toLocaleLowerCase():""}function O(e){return p.findIndex((t=>t.id===e.id))}}var H,P=n(16905),O=n(23351),F=n(70761),z=n(27942),B=n(25838),W=n(45958),V=n(10308);!function(e){e.Drawings="drawingsActions",e.Function="functionActions",e.Settings="settingsActions"}(H||(H={}));class U extends V.Action{constructor({id:e,category:t,favourite:n,onFavouriteClick:o,hotkeyGroup:s,hotkeyHash:i,aliases:r,optionsLoader:a,onStartListening:l,...c}){super({actionId:"UnknownAction",options:{...c,doNotCloseOnClick:!0},id:e,optionsLoader:a,onStartListening:l}),this.execute=()=>{super.execute()},this.getState=()=>({...super.getState(),id:this._searchOptions.id,category:this._searchOptions.category,favourite:this._searchOptions.favourite,onFavouriteClick:this._onFavouriteClick,aliases:this._searchOptions.aliases}),this.update=e=>{this._searchOptions=Object.assign(this._searchOptions,e),super.update(e)},this._onFavouriteClick=e=>{this._searchOptions.onFavouriteClick&&(this.update({favourite:!this._searchOptions.favourite}),this._searchOptions.onFavouriteClick(e))},this._searchOptions={id:e,category:t,favourite:n,onFavouriteClick:o,aliases:r}}}var Z,G=n(72769),K=n(71664);!function(e){e.None="all",e.Following="following",e.Private="private"}(Z||(Z={}));var q=n(20707),X=n(42052),J=n(27418),j=n(40520),Q=n(95398),$=n(8892),Y=n(81825);function ee(e){const t=e.match(/^(\d+).(\d+).(\d+)/);if(!t)return null;const[,n,o,s]=t;return[parseInt(n),parseInt(o),parseInt(s)]}function te(e){const t=(0,W.desktopAppVersion)();return!!t&&function(e,t){const n=ee(e),o=ee(t);if(!n||!o)return!1;const[s,i,r]=n,[a,l,c]=o;return s!==a?s<a:i!==l?i<l:r!==c&&r<c}(t,e)}const ne=e=>{const t=t=>{const o=[];if(t&&t.length&&window.is_authenticated&&t.forEach((t=>{o.push(new U({id:t,category:"settingsActions",label:`${a.t(null,void 0,n(54676))} ${j.translateStdThemeName(t)}`,onExecute:()=>{(0,Y.loadTheme)(e.chartWidgetCollection(),{themeName:t,
|
||||
standardTheme:!1}).then((()=>{e.readOnly()||window.saver.saveChartSilently()}))}}))})),!(0,W.isDesktopApp)()||te("1.0.10")){const[,t]=j.getStdThemeNames();o.push(new U({id:"DarkColorTheme",category:"settingsActions",label:a.t(null,void 0,n(81474)),checkable:!0,checked:j.getCurrentTheme().name===t,onExecute:()=>{!function(e){const t=(0,j.getCurrentTheme)().name===p.StdTheme.Dark?p.StdTheme.Light:p.StdTheme.Dark,o=e.chartModels().value().every((e=>null!==e.model().getThemeNameIfStdTheme())),s=()=>{(0,Y.loadTheme)(e,{themeName:t,standardTheme:!0}).then((()=>{e.readOnly()||window.saver.saveChartSilently()}))};if(o)s();else{const e=a.t(null,void 0,n(38659)).format({name:(0,Q.capitalizeFirstLetter)(t)});(0,$.showConfirm)({text:e,onConfirm:({dialogClose:e})=>{s(),e()},onCancel:({dialogClose:e})=>{(0,g.setTheme)(t),(0,j.syncTheme)(),e()}})}}(e.chartWidgetCollection())}}))}return o};return window.is_authenticated?j.getThemeNames().then(t):Promise.resolve(t())};var oe=n(54951),se=n(69111);n(93445);var ie=n(9583),re=n(20360),ae=n(16430);const{DrawingSyncMode:le}=oe,ce={drawings:"ToggleHideAllDrawingTools",indicators:"ToggleHideAllIndicators",positions:"ToggleHideAllPositions",all:"ToggleHideAll"},he=new G.TranslatedString("stay in drawing mode",a.t(null,void 0,n(82118))),de=new G.TranslatedString("sync drawings",a.t(null,void 0,n(58443))),ue=a.t(null,void 0,n(76659)),ve=a.t(null,void 0,n(17421)),me=(a.t(null,void 0,n(31625)),a.t(null,void 0,n(92591)),a.t(null,void 0,n(17768))),pe=a.t(null,void 0,n(97039)),ge=a.t(null,void 0,n(49116));var be=n(25543),fe=n(41493),we=n(96898);class ye extends U{constructor(e){super({label:a.t(null,void 0,n(15925)),id:"InvertScale",category:"settingsActions",checkable:!0,onExecute:()=>{this._model.invertPriceScale(this._model.mainSeries().priceScale())},shortcutHint:(0,O.humanReadableHash)(O.Modifiers.Alt+73)}),this._model=e;(this._props=this._model.mainSeries().priceScale().properties().childs().isInverted).subscribe(this,(()=>{this._onUpdate.fire(this)}))}destroy(){super.destroy(),this._props.unsubscribeAll(this)}isChecked(){return this._model.mainSeries().priceScale().isInverted()}}class xe extends U{constructor(e){super({label:a.t(null,void 0,n(55833)),checkable:!0,id:"TogglePercantage",category:"settingsActions",onExecute:()=>{this.isChecked()?this._model.setPriceScaleRegularScaleMode(this._model.mainSeries().priceScale()):this._model.togglePriceScalePercentageScaleMode(this._model.mainSeries().priceScale())},shortcutHint:(0,O.humanReadableHash)(O.Modifiers.Alt+80),disabled:e.mainSeries().priceScale().isLockScale()||6===e.mainSeries().properties().childs().style.value(),checked:e.mainSeries().priceScale().isPercentage()}),this._model=e;(this._props=this._model.mainSeries().priceScale().properties().childs().percentage).subscribe(this,(()=>{this._onUpdate.fire(this)}))}destroy(){super.destroy(),this._props.unsubscribeAll(this)}isChecked(){return this._model.mainSeries().priceScale().isPercentage()}}class Se extends U{constructor(e){super({label:a.t(null,void 0,n(3558)),id:"ToggleLogScale",
|
||||
category:"settingsActions",checkable:!0,onExecute:()=>{this.isChecked()?this._model.setPriceScaleRegularScaleMode(this._model.mainSeries().priceScale()):this._model.togglePriceScaleLogScaleMode(this._model.mainSeries().priceScale())},shortcutHint:(0,O.humanReadableHash)(O.Modifiers.Alt+76),disabled:e.mainSeries().priceScale().isLockScale()||6===e.mainSeries().properties().childs().style.value(),checked:e.mainSeries().priceScale().isLog()}),this._model=e;(this._props=this._model.mainSeries().priceScale().properties().childs().log).subscribe(this,(()=>{this._onUpdate.fire(this)}))}destroy(){super.destroy(),this._props.unsubscribeAll(this)}isChecked(){return this._model.mainSeries().priceScale().isLog()}}var _e=n(36219);const Ee=(0,P.isFeaturesetEnabled)("show_average_close_price_line_and_label"),Ce=new G.TranslatedString("change session",a.t(null,void 0,n(23426))),ke=new G.TranslatedString("change plus button visibility",a.t(null,void 0,n(39087))),Me=new G.TranslatedString("change countdown to bar close visibility",a.t(null,void 0,n(99254))),Ie=new G.TranslatedString("scale price chart only",a.t(null,void 0,n(31831))),Te=new G.TranslatedString("change symbol last value visibility",a.t(null,void 0,n(25900))),Ae=new G.TranslatedString("change high and low price labels visibility",a.t(null,void 0,n(56987))),De=new G.TranslatedString("change average close price label visibility",a.t(null,void 0,n(51646))),Le=new G.TranslatedString("change indicators and financials value labels visibility",a.t(null,void 0,n(24360))),Re=new G.TranslatedString("change indicators and financials name labels visibility",a.t(null,void 0,n(86335))),Ne=new G.TranslatedString("change high and low price lines visibility",a.t(null,void 0,n(84666))),He=new G.TranslatedString("change average close price line visibility",a.t(null,void 0,n(5352))),Pe=new G.TranslatedString("change symbol labels visibility",a.t(null,void 0,n(56108))),Oe=(new G.TranslatedString("change pre/post market price label visibility",a.t(null,void 0,n(76701))),new G.TranslatedString("change symbol previous close value visibility",a.t(null,void 0,n(94209))),new G.TranslatedString("change previous close price line visibility",a.t(null,void 0,n(86911)))),Fe=(new G.TranslatedString("change bid and ask labels visibility",a.t(null,void 0,n(41553))),new G.TranslatedString("change bid and ask lines visibility",a.t(null,void 0,n(96049))),new G.TranslatedString("change pre/post market price lines visibility",a.t(null,void 0,n(26085))),new G.TranslatedString("change price line visibility",a.t(null,void 0,n(22912)))),ze=new G.TranslatedString("change session breaks visibility",a.t(null,void 0,n(46202))),Be=(new G.TranslatedString("change ideas visibility on chart",a.t(null,void 0,n(79121))),new G.TranslatedString("show all ideas",a.t(null,void 0,n(31318))),new G.TranslatedString("show ideas of followed users",a.t(null,void 0,n(53966))),new G.TranslatedString("show my ideas only",a.t(null,void 0,n(99036))),new G.TranslatedString("change events visibility on chart",a.t(null,void 0,n(3235))),
|
||||
new G.TranslatedString("change earnings visibility",a.t(null,void 0,n(80195))),new G.TranslatedString("change dividends visibility",a.t(null,void 0,n(93010))),new G.TranslatedString("change splits visibility",a.t(null,void 0,n(77448))),{0:a.t(null,void 0,n(92804)),1:a.t(null,void 0,n(70870)),9:a.t(null,void 0,n(66967)),2:a.t(null,void 0,n(41726)),14:a.t(null,void 0,n(53604)),15:a.t(null,void 0,n(50129)),3:a.t(null,void 0,n(41784)),16:a.t(null,void 0,n(29870)),4:a.t(null,void 0,n(12033)),7:a.t(null,void 0,n(56445)),5:a.t(null,void 0,n(5710)),6:a.t(null,void 0,n(87650)),8:a.t(null,void 0,n(9472)),10:a.t(null,void 0,n(29828)),11:a.t(null,void 0,n(84307)),12:a.t(null,void 0,n(44694)),13:a.t(null,void 0,n(97257)),17:a.t(null,void 0,n(78900)),18:a.t(null,void 0,n(44617)),19:a.t(null,void 0,n(99779)),20:a.t(null,void 0,n(61830)),21:a.t(null,void 0,n(31851))});async function We(e){const t=[],[o,s]=await Promise.all([ne(e),Promise.resolve(null)]),i=(e=>{const t=[],{stayInDrawingMode:n,drawOnAllCharts:o,drawOnAllChartsMode:s}=oe.properties().childs();t.push(new U({label:ue,checkable:!0,checked:n.value(),id:"ToggleStayInDrawingMode",category:"settingsActions",onExecute:()=>{e.model().setProperty(n,!n.value(),he)}})),t.push(new U({label:ve,checkable:!0,id:"ToggleSyncDrawings",category:"settingsActions",checked:o.value(),disabled:!e.isMultipleLayout().value(),onExecute:()=>{e.model().setProperty(o,!o.value(),de)}}));const i=oe.lockDrawings();t.push(new U({label:me,checkable:!0,id:"ToggleLockDrawings",category:"settingsActions",checked:i.value(),onExecute:()=>{oe.lockDrawings().setValue(!oe.lockDrawings().value())}}));const r=(0,ae.getSavedHideMode)();t.push(...Array.from((0,ae.getHideOptions)()).map((([e,t])=>new U({label:t.tooltip.inactive,checkable:!0,id:ce[e],category:"settingsActions",checked:r===e&&(0,ae.getHideModeStateValue)(e),onExecute:()=>(0,ae.toggleHideMode)(e)}))));const{magnet:a,magnetMode:l}=oe.properties().childs();return t.push(new U({label:pe,checkable:!0,id:"WeakMagnet",category:"functionActions",checked:a.value()&&l.value()===ie.MagnetMode.WeakMagnet,icon:re.drawingToolsIcons.magnet,onExecute:()=>{a.value()&&l.value()===ie.MagnetMode.WeakMagnet?(0,se.setIsMagnetEnabled)(!1):(0,se.setMagnetMode)(ie.MagnetMode.WeakMagnet)}})),t.push(new U({label:ge,checkable:!0,id:"StrongMagnet",category:"functionActions",checked:a.value()&&l.value()===ie.MagnetMode.StrongMagnet,icon:re.drawingToolsIcons.strongMagnet,onExecute:()=>{a.value()&&l.value()===ie.MagnetMode.StrongMagnet?(0,se.setIsMagnetEnabled)(!1):(0,se.setMagnetMode)(ie.MagnetMode.StrongMagnet)}})),t})(e),r=function(e){const t=[];return(0,P.isFeaturesetEnabled)("header_widget")&&(0,P.isFeaturesetEnabled)("header_compare")&&t.push(new U({icon:n(65695),label:(0,B.appendEllipsis)(a.t(null,void 0,n(50569))),id:"Compare",category:"functionActions",onExecute:()=>e.toggleCompareOrAdd()})),(0,P.isFeaturesetEnabled)("header_widget")&&(0,P.isFeaturesetEnabled)("header_indicators")&&t.push(new U({icon:n(13784),label:(0,B.appendEllipsis)(a.t(null,void 0,n(24909))),
|
||||
id:"InsertIndicator",category:"functionActions",onExecute:()=>{e.showIndicators([])},shortcutHint:e.options().indicatorsDialogShortcutEnabled?(0,O.humanReadableHash)(47):void 0})),(0,P.isFeaturesetEnabled)("show_object_tree")&&t.push(new U({icon:n(49606),label:a.t(null,void 0,n(7376)),id:"OpenObjectsTreeInRightPanel",category:"functionActions",onExecute:()=>e.showObjectsTreePanelOrDialog()})),(0,P.isFeaturesetEnabled)("header_widget")&&(0,P.isFeaturesetEnabled)("header_settings")&&t.push(new U({label:(0,B.appendEllipsis)(a.t(null,void 0,n(30586))),icon:n(79851),id:"ChartProperties",category:"functionActions",onExecute:()=>{e.showGeneralChartProperties()}})),(0,P.isFeaturesetEnabled)("header_widget")&&(0,P.isFeaturesetEnabled)("header_symbol_search")&&t.push(new U({icon:n(92003),label:(0,B.appendEllipsis)(a.t(null,void 0,n(2665))),id:"ChangeSymbol",category:"functionActions",onExecute:()=>{(0,we.showDefaultSearchDialog)({defaultValue:"",trackResultsOptions:void 0,enableOptionsChain:(0,P.isFeaturesetEnabled)("symbol_search_option_chain_selector"),searchType:"supercharts"})}})),(0,P.isFeaturesetEnabled)("symbol_info")&&t.push(new U({label:(0,B.appendEllipsis)(a.t(null,void 0,n(9299))),icon:n(77946),id:"SymbolInfo",category:"functionActions",onExecute:()=>{{const t=e.model().model(),n=t.mainSeries().symbolInfo(),o=t.availableUnits(),s={symbolInfo:n,showUnit:t.unitConversionEnabled(),unitDescription:e=>e?o.description(e):"",dateFormatter:t.dateFormatter()};return void(0,be.showSymbolInfoDialog)(s)}}})),e.options().goToDateEnabled&&t.push(new U({label:(0,B.appendEllipsis)(a.t(null,void 0,n(45998))),icon:n(30748),id:"GoToDate",category:"functionActions",onExecute:()=>{(0,fe.showGoToDateDialog)(e)},shortcutHint:(0,O.humanReadableHash)(O.Modifiers.Alt+71)})),t.filter((e=>null!==e))}(e);t.push(...o,...i,...r),s&&t.push(...s);const l=e.model().mainSeries(),c=l.priceScale(),h=l.properties().childs(),d=e.model().paneForSource?.(l);t.push(new U({id:"ResetPriceScale",category:"functionActions",label:a.t(null,void 0,n(99728)),icon:n(7563),onExecute:()=>{d&&e.model().resetPriceScale(d,c)},shortcutHint:(0,O.humanReadableHash)(O.Modifiers.Alt+82)})),t.push(new ye(e.model())),t.push(new xe(e.model())),t.push(new Se(e.model()));const u=c.isLockScale(),v=6===h.style.value();t.push(new U({label:a.t(null,void 0,n(36532)),checkable:!0,id:"SetRegularSessionId",category:"functionActions",disabled:Boolean("regular"===l.symbolInfo()?.subsession_id),onExecute:()=>{e.model().setProperty(h.sessionId,"regular",Ce)},checked:Boolean("regular"===l.symbolInfo()?.subsession_id)})),t.push(new U({label:a.t(null,void 0,n(37384)),checkable:!0,id:"SetExtendedSessionId",category:"functionActions",disabled:!l.symbolInfo()?.subsessions?.some((e=>!e.private&&"extended"===e.id)),onExecute:()=>{const t="extended"===l.symbolInfo()?.subsession_id?"regular":"extended";e.model().setProperty(h.sessionId,t,Ce)},checked:Boolean("extended"===l.symbolInfo()?.subsession_id)})),t.push(new U({label:a.t(null,void 0,n(11768)),checkable:!0,id:"ToggleLockScale",
|
||||
category:"settingsActions",onExecute:()=>{e.model().togglePriceScaleLockScaleMode(e.model().mainSeries().priceScale())},checked:c.isLockScale()})),t.push(new U({label:a.t(null,void 0,n(52054)),checkable:!0,id:"ToggleIndexedTo100",category:"settingsActions",onExecute:()=>{c.isIndexedTo100()?e.model().setPriceScaleRegularScaleMode(e.model().mainSeries().priceScale()):e.model().togglePriceScaleIndexedTo100ScaleMode(e.model().mainSeries().priceScale())},disabled:u||v,checked:c.isIndexedTo100()})),t.push(new U({id:"AutoFitsToScreen",category:"settingsActions",label:a.t(null,void 0,n(33752)),checkable:!0,onExecute:()=>{e.model().togglePriceScaleAutoScaleMode(c)},checked:c.isAutoScale(),disabled:c.properties().childs().autoScaleDisabled.value()})),t.push(new U({label:a.t(null,{context:"scale_menu"},n(49179)),checkable:!0,id:"ToggleRegularScale",category:"settingsActions",onExecute:()=>{e.model().setPriceScaleRegularScaleMode(c)},disabled:u||v||c.isRegular(),checked:c.isRegular()}));const m=e.model().model().priceScaleSlotsCount(),p=0===m.left;t.push(new U({label:p?a.t(null,void 0,n(5016)):a.t(null,void 0,n(91879)),id:"MoveScaleToSide",category:"functionActions",disabled:m.left+m.right!==1,onExecute:()=>{e.model().mergeAllScales(p?"left":"right")}})),t.push(new U({label:a.t(null,void 0,n(23605)),id:"MergeAllScalesToLeft",category:"functionActions",disabled:m.left+m.right===1,onExecute:()=>{e.model().mergeAllScales("left")}})),t.push(new U({label:a.t(null,void 0,n(38536)),id:"MergeAllScalesToRight",category:"functionActions",disabled:m.left+m.right===1,onExecute:()=>{e.model().mergeAllScales("right")}})),t.push(new U({label:a.t(null,void 0,n(88915)),checkable:!0,checked:K.addPlusButtonProperty.value(),id:"ToggleAddOrderPlusButton",category:"settingsActions",onExecute:()=>{e.model().setProperty(K.addPlusButtonProperty,!K.addPlusButtonProperty.value(),ke)}}));const g=e.properties().childs().scalesProperties.childs(),b=h.showCountdown;t.push(new U({label:a.t(null,void 0,n(71661)),checkable:!0,id:"ToggleCountdown",category:"settingsActions",checked:b.value(),onExecute:()=>{e.model().setProperty(b,!b.value(),Me)}}));const f=g.scaleSeriesOnly;t.push(new U({label:a.t(null,void 0,n(62145)),checkable:!0,id:"ScalePriceChartOnly",category:"settingsActions",checked:f.value(),onExecute:()=>{e.model().setProperty(f,!f.value(),Ie)}}));const w=g.showSeriesLastValue;t.push(new U({label:a.t(null,void 0,n(57199)),checkable:!0,id:"ToggleSymbolLastValue",category:"settingsActions",checked:w.value(),onExecute:()=>{e.model().setProperty(w,!w.value(),Te)}}));const y=h.highLowAvgPrice.childs();t.push(new U({label:a.t(null,void 0,n(23430)),checkable:!0,id:"ToggleHighLowPriceLabels",category:"settingsActions",checked:y.highLowPriceLabelsVisible.value(),onExecute:()=>{e.model().setProperty(y.highLowPriceLabelsVisible,!y.highLowPriceLabelsVisible.value(),Ae)}})),Ee&&t.push(new U({label:a.t(null,void 0,n(14146)),checkable:!0,id:"ToggleAverageClosePriceLabel",category:"settingsActions",checked:y.averageClosePriceLabelVisible.value(),onExecute:()=>{
|
||||
const t=!y.averageClosePriceLabelVisible.value();e.model().setProperty(y.averageClosePriceLabelVisible,t,De)}}));const x=g.showSymbolLabels;t.push(new U({label:a.t(null,void 0,n(70437)),checkable:!0,id:"ToggleSymbolLabels",category:"settingsActions",checked:x.value(),onExecute:()=>{e.model().setProperty(x,!x.value(),Pe)}}));const S=(0,q.combineProperty)(((e,t)=>e||t),g.showStudyLastValue.weakReference(),g.showFundamentalLastValue.weakReference());t.push(new U({label:a.t(null,void 0,n(11018)),checkable:!0,id:"ToggleStudyLastValue",category:"settingsActions",checked:S.value(),onExecute:()=>{const t=!S.value();e.model().beginUndoMacro(Le),e.model().setProperty(g.showStudyLastValue,t,null),e.model().setProperty(g.showFundamentalLastValue,t,null),e.model().endUndoMacro()},onDestroy:()=>{S.destroy()}}));const _=(0,q.combineProperty)(((e,t)=>e||t),g.showStudyPlotLabels.weakReference(),g.showFundamentalNameLabel.weakReference());t.push(new U({label:a.t(null,void 0,n(44149)),checkable:!0,id:"ToggleIndicatorsLabels",category:"settingsActions",checked:_.value(),onExecute:()=>{e.model().beginUndoMacro(Re);const t=!_.value();e.model().setProperty(g.showStudyPlotLabels,t,null),e.model().setProperty(g.showFundamentalNameLabel,t,null),e.model().endUndoMacro()},onDestroy:()=>{_.destroy()}})),t.push(new U({label:a.t(null,void 0,n(56220)),checkable:!0,id:"ToggleHighLowPriceLines",category:"settingsActions",checked:y.highLowPriceLinesVisible.value(),onExecute:()=>{e.model().setProperty(y.highLowPriceLinesVisible,!y.highLowPriceLinesVisible.value(),Ne)}})),Ee&&t.push(new U({label:a.t(null,void 0,n(93460)),checkable:!0,id:"ToggleAverageClosePriceLine",category:"settingsActions",checked:y.averageClosePriceLineVisible.value(),onExecute:()=>{const t=!y.averageClosePriceLineVisible.value();e.model().setProperty(y.averageClosePriceLineVisible,t,He)}}));const E=h.showPriceLine;t.push(new U({label:a.t(null,void 0,n(80222)),checkable:!0,id:"TogglePriceLine",category:"settingsActions",checked:E.value(),onExecute:()=>{e.model().setProperty(E,!E.value(),Fe)}}));const C=h.showPrevClosePriceLine;t.push(new U({label:a.t(null,void 0,n(94331)),checkable:!0,id:"ToggleSymbolPrevCloseLine",disabled:e.model().mainSeries().isDWM(),category:"settingsActions",checked:C.value(),onExecute:()=>{e.model().setProperty(C,!C.value(),Oe)}})),t.push(new U({label:a.t(null,void 0,n(6436)),icon:n(7563),id:"ResetTimeScale",category:"functionActions",onExecute:()=>{e.model().resetTimeScale()},shortcutHint:(0,O.humanReadableHash)(O.Modifiers.Mod+O.Modifiers.Alt+81)}));const k=e.model().model().sessions().properties().childs().sessionHighlight.childs().vertlines.childs().sessBreaks.childs().visible,M=(0,q.createWVFromProperty)(e.model().mainSeries().isDWMProperty()),I=new U({label:a.t(null,void 0,n(92496)),checkable:!0,id:"ToggleSessionBreaks",category:"settingsActions",disabled:M.value(),checked:k.value(),onExecute:()=>{e.model().setProperty(k,!k.value(),ze)},onDestroy:()=>M.destroy()});if(M.subscribe((()=>I.update({disabled:M.value()}))),t.push(I),t.push(new U({
|
||||
label:a.t(null,void 0,n(9344)),icon:n(7563),id:"ResetChart",category:"functionActions",onExecute:()=>e.GUIResetScales(),shortcutHint:(0,O.humanReadableHash)(O.Modifiers.Alt+82)})),t.push(new U({icon:n(62494),label:a.t(null,void 0,n(29045)),id:"RemoveAllIndicators",category:"functionActions",onExecute:()=>e.removeAllStudies()})),t.push(new U({icon:n(62494),label:a.t(null,void 0,n(22415)),id:"RemoveAllDrawingTools",category:"functionActions",onExecute:()=>e.removeAllDrawingTools()})),t.push(new U({icon:n(62494),label:a.t(null,void 0,n(78981)),id:"RemoveAllIndicatorsAndDrawingTools",category:"functionActions",onExecute:()=>e.removeAllStudiesDrawingTools()})),t.push(new U({label:a.t(null,void 0,n(24176)),id:"ApplyIndicatorsToAllCharts",category:"functionActions",disabled:!e.applyIndicatorsToAllChartsAvailable(),onExecute:()=>{e.chartWidgetCollection().applyIndicatorsToAllCharts(e)}})),(0,P.isFeaturesetEnabled)("header_widget")&&(0,P.isFeaturesetEnabled)("header_undo_redo")&&(t.push(new U({id:"Undo",category:"functionActions",icon:n(99724),label:a.t(null,void 0,n(74133)),onExecute:()=>{e.model().undoHistory().undo()},disabled:e.model().undoHistory().undoStack().isEmpty(),shortcutHint:(0,O.humanReadableHash)(O.Modifiers.Mod+90)})),t.push(new U({id:"Redo",category:"functionActions",icon:n(76202),label:a.t(null,void 0,n(98307)),onExecute:()=>{e.model().undoHistory().redo()},disabled:e.model().undoHistory().redoStack().isEmpty(),shortcutHint:(0,O.humanReadableHash)(O.Modifiers.Mod+89)}))),t.push(new U({label:a.t(null,void 0,n(68731)),id:"MoveChartRight",category:"functionActions",disabled:!e.chartWidgetCollection().activeChartCanBeMoved().value(),onExecute:()=>{e.chartWidgetCollection().moveActiveChartWithUndo(!1)}})),t.push(new U({label:a.t(null,void 0,n(13989)),id:"MoveChartLeft",category:"functionActions",disabled:!e.chartWidgetCollection().activeChartCanBeMoved().value(),onExecute:()=>{e.chartWidgetCollection().moveActiveChartWithUndo(!0)}})),(0,P.isFeaturesetEnabled)("header_widget")&&(0,P.isFeaturesetEnabled)("header_chart_type")){const n=(0,X.allChartStyles)();for(const o of n)t.push(new U({id:`ChartStyle_${o}`,category:"functionActions",disabled:!F.linking.supportedChartStyles.value()?.includes(o),onExecute:()=>{e.chartWidgetCollection().setChartStyleToWidget(o)},icon:J.SERIES_ICONS[o],label:Be[o]}))}return(0,P.isFeaturesetEnabled)("header_widget")&&(0,_e.shouldShowFullscreen)()&&t.push(new U({label:a.t(null,void 0,n(22911)),id:"Fullscreen mode",icon:n(38857),category:"functionActions",checkable:!0,checked:e.chartWidgetCollection().fullscreen().value(),disabled:!e.chartWidgetCollection().fullscreenable().value(),onExecute:()=>{const t=e.chartWidgetCollection();t.fullscreen().value()?t.exitFullscreen():t.startFullscreen()},shortcutHint:(0,O.humanReadableHash)(O.Modifiers.Shift+70)})),t}n(85842);var Ve=n(66863),Ue=n(95238),Ze=n(27559),Ge=n(90454);function Ke(){return Ge.lineToolsFlat.filter(Ge.isLineTool).map((e=>function(e){const t=Ze.lineToolsInfo[e],o=t.selectHotkey?.hash,s={id:e,category:"drawingsActions",
|
||||
label:t.localizedName,icon:t.icon,shortcutHint:o?(0,O.humanReadableHash)(o):void 0,payload:e,onExecute:()=>{oe.tool.setValue(e),(0,Ve.trackDrawingToolSelected)(e,"Global action")},favourite:Ue.LinetoolsFavoritesStore.isFavorite(e),onFavouriteClick:t=>{t.preventDefault(),Ue.LinetoolsFavoritesStore.isFavorite(e)?Ue.LinetoolsFavoritesStore.removeFavorite(e):Ue.LinetoolsFavoritesStore.addFavorite(e)}};return e.toLowerCase().includes("fib")&&(s.aliases=[a.t(null,void 0,n(36651))]),new U(s)}(e.name)))}n(47893);function qe(e,t){const n=e.getState().category,o=t.getState().category;return n===o?0:"drawingsActions"===o?1:"drawingsActions"===n||"functionActions"===n?-1:1}var Xe=n(48566),Je=n(64483);class je extends i.DialogRenderer{constructor(e){super(),this._actions=[],this.show=e=>{this.visible().value()||async function(e,t){const o=[],[s,i,r,l,c]=await Promise.all([We(e),Promise.resolve(null),Promise.resolve(null),Promise.resolve(null),Promise.resolve(null)]);o.push(...s);const h=e.chartWidgetCollection();if((0,P.isFeaturesetEnabled)("header_widget")&&(0,P.isFeaturesetEnabled)("header_resolutions")){const t={label:(0,B.appendEllipsis)(a.t(null,{context:"global_search_action"},n(87759))),id:"ChangeInterval",category:"functionActions",onExecute:()=>{(0,z.showChangeIntervalDialogAsync)({initVal:F.linking.interval.value(),selectOnInit:!0})}};!(0,P.isFeaturesetEnabled)("show_interval_dialog_on_key_press")||e.readOnly()||e.options().hideSymbolSearch||(t.shortcutHint=(0,O.humanReadableHash)(188)),o.push(new U(t))}if(t&&(0,P.isFeaturesetEnabled)("header_widget")&&(0,P.isFeaturesetEnabled)("header_saveload")){o.push(new U({id:"LoadChartLayout",category:"functionActions",label:(0,B.appendEllipsis)(a.t(null,{context:"global_search_action"},n(47191))),onExecute:()=>{t.showLoadDialog()},shortcutHint:a.t(null,{context:"hotkey"},n(10476))}));const s=e.getSaveChartService();s&&(o.push(new U({id:"RenameChartLayout",category:"functionActions",label:(0,B.appendEllipsis)(a.t(null,{context:"global_search_action"},n(61393))),onExecute:()=>{s.renameChart()}})),o.push(new U({id:"SaveChartLayout",category:"functionActions",icon:n(95549),label:(0,B.appendEllipsis)(a.t(null,{context:"global_search_action"},n(33393))),disabled:!s.hasChanges(),onExecute:()=>{s.saveChartOrShowTitleDialog()},shortcutHint:(0,O.humanReadableHash)(O.Modifiers.Mod+83)})))}return o.push(new U({id:"TakeSnapshot",category:"functionActions",icon:n(95986),label:a.t(null,void 0,n(36956)),onExecute:()=>h.takeServerScreenshot(),shortcutHint:(0,O.humanReadableHash)(O.Modifiers.Alt+83)})),o}(this._activeChartWidget,this._loadChartService).then((t=>{this._actions=t.concat((()=>{const e=(0,P.isFeaturesetEnabled)("left_toolbar")?[...Ke()]:[];return e})()).sort(qe),this._rootInstance=(0,Je.createReactRoot)(o.createElement(N,{shouldReturnFocus:e?.shouldReturnFocus,dialogId:"globalSearch",items:this._actions,onClose:this.hide}),this._container),this._setVisibility(!0)}))},this.hide=()=>{this._rootInstance?.unmount(),this._setVisibility(!1);for(const e of this._actions)e.destroy()}
|
||||
;const t=(0,Xe.service)(s.CHART_WIDGET_COLLECTION_SERVICE);this._activeChartWidget=t.activeChartWidget.value(),this._loadChartService=e}}},21404:(e,t,n)=>{"use strict";n.d(t,{useRovingTabindexElement:()=>r});var o=n(79474),s=n(73064),i=n(69947);function r(e,t=[]){const[n,r]=(0,o.useState)(!1),a=(0,s.useFunctionalRefObject)(e);return(0,i.useIsomorphicLayoutEffect)((()=>{const e=a.current;if(null===e)return;const t=e=>{switch(e.type){case"roving-tabindex:main-element":r(!0);break;case"roving-tabindex:secondary-element":r(!1)}};return e.addEventListener("roving-tabindex:main-element",t),e.addEventListener("roving-tabindex:secondary-element",t),()=>{e.removeEventListener("roving-tabindex:main-element",t),e.removeEventListener("roving-tabindex:secondary-element",t)}}),t),[a,n?0:-1]}},46472:(e,t,n)=>{"use strict";n.d(t,{getElementId:()=>d,useSearchDialogKeyboardNavigation:()=>h});var o=n(79474),s=n(97486),i=n(47893),r=n(86971),a=n(78122),l=n(85728),c=n(45958);function h(e){const{contentContainerRef:t,searchInputRef:n,dialogRef:s,getNextFocusedItemIndex:h,isNavigationDisabled:u,onEscapeClick:v,scrollToFocusedItem:m,getElementIdByIndex:p=d}=e,[g,b]=(0,o.useState)(null),[f,w]=(0,o.useState)(null),y=(0,o.useRef)({itemIndex:null,actionIndex:null}),[x,S]=(0,o.useState)(!1);function _(){S(!1),w(null),b(null)}return(0,o.useLayoutEffect)((()=>{if(null===g||!x)return;const e=p(g,f),n=t.current?.querySelector(`#${e}`);return n?.dispatchEvent(new CustomEvent("active-descendant-focus")),()=>{n?.dispatchEvent(new CustomEvent("active-descendant-blur"))}}),[g,x,f]),{handleKeyDown:function(e){const o=(0,i.hashFromEvent)(e);if(27===o&&v)return void v(e);const s=t.current;if(!s||e.target!==n.current)return;if(32===o||13===o){if(null===g)return;e.preventDefault();const t=s.querySelector(`#${p(g,f)}`);if(!(t instanceof HTMLElement))return;return void t.click()}const r=(0,a.mapKeyCodeToDirection)(o);if(!r||u)return;const c=null!==g?s.querySelector(`#${p(g)}`):null;switch(r){case"blockNext":case"blockPrev":{e.preventDefault();const t=h(g,"blockNext"===r?1:-1);if(null===t)return;b(t),S(!0),y.current.itemIndex=t;const n=s.querySelector(`#${p(t)}`);if(m(n,t),null!==f&&n instanceof HTMLElement){const e=Array.from(n.querySelectorAll('[data-role="list-item-action"]'));if(!e.length)return w(null),void(y.current.actionIndex=null);const t=(0,l.clamp)(f,0,e.length-1);w(t),y.current.actionIndex=t}return}case"inlineNext":{if(!c)return;e.preventDefault();const t=Array.from(c.querySelectorAll('[data-role="list-item-action"]'));if(!t||!t.length)return;return null===f?(w(0),void(y.current.actionIndex=0)):f===t.length-1?(w(null),void(y.current.actionIndex=null)):(w(f+1),void(y.current.actionIndex=f+1))}case"inlinePrev":{if(!c)return;e.preventDefault();const t=Array.from(c.querySelectorAll('[data-role="list-item-action"]'));if(!t||!t.length)return;return null===f?(w(t.length-1),void(y.current.actionIndex=t.length-1)):0===f?(w(null),void(y.current.actionIndex=null)):(w(f-1),void(y.current.actionIndex=f-1))}}},handleForceFocus:function(){(0,a.updateTabIndexes)()},
|
||||
handleSearchRefBlur:function(e){_(),b(g),c.CheckMobile.any()||e.relatedTarget!==s.current?.getElement()||e.target.focus()},resetFocusState:_,restoreFocusState:function(){w(y.current.actionIndex),b(y.current.itemIndex),S(!0)},focusVisible:x,focusedItemIndex:g,focusedActionIndex:f,setFocusedItemIndex:b,setFocusedActionIndex:w,onDialogClick:function(e){(0,r.isKeyboardClick)(e)||(S(!1),w(null))}}}function d(e,t){return(0,s.isNumber)(t)&&-1!==t?`list-item-${e}-action-${t}`:`list-item-${e}`}},84688:(e,t,n)=>{"use strict";n.d(t,{DialogsOpenerManager:()=>o,dialogsOpenerManager:()=>s});class o{constructor(){this._storage=new Map}setAsOpened(e,t){this._storage.set(e,t)}setAsClosed(e){this._storage.delete(e)}isOpened(e){return this._storage.has(e)}getDialogPayload(e){return this._storage.get(e)}}const s=new o},62369:(e,t,n)=>{"use strict";n.d(t,{ContextMenuAction:()=>x});var o=n(79474),s=n(85842),i=n(40197),r=n(78972),a=n(11463),l=n(14487),c=n.n(l),h=n(61597),d=n(27156),u=n(83327);function v(e){const{size:t="normal"}=e;return o.createElement(d.ContextMenuItem,{size:t,jsxLabel:o.createElement("div",{className:c()(u.loaderWrap,u[t])},o.createElement(h.Loader,{className:u.loader})),noInteractive:!0,onMouseOver:e.onMouseOver})}var m=n(47893),p=n(21404),g=n(89981);const b=(0,o.forwardRef)((function(e,t){const{className:n,...s}=e,[i,r]=(0,p.useRovingTabindexElement)(t);return o.createElement(d.ContextMenuItem,{...s,className:c()(g.accessible,n),reference:i,tabIndex:r,onKeyDown:function(e){if(e.target!==e.currentTarget)return;const t=(0,m.hashFromEvent)(e);13!==t&&32!==t||(e.preventDefault(),i.current instanceof HTMLElement&&i.current.click())},"data-role":"menuitem","aria-disabled":e.disabled||void 0})}));var f=n(81458);var w=n(64906),y=n(17656);class x extends o.PureComponent{constructor(e){super(e),this._itemRef=null,this._menuElementRef=o.createRef(),this._menuRef=null,this._handleClick=e=>{e.isDefaultPrevented()||this.state.disabled||(this._hasSubItems()?this._showSubMenu():(this.state.doNotCloseOnClick||(0,a.globalCloseMenu)(),this.props.action.execute(),this._trackEvent(),this.props.onExecute&&this.props.onExecute(this.props.action)))},this._handleClickToolbox=()=>{(0,a.globalCloseMenu)()},this._handleItemMouseOver=()=>{this._showSubMenu(),this._setCurrentContextValue()},this._handleMenuMouseOver=()=>{this._setCurrentContextValue()},this._showSubMenu=()=>{this.props.onShowSubMenu(this.props.action)},this._calcSubMenuPos=e=>function(e,t,n={x:0,y:10}){if(t){const{left:n,right:o,top:s}=t.getBoundingClientRect(),i=document.documentElement.clientWidth,r={x:n-e,y:s},a={x:o,y:s};return(0,f.isRtl)()?n<=e?a:r:i-o>=e?a:r}return n}(e.contentWidth,this._itemRef),this._updateState=e=>{this.setState(e.getState())},this._setItemRef=e=>{this._itemRef=e},this._handleMenuRef=e=>{this._menuRef=e},this._registerSubmenu=()=>this.context?.registerSubmenu(this.props.action.id,(e=>(0,s.ensureNotNull)(this._itemRef).contains(e)||null!==this._menuElementRef.current&&this._menuElementRef.current.contains(e))),this.state={...this.props.action.getState()}}
|
||||
componentDidMount(){this.props.action.onUpdate().subscribe(this,this._updateState),this.state.subItems.length&&(this._unsubscribe=this._registerSubmenu()),this.props.reference&&(this._itemRef=this.props.reference.current)}componentDidUpdate(e,t){t.loading!==this.state.loading&&this.props.onRequestUpdate?.(),0===t.subItems.length&&this.state.subItems.length>0&&(this._unsubscribe=this._registerSubmenu()),t.subItems.length>0&&0===this.state.subItems.length&&this._unsubscribe?.(),t.subItems!==this.state.subItems&&null!==this._menuRef&&this._menuRef.update()}componentWillUnmount(){this.props.action.onUpdate().unsubscribe(this,this._updateState),this._unsubscribe&&this._unsubscribe()}render(){const e=this.context?.current?this.context.current===this.props.action.id:this.props.isSubMenuOpened;return this.state.loading?o.createElement(v,{size:this.state.size}):o.createElement(b,{...(0,i.filterDataProps)(this.props),theme:this.props.theme,ref:this.props.reference??this._setItemRef,onClick:this._handleClick,onClickToolbox:this._handleClickToolbox,onMouseOver:this._handleItemMouseOver,hovered:e,hasSubItems:this._hasSubItems(),actionName:this.state.name,checkboxInput:this.props.checkboxInput,selected:this.props.selected,className:this.props.className,...this.state},o.createElement(y.ContextMenu,{isOpened:e,items:this.state.subItems,position:this._calcSubMenuPos,menuStatName:this.props.menuStatName,parentStatName:this._getStatName(),menuElementReference:this._menuElementRef,onMouseOver:this.state.subItems.length?this._handleMenuMouseOver:void 0,ref:this._handleMenuRef}))}_setCurrentContextValue(){this.state.subItems.length&&this.context?.setCurrent(this.props.action.id)}_hasSubItems(){return this.state.subItems.length>0}_trackEvent(){const e=this._getStatName();(0,w.trackEvent)("ContextMenuClick",this.props.menuStatName||"",e)}_getStatName(){return[this.props.parentStatName,this.state.statName].filter((e=>Boolean(e))).join(".")}}x.contextType=r.SubmenuContext},27156:(e,t,n)=>{"use strict";n.d(t,{ContextMenuItem:()=>y,DEFAUL_CONTEXT_MENU_ITEM_THEME:()=>f});var o=n(79474),s=n(14487),i=n(71236),r=n(16905),a=n(45958),l=n(25030),c=n(57058),h=n(62466),d=n(39720),u=n(25740),v=n(40197),m=n(32509),p=n(95633),g=n(51894),b=n(70995);const f=b,w=(0,r.isFeaturesetEnabled)("items_favoriting");class y extends o.PureComponent{constructor(){super(...arguments),this._handleMouseOver=e=>{(0,l.isTouchEvent)(e.nativeEvent)||this.props.onMouseOver&&this.props.onMouseOver()},this._handleClickToolbox=e=>{e.stopPropagation(),this.props.onClickToolbox&&this.props.onClickToolbox()}}render(){const{hasSubItems:e,shortcutHint:t,hint:n,invisibleHotkey:i,favourite:r,theme:l=b,size:c="normal",onKeyDown:u,label:m,jsxLabel:p,styledLabel:f}=this.props,y=this.props.checkable&&this.props.checkboxInput?"label":"div";return o.createElement(o.Fragment,null,o.createElement("tr",{...(0,v.filterDataProps)(this.props),...(0,v.filterAriaProps)(this.props),id:this.props.id,
|
||||
className:s(this.props.className,l.item,!this.props.noInteractive&&l.interactive,this.props.hovered&&l.hovered,this.props.disabled&&l.disabled,this.props.active&&l.active,this.props.selected&&l.selected,l[c]),onClick:this.props.onClick,onMouseOver:this._handleMouseOver,ref:this.props.reference,"data-action-name":this.props.actionName,tabIndex:this.props.tabIndex,onKeyDown:u},w&&void 0!==r&&o.createElement("td",{className:l.favoriteActionCell},o.createElement(h.FavoriteButton,{id:`${this.props.id}-favorite`,className:l.favourite,isFilled:r,onClick:this.props.onFavouriteClick,"data-role":"list-item-action"})),o.createElement("td",{className:s(l.iconCell),"data-icon-cell":!0},this._icon(l)),o.createElement("td",{className:l.contentCell},o.createElement(y,{className:l.content},o.createElement("span",{className:s(l.label,this.props.checked&&l.checked),"data-label":!0},!p&&f?f.map((({text:e,...t},n)=>o.createElement("span",{key:n,style:t},e))):p??m),this._toolbox(l),e&&o.createElement("span",{className:l.arrowIcon,dangerouslySetInnerHTML:{__html:g},"data-submenu-arrow":!0}),!e&&t&&!a.CheckMobile.any()&&o.createElement(d.Hint,{className:s(i&&l.invisibleHotkey),text:t}),!e&&!t&&n&&o.createElement(d.Hint,{text:n})))),o.createElement("tr",{className:l.subMenu},o.createElement("td",null,this.props.children)))}_icon(e){if(this.props.checkable){if(this.props.checkboxInput)return o.createElement(i.CheckboxInput,{className:s(e.checkboxInput),checked:!!this.props.checked});if(this.props.checked){const t=!this.props.icon&&!this.props.iconChecked,n=this.props.iconChecked||this.props.icon||p;return o.createElement("span",{className:e.icon,dangerouslySetInnerHTML:{__html:n},"data-icon-checkmark":t})}return this.props.icon?o.createElement("span",{className:e.icon,dangerouslySetInnerHTML:{__html:this.props.icon}}):o.createElement("span",{className:e.icon})}return this.props.icon?o.createElement("span",{className:e.icon,dangerouslySetInnerHTML:{__html:this.props.icon}}):null}_toolbox(e){return this.props.toolbox?o.createElement("span",{className:s(e.toolbox,this.props.showToolboxOnHover&&e.showToolboxOnHover),onClick:this._handleClickToolbox,"data-toolbox":!0},this._renderToolboxContent()):null}_renderToolboxContent(){return this.props.toolbox&&this.props.toolbox.type===u.ToolboxType.Delete?o.createElement(c.RemoveButton,{icon:m,onClick:this.props.toolbox.action}):null}}},17656:(e,t,n)=>{"use strict";n.d(t,{ContextMenu:()=>C,OverlapContextMenu:()=>k});var o=n(79474),s=n(14487),i=n.n(s),r=n(43514),a=n(86738),l=n(61726);class c extends o.PureComponent{constructor(){super(...arguments),this._handleKeyDown=e=>{e.keyCode===this.props.keyCode&&this.props.handler(e)}}componentDidMount(){document.addEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}componentWillUnmount(){document.removeEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)}render(){return null}}var h=n(13769),d=n(17896),u=n(54466),v=n(49445);function m(e){return o.createElement("li",{className:v.separator})}var p=n(69780),g=n(77690),b=n(11463)
|
||||
;function f(e){const t=e.action.custom()??e.action,[n,s]=(0,o.useState)((()=>t.getState())),[i,r]=(0,o.useState)(!1),a=!!n.subItems.length,l=a&&i;return(0,o.useEffect)((()=>{const e=()=>s(t.getState());return t.onUpdate().subscribe(null,e),()=>{t.onUpdate().unsubscribe(null,e)}}),[]),o.createElement(p.ContextMenuItem,{...n,onClick:function(e){if(n.disabled||e.defaultPrevented)return;if(a)return void r(!0);n.doNotCloseOnClick||(0,b.globalCloseMenu)();t.execute()},isLoading:n.loading,isHovered:l},l&&o.createElement(g.Drawer,{onClose:c},o.createElement(x,{items:n.subItems,parentAction:t,closeNested:c})));function c(e){e&&e.preventDefault(),r(!1)}}var w=n(19245),y=n(34550);function x(e){const{items:t,parentAction:n,closeNested:s}=e,i=!Boolean(n)&&t.every((e=>!Boolean("separator"!==e.type&&(e.getState().icon||e.getState().checkable))));return o.createElement(w.EmptyIconsContext.Provider,{value:i},o.createElement("ul",null,n&&o.createElement(o.Fragment,null,o.createElement(p.ContextMenuItem,{label:n.getState().label,isTitle:!0,active:!1,disabled:!1,subItems:[],checkable:!1,checked:!1,doNotCloseOnClick:!1,icon:y,onClick:s}),o.createElement(m,null)),t.map((e=>{switch(e.type){case"action":return o.createElement(f,{key:e.id,action:e});case"separator":return o.createElement(m,{key:e.id})}}))))}const S=o.createContext(null);var _=n(60714),E=n(34235);class C extends o.PureComponent{constructor(e){super(e),this._menuRef=o.createRef(),this._handleRequestUpdate=()=>{this.update()},this._handleClose=()=>{this.props.onClose&&this.props.onClose()},this._handleOutsideClickClose=e=>{const{doNotCloseOn:t,onClose:n}=this.props;!n||void 0!==t&&t.contains(e.target)||n()},this._handleFocusOnOpen=()=>{this.props.menuElementReference?.current&&this.props.takeFocus&&this.props.menuElementReference?.current.focus({preventScroll:!0})},this._handleFocus=e=>{this.props.isKeyboardEvent&&e.target&&(0,_.focusFirstMenuItem)(e.target)},this.state={}}render(){const{isOpened:e,onClose:t,items:n,doNotCloseOn:s,menuStatName:r,parentStatName:v,takeFocus:m,...p}=this.props;return e&&n.length>0?o.createElement(d.DrawerManager,null,o.createElement(c,{keyCode:27,eventType:"keyup",handler:this._handleClose}),o.createElement(u.MatchMedia,{rule:"(max-width: 440px)"},(t=>this._isDrawer(t)?o.createElement(S.Provider,{value:{type:"drawer"}},o.createElement(g.Drawer,{onClose:this._handleClose,position:"Bottom","data-name":p["data-name"]},o.createElement(x,{items:n}))):o.createElement(S.Provider,{value:{type:"menu"}},o.createElement(l.OutsideEvent,{handler:this._handleOutsideClickClose,mouseDown:!0,touchStart:!0,reference:this.props.menuElementReference},(t=>o.createElement(a.Menu,{...p,reference:t,className:i()(E.menu,"context-menu"),onClose:this._handleClose,noMomentumBasedScroll:!0,ref:this._menuRef,tabIndex:m?-1:void 0,onOpen:this._handleFocusOnOpen,onFocus:this._handleFocus,onKeyDown:_.handleAccessibleMenuKeyDown},o.createElement(h.ActionsTable,{items:n,menuStatName:r,parentStatName:v,parentIsOpened:e,onRequestUpdate:this._handleRequestUpdate})))))))):null}update(){
|
||||
this._menuRef.current&&this._menuRef.current.update(),this.props.isKeyboardEvent&&this.props.menuElementReference?.current&&document.activeElement===this.props.menuElementReference.current&&(0,_.focusFirstMenuItem)(this.props.menuElementReference.current)}_isDrawer(e){return void 0===this.props.mode?e:"drawer"===this.props.mode}}const k=(0,r.makeOverlapable)(C)},25740:(e,t,n)=>{"use strict";var o;n.d(t,{ToolboxType:()=>o}),function(e){e[e.Delete=0]="Delete"}(o||(o={}))},39720:(e,t,n)=>{"use strict";n.d(t,{Hint:()=>a});var o=n(79474),s=n(14487),i=n.n(s),r=n(70995);function a(e){const{text:t="",className:n}=e;return o.createElement("span",{className:i()(r.shortcut,n)},t)}},69780:(e,t,n)=>{"use strict";n.d(t,{ContextMenuItem:()=>m});var o=n(79474),s=n(14487),i=n.n(s),r=n(66334),a=n(61597),l=n(19245),c=n(39720),h=n(38056),d=n(80596),u=n(32509),v=n(26001);function m(e){const{className:t,isTitle:n,isLoading:s,isHovered:m,active:p,checkable:g,disabled:b,checked:f,icon:w,iconChecked:y,hint:x,subItems:S,label:_,styledLabel:E,onClick:C,children:k,toolbox:M,jsxLabel:I,size:T="normal"}=e,A=(0,o.useContext)(l.EmptyIconsContext),D=!!S.length;return s?o.createElement("li",{className:i()(t,v.item,v.loading,v[T])},o.createElement(a.Loader,null)):o.createElement("li",{className:i()(t,v.item,v.interactive,n&&v.title,b&&v.disabled,m&&v.hovered,p&&v.active,A&&v.emptyIcons,v[T]),onClick:C},o.createElement(r.Icon,{className:i()(v.icon),icon:function(){if(g&&f)return y||w||h;return w}()}),o.createElement("span",{className:i()(v.label)},!I&&E?E.map((({text:e,...t},n)=>o.createElement("span",{key:n,style:t},e))):I??_),!!M&&o.createElement(r.Icon,{onClick:function(){M&&M.action()},className:v.remove,icon:u}),!D&&x&&o.createElement(c.Hint,{className:v.shortcut,text:x}),D&&o.createElement(r.Icon,{className:v.nested,icon:d}),k)}},19245:(e,t,n)=>{"use strict";n.d(t,{EmptyIconsContext:()=>o});const o=n(79474).createContext(!1)},17896:(e,t,n)=>{"use strict";n.d(t,{DrawerContext:()=>r,DrawerManager:()=>i});var o=n(79474),s=n(11288);class i extends o.PureComponent{constructor(e){super(e),this._isBodyFixed=!1,this._addDrawer=e=>{this.setState((t=>({stack:[...t.stack,e]})))},this._removeDrawer=e=>{this.setState((t=>({stack:t.stack.filter((t=>t!==e))})))},this.state={stack:[]}}componentDidUpdate(e,t){!t.stack.length&&this.state.stack.length&&((0,s.setFixedBodyState)(!0),this._isBodyFixed=!0),t.stack.length&&!this.state.stack.length&&this._isBodyFixed&&((0,s.setFixedBodyState)(!1),this._isBodyFixed=!1)}componentWillUnmount(){this.state.stack.length&&this._isBodyFixed&&(0,s.setFixedBodyState)(!1)}render(){return o.createElement(r.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.stack.length?this.state.stack[this.state.stack.length-1]:null}},this.props.children)}}const r=o.createContext(null)},77690:(e,t,n)=>{"use strict";n.d(t,{Drawer:()=>v});var o=n(79474),s=n(85842),i=n(14487),r=n(47166),a=n(64888),l=n(17896),c=n(11508),h=n(75026),d=n(80163);var u;function v(e){
|
||||
const{position:t="Bottom",onClose:n,children:h,reference:u,className:v,theme:p=d}=e,g=(0,s.ensureNotNull)((0,o.useContext)(l.DrawerContext)),[b]=(0,o.useState)((()=>(0,r.randomHash)())),f=(0,o.useRef)(null),w=(0,o.useContext)(c.CloseDelegateContext);return(0,o.useLayoutEffect)((()=>((0,s.ensureNotNull)(f.current).focus({preventScroll:!0}),w.subscribe(g,n),g.addDrawer(b),()=>{g.removeDrawer(b),w.unsubscribe(g,n)})),[]),o.createElement(a.Portal,null,o.createElement("div",{ref:u,className:i(d.wrap,d[`position${t}`])},b===g.currentDrawer&&o.createElement("div",{className:d.backdrop,onClick:n}),o.createElement(m,{className:i(p.drawer,d[`position${t}`],v),ref:f,"data-name":e["data-name"],"data-qa-id":e["data-qa-id"]},h)))}!function(e){e.Left="Left",e.Bottom="Bottom"}(u||(u={}));const m=(0,o.forwardRef)(((e,t)=>{const{className:n,...s}=e;return o.createElement(h.TouchScrollContainer,{className:i(d.drawer,n),tabIndex:-1,ref:t,...s})}))},54466:(e,t,n)=>{"use strict";n.d(t,{MatchMedia:()=>s});var o=n(79474);class s extends o.PureComponent{constructor(e){super(e),this._handleChange=()=>{this.forceUpdate()},this.state={query:window.matchMedia(this.props.rule)}}componentDidMount(){this._subscribe(this.state.query)}componentDidUpdate(e,t){this.state.query!==t.query&&(this._unsubscribe(t.query),this._subscribe(this.state.query))}componentWillUnmount(){this._unsubscribe(this.state.query)}render(){return this.props.children(this.state.query.matches)}static getDerivedStateFromProps(e,t){return e.rule!==t.query.media?{query:window.matchMedia(e.rule)}:null}_subscribe(e){e.addEventListener("change",this._handleChange)}_unsubscribe(e){e.removeEventListener("change",this._handleChange)}}},98124:(e,t,n)=>{"use strict";n.d(t,{MenuContext:()=>o});const o=n(79474).createContext(null)},86738:(e,t,n)=>{"use strict";n.d(t,{DEFAULT_MENU_THEME:()=>g,Menu:()=>f});var o=n(79474),s=n(14487),i=n.n(s),r=n(85842),a=n(85728),l=n(63484),c=n(16780),h=n(11463),d=n(46765),u=n(19960),v=n(78972),m=n(98124),p=n(12139);const g=p;var b;!function(e){e[e.IndentFromWindow=0]="IndentFromWindow"}(b||(b={}));class f extends o.PureComponent{constructor(e){super(e),this._containerRef=null,this._scrollWrapRef=null,this._raf=null,this._scrollRaf=null,this._scrollTimeout=void 0,this._manager=new d.OverlapManager,this._hotkeys=null,this._scroll=0,this._handleContainerRef=e=>{this._containerRef=e,this.props.reference&&("function"==typeof this.props.reference&&this.props.reference(e),"object"==typeof this.props.reference&&(this.props.reference.current=e))},this._handleScrollWrapRef=e=>{this._scrollWrapRef=e,"function"==typeof this.props.scrollWrapReference&&this.props.scrollWrapReference(e),"object"==typeof this.props.scrollWrapReference&&(this.props.scrollWrapReference.current=e)},this._handleCustomRemeasureDelegate=()=>{this._resizeForced(),this._handleMeasure()},this._handleMeasure=({callback:e,forceRecalcPosition:t}={})=>{if(this.state.isMeasureValid&&!t)return;const{position:n}=this.props,o=(0,r.ensureNotNull)(this._containerRef);let s=o.getBoundingClientRect()
|
||||
;const i=document.documentElement.clientHeight,l=document.documentElement.clientWidth,c=this.props.closeOnScrollOutsideOffset??0;let h=i-0-c;const d=s.height>h;if(d){(0,r.ensureNotNull)(this._scrollWrapRef).style.overflowY="scroll",s=o.getBoundingClientRect()}const{width:u,height:v}=s,m="function"==typeof n?n({contentWidth:u,contentHeight:v,availableWidth:l,availableHeight:i}):n,p=m?.indentFromWindow?.left??0,g=l-(m.overrideWidth??u)-(m?.indentFromWindow?.right??0),b=(0,a.clamp)(m.x,p,Math.max(p,g)),f=(m?.indentFromWindow?.top??0)+c,w=i-(m.overrideHeight??v)-(m?.indentFromWindow?.bottom??0);let y=(0,a.clamp)(m.y,f,Math.max(f,w));if(m.forbidCorrectYCoord&&y<m.y&&(h-=m.y-y,y=m.y),t&&void 0!==this.props.closeOnScrollOutsideOffset&&m.y<=this.props.closeOnScrollOutsideOffset)return void this._handleGlobalClose(!0);const x=m.overrideHeight??(d?h:void 0);this.setState({appearingMenuHeight:t?this.state.appearingMenuHeight:x,appearingMenuWidth:t?this.state.appearingMenuWidth:m.overrideWidth,appearingPosition:{x:b,y},isMeasureValid:!0},(()=>{this.props.doNotRestorePosition||this._restoreScrollPosition(),e&&e()}))},this._restoreScrollPosition=()=>{const e=document.activeElement,t=(0,r.ensureNotNull)(this._containerRef);if(null!==e&&t.contains(e))try{e.scrollIntoView()}catch(e){}else(0,r.ensureNotNull)(this._scrollWrapRef).scrollTop=this._scroll},this._resizeForced=()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0})},this._resize=()=>{null===this._raf&&(this._raf=requestAnimationFrame((()=>{this.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),this._raf=null})))},this._handleGlobalClose=e=>{this.props.onClose(e)},this._handleSlot=e=>{this._manager.setContainer(e)},this._handleScroll=()=>{this._scroll=(0,r.ensureNotNull)(this._scrollWrapRef).scrollTop},this._handleScrollOutsideEnd=()=>{clearTimeout(this._scrollTimeout),this._scrollTimeout=setTimeout((()=>{this._handleMeasure({forceRecalcPosition:!0})}),80)},this._handleScrollOutside=e=>{e.target!==this._scrollWrapRef&&(this._handleScrollOutsideEnd(),null===this._scrollRaf&&(this._scrollRaf=requestAnimationFrame((()=>{this._handleMeasure({forceRecalcPosition:!0}),this._scrollRaf=null}))))},this.state={}}componentDidMount(){this._handleMeasure({callback:this.props.onOpen});const{customCloseDelegate:e=h.globalCloseDelegate,customRemeasureDelegate:t}=this.props;e.subscribe(this,this._handleGlobalClose),t?.subscribe(null,this._handleCustomRemeasureDelegate),window.addEventListener("resize",this._resize);const n=null!==this.context;this._hotkeys||n||(this._hotkeys=u.createGroup({desc:"Popup menu"}),this._hotkeys.add({desc:"Close",hotkey:27,handler:()=>{this.props.onKeyboardClose&&this.props.onKeyboardClose(),this._handleGlobalClose()}})),this.props.repositionOnScroll&&window.addEventListener("scroll",this._handleScrollOutside,{capture:!0})}componentDidUpdate(){this._handleMeasure()}componentWillUnmount(){
|
||||
const{customCloseDelegate:e=h.globalCloseDelegate,customRemeasureDelegate:t}=this.props;e.unsubscribe(this,this._handleGlobalClose),t?.unsubscribe(null,this._handleCustomRemeasureDelegate),window.removeEventListener("resize",this._resize),window.removeEventListener("scroll",this._handleScrollOutside,{capture:!0}),this._hotkeys&&(this._hotkeys.destroy(),this._hotkeys=null),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),null!==this._scrollRaf&&(cancelAnimationFrame(this._scrollRaf),this._scrollRaf=null),this._scrollTimeout&&clearTimeout(this._scrollTimeout)}render(){const{id:e,role:t,"aria-label":n,"aria-labelledby":s,"aria-activedescendant":r,"aria-hidden":a,"aria-describedby":h,"aria-invalid":d,children:u,minWidth:g,theme:b=p,className:f,maxHeight:y,onMouseOver:x,onMouseOut:S,onKeyDown:_,onFocus:E,onBlur:C}=this.props,{appearingMenuHeight:k,appearingMenuWidth:M,appearingPosition:I,isMeasureValid:T}=this.state,A={"--ui-kit-menu-max-width":`${I&&I.x}px`,maxWidth:"calc(100vw - var(--ui-kit-menu-max-width) - 6px)"};return o.createElement(m.MenuContext.Provider,{value:this},o.createElement(v.SubmenuHandler,null,o.createElement(c.SlotContext.Provider,{value:this._manager},o.createElement("div",{id:e,role:t,"aria-label":n,"aria-labelledby":s,"aria-activedescendant":r,"aria-hidden":a,"aria-describedby":h,"aria-invalid":d,className:i()(f,b.menuWrap,!T&&b.isMeasuring),style:{height:k,left:I&&I.x,minWidth:g,position:"fixed",top:I&&I.y,width:M,...this.props.limitMaxWidth&&A},"data-name":this.props["data-name"],"data-qa-id":this.props.dataQaId,"data-tooltip-show-on-focus":this.props["data-tooltip-show-on-focus"],ref:this._handleContainerRef,onScrollCapture:this.props.onScroll,onContextMenu:l.preventDefaultForContextMenu,tabIndex:this.props.tabIndex,onMouseOver:x,onMouseOut:S,onKeyDown:_,onFocus:E,onBlur:C},o.createElement("div",{className:i()(b.scrollWrap,!this.props.noMomentumBasedScroll&&b.momentumBased),style:{overflowY:void 0!==k?"scroll":"auto",maxHeight:y},onScrollCapture:this._handleScroll,ref:this._handleScrollWrapRef},o.createElement(w,{className:b.menuBox},u)))),o.createElement(c.Slot,{reference:this._handleSlot})))}update(e){e?this._resizeForced():this._resize()}focus(e){this._containerRef?.focus(e)}blur(){this._containerRef?.blur()}}function w(e){const t=(0,r.ensureNotNull)((0,o.useContext)(v.SubmenuContext)),n=o.useRef(null);return o.createElement("div",{ref:n,className:e.className,onMouseOver:function(e){if(!(null!==t.current&&e.target instanceof Node&&(o=e.target,n.current?.contains(o))))return;var o;t.isSubmenuNode(e.target)||t.setCurrent(null)},"data-qa-id":"menu-inner"},e.children)}f.contextType=v.SubmenuContext},11508:(e,t,n)=>{"use strict";n.d(t,{CloseDelegateContext:()=>i});var o=n(79474),s=n(11463);const i=o.createContext(s.globalCloseDelegate)},64888:(e,t,n)=>{"use strict";n.d(t,{Portal:()=>o.Portal,PortalContext:()=>o.PortalContext});var o=n(52885)},57058:(e,t,n)=>{"use strict";n.d(t,{RemoveButton:()=>d})
|
||||
;var o=n(91599),s=n(79474),i=n(14487),r=n.n(i),a=n(66334),l=n(28390),c=n(6693),h=n(36779);function d(e){const{className:t,isActive:i,onClick:d,onMouseDown:u,title:v,hidden:m,"data-name":p="remove-button",icon:g,...b}=e,[f,w]=(0,l.useActiveDescendant)(null);return s.createElement(a.Icon,{...b,"data-name":p,className:r()(h.button,"apply-common-tooltip",i&&h.active,m&&h.hidden,w&&h.focused,t),icon:g||c,onClick:d,onMouseDown:u,title:v??o.t(null,void 0,n(91126)),ariaLabel:v??o.t(null,void 0,n(91126)),ref:f})}},16780:(e,t,n)=>{"use strict";n.d(t,{Slot:()=>o.Slot,SlotContext:()=>o.SlotContext});var o=n(99286)},75026:(e,t,n)=>{"use strict";n.d(t,{TouchScrollContainer:()=>c});var o=n(79474),s=n(53336),i=n(85842),r=n(45958);const a=CSS.supports("overscroll-behavior","none");let l=0;const c=(0,o.forwardRef)(((e,t)=>{const{children:n,...i}=e,c=(0,o.useRef)(null);return(0,o.useImperativeHandle)(t,(()=>c.current)),(0,o.useLayoutEffect)((()=>{if(r.CheckMobile.iOS())return l++,null!==c.current&&(a?1===l&&(document.body.style.overscrollBehavior="none"):(0,s.disableBodyScroll)(c.current,{allowTouchMove:h(c)})),()=>{l--,null!==c.current&&(a?0===l&&(document.body.style.overscrollBehavior=""):(0,s.enableBodyScroll)(c.current))}}),[]),o.createElement("div",{ref:c,...i},n)}));function h(e){return t=>{const n=(0,i.ensureNotNull)(e.current),o=document.activeElement;return!n.contains(t)||null!==o&&n.contains(o)&&o.contains(t)}}},73283:(e,t,n)=>{"use strict";function o(e,t,n={}){return Object.assign({},e,function(e,t,n={}){const o=Object.assign({},t);for(const s of Object.keys(t)){const i=n[s]||s;i in e&&(o[s]=[e[i],t[s]].join(" "))}return o}(e,t,n))}n.d(t,{mergeThemes:()=>o})},87918:(e,t,n)=>{"use strict";var o;function s(e){e.dispatchEvent(new CustomEvent("roving-tabindex:main-element"))}function i(e){e.dispatchEvent(new CustomEvent("roving-tabindex:secondary-element"))}n.d(t,{becomeMainElement:()=>s,becomeSecondaryElement:()=>i}),function(e){e.MainElement="roving-tabindex:main-element",e.SecondaryElement="roving-tabindex:secondary-element"}(o||(o={}))},13769:(e,t,n)=>{"use strict";n.d(t,{ActionsTable:()=>a});var o=n(79474),s=n(55461);function i(e){return o.createElement("tr",{className:s.row},o.createElement("td",null,o.createElement("div",{className:s.line})),o.createElement("td",null,o.createElement("div",{className:s.line}),e.hint?o.createElement("div",{className:s.hint},e.hint):null))}var r=n(62369);class a extends o.PureComponent{constructor(e){super(e),this._handleShowSubMenu=e=>{const t=e.getState();this.setState({showSubMenuOf:t.subItems.length?e:void 0})},this.state={}}render(){return o.createElement("table",null,o.createElement("tbody",null,this.props.items.map((e=>this._item(e)))))}static getDerivedStateFromProps(e,t){return!e.parentIsOpened&&t.showSubMenuOf?{showSubMenuOf:void 0}:null}_item(e){switch(e.type){case"separator":return o.createElement(i,{key:e.id,hint:e.getHint()});case"action":const t=e.custom()??e;return o.createElement(r.ContextMenuAction,{key:t.id,action:t,onShowSubMenu:this._handleShowSubMenu,
|
||||
isSubMenuOpened:this.state.showSubMenuOf===t,menuStatName:this.props.menuStatName,parentStatName:this.props.parentStatName,onRequestUpdate:this.props.onRequestUpdate})}}}},36219:(e,t,n)=>{"use strict";n.d(t,{shouldShowFullscreen:()=>s});var o=n(16905);function s(){return(0,o.isFeaturesetEnabled)("header_fullscreen_button")}},27418:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SERIES_ICONS:()=>g});var o=n(86864),s=n(67545),i=n(237),r=n(38716),a=n(37616),l=n(507),c=n(81923),h=n(20340),d=n(65635),u=n(43402),v=n(42051),m=n(15480),p=n(43167);const g={3:s,16:i,0:r,1:a,8:l,9:c,2:h,14:d,15:u,10:v,12:m,13:p};g[21]=o},95398:(e,t,n)=>{"use strict";function o(e){return e.charAt(0).toUpperCase()+e.substring(1)}n.d(t,{capitalizeFirstLetter:()=>o})},32509:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M12 4h3v1h-1.04l-.88 9.64a1.5 1.5 0 0 1-1.5 1.36H6.42a1.5 1.5 0 0 1-1.5-1.36L4.05 5H3V4h3v-.5C6 2.67 6.67 2 7.5 2h3c.83 0 1.5.67 1.5 1.5V4ZM7.5 3a.5.5 0 0 0-.5.5V4h4v-.5a.5.5 0 0 0-.5-.5h-3ZM5.05 5l.87 9.55a.5.5 0 0 0 .5.45h5.17a.5.5 0 0 0 .5-.45L12.94 5h-7.9Z"/></svg>'},95633:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M22 9.06 11 20 6 14.7l1.09-1.02 3.94 4.16L20.94 8 22 9.06Z"/></svg>'},237:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="currentColor"><path d="M22 5h1v1h-1zm-1 2V6h1v1zm-1 1V7h1v1zm-1 1V8h1v1zm-1 1V9h1v1zm-1 1v-1h1v1zm-1 1v-1h1v1zm-1 0h1v1h-1zm-1-1h1v1h-1zm-1-1h1v1h-1zm-1-1h1v1h-1zm-1-1h1v1h-1zm-1 0V7h1v1zM9 9V8h1v1zm-1 1V9h1v1zm-1 1v-1h1v1zm-1 1v-1h1v1zm-1 1v-1h1v1zm0 0v1H4v-1z"/><path d="M23.34 10.37 15.5 17.7l-5-5-5.15 4.67-.68-.74 5.86-5.32 5 5 7.14-6.67zM6 21H5v1h1zm1-1v1H6v-1zm1-1H7v1h1zm1-1v1H8v-1z"/><path d="M10 17H9v1h1zm1 0h-1v-1h1zm1 1h-1v-1h1zm1 1v-1h-1v1zm1 1h-1v-1h1zm1 1v-1h-1v1zm1 0v1h-1v-1zm1-1v1h-1v-1zm1-1v1h-1v-1zm1-1h-1v1h1zm1-1v1h-1v-1zm1-1h-1v1h1zm1-1v1h-1v-1zm1-1h-1v1h1zm0 0h1v-1h-1z"/></svg>'},17070:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 9" width="11" height="9" fill="none"><path stroke="currentColor" stroke-width="2" d="M0.999878 4L3.99988 7L9.99988 1"/></svg>'},34550: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" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16.5 20L11 14.5 16.5 9"/></svg>'},80596:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M8 5l3.5 3.5L8 12"/></svg>'},67545: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="m25.35 5.35-9.5 9.5-.35.36-.35-.36-4.65-4.64-8.15 8.14-.7-.7 8.5-8.5.35-.36.35.36 4.65 4.64 9.15-9.14.7.7ZM2 21h1v1H2v-1Zm2-1H3v1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h-1v-1h1v-1h-1v-1h1v-1h-1v-1h1v-1h-1v-1h1v-1h-1v-1h1v-1h-1v-1h1V9h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v-1h-1v-1h-1v-1h-1v-1h-1v-1h-1v1H9v1H8v1H7v1H6v1H5v1H4v1Zm1 0v1H4v-1h1Zm1 0H5v-1h1v1Zm1 0v1H6v-1h1Zm0-1H6v-1h1v1Zm1 0H7v1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v1h1v-1h1v-1h-1v-1h1v-1h-1v-1h1v-1h-1v-1h1v-1h-1v-1h1v-1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v1h-1v-1h-1v-1h-1v-1h-1v-1h-1v-1h-1v1H9v1H8v1H7v1h1v1Zm1 0v1H8v-1h1Zm0-1H8v-1h1v1Zm1 0H9v1h1v1h1v-1h1v1h1v-1h1v1h1v-1h-1v-1h-1v-1h-1v-1h-1v-1h-1v1H9v1h1v1Zm1 0v1h-1v-1h1Zm0-1v-1h-1v1h1Zm0 0v1h1v1h1v-1h-1v-1h-1Zm6 2v-1h1v1h-1Zm2 0v1h-1v-1h1Zm0-1h-1v-1h1v1Zm1 0h-1v1h1v1h1v-1h1v1h1v-1h-1v-1h1v-1h-1v-1h1v-1h-1v-1h1v-1h-1v1h-1v1h-1v1h-1v1h1v1Zm1 0h-1v1h1v-1Zm0-1h1v1h-1v-1Zm0-1h1v-1h-1v1Zm0 0v1h-1v-1h1Zm-4 3v1h-1v-1h1Z"/></svg>'},38716:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M19 6h-1v7h-3v1h3v8h1v-3h3v-1h-3V6ZM11 7h-1v13H7v1h3v2h1V10h3V9h-3V7Z"/></svg>'},42051:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="m10.49 7.55-.42.7-2.1 3.5.86.5 1.68-2.8 1.8 2.82.84-.54-2.23-3.5-.43-.68Zm12.32 4.72-.84-.54 2.61-4 .84.54-2.61 4Zm-5.3 6.3 1.2-1.84.84.54-1.63 2.5-.43.65-.41-.65-1.6-2.5.85-.54 1.17 1.85ZM4.96 16.75l.86.52-2.4 4-.86-.52 2.4-4ZM3 14v1h1v-1H3Zm2 0h1v1H5v-1Zm2 0v1h1v-1H7Zm2 0h1v1H9v-1Zm2 0v1h1v-1h-1Zm2 0h1v1h-1v-1Zm2 0v1h1v-1h-1Zm2 0h1v1h-1v-1Zm2 0v1h1v-1h-1Zm2 0h1v1h-1v-1Zm2 0v1h1v-1h-1Zm2 0h1v1h-1v-1Z"/></svg>'},37616:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="currentColor"><path d="M17 11v6h3v-6h-3zm-.5-1h4a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-7a.5.5 0 0 1 .5-.5z"/><path d="M18 7h1v3.5h-1zm0 10.5h1V21h-1z"/><path d="M9 8v12h3V8H9zm-.5-1h4a.5.5 0 0 1 .5.5v13a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 .5-.5z"/><path d="M10 4h1v3.5h-1zm0 16.5h1V24h-1z"/></svg>'},95549:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><g fill="none"><path stroke="currentColor" d="M11 20.5H7.5a5 5 0 1 1 .42-9.98 7.5 7.5 0 0 1 14.57 2.1 4 4 0 0 1-1 7.877H18"/><path stroke="currentColor" d="M14.5 24V12.5M11 16l3.5-3.5L18 16"/></g></svg>'},43167: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="M12 7v14h5V7h-5Zm4 1h-3v12h3V8ZM19 15v6h5v-6h-5Zm4 1h-3v4h3v-4ZM5 12h5v9H5v-9Zm1 1h3v7H6v-7Z"/></svg>'},65695:e=>{
|
||||
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M13.5 6a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM4 14.5a9.5 9.5 0 1 1 19 0 9.5 9.5 0 0 1-19 0z"/><path fill="currentColor" d="M9 14h4v-4h1v4h4v1h-4v4h-1v-4H9v-1z"/></svg>'},38857:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill="currentColor"><path d="M21 7v4h1V6h-5v1z"/><path d="M16.854 11.854l5-5-.708-.708-5 5zM7 7v4H6V6h5v1z"/><path d="M11.146 11.854l-5-5 .708-.708 5 5zM21 21v-4h1v5h-5v-1z"/><path d="M16.854 16.146l5 5-.708.708-5-5z"/><g><path d="M7 21v-4H6v5h5v-1z"/><path d="M11.146 16.146l-5 5 .708.708 5-5z"/></g></g></svg>'},507:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="currentColor"><path d="M9 8v12h3V8H9zm-1-.502C8 7.223 8.215 7 8.498 7h4.004c.275 0 .498.22.498.498v13.004a.493.493 0 0 1-.498.498H8.498A.496.496 0 0 1 8 20.502V7.498z"/><path d="M10 4h1v3.5h-1z"/><path d="M17 6v6h3V6h-3zm-1-.5c0-.276.215-.5.498-.5h4.004c.275 0 .498.23.498.5v7c0 .276-.215.5-.498.5h-4.004a.503.503 0 0 1-.498-.5v-7z"/><path d="M18 2h1v3.5h-1z"/></svg>'},15480:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M7.5 7H7v14h5V7H7.5zM8 20V8h3v12H8zm7.5-11H15v10h5V9h-4.5zm.5 9v-8h3v8h-3z"/></svg>'},86864:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M19 6h-1v7v9h1v-3h3v-1h-3V6ZM11 7h-1v16h1V10h3V9h-3V7Z"/></svg>'},81923:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="currentColor"><path d="M17 11v6h3v-6h-3zm-.5-1h4a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-7a.5.5 0 0 1 .5-.5z"/><path d="M18 7h1v3.5h-1zm0 10.5h1V21h-1z"/><path d="M9 8v11h3V8H9zm-.5-1h4a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-12a.5.5 0 0 1 .5-.5z"/><path d="M10 4h1v5h-1zm0 14h1v5h-1zM8.5 9H10v1H8.5zM11 9h1.5v1H11zm-1 1h1v1h-1zm-1.5 1H10v1H8.5zm2.5 0h1.5v1H11zm-1 1h1v1h-1zm-1.5 1H10v1H8.5zm2.5 0h1.5v1H11zm-1 1h1v1h-1zm-1.5 1H10v1H8.5zm2.5 0h1.5v1H11zm-1 1h1v1h-1zm-1.5 1H10v1H8.5zm2.5 0h1.5v1H11z"/></svg>'},13784: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="M20 17l-5 5M15 17l5 5M9 11.5h7M17.5 8a2.5 2.5 0 0 0-5 0v11a2.5 2.5 0 0 1-5 0"/></svg>'},77946:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><g fill="none" fill-rule="evenodd" transform="translate(4 5)"><circle stroke="currentColor" cx="9.5" cy="9.5" r="9"/><path stroke="currentColor" d="M7 14.5h2.5v-5H7"/><path stroke="currentColor" stroke-linecap="square" d="M9.5 14.5h2"/><path fill="currentColor" d="M9.5 7a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z"/></g></svg>'},65635:e=>{
|
||||
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="currentColor"><path fill-rule="evenodd" d="m18.43 15.91 6.96-8.6-.78-.62-6.96 8.6a2.49 2.49 0 0 0-2.63.2l-2.21-2.02A2.5 2.5 0 0 0 10.5 10a2.5 2.5 0 1 0 1.73 4.3l2.12 1.92a2.5 2.5 0 1 0 4.08-.31ZM10.5 14a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm7.5 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"/><path d="M8.37 13.8c.17.3.4.54.68.74l-5.67 6.78-.76-.64 5.75-6.88Z"/></svg>'},20340:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="m25.39 7.31-8.83 10.92-6.02-5.47-7.16 8.56-.76-.64 7.82-9.36 6 5.45L24.61 6.7l.78.62Z"/></svg>'},76202:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M18.293 13l-2.647 2.646.707.708 3.854-3.854-3.854-3.854-.707.708L18.293 12H12.5A5.5 5.5 0 0 0 7 17.5V19h1v-1.5a4.5 4.5 0 0 1 4.5-4.5h5.793z"/></svg>'},95986:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.118 6a.5.5 0 0 0-.447.276L9.809 8H5.5A1.5 1.5 0 0 0 4 9.5v10A1.5 1.5 0 0 0 5.5 21h16a1.5 1.5 0 0 0 1.5-1.5v-10A1.5 1.5 0 0 0 21.5 8h-4.309l-.862-1.724A.5.5 0 0 0 15.882 6h-4.764zm-1.342-.17A1.5 1.5 0 0 1 11.118 5h4.764a1.5 1.5 0 0 1 1.342.83L17.809 7H21.5A2.5 2.5 0 0 1 24 9.5v10a2.5 2.5 0 0 1-2.5 2.5h-16A2.5 2.5 0 0 1 3 19.5v-10A2.5 2.5 0 0 1 5.5 7h3.691l.585-1.17z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M13.5 18a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7zm0 1a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9z"/></svg>'},43402:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="currentColor"><path d="M19 5h5v1h-4v13h-6v-7h-4v12H5v-1h4V11h6v7h4V5Z"/></svg>'},99724:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M8.707 13l2.647 2.646-.707.708L6.792 12.5l3.853-3.854.708.708L8.707 12H14.5a5.5 5.5 0 0 1 5.5 5.5V19h-1v-1.5a4.5 4.5 0 0 0-4.5-4.5H8.707z"/></svg>'},38056: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" stroke-linecap="round" stroke-width="1.5" d="M7 15l5 5L23 9"/></svg>'},6693:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><path fill="currentColor" d="M9.707 9l4.647-4.646-.707-.708L9 8.293 4.354 3.646l-.708.708L8.293 9l-4.647 4.646.708.708L9 9.707l4.646 4.647.708-.707L9.707 9z"/></svg>'},30748: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="M5.5 13v-2.5m8.5 11h6.5a2 2 0 0 0 2-2v-9m-17 0v-2c0-1.1.9-2 2-2h13a2 2 0 0 1 2 2v2m-17 0h17"/><path fill="currentColor" d="M10 4h1v4h-1V4zM17 4h1v4h-1V4z"/><path stroke="currentColor" d="M4 18.5h7.5m0 0L8 22m3.5-3.5L8 15"/></svg>'},49606:e=>{
|
||||
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" d="M13.39 3.84a1 1 0 0 1 1.22 0l8.19 6.37a1 1 0 0 1 0 1.58l-8.19 6.37a1 1 0 0 1-1.22 0L5.2 11.79a1 1 0 0 1 0-1.58l8.19-6.37zm.61.8L5.81 11 14 17.37 22.19 11 14 4.63zM5.3 13.6l8.7 6.76 8.7-6.76.6.78-8.69 6.77a1 1 0 0 1-1.22 0l-8.7-6.77.62-.78zm8.09 10.55l-8.7-6.77.62-.78L14 23.37l8.7-6.76.6.78-8.69 6.77a1 1 0 0 1-1.22 0z"/></svg>'}}]);
|
||||
Reference in New Issue
Block a user