7 lines
20 KiB
JavaScript
7 lines
20 KiB
JavaScript
(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[5009],{88227:e=>{e.exports={highlight:"highlight-qXMjeLA3",active:"active-qXMjeLA3"}},86956:e=>{e.exports={dialog:"dialog-uOI0EVoT",contentList:"contentList-uOI0EVoT"}},96746:e=>{e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 428px)"}},63843:e=>{e.exports={container:"container-jjwO7WRQ",list:"list-jjwO7WRQ",overlayScrollWrap:"overlayScrollWrap-jjwO7WRQ",scroll:"scroll-jjwO7WRQ"}},92360:e=>{e.exports={container:"container-PLu464zm",title:"title-PLu464zm"}},28712:e=>{e.exports={container:"container-CcsqUMct",inputContainer:"inputContainer-CcsqUMct",withCancel:"withCancel-CcsqUMct",input:"input-CcsqUMct",icon:"icon-CcsqUMct",cancel:"cancel-CcsqUMct"}},36690:e=>{e.exports={container:"container-cz7bNe0c",labelWrap:"labelWrap-cz7bNe0c",icon:"icon-cz7bNe0c",text:"text-cz7bNe0c"}},30636:e=>{e.exports={sortButton:"sortButton-Ya1Tq1iv",icon:"icon-Ya1Tq1iv"}},16842:e=>{e.exports={favorite:"favorite-JVQQsDQk",disabled:"disabled-JVQQsDQk",active:"active-JVQQsDQk",checked:"checked-JVQQsDQk"}},81524:e=>{e.exports={highlighted:"highlighted-YWUtZHTy"}},23576:e=>{e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-4TFSfyGO",hovered:"hovered-4TFSfyGO",isDisabled:"isDisabled-4TFSfyGO",isActive:"isActive-4TFSfyGO",shortcut:"shortcut-4TFSfyGO",toolbox:"toolbox-4TFSfyGO",withIcon:"withIcon-4TFSfyGO",icon:"icon-4TFSfyGO",labelRow:"labelRow-4TFSfyGO",label:"label-4TFSfyGO",showOnHover:"showOnHover-4TFSfyGO"}},73432:e=>{e.exports={button:"button-SD4Dbbwd",disabled:"disabled-SD4Dbbwd",active:"active-SD4Dbbwd",hidden:"hidden-SD4Dbbwd"}},90186:(e,t,o)=>{"use strict";function n(e){return r(e,a)}function i(e){return r(e,l)}function r(e,t){const o=Object.entries(e).filter(t),n={};for(const[e,t]of o)n[e]=t;return n}function a(e){const[t,o]=e;return 0===t.indexOf("data-")&&"string"==typeof o}function l(e){return 0===e[0].indexOf("aria-")}o.d(t,{filterDataProps:()=>n,filterAriaProps:()=>i,filterProps:()=>r,isDataAttribute:()=>a,isAriaAttribute:()=>l})},40233:(e,t,o)=>{"use strict";o.d(t,{VerticalAttachEdge:()=>n,HorizontalAttachEdge:()=>i,VerticalDropDirection:()=>r,HorizontalDropDirection:()=>a,getPopupPositioner:()=>s});var n,i,r,a,l=o(88537);!function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(n||(n={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(i||(i={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(r||(r={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight",e[e.FromRightToLeft=1]="FromRightToLeft"}(a||(a={}));const c={verticalAttachEdge:n.Bottom,horizontalAttachEdge:i.Left,verticalDropDirection:r.FromTopToBottom,horizontalDropDirection:a.FromLeftToRight,verticalMargin:0,horizontalMargin:0,matchButtonAndListboxWidths:!1};function s(e,t){return(o,s)=>{const d=(0,
|
|
l.ensureNotNull)(e).getBoundingClientRect(),{verticalAttachEdge:u=c.verticalAttachEdge,verticalDropDirection:m=c.verticalDropDirection,horizontalAttachEdge:h=c.horizontalAttachEdge,horizontalDropDirection:f=c.horizontalDropDirection,horizontalMargin:v=c.horizontalMargin,verticalMargin:g=c.verticalMargin,matchButtonAndListboxWidths:p=c.matchButtonAndListboxWidths}=t,b=u===n.Top?-1*g:g,y=h===i.Right?d.right:d.left,C=u===n.Top?d.top:d.bottom,x={x:y-(f===a.FromRightToLeft?o:0)+v,y:C-(m===r.FromBottomToTop?s:0)+b};return p&&(x.overrideWidth=d.width),x}}},9512:(e,t,o)=>{"use strict";o.r(t),o.d(t,{LoadChartDialogRenderer:()=>ne});var n=o(59496),i=o(87995),r=o(88537),a=o(28353),l=o(56840),c=o(49483),s=o(85457),d=o(97754),u=o.n(d),m=o(50628),h=o(40233),f=o(9745),v=o(26659),g=o(46185),p=o(30636);function b(e){const{sortDirection:t,children:o,...i}=e,r=(0,n.useRef)(null),[a,l]=(0,n.useState)(!1);return n.createElement("div",{...i,ref:r,className:d(p.sortButton,"apply-common-tooltip","common-tooltip-vertical"),onClick:function(){l(!a)}},n.createElement(f.Icon,{className:p.icon,icon:0===t?v:g}),n.createElement(m.PopupMenu,{doNotCloseOn:r.current,isOpened:a,onClose:()=>{l(!1)},position:(0,h.getPopupPositioner)(r.current,{verticalMargin:-35,verticalAttachEdge:0})},o))}var y=o(16396),C=o(36690);function x(e){const{label:t,listSortField:o,itemSortField:i,listSortDirection:r,itemSortDirection:a,onClick:l,className:c,...s}=e,u=i===o&&a===r;return n.createElement(y.PopupMenuItem,{...s,className:d(C.container,c),label:n.createElement("div",{className:C.labelWrap},n.createElement(f.Icon,{className:C.icon,icon:0===a?v:g}),n.createElement("span",{className:C.text},t)),isActive:u,onClick:function(){l(i,a)},"data-active":u.toString(),"data-sort-field":i,"data-sort-direction":0===a?"asc":"desc"})}var E=o(69654),w=o(92360);function S(e){const{children:t,className:o}=e;return n.createElement("div",{className:u()(w.container,o)},t)}function D(e){const{title:t}=e;return n.createElement("div",{className:w.title},t)}var k=o(93751);var F=o(69397),M=o(9837),T=o.n(M),N=o(62820),R=o(898),L=o(33127);var O=o(3085),I=o(63843);function A(e){const{className:t,onScroll:o,onTouchStart:i,reference:r,children:a,scrollbar:l,...s}=e,[d,m]=(0,R.useDimensions)(),[h,f,v,g]=(0,L.useOverlayScroll)();return(0,n.useEffect)(()=>{const e=()=>{};return c.isFF?(document.addEventListener("wheel",()=>e),()=>{document.removeEventListener("wheel",e)}):e},[]),n.createElement(T(),{onMeasure:d},n.createElement("div",{..."overlay"===l&&f,className:u()(I.container,t),onTouchStart:i,onScrollCapture:o},"overlay"===l&&n.createElement(O.OverlayScrollContainer,{...h,className:I.overlayScrollWrap}),n.createElement(F.FixedSizeList,{ref:r,className:u()("native"===l?I.scroll:I.list),outerRef:"overlay"===l?v:void 0,onItemsRendered:g,layout:"vertical",width:"100%",height:(null==m?void 0:m.height)||0,children:a,direction:(0,N.isRtl)()?"rtl":"ltr",...s})))}var P=o(84015);var z=o(64530),B=o(9315),W=o(50655),H=o(3615);var j=o(1860),Q=o(64806),q=o(24637),_=o(19785),U=o(88227)
|
|
;const V=new j.DateFormatter("dd-MM-yyyy"),G=new Q.TimeFormatter("%h:%m");function K(e){const{chart:t,chartWidgetCollection:o,trackEvent:i,localFavorites:r,onClose:l,searchString:c,onClickRemove:s,onRemoveCanceled:d,isSelected:m}=e,[h,f]=(0,n.useState)(()=>t.active()),[v,g]=(0,n.useState)(!1),p=t.url?function(e){const t=e.chartId?`/chart/${e.chartId}/`:"/chart/",o=new URL(t,location.href);return e.symbol&&o.searchParams.append("symbol",e.symbol),e.interval&&o.searchParams.append("interval",e.interval),e.style&&o.searchParams.append("style",e.style),(0,P.urlWithMobileAppParams)(o.href)}({chartId:t.url}):void 0,b=(0,n.useContext)(W.SlotContext),y=(0,n.useMemo)(()=>new Date(1e3*t.modified),[t]),C=(0,n.useMemo)(()=>(0,_.createRegExpList)(c),[c]),x=u()(U.highlight,h&&U.active);return(0,n.useEffect)(()=>(o&&o.metaInfo.id.subscribe(w),()=>{o&&o.metaInfo.id.unsubscribe(w)}),[]),n.createElement(z.DialogContentItem,{url:p,title:n.createElement(q.HighlightedText,{className:x,queryString:c,rules:C,text:t.title}),subtitle:n.createElement(n.Fragment,null,n.createElement(q.HighlightedText,{className:x,queryString:c,rules:C,text:t.description})," ","(",V.format(y).replace(/-/g,".")," ",G.formatLocal(y),")"),onClick:function(e){0;t.openAction(),!1},onClickFavorite:function(){0;const e={...r};e[t.id]?delete e[t.id]:e[t.id]=!0;t.favoriteAction(e)},onClickRemove:async function(){if(v)return;g(!0);const e=await async function(e){const t=(0,a.t)("Do you really want to delete Chart Layout '{name}' ?",{replace:{name:e.title}});return t}(t);g(!1),function(e,t,o,n){(0,H.showConfirm)({text:e,onConfirm:({dialogClose:e})=>{t(),e()},onClose:()=>{o()}},n)}(e,E,d,b)},isFavorite:Boolean(r[t.id]),isActive:h,isSelected:m,"data-name":"load-chart-dialog-item"});function E(){t.deleteAction().then(()=>s(t.id))}function w(e){f(t.id===e)}}var J=o(59064),$=o(68335);var Y=o(86956);const Z={sortField:"modified",sortDirection:1},X=function(e){const{paddingTop:t=0,paddingBottom:o=0}=e;return(0,n.forwardRef)(({style:e,...i},r)=>{const{height:a=0}=e;return n.createElement("div",{ref:r,style:{...e,height:((0,k.isNumber)(a)?a:parseFloat(a))+t+o+"px"},...i})})}({paddingBottom:6});function ee(e){let t;try{t=(0,B.getTranslatedResolution)(e)}catch(o){t=e}return t}function te(e){const{charts:t,onClose:o,favoriteChartsService:i,chartWidgetCollection:d}=e,[u,m]=(0,n.useState)(""),[h,f]=(0,n.useState)(u),[v,g]=(0,n.useState)([]),p=(0,n.useRef)(null),[y,C]=(0,n.useState)(()=>i.get()),[w,k]=(0,n.useState)(()=>l.getJSON("loadChartDialog.viewState",Z)),F=(0,n.useRef)(null),M=(0,n.useRef)(null),T=(0,n.useMemo)(()=>t.map(e=>({...e,description:`${e.symbol}, ${ee(e.interval)}`})),[t]);(0,n.useEffect)(()=>{c.CheckMobile.any()||(0,r.ensureNotNull)(F.current).focus()},[]);const N=(0,n.useRef)();(0,n.useEffect)(()=>(N.current=setTimeout(()=>{m(h)},300),()=>{clearTimeout(N.current)}),[h]),(0,n.useEffect)(()=>(i.getOnChange().subscribe(null,j),()=>{i.getOnChange().unsubscribe(null,j)}),[]);const R=(0,n.useCallback)(()=>!0,[]),L=(0,n.useMemo)(()=>{return(0,_.rankedSearch)({
|
|
data:T.filter(e=>!v.includes(e.id)).sort((e=w.sortDirection,(t,o)=>{if(y[t.id]&&!y[o.id])return-1;if(!y[t.id]&&y[o.id])return 1;const n=0===e?1:-1;return"modified"===w.sortField?n*(t.modified-o.modified):n*t.title.localeCompare(o.title)})),rules:(0,_.createRegExpList)(u),queryString:u,primaryKey:"title",secondaryKey:"description"});var e},[u,w,v,y]),{selectedItemIndex:O,setSelectedItemIndex:I,handleKeyboardSelection:P}=function(e,t,o){const[i,r]=(0,n.useState)(-1);return(0,n.useEffect)(()=>{var e;-1!==i&&(null===(e=o.current)||void 0===e||e.scrollToItem(i))},[i]),{selectedItemIndex:i,setSelectedItemIndex:r,handleKeyboardSelection:function(o){switch((0,$.hashFromEvent)(o)){case 40:if(i===e-1)return;r(i+1);break;case 38:if(0===i)return;if(-1===i)return void r(i+1);r(i-1);break;case 13:t(o)}}}}(L.length,(function(e){const t=L[O];if(-1===O||!t)return;0;t.openAction(),!1}),M);return n.createElement(s.AdaptivePopupDialog,{ref:p,onClose:o,onClickOutside:o,onKeyDown:P,isOpened:!0,className:Y.dialog,title:(0,a.t)("Load layout"),dataName:"load-layout-dialog",render:function(){return n.createElement(n.Fragment,null,n.createElement(E.DialogSearch,{reference:F,onChange:B,placeholder:(0,a.t)("Search")}),n.createElement(S,null,n.createElement(D,{title:(0,a.t)("Layout name")}),n.createElement(b,{sortDirection:w.sortDirection,title:(0,a.t)("Sort by layout name, date changed"),"data-name":"load-chart-dialog-sort-button"},n.createElement(x,{label:(0,a.t)("Layout name (A to Z)"),listSortField:w.sortField,itemSortField:"title",listSortDirection:w.sortDirection,itemSortDirection:0,onClick:q,"data-name":"load-chart-dialog-sort-menu-item"}),n.createElement(x,{label:(0,a.t)("Layout name (Z to A)"),listSortField:w.sortField,itemSortField:"title",listSortDirection:w.sortDirection,itemSortDirection:1,onClick:q,"data-name":"load-chart-dialog-sort-menu-item"}),n.createElement(x,{label:(0,a.t)("Date modified (oldest first)"),listSortField:w.sortField,itemSortField:"modified",listSortDirection:w.sortDirection,itemSortDirection:0,onClick:q,"data-name":"load-chart-dialog-sort-menu-item"}),n.createElement(x,{label:(0,a.t)("Date modified (newest first)"),listSortField:w.sortField,itemSortField:"modified",listSortDirection:w.sortDirection,itemSortDirection:1,onClick:q,"data-name":"load-chart-dialog-sort-menu-item"}))),n.createElement(A,{scrollbar:"native",reference:M,itemCount:L.length,itemSize:52,className:Y.contentList,onScroll:z,innerElementType:X,itemKey:e=>(y[L[e].id]?"f_":"")+L[e].id,children:({style:e,index:t})=>n.createElement("div",{style:e},n.createElement(K,{chart:L[t],onClose:o,chartWidgetCollection:d,trackEvent:W,onRemoveCanceled:Q,localFavorites:y,searchString:u,onClickRemove:H,isSelected:t===O}))}))},forceCloseOnEsc:R});function z(){J.globalCloseDelegate.fire()}function B(e){const t=e.currentTarget.value;f(t),I(-1)}function W(e){0}function H(e){g([e,...v])}function j(e){C(e)}function Q(){(0,r.ensureNotNull)(p.current).focus()}function q(e,t){const o={sortField:e,sortDirection:t};k(o),
|
|
l.setValue("loadChartDialog.viewState",JSON.stringify(o),{forceFlush:!0}),W()}}var oe=o(22729);class ne extends oe.DialogRenderer{constructor(e){super(),this._options=e}show(){i.render(n.createElement(te,{...this._options,onClose:()=>this.hide()}),this._container),this._setVisibility(!0)}hide(){i.unmountComponentAtNode(this._container),this._setVisibility(!1)}}},24437:(e,t,o)=>{"use strict";o.d(t,{DialogBreakpoints:()=>i});var n=o(96746);const i={SmallHeight:n["small-height-breakpoint"],TabletSmall:n["tablet-small-breakpoint"],TabletNormal:n["tablet-normal-breakpoint"]}},69654:(e,t,o)=>{"use strict";o.d(t,{DialogSearch:()=>d});var n=o(59496),i=o(97754),r=o.n(i),a=o(28353),l=o(9745),c=o(5639),s=o(28712);function d(e){const{children:t,renderInput:o,onCancel:i,...d}=e;return n.createElement("div",{className:s.container},n.createElement("div",{className:r()(s.inputContainer,i&&s.withCancel)},o||n.createElement(u,{...d})),t,n.createElement(l.Icon,{className:s.icon,icon:c}),i&&n.createElement("div",{className:s.cancel,onClick:i},(0,a.t)("Cancel")))}function u(e){const{className:t,reference:o,value:i,onChange:a,onFocus:l,onBlur:c,onKeyDown:d,onSelect:u,placeholder:m,...h}=e;return n.createElement("input",{...h,ref:o,type:"text",className:r()(t,s.input),autoComplete:"off","data-role":"search",placeholder:m,value:i,onChange:a,onFocus:l,onBlur:c,onSelect:u,onKeyDown:d})}},36189:(e,t,o)=>{"use strict";o.d(t,{FavoriteButton:()=>u});var n=o(28353),i=o(59496),r=o(97754),a=o(9745),l=o(20614),c=o(55783),s=o(16842);const d={add:(0,n.t)("Add to favorites"),remove:(0,n.t)("Remove from favorites")};function u(e){const{className:t,isFilled:o,isActive:n,onClick:u,...m}=e;return i.createElement(a.Icon,{...m,className:r(s.favorite,"apply-common-tooltip",o&&s.checked,n&&s.active,t),icon:o?l:c,onClick:u,title:o?d.remove:d.add})}},19785:(e,t,o)=>{"use strict";o.d(t,{rankedSearch:()=>i,createRegExpList:()=>r,getHighlightedChars:()=>a});var n=o(80643);function i(e){const{data:t,rules:o,queryString:i,isPreventedFromFiltering:r,primaryKey:a,secondaryKey:l=a,optionalPrimaryKey:c}=e;return t.map(e=>{const t=c&&e[c]?e[c]:e[a],r=e[l];let s,d=0;return o.forEach(e=>{var o,a,l,c;const{re:u,fullMatch:m}=e;return u.lastIndex=0,t&&t.toLowerCase()===i.toLowerCase()?(d=3,void(s=null===(o=t.match(m))||void 0===o?void 0:o.index)):(0,n.isString)(t)&&m.test(t)?(d=2,void(s=null===(a=t.match(m))||void 0===a?void 0:a.index)):(0,n.isString)(r)&&m.test(r)?(d=1,void(s=null===(l=r.match(m))||void 0===l?void 0:l.index)):void((0,n.isString)(r)&&u.test(r)&&(d=1,s=null===(c=r.match(u))||void 0===c?void 0:c.index))}),{matchPriority:d,matchIndex:s,item:e}}).filter(e=>r||e.matchPriority).sort((e,t)=>{if(e.matchPriority<t.matchPriority)return 1;if(e.matchPriority>t.matchPriority)return-1;if(e.matchPriority===t.matchPriority){if(void 0===e.matchIndex||void 0===t.matchIndex)return 0;if(e.matchIndex>t.matchIndex)return 1;if(e.matchIndex<t.matchIndex)return-1}return 0}).map(({item:e})=>e)}function r(e,t){
|
|
const o=[],n=e.toLowerCase(),i=e.split("").map((e,t)=>`(${0!==t?"[/\\s-]"+l(e):l(e)})`).join("(.*?)")+"(.*)";return o.push({fullMatch:new RegExp(`(${l(e)})`,"i"),re:new RegExp("^"+i,"i"),reserveRe:new RegExp(i,"i"),fuzzyHighlight:!0}),t&&t.hasOwnProperty(n)&&o.push({fullMatch:t[n],re:t[n],fuzzyHighlight:!1}),o}function a(e,t,o){const n=[];return e&&o?(o.forEach(e=>{const{fullMatch:o,re:i,reserveRe:r}=e;o.lastIndex=0,i.lastIndex=0;const a=o.exec(t),l=a||i.exec(t)||r&&r.exec(t);if(e.fuzzyHighlight=!a,l)if(e.fuzzyHighlight){let e=l.index;for(let t=1;t<l.length;t++){const o=l[t],i=l[t].length;if(t%2){const t=o.startsWith(" ")||o.startsWith("/")||o.startsWith("-");n[t?e+1:e]=!0}e+=i}}else for(let e=0;e<l[0].length;e++)n[l.index+e]=!0}),n):n}function l(e){return e.replace(/[!-/[-^{-}]/g,"\\$&")}},24637:(e,t,o)=>{"use strict";o.d(t,{HighlightedText:()=>l});var n=o(59496),i=o(97754),r=o(19785),a=o(81524);function l(e){const{queryString:t,rules:o,text:l,className:c}=e,s=(0,n.useMemo)(()=>(0,r.getHighlightedChars)(t,l,o),[t,o,l]);return n.createElement(n.Fragment,null,s.length?l.split("").map((e,t)=>n.createElement(n.Fragment,{key:t},s[t]?n.createElement("span",{className:i(a.highlighted,c)},e):n.createElement("span",null,e))):l)}},16396:(e,t,o)=>{"use strict";o.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>s,PopupMenuItem:()=>m});var n=o(59496),i=o(97754),r=o(59064),a=o(51768),l=o(90186),c=o(23576);const s=c;function d(e){const{reference:t,...o}=e,i={...o,ref:t};return n.createElement(e.href?"a":"div",i)}function u(e){e.stopPropagation()}function m(e){const{id:t,role:o,"aria-selected":s,className:m,title:h,labelRowClassName:f,labelClassName:v,shortcut:g,forceShowShortcuts:p,icon:b,isActive:y,isDisabled:C,isHovered:x,appearAsDisabled:E,label:w,link:S,showToolboxOnHover:D,target:k,rel:F,toolbox:M,reference:T,onMouseOut:N,onMouseOver:R,suppressToolboxClick:L=!0,theme:O=c}=e,I=(0,l.filterDataProps)(e),A=(0,n.useRef)(null);return n.createElement(d,{...I,id:t,role:o,"aria-selected":s,className:i(m,O.item,b&&O.withIcon,{[O.isActive]:y,[O.isDisabled]:C||E,[O.hovered]:x}),title:h,href:S,target:k,rel:F,reference:function(e){A.current=e,"function"==typeof T&&T(e);"object"==typeof T&&(T.current=e)},onClick:function(t){const{dontClosePopup:o,onClick:n,onClickArg:i,trackEventObject:l}=e;if(C)return;l&&(0,a.trackEvent)(l.category,l.event,l.label);n&&n(i,t);o||(0,r.globalCloseMenu)()},onContextMenu:function(t){const{trackEventObject:o,trackRightClick:n}=e;o&&n&&(0,a.trackEvent)(o.category,o.event,o.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:o,trackMouseWheelClick:n}=e;if(1===t.button&&S&&o){let e=o.label;n&&(e+="_mouseWheelClick"),(0,a.trackEvent)(o.category,o.event,e)}},onMouseOver:R,onMouseOut:N},void 0!==b&&n.createElement("div",{className:O.icon,dangerouslySetInnerHTML:{__html:b}}),n.createElement("div",{className:i(O.labelRow,f)},n.createElement("div",{className:i(O.label,v)},w)),(void 0!==g||p)&&n.createElement("div",{className:O.shortcut},(P=g)&&P.split("+").join(" + ")),void 0!==M&&n.createElement("div",{
|
|
onClick:L?u:void 0,className:i(O.toolbox,{[O.showOnHover]:D})},M));var P}},96040:(e,t,o)=>{"use strict";o.d(t,{RemoveButton:()=>d});var n=o(28353),i=o(59496),r=o(97754),a=o(9745),l=o(73366),c=o(73432);const s={remove:(0,n.t)("Remove")};function d(e){const{className:t,isActive:o,onClick:n,onMouseDown:d,title:u,hidden:m,"data-name":h="remove-button",...f}=e;return i.createElement(a.Icon,{...f,"data-name":h,className:r(c.button,"apply-common-tooltip",o&&c.active,m&&c.hidden,t),icon:l,onClick:n,onMouseDown:d,title:u||s.remove})}},73366: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>'},46185: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" d="M19.5 18.5h-3M21.5 13.5h-5M23.5 8.5h-7M8.5 7v13.5M4.5 16.5l4 4 4-4"/></svg>'},26659: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" d="M19.5 18.5h-3M21.5 13.5h-5M23.5 8.5h-7M8.5 20.5V7M12.5 11l-4-4-4 4"/></svg>'},5639:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none"><path stroke="currentColor" d="M12.4 12.5a7 7 0 1 0-4.9 2 7 7 0 0 0 4.9-2zm0 0l5.101 5"/></svg>'},20614:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path fill="currentColor" d="M9 1l2.35 4.76 5.26.77-3.8 3.7.9 5.24L9 13l-4.7 2.47.9-5.23-3.8-3.71 5.25-.77L9 1z"/></svg>'},55783: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="M9 2.13l1.903 3.855.116.236.26.038 4.255.618-3.079 3.001-.188.184.044.259.727 4.237-3.805-2L9 12.434l-.233.122-3.805 2.001.727-4.237.044-.26-.188-.183-3.079-3.001 4.255-.618.26-.038.116-.236L9 2.13z"/></svg>'}}]); |