Files
ai/charting_library/bundles/load-chart-dialog.31dc0391519bad5251c0.js

18 lines
55 KiB
JavaScript

(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[4453],{9338:e=>{e.exports={logo:"logo-PsAlMQQF",hidden:"hidden-PsAlMQQF",xxceptionallysmalldonotusebrv1023:"xxceptionallysmalldonotusebrv1023-PsAlMQQF",xxxsmall:"xxxsmall-PsAlMQQF",xxsmall:"xxsmall-PsAlMQQF",xsmall:"xsmall-PsAlMQQF",small:"small-PsAlMQQF",medium:"medium-PsAlMQQF",large:"large-PsAlMQQF",xlarge:"xlarge-PsAlMQQF",xxlarge:"xxlarge-PsAlMQQF",xxxlarge:"xxxlarge-PsAlMQQF",skeleton:"skeleton-PsAlMQQF",letter:"letter-PsAlMQQF"}},44396:e=>{e.exports={wrapper:"wrapper-TJ9ObuLF",animated:"animated-TJ9ObuLF",pulsation:"pulsation-TJ9ObuLF"}},30398:e=>{e.exports={container:"container-AhaeiE0y",list:"list-AhaeiE0y",overlayScrollWrap:"overlayScrollWrap-AhaeiE0y",scroll:"scroll-AhaeiE0y"}},9278:e=>{e.exports={container:"container-huGG8x61",title:"title-huGG8x61"}},93562:e=>{e.exports={removeButton:"removeButton-BadjY5sX",favoriteButton:"favoriteButton-BadjY5sX",itemRow:"itemRow-BadjY5sX",focused:"focused-BadjY5sX",active:"active-BadjY5sX",actionButton:"actionButton-BadjY5sX",mobile:"mobile-BadjY5sX",itemInfo:"itemInfo-BadjY5sX",title:"title-BadjY5sX",details:"details-BadjY5sX",itemInfoWithPadding:"itemInfoWithPadding-BadjY5sX",favorite:"favorite-BadjY5sX",showOnFocus:"showOnFocus-BadjY5sX"}},66550:e=>{e.exports={container:"container-qm7Rg5MB",mobile:"mobile-qm7Rg5MB",inputContainer:"inputContainer-qm7Rg5MB",withCancel:"withCancel-qm7Rg5MB",input:"input-qm7Rg5MB",icon:"icon-qm7Rg5MB",cancel:"cancel-qm7Rg5MB"}},86672:e=>{e.exports={container:"container-RZoAcQrm",labelWrap:"labelWrap-RZoAcQrm",icon:"icon-RZoAcQrm",text:"text-RZoAcQrm"}},59302:e=>{e.exports={sortButton:"sortButton-mMR_mxxG",icon:"icon-mMR_mxxG",buttonContainer:"buttonContainer-mMR_mxxG",skeleton:"skeleton-mMR_mxxG"}},1699:e=>{e.exports={container:"container-QcG0kDOU",image:"image-QcG0kDOU",title:"title-QcG0kDOU",description:"description-QcG0kDOU",button:"button-QcG0kDOU"}},27094:e=>{e.exports={button:"button-tFul0OhX","button-children":"button-children-tFul0OhX",hiddenArrow:"hiddenArrow-tFul0OhX",invisibleFocusHandler:"invisibleFocusHandler-tFul0OhX"}},1255:e=>{e.exports={highlighted:"highlighted-cwp8YRo6"}},41507:e=>{e.exports={"tablet-small-breakpoint":"(max-width: 440px)",item:"item-jFqVJoPk",hovered:"hovered-jFqVJoPk",isDisabled:"isDisabled-jFqVJoPk",isActive:"isActive-jFqVJoPk",shortcut:"shortcut-jFqVJoPk",toolbox:"toolbox-jFqVJoPk",withIcon:"withIcon-jFqVJoPk","round-icon":"round-icon-jFqVJoPk",icon:"icon-jFqVJoPk",startSlot:"startSlot-jFqVJoPk",labelRow:"labelRow-jFqVJoPk",label:"label-jFqVJoPk",showOnHover:"showOnHover-jFqVJoPk","disclosure-item-circle-logo":"disclosure-item-circle-logo-jFqVJoPk",showOnFocus:"showOnFocus-jFqVJoPk"}},80129:(e,t,d)=>{"use strict";d.d(t,{CircleLogo:()=>i,hiddenCircleLogoClass:()=>r});var u=d(79474),n=d(11808),o=d(9338);const r=d.n(o)().hidden;function i(e){const t=(0,n.isCircleLogoWithUrlProps)(e),[d,o]=(0,u.useState)(0),r=(0,u.useRef)(null),i=(0,n.getStyleClasses)(e.size,d,e.className),c=e.alt??e.title??"",a=t?c[0]:e.placeholderLetter;return(0,
u.useEffect)((()=>o(r.current?.complete??!t?2:1)),[t]),t&&3!==d?u.createElement("img",{ref:r,className:i,crossOrigin:"",src:e.logoUrl,alt:c,title:e.title,loading:e.loading,onLoad:()=>o(2),onError:()=>o(3),"aria-label":e["aria-label"],"aria-hidden":e["aria-hidden"]}):u.createElement("span",{className:i,title:e.title,"aria-label":e["aria-label"],"aria-hidden":e["aria-hidden"]},a)}},11808:(e,t,d)=>{"use strict";d.d(t,{getStyleClasses:()=>c,isCircleLogoWithUrlProps:()=>a});var u=d(14487),n=d.n(u),o=d(90849),r=d(9338),i=d.n(r);function c(e,t=2,d){return n()(i().logo,i()[e],d,0===t||1===t?n()(o.skeletonTheme.wrapper,i().skeleton):i().letter,1===t&&o.skeletonTheme.animated)}function a(e){return"logoUrl"in e&&null!==e.logoUrl&&void 0!==e.logoUrl&&0!==e.logoUrl.length}},88169:(e,t,d)=>{"use strict";d.d(t,{ControlSkeleton:()=>u.ControlSkeleton,InputClasses:()=>u.InputClasses});var u=d(13621)},4724:(e,t,d)=>{"use strict";d.d(t,{useComposedKeyboardActionHandlers:()=>i,useKeyboardActionHandler:()=>r,useKeyboardClose:()=>l,useKeyboardEventHandler:()=>c,useKeyboardOpen:()=>s,useKeyboardToggle:()=>a});var u=d(79474),n=d(47893);const o=()=>!0;function r(e,t,d=o,n){return(0,u.useCallback)((u=>{if(n){if("horizontal"===n&&(40===u||38===u))return;if("vertical"===n&&(37===u||39===u))return}const o=e.map((e=>"function"==typeof e?e():e));return!(!d(u)||!o.includes(u))&&(t(u),!0)}),[...e,t,d])}function i(...e){return(0,u.useCallback)((t=>{for(const d of e)if(d(t))return!0;return!1}),[...e])}function c(e,t=!0,d=!1){const o=i(...e);return(0,u.useCallback)((e=>{const u=o((0,n.hashFromEvent)(e));u&&t&&e.preventDefault(),u&&d&&e.stopPropagation()}),[o])}function a(e,t=!0){return r([13,32],e,(function(e){if(13===e)return t;return!0}))}function l(e,t){return r([9,(0,u.useCallback)((()=>n.Modifiers.Shift+9),[]),27],t,(0,u.useCallback)((()=>e),[e]))}function s(e,t){return r([40,38],t,(0,u.useCallback)((()=>!e),[e]))}},70670:(e,t,d)=>{"use strict";d.d(t,{useControlDisclosure:()=>n});var u=d(59654);function n(e){const{intent:t,highlight:d,...n}=e,{isFocused:o,...r}=(0,u.useDisclosure)(n);return{...r,isFocused:o,highlight:d??o,intent:t??(o?"primary":"default")}}},59654:(e,t,d)=>{"use strict";d.d(t,{useDisclosure:()=>a});var u=d(79474),n=d(85842),o=d(90892),r=d(55971),i=d(69550),c=d(48504);function a(e){const{id:t,listboxId:d,disabled:a,buttonTabIndex:l=0,onFocus:s,onBlur:f,onClick:m}=e,[h,b]=(0,u.useState)(!1),[v,p]=(0,r.useFocus)(),g=v||h,x=d??void 0!==t?(0,c.createDomId)(t,"listbox"):void 0,C=(0,u.useRef)(null),y=(0,u.useCallback)((e=>C.current?.focus(e)),[C]),E=(0,u.useRef)(null),w=(0,u.useCallback)((()=>(0,n.ensureNotNull)(E.current).focus()),[E]),F=(0,u.useCallback)((()=>b(!0)),[b]),I=(0,u.useCallback)(((e=!1,t=!1)=>{b(!1);const{activeElement:d}=document;d&&(0,o.isTextEditingField)(d)||t||y({preventScroll:e})}),[b,y]),S=(0,u.useCallback)((()=>{h?I():F()}),[h,I,F]),k=a?[]:[s,p.onFocus],N=a?[]:[f,p.onBlur],M=a?[]:[m,S],D=(0,i.createSafeMulticastEventHandler)(...k),R=(0,i.createSafeMulticastEventHandler)(...N),O=(0,
i.createSafeMulticastEventHandler)(...M);return{listboxId:x,isOpened:h,isFocused:g,buttonTabIndex:a?-1:l,listboxTabIndex:-1,open:F,close:I,toggle:S,onOpen:w,buttonFocusBindings:{onFocus:D,onBlur:R},onButtonClick:O,buttonRef:C,listboxRef:E,buttonAria:{"aria-controls":h?x:void 0,"aria-expanded":h,"aria-disabled":a}}}},73064:(e,t,d)=>{"use strict";d.d(t,{useFunctionalRefObject:()=>o});var u=d(79474),n=d(69947);function o(e){const t=(0,u.useMemo)((()=>function(e){const t=d=>{e(d),t.current=d};return t.current=null,t}((e=>{i.current(e)}))),[]),d=(0,u.useRef)(null),o=t=>{if(null===t)return r(d.current,t),void(d.current=null);d.current!==e&&(d.current=e,r(d.current,t))},i=(0,u.useRef)(o);return i.current=o,(0,n.useIsomorphicLayoutEffect)((()=>{if(null!==t.current)return i.current(t.current),()=>i.current(null)}),[e]),t}function r(e,t){null!==e&&("function"==typeof e?e(t):e.current=t)}},90849:(e,t,d)=>{"use strict";d.d(t,{skeletonTheme:()=>n});var u=d(44396);const n=d.n(u)()},48504:(e,t,d)=>{"use strict";d.d(t,{createDomId:()=>f,joinDomIds:()=>m});const u="id",n=/\s/g,o="-",r="_",i=" ";function c(e){return"string"==typeof e}function a(e){switch(typeof e){case"string":return e;case"number":case"bigint":return e.toString(10);case"boolean":case"symbol":return e.toString();default:return null}}function l(e){return e.trim().length>0}function s(e){return e.replace(n,o)}function f(...e){const t=e.map(a).filter(c).filter(l).map(s);return(t.length>0&&t[0].startsWith(u+r)?t:[u,...t]).join(r)}function m(...e){return e.map(a).filter(c).filter(l).join(i)}},27914:(e,t,d)=>{"use strict";d.d(t,{getTextForTooltip:()=>r});var u=d(79474);const n=e=>(0,u.isValidElement)(e)&&Boolean(e.props.children),o=(e,t=!0)=>null==e||"boolean"==typeof e||"{}"===JSON.stringify(e)?"":e.toString()+(t?" ":""),r=e=>Array.isArray(e)||(0,u.isValidElement)(e)?u.Children.toArray(e).reduce(((e,t)=>{let d="";return d=(0,u.isValidElement)(t)&&n(t)?r(t.props.children):(0,u.isValidElement)(t)&&!n(t)?"":o(t),e.concat(d)}),"").trim():o(e,!1)},44973:(e,t,d)=>{"use strict";d.d(t,{DialogSearch:()=>s});var u=d(79474),n=d(14487),o=d.n(n),r=d(91599),i=d(66334),c=d(92003),a=d(78275),l=d(66550);function s(e){const{children:t,isMobile:n,renderInput:s,onCancel:m,containerClassName:h,inputContainerClassName:b,iconClassName:v,cancelTitle:p=r.t(null,void 0,d(43563)),...g}=e;return u.createElement("div",{className:o()(l.container,n&&l.mobile,h)},u.createElement("div",{className:o()(l.inputContainer,n&&l.mobile,b,m&&l.withCancel)},s||u.createElement(f,{isMobile:n,...g})),t,u.createElement(i.Icon,{className:o()(l.icon,n&&l.mobile,v),icon:n?a:c}),m&&(!n||""!==g.value)&&u.createElement("div",{className:o()(l.cancel,n&&l.mobile),onClick:m},p))}function f(e){const{className:t,reference:d,isMobile:n,value:r,onChange:i,onFocus:c,onBlur:a,onKeyDown:s,onSelect:f,placeholder:m,activeDescendant:h,...b}=e;return u.createElement("input",{...b,ref:d,type:"text",className:o()(t,l.input,n&&l.mobile),autoComplete:"off",role:"searchbox","data-role":"search",placeholder:m,value:r,onChange:i,onFocus:c,
onBlur:a,onSelect:f,onKeyDown:s,"aria-activedescendant":h})}},21404:(e,t,d)=>{"use strict";d.d(t,{useRovingTabindexElement:()=>r});var u=d(79474),n=d(73064),o=d(69947);function r(e,t=[]){const[d,r]=(0,u.useState)(!1),i=(0,n.useFunctionalRefObject)(e);return(0,o.useIsomorphicLayoutEffect)((()=>{const e=i.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),[i,d?0:-1]}},46472:(e,t,d)=>{"use strict";d.d(t,{getElementId:()=>s,useSearchDialogKeyboardNavigation:()=>l});var u=d(79474),n=d(97486),o=d(47893),r=d(86971),i=d(78122),c=d(85728),a=d(45958);function l(e){const{contentContainerRef:t,searchInputRef:d,dialogRef:n,getNextFocusedItemIndex:l,isNavigationDisabled:f,onEscapeClick:m,scrollToFocusedItem:h,getElementIdByIndex:b=s}=e,[v,p]=(0,u.useState)(null),[g,x]=(0,u.useState)(null),C=(0,u.useRef)({itemIndex:null,actionIndex:null}),[y,E]=(0,u.useState)(!1);function w(){E(!1),x(null),p(null)}return(0,u.useLayoutEffect)((()=>{if(null===v||!y)return;const e=b(v,g),d=t.current?.querySelector(`#${e}`);return d?.dispatchEvent(new CustomEvent("active-descendant-focus")),()=>{d?.dispatchEvent(new CustomEvent("active-descendant-blur"))}}),[v,y,g]),{handleKeyDown:function(e){const u=(0,o.hashFromEvent)(e);if(27===u&&m)return void m(e);const n=t.current;if(!n||e.target!==d.current)return;if(32===u||13===u){if(null===v)return;e.preventDefault();const t=n.querySelector(`#${b(v,g)}`);if(!(t instanceof HTMLElement))return;return void t.click()}const r=(0,i.mapKeyCodeToDirection)(u);if(!r||f)return;const a=null!==v?n.querySelector(`#${b(v)}`):null;switch(r){case"blockNext":case"blockPrev":{e.preventDefault();const t=l(v,"blockNext"===r?1:-1);if(null===t)return;p(t),E(!0),C.current.itemIndex=t;const d=n.querySelector(`#${b(t)}`);if(h(d,t),null!==g&&d instanceof HTMLElement){const e=Array.from(d.querySelectorAll('[data-role="list-item-action"]'));if(!e.length)return x(null),void(C.current.actionIndex=null);const t=(0,c.clamp)(g,0,e.length-1);x(t),C.current.actionIndex=t}return}case"inlineNext":{if(!a)return;e.preventDefault();const t=Array.from(a.querySelectorAll('[data-role="list-item-action"]'));if(!t||!t.length)return;return null===g?(x(0),void(C.current.actionIndex=0)):g===t.length-1?(x(null),void(C.current.actionIndex=null)):(x(g+1),void(C.current.actionIndex=g+1))}case"inlinePrev":{if(!a)return;e.preventDefault();const t=Array.from(a.querySelectorAll('[data-role="list-item-action"]'));if(!t||!t.length)return;return null===g?(x(t.length-1),void(C.current.actionIndex=t.length-1)):0===g?(x(null),void(C.current.actionIndex=null)):(x(g-1),void(C.current.actionIndex=g-1))}}},handleForceFocus:function(){(0,i.updateTabIndexes)()},handleSearchRefBlur:function(e){w(),p(v),
a.CheckMobile.any()||e.relatedTarget!==n.current?.getElement()||e.target.focus()},resetFocusState:w,restoreFocusState:function(){x(C.current.actionIndex),p(C.current.itemIndex),E(!0)},focusVisible:y,focusedItemIndex:v,focusedActionIndex:g,setFocusedItemIndex:p,setFocusedActionIndex:x,onDialogClick:function(e){(0,r.isKeyboardClick)(e)||(E(!1),x(null))}}}function s(e,t){return(0,n.isNumber)(t)&&-1!==t?`list-item-${e}-action-${t}`:`list-item-${e}`}},22082:(e,t,d)=>{"use strict";d.d(t,{CircleLogo:()=>u.CircleLogo,hiddenCircleLogoClass:()=>u.hiddenCircleLogoClass});var u=d(80129)},52462:(e,t,d)=>{"use strict";d.d(t,{ContentIsNotFound:()=>a});var u=d(79474),n=d(14487),o=d.n(n),r=d(66334),i=d(12725),c=d(1699);function a(e){const{className:t,icon:d,title:n,description:a,buttonText:l,buttonAction:s}=e;return u.createElement("div",{className:o()(c.container,t)},d&&u.createElement(r.Icon,{icon:d,className:c.image}),n&&u.createElement("h3",{className:c.title},n),a&&u.createElement("p",{className:c.description},a),l&&s&&u.createElement(i.Button,{onClick:s,className:c.button},l))}},46269:(e,t,d)=>{"use strict";d.d(t,{ControlDisclosureView:()=>m});var u=d(79474),n=d(14487),o=d.n(n),r=d(9774),i=d(88169),c=d(29914),a=d(78484),l=d(19840),s=d(91965),f=d(27094);const m=u.forwardRef(((e,t)=>{const{listboxId:d,className:n,listboxClassName:m,listboxTabIndex:h,hideArrowButton:b,matchButtonAndListboxWidths:v,popupPosition:p,disabled:g,isOpened:x,scrollWrapReference:C,repositionOnScroll:y,closeOnHeaderOverlap:E,listboxReference:w,size:F="small",onClose:I,onOpen:S,onListboxFocus:k,onListboxBlur:N,onListboxKeyDown:M,buttonChildren:D,children:R,caretClassName:O,buttonContainerClassName:A,listboxAria:T,dataQaId:L,...B}=e,P=(0,u.useRef)(null),V=!b&&u.createElement(a.EndSlot,null,u.createElement(s.Caret,{isDropped:x,disabled:!0,className:O}));return u.createElement(l.PopupMenuDisclosureView,{buttonRef:P,listboxId:d,listboxClassName:m,listboxTabIndex:h,isOpened:x,onClose:I,onOpen:S,listboxReference:w,scrollWrapReference:C,onListboxFocus:k,onListboxBlur:N,onListboxKeyDown:M,listboxAria:T,dataQaId:(0,c.dataQaIds)("popup-menu-container",L),matchButtonAndListboxWidths:v,popupPosition:p,button:u.createElement(i.ControlSkeleton,{...B,"data-qa-id":(0,c.dataQaIds)("ui-kit-disclosure-control",L),"data-role":"listbox",disabled:g,className:o()(f.button,n),size:F,ref:(0,r.useMergedRefs)([P,t]),middleSlot:u.createElement(a.MiddleSlot,null,u.createElement("span",{className:o()(f["button-children"],b&&f.hiddenArrow,A)},D)),endSlot:V}),popupChildren:R,repositionOnScroll:y,closeOnHeaderOverlap:E})}));m.displayName="ControlDisclosureView"},15923:(e,t,d)=>{"use strict";d.d(t,{ControlDisclosure:()=>l});var u=d(79474),n=d(9774),o=d(55501),r=d(46269),i=d(70670),c=d(23351),a=d(27094);const l=u.forwardRef(((e,t)=>{const{id:d,tabIndex:l,disabled:s,highlight:f,intent:m,children:h,onClick:b,onFocus:v,onBlur:p,listboxAria:g,onListboxKeyDown:x,...C}=e,y=(0,u.useRef)({"aria-labelledby":d
}),{listboxId:E,isOpened:w,isFocused:F,buttonTabIndex:I,listboxTabIndex:S,highlight:k,intent:N,onOpen:M,close:D,toggle:R,buttonFocusBindings:O,onButtonClick:A,buttonRef:T,listboxRef:L,buttonAria:B}=(0,i.useControlDisclosure)({id:d,disabled:s,buttonTabIndex:l,intent:m,highlight:f,onFocus:v,onBlur:p,onClick:b}),P=(0,o.useKeyboardToggle)(R),V=(0,o.useKeyboardClose)(w,D),H=(0,o.useKeyboardEventHandler)([P,V]);return u.createElement(r.ControlDisclosureView,{...C,...O,...B,id:d,role:"button",tabIndex:I,disabled:s,isOpened:w,isFocused:F,ref:(0,n.useMergedRefs)([T,t]),highlight:k,intent:N,onClose:D,onOpen:M,onClick:A,onKeyDown:H,listboxId:E,listboxTabIndex:S,listboxReference:L,listboxAria:g??y.current,onListboxKeyDown:function(e){if(27===(0,c.hashFromEvent)(e))return e.preventDefault(),void D();x?.(e)}},h,u.createElement("span",{className:a.invisibleFocusHandler,tabIndex:0,"aria-hidden":!0,onFocus:()=>D()}))}));l.displayName="ControlDisclosure"},19840:(e,t,d)=>{"use strict";d.d(t,{PopupMenuDisclosureView:()=>s});var u=d(79474),n=d(29914),o=d(29344),r=d(85842);const i={x:0,y:0};function c(e,t,d){return(0,u.useCallback)((()=>function(e,t,{x:d=i.x,y:u=i.y}=i){const n=(0,r.ensureNotNull)(e).getBoundingClientRect(),o={x:n.left+d,y:n.top+n.height+u,indentFromWindow:{top:4,bottom:4,left:4,right:4}};return t&&(o.overrideWidth=n.width),o}(e.current,t,d)),[e,t])}var a=d(90353);const l=parseInt(a["size-header-height"]);function s(e){const{button:t,popupChildren:d,buttonRef:r,listboxId:i,listboxClassName:a,listboxTabIndex:s,matchButtonAndListboxWidths:f,isOpened:m,scrollWrapReference:h,listboxReference:b,onClose:v,onOpen:p,onListboxFocus:g,onListboxBlur:x,onListboxKeyDown:C,listboxAria:y,repositionOnScroll:E=!0,closeOnHeaderOverlap:w=!1,popupPositionCorrection:F={x:0,y:0},popupPosition:I,dataQaId:S}=e,k=c(r,f,F),N=w?l:0;return u.createElement(u.Fragment,null,t,u.createElement(o.PopupMenu,{...y,dataQaId:(0,n.dataQaIds)("ui-kit-disclosure-popup",S),id:i,className:a,tabIndex:s,isOpened:m,position:I||k,repositionOnScroll:E,onClose:v,onOpen:p,doNotCloseOn:r.current,reference:b,scrollWrapReference:h,onFocus:g,onBlur:x,onKeyDown:C,closeOnScrollOutsideOffset:N},d))}},77982:(e,t,d)=>{"use strict";d.d(t,{createRegExpList:()=>i,getHighlightedChars:()=>c,rankedSearch:()=>r});var u=d(7321);function n(e){return e.replace(/[!-/[-^{-}?]/g,"\\$&")}var o;function r(e){const{data:t,rules:d,queryString:n,isPreventedFromFiltering:o,primaryKey:r,secondaryKey:i=r,optionalPrimaryKey:c,tertiaryKey:a}=e;return t.map((e=>{const t=c&&e[c]?e[c]:e[r],o=e[i],l=a&&e[a];let s,f=0;return d.forEach((e=>{const{re:d,fullMatch:r}=e;if(d.lastIndex=0,(0,u.isString)(t)&&t&&t.toLowerCase()===n.toLowerCase())return f=4,void(s=t.match(r)?.index);if((0,u.isString)(t)&&r.test(t))return f=3,void(s=t.match(r)?.index);if((0,u.isString)(o)&&r.test(o))return f=2,void(s=o.match(r)?.index);if((0,u.isString)(o)&&d.test(o))return f=2,void(s=o.match(d)?.index);if(Array.isArray(l))for(const e of l)if(r.test(e))return f=1,void(s=e.match(r)?.index)})),{matchPriority:f,matchIndex:s,item:e}
})).filter((e=>o||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 i(e,t){const d=[],u=e.toLowerCase(),o=e.split("").map(((e,t)=>`(${0!==t?`[/\\s-]${n(e)}`:n(e)})`)).join("(.*?)")+"(.*)";return d.push({fullMatch:new RegExp(`(${n(e)})`,"i"),re:new RegExp(`^${o}`,"i"),reserveRe:new RegExp(o,"i"),fuzzyHighlight:!0}),t&&t.hasOwnProperty(u)&&d.push({fullMatch:t[u],re:t[u],fuzzyHighlight:!1}),d}function c(e,t,d){const u=[];return e&&d?(d.forEach((e=>{const{fullMatch:d,re:n,reserveRe:o}=e;d.lastIndex=0,n.lastIndex=0;const r=d.exec(t),i=r||n.exec(t)||o&&o.exec(t);if(e.fuzzyHighlight=!r,i)if(e.fuzzyHighlight){let e=i.index;for(let t=1;t<i.length;t++){const d=i[t],n=i[t].length;if(t%2){const t=d.startsWith(" ")||d.startsWith("/")||d.startsWith("-");u[t?e+1:e]=!0}e+=n}}else for(let e=0;e<i[0].length;e++)u[i.index+e]=!0})),u):u}!function(e){e[e.Low=0]="Low",e[e.MediumLow=1]="MediumLow",e[e.Medium=2]="Medium",e[e.High=3]="High",e[e.Highest=4]="Highest"}(o||(o={}))},42482:(e,t,d)=>{"use strict";d.d(t,{HighlightedText:()=>i});var u=d(79474),n=d(14487),o=d(77982),r=d(1255);function i(e){const{queryString:t,rules:d,text:i,className:c}=e,a=(0,u.useMemo)((()=>(0,o.getHighlightedChars)(t,i,d)),[t,d,i]);return u.createElement(u.Fragment,null,a.length?i.split("").map(((e,t)=>u.createElement(u.Fragment,{key:t},a[t]?u.createElement("span",{className:n(r.highlighted,c)},e):u.createElement("span",null,e)))):i)}},55501:(e,t,d)=>{"use strict";d.d(t,{useKeyboardActionHandler:()=>u.useKeyboardActionHandler,useKeyboardClose:()=>u.useKeyboardClose,useKeyboardEventHandler:()=>u.useKeyboardEventHandler,useKeyboardOpen:()=>u.useKeyboardOpen,useKeyboardToggle:()=>u.useKeyboardToggle});var u=d(4724)},14856:(e,t,d)=>{"use strict";d.d(t,{useEnsuredContext:()=>o});var u=d(79474),n=d(85842);function o(e){return(0,n.ensureNotNull)((0,u.useContext)(e))}},1642:(e,t,d)=>{"use strict";d.d(t,{DEFAULT_POPUP_MENU_ITEM_THEME:()=>l,PopupMenuItem:()=>f});var u=d(79474),n=d(14487),o=d(64906),r=d(11463),i=d(22082),c=d(86971),a=d(41507);const l=a;function s(e){e.stopPropagation()}function f(e){const{id:t,role:d,className:l,title:f,labelRowClassName:m,labelClassName:h,toolboxClassName:b,shortcut:v,forceShowShortcuts:p,icon:g,iconClassname:x,isActive:C,isDisabled:y,isHovered:E,appearAsDisabled:w,label:F,link:I,showToolboxOnHover:S,showToolboxOnFocus:k,target:N,rel:M,toolbox:D,toolboxRole:R,reference:O,onMouseOut:A,onMouseOver:T,onKeyDown:L,suppressToolboxClick:B=!0,theme:P=a,tabIndex:V,tagName:H,renderComponent:K,roundedIcon:Q,iconAriaProps:j,circleLogo:q,dontClosePopup:W,onClick:Z,onClickArg:z,trackEventObject:J,trackMouseWheelClick:_,trackRightClick:U,startSlot:$,...X}=e,Y=(0,u.useRef)(null),G=(0,u.useMemo)((()=>function(e){function t(t){
const{reference:d,...n}=t,o=e??(n.href?"a":"div"),r="a"===o?n:function(e){const{download:t,href:d,hrefLang:u,media:n,ping:o,rel:r,target:i,type:c,referrerPolicy:a,...l}=e;return l}(n);return u.createElement(o,{...r,ref:d})}return t.displayName=`DefaultComponent(${e})`,t}(H)),[H]),ee=K??G;return u.createElement(ee,{...X,id:t,role:d,className:n(l,P.item,g&&P.withIcon,{[P.isActive]:C,[P.isDisabled]:y||w,[P.hovered]:E}),title:f,href:I,target:N,rel:M,reference:function(e){Y.current=e,"function"==typeof O&&O(e);"object"==typeof O&&(O.current=e)},onClick:function(e){if(y)return;J&&(0,o.trackEvent)(J.category,J.event,J.label);Z&&Z(z,e);W||(e.currentTarget.dispatchEvent(new CustomEvent("popup-menu-close-event",{bubbles:!0,detail:{clickType:(0,c.isKeyboardClick)(e)?"keyboard":"mouse"}})),(0,r.globalCloseMenu)())},onContextMenu:function(e){J&&U&&(0,o.trackEvent)(J.category,J.event,`${J.label}_rightClick`)},onMouseUp:function(e){if(1===e.button&&I&&J){let e=J.label;_&&(e+="_mouseWheelClick"),(0,o.trackEvent)(J.category,J.event,e)}},onMouseOver:T,onMouseOut:A,onKeyDown:L,tabIndex:V},q&&u.createElement(i.CircleLogo,{...j,className:a["disclosure-item-circle-logo"],size:"xxxsmall",logoUrl:q.logoUrl,placeholderLetter:"placeholderLetter"in q?q.placeholderLetter:void 0}),$&&u.createElement("span",{className:P.startSlot},$),g&&u.createElement("span",{"aria-label":j&&j["aria-label"],"aria-hidden":j&&Boolean(j["aria-hidden"]),className:n(P.icon,Q&&a["round-icon"],x),dangerouslySetInnerHTML:{__html:g}}),u.createElement("span",{className:n(P.labelRow,m)},u.createElement("span",{className:n(P.label,h)},F)),(void 0!==v||p)&&u.createElement("span",{className:P.shortcut},(te=v)&&te.split("+").join(" + ")),void 0!==D&&u.createElement("span",{role:R,onClick:B?s:void 0,className:n(b,P.toolbox,{[P.showOnHover]:S,[P.showOnFocus]:k})},D));var te}},29344:(e,t,d)=>{"use strict";d.d(t,{PopupMenu:()=>f});var u=d(79474),n=d(29365),o=d(41863),r=d(64888),i=d(86738),c=d(11508);const a=u.createContext(void 0);var l=d(4138);const s=u.createContext({setMenuMaxWidth:!1});function f(e){const{controller:t,children:d,isOpened:f,closeOnClickOutside:m=!0,doNotCloseOn:h,onClickOutside:b,onClose:v,onKeyboardClose:p,"data-name":g="popup-menu-container",dataQaId:x="popup-menu-container",closeOnScrollOutsideOffset:C,...y}=e,E=(0,u.useContext)(c.CloseDelegateContext),w=u.useContext(s),F=(0,u.useContext)(a),I=(0,l.useOutsideEvent)({handler:function(e){b&&b(e);if(!m)return;const t=(0,o.default)(h)?h():null==h?[]:[h];if(t.length>0&&e.target instanceof Node)for(const d of t){const t=n.findDOMNode(d);if(t instanceof Node&&t.contains(e.target))return}v()},mouseDown:!0,touchStart:!0});return f?u.createElement(r.Portal,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},u.createElement("span",{ref:I,style:{pointerEvents:"auto"}},u.createElement(i.Menu,{...y,onClose:v,onKeyboardClose:p,onScroll:function(t){const{onScroll:d}=e;d&&d(t)},customCloseDelegate:E,customRemeasureDelegate:F,ref:t,"data-name":g,dataQaId:x,limitMaxWidth:w.setMenuMaxWidth,
"data-tooltip-show-on-focus":"true",closeOnScrollOutsideOffset:C},d))):null}},36334:(e,t,d)=>{"use strict";var u=d(29365);t.createRoot=u.createRoot,u.hydrateRoot},27340:e=>{e.exports={accessible:"accessible-NQERJsv9",active:"active-NQERJsv9"}},89482:e=>{e.exports={highlight:"highlight-6tu1aYjZ",active:"active-6tu1aYjZ"}},93156:e=>{e.exports={dialog:"dialog-T4Q8BJPb",contentList:"contentList-T4Q8BJPb",contentHeader:"contentHeader-T4Q8BJPb",emptyState:"emptyState-T4Q8BJPb"}},60714:(e,t,d)=>{"use strict";d.d(t,{focusFirstMenuItem:()=>l,handleAccessibleMenuFocus:()=>c,handleAccessibleMenuKeyDown:()=>a,queryMenuElements:()=>m});var u=d(78122),n=d(87918),o=d(23351),r=d(45280);const i=[37,39,38,40];function c(e,t){if(!e.target)return;const d=e.relatedTarget?.getAttribute("aria-activedescendant");if(e.relatedTarget!==t.current){const e=d&&document.getElementById(d);if(!e||e!==t.current)return}l(e.target)}function a(e){if(e.defaultPrevented)return;const t=(0,o.hashFromEvent)(e);if(!i.includes(t))return;const d=document.activeElement;if(!(document.activeElement instanceof HTMLElement))return;const r=m(e.currentTarget).sort(u.navigationOrderComparator);if(0===r.length)return;const c=document.activeElement.closest('[data-role="menuitem"]')||document.activeElement.parentElement?.querySelector('[data-role="menuitem"]');if(!(c instanceof HTMLElement))return;const a=r.indexOf(c);if(-1===a)return;const l=h(c),b=l.indexOf(document.activeElement),v=-1!==b,p=e=>{d&&(0,n.becomeSecondaryElement)(d),(0,n.becomeMainElement)(e),e.focus()};switch((0,u.mapKeyCodeToDirection)(t)){case"inlinePrev":if(!l.length)return;e.preventDefault(),p(0===b?r[a]:v?s(l,b,-1):l[l.length-1]);break;case"inlineNext":if(!l.length)return;e.preventDefault(),b===l.length-1?p(r[a]):p(v?s(l,b,1):l[0]);break;case"blockPrev":{e.preventDefault();const t=s(r,a,-1);if(v){const e=f(t,b);p(e||t);break}p(t);break}case"blockNext":{e.preventDefault();const t=s(r,a,1);if(v){const e=f(t,b);p(e||t);break}p(t)}}}function l(e){const[t]=m(e);t&&((0,n.becomeMainElement)(t),t.focus())}function s(e,t,d){return e[(t+e.length+d)%e.length]}function f(e,t){const d=h(e);return d.length?d[(t+d.length)%d.length]:null}function m(e){return Array.from(e.querySelectorAll('[data-role="menuitem"]:not([disabled]):not([aria-disabled="true" i])')).filter((0,r.createScopedVisibleElementFilter)(e))}function h(e){return Array.from(e.querySelectorAll('[tabindex]:not([disabled]):not([aria-disabled="true" i])')).filter((0,r.createScopedVisibleElementFilter)(e))}},87918:(e,t,d)=>{"use strict";var u;function n(e){e.dispatchEvent(new CustomEvent("roving-tabindex:main-element"))}function o(e){e.dispatchEvent(new CustomEvent("roving-tabindex:secondary-element"))}d.d(t,{becomeMainElement:()=>n,becomeSecondaryElement:()=>o}),function(e){e.MainElement="roving-tabindex:main-element",e.SecondaryElement="roving-tabindex:secondary-element"}(u||(u={}))},98637:(e,t,d)=>{"use strict";d.d(t,{AccessibleMenuItem:()=>l});var u=d(79474),n=d(14487),o=d.n(n),r=d(47893),i=d(21404),c=d(1642),a=d(27340);function l(e){
const{className:t,reference:d,...n}=e,[l,s]=(0,i.useRovingTabindexElement)(d??null);return u.createElement(c.PopupMenuItem,{...n,className:o()(a.accessible,e.isActive&&a.active,t),reference:l,tabIndex:s,onKeyDown:function(e){if(e.target!==e.currentTarget)return;const t=(0,r.hashFromEvent)(e);13!==t&&32!==t||(e.preventDefault(),l.current instanceof HTMLElement&&l.current.click())},"data-role":"menuitem","aria-disabled":e.isDisabled||e["aria-disabled"],toolboxRole:"toolbar"})}},69382:(e,t,d)=>{"use strict";d.r(t),d.d(t,{LoadChartDialogRenderer:()=>ke});var u,n,o=d(79474),r=d(14487),i=d.n(r),c=d(85842),a=d(16905),l=d(91599),s=d(82287),f=d(45958),m=d(57069),h=d(35088),b=d(66334),v=d(15923),p=d(60714),g=d(18662),x=d(27145),C=d(59302);function y(e){const{sortDirection:t,children:d,...u}=e,n=(0,o.useRef)(null);return o.createElement("div",{...u,className:r(C.sortButton,"apply-common-tooltip","common-tooltip-vertical")},o.createElement(v.ControlDisclosure,{hideArrowButton:!0,ref:n,buttonChildren:o.createElement(b.Icon,{className:C.icon,icon:0===t?g:x}),buttonContainerClassName:C.buttonContainer,className:C.skeleton,onListboxFocus:function(e){e.target instanceof HTMLElement&&(0,p.handleAccessibleMenuFocus)(e,n)},onListboxKeyDown:p.handleAccessibleMenuKeyDown,"aria-label":e.title,"aria-haspopup":"menu"},d))}!function(e){e.Modified="modified",e.Title="title",e.Expiration="expiration"}(u||(u={})),function(e){e[e.Asc=0]="Asc",e[e.Desc=1]="Desc"}(n||(n={}));var E=d(98637),w=d(86672);function F(e){const{label:t,listSortField:d,itemSortField:u,listSortDirection:n,itemSortDirection:i,onClick:c,className:a,...l}=e,s=u===d&&i===n;return o.createElement(E.AccessibleMenuItem,{...l,role:"menuitemradio",isActive:s,className:r(w.container,a),label:o.createElement("div",{className:w.labelWrap},o.createElement(b.Icon,{className:w.icon,icon:0===i?g:x}),o.createElement("span",{className:w.text},t)),onClick:function(){c(u,i)},"aria-checked":s,"data-active":s.toString(),"data-sort-field":u,"data-sort-direction":0===i?"asc":"desc"})}var I=d(44973),S=d(9278);function k(e){const{children:t,className:d}=e;return o.createElement("div",{className:i()(S.container,d)},t)}function N(e){const{title:t}=e;return o.createElement("div",{className:S.title},t)}var M=d(97486);var D=d(50254),R=d(81458),O=d(71515),A=d(56804);var T=d(98808),L=d(30398);function B(e){const{id:t,reference:d,role:u,className:n,onScroll:r,onTouchStart:c,scrollbar:a,contentContainerRef:l,children:s,...m}=e,[h,b]=(0,O.useDimensions)(l),[v,p,g,x]=(0,A.useOverlayScroll)();return(0,o.useEffect)((()=>{const e=()=>{};return f.isFF?(document.addEventListener("wheel",(()=>e)),()=>{document.removeEventListener("wheel",e)}):e}),[]),o.createElement("div",{id:t,role:u,..."overlay"===a&&p,className:i()(L.container,n),onTouchStart:c,onScrollCapture:r,ref:h},"overlay"===a&&o.createElement(T.OverlayScrollContainer,{...v,className:L.overlayScrollWrap}),o.createElement(D.FixedSizeList,{ref:d,className:i()("native"===a?L.scroll:L.list),outerRef:"overlay"===a?g:void 0,onItemsRendered:x,layout:"vertical",
width:"100%",height:b?.height||0,children:s,direction:(0,R.isRtl)()?"rtl":"ltr",...m}))}var P=d(90141);var V=d(62466),H=d(57058);function K(e){const{url:t,...d}=e;return t?o.createElement("a",{...d,href:t}):o.createElement("div",{...d})}var Q=d(32509),j=d(93562);function q(e){const{title:t,subtitle:d,removeBtnLabel:u,onClick:n,onClickFavorite:r,onClickRemove:c,isActive:a,isFavorite:l,isFocused:s,isMobile:m=!1,showFavorite:h=!0,focusedActionIndex:b,className:v,tabIndex:p,index:g,focusVisible:x,getElementId:C,...y}=e,E=[h&&r?"favorite":null,"remove"].filter((e=>null!==e)),w={favorite:E.indexOf("favorite"),remove:E.indexOf("remove")},F=(0,o.useId)();return o.createElement(K,{...y,role:"row",id:C?.(g),className:i()(j.itemRow,a&&j.active,m&&j.mobile,s&&x&&null===b&&j.focused,v),tabIndex:p,onClick:W.bind(null,n),"data-role":"list-item","data-active":a,"aria-labelledby":F},h&&r&&o.createElement(V.FavoriteButton,{id:C?.(g,w.favorite),role:"cell",className:i()(j.favoriteButton,j.actionButton,l&&j.favorite,f.CheckMobile.any()&&j.mobile,s&&b===w.favorite&&j.focused,s&&x&&j.showOnFocus),isActive:a,isFilled:l,onClick:W.bind(null,r),"data-name":"list-item-favorite-button","data-role":"list-item-action","data-favorite":l}),o.createElement("div",{id:F,role:"cell",className:i()(j.itemInfo,!h&&j.itemInfoWithPadding)},o.createElement("div",{className:i()(j.title,a&&j.active,m&&j.mobile),"data-name":"list-item-title"},t),o.createElement("div",{className:i()(j.details,a&&j.active,m&&j.mobile)},d)),o.createElement(H.RemoveButton,{id:C?.(g,w.remove),role:"cell",className:i()(j.removeButton,j.actionButton,s&&b===w.remove&&j.focused,s&&x&&j.showOnFocus),isActive:a,onClick:W.bind(null,c),"data-name":"list-item-remove-button","data-role":"list-item-action",title:u,icon:Q}))}function W(e,t){t.defaultPrevented||(t.preventDefault(),e(t))}var Z=d(8892),z=d(77555),J=d(16780),_=d(42482),U=d(77982),$=d(46472),X=d(14856);const Y=o.createContext(null);var G=d(16910),ee=d(94646),te=d(2328);function de(){if(window&&!window.customElements.get("time-format")){class e extends HTMLElement{constructor(){super(),this.timestamp=NaN,this.connected=!1,this.shadowText=document.createTextNode("");this.attachShadow({mode:"closed"}).appendChild(this.shadowText)}connectedCallback(){this.connected=!0,this.updateText()}disconnectedCallback(){this.connected=!1}attributeChangedCallback(e,t,d){if("timestamp"===e){const e=ne(d);if(!e)return;this.timestamp=e}if("locale"===e&&(this.locale=d||void 0),"from"===e||"to"===e){if(!d)return;if(!(0,te.isValidTimeOptionsRange)(d))return;this[e]=d}"date-style"===e&&(this.dateStyle=d&&(0,te.isValidTimeOptionsDateStyle)(d)?d:void 0),"time-zone-name"===e&&(this.timeZoneName=ue(d)),"weekday"===e&&(this.weekday=ue(d)),"fractional-second-digits"===e&&(this.fractionalSecondDigits=ne(d)),"time-zone"===e&&(this.timeZone=d||void 0),this.updateText()}updateText(){if(this.connected&&!isNaN(this.timestamp))try{this.shadowText.nodeValue=(0,te.formatTime)(this.timestamp,this.locale,this.from,this.to,{dateStyle:this.dateStyle,timeZone:this.timeZone,
timeZoneName:this.timeZoneName,weekday:this.weekday,fractionalSecondDigits:this.fractionalSecondDigits})}catch(e){return void 0}}}e.observedAttributes=["timestamp","locale","from","to","date-style","time-zone-name","weekday","fractional-second-digits","time-zone"],window.customElements.define("time-format",e)}}function ue(e){return"true"===e||"false"!==e&&void 0}function ne(e){if(!e)return;const t=parseInt(e,10);return isNaN(t)?void 0:t}var oe=d(69947);function re(e){const{locale:t,timestamp:d,from:u,to:n,weekday:r,timeZone:i,timeZoneName:c,dateStyle:a,fractionalSecondDigits:l}=e,s=new Date(d),f=s.valueOf(),m=isNaN(f)?void 0:s.toISOString();return(0,oe.useIsomorphicLayoutEffect)(de,[]),o.createElement("time",{dateTime:m},o.createElement("time-format",{locale:t,timestamp:f,from:u,to:n,"time-zone":i,"time-zone-name":c,"date-style":a,"fractional-second-digits":l,weekday:r}))}var ie=d(89482);const ce=(0,a.isFeaturesetEnabled)("items_favoriting");function ae(e){const{index:t,style:u}=e,{focusedItemIndex:n,items:r,onClose:c,chartWidgetCollection:a,favorites:s,handleTrackEvent:f,searchString:m,focusVisible:h,focusedActionIndex:b,onRemoveCanceled:v,returnFocus:p}=(0,X.useEnsuredContext)(Y),g=r[t],x=t===n,[C,y]=(0,o.useState)((()=>g.active())),[E,w]=(0,o.useState)(!1),F=g.url?function(e){const t=e.chartId?`/chart/${e.chartId}/`:"/chart/",d=new URL(t,location.href);return e.symbol&&d.searchParams.append("symbol",e.symbol),e.interval&&d.searchParams.append("interval",e.interval),e.style&&d.searchParams.append("style",e.style),(0,P.urlWithMobileAppParams)(d.href)}({chartId:g.url}):void 0,I=(0,o.useContext)(J.SlotContext),S=(0,o.useMemo)((()=>1e3*g.modified),[g]),k=(0,o.useMemo)((()=>(0,U.createRegExpList)(m)),[m]),N=i()(ie.highlight,C&&ie.active);return(0,o.useEffect)((()=>(a&&a.metaInfo.id.subscribe(M),()=>{a&&a.metaInfo.id.unsubscribe(M)})),[]),o.createElement(q,{url:F,index:t,tabIndex:-1,style:u,title:o.createElement(G.LeadingEmojiText,{text:g.name,textRender:e=>o.createElement(_.HighlightedText,{className:N,queryString:m,rules:k,text:e})}),subtitle:o.createElement(o.Fragment,null,o.createElement(_.HighlightedText,{className:N,queryString:m,rules:k,text:g.description})," ","(",o.createElement(re,{locale:(0,ee.getLocaleIso)(),timestamp:S,from:"year",to:"minute"}),")"),onClick:function(e){0;g.openAction(!0),!1},focusVisible:h,onClickFavorite:function(){0;g.favoriteAction()},showFavorite:ce,onClickRemove:async function(){if(E)return;w(!0);const e=await async function(e){const t=l.t(null,{replace:{name:e.name}},d(16782));return t}(g);w(!1),(0,Z.showConfirm)({title:l.t(null,{context:"confirm_dialog_title"},d(10009)),text:e,mainButtonText:l.t(null,{context:"action"},d(73599)),mainButtonIntent:"danger",cancelButtonText:l.t(null,{context:"action"},d(30933)),onConfirm:({dialogClose:e})=>{!function(){0;g.deleteAction(),p(null,t)}(),e()},onClose:()=>{v()}},I)},isFavorite:Boolean(s[g.id]),isFocused:x,focusedActionIndex:b,isActive:C,"aria-selected":C,getElementId:$.getElementId,"data-name":"load-chart-dialog-item"});function M(e){
y(g.id===e)}}var le=d(11463),se=d(38196),fe=d(52462),me=d(49841),he=d(47097),be=d(40895),ve=d(87750);function pe(e){const t=(0,m.useWatchedValueReadonly)({watchedValue:me.watchedTheme})===he.StdTheme.Dark?be:ve;return o.createElement(fe.ContentIsNotFound,{className:e.className,icon:t,description:e.description})}var ge=d(65946),xe=d(93156);const Ce={sortField:"modified",sortDirection:1},ye=function(e){const{paddingTop:t=0,paddingBottom:d=0}=e;return(0,o.forwardRef)((({style:e,...u},n)=>{const{height:r=0}=e;return o.createElement("div",{ref:n,style:{...e,height:`${((0,M.isNumber)(r)?r:parseFloat(r))+t+d}px`},...u})}))}({paddingBottom:6});function Ee(e){let t;try{t=(0,z.getTranslatedResolution)(e)}catch(d){t=e}return t}const we=(0,a.isFeaturesetEnabled)("items_favoriting");function Fe(e){const{onClose:t,chartWidgetCollection:u,serviceState:n}=e,[r,a]=(0,o.useState)(""),[b,v]=(0,o.useState)(r),p=(0,o.useRef)(null),[g,x]=(0,o.useState)((()=>s.getJSON("loadChartDialog.viewState",Ce))),C=(0,o.useRef)(null),E=(0,o.useRef)(null),w=(0,o.useRef)(null),{chartList:S,favorites:M}=(0,m.useWatchedValueReadonly)({watchedValue:n}),D=(0,o.useMemo)((()=>S.map((e=>({...e,description:`${e.symbol}, ${Ee(e.interval)}`})))),[S]);(0,o.useEffect)((()=>{f.CheckMobile.any()||(0,c.ensureNotNull)(C.current).focus()}),[]);const R=(0,o.useRef)();(0,o.useEffect)((()=>(R.current=setTimeout((()=>{a(b)}),300),()=>{clearTimeout(R.current)})),[b]);const O=(0,o.useCallback)((()=>!0),[]),A=(0,o.useMemo)((()=>{return(0,U.rankedSearch)({data:D.sort((e=g.sortDirection,(t,d)=>{if(!se.showFavoriteLayouts){if(M[t.id]&&!M[d.id])return-1;if(!M[t.id]&&M[d.id])return 1}const u=0===e?1:-1;return"modified"===g.sortField?u*(t.modified-d.modified):u*(0,ge.localeCompareEmojiTitles)(t.name,d.name)})),rules:(0,U.createRegExpList)(r),queryString:r,primaryKey:"name",secondaryKey:"description"});var e}),[r,g,D,!se.showFavoriteLayouts&&M]);(0,o.useEffect)((()=>{V()}),[b]);const{handleKeyDown:T,handleForceFocus:L,handleSearchRefBlur:P,resetFocusState:V,restoreFocusState:H,focusVisible:K,focusedItemIndex:Q,focusedActionIndex:j,onDialogClick:q,setFocusedActionIndex:W,setFocusedItemIndex:Z}=(0,$.useSearchDialogKeyboardNavigation)({dialogRef:p,searchInputRef:C,contentContainerRef:w,getNextFocusedItemIndex:function(e,t){if(null===e)return 0;return(2*A.length+t+e)%A.length},isNavigationDisabled:!A.length,scrollToFocusedItem:function(e,t){E.current?.scrollToItem(t,"smart")}}),z={focusedItemIndex:Q,items:A,onClose:t,chartWidgetCollection:u,favorites:M,handleTrackEvent:G,searchString:r,focusVisible:K,focusedActionIndex:j,onRemoveCanceled:function(){p.current?.focus(),te(null,Q)},returnFocus:te},J=(0,o.useId)();return o.createElement(h.AdaptivePopupDialog,{ref:p,onClose:t,onClick:q,onClickOutside:t,onKeyDown:T,onForceFocus:L,isOpened:!0,className:xe.dialog,title:l.t(null,void 0,d(97588)),dataName:"load-layout-dialog",render:function(){return o.createElement(o.Fragment,null,o.createElement(I.DialogSearch,{reference:C,onChange:X,activeDescendant:null!==Q?(0,$.getElementId)(Q,j):void 0,
onBlur:P,onFocus:H,placeholder:l.t(null,void 0,d(52127)),"aria-controls":J,"aria-owns":J,"aria-haspopup":"listbox"}),A.length?o.createElement(o.Fragment,null,o.createElement(k,{className:i()(!we&&xe.contentHeader)},o.createElement(N,{title:l.t(null,void 0,d(32133))}),o.createElement(y,{sortDirection:g.sortDirection,title:l.t(null,void 0,d(2432)),"data-name":"load-chart-dialog-sort-button"},o.createElement(F,{label:l.t(null,void 0,d(24359)),listSortField:g.sortField,itemSortField:"title",listSortDirection:g.sortDirection,itemSortDirection:0,onClick:ee,"data-name":"load-chart-dialog-sort-menu-item"}),o.createElement(F,{label:l.t(null,void 0,d(54608)),listSortField:g.sortField,itemSortField:"title",listSortDirection:g.sortDirection,itemSortDirection:1,onClick:ee,"data-name":"load-chart-dialog-sort-menu-item"}),o.createElement(F,{label:l.t(null,void 0,d(30325)),listSortField:g.sortField,itemSortField:"modified",listSortDirection:g.sortDirection,itemSortDirection:0,onClick:ee,"data-name":"load-chart-dialog-sort-menu-item"}),o.createElement(F,{label:l.t(null,void 0,d(57316)),listSortField:g.sortField,itemSortField:"modified",listSortDirection:g.sortDirection,itemSortDirection:1,onClick:ee,"data-name":"load-chart-dialog-sort-menu-item"}))),o.createElement(Y.Provider,{value:z},o.createElement(B,{id:J,role:"grid",scrollbar:"native",contentContainerRef:w,reference:E,itemCount:A.length,itemSize:52,className:xe.contentList,onScroll:_,innerElementType:ye,itemKey:e=>(M[A[e].id]?"f_":"")+A[e].id,children:ae}))):o.createElement(pe,{className:xe.emptyState,description:l.t(null,void 0,d(31290))}))},forceCloseOnEsc:O});function _(){le.globalCloseDelegate.fire()}function X(e){const t=e.currentTarget.value;v(t)}function G(e){0}function ee(e,t){const d={sortField:e,sortDirection:t};x(d),s.setValue("loadChartDialog.viewState",JSON.stringify(d),{forceFlush:!0}),G()}function te(e,t){C.current?.focus(),W(e),Z(t)}}var Ie=d(87740),Se=d(64483);class ke extends Ie.DialogRenderer{constructor(e){super(),this._options=e}show(){this.visible().value()||(this._rootInstance=(0,Se.createReactRoot)(o.createElement(Fe,{...this._options,onClose:()=>this.hide()}),this._container),this._setVisibility(!0))}hide(){this._rootInstance?.unmount(),this._setVisibility(!1)}}},43616:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M3.92 7.83 9 12.29l5.08-4.46-1-1.13L9 10.29l-4.09-3.6-.99 1.14Z"/></svg>'},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>'},40895:e=>{
e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120" width="120" height="120"><path fill="#B2B5BE" fill-rule="evenodd" d="M23 39a36 36 0 0 1 72 0v13.15l15.1 8.44 2.16 1.2-1.64 1.86-12.85 14.59 3.73 4.03L98.57 85 95 81.13V117H77v-12H67v9H50V95H40v22H23V81.28l-3.8 3.61-2.76-2.9 4.05-3.84-12.77-14.5-1.64-1.86 2.16-1.2L23 52.34V39Zm72 36.33 10.98-12.46L95 56.73v18.6ZM23 56.92v18.03L12.35 62.87 23 56.92ZM59 7a32 32 0 0 0-32 32v74h9V91h18v19h9v-9h18v12h10V39A32 32 0 0 0 59 7Zm-7 36a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm19 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"/></svg>'},87750:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120" width="120" height="120"><path fill="#131722" fill-rule="evenodd" d="M23 39a36 36 0 0 1 72 0v13.15l15.1 8.44 2.16 1.2-1.64 1.86-12.85 14.59 3.73 4.03L98.57 85 95 81.13V117H77v-12H67v9H50V95H40v22H23V81.28l-3.8 3.61-2.76-2.9 4.05-3.84-12.77-14.5-1.64-1.86 2.16-1.2L23 52.34V39Zm72 36.33 10.98-12.46L95 56.73v18.6ZM23 56.92v18.03L12.35 62.87 23 56.92ZM59 7a32 32 0 0 0-32 32v74h9V91h18v19h9v-9h18v12h10V39A32 32 0 0 0 59 7Zm-7 36a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm19 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"/></svg>'},27145: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>'},18662: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>'},78275:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill="currentColor" fill-rule="evenodd" d="M18.5 12.5a6 6 0 1 1-12 0 6 6 0 0 1 12 0Zm-1.25 5.8a7.5 7.5 0 1 1 1.06-1.06l4.22 4.23.53.53L22 23.06l-.53-.53-4.22-4.22Z"/></svg>'},92003:e=>{e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" d="M17.4 17.5a7 7 0 1 0-4.9 2c1.9 0 3.64-.76 4.9-2zm0 0l5.1 5"/></svg>'},60603:(e,t,d)=>{"use strict";d.d(t,{default:()=>u});const u=function(){var e={base:"https://twemoji.maxcdn.com/v/13.0.1/",ext:".png",size:"72x72",className:"emoji",convert:{fromCodePoint:function(e){var t="string"==typeof e?parseInt(e,16):e;if(t<65536)return i(t);return i(55296+((t-=65536)>>10),56320+(1023&t))},toCodePoint:p},onerror:function(){this.parentNode&&this.parentNode.replaceChild(c(this.alt,!1),this)},parse:function(t,d){d&&"function"!=typeof d||(d={callback:d});return("string"==typeof t?m:f)(t,{callback:d.callback||a,attributes:"function"==typeof d.attributes?d.attributes:b,base:"string"==typeof d.base?d.base:e.base,ext:d.ext||e.ext,size:d.folder||(u=d.size||e.size,"number"==typeof u?u+"x"+u:u),className:d.className||e.className,onerror:d.onerror||e.onerror});var u},replace:v,test:function(e){d.lastIndex=0;var t=d.test(e);return d.lastIndex=0,
t}},t={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"
},d=/(?:\ud83d\udc68\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc68\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc68\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1|\ud83d\udc6b\ud83c[\udffb-\udfff]|\ud83d\udc6c\ud83c[\udffb-\udfff]|\ud83d\udc6d\ud83c[\udffb-\udfff]|\ud83d[\udc6b-\udc6d])|(?:\ud83d[\udc68\udc69]|\ud83e\uddd1)(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf7c\udf84\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddaf-\uddb3\uddbc\uddbd])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc70\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddcd-\uddcf\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc15\u200d\ud83e\uddba|\ud83d\udc3b\u200d\u2744\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f|\ud83d\udc08\u200d\u2b1b)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26a7\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd0c\udd0f\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\udd77\uddb5\uddb6\uddb8\uddb9\uddbb\uddcd-\uddcf\uddd1-\udddd]|[\u270a\u270b]))(?:\ud83c[\udffb-\udfff])?|(?:\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\uded5-\uded7\udeeb\udeec\udef4-\udefc\udfe0-\udfeb]|\ud83e[\udd0d\udd0e\udd10-\udd17\udd1d\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd3f-\udd45\udd47-\udd76\udd78\udd7a-\uddb4\uddb7\uddba\uddbc-\uddcb\uddd0\uddde-\uddff\ude70-\ude74\ude78-\ude7a\ude80-\ude86\ude90-\udea8\udeb0-\udeb6\udec0-\udec2\uded0-\uded6]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g,u=/\uFE0F/g,n=String.fromCharCode(8205),o=/[&<>'"]/g,r=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,i=String.fromCharCode
;return e;function c(e,t){return document.createTextNode(t?e.replace(u,""):e)}function a(e,t){return"".concat(t.base,t.size,"/",e,t.ext)}function l(e,t){for(var d,u,n=e.childNodes,o=n.length;o--;)3===(u=(d=n[o]).nodeType)?t.push(d):1!==u||"ownerSVGElement"in d||r.test(d.nodeName.toLowerCase())||l(d,t);return t}function s(e){return p(e.indexOf(n)<0?e.replace(u,""):e)}function f(e,t){for(var u,n,o,r,i,a,f,m,h,b,v,p,g,x=l(e,[]),C=x.length;C--;){for(o=!1,r=document.createDocumentFragment(),a=(i=x[C]).nodeValue,m=0;f=d.exec(a);){if((h=f.index)!==m&&r.appendChild(c(a.slice(m,h),!0)),p=s(v=f[0]),m=h+v.length,g=t.callback(p,t),p&&g){for(n in(b=new Image).onerror=t.onerror,b.setAttribute("draggable","false"),u=t.attributes(v,p))u.hasOwnProperty(n)&&0!==n.indexOf("on")&&!b.hasAttribute(n)&&b.setAttribute(n,u[n]);b.className=t.className,b.alt=v,b.src=g,o=!0,r.appendChild(b)}b||r.appendChild(c(v,!1)),b=null}o&&(m<a.length&&r.appendChild(c(a.slice(m),!0)),i.parentNode.replaceChild(r,i))}return e}function m(e,t){return v(e,(function(e){var d,u,n=e,r=s(e),i=t.callback(r,t);if(r&&i){for(u in n="<img ".concat('class="',t.className,'" ','draggable="false" ','alt="',e,'"',' src="',i,'"'),d=t.attributes(e,r))d.hasOwnProperty(u)&&0!==u.indexOf("on")&&-1===n.indexOf(" "+u+"=")&&(n=n.concat(" ",u,'="',d[u].replace(o,h),'"'));n=n.concat("/>")}return n}))}function h(e){return t[e]}function b(){return null}function v(e,t){return String(e).replace(d,t)}function p(e,t){for(var d=[],u=0,n=0,o=0;o<e.length;)u=e.charCodeAt(o++),n?(d.push((65536+(n-55296<<10)+(u-56320)).toString(16)),n=0):55296<=u&&u<=56319?n=u:d.push(u.toString(16));return d.join(t||"-")}}()},90353:e=>{"use strict";e.exports=JSON.parse('{"size-header-height":"64px","media-phone-vertical":"all and (max-width: 479px)","media-show-drawer":"all and (max-width: 567px)","media-mf-phone-landscape":"all and (min-width: 568px)"}')}}]);