@kylincloud/flamegraph 0.35.19 → 0.35.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.node.cjs.js +1 -1
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.esm.js +1 -1
- package/dist/index.node.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/FlameGraph/FlameGraphComponent/DiffLegendPaletteDropdown.tsx +1 -1
- package/src/SharedQueryInput.module.scss +20 -14
package/dist/index.cjs.js
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
10
10
|
* Copyright 2025 Fonticons, Inc.
|
|
11
11
|
*/
|
|
12
|
-
function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function G(e,t,a){return t&&function(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,L(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function y(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=X(e))||t){a&&(e=a);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,l=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return r=e.done,e},e:function(e){l=!0,o=e},f:function(){try{r||null==a.return||a.return()}finally{if(l)throw o}}}}function I(e,t,a){return(t=L(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function F(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?B(Object(a),!0).forEach(function(t){I(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):B(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,i,o,r,l=[],s=!0,c=!1;try{if(o=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;s=!1}else for(;!(s=(n=o.call(a)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=a.return&&(r=a.return(),Object(r)!==r))return}finally{if(c)throw i}}return l}}(e,t)||X(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||X(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function X(e,t){if(e){if("string"==typeof e)return v(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?v(e,t):void 0}}var W=function(){},C={},R={},D=null,U={mark:W,measure:W};try{"undefined"!=typeof window&&(C=window),"undefined"!=typeof document&&(R=document),"undefined"!=typeof MutationObserver&&(D=MutationObserver),"undefined"!=typeof performance&&(U=performance)}catch(re){}var k=(C.navigator||{}).userAgent,Y=void 0===k?"":k,V=C,j=R,_=D,S=U;V.document;var M,J=!!j.documentElement&&!!j.head&&"function"==typeof j.addEventListener&&"function"==typeof j.createElement,E=~Y.indexOf("MSIE")||~Y.indexOf("Trident/"),z={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},A=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],O="classic",H="duotone",T="sharp",P="sharp-duotone",K="chisel",$="etch",q="jelly",ee="jelly-duo",te="jelly-fill",ae="notdog",ne="notdog-duo",ie="slab",oe="slab-press",re="thumbprint",le="utility",se="utility-duo",ce="utility-fill",de="whiteboard",ue=[O,H,T,P,K,$,q,ee,te,ae,ne,ie,oe,re,le,se,ce,de];I(I(I(I(I(I(I(I(I(I(M={},O,"Classic"),H,"Duotone"),T,"Sharp"),P,"Sharp Duotone"),K,"Chisel"),$,"Etch"),q,"Jelly"),ee,"Jelly Duo"),te,"Jelly Fill"),ae,"Notdog"),I(I(I(I(I(I(I(I(M,ne,"Notdog Duo"),ie,"Slab"),oe,"Slab Press"),re,"Thumbprint"),le,"Utility"),se,"Utility Duo"),ce,"Utility Fill"),de,"Whiteboard");var me=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),be=["fak","fa-kit","fakd","fa-kit-duotone"],fe={fak:"kit","fa-kit":"kit"},he={fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"};I(I({},"kit","Kit"),"kit-duotone","Kit Duotone");var ge,pe={kit:"fak"},xe={"kit-duotone":"fakd"},Qe="duotone-group",ve="swap-opacity",Ge="primary",ye="secondary";I(I(I(I(I(I(I(I(I(I(ge={},"classic","Classic"),"duotone","Duotone"),"sharp","Sharp"),"sharp-duotone","Sharp Duotone"),"chisel","Chisel"),"etch","Etch"),"jelly","Jelly"),"jelly-duo","Jelly Duo"),"jelly-fill","Jelly Fill"),"notdog","Notdog"),I(I(I(I(I(I(I(I(ge,"notdog-duo","Notdog Duo"),"slab","Slab"),"slab-press","Slab Press"),"thumbprint","Thumbprint"),"utility","Utility"),"utility-duo","Utility Duo"),"utility-fill","Utility Fill"),"whiteboard","Whiteboard");I(I({},"kit","Kit"),"kit-duotone","Kit Duotone");var Ie={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},Be=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"]),Fe=[1,2,3,4,5,6,7,8,9,10],Ze=Fe.concat([11,12,13,14,15,16,17,18,19,20]),Ne=[].concat(N(Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]})),["solid","regular","light","thin","duotone","brands","semibold"],["aw","fw","pull-left","pull-right"],["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",Qe,ve,Ge,ye]).concat(Fe.map(function(e){return"".concat(e,"x")})).concat(Ze.map(function(e){return"w-".concat(e)})),Le="___FONT_AWESOME___",we="svg-inline--fa",Xe="data-fa-i2svg",We="data-fa-pseudo-element",Ce="data-prefix",Re="data-icon",De="fontawesome-i2svg",Ue=["HTML","HEAD","STYLE","SCRIPT"],ke=["::before","::after",":before",":after"],Ye=function(){try{return"production"===process.env.NODE_ENV}catch(e){return!1}}();function Ve(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[O]}})}var je=F({},z);je[O]=F(F(F(F({},{"fa-duotone":"duotone"}),z[O]),fe),he);var _e=Ve(je),Se=F({},{chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}});Se[O]=F(F(F(F({},{duotone:"fad"}),Se[O]),pe),xe);var Me=Ve(Se),Je=F({},Ie);Je[O]=F(F({},Je[O]),{fak:"fa-kit"});var Ee=Ve(Je),ze=F({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}});ze[O]=F(F({},ze[O]),{"fa-kit":"fak"}),Ve(ze);var Ae=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Oe="fa-layers-text",He=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i;Ve(F({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}}));var Te=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Pe={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},Ke=[].concat(N(["kit"]),N(Ne)),$e=V.FontAwesomeConfig||{};if(j&&"function"==typeof j.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(e){var t=Z(e,2),a=t[0],n=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=j.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(a));null!=i&&($e[n]=i)})}var qe={styleDefault:"solid",familyDefault:O,cssPrefix:"fa",replacementClass:we,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};$e.familyPrefix&&($e.cssPrefix=$e.familyPrefix);var et=F(F({},qe),$e);et.autoReplaceSvg||(et.observeMutations=!1);var tt={};Object.keys(qe).forEach(function(e){Object.defineProperty(tt,e,{enumerable:!0,set:function(t){et[e]=t,at.forEach(function(e){return e(tt)})},get:function(){return et[e]}})}),Object.defineProperty(tt,"familyPrefix",{enumerable:!0,set:function(e){et.cssPrefix=e,at.forEach(function(e){return e(tt)})},get:function(){return et.cssPrefix}}),V.FontAwesomeConfig=tt;var at=[];var nt=16,it={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function ot(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function rt(e){for(var t=[],a=(e||[]).length>>>0;a--;)t[a]=e[a];return t}function lt(e){return e.classList?rt(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(e){return e})}function st(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function ct(e){return Object.keys(e||{}).reduce(function(t,a){return t+"".concat(a,": ").concat(e[a].trim(),";")},"")}function dt(e){return e.size!==it.size||e.x!==it.x||e.y!==it.y||e.rotate!==it.rotate||e.flipX||e.flipY}function ut(){var e="fa",t=we,a=tt.cssPrefix,n=tt.replacementClass,i=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";\n --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";\n --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";\n --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";\n --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";\n --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";\n --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";\n --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";\n --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";\n --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";\n --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";\n --fa-font-utility-semibold: normal 600 1em/1 "Font Awesome 7 Utility";\n --fa-font-utility-duo-semibold: normal 600 1em/1 "Font Awesome 7 Utility Duo";\n --fa-font-utility-fill-semibold: normal 600 1em/1 "Font Awesome 7 Utility Fill";\n}\n\n.svg-inline--fa {\n box-sizing: content-box;\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285714em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left,\n.svg-inline--fa .fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n inset: 0;\n margin: auto;\n position: absolute;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xs {\n font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-sm {\n font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-lg {\n font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xl {\n font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-2xl {\n font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-width-auto {\n --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n --fa-width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-inline-start: var(--fa-li-margin, 2.5em);\n padding-inline-start: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n/* Heads Up: Bordered Icons will not be supported in the future!\n - This feature will be deprecated in the next major release of Font Awesome (v8)!\n - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it\'s vertical alignment)\n ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\n*/\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.0625em);\n box-sizing: var(--fa-border-box-sizing, content-box);\n padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n animation: none !important;\n transition: none !important;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.svg-inline--fa.fa-inverse {\n fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n --fa-width: 1.25em;\n height: 1em;\n width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n --fa-width: 2.5em;\n height: 2em;\n width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n inset: 0;\n margin: auto;\n position: absolute;\n z-index: var(--fa-stack-z-index, auto);\n}';if(a!==e||n!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),r=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(a,"-")).replace(r,"--".concat(a,"-")).replace(l,".".concat(n))}return i}var mt=!1;function bt(){tt.autoAddCss&&!mt&&(!function(e){if(e&&J){var t=j.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var a=j.head.childNodes,n=null,i=a.length-1;i>-1;i--){var o=a[i],r=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(r)>-1&&(n=o)}j.head.insertBefore(t,n)}}(ut()),mt=!0)}var ft={mixout:function(){return{dom:{css:ut,insertCss:bt}}},hooks:function(){return{beforeDOMElementCreation:function(){bt()},beforeI2svg:function(){bt()}}}},ht=V||{};ht[Le]||(ht[Le]={}),ht[Le].styles||(ht[Le].styles={}),ht[Le].hooks||(ht[Le].hooks={}),ht[Le].shims||(ht[Le].shims=[]);var gt=ht[Le],pt=[],xt=function(){j.removeEventListener("DOMContentLoaded",xt),Qt=1,pt.map(function(e){return e()})},Qt=!1;function vt(e){var t=e.tag,a=e.attributes,n=void 0===a?{}:a,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?st(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(function(t,a){return t+"".concat(a,'="').concat(st(e[a]),'" ')},"").trim()}(n),">").concat(o.map(vt).join(""),"</").concat(t,">")}function Gt(e,t,a){if(e&&e[t]&&e[t][a])return{prefix:t,iconName:a,icon:e[t][a]}}J&&((Qt=(j.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(j.readyState))||j.addEventListener("DOMContentLoaded",xt));var yt=function(e,t,a,n){var i,o,r,l=Object.keys(e),s=l.length,c=t;for(void 0===a?(i=1,r=e[l[0]]):(i=0,r=a);i<s;i++)r=c(r,e[o=l[i]],o,e);return r};function It(e){return 1!==N(e).length?null:e.codePointAt(0).toString(16)}function Bt(e){return Object.keys(e).reduce(function(t,a){var n=e[a];return!!n.icon?t[n.iconName]=n.icon:t[a]=n,t},{})}function Ft(e,t){var a=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,n=void 0!==a&&a,i=Bt(t);"function"!=typeof gt.hooks.addPack||n?gt.styles[e]=F(F({},gt.styles[e]||{}),i):gt.hooks.addPack(e,Bt(t)),"fas"===e&&Ft("fa",t)}var Zt=gt.styles,Nt=gt.shims,Lt=Object.keys(Ee),wt=Lt.reduce(function(e,t){return e[t]=Object.keys(Ee[t]),e},{}),Xt=null,Wt={},Ct={},Rt={},Dt={},Ut={};function kt(e,t){var a,n=t.split("-"),i=n[0],o=n.slice(1).join("-");return i!==e||""===o||(a=o,~Ke.indexOf(a))?null:o}var Yt,Vt=function(){var e=function(e){return yt(Zt,function(t,a,n){return t[n]=yt(a,e,{}),t},{})};Wt=e(function(e,t,a){(t[3]&&(e[t[3]]=a),t[2])&&t[2].filter(function(e){return"number"==typeof e}).forEach(function(t){e[t.toString(16)]=a});return e}),Ct=e(function(e,t,a){(e[a]=a,t[2])&&t[2].filter(function(e){return"string"==typeof e}).forEach(function(t){e[t]=a});return e}),Ut=e(function(e,t,a){var n=t[2];return e[a]=a,n.forEach(function(t){e[t]=a}),e});var t="far"in Zt||tt.autoFetchSvg,a=yt(Nt,function(e,a){var n=a[0],i=a[1],o=a[2];return"far"!==i||t||(i="fas"),"string"==typeof n&&(e.names[n]={prefix:i,iconName:o}),"number"==typeof n&&(e.unicodes[n.toString(16)]={prefix:i,iconName:o}),e},{names:{},unicodes:{}});Rt=a.names,Dt=a.unicodes,Xt=Jt(tt.styleDefault,{family:tt.familyDefault})};function jt(e,t){return(Wt[e]||{})[t]}function _t(e,t){return(Ut[e]||{})[t]}function St(e){return Rt[e]||{prefix:null,iconName:null}}function Mt(){return Xt}Yt=function(e){Xt=Jt(e.styleDefault,{family:tt.familyDefault})},at.push(Yt),Vt();function Jt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,a=void 0===t?O:t,n=_e[a][e];if(a===H&&!e)return"fad";var i=Me[a][e]||Me[a][n],o=e in gt.styles?e:null;return i||o||null}function Et(e){return e.sort().filter(function(e,t,a){return a.indexOf(e)===t})}var zt=Be.concat(be);function At(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,a=void 0!==t&&t,n=null,i=Et(e.filter(function(e){return zt.includes(e)})),o=Et(e.filter(function(e){return!zt.includes(e)})),r=Z(i.filter(function(e){return n=e,!A.includes(e)}),1)[0],l=void 0===r?null:r,s=function(e){var t=O,a=Lt.reduce(function(e,t){return e[t]="".concat(tt.cssPrefix,"-").concat(t),e},{});return ue.forEach(function(n){(e.includes(a[n])||e.some(function(e){return wt[n].includes(e)}))&&(t=n)}),t}(i),c=F(F({},function(e){var t=[],a=null;return e.forEach(function(e){var n=kt(tt.cssPrefix,e);n?a=n:e&&t.push(e)}),{iconName:a,rest:t}}(o)),{},{prefix:Jt(l,{family:s})});return F(F(F({},c),function(e){var t=e.values,a=e.family,n=e.canonical,i=e.givenPrefix,o=void 0===i?"":i,r=e.styles,l=void 0===r?{}:r,s=e.config,c=void 0===s?{}:s,d=a===H,u=t.includes("fa-duotone")||t.includes("fad"),m="duotone"===c.familyDefault,b="fad"===n.prefix||"fa-duotone"===n.prefix;!d&&(u||m||b)&&(n.prefix="fad");(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab");if(!n.prefix&&Ot.includes(a)){if(Object.keys(l).find(function(e){return Ht.includes(e)})||c.autoFetchSvg){var f=me.get(a).defaultShortPrefixId;n.prefix=f,n.iconName=_t(n.prefix,n.iconName)||n.iconName}}"fa"!==n.prefix&&"fa"!==o||(n.prefix=Mt()||"fas");return n}({values:e,family:s,styles:Zt,config:tt,canonical:c,givenPrefix:n})),function(e,t,a){var n=a.prefix,i=a.iconName;if(e||!n||!i)return{prefix:n,iconName:i};var o="fa"===t?St(i):{},r=_t(n,i);i=o.iconName||r||i,"far"!==(n=o.prefix||n)||Zt.far||!Zt.fas||tt.autoFetchSvg||(n="fas");return{prefix:n,iconName:i}}(a,n,c))}var Ot=ue.filter(function(e){return e!==O||e!==H}),Ht=Object.keys(Ie).filter(function(e){return e!==O}).map(function(e){return Object.keys(Ie[e])}).flat();var Tt=function(){return G(function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}},[{key:"add",value:function(){for(var e=this,t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];var i=a.reduce(this._pullDefinitions,{});Object.keys(i).forEach(function(t){e.definitions[t]=F(F({},e.definitions[t]||{}),i[t]),Ft(t,i[t]);var a=Ee[O][t];a&&Ft(a,i[t]),Vt()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var a=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(a).map(function(t){var n=a[t],i=n.prefix,o=n.iconName,r=n.icon,l=r[2];e[i]||(e[i]={}),l.length>0&&l.forEach(function(t){"string"==typeof t&&(e[i][t]=r)}),e[i][o]=r}),e}}])}(),Pt=[],Kt={},$t={},qt=Object.keys($t);function ea(e,t){for(var a=arguments.length,n=new Array(a>2?a-2:0),i=2;i<a;i++)n[i-2]=arguments[i];return(Kt[e]||[]).forEach(function(e){t=e.apply(null,[t].concat(n))}),t}function ta(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),n=1;n<t;n++)a[n-1]=arguments[n];(Kt[e]||[]).forEach(function(e){e.apply(null,a)})}function aa(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return $t[e]?$t[e].apply(null,t):void 0}function na(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,a=e.prefix||Mt();if(t)return t=_t(a,t)||t,Gt(ia.definitions,a,t)||Gt(gt.styles,a,t)}var ia=new Tt,oa={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return J?(ta("beforeI2svg",e),aa("pseudoElements2svg",e),aa("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.autoReplaceSvgRoot;!1===tt.autoReplaceSvg&&(tt.autoReplaceSvg=!0),tt.observeMutations=!0,e=function(){la({autoReplaceSvgRoot:a}),ta("watch",t)},J&&(Qt?setTimeout(e,0):pt.push(e))}},ra={noAuto:function(){tt.autoReplaceSvg=!1,tt.observeMutations=!1,ta("noAuto")},config:tt,dom:oa,parse:{icon:function(e){if(null===e)return null;if("object"===w(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:_t(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],a=Jt(e[0]);return{prefix:a,iconName:_t(a,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(tt.cssPrefix,"-"))>-1||e.match(Ae))){var n=At(e.split(" "),{skipLookups:!0});return{prefix:n.prefix||Mt(),iconName:_t(n.prefix,n.iconName)||n.iconName}}if("string"==typeof e){var i=Mt();return{prefix:i,iconName:_t(i,e)||e}}}},library:ia,findIconDefinition:na,toHtml:vt},la=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?j:e;(Object.keys(gt.styles).length>0||tt.autoFetchSvg)&&J&&tt.autoReplaceSvg&&ra.dom.i2svg({node:t})};function sa(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return vt(e)})}}),Object.defineProperty(e,"node",{get:function(){if(J){var t=j.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function ca(e){var t=e.icons,a=t.main,n=t.mask,i=e.prefix,o=e.iconName,r=e.transform,l=e.symbol,s=e.maskId,c=e.extra,d=e.watchable,u=void 0!==d&&d,m=n.found?n:a,b=m.width,f=m.height,h=[tt.replacementClass,o?"".concat(tt.cssPrefix,"-").concat(o):""].filter(function(e){return-1===c.classes.indexOf(e)}).filter(function(e){return""!==e||!!e}).concat(c.classes).join(" "),g={children:[],attributes:F(F({},c.attributes),{},{"data-prefix":i,"data-icon":o,class:h,role:c.attributes.role||"img",viewBox:"0 0 ".concat(b," ").concat(f)})};(function(e){return["aria-label","aria-labelledby","title","role"].some(function(t){return t in e})})(c.attributes)||c.attributes["aria-hidden"]||(g.attributes["aria-hidden"]="true"),u&&(g.attributes[Xe]="");var p=F(F({},g),{},{prefix:i,iconName:o,main:a,mask:n,maskId:s,transform:r,symbol:l,styles:F({},c.styles)}),x=n.found&&a.found?aa("generateAbstractMask",p)||{children:[],attributes:{}}:aa("generateAbstractIcon",p)||{children:[],attributes:{}},Q=x.children,v=x.attributes;return p.children=Q,p.attributes=v,l?function(e){var t=e.prefix,a=e.iconName,n=e.children,i=e.attributes,o=e.symbol,r=!0===o?"".concat(t,"-").concat(tt.cssPrefix,"-").concat(a):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:F(F({},i),{},{id:r}),children:n}]}]}(p):function(e){var t=e.children,a=e.main,n=e.mask,i=e.attributes,o=e.styles,r=e.transform;if(dt(r)&&a.found&&!n.found){var l={x:a.width/a.height/2,y:.5};i.style=ct(F(F({},o),{},{"transform-origin":"".concat(l.x+r.x/16,"em ").concat(l.y+r.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(p)}function da(e){var t=e.content,a=e.width,n=e.height,i=e.transform,o=e.extra,r=e.watchable,l=void 0!==r&&r,s=F(F({},o.attributes),{},{class:o.classes.join(" ")});l&&(s[Xe]="");var c=F({},o.styles);dt(i)&&(c.transform=function(e){var t=e.transform,a=e.width,n=void 0===a?16:a,i=e.height,o=void 0===i?16:i,r="";return r+=E?"translate(".concat(t.x/nt-n/2,"em, ").concat(t.y/nt-o/2,"em) "):"translate(calc(-50% + ".concat(t.x/nt,"em), calc(-50% + ").concat(t.y/nt,"em)) "),r+="scale(".concat(t.size/nt*(t.flipX?-1:1),", ").concat(t.size/nt*(t.flipY?-1:1),") "),r+"rotate(".concat(t.rotate,"deg) ")}({transform:i,width:a,height:n}),c["-webkit-transform"]=c.transform);var d=ct(c);d.length>0&&(s.style=d);var u=[];return u.push({tag:"span",attributes:s,children:[t]}),u}var ua=gt.styles;function ma(e){var t=e[0],a=e[1],n=Z(e.slice(4),1)[0];return{found:!0,width:t,height:a,icon:Array.isArray(n)?{tag:"g",attributes:{class:"".concat(tt.cssPrefix,"-").concat(Pe.GROUP)},children:[{tag:"path",attributes:{class:"".concat(tt.cssPrefix,"-").concat(Pe.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(tt.cssPrefix,"-").concat(Pe.PRIMARY),fill:"currentColor",d:n[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:n}}}}var ba={found:!1,width:512,height:512};function fa(e,t){var a=t;return"fa"===t&&null!==tt.styleDefault&&(t=Mt()),new Promise(function(n,i){if("fa"===a){var o=St(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&ua[t]&&ua[t][e])return n(ma(ua[t][e]));!function(e,t){Ye||tt.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),n(F(F({},ba),{},{icon:tt.showMissingIcons&&e&&aa("missingIconAbstract")||{}}))})}var ha=function(){},ga=tt.measurePerformance&&S&&S.mark&&S.measure?S:{mark:ha,measure:ha},pa='FA "7.1.0"',xa=function(e){ga.mark("".concat(pa," ").concat(e," ends")),ga.measure("".concat(pa," ").concat(e),"".concat(pa," ").concat(e," begins"),"".concat(pa," ").concat(e," ends"))},Qa=function(e){return ga.mark("".concat(pa," ").concat(e," begins")),function(){return xa(e)}},va=function(){};function Ga(e){return"string"==typeof(e.getAttribute?e.getAttribute(Xe):null)}function ya(e){return j.createElementNS("http://www.w3.org/2000/svg",e)}function Ia(e){return j.createElement(e)}function Ba(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,a=void 0===t?"svg"===e.tag?ya:Ia:t;if("string"==typeof e)return j.createTextNode(e);var n=a(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){n.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){n.appendChild(Ba(e,{ceFn:a}))}),n}var Fa={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(e){t.parentNode.insertBefore(Ba(e),t)}),null===t.getAttribute(Xe)&&tt.keepOriginalSource){var a=j.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(a,t)}else t.remove()},nest:function(e){var t=e[0],a=e[1];if(~lt(t).indexOf(tt.replacementClass))return Fa.replace(e);var n=new RegExp("".concat(tt.cssPrefix,"-.*"));if(delete a[0].attributes.id,a[0].attributes.class){var i=a[0].attributes.class.split(" ").reduce(function(e,t){return t===tt.replacementClass||t.match(n)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});a[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var o=a.map(function(e){return vt(e)}).join("\n");t.setAttribute(Xe,""),t.innerHTML=o}};function Za(e){e()}function Na(e,t){var a="function"==typeof t?t:va;if(0===e.length)a();else{var n=Za;"async"===tt.mutateApproach&&(n=V.requestAnimationFrame||Za),n(function(){var t=!0===tt.autoReplaceSvg?Fa.replace:Fa[tt.autoReplaceSvg]||Fa.replace,n=Qa("mutate");e.map(t),n(),a()})}}var La=!1;function wa(){La=!0}function Xa(){La=!1}var Wa=null;function Ca(e){if(_&&tt.observeMutations){var t=e.treeCallback,a=void 0===t?va:t,n=e.nodeCallback,i=void 0===n?va:n,o=e.pseudoElementsCallback,r=void 0===o?va:o,l=e.observeMutationsRoot,s=void 0===l?j:l;Wa=new _(function(e){if(!La){var t=Mt();rt(e).forEach(function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Ga(e.addedNodes[0])&&(tt.searchPseudoElements&&r(e.target),a(e.target)),"attributes"===e.type&&e.target.parentNode&&tt.searchPseudoElements&&r([e.target],!0),"attributes"===e.type&&Ga(e.target)&&~Te.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Ce):null,a=e.getAttribute?e.getAttribute(Re):null;return t&&a}(e.target)){var n=At(lt(e.target)),o=n.prefix,l=n.iconName;e.target.setAttribute(Ce,o||t),l&&e.target.setAttribute(Re,l)}else(s=e.target)&&s.classList&&s.classList.contains&&s.classList.contains(tt.replacementClass)&&i(e.target);var s})}}),J&&Wa.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Ra(e){var t,a,n=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",r=At(lt(e));return r.prefix||(r.prefix=Mt()),n&&i&&(r.prefix=n,r.iconName=i),r.iconName&&r.prefix||(r.prefix&&o.length>0&&(r.iconName=(t=r.prefix,a=e.innerText,(Ct[t]||{})[a]||jt(r.prefix,It(e.innerText)))),!r.iconName&&tt.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=e.firstChild.data)),r}function Da(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},a=Ra(e),n=a.iconName,i=a.prefix,o=a.rest,r=function(e){return rt(e.attributes).reduce(function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e},{})}(e),l=ea("parseNodeAttributes",{},e),s=t.styleParser?function(e){var t=e.getAttribute("style"),a=[];return t&&(a=t.split(";").reduce(function(e,t){var a=t.split(":"),n=a[0],i=a.slice(1);return n&&i.length>0&&(e[n]=i.join(":").trim()),e},{})),a}(e):[];return F({iconName:n,prefix:i,transform:it,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:s,attributes:r}},l)}var Ua=gt.styles;function ka(e){var t="nest"===tt.autoReplaceSvg?Da(e,{styleParser:!1}):Da(e);return~t.extra.classes.indexOf(Oe)?aa("generateLayersText",e,t):aa("generateSvgReplacementMutation",e,t)}function Ya(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!J)return Promise.resolve();var a=j.documentElement.classList,n=function(e){return a.add("".concat(De,"-").concat(e))},i=function(e){return a.remove("".concat(De,"-").concat(e))},o=tt.autoFetchSvg?[].concat(N(be),N(Be)):A.concat(Object.keys(Ua));o.includes("fa")||o.push("fa");var r=[".".concat(Oe,":not([").concat(Xe,"])")].concat(o.map(function(e){return".".concat(e,":not([").concat(Xe,"])")})).join(", ");if(0===r.length)return Promise.resolve();var l=[];try{l=rt(e.querySelectorAll(r))}catch(e){}if(!(l.length>0))return Promise.resolve();n("pending"),i("complete");var s=Qa("onTree"),c=l.reduce(function(e,t){try{var a=ka(t);a&&e.push(a)}catch(e){Ye||"MissingIcon"===e.name&&console.error(e)}return e},[]);return new Promise(function(e,a){Promise.all(c).then(function(a){Na(a,function(){n("active"),n("complete"),i("pending"),"function"==typeof t&&t(),s(),e()})}).catch(function(e){s(),a(e)})})}function Va(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ka(e).then(function(e){e&&Na([e],t)})}var ja=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.transform,n=void 0===a?it:a,i=t.symbol,o=void 0!==i&&i,r=t.mask,l=void 0===r?null:r,s=t.maskId,c=void 0===s?null:s,d=t.classes,u=void 0===d?[]:d,m=t.attributes,b=void 0===m?{}:m,f=t.styles,h=void 0===f?{}:f;if(e){var g=e.prefix,p=e.iconName,x=e.icon;return sa(F({type:"icon"},e),function(){return ta("beforeDOMElementCreation",{iconDefinition:e,params:t}),ca({icons:{main:ma(x),mask:l?ma(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:p,transform:F(F({},it),n),symbol:o,maskId:c,extra:{attributes:b,styles:h,classes:u}})})}},_a={mixout:function(){return{icon:(e=ja,function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:na(t||{}),i=a.mask;return i&&(i=(i||{}).icon?i:na(i||{})),e(n,F(F({},a),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Ya,e.nodeCallback=Va,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,a=void 0===t?j:t,n=e.callback;return Ya(a,void 0===n?function(){}:n)},e.generateSvgReplacementMutation=function(e,t){var a=t.iconName,n=t.prefix,i=t.transform,o=t.symbol,r=t.mask,l=t.maskId,s=t.extra;return new Promise(function(t,c){Promise.all([fa(a,n),r.iconName?fa(r.iconName,r.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(r){var c=Z(r,2),d=c[0],u=c[1];t([e,ca({icons:{main:d,mask:u},prefix:n,iconName:a,transform:i,symbol:o,maskId:l,extra:s,watchable:!0})])}).catch(c)})},e.generateAbstractIcon=function(e){var t,a=e.children,n=e.attributes,i=e.main,o=e.transform,r=ct(e.styles);return r.length>0&&(n.style=r),dt(o)&&(t=aa("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),a.push(t||i.icon),{children:a,attributes:n}}}},Sa={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.classes,n=void 0===a?[]:a;return sa({type:"layer"},function(){ta("beforeDOMElementCreation",{assembler:e,params:t});var a=[];return e(function(e){Array.isArray(e)?e.map(function(e){a=a.concat(e.abstract)}):a=a.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat(tt.cssPrefix,"-layers")].concat(N(n)).join(" ")},children:a}]})}}}},Ma={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.title;var a=t.classes,n=void 0===a?[]:a,i=t.attributes,o=void 0===i?{}:i,r=t.styles,l=void 0===r?{}:r;return sa({type:"counter",content:e},function(){return ta("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,a=e.extra,n=F(F({},a.attributes),{},{class:a.classes.join(" ")}),i=ct(a.styles);i.length>0&&(n.style=i);var o=[];return o.push({tag:"span",attributes:n,children:[t]}),o}({content:e.toString(),extra:{attributes:o,styles:l,classes:["".concat(tt.cssPrefix,"-layers-counter")].concat(N(n))}})})}}}},Ja={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.transform,n=void 0===a?it:a,i=t.classes,o=void 0===i?[]:i,r=t.attributes,l=void 0===r?{}:r,s=t.styles,c=void 0===s?{}:s;return sa({type:"text",content:e},function(){return ta("beforeDOMElementCreation",{content:e,params:t}),da({content:e,transform:F(F({},it),n),extra:{attributes:l,styles:c,classes:["".concat(tt.cssPrefix,"-layers-text")].concat(N(o))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var a=t.transform,n=t.extra,i=null,o=null;if(E){var r=parseInt(getComputedStyle(e).fontSize,10),l=e.getBoundingClientRect();i=l.width/r,o=l.height/r}return Promise.resolve([e,da({content:e.innerHTML,width:i,height:o,transform:a,extra:n,watchable:!0})])}}},Ea=new RegExp('"',"ug"),za=[1105920,1112319],Aa=F(F(F(F({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),Oa=Object.keys(Aa).reduce(function(e,t){return e[t.toLowerCase()]=Aa[t],e},{}),Ha=Object.keys(Oa).reduce(function(e,t){var a=Oa[t];return e[t]=a[900]||N(Object.entries(a))[0][1],e},{});function Ta(e,t){var a="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(function(n,i){if(null!==e.getAttribute(a))return n();var o,r,l,s=rt(e.children).filter(function(e){return e.getAttribute(We)===t})[0],c=V.getComputedStyle(e,t),d=c.getPropertyValue("font-family"),u=d.match(He),m=c.getPropertyValue("font-weight"),b=c.getPropertyValue("content");if(s&&!u)return e.removeChild(s),n();if(u&&"none"!==b&&""!==b){var f=c.getPropertyValue("content"),h=function(e,t){var a=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),i=isNaN(n)?"normal":n;return(Oa[a]||{})[i]||Ha[a]}(d,m),g=function(e){return It(N(e.replace(Ea,""))[0]||"")}(f),p=u[0].startsWith("FontAwesome"),x=function(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),a=e.getPropertyValue("content").replace(Ea,""),n=a.codePointAt(0),i=n>=za[0]&&n<=za[1],o=2===a.length&&a[0]===a[1];return i||o||t}(c),Q=jt(h,g),v=Q;if(p){var G=(r=Dt[o=g],l=jt("fas",o),r||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});G.iconName&&G.prefix&&(Q=G.iconName,h=G.prefix)}if(!Q||x||s&&s.getAttribute(Ce)===h&&s.getAttribute(Re)===v)n();else{e.setAttribute(a,v),s&&e.removeChild(s);var y={iconName:null,prefix:null,transform:it,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},I=y.extra;I.attributes[We]=t,fa(Q,h).then(function(i){var o=ca(F(F({},y),{},{icons:{main:i,mask:{prefix:null,iconName:null,rest:[]}},prefix:h,iconName:v,extra:I,watchable:!0})),r=j.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(r,e.firstChild):e.appendChild(r),r.outerHTML=o.map(function(e){return vt(e)}).join("\n"),e.removeAttribute(a),n()}).catch(i)}}else n()})}function Pa(e){return Promise.all([Ta(e,"::before"),Ta(e,"::after")])}function Ka(e){return!(e.parentNode===document.head||~Ue.indexOf(e.tagName.toUpperCase())||e.getAttribute(We)||e.parentNode&&"svg"===e.parentNode.tagName)}var $a=function(e){return!!e&&ke.some(function(t){return e.includes(t)})},qa=function(e){if(!e)return[];var t=new Set,a=e.split(/,(?![^()]*\))/).map(function(e){return e.trim()});a=a.flatMap(function(e){return e.includes("(")?e:e.split(",").map(function(e){return e.trim()})});var n,i=y(a);try{for(i.s();!(n=i.n()).done;){var o=n.value;if($a(o)){var r=ke.reduce(function(e,t){return e.replace(t,"")},o);""!==r&&"*"!==r&&t.add(r)}}}catch(e){i.e(e)}finally{i.f()}return t};function en(e){if(J){var t;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])t=e;else if(tt.searchPseudoElementsFullScan)t=e.querySelectorAll("*");else{var a,n=new Set,i=y(document.styleSheets);try{for(i.s();!(a=i.n()).done;){var o=a.value;try{var r,l=y(o.cssRules);try{for(l.s();!(r=l.n()).done;){var s,c=r.value,d=y(qa(c.selectorText));try{for(d.s();!(s=d.n()).done;){var u=s.value;n.add(u)}}catch(e){d.e(e)}finally{d.f()}}}catch(e){l.e(e)}finally{l.f()}}catch(e){tt.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(o.href," (").concat(e.message,')\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.'))}}}catch(e){i.e(e)}finally{i.f()}if(!n.size)return;var m=Array.from(n).join(", ");try{t=e.querySelectorAll(m)}catch(e){}}return new Promise(function(e,a){var n=rt(t).filter(Ka).map(Pa),i=Qa("searchPseudoElements");wa(),Promise.all(n).then(function(){i(),Xa(),e()}).catch(function(){i(),Xa(),a()})})}}var tn={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=en,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,a=void 0===t?j:t;tt.searchPseudoElements&&en(a)}}},an=!1,nn=function(e){return e.toLowerCase().split(" ").reduce(function(e,t){var a=t.toLowerCase().split("-"),n=a[0],i=a.slice(1).join("-");if(n&&"h"===i)return e.flipX=!0,e;if(n&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(n){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},on={mixout:function(){return{parse:{transform:function(e){return nn(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var a=t.getAttribute("data-fa-transform");return a&&(e.transform=nn(a)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,a=e.transform,n=e.containerWidth,i=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},r="translate(".concat(32*a.x,", ").concat(32*a.y,") "),l="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),s="rotate(".concat(a.rotate," 0 0)"),c={outer:o,inner:{transform:"".concat(r," ").concat(l," ").concat(s)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:F({},c.outer),children:[{tag:"g",attributes:F({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:F(F({},t.icon.attributes),c.path)}]}]}}}},rn={x:0,y:0,width:"100%",height:"100%"};function ln(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var sn={hooks:function(){return{parseNodeAttributes:function(e,t){var a=t.getAttribute("data-fa-mask"),n=a?At(a.split(" ").map(function(e){return e.trim()})):{prefix:null,iconName:null,rest:[]};return n.prefix||(n.prefix=Mt()),e.mask=n,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,a=e.children,n=e.attributes,i=e.main,o=e.mask,r=e.maskId,l=e.transform,s=i.width,c=i.icon,d=o.width,u=o.icon,m=function(e){var t=e.transform,a=e.containerWidth,n=e.iconWidth,i={transform:"translate(".concat(a/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),r="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(r," ").concat(l)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:l,containerWidth:d,iconWidth:s}),b={tag:"rect",attributes:F(F({},rn),{},{fill:"white"})},f=c.children?{children:c.children.map(ln)}:{},h={tag:"g",attributes:F({},m.inner),children:[ln(F({tag:c.tag,attributes:F(F({},c.attributes),m.path)},f))]},g={tag:"g",attributes:F({},m.outer),children:[h]},p="mask-".concat(r||ot()),x="clip-".concat(r||ot()),Q={tag:"mask",attributes:F(F({},rn),{},{id:p,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[b,g]},v={tag:"defs",children:[{tag:"clipPath",attributes:{id:x},children:(t=u,"g"===t.tag?t.children:[t])},Q]};return a.push(v,{tag:"rect",attributes:F({fill:"currentColor","clip-path":"url(#".concat(x,")"),mask:"url(#".concat(p,")")},rn)}),{children:a,attributes:n}}}},cn={provides:function(e){var t=!1;V.matchMedia&&(t=V.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],a={fill:"currentColor"},n={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:F(F({},a),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=F(F({},n),{},{attributeName:"opacity"}),o={tag:"circle",attributes:F(F({},a),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:F(F({},n),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:F(F({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:F(F({},a),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:F(F({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:F(F({},a),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:F(F({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){var a=t.mixoutsTo;Pt=e,Kt={},Object.keys($t).forEach(function(e){-1===qt.indexOf(e)&&delete $t[e]}),Pt.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){"function"==typeof t[e]&&(a[e]=t[e]),"object"===w(t[e])&&Object.keys(t[e]).forEach(function(n){a[e]||(a[e]={}),a[e][n]=t[e][n]})}),e.hooks){var n=e.hooks();Object.keys(n).forEach(function(e){Kt[e]||(Kt[e]=[]),Kt[e].push(n[e])})}e.provides&&e.provides($t)})}([ft,_a,Sa,Ma,Ja,tn,{mixout:function(){return{dom:{unwatch:function(){wa(),an=!0}}}},hooks:function(){return{bootstrap:function(){Ca(ea("mutationObserverCallbacks",{}))},noAuto:function(){Wa&&Wa.disconnect()},watch:function(e){var t=e.observeMutationsRoot;an?Xa():Ca(ea("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},on,sn,cn,{hooks:function(){return{parseNodeAttributes:function(e,t){var a=t.getAttribute("data-fa-symbol"),n=null!==a&&(""===a||a);return e.symbol=n,e}}}}],{mixoutsTo:ra});var dn=ra.config,un=ra.parse,mn=ra.icon;function bn(e){return t=e,(t-=0)==t?e:(e=e.replace(/[_-]+(.)?/g,(e,t)=>t?t.toUpperCase():"")).charAt(0).toLowerCase()+e.slice(1);var t}function fn(e){return e.charAt(0).toUpperCase()+e.slice(1)}var hn=new Map;function gn(e){if(hn.has(e))return hn.get(e);const t={};let a=0;const n=e.length;for(;a<n;){const i=e.indexOf(";",a),o=-1===i?n:i,r=e.slice(a,o).trim();if(r){const e=r.indexOf(":");if(e>0){const a=r.slice(0,e).trim(),n=r.slice(e+1).trim();if(a&&n){const e=bn(a);t[e.startsWith("webkit")?fn(e):e]=n}}}a=o+1}if(1e3===hn.size){const e=hn.keys().next().value;e&&hn.delete(e)}return hn.set(e,t),t}var pn=function e(t,a,n={}){if("string"==typeof a)return a;const i=(a.children||[]).map(a=>e(t,a)),o=a.attributes||{},r={};for(const[e,t]of Object.entries(o))switch(!0){case"class"===e:r.className=t;break;case"style"===e:r.style=gn(String(t));break;case e.startsWith("aria-"):case e.startsWith("data-"):r[e.toLowerCase()]=t;break;default:r[bn(e)]=t}const{style:l,role:s,"aria-label":c,...d}=n;return l&&(r.style=r.style?{...r.style,...l}:l),s&&(r.role=s),c&&(r["aria-label"]=c,r["aria-hidden"]="false"),t(a.tag,{...d,...r},...i)}.bind(null,t.createElement),xn=(e,a)=>{const n=t.useId();return e||(a?n:void 0)};"undefined"!=typeof process&&process.env.FA_VERSION;var Qn="searchPseudoElementsFullScan"in dn?"7.0.0":"6.0.0",vn=Number.parseInt(Qn)>=7,Gn="fa",yn="fa-beat",In="fa-fade",Bn="fa-beat-fade",Fn="fa-bounce",Zn="fa-shake",Nn="fa-spin",Ln="fa-spin-pulse",wn="fa-spin-reverse",Xn="fa-pulse",Wn={left:"fa-pull-left",right:"fa-pull-right"},Cn={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},Rn={"2xs":"fa-2xs",xs:"fa-xs",sm:"fa-sm",lg:"fa-lg",xl:"fa-xl","2xl":"fa-2xl","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x"},Dn="fa-border",Un="fa-fw",kn="fa-flip",Yn="fa-flip-horizontal",Vn="fa-flip-vertical",jn="fa-inverse",_n="fa-rotate-by",Sn="fa-swap-opacity",Mn="fa-width-auto";function Jn(e){const t=dn.cssPrefix||dn.familyPrefix||Gn;return t===Gn?e:e.replace(new RegExp(String.raw`(?<=^|\s)${Gn}-`,"g"),`${t}-`)}function En(e){if(e)return(e=>"object"==typeof e&&"icon"in e&&!!e.icon)(e)?e:un.icon(e)}var zn=new class{constructor(e="react-fontawesome"){this.enabled=!1;let t=!1;try{t="undefined"!=typeof process&&"development"===process.env.NODE_ENV}catch{}this.scope=e,this.enabled=t}log(...e){this.enabled&&console.log(`[${this.scope}]`,...e)}warn(...e){this.enabled&&console.warn(`[${this.scope}]`,...e)}error(...e){this.enabled&&console.error(`[${this.scope}]`,...e)}}("FontAwesomeIcon"),An={border:!1,className:"",mask:void 0,maskId:void 0,fixedWidth:!1,inverse:!1,flip:!1,icon:void 0,listItem:!1,pull:void 0,pulse:!1,rotation:void 0,rotateBy:!1,size:void 0,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:void 0,transform:void 0,swapOpacity:!1,widthAuto:!1},On=new Set(Object.keys(An)),Hn=t.forwardRef((e,t)=>{const a={...An,...e},{icon:n,mask:i,symbol:o,title:r,titleId:l,maskId:s,transform:c}=a,d=xn(s,Boolean(i)),u=xn(l,Boolean(r)),m=En(n);if(!m)return zn.error("Icon lookup is undefined",n),null;const b=function(e){const{beat:t,fade:a,beatFade:n,bounce:i,shake:o,spin:r,spinPulse:l,spinReverse:s,pulse:c,fixedWidth:d,inverse:u,border:m,flip:b,size:f,rotation:h,pull:g,swapOpacity:p,rotateBy:x,widthAuto:Q,className:v}=e,G=[];return v&&G.push(...v.split(" ")),t&&G.push(yn),a&&G.push(In),n&&G.push(Bn),i&&G.push(Fn),o&&G.push(Zn),r&&G.push(Nn),s&&G.push(wn),l&&G.push(Ln),c&&G.push(Xn),d&&G.push(Un),u&&G.push(jn),m&&G.push(Dn),!0===b&&G.push(kn),"horizontal"!==b&&"both"!==b||G.push(Yn),"vertical"!==b&&"both"!==b||G.push(Vn),null!=f&&G.push(Rn[f]),null!=h&&0!==h&&G.push(Cn[h]),null!=g&&G.push(Wn[g]),p&&G.push(Sn),vn?(x&&G.push(_n),Q&&G.push(Mn),(dn.cssPrefix||dn.familyPrefix||Gn)===Gn?G:G.map(Jn)):G}(a),f="string"==typeof c?un.transform(c):c,h=En(i),g=mn(m,{...b.length>0&&{classes:b},...f&&{transform:f},...h&&{mask:h},symbol:o,title:r,titleId:u,maskId:d});if(!g)return zn.error("Could not find icon",m),null;const{abstract:p}=g,x={ref:t};for(const e of(Q=a,Object.keys(Q)))On.has(e)||(x[e]=a[e]);var Q;return pn(p[0],x)});Hn.displayName="FontAwesomeIcon";var Tn={box:"Box-module_box__SQLj3",collapseBox:"Box-module_collapseBox__5A5Fc",padding:"Box-module_padding__dIJ-L",collapsedContent:"Box-module_collapsedContent__yn-0g",collapseTitle:"Box-module_collapseTitle__-R0ge",collapseIcon:"Box-module_collapseIcon__OAiTO",collapsed:"Box-module_collapsed__nf76f"};b(".Box-module_box__SQLj3,.Box-module_collapseBox__5A5Fc{background-color:var(--ps-ui-foreground);border:1px solid var(--ps-ui-border);border-radius:4px;position:relative}.Box-module_padding__dIJ-L{margin-bottom:10px;padding:10px}.Box-module_collapseBox__5A5Fc{margin-bottom:10px}.Box-module_collapseBox__5A5Fc .Box-module_box__SQLj3,.Box-module_collapseBox__5A5Fc .Box-module_collapseBox__5A5Fc{background-color:transparent;border:none;border-radius:0;height:auto;padding-bottom:0}.Box-module_collapseBox__5A5Fc .Box-module_box__SQLj3.Box-module_collapsedContent__yn-0g,.Box-module_collapseBox__5A5Fc .Box-module_collapsedContent__yn-0g.Box-module_collapseBox__5A5Fc{height:0;margin:0;overflow:hidden;padding:0}.Box-module_collapseTitle__-R0ge{align-items:center;cursor:pointer;display:flex;font-size:18px;font-weight:500;height:40px;justify-content:space-between;padding:5px 10px}.Box-module_collapseTitle__-R0ge:hover{background-color:var(--ps-ui-border)}.Box-module_collapseIcon__OAiTO{display:flex;transition:transform .1s}.Box-module_collapseIcon__OAiTO.Box-module_collapsed__nf76f{display:flex;transform:rotate(90deg)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJveC5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxzREFDRSx3Q0FBeUMsQ0FDekMsb0NBQXFDLENBQ3JDLGlCQUFrQixDQUNsQixpQkFDRixDQUVBLDJCQUNFLGtCQUFtQixDQUNuQixZQUNGLENBRUEsK0JBQ0Usa0JBQ0YsQ0FDQSxvSEFDRSw0QkFBNkIsQ0FDN0IsV0FBWSxDQUNaLGVBQWdCLENBRWhCLFdBQVksQ0FEWixnQkFFRixDQUNBLDBMQUNFLFFBQVMsQ0FDVCxRQUFTLENBRVQsZUFBZ0IsQ0FEaEIsU0FFRixDQUVBLGlDQU9FLGtCQUFtQixDQUpuQixjQUFlLENBRWYsWUFBYSxDQUhiLGNBQWUsQ0FEZixlQUFnQixDQU9oQixXQUFZLENBRlosNkJBQThCLENBRjlCLGdCQUtGLENBQ0EsdUNBQ0Usb0NBQ0YsQ0FFQSxnQ0FDRSxZQUFhLENBQ2Isd0JBQ0YsQ0FDQSw0REFFRSxZQUFhLENBRGIsdUJBRUYiLCJmaWxlIjoiQm94Lm1vZHVsZS5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmJveCwgLmNvbGxhcHNlQm94IHtcbiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcHMtdWktZm9yZWdyb3VuZCk7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xufVxuXG4ucGFkZGluZyB7XG4gIG1hcmdpbi1ib3R0b206IDEwcHg7XG4gIHB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ospy","phpspy","pyspy","rbspy","nodespy","javaspy","pyroscope-rs","scrape","tracing","unknown"],Kn=n.z.preprocess(e=>e&&Pn.includes(e)?e:"unknown",n.z.enum(Pn).default("unknown")),$n=["samples","objects","goroutines","bytes","lock_samples","lock_nanoseconds","trace_samples","exceptions"],qn=n.z.preprocess(e=>"string"==typeof e&&$n.includes(e)?e:"unknown",n.z.enum(["samples","objects","goroutines","bytes","lock_samples","lock_nanoseconds","trace_samples","exceptions","unknown"])),ei=n.z.object({names:n.z.array(n.z.preprocess(e=>e||"unknown",n.z.string().min(1))),levels:n.z.array(n.z.array(n.z.number())),numTicks:n.z.number(),maxSelf:n.z.number()}),ti=n.z.object({appName:n.z.string().optional(),name:n.z.string().optional(),startTime:n.z.number().optional(),endTime:n.z.number().optional(),query:n.z.string().optional(),maxNodes:n.z.number().optional(),format:n.z.enum(["single","double"]),sampleRate:n.z.number(),spyName:Kn,units:qn});n.z.object({version:n.z.number().min(1).max(1).default(1),flamebearer:ei,metadata:ti,leftTicks:n.z.number().optional(),rightTicks:n.z.number().optional()});const ai={format:"single",jStep:4,jName:3,getBarOffset:(e,t)=>e[t],getBarTotal:(e,t)=>e[t+1],getBarTotalDiff:(e,t)=>0,getBarSelf:(e,t)=>e[t+2],getBarSelfDiff:(e,t)=>0,getBarName:(e,t)=>e[t+3]},ni={format:"double",jStep:7,jName:6,getBarOffset:(e,t)=>e[t]+e[t+3],getBarTotal:(e,t)=>e[t+4]+e[t+1],getBarTotalLeft:(e,t)=>e[t+1],getBarTotalRght:(e,t)=>e[t+4],getBarTotalDiff:(e,t)=>e[t+4]-e[t+1],getBarSelf:(e,t)=>e[t+5]+e[t+2],getBarSelfLeft:(e,t)=>e[t+2],getBarSelfRght:(e,t)=>e[t+5],getBarSelfDiff:(e,t)=>e[t+5]-e[t+2],getBarName:(e,t)=>e[t+6]};function ii(e){switch(e){case"single":return ai;case"double":return ni;default:throw new Error(`Unsupported type: '${e}'`)}}const oi=n.z.object({refType:n.z.string(),traceID:n.z.string(),spanID:n.z.string()}),ri=n.z.object({key:n.z.string(),type:n.z.string(),value:n.z.union([n.z.boolean(),n.z.number(),n.z.string()])}),li=n.z.object({traceID:n.z.string(),spanID:n.z.string(),flags:n.z.string(),operationName:n.z.string(),references:n.z.array(oi),startTime:n.z.number(),duration:n.z.number(),tags:n.z.array(ri),logs:n.z.object({timestamp:n.z.number(),fields:n.z.array(ri)}),processID:n.z.string(),warnings:n.z.any()}),si=n.z.object({serviceName:n.z.string(),tags:n.z.array(ri)});n.z.object({traceID:n.z.string(),spans:n.z.array(li),processes:n.z.record(si),warnings:n.z.any()});const ci=n.z.object({watermark:n.z.object({}).optional(),startTime:n.z.number(),samples:n.z.array(n.z.number()),durationDelta:n.z.number()});n.z.record(n.z.string(),ci);const di=22,ui=21.5;function mi(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}function bi(e){return`${fi(e)}%`}function fi(e){return Math.round(1e4*e)/100}function hi(e,t){return(t-e)/e*100}function gi(e,t,a){switch(a){case"samples":return new pi(e/t);case"objects":case"goroutines":case"lock_samples":case"exceptions":return new Qi(e);case"bytes":return new vi(e);case"lock_nanoseconds":return new xi(e);case"trace_samples":return new pi(e/t,"",!0);default:return console.warn(`Unsupported unit: '${a}'. Defaulting to ''`),new pi(e/t," ")}}class pi{constructor(e,t,a){this.divider=1,this.enableSubsecondPrecision=!1,this.suffix="second",this.durations=[[60,"minute"],[60,"hour"],[24,"day"],[30,"month"],[12,"year"]],this.units="",a&&(this.enableSubsecondPrecision=a,this.durations=[[1e3,"ms"],[1e3,"second"],...this.durations],this.suffix="μs",e*=1e6),this.units=t||"";for(let t=0;t<this.durations.length;t++){const a=this.durations[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;this.divider*=a[0],e/=a[0],this.suffix=a[1]}}format(e,t,a=!0){this.enableSubsecondPrecision&&(t/=1e6);const n=e/t/this.divider;let i=n.toFixed(2);return 0===n?i="0.00":(n>=0&&n<.01||n<=0&&n>-.01)&&(i="< 0.01"),a?`${i} ${this.units||`${this.suffix}${1===n||2===this.suffix.length?"":"s"}`}`:i}formatPrecise(e,t){this.enableSubsecondPrecision&&(t/=1e6);const a=e/t/this.divider;return`${parseFloat(a.toFixed(5))} ${this.units||`${this.suffix}${1===a||2===this.suffix.length?"":"s"}`}`}}class xi{constructor(e){this.divider=1,this.multiplier=1,this.suffix="second",this.durations=[[60,"minute"],[60,"hour"],[24,"day"],[30,"month"],[12,"year"]],e/=1e9;for(let t=0;t<this.durations.length;t++){const a=this.durations[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;this.divider*=a[0],e/=a[0],this.suffix=a[1]}}format(e){const t=e/1e9/this.divider;let a=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(a="< 0.01"),`${a} ${this.suffix}${1===t?"":"s"}`}formatPrecise(e){const t=e/1e9/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}${1===t?"":"s"}`}}class Qi{constructor(e){this.divider=1,this.suffix="",this.objects=[[1e3,"K"],[1e3,"M"],[1e3,"G"],[1e3,"T"],[1e3,"P"]];for(let t=0;t<this.objects.length;t++){const a=this.objects[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;this.divider*=a[0],e/=a[0],this.suffix=a[1]}}format(e){const t=e/this.divider;let a=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(a="< 0.01"),`${a} ${this.suffix}`}formatPrecise(e){const t=e/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}`}}class vi{constructor(e){this.divider=1,this.suffix="bytes",this.bytes=[[1024,"KB"],[1024,"MB"],[1024,"GB"],[1024,"TB"],[1024,"PB"]];for(let t=0;t<this.bytes.length;t++){const a=this.bytes[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;{this.divider*=a[0],e/=a[0];const t=a[1];t?this.suffix=t:(console.warn("Could not calculate suffix"),this.suffix="")}}}format(e){const t=e/this.divider;let a=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(a="< 0.01"),`${a} ${this.suffix}`}formatPrecise(e){const t=e/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}`}}const Gi="TAIL",yi="HEAD";function Ii({mode:e,charSize:t,rectWidth:a,fullText:n,shortText:i}){if(e===Gi){if(t*n.length<=a)return{mode:e,text:n,marginLeft:3};const o=t*i.length;return o<=a?{mode:e,text:i,marginLeft:3}:{mode:e,text:i,marginLeft:-(o-a+3)}}return{mode:e,text:n,marginLeft:3}}function Bi(e,t){return i.rgb(e,e,e).alpha(t)}function Fi(e,t){if(0===t.length)return t;const a=function(e){switch(e){case"dotnetspy":return/^(?<packageName>.+)\.(.+)\.(.+)\(.*\)$/;case"ebpfspy":case"unknown":return/^(?<packageName>.+)$/;case"gospy":case"scrape":return/^(?<packageName>.*?\/.*?\.|.*?\.|.+)(?<functionName>.*)$/;case"phpspy":return/^(?<packageName>(.*\/)*)(?<filename>.*\.php+)(?<line_info>.*)$/;case"pyspy":return/^(?<packageName>(.*\/)*)(?<filename>.*\.py+)(?<line_info>.*)$/;case"rbspy":return/^(?<packageName>(.*\/)*)(?<filename>.*\.rb+)(?<line_info>.*)$/;case"nodespy":return/^(\.\/node_modules\/)?(?<packageName>[^/]*)(?<filename>.*\.?(jsx?|tsx?)?):(?<functionName>.*):(?<line_info>.*)$/;case"tracing":return/^(?<packageName>.+?):.*$/;case"javaspy":return/^(?<packageName>.+\/)(?<filename>.+\.)(?<functionName>.+)$/;case"pyroscope-rs":return/^(?<packageName>[^::]+)/}return/^(?<packageName>.+)$/}(e),n=t.match(a);return n&&n.groups?n.groups.packageName||"":t}function Zi(e,t){const a=function(e,t=0){let a,n,i,o,r,l,s,c;for(a=3&e.length,n=e.length-a,i=t,r=3432918353,l=461845907,c=0;c<n;)s=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24,++c,s=(65535&s)*r+(((s>>>16)*r&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*l+(((s>>>16)*l&65535)<<16)&4294967295,i^=s,i=i<<13|i>>>19,o=5*(65535&i)+((5*(i>>>16)&65535)<<16)&4294967295,i=27492+(65535&o)+(((o>>>16)+58964&65535)<<16);switch(s=0,a){case 3:s^=(255&e.charCodeAt(c+2))<<16;case 2:s^=(255&e.charCodeAt(c+1))<<8;case 1:s^=255&e.charCodeAt(c);default:s=(65535&s)*r+(((s>>>16)*r&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*l+(((s>>>16)*l&65535)<<16)&4294967295,i^=s}return i^=e.length,i^=i>>>16,i=2246822507*(65535&i)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(65535&i)+((3266489909*(i>>>16)&65535)<<16)&4294967295,i^=i>>>16,i>>>0}(t,0),n=a%e.colors.length,i=e.colors[n];return i||(console.warn("Could not calculate color. Defaulting to the first one"),e.colors[0])}function Ni(e){const{goodColor:t,neutralColor:a,badColor:n}=e,r=o.scaleLinear().domain([-100,0,100]).range([t.rgb().toString(),a.rgb().toString(),n.rgb().toString()]);return e=>i(r(e).toString())}function Li(e,t){return t.toLowerCase().includes(e.toLowerCase())}function wi(e){const{canvas:t,fitMode:a,units:n,tickToX:i,levels:o,palette:r}=e,{numTicks:l,sampleRate:s,pxPerTick:c}=e,{rangeMin:d,rangeMax:u}=e,{focusedNode:m,zoom:b}=e,f=function(e){return e.clientWidth||e.width}(t);if(t.width=f,d>=u)throw new Error("'rangeMin' should be strictly smaller than 'rangeMax'");const{format:h}=e,g=ii(h),p=t.getContext("2d");if(!p)throw new Error("Could not get ctx");const x=b.mapOrElse(()=>0,e=>e.i),Q=gi(l,s,n),v=m.isJust,G=m.mapOrElse(()=>0,e=>e.i),y=di*(o.length-G)+(v?ui:0);t.height=y,devicePixelRatio>1&&(t.width*=2,t.height*=2,p.scale(2,2));const{names:I}=e;if(v){const e=l*c;p.beginPath(),p.rect(0,0,l*c,ui),p.fillStyle=Bi(200,1).rgb().string(),p.fill();const t=m.mapOrElse(()=>"total",e=>`total (${e.i-1} level(s) collapsed)`);p.textBaseline="middle",p.font="400 11.5px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace";const n=Ii({mode:a,charSize:p.measureText("a").width,rectWidth:e,fullText:t,shortText:t}),i=0,o=0,r=ui;p.save(),p.clip(),p.fillStyle="black";const s=Math.round(Math.max(i,0));p.fillText(n.text,s+n.marginLeft,o+r/2+1),p.restore()}for(let t=0;t<o.length-G;t+=1){const n=o[G+t];if(!n)throw new Error(`Could not find level: ${G+t}`);for(let o=0;o<n.length;o+=g.jStep){const d=g.getBarOffset(n,o),u=i(d),b=t*di+(v?ui:0),f=ui,G=!!e.highlightQuery&&e.highlightQuery.length>0,y=Ui(o+g.jName,n,I,e.highlightQuery);let B=g.getBarTotal(n,o);const F=B*c<=5;if(F)for(;o<n.length-g.jStep&&d+B===g.getBarOffset(n,o+g.jStep)&&g.getBarTotal(n,o+g.jStep)*c<=5&&y===(e.highlightQuery&&Ui(o+g.jStep+g.jName,n,I,e.highlightQuery)||!1);)o+=g.jStep,B+=g.getBarTotal(n,o);const Z=B*c-(F?0:.5),{spyName:N}=e,L=()=>{const a={level:n,j:o,i:t+m.mapOrElse(()=>0,e=>e.i),names:I,collapsed:F,selectedLevel:x,highlightModeOn:G,isHighlighted:y,spyName:N,palette:r};switch(h){case"single":return Ri({...a});case"double":return Di({...a,leftTicks:e.leftTicks,rightTicks:e.rightTicks});default:throw new Error(`Unsupported format: ${h}`)}},w=L();if(p.beginPath(),p.rect(u,b,Z,f),p.fillStyle=w.string(),p.fill(),F)continue;if(Z<20)continue;const X=Xi(I,o,h,n),W=Wi(X,B,l,s,Q);p.textBaseline="middle",p.font="400 11.5px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace";const C=Ii({mode:a,charSize:p.measureText("a").width,rectWidth:Z,fullText:W,shortText:X});p.save(),p.clip(),p.fillStyle="black";const R=Math.round(Math.max(u,0));p.fillText(C.text,R+C.marginLeft,b+f/2+1),p.restore()}}}function Xi(e,t,a,n){let i=n[t+ii(a).jName];void 0===i&&(i=-1);const o=e[i];return o||(console.warn("Could not find function name for",{j:t,format:a,level:n,names:e}),"")}function Wi(e,t,a,n,i){return`${e} (${bi(t/a)}, ${i.format(t,n)})`}function Ci({collapsed:e,highlightModeOn:t,isHighlighted:a}){return e||t&&!a?Bi(200,.66):null}function Ri(e){const t=Ci(e);if(t)return t;const a=ii("single"),n=e.selectedLevel>e.i?.33:1;let i=e.level[e.j+a.jName];void 0===i&&(console.warn("Could nto find level",{l:e.j,jName:a.jName,level:e.level}),i=-1);const o=e.names[i]||"",r=Fi(e.spyName,o)||"";return Zi(e.palette,r).alpha(n)}function Di(e){const t=Ci(e);if(t)return t;const a=e.selectedLevel>e.i?.33:1,{leftRatio:n,rightRatio:i}=function(e,t,a,n){const i=ni;return a&&n?{leftRatio:i.getBarTotalLeft(e,t)/a,rightRatio:i.getBarTotalRght(e,t)/n}:(console.error("Properties 'rightTicks' and 'leftTicks' are required. Can't calculate ratio."),{leftRatio:0,rightRatio:0})}(e.level,e.j,e.leftTicks,e.rightTicks),o=fi(n),r=fi(i);return function(e,t,a){const n=function(e,t){if(e===t)return 0;if(0===e)return 100;const a=(t-e)/e*100;return a>100?100:a<-100?-100:a}(t,a);return Ni(e)(n)}(e.palette,o,r).alpha(a)}function Ui(e,t,a,n){const i=t[e];if(!i)return!1;const o=a[i];return!!o&&Li(n,o)}i.rgb(148,142,142),i.rgb(200,0,0),i.rgb(0,170,0),i("#48CE73");class ki{constructor(e,t,a,n,i,o,r){if(this.flamebearer=e,this.canvas=t,this.focusedNode=a,this.fitMode=n,this.highlightQuery=i,this.zoom=o,this.palette=r,this.tickToX=e=>{const{rangeMin:t}=this.getRange();return(e-this.flamebearer.numTicks*t)*this.pxPerTick()},this.xyToBarPosition=e=>{const{ff:t}=this,{i:a,j:n}=this.xyToBarIndex(e.x,e.y),i=this.focusedNode.mapOrElse(()=>0,e=>e.i<0?0:e.i-1),o=this.flamebearer.levels[a];if(!o)throw new Error(`Could not find level: '${a}'`);const r=Math.max(this.tickToX(t.getBarOffset(o,n)),0);return{x:r,y:Math.max((a-i)*di,0),width:Math.min(this.tickToX(t.getBarOffset(o,n)+t.getBarTotal(o,n))-r,this.getCanvasWidth())}},this.xyToBarData=e=>{const{i:t,j:a}=this.xyToBarIndex(e.x,e.y),n=this.flamebearer.levels[t];if(!n)throw new Error(`Could not find level: '${t}'`);switch(this.flamebearer.format){case"single":{const e=ai;return{format:"single",name:this.flamebearer.names[e.getBarName(n,a)],self:e.getBarSelf(n,a),offset:e.getBarOffset(n,a),total:e.getBarTotal(n,a)}}case"double":{const e=ni;return{format:"double",barTotal:e.getBarTotal(n,a),totalLeft:e.getBarTotalLeft(n,a),totalRight:e.getBarTotalRght(n,a),totalDiff:e.getBarTotalDiff(n,a),name:this.flamebearer.names[e.getBarName(n,a)]}}default:throw new Error("Unsupported type")}},this.isWithinBounds=(e,t)=>{if(e<0||e>this.getCanvasWidth())return!1;try{const{i:a,j:n}=this.xyToBarIndex(e,t);if(-1===n||-1===a)return!1}catch(e){return!1}return!0},this.zoom=o,this.focusedNode=a,this.flamebearer=e,this.canvas=t,this.highlightQuery=i,this.ff=ii(e.format),this.palette=r,a.isJust&&o.isJust&&o.value.i<a.value.i)throw new Error("Zoom i level should be bigger than Focus")}render(){const{rangeMin:e,rangeMax:t}=this.getRange(),a={canvas:this.canvas,format:this.flamebearer.format,numTicks:this.flamebearer.numTicks,sampleRate:this.flamebearer.sampleRate,names:this.flamebearer.names,levels:this.flamebearer.levels,spyName:this.flamebearer.spyName,units:this.flamebearer.units,maxSelf:this.flamebearer.maxSelf,rangeMin:e,rangeMax:t,fitMode:this.fitMode,highlightQuery:this.highlightQuery,zoom:this.zoom,focusedNode:this.focusedNode,pxPerTick:this.pxPerTick(),tickToX:this.tickToX,palette:this.palette},{format:n}=this.flamebearer;switch(n){case"single":wi({...a,format:"single"});break;case"double":wi({...a,leftTicks:this.flamebearer.leftTicks,rightTicks:this.flamebearer.rightTicks});break;default:throw new Error(`Invalid format: '${n}'`)}}pxPerTick(){const{rangeMin:e,rangeMax:t}=this.getRange();return this.getCanvasWidth()/this.flamebearer.numTicks/(t-e)}getRange(){const{ff:e}=this,t=t=>{const a=this.flamebearer.levels[t.i];if(!a)throw new Error(`Could not find level: '${t.i}'`);return{rangeMin:e.getBarOffset(a,t.j)/this.flamebearer.numTicks,rangeMax:(e.getBarOffset(a,t.j)+e.getBarTotal(a,t.j))/this.flamebearer.numTicks}},a=t=>{const a=this.flamebearer.levels[t.i];if(!a)throw new Error(`Could not find level: '${t.i}'`);return{rangeMin:e.getBarOffset(a,t.j)/this.flamebearer.numTicks,rangeMax:(e.getBarOffset(a,t.j)+e.getBarTotal(a,t.j))/this.flamebearer.numTicks}},{zoom:n,focusedNode:i}=this;return n.match({Just:e=>i.match({Just:n=>{const i=a(n),o=t(e);return i.rangeMax-i.rangeMin<o.rangeMax-o.rangeMin?(console.warn("Focus is smaller than range, this shouldnt happen. Verify that the zoom is always bigger than the focus."),a(n)):t(e)},Nothing:()=>t(e)}),Nothing:()=>i.match({Just:e=>a(e),Nothing:()=>({rangeMin:0,rangeMax:1})})})}getCanvasWidth(){return this.canvas.clientWidth||this.canvas.width}isFocused(){return this.focusedNode.isJust}binarySearchLevel(e,t){const{ff:a}=this;let n=0,i=t.length-a.jStep;for(;n<=i;){const o=a.jStep*(n/a.jStep+i/a.jStep>>1),r=this.tickToX(a.getBarOffset(t,o)),l=this.tickToX(a.getBarOffset(t,o)+a.getBarTotal(t,o));if(r<=e&&l>=e)return l-r>5?o:-1;r>e?i=o-a.jStep:n=o+a.jStep}return-1}xyToBarIndex(e,t){if(e<0||t<0)throw new Error(`x and y must be bigger than 0. x = ${e}, y = ${t}`);if(this.isFocused()&&t<=ui)return{i:0,j:0};const a=this.isFocused()?t-ui:t,n=this.focusedNode.mapOrElse(()=>0,e=>e.i<=0?0:e.i),i=this.zoom.match({Just:()=>this.focusedNode.match({Just:()=>n,Nothing:()=>0}),Nothing:()=>this.focusedNode.match({Just:()=>n,Nothing:()=>0})}),o=Math.floor(a/di)+i;if(o>=0&&o<this.flamebearer.levels.length){const t=this.flamebearer.levels[o];if(!t)throw new Error(`Could not find level: '${o}'`);return{i:o,j:this.binarySearchLevel(e,t)}}return{i:0,j:0}}parseXY(e,t){const n={x:e,y:t};return this.isWithinBounds(e,t)?a.Maybe.of(n):a.Maybe.nothing()}xyToBar(e,t){return this.parseXY(e,t).map(a=>{const{i:n,j:i}=this.xyToBarIndex(e,t);return{i:n,j:i,...this.xyToBarPosition(a),...this.xyToBarData(a)}})}}function Yi(e){var t,a,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(a=Yi(e[t]))&&(n&&(n+=" "),n+=a)}else for(a in e)e[a]&&(n&&(n+=" "),n+=a);return n}function Vi(){for(var e,t,a=0,n="",i=arguments.length;a<i;a++)(e=arguments[a])&&(t=Yi(e))&&(n&&(n+=" "),n+=t);return n}var ji="NoData-module_noData__WuuID";function _i(){return e.jsx("div",{"data-testid":"no-data",className:ji,children:e.jsx("span",{children:"No data available"})})}b(".NoData-module_noData__WuuID{height:100%;padding:60px 0;text-align:center;width:100%}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIk5vRGF0YS5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw2QkFFRSxXQUFZLENBRVosY0FBZSxDQURmLGlCQUFrQixDQUZsQixVQUlGIiwiZmlsZSI6Ik5vRGF0YS5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5ub0RhdGEge1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxMDAlO1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIHBhZGRpbmc6IDYwcHggMDtcbn0iXX0= */");var Si,Mi,Ji={},Ei={};function zi(){return Si||(Si=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="arrow-rotate-right",a=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],n="f01e",i="M436.7 74.7L448 85.4 448 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l47.9 0-7.6-7.2c-.2-.2-.4-.4-.6-.6-75-75-196.5-75-271.5 0s-75 196.5 0 271.5 196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c99.9-99.9 261.7-100 361.7-.3z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,i]},e.faArrowRotateRight=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(Ei)),Ei}function Ai(){return Mi||(Mi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=zi();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faRedo=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Ji)),Ji}var Oi,Hi=Ai(),Ti={};function Pi(){return Oi||(Oi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="copy",a=[],n="f0c5",i="M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z";e.definition={prefix:"fas",iconName:t,icon:[448,512,a,n,i]},e.faCopy=e.definition,e.prefix="fas",e.iconName=t,e.width=448,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(Ti)),Ti}var Ki,$i=Pi(),qi={};function eo(){return Ki||(Ki=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="highlighter",a=[],n="f591",i="M315 315L473.4 99.9 444.1 70.6 229 229 315 315zm-187 5l0 0 0-71.7c0-15.3 7.2-29.6 19.5-38.6L420.6 8.4C428 2.9 437 0 446.2 0 457.6 0 468.5 4.5 476.6 12.6l54.8 54.8c8.1 8.1 12.6 19 12.6 30.5 0 9.2-2.9 18.2-8.4 25.6L334.4 396.5c-9 12.3-23.4 19.5-38.6 19.5l-71.7 0-25.4 25.4c-12.5 12.5-32.8 12.5-45.3 0l-50.7-50.7c-12.5-12.5-12.5-32.8 0-45.3L128 320zM7 466.3l51.7-51.7 70.6 70.6-19.7 19.7c-4.5 4.5-10.6 7-17 7L24 512c-13.3 0-24-10.7-24-24l0-4.7c0-6.4 2.5-12.5 7-17z";e.definition={prefix:"fas",iconName:t,icon:[576,512,a,n,i]},e.faHighlighter=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(qi)),qi}var to,ao,no=eo(),io={},oo={};function ro(){return to||(to=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="down-left-and-up-right-to-center",a=["compress-alt"],n="f422",i="M439.5 7c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2S450.2 240 440.5 240l-144 0c-13.3 0-24-10.7-24-24l0-144c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87zM72.5 272l144 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87-39-39c-6.9-6.9-8.9-17.2-5.2-26.2S62.8 272 72.5 272z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,i]},e.faDownLeftAndUpRightToCenter=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(oo)),oo}function lo(){return ao||(ao=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ro();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faCompressAlt=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(io)),io}var so=lo();const co=e=>!!e&&"o"===e[0],uo=s.unstable_batchedUpdates,mo=(e,t)=>!0===e||!(!e||!e[t]),bo=(e,t)=>"function"==typeof e?e(t):e,fo="_szhsinMenu",ho=(e,t)=>Object.defineProperty(t,fo,{value:e}),go=(e,t)=>(t&&Object.keys(t).forEach(a=>{const n=e[a],i=t[a];e[a]="function"==typeof i&&n?(...e)=>{i(...e),n(...e)}:i}),e),po=e=>{for(;e;){if(!(e=e.parentNode)||e===document.body||!e.parentNode)return;const{overflow:t,overflowX:a,overflowY:n}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+n+a))return e}};function xo(e,t){return{"aria-disabled":e||void 0,tabIndex:t?0:-1}}function Qo(e,t){for(let a=0;a<e.length;a++)if(e[a]===t)return a;return-1}const vo=({block:e,element:a,modifiers:n,className:i})=>t.useMemo(()=>{const t=a?`${e}__${a}`:e;let o=t;n&&Object.keys(n).forEach(e=>{const a=n[e];a&&(o+=` ${t}--${!0===a?e:`${e}-${a}`}`)});let r="function"==typeof i?i(n):i;return"string"==typeof r&&(r=r.trim(),r&&(o+=` ${r}`)),o},[e,a,n,i]),Go="szh-menu",yo=t.createContext(),Io=t.createContext({}),Bo=t.createContext({}),Fo=t.createContext({}),Zo=t.createContext({}),No=t.createContext({}),Lo=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),wo=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),Xo=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),Wo=Object.freeze({FIRST:"first",LAST:"last"}),Co=Object.freeze({entering:"opening",entered:"open",exiting:"closing",exited:"closed"}),Ro="absolute",Do="none",Uo={preventScroll:!0},ko=ho("MenuButton",t.forwardRef(function({className:a,isOpen:n,disabled:i,children:o,...r},l){const s=t.useMemo(()=>({open:n}),[n]);return e.jsx("button",{"aria-haspopup":!0,"aria-expanded":n,"aria-disabled":i||void 0,type:"button",disabled:i,...r,ref:l,className:vo({block:"szh-menu-button",modifiers:s,className:a}),children:o})})),Yo=({className:a,containerRef:n,containerProps:i,children:o,isOpen:r,theming:l,transition:s,onClose:c})=>{const d=mo(s,"item");return e.jsx("div",{...go({onKeyDown:({key:e})=>{if(e===Lo.ESC)bo(c,{key:e,reason:Xo.CANCEL})},onBlur:e=>{r&&!e.currentTarget.contains(e.relatedTarget)&&bo(c,{reason:Xo.BLUR})}},i),className:vo({block:"szh-menu-container",modifiers:t.useMemo(()=>({theme:l,itemTransition:d}),[l,d]),className:a}),style:{position:"absolute",...i?.style},ref:n,children:o})},Vo=()=>{let e,t=0;return{toggle:e=>{e?t++:t--,t=Math.max(t,0)},on:(a,n,i)=>{t?e||(e=setTimeout(()=>{e=0,n()},a)):i?.()},off:()=>{e&&(clearTimeout(e),e=0)}}},jo=(e,t)=>Math.round(e)===t?e:t,_o=(e,t,a,n)=>{const i=(e=>{const t=e.getBoundingClientRect();return t.width=jo(t.width,e.offsetWidth),t.height=jo(t.height,e.offsetHeight),t})(t),o=e.getBoundingClientRect(),r=a===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:a.getBoundingClientRect(),l=(e=>{if("string"!=typeof e)return{top:0,right:0,bottom:0,left:0};const t=e.trim().split(/\s+/,4).map(parseFloat),a=isNaN(t[0])?0:t[0],n=isNaN(t[1])?a:t[1];return{top:a,right:n,bottom:isNaN(t[2])?a:t[2],left:isNaN(t[3])?n:t[3]}})(n),s=e=>e+o.left-r.left-l.left,c=e=>e+o.left+i.width-r.right+l.right,d=e=>e+o.top-r.top-l.top,u=e=>e+o.top+i.height-r.bottom+l.bottom;return{menuRect:i,containerRect:o,getLeftOverflow:s,getRightOverflow:c,getTopOverflow:d,getBottomOverflow:u,confineHorizontally:e=>{let t=s(e);if(t<0)e-=t;else{const a=c(e);a>0&&(t=s(e-=a),t<0&&(e-=t))}return e},confineVertically:e=>{let t=d(e);if(t<0)e-=t;else{const a=u(e);a>0&&(t=d(e-=a),t<0&&(e-=t))}return e}}},So=({anchorRect:e,containerRect:t,menuRect:a,placeLeftorRightY:n,placeLeftX:i,placeRightX:o,getLeftOverflow:r,getRightOverflow:l,confineHorizontally:s,confineVertically:c,arrowRef:d,arrow:u,direction:m,position:b})=>{let f,h,g,p=m,x=n;"initial"!==b&&(x=c(x),"anchor"===b&&(x=Math.min(x,e.bottom-t.top),x=Math.max(x,e.top-t.top-a.height))),"left"===p?(f=i,"initial"!==b&&(h=r(f),h<0&&(g=l(o),(g<=0||-h>g)&&(f=o,p="right")))):(f=o,"initial"!==b&&(g=l(f),g>0&&(h=r(i),(h>=0||-h<g)&&(f=i,p="left")))),"auto"===b&&(f=s(f));const Q=u?(({arrowRef:e,menuY:t,anchorRect:a,containerRect:n,menuRect:i})=>{let o=a.top-n.top-t+a.height/2;const r=1.25*e.current.offsetHeight;return o=Math.max(r,o),o=Math.min(o,i.height-r),o})({menuY:x,arrowRef:d,anchorRect:e,containerRect:t,menuRect:a}):void 0;return{arrowY:Q,x:f,y:x,computedDirection:p}},Mo=({anchorRect:e,containerRect:t,menuRect:a,placeToporBottomX:n,placeTopY:i,placeBottomY:o,getTopOverflow:r,getBottomOverflow:l,confineHorizontally:s,confineVertically:c,arrowRef:d,arrow:u,direction:m,position:b})=>{let f,h,g,p="top"===m?"top":"bottom",x=n;"initial"!==b&&(x=s(x),"anchor"===b&&(x=Math.min(x,e.right-t.left),x=Math.max(x,e.left-t.left-a.width))),"top"===p?(f=i,"initial"!==b&&(h=r(f),h<0&&(g=l(o),(g<=0||-h>g)&&(f=o,p="bottom")))):(f=o,"initial"!==b&&(g=l(f),g>0&&(h=r(i),(h>=0||-h<g)&&(f=i,p="top")))),"auto"===b&&(f=c(f));const Q=u?(({arrowRef:e,menuX:t,anchorRect:a,containerRect:n,menuRect:i})=>{let o=a.left-n.left-t+a.width/2;const r=1.25*e.current.offsetWidth;return o=Math.max(r,o),o=Math.min(o,i.width-r),o})({menuX:x,arrowRef:d,anchorRect:e,containerRect:t,menuRect:a}):void 0;return{arrowX:Q,x:x,y:f,computedDirection:p}},Jo="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?t.useLayoutEffect:t.useEffect;function Eo(e,t){"function"==typeof e?e(t):e.current=t}const zo=(e,a)=>t.useMemo(()=>e?a?t=>{Eo(e,t),Eo(a,t)}:e:a,[e,a]),Ao=({ariaLabel:a,menuClassName:n,menuStyle:i,arrow:o,arrowProps:r={},anchorPoint:l,anchorRef:c,containerRef:d,containerProps:u,externalRef:m,parentScrollingRef:b,align:f="start",direction:h="bottom",position:g="auto",overflow:p="visible",setDownOverflow:x,repositionFlag:Q,captureFocus:v=!0,state:G,endTransition:y,isDisabled:I,menuItemFocus:B,gap:F=0,shift:Z=0,children:N,onClose:L,focusProps:w,...X})=>{const[W,C]=t.useState({x:-9999,y:-9999}),[R,D]=t.useState({}),[U,k]=t.useState(),[Y,V]=t.useState(h),[j]=t.useState(Vo),[_,S]=t.useReducer(e=>e+1,1),{transition:M,boundingBoxRef:J,boundingBoxPadding:E,rootMenuRef:z,rootAnchorRef:A,scrollNodesRef:O,reposition:H,viewScroll:T,submenuCloseDelay:P}=t.useContext(No),{submenuCtx:K,reposSubmenu:$=Q}=t.useContext(Bo),q=t.useRef(),ee=t.useRef(),te=t.useRef(!1),{hoverItem:ae,dispatch:ne,updateItems:ie}=(e=>{const[a,n]=t.useState(),i=t.useRef({items:[],hoverIndex:-1,sorted:!1}).current,o=t.useCallback((t,a)=>{const{items:o}=i;if(t)if(a)o.push(t);else{const a=o.indexOf(t);a>-1&&(o.splice(a,1),t.contains(document.activeElement)&&(e.current.focus(Uo),n()))}else i.items=[];i.hoverIndex=-1,i.sorted=!1},[i,e]),r=t.useCallback((t,a,o)=>{const{items:r,hoverIndex:l}=i,s=()=>{if(i.sorted)return;const t=e.current.querySelectorAll(".szh-menu__item");r.sort((e,a)=>Qo(t,e)-Qo(t,a)),i.sorted=!0};let c,d=-1;switch(t){case wo.RESET:break;case wo.SET:c=a;break;case wo.UNSET:c=e=>e===a?void 0:e;break;case wo.FIRST:s(),d=0,c=r[d];break;case wo.LAST:s(),d=r.length-1,c=r[d];break;case wo.SET_INDEX:s(),d=o,c=r[d];break;case wo.INCREASE:s(),d=l,d<0&&(d=r.indexOf(a)),d++,d>=r.length&&(d=0),c=r[d];break;case wo.DECREASE:s(),d=l,d<0&&(d=r.indexOf(a)),d--,d<0&&(d=r.length-1),c=r[d];break;default:if("production"!==process.env.NODE_ENV)throw new Error(`[React-Menu] Unknown hover action type: ${t}`)}c||(d=-1),n(c),i.hoverIndex=d},[e,i]);return{hoverItem:a,dispatch:r,updateItems:o}})(q),oe=co(G),re=mo(M,"open"),le=mo(M,"close"),se=O.current,ce=t.useCallback(e=>{const t=q.current,a=d.current;if(!t||!a)return;const n=c?c.current?.getBoundingClientRect():l?{left:l.x,right:l.x,top:l.y,bottom:l.y,width:0,height:0}:null;if(!n)return void("production"!==process.env.NODE_ENV&&console.warn("[React-Menu] Menu might not be positioned properly as one of the anchorRef or anchorPoint prop should be provided. If `anchorRef` is provided, the anchor must be mounted before menu is open."));se.menu||(se.menu=(J?J.current:po(z.current))||window);const i=_o(a,t,se.menu,E);let{arrowX:r,arrowY:s,x:u,y:m,computedDirection:b}=(({arrow:e,align:t,direction:a,gap:n,shift:i,position:o,anchorRect:r,arrowRef:l,positionHelpers:s})=>{const{menuRect:c,containerRect:d}=s,u="left"===a||"right"===a;let m=u?n:i,b=u?i:n;if(e){const e=l.current;u?m+=e.offsetWidth:b+=e.offsetHeight}const f=r.left-d.left-c.width-m,h=r.right-d.left+m,g=r.top-d.top-c.height-b,p=r.bottom-d.top+b;let x,Q;"end"===t?(x=r.right-d.left-c.width,Q=r.bottom-d.top-c.height):"center"===t?(x=r.left-d.left-(c.width-r.width)/2,Q=r.top-d.top-(c.height-r.height)/2):(x=r.left-d.left,Q=r.top-d.top),x+=m,Q+=b;const v={...s,anchorRect:r,placeLeftX:f,placeRightX:h,placeLeftorRightY:Q,placeTopY:g,placeBottomY:p,placeToporBottomX:x,arrowRef:l,arrow:e,direction:a,position:o};switch(a){case"left":case"right":return So(v);default:return Mo(v)}})({arrow:o,align:f,direction:h,gap:F,shift:Z,position:g,anchorRect:n,arrowRef:ee,positionHelpers:i});const{menuRect:x}=i,Q=x.height;if(!e&&"visible"!==p){const{getTopOverflow:e,getBottomOverflow:t}=i;let a,n;const o=t(m);if(o>0)a=Q-o,n=o;else{const t=e(m);t<0&&(a=Q+t,n=0-t,a>=0&&(m-=t))}a>=0&&k({height:a,overflowAmt:n})}o&&D({x:r,y:s}),C({x:u,y:m}),V(b)},[o,f,E,h,F,Z,g,p,l,c,d,J,z,se]);Jo(()=>{oe&&(ce(),te.current&&S()),te.current=oe},[oe,ce,$]),Jo(()=>{U&&!x&&(q.current.scrollTop=0)},[U,x]),Jo(()=>ie,[ie]),t.useEffect(()=>{let{menu:e}=se;if(!oe||!e)return;if(e=e.addEventListener?e:window,!se.anchors){se.anchors=[];let t=po(A&&A.current);for(;t&&t!==e;)se.anchors.push(t),t=po(t)}let t=T;if(se.anchors.length&&"initial"===t&&(t="auto"),"initial"===t)return;const a=()=>{"auto"===t?uo(()=>ce(!0)):bo(L,{reason:Xo.SCROLL})},n=se.anchors.concat("initial"!==T?e:[]);return n.forEach(e=>e.addEventListener("scroll",a)),()=>n.forEach(e=>e.removeEventListener("scroll",a))},[A,se,oe,L,T,ce]);const de=!!U&&U.overflowAmt>0;t.useEffect(()=>{if(de||!oe||!b)return;const e=()=>uo(ce),t=b.current;return t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)},[oe,de,b,ce]),t.useEffect(()=>{if(!oe||"function"!=typeof ResizeObserver||"initial"===H)return;const e=[],t=new ResizeObserver(t=>t.forEach(({target:t})=>{e.indexOf(t)<0?e.push(t):s.flushSync(()=>{ce(),S()})})),a={box:"border-box"};t.observe(q.current,a);const n=c?.current;return n&&t.observe(n,a),()=>t.disconnect()},[oe,H,c,ce]),t.useEffect(()=>{if(!oe)return ne(wo.RESET),void(le||k());const{position:e,alwaysUpdate:t}=B||{},a=()=>{e===Wo.FIRST?ne(wo.FIRST):e===Wo.LAST?ne(wo.LAST):e>=-1&&ne(wo.SET_INDEX,void 0,e)};if(t)a();else if(v){const e=setTimeout(()=>{const e=q.current;e&&!e.contains(document.activeElement)&&(e.focus(Uo),a())},re?170:100);return()=>clearTimeout(e)}},[oe,re,le,v,B,ne]);const ue=t.useMemo(()=>({isParentOpen:oe,submenuCtx:j,dispatch:ne,updateItems:ie}),[oe,j,ne,ie]);let me,be;U&&(x?be=U.overflowAmt:me=U.height);const fe=t.useMemo(()=>({reposSubmenu:_,submenuCtx:j,overflow:p,overflowAmt:be,parentMenuRef:q,parentDir:Y}),[_,j,p,be,Y]),he=me>=0?{maxHeight:me,overflow:p}:void 0,ge=t.useMemo(()=>({state:G,align:f,dir:Y}),[G,f,Y]),pe=t.useMemo(()=>({dir:Y}),[Y]),xe=vo({block:Go,element:"arrow",modifiers:pe,className:r.className}),Qe=e.jsxs("ul",{role:"menu","aria-label":a,...xo(I),...go({onPointerEnter:K?.off,onPointerMove:e=>{e.stopPropagation(),j.on(P,()=>{ne(wo.RESET),q.current.focus(Uo)})},onPointerLeave:e=>{e.target===e.currentTarget&&j.off()},onKeyDown:e=>{switch(e.key){case Lo.HOME:ne(wo.FIRST);break;case Lo.END:ne(wo.LAST);break;case Lo.UP:ne(wo.DECREASE,ae);break;case Lo.DOWN:ne(wo.INCREASE,ae);break;case Lo.SPACE:return void(e.target&&-1!==e.target.className.indexOf(Go)&&e.preventDefault());default:return}e.preventDefault(),e.stopPropagation()},onAnimationEnd:()=>{"closing"===G&&k(),bo(y)}},X),ref:zo(m,q),className:vo({block:Go,modifiers:ge,className:n}),style:{...i,...he,margin:0,display:"closed"===G?"none":void 0,position:Ro,left:W.x,top:W.y},children:[o&&e.jsx("li",{"aria-hidden":!0,...r,className:xe,style:{display:"block",position:Ro,left:R.x,top:R.y,...r.style},ref:ee}),e.jsx(Bo.Provider,{value:fe,children:e.jsx(Io.Provider,{value:ue,children:e.jsx(yo.Provider,{value:ae,children:bo(N,ge)})})})]});return u?e.jsx(Yo,{...u,isOpen:oe,children:Qe}):Qe},Oo=t.forwardRef(function({"aria-label":a,className:n,containerProps:i,initialMounted:o,unmountOnClose:r,transition:l,transitionTimeout:c,boundingBoxRef:d,boundingBoxPadding:u,reposition:m="auto",submenuOpenDelay:b=300,submenuCloseDelay:f=150,viewScroll:h="initial",portal:g,theming:p,onItemClick:x,...Q},v){const G=t.useRef(null),y=t.useRef({}),{anchorRef:I,state:B,onClose:F}=Q,Z=t.useMemo(()=>({initialMounted:o,unmountOnClose:r,transition:l,transitionTimeout:c,boundingBoxRef:d,boundingBoxPadding:u,rootMenuRef:G,rootAnchorRef:I,scrollNodesRef:y,reposition:m,viewScroll:h,submenuOpenDelay:b,submenuCloseDelay:f}),[o,r,l,c,I,d,u,m,h,b,f]),N=t.useMemo(()=>({handleClick(e,t){e.stopPropagation||bo(x,e);let a=e.keepOpen;void 0===a&&(a=t&&e.key===Lo.SPACE),a||bo(F,{value:e.value,key:e.key,reason:Xo.CLICK})},handleClose(e){bo(F,{key:e,reason:Xo.CLICK})}}),[x,F]);if(!B)return null;const L=e.jsx(No.Provider,{value:Z,children:e.jsx(Fo.Provider,{value:N,children:e.jsx(Ao,{...Q,ariaLabel:a||"Menu",externalRef:v,containerRef:G,containerProps:{className:n,containerRef:G,containerProps:i,theming:p,transition:l,onClose:F}})})});return!0===g&&"undefined"!=typeof document?s.createPortal(L,document.body):g?g.target?s.createPortal(L,g.target):g.stablePosition?null:L:L}),Ho=["preEnter","entering","entered","preExit","exiting","exited","unmounted"],To=e=>({_s:e,status:Ho[e],isEnter:e<3,isMounted:6!==e,isResolved:2===e||e>4}),Po=e=>e?6:5,Ko=(e,t,a,n,i)=>{clearTimeout(n.current);const o=To(e);t(o),a.current=o,i&&i({current:o})},$o=({enter:e=!0,exit:a=!0,preEnter:n,preExit:i,timeout:o,initialEntered:r,mountOnEnter:l,unmountOnExit:s,onStateChange:c}={})=>{const[d,u]=t.useState(()=>To(r?2:Po(l))),m=t.useRef(d),b=t.useRef(),[f,h]=(e=>"object"==typeof e?[e.enter,e.exit]:[e,e])(o),g=t.useCallback(()=>{const e=((e,t)=>{switch(e){case 1:case 0:return 2;case 4:case 3:return Po(t)}})(m.current._s,s);e&&Ko(e,u,m,b,c)},[c,s]);return[d,t.useCallback(t=>{const o=e=>{switch(Ko(e,u,m,b,c),e){case 1:f>=0&&(b.current=setTimeout(g,f));break;case 4:h>=0&&(b.current=setTimeout(g,h));break;case 0:case 3:b.current=((e,t)=>setTimeout(()=>{isNaN(document.body.offsetTop)||e(t+1)},0))(o,e)}},r=m.current.isEnter;"boolean"!=typeof t&&(t=!r),t?!r&&o(e?n?0:1:2):r&&o(a?i?3:4:Po(s))},[g,c,e,a,n,i,f,h,s]),g]},qo=({initialOpen:e,initialMounted:a,unmountOnClose:n,transition:i,transitionTimeout:o=500,onMenuChange:r}={})=>{const l=mo(i,"open"),s=mo(i,"close"),[{status:c},d,u]=$o({initialEntered:e,mountOnEnter:!a,unmountOnExit:n,timeout:o,enter:l,exit:s,onStateChange:t.useCallback(({current:{isEnter:e,isResolved:t}})=>{!r||e&&l&&t||!e&&s&&t||r({open:e})},[r,l,s])});return[{state:Co[c],endTransition:u},d]},er=parseInt(t.version)<19,tr=t.forwardRef(function({"aria-label":a,captureFocus:n,initialOpen:i,menuButton:o,instanceRef:r,onMenuChange:l,...s},c){const[d,u,m]=(e=>{const[a,n]=qo(e),[i,o]=t.useState();return[{menuItemFocus:i,...a},n,(e,t)=>{o({position:e,alwaysUpdate:t}),n(!0)}]})({...s,onMenuChange:l}),{state:b}=d,f=co(b),h=t.useRef(null),g=((e,a)=>{if("production"!==process.env.NODE_ENV&&"function"!=typeof a)throw new Error("[React-Menu] useClick/useHover requires a function in the second parameter.");const[n]=t.useState({});return{onMouseDown:()=>{n.v=e&&"closed"!==e},onClick:e=>n.v?n.v=!1:a(!0,e)}})(b,(e,t)=>m(t.detail?void 0:Wo.FIRST)),p=t.useCallback(e=>{u(!1),e.key&&h.current.focus()},[u]),x=bo(o,{open:f});if(!x||!x.type)throw new Error("Menu requires a menuButton prop.");const Q={...go({onKeyDown:e=>{switch(e.key){case Lo.UP:m(Wo.LAST);break;case Lo.DOWN:m(Wo.FIRST);break;default:return}e.preventDefault()},...g},x.props),ref:zo(er?x.ref:x.props.ref,h)};"MenuButton"===x.type[fo]&&(Q.isOpen=f);const v=t.cloneElement(x,Q);return t.useImperativeHandle(r,()=>({openMenu:m,closeMenu:()=>u(!1)})),e.jsxs(t.Fragment,{children:[v,e.jsx(Oo,{...s,...d,"aria-label":a||("string"==typeof x.props.children?x.props.children:"Menu"),anchorRef:h,ref:c,onClose:p})]})}),ar=(e,a,n,i)=>{const[o,r,l]=(e=>{const[a,n]=t.useState(!1);return t.useEffect(()=>{!e&&n(!1)},[e]),[a,()=>!a&&n(!0),()=>n(!1)]})(n),{submenuCloseDelay:s}=t.useContext(No),{isParentOpen:c,submenuCtx:d,dispatch:u,updateItems:m}=t.useContext(Io),b=()=>{!n&&!i&&u(wo.SET,e.current)},f=()=>{!i&&u(wo.UNSET,e.current)};return((e,t,a)=>{Jo(()=>{if("production"!==process.env.NODE_ENV&&!a)throw new Error(`[React-Menu] This menu item or submenu should be rendered under a menu: ${t.current.outerHTML}`);if(e)return;const n=t.current;return a(n,!0),()=>{a(n)}},[e,t,a])})(i,e,m),t.useEffect(()=>{n&&c&&a.current&&a.current.focus()},[a,n,c]),{mouseOver:o,setHover:b,onBlur:e=>{n&&!e.currentTarget.contains(e.relatedTarget)&&f()},onPointerMove:e=>{i||(e.stopPropagation(),r(),d.on(s,b,b))},onPointerLeave:(e,t)=>{l(),d.off(),!t&&f()}}},nr=((a,n)=>{const i=t.memo(n),o=t.forwardRef((a,n)=>{const o=t.useRef(null);return e.jsx(i,{...a,itemRef:o,externalRef:n,isHovering:t.useContext(yo)===o.current})});return o.displayName=`WithHovering(${a})`,o})("MenuItem",function({className:a,value:n,href:i,type:o,checked:r,disabled:l,children:s,onClick:c,isHovering:d,itemRef:u,externalRef:m,...b}){const f=!!l,{mouseOver:h,setHover:g,...p}=ar(u,u,d,f),x=t.useContext(Fo),Q=t.useContext(Zo),v="radio"===o,G="checkbox"===o,y=!(!i||f||v||G),I=v?Q.value===n:!!G&&!!r,B=e=>{if(f)return e.stopPropagation(),void e.preventDefault();const t={value:n,syntheticEvent:e};void 0!==e.key&&(t.key=e.key),G&&(t.checked=!I),v&&(t.name=Q.name),bo(c,t),v&&bo(Q.onRadioChange,t),x.handleClick(t,G||v)},F=t.useMemo(()=>({type:o,disabled:f,hover:h||d,checked:I,anchor:y}),[o,f,h,d,I,y]),Z=go({...p,onPointerDown:g,onKeyDown:e=>{if(d)switch(e.key){case Lo.ENTER:e.preventDefault();case Lo.SPACE:y?u.current.click():B(e)}},onClick:B},b),N={role:v?"menuitemradio":G?"menuitemcheckbox":"menuitem","aria-checked":v||G?I:void 0,...xo(f,d),...Z,ref:zo(m,u),className:vo({block:Go,element:"item",modifiers:F,className:a}),children:t.useMemo(()=>bo(s,F),[s,F])};return y?e.jsx("li",{role:Do,children:e.jsx("a",{href:i,...N})}):e.jsx("li",{...N})}),ir=t.memo(t.forwardRef(function({className:t,...a},n){return e.jsx("li",{role:Do,...a,ref:n,className:vo({block:Go,element:"header",className:t})})}));var or="canvas-module_canvas__Iiaz4";b(".canvas-module_canvas__Iiaz4{cursor:pointer;position:relative;width:100%;z-index:1}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNhbnZhcy5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDZCQUVFLGNBQWUsQ0FDZixpQkFBa0IsQ0FGbEIsVUFBVyxDQUdYLFNBQ0YiLCJmaWxlIjoiY2FudmFzLm1vZHVsZS5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuY2FudmFzIHtcbiAgd2lkdGg6IDEwMCU7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICB6LWluZGV4OiAxO1xufVxuIl19 */");var rr="Highlight-module_highlight__1VV-X";function lr(a){const{canvasRef:n,barHeight:i,xyToHighlightData:o,zoom:r}=a,[l,s]=t.useState({height:"0px",visibility:"hidden"});t.useEffect(()=>{s({height:"0px",visibility:"hidden"})},[r]);const c=e=>{const t=o(e.offsetX,e.offsetY);if(t.isJust){const e=t.value;s({visibility:"visible",height:`${i}px`,...e})}else d()},d=()=>{s({...l,visibility:"hidden"})};return t.useEffect(()=>{const e=n.current;return e?(e.addEventListener("mousemove",c),e.addEventListener("mouseout",d),()=>{e.removeEventListener("mousemove",c),e.removeEventListener("mouseout",d)}):()=>{}},[n.current,c,d]),e.jsx("div",{className:rr,style:l,"data-testid":"flamegraph-highlight"})}b(".Highlight-module_highlight__1VV-X{background:#ffffff40;mix-blend-mode:overlay;pointer-events:none;position:absolute;z-index:2}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhpZ2hsaWdodC5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG1DQUdFLG9CQUFxQixDQUNyQixzQkFBdUIsQ0FGdkIsbUJBQW9CLENBRHBCLGlCQUFrQixDQUlsQixTQUNGIiwiZmlsZSI6IkhpZ2hsaWdodC5tb2R1bGUuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmhpZ2hsaWdodCB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIGJhY2tncm91bmQ6ICNmZmZmZmY0MDtcbiAgbWl4LWJsZW5kLW1vZGU6IG92ZXJsYXk7XG4gIHotaW5kZXg6IDI7XG59XG4iXX0= */");var sr="ContextMenuHighlight-module_highlightContextMenu__WI1nK";b(".ContextMenuHighlight-module_highlightContextMenu__WI1nK{background:#ffffff8c;mix-blend-mode:overlay;pointer-events:none;position:absolute;z-index:2}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRleHRNZW51SGlnaGxpZ2h0Lm1vZHVsZS5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBSUUsb0JBQXFCLENBQ3JCLHNCQUF1QixDQUh2QixtQkFBb0IsQ0FEcEIsaUJBQWtCLENBS2xCLFNBQ0YiLCJmaWxlIjoiQ29udGV4dE1lbnVIaWdobGlnaHQubW9kdWxlLmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5oaWdobGlnaHRDb250ZXh0TWVudSB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIC8qIG1ha2UgaXQgYSBiaXQgbGlnaHRlciBzbyB0aGF0IGl0J3MgZWFzaWVyIHRvIGRpc3Rpbmd1aXNoIHdoZW4gYm90aCBoaWdobGlnaHRzIGFyZSBvbiAqL1xuICBiYWNrZ3JvdW5kOiAjZmZmZmZmOGM7XG4gIG1peC1ibGVuZC1tb2RlOiBvdmVybGF5O1xuICB6LWluZGV4OiAyO1xufVxuIl19 */");const cr={height:"0px",visibility:"hidden"};function dr(a){const{node:n,barHeight:i}=a,[o,r]=t.useState(cr);return t.useEffect(()=>{n.match({Nothing:()=>r(cr),Just:e=>r({visibility:"visible",height:`${i}px`,...e})})},[n]),e.jsx("div",{className:sr,style:o,"data-testid":"flamegraph-highlight-contextmenu"})}const ur={name:"Default",goodColor:i.rgb(0,170,0),neutralColor:i.rgb(148,142,142),badColor:i.rgb(200,0,0),colors:[i.hsl(24,69,60),i.hsl(34,65,65),i.hsl(194,52,61),i.hsl(163,45,55),i.hsl(211,48,60),i.hsl(246,40,65),i.hsl(305,63,79),i.hsl(47,100,73),i.rgb(183,219,171),i.rgb(244,213,152),i.rgb(78,146,249),i.rgb(249,186,143),i.rgb(242,145,145),i.rgb(130,181,216),i.rgb(229,168,226),i.rgb(174,162,224),i.rgb(154,196,138),i.rgb(242,201,109),i.rgb(101,197,219),i.rgb(249,147,78),i.rgb(234,100,96),i.rgb(81,149,206),i.rgb(214,131,206),i.rgb(128,110,183)]},mr={...ur,name:"Color Blind",goodColor:i.rgb(26,133,255),neutralColor:i.rgb(148,142,142),badColor:i.rgb(220,50,32)};function br(){return e.jsxs("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:[e.jsx("defs",{}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M5,19.56c0,5.22,3.54,9.44,7.92,9.44h3.17c4.37,0,7.92-4.23,7.92-9.44v-7.56H5v7.56Z"}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M14,1h-.82c-4.52,0-8.18,3.73-8.18,8.33v1.67H14V1Z"}),e.jsx("path",{d:"M15.82,1h-.82V11h9v-1.67c0-4.6-3.66-8.33-8.18-8.33Z"})]})}function fr(){return e.jsxs("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:[e.jsx("defs",{}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M24,19.56c0,5.22-3.54,9.44-7.92,9.44h-3.17c-4.37,0-7.92-4.23-7.92-9.44v-7.56H24v7.56Z"}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M15,1h.82c4.52,0,8.18,3.73,8.18,8.33v1.67H15V1Z"}),e.jsx("path",{d:"M13.18,1h.82V11H5v-1.67c0-4.6,3.66-8.33,8.18-8.33Z"})]})}var hr={tooltip:"Tooltip-module_tooltip__NMZ65",flamegraphDiffTooltip:"Tooltip-module_flamegraphDiffTooltip__Z983o",tooltipName:"Tooltip-module_tooltipName__y4Qs3",functionName:"Tooltip-module_functionName__z9LHO",tooltipTable:"Tooltip-module_tooltipTable__ct3pq",clickInfo:"Tooltip-module_clickInfo__Utux5"};b(".Tooltip-module_tooltip__NMZ65{background:var(--ps-tooltip-bg);border-radius:4px;box-shadow:1px 2px 4px 0 rgba(0,0,0,.3);color:var(--ps-tooltip-text);font-size:12px;pointer-events:none;position:fixed;visibility:hidden;width:420px;z-index:2}.Tooltip-module_tooltip__NMZ65.Tooltip-module_flamegraphDiffTooltip__Z983o{width:450px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipName__y4Qs3{background-color:var(--ps-tooltip-header-bg);border-top-left-radius:4px;border-top-right-radius:4px;color:var(--ps-tooltip-text);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-weight:700;overflow:hidden;padding:8px 10px;text-overflow:ellipsis;white-space:nowrap}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_functionName__z9LHO{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;padding:8px 10px 0;white-space:break-spaces;word-break:break-all}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipTable__ct3pq{display:table;margin:10px;width:calc(100% - 20px)}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipTable__ct3pq td,.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipTable__ct3pq th{background-color:var(--ps-tooltip-bg);border:1px solid var(--ps-tooltip-header-bg);font-weight:400;padding:5px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_clickInfo__Utux5{color:var(--ps-right-click-info);display:flex;justify-content:center;margin-bottom:10px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_clickInfo__Utux5 svg{align-self:center;color:initial;display:block;height:22px;margin-right:5px;width:22px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_clickInfo__Utux5 span{font-size:14px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2x0aXAubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsK0JBR0UsK0JBQWdDLENBRWhDLGlCQUFrQixDQURsQix1Q0FBOEMsQ0FFOUMsNEJBQTZCLENBQzdCLGNBQWUsQ0FHZixtQkFBb0IsQ0FScEIsY0FBZSxDQU1mLGlCQUFrQixDQVBsQixXQUFZLENBUVosU0FFRixDQUNBLDJFQUNFLFdBQ0YsQ0FDQSxrRUFFRSw0Q0FBNkMsQ0FFN0MsMEJBQTJCLENBRDNCLDJCQUE0QixDQUY1Qiw0QkFBNkIsQ0FTN0IsbUVBQXdFLENBTHhFLGVBQWlCLENBRWpCLGVBQWdCLENBRWhCLGdCQUFpQixDQURqQixzQkFBdUIsQ0FGdkIsa0JBS0YsQ0FDQSxtRUFFRSxtRUFBd0UsQ0FEeEUsa0JBQW1CLENBRW5CLHdCQUF5QixDQUN6QixvQkFDRixDQUNBLG1FQUdFLGFBQWMsQ0FEZCxXQUFZLENBRFosdUJBR0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jbGlja0luZm8gc3ZnIHtcbiAgY29sb3I6IGluaXRpYWw7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBhbGlnbi1zZWxmOiBjZW50ZXI7XG4gIHdpZHRoOiAyMnB4O1xuICBoZWlnaHQ6IDIycHg7XG4gIG1hcmdpbi1yaWdodDogNXB4O1xufVxuLnRvb2x0aXAgLmNsaWNrSW5mbyBzcGFuIHtcbiAgZm9udC1zaXplOiAxNHB4O1xufSJdfQ== */");const gr={location:"Location",self:"Self",total:"Total",baseline:"Baseline",comparison:"Comparison",diff:"Diff",noItemsFound:"No items found",diffNew:"new",diffRemoved:"removed",tooltipSamples:"Samples:",tooltipUnitTitles:{objects:{percent:"% of objects in RAM",formattedValue:"Objects in RAM",total:"% of total RAM"},goroutines:{percent:"% of goroutines",formattedValue:"Goroutines",total:"% of total goroutines"},bytes:{percent:"% of RAM",formattedValue:"RAM",total:"% of total bytes"},samples:{percent:"Share of CPU",formattedValue:"CPU Time",total:"% of total CPU"},lock_nanoseconds:{percent:"% of Time spent",formattedValue:"Time",total:"% of total seconds"},lock_samples:{percent:"% of contended locks",formattedValue:"Contended locks",total:"% of total locks"},trace_samples:{percent:"% of time",formattedValue:"Samples",total:"% of total samples"},exceptions:{percent:"% of thrown exceptions",formattedValue:"Thrown exceptions",total:"% of total thrown exceptions"},unknown:{percent:"Percentage",formattedValue:"Units",total:"% of total units"}},resetView:"Reset View",collapseNodesAbove:"Collapse nodes above",copyFunctionName:"Copy function name",highlightSimilarNodes:"Highlight similar nodes",clearHighlight:"Clear highlight",openInSandwichView:"Open in sandwich view",showTextTailFirst:"Show text tail first",showTextHeadFirst:"Show text head first",headFirst:"Head first",tailFirst:"Tail first",clickToHighlightNode:"Click to highlight node in flamegraph",rightClickForMoreNodeOptions:"Right click for more node viewing options",viewTable:"Table",viewTableAndFlamegraph:"Table and Flamegraph",viewFlamegraph:"Flamegraph",viewSandwich:"Sandwich",viewGraphviz:"GraphViz",more:"More",diffLegendRemovedLabel:"(-) Removed",diffLegendAddedLabel:"Added (+)",diffLegendSelectPalette:"Select a palette",paletteDefaultName:"Default",paletteColorBlindName:"Color Blind",paletteDefaultDesc:"(green to red)",paletteColorBlindDesc:"(blue to red)",searchPlaceholder:"Search...",syncSearchBars:"Sync Search Bars",unsyncSearchBars:"Unsync Search Bars"},pr={...gr,location:"位置",self:"自身",total:"总计",baseline:"基线",comparison:"对比",diff:"差异",noItemsFound:"没有找到任何条目",diffNew:"新增",diffRemoved:"移除",tooltipSamples:"样本数:",tooltipUnitTitles:{objects:{percent:"RAM 中对象占比",formattedValue:"RAM 中对象数",total:"占总 RAM 的百分比"},goroutines:{percent:"协程占比",formattedValue:"协程数量",total:"占协程总数的百分比"},bytes:{percent:"RAM 占比",formattedValue:"RAM",total:"占总字节数的百分比"},samples:{percent:"CPU 占比",formattedValue:"CPU 时间",total:"占总 CPU 的百分比"},lock_nanoseconds:{percent:"耗时占比",formattedValue:"时间",total:"占总秒数的百分比"},lock_samples:{percent:"锁竞争事件占比",formattedValue:"锁竞争事件数",total:"占锁竞争总数的百分比"},trace_samples:{percent:"时间占比",formattedValue:"样本数",total:"占样本总数的百分比"},exceptions:{percent:"异常抛出占比",formattedValue:"异常数",total:"占异常总数的百分比"},unknown:{percent:"百分比",formattedValue:"单位",total:"占单位总量的百分比"}},resetView:"重置视图",collapseNodesAbove:"收起上方节点",copyFunctionName:"复制函数名",highlightSimilarNodes:"高亮相似节点",clearHighlight:"清除高亮",openInSandwichView:"在 sandwich 视图中查看",showTextTailFirst:"显示文本尾部优先",showTextHeadFirst:"显示文本头部优先",headFirst:"从头部开始显示",tailFirst:"从尾部开始显示",clickToHighlightNode:"点击火焰图节点高亮",rightClickForMoreNodeOptions:"右键查看更多节点选项",viewTable:"表格",viewTableAndFlamegraph:"表格 + 火焰图",viewFlamegraph:"火焰图",viewSandwich:"三明治视图",viewGraphviz:"调用图 (GraphViz)",more:"更多",diffLegendRemovedLabel:"(-) 减少",diffLegendAddedLabel:"增加 (+)",diffLegendSelectPalette:"选择颜色方案",paletteDefaultName:"默认",paletteColorBlindName:"色盲模式",paletteDefaultDesc:"(绿色 → 红色)",paletteColorBlindDesc:"(蓝色 → 红色)",searchPlaceholder:"搜索...",syncSearchBars:"同步搜索栏",unsyncSearchBars:"取消同步搜索栏"},xr=t.createContext(gr),Qr=({messages:a,children:n})=>{const i=t.useMemo(()=>{var e;return{...gr,...a,tooltipUnitTitles:{...gr.tooltipUnitTitles,...null!==(e=null==a?void 0:a.tooltipUnitTitles)&&void 0!==e?e:{}}}},[a]);return e.jsx(xr.Provider,{value:i,children:n})},vr=()=>t.useContext(xr);function Gr(e){if(null==e)return null;if("number"==typeof e)return{value:e,unit:"",hasLessThan:!1,sign:""};let t=String(e).trim().replace(/\u2212/g,"-");if(!t)return null;let a=!1;t.startsWith("<")&&(a=!0,t=t.slice(1).trim());const n=t.match(/^([+\-]?)(\d*\.?\d+)\s*(.*)$/);if(!n)return null;const i=n[1]||"",o=n[2],r=(n[3]||"").trim(),l=parseFloat(o);return Number.isFinite(l)?{value:l,unit:r,hasLessThan:a,sign:i}:null}function yr(e,t=!1){if(!e||!t)return e;const a=Gr(e);if(!a)return e;const{hasLessThan:n,unit:i,sign:o,value:r}=a;let l=i;const s=i.toLowerCase();"ms"===s?l="毫秒":"μs"===s||"µs"===s||"us"===s?l="微秒":"second"===s||"seconds"===s?l="秒":"minute"===s||"minutes"===s||"min"===s||"mins"===s?l="分钟":"hour"===s||"hours"===s?l="小时":"day"===s||"days"===s?l="天":"month"===s||"months"===s?l="月":"year"!==s&&"years"!==s||(l="年");const c=String(e).trim().replace(/\u2212/g,"-").match(/^<?\s*([+\-]?)(\d*\.?\d+)/),d=c&&c[2]?`${c[1]||""}${c[2]}`:`${o}${Math.abs(r)}`,u=n?"< ":"";return l?`${u}${d} ${l}`.trim():`${u}${d}`.trim()}function Ir(e){if(!e)return null;const t=e.replace(/,/g,"").trim();if(!t)return null;const a=Number(t);return Number.isFinite(a)?a:null}function Br(e,t){if(!e||!t)return;const a=e.trim().replace(/\u2212/g,"-");return a&&"0"!==a?a.startsWith("+")?t.badColor.rgb().string():a.startsWith("-")?t.goodColor.rgb().string():void 0:void 0}function Fr({shouldShowFooter:a=!0,shouldShowTitle:n=!0,dataSourceRef:i,clickInfoSide:o,setTooltipContent:r,palette:l}){const s=t.useRef(null),[c,d]=t.useState({title:{text:"",diff:{text:"",color:""}},tooltipData:[]}),[u,m]=t.useState(),b=()=>{m({visibility:"hidden"}),d({title:{text:"",diff:{text:"",color:""}},tooltipData:[]})},f=t.useCallback(e=>{if(!s.current)throw new Error("Missing tooltipElement");const t=Math.min(e.clientX+12,window.innerWidth-s.current.clientWidth-20),a=e.clientY+20;r(d,b,e),m({top:a,left:t,visibility:"visible"})},[r]);return t.useEffect(()=>{const e=i.current;return e?(e.addEventListener("mousemove",f),e.addEventListener("mouseout",b),()=>{e.removeEventListener("mousemove",f),e.removeEventListener("mouseout",b)}):()=>{}},[i.current,f]),e.jsx("div",{"data-testid":"tooltip",className:Vi(hr.tooltip,{[hr.flamegraphDiffTooltip]:c.tooltipData.length>1}),style:{...u,textAlign:"center"},ref:s,children:c.tooltipData.length>0&&e.jsxs(e.Fragment,{children:[n&&e.jsx("div",{className:hr.tooltipName,"data-testid":"tooltip-title",children:c.title.text}),e.jsx("div",{className:hr.functionName,"data-testid":"tooltip-function-name",children:c.title.text}),c.title.diff.text.length>0?e.jsx(Zr,{data:c.tooltipData,diff:c.title.diff,palette:l}):e.jsx(Zr,{data:c.tooltipData,palette:l}),a&&e.jsx(Nr,{clickInfoSide:o})]})})}function Zr({data:t,diff:a,palette:n}){const i=vr(),[o,r]=t,l="Location"!==i.location;if(!o)return null;let s;switch(o.tooltipType){case"flamegraph":s=()=>{const t=r&&function(e,t){const a=Gr(e),n=Gr(t);if(!a||!n)return"";const i=n.value-a.value;if(0===i)return"0";const o=i>0?"+":"-",r=Math.abs(i);let l;l=r>=100?r.toFixed(0):r>=10?r.toFixed(1):r.toFixed(2);const s=a.unit||n.unit;return s?`${o}${l} ${s}`:`${o}${l}`}(o.formattedValue,r.formattedValue),s=yr(t,l),c=r&&function(e,t){const a=Ir(e),n=Ir(t);if(null==a||null==n)return"";const i=n-a;return 0===i?"0":`${i>0?"+":"-"}${Math.abs(i).toLocaleString()}`}(o.samples,r.samples),d=yr(o.formattedValue,l),u=yr(null==r?void 0:r.formattedValue,l),m=null==a?void 0:a.color,b=Br(t,n),f=Br(c,n);return e.jsxs(e.Fragment,{children:[r&&e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{}),e.jsx("th",{children:i.baseline}),e.jsx("th",{children:i.comparison}),e.jsx("th",{children:i.diff})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsxs("td",{children:[i.tooltipUnitTitles[o.units].percent,":"]}),e.jsx("td",{children:o.percent}),r&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:r.percent}),e.jsx("td",{style:{textAlign:"center"},children:a&&e.jsx("span",{"data-testid":"tooltip-diff",style:{color:m},children:a.text})})]})]}),e.jsxs("tr",{children:[e.jsxs("td",{children:[i.tooltipUnitTitles[o.units].formattedValue,":"]}),e.jsx("td",{children:d}),r&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:u}),e.jsx("td",{style:{textAlign:"center"},children:s&&e.jsx("span",{"data-testid":"tooltip-time-diff",style:b?{color:b}:void 0,children:s})})]})]}),e.jsxs("tr",{children:[e.jsx("td",{children:i.tooltipSamples}),e.jsx("td",{children:o.samples}),r&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:r.samples}),e.jsx("td",{style:{textAlign:"center"},children:c&&e.jsx("span",{"data-testid":"tooltip-samples-diff",style:f?{color:f}:void 0,children:c})})]})]})]})]})};break;case"table":s=()=>e.jsxs(e.Fragment,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("td",{}),e.jsxs("td",{children:[i.self," (",i.tooltipUnitTitles[o.units].total,")"]}),e.jsxs("td",{children:[i.total," (",i.tooltipUnitTitles[o.units].total,")"]})]})}),e.jsx("tbody",{children:e.jsxs("tr",{children:[e.jsxs("td",{children:[i.tooltipUnitTitles[o.units].formattedValue,":"]}),e.jsx("td",{children:o.self}),e.jsx("td",{children:o.total})]})})]});break;default:s=()=>null}return e.jsx("table",{"data-testid":"tooltip-table",className:Vi(hr.tooltipTable,{[hr[`${o.tooltipType}${r?"Diff":""}`]]:o.tooltipType}),style:{textAlign:"center",margin:"0 auto"},children:s()})}function Nr({clickInfoSide:t}){const a=vr();let n;switch(t){case"right":n=e.jsxs(e.Fragment,{children:[e.jsx(br,{}),e.jsx("span",{children:a.rightClickForMoreNodeOptions})]});break;case"left":n=e.jsxs(e.Fragment,{children:[e.jsx(fr,{}),e.jsx("span",{children:a.clickToHighlightNode})]});break;default:n=e.jsx(e.Fragment,{})}return e.jsx("div",{"data-testid":"tooltip-footer",className:hr.clickInfo,children:n})}function Lr(a){const{format:n,canvasRef:i,xyToData:o,numTicks:r,sampleRate:l,units:s,leftTicks:c,rightTicks:d,palette:u}=a,m=vr(),b=t.useCallback((e,t,a)=>{const i=gi(r,l,s),b=o(a.offsetX,a.offsetY);let f;if(b.isJust)switch(f=b.value,f.format){case"single":{const t={percent:bi(f.total/r),samples:"trace_samples"===s?"":mi(f.total),units:s,formattedValue:i.format(f.total,l),tooltipType:"flamegraph"};e({title:{text:f.name,diff:{text:"",color:""}},tooltipData:[t]});break}case"double":{if("single"===n)throw new Error("props format is 'single' but it has been mapped to 'double'");const t=wr({formatter:i,sampleRate:l,totalLeft:f.totalLeft,leftTicks:c,totalRight:f.totalRight,rightTicks:d,title:f.name,units:s},u,m);e({title:t.title,tooltipData:t.tooltipData});break}default:throw new Error(`Unsupported format: '${f.format}'`)}else t()},[r,l,s,c,d,u,o,n,m]);return e.jsx(Fr,{dataSourceRef:i,clickInfoSide:"right",setTooltipContent:b,palette:u})}function wr({formatter:e,sampleRate:t,totalLeft:a,leftTicks:n,totalRight:i,rightTicks:o,title:r,units:l},s=ur,c){var d,u;const m=i/o,b=fi(a/n),f=fi(m),h={percent:`${b}%`,samples:mi(a),units:l,formattedValue:e.format(a,t),tooltipType:"flamegraph"},g={percent:`${f}%`,samples:mi(i),units:l,formattedValue:e.format(i,t),tooltipType:"flamegraph"},p=hi(b,f);let x="";p>0?x=s.badColor.rgb().string():p<0&&(x=s.goodColor.rgb().string());let Q="";return a?i?p>0?Q=`+${p.toFixed(2)}%`:p<0&&(Q=`${p.toFixed(2)}%`):Q=null!==(u=null==c?void 0:c.diffRemoved)&&void 0!==u?u:"移除":Q=null!==(d=null==c?void 0:c.diffNew)&&void 0!==d?d:"新增",{title:{text:r,diff:{text:Q,color:x}},tooltipData:[h,g]}}b('@charset "UTF-8";.szh-menu{background-color:#fff;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;list-style:none;margin:0;padding:0;width:max-content;z-index:100}.szh-menu:focus{outline:none}.szh-menu__arrow{background-color:#fff;border-color:rgba(0,0,0,.1) transparent transparent rgba(0,0,0,.1);border-style:solid;border-width:1px;box-sizing:border-box;height:.75rem;width:.75rem;z-index:-1}.szh-menu__arrow--dir-left{right:-.375rem;transform:translateY(-50%) rotate(135deg)}.szh-menu__arrow--dir-right{left:-.375rem;transform:translateY(-50%) rotate(-45deg)}.szh-menu__arrow--dir-top{bottom:-.375rem;transform:translateX(-50%) rotate(-135deg)}.szh-menu__arrow--dir-bottom{top:-.375rem;transform:translateX(-50%) rotate(45deg)}.szh-menu__item{cursor:pointer}.szh-menu__item:focus{outline:none}.szh-menu__item--hover{background-color:#ebebeb}.szh-menu__item--focusable{background-color:inherit;cursor:default}.szh-menu__item--disabled{color:#aaa;cursor:default}.szh-menu__group{box-sizing:border-box}.szh-menu__radio-group{list-style:none;margin:0;padding:0}.szh-menu__divider{background-color:rgba(0,0,0,.12);height:1px;margin:.5rem 0}.szh-menu-button{box-sizing:border-box}.szh-menu{border:none;border-radius:.25rem;box-shadow:0 3px 7px rgba(0,0,0,.133),0 .6px 2px rgba(0,0,0,.1);color:#212529;min-width:10rem;padding:.5rem 0;user-select:none}.szh-menu__item{align-items:center;display:flex;padding:.375rem 1.5rem;position:relative}.szh-menu-container--itemTransition .szh-menu__item{transition-duration:.15s;transition-property:background-color,color;transition-timing-function:ease-in-out}.szh-menu__item--type-radio{padding-left:2.2rem}.szh-menu__item--type-radio:before{content:"○";font-size:.8rem;left:.8rem;position:absolute;top:.55rem}.szh-menu__item--type-radio.szh-menu__item--checked:before{content:"●"}.szh-menu__item--type-checkbox{padding-left:2.2rem}.szh-menu__item--type-checkbox:before{left:.8rem;position:absolute}.szh-menu__item--type-checkbox.szh-menu__item--checked:before{content:"✔"}.szh-menu__submenu>.szh-menu__item{padding-right:2.5rem}.szh-menu__submenu>.szh-menu__item:after{content:"❯";position:absolute;right:1rem}.szh-menu__header{color:#888;font-size:.8rem;padding:.2rem 1.5rem;text-transform:uppercase}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFrR0EsZ0JBTUEsQ0F2R0EsVUFRRSxxQkFBc0IsQ0FEdEIsK0JBQW9DLENBSHBDLHFCQUFzQixDQUR0QixlQUFnQixDQUZoQixRQUFTLENBQ1QsU0FBVSxDQUdWLGlCQUFrQixDQUNsQixXQUdGLENBQ0EsZ0JBQ0UsWUFDRixDQUNBLGlCQUlFLHFCQUFzQixDQUd0QixrRUFBb0MsQ0FBcEMsa0JBQW9DLENBQXBDLGdCQUFvQyxDQU5wQyxxQkFBc0IsQ0FFdEIsYUFBZSxDQURmLFlBQWMsQ0FNZCxVQUNGLENBQ0EsMkJBQ0UsY0FBZ0IsQ0FDaEIseUNBQ0YsQ0FDQSw0QkFDRSxhQUFlLENBQ2YseUNBQ0YsQ0FDQSwwQkFDRSxlQUFpQixDQUNqQiwwQ0FDRixDQUNBLDZCQUNFLFlBQWMsQ0FDZCx3Q0FDRixDQUNBLGdCQUNFLGNBQ0Y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IuKclFwiO1xufVxuLnN6aC1tZW51X19zdWJtZW51ID4gLnN6aC1tZW51X19pdGVtIHtcbiAgcGFkZGluZy1yaWdodDogMi41cmVtO1xufVxuLnN6aC1tZW51X19zdWJtZW51ID4gLnN6aC1tZW51X19pdGVtOjphZnRlciB7XG4gIGNvbnRlbnQ6IFwi4p2vXCI7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcmlnaHQ6IDFyZW07XG59XG4uc3poLW1lbnVfX2hlYWRlciB7XG4gIGNvbG9yOiAjODg4O1xuICBmb250LXNpemU6IDAuOHJlbTtcbiAgcGFkZGluZzogMC4ycmVtIDEuNXJlbTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbn1cbiJdfQ== */');var Xr="ContextMenu-module_dummy__5n2-N";function Wr(a){const[n,i]=qo({transition:!0}),[o,r]=t.useState({x:0,y:0}),{canvasRef:l}=a,[s,c]=t.useState([]),{xyToMenuItems:d,onClose:u,onOpen:m}=a;return t.useEffect(()=>{i(!1);const e=l.current;if(!e)return()=>{};const t=e=>{e.preventDefault();const t=d(e.offsetX,e.offsetY);c(t);const a=e.clientX,n=e.clientY+20;r({x:a,y:n}),i(!0),m(e.offsetX,e.offsetY)};return e.addEventListener("contextmenu",t),()=>{e.removeEventListener("contextmenu",t)}},[d]),e.jsx(Oo,{...n,className:Xr,anchorPoint:o,onClose:()=>{i(!1),u()},children:s})}b(".ContextMenu-module_dummy__5n2-N{display:block}.ContextMenu-module_dummy__5n2-N svg{margin-right:10px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRleHRNZW51Lm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGlDQUNFLGFBQ0YsQ0FDQSxxQ0FDRSxpQkFDRiIsImZpbGUiOiJDb250ZXh0TWVudS5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5kdW1teSB7XG4gIGRpc3BsYXk6IGJsb2NrO1xufVxuLmR1bW15IHN2ZyB7XG4gIG1hcmdpbi1yaWdodDogMTBweDtcbn0iXX0= */");var Cr="LogoLink-module_logoLink__oWRri";function Rr(){return e.jsxs("a",{className:Cr,href:"https://github.com/pyroscope-io/pyroscope/",target:"_blank",rel:"noreferrer",children:[e.jsxs("svg",{width:"22px",height:"22px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("defs",{children:e.jsxs("radialGradient",{cx:"49.4236252%",cy:"92.6627823%",fx:"49.4236252%",fy:"92.6627823%",r:"195.066755%",gradientTransform:"translate(0.494236,0.926628),scale(1.000000,0.735610),rotate(-90.000000),translate(-0.494236,-0.926628)",id:"radialGradient-1",children:[e.jsx("stop",{stopColor:"#FFB90C",offset:"0%"}),e.jsx("stop",{stopColor:"#F9243A",offset:"38.390924%"}),e.jsx("stop",{stopColor:"#F9243A",offset:"50.5405%"}),e.jsx("stop",{stopColor:"#B51424",offset:"73.98091%"}),e.jsx("stop",{stopColor:"#B51424",offset:"100%"})]})}),e.jsx("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:e.jsx("g",{id:"fire-part",transform:"translate(148.516736, 0.000000)",fillRule:"nonzero",children:e.jsxs("g",{id:"whole-thing",transform:"translate(363.983264, 495.000000) scale(-1, 1) rotate(-180.000000) translate(-363.983264, -495.000000) translate(0.483264, 0.000000)",children:[e.jsx("g",{id:"g70",transform:"translate(-0.000091, 0.685815)",fill:"url(#radialGradient-1)",children:e.jsx("path",{d:"M65.3646667,571.739321 L65.4492471,571.698868 C19.5139147,505.999969 -5.32464048,424.477859 1.04305801,336.877516 L1.04305801,336.877516 C14.0321963,158.179446 159.192462,13.7596653 338.059844,1.5917266 L338.059844,1.5917266 C419.418369,-3.93888015 495.500283,17.3823334 558.456522,57.4611191 L558.456522,57.4611191 L481.301947,162.097965 C437.516468,136.521928 399.367671,129.590556 363.486536,130.155994 L363.486536,130.155994 C234.497143,130.155994 129.556988,235.032238 129.556988,363.946998 L129.556988,363.946998 C129.556988,492.865683 234.497143,597.738003 363.486536,597.738003 L363.486536,597.738003 C492.483783,597.738003 597.427864,492.865683 597.427864,363.946998 L597.427864,363.946998 C597.41276,304.634864 581.39383,255.677522 530.630465,199.668053 L607.770843,95.1329436 C680.936847,161.576603 726.932594,257.364176 726.932594,363.946998 L726.932594,363.946998 C726.932594,458.031616 691.13483,543.75602 632.416071,608.271816 L632.416071,608.271816 L632.416071,608.275741 L533.597728,748.122808 L428.601388,617.203806 L434.703262,646.563419 C459.453008,765.59222 433.664131,889.543925 363.49439,988.853335 L363.49439,988.853335 L65.3646667,571.723019 L65.3646667,571.739321 Z",id:"path84"})}),e.jsx("g",{id:"blue",transform:"translate(191.447039, 191.331780)",children:e.jsxs("g",{id:"g88",transform:"translate(-0.000063, 0.685930)",children:[e.jsx("g",{id:"g94",transform:"translate(0.177296, 0.699054)",fill:"#3EC1D3",children:e.jsx("path",{d:"M171.862466,343.697728 C77.0961324,343.697728 -0.00497405932,266.647602 -0.00497405932,171.934957 C-0.00497405932,77.2182874 77.0961324,0.168162396 171.862466,0.168162396 C266.632828,0.168162396 343.741988,77.2182874 343.741988,171.934957 C343.741988,266.647602 266.632828,343.697728 171.862466,343.697728",id:"path96"})}),e.jsx("g",{id:"g98",transform:"translate(29.362379, 172.629585)",fill:"#FFFFFF",children:e.jsx("path",{d:"M22.8397982,0 L0.671669409,0 C0.671669409,78.2496309 64.380874,141.920035 142.678189,141.920035 L142.678189,119.765407 C76.6007327,119.765407 22.8397982,66.0372141 22.8397982,0",id:"path100"})})]})})]})})})]}),e.jsx("span",{children:"Pyroscope"})]})}b(".LogoLink-module_logoLink__oWRri{bottom:0;color:var(--ps-neutral-2);font-weight:500;opacity:.5;position:absolute;right:0;text-decoration:none;z-index:0}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkxvZ29MaW5rLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGlDQU9FLFFBQVMsQ0FIVCx5QkFBMEIsQ0FGMUIsZUFBZ0IsQ0FDaEIsVUFBWSxDQUVaLGlCQUFrQixDQUNsQixPQUFRLENBTFIsb0JBQXFCLENBT3JCLFNBQ0YiLCJmaWxlIjoiTG9nb0xpbmsubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubG9nb0xpbmsge1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gIGZvbnQtd2VpZ2h0OiA1MDA7XG4gIG9wYWNpdHk6IDAuNTtcbiAgY29sb3I6IHZhcigtLXBzLW5ldXRyYWwtMik7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcmlnaHQ6IDA7XG4gIGJvdHRvbTogMDtcbiAgei1pbmRleDogMDtcbn0iXX0= */");const Dr=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",children:e.jsx("g",{id:"z9nPJj.tif",children:e.jsx("path",{d:"M62,13.33V49.68c-.02,.05-.04,.11-.05,.16-.3,2.66-2.66,5.16-6.08,5.15-15.92,0-31.83,0-47.75-.01-.54,0-1.1-.06-1.62-.19-2.73-.69-4.52-3.09-4.52-5.88,0-12,.01-23.56,.01-34.9,0-.29,.01-.57,.05-.86,.35-2.3,1.62-3.91,3.84-4.75,.6-.23,1.27-.28,1.9-.41,16.13,0,32.27,0,48.4,0,.09,.01,.17,.04,.26,.04,2.66,.21,4.8,2.01,5.4,4.57,.06,.24,.1,.48,.14,.72ZM28.99,31.81c0-3.92-.01-7.91-.01-11.81H8c0,3.91,.01,7.9,.01,11.81H28.99Zm27,0c0-3.92-.01-7.92-.01-11.81h-20.97c0,3.92,.01,7.91,.01,11.81h20.97Zm-47.98,5.19c0,3.7,0,8,0,11.69v.31H29v-12m6.01,.04c0,3.93-.01,8.05-.01,11.96h20.99c0-.12,0-.22,0-.31,0-3.7,0-7.99,0-11.69"})})}),Ur=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",children:[e.jsx("path",{d:"M31,8.04H7.62c-.61,.13-1.26,.18-1.84,.41-2.14,.84-3.37,2.45-3.71,4.75-.04,.28-.05,.57-.05,.86,0,11.32-.02,22.88-.01,34.87,0,2.79,1.73,5.18,4.37,5.88,.51,.13,1.04,.19,1.57,.19,7.69,0,15.38,0,23.07,0V8.04Zm-2.92,11.99c0,3.9,.01,7.89,.01,11.8H7.82c0-3.9-.01-7.89-.01-11.8H28.08ZM7.82,49.01v-.31c0-3.69,0-7.99,0-11.68H28.1v11.99H7.82Z"}),e.jsx("path",{d:"M58.67,7.9h-25.67V55h2.9c1.84,0,2.9-1.55,2.9-3.45V27.14h11.6v6.37c0,1.91,1.49,3.45,3.33,3.45h4.94c1.84,0,3.33-1.55,3.33-3.45V11.35c0-1.91-1.49-3.45-3.33-3.45Z"})]}),kr=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",children:e.jsx("path",{d:"M5.44,8H58.56c1.9,0,3.44,1.54,3.44,3.44v6.16s0,9.6,0,9.6v6.36c0,1.9-1.54,3.44-3.44,3.44h-5.11c-1.9,0-3.44-1.54-3.44-3.44v-6.36h-12s0,9.8,0,9.8v9s0,5.56,0,5.56c0,1.9-1.1,3.44-3,3.44h-6c-1.9,0-3-1.54-3-3.44v-5.56h-9c-1.99,0-3-1.52-3-3.4v-5.6H5.44c-1.9,0-3.44-1.74-3.44-3.64v-6.16s0-9.6,0-9.6v-6.16c0-1.9,1.54-3.44,3.44-3.44Z"})}),Yr=({fill:t})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",fill:t,children:[e.jsx("g",{id:"shape_squiggle",children:e.jsx("path",{d:"M60,38.42c-4.62,0-6.97-2.64-8.86-4.75-1.81-2.03-2.86-3.08-5.13-3.08s-3.32,1.06-5.13,3.08c-1.89,2.12-4.24,4.75-8.86,4.75s-6.97-2.64-8.87-4.75c-1.81-2.03-2.86-3.08-5.14-3.08s-3.33,1.06-5.14,3.08c-1.89,2.12-4.25,4.75-8.87,4.75-1.38,0-2.5-1.12-2.5-2.5s1.12-2.5,2.5-2.5c2.28,0,3.33-1.06,5.14-3.09,1.89-2.12,4.25-4.75,8.87-4.75s6.97,2.64,8.87,4.75c1.81,2.03,2.86,3.09,5.14,3.09s3.32-1.06,5.13-3.08c1.89-2.12,4.24-4.75,8.86-4.75s6.97,2.64,8.86,4.75c1.81,2.03,2.86,3.08,5.13,3.08,1.38,0,2.5,1.12,2.5,2.5s-1.12,2.5-2.5,2.5Z"})}),e.jsxs("g",{id:"Layer_4",children:[e.jsx("rect",{x:"2",y:"8",width:"60",height:"14",rx:"3.94",ry:"3.94"}),e.jsx("path",{d:"M58.06,41h-18.64c-1.58,0-3.14,.42-4.5,1.22l-6.88,4.02c-1.87,1.09-4.19,1.09-6.06,0l-6.88-4.02c-1.37-.8-2.92-1.22-4.5-1.22H5.94c-2.18,0-3.94,1.76-3.94,3.94v7.12c0,2.18,1.76,3.94,3.94,3.94H58.06c2.18,0,3.94-1.76,3.94-3.94v-7.12c0-2.18-1.76-3.94-3.94-3.94Z"})]})]}),Vr=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",children:[e.jsx("g",{id:"ab_shape",children:e.jsxs("g",{children:[e.jsx("path",{d:"M16.71,41l-.42-2.45h-.16c-1.63,1.95-4.06,2.95-6.91,2.95-4.8,0-7.86-3.45-7.86-7.45,0-6.4,6.01-9.3,14.13-9.3v-.4c0-1.5-.84-3.2-4.38-3.2-2.48,0-4.9,.75-6.54,1.7l-1.42-4.75c1.69-.9,5.01-2.1,9.44-2.1,8.33,0,10.65,4.95,10.65,10.45v8.7c0,2.25,.11,4.4,.37,5.85h-6.91Zm-.95-11.7c-3.64,0-6.91,.9-6.91,4,0,2.1,1.37,3,3,3s3.22-1.05,3.74-2.6c.11-.35,.16-.8,.16-1.2v-3.2Z"}),e.jsx("path",{d:"M29.36,41c.11-1.79,.21-4.62,.21-7.25V6h7.7v13.46h.11c1.42-1.99,3.8-3.28,7.06-3.28,5.85,0,9.7,5.01,9.65,12.16,0,8.69-5.22,13.16-10.81,13.16-2.74,0-5.22-.99-6.91-3.72h-.11l-.37,3.23h-6.54Zm7.91-9.83c0,.55,.05,.99,.16,1.39,.58,1.94,2.16,3.18,4.01,3.18,3.11,0,4.9-2.53,4.9-7,0-3.92-1.58-6.8-4.9-6.8-1.85,0-3.53,1.39-3.95,3.28-.16,.4-.21,.94-.21,1.44v4.52Z"})]})}),e.jsx("g",{id:"arrows",children:e.jsx("polygon",{points:"62 54 52 45 52 51 35 51 35 57 52 57 52 63 62 54"})})]}),jr=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",children:[e.jsx("g",{id:"yz_shape",children:e.jsxs("g",{children:[e.jsx("path",{d:"M22.75,13l3.43,12.39c.42,1.47,.84,3.2,1.16,4.52h.11c.32-1.32,.69-3.05,1-4.47l2.9-12.44h8.01l-5.8,17.16c-2.95,8.33-5.17,12.54-8.07,15.23-2.58,2.39-5.43,3.3-7.17,3.55l-1.85-6.3c1.11-.25,2.32-.76,3.48-1.52,1.16-.71,2.32-1.88,2.95-3.05,.26-.41,.42-.76,.42-1.12,0-.31-.05-.66-.26-1.17L14.32,13h8.43Z"}),e.jsx("path",{d:"M41.62,33.46l7.59-10.16c1.27-1.57,2.37-2.95,3.58-4.27v-.15h-10.33v-5.89h19.45l-.05,4.57-7.28,9.8c-1.21,1.57-2.48,3.15-3.69,4.42v.1h11.33v5.94h-20.61v-4.37Z"})]})}),e.jsx("g",{id:"arrows",children:e.jsx("polygon",{points:"12 51 12 45 2 54 12 63 12 57 29 57 29 51 12 51"})})]});var _r="Header-module_flamegraphHeader__nIrXP",Sr="Header-module_row__P7-2L",Mr="Header-module_flamegraphTitle__sjsvB";function Jr(t){const{format:a,units:n,toolbarVisible:i}=t,o={objects:"number of objects in RAM per function",goroutines:"number of goroutines",bytes:"amount of RAM per function",samples:"CPU time per function",lock_nanoseconds:"time spent waiting on locks per function",lock_samples:"number of contended locks per function",trace_samples:"aggregated span duration",exceptions:"number of exceptions thrown",unknown:""},r=i&&"single"===a?e.jsx("div",{className:`${Sr} ${Mr}`,role:"heading","aria-level":2,children:o[n]&&e.jsxs(e.Fragment,{children:["Frame width represents ",o[n]]})}):null;return r?e.jsx("div",{className:_r,children:e.jsx("div",{children:r})}):null}b(".Header-module_flamegraphHeader__nIrXP{align-items:flex-start;display:flex;justify-content:space-between;padding-bottom:5px}.Header-module_flamegraphHeader__nIrXP>div:first-child{width:100%}.Header-module_row__P7-2L{display:flex;justify-content:center}.Header-module_flamegraphTitle__sjsvB{display:block;text-align:center;width:100%}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhlYWRlci5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHVDQUtFLHNCQUF1QixDQUh2QixZQUFhLENBQ2IsNkJBQThCLENBRjlCLGtCQUtGLENBRUEsdURBQ0UsVUFDRixDQU9BLDBCQUNFLFlBQWEsQ0FDYixzQkFDRixDQUVBLHNDQUVFLGFBQWMsQ0FDZCxpQkFBa0IsQ0FGbEIsVUFHRiIsImZpbGUiOiJIZWFkZXIubW9kdWxlLmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5mbGFtZWdyYXBoSGVhZGVyIHtcbiAgcGFkZGluZy1ib3R0b206IDVweDtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuXG4gIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xufVxuXG4uZmxhbWVncmFwaEhlYWRlciA+IGRpdjpmaXJzdC1jaGlsZCB7XG4gIHdpZHRoOiAxMDAlO1xufVxuXG4uZmxhbWVncmFwaEhlYWRlciBidXR0b24ge1xuICAvKiBtYXJnaW46IGF1dG87XG4gIGRpc3BsYXk6IGJsb2NrOyAqL1xufVxuXG4ucm93IHtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG59XG5cbi5mbGFtZWdyYXBoVGl0bGUge1xuICB3aWR0aDogMTAwJTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn1cbiJdfQ== */");var Er="styles-module_flamegraphPane__ejguD",zr="styles-module_fitModeItem__0UBwN",Ar="styles-module_sandwichItem__WYvnd";function Or(n){const i=t.useRef(null),o=t.useRef(),s=vr(),[c,d]=t.useState(a.Maybe.nothing()),{flamebearer:u,focusedNode:m,fitMode:b,updateFitMode:f,highlightQuery:h,zoom:g,toolbarVisible:p,headerVisible:x=!0,disableClick:Q=!1,showSingleLevel:v=!1,showCredit:G,setActiveItem:y,selectedItem:I,updateView:B,enableSandwichView:F=!0}=n,{onZoom:Z,onReset:N,isDirty:L,onFocusOnNode:w}=n,{"data-testid":X}=n,{palette:W,setPalette:C}=n,R=t.useCallback(l(()=>{Y()},50),[]);r(i,()=>{o&&R()});const D=(e,t)=>_().xyToBar(e,t).map(e=>({left:j().offsetLeft+e.x,top:j().offsetTop+e.y,width:e.width})),U=t.useCallback((t,a)=>{const n=L(),i=_().xyToBar(t,a),o=i.isJust?i.value.name:"";return[e.jsxs(nr,{disabled:!n,onClick:N,children:[e.jsx(Hn,{icon:Hi.faRedo}),s.resetView]},"reset"),(()=>{const t=i.mapOrElse(()=>!1,()=>!0),a=i.mapOrElse(()=>()=>{},e=>w.bind(null,e.i,e.j));return e.jsxs(nr,{disabled:!t,onClick:a,children:[e.jsx(Hn,{icon:so.faCompressAlt}),s.collapseNodesAbove]},"focus")})(),e.jsxs(nr,{onClick:()=>{navigator.clipboard&&navigator.clipboard.writeText(o)},children:[e.jsx(Hn,{icon:$i.faCopy}),s.copyFunctionName]},"copy"),(()=>{const t=I.isJust&&I.value===o?s.clearHighlight:s.highlightSimilarNodes;return e.jsxs(nr,{onClick:()=>{y({name:o})},children:[e.jsx(Hn,{icon:no.faHighlighter}),t]},"highlight-similar-nodes")})(),(()=>{if(!B||!F)return null;return e.jsxs(nr,{className:Ar,onClick:()=>{B("sandwich"),y({name:o})},children:[e.jsx(Yr,{fill:"black"}),s.openInSandwichView]},"open-in-sandwich-view")})(),(()=>{const t=b===yi;return e.jsxs(nr,{className:zr,onClick:()=>{f(t?Gi:yi)},children:[t?e.jsx(jr,{}):e.jsx(Vr,{}),t?s.showTextTailFirst:s.showTextHeadFirst]},"fit-mode")})()].filter(Boolean)},[o,I,b,L,N,w,y,B,s,F]),k=()=>{if(i.current){const e=new ki(u,i.current,m,b,h,g,W);o.current=e}};t.useEffect(()=>{k(),Y()},[W]),t.useEffect(()=>{k(),Y()},[i.current,u,m,b,h,g]);const Y=()=>{var e,t,a;null===(e=null==i?void 0:i.current)||void 0===e||e.setAttribute("data-state","rendering"),null===(t=null==o?void 0:o.current)||void 0===t||t.render(),null===(a=null==i?void 0:i.current)||void 0===a||a.setAttribute("data-state","rendered")},V=!u||u&&u.names.length<=1,j=()=>{if(!i.current)throw new Error("Missing canvas");return i.current},_=()=>{if(!o.current)throw new Error("Missing canvas");return o.current};return e.jsxs("div",{"data-testid":"flamegraph-view",className:Vi(Er,{"vertical-orientation":"double"===u.format}),children:[x&&e.jsx(Jr,{format:u.format,units:u.units,toolbarVisible:p}),e.jsx("div",{"data-testid":X,style:{opacity:V&&!v?0:1},children:e.jsx("canvas",{height:"0","data-testid":"flamegraph-canvas","data-highlightquery":h,className:Vi("flamegraph-canvas",or),ref:i,onClick:Q?void 0:e=>{const t=_().xyToBar(e.nativeEvent.offsetX,e.nativeEvent.offsetY);t.match({Nothing:()=>{},Just:e=>{g.match({Nothing:()=>{Z(t)},Just:n=>{e.i===n.i&&e.j===n.j?Z(a.Maybe.nothing()):Z(t)}})}})}})}),G?e.jsx(Rr,{}):"",o&&i&&e.jsx(lr,{barHeight:di,canvasRef:i,zoom:g,xyToHighlightData:D}),o&&e.jsx(dr,{barHeight:di,node:c}),o&&e.jsx(Lr,{format:u.format,canvasRef:i,xyToData:(e,t)=>_().xyToBar(e,t),numTicks:u.numTicks,sampleRate:u.sampleRate,leftTicks:"double"===u.format?u.leftTicks:0,rightTicks:"double"===u.format?u.rightTicks:0,units:u.units,palette:W}),!Q&&o&&i&&e.jsx(Wr,{canvasRef:i,xyToMenuItems:U,onClose:()=>{d(a.Maybe.nothing())},onOpen:(e,t)=>{d(D(e,t))}})]})}b(".styles-module_flamegraphPane__ejguD{flex:1;position:relative}.styles-module_flamegraphPane__ejguD .styles-module_fitModeItem__0UBwN svg,.styles-module_flamegraphPane__ejguD .styles-module_sandwichItem__WYvnd svg{margin-right:10px;width:1em}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxxQ0FDRSxNQUFPLENBQ1AsaUJBQ0YsQ0FDQSx1SkFHRSxpQkFBa0IsQ0FEbEIsU0FFRiIsImZpbGUiOiJzdHlsZXMubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZmxhbWVncmFwaFBhbmUge1xuICBmbGV4OiAxO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG59XG4uZmxhbWVncmFwaFBhbmUgLmZpdE1vZGVJdGVtIHN2Zyxcbi5mbGFtZWdyYXBoUGFuZSAuc2FuZHdpY2hJdGVtIHN2ZyB7XG4gIHdpZHRoOiAxZW07XG4gIG1hcmdpbi1yaWdodDogMTBweDtcbn0iXX0= */");var Hr,Tr={exports:{}};
|
|
12
|
+
function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function G(e,t,a){return t&&function(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,N(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function y(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=X(e))||t){a&&(e=a);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,l=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return r=e.done,e},e:function(e){l=!0,o=e},f:function(){try{r||null==a.return||a.return()}finally{if(l)throw o}}}}function I(e,t,a){return(t=N(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,n)}return a}function F(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?B(Object(a),!0).forEach(function(t){I(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):B(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,i,o,r,l=[],s=!0,c=!1;try{if(o=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;s=!1}else for(;!(s=(n=o.call(a)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,i=e}finally{try{if(!s&&null!=a.return&&(r=a.return(),Object(r)!==r))return}finally{if(c)throw i}}return l}}(e,t)||X(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||X(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function N(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function X(e,t){if(e){if("string"==typeof e)return v(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?v(e,t):void 0}}var W=function(){},C={},R={},D=null,U={mark:W,measure:W};try{"undefined"!=typeof window&&(C=window),"undefined"!=typeof document&&(R=document),"undefined"!=typeof MutationObserver&&(D=MutationObserver),"undefined"!=typeof performance&&(U=performance)}catch(re){}var k=(C.navigator||{}).userAgent,Y=void 0===k?"":k,V=C,j=R,_=D,S=U;V.document;var M,J=!!j.documentElement&&!!j.head&&"function"==typeof j.addEventListener&&"function"==typeof j.createElement,E=~Y.indexOf("MSIE")||~Y.indexOf("Trident/"),z={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"},slab:{"fa-regular":"regular",faslr:"regular"},"slab-press":{"fa-regular":"regular",faslpr:"regular"},thumbprint:{"fa-light":"light",fatl:"light"},whiteboard:{"fa-semibold":"semibold",fawsb:"semibold"},notdog:{"fa-solid":"solid",fans:"solid"},"notdog-duo":{"fa-solid":"solid",fands:"solid"},etch:{"fa-solid":"solid",faes:"solid"},jelly:{"fa-regular":"regular",fajr:"regular"},"jelly-fill":{"fa-regular":"regular",fajfr:"regular"},"jelly-duo":{"fa-regular":"regular",fajdr:"regular"},chisel:{"fa-regular":"regular",facr:"regular"},utility:{"fa-semibold":"semibold",fausb:"semibold"},"utility-duo":{"fa-semibold":"semibold",faudsb:"semibold"},"utility-fill":{"fa-semibold":"semibold",faufsb:"semibold"}},A=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],O="classic",H="duotone",T="sharp",P="sharp-duotone",K="chisel",$="etch",q="jelly",ee="jelly-duo",te="jelly-fill",ae="notdog",ne="notdog-duo",ie="slab",oe="slab-press",re="thumbprint",le="utility",se="utility-duo",ce="utility-fill",de="whiteboard",ue=[O,H,T,P,K,$,q,ee,te,ae,ne,ie,oe,re,le,se,ce,de];I(I(I(I(I(I(I(I(I(I(M={},O,"Classic"),H,"Duotone"),T,"Sharp"),P,"Sharp Duotone"),K,"Chisel"),$,"Etch"),q,"Jelly"),ee,"Jelly Duo"),te,"Jelly Fill"),ae,"Notdog"),I(I(I(I(I(I(I(I(M,ne,"Notdog Duo"),ie,"Slab"),oe,"Slab Press"),re,"Thumbprint"),le,"Utility"),se,"Utility Duo"),ce,"Utility Fill"),de,"Whiteboard");var me=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["chisel",{defaultShortPrefixId:"facr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["etch",{defaultShortPrefixId:"faes",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["jelly",{defaultShortPrefixId:"fajr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-duo",{defaultShortPrefixId:"fajdr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["jelly-fill",{defaultShortPrefixId:"fajfr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["notdog",{defaultShortPrefixId:"fans",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["notdog-duo",{defaultShortPrefixId:"fands",defaultStyleId:"solid",styleIds:["solid"],futureStyleIds:[],defaultFontWeight:900}],["slab",{defaultShortPrefixId:"faslr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["slab-press",{defaultShortPrefixId:"faslpr",defaultStyleId:"regular",styleIds:["regular"],futureStyleIds:[],defaultFontWeight:400}],["thumbprint",{defaultShortPrefixId:"fatl",defaultStyleId:"light",styleIds:["light"],futureStyleIds:[],defaultFontWeight:300}],["utility",{defaultShortPrefixId:"fausb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-duo",{defaultShortPrefixId:"faudsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["utility-fill",{defaultShortPrefixId:"faufsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}],["whiteboard",{defaultShortPrefixId:"fawsb",defaultStyleId:"semibold",styleIds:["semibold"],futureStyleIds:[],defaultFontWeight:600}]]),be=["fak","fa-kit","fakd","fa-kit-duotone"],fe={fak:"kit","fa-kit":"kit"},he={fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"};I(I({},"kit","Kit"),"kit-duotone","Kit Duotone");var ge,pe={kit:"fak"},xe={"kit-duotone":"fakd"},Qe="duotone-group",ve="swap-opacity",Ge="primary",ye="secondary";I(I(I(I(I(I(I(I(I(I(ge={},"classic","Classic"),"duotone","Duotone"),"sharp","Sharp"),"sharp-duotone","Sharp Duotone"),"chisel","Chisel"),"etch","Etch"),"jelly","Jelly"),"jelly-duo","Jelly Duo"),"jelly-fill","Jelly Fill"),"notdog","Notdog"),I(I(I(I(I(I(I(I(ge,"notdog-duo","Notdog Duo"),"slab","Slab"),"slab-press","Slab Press"),"thumbprint","Thumbprint"),"utility","Utility"),"utility-duo","Utility Duo"),"utility-fill","Utility Fill"),"whiteboard","Whiteboard");I(I({},"kit","Kit"),"kit-duotone","Kit Duotone");var Ie={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"},slab:{faslr:"fa-regular"},"slab-press":{faslpr:"fa-regular"},whiteboard:{fawsb:"fa-semibold"},thumbprint:{fatl:"fa-light"},notdog:{fans:"fa-solid"},"notdog-duo":{fands:"fa-solid"},etch:{faes:"fa-solid"},jelly:{fajr:"fa-regular"},"jelly-fill":{fajfr:"fa-regular"},"jelly-duo":{fajdr:"fa-regular"},chisel:{facr:"fa-regular"},utility:{fausb:"fa-semibold"},"utility-duo":{faudsb:"fa-semibold"},"utility-fill":{faufsb:"fa-semibold"}},Be=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt","faslr","faslpr","fawsb","fatl","fans","fands","faes","fajr","fajfr","fajdr","facr","fausb","faudsb","faufsb"].concat(["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone","fa-thumbprint","fa-whiteboard","fa-notdog","fa-notdog-duo","fa-chisel","fa-etch","fa-jelly","fa-jelly-fill","fa-jelly-duo","fa-slab","fa-slab-press","fa-utility","fa-utility-duo","fa-utility-fill"],["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands","fa-semibold"]),Fe=[1,2,3,4,5,6,7,8,9,10],Ze=Fe.concat([11,12,13,14,15,16,17,18,19,20]),Le=[].concat(L(Object.keys({classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"],slab:["faslr"],"slab-press":["faslpr"],whiteboard:["fawsb"],thumbprint:["fatl"],notdog:["fans"],"notdog-duo":["fands"],etch:["faes"],jelly:["fajr"],"jelly-fill":["fajfr"],"jelly-duo":["fajdr"],chisel:["facr"],utility:["fausb"],"utility-duo":["faudsb"],"utility-fill":["faufsb"]})),["solid","regular","light","thin","duotone","brands","semibold"],["aw","fw","pull-left","pull-right"],["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","inverse","layers","layers-bottom-left","layers-bottom-right","layers-counter","layers-text","layers-top-left","layers-top-right","li","pull-end","pull-start","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","width-auto","width-fixed",Qe,ve,Ge,ye]).concat(Fe.map(function(e){return"".concat(e,"x")})).concat(Ze.map(function(e){return"w-".concat(e)})),Ne="___FONT_AWESOME___",we="svg-inline--fa",Xe="data-fa-i2svg",We="data-fa-pseudo-element",Ce="data-prefix",Re="data-icon",De="fontawesome-i2svg",Ue=["HTML","HEAD","STYLE","SCRIPT"],ke=["::before","::after",":before",":after"],Ye=function(){try{return"production"===process.env.NODE_ENV}catch(e){return!1}}();function Ve(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[O]}})}var je=F({},z);je[O]=F(F(F(F({},{"fa-duotone":"duotone"}),z[O]),fe),he);var _e=Ve(je),Se=F({},{chisel:{regular:"facr"},classic:{brands:"fab",light:"fal",regular:"far",solid:"fas",thin:"fat"},duotone:{light:"fadl",regular:"fadr",solid:"fad",thin:"fadt"},etch:{solid:"faes"},jelly:{regular:"fajr"},"jelly-duo":{regular:"fajdr"},"jelly-fill":{regular:"fajfr"},notdog:{solid:"fans"},"notdog-duo":{solid:"fands"},sharp:{light:"fasl",regular:"fasr",solid:"fass",thin:"fast"},"sharp-duotone":{light:"fasdl",regular:"fasdr",solid:"fasds",thin:"fasdt"},slab:{regular:"faslr"},"slab-press":{regular:"faslpr"},thumbprint:{light:"fatl"},utility:{semibold:"fausb"},"utility-duo":{semibold:"faudsb"},"utility-fill":{semibold:"faufsb"},whiteboard:{semibold:"fawsb"}});Se[O]=F(F(F(F({},{duotone:"fad"}),Se[O]),pe),xe);var Me=Ve(Se),Je=F({},Ie);Je[O]=F(F({},Je[O]),{fak:"fa-kit"});var Ee=Ve(Je),ze=F({},{classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"},slab:{"fa-regular":"faslr"},"slab-press":{"fa-regular":"faslpr"},whiteboard:{"fa-semibold":"fawsb"},thumbprint:{"fa-light":"fatl"},notdog:{"fa-solid":"fans"},"notdog-duo":{"fa-solid":"fands"},etch:{"fa-solid":"faes"},jelly:{"fa-regular":"fajr"},"jelly-fill":{"fa-regular":"fajfr"},"jelly-duo":{"fa-regular":"fajdr"},chisel:{"fa-regular":"facr"},utility:{"fa-semibold":"fausb"},"utility-duo":{"fa-semibold":"faudsb"},"utility-fill":{"fa-semibold":"faufsb"}});ze[O]=F(F({},ze[O]),{"fa-kit":"fak"}),Ve(ze);var Ae=/fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|usb|ufsb|udsb|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Oe="fa-layers-text",He=/Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Utility|Utility Fill|Utility Duo|Slab Press|Slab|Whiteboard)?.*/i;Ve(F({},{classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"},slab:{400:"faslr"},"slab-press":{400:"faslpr"},whiteboard:{600:"fawsb"},thumbprint:{300:"fatl"},notdog:{900:"fans"},"notdog-duo":{900:"fands"},etch:{900:"faes"},chisel:{400:"facr"},jelly:{400:"fajr"},"jelly-fill":{400:"fajfr"},"jelly-duo":{400:"fajdr"},utility:{600:"fausb"},"utility-duo":{600:"faudsb"},"utility-fill":{600:"faufsb"}}));var Te=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Pe={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},Ke=[].concat(L(["kit"]),L(Le)),$e=V.FontAwesomeConfig||{};if(j&&"function"==typeof j.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-search-pseudo-elements","searchPseudoElements"],["data-search-pseudo-elements-warnings","searchPseudoElementsWarnings"],["data-search-pseudo-elements-full-scan","searchPseudoElementsFullScan"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(e){var t=Z(e,2),a=t[0],n=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=j.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(a));null!=i&&($e[n]=i)})}var qe={styleDefault:"solid",familyDefault:O,cssPrefix:"fa",replacementClass:we,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};$e.familyPrefix&&($e.cssPrefix=$e.familyPrefix);var et=F(F({},qe),$e);et.autoReplaceSvg||(et.observeMutations=!1);var tt={};Object.keys(qe).forEach(function(e){Object.defineProperty(tt,e,{enumerable:!0,set:function(t){et[e]=t,at.forEach(function(e){return e(tt)})},get:function(){return et[e]}})}),Object.defineProperty(tt,"familyPrefix",{enumerable:!0,set:function(e){et.cssPrefix=e,at.forEach(function(e){return e(tt)})},get:function(){return et.cssPrefix}}),V.FontAwesomeConfig=tt;var at=[];var nt=16,it={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function ot(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function rt(e){for(var t=[],a=(e||[]).length>>>0;a--;)t[a]=e[a];return t}function lt(e){return e.classList?rt(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(e){return e})}function st(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function ct(e){return Object.keys(e||{}).reduce(function(t,a){return t+"".concat(a,": ").concat(e[a].trim(),";")},"")}function dt(e){return e.size!==it.size||e.x!==it.x||e.y!==it.y||e.rotate!==it.rotate||e.flipX||e.flipY}function ut(){var e="fa",t=we,a=tt.cssPrefix,n=tt.replacementClass,i=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 7 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 7 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 7 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 7 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 7 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 7 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 7 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 7 Sharp Duotone";\n --fa-font-slab-regular: normal 400 1em/1 "Font Awesome 7 Slab";\n --fa-font-slab-press-regular: normal 400 1em/1 "Font Awesome 7 Slab Press";\n --fa-font-whiteboard-semibold: normal 600 1em/1 "Font Awesome 7 Whiteboard";\n --fa-font-thumbprint-light: normal 300 1em/1 "Font Awesome 7 Thumbprint";\n --fa-font-notdog-solid: normal 900 1em/1 "Font Awesome 7 Notdog";\n --fa-font-notdog-duo-solid: normal 900 1em/1 "Font Awesome 7 Notdog Duo";\n --fa-font-etch-solid: normal 900 1em/1 "Font Awesome 7 Etch";\n --fa-font-jelly-regular: normal 400 1em/1 "Font Awesome 7 Jelly";\n --fa-font-jelly-fill-regular: normal 400 1em/1 "Font Awesome 7 Jelly Fill";\n --fa-font-jelly-duo-regular: normal 400 1em/1 "Font Awesome 7 Jelly Duo";\n --fa-font-chisel-regular: normal 400 1em/1 "Font Awesome 7 Chisel";\n --fa-font-utility-semibold: normal 600 1em/1 "Font Awesome 7 Utility";\n --fa-font-utility-duo-semibold: normal 600 1em/1 "Font Awesome 7 Utility Duo";\n --fa-font-utility-fill-semibold: normal 600 1em/1 "Font Awesome 7 Utility Fill";\n}\n\n.svg-inline--fa {\n box-sizing: content-box;\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285714em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left,\n.svg-inline--fa .fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-pull-right,\n.svg-inline--fa .fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n inset-block-start: 0.25em; /* syncing vertical alignment with Web Font rendering */\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: var(--fa-width, 1.25em);\n}\n.fa-layers .svg-inline--fa {\n inset: 0;\n margin: auto;\n position: absolute;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: calc(10 / 16 * 1em); /* converts a 10px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 10 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 10 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xs {\n font-size: calc(12 / 16 * 1em); /* converts a 12px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 12 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 12 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-sm {\n font-size: calc(14 / 16 * 1em); /* converts a 14px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 14 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 14 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-lg {\n font-size: calc(20 / 16 * 1em); /* converts a 20px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 20 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 20 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-xl {\n font-size: calc(24 / 16 * 1em); /* converts a 24px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 24 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 24 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-2xl {\n font-size: calc(32 / 16 * 1em); /* converts a 32px size into an em-based value that\'s relative to the scale\'s 16px base */\n line-height: calc(1 / 32 * 1em); /* sets the line-height of the icon back to that of it\'s parent */\n vertical-align: calc((6 / 32 - 0.375) * 1em); /* vertically centers the icon taking into account the surrounding text\'s descender */\n}\n\n.fa-width-auto {\n --fa-width: auto;\n}\n\n.fa-fw,\n.fa-width-fixed {\n --fa-width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-inline-start: var(--fa-li-margin, 2.5em);\n padding-inline-start: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n inset-inline-start: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n/* Heads Up: Bordered Icons will not be supported in the future!\n - This feature will be deprecated in the next major release of Font Awesome (v8)!\n - You may continue to use it in this version *v7), but it will not be supported in Font Awesome v8.\n*/\n/* Notes:\n* --@{v.$css-prefix}-border-width = 1/16 by default (to render as ~1px based on a 16px default font-size)\n* --@{v.$css-prefix}-border-padding =\n ** 3/16 for vertical padding (to give ~2px of vertical whitespace around an icon considering it\'s vertical alignment)\n ** 4/16 for horizontal padding (to give ~4px of horizontal whitespace around an icon)\n*/\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.0625em);\n box-sizing: var(--fa-border-box-sizing, content-box);\n padding: var(--fa-border-padding, 0.1875em 0.25em);\n}\n\n.fa-pull-left,\n.fa-pull-start {\n float: inline-start;\n margin-inline-end: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right,\n.fa-pull-end {\n float: inline-end;\n margin-inline-start: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n .fa-bounce,\n .fa-fade,\n .fa-beat-fade,\n .fa-flip,\n .fa-pulse,\n .fa-shake,\n .fa-spin,\n .fa-spin-pulse {\n animation: none !important;\n transition: none !important;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.svg-inline--fa.fa-inverse {\n fill: var(--fa-inverse, #fff);\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.svg-inline--fa.fa-stack-1x {\n --fa-width: 1.25em;\n height: 1em;\n width: var(--fa-width);\n}\n.svg-inline--fa.fa-stack-2x {\n --fa-width: 2.5em;\n height: 2em;\n width: var(--fa-width);\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n inset: 0;\n margin: auto;\n position: absolute;\n z-index: var(--fa-stack-z-index, auto);\n}';if(a!==e||n!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),r=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(a,"-")).replace(r,"--".concat(a,"-")).replace(l,".".concat(n))}return i}var mt=!1;function bt(){tt.autoAddCss&&!mt&&(!function(e){if(e&&J){var t=j.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var a=j.head.childNodes,n=null,i=a.length-1;i>-1;i--){var o=a[i],r=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(r)>-1&&(n=o)}j.head.insertBefore(t,n)}}(ut()),mt=!0)}var ft={mixout:function(){return{dom:{css:ut,insertCss:bt}}},hooks:function(){return{beforeDOMElementCreation:function(){bt()},beforeI2svg:function(){bt()}}}},ht=V||{};ht[Ne]||(ht[Ne]={}),ht[Ne].styles||(ht[Ne].styles={}),ht[Ne].hooks||(ht[Ne].hooks={}),ht[Ne].shims||(ht[Ne].shims=[]);var gt=ht[Ne],pt=[],xt=function(){j.removeEventListener("DOMContentLoaded",xt),Qt=1,pt.map(function(e){return e()})},Qt=!1;function vt(e){var t=e.tag,a=e.attributes,n=void 0===a?{}:a,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?st(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(function(t,a){return t+"".concat(a,'="').concat(st(e[a]),'" ')},"").trim()}(n),">").concat(o.map(vt).join(""),"</").concat(t,">")}function Gt(e,t,a){if(e&&e[t]&&e[t][a])return{prefix:t,iconName:a,icon:e[t][a]}}J&&((Qt=(j.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(j.readyState))||j.addEventListener("DOMContentLoaded",xt));var yt=function(e,t,a,n){var i,o,r,l=Object.keys(e),s=l.length,c=t;for(void 0===a?(i=1,r=e[l[0]]):(i=0,r=a);i<s;i++)r=c(r,e[o=l[i]],o,e);return r};function It(e){return 1!==L(e).length?null:e.codePointAt(0).toString(16)}function Bt(e){return Object.keys(e).reduce(function(t,a){var n=e[a];return!!n.icon?t[n.iconName]=n.icon:t[a]=n,t},{})}function Ft(e,t){var a=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,n=void 0!==a&&a,i=Bt(t);"function"!=typeof gt.hooks.addPack||n?gt.styles[e]=F(F({},gt.styles[e]||{}),i):gt.hooks.addPack(e,Bt(t)),"fas"===e&&Ft("fa",t)}var Zt=gt.styles,Lt=gt.shims,Nt=Object.keys(Ee),wt=Nt.reduce(function(e,t){return e[t]=Object.keys(Ee[t]),e},{}),Xt=null,Wt={},Ct={},Rt={},Dt={},Ut={};function kt(e,t){var a,n=t.split("-"),i=n[0],o=n.slice(1).join("-");return i!==e||""===o||(a=o,~Ke.indexOf(a))?null:o}var Yt,Vt=function(){var e=function(e){return yt(Zt,function(t,a,n){return t[n]=yt(a,e,{}),t},{})};Wt=e(function(e,t,a){(t[3]&&(e[t[3]]=a),t[2])&&t[2].filter(function(e){return"number"==typeof e}).forEach(function(t){e[t.toString(16)]=a});return e}),Ct=e(function(e,t,a){(e[a]=a,t[2])&&t[2].filter(function(e){return"string"==typeof e}).forEach(function(t){e[t]=a});return e}),Ut=e(function(e,t,a){var n=t[2];return e[a]=a,n.forEach(function(t){e[t]=a}),e});var t="far"in Zt||tt.autoFetchSvg,a=yt(Lt,function(e,a){var n=a[0],i=a[1],o=a[2];return"far"!==i||t||(i="fas"),"string"==typeof n&&(e.names[n]={prefix:i,iconName:o}),"number"==typeof n&&(e.unicodes[n.toString(16)]={prefix:i,iconName:o}),e},{names:{},unicodes:{}});Rt=a.names,Dt=a.unicodes,Xt=Jt(tt.styleDefault,{family:tt.familyDefault})};function jt(e,t){return(Wt[e]||{})[t]}function _t(e,t){return(Ut[e]||{})[t]}function St(e){return Rt[e]||{prefix:null,iconName:null}}function Mt(){return Xt}Yt=function(e){Xt=Jt(e.styleDefault,{family:tt.familyDefault})},at.push(Yt),Vt();function Jt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,a=void 0===t?O:t,n=_e[a][e];if(a===H&&!e)return"fad";var i=Me[a][e]||Me[a][n],o=e in gt.styles?e:null;return i||o||null}function Et(e){return e.sort().filter(function(e,t,a){return a.indexOf(e)===t})}var zt=Be.concat(be);function At(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,a=void 0!==t&&t,n=null,i=Et(e.filter(function(e){return zt.includes(e)})),o=Et(e.filter(function(e){return!zt.includes(e)})),r=Z(i.filter(function(e){return n=e,!A.includes(e)}),1)[0],l=void 0===r?null:r,s=function(e){var t=O,a=Nt.reduce(function(e,t){return e[t]="".concat(tt.cssPrefix,"-").concat(t),e},{});return ue.forEach(function(n){(e.includes(a[n])||e.some(function(e){return wt[n].includes(e)}))&&(t=n)}),t}(i),c=F(F({},function(e){var t=[],a=null;return e.forEach(function(e){var n=kt(tt.cssPrefix,e);n?a=n:e&&t.push(e)}),{iconName:a,rest:t}}(o)),{},{prefix:Jt(l,{family:s})});return F(F(F({},c),function(e){var t=e.values,a=e.family,n=e.canonical,i=e.givenPrefix,o=void 0===i?"":i,r=e.styles,l=void 0===r?{}:r,s=e.config,c=void 0===s?{}:s,d=a===H,u=t.includes("fa-duotone")||t.includes("fad"),m="duotone"===c.familyDefault,b="fad"===n.prefix||"fa-duotone"===n.prefix;!d&&(u||m||b)&&(n.prefix="fad");(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab");if(!n.prefix&&Ot.includes(a)){if(Object.keys(l).find(function(e){return Ht.includes(e)})||c.autoFetchSvg){var f=me.get(a).defaultShortPrefixId;n.prefix=f,n.iconName=_t(n.prefix,n.iconName)||n.iconName}}"fa"!==n.prefix&&"fa"!==o||(n.prefix=Mt()||"fas");return n}({values:e,family:s,styles:Zt,config:tt,canonical:c,givenPrefix:n})),function(e,t,a){var n=a.prefix,i=a.iconName;if(e||!n||!i)return{prefix:n,iconName:i};var o="fa"===t?St(i):{},r=_t(n,i);i=o.iconName||r||i,"far"!==(n=o.prefix||n)||Zt.far||!Zt.fas||tt.autoFetchSvg||(n="fas");return{prefix:n,iconName:i}}(a,n,c))}var Ot=ue.filter(function(e){return e!==O||e!==H}),Ht=Object.keys(Ie).filter(function(e){return e!==O}).map(function(e){return Object.keys(Ie[e])}).flat();var Tt=function(){return G(function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}},[{key:"add",value:function(){for(var e=this,t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];var i=a.reduce(this._pullDefinitions,{});Object.keys(i).forEach(function(t){e.definitions[t]=F(F({},e.definitions[t]||{}),i[t]),Ft(t,i[t]);var a=Ee[O][t];a&&Ft(a,i[t]),Vt()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var a=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(a).map(function(t){var n=a[t],i=n.prefix,o=n.iconName,r=n.icon,l=r[2];e[i]||(e[i]={}),l.length>0&&l.forEach(function(t){"string"==typeof t&&(e[i][t]=r)}),e[i][o]=r}),e}}])}(),Pt=[],Kt={},$t={},qt=Object.keys($t);function ea(e,t){for(var a=arguments.length,n=new Array(a>2?a-2:0),i=2;i<a;i++)n[i-2]=arguments[i];return(Kt[e]||[]).forEach(function(e){t=e.apply(null,[t].concat(n))}),t}function ta(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),n=1;n<t;n++)a[n-1]=arguments[n];(Kt[e]||[]).forEach(function(e){e.apply(null,a)})}function aa(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return $t[e]?$t[e].apply(null,t):void 0}function na(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,a=e.prefix||Mt();if(t)return t=_t(a,t)||t,Gt(ia.definitions,a,t)||Gt(gt.styles,a,t)}var ia=new Tt,oa={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return J?(ta("beforeI2svg",e),aa("pseudoElements2svg",e),aa("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=t.autoReplaceSvgRoot;!1===tt.autoReplaceSvg&&(tt.autoReplaceSvg=!0),tt.observeMutations=!0,e=function(){la({autoReplaceSvgRoot:a}),ta("watch",t)},J&&(Qt?setTimeout(e,0):pt.push(e))}},ra={noAuto:function(){tt.autoReplaceSvg=!1,tt.observeMutations=!1,ta("noAuto")},config:tt,dom:oa,parse:{icon:function(e){if(null===e)return null;if("object"===w(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:_t(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],a=Jt(e[0]);return{prefix:a,iconName:_t(a,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(tt.cssPrefix,"-"))>-1||e.match(Ae))){var n=At(e.split(" "),{skipLookups:!0});return{prefix:n.prefix||Mt(),iconName:_t(n.prefix,n.iconName)||n.iconName}}if("string"==typeof e){var i=Mt();return{prefix:i,iconName:_t(i,e)||e}}}},library:ia,findIconDefinition:na,toHtml:vt},la=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?j:e;(Object.keys(gt.styles).length>0||tt.autoFetchSvg)&&J&&tt.autoReplaceSvg&&ra.dom.i2svg({node:t})};function sa(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return vt(e)})}}),Object.defineProperty(e,"node",{get:function(){if(J){var t=j.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function ca(e){var t=e.icons,a=t.main,n=t.mask,i=e.prefix,o=e.iconName,r=e.transform,l=e.symbol,s=e.maskId,c=e.extra,d=e.watchable,u=void 0!==d&&d,m=n.found?n:a,b=m.width,f=m.height,h=[tt.replacementClass,o?"".concat(tt.cssPrefix,"-").concat(o):""].filter(function(e){return-1===c.classes.indexOf(e)}).filter(function(e){return""!==e||!!e}).concat(c.classes).join(" "),g={children:[],attributes:F(F({},c.attributes),{},{"data-prefix":i,"data-icon":o,class:h,role:c.attributes.role||"img",viewBox:"0 0 ".concat(b," ").concat(f)})};(function(e){return["aria-label","aria-labelledby","title","role"].some(function(t){return t in e})})(c.attributes)||c.attributes["aria-hidden"]||(g.attributes["aria-hidden"]="true"),u&&(g.attributes[Xe]="");var p=F(F({},g),{},{prefix:i,iconName:o,main:a,mask:n,maskId:s,transform:r,symbol:l,styles:F({},c.styles)}),x=n.found&&a.found?aa("generateAbstractMask",p)||{children:[],attributes:{}}:aa("generateAbstractIcon",p)||{children:[],attributes:{}},Q=x.children,v=x.attributes;return p.children=Q,p.attributes=v,l?function(e){var t=e.prefix,a=e.iconName,n=e.children,i=e.attributes,o=e.symbol,r=!0===o?"".concat(t,"-").concat(tt.cssPrefix,"-").concat(a):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:F(F({},i),{},{id:r}),children:n}]}]}(p):function(e){var t=e.children,a=e.main,n=e.mask,i=e.attributes,o=e.styles,r=e.transform;if(dt(r)&&a.found&&!n.found){var l={x:a.width/a.height/2,y:.5};i.style=ct(F(F({},o),{},{"transform-origin":"".concat(l.x+r.x/16,"em ").concat(l.y+r.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(p)}function da(e){var t=e.content,a=e.width,n=e.height,i=e.transform,o=e.extra,r=e.watchable,l=void 0!==r&&r,s=F(F({},o.attributes),{},{class:o.classes.join(" ")});l&&(s[Xe]="");var c=F({},o.styles);dt(i)&&(c.transform=function(e){var t=e.transform,a=e.width,n=void 0===a?16:a,i=e.height,o=void 0===i?16:i,r="";return r+=E?"translate(".concat(t.x/nt-n/2,"em, ").concat(t.y/nt-o/2,"em) "):"translate(calc(-50% + ".concat(t.x/nt,"em), calc(-50% + ").concat(t.y/nt,"em)) "),r+="scale(".concat(t.size/nt*(t.flipX?-1:1),", ").concat(t.size/nt*(t.flipY?-1:1),") "),r+"rotate(".concat(t.rotate,"deg) ")}({transform:i,width:a,height:n}),c["-webkit-transform"]=c.transform);var d=ct(c);d.length>0&&(s.style=d);var u=[];return u.push({tag:"span",attributes:s,children:[t]}),u}var ua=gt.styles;function ma(e){var t=e[0],a=e[1],n=Z(e.slice(4),1)[0];return{found:!0,width:t,height:a,icon:Array.isArray(n)?{tag:"g",attributes:{class:"".concat(tt.cssPrefix,"-").concat(Pe.GROUP)},children:[{tag:"path",attributes:{class:"".concat(tt.cssPrefix,"-").concat(Pe.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(tt.cssPrefix,"-").concat(Pe.PRIMARY),fill:"currentColor",d:n[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:n}}}}var ba={found:!1,width:512,height:512};function fa(e,t){var a=t;return"fa"===t&&null!==tt.styleDefault&&(t=Mt()),new Promise(function(n,i){if("fa"===a){var o=St(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&ua[t]&&ua[t][e])return n(ma(ua[t][e]));!function(e,t){Ye||tt.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),n(F(F({},ba),{},{icon:tt.showMissingIcons&&e&&aa("missingIconAbstract")||{}}))})}var ha=function(){},ga=tt.measurePerformance&&S&&S.mark&&S.measure?S:{mark:ha,measure:ha},pa='FA "7.1.0"',xa=function(e){ga.mark("".concat(pa," ").concat(e," ends")),ga.measure("".concat(pa," ").concat(e),"".concat(pa," ").concat(e," begins"),"".concat(pa," ").concat(e," ends"))},Qa=function(e){return ga.mark("".concat(pa," ").concat(e," begins")),function(){return xa(e)}},va=function(){};function Ga(e){return"string"==typeof(e.getAttribute?e.getAttribute(Xe):null)}function ya(e){return j.createElementNS("http://www.w3.org/2000/svg",e)}function Ia(e){return j.createElement(e)}function Ba(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,a=void 0===t?"svg"===e.tag?ya:Ia:t;if("string"==typeof e)return j.createTextNode(e);var n=a(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){n.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){n.appendChild(Ba(e,{ceFn:a}))}),n}var Fa={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(e){t.parentNode.insertBefore(Ba(e),t)}),null===t.getAttribute(Xe)&&tt.keepOriginalSource){var a=j.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(a,t)}else t.remove()},nest:function(e){var t=e[0],a=e[1];if(~lt(t).indexOf(tt.replacementClass))return Fa.replace(e);var n=new RegExp("".concat(tt.cssPrefix,"-.*"));if(delete a[0].attributes.id,a[0].attributes.class){var i=a[0].attributes.class.split(" ").reduce(function(e,t){return t===tt.replacementClass||t.match(n)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});a[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var o=a.map(function(e){return vt(e)}).join("\n");t.setAttribute(Xe,""),t.innerHTML=o}};function Za(e){e()}function La(e,t){var a="function"==typeof t?t:va;if(0===e.length)a();else{var n=Za;"async"===tt.mutateApproach&&(n=V.requestAnimationFrame||Za),n(function(){var t=!0===tt.autoReplaceSvg?Fa.replace:Fa[tt.autoReplaceSvg]||Fa.replace,n=Qa("mutate");e.map(t),n(),a()})}}var Na=!1;function wa(){Na=!0}function Xa(){Na=!1}var Wa=null;function Ca(e){if(_&&tt.observeMutations){var t=e.treeCallback,a=void 0===t?va:t,n=e.nodeCallback,i=void 0===n?va:n,o=e.pseudoElementsCallback,r=void 0===o?va:o,l=e.observeMutationsRoot,s=void 0===l?j:l;Wa=new _(function(e){if(!Na){var t=Mt();rt(e).forEach(function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Ga(e.addedNodes[0])&&(tt.searchPseudoElements&&r(e.target),a(e.target)),"attributes"===e.type&&e.target.parentNode&&tt.searchPseudoElements&&r([e.target],!0),"attributes"===e.type&&Ga(e.target)&&~Te.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Ce):null,a=e.getAttribute?e.getAttribute(Re):null;return t&&a}(e.target)){var n=At(lt(e.target)),o=n.prefix,l=n.iconName;e.target.setAttribute(Ce,o||t),l&&e.target.setAttribute(Re,l)}else(s=e.target)&&s.classList&&s.classList.contains&&s.classList.contains(tt.replacementClass)&&i(e.target);var s})}}),J&&Wa.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Ra(e){var t,a,n=e.getAttribute("data-prefix"),i=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",r=At(lt(e));return r.prefix||(r.prefix=Mt()),n&&i&&(r.prefix=n,r.iconName=i),r.iconName&&r.prefix||(r.prefix&&o.length>0&&(r.iconName=(t=r.prefix,a=e.innerText,(Ct[t]||{})[a]||jt(r.prefix,It(e.innerText)))),!r.iconName&&tt.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=e.firstChild.data)),r}function Da(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},a=Ra(e),n=a.iconName,i=a.prefix,o=a.rest,r=function(e){return rt(e.attributes).reduce(function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e},{})}(e),l=ea("parseNodeAttributes",{},e),s=t.styleParser?function(e){var t=e.getAttribute("style"),a=[];return t&&(a=t.split(";").reduce(function(e,t){var a=t.split(":"),n=a[0],i=a.slice(1);return n&&i.length>0&&(e[n]=i.join(":").trim()),e},{})),a}(e):[];return F({iconName:n,prefix:i,transform:it,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:s,attributes:r}},l)}var Ua=gt.styles;function ka(e){var t="nest"===tt.autoReplaceSvg?Da(e,{styleParser:!1}):Da(e);return~t.extra.classes.indexOf(Oe)?aa("generateLayersText",e,t):aa("generateSvgReplacementMutation",e,t)}function Ya(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!J)return Promise.resolve();var a=j.documentElement.classList,n=function(e){return a.add("".concat(De,"-").concat(e))},i=function(e){return a.remove("".concat(De,"-").concat(e))},o=tt.autoFetchSvg?[].concat(L(be),L(Be)):A.concat(Object.keys(Ua));o.includes("fa")||o.push("fa");var r=[".".concat(Oe,":not([").concat(Xe,"])")].concat(o.map(function(e){return".".concat(e,":not([").concat(Xe,"])")})).join(", ");if(0===r.length)return Promise.resolve();var l=[];try{l=rt(e.querySelectorAll(r))}catch(e){}if(!(l.length>0))return Promise.resolve();n("pending"),i("complete");var s=Qa("onTree"),c=l.reduce(function(e,t){try{var a=ka(t);a&&e.push(a)}catch(e){Ye||"MissingIcon"===e.name&&console.error(e)}return e},[]);return new Promise(function(e,a){Promise.all(c).then(function(a){La(a,function(){n("active"),n("complete"),i("pending"),"function"==typeof t&&t(),s(),e()})}).catch(function(e){s(),a(e)})})}function Va(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ka(e).then(function(e){e&&La([e],t)})}var ja=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.transform,n=void 0===a?it:a,i=t.symbol,o=void 0!==i&&i,r=t.mask,l=void 0===r?null:r,s=t.maskId,c=void 0===s?null:s,d=t.classes,u=void 0===d?[]:d,m=t.attributes,b=void 0===m?{}:m,f=t.styles,h=void 0===f?{}:f;if(e){var g=e.prefix,p=e.iconName,x=e.icon;return sa(F({type:"icon"},e),function(){return ta("beforeDOMElementCreation",{iconDefinition:e,params:t}),ca({icons:{main:ma(x),mask:l?ma(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:p,transform:F(F({},it),n),symbol:o,maskId:c,extra:{attributes:b,styles:h,classes:u}})})}},_a={mixout:function(){return{icon:(e=ja,function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:na(t||{}),i=a.mask;return i&&(i=(i||{}).icon?i:na(i||{})),e(n,F(F({},a),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Ya,e.nodeCallback=Va,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,a=void 0===t?j:t,n=e.callback;return Ya(a,void 0===n?function(){}:n)},e.generateSvgReplacementMutation=function(e,t){var a=t.iconName,n=t.prefix,i=t.transform,o=t.symbol,r=t.mask,l=t.maskId,s=t.extra;return new Promise(function(t,c){Promise.all([fa(a,n),r.iconName?fa(r.iconName,r.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(r){var c=Z(r,2),d=c[0],u=c[1];t([e,ca({icons:{main:d,mask:u},prefix:n,iconName:a,transform:i,symbol:o,maskId:l,extra:s,watchable:!0})])}).catch(c)})},e.generateAbstractIcon=function(e){var t,a=e.children,n=e.attributes,i=e.main,o=e.transform,r=ct(e.styles);return r.length>0&&(n.style=r),dt(o)&&(t=aa("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),a.push(t||i.icon),{children:a,attributes:n}}}},Sa={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.classes,n=void 0===a?[]:a;return sa({type:"layer"},function(){ta("beforeDOMElementCreation",{assembler:e,params:t});var a=[];return e(function(e){Array.isArray(e)?e.map(function(e){a=a.concat(e.abstract)}):a=a.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat(tt.cssPrefix,"-layers")].concat(L(n)).join(" ")},children:a}]})}}}},Ma={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.title;var a=t.classes,n=void 0===a?[]:a,i=t.attributes,o=void 0===i?{}:i,r=t.styles,l=void 0===r?{}:r;return sa({type:"counter",content:e},function(){return ta("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,a=e.extra,n=F(F({},a.attributes),{},{class:a.classes.join(" ")}),i=ct(a.styles);i.length>0&&(n.style=i);var o=[];return o.push({tag:"span",attributes:n,children:[t]}),o}({content:e.toString(),extra:{attributes:o,styles:l,classes:["".concat(tt.cssPrefix,"-layers-counter")].concat(L(n))}})})}}}},Ja={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.transform,n=void 0===a?it:a,i=t.classes,o=void 0===i?[]:i,r=t.attributes,l=void 0===r?{}:r,s=t.styles,c=void 0===s?{}:s;return sa({type:"text",content:e},function(){return ta("beforeDOMElementCreation",{content:e,params:t}),da({content:e,transform:F(F({},it),n),extra:{attributes:l,styles:c,classes:["".concat(tt.cssPrefix,"-layers-text")].concat(L(o))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var a=t.transform,n=t.extra,i=null,o=null;if(E){var r=parseInt(getComputedStyle(e).fontSize,10),l=e.getBoundingClientRect();i=l.width/r,o=l.height/r}return Promise.resolve([e,da({content:e.innerHTML,width:i,height:o,transform:a,extra:n,watchable:!0})])}}},Ea=new RegExp('"',"ug"),za=[1105920,1112319],Aa=F(F(F(F({},{FontAwesome:{normal:"fas",400:"fas"}}),{"Font Awesome 7 Free":{900:"fas",400:"far"},"Font Awesome 7 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 7 Brands":{400:"fab",normal:"fab"},"Font Awesome 7 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 7 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 7 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"},"Font Awesome 7 Jelly":{400:"fajr",normal:"fajr"},"Font Awesome 7 Jelly Fill":{400:"fajfr",normal:"fajfr"},"Font Awesome 7 Jelly Duo":{400:"fajdr",normal:"fajdr"},"Font Awesome 7 Slab":{400:"faslr",normal:"faslr"},"Font Awesome 7 Slab Press":{400:"faslpr",normal:"faslpr"},"Font Awesome 7 Thumbprint":{300:"fatl",normal:"fatl"},"Font Awesome 7 Notdog":{900:"fans",normal:"fans"},"Font Awesome 7 Notdog Duo":{900:"fands",normal:"fands"},"Font Awesome 7 Etch":{900:"faes",normal:"faes"},"Font Awesome 7 Chisel":{400:"facr",normal:"facr"},"Font Awesome 7 Whiteboard":{600:"fawsb",normal:"fawsb"},"Font Awesome 7 Utility":{600:"fausb",normal:"fausb"},"Font Awesome 7 Utility Duo":{600:"faudsb",normal:"faudsb"},"Font Awesome 7 Utility Fill":{600:"faufsb",normal:"faufsb"}}),{"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}}),{"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}}),Oa=Object.keys(Aa).reduce(function(e,t){return e[t.toLowerCase()]=Aa[t],e},{}),Ha=Object.keys(Oa).reduce(function(e,t){var a=Oa[t];return e[t]=a[900]||L(Object.entries(a))[0][1],e},{});function Ta(e,t){var a="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(function(n,i){if(null!==e.getAttribute(a))return n();var o,r,l,s=rt(e.children).filter(function(e){return e.getAttribute(We)===t})[0],c=V.getComputedStyle(e,t),d=c.getPropertyValue("font-family"),u=d.match(He),m=c.getPropertyValue("font-weight"),b=c.getPropertyValue("content");if(s&&!u)return e.removeChild(s),n();if(u&&"none"!==b&&""!==b){var f=c.getPropertyValue("content"),h=function(e,t){var a=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),i=isNaN(n)?"normal":n;return(Oa[a]||{})[i]||Ha[a]}(d,m),g=function(e){return It(L(e.replace(Ea,""))[0]||"")}(f),p=u[0].startsWith("FontAwesome"),x=function(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),a=e.getPropertyValue("content").replace(Ea,""),n=a.codePointAt(0),i=n>=za[0]&&n<=za[1],o=2===a.length&&a[0]===a[1];return i||o||t}(c),Q=jt(h,g),v=Q;if(p){var G=(r=Dt[o=g],l=jt("fas",o),r||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});G.iconName&&G.prefix&&(Q=G.iconName,h=G.prefix)}if(!Q||x||s&&s.getAttribute(Ce)===h&&s.getAttribute(Re)===v)n();else{e.setAttribute(a,v),s&&e.removeChild(s);var y={iconName:null,prefix:null,transform:it,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},I=y.extra;I.attributes[We]=t,fa(Q,h).then(function(i){var o=ca(F(F({},y),{},{icons:{main:i,mask:{prefix:null,iconName:null,rest:[]}},prefix:h,iconName:v,extra:I,watchable:!0})),r=j.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(r,e.firstChild):e.appendChild(r),r.outerHTML=o.map(function(e){return vt(e)}).join("\n"),e.removeAttribute(a),n()}).catch(i)}}else n()})}function Pa(e){return Promise.all([Ta(e,"::before"),Ta(e,"::after")])}function Ka(e){return!(e.parentNode===document.head||~Ue.indexOf(e.tagName.toUpperCase())||e.getAttribute(We)||e.parentNode&&"svg"===e.parentNode.tagName)}var $a=function(e){return!!e&&ke.some(function(t){return e.includes(t)})},qa=function(e){if(!e)return[];var t=new Set,a=e.split(/,(?![^()]*\))/).map(function(e){return e.trim()});a=a.flatMap(function(e){return e.includes("(")?e:e.split(",").map(function(e){return e.trim()})});var n,i=y(a);try{for(i.s();!(n=i.n()).done;){var o=n.value;if($a(o)){var r=ke.reduce(function(e,t){return e.replace(t,"")},o);""!==r&&"*"!==r&&t.add(r)}}}catch(e){i.e(e)}finally{i.f()}return t};function en(e){if(J){var t;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])t=e;else if(tt.searchPseudoElementsFullScan)t=e.querySelectorAll("*");else{var a,n=new Set,i=y(document.styleSheets);try{for(i.s();!(a=i.n()).done;){var o=a.value;try{var r,l=y(o.cssRules);try{for(l.s();!(r=l.n()).done;){var s,c=r.value,d=y(qa(c.selectorText));try{for(d.s();!(s=d.n()).done;){var u=s.value;n.add(u)}}catch(e){d.e(e)}finally{d.f()}}}catch(e){l.e(e)}finally{l.f()}}catch(e){tt.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(o.href," (").concat(e.message,')\nIf it declares any Font Awesome CSS pseudo-elements, they will not be rendered as SVG icons. Add crossorigin="anonymous" to the <link>, enable searchPseudoElementsFullScan for slower but more thorough DOM parsing, or suppress this warning by setting searchPseudoElementsWarnings to false.'))}}}catch(e){i.e(e)}finally{i.f()}if(!n.size)return;var m=Array.from(n).join(", ");try{t=e.querySelectorAll(m)}catch(e){}}return new Promise(function(e,a){var n=rt(t).filter(Ka).map(Pa),i=Qa("searchPseudoElements");wa(),Promise.all(n).then(function(){i(),Xa(),e()}).catch(function(){i(),Xa(),a()})})}}var tn={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=en,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,a=void 0===t?j:t;tt.searchPseudoElements&&en(a)}}},an=!1,nn=function(e){return e.toLowerCase().split(" ").reduce(function(e,t){var a=t.toLowerCase().split("-"),n=a[0],i=a.slice(1).join("-");if(n&&"h"===i)return e.flipX=!0,e;if(n&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(n){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},on={mixout:function(){return{parse:{transform:function(e){return nn(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var a=t.getAttribute("data-fa-transform");return a&&(e.transform=nn(a)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,a=e.transform,n=e.containerWidth,i=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},r="translate(".concat(32*a.x,", ").concat(32*a.y,") "),l="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),s="rotate(".concat(a.rotate," 0 0)"),c={outer:o,inner:{transform:"".concat(r," ").concat(l," ").concat(s)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:F({},c.outer),children:[{tag:"g",attributes:F({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:F(F({},t.icon.attributes),c.path)}]}]}}}},rn={x:0,y:0,width:"100%",height:"100%"};function ln(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var sn={hooks:function(){return{parseNodeAttributes:function(e,t){var a=t.getAttribute("data-fa-mask"),n=a?At(a.split(" ").map(function(e){return e.trim()})):{prefix:null,iconName:null,rest:[]};return n.prefix||(n.prefix=Mt()),e.mask=n,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,a=e.children,n=e.attributes,i=e.main,o=e.mask,r=e.maskId,l=e.transform,s=i.width,c=i.icon,d=o.width,u=o.icon,m=function(e){var t=e.transform,a=e.containerWidth,n=e.iconWidth,i={transform:"translate(".concat(a/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),r="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(r," ").concat(l)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:l,containerWidth:d,iconWidth:s}),b={tag:"rect",attributes:F(F({},rn),{},{fill:"white"})},f=c.children?{children:c.children.map(ln)}:{},h={tag:"g",attributes:F({},m.inner),children:[ln(F({tag:c.tag,attributes:F(F({},c.attributes),m.path)},f))]},g={tag:"g",attributes:F({},m.outer),children:[h]},p="mask-".concat(r||ot()),x="clip-".concat(r||ot()),Q={tag:"mask",attributes:F(F({},rn),{},{id:p,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[b,g]},v={tag:"defs",children:[{tag:"clipPath",attributes:{id:x},children:(t=u,"g"===t.tag?t.children:[t])},Q]};return a.push(v,{tag:"rect",attributes:F({fill:"currentColor","clip-path":"url(#".concat(x,")"),mask:"url(#".concat(p,")")},rn)}),{children:a,attributes:n}}}},cn={provides:function(e){var t=!1;V.matchMedia&&(t=V.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],a={fill:"currentColor"},n={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:F(F({},a),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=F(F({},n),{},{attributeName:"opacity"}),o={tag:"circle",attributes:F(F({},a),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:F(F({},n),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:F(F({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:F(F({},a),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:F(F({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:F(F({},a),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:F(F({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){var a=t.mixoutsTo;Pt=e,Kt={},Object.keys($t).forEach(function(e){-1===qt.indexOf(e)&&delete $t[e]}),Pt.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){"function"==typeof t[e]&&(a[e]=t[e]),"object"===w(t[e])&&Object.keys(t[e]).forEach(function(n){a[e]||(a[e]={}),a[e][n]=t[e][n]})}),e.hooks){var n=e.hooks();Object.keys(n).forEach(function(e){Kt[e]||(Kt[e]=[]),Kt[e].push(n[e])})}e.provides&&e.provides($t)})}([ft,_a,Sa,Ma,Ja,tn,{mixout:function(){return{dom:{unwatch:function(){wa(),an=!0}}}},hooks:function(){return{bootstrap:function(){Ca(ea("mutationObserverCallbacks",{}))},noAuto:function(){Wa&&Wa.disconnect()},watch:function(e){var t=e.observeMutationsRoot;an?Xa():Ca(ea("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},on,sn,cn,{hooks:function(){return{parseNodeAttributes:function(e,t){var a=t.getAttribute("data-fa-symbol"),n=null!==a&&(""===a||a);return e.symbol=n,e}}}}],{mixoutsTo:ra});var dn=ra.config,un=ra.parse,mn=ra.icon;function bn(e){return t=e,(t-=0)==t?e:(e=e.replace(/[_-]+(.)?/g,(e,t)=>t?t.toUpperCase():"")).charAt(0).toLowerCase()+e.slice(1);var t}function fn(e){return e.charAt(0).toUpperCase()+e.slice(1)}var hn=new Map;function gn(e){if(hn.has(e))return hn.get(e);const t={};let a=0;const n=e.length;for(;a<n;){const i=e.indexOf(";",a),o=-1===i?n:i,r=e.slice(a,o).trim();if(r){const e=r.indexOf(":");if(e>0){const a=r.slice(0,e).trim(),n=r.slice(e+1).trim();if(a&&n){const e=bn(a);t[e.startsWith("webkit")?fn(e):e]=n}}}a=o+1}if(1e3===hn.size){const e=hn.keys().next().value;e&&hn.delete(e)}return hn.set(e,t),t}var pn=function e(t,a,n={}){if("string"==typeof a)return a;const i=(a.children||[]).map(a=>e(t,a)),o=a.attributes||{},r={};for(const[e,t]of Object.entries(o))switch(!0){case"class"===e:r.className=t;break;case"style"===e:r.style=gn(String(t));break;case e.startsWith("aria-"):case e.startsWith("data-"):r[e.toLowerCase()]=t;break;default:r[bn(e)]=t}const{style:l,role:s,"aria-label":c,...d}=n;return l&&(r.style=r.style?{...r.style,...l}:l),s&&(r.role=s),c&&(r["aria-label"]=c,r["aria-hidden"]="false"),t(a.tag,{...d,...r},...i)}.bind(null,t.createElement),xn=(e,a)=>{const n=t.useId();return e||(a?n:void 0)};"undefined"!=typeof process&&process.env.FA_VERSION;var Qn="searchPseudoElementsFullScan"in dn?"7.0.0":"6.0.0",vn=Number.parseInt(Qn)>=7,Gn="fa",yn="fa-beat",In="fa-fade",Bn="fa-beat-fade",Fn="fa-bounce",Zn="fa-shake",Ln="fa-spin",Nn="fa-spin-pulse",wn="fa-spin-reverse",Xn="fa-pulse",Wn={left:"fa-pull-left",right:"fa-pull-right"},Cn={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},Rn={"2xs":"fa-2xs",xs:"fa-xs",sm:"fa-sm",lg:"fa-lg",xl:"fa-xl","2xl":"fa-2xl","1x":"fa-1x","2x":"fa-2x","3x":"fa-3x","4x":"fa-4x","5x":"fa-5x","6x":"fa-6x","7x":"fa-7x","8x":"fa-8x","9x":"fa-9x","10x":"fa-10x"},Dn="fa-border",Un="fa-fw",kn="fa-flip",Yn="fa-flip-horizontal",Vn="fa-flip-vertical",jn="fa-inverse",_n="fa-rotate-by",Sn="fa-swap-opacity",Mn="fa-width-auto";function Jn(e){const t=dn.cssPrefix||dn.familyPrefix||Gn;return t===Gn?e:e.replace(new RegExp(String.raw`(?<=^|\s)${Gn}-`,"g"),`${t}-`)}function En(e){if(e)return(e=>"object"==typeof e&&"icon"in e&&!!e.icon)(e)?e:un.icon(e)}var zn=new class{constructor(e="react-fontawesome"){this.enabled=!1;let t=!1;try{t="undefined"!=typeof process&&"development"===process.env.NODE_ENV}catch{}this.scope=e,this.enabled=t}log(...e){this.enabled&&console.log(`[${this.scope}]`,...e)}warn(...e){this.enabled&&console.warn(`[${this.scope}]`,...e)}error(...e){this.enabled&&console.error(`[${this.scope}]`,...e)}}("FontAwesomeIcon"),An={border:!1,className:"",mask:void 0,maskId:void 0,fixedWidth:!1,inverse:!1,flip:!1,icon:void 0,listItem:!1,pull:void 0,pulse:!1,rotation:void 0,rotateBy:!1,size:void 0,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:void 0,transform:void 0,swapOpacity:!1,widthAuto:!1},On=new Set(Object.keys(An)),Hn=t.forwardRef((e,t)=>{const a={...An,...e},{icon:n,mask:i,symbol:o,title:r,titleId:l,maskId:s,transform:c}=a,d=xn(s,Boolean(i)),u=xn(l,Boolean(r)),m=En(n);if(!m)return zn.error("Icon lookup is undefined",n),null;const b=function(e){const{beat:t,fade:a,beatFade:n,bounce:i,shake:o,spin:r,spinPulse:l,spinReverse:s,pulse:c,fixedWidth:d,inverse:u,border:m,flip:b,size:f,rotation:h,pull:g,swapOpacity:p,rotateBy:x,widthAuto:Q,className:v}=e,G=[];return v&&G.push(...v.split(" ")),t&&G.push(yn),a&&G.push(In),n&&G.push(Bn),i&&G.push(Fn),o&&G.push(Zn),r&&G.push(Ln),s&&G.push(wn),l&&G.push(Nn),c&&G.push(Xn),d&&G.push(Un),u&&G.push(jn),m&&G.push(Dn),!0===b&&G.push(kn),"horizontal"!==b&&"both"!==b||G.push(Yn),"vertical"!==b&&"both"!==b||G.push(Vn),null!=f&&G.push(Rn[f]),null!=h&&0!==h&&G.push(Cn[h]),null!=g&&G.push(Wn[g]),p&&G.push(Sn),vn?(x&&G.push(_n),Q&&G.push(Mn),(dn.cssPrefix||dn.familyPrefix||Gn)===Gn?G:G.map(Jn)):G}(a),f="string"==typeof c?un.transform(c):c,h=En(i),g=mn(m,{...b.length>0&&{classes:b},...f&&{transform:f},...h&&{mask:h},symbol:o,title:r,titleId:u,maskId:d});if(!g)return zn.error("Could not find icon",m),null;const{abstract:p}=g,x={ref:t};for(const e of(Q=a,Object.keys(Q)))On.has(e)||(x[e]=a[e]);var Q;return pn(p[0],x)});Hn.displayName="FontAwesomeIcon";var Tn={box:"Box-module_box__SQLj3",collapseBox:"Box-module_collapseBox__5A5Fc",padding:"Box-module_padding__dIJ-L",collapsedContent:"Box-module_collapsedContent__yn-0g",collapseTitle:"Box-module_collapseTitle__-R0ge",collapseIcon:"Box-module_collapseIcon__OAiTO",collapsed:"Box-module_collapsed__nf76f"};b(".Box-module_box__SQLj3,.Box-module_collapseBox__5A5Fc{background-color:var(--ps-ui-foreground);border:1px solid var(--ps-ui-border);border-radius:4px;position:relative}.Box-module_padding__dIJ-L{margin-bottom:10px;padding:10px}.Box-module_collapseBox__5A5Fc{margin-bottom:10px}.Box-module_collapseBox__5A5Fc .Box-module_box__SQLj3,.Box-module_collapseBox__5A5Fc .Box-module_collapseBox__5A5Fc{background-color:transparent;border:none;border-radius:0;height:auto;padding-bottom:0}.Box-module_collapseBox__5A5Fc .Box-module_box__SQLj3.Box-module_collapsedContent__yn-0g,.Box-module_collapseBox__5A5Fc .Box-module_collapsedContent__yn-0g.Box-module_collapseBox__5A5Fc{height:0;margin:0;overflow:hidden;padding:0}.Box-module_collapseTitle__-R0ge{align-items:center;cursor:pointer;display:flex;font-size:18px;font-weight:500;height:40px;justify-content:space-between;padding:5px 10px}.Box-module_collapseTitle__-R0ge:hover{background-color:var(--ps-ui-border)}.Box-module_collapseIcon__OAiTO{display:flex;transition:transform .1s}.Box-module_collapseIcon__OAiTO.Box-module_collapsed__nf76f{display:flex;transform:rotate(90deg)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJveC5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxzREFDRSx3Q0FBeUMsQ0FDekMsb0NBQXFDLENBQ3JDLGlCQUFrQixDQUNsQixpQkFDRixDQUVBLDJCQUNFLGtCQUFtQixDQUNuQixZQUNGLENBRUEsK0JBQ0Usa0JBQ0YsQ0FDQSxvSEFDRSw0QkFBNkIsQ0FDN0IsV0FBWSxDQUNaLGVBQWdCLENBRWhCLFdBQVksQ0FEWixnQkFFRixDQUNBLDBMQUNFLFFBQVMsQ0FDVCxRQUFTLENBRVQsZUFBZ0IsQ0FEaEIsU0FFRixDQUVBLGlDQU9FLGtCQUFtQixDQUpuQixjQUFlLENBRWYsWUFBYSxDQUhiLGNBQWUsQ0FEZixlQUFnQixDQU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B4IDEwcHg7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgaGVpZ2h0OiA0MHB4O1xufVxuLmNvbGxhcHNlVGl0bGU6aG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy11aS1ib3JkZXIpO1xufVxuXG4uY29sbGFwc2VJY29uIHtcbiAgZGlzcGxheTogZmxleDtcbiAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDAuMXM7XG59XG4uY29sbGFwc2VJY29uLmNvbGxhcHNlZCB7XG4gIHRyYW5zZm9ybTogcm90YXRlKDkwZGVnKTtcbiAgZGlzcGxheTogZmxleDtcbn0iXX0= */"),Q.bind(Tn);const Pn=["dotnetspy","ebpfspy","gospy","phpspy","pyspy","rbspy","nodespy","javaspy","pyroscope-rs","scrape","tracing","unknown"],Kn=n.z.preprocess(e=>e&&Pn.includes(e)?e:"unknown",n.z.enum(Pn).default("unknown")),$n=["samples","objects","goroutines","bytes","lock_samples","lock_nanoseconds","trace_samples","exceptions"],qn=n.z.preprocess(e=>"string"==typeof e&&$n.includes(e)?e:"unknown",n.z.enum(["samples","objects","goroutines","bytes","lock_samples","lock_nanoseconds","trace_samples","exceptions","unknown"])),ei=n.z.object({names:n.z.array(n.z.preprocess(e=>e||"unknown",n.z.string().min(1))),levels:n.z.array(n.z.array(n.z.number())),numTicks:n.z.number(),maxSelf:n.z.number()}),ti=n.z.object({appName:n.z.string().optional(),name:n.z.string().optional(),startTime:n.z.number().optional(),endTime:n.z.number().optional(),query:n.z.string().optional(),maxNodes:n.z.number().optional(),format:n.z.enum(["single","double"]),sampleRate:n.z.number(),spyName:Kn,units:qn});n.z.object({version:n.z.number().min(1).max(1).default(1),flamebearer:ei,metadata:ti,leftTicks:n.z.number().optional(),rightTicks:n.z.number().optional()});const ai={format:"single",jStep:4,jName:3,getBarOffset:(e,t)=>e[t],getBarTotal:(e,t)=>e[t+1],getBarTotalDiff:(e,t)=>0,getBarSelf:(e,t)=>e[t+2],getBarSelfDiff:(e,t)=>0,getBarName:(e,t)=>e[t+3]},ni={format:"double",jStep:7,jName:6,getBarOffset:(e,t)=>e[t]+e[t+3],getBarTotal:(e,t)=>e[t+4]+e[t+1],getBarTotalLeft:(e,t)=>e[t+1],getBarTotalRght:(e,t)=>e[t+4],getBarTotalDiff:(e,t)=>e[t+4]-e[t+1],getBarSelf:(e,t)=>e[t+5]+e[t+2],getBarSelfLeft:(e,t)=>e[t+2],getBarSelfRght:(e,t)=>e[t+5],getBarSelfDiff:(e,t)=>e[t+5]-e[t+2],getBarName:(e,t)=>e[t+6]};function ii(e){switch(e){case"single":return ai;case"double":return ni;default:throw new Error(`Unsupported type: '${e}'`)}}const oi=n.z.object({refType:n.z.string(),traceID:n.z.string(),spanID:n.z.string()}),ri=n.z.object({key:n.z.string(),type:n.z.string(),value:n.z.union([n.z.boolean(),n.z.number(),n.z.string()])}),li=n.z.object({traceID:n.z.string(),spanID:n.z.string(),flags:n.z.string(),operationName:n.z.string(),references:n.z.array(oi),startTime:n.z.number(),duration:n.z.number(),tags:n.z.array(ri),logs:n.z.object({timestamp:n.z.number(),fields:n.z.array(ri)}),processID:n.z.string(),warnings:n.z.any()}),si=n.z.object({serviceName:n.z.string(),tags:n.z.array(ri)});n.z.object({traceID:n.z.string(),spans:n.z.array(li),processes:n.z.record(si),warnings:n.z.any()});const ci=n.z.object({watermark:n.z.object({}).optional(),startTime:n.z.number(),samples:n.z.array(n.z.number()),durationDelta:n.z.number()});n.z.record(n.z.string(),ci);const di=22,ui=21.5;function mi(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}function bi(e){return`${fi(e)}%`}function fi(e){return Math.round(1e4*e)/100}function hi(e,t){return(t-e)/e*100}function gi(e,t,a){switch(a){case"samples":return new pi(e/t);case"objects":case"goroutines":case"lock_samples":case"exceptions":return new Qi(e);case"bytes":return new vi(e);case"lock_nanoseconds":return new xi(e);case"trace_samples":return new pi(e/t,"",!0);default:return console.warn(`Unsupported unit: '${a}'. Defaulting to ''`),new pi(e/t," ")}}class pi{constructor(e,t,a){this.divider=1,this.enableSubsecondPrecision=!1,this.suffix="second",this.durations=[[60,"minute"],[60,"hour"],[24,"day"],[30,"month"],[12,"year"]],this.units="",a&&(this.enableSubsecondPrecision=a,this.durations=[[1e3,"ms"],[1e3,"second"],...this.durations],this.suffix="μs",e*=1e6),this.units=t||"";for(let t=0;t<this.durations.length;t++){const a=this.durations[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;this.divider*=a[0],e/=a[0],this.suffix=a[1]}}format(e,t,a=!0){this.enableSubsecondPrecision&&(t/=1e6);const n=e/t/this.divider;let i=n.toFixed(2);return 0===n?i="0.00":(n>=0&&n<.01||n<=0&&n>-.01)&&(i="< 0.01"),a?`${i} ${this.units||`${this.suffix}${1===n||2===this.suffix.length?"":"s"}`}`:i}formatPrecise(e,t){this.enableSubsecondPrecision&&(t/=1e6);const a=e/t/this.divider;return`${parseFloat(a.toFixed(5))} ${this.units||`${this.suffix}${1===a||2===this.suffix.length?"":"s"}`}`}}class xi{constructor(e){this.divider=1,this.multiplier=1,this.suffix="second",this.durations=[[60,"minute"],[60,"hour"],[24,"day"],[30,"month"],[12,"year"]],e/=1e9;for(let t=0;t<this.durations.length;t++){const a=this.durations[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;this.divider*=a[0],e/=a[0],this.suffix=a[1]}}format(e){const t=e/1e9/this.divider;let a=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(a="< 0.01"),`${a} ${this.suffix}${1===t?"":"s"}`}formatPrecise(e){const t=e/1e9/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}${1===t?"":"s"}`}}class Qi{constructor(e){this.divider=1,this.suffix="",this.objects=[[1e3,"K"],[1e3,"M"],[1e3,"G"],[1e3,"T"],[1e3,"P"]];for(let t=0;t<this.objects.length;t++){const a=this.objects[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;this.divider*=a[0],e/=a[0],this.suffix=a[1]}}format(e){const t=e/this.divider;let a=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(a="< 0.01"),`${a} ${this.suffix}`}formatPrecise(e){const t=e/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}`}}class vi{constructor(e){this.divider=1,this.suffix="bytes",this.bytes=[[1024,"KB"],[1024,"MB"],[1024,"GB"],[1024,"TB"],[1024,"PB"]];for(let t=0;t<this.bytes.length;t++){const a=this.bytes[t];if(!a){console.warn("Could not calculate level");break}if(!(e>=a[0]))break;{this.divider*=a[0],e/=a[0];const t=a[1];t?this.suffix=t:(console.warn("Could not calculate suffix"),this.suffix="")}}}format(e){const t=e/this.divider;let a=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(a="< 0.01"),`${a} ${this.suffix}`}formatPrecise(e){const t=e/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}`}}const Gi="TAIL",yi="HEAD";function Ii({mode:e,charSize:t,rectWidth:a,fullText:n,shortText:i}){if(e===Gi){if(t*n.length<=a)return{mode:e,text:n,marginLeft:3};const o=t*i.length;return o<=a?{mode:e,text:i,marginLeft:3}:{mode:e,text:i,marginLeft:-(o-a+3)}}return{mode:e,text:n,marginLeft:3}}function Bi(e,t){return i.rgb(e,e,e).alpha(t)}function Fi(e,t){if(0===t.length)return t;const a=function(e){switch(e){case"dotnetspy":return/^(?<packageName>.+)\.(.+)\.(.+)\(.*\)$/;case"ebpfspy":case"unknown":return/^(?<packageName>.+)$/;case"gospy":case"scrape":return/^(?<packageName>.*?\/.*?\.|.*?\.|.+)(?<functionName>.*)$/;case"phpspy":return/^(?<packageName>(.*\/)*)(?<filename>.*\.php+)(?<line_info>.*)$/;case"pyspy":return/^(?<packageName>(.*\/)*)(?<filename>.*\.py+)(?<line_info>.*)$/;case"rbspy":return/^(?<packageName>(.*\/)*)(?<filename>.*\.rb+)(?<line_info>.*)$/;case"nodespy":return/^(\.\/node_modules\/)?(?<packageName>[^/]*)(?<filename>.*\.?(jsx?|tsx?)?):(?<functionName>.*):(?<line_info>.*)$/;case"tracing":return/^(?<packageName>.+?):.*$/;case"javaspy":return/^(?<packageName>.+\/)(?<filename>.+\.)(?<functionName>.+)$/;case"pyroscope-rs":return/^(?<packageName>[^::]+)/}return/^(?<packageName>.+)$/}(e),n=t.match(a);return n&&n.groups?n.groups.packageName||"":t}function Zi(e,t){const a=function(e,t=0){let a,n,i,o,r,l,s,c;for(a=3&e.length,n=e.length-a,i=t,r=3432918353,l=461845907,c=0;c<n;)s=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24,++c,s=(65535&s)*r+(((s>>>16)*r&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*l+(((s>>>16)*l&65535)<<16)&4294967295,i^=s,i=i<<13|i>>>19,o=5*(65535&i)+((5*(i>>>16)&65535)<<16)&4294967295,i=27492+(65535&o)+(((o>>>16)+58964&65535)<<16);switch(s=0,a){case 3:s^=(255&e.charCodeAt(c+2))<<16;case 2:s^=(255&e.charCodeAt(c+1))<<8;case 1:s^=255&e.charCodeAt(c);default:s=(65535&s)*r+(((s>>>16)*r&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*l+(((s>>>16)*l&65535)<<16)&4294967295,i^=s}return i^=e.length,i^=i>>>16,i=2246822507*(65535&i)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(65535&i)+((3266489909*(i>>>16)&65535)<<16)&4294967295,i^=i>>>16,i>>>0}(t,0),n=a%e.colors.length,i=e.colors[n];return i||(console.warn("Could not calculate color. Defaulting to the first one"),e.colors[0])}function Li(e){const{goodColor:t,neutralColor:a,badColor:n}=e,r=o.scaleLinear().domain([-100,0,100]).range([t.rgb().toString(),a.rgb().toString(),n.rgb().toString()]);return e=>i(r(e).toString())}function Ni(e,t){return t.toLowerCase().includes(e.toLowerCase())}function wi(e){const{canvas:t,fitMode:a,units:n,tickToX:i,levels:o,palette:r}=e,{numTicks:l,sampleRate:s,pxPerTick:c}=e,{rangeMin:d,rangeMax:u}=e,{focusedNode:m,zoom:b}=e,f=function(e){return e.clientWidth||e.width}(t);if(t.width=f,d>=u)throw new Error("'rangeMin' should be strictly smaller than 'rangeMax'");const{format:h}=e,g=ii(h),p=t.getContext("2d");if(!p)throw new Error("Could not get ctx");const x=b.mapOrElse(()=>0,e=>e.i),Q=gi(l,s,n),v=m.isJust,G=m.mapOrElse(()=>0,e=>e.i),y=di*(o.length-G)+(v?ui:0);t.height=y,devicePixelRatio>1&&(t.width*=2,t.height*=2,p.scale(2,2));const{names:I}=e;if(v){const e=l*c;p.beginPath(),p.rect(0,0,l*c,ui),p.fillStyle=Bi(200,1).rgb().string(),p.fill();const t=m.mapOrElse(()=>"total",e=>`total (${e.i-1} level(s) collapsed)`);p.textBaseline="middle",p.font="400 11.5px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace";const n=Ii({mode:a,charSize:p.measureText("a").width,rectWidth:e,fullText:t,shortText:t}),i=0,o=0,r=ui;p.save(),p.clip(),p.fillStyle="black";const s=Math.round(Math.max(i,0));p.fillText(n.text,s+n.marginLeft,o+r/2+1),p.restore()}for(let t=0;t<o.length-G;t+=1){const n=o[G+t];if(!n)throw new Error(`Could not find level: ${G+t}`);for(let o=0;o<n.length;o+=g.jStep){const d=g.getBarOffset(n,o),u=i(d),b=t*di+(v?ui:0),f=ui,G=!!e.highlightQuery&&e.highlightQuery.length>0,y=Ui(o+g.jName,n,I,e.highlightQuery);let B=g.getBarTotal(n,o);const F=B*c<=5;if(F)for(;o<n.length-g.jStep&&d+B===g.getBarOffset(n,o+g.jStep)&&g.getBarTotal(n,o+g.jStep)*c<=5&&y===(e.highlightQuery&&Ui(o+g.jStep+g.jName,n,I,e.highlightQuery)||!1);)o+=g.jStep,B+=g.getBarTotal(n,o);const Z=B*c-(F?0:.5),{spyName:L}=e,N=()=>{const a={level:n,j:o,i:t+m.mapOrElse(()=>0,e=>e.i),names:I,collapsed:F,selectedLevel:x,highlightModeOn:G,isHighlighted:y,spyName:L,palette:r};switch(h){case"single":return Ri({...a});case"double":return Di({...a,leftTicks:e.leftTicks,rightTicks:e.rightTicks});default:throw new Error(`Unsupported format: ${h}`)}},w=N();if(p.beginPath(),p.rect(u,b,Z,f),p.fillStyle=w.string(),p.fill(),F)continue;if(Z<20)continue;const X=Xi(I,o,h,n),W=Wi(X,B,l,s,Q);p.textBaseline="middle",p.font="400 11.5px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace";const C=Ii({mode:a,charSize:p.measureText("a").width,rectWidth:Z,fullText:W,shortText:X});p.save(),p.clip(),p.fillStyle="black";const R=Math.round(Math.max(u,0));p.fillText(C.text,R+C.marginLeft,b+f/2+1),p.restore()}}}function Xi(e,t,a,n){let i=n[t+ii(a).jName];void 0===i&&(i=-1);const o=e[i];return o||(console.warn("Could not find function name for",{j:t,format:a,level:n,names:e}),"")}function Wi(e,t,a,n,i){return`${e} (${bi(t/a)}, ${i.format(t,n)})`}function Ci({collapsed:e,highlightModeOn:t,isHighlighted:a}){return e||t&&!a?Bi(200,.66):null}function Ri(e){const t=Ci(e);if(t)return t;const a=ii("single"),n=e.selectedLevel>e.i?.33:1;let i=e.level[e.j+a.jName];void 0===i&&(console.warn("Could nto find level",{l:e.j,jName:a.jName,level:e.level}),i=-1);const o=e.names[i]||"",r=Fi(e.spyName,o)||"";return Zi(e.palette,r).alpha(n)}function Di(e){const t=Ci(e);if(t)return t;const a=e.selectedLevel>e.i?.33:1,{leftRatio:n,rightRatio:i}=function(e,t,a,n){const i=ni;return a&&n?{leftRatio:i.getBarTotalLeft(e,t)/a,rightRatio:i.getBarTotalRght(e,t)/n}:(console.error("Properties 'rightTicks' and 'leftTicks' are required. Can't calculate ratio."),{leftRatio:0,rightRatio:0})}(e.level,e.j,e.leftTicks,e.rightTicks),o=fi(n),r=fi(i);return function(e,t,a){const n=function(e,t){if(e===t)return 0;if(0===e)return 100;const a=(t-e)/e*100;return a>100?100:a<-100?-100:a}(t,a);return Li(e)(n)}(e.palette,o,r).alpha(a)}function Ui(e,t,a,n){const i=t[e];if(!i)return!1;const o=a[i];return!!o&&Ni(n,o)}i.rgb(148,142,142),i.rgb(200,0,0),i.rgb(0,170,0),i("#48CE73");class ki{constructor(e,t,a,n,i,o,r){if(this.flamebearer=e,this.canvas=t,this.focusedNode=a,this.fitMode=n,this.highlightQuery=i,this.zoom=o,this.palette=r,this.tickToX=e=>{const{rangeMin:t}=this.getRange();return(e-this.flamebearer.numTicks*t)*this.pxPerTick()},this.xyToBarPosition=e=>{const{ff:t}=this,{i:a,j:n}=this.xyToBarIndex(e.x,e.y),i=this.focusedNode.mapOrElse(()=>0,e=>e.i<0?0:e.i-1),o=this.flamebearer.levels[a];if(!o)throw new Error(`Could not find level: '${a}'`);const r=Math.max(this.tickToX(t.getBarOffset(o,n)),0);return{x:r,y:Math.max((a-i)*di,0),width:Math.min(this.tickToX(t.getBarOffset(o,n)+t.getBarTotal(o,n))-r,this.getCanvasWidth())}},this.xyToBarData=e=>{const{i:t,j:a}=this.xyToBarIndex(e.x,e.y),n=this.flamebearer.levels[t];if(!n)throw new Error(`Could not find level: '${t}'`);switch(this.flamebearer.format){case"single":{const e=ai;return{format:"single",name:this.flamebearer.names[e.getBarName(n,a)],self:e.getBarSelf(n,a),offset:e.getBarOffset(n,a),total:e.getBarTotal(n,a)}}case"double":{const e=ni;return{format:"double",barTotal:e.getBarTotal(n,a),totalLeft:e.getBarTotalLeft(n,a),totalRight:e.getBarTotalRght(n,a),totalDiff:e.getBarTotalDiff(n,a),name:this.flamebearer.names[e.getBarName(n,a)]}}default:throw new Error("Unsupported type")}},this.isWithinBounds=(e,t)=>{if(e<0||e>this.getCanvasWidth())return!1;try{const{i:a,j:n}=this.xyToBarIndex(e,t);if(-1===n||-1===a)return!1}catch(e){return!1}return!0},this.zoom=o,this.focusedNode=a,this.flamebearer=e,this.canvas=t,this.highlightQuery=i,this.ff=ii(e.format),this.palette=r,a.isJust&&o.isJust&&o.value.i<a.value.i)throw new Error("Zoom i level should be bigger than Focus")}render(){const{rangeMin:e,rangeMax:t}=this.getRange(),a={canvas:this.canvas,format:this.flamebearer.format,numTicks:this.flamebearer.numTicks,sampleRate:this.flamebearer.sampleRate,names:this.flamebearer.names,levels:this.flamebearer.levels,spyName:this.flamebearer.spyName,units:this.flamebearer.units,maxSelf:this.flamebearer.maxSelf,rangeMin:e,rangeMax:t,fitMode:this.fitMode,highlightQuery:this.highlightQuery,zoom:this.zoom,focusedNode:this.focusedNode,pxPerTick:this.pxPerTick(),tickToX:this.tickToX,palette:this.palette},{format:n}=this.flamebearer;switch(n){case"single":wi({...a,format:"single"});break;case"double":wi({...a,leftTicks:this.flamebearer.leftTicks,rightTicks:this.flamebearer.rightTicks});break;default:throw new Error(`Invalid format: '${n}'`)}}pxPerTick(){const{rangeMin:e,rangeMax:t}=this.getRange();return this.getCanvasWidth()/this.flamebearer.numTicks/(t-e)}getRange(){const{ff:e}=this,t=t=>{const a=this.flamebearer.levels[t.i];if(!a)throw new Error(`Could not find level: '${t.i}'`);return{rangeMin:e.getBarOffset(a,t.j)/this.flamebearer.numTicks,rangeMax:(e.getBarOffset(a,t.j)+e.getBarTotal(a,t.j))/this.flamebearer.numTicks}},a=t=>{const a=this.flamebearer.levels[t.i];if(!a)throw new Error(`Could not find level: '${t.i}'`);return{rangeMin:e.getBarOffset(a,t.j)/this.flamebearer.numTicks,rangeMax:(e.getBarOffset(a,t.j)+e.getBarTotal(a,t.j))/this.flamebearer.numTicks}},{zoom:n,focusedNode:i}=this;return n.match({Just:e=>i.match({Just:n=>{const i=a(n),o=t(e);return i.rangeMax-i.rangeMin<o.rangeMax-o.rangeMin?(console.warn("Focus is smaller than range, this shouldnt happen. Verify that the zoom is always bigger than the focus."),a(n)):t(e)},Nothing:()=>t(e)}),Nothing:()=>i.match({Just:e=>a(e),Nothing:()=>({rangeMin:0,rangeMax:1})})})}getCanvasWidth(){return this.canvas.clientWidth||this.canvas.width}isFocused(){return this.focusedNode.isJust}binarySearchLevel(e,t){const{ff:a}=this;let n=0,i=t.length-a.jStep;for(;n<=i;){const o=a.jStep*(n/a.jStep+i/a.jStep>>1),r=this.tickToX(a.getBarOffset(t,o)),l=this.tickToX(a.getBarOffset(t,o)+a.getBarTotal(t,o));if(r<=e&&l>=e)return l-r>5?o:-1;r>e?i=o-a.jStep:n=o+a.jStep}return-1}xyToBarIndex(e,t){if(e<0||t<0)throw new Error(`x and y must be bigger than 0. x = ${e}, y = ${t}`);if(this.isFocused()&&t<=ui)return{i:0,j:0};const a=this.isFocused()?t-ui:t,n=this.focusedNode.mapOrElse(()=>0,e=>e.i<=0?0:e.i),i=this.zoom.match({Just:()=>this.focusedNode.match({Just:()=>n,Nothing:()=>0}),Nothing:()=>this.focusedNode.match({Just:()=>n,Nothing:()=>0})}),o=Math.floor(a/di)+i;if(o>=0&&o<this.flamebearer.levels.length){const t=this.flamebearer.levels[o];if(!t)throw new Error(`Could not find level: '${o}'`);return{i:o,j:this.binarySearchLevel(e,t)}}return{i:0,j:0}}parseXY(e,t){const n={x:e,y:t};return this.isWithinBounds(e,t)?a.Maybe.of(n):a.Maybe.nothing()}xyToBar(e,t){return this.parseXY(e,t).map(a=>{const{i:n,j:i}=this.xyToBarIndex(e,t);return{i:n,j:i,...this.xyToBarPosition(a),...this.xyToBarData(a)}})}}function Yi(e){var t,a,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(a=Yi(e[t]))&&(n&&(n+=" "),n+=a)}else for(a in e)e[a]&&(n&&(n+=" "),n+=a);return n}function Vi(){for(var e,t,a=0,n="",i=arguments.length;a<i;a++)(e=arguments[a])&&(t=Yi(e))&&(n&&(n+=" "),n+=t);return n}var ji="NoData-module_noData__WuuID";function _i(){return e.jsx("div",{"data-testid":"no-data",className:ji,children:e.jsx("span",{children:"No data available"})})}b(".NoData-module_noData__WuuID{height:100%;padding:60px 0;text-align:center;width:100%}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIk5vRGF0YS5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw2QkFFRSxXQUFZLENBRVosY0FBZSxDQURmLGlCQUFrQixDQUZsQixVQUlGIiwiZmlsZSI6Ik5vRGF0YS5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5ub0RhdGEge1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxMDAlO1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIHBhZGRpbmc6IDYwcHggMDtcbn0iXX0= */");var Si,Mi,Ji={},Ei={};function zi(){return Si||(Si=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="arrow-rotate-right",a=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],n="f01e",i="M436.7 74.7L448 85.4 448 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l47.9 0-7.6-7.2c-.2-.2-.4-.4-.6-.6-75-75-196.5-75-271.5 0s-75 196.5 0 271.5 196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c99.9-99.9 261.7-100 361.7-.3z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,i]},e.faArrowRotateRight=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(Ei)),Ei}function Ai(){return Mi||(Mi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=zi();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faRedo=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Ji)),Ji}var Oi,Hi=Ai(),Ti={};function Pi(){return Oi||(Oi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="copy",a=[],n="f0c5",i="M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z";e.definition={prefix:"fas",iconName:t,icon:[448,512,a,n,i]},e.faCopy=e.definition,e.prefix="fas",e.iconName=t,e.width=448,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(Ti)),Ti}var Ki,$i=Pi(),qi={};function eo(){return Ki||(Ki=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="highlighter",a=[],n="f591",i="M315 315L473.4 99.9 444.1 70.6 229 229 315 315zm-187 5l0 0 0-71.7c0-15.3 7.2-29.6 19.5-38.6L420.6 8.4C428 2.9 437 0 446.2 0 457.6 0 468.5 4.5 476.6 12.6l54.8 54.8c8.1 8.1 12.6 19 12.6 30.5 0 9.2-2.9 18.2-8.4 25.6L334.4 396.5c-9 12.3-23.4 19.5-38.6 19.5l-71.7 0-25.4 25.4c-12.5 12.5-32.8 12.5-45.3 0l-50.7-50.7c-12.5-12.5-12.5-32.8 0-45.3L128 320zM7 466.3l51.7-51.7 70.6 70.6-19.7 19.7c-4.5 4.5-10.6 7-17 7L24 512c-13.3 0-24-10.7-24-24l0-4.7c0-6.4 2.5-12.5 7-17z";e.definition={prefix:"fas",iconName:t,icon:[576,512,a,n,i]},e.faHighlighter=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(qi)),qi}var to,ao,no=eo(),io={},oo={};function ro(){return to||(to=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="down-left-and-up-right-to-center",a=["compress-alt"],n="f422",i="M439.5 7c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2S450.2 240 440.5 240l-144 0c-13.3 0-24-10.7-24-24l0-144c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87zM72.5 272l144 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87-39-39c-6.9-6.9-8.9-17.2-5.2-26.2S62.8 272 72.5 272z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,i]},e.faDownLeftAndUpRightToCenter=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(oo)),oo}function lo(){return ao||(ao=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ro();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faCompressAlt=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(io)),io}var so=lo();const co=e=>!!e&&"o"===e[0],uo=s.unstable_batchedUpdates,mo=(e,t)=>!0===e||!(!e||!e[t]),bo=(e,t)=>"function"==typeof e?e(t):e,fo="_szhsinMenu",ho=(e,t)=>Object.defineProperty(t,fo,{value:e}),go=(e,t)=>(t&&Object.keys(t).forEach(a=>{const n=e[a],i=t[a];e[a]="function"==typeof i&&n?(...e)=>{i(...e),n(...e)}:i}),e),po=e=>{for(;e;){if(!(e=e.parentNode)||e===document.body||!e.parentNode)return;const{overflow:t,overflowX:a,overflowY:n}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+n+a))return e}};function xo(e,t){return{"aria-disabled":e||void 0,tabIndex:t?0:-1}}function Qo(e,t){for(let a=0;a<e.length;a++)if(e[a]===t)return a;return-1}const vo=({block:e,element:a,modifiers:n,className:i})=>t.useMemo(()=>{const t=a?`${e}__${a}`:e;let o=t;n&&Object.keys(n).forEach(e=>{const a=n[e];a&&(o+=` ${t}--${!0===a?e:`${e}-${a}`}`)});let r="function"==typeof i?i(n):i;return"string"==typeof r&&(r=r.trim(),r&&(o+=` ${r}`)),o},[e,a,n,i]),Go="szh-menu",yo=t.createContext(),Io=t.createContext({}),Bo=t.createContext({}),Fo=t.createContext({}),Zo=t.createContext({}),Lo=t.createContext({}),No=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),wo=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),Xo=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),Wo=Object.freeze({FIRST:"first",LAST:"last"}),Co=Object.freeze({entering:"opening",entered:"open",exiting:"closing",exited:"closed"}),Ro="absolute",Do="none",Uo={preventScroll:!0},ko=ho("MenuButton",t.forwardRef(function({className:a,isOpen:n,disabled:i,children:o,...r},l){const s=t.useMemo(()=>({open:n}),[n]);return e.jsx("button",{"aria-haspopup":!0,"aria-expanded":n,"aria-disabled":i||void 0,type:"button",disabled:i,...r,ref:l,className:vo({block:"szh-menu-button",modifiers:s,className:a}),children:o})})),Yo=({className:a,containerRef:n,containerProps:i,children:o,isOpen:r,theming:l,transition:s,onClose:c})=>{const d=mo(s,"item");return e.jsx("div",{...go({onKeyDown:({key:e})=>{if(e===No.ESC)bo(c,{key:e,reason:Xo.CANCEL})},onBlur:e=>{r&&!e.currentTarget.contains(e.relatedTarget)&&bo(c,{reason:Xo.BLUR})}},i),className:vo({block:"szh-menu-container",modifiers:t.useMemo(()=>({theme:l,itemTransition:d}),[l,d]),className:a}),style:{position:"absolute",...i?.style},ref:n,children:o})},Vo=()=>{let e,t=0;return{toggle:e=>{e?t++:t--,t=Math.max(t,0)},on:(a,n,i)=>{t?e||(e=setTimeout(()=>{e=0,n()},a)):i?.()},off:()=>{e&&(clearTimeout(e),e=0)}}},jo=(e,t)=>Math.round(e)===t?e:t,_o=(e,t,a,n)=>{const i=(e=>{const t=e.getBoundingClientRect();return t.width=jo(t.width,e.offsetWidth),t.height=jo(t.height,e.offsetHeight),t})(t),o=e.getBoundingClientRect(),r=a===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:a.getBoundingClientRect(),l=(e=>{if("string"!=typeof e)return{top:0,right:0,bottom:0,left:0};const t=e.trim().split(/\s+/,4).map(parseFloat),a=isNaN(t[0])?0:t[0],n=isNaN(t[1])?a:t[1];return{top:a,right:n,bottom:isNaN(t[2])?a:t[2],left:isNaN(t[3])?n:t[3]}})(n),s=e=>e+o.left-r.left-l.left,c=e=>e+o.left+i.width-r.right+l.right,d=e=>e+o.top-r.top-l.top,u=e=>e+o.top+i.height-r.bottom+l.bottom;return{menuRect:i,containerRect:o,getLeftOverflow:s,getRightOverflow:c,getTopOverflow:d,getBottomOverflow:u,confineHorizontally:e=>{let t=s(e);if(t<0)e-=t;else{const a=c(e);a>0&&(t=s(e-=a),t<0&&(e-=t))}return e},confineVertically:e=>{let t=d(e);if(t<0)e-=t;else{const a=u(e);a>0&&(t=d(e-=a),t<0&&(e-=t))}return e}}},So=({anchorRect:e,containerRect:t,menuRect:a,placeLeftorRightY:n,placeLeftX:i,placeRightX:o,getLeftOverflow:r,getRightOverflow:l,confineHorizontally:s,confineVertically:c,arrowRef:d,arrow:u,direction:m,position:b})=>{let f,h,g,p=m,x=n;"initial"!==b&&(x=c(x),"anchor"===b&&(x=Math.min(x,e.bottom-t.top),x=Math.max(x,e.top-t.top-a.height))),"left"===p?(f=i,"initial"!==b&&(h=r(f),h<0&&(g=l(o),(g<=0||-h>g)&&(f=o,p="right")))):(f=o,"initial"!==b&&(g=l(f),g>0&&(h=r(i),(h>=0||-h<g)&&(f=i,p="left")))),"auto"===b&&(f=s(f));const Q=u?(({arrowRef:e,menuY:t,anchorRect:a,containerRect:n,menuRect:i})=>{let o=a.top-n.top-t+a.height/2;const r=1.25*e.current.offsetHeight;return o=Math.max(r,o),o=Math.min(o,i.height-r),o})({menuY:x,arrowRef:d,anchorRect:e,containerRect:t,menuRect:a}):void 0;return{arrowY:Q,x:f,y:x,computedDirection:p}},Mo=({anchorRect:e,containerRect:t,menuRect:a,placeToporBottomX:n,placeTopY:i,placeBottomY:o,getTopOverflow:r,getBottomOverflow:l,confineHorizontally:s,confineVertically:c,arrowRef:d,arrow:u,direction:m,position:b})=>{let f,h,g,p="top"===m?"top":"bottom",x=n;"initial"!==b&&(x=s(x),"anchor"===b&&(x=Math.min(x,e.right-t.left),x=Math.max(x,e.left-t.left-a.width))),"top"===p?(f=i,"initial"!==b&&(h=r(f),h<0&&(g=l(o),(g<=0||-h>g)&&(f=o,p="bottom")))):(f=o,"initial"!==b&&(g=l(f),g>0&&(h=r(i),(h>=0||-h<g)&&(f=i,p="top")))),"auto"===b&&(f=c(f));const Q=u?(({arrowRef:e,menuX:t,anchorRect:a,containerRect:n,menuRect:i})=>{let o=a.left-n.left-t+a.width/2;const r=1.25*e.current.offsetWidth;return o=Math.max(r,o),o=Math.min(o,i.width-r),o})({menuX:x,arrowRef:d,anchorRect:e,containerRect:t,menuRect:a}):void 0;return{arrowX:Q,x:x,y:f,computedDirection:p}},Jo="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?t.useLayoutEffect:t.useEffect;function Eo(e,t){"function"==typeof e?e(t):e.current=t}const zo=(e,a)=>t.useMemo(()=>e?a?t=>{Eo(e,t),Eo(a,t)}:e:a,[e,a]),Ao=({ariaLabel:a,menuClassName:n,menuStyle:i,arrow:o,arrowProps:r={},anchorPoint:l,anchorRef:c,containerRef:d,containerProps:u,externalRef:m,parentScrollingRef:b,align:f="start",direction:h="bottom",position:g="auto",overflow:p="visible",setDownOverflow:x,repositionFlag:Q,captureFocus:v=!0,state:G,endTransition:y,isDisabled:I,menuItemFocus:B,gap:F=0,shift:Z=0,children:L,onClose:N,focusProps:w,...X})=>{const[W,C]=t.useState({x:-9999,y:-9999}),[R,D]=t.useState({}),[U,k]=t.useState(),[Y,V]=t.useState(h),[j]=t.useState(Vo),[_,S]=t.useReducer(e=>e+1,1),{transition:M,boundingBoxRef:J,boundingBoxPadding:E,rootMenuRef:z,rootAnchorRef:A,scrollNodesRef:O,reposition:H,viewScroll:T,submenuCloseDelay:P}=t.useContext(Lo),{submenuCtx:K,reposSubmenu:$=Q}=t.useContext(Bo),q=t.useRef(),ee=t.useRef(),te=t.useRef(!1),{hoverItem:ae,dispatch:ne,updateItems:ie}=(e=>{const[a,n]=t.useState(),i=t.useRef({items:[],hoverIndex:-1,sorted:!1}).current,o=t.useCallback((t,a)=>{const{items:o}=i;if(t)if(a)o.push(t);else{const a=o.indexOf(t);a>-1&&(o.splice(a,1),t.contains(document.activeElement)&&(e.current.focus(Uo),n()))}else i.items=[];i.hoverIndex=-1,i.sorted=!1},[i,e]),r=t.useCallback((t,a,o)=>{const{items:r,hoverIndex:l}=i,s=()=>{if(i.sorted)return;const t=e.current.querySelectorAll(".szh-menu__item");r.sort((e,a)=>Qo(t,e)-Qo(t,a)),i.sorted=!0};let c,d=-1;switch(t){case wo.RESET:break;case wo.SET:c=a;break;case wo.UNSET:c=e=>e===a?void 0:e;break;case wo.FIRST:s(),d=0,c=r[d];break;case wo.LAST:s(),d=r.length-1,c=r[d];break;case wo.SET_INDEX:s(),d=o,c=r[d];break;case wo.INCREASE:s(),d=l,d<0&&(d=r.indexOf(a)),d++,d>=r.length&&(d=0),c=r[d];break;case wo.DECREASE:s(),d=l,d<0&&(d=r.indexOf(a)),d--,d<0&&(d=r.length-1),c=r[d];break;default:if("production"!==process.env.NODE_ENV)throw new Error(`[React-Menu] Unknown hover action type: ${t}`)}c||(d=-1),n(c),i.hoverIndex=d},[e,i]);return{hoverItem:a,dispatch:r,updateItems:o}})(q),oe=co(G),re=mo(M,"open"),le=mo(M,"close"),se=O.current,ce=t.useCallback(e=>{const t=q.current,a=d.current;if(!t||!a)return;const n=c?c.current?.getBoundingClientRect():l?{left:l.x,right:l.x,top:l.y,bottom:l.y,width:0,height:0}:null;if(!n)return void("production"!==process.env.NODE_ENV&&console.warn("[React-Menu] Menu might not be positioned properly as one of the anchorRef or anchorPoint prop should be provided. If `anchorRef` is provided, the anchor must be mounted before menu is open."));se.menu||(se.menu=(J?J.current:po(z.current))||window);const i=_o(a,t,se.menu,E);let{arrowX:r,arrowY:s,x:u,y:m,computedDirection:b}=(({arrow:e,align:t,direction:a,gap:n,shift:i,position:o,anchorRect:r,arrowRef:l,positionHelpers:s})=>{const{menuRect:c,containerRect:d}=s,u="left"===a||"right"===a;let m=u?n:i,b=u?i:n;if(e){const e=l.current;u?m+=e.offsetWidth:b+=e.offsetHeight}const f=r.left-d.left-c.width-m,h=r.right-d.left+m,g=r.top-d.top-c.height-b,p=r.bottom-d.top+b;let x,Q;"end"===t?(x=r.right-d.left-c.width,Q=r.bottom-d.top-c.height):"center"===t?(x=r.left-d.left-(c.width-r.width)/2,Q=r.top-d.top-(c.height-r.height)/2):(x=r.left-d.left,Q=r.top-d.top),x+=m,Q+=b;const v={...s,anchorRect:r,placeLeftX:f,placeRightX:h,placeLeftorRightY:Q,placeTopY:g,placeBottomY:p,placeToporBottomX:x,arrowRef:l,arrow:e,direction:a,position:o};switch(a){case"left":case"right":return So(v);default:return Mo(v)}})({arrow:o,align:f,direction:h,gap:F,shift:Z,position:g,anchorRect:n,arrowRef:ee,positionHelpers:i});const{menuRect:x}=i,Q=x.height;if(!e&&"visible"!==p){const{getTopOverflow:e,getBottomOverflow:t}=i;let a,n;const o=t(m);if(o>0)a=Q-o,n=o;else{const t=e(m);t<0&&(a=Q+t,n=0-t,a>=0&&(m-=t))}a>=0&&k({height:a,overflowAmt:n})}o&&D({x:r,y:s}),C({x:u,y:m}),V(b)},[o,f,E,h,F,Z,g,p,l,c,d,J,z,se]);Jo(()=>{oe&&(ce(),te.current&&S()),te.current=oe},[oe,ce,$]),Jo(()=>{U&&!x&&(q.current.scrollTop=0)},[U,x]),Jo(()=>ie,[ie]),t.useEffect(()=>{let{menu:e}=se;if(!oe||!e)return;if(e=e.addEventListener?e:window,!se.anchors){se.anchors=[];let t=po(A&&A.current);for(;t&&t!==e;)se.anchors.push(t),t=po(t)}let t=T;if(se.anchors.length&&"initial"===t&&(t="auto"),"initial"===t)return;const a=()=>{"auto"===t?uo(()=>ce(!0)):bo(N,{reason:Xo.SCROLL})},n=se.anchors.concat("initial"!==T?e:[]);return n.forEach(e=>e.addEventListener("scroll",a)),()=>n.forEach(e=>e.removeEventListener("scroll",a))},[A,se,oe,N,T,ce]);const de=!!U&&U.overflowAmt>0;t.useEffect(()=>{if(de||!oe||!b)return;const e=()=>uo(ce),t=b.current;return t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)},[oe,de,b,ce]),t.useEffect(()=>{if(!oe||"function"!=typeof ResizeObserver||"initial"===H)return;const e=[],t=new ResizeObserver(t=>t.forEach(({target:t})=>{e.indexOf(t)<0?e.push(t):s.flushSync(()=>{ce(),S()})})),a={box:"border-box"};t.observe(q.current,a);const n=c?.current;return n&&t.observe(n,a),()=>t.disconnect()},[oe,H,c,ce]),t.useEffect(()=>{if(!oe)return ne(wo.RESET),void(le||k());const{position:e,alwaysUpdate:t}=B||{},a=()=>{e===Wo.FIRST?ne(wo.FIRST):e===Wo.LAST?ne(wo.LAST):e>=-1&&ne(wo.SET_INDEX,void 0,e)};if(t)a();else if(v){const e=setTimeout(()=>{const e=q.current;e&&!e.contains(document.activeElement)&&(e.focus(Uo),a())},re?170:100);return()=>clearTimeout(e)}},[oe,re,le,v,B,ne]);const ue=t.useMemo(()=>({isParentOpen:oe,submenuCtx:j,dispatch:ne,updateItems:ie}),[oe,j,ne,ie]);let me,be;U&&(x?be=U.overflowAmt:me=U.height);const fe=t.useMemo(()=>({reposSubmenu:_,submenuCtx:j,overflow:p,overflowAmt:be,parentMenuRef:q,parentDir:Y}),[_,j,p,be,Y]),he=me>=0?{maxHeight:me,overflow:p}:void 0,ge=t.useMemo(()=>({state:G,align:f,dir:Y}),[G,f,Y]),pe=t.useMemo(()=>({dir:Y}),[Y]),xe=vo({block:Go,element:"arrow",modifiers:pe,className:r.className}),Qe=e.jsxs("ul",{role:"menu","aria-label":a,...xo(I),...go({onPointerEnter:K?.off,onPointerMove:e=>{e.stopPropagation(),j.on(P,()=>{ne(wo.RESET),q.current.focus(Uo)})},onPointerLeave:e=>{e.target===e.currentTarget&&j.off()},onKeyDown:e=>{switch(e.key){case No.HOME:ne(wo.FIRST);break;case No.END:ne(wo.LAST);break;case No.UP:ne(wo.DECREASE,ae);break;case No.DOWN:ne(wo.INCREASE,ae);break;case No.SPACE:return void(e.target&&-1!==e.target.className.indexOf(Go)&&e.preventDefault());default:return}e.preventDefault(),e.stopPropagation()},onAnimationEnd:()=>{"closing"===G&&k(),bo(y)}},X),ref:zo(m,q),className:vo({block:Go,modifiers:ge,className:n}),style:{...i,...he,margin:0,display:"closed"===G?"none":void 0,position:Ro,left:W.x,top:W.y},children:[o&&e.jsx("li",{"aria-hidden":!0,...r,className:xe,style:{display:"block",position:Ro,left:R.x,top:R.y,...r.style},ref:ee}),e.jsx(Bo.Provider,{value:fe,children:e.jsx(Io.Provider,{value:ue,children:e.jsx(yo.Provider,{value:ae,children:bo(L,ge)})})})]});return u?e.jsx(Yo,{...u,isOpen:oe,children:Qe}):Qe},Oo=t.forwardRef(function({"aria-label":a,className:n,containerProps:i,initialMounted:o,unmountOnClose:r,transition:l,transitionTimeout:c,boundingBoxRef:d,boundingBoxPadding:u,reposition:m="auto",submenuOpenDelay:b=300,submenuCloseDelay:f=150,viewScroll:h="initial",portal:g,theming:p,onItemClick:x,...Q},v){const G=t.useRef(null),y=t.useRef({}),{anchorRef:I,state:B,onClose:F}=Q,Z=t.useMemo(()=>({initialMounted:o,unmountOnClose:r,transition:l,transitionTimeout:c,boundingBoxRef:d,boundingBoxPadding:u,rootMenuRef:G,rootAnchorRef:I,scrollNodesRef:y,reposition:m,viewScroll:h,submenuOpenDelay:b,submenuCloseDelay:f}),[o,r,l,c,I,d,u,m,h,b,f]),L=t.useMemo(()=>({handleClick(e,t){e.stopPropagation||bo(x,e);let a=e.keepOpen;void 0===a&&(a=t&&e.key===No.SPACE),a||bo(F,{value:e.value,key:e.key,reason:Xo.CLICK})},handleClose(e){bo(F,{key:e,reason:Xo.CLICK})}}),[x,F]);if(!B)return null;const N=e.jsx(Lo.Provider,{value:Z,children:e.jsx(Fo.Provider,{value:L,children:e.jsx(Ao,{...Q,ariaLabel:a||"Menu",externalRef:v,containerRef:G,containerProps:{className:n,containerRef:G,containerProps:i,theming:p,transition:l,onClose:F}})})});return!0===g&&"undefined"!=typeof document?s.createPortal(N,document.body):g?g.target?s.createPortal(N,g.target):g.stablePosition?null:N:N}),Ho=["preEnter","entering","entered","preExit","exiting","exited","unmounted"],To=e=>({_s:e,status:Ho[e],isEnter:e<3,isMounted:6!==e,isResolved:2===e||e>4}),Po=e=>e?6:5,Ko=(e,t,a,n,i)=>{clearTimeout(n.current);const o=To(e);t(o),a.current=o,i&&i({current:o})},$o=({enter:e=!0,exit:a=!0,preEnter:n,preExit:i,timeout:o,initialEntered:r,mountOnEnter:l,unmountOnExit:s,onStateChange:c}={})=>{const[d,u]=t.useState(()=>To(r?2:Po(l))),m=t.useRef(d),b=t.useRef(),[f,h]=(e=>"object"==typeof e?[e.enter,e.exit]:[e,e])(o),g=t.useCallback(()=>{const e=((e,t)=>{switch(e){case 1:case 0:return 2;case 4:case 3:return Po(t)}})(m.current._s,s);e&&Ko(e,u,m,b,c)},[c,s]);return[d,t.useCallback(t=>{const o=e=>{switch(Ko(e,u,m,b,c),e){case 1:f>=0&&(b.current=setTimeout(g,f));break;case 4:h>=0&&(b.current=setTimeout(g,h));break;case 0:case 3:b.current=((e,t)=>setTimeout(()=>{isNaN(document.body.offsetTop)||e(t+1)},0))(o,e)}},r=m.current.isEnter;"boolean"!=typeof t&&(t=!r),t?!r&&o(e?n?0:1:2):r&&o(a?i?3:4:Po(s))},[g,c,e,a,n,i,f,h,s]),g]},qo=({initialOpen:e,initialMounted:a,unmountOnClose:n,transition:i,transitionTimeout:o=500,onMenuChange:r}={})=>{const l=mo(i,"open"),s=mo(i,"close"),[{status:c},d,u]=$o({initialEntered:e,mountOnEnter:!a,unmountOnExit:n,timeout:o,enter:l,exit:s,onStateChange:t.useCallback(({current:{isEnter:e,isResolved:t}})=>{!r||e&&l&&t||!e&&s&&t||r({open:e})},[r,l,s])});return[{state:Co[c],endTransition:u},d]},er=parseInt(t.version)<19,tr=t.forwardRef(function({"aria-label":a,captureFocus:n,initialOpen:i,menuButton:o,instanceRef:r,onMenuChange:l,...s},c){const[d,u,m]=(e=>{const[a,n]=qo(e),[i,o]=t.useState();return[{menuItemFocus:i,...a},n,(e,t)=>{o({position:e,alwaysUpdate:t}),n(!0)}]})({...s,onMenuChange:l}),{state:b}=d,f=co(b),h=t.useRef(null),g=((e,a)=>{if("production"!==process.env.NODE_ENV&&"function"!=typeof a)throw new Error("[React-Menu] useClick/useHover requires a function in the second parameter.");const[n]=t.useState({});return{onMouseDown:()=>{n.v=e&&"closed"!==e},onClick:e=>n.v?n.v=!1:a(!0,e)}})(b,(e,t)=>m(t.detail?void 0:Wo.FIRST)),p=t.useCallback(e=>{u(!1),e.key&&h.current.focus()},[u]),x=bo(o,{open:f});if(!x||!x.type)throw new Error("Menu requires a menuButton prop.");const Q={...go({onKeyDown:e=>{switch(e.key){case No.UP:m(Wo.LAST);break;case No.DOWN:m(Wo.FIRST);break;default:return}e.preventDefault()},...g},x.props),ref:zo(er?x.ref:x.props.ref,h)};"MenuButton"===x.type[fo]&&(Q.isOpen=f);const v=t.cloneElement(x,Q);return t.useImperativeHandle(r,()=>({openMenu:m,closeMenu:()=>u(!1)})),e.jsxs(t.Fragment,{children:[v,e.jsx(Oo,{...s,...d,"aria-label":a||("string"==typeof x.props.children?x.props.children:"Menu"),anchorRef:h,ref:c,onClose:p})]})}),ar=(e,a,n,i)=>{const[o,r,l]=(e=>{const[a,n]=t.useState(!1);return t.useEffect(()=>{!e&&n(!1)},[e]),[a,()=>!a&&n(!0),()=>n(!1)]})(n),{submenuCloseDelay:s}=t.useContext(Lo),{isParentOpen:c,submenuCtx:d,dispatch:u,updateItems:m}=t.useContext(Io),b=()=>{!n&&!i&&u(wo.SET,e.current)},f=()=>{!i&&u(wo.UNSET,e.current)};return((e,t,a)=>{Jo(()=>{if("production"!==process.env.NODE_ENV&&!a)throw new Error(`[React-Menu] This menu item or submenu should be rendered under a menu: ${t.current.outerHTML}`);if(e)return;const n=t.current;return a(n,!0),()=>{a(n)}},[e,t,a])})(i,e,m),t.useEffect(()=>{n&&c&&a.current&&a.current.focus()},[a,n,c]),{mouseOver:o,setHover:b,onBlur:e=>{n&&!e.currentTarget.contains(e.relatedTarget)&&f()},onPointerMove:e=>{i||(e.stopPropagation(),r(),d.on(s,b,b))},onPointerLeave:(e,t)=>{l(),d.off(),!t&&f()}}},nr=((a,n)=>{const i=t.memo(n),o=t.forwardRef((a,n)=>{const o=t.useRef(null);return e.jsx(i,{...a,itemRef:o,externalRef:n,isHovering:t.useContext(yo)===o.current})});return o.displayName=`WithHovering(${a})`,o})("MenuItem",function({className:a,value:n,href:i,type:o,checked:r,disabled:l,children:s,onClick:c,isHovering:d,itemRef:u,externalRef:m,...b}){const f=!!l,{mouseOver:h,setHover:g,...p}=ar(u,u,d,f),x=t.useContext(Fo),Q=t.useContext(Zo),v="radio"===o,G="checkbox"===o,y=!(!i||f||v||G),I=v?Q.value===n:!!G&&!!r,B=e=>{if(f)return e.stopPropagation(),void e.preventDefault();const t={value:n,syntheticEvent:e};void 0!==e.key&&(t.key=e.key),G&&(t.checked=!I),v&&(t.name=Q.name),bo(c,t),v&&bo(Q.onRadioChange,t),x.handleClick(t,G||v)},F=t.useMemo(()=>({type:o,disabled:f,hover:h||d,checked:I,anchor:y}),[o,f,h,d,I,y]),Z=go({...p,onPointerDown:g,onKeyDown:e=>{if(d)switch(e.key){case No.ENTER:e.preventDefault();case No.SPACE:y?u.current.click():B(e)}},onClick:B},b),L={role:v?"menuitemradio":G?"menuitemcheckbox":"menuitem","aria-checked":v||G?I:void 0,...xo(f,d),...Z,ref:zo(m,u),className:vo({block:Go,element:"item",modifiers:F,className:a}),children:t.useMemo(()=>bo(s,F),[s,F])};return y?e.jsx("li",{role:Do,children:e.jsx("a",{href:i,...L})}):e.jsx("li",{...L})}),ir=t.memo(t.forwardRef(function({className:t,...a},n){return e.jsx("li",{role:Do,...a,ref:n,className:vo({block:Go,element:"header",className:t})})}));var or="canvas-module_canvas__Iiaz4";b(".canvas-module_canvas__Iiaz4{cursor:pointer;position:relative;width:100%;z-index:1}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNhbnZhcy5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDZCQUVFLGNBQWUsQ0FDZixpQkFBa0IsQ0FGbEIsVUFBVyxDQUdYLFNBQ0YiLCJmaWxlIjoiY2FudmFzLm1vZHVsZS5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuY2FudmFzIHtcbiAgd2lkdGg6IDEwMCU7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICB6LWluZGV4OiAxO1xufVxuIl19 */");var rr="Highlight-module_highlight__1VV-X";function lr(a){const{canvasRef:n,barHeight:i,xyToHighlightData:o,zoom:r}=a,[l,s]=t.useState({height:"0px",visibility:"hidden"});t.useEffect(()=>{s({height:"0px",visibility:"hidden"})},[r]);const c=e=>{const t=o(e.offsetX,e.offsetY);if(t.isJust){const e=t.value;s({visibility:"visible",height:`${i}px`,...e})}else d()},d=()=>{s({...l,visibility:"hidden"})};return t.useEffect(()=>{const e=n.current;return e?(e.addEventListener("mousemove",c),e.addEventListener("mouseout",d),()=>{e.removeEventListener("mousemove",c),e.removeEventListener("mouseout",d)}):()=>{}},[n.current,c,d]),e.jsx("div",{className:rr,style:l,"data-testid":"flamegraph-highlight"})}b(".Highlight-module_highlight__1VV-X{background:#ffffff40;mix-blend-mode:overlay;pointer-events:none;position:absolute;z-index:2}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhpZ2hsaWdodC5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG1DQUdFLG9CQUFxQixDQUNyQixzQkFBdUIsQ0FGdkIsbUJBQW9CLENBRHBCLGlCQUFrQixDQUlsQixTQUNGIiwiZmlsZSI6IkhpZ2hsaWdodC5tb2R1bGUuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmhpZ2hsaWdodCB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIGJhY2tncm91bmQ6ICNmZmZmZmY0MDtcbiAgbWl4LWJsZW5kLW1vZGU6IG92ZXJsYXk7XG4gIHotaW5kZXg6IDI7XG59XG4iXX0= */");var sr="ContextMenuHighlight-module_highlightContextMenu__WI1nK";b(".ContextMenuHighlight-module_highlightContextMenu__WI1nK{background:#ffffff8c;mix-blend-mode:overlay;pointer-events:none;position:absolute;z-index:2}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRleHRNZW51SGlnaGxpZ2h0Lm1vZHVsZS5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseURBSUUsb0JBQXFCLENBQ3JCLHNCQUF1QixDQUh2QixtQkFBb0IsQ0FEcEIsaUJBQWtCLENBS2xCLFNBQ0YiLCJmaWxlIjoiQ29udGV4dE1lbnVIaWdobGlnaHQubW9kdWxlLmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5oaWdobGlnaHRDb250ZXh0TWVudSB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIC8qIG1ha2UgaXQgYSBiaXQgbGlnaHRlciBzbyB0aGF0IGl0J3MgZWFzaWVyIHRvIGRpc3Rpbmd1aXNoIHdoZW4gYm90aCBoaWdobGlnaHRzIGFyZSBvbiAqL1xuICBiYWNrZ3JvdW5kOiAjZmZmZmZmOGM7XG4gIG1peC1ibGVuZC1tb2RlOiBvdmVybGF5O1xuICB6LWluZGV4OiAyO1xufVxuIl19 */");const cr={height:"0px",visibility:"hidden"};function dr(a){const{node:n,barHeight:i}=a,[o,r]=t.useState(cr);return t.useEffect(()=>{n.match({Nothing:()=>r(cr),Just:e=>r({visibility:"visible",height:`${i}px`,...e})})},[n]),e.jsx("div",{className:sr,style:o,"data-testid":"flamegraph-highlight-contextmenu"})}const ur={name:"Default",goodColor:i.rgb(0,170,0),neutralColor:i.rgb(148,142,142),badColor:i.rgb(200,0,0),colors:[i.hsl(24,69,60),i.hsl(34,65,65),i.hsl(194,52,61),i.hsl(163,45,55),i.hsl(211,48,60),i.hsl(246,40,65),i.hsl(305,63,79),i.hsl(47,100,73),i.rgb(183,219,171),i.rgb(244,213,152),i.rgb(78,146,249),i.rgb(249,186,143),i.rgb(242,145,145),i.rgb(130,181,216),i.rgb(229,168,226),i.rgb(174,162,224),i.rgb(154,196,138),i.rgb(242,201,109),i.rgb(101,197,219),i.rgb(249,147,78),i.rgb(234,100,96),i.rgb(81,149,206),i.rgb(214,131,206),i.rgb(128,110,183)]},mr={...ur,name:"Color Blind",goodColor:i.rgb(26,133,255),neutralColor:i.rgb(148,142,142),badColor:i.rgb(220,50,32)};function br(){return e.jsxs("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:[e.jsx("defs",{}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M5,19.56c0,5.22,3.54,9.44,7.92,9.44h3.17c4.37,0,7.92-4.23,7.92-9.44v-7.56H5v7.56Z"}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M14,1h-.82c-4.52,0-8.18,3.73-8.18,8.33v1.67H14V1Z"}),e.jsx("path",{d:"M15.82,1h-.82V11h9v-1.67c0-4.6-3.66-8.33-8.18-8.33Z"})]})}function fr(){return e.jsxs("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 30",children:[e.jsx("defs",{}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M24,19.56c0,5.22-3.54,9.44-7.92,9.44h-3.17c-4.37,0-7.92-4.23-7.92-9.44v-7.56H24v7.56Z"}),e.jsx("path",{style:{fill:"#7d7d7f"},d:"M15,1h.82c4.52,0,8.18,3.73,8.18,8.33v1.67H15V1Z"}),e.jsx("path",{d:"M13.18,1h.82V11H5v-1.67c0-4.6,3.66-8.33,8.18-8.33Z"})]})}var hr={tooltip:"Tooltip-module_tooltip__NMZ65",flamegraphDiffTooltip:"Tooltip-module_flamegraphDiffTooltip__Z983o",tooltipName:"Tooltip-module_tooltipName__y4Qs3",functionName:"Tooltip-module_functionName__z9LHO",tooltipTable:"Tooltip-module_tooltipTable__ct3pq",clickInfo:"Tooltip-module_clickInfo__Utux5"};b(".Tooltip-module_tooltip__NMZ65{background:var(--ps-tooltip-bg);border-radius:4px;box-shadow:1px 2px 4px 0 rgba(0,0,0,.3);color:var(--ps-tooltip-text);font-size:12px;pointer-events:none;position:fixed;visibility:hidden;width:420px;z-index:2}.Tooltip-module_tooltip__NMZ65.Tooltip-module_flamegraphDiffTooltip__Z983o{width:450px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipName__y4Qs3{background-color:var(--ps-tooltip-header-bg);border-top-left-radius:4px;border-top-right-radius:4px;color:var(--ps-tooltip-text);font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-weight:700;overflow:hidden;padding:8px 10px;text-overflow:ellipsis;white-space:nowrap}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_functionName__z9LHO{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;padding:8px 10px 0;white-space:break-spaces;word-break:break-all}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipTable__ct3pq{display:table;margin:10px;width:calc(100% - 20px)}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipTable__ct3pq td,.Tooltip-module_tooltip__NMZ65 .Tooltip-module_tooltipTable__ct3pq th{background-color:var(--ps-tooltip-bg);border:1px solid var(--ps-tooltip-header-bg);font-weight:400;padding:5px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_clickInfo__Utux5{color:var(--ps-right-click-info);display:flex;justify-content:center;margin-bottom:10px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_clickInfo__Utux5 svg{align-self:center;color:initial;display:block;height:22px;margin-right:5px;width:22px}.Tooltip-module_tooltip__NMZ65 .Tooltip-module_clickInfo__Utux5 span{font-size:14px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2x0aXAubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsK0JBR0UsK0JBQWdDLENBRWhDLGlCQUFrQixDQURs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L1xufVxuLnRvb2x0aXAgLnRvb2x0aXBUYWJsZSB0aCxcbi50b29sdGlwIC50b29sdGlwVGFibGUgdGQge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy10b29sdGlwLWJnKTtcbiAgYm9yZGVyOiAxcHggc29saWQgdmFyKC0tcHMtdG9vbHRpcC1oZWFkZXItYmcpO1xuICBwYWRkaW5nOiA1cHg7XG4gIGZvbnQtd2VpZ2h0OiBub3JtYWw7XG59XG4udG9vbHRpcCAuY2xpY2tJbmZvIHtcbiAgbWFyZ2luLWJvdHRvbTogMTBweDtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gIGNvbG9yOiB2YXIoLS1wcy1yaWdodC1jbGljay1pbmZvKTtcbn1cbi50b29sdGlwIC5jbGlja0luZm8gc3ZnIHtcbiAgY29sb3I6IGluaXRpYWw7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBhbGlnbi1zZWxmOiBjZW50ZXI7XG4gIHdpZHRoOiAyMnB4O1xuICBoZWlnaHQ6IDIycHg7XG4gIG1hcmdpbi1yaWdodDogNXB4O1xufVxuLnRvb2x0aXAgLmNsaWNrSW5mbyBzcGFuIHtcbiAgZm9udC1zaXplOiAxNHB4O1xufSJdfQ== */");const gr={location:"Location",self:"Self",total:"Total",baseline:"Baseline",comparison:"Comparison",diff:"Diff",noItemsFound:"No items found",diffNew:"new",diffRemoved:"removed",tooltipSamples:"Samples:",tooltipUnitTitles:{objects:{percent:"% of objects in RAM",formattedValue:"Objects in RAM",total:"% of total RAM"},goroutines:{percent:"% of goroutines",formattedValue:"Goroutines",total:"% of total goroutines"},bytes:{percent:"% of RAM",formattedValue:"RAM",total:"% of total bytes"},samples:{percent:"Share of CPU",formattedValue:"CPU Time",total:"% of total CPU"},lock_nanoseconds:{percent:"% of Time spent",formattedValue:"Time",total:"% of total seconds"},lock_samples:{percent:"% of contended locks",formattedValue:"Contended locks",total:"% of total locks"},trace_samples:{percent:"% of time",formattedValue:"Samples",total:"% of total samples"},exceptions:{percent:"% of thrown exceptions",formattedValue:"Thrown exceptions",total:"% of total thrown exceptions"},unknown:{percent:"Percentage",formattedValue:"Units",total:"% of total units"}},resetView:"Reset View",collapseNodesAbove:"Collapse nodes above",copyFunctionName:"Copy function name",highlightSimilarNodes:"Highlight similar nodes",clearHighlight:"Clear highlight",openInSandwichView:"Open in sandwich view",showTextTailFirst:"Show text tail first",showTextHeadFirst:"Show text head first",headFirst:"Head first",tailFirst:"Tail first",clickToHighlightNode:"Click to highlight node in flamegraph",rightClickForMoreNodeOptions:"Right click for more node viewing options",viewTable:"Table",viewTableAndFlamegraph:"Table and Flamegraph",viewFlamegraph:"Flamegraph",viewSandwich:"Sandwich",viewGraphviz:"GraphViz",more:"More",diffLegendRemovedLabel:"(-) Removed",diffLegendAddedLabel:"Added (+)",diffLegendSelectPalette:"Select a palette",paletteDefaultName:"Default",paletteColorBlindName:"Color Blind",paletteDefaultDesc:"(green to red)",paletteColorBlindDesc:"(blue to red)",searchPlaceholder:"Search...",syncSearchBars:"Sync Search Bars",unsyncSearchBars:"Unsync Search Bars"},pr={...gr,location:"位置",self:"自身",total:"总计",baseline:"基线",comparison:"对比",diff:"差异",noItemsFound:"没有找到任何条目",diffNew:"新增",diffRemoved:"移除",tooltipSamples:"样本数:",tooltipUnitTitles:{objects:{percent:"RAM 中对象占比",formattedValue:"RAM 中对象数",total:"占总 RAM 的百分比"},goroutines:{percent:"协程占比",formattedValue:"协程数量",total:"占协程总数的百分比"},bytes:{percent:"RAM 占比",formattedValue:"RAM",total:"占总字节数的百分比"},samples:{percent:"CPU 占比",formattedValue:"CPU 时间",total:"占总 CPU 的百分比"},lock_nanoseconds:{percent:"耗时占比",formattedValue:"时间",total:"占总秒数的百分比"},lock_samples:{percent:"锁竞争事件占比",formattedValue:"锁竞争事件数",total:"占锁竞争总数的百分比"},trace_samples:{percent:"时间占比",formattedValue:"样本数",total:"占样本总数的百分比"},exceptions:{percent:"异常抛出占比",formattedValue:"异常数",total:"占异常总数的百分比"},unknown:{percent:"百分比",formattedValue:"单位",total:"占单位总量的百分比"}},resetView:"重置视图",collapseNodesAbove:"收起上方节点",copyFunctionName:"复制函数名",highlightSimilarNodes:"高亮相似节点",clearHighlight:"清除高亮",openInSandwichView:"在 sandwich 视图中查看",showTextTailFirst:"显示文本尾部优先",showTextHeadFirst:"显示文本头部优先",headFirst:"从头部开始显示",tailFirst:"从尾部开始显示",clickToHighlightNode:"点击火焰图节点高亮",rightClickForMoreNodeOptions:"右键查看更多节点选项",viewTable:"表格",viewTableAndFlamegraph:"表格 + 火焰图",viewFlamegraph:"火焰图",viewSandwich:"三明治视图",viewGraphviz:"调用图 (GraphViz)",more:"更多",diffLegendRemovedLabel:"(-) 减少",diffLegendAddedLabel:"增加 (+)",diffLegendSelectPalette:"选择颜色方案",paletteDefaultName:"默认",paletteColorBlindName:"色盲模式",paletteDefaultDesc:"(绿色 → 红色)",paletteColorBlindDesc:"(蓝色 → 红色)",searchPlaceholder:"搜索...",syncSearchBars:"同步搜索栏",unsyncSearchBars:"取消同步搜索栏"},xr=t.createContext(gr),Qr=({messages:a,children:n})=>{const i=t.useMemo(()=>{var e;return{...gr,...a,tooltipUnitTitles:{...gr.tooltipUnitTitles,...null!==(e=null==a?void 0:a.tooltipUnitTitles)&&void 0!==e?e:{}}}},[a]);return e.jsx(xr.Provider,{value:i,children:n})},vr=()=>t.useContext(xr);function Gr(e){if(null==e)return null;if("number"==typeof e)return{value:e,unit:"",hasLessThan:!1,sign:""};let t=String(e).trim().replace(/\u2212/g,"-");if(!t)return null;let a=!1;t.startsWith("<")&&(a=!0,t=t.slice(1).trim());const n=t.match(/^([+\-]?)(\d*\.?\d+)\s*(.*)$/);if(!n)return null;const i=n[1]||"",o=n[2],r=(n[3]||"").trim(),l=parseFloat(o);return Number.isFinite(l)?{value:l,unit:r,hasLessThan:a,sign:i}:null}function yr(e,t=!1){if(!e||!t)return e;const a=Gr(e);if(!a)return e;const{hasLessThan:n,unit:i,sign:o,value:r}=a;let l=i;const s=i.toLowerCase();"ms"===s?l="毫秒":"μs"===s||"µs"===s||"us"===s?l="微秒":"second"===s||"seconds"===s?l="秒":"minute"===s||"minutes"===s||"min"===s||"mins"===s?l="分钟":"hour"===s||"hours"===s?l="小时":"day"===s||"days"===s?l="天":"month"===s||"months"===s?l="月":"year"!==s&&"years"!==s||(l="年");const c=String(e).trim().replace(/\u2212/g,"-").match(/^<?\s*([+\-]?)(\d*\.?\d+)/),d=c&&c[2]?`${c[1]||""}${c[2]}`:`${o}${Math.abs(r)}`,u=n?"< ":"";return l?`${u}${d} ${l}`.trim():`${u}${d}`.trim()}function Ir(e){if(!e)return null;const t=e.replace(/,/g,"").trim();if(!t)return null;const a=Number(t);return Number.isFinite(a)?a:null}function Br(e,t){if(!e||!t)return;const a=e.trim().replace(/\u2212/g,"-");return a&&"0"!==a?a.startsWith("+")?t.badColor.rgb().string():a.startsWith("-")?t.goodColor.rgb().string():void 0:void 0}function Fr({shouldShowFooter:a=!0,shouldShowTitle:n=!0,dataSourceRef:i,clickInfoSide:o,setTooltipContent:r,palette:l}){const s=t.useRef(null),[c,d]=t.useState({title:{text:"",diff:{text:"",color:""}},tooltipData:[]}),[u,m]=t.useState(),b=()=>{m({visibility:"hidden"}),d({title:{text:"",diff:{text:"",color:""}},tooltipData:[]})},f=t.useCallback(e=>{if(!s.current)throw new Error("Missing tooltipElement");const t=Math.min(e.clientX+12,window.innerWidth-s.current.clientWidth-20),a=e.clientY+20;r(d,b,e),m({top:a,left:t,visibility:"visible"})},[r]);return t.useEffect(()=>{const e=i.current;return e?(e.addEventListener("mousemove",f),e.addEventListener("mouseout",b),()=>{e.removeEventListener("mousemove",f),e.removeEventListener("mouseout",b)}):()=>{}},[i.current,f]),e.jsx("div",{"data-testid":"tooltip",className:Vi(hr.tooltip,{[hr.flamegraphDiffTooltip]:c.tooltipData.length>1}),style:{...u,textAlign:"center"},ref:s,children:c.tooltipData.length>0&&e.jsxs(e.Fragment,{children:[n&&e.jsx("div",{className:hr.tooltipName,"data-testid":"tooltip-title",children:c.title.text}),e.jsx("div",{className:hr.functionName,"data-testid":"tooltip-function-name",children:c.title.text}),c.title.diff.text.length>0?e.jsx(Zr,{data:c.tooltipData,diff:c.title.diff,palette:l}):e.jsx(Zr,{data:c.tooltipData,palette:l}),a&&e.jsx(Lr,{clickInfoSide:o})]})})}function Zr({data:t,diff:a,palette:n}){const i=vr(),[o,r]=t,l="Location"!==i.location;if(!o)return null;let s;switch(o.tooltipType){case"flamegraph":s=()=>{const t=r&&function(e,t){const a=Gr(e),n=Gr(t);if(!a||!n)return"";const i=n.value-a.value;if(0===i)return"0";const o=i>0?"+":"-",r=Math.abs(i);let l;l=r>=100?r.toFixed(0):r>=10?r.toFixed(1):r.toFixed(2);const s=a.unit||n.unit;return s?`${o}${l} ${s}`:`${o}${l}`}(o.formattedValue,r.formattedValue),s=yr(t,l),c=r&&function(e,t){const a=Ir(e),n=Ir(t);if(null==a||null==n)return"";const i=n-a;return 0===i?"0":`${i>0?"+":"-"}${Math.abs(i).toLocaleString()}`}(o.samples,r.samples),d=yr(o.formattedValue,l),u=yr(null==r?void 0:r.formattedValue,l),m=null==a?void 0:a.color,b=Br(t,n),f=Br(c,n);return e.jsxs(e.Fragment,{children:[r&&e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{}),e.jsx("th",{children:i.baseline}),e.jsx("th",{children:i.comparison}),e.jsx("th",{children:i.diff})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsxs("td",{children:[i.tooltipUnitTitles[o.units].percent,":"]}),e.jsx("td",{children:o.percent}),r&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:r.percent}),e.jsx("td",{style:{textAlign:"center"},children:a&&e.jsx("span",{"data-testid":"tooltip-diff",style:{color:m},children:a.text})})]})]}),e.jsxs("tr",{children:[e.jsxs("td",{children:[i.tooltipUnitTitles[o.units].formattedValue,":"]}),e.jsx("td",{children:d}),r&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:u}),e.jsx("td",{style:{textAlign:"center"},children:s&&e.jsx("span",{"data-testid":"tooltip-time-diff",style:b?{color:b}:void 0,children:s})})]})]}),e.jsxs("tr",{children:[e.jsx("td",{children:i.tooltipSamples}),e.jsx("td",{children:o.samples}),r&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:r.samples}),e.jsx("td",{style:{textAlign:"center"},children:c&&e.jsx("span",{"data-testid":"tooltip-samples-diff",style:f?{color:f}:void 0,children:c})})]})]})]})]})};break;case"table":s=()=>e.jsxs(e.Fragment,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("td",{}),e.jsxs("td",{children:[i.self," (",i.tooltipUnitTitles[o.units].total,")"]}),e.jsxs("td",{children:[i.total," (",i.tooltipUnitTitles[o.units].total,")"]})]})}),e.jsx("tbody",{children:e.jsxs("tr",{children:[e.jsxs("td",{children:[i.tooltipUnitTitles[o.units].formattedValue,":"]}),e.jsx("td",{children:o.self}),e.jsx("td",{children:o.total})]})})]});break;default:s=()=>null}return e.jsx("table",{"data-testid":"tooltip-table",className:Vi(hr.tooltipTable,{[hr[`${o.tooltipType}${r?"Diff":""}`]]:o.tooltipType}),style:{textAlign:"center",margin:"0 auto"},children:s()})}function Lr({clickInfoSide:t}){const a=vr();let n;switch(t){case"right":n=e.jsxs(e.Fragment,{children:[e.jsx(br,{}),e.jsx("span",{children:a.rightClickForMoreNodeOptions})]});break;case"left":n=e.jsxs(e.Fragment,{children:[e.jsx(fr,{}),e.jsx("span",{children:a.clickToHighlightNode})]});break;default:n=e.jsx(e.Fragment,{})}return e.jsx("div",{"data-testid":"tooltip-footer",className:hr.clickInfo,children:n})}function Nr(a){const{format:n,canvasRef:i,xyToData:o,numTicks:r,sampleRate:l,units:s,leftTicks:c,rightTicks:d,palette:u}=a,m=vr(),b=t.useCallback((e,t,a)=>{const i=gi(r,l,s),b=o(a.offsetX,a.offsetY);let f;if(b.isJust)switch(f=b.value,f.format){case"single":{const t={percent:bi(f.total/r),samples:"trace_samples"===s?"":mi(f.total),units:s,formattedValue:i.format(f.total,l),tooltipType:"flamegraph"};e({title:{text:f.name,diff:{text:"",color:""}},tooltipData:[t]});break}case"double":{if("single"===n)throw new Error("props format is 'single' but it has been mapped to 'double'");const t=wr({formatter:i,sampleRate:l,totalLeft:f.totalLeft,leftTicks:c,totalRight:f.totalRight,rightTicks:d,title:f.name,units:s},u,m);e({title:t.title,tooltipData:t.tooltipData});break}default:throw new Error(`Unsupported format: '${f.format}'`)}else t()},[r,l,s,c,d,u,o,n,m]);return e.jsx(Fr,{dataSourceRef:i,clickInfoSide:"right",setTooltipContent:b,palette:u})}function wr({formatter:e,sampleRate:t,totalLeft:a,leftTicks:n,totalRight:i,rightTicks:o,title:r,units:l},s=ur,c){var d,u;const m=i/o,b=fi(a/n),f=fi(m),h={percent:`${b}%`,samples:mi(a),units:l,formattedValue:e.format(a,t),tooltipType:"flamegraph"},g={percent:`${f}%`,samples:mi(i),units:l,formattedValue:e.format(i,t),tooltipType:"flamegraph"},p=hi(b,f);let x="";p>0?x=s.badColor.rgb().string():p<0&&(x=s.goodColor.rgb().string());let Q="";return a?i?p>0?Q=`+${p.toFixed(2)}%`:p<0&&(Q=`${p.toFixed(2)}%`):Q=null!==(u=null==c?void 0:c.diffRemoved)&&void 0!==u?u:"移除":Q=null!==(d=null==c?void 0:c.diffNew)&&void 0!==d?d:"新增",{title:{text:r,diff:{text:Q,color:x}},tooltipData:[h,g]}}b('@charset "UTF-8";.szh-menu{background-color:#fff;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;list-style:none;margin:0;padding:0;width:max-content;z-index:100}.szh-menu:focus{outline:none}.szh-menu__arrow{background-color:#fff;border-color:rgba(0,0,0,.1) transparent transparent rgba(0,0,0,.1);border-style:solid;border-width:1px;box-sizing:border-box;height:.75rem;width:.75rem;z-index:-1}.szh-menu__arrow--dir-left{right:-.375rem;transform:translateY(-50%) rotate(135deg)}.szh-menu__arrow--dir-right{left:-.375rem;transform:translateY(-50%) rotate(-45deg)}.szh-menu__arrow--dir-top{bottom:-.375rem;transform:translateX(-50%) rotate(-135deg)}.szh-menu__arrow--dir-bottom{top:-.375rem;transform:translateX(-50%) rotate(45deg)}.szh-menu__item{cursor:pointer}.szh-menu__item:focus{outline:none}.szh-menu__item--hover{background-color:#ebebeb}.szh-menu__item--focusable{background-color:inherit;cursor:default}.szh-menu__item--disabled{color:#aaa;cursor:default}.szh-menu__group{box-sizing:border-box}.szh-menu__radio-group{list-style:none;margin:0;padding:0}.szh-menu__divider{background-color:rgba(0,0,0,.12);height:1px;margin:.5rem 0}.szh-menu-button{box-sizing:border-box}.szh-menu{border:none;border-radius:.25rem;box-shadow:0 3px 7px rgba(0,0,0,.133),0 .6px 2px rgba(0,0,0,.1);color:#212529;min-width:10rem;padding:.5rem 0;user-select:none}.szh-menu__item{align-items:center;display:flex;padding:.375rem 1.5rem;position:relative}.szh-menu-container--itemTransition .szh-menu__item{transition-duration:.15s;transition-property:background-color,color;transition-timing-function:ease-in-out}.szh-menu__item--type-radio{padding-left:2.2rem}.szh-menu__item--type-radio:before{content:"○";font-size:.8rem;left:.8rem;position:absolute;top:.55rem}.szh-menu__item--type-radio.szh-menu__item--checked:before{content:"●"}.szh-menu__item--type-checkbox{padding-left:2.2rem}.szh-menu__item--type-checkbox:before{left:.8rem;position:absolute}.szh-menu__item--type-checkbox.szh-menu__item--checked:before{content:"✔"}.szh-menu__submenu>.szh-menu__item{padding-right:2.5rem}.szh-menu__submenu>.szh-menu__item:after{content:"❯";position:absolute;right:1rem}.szh-menu__header{color:#888;font-size:.8rem;padding:.2rem 1.5rem;text-transform:uppercase}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFrR0EsZ0JBTUEsQ0F2R0EsVUFRRSxxQkFBc0IsQ0FEd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DAuNTVyZW07XG4gIGZvbnQtc2l6ZTogMC44cmVtO1xufVxuLnN6aC1tZW51X19pdGVtLS10eXBlLXJhZGlvLnN6aC1tZW51X19pdGVtLS1jaGVja2VkOjpiZWZvcmUge1xuICBjb250ZW50OiBcIuKXj1wiO1xufVxuLnN6aC1tZW51X19pdGVtLS10eXBlLWNoZWNrYm94IHtcbiAgcGFkZGluZy1sZWZ0OiAyLjJyZW07XG59XG4uc3poLW1lbnVfX2l0ZW0tLXR5cGUtY2hlY2tib3g6OmJlZm9yZSB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgbGVmdDogMC44cmVtO1xufVxuLnN6aC1tZW51X19pdGVtLS10eXBlLWNoZWNrYm94LnN6aC1tZW51X19pdGVtLS1jaGVja2VkOjpiZWZvcmUge1xuICBjb250ZW50OiBcIuKclFwiO1xufVxuLnN6aC1tZW51X19zdWJtZW51ID4gLnN6aC1tZW51X19pdGVtIHtcbiAgcGFkZGluZy1yaWdodDogMi41cmVtO1xufVxuLnN6aC1tZW51X19zdWJtZW51ID4gLnN6aC1tZW51X19pdGVtOjphZnRlciB7XG4gIGNvbnRlbnQ6IFwi4p2vXCI7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcmlnaHQ6IDFyZW07XG59XG4uc3poLW1lbnVfX2hlYWRlciB7XG4gIGNvbG9yOiAjODg4O1xuICBmb250LXNpemU6IDAuOHJlbTtcbiAgcGFkZGluZzogMC4ycmVtIDEuNXJlbTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbn1cbiJdfQ== */');var Xr="ContextMenu-module_dummy__5n2-N";function Wr(a){const[n,i]=qo({transition:!0}),[o,r]=t.useState({x:0,y:0}),{canvasRef:l}=a,[s,c]=t.useState([]),{xyToMenuItems:d,onClose:u,onOpen:m}=a;return t.useEffect(()=>{i(!1);const e=l.current;if(!e)return()=>{};const t=e=>{e.preventDefault();const t=d(e.offsetX,e.offsetY);c(t);const a=e.clientX,n=e.clientY+20;r({x:a,y:n}),i(!0),m(e.offsetX,e.offsetY)};return e.addEventListener("contextmenu",t),()=>{e.removeEventListener("contextmenu",t)}},[d]),e.jsx(Oo,{...n,className:Xr,anchorPoint:o,onClose:()=>{i(!1),u()},children:s})}b(".ContextMenu-module_dummy__5n2-N{display:block}.ContextMenu-module_dummy__5n2-N svg{margin-right:10px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRleHRNZW51Lm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGlDQUNFLGFBQ0YsQ0FDQSxxQ0FDRSxpQkFDRiIsImZpbGUiOiJDb250ZXh0TWVudS5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5kdW1teSB7XG4gIGRpc3BsYXk6IGJsb2NrO1xufVxuLmR1bW15IHN2ZyB7XG4gIG1hcmdpbi1yaWdodDogMTBweDtcbn0iXX0= */");var Cr="LogoLink-module_logoLink__oWRri";function Rr(){return e.jsxs("a",{className:Cr,href:"https://github.com/pyroscope-io/pyroscope/",target:"_blank",rel:"noreferrer",children:[e.jsxs("svg",{width:"22px",height:"22px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("defs",{children:e.jsxs("radialGradient",{cx:"49.4236252%",cy:"92.6627823%",fx:"49.4236252%",fy:"92.6627823%",r:"195.066755%",gradientTransform:"translate(0.494236,0.926628),scale(1.000000,0.735610),rotate(-90.000000),translate(-0.494236,-0.926628)",id:"radialGradient-1",children:[e.jsx("stop",{stopColor:"#FFB90C",offset:"0%"}),e.jsx("stop",{stopColor:"#F9243A",offset:"38.390924%"}),e.jsx("stop",{stopColor:"#F9243A",offset:"50.5405%"}),e.jsx("stop",{stopColor:"#B51424",offset:"73.98091%"}),e.jsx("stop",{stopColor:"#B51424",offset:"100%"})]})}),e.jsx("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:e.jsx("g",{id:"fire-part",transform:"translate(148.516736, 0.000000)",fillRule:"nonzero",children:e.jsxs("g",{id:"whole-thing",transform:"translate(363.983264, 495.000000) scale(-1, 1) rotate(-180.000000) translate(-363.983264, -495.000000) translate(0.483264, 0.000000)",children:[e.jsx("g",{id:"g70",transform:"translate(-0.000091, 0.685815)",fill:"url(#radialGradient-1)",children:e.jsx("path",{d:"M65.3646667,571.739321 L65.4492471,571.698868 C19.5139147,505.999969 -5.32464048,424.477859 1.04305801,336.877516 L1.04305801,336.877516 C14.0321963,158.179446 159.192462,13.7596653 338.059844,1.5917266 L338.059844,1.5917266 C419.418369,-3.93888015 495.500283,17.3823334 558.456522,57.4611191 L558.456522,57.4611191 L481.301947,162.097965 C437.516468,136.521928 399.367671,129.590556 363.486536,130.155994 L363.486536,130.155994 C234.497143,130.155994 129.556988,235.032238 129.556988,363.946998 L129.556988,363.946998 C129.556988,492.865683 234.497143,597.738003 363.486536,597.738003 L363.486536,597.738003 C492.483783,597.738003 597.427864,492.865683 597.427864,363.946998 L597.427864,363.946998 C597.41276,304.634864 581.39383,255.677522 530.630465,199.668053 L607.770843,95.1329436 C680.936847,161.576603 726.932594,257.364176 726.932594,363.946998 L726.932594,363.946998 C726.932594,458.031616 691.13483,543.75602 632.416071,608.271816 L632.416071,608.271816 L632.416071,608.275741 L533.597728,748.122808 L428.601388,617.203806 L434.703262,646.563419 C459.453008,765.59222 433.664131,889.543925 363.49439,988.853335 L363.49439,988.853335 L65.3646667,571.723019 L65.3646667,571.739321 Z",id:"path84"})}),e.jsx("g",{id:"blue",transform:"translate(191.447039, 191.331780)",children:e.jsxs("g",{id:"g88",transform:"translate(-0.000063, 0.685930)",children:[e.jsx("g",{id:"g94",transform:"translate(0.177296, 0.699054)",fill:"#3EC1D3",children:e.jsx("path",{d:"M171.862466,343.697728 C77.0961324,343.697728 -0.00497405932,266.647602 -0.00497405932,171.934957 C-0.00497405932,77.2182874 77.0961324,0.168162396 171.862466,0.168162396 C266.632828,0.168162396 343.741988,77.2182874 343.741988,171.934957 C343.741988,266.647602 266.632828,343.697728 171.862466,343.697728",id:"path96"})}),e.jsx("g",{id:"g98",transform:"translate(29.362379, 172.629585)",fill:"#FFFFFF",children:e.jsx("path",{d:"M22.8397982,0 L0.671669409,0 C0.671669409,78.2496309 64.380874,141.920035 142.678189,141.920035 L142.678189,119.765407 C76.6007327,119.765407 22.8397982,66.0372141 22.8397982,0",id:"path100"})})]})})]})})})]}),e.jsx("span",{children:"Pyroscope"})]})}b(".LogoLink-module_logoLink__oWRri{bottom:0;color:var(--ps-neutral-2);font-weight:500;opacity:.5;position:absolute;right:0;text-decoration:none;z-index:0}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkxvZ29MaW5rLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGlDQU9FLFFBQVMsQ0FIVCx5QkFBMEIsQ0FGMUIsZUFBZ0IsQ0FDaEIsVUFBWSxDQUVaLGlCQUFrQixDQUNsQixPQUFRLENBTFIsb0JBQXFCLENBT3JCLFNBQ0YiLCJmaWxlIjoiTG9nb0xpbmsubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubG9nb0xpbmsge1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gIGZvbnQtd2VpZ2h0OiA1MDA7XG4gIG9wYWNpdHk6IDAuNTtcbiAgY29sb3I6IHZhcigtLXBzLW5ldXRyYWwtMik7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcmlnaHQ6IDA7XG4gIGJvdHRvbTogMDtcbiAgei1pbmRleDogMDtcbn0iXX0= */");const Dr=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",children:e.jsx("g",{id:"z9nPJj.tif",children:e.jsx("path",{d:"M62,13.33V49.68c-.02,.05-.04,.11-.05,.16-.3,2.66-2.66,5.16-6.08,5.15-15.92,0-31.83,0-47.75-.01-.54,0-1.1-.06-1.62-.19-2.73-.69-4.52-3.09-4.52-5.88,0-12,.01-23.56,.01-34.9,0-.29,.01-.57,.05-.86,.35-2.3,1.62-3.91,3.84-4.75,.6-.23,1.27-.28,1.9-.41,16.13,0,32.27,0,48.4,0,.09,.01,.17,.04,.26,.04,2.66,.21,4.8,2.01,5.4,4.57,.06,.24,.1,.48,.14,.72ZM28.99,31.81c0-3.92-.01-7.91-.01-11.81H8c0,3.91,.01,7.9,.01,11.81H28.99Zm27,0c0-3.92-.01-7.92-.01-11.81h-20.97c0,3.92,.01,7.91,.01,11.81h20.97Zm-47.98,5.19c0,3.7,0,8,0,11.69v.31H29v-12m6.01,.04c0,3.93-.01,8.05-.01,11.96h20.99c0-.12,0-.22,0-.31,0-3.7,0-7.99,0-11.69"})})}),Ur=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",children:[e.jsx("path",{d:"M31,8.04H7.62c-.61,.13-1.26,.18-1.84,.41-2.14,.84-3.37,2.45-3.71,4.75-.04,.28-.05,.57-.05,.86,0,11.32-.02,22.88-.01,34.87,0,2.79,1.73,5.18,4.37,5.88,.51,.13,1.04,.19,1.57,.19,7.69,0,15.38,0,23.07,0V8.04Zm-2.92,11.99c0,3.9,.01,7.89,.01,11.8H7.82c0-3.9-.01-7.89-.01-11.8H28.08ZM7.82,49.01v-.31c0-3.69,0-7.99,0-11.68H28.1v11.99H7.82Z"}),e.jsx("path",{d:"M58.67,7.9h-25.67V55h2.9c1.84,0,2.9-1.55,2.9-3.45V27.14h11.6v6.37c0,1.91,1.49,3.45,3.33,3.45h4.94c1.84,0,3.33-1.55,3.33-3.45V11.35c0-1.91-1.49-3.45-3.33-3.45Z"})]}),kr=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",children:e.jsx("path",{d:"M5.44,8H58.56c1.9,0,3.44,1.54,3.44,3.44v6.16s0,9.6,0,9.6v6.36c0,1.9-1.54,3.44-3.44,3.44h-5.11c-1.9,0-3.44-1.54-3.44-3.44v-6.36h-12s0,9.8,0,9.8v9s0,5.56,0,5.56c0,1.9-1.1,3.44-3,3.44h-6c-1.9,0-3-1.54-3-3.44v-5.56h-9c-1.99,0-3-1.52-3-3.4v-5.6H5.44c-1.9,0-3.44-1.74-3.44-3.64v-6.16s0-9.6,0-9.6v-6.16c0-1.9,1.54-3.44,3.44-3.44Z"})}),Yr=({fill:t})=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",fill:t,children:[e.jsx("g",{id:"shape_squiggle",children:e.jsx("path",{d:"M60,38.42c-4.62,0-6.97-2.64-8.86-4.75-1.81-2.03-2.86-3.08-5.13-3.08s-3.32,1.06-5.13,3.08c-1.89,2.12-4.24,4.75-8.86,4.75s-6.97-2.64-8.87-4.75c-1.81-2.03-2.86-3.08-5.14-3.08s-3.33,1.06-5.14,3.08c-1.89,2.12-4.25,4.75-8.87,4.75-1.38,0-2.5-1.12-2.5-2.5s1.12-2.5,2.5-2.5c2.28,0,3.33-1.06,5.14-3.09,1.89-2.12,4.25-4.75,8.87-4.75s6.97,2.64,8.87,4.75c1.81,2.03,2.86,3.09,5.14,3.09s3.32-1.06,5.13-3.08c1.89-2.12,4.24-4.75,8.86-4.75s6.97,2.64,8.86,4.75c1.81,2.03,2.86,3.08,5.13,3.08,1.38,0,2.5,1.12,2.5,2.5s-1.12,2.5-2.5,2.5Z"})}),e.jsxs("g",{id:"Layer_4",children:[e.jsx("rect",{x:"2",y:"8",width:"60",height:"14",rx:"3.94",ry:"3.94"}),e.jsx("path",{d:"M58.06,41h-18.64c-1.58,0-3.14,.42-4.5,1.22l-6.88,4.02c-1.87,1.09-4.19,1.09-6.06,0l-6.88-4.02c-1.37-.8-2.92-1.22-4.5-1.22H5.94c-2.18,0-3.94,1.76-3.94,3.94v7.12c0,2.18,1.76,3.94,3.94,3.94H58.06c2.18,0,3.94-1.76,3.94-3.94v-7.12c0-2.18-1.76-3.94-3.94-3.94Z"})]})]}),Vr=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",children:[e.jsx("g",{id:"ab_shape",children:e.jsxs("g",{children:[e.jsx("path",{d:"M16.71,41l-.42-2.45h-.16c-1.63,1.95-4.06,2.95-6.91,2.95-4.8,0-7.86-3.45-7.86-7.45,0-6.4,6.01-9.3,14.13-9.3v-.4c0-1.5-.84-3.2-4.38-3.2-2.48,0-4.9,.75-6.54,1.7l-1.42-4.75c1.69-.9,5.01-2.1,9.44-2.1,8.33,0,10.65,4.95,10.65,10.45v8.7c0,2.25,.11,4.4,.37,5.85h-6.91Zm-.95-11.7c-3.64,0-6.91,.9-6.91,4,0,2.1,1.37,3,3,3s3.22-1.05,3.74-2.6c.11-.35,.16-.8,.16-1.2v-3.2Z"}),e.jsx("path",{d:"M29.36,41c.11-1.79,.21-4.62,.21-7.25V6h7.7v13.46h.11c1.42-1.99,3.8-3.28,7.06-3.28,5.85,0,9.7,5.01,9.65,12.16,0,8.69-5.22,13.16-10.81,13.16-2.74,0-5.22-.99-6.91-3.72h-.11l-.37,3.23h-6.54Zm7.91-9.83c0,.55,.05,.99,.16,1.39,.58,1.94,2.16,3.18,4.01,3.18,3.11,0,4.9-2.53,4.9-7,0-3.92-1.58-6.8-4.9-6.8-1.85,0-3.53,1.39-3.95,3.28-.16,.4-.21,.94-.21,1.44v4.52Z"})]})}),e.jsx("g",{id:"arrows",children:e.jsx("polygon",{points:"62 54 52 45 52 51 35 51 35 57 52 57 52 63 62 54"})})]}),jr=()=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",children:[e.jsx("g",{id:"yz_shape",children:e.jsxs("g",{children:[e.jsx("path",{d:"M22.75,13l3.43,12.39c.42,1.47,.84,3.2,1.16,4.52h.11c.32-1.32,.69-3.05,1-4.47l2.9-12.44h8.01l-5.8,17.16c-2.95,8.33-5.17,12.54-8.07,15.23-2.58,2.39-5.43,3.3-7.17,3.55l-1.85-6.3c1.11-.25,2.32-.76,3.48-1.52,1.16-.71,2.32-1.88,2.95-3.05,.26-.41,.42-.76,.42-1.12,0-.31-.05-.66-.26-1.17L14.32,13h8.43Z"}),e.jsx("path",{d:"M41.62,33.46l7.59-10.16c1.27-1.57,2.37-2.95,3.58-4.27v-.15h-10.33v-5.89h19.45l-.05,4.57-7.28,9.8c-1.21,1.57-2.48,3.15-3.69,4.42v.1h11.33v5.94h-20.61v-4.37Z"})]})}),e.jsx("g",{id:"arrows",children:e.jsx("polygon",{points:"12 51 12 45 2 54 12 63 12 57 29 57 29 51 12 51"})})]});var _r="Header-module_flamegraphHeader__nIrXP",Sr="Header-module_row__P7-2L",Mr="Header-module_flamegraphTitle__sjsvB";function Jr(t){const{format:a,units:n,toolbarVisible:i}=t,o={objects:"number of objects in RAM per function",goroutines:"number of goroutines",bytes:"amount of RAM per function",samples:"CPU time per function",lock_nanoseconds:"time spent waiting on locks per function",lock_samples:"number of contended locks per function",trace_samples:"aggregated span duration",exceptions:"number of exceptions thrown",unknown:""},r=i&&"single"===a?e.jsx("div",{className:`${Sr} ${Mr}`,role:"heading","aria-level":2,children:o[n]&&e.jsxs(e.Fragment,{children:["Frame width represents ",o[n]]})}):null;return r?e.jsx("div",{className:_r,children:e.jsx("div",{children:r})}):null}b(".Header-module_flamegraphHeader__nIrXP{align-items:flex-start;display:flex;justify-content:space-between;padding-bottom:5px}.Header-module_flamegraphHeader__nIrXP>div:first-child{width:100%}.Header-module_row__P7-2L{display:flex;justify-content:center}.Header-module_flamegraphTitle__sjsvB{display:block;text-align:center;width:100%}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkhlYWRlci5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHVDQUtFLHNCQUF1QixDQUh2QixZQUFhLENBQ2IsNkJBQThCLENBRjlCLGtCQUtGLENBRUEsdURBQ0UsVUFDRixDQU9BLDBCQUNFLFlBQWEsQ0FDYixzQkFDRixDQUVBLHNDQUVFLGFBQWMsQ0FDZCxpQkFBa0IsQ0FGbEIsVUFHRiIsImZpbGUiOiJIZWFkZXIubW9kdWxlLmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5mbGFtZWdyYXBoSGVhZGVyIHtcbiAgcGFkZGluZy1ib3R0b206IDVweDtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuXG4gIGFsaWduLWl0ZW1zOiBmbGV4LXN0YXJ0O1xufVxuXG4uZmxhbWVncmFwaEhlYWRlciA+IGRpdjpmaXJzdC1jaGlsZCB7XG4gIHdpZHRoOiAxMDAlO1xufVxuXG4uZmxhbWVncmFwaEhlYWRlciBidXR0b24ge1xuICAvKiBtYXJnaW46IGF1dG87XG4gIGRpc3BsYXk6IGJsb2NrOyAqL1xufVxuXG4ucm93IHtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG59XG5cbi5mbGFtZWdyYXBoVGl0bGUge1xuICB3aWR0aDogMTAwJTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn1cbiJdfQ== */");var Er="styles-module_flamegraphPane__ejguD",zr="styles-module_fitModeItem__0UBwN",Ar="styles-module_sandwichItem__WYvnd";function Or(n){const i=t.useRef(null),o=t.useRef(),s=vr(),[c,d]=t.useState(a.Maybe.nothing()),{flamebearer:u,focusedNode:m,fitMode:b,updateFitMode:f,highlightQuery:h,zoom:g,toolbarVisible:p,headerVisible:x=!0,disableClick:Q=!1,showSingleLevel:v=!1,showCredit:G,setActiveItem:y,selectedItem:I,updateView:B,enableSandwichView:F=!0}=n,{onZoom:Z,onReset:L,isDirty:N,onFocusOnNode:w}=n,{"data-testid":X}=n,{palette:W,setPalette:C}=n,R=t.useCallback(l(()=>{Y()},50),[]);r(i,()=>{o&&R()});const D=(e,t)=>_().xyToBar(e,t).map(e=>({left:j().offsetLeft+e.x,top:j().offsetTop+e.y,width:e.width})),U=t.useCallback((t,a)=>{const n=N(),i=_().xyToBar(t,a),o=i.isJust?i.value.name:"";return[e.jsxs(nr,{disabled:!n,onClick:L,children:[e.jsx(Hn,{icon:Hi.faRedo}),s.resetView]},"reset"),(()=>{const t=i.mapOrElse(()=>!1,()=>!0),a=i.mapOrElse(()=>()=>{},e=>w.bind(null,e.i,e.j));return e.jsxs(nr,{disabled:!t,onClick:a,children:[e.jsx(Hn,{icon:so.faCompressAlt}),s.collapseNodesAbove]},"focus")})(),e.jsxs(nr,{onClick:()=>{navigator.clipboard&&navigator.clipboard.writeText(o)},children:[e.jsx(Hn,{icon:$i.faCopy}),s.copyFunctionName]},"copy"),(()=>{const t=I.isJust&&I.value===o?s.clearHighlight:s.highlightSimilarNodes;return e.jsxs(nr,{onClick:()=>{y({name:o})},children:[e.jsx(Hn,{icon:no.faHighlighter}),t]},"highlight-similar-nodes")})(),(()=>{if(!B||!F)return null;return e.jsxs(nr,{className:Ar,onClick:()=>{B("sandwich"),y({name:o})},children:[e.jsx(Yr,{fill:"black"}),s.openInSandwichView]},"open-in-sandwich-view")})(),(()=>{const t=b===yi;return e.jsxs(nr,{className:zr,onClick:()=>{f(t?Gi:yi)},children:[t?e.jsx(jr,{}):e.jsx(Vr,{}),t?s.showTextTailFirst:s.showTextHeadFirst]},"fit-mode")})()].filter(Boolean)},[o,I,b,N,L,w,y,B,s,F]),k=()=>{if(i.current){const e=new ki(u,i.current,m,b,h,g,W);o.current=e}};t.useEffect(()=>{k(),Y()},[W]),t.useEffect(()=>{k(),Y()},[i.current,u,m,b,h,g]);const Y=()=>{var e,t,a;null===(e=null==i?void 0:i.current)||void 0===e||e.setAttribute("data-state","rendering"),null===(t=null==o?void 0:o.current)||void 0===t||t.render(),null===(a=null==i?void 0:i.current)||void 0===a||a.setAttribute("data-state","rendered")},V=!u||u&&u.names.length<=1,j=()=>{if(!i.current)throw new Error("Missing canvas");return i.current},_=()=>{if(!o.current)throw new Error("Missing canvas");return o.current};return e.jsxs("div",{"data-testid":"flamegraph-view",className:Vi(Er,{"vertical-orientation":"double"===u.format}),children:[x&&e.jsx(Jr,{format:u.format,units:u.units,toolbarVisible:p}),e.jsx("div",{"data-testid":X,style:{opacity:V&&!v?0:1},children:e.jsx("canvas",{height:"0","data-testid":"flamegraph-canvas","data-highlightquery":h,className:Vi("flamegraph-canvas",or),ref:i,onClick:Q?void 0:e=>{const t=_().xyToBar(e.nativeEvent.offsetX,e.nativeEvent.offsetY);t.match({Nothing:()=>{},Just:e=>{g.match({Nothing:()=>{Z(t)},Just:n=>{e.i===n.i&&e.j===n.j?Z(a.Maybe.nothing()):Z(t)}})}})}})}),G?e.jsx(Rr,{}):"",o&&i&&e.jsx(lr,{barHeight:di,canvasRef:i,zoom:g,xyToHighlightData:D}),o&&e.jsx(dr,{barHeight:di,node:c}),o&&e.jsx(Nr,{format:u.format,canvasRef:i,xyToData:(e,t)=>_().xyToBar(e,t),numTicks:u.numTicks,sampleRate:u.sampleRate,leftTicks:"double"===u.format?u.leftTicks:0,rightTicks:"double"===u.format?u.rightTicks:0,units:u.units,palette:W}),!Q&&o&&i&&e.jsx(Wr,{canvasRef:i,xyToMenuItems:U,onClose:()=>{d(a.Maybe.nothing())},onOpen:(e,t)=>{d(D(e,t))}})]})}b(".styles-module_flamegraphPane__ejguD{flex:1;position:relative}.styles-module_flamegraphPane__ejguD .styles-module_fitModeItem__0UBwN svg,.styles-module_flamegraphPane__ejguD .styles-module_sandwichItem__WYvnd svg{margin-right:10px;width:1em}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxxQ0FDRSxNQUFPLENBQ1AsaUJBQ0YsQ0FDQSx1SkFHRSxpQkFBa0IsQ0FEbEIsU0FFRiIsImZpbGUiOiJzdHlsZXMubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZmxhbWVncmFwaFBhbmUge1xuICBmbGV4OiAxO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG59XG4uZmxhbWVncmFwaFBhbmUgLmZpdE1vZGVJdGVtIHN2Zyxcbi5mbGFtZWdyYXBoUGFuZSAuc2FuZHdpY2hJdGVtIHN2ZyB7XG4gIHdpZHRoOiAxZW07XG4gIG1hcmdpbi1yaWdodDogMTBweDtcbn0iXX0= */");var Hr,Tr={exports:{}};
|
|
13
13
|
/*!
|
|
14
14
|
Copyright (c) 2018 Jed Watson.
|
|
15
15
|
Licensed under the MIT License (MIT), see
|
|
16
16
|
http://jedwatson.github.io/classnames
|
|
17
|
-
*/var Pr,Kr=(Hr||(Hr=1,function(e){!function(){var t={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(e=i(e,n(a)))}return e}function n(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var o in e)t.call(e,o)&&e[o]&&(n=i(n,o));return n}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):window.classNames=a}()}(Tr)),Tr.exports),$r=f(Kr),qr={};function el(){return Pr||(Pr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="chevron-left",a=[9001],n="f053",i="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";e.definition={prefix:"fas",iconName:t,icon:[320,512,a,n,i]},e.faChevronLeft=e.definition,e.prefix="fas",e.iconName=t,e.width=320,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(qr)),qr}var tl,al=el(),nl={};function il(){return tl||(tl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="chevron-right",a=[9002],n="f054",i="M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";e.definition={prefix:"fas",iconName:t,icon:[320,512,a,n,i]},e.faChevronRight=e.definition,e.prefix="fas",e.iconName=t,e.width=320,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(nl)),nl}var ol=il(),rl={table:"Table-module_table__6A8SM",sortable:"Table-module_sortable__J6kyp",sortArrow:"Table-module_sortArrow__Nrncn",asc:"Table-module_asc__tJDI9",desc:"Table-module_desc__fjVRY",isRowSelected:"Table-module_isRowSelected__UhIAJ",isRowDisabled:"Table-module_isRowDisabled__sz3NJ",loadingSpinner:"Table-module_loadingSpinner__SSjMK",pagination:"Table-module_pagination__VXgcO"};b(".Table-module_table__6A8SM{table-layout:fixed;width:100%}.Table-module_table__6A8SM thead{background-color:var(--ps-table-header-bg,var(--ps-ui-foreground,#fff));color:var(--ps-table-header-text,var(--ps-ui-foreground-text,#000))}.Table-module_table__6A8SM thead th.Table-module_sortable__J6kyp{cursor:pointer;user-select:none}.Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn{border:5px solid transparent;border-top:5px solid var(--ps-ui-foreground-text);display:inline-block;margin-left:7px;position:relative;top:3px}.Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_asc__tJDI9{border-bottom-color:var(--ps-button-switch-bg-highlight);border-top-color:transparent;top:-2px}.Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_desc__fjVRY{border-top-color:var(--ps-button-switch-bg-highlight);top:3px}.Table-module_table__6A8SM tbody tr:nth-child(2n){background-color:var(--ps-neutral-9)}.Table-module_table__6A8SM tbody{cursor:pointer}.Table-module_table__6A8SM tbody td{font-weight:400;text-align:center}.Table-module_table__6A8SM tbody tr.Table-module_isRowSelected__UhIAJ{background:var(--ps-table-highlight-row-bg)!important;color:var(--ps-table-highlight-row-text);cursor:pointer}.Table-module_table__6A8SM tbody tr.Table-module_isRowDisabled__sz3NJ td{text-decoration:line-through}.Table-module_table__6A8SM tbody tr:not(.Table-module_isRowSelected__UhIAJ):hover{background:var(--ps-ui-element-bg-highlight);color:var(--ps-neutral-2);cursor:pointer}.Table-module_table__6A8SM tbody td,.Table-module_table__6A8SM tbody th{border:1px solid var(--ps-ui-border);padding:4px 10px;width:10%}.Table-module_loadingSpinner__SSjMK{margin-top:50px;text-align:center}.Table-module_pagination__VXgcO{display:flex;justify-content:flex-end}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRhYmxlLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLDJCQUVFLGtCQUFtQixDQURuQixVQUdGLENBQ0EsaUNBQ0UsdUVBQTZFLENBQzdFLG1FQUNGLENBQ0EsaUVBQ0UsY0FBZSxDQUNmLGdCQUNGLENBQ0EsbUVBR0UsNEJBQThDLENBQTlDLGlEQUE4QyxDQUY5QyxvQkFBcUIsQ0FLckIsZUFBZ0IsQ0FEaEIsaUJBQWtCLENBRGxCLE9BR0YsQ0FDQSwyRkFFRSx3REFBeUQsQ0FEekQsNEJBQTZCLENBRTdCLFFBQ0YsQ0FDQSw0RkFDRSxxREFBc0QsQ0FDdEQsT0FDRixDQUlBLGtEQUNFLG9DQUNGLENBQ0EsaUNBQ0UsY0FDRixDQUNBLG9DQUNFLGVBQW9CLENBQ3BCLGlCQUNGLENBQ0Esc0VBRUUscURBQXVELENBQ3ZELHdDQUF5QyxDQUZ6QyxjQUdGLENBQ0EseUV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b3I6IHZhcigtLXBzLW5ldXRyYWwtMik7XG4gIGJhY2tncm91bmQ6IHZhcigtLXBzLXVpLWVsZW1lbnQtYmctaGlnaGxpZ2h0KTtcbn1cbi50YWJsZSB0Ym9keSB0ZCxcbi50YWJsZSB0Ym9keSB0aCB7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIHBhZGRpbmc6IDRweCAxMHB4O1xuICB3aWR0aDogMTAlO1xufVxuXG4ubG9hZGluZ1NwaW5uZXIge1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIG1hcmdpbi10b3A6IDUwcHg7XG59XG5cbi5wYWdpbmF0aW9uIHtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcbn0iXX0= */");var ll="Button-module_button__Ed1ge",sl="Button-module_noIcon__Uzjvv",cl="Button-module_noBox__mLreC",dl="Button-module_customIcon__-slpC",ul="Button-module_iconWithText__DQRkr",ml="Button-module_default__HhXlQ",bl="Button-module_outline__Flf4r",fl="Button-module_float__4marx",hl="Button-module_primary__xByv0",gl="Button-module_secondary__D0K-F",pl="Button-module_danger__5-vIq",xl="Button-module_grouped__j8KwB";b(".Button-module_button__Ed1ge{border:1px solid var(--ps-ui-border);border-radius:4px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Button-module_button__Ed1ge[type=button],.Button-module_button__Ed1ge[type=reset],.Button-module_button__Ed1ge[type=submit]{-webkit-appearance:button}.Button-module_noIcon__Uzjvv{min-width:48px}.Button-module_noBox__mLreC{background:inherit!important;border:none;border-radius:none}.Button-module_customIcon__-slpC svg{margin-right:5px;vertical-align:-.125em;width:1rem}.Button-module_iconWithText__DQRkr{margin-right:5px}.Button-module_default__HhXlQ,.Button-module_float__4marx,.Button-module_outline__Flf4r{background:var(--ps-ui-element-bg-primary)}.Button-module_default__HhXlQ:hover:not(:disabled),.Button-module_float__4marx:hover:not(:disabled),.Button-module_outline__Flf4r:hover:not(:disabled){background-color:var(--ps-ui-element-bg-highlight)}.Button-module_default__HhXlQ:disabled,.Button-module_float__4marx:disabled,.Button-module_outline__Flf4r:disabled{color:var(--ps-disabled-button-text);pointer-events:none}.Button-module_primary__xByv0{background-color:var(--ps-button-switch-bg);border-color:transparent;color:var(--ps-button-switch-text)!important}.Button-module_primary__xByv0:hover{background-color:var(--ps-button-switch-bg-highlight)}.Button-module_primary__xByv0:disabled{background-color:var(--ps-green-disabled);pointer-events:none}.Button-module_secondary__D0K-F{background-color:var(--ps-blue-primary);border-color:transparent;color:var(--ps-immutable-off-white)}.Button-module_secondary__D0K-F:hover{background-color:var(--ps-blue-highlight)}.Button-module_secondary__D0K-F:disabled{background-color:var(--ps-blue-disabled);pointer-events:none}.Button-module_float__4marx{background-color:transparent;border-color:transparent}.Button-module_danger__5-vIq{background-color:var(--ps-red-primary);border-color:transparent;color:var(--ps-neutral-2)}.Button-module_danger__5-vIq:hover{background-color:var(--ps-red-highlight)}.Button-module_danger__5-vIq:disabled{background-color:var(--ps-red-disabled);pointer-events:none}.Button-module_outline__Flf4r{background-color:transparent}.Button-module_outline__Flf4r:hover:not(:disabled){background-color:rgba(144,202,249,.08)}.Button-module_grouped__j8KwB{border-radius:0;border-right:0;margin:0;padding-left:12px;padding-right:12px}.Button-module_grouped__j8KwB:first-child{border-left:1px solid var(--ps-ui-border);border-radius:4px 0 0 4px}.Button-module_grouped__j8KwB:last-child{border-radius:0 4px 4px 0;border-right:1px solid var(--ps-ui-border)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJ1dHRvbi5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw2QkFLRSxvQ0FBcUMsQ0FDckMsaUJBQWtCLENBRmxCLGNBQWUsQ0FGZixlQUFnQixDQUNoQixzQkFBdUIsQ0FGdkIsa0JBTUYsQ0FDQSw2SEFDRSx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1wcmltYXJ5KTtcbn1cbi5kYW5nZXI6aG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy1yZWQtaGlnaGxpZ2h0KTtcbn1cbi5kYW5nZXI6ZGlzYWJsZWQge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy1yZWQtZGlzYWJsZWQpO1xuICBwb2ludGVyLWV2ZW50czogbm9uZTtcbn1cblxuLm91dGxpbmUge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDtcbn1cbi5vdXRsaW5lOmhvdmVyOm5vdCg6ZGlzYWJsZWQpIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgxNDQsIDIwMiwgMjQ5LCAwLjA4KTtcbn1cblxuLmdyb3VwZWQge1xuICBtYXJnaW46IDA7XG4gIGJvcmRlci1yaWdodDogMDtcbiAgYm9yZGVyLXJhZGl1czogMDtcbiAgcGFkZGluZy1sZWZ0OiAxMnB4O1xuICBwYWRkaW5nLXJpZ2h0OiAxMnB4O1xufVxuXG4uZ3JvdXBlZDpmaXJzdC1jaGlsZCB7XG4gIGJvcmRlci1sZWZ0OiAxcHggc29saWQgdmFyKC0tcHMtdWktYm9yZGVyKTtcbiAgYm9yZGVyLXJhZGl1czogNHB4IDAgMCA0cHg7XG59XG5cbi5ncm91cGVkOmxhc3QtY2hpbGQge1xuICBib3JkZXItcmlnaHQ6IDFweCBzb2xpZCB2YXIoLS1wcy11aS1ib3JkZXIpO1xuICBib3JkZXItcmFkaXVzOiAwIDRweCA0cHggMDtcbn0iXX0= */");const Ql=t.forwardRef(function({disabled:t=!1,kind:a="default",type:n="button",icon:i,iconNode:o,children:r,grouped:l,onClick:s,id:c,className:d,form:u,noBox:m,autoFocus:b,...f},h){return e.jsxs("button",{...f,id:c,ref:h,type:n,"data-testid":f["data-testid"],disabled:t,onClick:s,form:u,autoFocus:b,"aria-label":f["aria-label"],className:$r(ll,l?xl:"",vl(a),d,m&&cl,o&&dl,!i&&!o&&sl),children:[i?e.jsx(Hn,{icon:i,className:r?ul:""}):null,o,r]})});function vl(e){switch(e){case"default":return ml;case"primary":return hl;case"secondary":return gl;case"danger":return pl;case"outline":return bl;case"float":return fl;default:throw Error(`Unsupported kind ${e}`)}}function Gl({sortByDirection:a,sortBy:n,updateSortParams:i,table:o,tableBodyRef:r,className:l,isLoading:s,itemsPerPage:c}){const d=a&&n&&i,[u,m]=t.useState(0);return s?e.jsx("div",{className:rl.loadingSpinner}):e.jsxs(e.Fragment,{children:[e.jsxs("table",{className:Vi(rl.table,{[l||""]:l}),"data-testid":"table-ui",children:[e.jsx("thead",{children:e.jsx("tr",{children:o.headRow.map(({sortable:r,label:l,name:s,...c},u)=>r&&"not-filled"!==o.type&&d?t.createElement("th",{...c,key:u,className:rl.sortable,onClick:()=>i(s)},l,e.jsx("span",{className:Vi(rl.sortArrow,{[rl[a]]:n===s})})):e.jsx("th",{...c,children:l},u))})}),e.jsx("tbody",{ref:r,children:"not-filled"===o.type?e.jsx("tr",{className:null==o?void 0:o.bodyClassName,children:e.jsx("td",{colSpan:o.headRow.length,children:o.value})}):yl(o.bodyRows,u,c).map(({cells:t,isRowSelected:a,isRowDisabled:n,className:i,...o})=>{const r=Math.random();return e.jsx("tr",{...o,className:Vi(i,{[rl.isRowSelected]:a,[rl.isRowDisabled]:n}),children:t&&t.map(({style:t,value:a,...n},i)=>e.jsx("td",{style:t,...n,children:a},r+i))},r)})})]}),e.jsx(Il,{bodyRows:"filled"===o.type?o.bodyRows:void 0,itemsPerPage:c,currPage:u,setCurrPage:m})]})}function yl(e,t,a){return a?e.slice(t*a,a*(t+1)):e}function Il({itemsPerPage:t,currPage:a,setCurrPage:n,bodyRows:i}){if(!t)return null;const o=!!i&&yl(i,a+1,t).length>0,r=!!i&&yl(i,a-1,t).length>0;return e.jsxs("nav",{className:rl.pagination,children:[e.jsx(Ql,{"aria-label":"Previous Page",disabled:!r,kind:"float",icon:al.faChevronLeft,onClick:()=>n(a-1)}),e.jsx(Ql,{disabled:!o,"aria-label":"Next Page",kind:"float",icon:ol.faChevronRight,onClick:()=>n(a+1)})]})}function Bl({numTicks:a,sampleRate:n,units:i,tableBodyRef:o,palette:r}){const l=gi(a,n,i),s=l.format(a,n),c=vr(),d=t.useCallback((e,t,a)=>{var o;const d=null===(o=a.target.closest("tr"))||void 0===o?void 0:o.dataset.row;if(!d)return void t();const[u,m,...b]=d.split(";");switch(u){case"single":{const[t,a]=b,o=l.format(parseInt(t,10),n),r=l.format(parseInt(a,10),n),c=s.split(" "),d="<"===c[0]?c[1]:c[0],u=o.split(" "),f="<"===u[0]?u[1]:u[0],h=r.split(" "),g="<"===h[0]?h[1]:h[0];e({title:{text:m,diff:{text:"",color:""}},tooltipData:[{units:i,self:`${o}(${(parseFloat(f)/parseFloat(d)*100).toFixed(2)}%)`,total:`${r}(${(parseFloat(g)/parseFloat(d)*100).toFixed(2)}%)`,tooltipType:"table"}]});break}case"double":{const[t,a,o,s]=b,d=wr({formatter:l,sampleRate:n,totalLeft:parseInt(t,10),leftTicks:parseInt(a,10),totalRight:parseInt(o,10),rightTicks:parseInt(s,10),title:m,units:i},r,c);e({title:d.title,tooltipData:d.tooltipData});break}}},[l,n,i,s,r,c]);return e.jsx(Fr,{dataSourceRef:o,shouldShowTitle:!1,clickInfoSide:"left",setTooltipContent:d,palette:r})}const Fl=e=>e||0;function Zl(e,t,a,n){const i=t;return i.type="single",i.self=Fl(i.self)+e.getBarSelf(a,n),i.total=Fl(i.total)+e.getBarTotal(a,n),i}function Nl(e,t,a,n,i,o){const r=t;return r.type="double",r.self=Fl(r.self)+e.getBarSelf(a,n),r.total=Fl(r.total)+e.getBarTotal(a,n),r.selfLeft=Fl(r.selfLeft)+e.getBarSelfLeft(a,n),r.selfRght=Fl(r.selfRght)+e.getBarSelfRght(a,n),r.selfDiff=Fl(r.selfDiff)+e.getBarSelfDiff(a,n),r.totalLeft=Fl(r.totalLeft)+e.getBarTotalLeft(a,n),r.totalRght=Fl(r.totalRght)+e.getBarTotalRght(a,n),r.totalDiff=Fl(r.totalDiff)+e.getBarTotalDiff(a,n),r.leftTicks=i,r.rightTicks=o,r}function Ll(e,t,a){const n=148-e/t*148,i=a.alpha(1);return{backgroundImage:`linear-gradient(${i}, ${i})`,backgroundPosition:`-${n}px 0px`,backgroundRepeat:"no-repeat"}}const wl=({flamebearer:t,sortBy:a,sortByDirection:n,fitMode:i,handleTableItemClick:o,highlightQuery:r,palette:l,selectedItem:s,messages:c})=>{const{numTicks:d,maxSelf:u,sampleRate:m,spyName:b,units:f}=t,h=function(e){if(!e)return[];const{names:t,levels:a,format:n}=e,i="double"!==n?ai:ni,o=new Map;for(let r=0;r<a.length;r++){const l=a[r];for(let a=0;a<l.length;a+=i.jStep){const r=t[i.getBarName(l,a)];o.has(r)||o.set(r,{name:r||"<empty>",self:0,total:0});const s=o.get(r);if(!s)break;"single"===n?Zl(ai,s,l,a):Nl(ni,s,l,a,e.leftTicks,e.rightTicks)}}return Array.from(o.values())}(t).sort((e,t)=>t.total-e.total),g="asc"===n?1:-1;let p;if("name"===a)p=h.sort((e,t)=>g*e[a].localeCompare(t[a]));else switch(a){case"total":case"self":p=h.sort((e,t)=>g*(e[a]-t[a]));break;case"baseline":p=h.sort((e,t)=>g*(e.totalLeft/e.leftTicks-t.totalLeft/t.leftTicks));break;case"comparison":p=h.sort((e,t)=>g*(e.totalRght/e.rightTicks-t.totalRght/t.rightTicks));break;case"diff":p=h.sort((e,t)=>{const a=hi(fi(e.totalLeft/e.leftTicks),fi(e.totalRght/e.rightTicks)),n=hi(fi(t.totalLeft/t.leftTicks),fi(t.totalRght/t.rightTicks));return g*(a-n)});break;default:p=h}const x=gi(d,m,f),Q=e=>!!s.isJust&&e===s.value,v=t=>{return e.jsx("button",{className:"table-item-button",children:e.jsx("div",{className:"symbol-name",style:(a=i,a===Gi?{direction:"rtl",overflow:"hidden",textOverflow:"ellipsis"}:{overflow:"hidden",textOverflow:"ellipsis"}),children:t.name})});var a},G=p.filter(e=>!r||Li(r,e.name)).map(e=>{if("double"===e.type)return(e=>{const t=fi(e.totalLeft/e.leftTicks),a=fi(e.totalRght/e.rightTicks),n=hi(t,a);let i="";n>0?i=l.badColor.rgb().string():n<0&&(i=l.goodColor.rgb().string());let r="";return e.totalLeft&&n!==1/0?e.totalRght?n>0?r=`+${n.toFixed(2)}%`:n<0&&(r=`${n.toFixed(2)}%`):r=c.diffRemoved:r=c.diffNew,{"data-row":`${e.type};${e.name};${e.totalLeft};${e.leftTicks};${e.totalRght};${e.rightTicks}`,isRowSelected:Q(e.name),onClick:()=>o(e),cells:[{value:v(e)},{value:`${t} %`},{value:`${a} %`},{value:r,style:{color:i}}]}})(e);const t=Fi(b,e.name);return((e,t)=>({"data-row":`${e.type};${e.name};${e.self};${e.total}`,isRowSelected:Q(e.name),onClick:()=>o(e),cells:[{value:v(e)},{value:x.format(e.self,m),style:Ll(e.self,u,t)},{value:x.format(e.total,m),style:Ll(e.total,d,t)}]}))(e,Zi(l,t))});return G.length>0?{bodyRows:G,type:"filled"}:{value:e.jsx("div",{className:"unsupported-format",children:c.noItemsFound}),type:"not-filled"}};function Xl({tableBodyRef:a,flamebearer:n,isDoubles:i,fitMode:o,handleTableItemClick:r,highlightQuery:l,selectedItem:s,palette:c}){const d=vr(),u=t.useMemo(()=>i?[{sortable:1,name:"name",label:d.location},{sortable:1,name:"baseline",label:d.baseline,default:!0},{sortable:1,name:"comparison",label:d.comparison},{sortable:1,name:"diff",label:d.diff}]:[{sortable:1,name:"name",label:d.location},{sortable:1,name:"self",label:d.self,default:!0},{sortable:1,name:"total",label:d.total}],[d,i]),m=(e=>{const a=e.filter(e=>null==e?void 0:e.default)[0]||e[0],[n,i]=t.useState(a.name),[o,r]=t.useState("desc");return{sortBy:n,sortByDirection:o,updateSortParams:e=>{let t=o;t=n===e?"asc"===t?"desc":"asc":"desc",i(e),r(t)}}})(u),b={headRow:u,...wl({flamebearer:n,sortBy:m.sortBy,sortByDirection:m.sortByDirection,fitMode:o,handleTableItemClick:r,highlightQuery:l,palette:c,selectedItem:s,messages:d})};return e.jsx(Gl,{...m,tableBodyRef:a,table:b,className:$r("flamegraph-table",{"flamegraph-table-doubles":i})})}const Wl=t.memo(function({flamebearer:a,fitMode:n,handleTableItemClick:i,highlightQuery:o,palette:r,selectedItem:l}){const s=t.useRef(null),c="double"===a.format;return e.jsxs("div",{"data-testid":"table-view",className:c?"flamegraph-table-wrapper flamegraph-table-wrapper--double":"flamegraph-table-wrapper",children:[e.jsx("div",{className:"flamegraph-table-scroll",children:e.jsx(Xl,{tableBodyRef:s,flamebearer:a,isDoubles:c,fitMode:n,highlightQuery:o,handleTableItemClick:i,palette:r,selectedItem:l})}),e.jsx(Bl,{tableBodyRef:s,numTicks:a.numTicks,sampleRate:a.sampleRate,units:a.units,palette:r})]})});var Cl,Rl,Dl={},Ul={};function kl(){return Cl||(Cl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="arrow-rotate-left",a=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],n="f0e2",i="M256 64c-56.8 0-107.9 24.7-143.1 64l47.1 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 192c-17.7 0-32-14.3-32-32L0 32C0 14.3 14.3 0 32 0S64 14.3 64 32l0 54.7C110.9 33.6 179.5 0 256 0 397.4 0 512 114.6 512 256S397.4 512 256 512c-87 0-163.9-43.4-210.1-109.7-10.1-14.5-6.6-34.4 7.9-44.6s34.4-6.6 44.6 7.9c34.8 49.8 92.4 82.3 157.6 82.3 106 0 192-86 192-192S362 64 256 64z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,i]},e.faArrowRotateLeft=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(Ul)),Ul}function Yl(){return Rl||(Rl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=kl();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faUndo=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Dl)),Dl}var Vl,jl,_l=Yl(),Sl={},Ml={};function Jl(){return Vl||(Vl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="diagram-project",a=["project-diagram"],n="f542",i="M0 80C0 53.5 21.5 32 48 32l96 0c26.5 0 48 21.5 48 48l0 16 128 0 0-16c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-16-128 0 0 16c0 7.3-1.7 14.3-4.6 20.5l68.6 91.5 80 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-7.3 1.7-14.3 4.6-20.5L128 224 48 224c-26.5 0-48-21.5-48-48L0 80z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,i]},e.faDiagramProject=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(Ml)),Ml}function El(){return jl||(jl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Jl();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faProjectDiagram=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Sl)),Sl}var zl,Al,Ol=El(),Hl={},Tl={};function Pl(){return zl||(zl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="ellipsis-vertical",a=["ellipsis-v"],n="f142",i="M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z";e.definition={prefix:"fas",iconName:t,icon:[128,512,a,n,i]},e.faEllipsisVertical=e.definition,e.prefix="fas",e.iconName=t,e.width=128,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(Tl)),Tl}function Kl(){return Al||(Al=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Pl();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faEllipsisV=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Hl)),Hl}var $l=Kl();function ql(e){if(null!=e&&!1!==e){if("string"==typeof e||"number"==typeof e)return String(e);if(Array.isArray(e)){const t=e.map(e=>ql(e)).filter(e=>!!e);return t.length?t.join(" "):void 0}return t.isValidElement(e)?ql(e.props.children):void 0}}const es=({placement:t,title:a,content:n,children:i})=>{const o=ql(null!=a?a:n);return o?e.jsx("span",{title:o,children:i}):e.jsx(e.Fragment,{children:i})};var ts,as={};function ns(){return ts||(ts=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="link",a=[128279,"chain"],n="f0c1",i="M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z";e.definition={prefix:"fas",iconName:t,icon:[576,512,a,n,i]},e.faLink=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(as)),as}var is=ns(),os="Input-module_input__ulQdV";b(".Input-module_input__ulQdV,.Input-module_input__ulQdV:focus,.Input-module_input__ulQdV:focus:active{outline:none}.Input-module_input__ulQdV{border:1px solid var(--ps-ui-border);border-radius:4px;display:inline-block;padding:.25em .375em;position:relative}.Input-module_input__ulQdV[type=search]{-webkit-appearance:textfield;outline-offset:-2px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIklucHV0Lm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU1BLG9HQUNFLFlBQ0YsQ0FDQSwyQkFLRSxvQ0FBcUMsQ0FGckMsaUJBQWtCLENBRmxCLG9CQUFxQixDQUdyQixvQkFBdUIsQ0FGdkIsaUJBSUYsQ0FDQSx3Q0FDRSw0QkFBNkIsQ0FDN0IsbUJBQ0YiLCJmaWxlIjoiSW5wdXQubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuaW5wdXQge1xuICBvdXRsaW5lOiBub25lO1xufVxuLmlucHV0OmZvY3VzIHtcbiAgb3V0bGluZTogbm9uZTtcbn1cbi5pbnB1dDpmb2N1czphY3RpdmUge1xuICBvdXRsaW5lOiBub25lO1xufVxuLmlucHV0IHtcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgcGFkZGluZzogMC4yNWVtIDAuMzc1ZW07XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG59XG4uaW5wdXRbdHlwZT1zZWFyY2hdIHtcbiAgLXdlYmtpdC1hcHBlYXJhbmNlOiB0ZXh0ZmllbGQ7XG4gIG91dGxpbmUtb2Zmc2V0OiAtMnB4O1xufSJdfQ== */");const rs=t.forwardRef(({testId:t,className:a,type:n,name:i,placeholder:o,minLength:r=0,debounceTimeout:l=100,onChange:s,value:d,htmlId:u},m)=>e.jsx(c.DebounceInput,{inputRef:m,"data-testid":t,className:`${os} ${a||""}`,type:n,name:i,placeholder:o,minLength:r,debounceTimeout:l,onChange:s,value:d,id:u}));var ls="SharedQueryInput-module_wrapper__XRxrd",ss="SharedQueryInput-module_search__XlzRv",cs="SharedQueryInput-module_search-synced__J4T4b",ds="SharedQueryInput-module_searchWithSync__ryuQa",us="SharedQueryInput-module_icon__Aq0Hv",ms="SharedQueryInput-module_checked__oRvod",bs="SharedQueryInput-module_sync__0IO2N",fs="SharedQueryInput-module_syncSelected__hstBI";b(".SharedQueryInput-module_wrapper__XRxrd{align-items:center;display:flex;flex-direction:row;width:100%}.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_search__XlzRv{background:var(--ps-immutable-white);border:1px solid var(--ps-ui-border);color:rgba(0,0,0,.65);display:flex;font:inherit;height:37px;margin-right:1.5px;transition:background-color .1s ease-out,border-color .1s ease-out,box-shadow .1s ease-out;width:100%}.SharedQueryInput-module_search-synced__J4T4b::placeholder,.SharedQueryInput-module_searchWithSync__ryuQa::placeholder,.SharedQueryInput-module_search__XlzRv::placeholder{color:rgba(0,0,0,.25)}.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_kylin__Fp93M,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_light__yewPS{background:var(--ps-immutable-white);border-color:var(--ps-ui-border);color:rgba(0,0,0,.65)}@media (prefers-color-scheme:dark){.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_search__XlzRv,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_dark__lvctB{background:var(--ps-immutable-dark-background);border-color:var(--ps-ui-border-dark);color:hsla(0,0%,100%,.75)}.SharedQueryInput-module_search-synced__J4T4b::placeholder,.SharedQueryInput-module_searchWithSync__ryuQa::placeholder,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_dark__lvctB::placeholder,.SharedQueryInput-module_search__XlzRv::placeholder{color:hsla(0,0%,100%,.75)}}.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_search-synced__J4T4b:focus,.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_searchWithSync__ryuQa:focus,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_search-synced__J4T4b:focus,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_searchWithSync__ryuQa:focus,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_kylin__Fp93M:focus,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_light__yewPS:focus{background:var(--ps-immutable-white);border-color:#5d976f;box-shadow:0 0 0 2px rgba(93,151,111,.2);outline:none}@media (prefers-color-scheme:dark){.SharedQueryInput-module_dark__lvctB.SharedQueryInput-module_search-synced__J4T4b:focus,.SharedQueryInput-module_dark__lvctB.SharedQueryInput-module_searchWithSync__ryuQa:focus,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_dark__lvctB:focus{background:var(--ps-immutable-dark-background);border-color:#5d976f;box-shadow:0 0 0 2px rgba(93,151,111,.2);outline:none}}.SharedQueryInput-module_searchWithSync__ryuQa{border-bottom-right-radius:0;border-right:1px solid var(--ps-ui-border);border-top-right-radius:0;margin-right:0}.SharedQueryInput-module_search-synced__J4T4b{border-color:var(--ps-immutable-linked-border)}.SharedQueryInput-module_checked__oRvod,.SharedQueryInput-module_icon__Aq0Hv{cursor:pointer}.SharedQueryInput-module_checked__oRvod path,.SharedQueryInput-module_icon__Aq0Hv path{fill:var(--ps-grey-primary)}.SharedQueryInput-module_checked__oRvod path{fill:var(--ps-immutable-linked-border)}.SharedQueryInput-module_syncSelected__hstBI,.SharedQueryInput-module_sync__0IO2N{align-items:center;align-self:stretch;background-color:var(--ps-immutable-off-white);border:none;border:1px solid var(--ps-ui-border);border-bottom-right-radius:4px;border-left:none;border-top-right-radius:4px;cursor:pointer;display:flex;justify-content:center;position:relative;width:40px}.SharedQueryInput-module_syncSelected__hstBI{border-bottom-color:var(--ps-immutable-linked-border);border-right-color:var(--ps-immutable-linked-border);border-top-color:var(--ps-immutable-linked-border)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNoYXJlZFF1ZXJ5SW5wdXQubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0Esd0NBR0Usa0JBQW1CLENBRm5CLFlBQWEsQ0FDYixrQkFBbUIsQ0FFbkIsVUFDRixDQUVBLG9JQUNFLG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cHggc29saWQgdmFyKC0tcHMtdWktYm9yZGVyKTtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBib3JkZXItbGVmdDogbm9uZTtcbiAgZGlzcGxheTogZmxleDtcbiAgYWxpZ24tc2VsZjogc3RyZXRjaDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG59XG5cbi5zeW5jU2VsZWN0ZWQge1xuICBib3JkZXItdG9wLWNvbG9yOiB2YXIoLS1wcy1pbW11dGFibGUtbGlua2VkLWJvcmRlcik7XG4gIGJvcmRlci1yaWdodC1jb2xvcjogdmFyKC0tcHMtaW1tdXRhYmxlLWxpbmtlZC1ib3JkZXIpO1xuICBib3JkZXItYm90dG9tLWNvbG9yOiB2YXIoLS1wcy1pbW11dGFibGUtbGlua2VkLWJvcmRlcik7XG59Il19 */");const hs=({onHighlightChange:a,highlightQuery:n,sharedQuery:i,width:o})=>{const r=vr(),l=(e=>{const a=t.useRef();return t.useEffect(()=>{a.current=e},[e]),a.current})(null==i?void 0:i.syncEnabled);t.useEffect(()=>{"string"==typeof(null==i?void 0:i.searchQuery)&&(i.syncEnabled&&a(i.searchQuery),!i.syncEnabled&&l&&l!==(null==i?void 0:i.id)&&a(""))},[null==i?void 0:i.searchQuery,null==i?void 0:i.syncEnabled]);const s=t.useMemo(()=>i&&i.syncEnabled?i.searchQuery||"":n,[i,n]),c=t.useMemo(()=>`${i?ds:ss} ${(null==i?void 0:i.syncEnabled)?cs:""}`,[i]),d=(null==i?void 0:i.syncEnabled)?r.unsyncSearchBars:r.syncSearchBars;return e.jsxs("div",{className:ls,style:{width:o},children:[e.jsx(rs,{testId:"flamegraph-search",className:c,type:"search",name:"flamegraph-search",placeholder:r.searchPlaceholder,minLength:1,debounceTimeout:100,onChange:e=>{a(e.target.value),i&&i.syncEnabled&&i.onQueryChange(e.target.value)},value:s}),i?e.jsx(es,{placement:"top",title:d,children:e.jsx("button",{className:i.syncEnabled?fs:bs,onClick:()=>{const e=!(null==i?void 0:i.syncEnabled)&&(null==i?void 0:i.id);null==i||i.toggleSync(e),e?null==i||i.onQueryChange(n):(a(n),null==i||i.onQueryChange(""))},children:e.jsx(Hn,{className:`${i.syncEnabled?ms:us}`,icon:is.faLink})})}):null]})};var gs="DiffLegend-module_flamegraph-legend__Cywr1",ps="DiffLegend-module_flamegraph-legend-list__swdXj",xs="DiffLegend-module_flamegraph-legend-item__0P-6g";function Qs(t){const{palette:a,showMode:n}=t,i=function(e){switch(e){case"large":return[-100,-80,-60,-40,-20,-10,0,10,20,40,60,80,100];case"small":return[-100,-40,-20,0,20,40,100];default:throw new Error(`Unsupported ${e}`)}}(n),o=Ni(a);return e.jsx("div",{"data-testid":"flamegraph-legend",className:`${gs} ${ps}`,children:i.map(t=>e.jsxs("div",{className:xs,style:{backgroundColor:o(t).rgb().toString()},children:[t>0?"+":"",t,"%"]},t))})}function vs(){return e.jsx("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"12px",height:"12px",viewBox:"0 0 405.272 405.272",children:e.jsx("g",{children:e.jsx("path",{d:"M393.401,124.425L179.603,338.208c-15.832,15.835-41.514,15.835-57.361,0L11.878,227.836\n\n\t\tc-15.838-15.835-15.838-41.52,0-57.358c15.841-15.841,41.521-15.841,57.355-0.006l81.698,81.699L336.037,67.064\n\n\t\tc15.841-15.841,41.523-15.829,57.358,0C409.23,82.902,409.23,108.578,393.401,124.425z"})})})}b(".DiffLegend-module_flamegraph-legend__Cywr1{align-items:center;display:flex;font-size:11px;justify-content:center}.DiffLegend-module_flamegraph-legend-list__swdXj{display:flex;justify-content:center}.DiffLegend-module_flamegraph-legend-item__0P-6g{overflow:hidden;text-align:center;white-space:nowrap;width:37px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpZmZMZWdlbmQubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw0Q0FFRSxrQkFBbUIsQ0FEbkIsWUFBYSxDQUViLGNBQWUsQ0FDZixzQkFDRixDQUVBLGlEQUNFLFlBQWEsQ0FDYixzQkFDRixDQUVBLGlEQU9FLGVBQWdCLENBTGhCLGlCQUFrQixDQUlsQixrQkFBbUIsQ0FMbkIsVUFPRiIsImZpbGUiOiJEaWZmTGVnZW5kLm1vZHVsZS5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZmxhbWVncmFwaC1sZWdlbmQge1xuICBkaXNwbGF5OiBmbGV4O1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBmb250LXNpemU6IDExcHg7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xufVxuXG4uZmxhbWVncmFwaC1sZWdlbmQtbGlzdCB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xufVxuXG4uZmxhbWVncmFwaC1sZWdlbmQtaXRlbSB7XG4gIHdpZHRoOiAzN3B4O1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG5cbiAgLyogaWYgZm9yIHNvbWUgcmVhc29uIHRoZSBjb250ZW50cyBjYW4ndCBmaXQgXG4gICAqIGRvbid0IGJyZWFrIGludG8gMiBsaW5lcyAqL1xuICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICBvdmVyZmxvdzogaGlkZGVuO1xufVxuIl19 */");var Gs="Dropdown-module_dropdownMenu__tbN8r",ys="Dropdown-module_dropdownMenuButton__Xy8M4";function Is({id:t,children:a,className:n,disabled:i,value:o,label:r,onItemClick:l,overflow:s,position:c,direction:d,align:u,viewScroll:m,arrow:b,menuButtonClassName:f="",ariaLabel:h,portal:g,...p}){const x=p.menuButton||e.jsx(Fs,{"aria-label":h,className:`${ys} ${f}`,disabled:i,type:"button",children:o||r});return e.jsxs(tr,{id:t,"aria-label":h,className:$r(n,Gs),"data-testid":p["data-testid"],onItemClick:l,overflow:s,position:c,direction:d,align:u,viewScroll:m,arrow:b,menuButton:x,portal:g,children:[e.jsx(ir,{children:r}),a]})}b('@charset "UTF-8";.Dropdown-module_dropdownMenu__tbN8r{box-shadow:0 2px 6px var(--ps-dropdown-shadow)!important;padding:.25rem 0}.Dropdown-module_dropdownMenu__tbN8r,.Dropdown-module_dropdownMenu__tbN8r ul[class*=szh-menu]{background-color:var(--ps-dropdown-background)!important;color:var(--ps-neutral-2)!important}.Dropdown-module_dropdownMenu__tbN8r li[class=szh-menu__header]{text-align:left}.Dropdown-module_dropdownMenu__tbN8r div[class*=hover],.Dropdown-module_dropdownMenu__tbN8r li[class*=hover]{background-color:var(--ps-ui-element-bg-highlight)}.Dropdown-module_dropdownMenu__tbN8r [class*=szh-menu--open]:empty{display:none}.Dropdown-module_dropdownMenu__tbN8r [class*="szh-menu__item active"]{background-color:var(--ps-ui-element-bg-highlight);color:var(--ps-selected-app)}.Dropdown-module_dropdownMenu__tbN8r [class*=szh-menu__item--focusable]{background-color:inherit!important;padding-bottom:1rem;padding-top:1rem}.Dropdown-module_dropdownMenu__tbN8r [class*=szh-menu__item--focusable] input{width:100%}.Dropdown-module_dropdownMenuButton__Xy8M4{background-color:var(--ps-ui-element-bg-primary);border:1px solid var(--ps-ui-border);border-radius:4px;display:flex;flex-shrink:0;margin-right:5px;outline:none;padding-right:20px;position:relative}.Dropdown-module_dropdownMenuButton__Xy8M4:after{content:"▾";position:absolute;right:5px;top:3px}.Dropdown-module_dropdownMenuButton__Xy8M4:hover{background-color:var(--ps-ui-element-bg-highlight);cursor:pointer}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRyb3Bkb3duLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZDQSxnQkFLQSxDQWpEQSxxQ0FFRSx3REFBNEQsQ0FENUQsZ0JBSUYsQ0FDQSw4RkFIRSx3REFBMEQsQ0FDMUQsbUNBS0YsQ0FDQSx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1xuICBwYWRkaW5nLXJpZ2h0OiAyMHB4O1xufVxuLmRyb3Bkb3duTWVudUJ1dHRvbjo6YWZ0ZXIge1xuICBjb250ZW50OiBcIuKWvlwiO1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogM3B4O1xuICByaWdodDogNXB4O1xufVxuLmRyb3Bkb3duTWVudUJ1dHRvbjpob3ZlciB7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcHMtdWktZWxlbWVudC1iZy1oaWdobGlnaHQpO1xufSJdfQ== */');const Bs=nr,Fs=ko;var Zs="DiffLegendPaletteDropdown-module_container__h8Tts",Ns="DiffLegendPaletteDropdown-module_triggerButton__oezA6",Ls="DiffLegendPaletteDropdown-module_dropdownArrow__-Lu0w",ws="DiffLegendPaletteDropdown-module_menuItem__5iWry",Xs="DiffLegendPaletteDropdown-module_menuItemText__a-tt0";b(".DiffLegendPaletteDropdown-module_container__h8Tts{align-items:center;display:flex}.DiffLegendPaletteDropdown-module_triggerButton__oezA6{align-items:center;background-color:var(--ps-immutable-off-white);border:1px solid var(--ps-ui-border);border-radius:4px;cursor:pointer;display:flex;gap:6px;height:37px;padding:4px 8px}.DiffLegendPaletteDropdown-module_triggerButton__oezA6:hover{background-color:var(--ps-ui-element-bg-highlight)}.DiffLegendPaletteDropdown-module_dropdownArrow__-Lu0w{color:var(--ps-text-secondary);font-size:8px;margin-left:4px}.DiffLegendPaletteDropdown-module_menuItem__5iWry{align-items:center;display:flex;gap:12px;justify-content:space-between;min-width:200px;padding:4px 0}.DiffLegendPaletteDropdown-module_menuItemText__a-tt0{color:var(--ps-text-primary);font-size:13px}.DiffLegendPaletteDropdown-module_row__Dgure{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:2px}.DiffLegendPaletteDropdown-module_row__Dgure p{font-size:13px;margin:0}.DiffLegendPaletteDropdown-module_dropdownWrapper__oQiLG{display:flex}.DiffLegendPaletteDropdown-module_diffPaletteDropdown__-mtm9{background-color:var(--ps-immutable-off-white);border:1px solid var(--ps-ui-border);border-radius:4px;cursor:pointer;padding:4px 8px}.DiffLegendPaletteDropdown-module_diffPaletteDropdown__-mtm9:hover{background-color:var(--ps-ui-element-bg-highlight)}.DiffLegendPaletteDropdown-module_dropdownItem__qp936{align-items:center;display:flex;gap:8px;margin-top:4px}.DiffLegendPaletteDropdown-module_dropdownItem__qp936 svg{flex-shrink:0;height:16px;width:16px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpZmZMZWdlbmRQYWxldHRlRHJvcGRvd24ubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxtREFFRSxrQkFBbUIsQ0FEbkIsWUFFRixDQUdBLHVEQUVFLGtCQUFtQixDQUtuQiw4Q0FBK0MsQ0FGL0Msb0NBQXFDLENBQ3JDLGlCQUFrQixDQUVsQixjQUFlLENBUGYsWUFBYSxDQUViLE9BQVEsQ0FNUixXQUFZLENBTFosZUFNRixDQUVBLDZEQUNFLGtEQUNGLENBRUEsdURBRUUsOEJBQStCLENBRC9CLGFBQWMsQ0FFZCxlQUNGLENBR0Esa0RBRUUsa0JBQW1CLENBRG5CLFlBQWEsQ0FHYixRQUFTLENBRFQsNkJBQThCLENBRTlCLGVBQWdCLENBQ2hCLGFBQ0YsQ0FFQSxzREFDRSw0QkFBNkIsQ0FDN0IsY0FDRixDQUlBLDZDQUNFLFlBQWEsQ0FDYixrQkFBbUIsQ0FDbkIsNkJBQThCLENBQzlCLGtCQUNGLENBRUEsK0NBQ0UsY0FBZSxDQUNmLFFBQ0YsQ0FFQSx5REFDRSxZQUNGLENBRUEsNkRBS0UsOENBQStDLENBSC9DLG9DQUFxQyxDQUNyQyxpQkFBa0IsQ0FGbEIsY0FBZSxDQUdmLGVBRUYsQ0FFQSxtRUFDRSxrREFDRixDQUVBLHNEQUVFLGtCQUFtQixDQURuQixZQU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tYXJnaW4tdG9wOiA0cHg7XG59XG5cbi5kcm9wZG93bkl0ZW0gc3ZnIHtcbiAgd2lkdGg6IDE2cHg7XG4gIGhlaWdodDogMTZweDtcbiAgZmxleC1zaHJpbms6IDA7XG59XG4iXX0= */");const Ws=[ur,mr],Cs=t=>{const{palette:a=ur,onChange:n}=t,i=vr(),o=e=>"Default"===e.name?i.paletteDefaultName:"Color Blind"===e.name?i.paletteColorBlindName:e.name,r=e=>"Default"===e.name?i.paletteDefaultDesc:"Color Blind"===e.name?i.paletteColorBlindDesc:"";return e.jsx("div",{className:Zs,children:e.jsx(Is,{label:i.diffLegendSelectPalette,align:"end",menuButton:e.jsxs(Fs,{className:$r(ys,Ns),children:[e.jsx(Qs,{palette:a,showMode:"small"}),e.jsx("span",{className:Ls,children:"▼"})]}),onItemClick:e=>{e.value&&n(e.value)},children:Ws.map(t=>e.jsx(Bs,{value:t,children:e.jsxs("div",{className:ws,children:[e.jsxs("span",{className:Xs,children:[o(t)," ",r(t)]}),t.name===a.name&&e.jsx(vs,{})]})},t.name))})})};var Rs={navbar:"Toolbar-module_navbar__XN6xZ",searchWrapper:"Toolbar-module_searchWrapper__k--ua",rightSection:"Toolbar-module_rightSection__if7LO",viewType:"Toolbar-module_viewType__AKARg",toggleViewButton:"Toolbar-module_toggleViewButton__OQ9-U",fitModeButton:"Toolbar-module_fitModeButton__jOxve",selected:"Toolbar-module_selected__vwBQt",collapseNodeButton:"Toolbar-module_collapseNodeButton__bLdiw",resetViewButton:"Toolbar-module_resetViewButton__y2ebV",divider:"Toolbar-module_divider__dG6pE",itemsContainer:"Toolbar-module_itemsContainer__gSTMF",item:"Toolbar-module_item__o-hKc",moreButton:"Toolbar-module_moreButton__rhOdT",active:"Toolbar-module_active__36Kt-",navbarCollapsedItems:"Toolbar-module_navbarCollapsedItems__vojhw"};b(".Toolbar-module_navbar__XN6xZ{align-items:center;background-color:var(--ps-fl-toolbar-bg);border:1px solid var(--ps-ui-border);display:flex;flex-direction:row;height:47px;justify-content:space-between;margin:10px 0;padding:4px;position:relative}.Toolbar-module_searchWrapper__k--ua{flex-shrink:0;width:360px}.Toolbar-module_rightSection__if7LO{align-items:center;display:flex;gap:4px}.Toolbar-module_viewType__AKARg{display:flex;flex-direction:row;flex-wrap:nowrap}.Toolbar-module_navbar__XN6xZ button{color:var(--ps-toolbar-icon-color)}.Toolbar-module_fitModeButton__jOxve,.Toolbar-module_toggleViewButton__OQ9-U{align-items:center;background-color:transparent;border-color:transparent;display:flex;height:37px;justify-content:center;margin:0 2px;min-width:auto;padding:0;width:40px}.Toolbar-module_fitModeButton__jOxve svg,.Toolbar-module_toggleViewButton__OQ9-U svg{height:22px;width:22px}.Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve,.Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve:hover,.Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt,.Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt:hover{background-color:var(--ps-fl-toolbar-btn-bg)}.Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve svg,.Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt svg{color:#fff}.Toolbar-module_collapseNodeButton__bLdiw,.Toolbar-module_resetViewButton__y2ebV{background-color:transparent;border-color:transparent;height:37px;margin:0 2px;min-width:auto;padding:0;width:40px}.Toolbar-module_resetViewButton__y2ebV{margin:0 2px;min-width:auto;padding:0;width:40px}.Toolbar-module_divider__dG6pE{background-color:var(--ps-ui-border);height:37px;margin:0 2px;width:1px}.Toolbar-module_item__o-hKc,.Toolbar-module_itemsContainer__gSTMF{display:flex}.Toolbar-module_moreButton__rhOdT{border:none;border-radius:4px;height:37px;padding:0 5px}.Toolbar-module_moreButton__rhOdT.Toolbar-module_active__36Kt-,.Toolbar-module_moreButton__rhOdT.Toolbar-module_active__36Kt-:hover{background-color:var(--ps-fl-toolbar-btn-bg)}.Toolbar-module_moreButton__rhOdT:hover{background-color:var(--ps-ui-element-bg-highlight);cursor:pointer}.Toolbar-module_navbarCollapsedItems__vojhw{background-color:var(--ps-fl-toolbar-bg);border:1px solid var(--ps-ui-border);display:flex;height:47px;padding:4px;position:absolute;right:0;top:50px;z-index:1}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2xiYXIubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsOEJBVUUsa0JBQW1CLENBSG5CLHdDQUF5QyxDQUN6QyxvQ0FBcUMsQ0FOckMsWUFBYSxDQUNiLGtCQUFtQixDQUduQixXQUFZLENBRFosNkJBQThCLENBRDlCLGFBQWMsQ0FLZCxXQUFZLENBUlosaUJBVUYsQ0FFQSxxQ0FFRSxhQUFjLENBRGQsV0FFRixDQUVBLG9DQUVFLGtCQUFtQixDQURuQixZQUFhLENBRWIsT0FDRixDQUVBLGdDQUNFLFlBQWEsQ0FDYixrQkFBbUIsQ0FDbkIsZ0JBQ0YsQ0FFQSxxQ0FDRSxrQ0FDRixDQUVBLDZFQVVFLGtCQUFtQixDQUhuQiw0QkFBNkIsQ0FEN0Isd0JBQXlCLENBRXpCLFlBQWEsQ0FQYixXQUFZLENBUVosc0JBQXVCLENBTHZCLFlBQWEsQ0FGYixjQUFlLENBR2YsU0FBVSxDQUZWLFVBUUYsQ0FDQSxxRkFFRSxXQUFZLENBRFosVUFFRixDQUlBLGtTQUNFLDRDQUNGLENBQ0EsbUpBQ0UsVUFDRixDQUVBLGlGQU1FLDRCQUE2QixDQUM3Qix3QkFBeUIsQ0FKekIsV0FBWSxDQUNaLFlBQWEsQ0FIYixjQUFrQixDQUlsQixTQUFVLENBSFYsVUFNRixDQUVBLHVDQUdFLFlBQWEsQ0FEYixjQUFrQixDQUVsQixTQUFVLENBSFYsVUFJRixDQUVBLCtCQUlFLG9DQUFxQyxDQURyQyxXQUFZLENBRFosWUFBYSxDQURiLFN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m9yZGVyOiAxcHggc29saWQgdmFyKC0tcHMtdWktYm9yZGVyKTtcbiAgcGFkZGluZzogNHB4O1xuICB6LWluZGV4OiAxO1xufSJdfQ== */");const Ds=Q.bind(Rs),Us=(e,t,a)=>{const n=0===t?e-360-5:e-360-16-5;let i=0,o=0;return a.reverse().forEach(e=>{o+=e,n<=o&&(i+=1)}),i},ks=()=>e.jsx("div",{className:Rs.divider}),Ys=t.memo(({view:a,handleSearchChange:n,highlightQuery:i,isFlamegraphDirty:o,reset:l,updateFitMode:s,fitMode:c,updateView:d,selectedNode:u,onFocusOnSubtree:m,flamegraphType:b,enableChangingDisplay:f=!0,sharedQuery:h,ExportData:g,palette:p,setPalette:x})=>{const Q=t.useRef(null),v=vr(),G="double"===b&&p&&x,y=[{el:e.jsxs(e.Fragment,{children:[e.jsx(_s,{fitMode:c,updateFitMode:s}),e.jsx(ks,{})]}),width:93},{el:e.jsx(js,{isFlamegraphDirty:o,reset:l}),width:44},{el:e.jsxs(e.Fragment,{children:[e.jsx(Vs,{selectedNode:u,onFocusOnSubtree:m}),e.jsx(ks,{})]}),width:49},f?{el:e.jsx(Ms,{flamegraphType:b,view:a,updateView:d}),width:44*("single"===b?5:3)}:null,t.isValidElement(g)?{el:e.jsxs(e.Fragment,{children:[e.jsx(ks,{}),g]}),width:49}:null].filter(e=>null!==e),I=y.reduce((e,t)=>[...e,t.width],[]),{isCollapsed:B,collapsedItemsNumber:F,handleMoreClick:Z}=((e,a)=>{const[n,i]=t.useState(!0),[o,l]=t.useState(0);return t.useLayoutEffect(()=>{if(e.current){const{width:t}=e.current.getBoundingClientRect(),n=Us(t,o,a);l(n)}},[e.current,a]),r(e,e=>{const{width:t}=e.target.getBoundingClientRect(),n=Us(t,o,a);l(n),i(!0)}),{isCollapsed:n,handleMoreClick:()=>{i(e=>!e)},collapsedItemsNumber:o}})(Q,I),N=y.reduce((e,t,a)=>(a<F?e.hidden.push(t):e.visible.push(t),e),{visible:[],hidden:[]});return e.jsx("div",{role:"toolbar",ref:Q,children:e.jsxs("div",{className:Rs.navbar,children:[e.jsx("div",{className:Rs.searchWrapper,children:e.jsx(hs,{width:360,onHighlightChange:n,highlightQuery:i,sharedQuery:h})}),e.jsxs("div",{className:Rs.rightSection,children:[G&&e.jsxs(e.Fragment,{children:[e.jsx(Cs,{palette:p,onChange:x}),e.jsx(ks,{})]}),e.jsxs("div",{className:Rs.itemsContainer,children:[N.visible.map((t,a)=>e.jsx("div",{className:Rs.item,style:{width:t.width},children:t.el},a)),0!==F&&e.jsx(es,{placement:"top",title:v.more,children:e.jsx("button",{onClick:Z,className:Ds({[Rs.moreButton]:!0,[Rs.active]:!B}),children:e.jsx(Hn,{icon:$l.faEllipsisV})})})]})]}),!B&&e.jsx("div",{className:Rs.navbarCollapsedItems,children:N.hidden.map((t,a)=>e.jsx("div",{className:Rs.item,style:{width:t.width},children:t.el},a))})]})})});function Vs({onFocusOnSubtree:t,selectedNode:a}){const n=vr(),i=a.mapOr(()=>{},e=>()=>t(e.i,e.j));return e.jsx(es,{placement:"top",title:n.collapseNodesAbove,children:e.jsx("div",{children:e.jsx(Ql,{disabled:!a.isJust,onClick:i,className:Rs.collapseNodeButton,"aria-label":n.collapseNodesAbove,children:e.jsx(Hn,{icon:so.faCompressAlt})})})})}function js({isFlamegraphDirty:t,reset:a}){const n=vr();return e.jsx(es,{placement:"top",title:n.resetView,children:e.jsx("span",{children:e.jsx(Ql,{id:"reset",disabled:!t,onClick:a,className:Rs.resetViewButton,"aria-label":n.resetView,children:e.jsx(Hn,{icon:_l.faUndo})})})})}function _s({fitMode:t,updateFitMode:a}){const n=vr(),i=e=>t===e;return e.jsxs(e.Fragment,{children:[e.jsx(es,{placement:"top",title:n.headFirst,children:e.jsx(Ql,{onClick:()=>a("HEAD"),className:Ds({[Rs.fitModeButton]:!0,[Rs.selected]:i("HEAD")}),children:e.jsx(Vr,{})})}),e.jsx(es,{placement:"top",title:n.tailFirst,children:e.jsx(Ql,{onClick:()=>a("TAIL"),className:Ds({[Rs.fitModeButton]:!0,[Rs.selected]:i("TAIL")}),children:e.jsx(jr,{})})})]})}const Ss=(t,a)=>"single"===t?[{label:a.viewTable,value:"table",Icon:Dr},{label:a.viewTableAndFlamegraph,value:"both",Icon:Ur},{label:a.viewFlamegraph,value:"flamegraph",Icon:kr},{label:a.viewSandwich,value:"sandwich",Icon:Yr},{label:a.viewGraphviz,value:"graphviz",Icon:()=>e.jsx(Hn,{icon:Ol.faProjectDiagram})}]:[{label:a.viewTable,value:"table",Icon:Dr},{label:a.viewTableAndFlamegraph,value:"both",Icon:Ur},{label:a.viewFlamegraph,value:"flamegraph",Icon:kr}];function Ms({view:t,updateView:a,flamegraphType:n}){const i=vr(),o=Ss(n,i);return e.jsx("div",{className:Rs.viewType,children:o.map(({label:n,value:i,Icon:o})=>e.jsx(es,{placement:"top",title:n,children:e.jsx(Ql,{"data-testid":i,onClick:()=>a(i),className:Ds({[Rs.toggleViewButton]:!0,selected:t===i}),children:e.jsx(o,{})})},i))})}function Js(e,t){const a={},n={};let i={name:"total",children:[],self:[],total:[],key:"/total"};return(t?[e,t]:[e]).forEach((e,t)=>{var o,r;for(let l=0;l<e.levels.length;l+=1)for(let s=0;s<e.levels[l].length;s+=4){const c=[t,l,s].join("/"),d=e.names[e.levels[l][s+3]],u=e.levels[l][s+0],m=e.levels[l][s+1],b=e.levels[l][s+2];let f="";if(0!==l){const a=l-1,i=e.levels[a];for(let e=0;e<i.length;e+=4){const o=i[e+0],r=i[e+1];if(u>=o&&u<o+r){const i=[t,a,e].join("/");f=n[i].key;break}}}const h=[f||"",d].join("/"),g=!a[h];a[h]||(a[h]={name:d,children:[],self:[],total:[],key:h});const p=a[h];(o=p.total)[t]||(o[t]=0),p.total[t]+=m,(r=p.self)[t]||(r[t]=0),p.self[t]+=b,n[c]=p,f&&g&&a[f].children.push(p),0===l&&(i=p)}}),i}const Es=e=>{const t={maxSelf:100,names:[],levels:[]},a=(e,n,i)=>{var o;const{name:r,children:l,self:s,total:c,offset:d}=e;t.names.push(r),(o=t.levels)[n]||(o[n]=[]),t.maxSelf=Math.max(t.maxSelf,s[0]||0),t.levels[n]=t.levels[n].concat([i,c[0]||0,s[0]||0,t.names.length-1]);for(let e=0;e<l.length;e+=1){i+=a(l[e],n+1,i)}return d||c[0]||0};return a(e,0,0),t};function zs(e){const t=new Map;for(let a=0;a<e.children.length;a+=1)t.has(e.children[a].name)||t.set(e.children[a].name,e.children[a]);for(let a=0;a<e.children.length;a+=1){const n=e.children[a],i=t.get(e.children[a].name);i&&i!==n&&(i.total[0]+=n.total[0],i.self[0]+=n.self[0],i.children=i.children.concat(n.children))}e.children=Array.from(t.values());for(let t=0;t<e.children.length;t+=1)zs(e.children[t])}function As(e,t){const a=function(e,t){const a=Js(e),n={format:"single",numTicks:0,maxSelf:100,sampleRate:100,names:[],levels:[],units:e.units,spyName:e.spyName},i={name:t,total:[],self:[0],children:[]},o=e=>{e.name===t&&(n.numTicks+=e.total[0],i.total=[n.numTicks],i.children=i.children.concat(e.children));for(let t=0;t<e.children.length;t+=1)o(e.children[t])};return o(a),zs(i),{...n,...Es(i)}}(JSON.parse(JSON.stringify(e)),t);return a}function Os(e,t){const a=function(e,t){const a=Js(e),n={format:"single",maxSelf:100,sampleRate:100,numTicks:0,names:[],levels:[],units:e.units,spyName:e.spyName},i=[],o=[],r={name:t,total:[0],self:[0],children:[]},l=(e,a=[])=>{const r=a.concat([{...e,children:[]}]);e.name===t&&(o.push(r),i.push(e.total[0]),n.numTicks+=e.total[0]);for(let t=0;t<e.children.length;t+=1)l(e.children[t],r)};l(a),o.forEach((e,t)=>{r.children.push(((e,t)=>{const a={};let n=a;return e.forEach(({name:e,...a})=>{const i={name:e,...a,total:[t]};n.children=[i],n=i}),a.children[0]})(e.reverse(),i[t]))}),zs(r);const s=Es(r);return s.levels=s.levels.reverse().slice(0,-1),{...n,...s}}(JSON.parse(JSON.stringify(e)),t);return a}var Hs={flamegraphContainer:"FlamegraphRenderer-module_flamegraphContainer__-7FRV",createdBy:"FlamegraphRenderer-module_createdBy__rHAOT",horizontal:"FlamegraphRenderer-module_horizontal__zs7--",vertical:"FlamegraphRenderer-module_vertical__fRcHg",panesWrapper:"FlamegraphRenderer-module_panesWrapper__L-mlA",tablePane:"FlamegraphRenderer-module_tablePane__Gin7Y",sandwichPane:"FlamegraphRenderer-module_sandwichPane__IEOyR",sandwichPaneInfo:"FlamegraphRenderer-module_sandwichPaneInfo__5hT4a",arrow:"FlamegraphRenderer-module_arrow__dPzpE",sandwichTop:"FlamegraphRenderer-module_sandwichTop__7N0ZY",sandwichBottom:"FlamegraphRenderer-module_sandwichBottom__Dc64g",name:"FlamegraphRenderer-module_name__XRbN9"};b(".FlamegraphRenderer-module_flamegraphContainer__-7FRV{width:100%}.FlamegraphRenderer-module_flamegraphContainer__-7FRV>:first-child{margin-right:8px}.FlamegraphRenderer-module_flamegraphContainer__-7FRV>:nth-child(2){margin-left:8px}.FlamegraphRenderer-module_createdBy__rHAOT{color:#fff;margin:10px 0;text-align:center}.FlamegraphRenderer-module_createdBy__rHAOT a{color:#199bef!important}.FlamegraphRenderer-module_horizontal__zs7--{flex-direction:row}.FlamegraphRenderer-module_vertical__fRcHg{flex-direction:column-reverse}.FlamegraphRenderer-module_panesWrapper__L-mlA{display:flex}.FlamegraphRenderer-module_sandwichPane__IEOyR,.FlamegraphRenderer-module_tablePane__Gin7Y{flex:1}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a{background-color:var(--ps-sandwich-pane-info-bg);border-radius:5px;color:var(--ps-neutral-1);display:inline-block;margin:30px 0 0 10px;padding:8px;position:relative}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a.FlamegraphRenderer-module_vertical__fRcHg{margin:30px 0}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a.FlamegraphRenderer-module_vertical__fRcHg .FlamegraphRenderer-module_arrow__dPzpE{bottom:-15px;left:20px;top:auto;transform:rotate(-90deg)}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a .FlamegraphRenderer-module_arrow__dPzpE{border-color:transparent var(--ps-sandwich-pane-info-bg) transparent transparent;border-style:solid;border-width:8px 20px 8px 0;height:0;left:-20px;position:absolute;top:14px;width:0}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichTop__7N0ZY{margin-bottom:10px}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichBottom__Dc64g,.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichTop__7N0ZY{display:flex}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichBottom__Dc64g .FlamegraphRenderer-module_name__XRbN9,.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichTop__7N0ZY .FlamegraphRenderer-module_name__XRbN9{padding:5px 0;transform:rotate(-180deg);writing-mode:vertical-rl}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichBottom__Dc64g span{text-align:right}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZsYW1lZ3JhcGhSZW5kZXJlci5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxzREFDRSxVQUNGLENBR0EsbUVBQ0UsZ0JBQ0YsQ0FFQSxvRUFDRSxlQUVGLENBRUEsNENBQ0UsVUFBWSxDQUVaLGFBQWMsQ0FEZCxpQkFFRixDQUVBLDhDQUNFLHVCQUNGLENBRUEsNkNBQ0Usa0JBQ0YsQ0FFQSwyQ0FFRSw2QkFDRixDQUVBLCtDQUNFLFlBQ0YsQ0FFQSwyRkFFRSxNQUNGLENBRUEsa0dBTUUsZ0RBQWlELENBRGpELGlCQU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Rlci13aWR0aDogOHB4IDIwcHggOHB4IDA7XG4gIGJvcmRlci1jb2xvcjogdHJhbnNwYXJlbnQgdmFyKC0tcHMtc2FuZHdpY2gtcGFuZS1pbmZvLWJnKSB0cmFuc3BhcmVudCB0cmFuc3BhcmVudDtcbn1cbi5zYW5kd2ljaFBhbmUgLnNhbmR3aWNoVG9wIHtcbiAgbWFyZ2luLWJvdHRvbTogMTBweDtcbn1cbi5zYW5kd2ljaFBhbmUgLnNhbmR3aWNoVG9wLFxuLnNhbmR3aWNoUGFuZSAuc2FuZHdpY2hCb3R0b20ge1xuICBkaXNwbGF5OiBmbGV4O1xufVxuLnNhbmR3aWNoUGFuZSAuc2FuZHdpY2hUb3AgLm5hbWUsXG4uc2FuZHdpY2hQYW5lIC5zYW5kd2ljaEJvdHRvbSAubmFtZSB7XG4gIHdyaXRpbmctbW9kZTogdmVydGljYWwtcmw7XG4gIHRyYW5zZm9ybTogcm90YXRlKC0xODBkZWcpO1xuICBwYWRkaW5nOiA1cHggMDtcbn1cbi5zYW5kd2ljaFBhbmUgLnNhbmR3aWNoQm90dG9tIHNwYW4ge1xuICB0ZXh0LWFsaWduOiByaWdodDtcbn0iXX0= */");function Ts(e){const t=[];return Object.keys(e).forEach(a=>{var n;t.push(`${a}="${n=String(e[a]||""),n.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`)}),`[${t.join(" ")}]`}function Ps(e,t){return`${(100*e/t).toFixed(2)}%`}function Ks(e,t){let a,n,i,o;t?(a=.1,n=.93):(a=1,n=.7),e=Math.max(-1,Math.min(1,e)),Math.abs(e)<.2&&(a*=Math.abs(e)/.2),e>0&&(e**=1-.7),e<0&&(e=-((-e)**(1-.7))),e<0?(o=n,i=n*(1+a*e)):(i=n,o=n*(1-a*e));const r=n*(1-a);return`#${Math.floor(255*i).toString(16).padStart(2,"0")}${Math.floor(255*o).toString(16).padStart(2,"0")}${Math.floor(255*r).toString(16).padStart(2,"0")}`}function $s(e,t,a,n){const{self:i}=t,{total:o}=t,r=t.name.replace(/"/g,'\\"'),l=e(i),s=8+Math.ceil(16*Math.sqrt(i/a)),c=Ks(o/n,!1),d=Ks(o/n,!0),u=function(e,t,a,n,i){let o="";o=`${function(e){return e.replace(/.*\//,"")}(t)}\n`;const r=e(a);0!==a?o=`${o+r} (${Ps(a,i)})`:o+="0";let l=r;n!==a&&(o+=0!==a?"\n":" ",l=e(n),o=`${o}of ${l} (${Ps(n,i)})`);return o}(e,r,i,o,n),m={label:u,id:`node${t.index}`,fontsize:s,shape:"box",tooltip:`${r} (${l})`,color:c,fontcolor:"#000000",style:"filled",fontname:"",fillcolor:d};return`N${t.index} ${Ts(m)}`}function qs(e){if("double"===e.metadata.format)return"diff flamegraphs are not supported";const t=Js(e.flamebearer),a=[],n=[];const[i,o,,r]=function e(t,a,n,i,o){return t.children.forEach(t=>{const[r,l]=e(t,a,n,i,o);a=Math.max(a,r),n=Math.max(n,l)}),a=Math.max(a,t.self[0]),n=Math.max(n,t.total[0]),i+=t.self[0],o+=t.total[0],[a,n,i,o]}(t,0,0,0,0),{sampleRate:l,units:s}=e.metadata,c=gi(o,l,s),d=e=>c.format(e,l,!0);let u={};const m={};let b=0;function f(e,t){return-1===t.indexOf(e.name)&&(u[e.name]?(u[e.name].self+=e.self[0],u[e.name].total+=e.total[0]):(b+=1,u[e.name]={index:b,name:e.name,self:e.self[0],total:e.total[0],parents:[],children:[]})),e.children.forEach(a=>{const n=f(a,t.concat([e.name])),i=`${e.name}/${a.name}`;a.name!==e.name&&(m[i]?m[i].weight+=a.total[0]:m[i]={from:u[e.name],to:n,weight:a.total[0],residual:!1},n.parents.push(m[i]),u[e.name].children.push(m[i]))}),u[e.name]}t.children.forEach(e=>{f(e,[])});const h=.005*r,g=.001*r;function p(e,t){let a=0,n=t;if(e.forEach(e=>{e.weight>0&&(n+=Math.abs(e.weight))}),0!==n&&(e.forEach(e=>{const t=Math.abs(e.weight)/n;a+=-t*Math.log2(t)}),t>0)){const e=Math.abs(t)/n;a+=-e*Math.log2(e)}return a}Object.keys(u).forEach(e=>{u[e].total<h&&delete u[e]});const x={};Object.keys(u).forEach(e=>{x[u[e].name]=function(e){let t=0;return 0===e.parents.length?t+=1:t+=p(e.parents,0),0===e.children.length?t+=1:t+=p(e.children,e.self),t*e.total+e.self}(u[e])});const Q=Object.values(u).sort((e,t)=>{const a=x[e.name],n=x[t.name];return a!==n?n-a:e.name!==t.name?e.name<t.name?-1:1:e.self!==t.self?n-a:e.name<t.name?-1:1}),v={};function G(e){const[t,a]=[e.from,e.to],n={},i=[a];for(;i.length>0;){const a=i.shift();for(let o=0;o<a.parents.length;o+=1){const r=a.parents[o];if(e!==r&&!n[r.from.name]){if(r.from===t)return!0;n[r.from.name]=!0,i.push(r.from)}}}return!1}return Q.forEach(e=>{v[e.name]=e}),Q.slice(80).forEach(e=>{delete v[e.name]}),function e(t,a){const n=!v[t.name];t.children.forEach(i=>{const o=!v[i.name];if(e(i,n?a:t),!o&&a&&n){const e=`${a.name}/${i.name}`;m[e]||(m[e]={from:u[a.name],to:u[i.name],weight:0,residual:!0}),m[e].weight+=i.total[0],m[e].residual=!0}})}(t,null),u=v,Q.reverse().forEach(e=>{const t=e.parents.sort((e,t)=>t.weight-e.weight),a=[];for(let e=0;e<t.length;e+=1){const n=t[e];if(!n.residual)break;G(n)&&(a.push(n),delete m[`${n.from.name}/${n.to.name}`])}a.forEach(e=>{e.from.children=e.from.children.filter(t=>t.to!==e.to),e.to.parents=e.to.parents.filter(t=>t.from!==e.from)})}),Object.keys(m).forEach(e=>{const t=m[e];u[t.from.name]||delete m[e],u[t.to.name]||delete m[e],t.weight<g&&delete m[e]}),Object.keys(u).forEach(e=>{a.push($s(d,u[e],i,o))}),Object.keys(m).forEach(e=>{n.push(function(e,t,a){const n=t.from.name.replace(/"/g,'\\"'),i=t.to.name.replace(/"/g,'\\"'),o=t.weight,r=e(t.weight),l=`${n} -> ${i} (${r})`,s={label:r,weight:1+100*o/a,penwidth:1+5*o/a,tooltip:l,labeltooltip:l,fontname:"",color:Ks(o/a,!1),style:t.residual?"dotted":""};return`N${t.from.index} -> N${t.to.index} ${Ts(s)}`}(d,m[e],o))}),`digraph "unnamed" {\n fontname= ""\n ${a.join("\n")}\n ${n.join("\n")}\n }`}var ec="GraphVizPanel-module_graphVizPane__B18cQ";b(".GraphVizPanel-module_graphVizPane__B18cQ{display:flex;flex:1}.GraphVizPanel-module_graphVizPane__B18cQ.GraphVizPanel-module_graphVizPane__B18cQ{border:1px solid var(--ps-ui-border);margin-right:0}.GraphVizPanel-module_graphVizPane__B18cQ div[id^=graphviz]{overflow:hidden;width:100%}.GraphVizPanel-module_graphVizPane__B18cQ div[id^=graphviz] .graph>polygon{fill:none}.GraphVizPanel-module_graphVizPane__B18cQ div[id^=graphviz] .edge text[text-anchor=middle]{fill:var(--ps-toolbar-icon-color)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkdyYXBoVml6UGFuZWwubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMENBQ0UsWUFBYSxDQUNiLE1BQ0YsQ0FDQSxtRkFFRSxvQ0FBcUMsQ0FEckMsY0FFRixDQUNBLDREQUVFLGVBQWdCLENBRGhCLFVBRUYsQ0FDQSwyRUFDRSxTQUNGLENBQ0EsMkZBQ0UsaUNBQ0YiLCJmaWxlIjoiR3JhcGhWaXpQYW5lbC5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5ncmFwaFZpelBhbmUge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4OiAxO1xufVxuLmdyYXBoVml6UGFuZS5ncmFwaFZpelBhbmUge1xuICBtYXJnaW4tcmlnaHQ6IDA7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG59XG4uZ3JhcGhWaXpQYW5lIGRpdltpZF49Z3JhcGh2aXpdIHtcbiAgd2lkdGg6IDEwMCU7XG4gIG92ZXJmbG93OiBoaWRkZW47XG59XG4uZ3JhcGhWaXpQYW5lIGRpdltpZF49Z3JhcGh2aXpdIDpnbG9iYWwgLmdyYXBoID4gcG9seWdvbiB7XG4gIGZpbGw6IG5vbmU7XG59XG4uZ3JhcGhWaXpQYW5lIGRpdltpZF49Z3JhcGh2aXpdIDpnbG9iYWwgLmVkZ2UgdGV4dFt0ZXh0LWFuY2hvcj1taWRkbGVdIHtcbiAgZmlsbDogdmFyKC0tcHMtdG9vbGJhci1pY29uLWNvbG9yKTtcbn0iXX0= */");const tc=()=>null;function ac({flamebearer:a}){var n,i;const o=a,r=(null===(n=o.metadata)||void 0===n?void 0:n.format)&&(null===(i=o.flamebearer)||void 0===i?void 0:i.levels),l=`graphviz-pane-${(null==o?void 0:o.appName)||String((new Date).valueOf())}`,s=t.useMemo(()=>qs(o),[JSON.stringify(o)]);return e.jsx("div",{className:ec,children:r?e.jsx(tc,{options:{zoom:!0,width:"150%",height:"100%",scale:1,useWorker:!1},dot:s}):e.jsx("div",{children:"NO DATA"})},l)}function nc(e,t){const a=[...t];function n(e,t,a){for(const n of e){let e=0;for(let i=t;i<n.length;i+=a)n[i]-=e,e+=n[i]+n[i+1]}}return"double"===e?(n(a,0,7),n(a,3,7)):n(a,0,4),a}function ic(e,t){const a=[...t];function n(e,t,a){for(const n of e){let e=0;for(let i=t;i<n.length;i+=a)n[i]+=e,e=n[i]+n[i+1]}}return"double"===e?(n(a,0,7),n(a,3,7)):n(a,0,4),a}function oc(e){if(e.profile&&e.flamebearer&&console.warn("'profile' and 'flamebearer' properties are mutually exclusive. Please use profile if possible."),e.profile){const a={...e.profile,flamebearer:{...e.profile.flamebearer}};a.flamebearer.levels=JSON.parse(JSON.stringify(a.flamebearer.levels)),(t=a).flamebearer.levels=ic(t.metadata.format,t.flamebearer.levels);const n={...a,...a.metadata,...a.flamebearer,flamebearer:void 0,metadata:void 0};return delete n.flamebearer,delete n.metadata,n}var t;if(e.flamebearer)return e.flamebearer;return{format:"single",names:[],units:"unknown",levels:[[]],spyName:"unknown",numTicks:0,sampleRate:0,maxSelf:0}}class rc extends t.Component{constructor(t){super(t),this.resetFlamegraphState={focusedNode:a.Maybe.nothing(),zoom:a.Maybe.nothing()},this.initialFlamegraphState=this.resetFlamegraphState,this.calcNewConfigs=(e,t)=>{const a=this.state.flamegraphConfigs,n=(e,t,a)=>{const n=(e,t,a)=>e.names[ii(e.format).getBarName(e.levels[t],a)];if(a.isNothing)return!0;try{const i=a,o=n(e,i.value.i,i.value.j);return o===n(t,i.value.i,i.value.j)}catch{return!1}};n(e,t,this.state.flamegraphConfigs.zoom)||(a.zoom=this.resetFlamegraphState.zoom);return n(e,t,this.state.flamegraphConfigs.focusedNode)||(a.focusedNode=this.resetFlamegraphState.focusedNode),a},this.onSearchChange=e=>{this.setState({searchQuery:e})},this.isSameFlamebearer=(e,t)=>function(e,t){var a;return e.format===t.format&&e.numTicks===t.numTicks&&e.sampleRate===t.sampleRate&&e.units===t.units&&(null===(a=e.names)||void 0===a?void 0:a.length)===(null==t?void 0:t.names.length)&&e.levels.length===t.levels.length&&!!e.names.every((e,a)=>e===t.names[a])&&!!function(e,t){if(e.length!==t.length)return!1;for(let a=0;a<e.length;a++){if(e[a].length!==t[a].length)return!1;for(let n=0;n<e[a].length;n++)if(e[a][n]!==t[a][n])return!1}return!0}(e.levels,t.levels)&&JSON.stringify({...e,levels:void 0,names:void 0})===JSON.stringify({...t,levels:void 0,names:void 0})}(e,t),this.onReset=()=>{this.setState({...this.state,flamegraphConfigs:{...this.state.flamegraphConfigs,...this.initialFlamegraphState},selectedItem:a.Maybe.nothing()})},this.onFlamegraphZoom=e=>{e.isJust&&0===e.value.i&&0===e.value.j?this.onReset():this.setState({...this.state,flamegraphConfigs:{...this.state.flamegraphConfigs,zoom:e}})},this.onFocusOnNode=(e,t)=>{if(0===e&&0===t)return void this.onReset();let n={...this.state.flamegraphConfigs};const{zoom:i}=this.state.flamegraphConfigs;i.isJust&&i.value.i<=e&&(n={...n,zoom:this.initialFlamegraphState.zoom}),this.setState({...this.state,flamegraphConfigs:{...n,focusedNode:a.Maybe.just({i:e,j:t})}})},this.setActiveItem=e=>{const{name:t}=e;this.state.selectedItem.isJust&&t===this.state.selectedItem.value?this.setState({selectedItem:a.Maybe.nothing()}):this.setState({selectedItem:a.Maybe.just(t)})},this.getHighlightQuery=()=>this.state.selectedItem.isJust?this.state.selectedItem.value:this.state.searchQuery,this.updateView=e=>{"sandwich"===e&&this.setState({searchQuery:"",flamegraphConfigs:this.resetFlamegraphState}),this.setState({view:e})},this.updateFlamegraphDirtiness=()=>{const e=this.isDirty();this.setState({isFlamegraphDirty:e})},this.updateFitMode=e=>{this.setState({fitMode:e})},this.isDirty=()=>this.state.selectedItem.isJust||JSON.stringify(this.initialFlamegraphState)!==JSON.stringify(this.state.flamegraphConfigs),this.handleSetPalette=e=>{this.setState({palette:e})},this.render=()=>{const t=e.jsx("div",{className:Vi(Hs.tablePane,"vertical"===this.state.panesOrientation?Hs.vertical:Hs.horizontal),children:e.jsx(Wl,{"data-testid":"table-view",flamebearer:this.state.flamebearer,fitMode:this.state.fitMode,highlightQuery:this.state.searchQuery,selectedItem:this.state.selectedItem,handleTableItemClick:this.setActiveItem,palette:this.state.palette})},"table-pane"),a=this.shouldShowToolbar(),n=e.jsx(Or,{showCredit:this.props.showCredit,flamebearer:this.state.flamebearer,highlightQuery:this.getHighlightQuery(),setActiveItem:this.setActiveItem,selectedItem:this.state.selectedItem,updateView:this.props.onlyDisplay?void 0:this.updateView,fitMode:this.state.fitMode,updateFitMode:this.updateFitMode,zoom:this.state.flamegraphConfigs.zoom,focusedNode:this.state.flamegraphConfigs.focusedNode,onZoom:this.onFlamegraphZoom,onFocusOnNode:this.onFocusOnNode,onReset:this.onReset,isDirty:this.isDirty,palette:this.state.palette,toolbarVisible:a,setPalette:this.handleSetPalette,enableSandwichView:this.props.enableSandwichView},"flamegraph-pane"),i=(()=>{if(this.state.selectedItem.isNothing)return e.jsx("div",{className:Hs.sandwichPane,children:e.jsxs("div",{className:Vi(Hs.sandwichPaneInfo,"vertical"===this.state.panesOrientation?Hs.vertical:Hs.horizontal),children:[e.jsx("div",{className:Hs.arrow}),"Select a function to view callers/callees sandwich view"]})},"sandwich-pane");const t=Os(this.state.flamebearer,this.state.selectedItem.value),n=As(this.state.flamebearer,this.state.selectedItem.value),i=t=>e.jsx(Or,{disableClick:!0,showCredit:this.props.showCredit,highlightQuery:"",setActiveItem:this.setActiveItem,selectedItem:this.state.selectedItem,fitMode:this.state.fitMode,updateFitMode:this.updateFitMode,zoom:this.state.flamegraphConfigs.zoom,focusedNode:this.state.flamegraphConfigs.focusedNode,onZoom:this.onFlamegraphZoom,onFocusOnNode:this.onFocusOnNode,onReset:this.onReset,isDirty:this.isDirty,palette:this.state.palette,toolbarVisible:a,setPalette:this.handleSetPalette,...t});return e.jsxs("div",{className:Hs.sandwichPane,children:[e.jsxs("div",{className:Hs.sandwichTop,children:[e.jsx("span",{className:Hs.name,children:"Callers"}),i({flamebearer:t})]}),e.jsxs("div",{className:Hs.sandwichBottom,children:[e.jsx("span",{className:Hs.name,children:"Callees"}),i({flamebearer:n,headerVisible:!1,showSingleLevel:!0})]})]},"sandwich-pane")})(),o=!this.state.flamebearer||this.state.flamebearer.names.length<=1,r=function(e,t,a,n,i){switch(e){case"table":return[a];case"flamegraph":return[t];case"sandwich":return[a,n];case"both":return[a,t];case"graphviz":return[i];default:throw new Error(`Invalid view '${e}'`)}}(this.state.view,n,t,i,e.jsx(ac,{flamebearer:this.state.flamebearer}));return e.jsxs("div",{children:[e.jsxs("div",{children:[a&&e.jsx(Ys,{sharedQuery:this.props.sharedQuery,enableChangingDisplay:!this.props.onlyDisplay,flamegraphType:this.state.flamebearer.format,view:this.state.view,handleSearchChange:this.onSearchChange,reset:this.onReset,updateView:this.updateView,updateFitMode:this.updateFitMode,fitMode:this.state.fitMode,isFlamegraphDirty:this.isDirty(),selectedNode:this.state.flamegraphConfigs.zoom,highlightQuery:this.state.searchQuery,onFocusOnSubtree:this.onFocusOnNode,ExportData:this.props.ExportData,palette:this.state.palette,setPalette:this.handleSetPalette}),this.props.children,e.jsx("div",{className:`${Hs.flamegraphContainer} ${Vi("vertical"===this.state.panesOrientation?Hs.vertical:Hs.horizontal,Hs[this.state.panesOrientation],Hs.panesWrapper)}`,children:o?e.jsx(_i,{}):r.map(e=>e)})]}),this.props.showPyroscopeLogo&&e.jsxs("div",{className:Hs.createdBy,children:["Created by",e.jsxs("a",{href:"https://twitter.com/PyroscopeIO",rel:"noreferrer",target:"_blank",children:[e.jsx(d,{width:"30",height:"30"}),"@PyroscopeIO"]})]})]})},this.state={isFlamegraphDirty:!1,view:this.props.onlyDisplay?this.props.onlyDisplay:"both",fitMode:"HEAD",flamebearer:oc(t),panesOrientation:t.panesOrientation?t.panesOrientation:"horizontal",searchQuery:"",selectedItem:a.Maybe.nothing(),flamegraphConfigs:this.initialFlamegraphState,palette:ur}}componentDidUpdate(e,t){const n=oc(e),i=oc(this.props);if(!this.isSameFlamebearer(n,i)){const e=this.calcNewConfigs(n,i);return void this.setState({flamebearer:i,flamegraphConfigs:{...this.state.flamegraphConfigs,...e},selectedItem:a.Maybe.nothing()})}t.flamegraphConfigs!==this.state.flamegraphConfigs&&this.updateFlamegraphDirtiness()}shouldShowToolbar(){return void 0===this.props.showToolbar||this.props.showToolbar}}rc.defaultProps={showCredit:!1};const lc={showPyroscopeLogo:!1},sc=(e,t)=>{if(t)return t;const a=null!=e?e:"auto";return"zh-CN"===("auto"===a?"undefined"!=typeof navigator&&navigator.language&&navigator.language.toLowerCase().startsWith("zh")?"zh-CN":"en":a)?pr:gr};exports.Box=function(t){const{children:a,noPadding:n,className:i="",theme:o="dark"}=t,r=n?"":Tn.padding;return e.jsx("div",{className:`${Tn.box} ${r} ${i}`,"data-theme":o,children:a})},exports.DefaultPalette=ur,exports.Flamegraph=ki,exports.FlamegraphI18nProvider=Qr,exports.FlamegraphRenderer=a=>{const{i18n:n,locale:i,colorMode:o="light",sandwich:r=!0,...l}=a,s=t.useMemo(()=>sc(i,n),[i,n]),c=t.useMemo(()=>(e=>{switch(e){case"dark":return"ps-theme-dark";case"kylin":return"ps-theme-kylin";default:return"ps-theme-light"}})(o),[o]);return e.jsx("pyro-flamegraph",{className:c,children:e.jsx(Qr,{messages:s,children:e.jsx(rc,{...lc,enableSandwichView:r,...l})})})},exports.convertJaegerTraceToProfile=function(e){const t={numTicks:0,maxSelf:0,names:[],levels:[]},a={},n={children:[]};return e.spans.forEach(e=>{e.children=[],a[e.spanID]=e}),e.spans.forEach(e=>{let t=n;e.references&&e.references.length>0&&(t=a[e.references[0].spanID]||n),t.children.push(e)}),function e(t,a){(t.children||[]).forEach(t=>e(t));let n=0;const i=u(t.children||[],e=>e.operationName);t.children=m(i,e=>{const t=e[0];for(let a=1;a<e.length;a+=1)t.duration+=e[a].duration;return n+=t.duration,t}),t.total=t.duration||n,t.self=Math.max(0,t.total-n)}(n),function a(n,i,o){var r;return t.numTicks||(t.numTicks=n.total),(r=t.levels)[i]||(r[i]=[]),t.levels[i].push(o),t.levels[i].push(n.total),t.levels[i].push(n.self),t.names.push((n.processID?`${e.processes[n.processID].serviceName}: `:"")+(n.operationName||"total")),t.levels[i].push(t.names.length-1),(n.children||[]).forEach(e=>{o+=a(e,i+1,o)}),n.total}(n,0,0),t.levels=nc("single",t.levels),{version:1,flamebearer:t,metadata:{format:"single",units:"trace_samples",spyName:"tracing",sampleRate:1e6}}},exports.diffTwoProfiles=function(e,t){e.flamebearer.levels=ic("single",e.flamebearer.levels),t.flamebearer.levels=ic("single",t.flamebearer.levels);const a=function(e,t){const a={format:"double",numTicks:e.numTicks+t.numTicks,leftTicks:e.numTicks,rightTicks:t.numTicks,maxSelf:100,sampleRate:e.sampleRate,names:[],levels:[],units:e.units,spyName:e.spyName},n=Js(e,t),i=(e,t,n,o)=>{var r;const{name:l,children:s,self:c,total:d}=e;a.names.push(l),(r=a.levels)[t]||(r[t]=[]),a.maxSelf=Math.max(a.maxSelf,c[0]||0,c[1]||0),a.levels[t]=a.levels[t].concat([n,d[0]||0,c[0]||0,o,d[1]||0,c[1]||0,a.names.length-1]);for(let e=0;e<s.length;e+=1){const[a,r]=i(s[e],t+1,n,o);n+=a,o+=r}return[d[0]||0,d[1]||0]};return i(n,0,0,0),a}(e.flamebearer,t.flamebearer);a.levels=nc("double",a.levels);const n={...e.metadata};return n.format="double",{version:1,flamebearer:a,metadata:n,leftTicks:e.flamebearer.numTicks,rightTicks:t.flamebearer.numTicks}},exports.flamegraphDefaultMessages=gr,exports.flamegraphZhCNMessages=pr;
|
|
17
|
+
*/var Pr,Kr=(Hr||(Hr=1,function(e){!function(){var t={}.hasOwnProperty;function a(){for(var e="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(e=i(e,n(a)))}return e}function n(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var n="";for(var o in e)t.call(e,o)&&e[o]&&(n=i(n,o));return n}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(a.default=a,e.exports=a):window.classNames=a}()}(Tr)),Tr.exports),$r=f(Kr),qr={};function el(){return Pr||(Pr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="chevron-left",a=[9001],n="f053",i="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z";e.definition={prefix:"fas",iconName:t,icon:[320,512,a,n,i]},e.faChevronLeft=e.definition,e.prefix="fas",e.iconName=t,e.width=320,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(qr)),qr}var tl,al=el(),nl={};function il(){return tl||(tl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="chevron-right",a=[9002],n="f054",i="M311.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L243.2 256 73.9 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";e.definition={prefix:"fas",iconName:t,icon:[320,512,a,n,i]},e.faChevronRight=e.definition,e.prefix="fas",e.iconName=t,e.width=320,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(nl)),nl}var ol=il(),rl={table:"Table-module_table__6A8SM",sortable:"Table-module_sortable__J6kyp",sortArrow:"Table-module_sortArrow__Nrncn",asc:"Table-module_asc__tJDI9",desc:"Table-module_desc__fjVRY",isRowSelected:"Table-module_isRowSelected__UhIAJ",isRowDisabled:"Table-module_isRowDisabled__sz3NJ",loadingSpinner:"Table-module_loadingSpinner__SSjMK",pagination:"Table-module_pagination__VXgcO"};b(".Table-module_table__6A8SM{table-layout:fixed;width:100%}.Table-module_table__6A8SM thead{background-color:var(--ps-table-header-bg,var(--ps-ui-foreground,#fff));color:var(--ps-table-header-text,var(--ps-ui-foreground-text,#000))}.Table-module_table__6A8SM thead th.Table-module_sortable__J6kyp{cursor:pointer;user-select:none}.Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn{border:5px solid transparent;border-top:5px solid var(--ps-ui-foreground-text);display:inline-block;margin-left:7px;position:relative;top:3px}.Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_asc__tJDI9{border-bottom-color:var(--ps-button-switch-bg-highlight);border-top-color:transparent;top:-2px}.Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_desc__fjVRY{border-top-color:var(--ps-button-switch-bg-highlight);top:3px}.Table-module_table__6A8SM tbody tr:nth-child(2n){background-color:var(--ps-neutral-9)}.Table-module_table__6A8SM tbody{cursor:pointer}.Table-module_table__6A8SM tbody td{font-weight:400;text-align:center}.Table-module_table__6A8SM tbody tr.Table-module_isRowSelected__UhIAJ{background:var(--ps-table-highlight-row-bg)!important;color:var(--ps-table-highlight-row-text);cursor:pointer}.Table-module_table__6A8SM tbody tr.Table-module_isRowDisabled__sz3NJ td{text-decoration:line-through}.Table-module_table__6A8SM tbody tr:not(.Table-module_isRowSelected__UhIAJ):hover{background:var(--ps-ui-element-bg-highlight);color:var(--ps-neutral-2);cursor:pointer}.Table-module_table__6A8SM tbody td,.Table-module_table__6A8SM tbody th{border:1px solid var(--ps-ui-border);padding:4px 10px;width:10%}.Table-module_loadingSpinner__SSjMK{margin-top:50px;text-align:center}.Table-module_pagination__VXgcO{display:flex;justify-content:flex-end}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRhYmxlLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLDJCQUVFLGtCQUFtQixDQURuQixVQUdGLENBQ0EsaUNBQ0UsdUVBQTZFLENBQzdFLG1FQUNGLENBQ0EsaUVBQ0UsY0FBZSxDQUNmLGdCQUNGLENBQ0EsbUVBR0UsNEJBQThDLENBQTlDLGlEQUE4QyxDQUY5QyxvQkFBcUIsQ0FLckIsZUFBZ0IsQ0FEaEIsaUJBQWtCLENBRGxCLE9BR0YsQ0FDQSwyRkFFRSx3REFBeUQsQ0FEekQsNEJBQTZCLENBRTdCLFFBQ0YsQ0FDQSw0RkFDRSxxREFBc0QsQ0FDdEQsT0FDRixDQUlBLGtEQUNFLG9DQUNGLENBQ0EsaUNBQ0UsY0FDRixDQUNBLG9DQUNFLGVBQW9CLENBQ3BCLGlCQUNGLENBQ0Esc0VBRUUscURBQXVELENBQ3ZELHdDQUF5QyxDQUZ6QyxjQUdGLENBQ0EseUVBQ0UsNEJBQ0YsQ0FDQSxrRkFHRSw0Q0FBNkMsQ0FEN0MseUJBQTBCLENBRDFCLGNBR0YsQ0FDQSx3RUFFRSxvQ0FBcUMsQ0FDckMsZ0JBQWlCLENBQ2pCLFNBQ0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sZSB0Ym9keSB0aCB7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIHBhZGRpbmc6IDRweCAxMHB4O1xuICB3aWR0aDogMTAlO1xufVxuXG4ubG9hZGluZ1NwaW5uZXIge1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIG1hcmdpbi10b3A6IDUwcHg7XG59XG5cbi5wYWdpbmF0aW9uIHtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcbn0iXX0= */");var ll="Button-module_button__Ed1ge",sl="Button-module_noIcon__Uzjvv",cl="Button-module_noBox__mLreC",dl="Button-module_customIcon__-slpC",ul="Button-module_iconWithText__DQRkr",ml="Button-module_default__HhXlQ",bl="Button-module_outline__Flf4r",fl="Button-module_float__4marx",hl="Button-module_primary__xByv0",gl="Button-module_secondary__D0K-F",pl="Button-module_danger__5-vIq",xl="Button-module_grouped__j8KwB";b(".Button-module_button__Ed1ge{border:1px solid var(--ps-ui-border);border-radius:4px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Button-module_button__Ed1ge[type=button],.Button-module_button__Ed1ge[type=reset],.Button-module_button__Ed1ge[type=submit]{-webkit-appearance:button}.Button-module_noIcon__Uzjvv{min-width:48px}.Button-module_noBox__mLreC{background:inherit!important;border:none;border-radius:none}.Button-module_customIcon__-slpC svg{margin-right:5px;vertical-align:-.125em;width:1rem}.Button-module_iconWithText__DQRkr{margin-right:5px}.Button-module_default__HhXlQ,.Button-module_float__4marx,.Button-module_outline__Flf4r{background:var(--ps-ui-element-bg-primary)}.Button-module_default__HhXlQ:hover:not(:disabled),.Button-module_float__4marx:hover:not(:disabled),.Button-module_outline__Flf4r:hover:not(:disabled){background-color:var(--ps-ui-element-bg-highlight)}.Button-module_default__HhXlQ:disabled,.Button-module_float__4marx:disabled,.Button-module_outline__Flf4r:disabled{color:var(--ps-disabled-button-text);pointer-events:none}.Button-module_primary__xByv0{background-color:var(--ps-button-switch-bg);border-color:transparent;color:var(--ps-button-switch-text)!important}.Button-module_primary__xByv0:hover{background-color:var(--ps-button-switch-bg-highlight)}.Button-module_primary__xByv0:disabled{background-color:var(--ps-green-disabled);pointer-events:none}.Button-module_secondary__D0K-F{background-color:var(--ps-blue-primary);border-color:transparent;color:var(--ps-immutable-off-white)}.Button-module_secondary__D0K-F:hover{background-color:var(--ps-blue-highlight)}.Button-module_secondary__D0K-F:disabled{background-color:var(--ps-blue-disabled);pointer-events:none}.Button-module_float__4marx{background-color:transparent;border-color:transparent}.Button-module_danger__5-vIq{background-color:var(--ps-red-primary);border-color:transparent;color:var(--ps-neutral-2)}.Button-module_danger__5-vIq:hover{background-color:var(--ps-red-highlight)}.Button-module_danger__5-vIq:disabled{background-color:var(--ps-red-disabled);pointer-events:none}.Button-module_outline__Flf4r{background-color:transparent}.Button-module_outline__Flf4r:hover:not(:disabled){background-color:rgba(144,202,249,.08)}.Button-module_grouped__j8KwB{border-radius:0;border-right:0;margin:0;padding-left:12px;padding-right:12px}.Button-module_grouped__j8KwB:first-child{border-left:1px solid var(--ps-ui-border);border-radius:4px 0 0 4px}.Button-module_grouped__j8KwB:last-child{border-radius:0 4px 4px 0;border-right:1px solid var(--ps-ui-border)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJ1dHRvbi5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw2QkFLRSxvQ0FBcUMsQ0FDckMsaUJBQWtCLENBRmxCLGNBQWUsQ0FGZixlQUFnQixDQUNoQixzQkFBdUIsQ0FGdkIsa0JBTUYsQ0FDQSw2SEFDRSx5QkFDRixDQUVBLDZCQUNFLGNBQ0YsQ0FFQSw0QkFHRSw0QkFBOEIsQ0FGOUIsV0FBWSxDQUNaLGtCQUVGLENBRUEscUNBRUUsZ0JBQWlCLENBQ2pCLHNCQUF3QixDQUZ4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ge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy1yZWQtZGlzYWJsZWQpO1xuICBwb2ludGVyLWV2ZW50czogbm9uZTtcbn1cblxuLm91dGxpbmUge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDtcbn1cbi5vdXRsaW5lOmhvdmVyOm5vdCg6ZGlzYWJsZWQpIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgxNDQsIDIwMiwgMjQ5LCAwLjA4KTtcbn1cblxuLmdyb3VwZWQge1xuICBtYXJnaW46IDA7XG4gIGJvcmRlci1yaWdodDogMDtcbiAgYm9yZGVyLXJhZGl1czogMDtcbiAgcGFkZGluZy1sZWZ0OiAxMnB4O1xuICBwYWRkaW5nLXJpZ2h0OiAxMnB4O1xufVxuXG4uZ3JvdXBlZDpmaXJzdC1jaGlsZCB7XG4gIGJvcmRlci1sZWZ0OiAxcHggc29saWQgdmFyKC0tcHMtdWktYm9yZGVyKTtcbiAgYm9yZGVyLXJhZGl1czogNHB4IDAgMCA0cHg7XG59XG5cbi5ncm91cGVkOmxhc3QtY2hpbGQge1xuICBib3JkZXItcmlnaHQ6IDFweCBzb2xpZCB2YXIoLS1wcy11aS1ib3JkZXIpO1xuICBib3JkZXItcmFkaXVzOiAwIDRweCA0cHggMDtcbn0iXX0= */");const Ql=t.forwardRef(function({disabled:t=!1,kind:a="default",type:n="button",icon:i,iconNode:o,children:r,grouped:l,onClick:s,id:c,className:d,form:u,noBox:m,autoFocus:b,...f},h){return e.jsxs("button",{...f,id:c,ref:h,type:n,"data-testid":f["data-testid"],disabled:t,onClick:s,form:u,autoFocus:b,"aria-label":f["aria-label"],className:$r(ll,l?xl:"",vl(a),d,m&&cl,o&&dl,!i&&!o&&sl),children:[i?e.jsx(Hn,{icon:i,className:r?ul:""}):null,o,r]})});function vl(e){switch(e){case"default":return ml;case"primary":return hl;case"secondary":return gl;case"danger":return pl;case"outline":return bl;case"float":return fl;default:throw Error(`Unsupported kind ${e}`)}}function Gl({sortByDirection:a,sortBy:n,updateSortParams:i,table:o,tableBodyRef:r,className:l,isLoading:s,itemsPerPage:c}){const d=a&&n&&i,[u,m]=t.useState(0);return s?e.jsx("div",{className:rl.loadingSpinner}):e.jsxs(e.Fragment,{children:[e.jsxs("table",{className:Vi(rl.table,{[l||""]:l}),"data-testid":"table-ui",children:[e.jsx("thead",{children:e.jsx("tr",{children:o.headRow.map(({sortable:r,label:l,name:s,...c},u)=>r&&"not-filled"!==o.type&&d?t.createElement("th",{...c,key:u,className:rl.sortable,onClick:()=>i(s)},l,e.jsx("span",{className:Vi(rl.sortArrow,{[rl[a]]:n===s})})):e.jsx("th",{...c,children:l},u))})}),e.jsx("tbody",{ref:r,children:"not-filled"===o.type?e.jsx("tr",{className:null==o?void 0:o.bodyClassName,children:e.jsx("td",{colSpan:o.headRow.length,children:o.value})}):yl(o.bodyRows,u,c).map(({cells:t,isRowSelected:a,isRowDisabled:n,className:i,...o})=>{const r=Math.random();return e.jsx("tr",{...o,className:Vi(i,{[rl.isRowSelected]:a,[rl.isRowDisabled]:n}),children:t&&t.map(({style:t,value:a,...n},i)=>e.jsx("td",{style:t,...n,children:a},r+i))},r)})})]}),e.jsx(Il,{bodyRows:"filled"===o.type?o.bodyRows:void 0,itemsPerPage:c,currPage:u,setCurrPage:m})]})}function yl(e,t,a){return a?e.slice(t*a,a*(t+1)):e}function Il({itemsPerPage:t,currPage:a,setCurrPage:n,bodyRows:i}){if(!t)return null;const o=!!i&&yl(i,a+1,t).length>0,r=!!i&&yl(i,a-1,t).length>0;return e.jsxs("nav",{className:rl.pagination,children:[e.jsx(Ql,{"aria-label":"Previous Page",disabled:!r,kind:"float",icon:al.faChevronLeft,onClick:()=>n(a-1)}),e.jsx(Ql,{disabled:!o,"aria-label":"Next Page",kind:"float",icon:ol.faChevronRight,onClick:()=>n(a+1)})]})}function Bl({numTicks:a,sampleRate:n,units:i,tableBodyRef:o,palette:r}){const l=gi(a,n,i),s=l.format(a,n),c=vr(),d=t.useCallback((e,t,a)=>{var o;const d=null===(o=a.target.closest("tr"))||void 0===o?void 0:o.dataset.row;if(!d)return void t();const[u,m,...b]=d.split(";");switch(u){case"single":{const[t,a]=b,o=l.format(parseInt(t,10),n),r=l.format(parseInt(a,10),n),c=s.split(" "),d="<"===c[0]?c[1]:c[0],u=o.split(" "),f="<"===u[0]?u[1]:u[0],h=r.split(" "),g="<"===h[0]?h[1]:h[0];e({title:{text:m,diff:{text:"",color:""}},tooltipData:[{units:i,self:`${o}(${(parseFloat(f)/parseFloat(d)*100).toFixed(2)}%)`,total:`${r}(${(parseFloat(g)/parseFloat(d)*100).toFixed(2)}%)`,tooltipType:"table"}]});break}case"double":{const[t,a,o,s]=b,d=wr({formatter:l,sampleRate:n,totalLeft:parseInt(t,10),leftTicks:parseInt(a,10),totalRight:parseInt(o,10),rightTicks:parseInt(s,10),title:m,units:i},r,c);e({title:d.title,tooltipData:d.tooltipData});break}}},[l,n,i,s,r,c]);return e.jsx(Fr,{dataSourceRef:o,shouldShowTitle:!1,clickInfoSide:"left",setTooltipContent:d,palette:r})}const Fl=e=>e||0;function Zl(e,t,a,n){const i=t;return i.type="single",i.self=Fl(i.self)+e.getBarSelf(a,n),i.total=Fl(i.total)+e.getBarTotal(a,n),i}function Ll(e,t,a,n,i,o){const r=t;return r.type="double",r.self=Fl(r.self)+e.getBarSelf(a,n),r.total=Fl(r.total)+e.getBarTotal(a,n),r.selfLeft=Fl(r.selfLeft)+e.getBarSelfLeft(a,n),r.selfRght=Fl(r.selfRght)+e.getBarSelfRght(a,n),r.selfDiff=Fl(r.selfDiff)+e.getBarSelfDiff(a,n),r.totalLeft=Fl(r.totalLeft)+e.getBarTotalLeft(a,n),r.totalRght=Fl(r.totalRght)+e.getBarTotalRght(a,n),r.totalDiff=Fl(r.totalDiff)+e.getBarTotalDiff(a,n),r.leftTicks=i,r.rightTicks=o,r}function Nl(e,t,a){const n=148-e/t*148,i=a.alpha(1);return{backgroundImage:`linear-gradient(${i}, ${i})`,backgroundPosition:`-${n}px 0px`,backgroundRepeat:"no-repeat"}}const wl=({flamebearer:t,sortBy:a,sortByDirection:n,fitMode:i,handleTableItemClick:o,highlightQuery:r,palette:l,selectedItem:s,messages:c})=>{const{numTicks:d,maxSelf:u,sampleRate:m,spyName:b,units:f}=t,h=function(e){if(!e)return[];const{names:t,levels:a,format:n}=e,i="double"!==n?ai:ni,o=new Map;for(let r=0;r<a.length;r++){const l=a[r];for(let a=0;a<l.length;a+=i.jStep){const r=t[i.getBarName(l,a)];o.has(r)||o.set(r,{name:r||"<empty>",self:0,total:0});const s=o.get(r);if(!s)break;"single"===n?Zl(ai,s,l,a):Ll(ni,s,l,a,e.leftTicks,e.rightTicks)}}return Array.from(o.values())}(t).sort((e,t)=>t.total-e.total),g="asc"===n?1:-1;let p;if("name"===a)p=h.sort((e,t)=>g*e[a].localeCompare(t[a]));else switch(a){case"total":case"self":p=h.sort((e,t)=>g*(e[a]-t[a]));break;case"baseline":p=h.sort((e,t)=>g*(e.totalLeft/e.leftTicks-t.totalLeft/t.leftTicks));break;case"comparison":p=h.sort((e,t)=>g*(e.totalRght/e.rightTicks-t.totalRght/t.rightTicks));break;case"diff":p=h.sort((e,t)=>{const a=hi(fi(e.totalLeft/e.leftTicks),fi(e.totalRght/e.rightTicks)),n=hi(fi(t.totalLeft/t.leftTicks),fi(t.totalRght/t.rightTicks));return g*(a-n)});break;default:p=h}const x=gi(d,m,f),Q=e=>!!s.isJust&&e===s.value,v=t=>{return e.jsx("button",{className:"table-item-button",children:e.jsx("div",{className:"symbol-name",style:(a=i,a===Gi?{direction:"rtl",overflow:"hidden",textOverflow:"ellipsis"}:{overflow:"hidden",textOverflow:"ellipsis"}),children:t.name})});var a},G=p.filter(e=>!r||Ni(r,e.name)).map(e=>{if("double"===e.type)return(e=>{const t=fi(e.totalLeft/e.leftTicks),a=fi(e.totalRght/e.rightTicks),n=hi(t,a);let i="";n>0?i=l.badColor.rgb().string():n<0&&(i=l.goodColor.rgb().string());let r="";return e.totalLeft&&n!==1/0?e.totalRght?n>0?r=`+${n.toFixed(2)}%`:n<0&&(r=`${n.toFixed(2)}%`):r=c.diffRemoved:r=c.diffNew,{"data-row":`${e.type};${e.name};${e.totalLeft};${e.leftTicks};${e.totalRght};${e.rightTicks}`,isRowSelected:Q(e.name),onClick:()=>o(e),cells:[{value:v(e)},{value:`${t} %`},{value:`${a} %`},{value:r,style:{color:i}}]}})(e);const t=Fi(b,e.name);return((e,t)=>({"data-row":`${e.type};${e.name};${e.self};${e.total}`,isRowSelected:Q(e.name),onClick:()=>o(e),cells:[{value:v(e)},{value:x.format(e.self,m),style:Nl(e.self,u,t)},{value:x.format(e.total,m),style:Nl(e.total,d,t)}]}))(e,Zi(l,t))});return G.length>0?{bodyRows:G,type:"filled"}:{value:e.jsx("div",{className:"unsupported-format",children:c.noItemsFound}),type:"not-filled"}};function Xl({tableBodyRef:a,flamebearer:n,isDoubles:i,fitMode:o,handleTableItemClick:r,highlightQuery:l,selectedItem:s,palette:c}){const d=vr(),u=t.useMemo(()=>i?[{sortable:1,name:"name",label:d.location},{sortable:1,name:"baseline",label:d.baseline,default:!0},{sortable:1,name:"comparison",label:d.comparison},{sortable:1,name:"diff",label:d.diff}]:[{sortable:1,name:"name",label:d.location},{sortable:1,name:"self",label:d.self,default:!0},{sortable:1,name:"total",label:d.total}],[d,i]),m=(e=>{const a=e.filter(e=>null==e?void 0:e.default)[0]||e[0],[n,i]=t.useState(a.name),[o,r]=t.useState("desc");return{sortBy:n,sortByDirection:o,updateSortParams:e=>{let t=o;t=n===e?"asc"===t?"desc":"asc":"desc",i(e),r(t)}}})(u),b={headRow:u,...wl({flamebearer:n,sortBy:m.sortBy,sortByDirection:m.sortByDirection,fitMode:o,handleTableItemClick:r,highlightQuery:l,palette:c,selectedItem:s,messages:d})};return e.jsx(Gl,{...m,tableBodyRef:a,table:b,className:$r("flamegraph-table",{"flamegraph-table-doubles":i})})}const Wl=t.memo(function({flamebearer:a,fitMode:n,handleTableItemClick:i,highlightQuery:o,palette:r,selectedItem:l}){const s=t.useRef(null),c="double"===a.format;return e.jsxs("div",{"data-testid":"table-view",className:c?"flamegraph-table-wrapper flamegraph-table-wrapper--double":"flamegraph-table-wrapper",children:[e.jsx("div",{className:"flamegraph-table-scroll",children:e.jsx(Xl,{tableBodyRef:s,flamebearer:a,isDoubles:c,fitMode:n,highlightQuery:o,handleTableItemClick:i,palette:r,selectedItem:l})}),e.jsx(Bl,{tableBodyRef:s,numTicks:a.numTicks,sampleRate:a.sampleRate,units:a.units,palette:r})]})});var Cl,Rl,Dl={},Ul={};function kl(){return Cl||(Cl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="arrow-rotate-left",a=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],n="f0e2",i="M256 64c-56.8 0-107.9 24.7-143.1 64l47.1 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 192c-17.7 0-32-14.3-32-32L0 32C0 14.3 14.3 0 32 0S64 14.3 64 32l0 54.7C110.9 33.6 179.5 0 256 0 397.4 0 512 114.6 512 256S397.4 512 256 512c-87 0-163.9-43.4-210.1-109.7-10.1-14.5-6.6-34.4 7.9-44.6s34.4-6.6 44.6 7.9c34.8 49.8 92.4 82.3 157.6 82.3 106 0 192-86 192-192S362 64 256 64z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,i]},e.faArrowRotateLeft=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(Ul)),Ul}function Yl(){return Rl||(Rl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=kl();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faUndo=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Dl)),Dl}var Vl,jl,_l=Yl(),Sl={},Ml={};function Jl(){return Vl||(Vl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="diagram-project",a=["project-diagram"],n="f542",i="M0 80C0 53.5 21.5 32 48 32l96 0c26.5 0 48 21.5 48 48l0 16 128 0 0-16c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-16-128 0 0 16c0 7.3-1.7 14.3-4.6 20.5l68.6 91.5 80 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-7.3 1.7-14.3 4.6-20.5L128 224 48 224c-26.5 0-48-21.5-48-48L0 80z";e.definition={prefix:"fas",iconName:t,icon:[512,512,a,n,i]},e.faDiagramProject=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(Ml)),Ml}function El(){return jl||(jl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Jl();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faProjectDiagram=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Sl)),Sl}var zl,Al,Ol=El(),Hl={},Tl={};function Pl(){return zl||(zl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="ellipsis-vertical",a=["ellipsis-v"],n="f142",i="M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z";e.definition={prefix:"fas",iconName:t,icon:[128,512,a,n,i]},e.faEllipsisVertical=e.definition,e.prefix="fas",e.iconName=t,e.width=128,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(Tl)),Tl}function Kl(){return Al||(Al=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Pl();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faEllipsisV=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases}(Hl)),Hl}var $l=Kl();function ql(e){if(null!=e&&!1!==e){if("string"==typeof e||"number"==typeof e)return String(e);if(Array.isArray(e)){const t=e.map(e=>ql(e)).filter(e=>!!e);return t.length?t.join(" "):void 0}return t.isValidElement(e)?ql(e.props.children):void 0}}const es=({placement:t,title:a,content:n,children:i})=>{const o=ql(null!=a?a:n);return o?e.jsx("span",{title:o,children:i}):e.jsx(e.Fragment,{children:i})};var ts,as={};function ns(){return ts||(ts=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="link",a=[128279,"chain"],n="f0c1",i="M419.5 96c-16.6 0-32.7 4.5-46.8 12.7-15.8-16-34.2-29.4-54.5-39.5 28.2-24 64.1-37.2 101.3-37.2 86.4 0 156.5 70 156.5 156.5 0 41.5-16.5 81.3-45.8 110.6l-71.1 71.1c-29.3 29.3-69.1 45.8-110.6 45.8-86.4 0-156.5-70-156.5-156.5 0-1.5 0-3 .1-4.5 .5-17.7 15.2-31.6 32.9-31.1s31.6 15.2 31.1 32.9c0 .9 0 1.8 0 2.6 0 51.1 41.4 92.5 92.5 92.5 24.5 0 48-9.7 65.4-27.1l71.1-71.1c17.3-17.3 27.1-40.9 27.1-65.4 0-51.1-41.4-92.5-92.5-92.5zM275.2 173.3c-1.9-.8-3.8-1.9-5.5-3.1-12.6-6.5-27-10.2-42.1-10.2-24.5 0-48 9.7-65.4 27.1L91.1 258.2c-17.3 17.3-27.1 40.9-27.1 65.4 0 51.1 41.4 92.5 92.5 92.5 16.5 0 32.6-4.4 46.7-12.6 15.8 16 34.2 29.4 54.6 39.5-28.2 23.9-64 37.2-101.3 37.2-86.4 0-156.5-70-156.5-156.5 0-41.5 16.5-81.3 45.8-110.6l71.1-71.1c29.3-29.3 69.1-45.8 110.6-45.8 86.6 0 156.5 70.6 156.5 156.9 0 1.3 0 2.6 0 3.9-.4 17.7-15.1 31.6-32.8 31.2s-31.6-15.1-31.2-32.8c0-.8 0-1.5 0-2.3 0-33.7-18-63.3-44.8-79.6z";e.definition={prefix:"fas",iconName:t,icon:[576,512,a,n,i]},e.faLink=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=a,e.unicode=n,e.svgPathData=i,e.aliases=a}(as)),as}var is=ns(),os="Input-module_input__ulQdV";b(".Input-module_input__ulQdV,.Input-module_input__ulQdV:focus,.Input-module_input__ulQdV:focus:active{outline:none}.Input-module_input__ulQdV{border:1px solid var(--ps-ui-border);border-radius:4px;display:inline-block;padding:.25em .375em;position:relative}.Input-module_input__ulQdV[type=search]{-webkit-appearance:textfield;outline-offset:-2px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIklucHV0Lm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU1BLG9HQUNFLFlBQ0YsQ0FDQSwyQkFLRSxvQ0FBcUMsQ0FGckMsaUJBQWtCLENBRmxCLG9CQUFxQixDQUdyQixvQkFBdUIsQ0FGdkIsaUJBSUYsQ0FDQSx3Q0FDRSw0QkFBNkIsQ0FDN0IsbUJBQ0YiLCJmaWxlIjoiSW5wdXQubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuaW5wdXQge1xuICBvdXRsaW5lOiBub25lO1xufVxuLmlucHV0OmZvY3VzIHtcbiAgb3V0bGluZTogbm9uZTtcbn1cbi5pbnB1dDpmb2N1czphY3RpdmUge1xuICBvdXRsaW5lOiBub25lO1xufVxuLmlucHV0IHtcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgcGFkZGluZzogMC4yNWVtIDAuMzc1ZW07XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG59XG4uaW5wdXRbdHlwZT1zZWFyY2hdIHtcbiAgLXdlYmtpdC1hcHBlYXJhbmNlOiB0ZXh0ZmllbGQ7XG4gIG91dGxpbmUtb2Zmc2V0OiAtMnB4O1xufSJdfQ== */");const rs=t.forwardRef(({testId:t,className:a,type:n,name:i,placeholder:o,minLength:r=0,debounceTimeout:l=100,onChange:s,value:d,htmlId:u},m)=>e.jsx(c.DebounceInput,{inputRef:m,"data-testid":t,className:`${os} ${a||""}`,type:n,name:i,placeholder:o,minLength:r,debounceTimeout:l,onChange:s,value:d,id:u}));var ls="SharedQueryInput-module_wrapper__XRxrd",ss="SharedQueryInput-module_search__XlzRv",cs="SharedQueryInput-module_search-synced__J4T4b",ds="SharedQueryInput-module_searchWithSync__ryuQa",us="SharedQueryInput-module_icon__Aq0Hv",ms="SharedQueryInput-module_checked__oRvod",bs="SharedQueryInput-module_sync__0IO2N",fs="SharedQueryInput-module_syncSelected__hstBI";b(".SharedQueryInput-module_wrapper__XRxrd{align-items:center;display:flex;flex-direction:row;width:100%}.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_search__XlzRv{background:var(--ps-immutable-white);border:1px solid var(--ps-ui-border);color:rgba(0,0,0,.85);display:flex;font:inherit;height:37px;margin-right:1.5px;transition:background-color .1s ease-out,border-color .1s ease-out,box-shadow .1s ease-out;width:100%}.SharedQueryInput-module_search-synced__J4T4b::placeholder,.SharedQueryInput-module_searchWithSync__ryuQa::placeholder,.SharedQueryInput-module_search__XlzRv::placeholder{color:rgba(0,0,0,.25)}.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_kylin__Fp93M,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_light__yewPS{background:var(--ps-immutable-white);border-color:var(--ps-ui-border);color:rgba(0,0,0,.65)}@media (prefers-color-scheme:dark){.SharedQueryInput-module_search-synced__J4T4b,.SharedQueryInput-module_searchWithSync__ryuQa,.SharedQueryInput-module_search__XlzRv,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_dark__lvctB{background:var(--ps-immutable-dark-background);border-color:var(--ps-ui-border-dark);color:hsla(0,0%,100%,.75)}.SharedQueryInput-module_search-synced__J4T4b::placeholder,.SharedQueryInput-module_searchWithSync__ryuQa::placeholder,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_dark__lvctB::placeholder,.SharedQueryInput-module_search__XlzRv::placeholder{color:hsla(0,0%,100%,.5)}}.SharedQueryInput-module_search-synced__J4T4b:focus-visible,.SharedQueryInput-module_searchWithSync__ryuQa:focus-visible,.SharedQueryInput-module_search__XlzRv:focus-visible{background:var(--ps-immutable-white);border-color:#5d976f;box-shadow:0 0 0 3px rgba(93,151,111,.4);outline:none}.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_search-synced__J4T4b:focus,.SharedQueryInput-module_kylin__Fp93M.SharedQueryInput-module_searchWithSync__ryuQa:focus,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_search-synced__J4T4b:focus,.SharedQueryInput-module_light__yewPS.SharedQueryInput-module_searchWithSync__ryuQa:focus,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_kylin__Fp93M:focus,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_light__yewPS:focus{background:var(--ps-immutable-white);border-color:#5d976f;box-shadow:0 0 0 2px rgba(93,151,111,.2);outline:none}@media (prefers-color-scheme:dark){.SharedQueryInput-module_dark__lvctB.SharedQueryInput-module_search-synced__J4T4b:focus,.SharedQueryInput-module_dark__lvctB.SharedQueryInput-module_searchWithSync__ryuQa:focus,.SharedQueryInput-module_search__XlzRv.SharedQueryInput-module_dark__lvctB:focus{background:var(--ps-immutable-dark-background);border-color:#303030;box-shadow:0 0 0 2px rgba(48,48,48,.6);outline:none}}.SharedQueryInput-module_searchWithSync__ryuQa{border-bottom-right-radius:0;border-right:1px solid var(--ps-ui-border);border-top-right-radius:0;margin-right:0}.SharedQueryInput-module_search-synced__J4T4b{border-color:var(--ps-immutable-linked-border)}.SharedQueryInput-module_checked__oRvod,.SharedQueryInput-module_icon__Aq0Hv{cursor:pointer}.SharedQueryInput-module_checked__oRvod path,.SharedQueryInput-module_icon__Aq0Hv path{fill:var(--ps-grey-primary)}.SharedQueryInput-module_checked__oRvod path{fill:var(--ps-immutable-linked-border)}.SharedQueryInput-module_syncSelected__hstBI,.SharedQueryInput-module_sync__0IO2N{align-items:center;align-self:stretch;background-color:var(--ps-immutable-off-white);border:none;border:1px solid var(--ps-ui-border);border-bottom-right-radius:4px;border-left:none;border-top-right-radius:4px;cursor:pointer;display:flex;justify-content:center;position:relative;width:40px}.SharedQueryInput-module_syncSelected__hstBI{border-bottom-color:var(--ps-immutable-linked-border);border-right-color:var(--ps-immutable-linked-border);border-top-color:var(--ps-immutable-linked-border)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNoYXJlZFF1ZXJ5SW5wdXQubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsd0NBR0Usa0JBQW1CLENBRm5CLFlBQWEsQ0FDYixrQkFBbUIsQ0FHbkIsVUFDRixDQUVB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CB7XG4gIGZpbGw6IHZhcigtLXBzLWdyZXktcHJpbWFyeSk7XG59XG5cbi5jaGVja2VkIHBhdGgge1xuICBmaWxsOiB2YXIoLS1wcy1pbW11dGFibGUtbGlua2VkLWJvcmRlcik7XG59XG5cbi5zeW5jLCAuc3luY1NlbGVjdGVkIHtcbiAgYm9yZGVyOiBub25lO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy1pbW11dGFibGUtb2ZmLXdoaXRlKTtcbiAgY3Vyc29yOiBwb2ludGVyO1xuICB3aWR0aDogNDBweDtcbiAgYm9yZGVyLXRvcC1yaWdodC1yYWRpdXM6IDRweDtcbiAgYm9yZGVyLWJvdHRvbS1yaWdodC1yYWRpdXM6IDRweDtcbiAgYm9yZGVyOiAxcHggc29saWQgdmFyKC0tcHMtdWktYm9yZGVyKTtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBib3JkZXItbGVmdDogbm9uZTtcbiAgZGlzcGxheTogZmxleDtcbiAgYWxpZ24tc2VsZjogc3RyZXRjaDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG59XG5cbi5zeW5jU2VsZWN0ZWQge1xuICBib3JkZXItdG9wLWNvbG9yOiB2YXIoLS1wcy1pbW11dGFibGUtbGlua2VkLWJvcmRlcik7XG4gIGJvcmRlci1yaWdodC1jb2xvcjogdmFyKC0tcHMtaW1tdXRhYmxlLWxpbmtlZC1ib3JkZXIpO1xuICBib3JkZXItYm90dG9tLWNvbG9yOiB2YXIoLS1wcy1pbW11dGFibGUtbGlua2VkLWJvcmRlcik7XG59Il19 */");const hs=({onHighlightChange:a,highlightQuery:n,sharedQuery:i,width:o})=>{const r=vr(),l=(e=>{const a=t.useRef();return t.useEffect(()=>{a.current=e},[e]),a.current})(null==i?void 0:i.syncEnabled);t.useEffect(()=>{"string"==typeof(null==i?void 0:i.searchQuery)&&(i.syncEnabled&&a(i.searchQuery),!i.syncEnabled&&l&&l!==(null==i?void 0:i.id)&&a(""))},[null==i?void 0:i.searchQuery,null==i?void 0:i.syncEnabled]);const s=t.useMemo(()=>i&&i.syncEnabled?i.searchQuery||"":n,[i,n]),c=t.useMemo(()=>`${i?ds:ss} ${(null==i?void 0:i.syncEnabled)?cs:""}`,[i]),d=(null==i?void 0:i.syncEnabled)?r.unsyncSearchBars:r.syncSearchBars;return e.jsxs("div",{className:ls,style:{width:o},children:[e.jsx(rs,{testId:"flamegraph-search",className:c,type:"search",name:"flamegraph-search",placeholder:r.searchPlaceholder,minLength:1,debounceTimeout:100,onChange:e=>{a(e.target.value),i&&i.syncEnabled&&i.onQueryChange(e.target.value)},value:s}),i?e.jsx(es,{placement:"top",title:d,children:e.jsx("button",{className:i.syncEnabled?fs:bs,onClick:()=>{const e=!(null==i?void 0:i.syncEnabled)&&(null==i?void 0:i.id);null==i||i.toggleSync(e),e?null==i||i.onQueryChange(n):(a(n),null==i||i.onQueryChange(""))},children:e.jsx(Hn,{className:`${i.syncEnabled?ms:us}`,icon:is.faLink})})}):null]})};var gs="DiffLegend-module_flamegraph-legend__Cywr1",ps="DiffLegend-module_flamegraph-legend-list__swdXj",xs="DiffLegend-module_flamegraph-legend-item__0P-6g";function Qs(t){const{palette:a,showMode:n}=t,i=function(e){switch(e){case"large":return[-100,-80,-60,-40,-20,-10,0,10,20,40,60,80,100];case"small":return[-100,-40,-20,0,20,40,100];default:throw new Error(`Unsupported ${e}`)}}(n),o=Li(a);return e.jsx("div",{"data-testid":"flamegraph-legend",className:`${gs} ${ps}`,children:i.map(t=>e.jsxs("div",{className:xs,style:{backgroundColor:o(t).rgb().toString()},children:[t>0?"+":"",t,"%"]},t))})}function vs(){return e.jsx("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"12px",height:"12px",viewBox:"0 0 405.272 405.272",children:e.jsx("g",{children:e.jsx("path",{d:"M393.401,124.425L179.603,338.208c-15.832,15.835-41.514,15.835-57.361,0L11.878,227.836\n\n\t\tc-15.838-15.835-15.838-41.52,0-57.358c15.841-15.841,41.521-15.841,57.355-0.006l81.698,81.699L336.037,67.064\n\n\t\tc15.841-15.841,41.523-15.829,57.358,0C409.23,82.902,409.23,108.578,393.401,124.425z"})})})}b(".DiffLegend-module_flamegraph-legend__Cywr1{align-items:center;display:flex;font-size:11px;justify-content:center}.DiffLegend-module_flamegraph-legend-list__swdXj{display:flex;justify-content:center}.DiffLegend-module_flamegraph-legend-item__0P-6g{overflow:hidden;text-align:center;white-space:nowrap;width:37px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpZmZMZWdlbmQubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw0Q0FFRSxrQkFBbUIsQ0FEbkIsWUFBYSxDQUViLGNBQWUsQ0FDZixzQkFDRixDQUVBLGlEQUNFLFlBQWEsQ0FDYixzQkFDRixDQUVBLGlEQU9FLGVBQWdCLENBTGhCLGlCQUFrQixDQUlsQixrQkFBbUIsQ0FMbkIsVUFPRiIsImZpbGUiOiJEaWZmTGVnZW5kLm1vZHVsZS5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZmxhbWVncmFwaC1sZWdlbmQge1xuICBkaXNwbGF5OiBmbGV4O1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBmb250LXNpemU6IDExcHg7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xufVxuXG4uZmxhbWVncmFwaC1sZWdlbmQtbGlzdCB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xufVxuXG4uZmxhbWVncmFwaC1sZWdlbmQtaXRlbSB7XG4gIHdpZHRoOiAzN3B4O1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG5cbiAgLyogaWYgZm9yIHNvbWUgcmVhc29uIHRoZSBjb250ZW50cyBjYW4ndCBmaXQgXG4gICAqIGRvbid0IGJyZWFrIGludG8gMiBsaW5lcyAqL1xuICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICBvdmVyZmxvdzogaGlkZGVuO1xufVxuIl19 */");var Gs="Dropdown-module_dropdownMenu__tbN8r",ys="Dropdown-module_dropdownMenuButton__Xy8M4";function Is({id:t,children:a,className:n,disabled:i,value:o,label:r,onItemClick:l,overflow:s,position:c,direction:d,align:u,viewScroll:m,arrow:b,menuButtonClassName:f="",ariaLabel:h,portal:g,...p}){const x=p.menuButton||e.jsx(Fs,{"aria-label":h,className:`${ys} ${f}`,disabled:i,type:"button",children:o||r});return e.jsxs(tr,{id:t,"aria-label":h,className:$r(n,Gs),"data-testid":p["data-testid"],onItemClick:l,overflow:s,position:c,direction:d,align:u,viewScroll:m,arrow:b,menuButton:x,portal:g,children:[e.jsx(ir,{children:r}),a]})}b('@charset "UTF-8";.Dropdown-module_dropdownMenu__tbN8r{box-shadow:0 2px 6px var(--ps-dropdown-shadow)!important;padding:.25rem 0}.Dropdown-module_dropdownMenu__tbN8r,.Dropdown-module_dropdownMenu__tbN8r ul[class*=szh-menu]{background-color:var(--ps-dropdown-background)!important;color:var(--ps-neutral-2)!important}.Dropdown-module_dropdownMenu__tbN8r li[class=szh-menu__header]{text-align:left}.Dropdown-module_dropdownMenu__tbN8r div[class*=hover],.Dropdown-module_dropdownMenu__tbN8r li[class*=hover]{background-color:var(--ps-ui-element-bg-highlight)}.Dropdown-module_dropdownMenu__tbN8r [class*=szh-menu--open]:empty{display:none}.Dropdown-module_dropdownMenu__tbN8r [class*="szh-menu__item active"]{background-color:var(--ps-ui-element-bg-highlight);color:var(--ps-selected-app)}.Dropdown-module_dropdownMenu__tbN8r [class*=szh-menu__item--focusable]{background-color:inherit!important;padding-bottom:1rem;padding-top:1rem}.Dropdown-module_dropdownMenu__tbN8r [class*=szh-menu__item--focusable] input{width:100%}.Dropdown-module_dropdownMenuButton__Xy8M4{background-color:var(--ps-ui-element-bg-primary);border:1px solid var(--ps-ui-border);border-radius:4px;display:flex;flex-shrink:0;margin-right:5px;outline:none;padding-right:20px;position:relative}.Dropdown-module_dropdownMenuButton__Xy8M4:after{content:"▾";position:absolute;right:5px;top:3px}.Dropdown-module_dropdownMenuButton__Xy8M4:hover{background-color:var(--ps-ui-element-bg-highlight);cursor:pointer}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRyb3Bkb3duLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZDQSxnQkFLQSxDQWpEQSxxQ0FFRSx3REFBNEQsQ0FENUQsZ0JBSUYsQ0FDQSw4RkFIRSx3REFBMEQsQ0FDMUQsbUNBS0YsQ0FDQSxnRUFDRSxlQUNGLENBQ0EsNkdBRUUsa0RBQ0YsQ0FDQSxtRUFDRSxZQUNGLENBQ0Esc0VBQ0Usa0RBQW1ELENBQ25ELDRCQUNGLENBQ0Esd0VBQ0Usa0NBQW9DLENBRXBDLG1CQUFvQixDQURwQixnQkFFRixDQUNBLDhFQUNFLFVBQ0YsQ0FFQSwyQ0FNRSxnREFBaUQsQ0FDakQsb0NBQXFDLENBRnJDLGlCQUFrQixDQUhsQixZQUFhLENBQ2IsYUFBYyxDQUtkLGdCQUFpQixDQVBqQixZQUFhLENBUWIsa0JBQW1CLENBTG5CLGlCQU1GLENBQ0EsaURBQ0UsV0FBWSxDQUNaLGlCQUFrQixDQUVsQixTQUFVLENBRFYsT0FFRixDQUNBLGlEQUVFLGtEQUFtRCxDQURuRCxjQUVGIiwiZmlsZSI6IkRyb3Bkb3duLm1vZHVsZS5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGNoYXJzZXQgXCJVVEYtOFwiO1xuLmRyb3Bkb3duTWVudSB7XG4gIHBhZGRpbmc6IDAuMjVyZW0gMDtcbiAgYm94LXNoYWRvdzogMHB4IDJweCA2cHggdmFyKC0tcHMtZHJvcGRvd24tc2hhZG93KS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1xufVxuLmRyb3Bkb3duTWVudSBbY2xhc3MqPXN6aC1tZW51X19pdGVtLS1mb2N1c2FibGVdIGlucHV0IHtcbiAgd2lkdGg6IDEwMCU7XG59XG5cbi5kcm9wZG93bk1lbnVCdXR0b24ge1xuICBvdXRsaW5lOiBub25lO1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LXNocmluazogMDtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBib3JkZXItcmFkaXVzOiA0cHg7XG4gIGJhY2tncm91bmQtY29sb3I6IHZhcigtLXBzLXVpLWVsZW1lbnQtYmctcHJpbWFyeSk7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIG1hcmdpbi1yaWdodDogNXB4O1xuICBwYWRkaW5nLXJpZ2h0OiAyMHB4O1xufVxuLmRyb3Bkb3duTWVudUJ1dHRvbjo6YWZ0ZXIge1xuICBjb250ZW50OiBcIuKWvlwiO1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogM3B4O1xuICByaWdodDogNXB4O1xufVxuLmRyb3Bkb3duTWVudUJ1dHRvbjpob3ZlciB7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcHMtdWktZWxlbWVudC1iZy1oaWdobGlnaHQpO1xufSJdfQ== */');const Bs=nr,Fs=ko;var Zs="DiffLegendPaletteDropdown-module_container__h8Tts",Ls="DiffLegendPaletteDropdown-module_triggerButton__oezA6",Ns="DiffLegendPaletteDropdown-module_dropdownArrow__-Lu0w",ws="DiffLegendPaletteDropdown-module_menuItem__5iWry",Xs="DiffLegendPaletteDropdown-module_menuItemText__a-tt0";b(".DiffLegendPaletteDropdown-module_container__h8Tts{align-items:center;display:flex}.DiffLegendPaletteDropdown-module_triggerButton__oezA6{align-items:center;background-color:var(--ps-immutable-off-white);border:1px solid var(--ps-ui-border);border-radius:4px;cursor:pointer;display:flex;gap:6px;height:37px;padding:4px 8px}.DiffLegendPaletteDropdown-module_triggerButton__oezA6:hover{background-color:var(--ps-ui-element-bg-highlight)}.DiffLegendPaletteDropdown-module_dropdownArrow__-Lu0w{color:var(--ps-text-secondary);font-size:8px;margin-left:4px}.DiffLegendPaletteDropdown-module_menuItem__5iWry{align-items:center;display:flex;gap:12px;justify-content:space-between;min-width:200px;padding:4px 0}.DiffLegendPaletteDropdown-module_menuItemText__a-tt0{color:var(--ps-text-primary);font-size:13px}.DiffLegendPaletteDropdown-module_row__Dgure{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:2px}.DiffLegendPaletteDropdown-module_row__Dgure p{font-size:13px;margin:0}.DiffLegendPaletteDropdown-module_dropdownWrapper__oQiLG{display:flex}.DiffLegendPaletteDropdown-module_diffPaletteDropdown__-mtm9{background-color:var(--ps-immutable-off-white);border:1px solid var(--ps-ui-border);border-radius:4px;cursor:pointer;padding:4px 8px}.DiffLegendPaletteDropdown-module_diffPaletteDropdown__-mtm9:hover{background-color:var(--ps-ui-element-bg-highlight)}.DiffLegendPaletteDropdown-module_dropdownItem__qp936{align-items:center;display:flex;gap:8px;margin-top:4px}.DiffLegendPaletteDropdown-module_dropdownItem__qp936 svg{flex-shrink:0;height:16px;width:16px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpZmZMZWdlbmRQYWxldHRlRHJvcGRvd24ubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxtREFFRSxrQkFBbUIsQ0FEbkIsWUFFRixDQUdBLHVEQUVFLGtCQUFtQixDQUtuQiw4Q0FBK0MsQ0FGL0Msb0NBQXFDLENBQ3JDLGlCQUFrQixDQUVsQixjQUFlLENBUGYsWUFBYSxDQUViLE9BQVEsQ0FNUixXQUFZLENBTFosZUFNRixDQUVBLDZEQUNFLGtEQUNGLENBRUEsdURBRUUsOEJBQStCLENBRC9CLGFBQWMsQ0FFZCxlQUNG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b2ludGVyO1xuICBib3JkZXI6IDFweCBzb2xpZCB2YXIoLS1wcy11aS1ib3JkZXIpO1xuICBib3JkZXItcmFkaXVzOiA0cHg7XG4gIHBhZGRpbmc6IDRweCA4cHg7XG4gIGJhY2tncm91bmQtY29sb3I6IHZhcigtLXBzLWltbXV0YWJsZS1vZmYtd2hpdGUpO1xufVxuXG4uZGlmZlBhbGV0dGVEcm9wZG93bjpob3ZlciB7XG4gIGJhY2tncm91bmQtY29sb3I6IHZhcigtLXBzLXVpLWVsZW1lbnQtYmctaGlnaGxpZ2h0KTtcbn1cblxuLmRyb3Bkb3duSXRlbSB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGdhcDogOHB4O1xuICBtYXJnaW4tdG9wOiA0cHg7XG59XG5cbi5kcm9wZG93bkl0ZW0gc3ZnIHtcbiAgd2lkdGg6IDE2cHg7XG4gIGhlaWdodDogMTZweDtcbiAgZmxleC1zaHJpbms6IDA7XG59XG4iXX0= */");const Ws=[ur,mr],Cs=t=>{const{palette:a=ur,onChange:n}=t,i=vr(),o=e=>"Default"===e.name?i.paletteDefaultName:"Color Blind"===e.name?i.paletteColorBlindName:e.name,r=e=>"Default"===e.name?i.paletteDefaultDesc:"Color Blind"===e.name?i.paletteColorBlindDesc:"";return e.jsx("div",{className:Zs,children:e.jsx(Is,{label:i.diffLegendSelectPalette,align:"end",menuButton:e.jsxs(Fs,{className:$r(ys,Ls),children:[e.jsx(Qs,{palette:a,showMode:"small"}),e.jsx("span",{className:Ns})]}),onItemClick:e=>{e.value&&n(e.value)},children:Ws.map(t=>e.jsx(Bs,{value:t,children:e.jsxs("div",{className:ws,children:[e.jsxs("span",{className:Xs,children:[o(t)," ",r(t)]}),t.name===a.name&&e.jsx(vs,{})]})},t.name))})})};var Rs={navbar:"Toolbar-module_navbar__XN6xZ",searchWrapper:"Toolbar-module_searchWrapper__k--ua",rightSection:"Toolbar-module_rightSection__if7LO",viewType:"Toolbar-module_viewType__AKARg",toggleViewButton:"Toolbar-module_toggleViewButton__OQ9-U",fitModeButton:"Toolbar-module_fitModeButton__jOxve",selected:"Toolbar-module_selected__vwBQt",collapseNodeButton:"Toolbar-module_collapseNodeButton__bLdiw",resetViewButton:"Toolbar-module_resetViewButton__y2ebV",divider:"Toolbar-module_divider__dG6pE",itemsContainer:"Toolbar-module_itemsContainer__gSTMF",item:"Toolbar-module_item__o-hKc",moreButton:"Toolbar-module_moreButton__rhOdT",active:"Toolbar-module_active__36Kt-",navbarCollapsedItems:"Toolbar-module_navbarCollapsedItems__vojhw"};b(".Toolbar-module_navbar__XN6xZ{align-items:center;background-color:var(--ps-fl-toolbar-bg);border:1px solid var(--ps-ui-border);display:flex;flex-direction:row;height:47px;justify-content:space-between;margin:10px 0;padding:4px;position:relative}.Toolbar-module_searchWrapper__k--ua{flex-shrink:0;width:360px}.Toolbar-module_rightSection__if7LO{align-items:center;display:flex;gap:4px}.Toolbar-module_viewType__AKARg{display:flex;flex-direction:row;flex-wrap:nowrap}.Toolbar-module_navbar__XN6xZ button{color:var(--ps-toolbar-icon-color)}.Toolbar-module_fitModeButton__jOxve,.Toolbar-module_toggleViewButton__OQ9-U{align-items:center;background-color:transparent;border-color:transparent;display:flex;height:37px;justify-content:center;margin:0 2px;min-width:auto;padding:0;width:40px}.Toolbar-module_fitModeButton__jOxve svg,.Toolbar-module_toggleViewButton__OQ9-U svg{height:22px;width:22px}.Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve,.Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve:hover,.Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt,.Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt:hover{background-color:var(--ps-fl-toolbar-btn-bg)}.Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve svg,.Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt svg{color:#fff}.Toolbar-module_collapseNodeButton__bLdiw,.Toolbar-module_resetViewButton__y2ebV{background-color:transparent;border-color:transparent;height:37px;margin:0 2px;min-width:auto;padding:0;width:40px}.Toolbar-module_resetViewButton__y2ebV{margin:0 2px;min-width:auto;padding:0;width:40px}.Toolbar-module_divider__dG6pE{background-color:var(--ps-ui-border);height:37px;margin:0 2px;width:1px}.Toolbar-module_item__o-hKc,.Toolbar-module_itemsContainer__gSTMF{display:flex}.Toolbar-module_moreButton__rhOdT{border:none;border-radius:4px;height:37px;padding:0 5px}.Toolbar-module_moreButton__rhOdT.Toolbar-module_active__36Kt-,.Toolbar-module_moreButton__rhOdT.Toolbar-module_active__36Kt-:hover{background-color:var(--ps-fl-toolbar-btn-bg)}.Toolbar-module_moreButton__rhOdT:hover{background-color:var(--ps-ui-element-bg-highlight);cursor:pointer}.Toolbar-module_navbarCollapsedItems__vojhw{background-color:var(--ps-fl-toolbar-bg);border:1px solid var(--ps-ui-border);display:flex;height:47px;padding:4px;position:absolute;right:0;top:50px;z-index:1}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2xiYXIubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsOEJBVUUsa0JBQW1CLENBSG5CLHdDQUF5QyxDQUN6QyxvQ0FBcUMsQ0FOckMsWUFBYSxDQUNiLGtCQUFtQixDQUduQixXQUFZLENBRFosNkJBQThCLENBRDlCLGFBQWMsQ0FLZCxXQUFZLENBUlosaUJBVUYsQ0FFQSxxQ0FFRSxhQUFjLENBRGQsV0FFRixDQUVBLG9DQUVFLGtCQUFtQixDQURuQixZQUFhLENBRWIsT0FDRixDQUVBLGdDQUNFLFlBQWEsQ0FDYixrQkFBbUIsQ0FDbkIsZ0JBQ0YsQ0FFQSxxQ0FDRSxrQ0FDRixDQUVBLDZFQVVFLGtCQUFtQixDQUhuQiw0QkFBNkIsQ0FEN0Isd0JBQXlCLENB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QtY29sb3I6IHZhcigtLXBzLWZsLXRvb2xiYXItYnRuLWJnKTtcbn1cbi5tb3JlQnV0dG9uOmhvdmVyIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcHMtdWktZWxlbWVudC1iZy1oaWdobGlnaHQpO1xuICBjdXJzb3I6IHBvaW50ZXI7XG59XG5cbi5uYXZiYXJDb2xsYXBzZWRJdGVtcyB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcmlnaHQ6IDA7XG4gIHRvcDogNTBweDtcbiAgaGVpZ2h0OiA0N3B4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy1mbC10b29sYmFyLWJnKTtcbiAgYm9yZGVyOiAxcHggc29saWQgdmFyKC0tcHMtdWktYm9yZGVyKTtcbiAgcGFkZGluZzogNHB4O1xuICB6LWluZGV4OiAxO1xufSJdfQ== */");const Ds=Q.bind(Rs),Us=(e,t,a)=>{const n=0===t?e-360-5:e-360-16-5;let i=0,o=0;return a.reverse().forEach(e=>{o+=e,n<=o&&(i+=1)}),i},ks=()=>e.jsx("div",{className:Rs.divider}),Ys=t.memo(({view:a,handleSearchChange:n,highlightQuery:i,isFlamegraphDirty:o,reset:l,updateFitMode:s,fitMode:c,updateView:d,selectedNode:u,onFocusOnSubtree:m,flamegraphType:b,enableChangingDisplay:f=!0,sharedQuery:h,ExportData:g,palette:p,setPalette:x})=>{const Q=t.useRef(null),v=vr(),G="double"===b&&p&&x,y=[{el:e.jsxs(e.Fragment,{children:[e.jsx(_s,{fitMode:c,updateFitMode:s}),e.jsx(ks,{})]}),width:93},{el:e.jsx(js,{isFlamegraphDirty:o,reset:l}),width:44},{el:e.jsxs(e.Fragment,{children:[e.jsx(Vs,{selectedNode:u,onFocusOnSubtree:m}),e.jsx(ks,{})]}),width:49},f?{el:e.jsx(Ms,{flamegraphType:b,view:a,updateView:d}),width:44*("single"===b?5:3)}:null,t.isValidElement(g)?{el:e.jsxs(e.Fragment,{children:[e.jsx(ks,{}),g]}),width:49}:null].filter(e=>null!==e),I=y.reduce((e,t)=>[...e,t.width],[]),{isCollapsed:B,collapsedItemsNumber:F,handleMoreClick:Z}=((e,a)=>{const[n,i]=t.useState(!0),[o,l]=t.useState(0);return t.useLayoutEffect(()=>{if(e.current){const{width:t}=e.current.getBoundingClientRect(),n=Us(t,o,a);l(n)}},[e.current,a]),r(e,e=>{const{width:t}=e.target.getBoundingClientRect(),n=Us(t,o,a);l(n),i(!0)}),{isCollapsed:n,handleMoreClick:()=>{i(e=>!e)},collapsedItemsNumber:o}})(Q,I),L=y.reduce((e,t,a)=>(a<F?e.hidden.push(t):e.visible.push(t),e),{visible:[],hidden:[]});return e.jsx("div",{role:"toolbar",ref:Q,children:e.jsxs("div",{className:Rs.navbar,children:[e.jsx("div",{className:Rs.searchWrapper,children:e.jsx(hs,{width:360,onHighlightChange:n,highlightQuery:i,sharedQuery:h})}),e.jsxs("div",{className:Rs.rightSection,children:[G&&e.jsxs(e.Fragment,{children:[e.jsx(Cs,{palette:p,onChange:x}),e.jsx(ks,{})]}),e.jsxs("div",{className:Rs.itemsContainer,children:[L.visible.map((t,a)=>e.jsx("div",{className:Rs.item,style:{width:t.width},children:t.el},a)),0!==F&&e.jsx(es,{placement:"top",title:v.more,children:e.jsx("button",{onClick:Z,className:Ds({[Rs.moreButton]:!0,[Rs.active]:!B}),children:e.jsx(Hn,{icon:$l.faEllipsisV})})})]})]}),!B&&e.jsx("div",{className:Rs.navbarCollapsedItems,children:L.hidden.map((t,a)=>e.jsx("div",{className:Rs.item,style:{width:t.width},children:t.el},a))})]})})});function Vs({onFocusOnSubtree:t,selectedNode:a}){const n=vr(),i=a.mapOr(()=>{},e=>()=>t(e.i,e.j));return e.jsx(es,{placement:"top",title:n.collapseNodesAbove,children:e.jsx("div",{children:e.jsx(Ql,{disabled:!a.isJust,onClick:i,className:Rs.collapseNodeButton,"aria-label":n.collapseNodesAbove,children:e.jsx(Hn,{icon:so.faCompressAlt})})})})}function js({isFlamegraphDirty:t,reset:a}){const n=vr();return e.jsx(es,{placement:"top",title:n.resetView,children:e.jsx("span",{children:e.jsx(Ql,{id:"reset",disabled:!t,onClick:a,className:Rs.resetViewButton,"aria-label":n.resetView,children:e.jsx(Hn,{icon:_l.faUndo})})})})}function _s({fitMode:t,updateFitMode:a}){const n=vr(),i=e=>t===e;return e.jsxs(e.Fragment,{children:[e.jsx(es,{placement:"top",title:n.headFirst,children:e.jsx(Ql,{onClick:()=>a("HEAD"),className:Ds({[Rs.fitModeButton]:!0,[Rs.selected]:i("HEAD")}),children:e.jsx(Vr,{})})}),e.jsx(es,{placement:"top",title:n.tailFirst,children:e.jsx(Ql,{onClick:()=>a("TAIL"),className:Ds({[Rs.fitModeButton]:!0,[Rs.selected]:i("TAIL")}),children:e.jsx(jr,{})})})]})}const Ss=(t,a)=>"single"===t?[{label:a.viewTable,value:"table",Icon:Dr},{label:a.viewTableAndFlamegraph,value:"both",Icon:Ur},{label:a.viewFlamegraph,value:"flamegraph",Icon:kr},{label:a.viewSandwich,value:"sandwich",Icon:Yr},{label:a.viewGraphviz,value:"graphviz",Icon:()=>e.jsx(Hn,{icon:Ol.faProjectDiagram})}]:[{label:a.viewTable,value:"table",Icon:Dr},{label:a.viewTableAndFlamegraph,value:"both",Icon:Ur},{label:a.viewFlamegraph,value:"flamegraph",Icon:kr}];function Ms({view:t,updateView:a,flamegraphType:n}){const i=vr(),o=Ss(n,i);return e.jsx("div",{className:Rs.viewType,children:o.map(({label:n,value:i,Icon:o})=>e.jsx(es,{placement:"top",title:n,children:e.jsx(Ql,{"data-testid":i,onClick:()=>a(i),className:Ds({[Rs.toggleViewButton]:!0,selected:t===i}),children:e.jsx(o,{})})},i))})}function Js(e,t){const a={},n={};let i={name:"total",children:[],self:[],total:[],key:"/total"};return(t?[e,t]:[e]).forEach((e,t)=>{var o,r;for(let l=0;l<e.levels.length;l+=1)for(let s=0;s<e.levels[l].length;s+=4){const c=[t,l,s].join("/"),d=e.names[e.levels[l][s+3]],u=e.levels[l][s+0],m=e.levels[l][s+1],b=e.levels[l][s+2];let f="";if(0!==l){const a=l-1,i=e.levels[a];for(let e=0;e<i.length;e+=4){const o=i[e+0],r=i[e+1];if(u>=o&&u<o+r){const i=[t,a,e].join("/");f=n[i].key;break}}}const h=[f||"",d].join("/"),g=!a[h];a[h]||(a[h]={name:d,children:[],self:[],total:[],key:h});const p=a[h];(o=p.total)[t]||(o[t]=0),p.total[t]+=m,(r=p.self)[t]||(r[t]=0),p.self[t]+=b,n[c]=p,f&&g&&a[f].children.push(p),0===l&&(i=p)}}),i}const Es=e=>{const t={maxSelf:100,names:[],levels:[]},a=(e,n,i)=>{var o;const{name:r,children:l,self:s,total:c,offset:d}=e;t.names.push(r),(o=t.levels)[n]||(o[n]=[]),t.maxSelf=Math.max(t.maxSelf,s[0]||0),t.levels[n]=t.levels[n].concat([i,c[0]||0,s[0]||0,t.names.length-1]);for(let e=0;e<l.length;e+=1){i+=a(l[e],n+1,i)}return d||c[0]||0};return a(e,0,0),t};function zs(e){const t=new Map;for(let a=0;a<e.children.length;a+=1)t.has(e.children[a].name)||t.set(e.children[a].name,e.children[a]);for(let a=0;a<e.children.length;a+=1){const n=e.children[a],i=t.get(e.children[a].name);i&&i!==n&&(i.total[0]+=n.total[0],i.self[0]+=n.self[0],i.children=i.children.concat(n.children))}e.children=Array.from(t.values());for(let t=0;t<e.children.length;t+=1)zs(e.children[t])}function As(e,t){const a=function(e,t){const a=Js(e),n={format:"single",numTicks:0,maxSelf:100,sampleRate:100,names:[],levels:[],units:e.units,spyName:e.spyName},i={name:t,total:[],self:[0],children:[]},o=e=>{e.name===t&&(n.numTicks+=e.total[0],i.total=[n.numTicks],i.children=i.children.concat(e.children));for(let t=0;t<e.children.length;t+=1)o(e.children[t])};return o(a),zs(i),{...n,...Es(i)}}(JSON.parse(JSON.stringify(e)),t);return a}function Os(e,t){const a=function(e,t){const a=Js(e),n={format:"single",maxSelf:100,sampleRate:100,numTicks:0,names:[],levels:[],units:e.units,spyName:e.spyName},i=[],o=[],r={name:t,total:[0],self:[0],children:[]},l=(e,a=[])=>{const r=a.concat([{...e,children:[]}]);e.name===t&&(o.push(r),i.push(e.total[0]),n.numTicks+=e.total[0]);for(let t=0;t<e.children.length;t+=1)l(e.children[t],r)};l(a),o.forEach((e,t)=>{r.children.push(((e,t)=>{const a={};let n=a;return e.forEach(({name:e,...a})=>{const i={name:e,...a,total:[t]};n.children=[i],n=i}),a.children[0]})(e.reverse(),i[t]))}),zs(r);const s=Es(r);return s.levels=s.levels.reverse().slice(0,-1),{...n,...s}}(JSON.parse(JSON.stringify(e)),t);return a}var Hs={flamegraphContainer:"FlamegraphRenderer-module_flamegraphContainer__-7FRV",createdBy:"FlamegraphRenderer-module_createdBy__rHAOT",horizontal:"FlamegraphRenderer-module_horizontal__zs7--",vertical:"FlamegraphRenderer-module_vertical__fRcHg",panesWrapper:"FlamegraphRenderer-module_panesWrapper__L-mlA",tablePane:"FlamegraphRenderer-module_tablePane__Gin7Y",sandwichPane:"FlamegraphRenderer-module_sandwichPane__IEOyR",sandwichPaneInfo:"FlamegraphRenderer-module_sandwichPaneInfo__5hT4a",arrow:"FlamegraphRenderer-module_arrow__dPzpE",sandwichTop:"FlamegraphRenderer-module_sandwichTop__7N0ZY",sandwichBottom:"FlamegraphRenderer-module_sandwichBottom__Dc64g",name:"FlamegraphRenderer-module_name__XRbN9"};b(".FlamegraphRenderer-module_flamegraphContainer__-7FRV{width:100%}.FlamegraphRenderer-module_flamegraphContainer__-7FRV>:first-child{margin-right:8px}.FlamegraphRenderer-module_flamegraphContainer__-7FRV>:nth-child(2){margin-left:8px}.FlamegraphRenderer-module_createdBy__rHAOT{color:#fff;margin:10px 0;text-align:center}.FlamegraphRenderer-module_createdBy__rHAOT a{color:#199bef!important}.FlamegraphRenderer-module_horizontal__zs7--{flex-direction:row}.FlamegraphRenderer-module_vertical__fRcHg{flex-direction:column-reverse}.FlamegraphRenderer-module_panesWrapper__L-mlA{display:flex}.FlamegraphRenderer-module_sandwichPane__IEOyR,.FlamegraphRenderer-module_tablePane__Gin7Y{flex:1}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a{background-color:var(--ps-sandwich-pane-info-bg);border-radius:5px;color:var(--ps-neutral-1);display:inline-block;margin:30px 0 0 10px;padding:8px;position:relative}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a.FlamegraphRenderer-module_vertical__fRcHg{margin:30px 0}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a.FlamegraphRenderer-module_vertical__fRcHg .FlamegraphRenderer-module_arrow__dPzpE{bottom:-15px;left:20px;top:auto;transform:rotate(-90deg)}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichPaneInfo__5hT4a .FlamegraphRenderer-module_arrow__dPzpE{border-color:transparent var(--ps-sandwich-pane-info-bg) transparent transparent;border-style:solid;border-width:8px 20px 8px 0;height:0;left:-20px;position:absolute;top:14px;width:0}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichTop__7N0ZY{margin-bottom:10px}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichBottom__Dc64g,.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichTop__7N0ZY{display:flex}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichBottom__Dc64g .FlamegraphRenderer-module_name__XRbN9,.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichTop__7N0ZY .FlamegraphRenderer-module_name__XRbN9{padding:5px 0;transform:rotate(-180deg);writing-mode:vertical-rl}.FlamegraphRenderer-module_sandwichPane__IEOyR .FlamegraphRenderer-module_sandwichBottom__Dc64g span{text-align:right}\n/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e).forEach(a=>{var n;t.push(`${a}="${n=String(e[a]||""),n.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`)}),`[${t.join(" ")}]`}function Ps(e,t){return`${(100*e/t).toFixed(2)}%`}function Ks(e,t){let a,n,i,o;t?(a=.1,n=.93):(a=1,n=.7),e=Math.max(-1,Math.min(1,e)),Math.abs(e)<.2&&(a*=Math.abs(e)/.2),e>0&&(e**=1-.7),e<0&&(e=-((-e)**(1-.7))),e<0?(o=n,i=n*(1+a*e)):(i=n,o=n*(1-a*e));const r=n*(1-a);return`#${Math.floor(255*i).toString(16).padStart(2,"0")}${Math.floor(255*o).toString(16).padStart(2,"0")}${Math.floor(255*r).toString(16).padStart(2,"0")}`}function $s(e,t,a,n){const{self:i}=t,{total:o}=t,r=t.name.replace(/"/g,'\\"'),l=e(i),s=8+Math.ceil(16*Math.sqrt(i/a)),c=Ks(o/n,!1),d=Ks(o/n,!0),u=function(e,t,a,n,i){let o="";o=`${function(e){return e.replace(/.*\//,"")}(t)}\n`;const r=e(a);0!==a?o=`${o+r} (${Ps(a,i)})`:o+="0";let l=r;n!==a&&(o+=0!==a?"\n":" ",l=e(n),o=`${o}of ${l} (${Ps(n,i)})`);return o}(e,r,i,o,n),m={label:u,id:`node${t.index}`,fontsize:s,shape:"box",tooltip:`${r} (${l})`,color:c,fontcolor:"#000000",style:"filled",fontname:"",fillcolor:d};return`N${t.index} ${Ts(m)}`}function qs(e){if("double"===e.metadata.format)return"diff flamegraphs are not supported";const t=Js(e.flamebearer),a=[],n=[];const[i,o,,r]=function e(t,a,n,i,o){return t.children.forEach(t=>{const[r,l]=e(t,a,n,i,o);a=Math.max(a,r),n=Math.max(n,l)}),a=Math.max(a,t.self[0]),n=Math.max(n,t.total[0]),i+=t.self[0],o+=t.total[0],[a,n,i,o]}(t,0,0,0,0),{sampleRate:l,units:s}=e.metadata,c=gi(o,l,s),d=e=>c.format(e,l,!0);let u={};const m={};let b=0;function f(e,t){return-1===t.indexOf(e.name)&&(u[e.name]?(u[e.name].self+=e.self[0],u[e.name].total+=e.total[0]):(b+=1,u[e.name]={index:b,name:e.name,self:e.self[0],total:e.total[0],parents:[],children:[]})),e.children.forEach(a=>{const n=f(a,t.concat([e.name])),i=`${e.name}/${a.name}`;a.name!==e.name&&(m[i]?m[i].weight+=a.total[0]:m[i]={from:u[e.name],to:n,weight:a.total[0],residual:!1},n.parents.push(m[i]),u[e.name].children.push(m[i]))}),u[e.name]}t.children.forEach(e=>{f(e,[])});const h=.005*r,g=.001*r;function p(e,t){let a=0,n=t;if(e.forEach(e=>{e.weight>0&&(n+=Math.abs(e.weight))}),0!==n&&(e.forEach(e=>{const t=Math.abs(e.weight)/n;a+=-t*Math.log2(t)}),t>0)){const e=Math.abs(t)/n;a+=-e*Math.log2(e)}return a}Object.keys(u).forEach(e=>{u[e].total<h&&delete u[e]});const x={};Object.keys(u).forEach(e=>{x[u[e].name]=function(e){let t=0;return 0===e.parents.length?t+=1:t+=p(e.parents,0),0===e.children.length?t+=1:t+=p(e.children,e.self),t*e.total+e.self}(u[e])});const Q=Object.values(u).sort((e,t)=>{const a=x[e.name],n=x[t.name];return a!==n?n-a:e.name!==t.name?e.name<t.name?-1:1:e.self!==t.self?n-a:e.name<t.name?-1:1}),v={};function G(e){const[t,a]=[e.from,e.to],n={},i=[a];for(;i.length>0;){const a=i.shift();for(let o=0;o<a.parents.length;o+=1){const r=a.parents[o];if(e!==r&&!n[r.from.name]){if(r.from===t)return!0;n[r.from.name]=!0,i.push(r.from)}}}return!1}return Q.forEach(e=>{v[e.name]=e}),Q.slice(80).forEach(e=>{delete v[e.name]}),function e(t,a){const n=!v[t.name];t.children.forEach(i=>{const o=!v[i.name];if(e(i,n?a:t),!o&&a&&n){const e=`${a.name}/${i.name}`;m[e]||(m[e]={from:u[a.name],to:u[i.name],weight:0,residual:!0}),m[e].weight+=i.total[0],m[e].residual=!0}})}(t,null),u=v,Q.reverse().forEach(e=>{const t=e.parents.sort((e,t)=>t.weight-e.weight),a=[];for(let e=0;e<t.length;e+=1){const n=t[e];if(!n.residual)break;G(n)&&(a.push(n),delete m[`${n.from.name}/${n.to.name}`])}a.forEach(e=>{e.from.children=e.from.children.filter(t=>t.to!==e.to),e.to.parents=e.to.parents.filter(t=>t.from!==e.from)})}),Object.keys(m).forEach(e=>{const t=m[e];u[t.from.name]||delete m[e],u[t.to.name]||delete m[e],t.weight<g&&delete m[e]}),Object.keys(u).forEach(e=>{a.push($s(d,u[e],i,o))}),Object.keys(m).forEach(e=>{n.push(function(e,t,a){const n=t.from.name.replace(/"/g,'\\"'),i=t.to.name.replace(/"/g,'\\"'),o=t.weight,r=e(t.weight),l=`${n} -> ${i} (${r})`,s={label:r,weight:1+100*o/a,penwidth:1+5*o/a,tooltip:l,labeltooltip:l,fontname:"",color:Ks(o/a,!1),style:t.residual?"dotted":""};return`N${t.from.index} -> N${t.to.index} ${Ts(s)}`}(d,m[e],o))}),`digraph "unnamed" {\n fontname= ""\n ${a.join("\n")}\n ${n.join("\n")}\n }`}var ec="GraphVizPanel-module_graphVizPane__B18cQ";b(".GraphVizPanel-module_graphVizPane__B18cQ{display:flex;flex:1}.GraphVizPanel-module_graphVizPane__B18cQ.GraphVizPanel-module_graphVizPane__B18cQ{border:1px solid var(--ps-ui-border);margin-right:0}.GraphVizPanel-module_graphVizPane__B18cQ div[id^=graphviz]{overflow:hidden;width:100%}.GraphVizPanel-module_graphVizPane__B18cQ div[id^=graphviz] .graph>polygon{fill:none}.GraphVizPanel-module_graphVizPane__B18cQ div[id^=graphviz] .edge text[text-anchor=middle]{fill:var(--ps-toolbar-icon-color)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkdyYXBoVml6UGFuZWwubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMENBQ0UsWUFBYSxDQUNiLE1BQ0YsQ0FDQSxtRkFFRSxvQ0FBcUMsQ0FEckMsY0FFRixDQUNBLDREQUVFLGVBQWdCLENBRGhCLFVBRUYsQ0FDQSwyRUFDRSxTQUNGLENBQ0EsMkZBQ0UsaUNBQ0YiLCJmaWxlIjoiR3JhcGhWaXpQYW5lbC5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5ncmFwaFZpelBhbmUge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4OiAxO1xufVxuLmdyYXBoVml6UGFuZS5ncmFwaFZpelBhbmUge1xuICBtYXJnaW4tcmlnaHQ6IDA7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG59XG4uZ3JhcGhWaXpQYW5lIGRpdltpZF49Z3JhcGh2aXpdIHtcbiAgd2lkdGg6IDEwMCU7XG4gIG92ZXJmbG93OiBoaWRkZW47XG59XG4uZ3JhcGhWaXpQYW5lIGRpdltpZF49Z3JhcGh2aXpdIDpnbG9iYWwgLmdyYXBoID4gcG9seWdvbiB7XG4gIGZpbGw6IG5vbmU7XG59XG4uZ3JhcGhWaXpQYW5lIGRpdltpZF49Z3JhcGh2aXpdIDpnbG9iYWwgLmVkZ2UgdGV4dFt0ZXh0LWFuY2hvcj1taWRkbGVdIHtcbiAgZmlsbDogdmFyKC0tcHMtdG9vbGJhci1pY29uLWNvbG9yKTtcbn0iXX0= */");const tc=()=>null;function ac({flamebearer:a}){var n,i;const o=a,r=(null===(n=o.metadata)||void 0===n?void 0:n.format)&&(null===(i=o.flamebearer)||void 0===i?void 0:i.levels),l=`graphviz-pane-${(null==o?void 0:o.appName)||String((new Date).valueOf())}`,s=t.useMemo(()=>qs(o),[JSON.stringify(o)]);return e.jsx("div",{className:ec,children:r?e.jsx(tc,{options:{zoom:!0,width:"150%",height:"100%",scale:1,useWorker:!1},dot:s}):e.jsx("div",{children:"NO DATA"})},l)}function nc(e,t){const a=[...t];function n(e,t,a){for(const n of e){let e=0;for(let i=t;i<n.length;i+=a)n[i]-=e,e+=n[i]+n[i+1]}}return"double"===e?(n(a,0,7),n(a,3,7)):n(a,0,4),a}function ic(e,t){const a=[...t];function n(e,t,a){for(const n of e){let e=0;for(let i=t;i<n.length;i+=a)n[i]+=e,e=n[i]+n[i+1]}}return"double"===e?(n(a,0,7),n(a,3,7)):n(a,0,4),a}function oc(e){if(e.profile&&e.flamebearer&&console.warn("'profile' and 'flamebearer' properties are mutually exclusive. Please use profile if possible."),e.profile){const a={...e.profile,flamebearer:{...e.profile.flamebearer}};a.flamebearer.levels=JSON.parse(JSON.stringify(a.flamebearer.levels)),(t=a).flamebearer.levels=ic(t.metadata.format,t.flamebearer.levels);const n={...a,...a.metadata,...a.flamebearer,flamebearer:void 0,metadata:void 0};return delete n.flamebearer,delete n.metadata,n}var t;if(e.flamebearer)return e.flamebearer;return{format:"single",names:[],units:"unknown",levels:[[]],spyName:"unknown",numTicks:0,sampleRate:0,maxSelf:0}}class rc extends t.Component{constructor(t){super(t),this.resetFlamegraphState={focusedNode:a.Maybe.nothing(),zoom:a.Maybe.nothing()},this.initialFlamegraphState=this.resetFlamegraphState,this.calcNewConfigs=(e,t)=>{const a=this.state.flamegraphConfigs,n=(e,t,a)=>{const n=(e,t,a)=>e.names[ii(e.format).getBarName(e.levels[t],a)];if(a.isNothing)return!0;try{const i=a,o=n(e,i.value.i,i.value.j);return o===n(t,i.value.i,i.value.j)}catch{return!1}};n(e,t,this.state.flamegraphConfigs.zoom)||(a.zoom=this.resetFlamegraphState.zoom);return n(e,t,this.state.flamegraphConfigs.focusedNode)||(a.focusedNode=this.resetFlamegraphState.focusedNode),a},this.onSearchChange=e=>{this.setState({searchQuery:e})},this.isSameFlamebearer=(e,t)=>function(e,t){var a;return e.format===t.format&&e.numTicks===t.numTicks&&e.sampleRate===t.sampleRate&&e.units===t.units&&(null===(a=e.names)||void 0===a?void 0:a.length)===(null==t?void 0:t.names.length)&&e.levels.length===t.levels.length&&!!e.names.every((e,a)=>e===t.names[a])&&!!function(e,t){if(e.length!==t.length)return!1;for(let a=0;a<e.length;a++){if(e[a].length!==t[a].length)return!1;for(let n=0;n<e[a].length;n++)if(e[a][n]!==t[a][n])return!1}return!0}(e.levels,t.levels)&&JSON.stringify({...e,levels:void 0,names:void 0})===JSON.stringify({...t,levels:void 0,names:void 0})}(e,t),this.onReset=()=>{this.setState({...this.state,flamegraphConfigs:{...this.state.flamegraphConfigs,...this.initialFlamegraphState},selectedItem:a.Maybe.nothing()})},this.onFlamegraphZoom=e=>{e.isJust&&0===e.value.i&&0===e.value.j?this.onReset():this.setState({...this.state,flamegraphConfigs:{...this.state.flamegraphConfigs,zoom:e}})},this.onFocusOnNode=(e,t)=>{if(0===e&&0===t)return void this.onReset();let n={...this.state.flamegraphConfigs};const{zoom:i}=this.state.flamegraphConfigs;i.isJust&&i.value.i<=e&&(n={...n,zoom:this.initialFlamegraphState.zoom}),this.setState({...this.state,flamegraphConfigs:{...n,focusedNode:a.Maybe.just({i:e,j:t})}})},this.setActiveItem=e=>{const{name:t}=e;this.state.selectedItem.isJust&&t===this.state.selectedItem.value?this.setState({selectedItem:a.Maybe.nothing()}):this.setState({selectedItem:a.Maybe.just(t)})},this.getHighlightQuery=()=>this.state.selectedItem.isJust?this.state.selectedItem.value:this.state.searchQuery,this.updateView=e=>{"sandwich"===e&&this.setState({searchQuery:"",flamegraphConfigs:this.resetFlamegraphState}),this.setState({view:e})},this.updateFlamegraphDirtiness=()=>{const e=this.isDirty();this.setState({isFlamegraphDirty:e})},this.updateFitMode=e=>{this.setState({fitMode:e})},this.isDirty=()=>this.state.selectedItem.isJust||JSON.stringify(this.initialFlamegraphState)!==JSON.stringify(this.state.flamegraphConfigs),this.handleSetPalette=e=>{this.setState({palette:e})},this.render=()=>{const t=e.jsx("div",{className:Vi(Hs.tablePane,"vertical"===this.state.panesOrientation?Hs.vertical:Hs.horizontal),children:e.jsx(Wl,{"data-testid":"table-view",flamebearer:this.state.flamebearer,fitMode:this.state.fitMode,highlightQuery:this.state.searchQuery,selectedItem:this.state.selectedItem,handleTableItemClick:this.setActiveItem,palette:this.state.palette})},"table-pane"),a=this.shouldShowToolbar(),n=e.jsx(Or,{showCredit:this.props.showCredit,flamebearer:this.state.flamebearer,highlightQuery:this.getHighlightQuery(),setActiveItem:this.setActiveItem,selectedItem:this.state.selectedItem,updateView:this.props.onlyDisplay?void 0:this.updateView,fitMode:this.state.fitMode,updateFitMode:this.updateFitMode,zoom:this.state.flamegraphConfigs.zoom,focusedNode:this.state.flamegraphConfigs.focusedNode,onZoom:this.onFlamegraphZoom,onFocusOnNode:this.onFocusOnNode,onReset:this.onReset,isDirty:this.isDirty,palette:this.state.palette,toolbarVisible:a,setPalette:this.handleSetPalette,enableSandwichView:this.props.enableSandwichView},"flamegraph-pane"),i=(()=>{if(this.state.selectedItem.isNothing)return e.jsx("div",{className:Hs.sandwichPane,children:e.jsxs("div",{className:Vi(Hs.sandwichPaneInfo,"vertical"===this.state.panesOrientation?Hs.vertical:Hs.horizontal),children:[e.jsx("div",{className:Hs.arrow}),"Select a function to view callers/callees sandwich view"]})},"sandwich-pane");const t=Os(this.state.flamebearer,this.state.selectedItem.value),n=As(this.state.flamebearer,this.state.selectedItem.value),i=t=>e.jsx(Or,{disableClick:!0,showCredit:this.props.showCredit,highlightQuery:"",setActiveItem:this.setActiveItem,selectedItem:this.state.selectedItem,fitMode:this.state.fitMode,updateFitMode:this.updateFitMode,zoom:this.state.flamegraphConfigs.zoom,focusedNode:this.state.flamegraphConfigs.focusedNode,onZoom:this.onFlamegraphZoom,onFocusOnNode:this.onFocusOnNode,onReset:this.onReset,isDirty:this.isDirty,palette:this.state.palette,toolbarVisible:a,setPalette:this.handleSetPalette,...t});return e.jsxs("div",{className:Hs.sandwichPane,children:[e.jsxs("div",{className:Hs.sandwichTop,children:[e.jsx("span",{className:Hs.name,children:"Callers"}),i({flamebearer:t})]}),e.jsxs("div",{className:Hs.sandwichBottom,children:[e.jsx("span",{className:Hs.name,children:"Callees"}),i({flamebearer:n,headerVisible:!1,showSingleLevel:!0})]})]},"sandwich-pane")})(),o=!this.state.flamebearer||this.state.flamebearer.names.length<=1,r=function(e,t,a,n,i){switch(e){case"table":return[a];case"flamegraph":return[t];case"sandwich":return[a,n];case"both":return[a,t];case"graphviz":return[i];default:throw new Error(`Invalid view '${e}'`)}}(this.state.view,n,t,i,e.jsx(ac,{flamebearer:this.state.flamebearer}));return e.jsxs("div",{children:[e.jsxs("div",{children:[a&&e.jsx(Ys,{sharedQuery:this.props.sharedQuery,enableChangingDisplay:!this.props.onlyDisplay,flamegraphType:this.state.flamebearer.format,view:this.state.view,handleSearchChange:this.onSearchChange,reset:this.onReset,updateView:this.updateView,updateFitMode:this.updateFitMode,fitMode:this.state.fitMode,isFlamegraphDirty:this.isDirty(),selectedNode:this.state.flamegraphConfigs.zoom,highlightQuery:this.state.searchQuery,onFocusOnSubtree:this.onFocusOnNode,ExportData:this.props.ExportData,palette:this.state.palette,setPalette:this.handleSetPalette}),this.props.children,e.jsx("div",{className:`${Hs.flamegraphContainer} ${Vi("vertical"===this.state.panesOrientation?Hs.vertical:Hs.horizontal,Hs[this.state.panesOrientation],Hs.panesWrapper)}`,children:o?e.jsx(_i,{}):r.map(e=>e)})]}),this.props.showPyroscopeLogo&&e.jsxs("div",{className:Hs.createdBy,children:["Created by",e.jsxs("a",{href:"https://twitter.com/PyroscopeIO",rel:"noreferrer",target:"_blank",children:[e.jsx(d,{width:"30",height:"30"}),"@PyroscopeIO"]})]})]})},this.state={isFlamegraphDirty:!1,view:this.props.onlyDisplay?this.props.onlyDisplay:"both",fitMode:"HEAD",flamebearer:oc(t),panesOrientation:t.panesOrientation?t.panesOrientation:"horizontal",searchQuery:"",selectedItem:a.Maybe.nothing(),flamegraphConfigs:this.initialFlamegraphState,palette:ur}}componentDidUpdate(e,t){const n=oc(e),i=oc(this.props);if(!this.isSameFlamebearer(n,i)){const e=this.calcNewConfigs(n,i);return void this.setState({flamebearer:i,flamegraphConfigs:{...this.state.flamegraphConfigs,...e},selectedItem:a.Maybe.nothing()})}t.flamegraphConfigs!==this.state.flamegraphConfigs&&this.updateFlamegraphDirtiness()}shouldShowToolbar(){return void 0===this.props.showToolbar||this.props.showToolbar}}rc.defaultProps={showCredit:!1};const lc={showPyroscopeLogo:!1},sc=(e,t)=>{if(t)return t;const a=null!=e?e:"auto";return"zh-CN"===("auto"===a?"undefined"!=typeof navigator&&navigator.language&&navigator.language.toLowerCase().startsWith("zh")?"zh-CN":"en":a)?pr:gr};exports.Box=function(t){const{children:a,noPadding:n,className:i="",theme:o="dark"}=t,r=n?"":Tn.padding;return e.jsx("div",{className:`${Tn.box} ${r} ${i}`,"data-theme":o,children:a})},exports.DefaultPalette=ur,exports.Flamegraph=ki,exports.FlamegraphI18nProvider=Qr,exports.FlamegraphRenderer=a=>{const{i18n:n,locale:i,colorMode:o="light",sandwich:r=!0,...l}=a,s=t.useMemo(()=>sc(i,n),[i,n]),c=t.useMemo(()=>(e=>{switch(e){case"dark":return"ps-theme-dark";case"kylin":return"ps-theme-kylin";default:return"ps-theme-light"}})(o),[o]);return e.jsx("pyro-flamegraph",{className:c,children:e.jsx(Qr,{messages:s,children:e.jsx(rc,{...lc,enableSandwichView:r,...l})})})},exports.convertJaegerTraceToProfile=function(e){const t={numTicks:0,maxSelf:0,names:[],levels:[]},a={},n={children:[]};return e.spans.forEach(e=>{e.children=[],a[e.spanID]=e}),e.spans.forEach(e=>{let t=n;e.references&&e.references.length>0&&(t=a[e.references[0].spanID]||n),t.children.push(e)}),function e(t,a){(t.children||[]).forEach(t=>e(t));let n=0;const i=u(t.children||[],e=>e.operationName);t.children=m(i,e=>{const t=e[0];for(let a=1;a<e.length;a+=1)t.duration+=e[a].duration;return n+=t.duration,t}),t.total=t.duration||n,t.self=Math.max(0,t.total-n)}(n),function a(n,i,o){var r;return t.numTicks||(t.numTicks=n.total),(r=t.levels)[i]||(r[i]=[]),t.levels[i].push(o),t.levels[i].push(n.total),t.levels[i].push(n.self),t.names.push((n.processID?`${e.processes[n.processID].serviceName}: `:"")+(n.operationName||"total")),t.levels[i].push(t.names.length-1),(n.children||[]).forEach(e=>{o+=a(e,i+1,o)}),n.total}(n,0,0),t.levels=nc("single",t.levels),{version:1,flamebearer:t,metadata:{format:"single",units:"trace_samples",spyName:"tracing",sampleRate:1e6}}},exports.diffTwoProfiles=function(e,t){e.flamebearer.levels=ic("single",e.flamebearer.levels),t.flamebearer.levels=ic("single",t.flamebearer.levels);const a=function(e,t){const a={format:"double",numTicks:e.numTicks+t.numTicks,leftTicks:e.numTicks,rightTicks:t.numTicks,maxSelf:100,sampleRate:e.sampleRate,names:[],levels:[],units:e.units,spyName:e.spyName},n=Js(e,t),i=(e,t,n,o)=>{var r;const{name:l,children:s,self:c,total:d}=e;a.names.push(l),(r=a.levels)[t]||(r[t]=[]),a.maxSelf=Math.max(a.maxSelf,c[0]||0,c[1]||0),a.levels[t]=a.levels[t].concat([n,d[0]||0,c[0]||0,o,d[1]||0,c[1]||0,a.names.length-1]);for(let e=0;e<s.length;e+=1){const[a,r]=i(s[e],t+1,n,o);n+=a,o+=r}return[d[0]||0,d[1]||0]};return i(n,0,0,0),a}(e.flamebearer,t.flamebearer);a.levels=nc("double",a.levels);const n={...e.metadata};return n.format="double",{version:1,flamebearer:a,metadata:n,leftTicks:e.flamebearer.numTicks,rightTicks:t.flamebearer.numTicks}},exports.flamegraphDefaultMessages=gr,exports.flamegraphZhCNMessages=pr;
|
|
18
18
|
//# sourceMappingURL=index.cjs.js.map
|