@kylincloud/flamegraph 0.36.3 → 0.36.5

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/dist/index.cjs.js CHANGED
@@ -1,18 +1,18 @@
1
- "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("zod"),a=require("react-dom"),r=require("./logo-v3-small.svg"),o="undefined"!=typeof document?document.currentScript:null;function i(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var l=i(t);function s(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&a.firstChild?a.insertBefore(r,a.firstChild):a.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}s(":root,[data-flamegraph-color-mode=dark],[data-theme=dark]{--ps-neutral-1:#000;--ps-neutral-2:#fff;--ps-neutral-9:#ffffff08;--ps-ui-background:#0e0e13;--ps-ui-foreground:#212124;--ps-ui-element-bg-primary:#2c2c30;--ps-ui-element-bg-highlight:#47474e;--ps-ui-border:#3b3b44;--ps-disabled-button-text:#404047;--ps-ui-foreground-text:#d8d8d8;--ps-sidebar-separator:#d8d8d833;--ps-dropdown-background:#2c2c30;--ps-dropdown-arrow:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' fill='%23fff' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E\");--ps-dropdown-shadow:#000;--ps-tooltip-bg:#fff;--ps-tooltip-text:#000;--ps-tooltip-header-bg:#d8d8d8;--ps-right-click-info:#9a9aa0;--ps-sandwich-pane-info-bg:#f2cd50;--ps-button-switch-bg:#2ecc40;--ps-button-switch-bg-highlight:#61ea71;--ps-button-switch-text:#242428;--ps-table-highlight-row-bg:#2ecc40;--ps-table-highlight-row-text:#000;--ps-table-row-text-shadow:#000;--ps-table-header-bg:#212124;--ps-table-header-text:#d8d8d8;--ps-table-sort-icon:#9a9aa0;--ps-table-sort-icon-active:var(--ps-button-switch-bg-highlight);--ps-selected-app:#df8b53;--ps-select-modal-title:#888;--ps-app-selector-filter:#9d9d9f;--ps-blue-primary:#3b78e7;--ps-blue-highlight:#578ae9;--ps-blue-disabled:#5374b0;--ps-green-primary:#2ecc40;--ps-green-highlight:#61ea71;--ps-green-disabled:#85c985;--ps-red-primary:#dc3545;--ps-red-highlight:#e4606d;--ps-red-disabled:#eb8c95;--ps-grey-primary:#3b3b44;--ps-grey-highlight:#47474e;--ps-grey-disabled:#404047;--ps-immutable-green-button-text:#242428;--ps-immutable-google-button:#e84d3c;--ps-immutable-google-button-hover:#e53825;--ps-immutable-gitlab-button:#3b3b44;--ps-immutable-gitlab-button-hover:#47474e;--ps-immutable-gradient-0:#d1283980;--ps-immutable-gradient-1:#3dc1d3cc;--ps-immutable-off-white:#e6e6e6;--ps-immutable-linked-border:#eb7b18;--ps-immutable-white:#fff;--ps-immutable-placeholder-text:#333;--ps-upload-profile-area-border:#4d4d4d;--ps-upload-profile-area-bg:#2c2c30;--ps-upload-profile-btn-bg:#2c2c30;--ps-upload-profile-icon:#575a6d;--ps-upload-profile-btn-color:hsla(0,0%,100%,.3);--ps-fl-toolbar-bg:#2c2c30;--ps-fl-toolbar-btn-bg:#3c7150;--ps-toolbar-icon-color:#fff;--ps-mui-tooltip-background:#3b3b44}[data-flamegraph-color-mode=kylin],[data-flamegraph-color-mode=light],[data-theme=kylin],[data-theme=light]{--ps-neutral-1:#fff;--ps-neutral-2:#000;--ps-neutral-9:#00000008;--ps-ui-element-bg-primary:#f8f8f8;--ps-ui-element-bg-highlight:#c4c4c4;--ps-ui-background:#eaeaea;--ps-ui-border:#ccc;--ps-disabled-button-text:#ccc;--ps-ui-foreground:#f8f8f8;--ps-ui-foreground-text:#272727;--ps-dropdown-background:#f8f8f8;--ps-sidebar-separator:#0000004d;--ps-tooltip-bg:#fff;--ps-tooltip-text:#000;--ps-tooltip-header-bg:#d8d8d8;--ps-right-click-info:#9a9aa0;--ps-sandwich-pane-info-bg:#3b78e7;--ps-dropdown-arrow:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E\");--ps-dropdown-shadow:#00000052;--ps-button-switch-bg:#3b78e7;--ps-button-switch-bg-highlight:#578ae9;--ps-button-switch-text:#fff;--ps-table-highlight-row-bg:#3b78e7;--ps-table-highlight-row-text:#fff;--ps-table-row-text-shadow:#fff;--ps-table-header-bg:#f8f8f8;--ps-table-header-text:#272727;--ps-selected-app:#3b78e7;--ps-select-modal-title:#888;--ps-green-primary:#0bdb79;--ps-green-highlight:#5bdc9e;--ps-green-disabled:#00a757;--ps-upload-profile-area-border:#d8d8d8;--ps-upload-profile-area-bg:#f8f8f8;--ps-upload-profile-btn-bg:#f8f8f8;--ps-upload-profile-icon:#ccc;--ps-upload-profile-btn-color:hsla(0,0%,100%,.3);--ps-fl-toolbar-bg:#00000008;--ps-fl-toolbar-btn-bg:#3b78e7;--ps-toolbar-icon-color:#5f6367;--ps-mui-tooltip-background:#5f6367;--ps-app-selector-filter:#9d9d9f}[data-flamegraph-color-mode=kylin],[data-theme=kylin]{--ps-ui-background:#f5f5f5;--ps-ui-foreground:#fff;--ps-ui-border:#d9d9d9;--ps-ui-foreground-text:#000;--ps-fl-toolbar-bg:#fafafa;--ps-fl-toolbar-btn-bg:#1677ff;--ps-toolbar-icon-color:#595959;--ps-table-highlight-row-bg:#e6f4ff;--ps-table-highlight-row-text:#000;--ps-button-switch-bg:#1677ff;--ps-button-switch-bg-highlight:#4096ff;--ps-button-switch-text:#fff;--ps-dropdown-background:#fff;--ps-tooltip-bg:#fff;--ps-tooltip-text:#000;--ps-tooltip-header-bg:#f0f0f0;--ps-table-header-bg:#fafafa;--ps-table-header-text:#000;--ps-table-sort-icon:#bfbfbf;--ps-table-sort-icon-active:#5d976f}*,:after,:before{box-sizing:border-box}:after,:before{text-decoration:inherit;vertical-align:inherit}html{-webkit-tap-highlight-color:transparent;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;cursor:default;line-height:1.5;-moz-tab-size:4;tab-size:4;word-break:break-word}body{margin:0}h1{font-size:2em;margin:.67em 0}dl dl,dl ol,dl ul,ol dl,ol ol,ol ul,ul dl,ul ol,ul ul{margin:0}hr{height:0;overflow:visible}main{display:block}nav ol,nav ul{list-style:none;padding:0}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}audio,canvas,iframe,img,svg,video{vertical-align:middle}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}iframe,img{border-style:none}svg:not([fill]){fill:currentColor}svg:not(:root){overflow:hidden}table{border-collapse:collapse}button,input,select{margin:0}button{overflow:visible;text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}fieldset{border:1px solid #a0a0a0;padding:.35em .75em .625em}input{overflow:visible}legend{color:inherit;display:table;max-width:100%;white-space:normal}progress{display:inline-block;vertical-align:baseline}select{text-transform:none}textarea{margin:0;overflow:auto;resize:vertical}[type=checkbox],[type=radio]{padding:0}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}button,input,select,textarea{background-color:transparent;border:1px solid WindowFrame;color:inherit;font:inherit;letter-spacing:inherit;padding:.25em .375em}select{-moz-appearance:none;-webkit-appearance:none;background:no-repeat 100%/1em;border-radius:0;padding-right:1em}select:not([multiple]):not([size]){background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E\")}::-ms-expand{display:none}:-ms-input-placeholder{color:rgba(0,0,0,.54)}details,dialog{display:block}dialog{background-color:#fff;border:solid;color:#000;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:fit-content}dialog:not([open]){display:none}summary{display:list-item}canvas{display:inline-block}template{display:none}[tabindex],a,area,button,input,label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}[hidden]{display:none}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled=true],[disabled]{cursor:not-allowed}[aria-hidden=false][hidden]{display:initial}[aria-hidden=false][hidden]:not(:focus){clip:rect(0,0,0,0);position:absolute}html{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}code,kbd,pre,samp{font-family:Menlo,Consolas,Roboto Mono,\"Ubuntu Monospace\",Noto Mono,Oxygen Mono,Liberation Mono,monospace,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}:focus-visible{outline:revert}code,pre,tt{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:14px}tt{background-color:var(--ps-ui-foreground-text);border:1px solid var(--ps-gray-light-4);border-radius:3px;padding:2px 4px}.navbar{align-items:center;display:flex;height:60px}.navbar .logo{background-position:0 8px;background-repeat:no-repeat;background-size:40px 40px;font-weight:400;margin:0;padding:0}.navbar .logo:after{content:\"Pyroscope\";font-size:25px;font-weight:400;padding-left:44px;vertical-align:text-top}.footer .navbar-link,.navbar .navbar-link{margin-left:30px}.footer .navbar-link a,.navbar .navbar-link a{color:var(--ps-neutral-2);font-weight:500;text-decoration:none}.footer .navbar-link a:hover,.navbar .navbar-link a:hover{color:var(--ps-neutral-2);cursor:pointer}.flamegraph-table{border:1px solid var(--ps-ui-border);font-size:14px;width:100%}.flamegraph-table thead th{color:var(--ps-neutral-2)}.flamegraph-table td,.flamegraph-table th{border-bottom:1px solid var(--ps-ui-border);border-left:1px solid var(--ps-ui-border);color:var(--ps-neutral-2);line-height:1;max-width:150px;min-width:150px;padding:0 10px;text-align:right;width:150px}.flamegraph-table td span,.flamegraph-table th span{text-shadow:0 0 1px var(--ps-table-row-text-shadow)}.flamegraph-table td:first-child,.flamegraph-table th:first-child{border-left:none;max-width:auto;min-width:auto;text-align:left;white-space:nowrap;width:auto}.flamegraph-table.flamegraph-table-doubles td,.flamegraph-table.flamegraph-table-doubles th{max-width:130px;min-width:130px;width:130px}.flamegraph-table.flamegraph-table-doubles td:first-child,.flamegraph-table.flamegraph-table-doubles th:first-child{max-width:auto;min-width:auto;width:auto}.flamegraph-table .symbol-name{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:14px}.flamegraph-table th{padding:6px 10px}.flamegraph-table thead th{background:var(--ps-table-header-bg,var(--ps-ui-foreground,#fff))}.flamegraph-table td{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.flamegraph-table td:first-child{margin-left:15px;position:relative}.flamegraph-table td .table-item-button{align-items:baseline;background-color:transparent;border:none;cursor:pointer;display:flex;flex-flow:row nowrap;width:100%}.flamegraph-table .unsupported-format{padding:15px 40px;text-align:center}.btn-group{display:flex}.btn-group .btn{border-left:none;border-radius:0}.btn-group .btn:first-child{border-left:1px solid var(--ps-ui-border);border-radius:4px 0 0 4px}.btn-group .btn:last-child{border-radius:0 4px 4px 0}:global([data-theme=kylin]) .flamegraph-table{border-color:#d9d9d9;font-size:12px}:global([data-theme=kylin]) .flamegraph-table th{border-bottom-color:#d9d9d9;border-left-color:#d9d9d9;padding:6px 8px}:global([data-theme=kylin]) .flamegraph-table td{border-bottom-color:#f0f0f0;border-left-color:#f0f0f0;padding:4px 8px}pyro-flamegraph{-webkit-font-smoothing:antialiased;color:var(--ps-neutral-2);font:400 16px/1.7 -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.flamegraph-table-wrapper{position:relative}.flamegraph-table-wrapper--double{background-color:var(--ps-ui-foreground,#fff);border:1px solid var(--ps-ui-border);border-radius:6px;min-height:var(--kylin-flamegraph-pane-min-height,320px);overflow:hidden}.flamegraph-table-wrapper--double .flamegraph-table{border:none}.flamegraph-table-wrapper--double .flamegraph-table-scroll{max-height:var(--kylin-flamegraph-table-max-height,1000px);overflow-anchor:none;overflow-x:hidden;overflow-y:auto;position:relative}.flamegraph-table-wrapper--double .flamegraph-table-scroll table{table-layout:fixed;width:100%}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead{display:table-header-group;position:sticky;top:0;z-index:3}.flamegraph-table-wrapper--double .flamegraph-table-scroll tbody{display:table-row-group;overflow-anchor:none}.flamegraph-table-wrapper--double .flamegraph-table-scroll tr{overflow-anchor:none}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead th,.flamegraph-table-wrapper--double .flamegraph-table-scroll thead tr{background-color:var(--ps-table-header-bg,var(--ps-ui-foreground,#fff))}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead th{background-clip:padding-box}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead{box-shadow:0 2px 0 rgba(0,0,0,.06)}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar{width:6px}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar-track{background:#f5f5f5;border-radius:6px}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar-thumb{background-color:#bfbfbf;border-radius:6px}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar-thumb:hover{background-color:#8c8c8c}\n/*# sourceMappingURL=data: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Ym94O1xufVxuXG4vKiDlj6/pgInvvJrliqDkuIDngrnpmLTlvbHvvIzop4bop4nkuIrlkozkuIvpnaLnmoTooYzliIblsYIgKi9cbi5mbGFtZWdyYXBoLXRhYmxlLXdyYXBwZXItLWRvdWJsZSAuZmxhbWVncmFwaC10YWJsZS1zY3JvbGwgdGhlYWQge1xuICBib3gtc2hhZG93OiAwIDJweCAwIHJnYmEoMCwgMCwgMCwgMC4wNik7XG59XG5cbi8qIOWPr+mAie+8mueojeW+rue+juWMluS4gOS4i+WGhemDqOa7muWKqOadoe+8jOi9qOmBk+mAj+aYju+8jOmBv+WFjeWkquaKouecvCAqL1xuLmZsYW1lZ3JhcGgtdGFibGUtd3JhcHBlci0tZG91YmxlIC5mbGFtZWdyYXBoLXRhYmxlLXNjcm9sbDo6LXdlYmtpdC1zY3JvbGxiYXIge1xuICB3aWR0aDogNnB4O1xufVxuXG4uZmxhbWVncmFwaC10YWJsZS13cmFwcGVyLS1kb3VibGUgLmZsYW1lZ3JhcGgtdGFibGUtc2Nyb2xsOjotd2Via2l0LXNjcm9sbGJhci10cmFjayB7XG4gIGJhY2tncm91bmQ6ICNmNWY1ZjU7XG4gIGJvcmRlci1yYWRpdXM6IDZweDtcbn1cblxuLmZsYW1lZ3JhcGgtdGFibGUtd3JhcHBlci0tZG91YmxlIC5mbGFtZWdyYXBoLXRhYmxlLXNjcm9sbDo6LXdlYmtpdC1zY3JvbGxiYXItdGh1bWIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjYmZiZmJmO1xuICBib3JkZXItcmFkaXVzOiA2cHg7XG59XG5cbi5mbGFtZWdyYXBoLXRhYmxlLXdyYXBwZXItLWRvdWJsZSAuZmxhbWVncmFwaC10YWJsZS1zY3JvbGw6Oi13ZWJraXQtc2Nyb2xsYmFyLXRodW1iOmhvdmVyIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogIzhjOGM4Yztcbn0iXX0= */");var c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var d,b={exports:{}};
1
+ "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("zod"),r=require("react-dom"),a=require("./logo-v3-small.svg"),i="undefined"!=typeof document?document.currentScript:null;function o(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var s=o(t);function l(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===n&&r.firstChild?r.insertBefore(a,r.firstChild):r.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}l(":root,[data-flamegraph-color-mode=dark],[data-theme=dark]{--ps-neutral-1:#000;--ps-neutral-2:#fff;--ps-neutral-9:#ffffff08;--ps-ui-background:#0e0e13;--ps-ui-foreground:#212124;--ps-ui-element-bg-primary:#2c2c30;--ps-ui-element-bg-highlight:#47474e;--ps-ui-border:#3b3b44;--ps-disabled-button-text:#404047;--ps-ui-foreground-text:#d8d8d8;--ps-sidebar-separator:#d8d8d833;--ps-dropdown-background:#2c2c30;--ps-dropdown-arrow:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' fill='%23fff' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E\");--ps-dropdown-shadow:#000;--ps-tooltip-bg:#fff;--ps-tooltip-text:#000;--ps-tooltip-header-bg:#d8d8d8;--ps-right-click-info:#9a9aa0;--ps-sandwich-pane-info-bg:#f2cd50;--ps-button-switch-bg:#2ecc40;--ps-button-switch-bg-highlight:#61ea71;--ps-button-switch-text:#242428;--ps-table-highlight-row-bg:#2ecc40;--ps-table-highlight-row-text:#000;--ps-table-row-text-shadow:#000;--ps-table-header-bg:#212124;--ps-table-header-text:#d8d8d8;--ps-table-sort-icon:#9a9aa0;--ps-table-sort-icon-active:var(--ps-button-switch-bg-highlight);--ps-selected-app:#df8b53;--ps-select-modal-title:#888;--ps-app-selector-filter:#9d9d9f;--ps-blue-primary:#3b78e7;--ps-blue-highlight:#578ae9;--ps-blue-disabled:#5374b0;--ps-green-primary:#2ecc40;--ps-green-highlight:#61ea71;--ps-green-disabled:#85c985;--ps-red-primary:#dc3545;--ps-red-highlight:#e4606d;--ps-red-disabled:#eb8c95;--ps-grey-primary:#3b3b44;--ps-grey-highlight:#47474e;--ps-grey-disabled:#404047;--ps-immutable-green-button-text:#242428;--ps-immutable-google-button:#e84d3c;--ps-immutable-google-button-hover:#e53825;--ps-immutable-gitlab-button:#3b3b44;--ps-immutable-gitlab-button-hover:#47474e;--ps-immutable-gradient-0:#d1283980;--ps-immutable-gradient-1:#3dc1d3cc;--ps-immutable-off-white:#e6e6e6;--ps-immutable-linked-border:#eb7b18;--ps-immutable-white:#fff;--ps-immutable-placeholder-text:#333;--ps-upload-profile-area-border:#4d4d4d;--ps-upload-profile-area-bg:#2c2c30;--ps-upload-profile-btn-bg:#2c2c30;--ps-upload-profile-icon:#575a6d;--ps-upload-profile-btn-color:hsla(0,0%,100%,.3);--ps-fl-toolbar-bg:#2c2c30;--ps-fl-toolbar-btn-bg:#3c7150;--ps-toolbar-icon-color:#fff;--ps-mui-tooltip-background:#3b3b44}[data-flamegraph-color-mode=kylin],[data-flamegraph-color-mode=light],[data-theme=kylin],[data-theme=light]{--ps-neutral-1:#fff;--ps-neutral-2:#000;--ps-neutral-9:#00000008;--ps-ui-element-bg-primary:#f8f8f8;--ps-ui-element-bg-highlight:#c4c4c4;--ps-ui-background:#eaeaea;--ps-ui-border:#ccc;--ps-disabled-button-text:#ccc;--ps-ui-foreground:#f8f8f8;--ps-ui-foreground-text:#272727;--ps-dropdown-background:#f8f8f8;--ps-sidebar-separator:#0000004d;--ps-tooltip-bg:#fff;--ps-tooltip-text:#000;--ps-tooltip-header-bg:#d8d8d8;--ps-right-click-info:#9a9aa0;--ps-sandwich-pane-info-bg:#3b78e7;--ps-dropdown-arrow:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E\");--ps-dropdown-shadow:#00000052;--ps-button-switch-bg:#3b78e7;--ps-button-switch-bg-highlight:#578ae9;--ps-button-switch-text:#fff;--ps-table-highlight-row-bg:#3b78e7;--ps-table-highlight-row-text:#fff;--ps-table-row-text-shadow:#fff;--ps-table-header-bg:#f8f8f8;--ps-table-header-text:#272727;--ps-selected-app:#3b78e7;--ps-select-modal-title:#888;--ps-green-primary:#0bdb79;--ps-green-highlight:#5bdc9e;--ps-green-disabled:#00a757;--ps-upload-profile-area-border:#d8d8d8;--ps-upload-profile-area-bg:#f8f8f8;--ps-upload-profile-btn-bg:#f8f8f8;--ps-upload-profile-icon:#ccc;--ps-upload-profile-btn-color:hsla(0,0%,100%,.3);--ps-fl-toolbar-bg:#00000008;--ps-fl-toolbar-btn-bg:#3b78e7;--ps-toolbar-icon-color:#5f6367;--ps-mui-tooltip-background:#5f6367;--ps-app-selector-filter:#9d9d9f}[data-flamegraph-color-mode=kylin],[data-theme=kylin]{--ps-ui-background:#f5f5f5;--ps-ui-foreground:#fff;--ps-ui-border:#d9d9d9;--ps-ui-foreground-text:#000;--ps-fl-toolbar-bg:#fafafa;--ps-fl-toolbar-btn-bg:#1677ff;--ps-toolbar-icon-color:#595959;--ps-table-highlight-row-bg:#e6f4ff;--ps-table-highlight-row-text:#000;--ps-button-switch-bg:#1677ff;--ps-button-switch-bg-highlight:#4096ff;--ps-button-switch-text:#fff;--ps-dropdown-background:#fff;--ps-tooltip-bg:#fff;--ps-tooltip-text:#000;--ps-tooltip-header-bg:#f0f0f0;--ps-table-header-bg:#fafafa;--ps-table-header-text:#000;--ps-table-sort-icon:#bfbfbf;--ps-table-sort-icon-active:#5d976f}*,:after,:before{box-sizing:border-box}:after,:before{text-decoration:inherit;vertical-align:inherit}html{-webkit-tap-highlight-color:transparent;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;cursor:default;line-height:1.5;-moz-tab-size:4;tab-size:4;word-break:break-word}body{margin:0}h1{font-size:2em;margin:.67em 0}dl dl,dl ol,dl ul,ol dl,ol ol,ol ul,ul dl,ul ol,ul ul{margin:0}hr{height:0;overflow:visible}main{display:block}nav ol,nav ul{list-style:none;padding:0}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}audio,canvas,iframe,img,svg,video{vertical-align:middle}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}iframe,img{border-style:none}svg:not([fill]){fill:currentColor}svg:not(:root){overflow:hidden}table{border-collapse:collapse}button,input,select{margin:0}button{overflow:visible;text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}fieldset{border:1px solid #a0a0a0;padding:.35em .75em .625em}input{overflow:visible}legend{color:inherit;display:table;max-width:100%;white-space:normal}progress{display:inline-block;vertical-align:baseline}select{text-transform:none}textarea{margin:0;overflow:auto;resize:vertical}[type=checkbox],[type=radio]{padding:0}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}button,input,select,textarea{background-color:transparent;border:1px solid WindowFrame;color:inherit;font:inherit;letter-spacing:inherit;padding:.25em .375em}select{-moz-appearance:none;-webkit-appearance:none;background:no-repeat 100%/1em;border-radius:0;padding-right:1em}select:not([multiple]):not([size]){background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M4 0h6L7 4'/%3E%3C/svg%3E\")}::-ms-expand{display:none}:-ms-input-placeholder{color:rgba(0,0,0,.54)}details,dialog{display:block}dialog{background-color:#fff;border:solid;color:#000;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:fit-content}dialog:not([open]){display:none}summary{display:list-item}canvas{display:inline-block}template{display:none}[tabindex],a,area,button,input,label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}[hidden]{display:none}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled=true],[disabled]{cursor:not-allowed}[aria-hidden=false][hidden]{display:initial}[aria-hidden=false][hidden]:not(:focus){clip:rect(0,0,0,0);position:absolute}html{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}code,kbd,pre,samp{font-family:Menlo,Consolas,Roboto Mono,\"Ubuntu Monospace\",Noto Mono,Oxygen Mono,Liberation Mono,monospace,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}:focus-visible{outline:revert}code,pre,tt{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:14px}tt{background-color:var(--ps-ui-foreground-text);border:1px solid var(--ps-gray-light-4);border-radius:3px;padding:2px 4px}.navbar{align-items:center;display:flex;height:60px}.navbar .logo{background-position:0 8px;background-repeat:no-repeat;background-size:40px 40px;font-weight:400;margin:0;padding:0}.navbar .logo:after{content:\"Pyroscope\";font-size:25px;font-weight:400;padding-left:44px;vertical-align:text-top}.footer .navbar-link,.navbar .navbar-link{margin-left:30px}.footer .navbar-link a,.navbar .navbar-link a{color:var(--ps-neutral-2);font-weight:500;text-decoration:none}.footer .navbar-link a:hover,.navbar .navbar-link a:hover{color:var(--ps-neutral-2);cursor:pointer}.flamegraph-table{border:1px solid var(--ps-ui-border);font-size:14px;width:100%}.flamegraph-table thead th{color:var(--ps-neutral-2)}.flamegraph-table td,.flamegraph-table th{border-bottom:1px solid var(--ps-ui-border);border-left:1px solid var(--ps-ui-border);color:var(--ps-neutral-2);line-height:1;max-width:150px;min-width:150px;padding:0 10px;text-align:right;width:150px}.flamegraph-table td span,.flamegraph-table th span{text-shadow:0 0 1px var(--ps-table-row-text-shadow)}.flamegraph-table td:first-child,.flamegraph-table th:first-child{border-left:none;max-width:auto;min-width:auto;text-align:left;white-space:nowrap;width:auto}.flamegraph-table.flamegraph-table-doubles td,.flamegraph-table.flamegraph-table-doubles th{max-width:130px;min-width:130px;width:130px}.flamegraph-table.flamegraph-table-doubles td:first-child,.flamegraph-table.flamegraph-table-doubles th:first-child{max-width:auto;min-width:auto;width:auto}.flamegraph-table .symbol-name{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:14px}.flamegraph-table th{padding:6px 10px}.flamegraph-table thead th{background:var(--ps-table-header-bg,var(--ps-ui-foreground,#fff))}.flamegraph-table td{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.flamegraph-table td:first-child{margin-left:15px;position:relative}.flamegraph-table td .table-item-button{align-items:baseline;background-color:transparent;border:none;cursor:pointer;display:flex;flex-flow:row nowrap;width:100%}.flamegraph-table .unsupported-format{padding:15px 40px;text-align:center}.btn-group{display:flex}.btn-group .btn{border-left:none;border-radius:0}.btn-group .btn:first-child{border-left:1px solid var(--ps-ui-border);border-radius:4px 0 0 4px}.btn-group .btn:last-child{border-radius:0 4px 4px 0}:global([data-theme=kylin]) .flamegraph-table{border-color:#d9d9d9;font-size:12px}:global([data-theme=kylin]) .flamegraph-table th{border-bottom-color:#d9d9d9;border-left-color:#d9d9d9;padding:6px 8px}:global([data-theme=kylin]) .flamegraph-table td{border-bottom-color:#f0f0f0;border-left-color:#f0f0f0;padding:4px 8px}pyro-flamegraph{-webkit-font-smoothing:antialiased;color:var(--ps-neutral-2);font:400 16px/1.7 -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.flamegraph-table-wrapper{position:relative}.flamegraph-table-wrapper--double{background-color:var(--ps-ui-foreground,#fff);border:1px solid var(--ps-ui-border);border-radius:6px;min-height:var(--kylin-flamegraph-pane-min-height,320px);overflow:hidden}.flamegraph-table-wrapper--double .flamegraph-table{border:none}.flamegraph-table-wrapper--double .flamegraph-table-scroll{max-height:var(--kylin-flamegraph-table-max-height,1000px);overflow-anchor:none;overflow-x:hidden;overflow-y:auto;position:relative}.flamegraph-table-wrapper--double .flamegraph-table-scroll table{table-layout:fixed;width:100%}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead{display:table-header-group;position:sticky;top:0;z-index:3}.flamegraph-table-wrapper--double .flamegraph-table-scroll tbody{display:table-row-group;overflow-anchor:none}.flamegraph-table-wrapper--double .flamegraph-table-scroll tr{overflow-anchor:none}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead th,.flamegraph-table-wrapper--double .flamegraph-table-scroll thead tr{background-color:var(--ps-table-header-bg,var(--ps-ui-foreground,#fff))}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead th{background-clip:padding-box}.flamegraph-table-wrapper--double .flamegraph-table-scroll thead{box-shadow:0 2px 0 rgba(0,0,0,.06)}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar{width:6px}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar-track{background:#f5f5f5;border-radius:6px}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar-thumb{background-color:#bfbfbf;border-radius:6px}.flamegraph-table-wrapper--double .flamegraph-table-scroll::-webkit-scrollbar-thumb:hover{background-color:#8c8c8c}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIj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pmLTlvbHvvIzop4bop4nkuIrlkozkuIvpnaLnmoTooYzliIblsYIgKi9cbi5mbGFtZWdyYXBoLXRhYmxlLXdyYXBwZXItLWRvdWJsZSAuZmxhbWVncmFwaC10YWJsZS1zY3JvbGwgdGhlYWQge1xuICBib3gtc2hhZG93OiAwIDJweCAwIHJnYmEoMCwgMCwgMCwgMC4wNik7XG59XG5cbi8qIOWPr+mAie+8mueojeW+rue+juWMluS4gOS4i+WGhemDqOa7muWKqOadoe+8jOi9qOmBk+mAj+aYju+8jOmBv+WFjeWkquaKouecvCAqL1xuLmZsYW1lZ3JhcGgtdGFibGUtd3JhcHBlci0tZG91YmxlIC5mbGFtZWdyYXBoLXRhYmxlLXNjcm9sbDo6LXdlYmtpdC1zY3JvbGxiYXIge1xuICB3aWR0aDogNnB4O1xufVxuXG4uZmxhbWVncmFwaC10YWJsZS13cmFwcGVyLS1kb3VibGUgLmZsYW1lZ3JhcGgtdGFibGUtc2Nyb2xsOjotd2Via2l0LXNjcm9sbGJhci10cmFjayB7XG4gIGJhY2tncm91bmQ6ICNmNWY1ZjU7XG4gIGJvcmRlci1yYWRpdXM6IDZweDtcbn1cblxuLmZsYW1lZ3JhcGgtdGFibGUtd3JhcHBlci0tZG91YmxlIC5mbGFtZWdyYXBoLXRhYmxlLXNjcm9sbDo6LXdlYmtpdC1zY3JvbGxiYXItdGh1bWIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjYmZiZmJmO1xuICBib3JkZXItcmFkaXVzOiA2cHg7XG59XG5cbi5mbGFtZWdyYXBoLXRhYmxlLXdyYXBwZXItLWRvdWJsZSAuZmxhbWVncmFwaC10YWJsZS1zY3JvbGw6Oi13ZWJraXQtc2Nyb2xsYmFyLXRodW1iOmhvdmVyIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogIzhjOGM4Yztcbn0iXX0= */");var c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var d,h={exports:{}};
2
2
  /*!
3
3
  Copyright (c) 2018 Jed Watson.
4
4
  Licensed under the MIT License (MIT), see
5
5
  http://jedwatson.github.io/classnames
6
- */var m,h=(d||(d=1,m=b,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=a(e,n.call(this,r)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return this&&this[n]||n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(this,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var r="";for(var o in n)e.call(n,o)&&n[o]&&(r=a(r,this&&this[o]||o));return r}function a(e,t){return t?e?e+" "+t:e+t:e}m.exports?(t.default=t,m.exports=t):window.classNames=t}()),b.exports),f=u(h);
6
+ */var m,f=(d||(d=1,m=h,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(e=r(e,n.call(this,a)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return this&&this[n]||n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(this,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var a="";for(var i in n)e.call(n,i)&&n[i]&&(a=r(a,this&&this[i]||i));return a}function r(e,t){return t?e?e+" "+t:e+t:e}m.exports?(t.default=t,m.exports=t):window.classNames=t}()),h.exports),b=u(f);
7
7
  /*!
8
8
  * Font Awesome Free 7.1.0 by @fontawesome - https://fontawesome.com
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 g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function p(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,B(a.key),a)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function x(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Z(e))||t){n&&(e=n);var a=0,r=function(){};return{s:r,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r}}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,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw o}}}}function y(e,t,n){return(t=B(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,l=[],s=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=o.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){c=!0,r=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw r}}return l}}(e,t)||Z(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 I(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Z(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 B(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t);if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function F(e){return F="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},F(e)}function Z(e,t){if(e){if("string"==typeof e)return g(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}var w=function(){},N={},L={},W=null,C={mark:w,measure:w};try{"undefined"!=typeof window&&(N=window),"undefined"!=typeof document&&(L=document),"undefined"!=typeof MutationObserver&&(W=MutationObserver),"undefined"!=typeof performance&&(C=performance)}catch(ne){}var X=(N.navigator||{}).userAgent,R=void 0===X?"":X,k=N,U=L,D=W,_=C;k.document;var Y,j=!!U.documentElement&&!!U.head&&"function"==typeof U.addEventListener&&"function"==typeof U.createElement,V=~R.indexOf("MSIE")||~R.indexOf("Trident/"),S={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"}},M=["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"],J="classic",O="duotone",A="sharp",E="sharp-duotone",z="chisel",T="etch",H="jelly",P="jelly-duo",K="jelly-fill",$="notdog",q="notdog-duo",ee="slab",te="slab-press",ne="thumbprint",ae="utility",re="utility-duo",oe="utility-fill",ie="whiteboard",le=[J,O,A,E,z,T,H,P,K,$,q,ee,te,ne,ae,re,oe,ie];y(y(y(y(y(y(y(y(y(y(Y={},J,"Classic"),O,"Duotone"),A,"Sharp"),E,"Sharp Duotone"),z,"Chisel"),T,"Etch"),H,"Jelly"),P,"Jelly Duo"),K,"Jelly Fill"),$,"Notdog"),y(y(y(y(y(y(y(y(Y,q,"Notdog Duo"),ee,"Slab"),te,"Slab Press"),ne,"Thumbprint"),ae,"Utility"),re,"Utility Duo"),oe,"Utility Fill"),ie,"Whiteboard");var se=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}]]),ce=["fak","fa-kit","fakd","fa-kit-duotone"],ue={fak:"kit","fa-kit":"kit"},de={fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"};y(y({},"kit","Kit"),"kit-duotone","Kit Duotone");var be,me={kit:"fak"},he={"kit-duotone":"fakd"},fe="duotone-group",ge="swap-opacity",pe="primary",xe="secondary";y(y(y(y(y(y(y(y(y(y(be={},"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"),y(y(y(y(y(y(y(y(be,"notdog-duo","Notdog Duo"),"slab","Slab"),"slab-press","Slab Press"),"thumbprint","Thumbprint"),"utility","Utility"),"utility-duo","Utility Duo"),"utility-fill","Utility Fill"),"whiteboard","Whiteboard");y(y({},"kit","Kit"),"kit-duotone","Kit Duotone");var ye={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"}},ve=["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"]),Ge=[1,2,3,4,5,6,7,8,9,10],Qe=Ge.concat([11,12,13,14,15,16,17,18,19,20]),Ie=[].concat(I(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",fe,ge,pe,xe]).concat(Ge.map(function(e){return"".concat(e,"x")})).concat(Qe.map(function(e){return"w-".concat(e)})),Be="___FONT_AWESOME___",Fe="svg-inline--fa",Ze="data-fa-i2svg",we="data-fa-pseudo-element",Ne="data-prefix",Le="data-icon",We="fontawesome-i2svg",Ce=["HTML","HEAD","STYLE","SCRIPT"],Xe=["::before","::after",":before",":after"],Re=function(){try{return"production"===process.env.NODE_ENV}catch(e){return!1}}();function ke(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[J]}})}var Ue=G({},S);Ue[J]=G(G(G(G({},{"fa-duotone":"duotone"}),S[J]),ue),de);var De=ke(Ue),_e=G({},{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"}});_e[J]=G(G(G(G({},{duotone:"fad"}),_e[J]),me),he);var Ye=ke(_e),je=G({},ye);je[J]=G(G({},je[J]),{fak:"fa-kit"});var Ve=ke(je),Se=G({},{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"}});Se[J]=G(G({},Se[J]),{"fa-kit":"fak"}),ke(Se);var Me=/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)?[\-\ ]/,Je="fa-layers-text",Oe=/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;ke(G({},{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 Ae=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ee={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},ze=[].concat(I(["kit"]),I(Ie)),Te=k.FontAwesomeConfig||{};if(U&&"function"==typeof U.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=Q(e,2),n=t[0],a=t[1],r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=U.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=r&&(Te[a]=r)})}var He={styleDefault:"solid",familyDefault:J,cssPrefix:"fa",replacementClass:Fe,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Te.familyPrefix&&(Te.cssPrefix=Te.familyPrefix);var Pe=G(G({},He),Te);Pe.autoReplaceSvg||(Pe.observeMutations=!1);var Ke={};Object.keys(He).forEach(function(e){Object.defineProperty(Ke,e,{enumerable:!0,set:function(t){Pe[e]=t,$e.forEach(function(e){return e(Ke)})},get:function(){return Pe[e]}})}),Object.defineProperty(Ke,"familyPrefix",{enumerable:!0,set:function(e){Pe.cssPrefix=e,$e.forEach(function(e){return e(Ke)})},get:function(){return Pe.cssPrefix}}),k.FontAwesomeConfig=Ke;var $e=[];var qe=16,et={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function tt(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function nt(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function at(e){return e.classList?nt(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(e){return e})}function rt(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ot(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function it(e){return e.size!==et.size||e.x!==et.x||e.y!==et.y||e.rotate!==et.rotate||e.flipX||e.flipY}function lt(){var e="fa",t=Fe,n=Ke.cssPrefix,a=Ke.replacementClass,r=':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(n!==e||a!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");r=r.replace(o,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(l,".".concat(a))}return r}var st=!1;function ct(){Ke.autoAddCss&&!st&&(!function(e){if(e&&j){var t=U.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=U.head.childNodes,a=null,r=n.length-1;r>-1;r--){var o=n[r],i=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(a=o)}U.head.insertBefore(t,a)}}(lt()),st=!0)}var ut={mixout:function(){return{dom:{css:lt,insertCss:ct}}},hooks:function(){return{beforeDOMElementCreation:function(){ct()},beforeI2svg:function(){ct()}}}},dt=k||{};dt[Be]||(dt[Be]={}),dt[Be].styles||(dt[Be].styles={}),dt[Be].hooks||(dt[Be].hooks={}),dt[Be].shims||(dt[Be].shims=[]);var bt=dt[Be],mt=[],ht=function(){U.removeEventListener("DOMContentLoaded",ht),ft=1,mt.map(function(e){return e()})},ft=!1;function gt(e){var t=e.tag,n=e.attributes,a=void 0===n?{}:n,r=e.children,o=void 0===r?[]:r;return"string"==typeof e?rt(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(rt(e[n]),'" ')},"").trim()}(a),">").concat(o.map(gt).join(""),"</").concat(t,">")}function pt(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}j&&((ft=(U.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(U.readyState))||U.addEventListener("DOMContentLoaded",ht));var xt=function(e,t,n,a){var r,o,i,l=Object.keys(e),s=l.length,c=t;for(void 0===n?(r=1,i=e[l[0]]):(r=0,i=n);r<s;r++)i=c(i,e[o=l[r]],o,e);return i};function yt(e){return 1!==I(e).length?null:e.codePointAt(0).toString(16)}function vt(e){return Object.keys(e).reduce(function(t,n){var a=e[n];return!!a.icon?t[a.iconName]=a.icon:t[n]=a,t},{})}function Gt(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,a=void 0!==n&&n,r=vt(t);"function"!=typeof bt.hooks.addPack||a?bt.styles[e]=G(G({},bt.styles[e]||{}),r):bt.hooks.addPack(e,vt(t)),"fas"===e&&Gt("fa",t)}var Qt=bt.styles,It=bt.shims,Bt=Object.keys(Ve),Ft=Bt.reduce(function(e,t){return e[t]=Object.keys(Ve[t]),e},{}),Zt=null,wt={},Nt={},Lt={},Wt={},Ct={};function Xt(e,t){var n,a=t.split("-"),r=a[0],o=a.slice(1).join("-");return r!==e||""===o||(n=o,~ze.indexOf(n))?null:o}var Rt,kt=function(){var e=function(e){return xt(Qt,function(t,n,a){return t[a]=xt(n,e,{}),t},{})};wt=e(function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter(function(e){return"number"==typeof e}).forEach(function(t){e[t.toString(16)]=n});return e}),Nt=e(function(e,t,n){(e[n]=n,t[2])&&t[2].filter(function(e){return"string"==typeof e}).forEach(function(t){e[t]=n});return e}),Ct=e(function(e,t,n){var a=t[2];return e[n]=n,a.forEach(function(t){e[t]=n}),e});var t="far"in Qt||Ke.autoFetchSvg,n=xt(It,function(e,n){var a=n[0],r=n[1],o=n[2];return"far"!==r||t||(r="fas"),"string"==typeof a&&(e.names[a]={prefix:r,iconName:o}),"number"==typeof a&&(e.unicodes[a.toString(16)]={prefix:r,iconName:o}),e},{names:{},unicodes:{}});Lt=n.names,Wt=n.unicodes,Zt=jt(Ke.styleDefault,{family:Ke.familyDefault})};function Ut(e,t){return(wt[e]||{})[t]}function Dt(e,t){return(Ct[e]||{})[t]}function _t(e){return Lt[e]||{prefix:null,iconName:null}}function Yt(){return Zt}Rt=function(e){Zt=jt(e.styleDefault,{family:Ke.familyDefault})},$e.push(Rt),kt();function jt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?J:t,a=De[n][e];if(n===O&&!e)return"fad";var r=Ye[n][e]||Ye[n][a],o=e in bt.styles?e:null;return r||o||null}function Vt(e){return e.sort().filter(function(e,t,n){return n.indexOf(e)===t})}var St=ve.concat(ce);function Mt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,n=void 0!==t&&t,a=null,r=Vt(e.filter(function(e){return St.includes(e)})),o=Vt(e.filter(function(e){return!St.includes(e)})),i=Q(r.filter(function(e){return a=e,!M.includes(e)}),1)[0],l=void 0===i?null:i,s=function(e){var t=J,n=Bt.reduce(function(e,t){return e[t]="".concat(Ke.cssPrefix,"-").concat(t),e},{});return le.forEach(function(a){(e.includes(n[a])||e.some(function(e){return Ft[a].includes(e)}))&&(t=a)}),t}(r),c=G(G({},function(e){var t=[],n=null;return e.forEach(function(e){var a=Xt(Ke.cssPrefix,e);a?n=a:e&&t.push(e)}),{iconName:n,rest:t}}(o)),{},{prefix:jt(l,{family:s})});return G(G(G({},c),function(e){var t=e.values,n=e.family,a=e.canonical,r=e.givenPrefix,o=void 0===r?"":r,i=e.styles,l=void 0===i?{}:i,s=e.config,c=void 0===s?{}:s,u=n===O,d=t.includes("fa-duotone")||t.includes("fad"),b="duotone"===c.familyDefault,m="fad"===a.prefix||"fa-duotone"===a.prefix;!u&&(d||b||m)&&(a.prefix="fad");(t.includes("fa-brands")||t.includes("fab"))&&(a.prefix="fab");if(!a.prefix&&Jt.includes(n)){if(Object.keys(l).find(function(e){return Ot.includes(e)})||c.autoFetchSvg){var h=se.get(n).defaultShortPrefixId;a.prefix=h,a.iconName=Dt(a.prefix,a.iconName)||a.iconName}}"fa"!==a.prefix&&"fa"!==o||(a.prefix=Yt()||"fas");return a}({values:e,family:s,styles:Qt,config:Ke,canonical:c,givenPrefix:a})),function(e,t,n){var a=n.prefix,r=n.iconName;if(e||!a||!r)return{prefix:a,iconName:r};var o="fa"===t?_t(r):{},i=Dt(a,r);r=o.iconName||i||r,"far"!==(a=o.prefix||a)||Qt.far||!Qt.fas||Ke.autoFetchSvg||(a="fas");return{prefix:a,iconName:r}}(n,a,c))}var Jt=le.filter(function(e){return e!==J||e!==O}),Ot=Object.keys(ye).filter(function(e){return e!==J}).map(function(e){return Object.keys(ye[e])}).flat();var At=function(){return p(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,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];var r=n.reduce(this._pullDefinitions,{});Object.keys(r).forEach(function(t){e.definitions[t]=G(G({},e.definitions[t]||{}),r[t]),Gt(t,r[t]);var n=Ve[J][t];n&&Gt(n,r[t]),kt()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map(function(t){var a=n[t],r=a.prefix,o=a.iconName,i=a.icon,l=i[2];e[r]||(e[r]={}),l.length>0&&l.forEach(function(t){"string"==typeof t&&(e[r][t]=i)}),e[r][o]=i}),e}}])}(),Et=[],zt={},Tt={},Ht=Object.keys(Tt);function Pt(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];return(zt[e]||[]).forEach(function(e){t=e.apply(null,[t].concat(a))}),t}function Kt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];(zt[e]||[]).forEach(function(e){e.apply(null,n)})}function $t(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Tt[e]?Tt[e].apply(null,t):void 0}function qt(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Yt();if(t)return t=Dt(n,t)||t,pt(en.definitions,n,t)||pt(bt.styles,n,t)}var en=new At,tn={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return j?(Kt("beforeI2svg",e),$t("pseudoElements2svg",e),$t("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]:{},n=t.autoReplaceSvgRoot;!1===Ke.autoReplaceSvg&&(Ke.autoReplaceSvg=!0),Ke.observeMutations=!0,e=function(){an({autoReplaceSvgRoot:n}),Kt("watch",t)},j&&(ft?setTimeout(e,0):mt.push(e))}},nn={noAuto:function(){Ke.autoReplaceSvg=!1,Ke.observeMutations=!1,Kt("noAuto")},config:Ke,dom:tn,parse:{icon:function(e){if(null===e)return null;if("object"===F(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Dt(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],n=jt(e[0]);return{prefix:n,iconName:Dt(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(Ke.cssPrefix,"-"))>-1||e.match(Me))){var a=Mt(e.split(" "),{skipLookups:!0});return{prefix:a.prefix||Yt(),iconName:Dt(a.prefix,a.iconName)||a.iconName}}if("string"==typeof e){var r=Yt();return{prefix:r,iconName:Dt(r,e)||e}}}},library:en,findIconDefinition:qt,toHtml:gt},an=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?U:e;(Object.keys(bt.styles).length>0||Ke.autoFetchSvg)&&j&&Ke.autoReplaceSvg&&nn.dom.i2svg({node:t})};function rn(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return gt(e)})}}),Object.defineProperty(e,"node",{get:function(){if(j){var t=U.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function on(e){var t=e.icons,n=t.main,a=t.mask,r=e.prefix,o=e.iconName,i=e.transform,l=e.symbol,s=e.maskId,c=e.extra,u=e.watchable,d=void 0!==u&&u,b=a.found?a:n,m=b.width,h=b.height,f=[Ke.replacementClass,o?"".concat(Ke.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:G(G({},c.attributes),{},{"data-prefix":r,"data-icon":o,class:f,role:c.attributes.role||"img",viewBox:"0 0 ".concat(m," ").concat(h)})};(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"),d&&(g.attributes[Ze]="");var p=G(G({},g),{},{prefix:r,iconName:o,main:n,mask:a,maskId:s,transform:i,symbol:l,styles:G({},c.styles)}),x=a.found&&n.found?$t("generateAbstractMask",p)||{children:[],attributes:{}}:$t("generateAbstractIcon",p)||{children:[],attributes:{}},y=x.children,v=x.attributes;return p.children=y,p.attributes=v,l?function(e){var t=e.prefix,n=e.iconName,a=e.children,r=e.attributes,o=e.symbol,i=!0===o?"".concat(t,"-").concat(Ke.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:G(G({},r),{},{id:i}),children:a}]}]}(p):function(e){var t=e.children,n=e.main,a=e.mask,r=e.attributes,o=e.styles,i=e.transform;if(it(i)&&n.found&&!a.found){var l={x:n.width/n.height/2,y:.5};r.style=ot(G(G({},o),{},{"transform-origin":"".concat(l.x+i.x/16,"em ").concat(l.y+i.y/16,"em")}))}return[{tag:"svg",attributes:r,children:t}]}(p)}function ln(e){var t=e.content,n=e.width,a=e.height,r=e.transform,o=e.extra,i=e.watchable,l=void 0!==i&&i,s=G(G({},o.attributes),{},{class:o.classes.join(" ")});l&&(s[Ze]="");var c=G({},o.styles);it(r)&&(c.transform=function(e){var t=e.transform,n=e.width,a=void 0===n?16:n,r=e.height,o=void 0===r?16:r,i="";return i+=V?"translate(".concat(t.x/qe-a/2,"em, ").concat(t.y/qe-o/2,"em) "):"translate(calc(-50% + ".concat(t.x/qe,"em), calc(-50% + ").concat(t.y/qe,"em)) "),i+="scale(".concat(t.size/qe*(t.flipX?-1:1),", ").concat(t.size/qe*(t.flipY?-1:1),") "),i+"rotate(".concat(t.rotate,"deg) ")}({transform:r,width:n,height:a}),c["-webkit-transform"]=c.transform);var u=ot(c);u.length>0&&(s.style=u);var d=[];return d.push({tag:"span",attributes:s,children:[t]}),d}var sn=bt.styles;function cn(e){var t=e[0],n=e[1],a=Q(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(a)?{tag:"g",attributes:{class:"".concat(Ke.cssPrefix,"-").concat(Ee.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ke.cssPrefix,"-").concat(Ee.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(Ke.cssPrefix,"-").concat(Ee.PRIMARY),fill:"currentColor",d:a[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:a}}}}var un={found:!1,width:512,height:512};function dn(e,t){var n=t;return"fa"===t&&null!==Ke.styleDefault&&(t=Yt()),new Promise(function(a,r){if("fa"===n){var o=_t(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&sn[t]&&sn[t][e])return a(cn(sn[t][e]));!function(e,t){Re||Ke.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),a(G(G({},un),{},{icon:Ke.showMissingIcons&&e&&$t("missingIconAbstract")||{}}))})}var bn=function(){},mn=Ke.measurePerformance&&_&&_.mark&&_.measure?_:{mark:bn,measure:bn},hn='FA "7.1.0"',fn=function(e){mn.mark("".concat(hn," ").concat(e," ends")),mn.measure("".concat(hn," ").concat(e),"".concat(hn," ").concat(e," begins"),"".concat(hn," ").concat(e," ends"))},gn=function(e){return mn.mark("".concat(hn," ").concat(e," begins")),function(){return fn(e)}},pn=function(){};function xn(e){return"string"==typeof(e.getAttribute?e.getAttribute(Ze):null)}function yn(e){return U.createElementNS("http://www.w3.org/2000/svg",e)}function vn(e){return U.createElement(e)}function Gn(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?yn:vn:t;if("string"==typeof e)return U.createTextNode(e);var a=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){a.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){a.appendChild(Gn(e,{ceFn:n}))}),a}var Qn={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(e){t.parentNode.insertBefore(Gn(e),t)}),null===t.getAttribute(Ze)&&Ke.keepOriginalSource){var n=U.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~at(t).indexOf(Ke.replacementClass))return Qn.replace(e);var a=new RegExp("".concat(Ke.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var r=n[0].attributes.class.split(" ").reduce(function(e,t){return t===Ke.replacementClass||t.match(a)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});n[0].attributes.class=r.toSvg.join(" "),0===r.toNode.length?t.removeAttribute("class"):t.setAttribute("class",r.toNode.join(" "))}var o=n.map(function(e){return gt(e)}).join("\n");t.setAttribute(Ze,""),t.innerHTML=o}};function In(e){e()}function Bn(e,t){var n="function"==typeof t?t:pn;if(0===e.length)n();else{var a=In;"async"===Ke.mutateApproach&&(a=k.requestAnimationFrame||In),a(function(){var t=!0===Ke.autoReplaceSvg?Qn.replace:Qn[Ke.autoReplaceSvg]||Qn.replace,a=gn("mutate");e.map(t),a(),n()})}}var Fn=!1;function Zn(){Fn=!0}function wn(){Fn=!1}var Nn=null;function Ln(e){if(D&&Ke.observeMutations){var t=e.treeCallback,n=void 0===t?pn:t,a=e.nodeCallback,r=void 0===a?pn:a,o=e.pseudoElementsCallback,i=void 0===o?pn:o,l=e.observeMutationsRoot,s=void 0===l?U:l;Nn=new D(function(e){if(!Fn){var t=Yt();nt(e).forEach(function(e){if("childList"===e.type&&e.addedNodes.length>0&&!xn(e.addedNodes[0])&&(Ke.searchPseudoElements&&i(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&Ke.searchPseudoElements&&i([e.target],!0),"attributes"===e.type&&xn(e.target)&&~Ae.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Ne):null,n=e.getAttribute?e.getAttribute(Le):null;return t&&n}(e.target)){var a=Mt(at(e.target)),o=a.prefix,l=a.iconName;e.target.setAttribute(Ne,o||t),l&&e.target.setAttribute(Le,l)}else(s=e.target)&&s.classList&&s.classList.contains&&s.classList.contains(Ke.replacementClass)&&r(e.target);var s})}}),j&&Nn.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Wn(e){var t,n,a=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",i=Mt(at(e));return i.prefix||(i.prefix=Yt()),a&&r&&(i.prefix=a,i.iconName=r),i.iconName&&i.prefix||(i.prefix&&o.length>0&&(i.iconName=(t=i.prefix,n=e.innerText,(Nt[t]||{})[n]||Ut(i.prefix,yt(e.innerText)))),!i.iconName&&Ke.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function Cn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Wn(e),a=n.iconName,r=n.prefix,o=n.rest,i=function(e){return nt(e.attributes).reduce(function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e},{})}(e),l=Pt("parseNodeAttributes",{},e),s=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(e,t){var n=t.split(":"),a=n[0],r=n.slice(1);return a&&r.length>0&&(e[a]=r.join(":").trim()),e},{})),n}(e):[];return G({iconName:a,prefix:r,transform:et,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:s,attributes:i}},l)}var Xn=bt.styles;function Rn(e){var t="nest"===Ke.autoReplaceSvg?Cn(e,{styleParser:!1}):Cn(e);return~t.extra.classes.indexOf(Je)?$t("generateLayersText",e,t):$t("generateSvgReplacementMutation",e,t)}function kn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!j)return Promise.resolve();var n=U.documentElement.classList,a=function(e){return n.add("".concat(We,"-").concat(e))},r=function(e){return n.remove("".concat(We,"-").concat(e))},o=Ke.autoFetchSvg?[].concat(I(ce),I(ve)):M.concat(Object.keys(Xn));o.includes("fa")||o.push("fa");var i=[".".concat(Je,":not([").concat(Ze,"])")].concat(o.map(function(e){return".".concat(e,":not([").concat(Ze,"])")})).join(", ");if(0===i.length)return Promise.resolve();var l=[];try{l=nt(e.querySelectorAll(i))}catch(e){}if(!(l.length>0))return Promise.resolve();a("pending"),r("complete");var s=gn("onTree"),c=l.reduce(function(e,t){try{var n=Rn(t);n&&e.push(n)}catch(e){Re||"MissingIcon"===e.name&&console.error(e)}return e},[]);return new Promise(function(e,n){Promise.all(c).then(function(n){Bn(n,function(){a("active"),a("complete"),r("pending"),"function"==typeof t&&t(),s(),e()})}).catch(function(e){s(),n(e)})})}function Un(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Rn(e).then(function(e){e&&Bn([e],t)})}var Dn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,a=void 0===n?et:n,r=t.symbol,o=void 0!==r&&r,i=t.mask,l=void 0===i?null:i,s=t.maskId,c=void 0===s?null:s,u=t.classes,d=void 0===u?[]:u,b=t.attributes,m=void 0===b?{}:b,h=t.styles,f=void 0===h?{}:h;if(e){var g=e.prefix,p=e.iconName,x=e.icon;return rn(G({type:"icon"},e),function(){return Kt("beforeDOMElementCreation",{iconDefinition:e,params:t}),on({icons:{main:cn(x),mask:l?cn(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:p,transform:G(G({},et),a),symbol:o,maskId:c,extra:{attributes:m,styles:f,classes:d}})})}},_n={mixout:function(){return{icon:(e=Dn,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=(t||{}).icon?t:qt(t||{}),r=n.mask;return r&&(r=(r||{}).icon?r:qt(r||{})),e(a,G(G({},n),{},{mask:r}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=kn,e.nodeCallback=Un,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?U:t,a=e.callback;return kn(n,void 0===a?function(){}:a)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,a=t.prefix,r=t.transform,o=t.symbol,i=t.mask,l=t.maskId,s=t.extra;return new Promise(function(t,c){Promise.all([dn(n,a),i.iconName?dn(i.iconName,i.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(i){var c=Q(i,2),u=c[0],d=c[1];t([e,on({icons:{main:u,mask:d},prefix:a,iconName:n,transform:r,symbol:o,maskId:l,extra:s,watchable:!0})])}).catch(c)})},e.generateAbstractIcon=function(e){var t,n=e.children,a=e.attributes,r=e.main,o=e.transform,i=ot(e.styles);return i.length>0&&(a.style=i),it(o)&&(t=$t("generateAbstractTransformGrouping",{main:r,transform:o,containerWidth:r.width,iconWidth:r.width})),n.push(t||r.icon),{children:n,attributes:a}}}},Yn={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,a=void 0===n?[]:n;return rn({type:"layer"},function(){Kt("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e(function(e){Array.isArray(e)?e.map(function(e){n=n.concat(e.abstract)}):n=n.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat(Ke.cssPrefix,"-layers")].concat(I(a)).join(" ")},children:n}]})}}}},jn={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.title;var n=t.classes,a=void 0===n?[]:n,r=t.attributes,o=void 0===r?{}:r,i=t.styles,l=void 0===i?{}:i;return rn({type:"counter",content:e},function(){return Kt("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.extra,a=G(G({},n.attributes),{},{class:n.classes.join(" ")}),r=ot(n.styles);r.length>0&&(a.style=r);var o=[];return o.push({tag:"span",attributes:a,children:[t]}),o}({content:e.toString(),extra:{attributes:o,styles:l,classes:["".concat(Ke.cssPrefix,"-layers-counter")].concat(I(a))}})})}}}},Vn={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,a=void 0===n?et:n,r=t.classes,o=void 0===r?[]:r,i=t.attributes,l=void 0===i?{}:i,s=t.styles,c=void 0===s?{}:s;return rn({type:"text",content:e},function(){return Kt("beforeDOMElementCreation",{content:e,params:t}),ln({content:e,transform:G(G({},et),a),extra:{attributes:l,styles:c,classes:["".concat(Ke.cssPrefix,"-layers-text")].concat(I(o))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.transform,a=t.extra,r=null,o=null;if(V){var i=parseInt(getComputedStyle(e).fontSize,10),l=e.getBoundingClientRect();r=l.width/i,o=l.height/i}return Promise.resolve([e,ln({content:e.innerHTML,width:r,height:o,transform:n,extra:a,watchable:!0})])}}},Sn=new RegExp('"',"ug"),Mn=[1105920,1112319],Jn=G(G(G(G({},{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"}}),On=Object.keys(Jn).reduce(function(e,t){return e[t.toLowerCase()]=Jn[t],e},{}),An=Object.keys(On).reduce(function(e,t){var n=On[t];return e[t]=n[900]||I(Object.entries(n))[0][1],e},{});function En(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(function(a,r){if(null!==e.getAttribute(n))return a();var o,i,l,s=nt(e.children).filter(function(e){return e.getAttribute(we)===t})[0],c=k.getComputedStyle(e,t),u=c.getPropertyValue("font-family"),d=u.match(Oe),b=c.getPropertyValue("font-weight"),m=c.getPropertyValue("content");if(s&&!d)return e.removeChild(s),a();if(d&&"none"!==m&&""!==m){var h=c.getPropertyValue("content"),f=function(e,t){var n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),a=parseInt(t),r=isNaN(a)?"normal":a;return(On[n]||{})[r]||An[n]}(u,b),g=function(e){return yt(I(e.replace(Sn,""))[0]||"")}(h),p=d[0].startsWith("FontAwesome"),x=function(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),n=e.getPropertyValue("content").replace(Sn,""),a=n.codePointAt(0),r=a>=Mn[0]&&a<=Mn[1],o=2===n.length&&n[0]===n[1];return r||o||t}(c),y=Ut(f,g),v=y;if(p){var Q=(i=Wt[o=g],l=Ut("fas",o),i||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});Q.iconName&&Q.prefix&&(y=Q.iconName,f=Q.prefix)}if(!y||x||s&&s.getAttribute(Ne)===f&&s.getAttribute(Le)===v)a();else{e.setAttribute(n,v),s&&e.removeChild(s);var B={iconName:null,prefix:null,transform:et,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},F=B.extra;F.attributes[we]=t,dn(y,f).then(function(r){var o=on(G(G({},B),{},{icons:{main:r,mask:{prefix:null,iconName:null,rest:[]}},prefix:f,iconName:v,extra:F,watchable:!0})),i=U.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(i,e.firstChild):e.appendChild(i),i.outerHTML=o.map(function(e){return gt(e)}).join("\n"),e.removeAttribute(n),a()}).catch(r)}}else a()})}function zn(e){return Promise.all([En(e,"::before"),En(e,"::after")])}function Tn(e){return!(e.parentNode===document.head||~Ce.indexOf(e.tagName.toUpperCase())||e.getAttribute(we)||e.parentNode&&"svg"===e.parentNode.tagName)}var Hn=function(e){return!!e&&Xe.some(function(t){return e.includes(t)})},Pn=function(e){if(!e)return[];var t=new Set,n=e.split(/,(?![^()]*\))/).map(function(e){return e.trim()});n=n.flatMap(function(e){return e.includes("(")?e:e.split(",").map(function(e){return e.trim()})});var a,r=x(n);try{for(r.s();!(a=r.n()).done;){var o=a.value;if(Hn(o)){var i=Xe.reduce(function(e,t){return e.replace(t,"")},o);""!==i&&"*"!==i&&t.add(i)}}}catch(e){r.e(e)}finally{r.f()}return t};function Kn(e){if(j){var t;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])t=e;else if(Ke.searchPseudoElementsFullScan)t=e.querySelectorAll("*");else{var n,a=new Set,r=x(document.styleSheets);try{for(r.s();!(n=r.n()).done;){var o=n.value;try{var i,l=x(o.cssRules);try{for(l.s();!(i=l.n()).done;){var s,c=i.value,u=x(Pn(c.selectorText));try{for(u.s();!(s=u.n()).done;){var d=s.value;a.add(d)}}catch(e){u.e(e)}finally{u.f()}}}catch(e){l.e(e)}finally{l.f()}}catch(e){Ke.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){r.e(e)}finally{r.f()}if(!a.size)return;var b=Array.from(a).join(", ");try{t=e.querySelectorAll(b)}catch(e){}}return new Promise(function(e,n){var a=nt(t).filter(Tn).map(zn),r=gn("searchPseudoElements");Zn(),Promise.all(a).then(function(){r(),wn(),e()}).catch(function(){r(),wn(),n()})})}}var $n={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Kn,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?U:t;Ke.searchPseudoElements&&Kn(n)}}},qn=!1,ea=function(e){return e.toLowerCase().split(" ").reduce(function(e,t){var n=t.toLowerCase().split("-"),a=n[0],r=n.slice(1).join("-");if(a&&"h"===r)return e.flipX=!0,e;if(a&&"v"===r)return e.flipY=!0,e;if(r=parseFloat(r),isNaN(r))return e;switch(a){case"grow":e.size=e.size+r;break;case"shrink":e.size=e.size-r;break;case"left":e.x=e.x-r;break;case"right":e.x=e.x+r;break;case"up":e.y=e.y-r;break;case"down":e.y=e.y+r;break;case"rotate":e.rotate=e.rotate+r}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},ta={mixout:function(){return{parse:{transform:function(e){return ea(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=ea(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,a=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(a/2," 256)")},i="translate(".concat(32*n.x,", ").concat(32*n.y,") "),l="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)"),c={outer:o,inner:{transform:"".concat(i," ").concat(l," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}};return{tag:"g",attributes:G({},c.outer),children:[{tag:"g",attributes:G({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:G(G({},t.icon.attributes),c.path)}]}]}}}},na={x:0,y:0,width:"100%",height:"100%"};function aa(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 ra={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),a=n?Mt(n.split(" ").map(function(e){return e.trim()})):{prefix:null,iconName:null,rest:[]};return a.prefix||(a.prefix=Yt()),e.mask=a,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,a=e.attributes,r=e.main,o=e.mask,i=e.maskId,l=e.transform,s=r.width,c=r.icon,u=o.width,d=o.icon,b=function(e){var t=e.transform,n=e.containerWidth,a=e.iconWidth,r={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="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:r,inner:{transform:"".concat(o," ").concat(i," ").concat(l)},path:{transform:"translate(".concat(a/2*-1," -256)")}}}({transform:l,containerWidth:u,iconWidth:s}),m={tag:"rect",attributes:G(G({},na),{},{fill:"white"})},h=c.children?{children:c.children.map(aa)}:{},f={tag:"g",attributes:G({},b.inner),children:[aa(G({tag:c.tag,attributes:G(G({},c.attributes),b.path)},h))]},g={tag:"g",attributes:G({},b.outer),children:[f]},p="mask-".concat(i||tt()),x="clip-".concat(i||tt()),y={tag:"mask",attributes:G(G({},na),{},{id:p,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,g]},v={tag:"defs",children:[{tag:"clipPath",attributes:{id:x},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(v,{tag:"rect",attributes:G({fill:"currentColor","clip-path":"url(#".concat(x,")"),mask:"url(#".concat(p,")")},na)}),{children:n,attributes:a}}}},oa={provides:function(e){var t=!1;k.matchMedia&&(t=k.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:G(G({},n),{},{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 r=G(G({},a),{},{attributeName:"opacity"}),o={tag:"circle",attributes:G(G({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:G(G({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:G(G({},r),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:G(G({},n),{},{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:G(G({},r),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:G(G({},n),{},{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:G(G({},r),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){var n=t.mixoutsTo;Et=e,zt={},Object.keys(Tt).forEach(function(e){-1===Ht.indexOf(e)&&delete Tt[e]}),Et.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===F(t[e])&&Object.keys(t[e]).forEach(function(a){n[e]||(n[e]={}),n[e][a]=t[e][a]})}),e.hooks){var a=e.hooks();Object.keys(a).forEach(function(e){zt[e]||(zt[e]=[]),zt[e].push(a[e])})}e.provides&&e.provides(Tt)})}([ut,_n,Yn,jn,Vn,$n,{mixout:function(){return{dom:{unwatch:function(){Zn(),qn=!0}}}},hooks:function(){return{bootstrap:function(){Ln(Pt("mutationObserverCallbacks",{}))},noAuto:function(){Nn&&Nn.disconnect()},watch:function(e){var t=e.observeMutationsRoot;qn?wn():Ln(Pt("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},ta,ra,oa,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),a=null!==n&&(""===n||n);return e.symbol=a,e}}}}],{mixoutsTo:nn});var ia=nn.config,la=nn.parse,sa=nn.icon;function ca(e){return function(e){return(e-=0)==e}(e)?e:(e=e.replace(/[_-]+(.)?/g,(e,t)=>t?t.toUpperCase():"")).charAt(0).toLowerCase()+e.slice(1)}function ua(e){return e.charAt(0).toUpperCase()+e.slice(1)}var da=new Map;function ba(e){if(da.has(e))return da.get(e);const t={};let n=0;const a=e.length;for(;n<a;){const r=e.indexOf(";",n),o=-1===r?a:r,i=e.slice(n,o).trim();if(i){const e=i.indexOf(":");if(e>0){const n=i.slice(0,e).trim(),a=i.slice(e+1).trim();if(n&&a){const e=ca(n);t[e.startsWith("webkit")?ua(e):e]=a}}}n=o+1}if(1e3===da.size){const e=da.keys().next().value;e&&da.delete(e)}return da.set(e,t),t}var ma=function e(t,n,a={}){if("string"==typeof n)return n;const r=(n.children||[]).map(n=>e(t,n)),o=n.attributes||{},i={};for(const[e,t]of Object.entries(o))switch(!0){case"class"===e:i.className=t;break;case"style"===e:i.style=ba(String(t));break;case e.startsWith("aria-"):case e.startsWith("data-"):i[e.toLowerCase()]=t;break;default:i[ca(e)]=t}const{style:l,role:s,"aria-label":c,...u}=a;return l&&(i.style=i.style?{...i.style,...l}:l),s&&(i.role=s),c&&(i["aria-label"]=c,i["aria-hidden"]="false"),t(n.tag,{...u,...i},...r)}.bind(null,t.createElement),ha=(e,n)=>{const a=t.useId();return e||(n?a:void 0)};"undefined"!=typeof process&&process.env.FA_VERSION;var fa="searchPseudoElementsFullScan"in ia?"7.0.0":"6.0.0",ga=Number.parseInt(fa)>=7,pa="fa",xa="fa-beat",ya="fa-fade",va="fa-beat-fade",Ga="fa-bounce",Qa="fa-shake",Ia="fa-spin",Ba="fa-spin-pulse",Fa="fa-spin-reverse",Za="fa-pulse",wa={left:"fa-pull-left",right:"fa-pull-right"},Na={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},La={"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"},Wa="fa-border",Ca="fa-fw",Xa="fa-flip",Ra="fa-flip-horizontal",ka="fa-flip-vertical",Ua="fa-inverse",Da="fa-rotate-by",_a="fa-swap-opacity",Ya="fa-width-auto";function ja(e){const t=ia.cssPrefix||ia.familyPrefix||pa;return t===pa?e:e.replace(new RegExp(String.raw`(?<=^|\s)${pa}-`,"g"),`${t}-`)}function Va(e){if(e)return(e=>"object"==typeof e&&"icon"in e&&!!e.icon)(e)?e:la.icon(e)}var Sa=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"),Ma={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},Ja=new Set(Object.keys(Ma)),Oa=t.forwardRef((e,t)=>{const n={...Ma,...e},{icon:a,mask:r,symbol:o,title:i,titleId:l,maskId:s,transform:c}=n,u=ha(s,Boolean(r)),d=ha(l,Boolean(i)),b=Va(a);if(!b)return Sa.error("Icon lookup is undefined",a),null;const m=function(e){const{beat:t,fade:n,beatFade:a,bounce:r,shake:o,spin:i,spinPulse:l,spinReverse:s,pulse:c,fixedWidth:u,inverse:d,border:b,flip:m,size:h,rotation:f,pull:g,swapOpacity:p,rotateBy:x,widthAuto:y,className:v}=e,G=[];return v&&G.push(...v.split(" ")),t&&G.push(xa),n&&G.push(ya),a&&G.push(va),r&&G.push(Ga),o&&G.push(Qa),i&&G.push(Ia),s&&G.push(Fa),l&&G.push(Ba),c&&G.push(Za),u&&G.push(Ca),d&&G.push(Ua),b&&G.push(Wa),!0===m&&G.push(Xa),"horizontal"!==m&&"both"!==m||G.push(Ra),"vertical"!==m&&"both"!==m||G.push(ka),null!=h&&G.push(La[h]),null!=f&&0!==f&&G.push(Na[f]),null!=g&&G.push(wa[g]),p&&G.push(_a),ga?(x&&G.push(Da),y&&G.push(Ya),(ia.cssPrefix||ia.familyPrefix||pa)===pa?G:G.map(ja)):G}(n),h="string"==typeof c?la.transform(c):c,f=Va(r),g=sa(b,{...m.length>0&&{classes:m},...h&&{transform:h},...f&&{mask:f},symbol:o,title:i,titleId:d,maskId:u});if(!g)return Sa.error("Could not find icon",b),null;const{abstract:p}=g,x={ref:t};for(const e of(y=n,Object.keys(y)))Ja.has(e)||(x[e]=n[e]);var y;return ma(p[0],x)});Oa.displayName="FontAwesomeIcon";var Aa={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"};s(".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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJveC5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxzREFDRSx3Q0FBeUMsQ0FDekMsb0NBQXFDLENBQ3JDLGlCQUFrQixDQUNsQixpQkFDRixDQUVBLDJCQUNFLGtCQUFtQixDQUNuQixZQUNGLENBRUEsK0JBQ0Usa0JBQ0YsQ0FDQSxvSEFDRSw0QkFBNkIsQ0FDN0IsV0FBWSxDQUNaLGVBQWdCLENBRWhCLFdBQVksQ0FEWixnQkFFRixDQUNBLDBMQUNFLFFBQVMsQ0FDVCxRQUFTLENBRVQsZUFBZ0IsQ0FEaEIsU0FFRixDQUVBLGlDQU9FLGtCQUFtQixDQUpuQixjQUFlLENBRWYsWUFBYSxDQ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cG9pbnRlcjtcbiAgcGFkZGluZzogNXB4IDEwcHg7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgaGVpZ2h0OiA0MHB4O1xufVxuLmNvbGxhcHNlVGl0bGU6aG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy11aS1ib3JkZXIpO1xufVxuXG4uY29sbGFwc2VJY29uIHtcbiAgZGlzcGxheTogZmxleDtcbiAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDAuMXM7XG59XG4uY29sbGFwc2VJY29uLmNvbGxhcHNlZCB7XG4gIHRyYW5zZm9ybTogcm90YXRlKDkwZGVnKTtcbiAgZGlzcGxheTogZmxleDtcbn0iXX0= */"),f.bind(Aa);const Ea=Symbol("BrandTag");const za=new class{constructor(e){this[Ea]=e}}("unit"),Ta=e=>null==e;function Ha(e,t){return void 0!==t?e(t):e}function Pa(e){if(function(e,t){return"object"==typeof e&&null!==e&&t in e}(e,"toString")&&"function"==typeof e.toString){const t=e.toString();return"string"==typeof t?t:JSON.stringify(e)}return JSON.stringify(e)}const Ka="Ok",$a="Err";class qa{constructor(e){this.repr=e}static ok(e){return Ta(e)?new qa(["Ok",za]):new qa(["Ok",e])}static err(e){return Ta(e)?new qa(["Err",za]):new qa(["Err",e])}get variant(){return this.repr[0]}get value(){if(this.repr[0]===$a)throw new Error("Cannot get the value of Err");return this.repr[1]}get error(){if(this.repr[0]===Ka)throw new Error("Cannot get the error of Ok");return this.repr[1]}get isOk(){return this.repr[0]===Ka}get isErr(){return this.repr[0]===$a}map(e){return function(e,t){const n=t=>t.isOk?er(e(t.value)):t;return Ha(n,t)}(e,this)}mapOr(e,t){return function(e,t,n){function a(t,n){return n.isOk?t(n.value):e}function r(e,t){return void 0!==t?a(e,t):t=>a(e,t)}return void 0===t?r:void 0===n?r(t):r(t,n)}(e,t,this)}mapOrElse(e,t){return nr(e,t,this)}match(e){return function(e,t){const n=t=>nr(e.Err,e.Ok,t);return Ha(n,t)}(e,this)}mapErr(e){return function(e,t){const n=t=>t.isOk?t:tr(e(t.error));return Ha(n,t)}(e,this)}or(e){return function(e,t){const n=t=>t.isOk?er(t.value):e;return Ha(n,t)}(e,this)}orElse(e){return function(e,t){const n=t=>t.isOk?er(t.value):e(t.error);return Ha(n,t)}(e,this)}and(e){return function(e,t){const n=t=>t.isOk?e:tr(t.error);return Ha(n,t)}(e,this)}andThen(e){return function(e,t){const n=t=>t.isOk?e(t.value):tr(t.error);return Ha(n,t)}(e,this)}unwrapOr(e){return function(e,t){const n=t=>t.isOk?t.value:e;return Ha(n,t)}(e,this)}unwrapOrElse(e){return function(e,t){const n=t=>t.isOk?t.value:e(t.error);return Ha(n,t)}(e,this)}toMaybe(){return(e=this).isOk?fr.just(e.value):fr.nothing();var e}toString(){return ar(this)}toJSON(){return rr(this)}equals(e){return t=e,void 0!==(n=this)?n.match({Err:()=>t.isErr,Ok:e=>t.isOk&&t.value===e}):e=>e.match({Err:()=>t.isErr,Ok:e=>t.isOk&&t.value===e});var t,n}ap(e){return function(e,t){const n=t=>t.andThen(t=>e.map(e=>e(t)));return Ha(n,t)}(this,e)}}const er=qa.ok,tr=qa.err;function nr(e,t,n){function a(t,n){return n.isOk?t(n.value):e(n.error)}function r(e,t){return void 0!==t?a(e,t):t=>a(e,t)}return void 0===t?r:void 0===n?r(t):r(t,n)}const ar=e=>{const t=e.match({Ok:Pa,Err:Pa});return`${e.variant.toString()}(${t})`},rr=e=>e.isOk?{variant:e.variant,value:e.value}:{variant:e.variant,error:e.error};const or=qa,ir="Just",lr="Nothing";let sr;class cr{constructor(e){if(Ta(e))return this.repr=[lr],sr||(sr=this),sr;this.repr=[ir,e]}static of(e){return new cr(e)}static just(e){if(Ta(e))throw new Error(`attempted to call "just" with ${e}`);return new cr(e)}static nothing(e){return new cr}get variant(){return this.repr[0]}get value(){if(this.repr[0]===lr)throw new Error("Cannot get the value of `Nothing`");return this.repr[1]}get isJust(){return this.repr[0]===ir}get isNothing(){return this.repr[0]===lr}map(e){return function(e,t){const n=t=>t.isJust?ur(e(t.value)):dr();return Ha(n,t)}(e,this)}mapOr(e,t){return function(e,t,n){function a(t,n){return n.isJust?t(n.value):e}function r(e,t){return void 0!==t?a(e,t):t=>a(e,t)}return void 0===t?r:void 0===n?r(t):r(t,n)}(e,t,this)}mapOrElse(e,t){return br(e,t,this)}match(e){return function(e,t){const n=t=>br(e.Nothing,e.Just,t);return Ha(n,t)}(e,this)}or(e){return function(e,t){const n=t=>t.isJust?t:e;return void 0!==t?n(t):n}(e,this)}orElse(e){return function(e,t){const n=t=>t.isJust?t:e();return Ha(n,t)}(e,this)}and(e){return function(e,t){const n=t=>t.isJust?e:dr();return Ha(n,t)}(e,this)}andThen(e){return mr(e,this)}unwrapOr(e){return function(e,t){const n=t=>t.isJust?t.value:e;return Ha(n,t)}(e,this)}unwrapOrElse(e){return function(e,t){const n=t=>t.isJust?t.value:e();return Ha(n,t)}(e,this)}toOkOrErr(e){return function(e,t){const n=t=>t.isJust?or.ok(t.value):or.err(e);return void 0!==t?n(t):n}(e,this)}toOkOrElseErr(e){return function(e,t){return Ha(t=>t.isJust?or.ok(t.value):or.err(e()),t)}(e,this)}toString(){return function(e){const t=e.map(e=>`(${Pa(e)})`).unwrapOr("");return`${e.variant}${t}`}(this)}toJSON(){return(e=this).isJust?{variant:e.variant,value:hr(e.value)?e.value.toJSON():e.value}:{variant:e.variant};var e}equals(e){return t=e,Ha(e=>e.match({Just:e=>t.isJust&&t.value===e,Nothing:()=>t.isNothing}),this);var t}ap(e){return function(e,t){const n=t=>t.andThen(t=>e.map(e=>e(t)));return Ha(n,t)}(this,e)}get(e){return function(e,t){return Ha(mr(function(e,t){const n=t=>fr.of(t[e]);return Ha(n,t)}(e)),t)}(e,this)}}const ur=cr.just,dr=cr.nothing;function br(e,t,n){function a(t,n){return n.isJust?t(n.value):e()}function r(e,t){return void 0!==t?a(e,t):t=>a(e,t)}return void 0===t?r:void 0===n?r(t):r(t,n)}function mr(e,t){const n=t=>t.isJust?e(t.value):dr();return void 0!==t?n(t):n}function hr(e){return e instanceof fr}const fr=cr,gr=["dotnetspy","ebpfspy","gospy","phpspy","pyspy","rbspy","nodespy","javaspy","pyroscope-rs","scrape","tracing","unknown"],pr=n.z.preprocess(e=>e&&gr.includes(e)?e:"unknown",n.z.enum(gr).default("unknown")),xr=["samples","objects","goroutines","bytes","lock_samples","lock_nanoseconds","trace_samples","exceptions"],yr=n.z.preprocess(e=>"string"==typeof e&&xr.includes(e)?e:"unknown",n.z.enum(["samples","objects","goroutines","bytes","lock_samples","lock_nanoseconds","trace_samples","exceptions","unknown"])),vr=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()}),Gr=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:pr,units:yr});n.z.object({version:n.z.number().min(1).max(1).default(1),flamebearer:vr,metadata:Gr,leftTicks:n.z.number().optional(),rightTicks:n.z.number().optional()});const Qr={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]},Ir={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 Br(e){switch(e){case"single":return Qr;case"double":return Ir;default:throw new Error(`Unsupported type: '${e}'`)}}const Fr=n.z.object({refType:n.z.string(),traceID:n.z.string(),spanID:n.z.string()}),Zr=n.z.object({key:n.z.string(),type:n.z.string(),value:n.z.union([n.z.boolean(),n.z.number(),n.z.string()])}),wr=n.z.object({traceID:n.z.string(),spanID:n.z.string(),flags:n.z.string(),operationName:n.z.string(),references:n.z.array(Fr),startTime:n.z.number(),duration:n.z.number(),tags:n.z.array(Zr),logs:n.z.object({timestamp:n.z.number(),fields:n.z.array(Zr)}),processID:n.z.string(),warnings:n.z.any()}),Nr=n.z.object({serviceName:n.z.string(),tags:n.z.array(Zr)});n.z.object({traceID:n.z.string(),spans:n.z.array(wr),processes:n.z.record(Nr),warnings:n.z.any()});const Lr=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(),Lr);const Wr=22,Cr=21.5;function Xr(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}function Rr(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 n=!1;t.startsWith("<")&&(n=!0,t=t.slice(1).trim());const a=t.match(/^([+\-]?)(\d*\.?\d+)\s*(.*)$/);if(!a)return null;const r=a[1]||"",o=a[2],i=(a[3]||"").trim(),l=parseFloat(o);return Number.isFinite(l)?{value:l,unit:i,hasLessThan:n,sign:r}:null}function kr(e,t=!1){if(!e||!t)return e;const n=Rr(e);if(!n)return e;const{unit:a}=n;let r=a;const o=a.toLowerCase();"ms"===o?r="毫秒":"μs"===o||"µs"===o||"us"===o?r="微秒":"second"===o||"seconds"===o?r="秒":"minute"===o||"minutes"===o||"min"===o||"mins"===o?r="分钟":"hour"===o||"hours"===o?r="小时":"day"===o||"days"===o?r="天":"month"===o||"months"===o?r="月":"year"!==o&&"years"!==o||(r="年");const i=String(e).match(/^([<\s]*)([+\-]?\d*\.?\d+)(.*)$/);if(!i)return e;return`${i[1]||""}${i[2]||""} ${r}`.trim()}const Ur=[{value:1e15,label:"Quad"},{value:1e12,label:"Tri"},{value:1e9,label:"B"},{value:1e6,label:"M"},{value:1e3,label:"K"}];function Dr(e){return Math.round(1e4*e)/100}function _r(e,t){return(t-e)/e*100}function Yr(e,t,n){switch(n){case"samples":return new jr(e/t);case"objects":case"goroutines":case"lock_samples":case"exceptions":return new Sr(e);case"bytes":return new Mr(e);case"lock_nanoseconds":return new Vr(e);case"trace_samples":return new jr(e/t,"",!0);default:return console.warn(`Unsupported unit: '${n}'. Defaulting to ''`),new jr(e/t," ")}}class jr{constructor(e,t,n){this.divider=1,this.enableSubsecondPrecision=!1,this.suffix="second",this.durations=[[60,"minute"],[60,"hour"],[24,"day"],[30,"month"],[12,"year"]],this.units="",n&&(this.enableSubsecondPrecision=n,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 n=this.durations[t];if(!n){console.warn("Could not calculate level");break}if(!(e>=n[0]))break;this.divider*=n[0],e/=n[0],this.suffix=n[1]}}format(e,t,n=!0){this.enableSubsecondPrecision&&(t/=1e6);const a=e/t/this.divider;let r=a.toFixed(2);return 0===a?r="0.00":(a>=0&&a<.01||a<=0&&a>-.01)&&(r="< 0.01"),n?`${r} ${this.units||`${this.suffix}${1===a||2===this.suffix.length?"":"s"}`}`:r}formatPrecise(e,t){this.enableSubsecondPrecision&&(t/=1e6);const n=e/t/this.divider;return`${parseFloat(n.toFixed(5))} ${this.units||`${this.suffix}${1===n||2===this.suffix.length?"":"s"}`}`}}class Vr{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 n=this.durations[t];if(!n){console.warn("Could not calculate level");break}if(!(e>=n[0]))break;this.divider*=n[0],e/=n[0],this.suffix=n[1]}}format(e){const t=e/1e9/this.divider;let n=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(n="< 0.01"),`${n} ${this.suffix}${1===t?"":"s"}`}formatPrecise(e){const t=e/1e9/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}${1===t?"":"s"}`}}class Sr{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 n=this.objects[t];if(!n){console.warn("Could not calculate level");break}if(!(e>=n[0]))break;this.divider*=n[0],e/=n[0],this.suffix=n[1]}}format(e){const t=e/this.divider;let n=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(n="< 0.01"),`${n} ${this.suffix}`}formatPrecise(e){const t=e/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}`}}class Mr{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 n=this.bytes[t];if(!n){console.warn("Could not calculate level");break}if(!(e>=n[0]))break;{this.divider*=n[0],e/=n[0];const t=n[1];t?this.suffix=t:(console.warn("Could not calculate suffix"),this.suffix="")}}}format(e){const t=e/this.divider;let n=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(n="< 0.01"),`${n} ${this.suffix}`}formatPrecise(e){const t=e/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}`}}const Jr="TAIL",Or="HEAD";function Ar({mode:e,charSize:t,rectWidth:n,fullText:a,shortText:r}){if(e===Jr){if(t*a.length<=n)return{mode:e,text:a,marginLeft:3};const o=t*r.length;return o<=n?{mode:e,text:r,marginLeft:3}:{mode:e,text:r,marginLeft:-(o-n+3)}}return{mode:e,text:a,marginLeft:3}}function Er(e){return e===Jr?{direction:"rtl",overflow:"hidden",textOverflow:"ellipsis"}:{overflow:"hidden",textOverflow:"ellipsis"}}const zr={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};for(const e in zr)Object.freeze(zr[e]);var Tr=Object.freeze(zr);const Hr=Object.create(null);for(const e in Tr)Object.hasOwn(Tr,e)&&(Hr[Tr[e]]=e);const Pr={to:{},get:{}};function Kr(e,t,n){return Math.min(Math.max(t,e),n)}function $r(e){const t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}Pr.get=function(e){let t,n;switch(e.slice(0,3).toLowerCase()){case"hsl":t=Pr.get.hsl(e),n="hsl";break;case"hwb":t=Pr.get.hwb(e),n="hwb";break;default:t=Pr.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},Pr.get.rgb=function(e){if(!e)return null;let t,n,a,r=[0,0,0,1];if(t=e.match(/^#([a-f\d]{6})([a-f\d]{2})?$/i)){for(a=t[2],t=t[1],n=0;n<3;n++){const e=2*n;r[n]=Number.parseInt(t.slice(e,e+2),16)}a&&(r[3]=Number.parseInt(a,16)/255)}else if(t=e.match(/^#([a-f\d]{3,4})$/i)){for(t=t[1],a=t[3],n=0;n<3;n++)r[n]=Number.parseInt(t[n]+t[n],16);a&&(r[3]=Number.parseInt(a+a,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)\s*(?:[\s,|/]\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(%?)\s*)?\)$/i)){for(n=0;n<3;n++)r[n]=Number.parseFloat(t[n+1]);t[4]&&(r[3]=t[5]?.01*Number.parseFloat(t[4]):Number.parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/i)))return(t=e.toLowerCase().match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:Object.hasOwn(Tr,t[1])?(r=Tr[t[1]].slice(),r[3]=1,r):null:null;for(n=0;n<3;n++)r[n]=Math.round(2.55*Number.parseFloat(t[n+1]));t[4]&&(r[3]=t[5]?.01*Number.parseFloat(t[4]):Number.parseFloat(t[4]))}for(n=0;n<3;n++)r[n]=Kr(r[n],0,255);return r[3]=Kr(r[3],0,1),r},Pr.get.hsl=function(e){if(!e)return null;const t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i);if(t){const e=Number.parseFloat(t[4]);return[(Number.parseFloat(t[1])%360+360)%360,Kr(Number.parseFloat(t[2]),0,100),Kr(Number.parseFloat(t[3]),0,100),Kr(Number.isNaN(e)?1:e,0,1)]}return null},Pr.get.hwb=function(e){if(!e)return null;const t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i);if(t){const e=Number.parseFloat(t[4]);return[(Number.parseFloat(t[1])%360+360)%360,Kr(Number.parseFloat(t[2]),0,100),Kr(Number.parseFloat(t[3]),0,100),Kr(Number.isNaN(e)?1:e,0,1)]}return null},Pr.to.hex=function(...e){return"#"+$r(e[0])+$r(e[1])+$r(e[2])+(e[3]<1?$r(Math.round(255*e[3])):"")},Pr.to.rgb=function(...e){return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},Pr.to.rgb.percent=function(...e){const t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),a=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+a+"%)":"rgba("+t+"%, "+n+"%, "+a+"%, "+e[3]+")"},Pr.to.hsl=function(...e){return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},Pr.to.hwb=function(...e){let t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},Pr.to.keyword=function(...e){return Hr[e.slice(0,3)]};const qr={};for(const e of Object.keys(Tr))qr[Tr[e]]=e;const eo={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},to=(6/29)**3;function no(e){const t=e>.0031308?1.055*e**(1/2.4)-.055:12.92*e;return Math.min(Math.max(0,t),1)}function ao(e){return e>.04045?((e+.055)/1.055)**2.4:e/12.92}for(const e of Object.keys(eo)){if(!("channels"in eo[e]))throw new Error("missing channels property: "+e);if(!("labels"in eo[e]))throw new Error("missing channel labels property: "+e);if(eo[e].labels.length!==eo[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=eo[e];delete eo[e].channels,delete eo[e].labels,Object.defineProperty(eo[e],"channels",{value:t}),Object.defineProperty(eo[e],"labels",{value:n})}function ro(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}function oo(e){const t=function(){const e={},t=Object.keys(eo);for(let{length:n}=t,a=0;a<n;a++)e[t[a]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length>0;){const e=n.pop(),a=Object.keys(eo[e]);for(let{length:r}=a,o=0;o<r;o++){const r=a[o],i=t[r];-1===i.distance&&(i.distance=t[e].distance+1,i.parent=e,n.unshift(r))}}return t}function io(e,t){return function(n){return t(e(n))}}function lo(e,t){const n=[t[e].parent,e];let a=eo[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)n.unshift(t[r].parent),a=io(eo[t[r].parent][r],a),r=t[r].parent;return a.conversion=n,a}function so(e){const t=oo(e),n={},a=Object.keys(t);for(let{length:e}=a,r=0;r<e;r++){const e=a[r];null!==t[e].parent&&(n[e]=lo(e,t))}return n}eo.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,a=e[2]/255,r=Math.min(t,n,a),o=Math.max(t,n,a),i=o-r;let l,s;switch(o){case r:l=0;break;case t:l=(n-a)/i;break;case n:l=2+(a-t)/i;break;case a:l=4+(t-n)/i}l=Math.min(60*l,360),l<0&&(l+=360);const c=(r+o)/2;return s=o===r?0:c<=.5?i/(o+r):i/(2-o-r),[l,100*s,100*c]},eo.rgb.hsv=function(e){let t,n,a,r,o;const i=e[0]/255,l=e[1]/255,s=e[2]/255,c=Math.max(i,l,s),u=c-Math.min(i,l,s),d=function(e){return(c-e)/6/u+.5};if(0===u)r=0,o=0;else{switch(o=u/c,t=d(i),n=d(l),a=d(s),c){case i:r=a-n;break;case l:r=1/3+t-a;break;case s:r=2/3+n-t}r<0?r+=1:r>1&&(r-=1)}return[360*r,100*o,100*c]},eo.rgb.hwb=function(e){const t=e[0],n=e[1];let a=e[2];const r=eo.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(n,a));return a=1-1/255*Math.max(t,Math.max(n,a)),[r,100*o,100*a]},eo.rgb.oklab=function(e){const t=ao(e[0]/255),n=ao(e[1]/255),a=ao(e[2]/255),r=Math.cbrt(.4122214708*t+.5363325363*n+.0514459929*a),o=Math.cbrt(.2119034982*t+.6806995451*n+.1073969566*a),i=Math.cbrt(.0883024619*t+.2817188376*n+.6299787005*a);return[100*(.2104542553*r+.793617785*o-.0040720468*i),100*(1.9779984951*r-2.428592205*o+.4505937099*i),100*(.0259040371*r+.7827717662*o-.808675766*i)]},eo.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,a=e[2]/255,r=Math.min(1-t,1-n,1-a);return[100*((1-t-r)/(1-r)||0),100*((1-n-r)/(1-r)||0),100*((1-a-r)/(1-r)||0),100*r]},eo.rgb.keyword=function(e){const t=qr[e];if(t)return t;let n,a=Number.POSITIVE_INFINITY;for(const t of Object.keys(Tr)){const r=ro(e,Tr[t]);r<a&&(a=r,n=t)}return n},eo.keyword.rgb=function(e){return[...Tr[e]]},eo.rgb.xyz=function(e){const t=ao(e[0]/255),n=ao(e[1]/255),a=ao(e[2]/255);return[100*(.4124564*t+.3575761*n+.1804375*a),100*(.2126729*t+.7151522*n+.072175*a),100*(.0193339*t+.119192*n+.9503041*a)]},eo.rgb.lab=function(e){const t=eo.rgb.xyz(e);let n=t[0],a=t[1],r=t[2];n/=95.047,a/=100,r/=108.883,n=n>to?n**(1/3):7.787*n+16/116,a=a>to?a**(1/3):7.787*a+16/116,r=r>to?r**(1/3):7.787*r+16/116;return[116*a-16,500*(n-a),200*(a-r)]},eo.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,a=e[2]/100;let r,o;if(0===n)return o=255*a,[o,o,o];const i=a<.5?a*(1+n):a+n-a*n,l=2*a-i,s=[0,0,0];for(let e=0;e<3;e++)r=t+1/3*-(e-1),r<0&&r++,r>1&&r--,o=6*r<1?l+6*(i-l)*r:2*r<1?i:3*r<2?l+(i-l)*(2/3-r)*6:l,s[e]=255*o;return s},eo.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,a=e[2]/100,r=n;const o=Math.max(a,.01);a*=2,n*=a<=1?a:2-a,r*=o<=1?o:2-o;return[t,100*(0===a?2*r/(o+r):2*n/(a+n)),100*((a+n)/2)]},eo.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let a=e[2]/100;const r=Math.floor(t)%6,o=t-Math.floor(t),i=255*a*(1-n),l=255*a*(1-n*o),s=255*a*(1-n*(1-o));switch(a*=255,r){case 0:return[a,s,i];case 1:return[l,a,i];case 2:return[i,a,s];case 3:return[i,l,a];case 4:return[s,i,a];case 5:return[a,i,l]}},eo.hsv.hsl=function(e){const t=e[0],n=e[1]/100,a=e[2]/100,r=Math.max(a,.01);let o,i;i=(2-n)*a;const l=(2-n)*r;return o=n*r,o/=l<=1?l:2-l,o=o||0,i/=2,[t,100*o,100*i]},eo.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,a=e[2]/100;const r=n+a;let o;r>1&&(n/=r,a/=r);const i=Math.floor(6*t),l=1-a;o=6*t-i,1&i&&(o=1-o);const s=n+o*(l-n);let c,u,d;switch(i){default:case 6:case 0:c=l,u=s,d=n;break;case 1:c=s,u=l,d=n;break;case 2:c=n,u=l,d=s;break;case 3:c=n,u=s,d=l;break;case 4:c=s,u=n,d=l;break;case 5:c=l,u=n,d=s}return[255*c,255*u,255*d]},eo.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,a=e[2]/100,r=e[3]/100;return[255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r)),255*(1-Math.min(1,a*(1-r)+r))]},eo.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,a=e[2]/100;let r,o,i;return r=3.2404542*t+-1.5371385*n+-.4985314*a,o=-.969266*t+1.8760108*n+.041556*a,i=.0556434*t+-.2040259*n+1.0572252*a,r=no(r),o=no(o),i=no(i),[255*r,255*o,255*i]},eo.xyz.lab=function(e){let t=e[0],n=e[1],a=e[2];t/=95.047,n/=100,a/=108.883,t=t>to?t**(1/3):7.787*t+16/116,n=n>to?n**(1/3):7.787*n+16/116,a=a>to?a**(1/3):7.787*a+16/116;return[116*n-16,500*(t-n),200*(n-a)]},eo.xyz.oklab=function(e){const t=e[0]/100,n=e[1]/100,a=e[2]/100,r=Math.cbrt(.8189330101*t+.3618667424*n-.1288597137*a),o=Math.cbrt(.0329845436*t+.9293118715*n+.0361456387*a),i=Math.cbrt(.0482003018*t+.2643662691*n+.633851707*a);return[100*(.2104542553*r+.793617785*o-.0040720468*i),100*(1.9779984951*r-2.428592205*o+.4505937099*i),100*(.0259040371*r+.7827717662*o-.808675766*i)]},eo.oklab.oklch=function(e){return eo.lab.lch(e)},eo.oklab.xyz=function(e){const t=e[0]/100,n=e[1]/100,a=e[2]/100,r=(.999999998*t+.396337792*n+.215803758*a)**3,o=(1.000000008*t-.105561342*n-.063854175*a)**3,i=(1.000000055*t-.089484182*n-1.291485538*a)**3;return[100*(1.227013851*r-.55779998*o+.281256149*i),100*(-.040580178*r+1.11225687*o-.071676679*i),100*(-.076381285*r-.421481978*o+1.58616322*i)]},eo.oklab.rgb=function(e){const t=e[0]/100,n=e[1]/100,a=e[2]/100,r=(t+.3963377774*n+.2158037573*a)**3,o=(t-.1055613458*n-.0638541728*a)**3,i=(t-.0894841775*n-1.291485548*a)**3;return[255*no(4.0767416621*r-3.3077115913*o+.2309699292*i),255*no(-1.2684380046*r+2.6097574011*o-.3413193965*i),255*no(-.0041960863*r-.7034186147*o+1.707614701*i)]},eo.oklch.oklab=function(e){return eo.lch.lab(e)},eo.lab.xyz=function(e){let t,n,a;n=(e[0]+16)/116,t=e[1]/500+n,a=n-e[2]/200;const r=n**3,o=t**3,i=a**3;return n=r>to?r:(n-16/116)/7.787,t=o>to?o:(t-16/116)/7.787,a=i>to?i:(a-16/116)/7.787,t*=95.047,n*=100,a*=108.883,[t,n,a]},eo.lab.lch=function(e){const t=e[0],n=e[1],a=e[2];let r;r=360*Math.atan2(a,n)/2/Math.PI,r<0&&(r+=360);return[t,Math.sqrt(n*n+a*a),r]},eo.lch.lab=function(e){const t=e[0],n=e[1],a=e[2]/360*2*Math.PI;return[t,n*Math.cos(a),n*Math.sin(a)]},eo.rgb.ansi16=function(e,t=null){const[n,a,r]=e;let o=null===t?eo.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),0===o)return 30;let i=30+(Math.round(r/255)<<2|Math.round(a/255)<<1|Math.round(n/255));return 2===o&&(i+=60),i},eo.hsv.ansi16=function(e){return eo.rgb.ansi16(eo.hsv.rgb(e),e[2])},eo.rgb.ansi256=function(e){const t=e[0],n=e[1],a=e[2];if(t>>4==n>>4&&n>>4==a>>4)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(a/255*5)},eo.ansi16.rgb=function(e){let t=(e=e[0])%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(Math.trunc(e>50)+1);return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},eo.ansi256.rgb=function(e){if((e=e[0])>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},eo.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".slice(t.length)+t},eo.hex.rgb=function(e){const t=e.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=[...n].map(e=>e+e).join(""));const a=Number.parseInt(n,16);return[a>>16&255,a>>8&255,255&a]},eo.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,a=e[2]/255,r=Math.max(Math.max(t,n),a),o=Math.min(Math.min(t,n),a),i=r-o;let l;return l=i<=0?0:r===t?(n-a)/i%6:r===n?2+(a-t)/i:4+(t-n)/i,l/=6,l%=1,[360*l,100*i,100*(i<1?o/(1-i):0)]},eo.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,a=n<.5?2*t*n:2*t*(1-n);let r=0;return a<1&&(r=(n-.5*a)/(1-a)),[e[0],100*a,100*r]},eo.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,a=t*n;let r=0;return a<1&&(r=(n-a)/(1-a)),[e[0],100*a,100*r]},eo.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,a=e[2]/100;if(0===n)return[255*a,255*a,255*a];const r=[0,0,0],o=t%1*6,i=o%1,l=1-i;let s=0;switch(Math.floor(o)){case 0:r[0]=1,r[1]=i,r[2]=0;break;case 1:r[0]=l,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=i;break;case 3:r[0]=0,r[1]=l,r[2]=1;break;case 4:r[0]=i,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=l}return s=(1-n)*a,[255*(n*r[0]+s),255*(n*r[1]+s),255*(n*r[2]+s)]},eo.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let a=0;return n>0&&(a=t/n),[e[0],100*a,100*n]},eo.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let a=0;return n>0&&n<.5?a=t/(2*n):n>=.5&&n<1&&(a=t/(2*(1-n))),[e[0],100*a,100*n]},eo.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},eo.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,a=n-t;let r=0;return a<1&&(r=(n-a)/(1-a)),[e[0],100*a,100*r]},eo.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},eo.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},eo.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},eo.gray.hsl=function(e){return[0,0,e[0]]},eo.gray.hsv=eo.gray.hsl,eo.gray.hwb=function(e){return[0,100,e[0]]},eo.gray.cmyk=function(e){return[0,0,0,e[0]]},eo.gray.lab=function(e){return[e[0],0,0]},eo.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".slice(n.length)+n},eo.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const co={},uo=Object.keys(eo);function bo(e){const t=function(...t){const n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}function mo(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const a=e(t);if("object"==typeof a)for(let{length:e}=a,t=0;t<e;t++)a[t]=Math.round(a[t]);return a};return"conversion"in e&&(t.conversion=e.conversion),t}for(const e of uo){co[e]={},Object.defineProperty(co[e],"channels",{value:eo[e].channels}),Object.defineProperty(co[e],"labels",{value:eo[e].labels});const t=so(e),n=Object.keys(t);for(const a of n){const n=t[a];co[e][a]=mo(n),co[e][a].raw=bo(n)}}const ho=["keyword","gray","hex"],fo={};for(const e of Object.keys(co))fo[[...co[e].labels].sort().join("")]=e;const go={};function po(e,t){if(!(this instanceof po))return new po(e,t);if(t&&t in ho&&(t=null),t&&!(t in co))throw new Error("Unknown model: "+t);let n,a;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof po)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const t=Pr.get(e);if(null===t)throw new Error("Unable to parse color from string: "+e);this.model=t.model,a=co[this.model].channels,this.color=t.value.slice(0,a),this.valpha="number"==typeof t.value[a]?t.value[a]:1}else if(e.length>0){this.model=t||"rgb",a=co[this.model].channels;const n=Array.prototype.slice.call(e,0,a);this.color=Go(n,a),this.valpha="number"==typeof e[a]?e[a]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const a=t.sort().join("");if(!(a in fo))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=fo[a];const{labels:r}=co[this.model],o=[];for(n=0;n<r.length;n++)o.push(e[r[n]]);this.color=Go(o)}if(go[this.model])for(a=co[this.model].channels,n=0;n<a;n++){const e=go[this.model][n];e&&(this.color[n]=e(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}po.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in Pr.to?this:this.rgb();t=t.round("number"==typeof e?e:1);const n=1===t.valpha?t.color:[...t.color,this.valpha];return Pr.to[t.model](...n)},percentString(e){const t=this.rgb().round("number"==typeof e?e:1),n=1===t.valpha?t.color:[...t.color,this.valpha];return Pr.to.rgb.percent(...n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=co[this.model],{labels:n}=co[this.model];for(let a=0;a<t;a++)e[n[a]]=this.color[a];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new po([...this.color.map(xo(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new po([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:yo("rgb",0,vo(255)),green:yo("rgb",1,vo(255)),blue:yo("rgb",2,vo(255)),hue:yo(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:yo("hsl",1,vo(100)),lightness:yo("hsl",2,vo(100)),saturationv:yo("hsv",1,vo(100)),value:yo("hsv",2,vo(100)),chroma:yo("hcg",1,vo(100)),gray:yo("hcg",2,vo(100)),white:yo("hwb",1,vo(100)),wblack:yo("hwb",2,vo(100)),cyan:yo("cmyk",0,vo(100)),magenta:yo("cmyk",1,vo(100)),yellow:yo("cmyk",2,vo(100)),black:yo("cmyk",3,vo(100)),x:yo("xyz",0,vo(95.047)),y:yo("xyz",1,vo(100)),z:yo("xyz",2,vo(108.833)),l:yo("lab",0,vo(100)),a:yo("lab",1),b:yo("lab",2),keyword(e){return void 0!==e?new po(e):co[this.model].keyword(this.color)},hex(e){return void 0!==e?new po(e):Pr.to.hex(...this.rgb().round().color)},hexa(e){if(void 0!==e)return new po(e);const t=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),Pr.to.hex(...t)+n},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,t=[];for(const[n,a]of e.entries()){const e=a/255;t[n]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return po.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),a=this.rgb(),r=void 0===t?.5:t,o=2*r-1,i=n.alpha()-a.alpha(),l=((o*i===-1?o:(o+i)/(1+o*i))+1)/2,s=1-l;return po.rgb(l*n.red()+s*a.red(),l*n.green()+s*a.green(),l*n.blue()+s*a.blue(),n.alpha()*r+a.alpha()*(1-r))}};for(const e of Object.keys(co)){if(ho.includes(e))continue;const{channels:t}=co[e];po.prototype[e]=function(...t){return this.model===e?new po(this):t.length>0?new po(t,e):new po([...(n=co[this.model][e].raw(this.color),Array.isArray(n)?n:[n]),this.valpha],e);var n},po[e]=function(...n){let a=n[0];return"number"==typeof a&&(a=Go(n,t)),new po(a,e)}}function xo(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}function yo(e,t,n){e=Array.isArray(e)?e:[e];for(const a of e)(go[a]||=[])[t]=n;return e=e[0],function(a){let r;return void 0!==a?(n&&(a=n(a)),r=this[e](),r.color[t]=a,r):(r=this[e]().color[t],n&&(r=n(r)),r)}}function vo(e){return function(t){return Math.max(0,Math.min(e,t))}}function Go(e,t){for(let n=0;n<t;n++)"number"!=typeof e[n]&&(e[n]=0);return e}function Qo(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Io(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Bo(e){let t,n,a;function r(e,a,r=0,o=e.length){if(r<o){if(0!==t(a,a))return o;do{const t=r+o>>>1;n(e[t],a)<0?r=t+1:o=t}while(r<o)}return r}return 2!==e.length?(t=Qo,n=(t,n)=>Qo(e(t),n),a=(t,n)=>e(t)-n):(t=e===Qo||e===Io?e:Fo,n=e,a=e),{left:r,center:function(e,t,n=0,o=e.length){const i=r(e,t,n,o-1);return i>n&&a(e[i-1],t)>-a(e[i],t)?i-1:i},right:function(e,a,r=0,o=e.length){if(r<o){if(0!==t(a,a))return o;do{const t=r+o>>>1;n(e[t],a)<=0?r=t+1:o=t}while(r<o)}return r}}}function Fo(){return 0}const Zo=Bo(Qo).right;Bo(function(e){return null===e?NaN:+e}).center;const wo=Math.sqrt(50),No=Math.sqrt(10),Lo=Math.sqrt(2);function Wo(e,t,n){const a=(t-e)/Math.max(0,n),r=Math.floor(Math.log10(a)),o=a/Math.pow(10,r),i=o>=wo?10:o>=No?5:o>=Lo?2:1;let l,s,c;return r<0?(c=Math.pow(10,-r)/i,l=Math.round(e*c),s=Math.round(t*c),l/c<e&&++l,s/c>t&&--s,c=-c):(c=Math.pow(10,r)*i,l=Math.round(e/c),s=Math.round(t/c),l*c<e&&++l,s*c>t&&--s),s<l&&.5<=n&&n<2?Wo(e,t,2*n):[l,s,c]}function Co(e,t,n){return Wo(e=+e,t=+t,n=+n)[2]}function Xo(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function Ro(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ko(e,t){var n=Object.create(e.prototype);for(var a in t)n[a]=t[a];return n}function Uo(){}var Do=.7,_o=1/Do,Yo="\\s*([+-]?\\d+)\\s*",jo="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Vo="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",So=/^#([0-9a-f]{3,8})$/,Mo=new RegExp(`^rgb\\(${Yo},${Yo},${Yo}\\)$`),Jo=new RegExp(`^rgb\\(${Vo},${Vo},${Vo}\\)$`),Oo=new RegExp(`^rgba\\(${Yo},${Yo},${Yo},${jo}\\)$`),Ao=new RegExp(`^rgba\\(${Vo},${Vo},${Vo},${jo}\\)$`),Eo=new RegExp(`^hsl\\(${jo},${Vo},${Vo}\\)$`),zo=new RegExp(`^hsla\\(${jo},${Vo},${Vo},${jo}\\)$`),To={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ho(){return this.rgb().formatHex()}function Po(){return this.rgb().formatRgb()}function Ko(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=So.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?$o(t):3===n?new ti(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?qo(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?qo(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Mo.exec(e))?new ti(t[1],t[2],t[3],1):(t=Jo.exec(e))?new ti(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Oo.exec(e))?qo(t[1],t[2],t[3],t[4]):(t=Ao.exec(e))?qo(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Eo.exec(e))?li(t[1],t[2]/100,t[3]/100,1):(t=zo.exec(e))?li(t[1],t[2]/100,t[3]/100,t[4]):To.hasOwnProperty(e)?$o(To[e]):"transparent"===e?new ti(NaN,NaN,NaN,0):null}function $o(e){return new ti(e>>16&255,e>>8&255,255&e,1)}function qo(e,t,n,a){return a<=0&&(e=t=n=NaN),new ti(e,t,n,a)}function ei(e,t,n,a){return 1===arguments.length?function(e){return e instanceof Uo||(e=Ko(e)),e?new ti((e=e.rgb()).r,e.g,e.b,e.opacity):new ti}(e):new ti(e,t,n,null==a?1:a)}function ti(e,t,n,a){this.r=+e,this.g=+t,this.b=+n,this.opacity=+a}function ni(){return`#${ii(this.r)}${ii(this.g)}${ii(this.b)}`}function ai(){const e=ri(this.opacity);return`${1===e?"rgb(":"rgba("}${oi(this.r)}, ${oi(this.g)}, ${oi(this.b)}${1===e?")":`, ${e})`}`}function ri(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function oi(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ii(e){return((e=oi(e))<16?"0":"")+e.toString(16)}function li(e,t,n,a){return a<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new ci(e,t,n,a)}function si(e){if(e instanceof ci)return new ci(e.h,e.s,e.l,e.opacity);if(e instanceof Uo||(e=Ko(e)),!e)return new ci;if(e instanceof ci)return e;var t=(e=e.rgb()).r/255,n=e.g/255,a=e.b/255,r=Math.min(t,n,a),o=Math.max(t,n,a),i=NaN,l=o-r,s=(o+r)/2;return l?(i=t===o?(n-a)/l+6*(n<a):n===o?(a-t)/l+2:(t-n)/l+4,l/=s<.5?o+r:2-o-r,i*=60):l=s>0&&s<1?0:i,new ci(i,l,s,e.opacity)}function ci(e,t,n,a){this.h=+e,this.s=+t,this.l=+n,this.opacity=+a}function ui(e){return(e=(e||0)%360)<0?e+360:e}function di(e){return Math.max(0,Math.min(1,e||0))}function bi(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Ro(Uo,Ko,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Ho,formatHex:Ho,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return si(this).formatHsl()},formatRgb:Po,toString:Po}),Ro(ti,ei,ko(Uo,{brighter(e){return e=null==e?_o:Math.pow(_o,e),new ti(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Do:Math.pow(Do,e),new ti(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ti(oi(this.r),oi(this.g),oi(this.b),ri(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ni,formatHex:ni,formatHex8:function(){return`#${ii(this.r)}${ii(this.g)}${ii(this.b)}${ii(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:ai,toString:ai})),Ro(ci,function(e,t,n,a){return 1===arguments.length?si(e):new ci(e,t,n,null==a?1:a)},ko(Uo,{brighter(e){return e=null==e?_o:Math.pow(_o,e),new ci(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Do:Math.pow(Do,e),new ci(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,a=n+(n<.5?n:1-n)*t,r=2*n-a;return new ti(bi(e>=240?e-240:e+120,r,a),bi(e,r,a),bi(e<120?e+240:e-120,r,a),this.opacity)},clamp(){return new ci(ui(this.h),di(this.s),di(this.l),ri(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=ri(this.opacity);return`${1===e?"hsl(":"hsla("}${ui(this.h)}, ${100*di(this.s)}%, ${100*di(this.l)}%${1===e?")":`, ${e})`}`}}));var mi=e=>()=>e;function hi(e){return 1===(e=+e)?fi:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(a){return Math.pow(e+a*t,n)}}(t,n,e):mi(isNaN(t)?n:t)}}function fi(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):mi(isNaN(e)?t:e)}var gi=function e(t){var n=hi(t);function a(e,t){var a=n((e=ei(e)).r,(t=ei(t)).r),r=n(e.g,t.g),o=n(e.b,t.b),i=fi(e.opacity,t.opacity);return function(t){return e.r=a(t),e.g=r(t),e.b=o(t),e.opacity=i(t),e+""}}return a.gamma=e,a}(1);function pi(e,t){t||(t=[]);var n,a=e?Math.min(t.length,e.length):0,r=t.slice();return function(o){for(n=0;n<a;++n)r[n]=e[n]*(1-o)+t[n]*o;return r}}function xi(e,t){var n,a=t?t.length:0,r=e?Math.min(a,e.length):0,o=new Array(r),i=new Array(a);for(n=0;n<r;++n)o[n]=Fi(e[n],t[n]);for(;n<a;++n)i[n]=t[n];return function(e){for(n=0;n<r;++n)i[n]=o[n](e);return i}}function yi(e,t){var n=new Date;return e=+e,t=+t,function(a){return n.setTime(e*(1-a)+t*a),n}}function vi(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Gi(e,t){var n,a={},r={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?a[n]=Fi(e[n],t[n]):r[n]=t[n];return function(e){for(n in a)r[n]=a[n](e);return r}}var Qi=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ii=new RegExp(Qi.source,"g");function Bi(e,t){var n,a,r,o=Qi.lastIndex=Ii.lastIndex=0,i=-1,l=[],s=[];for(e+="",t+="";(n=Qi.exec(e))&&(a=Ii.exec(t));)(r=a.index)>o&&(r=t.slice(o,r),l[i]?l[i]+=r:l[++i]=r),(n=n[0])===(a=a[0])?l[i]?l[i]+=a:l[++i]=a:(l[++i]=null,s.push({i:i,x:vi(n,a)})),o=Ii.lastIndex;return o<t.length&&(r=t.slice(o),l[i]?l[i]+=r:l[++i]=r),l.length<2?s[0]?function(e){return function(t){return e(t)+""}}(s[0].x):function(e){return function(){return e}}(t):(t=s.length,function(e){for(var n,a=0;a<t;++a)l[(n=s[a]).i]=n.x(e);return l.join("")})}function Fi(e,t){var n,a=typeof t;return null==t||"boolean"===a?mi(t):("number"===a?vi:"string"===a?(n=Ko(t))?(t=n,gi):Bi:t instanceof Ko?gi:t instanceof Date?yi:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?pi:Array.isArray(t)?xi:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Gi:vi)(e,t)}function Zi(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function wi(e){return+e}var Ni=[0,1];function Li(e){return e}function Wi(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function Ci(e,t,n){var a=e[0],r=e[1],o=t[0],i=t[1];return r<a?(a=Wi(r,a),o=n(i,o)):(a=Wi(a,r),o=n(o,i)),function(e){return o(a(e))}}function Xi(e,t,n){var a=Math.min(e.length,t.length)-1,r=new Array(a),o=new Array(a),i=-1;for(e[a]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++i<a;)r[i]=Wi(e[i],e[i+1]),o[i]=n(t[i],t[i+1]);return function(t){var n=Zo(e,t,1,a)-1;return o[n](r[n](t))}}function Ri(){var e,t,n,a,r,o,i=Ni,l=Ni,s=Fi,c=Li;function u(){var e=Math.min(i.length,l.length);return c!==Li&&(c=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(i[0],i[e-1])),a=e>2?Xi:Ci,r=o=null,d}function d(t){return null==t||isNaN(t=+t)?n:(r||(r=a(i.map(e),l,s)))(e(c(t)))}return d.invert=function(n){return c(t((o||(o=a(l,i.map(e),vi)))(n)))},d.domain=function(e){return arguments.length?(i=Array.from(e,wi),u()):i.slice()},d.range=function(e){return arguments.length?(l=Array.from(e),u()):l.slice()},d.rangeRound=function(e){return l=Array.from(e),s=Zi,u()},d.clamp=function(e){return arguments.length?(c=!!e||Li,u()):c!==Li},d.interpolate=function(e){return arguments.length?(s=e,u()):s},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,a){return e=n,t=a,u()}}function ki(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,a=e.slice(0,n);return[a.length>1?a[0]+a.slice(2):a,+e.slice(n+1)]}function Ui(e){return(e=ki(Math.abs(e)))?e[1]:NaN}var Di,_i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Yi(e){if(!(t=_i.exec(e)))throw new Error("invalid format: "+e);var t;return new ji({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function ji(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Vi(e,t){var n=ki(e,t);if(!n)return e+"";var a=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+a:a.length>r+1?a.slice(0,r+1)+"."+a.slice(r+1):a+new Array(r-a.length+2).join("0")}Yi.prototype=ji.prototype,ji.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Si={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Vi(100*e,t),r:Vi,s:function(e,t){var n=ki(e,t);if(!n)return e+"";var a=n[0],r=n[1],o=r-(Di=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,i=a.length;return o===i?a:o>i?a+new Array(o-i+1).join("0"):o>0?a.slice(0,o)+"."+a.slice(o):"0."+new Array(1-o).join("0")+ki(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Mi(e){return e}var Ji,Oi,Ai,Ei=Array.prototype.map,zi=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Ti(e){var t,n,a=void 0===e.grouping||void 0===e.thousands?Mi:(t=Ei.call(e.grouping,Number),n=e.thousands+"",function(e,a){for(var r=e.length,o=[],i=0,l=t[0],s=0;r>0&&l>0&&(s+l+1>a&&(l=Math.max(1,a-s)),o.push(e.substring(r-=l,r+l)),!((s+=l+1)>a));)l=t[i=(i+1)%t.length];return o.reverse().join(n)}),r=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",i=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?Mi:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(Ei.call(e.numerals,String)),s=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"−":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=Yi(e)).fill,n=e.align,d=e.sign,b=e.symbol,m=e.zero,h=e.width,f=e.comma,g=e.precision,p=e.trim,x=e.type;"n"===x?(f=!0,x="g"):Si[x]||(void 0===g&&(g=12),p=!0,x="g"),(m||"0"===t&&"="===n)&&(m=!0,t="0",n="=");var y="$"===b?r:"#"===b&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",v="$"===b?o:/[%p]/.test(x)?s:"",G=Si[x],Q=/[defgprs%]/.test(x);function I(e){var r,o,s,b=y,I=v;if("c"===x)I=G(e)+I,e="";else{var B=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:G(Math.abs(e),g),p&&(e=function(e){e:for(var t,n=e.length,a=1,r=-1;a<n;++a)switch(e[a]){case".":r=t=a;break;case"0":0===r&&(r=a),t=a;break;default:if(!+e[a])break e;r>0&&(r=0)}return r>0?e.slice(0,r)+e.slice(t+1):e}(e)),B&&0===+e&&"+"!==d&&(B=!1),b=(B?"("===d?d:c:"-"===d||"("===d?"":d)+b,I=("s"===x?zi[8+Di/3]:"")+I+(B&&"("===d?")":""),Q)for(r=-1,o=e.length;++r<o;)if(48>(s=e.charCodeAt(r))||s>57){I=(46===s?i+e.slice(r+1):e.slice(r))+I,e=e.slice(0,r);break}}f&&!m&&(e=a(e,1/0));var F=b.length+e.length+I.length,Z=F<h?new Array(h-F+1).join(t):"";switch(f&&m&&(e=a(Z+e,Z.length?h-I.length:1/0),Z=""),n){case"<":e=b+e+I+Z;break;case"=":e=b+Z+e+I;break;case"^":e=Z.slice(0,F=Z.length>>1)+b+e+I+Z.slice(F);break;default:e=Z+b+e+I}return l(e)}return g=void 0===g?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),I.toString=function(){return e+""},I}return{format:d,formatPrefix:function(e,t){var n=d(((e=Yi(e)).type="f",e)),a=3*Math.max(-8,Math.min(8,Math.floor(Ui(t)/3))),r=Math.pow(10,-a),o=zi[8+a/3];return function(e){return n(r*e)+o}}}}function Hi(e,t,n,a){var r,o=function(e,t,n){n=+n;const a=(t=+t)<(e=+e),r=a?Co(t,e,n):Co(e,t,n);return(a?-1:1)*(r<0?1/-r:r)}(e,t,n);switch((a=Yi(null==a?",f":a)).type){case"s":var i=Math.max(Math.abs(e),Math.abs(t));return null!=a.precision||isNaN(r=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ui(t)/3)))-Ui(Math.abs(e)))}(o,i))||(a.precision=r),Ai(a,i);case"":case"e":case"g":case"p":case"r":null!=a.precision||isNaN(r=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Ui(t)-Ui(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(a.precision=r-("e"===a.type));break;case"f":case"%":null!=a.precision||isNaN(r=function(e){return Math.max(0,-Ui(Math.abs(e)))}(o))||(a.precision=r-2*("%"===a.type))}return Oi(a)}function Pi(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];const a=t<e,[r,o,i]=a?Wo(t,e,n):Wo(e,t,n);if(!(o>=r))return[];const l=o-r+1,s=new Array(l);if(a)if(i<0)for(let e=0;e<l;++e)s[e]=(o-e)/-i;else for(let e=0;e<l;++e)s[e]=(o-e)*i;else if(i<0)for(let e=0;e<l;++e)s[e]=(r+e)/-i;else for(let e=0;e<l;++e)s[e]=(r+e)*i;return s}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var a=t();return Hi(a[0],a[a.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var a,r,o=t(),i=0,l=o.length-1,s=o[i],c=o[l],u=10;for(c<s&&(r=s,s=c,c=r,r=i,i=l,l=r);u-- >0;){if((r=Co(s,c,n))===a)return o[i]=s,o[l]=c,t(o);if(r>0)s=Math.floor(s/r)*r,c=Math.ceil(c/r)*r;else{if(!(r<0))break;s=Math.ceil(s*r)/r,c=Math.floor(c*r)/r}a=r}return e},e}function Ki(){var e=Ri()(Li,Li);return e.copy=function(){return t=e,Ki().domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown());var t},Xo.apply(e,arguments),Pi(e)}function $i(e,t){if(e===t)return 0;if(0===e)return 100;const n=(t-e)/e*100;return n>100?100:n<-100?-100:n}function qi(e,t){return po.rgb(e,e,e).alpha(t)}function el(e,t){if(0===t.length)return t;const n=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),a=t.match(n);return a&&a.groups?a.groups.packageName||"":t}function tl(e,t){const n=function(e,t=0){let n,a,r,o,i,l,s,c;for(n=3&e.length,a=e.length-n,r=t,i=3432918353,l=461845907,c=0;c<a;)s=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24,++c,s=(65535&s)*i+(((s>>>16)*i&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*l+(((s>>>16)*l&65535)<<16)&4294967295,r^=s,r=r<<13|r>>>19,o=5*(65535&r)+((5*(r>>>16)&65535)<<16)&4294967295,r=27492+(65535&o)+(((o>>>16)+58964&65535)<<16);switch(s=0,n){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)*i+(((s>>>16)*i&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*l+(((s>>>16)*l&65535)<<16)&4294967295,r^=s}return r^=e.length,r^=r>>>16,r=2246822507*(65535&r)+((2246822507*(r>>>16)&65535)<<16)&4294967295,r^=r>>>13,r=3266489909*(65535&r)+((3266489909*(r>>>16)&65535)<<16)&4294967295,r^=r>>>16,r>>>0}(t,0),a=n%e.colors.length,r=e.colors[a];return r||(console.warn("Could not calculate color. Defaulting to the first one"),e.colors[0])}function nl(e){const{goodColor:t,neutralColor:n,badColor:a}=e,r=Ki().domain([-100,0,100]).range([t.rgb().toString(),n.rgb().toString(),a.rgb().toString()]);return e=>po(r(e).toString())}Ji=Ti({thousands:",",grouping:[3],currency:["$",""]}),Oi=Ji.format,Ai=Ji.formatPrefix,po.rgb(148,142,142),po.rgb(200,0,0),po.rgb(0,170,0),po("#48CE73");const al=new WeakMap,rl=new WeakMap,ol=new WeakMap,il=new WeakMap;const ll={collapsedLevelsSingular:"total (1 level collapsed)",collapsedLevelsPlural:"total ({n} levels collapsed)",isZh:!1};function sl(e){var t,n,a,r,o,i,l,s;const c=performance.now(),u=!1!==e.renderRects,d=!1!==e.renderText,b=null!==(t=e.renderMode)&&void 0!==t?t:"normal",m=e.timeBudgetMs,{canvas:h,fitMode:f,units:g,tickToX:p,levels:x,palette:y}=e,{numTicks:v,sampleRate:G,pxPerTick:Q}=e,{rangeMin:I,rangeMax:B}=e,{focusedNode:F,zoom:Z}=e,w=e.messages||ll,N=e.skipCanvasResize?h.width:function(e){if("clientWidth"in e&&"number"==typeof e.clientWidth)return e.clientWidth;return e.width}(h);if(e.skipCanvasResize||(h.width=N),I>=B)throw new Error("'rangeMin' should be strictly smaller than 'rangeMax'");const{format:L}=e,W=Br(L),C=h.getContext("2d");if(!C)throw new Error("Could not get ctx");const X=Z.mapOrElse(()=>0,e=>e.i),R=Yr(v,G,g),k=F.isJust,U=F.mapOrElse(()=>0,e=>e.i),D=k?Cr:0,_=!!e.highlightQuery&&e.highlightQuery.length>0,Y=Wr*(x.length-U)+(k?Cr:0);e.skipCanvasResize||(h.height=Y);const j="number"==typeof e.devicePixelRatio?e.devicePixelRatio:"undefined"!=typeof devicePixelRatio?devicePixelRatio:1;!e.skipDprScale&&j>1&&(h.width*=j,h.height*=j,C.scale(j,j)),C.textBaseline="middle",C.font="400 11.5px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace";const V=C.measureText("a").width,{names:S}=e,M=function(e){const t=al.get(e);if(t)return t;const n=new Map;return al.set(e,n),n}(h),J=_?function(e,t){const n=rl.get(e);if(n){const e=n.get(t);if(e)return e}const a=t.toLowerCase(),r=new Uint8Array(e.length);for(let t=1;t<e.length;t+=1){const n=e[t];n&&n.toLowerCase().includes(a)&&(r[t]=1)}const o=null!=n?n:new Map;return o.set(t,r),rl.set(e,o),r}(S,e.highlightQuery):null,O="single"===e.format?function(e,t,n){const a=`${t}|${n.name}`,r=ol.get(e);if(r){const e=r.get(a);if(e)return e}const o=new Array(e.length);for(let a=0;a<e.length;a+=1){const r=el(t,e[a]||"")||"";o[a]=tl(n,r)}const i=null!=r?r:new Map;return i.set(a,o),ol.set(e,i),o}(S,e.spyName,y):null,A="double"===e.format?nl({name:y.name,goodColor:y.goodColor,neutralColor:y.neutralColor,badColor:y.badColor}):null,E=(e,t)=>{const n=e[t+W.jName];return!(!n||n<0||!J)&&1===J[n]},z=null!==(n=e.startI)&&void 0!==n?n:0,T=null!==(a=e.startJ)&&void 0!==a?a:0;if(k&&"highlightOnly"!==b&&0===(null!==(r=e.levelStart)&&void 0!==r?r:0)&&0===z&&0===T){const e=v*Q;u&&(C.beginPath(),C.rect(0,0,v*Q,Cr),C.fillStyle=qi(200,1).rgb().string(),C.fill());const t=F.mapOrElse(()=>"total",e=>function(e,t){return 1===e?t.collapsedLevelsSingular:t.collapsedLevelsPlural.replace("{n}",String(e))}(e.i-1,w)),n=Ar({mode:f,charSize:V,rectWidth:e,fullText:t,shortText:t}),a=0,r=0,o=Cr;if(d){C.beginPath(),C.rect(0,0,e,Cr),C.save(),C.clip(),C.fillStyle="black";const t=Math.round(Math.max(a,0));C.fillText(n.text,t+n.marginLeft,r+o/2+1),C.restore()}}const H=Math.max(0,null!==(o=e.levelStart)&&void 0!==o?o:0),P=x.length-U,K=Math.min(P,null!==(i=e.levelEnd)&&void 0!==i?i:P),$=Math.max(H,null!==(l=e.startI)&&void 0!==l?l:H),q=Math.max(0,null!==(s=e.startJ)&&void 0!==s?s:0),{spyName:ee}=e,te=(t,n,a,r,o)=>{const i={level:t,j:n,i:a+F.mapOrElse(()=>0,e=>e.i),names:S,collapsed:r,selectedLevel:X,highlightModeOn:_,isHighlighted:o,spyName:ee,palette:y,colorByNameIndex:O,diffColorFn:A};switch(L){case"single":return function(e){const t=dl(e);if(t)return t;const n=Br("single"),a=e.selectedLevel>e.i?.33:1;let r=e.level[e.j+n.jName];void 0===r&&(console.warn("Could nto find level",{l:e.j,jName:n.jName,level:e.level}),r=-1);if(e.colorByNameIndex&&r>=0&&e.colorByNameIndex[r])return e.colorByNameIndex[r].alpha(a);const o=e.names[r]||"",i=el(e.spyName,o)||"";return tl(e.palette,i).alpha(a)}({...i});case"double":return function(e){const t=dl(e);if(t)return t;const n=e.selectedLevel>e.i?.33:1,{leftRatio:a,rightRatio:r}=function(e,t,n,a){const r=Ir;return n&&a?{leftRatio:r.getBarTotalLeft(e,t)/n,rightRatio:r.getBarTotalRght(e,t)/a}:(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=Dr(a),i=Dr(r);if(e.diffColorFn)return e.diffColorFn($i(o,i)).alpha(n);return function(e,t,n){const a=$i(t,n);return nl(e)(a)}(e.palette,o,i).alpha(n)}({...i,leftTicks:e.leftTicks,rightTicks:e.rightTicks});default:throw new Error(`Unsupported format: ${L}`)}};if("highlightOnly"===b&&_&&u){const e=function(e,t){const n=il.get(e);if(n)return n;const a=Br(t),r=new Map;for(let t=0;t<e.length;t+=1){const n=e[t];for(let e=0;e<n.length;e+=a.jStep){const o=a.getBarName(n,e);if(void 0===o||o<0)continue;const i=r.get(o);i?i.push({i:t,j:e}):r.set(o,[{i:t,j:e}])}}return il.set(e,r),r}(x,L),t=[];for(let e=1;e<S.length;e+=1)J&&1===J[e]&&t.push(e);for(let n=0;n<t.length;n+=1){const a=t[n],r=e.get(a);if(r)for(let e=0;e<r.length;e+=1){const t=r[e],n=t.i-U;if(t.i<U||n<H||n>=K)continue;const a=x[t.i],o=p(W.getBarOffset(a,t.j)),i=n*Wr+D,l=Cr,s=W.getBarTotal(a,t.j),c=s*Q<=5,u=s*Q-(c?0:.5);if(u<=0)continue;C.beginPath(),C.rect(o,i,u,l);const d=te(a,t.j,n,c,!0);C.fillStyle=d.string(),C.fill()}}return{done:!0,nextI:K,nextJ:0}}for(let e=$;e<K;e+=1){const t=x[U+e];if(!t)throw new Error(`Could not find level: ${U+e}`);let n=e===$?q:0;for(;n<t.length;n+=W.jStep){const a=W.getBarOffset(t,n),r=p(a),o=e*Wr+D,i=Cr,l=_&&E(t,n);let s=W.getBarTotal(t,n);const h=s*Q<=5;if(h)for(;n<t.length-W.jStep&&a+s===W.getBarOffset(t,n+W.jStep)&&W.getBarTotal(t,n+W.jStep)*Q<=5&&l===(_&&E(t,n+W.jStep));)n+=W.jStep,s+=W.getBarTotal(t,n);const g=s*Q-(h?0:.5);if(C.beginPath(),C.rect(r,o,g,i),u){if("forceGrey"===b)C.fillStyle=qi(200,.66).rgb().string();else{const a=te(t,n,e,h,l);C.fillStyle=a.string()}C.fill()}if(!d||h||"forceGrey"===b){if(m&&performance.now()-c>m)return{done:!1,nextI:e,nextJ:n+W.jStep};continue}if(g<20)continue;const x=cl(S,n,L,t),y=Ar({mode:f,charSize:V,rectWidth:g,fullText:ul(x,s,G,R,w,M),shortText:x});C.save(),C.clip(),C.fillStyle="black";const v=Math.round(Math.max(r,0));if(C.fillText(y.text,v+y.marginLeft,o+i/2+1),C.restore(),m&&performance.now()-c>m)return{done:!1,nextI:e,nextJ:n+W.jStep}}if(m&&performance.now()-c>m)return{done:!1,nextI:e+1,nextJ:0}}return{done:!0,nextI:K,nextJ:0}}function cl(e,t,n,a){let r=a[t+Br(n).jName];void 0===r&&(r=-1);const o=e[r];return o||(console.warn("Could not find function name for",{j:t,format:n,level:a,names:e}),"")}function ul(e,t,n,a,r,o){let i=null==o?void 0:o.get(t);if(!i){const e=a.format(t,n);i=kr(e,!!r.isZh)||e,null==o||o.set(t,i)}return`${e} (${i})`}function dl({collapsed:e,highlightModeOn:t,isHighlighted:n}){return e||t&&!n?qi(200,.66):null}class bl{constructor(e,t,n,a,r,o,i,l){if(this.flamebearer=e,this.canvas=t,this.focusedNode=n,this.fitMode=a,this.highlightQuery=r,this.zoom=o,this.palette=i,this.messages=l,this.cachedRange=null,this.cachedPxPerTick=null,this.tickToX=e=>{var t;const n=this.cachedRange?this.cachedRange.rangeMin:this.getRange().rangeMin,a=null!==(t=this.cachedPxPerTick)&&void 0!==t?t:this.pxPerTick();return(e-this.flamebearer.numTicks*n)*a},this.xyToBarPosition=e=>{const{ff:t}=this,{i:n,j:a}=this.xyToBarIndex(e.x,e.y),r=this.focusedNode.mapOrElse(()=>0,e=>e.i<0?0:e.i-1),o=this.flamebearer.levels[n];if(!o)throw new Error(`Could not find level: '${n}'`);const i=Math.max(this.tickToX(t.getBarOffset(o,a)),0);return{x:i,y:Math.max((n-r)*Wr,0),width:Math.min(this.tickToX(t.getBarOffset(o,a)+t.getBarTotal(o,a))-i,this.getCanvasWidth())}},this.xyToBarData=e=>{const{i:t,j:n}=this.xyToBarIndex(e.x,e.y),a=this.flamebearer.levels[t];if(!a)throw new Error(`Could not find level: '${t}'`);switch(this.flamebearer.format){case"single":{const e=Qr;return{format:"single",name:this.flamebearer.names[e.getBarName(a,n)],self:e.getBarSelf(a,n),offset:e.getBarOffset(a,n),total:e.getBarTotal(a,n)}}case"double":{const e=Ir;return{format:"double",barTotal:e.getBarTotal(a,n),totalLeft:e.getBarTotalLeft(a,n),totalRight:e.getBarTotalRght(a,n),totalDiff:e.getBarTotalDiff(a,n),name:this.flamebearer.names[e.getBarName(a,n)]}}default:throw new Error("Unsupported type")}},this.isWithinBounds=(e,t)=>{if(e<0||e>this.getCanvasWidth())return!1;try{const{i:n,j:a}=this.xyToBarIndex(e,t);if(-1===a||-1===n)return!1}catch(e){return!1}return!0},this.zoom=o,this.focusedNode=n,this.flamebearer=e,this.canvas=t,this.highlightQuery=r,this.ff=Br(e.format),this.palette=i,this.messages=l,n.isJust&&o.isJust&&o.value.i<n.value.i)throw new Error("Zoom i level should be bigger than Focus")}render(e){var t;const{rangeMin:n,rangeMax:a,pxPerTick:r}=this.updateCachedMetrics(),o=null!==(t=null==e?void 0:e.highlightQueryOverride)&&void 0!==t?t:this.highlightQuery,i={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:n,rangeMax:a,fitMode:this.fitMode,highlightQuery:o,zoom:this.zoom,focusedNode:this.focusedNode,pxPerTick:r,tickToX:e=>(e-this.flamebearer.numTicks*n)*r,palette:this.palette,messages:this.messages,renderRects:null==e?void 0:e.renderRects,renderText:null==e?void 0:e.renderText,renderMode:null==e?void 0:e.renderMode,levelStart:null==e?void 0:e.levelStart,levelEnd:null==e?void 0:e.levelEnd,startI:null==e?void 0:e.startI,startJ:null==e?void 0:e.startJ,timeBudgetMs:null==e?void 0:e.timeBudgetMs,skipCanvasResize:null==e?void 0:e.skipCanvasResize,skipDprScale:null==e?void 0:e.skipDprScale,devicePixelRatio:null==e?void 0:e.devicePixelRatio},{format:l}=this.flamebearer;switch(l){case"single":return sl({...i,format:"single"});case"double":return sl({...i,leftTicks:this.flamebearer.leftTicks,rightTicks:this.flamebearer.rightTicks});default:throw new Error(`Invalid format: '${l}'`)}}pxPerTick(){if(null!==this.cachedPxPerTick)return this.cachedPxPerTick;const{rangeMin:e,rangeMax:t}=this.getRange(),n=this.getCanvasWidth()/this.flamebearer.numTicks/(t-e);return this.cachedRange={rangeMin:e,rangeMax:t},this.cachedPxPerTick=n,n}updateCachedMetrics(){const{rangeMin:e,rangeMax:t}=this.getRange(),n=this.getCanvasWidth()/this.flamebearer.numTicks/(t-e);return this.cachedRange={rangeMin:e,rangeMax:t},this.cachedPxPerTick=n,{rangeMin:e,rangeMax:t,pxPerTick:n}}getRange(){const{ff:e}=this,t=t=>{const n=this.flamebearer.levels[t.i];if(!n)throw new Error(`Could not find level: '${t.i}'`);return{rangeMin:e.getBarOffset(n,t.j)/this.flamebearer.numTicks,rangeMax:(e.getBarOffset(n,t.j)+e.getBarTotal(n,t.j))/this.flamebearer.numTicks}},n=t=>{const n=this.flamebearer.levels[t.i];if(!n)throw new Error(`Could not find level: '${t.i}'`);return{rangeMin:e.getBarOffset(n,t.j)/this.flamebearer.numTicks,rangeMax:(e.getBarOffset(n,t.j)+e.getBarTotal(n,t.j))/this.flamebearer.numTicks}},{zoom:a,focusedNode:r}=this;return a.match({Just:e=>r.match({Just:a=>{const r=n(a),o=t(e);return r.rangeMax-r.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."),n(a)):t(e)},Nothing:()=>t(e)}),Nothing:()=>r.match({Just:e=>n(e),Nothing:()=>({rangeMin:0,rangeMax:1})})})}getCanvasWidth(){return"clientWidth"in this.canvas&&"number"==typeof this.canvas.clientWidth?this.canvas.clientWidth:this.canvas.width}isFocused(){return this.focusedNode.isJust}binarySearchLevel(e,t){const{ff:n}=this;let a=0,r=t.length-n.jStep;for(;a<=r;){const o=n.jStep*(a/n.jStep+r/n.jStep>>1),i=this.tickToX(n.getBarOffset(t,o)),l=this.tickToX(n.getBarOffset(t,o)+n.getBarTotal(t,o));if(i<=e&&l>=e)return l-i>5?o:-1;i>e?r=o-n.jStep:a=o+n.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<=Cr)return{i:0,j:0};const n=this.isFocused()?t-Cr:t,a=this.focusedNode.mapOrElse(()=>0,e=>e.i<=0?0:e.i),r=this.zoom.match({Just:()=>this.focusedNode.match({Just:()=>a,Nothing:()=>0}),Nothing:()=>this.focusedNode.match({Just:()=>a,Nothing:()=>0})}),o=Math.floor(n/Wr)+r;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)?fr.of(n):fr.nothing()}xyToBar(e,t){return this.parseXY(e,t).map(n=>{const{i:a,j:r}=this.xyToBarIndex(e,t);return{i:a,j:r,...this.xyToBarPosition(n),...this.xyToBarData(n)}})}}function ml(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=ml(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}function hl(){for(var e,t,n=0,a="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=ml(e))&&(a&&(a+=" "),a+=t);return a}var fl="NoData-module_noData__WuuID";function gl(){return e.jsx("div",{"data-testid":"no-data",className:fl,children:e.jsx("span",{children:"No data available"})})}s(".NoData-module_noData__WuuID{height:100%;padding:60px 0;text-align:center;width:100%}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIk5vRGF0YS5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw2QkFFRSxXQUFZLENBRVosY0FBZSxDQURmLGlCQUFrQixDQUZsQixVQUlGIiwiZmlsZSI6Ik5vRGF0YS5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5ub0RhdGEge1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxMDAlO1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIHBhZGRpbmc6IDYwcHggMDtcbn0iXX0= */");var pl,xl,yl={},vl={};function Gl(){return pl||(pl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="arrow-rotate-right",n=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],a="f01e",r="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,n,a,r]},e.faArrowRotateRight=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=n,e.unicode=a,e.svgPathData=r,e.aliases=n}(vl)),vl}function Ql(){return xl||(xl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Gl();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}(yl)),yl}var Il,Bl=Ql(),Fl={};function Zl(){return Il||(Il=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="copy",n=[],a="f0c5",r="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,n,a,r]},e.faCopy=e.definition,e.prefix="fas",e.iconName=t,e.width=448,e.height=512,e.ligatures=n,e.unicode=a,e.svgPathData=r,e.aliases=n}(Fl)),Fl}var wl,Nl=Zl(),Ll={};function Wl(){return wl||(wl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="highlighter",n=[],a="f591",r="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,n,a,r]},e.faHighlighter=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=n,e.unicode=a,e.svgPathData=r,e.aliases=n}(Ll)),Ll}var Cl,Xl,Rl=Wl(),kl={},Ul={};function Dl(){return Cl||(Cl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="down-left-and-up-right-to-center",n=["compress-alt"],a="f422",r="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,n,a,r]},e.faDownLeftAndUpRightToCenter=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=n,e.unicode=a,e.svgPathData=r,e.aliases=n}(Ul)),Ul}function _l(){return Xl||(Xl=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Dl();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}(kl)),kl}var Yl=_l();const jl=e=>!!e&&"o"===e[0],Vl=a.unstable_batchedUpdates,Sl=(e,t)=>!0===e||!(!e||!e[t]),Ml=(e,t)=>"function"==typeof e?e(t):e,Jl="_szhsinMenu",Ol=(e,t)=>Object.defineProperty(t,Jl,{value:e}),Al=(e,t)=>(t&&Object.keys(t).forEach(n=>{const a=e[n],r=t[n];e[n]="function"==typeof r&&a?(...e)=>{r(...e),a(...e)}:r}),e),El=e=>{for(;e;){if(!(e=e.parentNode)||e===document.body||!e.parentNode)return;const{overflow:t,overflowX:n,overflowY:a}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+a+n))return e}};function zl(e,t){return{"aria-disabled":e||void 0,tabIndex:t?0:-1}}function Tl(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return n;return-1}const Hl=({block:e,element:n,modifiers:a,className:r})=>t.useMemo(()=>{const t=n?`${e}__${n}`:e;let o=t;a&&Object.keys(a).forEach(e=>{const n=a[e];n&&(o+=` ${t}--${!0===n?e:`${e}-${n}`}`)});let i="function"==typeof r?r(a):r;return"string"==typeof i&&(i=i.trim(),i&&(o+=` ${i}`)),o},[e,n,a,r]),Pl="szh-menu",Kl=t.createContext(),$l=t.createContext({}),ql=t.createContext({}),es=t.createContext({}),ts=t.createContext({}),ns=t.createContext({}),as=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),rs=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),os=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),is=Object.freeze({FIRST:"first",LAST:"last"}),ls=Object.freeze({entering:"opening",entered:"open",exiting:"closing",exited:"closed"}),ss="absolute",cs="none",us={preventScroll:!0},ds=Ol("MenuButton",t.forwardRef(function({className:n,isOpen:a,disabled:r,children:o,...i},l){const s=t.useMemo(()=>({open:a}),[a]);return e.jsx("button",{"aria-haspopup":!0,"aria-expanded":a,"aria-disabled":r||void 0,type:"button",disabled:r,...i,ref:l,className:Hl({block:"szh-menu-button",modifiers:s,className:n}),children:o})})),bs=({className:n,containerRef:a,containerProps:r,children:o,isOpen:i,theming:l,transition:s,onClose:c})=>{const u=Sl(s,"item");return e.jsx("div",{...Al({onKeyDown:({key:e})=>{if(e===as.ESC)Ml(c,{key:e,reason:os.CANCEL})},onBlur:e=>{i&&!e.currentTarget.contains(e.relatedTarget)&&Ml(c,{reason:os.BLUR})}},r),className:Hl({block:"szh-menu-container",modifiers:t.useMemo(()=>({theme:l,itemTransition:u}),[l,u]),className:n}),style:{position:"absolute",...r?.style},ref:a,children:o})},ms=()=>{let e,t=0;return{toggle:e=>{e?t++:t--,t=Math.max(t,0)},on:(n,a,r)=>{t?e||(e=setTimeout(()=>{e=0,a()},n)):r?.()},off:()=>{e&&(clearTimeout(e),e=0)}}},hs=(e,t)=>Math.round(e)===t?e:t,fs=(e,t,n,a)=>{const r=(e=>{const t=e.getBoundingClientRect();return t.width=hs(t.width,e.offsetWidth),t.height=hs(t.height,e.offsetHeight),t})(t),o=e.getBoundingClientRect(),i=n===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:n.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),n=isNaN(t[0])?0:t[0],a=isNaN(t[1])?n:t[1];return{top:n,right:a,bottom:isNaN(t[2])?n:t[2],left:isNaN(t[3])?a:t[3]}})(a),s=e=>e+o.left-i.left-l.left,c=e=>e+o.left+r.width-i.right+l.right,u=e=>e+o.top-i.top-l.top,d=e=>e+o.top+r.height-i.bottom+l.bottom;return{menuRect:r,containerRect:o,getLeftOverflow:s,getRightOverflow:c,getTopOverflow:u,getBottomOverflow:d,confineHorizontally:e=>{let t=s(e);if(t<0)e-=t;else{const n=c(e);n>0&&(t=s(e-=n),t<0&&(e-=t))}return e},confineVertically:e=>{let t=u(e);if(t<0)e-=t;else{const n=d(e);n>0&&(t=u(e-=n),t<0&&(e-=t))}return e}}},gs=({anchorRect:e,containerRect:t,menuRect:n,placeLeftorRightY:a,placeLeftX:r,placeRightX:o,getLeftOverflow:i,getRightOverflow:l,confineHorizontally:s,confineVertically:c,arrowRef:u,arrow:d,direction:b,position:m})=>{let h,f,g,p=b,x=a;"initial"!==m&&(x=c(x),"anchor"===m&&(x=Math.min(x,e.bottom-t.top),x=Math.max(x,e.top-t.top-n.height))),"left"===p?(h=r,"initial"!==m&&(f=i(h),f<0&&(g=l(o),(g<=0||-f>g)&&(h=o,p="right")))):(h=o,"initial"!==m&&(g=l(h),g>0&&(f=i(r),(f>=0||-f<g)&&(h=r,p="left")))),"auto"===m&&(h=s(h));const y=d?(({arrowRef:e,menuY:t,anchorRect:n,containerRect:a,menuRect:r})=>{let o=n.top-a.top-t+n.height/2;const i=1.25*e.current.offsetHeight;return o=Math.max(i,o),o=Math.min(o,r.height-i),o})({menuY:x,arrowRef:u,anchorRect:e,containerRect:t,menuRect:n}):void 0;return{arrowY:y,x:h,y:x,computedDirection:p}},ps=({anchorRect:e,containerRect:t,menuRect:n,placeToporBottomX:a,placeTopY:r,placeBottomY:o,getTopOverflow:i,getBottomOverflow:l,confineHorizontally:s,confineVertically:c,arrowRef:u,arrow:d,direction:b,position:m})=>{let h,f,g,p="top"===b?"top":"bottom",x=a;"initial"!==m&&(x=s(x),"anchor"===m&&(x=Math.min(x,e.right-t.left),x=Math.max(x,e.left-t.left-n.width))),"top"===p?(h=r,"initial"!==m&&(f=i(h),f<0&&(g=l(o),(g<=0||-f>g)&&(h=o,p="bottom")))):(h=o,"initial"!==m&&(g=l(h),g>0&&(f=i(r),(f>=0||-f<g)&&(h=r,p="top")))),"auto"===m&&(h=c(h));const y=d?(({arrowRef:e,menuX:t,anchorRect:n,containerRect:a,menuRect:r})=>{let o=n.left-a.left-t+n.width/2;const i=1.25*e.current.offsetWidth;return o=Math.max(i,o),o=Math.min(o,r.width-i),o})({menuX:x,arrowRef:u,anchorRect:e,containerRect:t,menuRect:n}):void 0;return{arrowX:y,x:x,y:h,computedDirection:p}},xs="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?t.useLayoutEffect:t.useEffect;function ys(e,t){"function"==typeof e?e(t):e.current=t}const vs=(e,n)=>t.useMemo(()=>e?n?t=>{ys(e,t),ys(n,t)}:e:n,[e,n]),Gs=({ariaLabel:n,menuClassName:r,menuStyle:o,arrow:i,arrowProps:l={},anchorPoint:s,anchorRef:c,containerRef:u,containerProps:d,externalRef:b,parentScrollingRef:m,align:h="start",direction:f="bottom",position:g="auto",overflow:p="visible",setDownOverflow:x,repositionFlag:y,captureFocus:v=!0,state:G,endTransition:Q,isDisabled:I,menuItemFocus:B,gap:F=0,shift:Z=0,children:w,onClose:N,focusProps:L,...W})=>{const[C,X]=t.useState({x:-9999,y:-9999}),[R,k]=t.useState({}),[U,D]=t.useState(),[_,Y]=t.useState(f),[j]=t.useState(ms),[V,S]=t.useReducer(e=>e+1,1),{transition:M,boundingBoxRef:J,boundingBoxPadding:O,rootMenuRef:A,rootAnchorRef:E,scrollNodesRef:z,reposition:T,viewScroll:H,submenuCloseDelay:P}=t.useContext(ns),{submenuCtx:K,reposSubmenu:$=y}=t.useContext(ql),q=t.useRef(),ee=t.useRef(),te=t.useRef(!1),{hoverItem:ne,dispatch:ae,updateItems:re}=(e=>{const[n,a]=t.useState(),r=t.useRef({items:[],hoverIndex:-1,sorted:!1}).current,o=t.useCallback((t,n)=>{const{items:o}=r;if(t)if(n)o.push(t);else{const n=o.indexOf(t);n>-1&&(o.splice(n,1),t.contains(document.activeElement)&&(e.current.focus(us),a()))}else r.items=[];r.hoverIndex=-1,r.sorted=!1},[r,e]),i=t.useCallback((t,n,o)=>{const{items:i,hoverIndex:l}=r,s=()=>{if(r.sorted)return;const t=e.current.querySelectorAll(".szh-menu__item");i.sort((e,n)=>Tl(t,e)-Tl(t,n)),r.sorted=!0};let c,u=-1;switch(t){case rs.RESET:break;case rs.SET:c=n;break;case rs.UNSET:c=e=>e===n?void 0:e;break;case rs.FIRST:s(),u=0,c=i[u];break;case rs.LAST:s(),u=i.length-1,c=i[u];break;case rs.SET_INDEX:s(),u=o,c=i[u];break;case rs.INCREASE:s(),u=l,u<0&&(u=i.indexOf(n)),u++,u>=i.length&&(u=0),c=i[u];break;case rs.DECREASE:s(),u=l,u<0&&(u=i.indexOf(n)),u--,u<0&&(u=i.length-1),c=i[u];break;default:if("production"!==process.env.NODE_ENV)throw new Error(`[React-Menu] Unknown hover action type: ${t}`)}c||(u=-1),a(c),r.hoverIndex=u},[e,r]);return{hoverItem:n,dispatch:i,updateItems:o}})(q),oe=jl(G),ie=Sl(M,"open"),le=Sl(M,"close"),se=z.current,ce=t.useCallback(e=>{const t=q.current,n=u.current;if(!t||!n)return;const a=c?c.current?.getBoundingClientRect():s?{left:s.x,right:s.x,top:s.y,bottom:s.y,width:0,height:0}:null;if(!a)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:El(A.current))||window);const r=fs(n,t,se.menu,O);let{arrowX:o,arrowY:l,x:d,y:b,computedDirection:m}=(({arrow:e,align:t,direction:n,gap:a,shift:r,position:o,anchorRect:i,arrowRef:l,positionHelpers:s})=>{const{menuRect:c,containerRect:u}=s,d="left"===n||"right"===n;let b=d?a:r,m=d?r:a;if(e){const e=l.current;d?b+=e.offsetWidth:m+=e.offsetHeight}const h=i.left-u.left-c.width-b,f=i.right-u.left+b,g=i.top-u.top-c.height-m,p=i.bottom-u.top+m;let x,y;"end"===t?(x=i.right-u.left-c.width,y=i.bottom-u.top-c.height):"center"===t?(x=i.left-u.left-(c.width-i.width)/2,y=i.top-u.top-(c.height-i.height)/2):(x=i.left-u.left,y=i.top-u.top),x+=b,y+=m;const v={...s,anchorRect:i,placeLeftX:h,placeRightX:f,placeLeftorRightY:y,placeTopY:g,placeBottomY:p,placeToporBottomX:x,arrowRef:l,arrow:e,direction:n,position:o};switch(n){case"left":case"right":return gs(v);default:return ps(v)}})({arrow:i,align:h,direction:f,gap:F,shift:Z,position:g,anchorRect:a,arrowRef:ee,positionHelpers:r});const{menuRect:x}=r,y=x.height;if(!e&&"visible"!==p){const{getTopOverflow:e,getBottomOverflow:t}=r;let n,a;const o=t(b);if(o>0)n=y-o,a=o;else{const t=e(b);t<0&&(n=y+t,a=0-t,n>=0&&(b-=t))}n>=0&&D({height:n,overflowAmt:a})}i&&k({x:o,y:l}),X({x:d,y:b}),Y(m)},[i,h,O,f,F,Z,g,p,s,c,u,J,A,se]);xs(()=>{oe&&(ce(),te.current&&S()),te.current=oe},[oe,ce,$]),xs(()=>{U&&!x&&(q.current.scrollTop=0)},[U,x]),xs(()=>re,[re]),t.useEffect(()=>{let{menu:e}=se;if(!oe||!e)return;if(e=e.addEventListener?e:window,!se.anchors){se.anchors=[];let t=El(E&&E.current);for(;t&&t!==e;)se.anchors.push(t),t=El(t)}let t=H;if(se.anchors.length&&"initial"===t&&(t="auto"),"initial"===t)return;const n=()=>{"auto"===t?Vl(()=>ce(!0)):Ml(N,{reason:os.SCROLL})},a=se.anchors.concat("initial"!==H?e:[]);return a.forEach(e=>e.addEventListener("scroll",n)),()=>a.forEach(e=>e.removeEventListener("scroll",n))},[E,se,oe,N,H,ce]);const ue=!!U&&U.overflowAmt>0;t.useEffect(()=>{if(ue||!oe||!m)return;const e=()=>Vl(ce),t=m.current;return t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)},[oe,ue,m,ce]),t.useEffect(()=>{if(!oe||"function"!=typeof ResizeObserver||"initial"===T)return;const e=[],t=new ResizeObserver(t=>t.forEach(({target:t})=>{e.indexOf(t)<0?e.push(t):a.flushSync(()=>{ce(),S()})})),n={box:"border-box"};t.observe(q.current,n);const r=c?.current;return r&&t.observe(r,n),()=>t.disconnect()},[oe,T,c,ce]),t.useEffect(()=>{if(!oe)return ae(rs.RESET),void(le||D());const{position:e,alwaysUpdate:t}=B||{},n=()=>{e===is.FIRST?ae(rs.FIRST):e===is.LAST?ae(rs.LAST):e>=-1&&ae(rs.SET_INDEX,void 0,e)};if(t)n();else if(v){const e=setTimeout(()=>{const e=q.current;e&&!e.contains(document.activeElement)&&(e.focus(us),n())},ie?170:100);return()=>clearTimeout(e)}},[oe,ie,le,v,B,ae]);const de=t.useMemo(()=>({isParentOpen:oe,submenuCtx:j,dispatch:ae,updateItems:re}),[oe,j,ae,re]);let be,me;U&&(x?me=U.overflowAmt:be=U.height);const he=t.useMemo(()=>({reposSubmenu:V,submenuCtx:j,overflow:p,overflowAmt:me,parentMenuRef:q,parentDir:_}),[V,j,p,me,_]),fe=be>=0?{maxHeight:be,overflow:p}:void 0,ge=t.useMemo(()=>({state:G,align:h,dir:_}),[G,h,_]),pe=t.useMemo(()=>({dir:_}),[_]),xe=Hl({block:Pl,element:"arrow",modifiers:pe,className:l.className}),ye=e.jsxs("ul",{role:"menu","aria-label":n,...zl(I),...Al({onPointerEnter:K?.off,onPointerMove:e=>{e.stopPropagation(),j.on(P,()=>{ae(rs.RESET),q.current.focus(us)})},onPointerLeave:e=>{e.target===e.currentTarget&&j.off()},onKeyDown:e=>{switch(e.key){case as.HOME:ae(rs.FIRST);break;case as.END:ae(rs.LAST);break;case as.UP:ae(rs.DECREASE,ne);break;case as.DOWN:ae(rs.INCREASE,ne);break;case as.SPACE:return void(e.target&&-1!==e.target.className.indexOf(Pl)&&e.preventDefault());default:return}e.preventDefault(),e.stopPropagation()},onAnimationEnd:()=>{"closing"===G&&D(),Ml(Q)}},W),ref:vs(b,q),className:Hl({block:Pl,modifiers:ge,className:r}),style:{...o,...fe,margin:0,display:"closed"===G?"none":void 0,position:ss,left:C.x,top:C.y},children:[i&&e.jsx("li",{"aria-hidden":!0,...l,className:xe,style:{display:"block",position:ss,left:R.x,top:R.y,...l.style},ref:ee}),e.jsx(ql.Provider,{value:he,children:e.jsx($l.Provider,{value:de,children:e.jsx(Kl.Provider,{value:ne,children:Ml(w,ge)})})})]});return d?e.jsx(bs,{...d,isOpen:oe,children:ye}):ye},Qs=t.forwardRef(function({"aria-label":n,className:r,containerProps:o,initialMounted:i,unmountOnClose:l,transition:s,transitionTimeout:c,boundingBoxRef:u,boundingBoxPadding:d,reposition:b="auto",submenuOpenDelay:m=300,submenuCloseDelay:h=150,viewScroll:f="initial",portal:g,theming:p,onItemClick:x,...y},v){const G=t.useRef(null),Q=t.useRef({}),{anchorRef:I,state:B,onClose:F}=y,Z=t.useMemo(()=>({initialMounted:i,unmountOnClose:l,transition:s,transitionTimeout:c,boundingBoxRef:u,boundingBoxPadding:d,rootMenuRef:G,rootAnchorRef:I,scrollNodesRef:Q,reposition:b,viewScroll:f,submenuOpenDelay:m,submenuCloseDelay:h}),[i,l,s,c,I,u,d,b,f,m,h]),w=t.useMemo(()=>({handleClick(e,t){e.stopPropagation||Ml(x,e);let n=e.keepOpen;void 0===n&&(n=t&&e.key===as.SPACE),n||Ml(F,{value:e.value,key:e.key,reason:os.CLICK})},handleClose(e){Ml(F,{key:e,reason:os.CLICK})}}),[x,F]);if(!B)return null;const N=e.jsx(ns.Provider,{value:Z,children:e.jsx(es.Provider,{value:w,children:e.jsx(Gs,{...y,ariaLabel:n||"Menu",externalRef:v,containerRef:G,containerProps:{className:r,containerRef:G,containerProps:o,theming:p,transition:s,onClose:F}})})});return!0===g&&"undefined"!=typeof document?a.createPortal(N,document.body):g?g.target?a.createPortal(N,g.target):g.stablePosition?null:N:N}),Is=["preEnter","entering","entered","preExit","exiting","exited","unmounted"],Bs=e=>({_s:e,status:Is[e],isEnter:e<3,isMounted:6!==e,isResolved:2===e||e>4}),Fs=e=>e?6:5,Zs=(e,t,n,a,r)=>{clearTimeout(a.current);const o=Bs(e);t(o),n.current=o,r&&r({current:o})},ws=({enter:e=!0,exit:n=!0,preEnter:a,preExit:r,timeout:o,initialEntered:i,mountOnEnter:l,unmountOnExit:s,onStateChange:c}={})=>{const[u,d]=t.useState(()=>Bs(i?2:Fs(l))),b=t.useRef(u),m=t.useRef(),[h,f]=(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 Fs(t)}})(b.current._s,s);e&&Zs(e,d,b,m,c)},[c,s]);return[u,t.useCallback(t=>{const o=e=>{switch(Zs(e,d,b,m,c),e){case 1:h>=0&&(m.current=setTimeout(g,h));break;case 4:f>=0&&(m.current=setTimeout(g,f));break;case 0:case 3:m.current=((e,t)=>setTimeout(()=>{isNaN(document.body.offsetTop)||e(t+1)},0))(o,e)}},i=b.current.isEnter;"boolean"!=typeof t&&(t=!i),t?!i&&o(e?a?0:1:2):i&&o(n?r?3:4:Fs(s))},[g,c,e,n,a,r,h,f,s]),g]},Ns=({initialOpen:e,initialMounted:n,unmountOnClose:a,transition:r,transitionTimeout:o=500,onMenuChange:i}={})=>{const l=Sl(r,"open"),s=Sl(r,"close"),[{status:c},u,d]=ws({initialEntered:e,mountOnEnter:!n,unmountOnExit:a,timeout:o,enter:l,exit:s,onStateChange:t.useCallback(({current:{isEnter:e,isResolved:t}})=>{!i||e&&l&&t||!e&&s&&t||i({open:e})},[i,l,s])});return[{state:ls[c],endTransition:d},u]},Ls=parseInt(t.version)<19,Ws=t.forwardRef(function({"aria-label":n,captureFocus:a,initialOpen:r,menuButton:o,instanceRef:i,onMenuChange:l,...s},c){const[u,d,b]=(e=>{const[n,a]=Ns(e),[r,o]=t.useState();return[{menuItemFocus:r,...n},a,(e,t)=>{o({position:e,alwaysUpdate:t}),a(!0)}]})({...s,onMenuChange:l}),{state:m}=u,h=jl(m),f=t.useRef(null),g=((e,n)=>{if("production"!==process.env.NODE_ENV&&"function"!=typeof n)throw new Error("[React-Menu] useClick/useHover requires a function in the second parameter.");const[a]=t.useState({});return{onMouseDown:()=>{a.v=e&&"closed"!==e},onClick:e=>a.v?a.v=!1:n(!0,e)}})(m,(e,t)=>b(t.detail?void 0:is.FIRST)),p=t.useCallback(e=>{d(!1),e.key&&f.current.focus()},[d]),x=Ml(o,{open:h});if(!x||!x.type)throw new Error("Menu requires a menuButton prop.");const y={...Al({onKeyDown:e=>{switch(e.key){case as.UP:b(is.LAST);break;case as.DOWN:b(is.FIRST);break;default:return}e.preventDefault()},...g},x.props),ref:vs(Ls?x.ref:x.props.ref,f)};"MenuButton"===x.type[Jl]&&(y.isOpen=h);const v=t.cloneElement(x,y);return t.useImperativeHandle(i,()=>({openMenu:b,closeMenu:()=>d(!1)})),e.jsxs(t.Fragment,{children:[v,e.jsx(Qs,{...s,...u,"aria-label":n||("string"==typeof x.props.children?x.props.children:"Menu"),anchorRef:f,ref:c,onClose:p})]})}),Cs=(n,a)=>{const r=t.memo(a),o=t.forwardRef((n,a)=>{const o=t.useRef(null);return e.jsx(r,{...n,itemRef:o,externalRef:a,isHovering:t.useContext(Kl)===o.current})});return o.displayName=`WithHovering(${n})`,o},Xs=(e,n,a,r)=>{const[o,i,l]=(e=>{const[n,a]=t.useState(!1);return t.useEffect(()=>{!e&&a(!1)},[e]),[n,()=>!n&&a(!0),()=>a(!1)]})(a),{submenuCloseDelay:s}=t.useContext(ns),{isParentOpen:c,submenuCtx:u,dispatch:d,updateItems:b}=t.useContext($l),m=()=>{!a&&!r&&d(rs.SET,e.current)},h=()=>{!r&&d(rs.UNSET,e.current)};return((e,t,n)=>{xs(()=>{if("production"!==process.env.NODE_ENV&&!n)throw new Error(`[React-Menu] This menu item or submenu should be rendered under a menu: ${t.current.outerHTML}`);if(e)return;const a=t.current;return n(a,!0),()=>{n(a)}},[e,t,n])})(r,e,b),t.useEffect(()=>{a&&c&&n.current&&n.current.focus()},[n,a,c]),{mouseOver:o,setHover:m,onBlur:e=>{a&&!e.currentTarget.contains(e.relatedTarget)&&h()},onPointerMove:e=>{r||(e.stopPropagation(),i(),u.on(s,m,m))},onPointerLeave:(e,t)=>{l(),u.off(),!t&&h()}}},Rs=Cs("MenuItem",function({className:n,value:a,href:r,type:o,checked:i,disabled:l,children:s,onClick:c,isHovering:u,itemRef:d,externalRef:b,...m}){const h=!!l,{mouseOver:f,setHover:g,...p}=Xs(d,d,u,h),x=t.useContext(es),y=t.useContext(ts),v="radio"===o,G="checkbox"===o,Q=!(!r||h||v||G),I=v?y.value===a:!!G&&!!i,B=e=>{if(h)return e.stopPropagation(),void e.preventDefault();const t={value:a,syntheticEvent:e};void 0!==e.key&&(t.key=e.key),G&&(t.checked=!I),v&&(t.name=y.name),Ml(c,t),v&&Ml(y.onRadioChange,t),x.handleClick(t,G||v)},F=t.useMemo(()=>({type:o,disabled:h,hover:f||u,checked:I,anchor:Q}),[o,h,f,u,I,Q]),Z=Al({...p,onPointerDown:g,onKeyDown:e=>{if(u)switch(e.key){case as.ENTER:e.preventDefault();case as.SPACE:Q?d.current.click():B(e)}},onClick:B},m),w={role:v?"menuitemradio":G?"menuitemcheckbox":"menuitem","aria-checked":v||G?I:void 0,...zl(h,u),...Z,ref:vs(b,d),className:Hl({block:Pl,element:"item",modifiers:F,className:n}),children:t.useMemo(()=>Ml(s,F),[s,F])};return Q?e.jsx("li",{role:cs,children:e.jsx("a",{href:r,...w})}):e.jsx("li",{...w})}),ks=t.memo(t.forwardRef(function({className:t,...n},a){return e.jsx("li",{role:cs,...n,ref:a,className:Hl({block:Pl,element:"header",className:t})})})),Us=t["undefined"!=typeof document&&void 0!==document.createElement?"useLayoutEffect":"useEffect"];function Ds(){}function _s(e,t,n={}){const a=js(n.polyfill),r=(e=>{const t=l.useRef(e);return l.useEffect(()=>{t.current=e}),t})(t);return Us(()=>{let t=!1;const n=e&&"current"in e?e.current:e;if(!n)return Ds;function o(e,n){t||r.current(e,n)}return a.subscribe(n,o),()=>{t=!0,a.unsubscribe(n,o)}},[e,a,r]),a.observer}let Ys;const js=e=>Ys||(Ys=function(e){let t=!1,n=[];const a=new Map,r=new(e||window.ResizeObserver)((e,r)=>{n=n.concat(e),t||window.requestAnimationFrame(function(){const e=new Set;for(let t=0;t<n.length;t++){if(e.has(n[t].target))continue;e.add(n[t].target);const o=a.get(n[t].target);null==o||o.forEach(e=>e(n[t],r))}n=[],t=!1}),t=!0});return{observer:r,subscribe(e,t){var n;r.observe(e);const o=null!==(n=a.get(e))&&void 0!==n?n:[];o.push(t),a.set(e,o)},unsubscribe(e,t){var n;const o=null!==(n=a.get(e))&&void 0!==n?n:[];if(1===o.length)return r.unobserve(e),void a.delete(e);const i=o.indexOf(t);-1!==i&&o.splice(i,1),a.set(e,o)}}}(e));var Vs,Ss;function Ms(){if(Ss)return Vs;Ss=1;var e=/^\s+|\s+$/g,t=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,a=/^0o[0-7]+$/i,r=parseInt,o="object"==typeof c&&c&&c.Object===Object&&c,i="object"==typeof self&&self&&self.Object===Object&&self,l=o||i||Function("return this")(),s=Object.prototype.toString,u=Math.max,d=Math.min,b=function(){return l.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function h(o){if("number"==typeof o)return o;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==s.call(e)}(o))return NaN;if(m(o)){var i="function"==typeof o.valueOf?o.valueOf():o;o=m(i)?i+"":i}if("string"!=typeof o)return 0===o?o:+o;o=o.replace(e,"");var l=n.test(o);return l||a.test(o)?r(o.slice(2),l?2:8):t.test(o)?NaN:+o}return Vs=function(e,t,n){var a,r,o,i,l,s,c=0,f=!1,g=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function x(t){var n=a,o=r;return a=r=void 0,c=t,i=e.apply(o,n)}function y(e){var n=e-s;return void 0===s||n>=t||n<0||g&&e-c>=o}function v(){var e=b();if(y(e))return G(e);l=setTimeout(v,function(e){var n=t-(e-s);return g?d(n,o-(e-c)):n}(e))}function G(e){return l=void 0,p&&a?x(e):(a=r=void 0,i)}function Q(){var e=b(),n=y(e);if(a=arguments,r=this,s=e,n){if(void 0===l)return function(e){return c=e,l=setTimeout(v,t),f?x(e):i}(s);if(g)return l=setTimeout(v,t),x(s)}return void 0===l&&(l=setTimeout(v,t)),i}return t=h(t)||0,m(n)&&(f=!!n.leading,o=(g="maxWait"in n)?u(h(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),Q.cancel=function(){void 0!==l&&clearTimeout(l),c=0,a=s=r=l=void 0},Q.flush=function(){return void 0===l?i:G(b())},Q},Vs}var Js=u(Ms()),Os="canvas-module_canvas__Iiaz4",As="canvas-module_textCanvas__eFxM4";s(".canvas-module_canvas__Iiaz4{cursor:pointer;position:relative;width:100%;z-index:1}.canvas-module_textCanvas__eFxM4{left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNhbnZhcy5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDZCQUVFLGNBQWUsQ0FDZixpQkFBa0IsQ0FGbEIsVUFBVyxDQUdYLFNBQ0YsQ0FFQSxpQ0FFRSxNQUFPLENBR1AsbUJBQW9CLENBSnBCLGlCQUFrQixDQUVsQixLQUFNLENBQ04sVUFBVyxDQUVYLFNBQ0YiLCJmaWxlIjoiY2FudmFzLm1vZHVsZS5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuY2FudmFzIHtcbiAgd2lkdGg6IDEwMCU7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICB6LWluZGV4OiAxO1xufVxuXG4udGV4dENhbnZhcyB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgbGVmdDogMDtcbiAgdG9wOiAwO1xuICB3aWR0aDogMTAwJTtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIHotaW5kZXg6IDI7XG59XG4iXX0= */");var Es="Highlight-module_highlight__1VV-X";function zs(n){const{canvasRef:a,barHeight:r,xyToHighlightData:o,zoom:i}=n,[l,s]=t.useState({height:"0px",visibility:"hidden"}),c=t.useRef(null),u=t.useRef(null),d=t.useRef(null);t.useEffect(()=>{s({height:"0px",visibility:"hidden"})},[i]);const b=e=>{const t=c.current;if(!t)return void s(e);const n=d.current;n&&n.left===e.left&&n.top===e.top&&n.width===e.width&&n.visibility===e.visibility||(d.current=e,t.style.visibility=String(e.visibility||""),void 0!==e.left&&(t.style.left=String(e.left)),void 0!==e.top&&(t.style.top=String(e.top)),void 0!==e.width&&(t.style.width=String(e.width)),void 0!==e.height&&(t.style.height=String(e.height)))},m=e=>{u.current&&cancelAnimationFrame(u.current);const t=e.offsetX,n=e.offsetY;u.current=requestAnimationFrame(()=>{const e=o(t,n);if(e.isJust){const t=e.value;b({visibility:"visible",height:`${r}px`,...t})}else h()})},h=()=>{b({...d.current||{},visibility:"hidden"})};return t.useEffect(()=>{const e=a.current;return e?(e.addEventListener("mousemove",m),e.addEventListener("mouseout",h),()=>{e.removeEventListener("mousemove",m),e.removeEventListener("mouseout",h),u.current&&cancelAnimationFrame(u.current)}):()=>{}},[a.current,m,h]),e.jsx("div",{ref:c,className:Es,style:l,"data-testid":"flamegraph-highlight"})}s(".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 Ts="ContextMenuHighlight-module_highlightContextMenu__WI1nK";s(".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 Hs={height:"0px",visibility:"hidden"};function Ps(n){const{node:a,barHeight:r}=n,[o,i]=t.useState(Hs);return t.useEffect(()=>{a.match({Nothing:()=>i(Hs),Just:e=>i({visibility:"visible",height:`${r}px`,...e})})},[a]),e.jsx("div",{className:Ts,style:o,"data-testid":"flamegraph-highlight-contextmenu"})}const Ks={name:"Default",goodColor:po.rgb(0,170,0),neutralColor:po.rgb(148,142,142),badColor:po.rgb(200,0,0),colors:[po.hsl(24,69,60),po.hsl(34,65,65),po.hsl(194,52,61),po.hsl(163,45,55),po.hsl(211,48,60),po.hsl(246,40,65),po.hsl(305,63,79),po.hsl(47,100,73),po.rgb(183,219,171),po.rgb(244,213,152),po.rgb(78,146,249),po.rgb(249,186,143),po.rgb(242,145,145),po.rgb(130,181,216),po.rgb(229,168,226),po.rgb(174,162,224),po.rgb(154,196,138),po.rgb(242,201,109),po.rgb(101,197,219),po.rgb(249,147,78),po.rgb(234,100,96),po.rgb(81,149,206),po.rgb(214,131,206),po.rgb(128,110,183)]},$s={...Ks,name:"Color Blind",goodColor:po.rgb(26,133,255),neutralColor:po.rgb(148,142,142),badColor:po.rgb(220,50,32)};function qs(){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 ec(){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 tc={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"};s(".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:5}.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2x0aXAubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsK0JBR0UsK0JBQWdDLENBRWhDLGlCQUFrQixDQURsQix1Q0FBOEMsQ0FFOUMsNEJBQTZCLENBQzdCLGNBQWUsQ0FHZixtQkFBb0IsQ0FScEIsY0FBZSxDQU1mLGlCQUFrQixDQVBsQixXQUFZLENBUVosU0FFRixDQUNBLDJFQUNFLFdBQ0YsQ0FDQSxrRUFFRSw0Q0FBNkMsQ0FFN0MsMEJBQTJCLENBRDNCLDJCQUE0QixDQUY1Qiw0QkFBNkIsQ0FTN0IsbUVBQXdFLENBTHhFLGVBQWlCLENBRWpCLGVBQWdCLENBRWhCLGdCQUFpQixDQURqQixzQkFBdUIsQ0FGdkIsa0JBS0YsQ0FDQSxtRUFFRSxtRUFBd0UsQ0FEeEUsa0JBQW1CLENBRW5CLHdCQUF5QixDQUN6QixvQkFDRixDQUNBLG1FQUdFLGFBQWMsQ0FEZCxXQUFZLENBRFosdUJBR0YsQ0FDQSw0SUFFRSxxQ0FBc0MsQ0FDdEMsNENBQTZDLENBRTdDLGVBQW1CLENBRG5CLFdBRUYsQ0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bi1zZWxmOiBjZW50ZXI7XG4gIHdpZHRoOiAyMnB4O1xuICBoZWlnaHQ6IDIycHg7XG4gIG1hcmdpbi1yaWdodDogNXB4O1xufVxuLnRvb2x0aXAgLmNsaWNrSW5mbyBzcGFuIHtcbiAgZm9udC1zaXplOiAxNHB4O1xufSJdfQ== */");const nc={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",focusOnThisFunction:"Focus on this function",tableDoubleClickToFocus:"Double-click to focus in flamegraph",tableRightClickForOptions:"Right-click for more options",collapsedLevelsSingular:"total (1 level collapsed)",collapsedLevelsPlural:"total ({n} levels collapsed)",ofTotal:"of total",clearFocus:"Clear focus",sampleCountFormat:[{value:1e15,label:"Quad"},{value:1e12,label:"Tri"},{value:1e9,label:"B"},{value:1e6,label:"M"},{value:1e3,label:"K"}]},ac={...nc,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:"取消同步搜索栏",focusOnThisFunction:"聚焦到此函数",tableDoubleClickToFocus:"双击可聚焦到火焰图",tableRightClickForOptions:"右键查看更多选项",collapsedLevelsSingular:"总计(已折叠 1 层)",collapsedLevelsPlural:"总计(已折叠 {n} 层)",ofTotal:"占总量",clearFocus:"清除聚焦",sampleCountFormat:[{value:1e12,label:"兆"},{value:1e8,label:"亿"},{value:1e4,label:"万"},{value:1e3,label:"千"}]},rc=t.createContext(nc),oc=rc,ic=({messages:n,children:a})=>{const r=t.useMemo(()=>{var e;return{...nc,...n,tooltipUnitTitles:{...nc.tooltipUnitTitles,...null!==(e=null==n?void 0:n.tooltipUnitTitles)&&void 0!==e?e:{}}}},[n]);return e.jsx(rc.Provider,{value:r,children:a})},lc=()=>t.useContext(rc);function sc(e){if(!e)return null;const t=e.replace(/,/g,"").trim();if(!t)return null;const n=Number(t);return Number.isFinite(n)?n:null}function cc(e,t){if(!e||!t)return;const n=e.trim().replace(/\u2212/g,"-");return n&&"0"!==n?n.startsWith("+")?t.badColor.rgb().string():n.startsWith("-")?t.goodColor.rgb().string():void 0:void 0}function uc(e,t,n){return n<t?t:Math.max(t,Math.min(n,e))}function dc(e,t,n,a){const r=window.innerWidth,o=window.innerHeight,i=Math.max(0,n||0),l=Math.max(0,a||0);let s=e+12,c=t+20;return s+i+8>r&&(s=e-i-12),c+l+8>o&&(c=t-l-20),s=uc(s,8,r-i-8),c=uc(c,8,o-l-8),{left:s,top:c}}function bc({shouldShowFooter:n=!0,shouldShowTitle:a=!0,dataSourceRef:r,clickInfoSide:o,setTooltipContent:i,palette:l}){const s=t.useRef(null),c=t.useRef(null),u=t.useRef(null),d=t.useRef(null),[b,m]=t.useState({title:{text:"",diff:{text:"",color:""}},tooltipData:[]}),[h,f]=t.useState(),g=()=>{f({visibility:"hidden"}),m({title:{text:"",diff:{text:"",color:""}},tooltipData:[]})},p=t.useCallback(e=>{u.current&&cancelAnimationFrame(u.current);const t=e.clientX,n=e.clientY;u.current=requestAnimationFrame(()=>{if(!s.current)throw new Error("Missing tooltipElement");c.current={x:t,y:n},i(m,g,e);const a=s.current.clientWidth||0,r=s.current.clientHeight||0,{left:o,top:l}=dc(t,n,a,r);f({top:l,left:o,visibility:"visible"})})},[i]);return t.useEffect(()=>{const e=r.current;if(!e)return()=>{};const t=()=>{g()},n=t=>{e.contains(t.target)||g()};return e.addEventListener("mousemove",p),e.addEventListener("mouseout",g),e.addEventListener("mouseleave",t),window.addEventListener("mousemove",n,{passive:!0}),window.addEventListener("blur",t),()=>{e.removeEventListener("mousemove",p),e.removeEventListener("mouseout",g),e.removeEventListener("mouseleave",t),window.removeEventListener("mousemove",n),window.removeEventListener("blur",t),u.current&&cancelAnimationFrame(u.current)}},[r.current,p]),t.useLayoutEffect(()=>{if(!s.current)return;if(!c.current)return;if(0===b.tooltipData.length)return;const{x:e,y:t}=c.current,n=s.current.getBoundingClientRect(),a=n.width,r=n.height,o=d.current;if(o&&Math.abs(o.w-a)<1&&Math.abs(o.h-r)<1)return;d.current={w:a,h:r};const{left:i,top:l}=dc(e,t,a,r);f(e=>e&&e.left===i&&e.top===l&&"visible"===e.visibility?e:{...e||{},left:i,top:l,visibility:"visible"})},[b.tooltipData.length,b.title.text]),e.jsx("div",{"data-testid":"tooltip",className:hl(tc.tooltip,{[tc.flamegraphDiffTooltip]:b.tooltipData.length>1}),style:{...h,textAlign:"center"},ref:s,children:b.tooltipData.length>0&&e.jsxs(e.Fragment,{children:[a&&e.jsx("div",{className:tc.tooltipName,"data-testid":"tooltip-title",children:b.title.text}),e.jsx("div",{className:tc.functionName,"data-testid":"tooltip-function-name",children:b.title.text}),b.title.diff.text.length>0?e.jsx(mc,{data:b.tooltipData,diff:b.title.diff,palette:l}):e.jsx(mc,{data:b.tooltipData,palette:l}),n&&e.jsx(hc,{clickInfoSide:o})]})})}function mc({data:t,diff:n,palette:a}){const r=lc(),[o,i]=t,l="Location"!==r.location;if(!o)return null;let s;switch(o.tooltipType){case"flamegraph":s=()=>{const t=i&&function(e,t){const n=Rr(e),a=Rr(t);if(!n||!a)return"";const r=a.value-n.value;if(0===r)return"0";const o=r>0?"+":"-",i=Math.abs(r);let l;l=i>=100?i.toFixed(0):i>=10?i.toFixed(1):i.toFixed(2);const s=n.unit||a.unit;return s?`${o}${l} ${s}`:`${o}${l}`}(o.formattedValue,i.formattedValue),s=kr(t,l),c=i&&function(e,t){const n=sc(e),a=sc(t);if(null==n||null==a)return"";const r=a-n;return 0===r?"0":`${r>0?"+":"-"}${Math.abs(r).toLocaleString()}`}(o.samples,i.samples),u=kr(o.formattedValue,l),d=kr(null==i?void 0:i.formattedValue,l),b=null==n?void 0:n.color,m=cc(t,a),h=cc(c,a);return e.jsxs(e.Fragment,{children:[i&&e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{}),e.jsx("th",{children:r.baseline}),e.jsx("th",{children:r.comparison}),e.jsx("th",{children:r.diff})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsxs("td",{children:[r.tooltipUnitTitles[o.units].percent,":"]}),e.jsx("td",{children:o.percent}),i&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:i.percent}),e.jsx("td",{style:{textAlign:"center"},children:n&&e.jsx("span",{"data-testid":"tooltip-diff",style:{color:b},children:n.text})})]})]}),e.jsxs("tr",{children:[e.jsxs("td",{children:[r.tooltipUnitTitles[o.units].formattedValue,":"]}),e.jsx("td",{children:u}),i&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:d}),e.jsx("td",{style:{textAlign:"center"},children:s&&e.jsx("span",{"data-testid":"tooltip-time-diff",style:m?{color:m}:void 0,children:s})})]})]}),e.jsxs("tr",{children:[e.jsx("td",{children:r.tooltipSamples}),e.jsx("td",{children:o.samples}),i&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:i.samples}),e.jsx("td",{style:{textAlign:"center"},children:c&&e.jsx("span",{"data-testid":"tooltip-samples-diff",style:h?{color:h}: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:[r.self," (",r.tooltipUnitTitles[o.units].total,")"]}),e.jsxs("td",{children:[r.total," (",r.tooltipUnitTitles[o.units].total,")"]})]})}),e.jsx("tbody",{children:e.jsxs("tr",{children:[e.jsxs("td",{children:[r.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:hl(tc.tooltipTable,{[tc[`${o.tooltipType}${i?"Diff":""}`]]:o.tooltipType}),style:{textAlign:"center",margin:"0 auto"},children:s()})}function hc({clickInfoSide:t}){const n=lc();let a;switch(t){case"right":a=e.jsxs(e.Fragment,{children:[e.jsx(qs,{}),e.jsx("span",{children:n.rightClickForMoreNodeOptions})]});break;case"left":a=e.jsxs(e.Fragment,{children:[e.jsx(ec,{}),e.jsx("span",{children:n.clickToHighlightNode})]});break;default:a=e.jsx(e.Fragment,{})}return e.jsx("div",{"data-testid":"tooltip-footer",className:tc.clickInfo,children:a})}function fc(n){const{format:a,canvasRef:r,xyToData:o,numTicks:i,sampleRate:l,units:s,leftTicks:c,rightTicks:u,palette:d}=n,b=lc(),m=t.useCallback((e,t,n)=>{const r=Yr(i,l,s),m=o(n.offsetX,n.offsetY);let h;var f;if(m.isJust)switch(h=m.value,h.format){case"single":{const t={percent:(f=h.total/i,`${Dr(f)}%`),samples:"trace_samples"===s?"":Xr(h.total),units:s,formattedValue:r.format(h.total,l),tooltipType:"flamegraph"};e({title:{text:h.name,diff:{text:"",color:""}},tooltipData:[t]});break}case"double":{if("single"===a)throw new Error("props format is 'single' but it has been mapped to 'double'");const t=gc({formatter:r,sampleRate:l,totalLeft:h.totalLeft,leftTicks:c,totalRight:h.totalRight,rightTicks:u,title:h.name,units:s},d,b);e({title:t.title,tooltipData:t.tooltipData});break}default:throw new Error(`Unsupported format: '${h.format}'`)}else t()},[i,l,s,c,u,d,o,a,b]);return e.jsx(bc,{dataSourceRef:r,clickInfoSide:"right",setTooltipContent:m,palette:d})}function gc({formatter:e,sampleRate:t,totalLeft:n,leftTicks:a,totalRight:r,rightTicks:o,title:i,units:l},s=Ks,c){var u,d;const b=o>0?r/o:0,m=Dr(a>0?n/a:0),h=Dr(b),f={percent:`${m}%`,samples:Xr(n),units:l,formattedValue:e.format(n,t),tooltipType:"flamegraph"},g={percent:`${h}%`,samples:Xr(r),units:l,formattedValue:e.format(r,t),tooltipType:"flamegraph"};let p=_r(m,h);Number.isFinite(p)||(p=0);let x="";p>0?x=s.badColor.rgb().string():p<0&&(x=s.goodColor.rgb().string());let y="";return 0===n&&r>0?y=null!==(u=null==c?void 0:c.diffNew)&&void 0!==u?u:"新增":0===r&&n>0?y=null!==(d=null==c?void 0:c.diffRemoved)&&void 0!==d?d:"移除":0===p?y="0%":p>0?y=`+${p.toFixed(2)}%`:p<0&&(y=`${p.toFixed(2)}%`),{title:{text:i,diff:{text:y,color:x}},tooltipData:[f,g]}}s('@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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFrR0EsZ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bHV0ZTtcbiAgbGVmdDogMC44cmVtO1xuICB0b3A6IDAuNTVyZW07XG4gIGZvbnQtc2l6ZTogMC44cmVtO1xufVxuLnN6aC1tZW51X19pdGVtLS10eXBlLXJhZGlvLnN6aC1tZW51X19pdGVtLS1jaGVja2VkOjpiZWZvcmUge1xuICBjb250ZW50OiBcIuKXj1wiO1xufVxuLnN6aC1tZW51X19pdGVtLS10eXBlLWNoZWNrYm94IHtcbiAgcGFkZGluZy1sZWZ0OiAyLjJyZW07XG59XG4uc3poLW1lbnVfX2l0ZW0tLXR5cGUtY2hlY2tib3g6OmJlZm9yZSB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgbGVmdDogMC44cmVtO1xufVxuLnN6aC1tZW51X19pdGVtLS10eXBlLWNoZWNrYm94LnN6aC1tZW51X19pdGVtLS1jaGVja2VkOjpiZWZvcmUge1xuICBjb250ZW50OiBcIuKclFwiO1xufVxuLnN6aC1tZW51X19zdWJtZW51ID4gLnN6aC1tZW51X19pdGVtIHtcbiAgcGFkZGluZy1yaWdodDogMi41cmVtO1xufVxuLnN6aC1tZW51X19zdWJtZW51ID4gLnN6aC1tZW51X19pdGVtOjphZnRlciB7XG4gIGNvbnRlbnQ6IFwi4p2vXCI7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcmlnaHQ6IDFyZW07XG59XG4uc3poLW1lbnVfX2hlYWRlciB7XG4gIGNvbG9yOiAjODg4O1xuICBmb250LXNpemU6IDAuOHJlbTtcbiAgcGFkZGluZzogMC4ycmVtIDEuNXJlbTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbn1cbiJdfQ== */');var pc="ContextMenu-module_menu__x-AtY";function xc(n){const[a,r]=Ns({transition:!0}),[o,i]=t.useState({x:0,y:0}),{canvasRef:l}=n,[s,c]=t.useState([]),{xyToMenuItems:u,onClose:d,onOpen:b}=n;return t.useEffect(()=>{r(!1);const e=l.current;if(!e)return()=>{};const t=e=>{e.preventDefault();const t=u(e.offsetX,e.offsetY);c(t);const n=e.clientX,a=e.clientY+20;i({x:n,y:a}),r(!0),b(e.offsetX,e.offsetY)};return e.addEventListener("contextmenu",t),()=>{e.removeEventListener("contextmenu",t)}},[u]),e.jsx(Qs,{...a,className:pc,anchorPoint:o,onClose:()=>{r(!1),d()},children:s})}s(".ContextMenu-module_menu__x-AtY{display:block}.ContextMenu-module_menu__x-AtY svg{margin-right:10px}.ContextMenu-module_menu__x-AtY .szh-menu{background-color:var(--ps-dropdown-background,#fff);border:1px solid var(--ps-ui-border,#d9d9d9);border-radius:6px;box-shadow:0 6px 16px 0 rgba(0,0,0,.08),0 3px 6px -4px rgba(0,0,0,.12),0 9px 28px 8px rgba(0,0,0,.05);color:var(--ps-ui-foreground-text,#000);font-size:13px;min-width:180px;padding:4px 0}.ContextMenu-module_menu__x-AtY .szh-menu__item{align-items:center;color:inherit;cursor:pointer;display:flex;gap:8px;height:32px;padding:6px 12px;transition:background-color .15s}.ContextMenu-module_menu__x-AtY .szh-menu__item:hover{background-color:var(--ps-ui-element-bg-highlight,#f5f5f5)}.ContextMenu-module_menu__x-AtY .szh-menu__item svg{flex-shrink:0;height:14px;margin-right:0;width:14px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRleHRNZW51Lm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGdDQUNFLGFBQ0YsQ0FDQSxvQ0FDRSxpQkFDRixDQUNBLDBDQUNFLG1EQUFxRCxDQUNyRCw0Q0FBOEMsQ0FDOUMsaUJBQWtCLENBQ2xCLHFHQUFvSCxDQUlwSCx1Q0FBeUMsQ0FEekMsY0FBZSxDQURmLGVBQWdCLENBRGhCLGFBSUYsQ0FDQSxnREFFRSxrQkFBbUIsQ0FLbkIsYUFBYyxDQURkLGNBQWUsQ0FMZixZQUFhLENBRWIsT0FBUSxDQUVSLFdBQVksQ0FEW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ubWVudSA6Z2xvYmFsKC5zemgtbWVudV9faXRlbSk6aG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy11aS1lbGVtZW50LWJnLWhpZ2hsaWdodCwgI2Y1ZjVmNSk7XG59XG4ubWVudSA6Z2xvYmFsKC5zemgtbWVudV9faXRlbSkgc3ZnIHtcbiAgd2lkdGg6IDE0cHg7XG4gIGhlaWdodDogMTRweDtcbiAgZmxleC1zaHJpbms6IDA7XG4gIG1hcmdpbi1yaWdodDogMDtcbn0iXX0= */");var yc="LogoLink-module_logoLink__oWRri";function vc(){return e.jsxs("a",{className:yc,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"})]})}s(".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 Gc=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"64 64 896 896",fill:"currentColor",children:e.jsx("path",{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 208H676V232h212v136zm0 224H676V432h212v160zM412 432h200v160H412V432zm200-64H412V232h200v136zm-476 64h212v160H136V432zm0-200h212v136H136V232zm0 424h212v136H136V656zm276 0h200v136H412V656zm476 136H676V656h212v136z"})}),Qc=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"64 64 896 896",fill:"currentColor",children:e.jsx("path",{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"})}),Ic=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"64 64 896 896",fill:"currentColor",children:e.jsx("path",{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"})}),Bc=({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"})]})]}),Fc=()=>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"})})]}),Zc=()=>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 wc="Header-module_flamegraphHeader__nIrXP",Nc="Header-module_row__P7-2L",Lc="Header-module_flamegraphTitle__sjsvB";function Wc(t){const{format:n,units:a,toolbarVisible:r}=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:""},i=r&&"single"===n?e.jsx("div",{className:`${Nc} ${Lc}`,role:"heading","aria-level":2,children:o[a]&&e.jsxs(e.Fragment,{children:["Frame width represents ",o[a]]})}):null;return i?e.jsx("div",{className:wc,children:e.jsx("div",{children:i})}):null}s(".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 Cc="FlamegraphBreadcrumb-module_bar__v8uhn",Xc="FlamegraphBreadcrumb-module_chip__pdv1k",Rc="FlamegraphBreadcrumb-module_focusTooltip__nX30y",kc="FlamegraphBreadcrumb-module_separator__Zj-rC",Uc="FlamegraphBreadcrumb-module_chipSeparator__S-Gld",Dc="FlamegraphBreadcrumb-module_unitLabel__bjHEA",_c="FlamegraphBreadcrumb-module_focusIcon__aJBb6",Yc="FlamegraphBreadcrumb-module_ofTotal__kk4dt",jc="FlamegraphBreadcrumb-module_clearBtn__spimK";function Vc(t){const{totalValueText:n,totalSamplesText:a,samplesLabel:r,unitLabel:o,hasFocus:i,focusPercent:l,focusLabel:s,ofTotalPlacement:c="after",ofTotalLabel:u,clearFocusLabel:d,onClearFocus:b}=t,m=s&&s.trim().length>0?s:void 0;return e.jsxs("div",{className:Cc,"aria-live":"polite",children:[e.jsxs("span",{className:Xc,children:[e.jsx("span",{children:n}),e.jsx("span",{className:kc,children:"|"}),e.jsxs("span",{children:[a," ",r]}),e.jsxs("span",{className:Dc,children:["(",o,")"]})]}),i&&void 0!==l&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:Uc,children:">"}),e.jsxs("span",{className:`${Xc} ${Rc}`,"data-tooltip":m,children:[e.jsx("span",{className:_c,"aria-hidden":"true",children:e.jsxs("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6-10-6-10-6Z"}),e.jsx("circle",{cx:"12",cy:"12",r:"3.2"})]})}),"before"===c?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:Yc,children:u}),e.jsxs("span",{children:[l.toFixed(2),"%"]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("span",{children:[l.toFixed(2),"%"]}),e.jsx("span",{className:Yc,children:u})]}),e.jsx("button",{type:"button",className:jc,"aria-label":d,onClick:e=>{e.preventDefault(),e.stopPropagation(),b()},children:"×"})]})]})]})}s('.FlamegraphBreadcrumb-module_bar__v8uhn{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:6px 0;width:100%}.FlamegraphBreadcrumb-module_chip__pdv1k{align-items:center;background-color:var(--ps-ui-element-bg-primary);border:1px solid var(--ps-ui-border);border-radius:999px;color:var(--ps-ui-foreground-text);display:inline-flex;font-size:12px;gap:6px;line-height:1.2;padding:4px 10px}.FlamegraphBreadcrumb-module_focusTooltip__nX30y{position:relative}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:hover:after,.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:hover:before{opacity:1;transform:translate(-50%,-6px)}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:after{background:var(--ps-ui-foreground);border:1px solid var(--ps-ui-border);border-radius:6px;color:var(--ps-ui-foreground-text);content:attr(data-tooltip);font-size:12px;padding:6px 8px;white-space:nowrap;z-index:3}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:after,.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:before{bottom:100%;left:50%;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%,-2px);transition:opacity .12s ease,transform .12s ease}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:before{border-color:var(--ps-ui-border) transparent transparent transparent;border-style:solid;border-width:6px 6px 0;content:"";z-index:2}.FlamegraphBreadcrumb-module_separator__Zj-rC{opacity:.6}.FlamegraphBreadcrumb-module_chipSeparator__S-Gld{color:var(--ps-ui-foreground-text);opacity:.6}.FlamegraphBreadcrumb-module_unitLabel__bjHEA{opacity:.8}.FlamegraphBreadcrumb-module_focusIcon__aJBb6{align-items:center;color:currentColor;display:inline-flex;font-size:12px}.FlamegraphBreadcrumb-module_ofTotal__kk4dt{opacity:.8}.FlamegraphBreadcrumb-module_clearBtn__spimK{background:transparent;border:none;color:var(--ps-toolbar-icon-color);cursor:pointer;font-size:14px;line-height:1;margin-left:4px;padding:0}.FlamegraphBreadcrumb-module_clearBtn__spimK:focus-visible{border-radius:4px;outline:1px solid var(--ps-ui-border)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZsYW1lZ3JhcGhCcmVhZGNydW1iLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHdDQUVFLGtCQUFtQixDQURuQixZQUFhLENBSWIsY0FBZSxDQUNmLE9BQVEsQ0FIUixzQkFBdUIsQ0FJd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Z3JvdW5kLXRleHQpO1xufVxuXG4udW5pdExhYmVsIHtcbiAgb3BhY2l0eTogMC44O1xufVxuXG4uZm9jdXNJY29uIHtcbiAgZm9udC1zaXplOiAxMnB4O1xuICBkaXNwbGF5OiBpbmxpbmUtZmxleDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgY29sb3I6IGN1cnJlbnRDb2xvcjtcbn1cblxuLm9mVG90YWwge1xuICBvcGFjaXR5OiAwLjg7XG59XG5cbi5jbGVhckJ0biB7XG4gIG1hcmdpbi1sZWZ0OiA0cHg7XG4gIHBhZGRpbmc6IDA7XG4gIGJvcmRlcjogbm9uZTtcbiAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQ7XG4gIGNvbG9yOiB2YXIoLS1wcy10b29sYmFyLWljb24tY29sb3IpO1xuICBjdXJzb3I6IHBvaW50ZXI7XG4gIGZvbnQtc2l6ZTogMTRweDtcbiAgbGluZS1oZWlnaHQ6IDE7XG59XG5cbi5jbGVhckJ0bjpmb2N1cy12aXNpYmxlIHtcbiAgb3V0bGluZTogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbn0iXX0= */');var Sc="styles-module_flamegraphPane__ejguD",Mc="styles-module_fitModeItem__0UBwN",Jc="styles-module_sandwichItem__WYvnd",Oc="styles-module_flamegraphFrame__9ZW-z";function Ac(n){const a=t.useRef(null),r=t.useRef(null),i=t.useRef(),l=t.useRef(),s=t.useRef(null),c=t.useRef(null),u=t.useRef(null),d=t.useRef({rect:!1,text:!1}),b=t.useRef(!1),m=lc(),h=t.useRef({lastWidth:0,lastHeight:0}),f="undefined"!=typeof window&&"undefined"!=typeof OffscreenCanvas&&"transferControlToOffscreen"in HTMLCanvasElement.prototype,[g,p]=t.useState(f),x=t.useRef(!1);t.useEffect(()=>{"undefined"==typeof window||b.current||(b.current=!0)},[f]),t.useEffect(()=>{"undefined"==typeof window||x.current||(x.current=!0,f||console.info("[flamegraph] OffscreenCanvas unavailable, using main thread renderer"))},[f]);const y=t.useMemo(()=>({collapsedLevelsSingular:m.collapsedLevelsSingular,collapsedLevelsPlural:m.collapsedLevelsPlural,isZh:"Location"!==m.location}),[m.collapsedLevelsSingular,m.collapsedLevelsPlural,m.location]),v=t.useCallback(e=>({name:e.name,goodColor:e.goodColor.rgb().array(),neutralColor:e.neutralColor.rgb().array(),badColor:e.badColor.rgb().array(),colors:e.colors.map(e=>e.rgb().array())}),[]),[G,Q]=t.useState(fr.nothing()),{flamebearer:I,focusedNode:B,fitMode:F,updateFitMode:Z,highlightQuery:w,zoom:N,toolbarVisible:L,headerVisible:W=!0,disableClick:C=!1,showSingleLevel:X=!1,showCredit:R,setActiveItem:k,selectedItem:U,updateView:D,enableSandwichView:_=!0,breadcrumb:Y}=n,{onZoom:j,onReset:V,isDirty:S,onFocusOnNode:M}=n,{"data-testid":J}=n,{palette:O,setPalette:A}=n,E=t.useCallback(Js(()=>{$(),q()},50),[]);t.useEffect(()=>{if(!g)return()=>{};let e;try{e=function(){const e=new URL("undefined"==typeof document?require("url").pathToFileURL(__filename).href:o&&"SCRIPT"===o.tagName.toUpperCase()&&o.src||new URL("index.cjs.js",document.baseURI).href),t=e.pathname,n=t.includes("/src/"),a=t.includes("/dist/");if(t.includes("/node_modules/.vite/deps/")){const t=new URL("../../@kylincloud/flamegraph/dist/flamegraphRenderWorker.js",e);try{return new Worker(t,{type:"module"})}catch(e){throw console.error("[flamegraph] worker create failed (vite deps)",e),e}}const r=n?new URL("./flamegraphRenderWorker.ts",e):new URL("./flamegraphRenderWorker.js",e);try{return new Worker(r,{type:"module"})}catch(e){throw console.error("[flamegraph] worker create failed",e,{workerUrl:r.href,isFromSrc:n,isFromDist:a}),e}}()}catch(e){return console.warn("[flamegraph] render worker init failed, fallback to main thread",e),p(!1),()=>{}}return b.current||(b.current=!0),console.info("[flamegraph] render worker created"),e.addEventListener("error",e=>{console.error("[flamegraph] render worker error",e)}),e.addEventListener("messageerror",e=>{console.error("[flamegraph] render worker message error",e)}),s.current=e,setTimeout(()=>{$(),q()},0),()=>{e.terminate(),s.current=null,c.current=null,u.current=null,d.current={rect:!1,text:!1}}},[g]),_s(a,()=>{if(i){if(a.current){const e=a.current.clientWidth,t=a.current.clientHeight,n=h.current;if(!(Math.abs(e-n.lastWidth)>=2))return;n.lastWidth=e,n.lastHeight=t}E()}});const z=(e,t)=>ne().xyToBar(e,t).map(e=>({left:te().offsetLeft+e.x,top:te().offsetTop+e.y,width:e.width})),T=t.useCallback((t,n)=>{const a=S(),r=ne().xyToBar(t,n),o=r.isJust?r.value.name:"";return[e.jsxs(Rs,{disabled:!a,onClick:V,children:[e.jsx(Oa,{icon:Bl.faRedo}),m.resetView]},"reset"),(()=>{const t=r.mapOrElse(()=>!1,()=>!0),n=r.mapOrElse(()=>()=>{},e=>M.bind(null,e.i,e.j));return e.jsxs(Rs,{disabled:!t,onClick:n,children:[e.jsx(Oa,{icon:Yl.faCompressAlt}),m.collapseNodesAbove]},"focus")})(),e.jsxs(Rs,{onClick:()=>{navigator.clipboard&&navigator.clipboard.writeText(o)},children:[e.jsx(Oa,{icon:Nl.faCopy}),m.copyFunctionName]},"copy"),(()=>{const t=U.isJust&&U.value===o?m.clearHighlight:m.highlightSimilarNodes;return e.jsxs(Rs,{onClick:()=>{k({name:o})},children:[e.jsx(Oa,{icon:Rl.faHighlighter}),t]},"highlight-similar-nodes")})(),(()=>{if(!D||!_)return null;return e.jsxs(Rs,{className:Jc,onClick:()=>{D("sandwich"),k({name:o})},children:[e.jsx(Bc,{fill:"black"}),m.openInSandwichView]},"open-in-sandwich-view")})(),(()=>{const t=F===Or;return e.jsxs(Rs,{className:Mc,onClick:()=>{Z(t?Jr:Or)},children:[t?e.jsx(Zc,{}):e.jsx(Fc,{}),t?m.showTextTailFirst:m.showTextHeadFirst]},"fit-mode")})()].filter(Boolean)},[i,U,F,S,V,M,k,D,m,_]),H=()=>{if(a.current){const e=new bl(I,a.current,B,F,w,N,O,y);i.current=e}if(r.current){const e=new bl(I,r.current,B,F,w,N,O,y);l.current=e}},P=t.useCallback(()=>{if(!g||!s.current)return!1;const e=s.current;if(a.current&&!c.current)try{const t=a.current.transferControlToOffscreen();c.current=t,e.postMessage({type:"init",payload:{kind:"rect",canvas:t}},[t]),d.current.rect=!0}catch(e){console.error("[flamegraph] offscreen init failed (rect)",e)}if(r.current&&!u.current)try{const t=r.current.transferControlToOffscreen();u.current=t,e.postMessage({type:"init",payload:{kind:"text",canvas:t}},[t]),d.current.text=!0}catch(e){console.error("[flamegraph] offscreen init failed (text)",e)}return!0},[g]);t.useEffect(()=>{H(),$(),q()},[O,y]),t.useEffect(()=>{H(),$(),q()},[a.current,I,B,F,N]),t.useEffect(()=>{H(),$(),q()},[w]);const K=(e,t)=>{if(!g)return!1;if(!s.current)return!0;if(!P())return!0;const n="rect"===e?a.current:r.current,o=(null==n?void 0:n.clientWidth)||(null==n?void 0:n.width)||0,i={kind:e,flamebearer:I,focusedNode:B.isJust?B.value:null,fitMode:F,highlightQuery:w,zoom:N.isJust?N.value:null,palette:v(O),messages:y,renderRects:t.renderRects,renderText:t.renderText,width:o,devicePixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1};return s.current.postMessage({type:"render",payload:i}),!0},$=()=>{var e,t,n;K("rect",{renderText:!1})||(null===(e=null==a?void 0:a.current)||void 0===e||e.setAttribute("data-state","rendering"),null===(t=null==i?void 0:i.current)||void 0===t||t.render({renderText:!1}),null===(n=null==a?void 0:a.current)||void 0===n||n.setAttribute("data-state","rendered"))},q=()=>{var e,t,n;K("text",{renderRects:!1})||(null===(e=null==r?void 0:r.current)||void 0===e||e.setAttribute("data-state","rendering"),null===(t=null==l?void 0:l.current)||void 0===t||t.render({renderRects:!1}),null===(n=null==r?void 0:r.current)||void 0===n||n.setAttribute("data-state","rendered"))},ee=!I||I&&I.names.length<=1,te=()=>{if(!a.current)throw new Error("Missing canvas");return a.current},ne=()=>{if(!i.current)throw new Error("Missing canvas");return i.current};return e.jsxs("div",{"data-testid":"flamegraph-view",className:hl(Sc,{"vertical-orientation":"double"===I.format}),children:[e.jsxs("div",{className:Oc,children:[Y&&e.jsx(Vc,{totalValueText:Y.totalValueText,totalSamplesText:Y.totalSamplesText,samplesLabel:Y.samplesLabel,unitLabel:Y.unitLabel,hasFocus:Y.hasFocus,focusPercent:Y.focusPercent,focusLabel:Y.focusLabel,ofTotalPlacement:Y.ofTotalPlacement,ofTotalLabel:Y.ofTotalLabel,clearFocusLabel:Y.clearFocusLabel,onClearFocus:Y.onClearFocus}),W&&e.jsx(Wc,{format:I.format,units:I.units,toolbarVisible:L}),e.jsxs("div",{"data-testid":J,style:{position:"relative",opacity:ee&&!X?0:1},children:[e.jsx("canvas",{height:"0","data-testid":"flamegraph-canvas","data-highlightquery":w,className:hl("flamegraph-canvas",Os),ref:a,onClick:C?void 0:e=>{const t=ne().xyToBar(e.nativeEvent.offsetX,e.nativeEvent.offsetY);t.match({Nothing:()=>{},Just:e=>{N.match({Nothing:()=>{j(t)},Just:n=>{e.i===n.i&&e.j===n.j?j(fr.nothing()):j(t)}})}})}}),e.jsx("canvas",{height:"0","data-testid":"flamegraph-text-canvas",className:hl("flamegraph-text-canvas",As),ref:r}),i&&a&&e.jsx(zs,{barHeight:Wr,canvasRef:a,zoom:N,xyToHighlightData:z}),i&&e.jsx(Ps,{barHeight:Wr,node:G})]}),R?e.jsx(vc,{}):""]}),i&&e.jsx(fc,{format:I.format,canvasRef:a,xyToData:(e,t)=>ne().xyToBar(e,t),numTicks:I.numTicks,sampleRate:I.sampleRate,leftTicks:"double"===I.format?I.leftTicks:0,rightTicks:"double"===I.format?I.rightTicks:0,units:I.units,palette:O}),!C&&i&&a&&e.jsx(xc,{canvasRef:a,xyToMenuItems:T,onClose:()=>{Q(fr.nothing())},onOpen:(e,t)=>{Q(z(e,t))}})]})}s(".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:0;width:1em}.styles-module_flamegraphFrame__9ZW-z{background-color:transparent;border:1px solid var(--ps-ui-border);border-radius:6px;min-height:var(--kylin-flamegraph-pane-min-height,320px);padding:6px 8px 8px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxxQ0FDRSxNQUFPLENBQ1AsaUJBQ0YsQ0FDQSx1SkFHRSxjQUFlLENBRGYsU0FFRixDQUVBLHNDQUlFLDRCQUE2QixDQUg3QixvQ0FBcUMsQ0FDckMsaUJBQWtCLENBR2xCLHdEQUEwRCxDQUYxRCxtQkFHRiIsImZpbGUiOiJzdHlsZXMubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZmxhbWVncmFwaFBhbmUge1xuICBmbGV4OiAxO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG59XG4uZmxhbWVncmFwaFBhbmUgLmZpdE1vZGVJdGVtIHN2Zyxcbi5mbGFtZWdyYXBoUGFuZSAuc2FuZHdpY2hJdGVtIHN2ZyB7XG4gIHdpZHRoOiAxZW07XG4gIG1hcmdpbi1yaWdodDogMDtcbn1cblxuLmZsYW1lZ3JhcGhGcmFtZSB7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIGJvcmRlci1yYWRpdXM6IDZweDtcbiAgcGFkZGluZzogNnB4IDhweCA4cHg7XG4gIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50O1xuICBtaW4taGVpZ2h0OiB2YXIoLS1reWxpbi1mbGFtZWdyYXBoLXBhbmUtbWluLWhlaWdodCwgMzIwcHgpO1xufSJdfQ== */");var Ec,zc={exports:{}};
12
+ function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Q(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function x(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=F(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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 i,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}function y(e,t,n){return(t=Q(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||F(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 I(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||F(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 Q(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function B(e){return B="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},B(e)}function F(e,t){if(e){if("string"==typeof e)return g(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}var Z=function(){},N={},k={},L=null,C={mark:Z,measure:Z};try{"undefined"!=typeof window&&(N=window),"undefined"!=typeof document&&(k=document),"undefined"!=typeof MutationObserver&&(L=MutationObserver),"undefined"!=typeof performance&&(C=performance)}catch(ne){}var _=(N.navigator||{}).userAgent,W=void 0===_?"":_,X=N,R=k,U=L,D=C;X.document;var j,S=!!R.documentElement&&!!R.head&&"function"==typeof R.addEventListener&&"function"==typeof R.createElement,M=~W.indexOf("MSIE")||~W.indexOf("Trident/"),Y={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"}},V=["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",A="duotone",J="sharp",E="sharp-duotone",T="chisel",z="etch",H="jelly",P="jelly-duo",$="jelly-fill",K="notdog",q="notdog-duo",ee="slab",te="slab-press",ne="thumbprint",re="utility",ae="utility-duo",ie="utility-fill",oe="whiteboard",se=[O,A,J,E,T,z,H,P,$,K,q,ee,te,ne,re,ae,ie,oe];y(y(y(y(y(y(y(y(y(y(j={},O,"Classic"),A,"Duotone"),J,"Sharp"),E,"Sharp Duotone"),T,"Chisel"),z,"Etch"),H,"Jelly"),P,"Jelly Duo"),$,"Jelly Fill"),K,"Notdog"),y(y(y(y(y(y(y(y(j,q,"Notdog Duo"),ee,"Slab"),te,"Slab Press"),ne,"Thumbprint"),re,"Utility"),ae,"Utility Duo"),ie,"Utility Fill"),oe,"Whiteboard");var le=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}]]),ce=["fak","fa-kit","fakd","fa-kit-duotone"],ue={fak:"kit","fa-kit":"kit"},de={fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"};y(y({},"kit","Kit"),"kit-duotone","Kit Duotone");var he,me={kit:"fak"},fe={"kit-duotone":"fakd"},be="duotone-group",ge="swap-opacity",pe="primary",xe="secondary";y(y(y(y(y(y(y(y(y(y(he={},"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"),y(y(y(y(y(y(y(y(he,"notdog-duo","Notdog Duo"),"slab","Slab"),"slab-press","Slab Press"),"thumbprint","Thumbprint"),"utility","Utility"),"utility-duo","Utility Duo"),"utility-fill","Utility Fill"),"whiteboard","Whiteboard");y(y({},"kit","Kit"),"kit-duotone","Kit Duotone");var ye={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"}},ve=["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"]),Ge=[1,2,3,4,5,6,7,8,9,10],we=Ge.concat([11,12,13,14,15,16,17,18,19,20]),Ie=[].concat(I(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",be,ge,pe,xe]).concat(Ge.map(function(e){return"".concat(e,"x")})).concat(we.map(function(e){return"w-".concat(e)})),Qe="___FONT_AWESOME___",Be="svg-inline--fa",Fe="data-fa-i2svg",Ze="data-fa-pseudo-element",Ne="data-prefix",ke="data-icon",Le="fontawesome-i2svg",Ce=["HTML","HEAD","STYLE","SCRIPT"],_e=["::before","::after",":before",":after"],We=function(){try{return"production"===process.env.NODE_ENV}catch(e){return!1}}();function Xe(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[O]}})}var Re=G({},Y);Re[O]=G(G(G(G({},{"fa-duotone":"duotone"}),Y[O]),ue),de);var Ue=Xe(Re),De=G({},{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"}});De[O]=G(G(G(G({},{duotone:"fad"}),De[O]),me),fe);var je=Xe(De),Se=G({},ye);Se[O]=G(G({},Se[O]),{fak:"fa-kit"});var Me=Xe(Se),Ye=G({},{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"}});Ye[O]=G(G({},Ye[O]),{"fa-kit":"fak"}),Xe(Ye);var Ve=/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",Ae=/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;Xe(G({},{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 Je=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ee={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},Te=[].concat(I(["kit"]),I(Ie)),ze=X.FontAwesomeConfig||{};if(R&&"function"==typeof R.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=w(e,2),n=t[0],r=t[1],a=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=R.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=a&&(ze[r]=a)})}var He={styleDefault:"solid",familyDefault:O,cssPrefix:"fa",replacementClass:Be,autoReplaceSvg:!0,autoAddCss:!0,searchPseudoElements:!1,searchPseudoElementsWarnings:!0,searchPseudoElementsFullScan:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ze.familyPrefix&&(ze.cssPrefix=ze.familyPrefix);var Pe=G(G({},He),ze);Pe.autoReplaceSvg||(Pe.observeMutations=!1);var $e={};Object.keys(He).forEach(function(e){Object.defineProperty($e,e,{enumerable:!0,set:function(t){Pe[e]=t,Ke.forEach(function(e){return e($e)})},get:function(){return Pe[e]}})}),Object.defineProperty($e,"familyPrefix",{enumerable:!0,set:function(e){Pe.cssPrefix=e,Ke.forEach(function(e){return e($e)})},get:function(){return Pe.cssPrefix}}),X.FontAwesomeConfig=$e;var Ke=[];var qe=16,et={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function tt(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function nt(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function rt(e){return e.classList?nt(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(e){return e})}function at(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function it(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function ot(e){return e.size!==et.size||e.x!==et.x||e.y!==et.y||e.rotate!==et.rotate||e.flipX||e.flipY}function st(){var e="fa",t=Be,n=$e.cssPrefix,r=$e.replacementClass,a=':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(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");a=a.replace(i,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(s,".".concat(r))}return a}var lt=!1;function ct(){$e.autoAddCss&&!lt&&(!function(e){if(e&&S){var t=R.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=R.head.childNodes,r=null,a=n.length-1;a>-1;a--){var i=n[a],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=i)}R.head.insertBefore(t,r)}}(st()),lt=!0)}var ut={mixout:function(){return{dom:{css:st,insertCss:ct}}},hooks:function(){return{beforeDOMElementCreation:function(){ct()},beforeI2svg:function(){ct()}}}},dt=X||{};dt[Qe]||(dt[Qe]={}),dt[Qe].styles||(dt[Qe].styles={}),dt[Qe].hooks||(dt[Qe].hooks={}),dt[Qe].shims||(dt[Qe].shims=[]);var ht=dt[Qe],mt=[],ft=function(){R.removeEventListener("DOMContentLoaded",ft),bt=1,mt.map(function(e){return e()})},bt=!1;function gt(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,a=e.children,i=void 0===a?[]:a;return"string"==typeof e?at(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(at(e[n]),'" ')},"").trim()}(r),">").concat(i.map(gt).join(""),"</").concat(t,">")}function pt(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}S&&((bt=(R.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(R.readyState))||R.addEventListener("DOMContentLoaded",ft));var xt=function(e,t,n,r){var a,i,o,s=Object.keys(e),l=s.length,c=t;for(void 0===n?(a=1,o=e[s[0]]):(a=0,o=n);a<l;a++)o=c(o,e[i=s[a]],i,e);return o};function yt(e){return 1!==I(e).length?null:e.codePointAt(0).toString(16)}function vt(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t},{})}function Gt(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,a=vt(t);"function"!=typeof ht.hooks.addPack||r?ht.styles[e]=G(G({},ht.styles[e]||{}),a):ht.hooks.addPack(e,vt(t)),"fas"===e&&Gt("fa",t)}var wt=ht.styles,It=ht.shims,Qt=Object.keys(Me),Bt=Qt.reduce(function(e,t){return e[t]=Object.keys(Me[t]),e},{}),Ft=null,Zt={},Nt={},kt={},Lt={},Ct={};function _t(e,t){var n,r=t.split("-"),a=r[0],i=r.slice(1).join("-");return a!==e||""===i||(n=i,~Te.indexOf(n))?null:i}var Wt,Xt=function(){var e=function(e){return xt(wt,function(t,n,r){return t[r]=xt(n,e,{}),t},{})};Zt=e(function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter(function(e){return"number"==typeof e}).forEach(function(t){e[t.toString(16)]=n});return e}),Nt=e(function(e,t,n){(e[n]=n,t[2])&&t[2].filter(function(e){return"string"==typeof e}).forEach(function(t){e[t]=n});return e}),Ct=e(function(e,t,n){var r=t[2];return e[n]=n,r.forEach(function(t){e[t]=n}),e});var t="far"in wt||$e.autoFetchSvg,n=xt(It,function(e,n){var r=n[0],a=n[1],i=n[2];return"far"!==a||t||(a="fas"),"string"==typeof r&&(e.names[r]={prefix:a,iconName:i}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:a,iconName:i}),e},{names:{},unicodes:{}});kt=n.names,Lt=n.unicodes,Ft=St($e.styleDefault,{family:$e.familyDefault})};function Rt(e,t){return(Zt[e]||{})[t]}function Ut(e,t){return(Ct[e]||{})[t]}function Dt(e){return kt[e]||{prefix:null,iconName:null}}function jt(){return Ft}Wt=function(e){Ft=St(e.styleDefault,{family:$e.familyDefault})},Ke.push(Wt),Xt();function St(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?O:t,r=Ue[n][e];if(n===A&&!e)return"fad";var a=je[n][e]||je[n][r],i=e in ht.styles?e:null;return a||i||null}function Mt(e){return e.sort().filter(function(e,t,n){return n.indexOf(e)===t})}var Yt=ve.concat(ce);function Vt(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,n=void 0!==t&&t,r=null,a=Mt(e.filter(function(e){return Yt.includes(e)})),i=Mt(e.filter(function(e){return!Yt.includes(e)})),o=w(a.filter(function(e){return r=e,!V.includes(e)}),1)[0],s=void 0===o?null:o,l=function(e){var t=O,n=Qt.reduce(function(e,t){return e[t]="".concat($e.cssPrefix,"-").concat(t),e},{});return se.forEach(function(r){(e.includes(n[r])||e.some(function(e){return Bt[r].includes(e)}))&&(t=r)}),t}(a),c=G(G({},function(e){var t=[],n=null;return e.forEach(function(e){var r=_t($e.cssPrefix,e);r?n=r:e&&t.push(e)}),{iconName:n,rest:t}}(i)),{},{prefix:St(s,{family:l})});return G(G(G({},c),function(e){var t=e.values,n=e.family,r=e.canonical,a=e.givenPrefix,i=void 0===a?"":a,o=e.styles,s=void 0===o?{}:o,l=e.config,c=void 0===l?{}:l,u=n===A,d=t.includes("fa-duotone")||t.includes("fad"),h="duotone"===c.familyDefault,m="fad"===r.prefix||"fa-duotone"===r.prefix;!u&&(d||h||m)&&(r.prefix="fad");(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab");if(!r.prefix&&Ot.includes(n)){if(Object.keys(s).find(function(e){return At.includes(e)})||c.autoFetchSvg){var f=le.get(n).defaultShortPrefixId;r.prefix=f,r.iconName=Ut(r.prefix,r.iconName)||r.iconName}}"fa"!==r.prefix&&"fa"!==i||(r.prefix=jt()||"fas");return r}({values:e,family:l,styles:wt,config:$e,canonical:c,givenPrefix:r})),function(e,t,n){var r=n.prefix,a=n.iconName;if(e||!r||!a)return{prefix:r,iconName:a};var i="fa"===t?Dt(a):{},o=Ut(r,a);a=i.iconName||o||a,"far"!==(r=i.prefix||r)||wt.far||!wt.fas||$e.autoFetchSvg||(r="fas");return{prefix:r,iconName:a}}(n,r,c))}var Ot=se.filter(function(e){return e!==O||e!==A}),At=Object.keys(ye).filter(function(e){return e!==O}).map(function(e){return Object.keys(ye[e])}).flat();var Jt=function(){return p(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,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=n.reduce(this._pullDefinitions,{});Object.keys(a).forEach(function(t){e.definitions[t]=G(G({},e.definitions[t]||{}),a[t]),Gt(t,a[t]);var n=Me[O][t];n&&Gt(n,a[t]),Xt()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map(function(t){var r=n[t],a=r.prefix,i=r.iconName,o=r.icon,s=o[2];e[a]||(e[a]={}),s.length>0&&s.forEach(function(t){"string"==typeof t&&(e[a][t]=o)}),e[a][i]=o}),e}}])}(),Et=[],Tt={},zt={},Ht=Object.keys(zt);function Pt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];return(Tt[e]||[]).forEach(function(e){t=e.apply(null,[t].concat(r))}),t}function $t(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(Tt[e]||[]).forEach(function(e){e.apply(null,n)})}function Kt(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return zt[e]?zt[e].apply(null,t):void 0}function qt(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||jt();if(t)return t=Ut(n,t)||t,pt(en.definitions,n,t)||pt(ht.styles,n,t)}var en=new Jt,tn={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return S?($t("beforeI2svg",e),Kt("pseudoElements2svg",e),Kt("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]:{},n=t.autoReplaceSvgRoot;!1===$e.autoReplaceSvg&&($e.autoReplaceSvg=!0),$e.observeMutations=!0,e=function(){rn({autoReplaceSvgRoot:n}),$t("watch",t)},S&&(bt?setTimeout(e,0):mt.push(e))}},nn={noAuto:function(){$e.autoReplaceSvg=!1,$e.observeMutations=!1,$t("noAuto")},config:$e,dom:tn,parse:{icon:function(e){if(null===e)return null;if("object"===B(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Ut(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],n=St(e[0]);return{prefix:n,iconName:Ut(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat($e.cssPrefix,"-"))>-1||e.match(Ve))){var r=Vt(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||jt(),iconName:Ut(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var a=jt();return{prefix:a,iconName:Ut(a,e)||e}}}},library:en,findIconDefinition:qt,toHtml:gt},rn=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?R:e;(Object.keys(ht.styles).length>0||$e.autoFetchSvg)&&S&&$e.autoReplaceSvg&&nn.dom.i2svg({node:t})};function an(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return gt(e)})}}),Object.defineProperty(e,"node",{get:function(){if(S){var t=R.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function on(e){var t=e.icons,n=t.main,r=t.mask,a=e.prefix,i=e.iconName,o=e.transform,s=e.symbol,l=e.maskId,c=e.extra,u=e.watchable,d=void 0!==u&&u,h=r.found?r:n,m=h.width,f=h.height,b=[$e.replacementClass,i?"".concat($e.cssPrefix,"-").concat(i):""].filter(function(e){return-1===c.classes.indexOf(e)}).filter(function(e){return""!==e||!!e}).concat(c.classes).join(" "),g={children:[],attributes:G(G({},c.attributes),{},{"data-prefix":a,"data-icon":i,class:b,role:c.attributes.role||"img",viewBox:"0 0 ".concat(m," ").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"),d&&(g.attributes[Fe]="");var p=G(G({},g),{},{prefix:a,iconName:i,main:n,mask:r,maskId:l,transform:o,symbol:s,styles:G({},c.styles)}),x=r.found&&n.found?Kt("generateAbstractMask",p)||{children:[],attributes:{}}:Kt("generateAbstractIcon",p)||{children:[],attributes:{}},y=x.children,v=x.attributes;return p.children=y,p.attributes=v,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,a=e.attributes,i=e.symbol,o=!0===i?"".concat(t,"-").concat($e.cssPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:G(G({},a),{},{id:o}),children:r}]}]}(p):function(e){var t=e.children,n=e.main,r=e.mask,a=e.attributes,i=e.styles,o=e.transform;if(ot(o)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};a.style=it(G(G({},i),{},{"transform-origin":"".concat(s.x+o.x/16,"em ").concat(s.y+o.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}(p)}function sn(e){var t=e.content,n=e.width,r=e.height,a=e.transform,i=e.extra,o=e.watchable,s=void 0!==o&&o,l=G(G({},i.attributes),{},{class:i.classes.join(" ")});s&&(l[Fe]="");var c=G({},i.styles);ot(a)&&(c.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,a=e.height,i=void 0===a?16:a,o="";return o+=M?"translate(".concat(t.x/qe-r/2,"em, ").concat(t.y/qe-i/2,"em) "):"translate(calc(-50% + ".concat(t.x/qe,"em), calc(-50% + ").concat(t.y/qe,"em)) "),o+="scale(".concat(t.size/qe*(t.flipX?-1:1),", ").concat(t.size/qe*(t.flipY?-1:1),") "),o+"rotate(".concat(t.rotate,"deg) ")}({transform:a,width:n,height:r}),c["-webkit-transform"]=c.transform);var u=it(c);u.length>0&&(l.style=u);var d=[];return d.push({tag:"span",attributes:l,children:[t]}),d}var ln=ht.styles;function cn(e){var t=e[0],n=e[1],r=w(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat($e.cssPrefix,"-").concat(Ee.GROUP)},children:[{tag:"path",attributes:{class:"".concat($e.cssPrefix,"-").concat(Ee.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat($e.cssPrefix,"-").concat(Ee.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var un={found:!1,width:512,height:512};function dn(e,t){var n=t;return"fa"===t&&null!==$e.styleDefault&&(t=jt()),new Promise(function(r,a){if("fa"===n){var i=Dt(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&ln[t]&&ln[t][e])return r(cn(ln[t][e]));!function(e,t){We||$e.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(G(G({},un),{},{icon:$e.showMissingIcons&&e&&Kt("missingIconAbstract")||{}}))})}var hn=function(){},mn=$e.measurePerformance&&D&&D.mark&&D.measure?D:{mark:hn,measure:hn},fn='FA "7.1.0"',bn=function(e){mn.mark("".concat(fn," ").concat(e," ends")),mn.measure("".concat(fn," ").concat(e),"".concat(fn," ").concat(e," begins"),"".concat(fn," ").concat(e," ends"))},gn=function(e){return mn.mark("".concat(fn," ").concat(e," begins")),function(){return bn(e)}},pn=function(){};function xn(e){return"string"==typeof(e.getAttribute?e.getAttribute(Fe):null)}function yn(e){return R.createElementNS("http://www.w3.org/2000/svg",e)}function vn(e){return R.createElement(e)}function Gn(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?yn:vn:t;if("string"==typeof e)return R.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(t){r.setAttribute(t,e.attributes[t])}),(e.children||[]).forEach(function(e){r.appendChild(Gn(e,{ceFn:n}))}),r}var wn={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(e){t.parentNode.insertBefore(Gn(e),t)}),null===t.getAttribute(Fe)&&$e.keepOriginalSource){var n=R.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~rt(t).indexOf($e.replacementClass))return wn.replace(e);var r=new RegExp("".concat($e.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var a=n[0].attributes.class.split(" ").reduce(function(e,t){return t===$e.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e},{toNode:[],toSvg:[]});n[0].attributes.class=a.toSvg.join(" "),0===a.toNode.length?t.removeAttribute("class"):t.setAttribute("class",a.toNode.join(" "))}var i=n.map(function(e){return gt(e)}).join("\n");t.setAttribute(Fe,""),t.innerHTML=i}};function In(e){e()}function Qn(e,t){var n="function"==typeof t?t:pn;if(0===e.length)n();else{var r=In;"async"===$e.mutateApproach&&(r=X.requestAnimationFrame||In),r(function(){var t=!0===$e.autoReplaceSvg?wn.replace:wn[$e.autoReplaceSvg]||wn.replace,r=gn("mutate");e.map(t),r(),n()})}}var Bn=!1;function Fn(){Bn=!0}function Zn(){Bn=!1}var Nn=null;function kn(e){if(U&&$e.observeMutations){var t=e.treeCallback,n=void 0===t?pn:t,r=e.nodeCallback,a=void 0===r?pn:r,i=e.pseudoElementsCallback,o=void 0===i?pn:i,s=e.observeMutationsRoot,l=void 0===s?R:s;Nn=new U(function(e){if(!Bn){var t=jt();nt(e).forEach(function(e){if("childList"===e.type&&e.addedNodes.length>0&&!xn(e.addedNodes[0])&&($e.searchPseudoElements&&o(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&$e.searchPseudoElements&&o([e.target],!0),"attributes"===e.type&&xn(e.target)&&~Je.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Ne):null,n=e.getAttribute?e.getAttribute(ke):null;return t&&n}(e.target)){var r=Vt(rt(e.target)),i=r.prefix,s=r.iconName;e.target.setAttribute(Ne,i||t),s&&e.target.setAttribute(ke,s)}else(l=e.target)&&l.classList&&l.classList.contains&&l.classList.contains($e.replacementClass)&&a(e.target);var l})}}),S&&Nn.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Ln(e){var t,n,r=e.getAttribute("data-prefix"),a=e.getAttribute("data-icon"),i=void 0!==e.innerText?e.innerText.trim():"",o=Vt(rt(e));return o.prefix||(o.prefix=jt()),r&&a&&(o.prefix=r,o.iconName=a),o.iconName&&o.prefix||(o.prefix&&i.length>0&&(o.iconName=(t=o.prefix,n=e.innerText,(Nt[t]||{})[n]||Rt(o.prefix,yt(e.innerText)))),!o.iconName&&$e.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function Cn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Ln(e),r=n.iconName,a=n.prefix,i=n.rest,o=function(e){return nt(e.attributes).reduce(function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e},{})}(e),s=Pt("parseNodeAttributes",{},e),l=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(e,t){var n=t.split(":"),r=n[0],a=n.slice(1);return r&&a.length>0&&(e[r]=a.join(":").trim()),e},{})),n}(e):[];return G({iconName:r,prefix:a,transform:et,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:l,attributes:o}},s)}var _n=ht.styles;function Wn(e){var t="nest"===$e.autoReplaceSvg?Cn(e,{styleParser:!1}):Cn(e);return~t.extra.classes.indexOf(Oe)?Kt("generateLayersText",e,t):Kt("generateSvgReplacementMutation",e,t)}function Xn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!S)return Promise.resolve();var n=R.documentElement.classList,r=function(e){return n.add("".concat(Le,"-").concat(e))},a=function(e){return n.remove("".concat(Le,"-").concat(e))},i=$e.autoFetchSvg?[].concat(I(ce),I(ve)):V.concat(Object.keys(_n));i.includes("fa")||i.push("fa");var o=[".".concat(Oe,":not([").concat(Fe,"])")].concat(i.map(function(e){return".".concat(e,":not([").concat(Fe,"])")})).join(", ");if(0===o.length)return Promise.resolve();var s=[];try{s=nt(e.querySelectorAll(o))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),a("complete");var l=gn("onTree"),c=s.reduce(function(e,t){try{var n=Wn(t);n&&e.push(n)}catch(e){We||"MissingIcon"===e.name&&console.error(e)}return e},[]);return new Promise(function(e,n){Promise.all(c).then(function(n){Qn(n,function(){r("active"),r("complete"),a("pending"),"function"==typeof t&&t(),l(),e()})}).catch(function(e){l(),n(e)})})}function Rn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Wn(e).then(function(e){e&&Qn([e],t)})}var Un=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?et:n,a=t.symbol,i=void 0!==a&&a,o=t.mask,s=void 0===o?null:o,l=t.maskId,c=void 0===l?null:l,u=t.classes,d=void 0===u?[]:u,h=t.attributes,m=void 0===h?{}:h,f=t.styles,b=void 0===f?{}:f;if(e){var g=e.prefix,p=e.iconName,x=e.icon;return an(G({type:"icon"},e),function(){return $t("beforeDOMElementCreation",{iconDefinition:e,params:t}),on({icons:{main:cn(x),mask:s?cn(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:g,iconName:p,transform:G(G({},et),r),symbol:i,maskId:c,extra:{attributes:m,styles:b,classes:d}})})}},Dn={mixout:function(){return{icon:(e=Un,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:qt(t||{}),a=n.mask;return a&&(a=(a||{}).icon?a:qt(a||{})),e(r,G(G({},n),{},{mask:a}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Xn,e.nodeCallback=Rn,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?R:t,r=e.callback;return Xn(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.prefix,a=t.transform,i=t.symbol,o=t.mask,s=t.maskId,l=t.extra;return new Promise(function(t,c){Promise.all([dn(n,r),o.iconName?dn(o.iconName,o.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(o){var c=w(o,2),u=c[0],d=c[1];t([e,on({icons:{main:u,mask:d},prefix:r,iconName:n,transform:a,symbol:i,maskId:s,extra:l,watchable:!0})])}).catch(c)})},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,a=e.main,i=e.transform,o=it(e.styles);return o.length>0&&(r.style=o),ot(i)&&(t=Kt("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),n.push(t||a.icon),{children:n,attributes:r}}}},jn={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return an({type:"layer"},function(){$t("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e(function(e){Array.isArray(e)?e.map(function(e){n=n.concat(e.abstract)}):n=n.concat(e.abstract)}),[{tag:"span",attributes:{class:["".concat($e.cssPrefix,"-layers")].concat(I(r)).join(" ")},children:n}]})}}}},Sn={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.title;var n=t.classes,r=void 0===n?[]:n,a=t.attributes,i=void 0===a?{}:a,o=t.styles,s=void 0===o?{}:o;return an({type:"counter",content:e},function(){return $t("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.extra,r=G(G({},n.attributes),{},{class:n.classes.join(" ")}),a=it(n.styles);a.length>0&&(r.style=a);var i=[];return i.push({tag:"span",attributes:r,children:[t]}),i}({content:e.toString(),extra:{attributes:i,styles:s,classes:["".concat($e.cssPrefix,"-layers-counter")].concat(I(r))}})})}}}},Mn={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?et:n,a=t.classes,i=void 0===a?[]:a,o=t.attributes,s=void 0===o?{}:o,l=t.styles,c=void 0===l?{}:l;return an({type:"text",content:e},function(){return $t("beforeDOMElementCreation",{content:e,params:t}),sn({content:e,transform:G(G({},et),r),extra:{attributes:s,styles:c,classes:["".concat($e.cssPrefix,"-layers-text")].concat(I(i))}})})}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.transform,r=t.extra,a=null,i=null;if(M){var o=parseInt(getComputedStyle(e).fontSize,10),s=e.getBoundingClientRect();a=s.width/o,i=s.height/o}return Promise.resolve([e,sn({content:e.innerHTML,width:a,height:i,transform:n,extra:r,watchable:!0})])}}},Yn=new RegExp('"',"ug"),Vn=[1105920,1112319],On=G(G(G(G({},{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"}}),An=Object.keys(On).reduce(function(e,t){return e[t.toLowerCase()]=On[t],e},{}),Jn=Object.keys(An).reduce(function(e,t){var n=An[t];return e[t]=n[900]||I(Object.entries(n))[0][1],e},{});function En(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(function(r,a){if(null!==e.getAttribute(n))return r();var i,o,s,l=nt(e.children).filter(function(e){return e.getAttribute(Ze)===t})[0],c=X.getComputedStyle(e,t),u=c.getPropertyValue("font-family"),d=u.match(Ae),h=c.getPropertyValue("font-weight"),m=c.getPropertyValue("content");if(l&&!d)return e.removeChild(l),r();if(d&&"none"!==m&&""!==m){var f=c.getPropertyValue("content"),b=function(e,t){var n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),a=isNaN(r)?"normal":r;return(An[n]||{})[a]||Jn[n]}(u,h),g=function(e){return yt(I(e.replace(Yn,""))[0]||"")}(f),p=d[0].startsWith("FontAwesome"),x=function(e){var t=e.getPropertyValue("font-feature-settings").includes("ss01"),n=e.getPropertyValue("content").replace(Yn,""),r=n.codePointAt(0),a=r>=Vn[0]&&r<=Vn[1],i=2===n.length&&n[0]===n[1];return a||i||t}(c),y=Rt(b,g),v=y;if(p){var w=(o=Lt[i=g],s=Rt("fas",i),o||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});w.iconName&&w.prefix&&(y=w.iconName,b=w.prefix)}if(!y||x||l&&l.getAttribute(Ne)===b&&l.getAttribute(ke)===v)r();else{e.setAttribute(n,v),l&&e.removeChild(l);var Q={iconName:null,prefix:null,transform:et,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},B=Q.extra;B.attributes[Ze]=t,dn(y,b).then(function(a){var i=on(G(G({},Q),{},{icons:{main:a,mask:{prefix:null,iconName:null,rest:[]}},prefix:b,iconName:v,extra:B,watchable:!0})),o=R.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(o,e.firstChild):e.appendChild(o),o.outerHTML=i.map(function(e){return gt(e)}).join("\n"),e.removeAttribute(n),r()}).catch(a)}}else r()})}function Tn(e){return Promise.all([En(e,"::before"),En(e,"::after")])}function zn(e){return!(e.parentNode===document.head||~Ce.indexOf(e.tagName.toUpperCase())||e.getAttribute(Ze)||e.parentNode&&"svg"===e.parentNode.tagName)}var Hn=function(e){return!!e&&_e.some(function(t){return e.includes(t)})},Pn=function(e){if(!e)return[];var t=new Set,n=e.split(/,(?![^()]*\))/).map(function(e){return e.trim()});n=n.flatMap(function(e){return e.includes("(")?e:e.split(",").map(function(e){return e.trim()})});var r,a=x(n);try{for(a.s();!(r=a.n()).done;){var i=r.value;if(Hn(i)){var o=_e.reduce(function(e,t){return e.replace(t,"")},i);""!==o&&"*"!==o&&t.add(o)}}}catch(e){a.e(e)}finally{a.f()}return t};function $n(e){if(S){var t;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])t=e;else if($e.searchPseudoElementsFullScan)t=e.querySelectorAll("*");else{var n,r=new Set,a=x(document.styleSheets);try{for(a.s();!(n=a.n()).done;){var i=n.value;try{var o,s=x(i.cssRules);try{for(s.s();!(o=s.n()).done;){var l,c=o.value,u=x(Pn(c.selectorText));try{for(u.s();!(l=u.n()).done;){var d=l.value;r.add(d)}}catch(e){u.e(e)}finally{u.f()}}}catch(e){s.e(e)}finally{s.f()}}catch(e){$e.searchPseudoElementsWarnings&&console.warn("Font Awesome: cannot parse stylesheet: ".concat(i.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){a.e(e)}finally{a.f()}if(!r.size)return;var h=Array.from(r).join(", ");try{t=e.querySelectorAll(h)}catch(e){}}return new Promise(function(e,n){var r=nt(t).filter(zn).map(Tn),a=gn("searchPseudoElements");Fn(),Promise.all(r).then(function(){a(),Zn(),e()}).catch(function(){a(),Zn(),n()})})}}var Kn={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=$n,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?R:t;$e.searchPseudoElements&&$n(n)}}},qn=!1,er=function(e){return e.toLowerCase().split(" ").reduce(function(e,t){var n=t.toLowerCase().split("-"),r=n[0],a=n.slice(1).join("-");if(r&&"h"===a)return e.flipX=!0,e;if(r&&"v"===a)return e.flipY=!0,e;if(a=parseFloat(a),isNaN(a))return e;switch(r){case"grow":e.size=e.size+a;break;case"shrink":e.size=e.size-a;break;case"left":e.x=e.x-a;break;case"right":e.x=e.x+a;break;case"up":e.y=e.y-a;break;case"down":e.y=e.y+a;break;case"rotate":e.rotate=e.rotate+a}return e},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},tr={mixout:function(){return{parse:{transform:function(e){return er(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=er(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,a=e.iconWidth,i={transform:"translate(".concat(r/2," 256)")},o="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={outer:i,inner:{transform:"".concat(o," ").concat(s," ").concat(l)},path:{transform:"translate(".concat(a/2*-1," -256)")}};return{tag:"g",attributes:G({},c.outer),children:[{tag:"g",attributes:G({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:G(G({},t.icon.attributes),c.path)}]}]}}}},nr={x:0,y:0,width:"100%",height:"100%"};function rr(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 ar={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?Vt(n.split(" ").map(function(e){return e.trim()})):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=jt()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,a=e.main,i=e.mask,o=e.maskId,s=e.transform,l=a.width,c=a.icon,u=i.width,d=i.icon,h=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,a={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(i," ").concat(o," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:s,containerWidth:u,iconWidth:l}),m={tag:"rect",attributes:G(G({},nr),{},{fill:"white"})},f=c.children?{children:c.children.map(rr)}:{},b={tag:"g",attributes:G({},h.inner),children:[rr(G({tag:c.tag,attributes:G(G({},c.attributes),h.path)},f))]},g={tag:"g",attributes:G({},h.outer),children:[b]},p="mask-".concat(o||tt()),x="clip-".concat(o||tt()),y={tag:"mask",attributes:G(G({},nr),{},{id:p,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,g]},v={tag:"defs",children:[{tag:"clipPath",attributes:{id:x},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(v,{tag:"rect",attributes:G({fill:"currentColor","clip-path":"url(#".concat(x,")"),mask:"url(#".concat(p,")")},nr)}),{children:n,attributes:r}}}},ir={provides:function(e){var t=!1;X.matchMedia&&(t=X.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:G(G({},n),{},{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 a=G(G({},r),{},{attributeName:"opacity"}),i={tag:"circle",attributes:G(G({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:G(G({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:G(G({},a),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:G(G({},n),{},{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:G(G({},a),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:G(G({},n),{},{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:G(G({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){var n=t.mixoutsTo;Et=e,Tt={},Object.keys(zt).forEach(function(e){-1===Ht.indexOf(e)&&delete zt[e]}),Et.forEach(function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach(function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===B(t[e])&&Object.keys(t[e]).forEach(function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]})}),e.hooks){var r=e.hooks();Object.keys(r).forEach(function(e){Tt[e]||(Tt[e]=[]),Tt[e].push(r[e])})}e.provides&&e.provides(zt)})}([ut,Dn,jn,Sn,Mn,Kn,{mixout:function(){return{dom:{unwatch:function(){Fn(),qn=!0}}}},hooks:function(){return{bootstrap:function(){kn(Pt("mutationObserverCallbacks",{}))},noAuto:function(){Nn&&Nn.disconnect()},watch:function(e){var t=e.observeMutationsRoot;qn?Zn():kn(Pt("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},tr,ar,ir,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}],{mixoutsTo:nn});var or=nn.config,sr=nn.parse,lr=nn.icon;function cr(e){return function(e){return(e-=0)==e}(e)?e:(e=e.replace(/[_-]+(.)?/g,(e,t)=>t?t.toUpperCase():"")).charAt(0).toLowerCase()+e.slice(1)}function ur(e){return e.charAt(0).toUpperCase()+e.slice(1)}var dr=new Map;function hr(e){if(dr.has(e))return dr.get(e);const t={};let n=0;const r=e.length;for(;n<r;){const a=e.indexOf(";",n),i=-1===a?r:a,o=e.slice(n,i).trim();if(o){const e=o.indexOf(":");if(e>0){const n=o.slice(0,e).trim(),r=o.slice(e+1).trim();if(n&&r){const e=cr(n);t[e.startsWith("webkit")?ur(e):e]=r}}}n=i+1}if(1e3===dr.size){const e=dr.keys().next().value;e&&dr.delete(e)}return dr.set(e,t),t}var mr=function e(t,n,r={}){if("string"==typeof n)return n;const a=(n.children||[]).map(n=>e(t,n)),i=n.attributes||{},o={};for(const[e,t]of Object.entries(i))switch(!0){case"class"===e:o.className=t;break;case"style"===e:o.style=hr(String(t));break;case e.startsWith("aria-"):case e.startsWith("data-"):o[e.toLowerCase()]=t;break;default:o[cr(e)]=t}const{style:s,role:l,"aria-label":c,...u}=r;return s&&(o.style=o.style?{...o.style,...s}:s),l&&(o.role=l),c&&(o["aria-label"]=c,o["aria-hidden"]="false"),t(n.tag,{...u,...o},...a)}.bind(null,t.createElement),fr=(e,n)=>{const r=t.useId();return e||(n?r:void 0)};"undefined"!=typeof process&&process.env.FA_VERSION;var br="searchPseudoElementsFullScan"in or?"7.0.0":"6.0.0",gr=Number.parseInt(br)>=7,pr="fa",xr="fa-beat",yr="fa-fade",vr="fa-beat-fade",Gr="fa-bounce",wr="fa-shake",Ir="fa-spin",Qr="fa-spin-pulse",Br="fa-spin-reverse",Fr="fa-pulse",Zr={left:"fa-pull-left",right:"fa-pull-right"},Nr={90:"fa-rotate-90",180:"fa-rotate-180",270:"fa-rotate-270"},kr={"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"},Lr="fa-border",Cr="fa-fw",_r="fa-flip",Wr="fa-flip-horizontal",Xr="fa-flip-vertical",Rr="fa-inverse",Ur="fa-rotate-by",Dr="fa-swap-opacity",jr="fa-width-auto";function Sr(e){const t=or.cssPrefix||or.familyPrefix||pr;return t===pr?e:e.replace(new RegExp(String.raw`(?<=^|\s)${pr}-`,"g"),`${t}-`)}function Mr(e){if(e)return(e=>"object"==typeof e&&"icon"in e&&!!e.icon)(e)?e:sr.icon(e)}var Yr=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"),Vr={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},Or=new Set(Object.keys(Vr)),Ar=t.forwardRef((e,t)=>{const n={...Vr,...e},{icon:r,mask:a,symbol:i,title:o,titleId:s,maskId:l,transform:c}=n,u=fr(l,Boolean(a)),d=fr(s,Boolean(o)),h=Mr(r);if(!h)return Yr.error("Icon lookup is undefined",r),null;const m=function(e){const{beat:t,fade:n,beatFade:r,bounce:a,shake:i,spin:o,spinPulse:s,spinReverse:l,pulse:c,fixedWidth:u,inverse:d,border:h,flip:m,size:f,rotation:b,pull:g,swapOpacity:p,rotateBy:x,widthAuto:y,className:v}=e,G=[];return v&&G.push(...v.split(" ")),t&&G.push(xr),n&&G.push(yr),r&&G.push(vr),a&&G.push(Gr),i&&G.push(wr),o&&G.push(Ir),l&&G.push(Br),s&&G.push(Qr),c&&G.push(Fr),u&&G.push(Cr),d&&G.push(Rr),h&&G.push(Lr),!0===m&&G.push(_r),"horizontal"!==m&&"both"!==m||G.push(Wr),"vertical"!==m&&"both"!==m||G.push(Xr),null!=f&&G.push(kr[f]),null!=b&&0!==b&&G.push(Nr[b]),null!=g&&G.push(Zr[g]),p&&G.push(Dr),gr?(x&&G.push(Ur),y&&G.push(jr),(or.cssPrefix||or.familyPrefix||pr)===pr?G:G.map(Sr)):G}(n),f="string"==typeof c?sr.transform(c):c,b=Mr(a),g=lr(h,{...m.length>0&&{classes:m},...f&&{transform:f},...b&&{mask:b},symbol:i,title:o,titleId:d,maskId:u});if(!g)return Yr.error("Could not find icon",h),null;const{abstract:p}=g,x={ref:t};for(const e of(y=n,Object.keys(y)))Or.has(e)||(x[e]=n[e]);var y;return mr(p[0],x)});Ar.displayName="FontAwesomeIcon";var Jr={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"};l(".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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJveC5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxzREFDRSx3Q0FBeUMsQ0FDekMsb0NBQXFDLENBQ3JDLGlCQUFrQixDQUNsQixpQkFDRixDQUVBLDJCQUNFLGtCQUFtQixDQUNuQixZQUNGLENBRUEsK0JBQ0Usa0JBQ0YsQ0FDQSxvSEFDRSw0QkFBNkIsQ0FDN0IsV0FBWSxDQUNaLGVBQWdCLENBRWhCLFdBQVksQ0FEWixnQkFFRixDQUNBLDBMQUNFLFFBQVMsQ0FDVCxRQUFTLENBRVQsZUFBZ0IsQ0FEaEIsU0FFRixDQUVBLGlDQU9FLGtCQUFtQixDQUpuQixjQUFlLENBRWYsWUF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nNvcjogcG9pbnRlcjtcbiAgcGFkZGluZzogNXB4IDEwcHg7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgaGVpZ2h0OiA0MHB4O1xufVxuLmNvbGxhcHNlVGl0bGU6aG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy11aS1ib3JkZXIpO1xufVxuXG4uY29sbGFwc2VJY29uIHtcbiAgZGlzcGxheTogZmxleDtcbiAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDAuMXM7XG59XG4uY29sbGFwc2VJY29uLmNvbGxhcHNlZCB7XG4gIHRyYW5zZm9ybTogcm90YXRlKDkwZGVnKTtcbiAgZGlzcGxheTogZmxleDtcbn0iXX0= */"),b.bind(Jr);const Er=Symbol("BrandTag");const Tr=new class{constructor(e){this[Er]=e}}("unit"),zr=e=>null==e;function Hr(e,t){return void 0!==t?e(t):e}function Pr(e){if(function(e,t){return"object"==typeof e&&null!==e&&t in e}(e,"toString")&&"function"==typeof e.toString){const t=e.toString();return"string"==typeof t?t:JSON.stringify(e)}return JSON.stringify(e)}const $r="Ok",Kr="Err";class qr{constructor(e){this.repr=e}static ok(e){return zr(e)?new qr(["Ok",Tr]):new qr(["Ok",e])}static err(e){return zr(e)?new qr(["Err",Tr]):new qr(["Err",e])}get variant(){return this.repr[0]}get value(){if(this.repr[0]===Kr)throw new Error("Cannot get the value of Err");return this.repr[1]}get error(){if(this.repr[0]===$r)throw new Error("Cannot get the error of Ok");return this.repr[1]}get isOk(){return this.repr[0]===$r}get isErr(){return this.repr[0]===Kr}map(e){return function(e,t){const n=t=>t.isOk?ea(e(t.value)):t;return Hr(n,t)}(e,this)}mapOr(e,t){return function(e,t,n){function r(t,n){return n.isOk?t(n.value):e}function a(e,t){return void 0!==t?r(e,t):t=>r(e,t)}return void 0===t?a:void 0===n?a(t):a(t,n)}(e,t,this)}mapOrElse(e,t){return na(e,t,this)}match(e){return function(e,t){const n=t=>na(e.Err,e.Ok,t);return Hr(n,t)}(e,this)}mapErr(e){return function(e,t){const n=t=>t.isOk?t:ta(e(t.error));return Hr(n,t)}(e,this)}or(e){return function(e,t){const n=t=>t.isOk?ea(t.value):e;return Hr(n,t)}(e,this)}orElse(e){return function(e,t){const n=t=>t.isOk?ea(t.value):e(t.error);return Hr(n,t)}(e,this)}and(e){return function(e,t){const n=t=>t.isOk?e:ta(t.error);return Hr(n,t)}(e,this)}andThen(e){return function(e,t){const n=t=>t.isOk?e(t.value):ta(t.error);return Hr(n,t)}(e,this)}unwrapOr(e){return function(e,t){const n=t=>t.isOk?t.value:e;return Hr(n,t)}(e,this)}unwrapOrElse(e){return function(e,t){const n=t=>t.isOk?t.value:e(t.error);return Hr(n,t)}(e,this)}toMaybe(){return(e=this).isOk?ba.just(e.value):ba.nothing();var e}toString(){return ra(this)}toJSON(){return aa(this)}equals(e){return t=e,void 0!==(n=this)?n.match({Err:()=>t.isErr,Ok:e=>t.isOk&&t.value===e}):e=>e.match({Err:()=>t.isErr,Ok:e=>t.isOk&&t.value===e});var t,n}ap(e){return function(e,t){const n=t=>t.andThen(t=>e.map(e=>e(t)));return Hr(n,t)}(this,e)}}const ea=qr.ok,ta=qr.err;function na(e,t,n){function r(t,n){return n.isOk?t(n.value):e(n.error)}function a(e,t){return void 0!==t?r(e,t):t=>r(e,t)}return void 0===t?a:void 0===n?a(t):a(t,n)}const ra=e=>{const t=e.match({Ok:Pr,Err:Pr});return`${e.variant.toString()}(${t})`},aa=e=>e.isOk?{variant:e.variant,value:e.value}:{variant:e.variant,error:e.error};const ia=qr,oa="Just",sa="Nothing";let la;class ca{constructor(e){if(zr(e))return this.repr=[sa],la||(la=this),la;this.repr=[oa,e]}static of(e){return new ca(e)}static just(e){if(zr(e))throw new Error(`attempted to call "just" with ${e}`);return new ca(e)}static nothing(e){return new ca}get variant(){return this.repr[0]}get value(){if(this.repr[0]===sa)throw new Error("Cannot get the value of `Nothing`");return this.repr[1]}get isJust(){return this.repr[0]===oa}get isNothing(){return this.repr[0]===sa}map(e){return function(e,t){const n=t=>t.isJust?ua(e(t.value)):da();return Hr(n,t)}(e,this)}mapOr(e,t){return function(e,t,n){function r(t,n){return n.isJust?t(n.value):e}function a(e,t){return void 0!==t?r(e,t):t=>r(e,t)}return void 0===t?a:void 0===n?a(t):a(t,n)}(e,t,this)}mapOrElse(e,t){return ha(e,t,this)}match(e){return function(e,t){const n=t=>ha(e.Nothing,e.Just,t);return Hr(n,t)}(e,this)}or(e){return function(e,t){const n=t=>t.isJust?t:e;return void 0!==t?n(t):n}(e,this)}orElse(e){return function(e,t){const n=t=>t.isJust?t:e();return Hr(n,t)}(e,this)}and(e){return function(e,t){const n=t=>t.isJust?e:da();return Hr(n,t)}(e,this)}andThen(e){return ma(e,this)}unwrapOr(e){return function(e,t){const n=t=>t.isJust?t.value:e;return Hr(n,t)}(e,this)}unwrapOrElse(e){return function(e,t){const n=t=>t.isJust?t.value:e();return Hr(n,t)}(e,this)}toOkOrErr(e){return function(e,t){const n=t=>t.isJust?ia.ok(t.value):ia.err(e);return void 0!==t?n(t):n}(e,this)}toOkOrElseErr(e){return function(e,t){return Hr(t=>t.isJust?ia.ok(t.value):ia.err(e()),t)}(e,this)}toString(){return function(e){const t=e.map(e=>`(${Pr(e)})`).unwrapOr("");return`${e.variant}${t}`}(this)}toJSON(){return(e=this).isJust?{variant:e.variant,value:fa(e.value)?e.value.toJSON():e.value}:{variant:e.variant};var e}equals(e){return t=e,Hr(e=>e.match({Just:e=>t.isJust&&t.value===e,Nothing:()=>t.isNothing}),this);var t}ap(e){return function(e,t){const n=t=>t.andThen(t=>e.map(e=>e(t)));return Hr(n,t)}(this,e)}get(e){return function(e,t){return Hr(ma(function(e,t){const n=t=>ba.of(t[e]);return Hr(n,t)}(e)),t)}(e,this)}}const ua=ca.just,da=ca.nothing;function ha(e,t,n){function r(t,n){return n.isJust?t(n.value):e()}function a(e,t){return void 0!==t?r(e,t):t=>r(e,t)}return void 0===t?a:void 0===n?a(t):a(t,n)}function ma(e,t){const n=t=>t.isJust?e(t.value):da();return void 0!==t?n(t):n}function fa(e){return e instanceof ba}const ba=ca,ga=["dotnetspy","ebpfspy","gospy","phpspy","pyspy","rbspy","nodespy","javaspy","pyroscope-rs","scrape","tracing","unknown"],pa=n.z.preprocess(e=>e&&ga.includes(e)?e:"unknown",n.z.enum(ga).default("unknown")),xa=["samples","objects","goroutines","bytes","lock_samples","lock_nanoseconds","trace_samples","exceptions"],ya=n.z.preprocess(e=>"string"==typeof e&&xa.includes(e)?e:"unknown",n.z.enum(["samples","objects","goroutines","bytes","lock_samples","lock_nanoseconds","trace_samples","exceptions","unknown"])),va=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()}),Ga=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:pa,units:ya});n.z.object({version:n.z.number().min(1).max(1).default(1),flamebearer:va,metadata:Ga,leftTicks:n.z.number().optional(),rightTicks:n.z.number().optional()});const wa={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]},Ia={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 Qa(e){switch(e){case"single":return wa;case"double":return Ia;default:throw new Error(`Unsupported type: '${e}'`)}}const Ba=n.z.object({refType:n.z.string(),traceID:n.z.string(),spanID:n.z.string()}),Fa=n.z.object({key:n.z.string(),type:n.z.string(),value:n.z.union([n.z.boolean(),n.z.number(),n.z.string()])}),Za=n.z.object({traceID:n.z.string(),spanID:n.z.string(),flags:n.z.string(),operationName:n.z.string(),references:n.z.array(Ba),startTime:n.z.number(),duration:n.z.number(),tags:n.z.array(Fa),logs:n.z.object({timestamp:n.z.number(),fields:n.z.array(Fa)}),processID:n.z.string(),warnings:n.z.any()}),Na=n.z.object({serviceName:n.z.string(),tags:n.z.array(Fa)});n.z.object({traceID:n.z.string(),spans:n.z.array(Za),processes:n.z.record(Na),warnings:n.z.any()});const ka=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(),ka);const La=22,Ca=21.5;function _a(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}function Wa(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 n=!1;t.startsWith("<")&&(n=!0,t=t.slice(1).trim());const r=t.match(/^([+\-]?)(\d*\.?\d+)\s*(.*)$/);if(!r)return null;const a=r[1]||"",i=r[2],o=(r[3]||"").trim(),s=parseFloat(i);return Number.isFinite(s)?{value:s,unit:o,hasLessThan:n,sign:a}:null}function Xa(e,t=!1){if(!e||!t)return e;const n=Wa(e);if(!n)return e;const{unit:r}=n;let a=r;const i=r.toLowerCase();"ms"===i?a="毫秒":"μs"===i||"µs"===i||"us"===i?a="微秒":"second"===i||"seconds"===i?a="秒":"minute"===i||"minutes"===i||"min"===i||"mins"===i?a="分钟":"hour"===i||"hours"===i?a="小时":"day"===i||"days"===i?a="天":"month"===i||"months"===i?a="月":"year"!==i&&"years"!==i||(a="年");const o=String(e).match(/^([<\s]*)([+\-]?\d*\.?\d+)(.*)$/);if(!o)return e;return`${o[1]||""}${o[2]||""} ${a}`.trim()}const Ra=[{value:1e15,label:"Quad"},{value:1e12,label:"Tri"},{value:1e9,label:"B"},{value:1e6,label:"M"},{value:1e3,label:"K"}];function Ua(e){return Math.round(1e4*e)/100}function Da(e,t){return(t-e)/e*100}function ja(e,t,n){switch(n){case"samples":return new Sa(e/t);case"objects":case"goroutines":case"lock_samples":case"exceptions":return new Ya(e);case"bytes":return new Va(e);case"lock_nanoseconds":return new Ma(e);case"trace_samples":return new Sa(e/t,"",!0);default:return console.warn(`Unsupported unit: '${n}'. Defaulting to ''`),new Sa(e/t," ")}}class Sa{constructor(e,t,n){this.divider=1,this.enableSubsecondPrecision=!1,this.suffix="second",this.durations=[[60,"minute"],[60,"hour"],[24,"day"],[30,"month"],[12,"year"]],this.units="",n&&(this.enableSubsecondPrecision=n,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 n=this.durations[t];if(!n){console.warn("Could not calculate level");break}if(!(e>=n[0]))break;this.divider*=n[0],e/=n[0],this.suffix=n[1]}}format(e,t,n=!0){this.enableSubsecondPrecision&&(t/=1e6);const r=e/t/this.divider;let a=r.toFixed(2);return 0===r?a="0.00":(r>=0&&r<.01||r<=0&&r>-.01)&&(a="< 0.01"),n?`${a} ${this.units||`${this.suffix}${1===r||2===this.suffix.length?"":"s"}`}`:a}formatPrecise(e,t){this.enableSubsecondPrecision&&(t/=1e6);const n=e/t/this.divider;return`${parseFloat(n.toFixed(5))} ${this.units||`${this.suffix}${1===n||2===this.suffix.length?"":"s"}`}`}}class Ma{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 n=this.durations[t];if(!n){console.warn("Could not calculate level");break}if(!(e>=n[0]))break;this.divider*=n[0],e/=n[0],this.suffix=n[1]}}format(e){const t=e/1e9/this.divider;let n=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(n="< 0.01"),`${n} ${this.suffix}${1===t?"":"s"}`}formatPrecise(e){const t=e/1e9/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}${1===t?"":"s"}`}}class Ya{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 n=this.objects[t];if(!n){console.warn("Could not calculate level");break}if(!(e>=n[0]))break;this.divider*=n[0],e/=n[0],this.suffix=n[1]}}format(e){const t=e/this.divider;let n=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(n="< 0.01"),`${n} ${this.suffix}`}formatPrecise(e){const t=e/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}`}}class Va{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 n=this.bytes[t];if(!n){console.warn("Could not calculate level");break}if(!(e>=n[0]))break;{this.divider*=n[0],e/=n[0];const t=n[1];t?this.suffix=t:(console.warn("Could not calculate suffix"),this.suffix="")}}}format(e){const t=e/this.divider;let n=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(n="< 0.01"),`${n} ${this.suffix}`}formatPrecise(e){const t=e/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}`}}const Oa="TAIL",Aa="HEAD";function Ja({mode:e,charSize:t,rectWidth:n,fullText:r,shortText:a}){if(e===Oa){if(t*r.length<=n)return{mode:e,text:r,marginLeft:3};const i=t*a.length;return i<=n?{mode:e,text:a,marginLeft:3}:{mode:e,text:a,marginLeft:-(i-n+3)}}return{mode:e,text:r,marginLeft:3}}function Ea(e){return e===Oa?{direction:"rtl",overflow:"hidden",textOverflow:"ellipsis"}:{overflow:"hidden",textOverflow:"ellipsis"}}const Ta={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};for(const e in Ta)Object.freeze(Ta[e]);var za=Object.freeze(Ta);const Ha=Object.create(null);for(const e in za)Object.hasOwn(za,e)&&(Ha[za[e]]=e);const Pa={to:{},get:{}};function $a(e,t,n){return Math.min(Math.max(t,e),n)}function Ka(e){const t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}Pa.get=function(e){let t,n;switch(e.slice(0,3).toLowerCase()){case"hsl":t=Pa.get.hsl(e),n="hsl";break;case"hwb":t=Pa.get.hwb(e),n="hwb";break;default:t=Pa.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},Pa.get.rgb=function(e){if(!e)return null;let t,n,r,a=[0,0,0,1];if(t=e.match(/^#([a-f\d]{6})([a-f\d]{2})?$/i)){for(r=t[2],t=t[1],n=0;n<3;n++){const e=2*n;a[n]=Number.parseInt(t.slice(e,e+2),16)}r&&(a[3]=Number.parseInt(r,16)/255)}else if(t=e.match(/^#([a-f\d]{3,4})$/i)){for(t=t[1],r=t[3],n=0;n<3;n++)a[n]=Number.parseInt(t[n]+t[n],16);r&&(a[3]=Number.parseInt(r+r,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)\s*(?:[\s,|/]\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(%?)\s*)?\)$/i)){for(n=0;n<3;n++)a[n]=Number.parseFloat(t[n+1]);t[4]&&(a[3]=t[5]?.01*Number.parseFloat(t[4]):Number.parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/i)))return(t=e.toLowerCase().match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:Object.hasOwn(za,t[1])?(a=za[t[1]].slice(),a[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*Number.parseFloat(t[n+1]));t[4]&&(a[3]=t[5]?.01*Number.parseFloat(t[4]):Number.parseFloat(t[4]))}for(n=0;n<3;n++)a[n]=$a(a[n],0,255);return a[3]=$a(a[3],0,1),a},Pa.get.hsl=function(e){if(!e)return null;const t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i);if(t){const e=Number.parseFloat(t[4]);return[(Number.parseFloat(t[1])%360+360)%360,$a(Number.parseFloat(t[2]),0,100),$a(Number.parseFloat(t[3]),0,100),$a(Number.isNaN(e)?1:e,0,1)]}return null},Pa.get.hwb=function(e){if(!e)return null;const t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i);if(t){const e=Number.parseFloat(t[4]);return[(Number.parseFloat(t[1])%360+360)%360,$a(Number.parseFloat(t[2]),0,100),$a(Number.parseFloat(t[3]),0,100),$a(Number.isNaN(e)?1:e,0,1)]}return null},Pa.to.hex=function(...e){return"#"+Ka(e[0])+Ka(e[1])+Ka(e[2])+(e[3]<1?Ka(Math.round(255*e[3])):"")},Pa.to.rgb=function(...e){return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},Pa.to.rgb.percent=function(...e){const t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},Pa.to.hsl=function(...e){return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},Pa.to.hwb=function(...e){let t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},Pa.to.keyword=function(...e){return Ha[e.slice(0,3)]};const qa={};for(const e of Object.keys(za))qa[za[e]]=e;const ei={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},ti=(6/29)**3;function ni(e){const t=e>.0031308?1.055*e**(1/2.4)-.055:12.92*e;return Math.min(Math.max(0,t),1)}function ri(e){return e>.04045?((e+.055)/1.055)**2.4:e/12.92}for(const e of Object.keys(ei)){if(!("channels"in ei[e]))throw new Error("missing channels property: "+e);if(!("labels"in ei[e]))throw new Error("missing channel labels property: "+e);if(ei[e].labels.length!==ei[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=ei[e];delete ei[e].channels,delete ei[e].labels,Object.defineProperty(ei[e],"channels",{value:t}),Object.defineProperty(ei[e],"labels",{value:n})}function ai(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}function ii(e){const t=function(){const e={},t=Object.keys(ei);for(let{length:n}=t,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length>0;){const e=n.pop(),r=Object.keys(ei[e]);for(let{length:a}=r,i=0;i<a;i++){const a=r[i],o=t[a];-1===o.distance&&(o.distance=t[e].distance+1,o.parent=e,n.unshift(a))}}return t}function oi(e,t){return function(n){return t(e(n))}}function si(e,t){const n=[t[e].parent,e];let r=ei[t[e].parent][e],a=t[e].parent;for(;t[a].parent;)n.unshift(t[a].parent),r=oi(ei[t[a].parent][a],r),a=t[a].parent;return r.conversion=n,r}function li(e){const t=ii(e),n={},r=Object.keys(t);for(let{length:e}=r,a=0;a<e;a++){const e=r[a];null!==t[e].parent&&(n[e]=si(e,t))}return n}ei.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,a=Math.min(t,n,r),i=Math.max(t,n,r),o=i-a;let s,l;switch(i){case a:s=0;break;case t:s=(n-r)/o;break;case n:s=2+(r-t)/o;break;case r:s=4+(t-n)/o}s=Math.min(60*s,360),s<0&&(s+=360);const c=(a+i)/2;return l=i===a?0:c<=.5?o/(i+a):o/(2-i-a),[s,100*l,100*c]},ei.rgb.hsv=function(e){let t,n,r,a,i;const o=e[0]/255,s=e[1]/255,l=e[2]/255,c=Math.max(o,s,l),u=c-Math.min(o,s,l),d=function(e){return(c-e)/6/u+.5};if(0===u)a=0,i=0;else{switch(i=u/c,t=d(o),n=d(s),r=d(l),c){case o:a=r-n;break;case s:a=1/3+t-r;break;case l:a=2/3+n-t}a<0?a+=1:a>1&&(a-=1)}return[360*a,100*i,100*c]},ei.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const a=ei.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[a,100*i,100*r]},ei.rgb.oklab=function(e){const t=ri(e[0]/255),n=ri(e[1]/255),r=ri(e[2]/255),a=Math.cbrt(.4122214708*t+.5363325363*n+.0514459929*r),i=Math.cbrt(.2119034982*t+.6806995451*n+.1073969566*r),o=Math.cbrt(.0883024619*t+.2817188376*n+.6299787005*r);return[100*(.2104542553*a+.793617785*i-.0040720468*o),100*(1.9779984951*a-2.428592205*i+.4505937099*o),100*(.0259040371*a+.7827717662*i-.808675766*o)]},ei.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,a=Math.min(1-t,1-n,1-r);return[100*((1-t-a)/(1-a)||0),100*((1-n-a)/(1-a)||0),100*((1-r-a)/(1-a)||0),100*a]},ei.rgb.keyword=function(e){const t=qa[e];if(t)return t;let n,r=Number.POSITIVE_INFINITY;for(const t of Object.keys(za)){const a=ai(e,za[t]);a<r&&(r=a,n=t)}return n},ei.keyword.rgb=function(e){return[...za[e]]},ei.rgb.xyz=function(e){const t=ri(e[0]/255),n=ri(e[1]/255),r=ri(e[2]/255);return[100*(.4124564*t+.3575761*n+.1804375*r),100*(.2126729*t+.7151522*n+.072175*r),100*(.0193339*t+.119192*n+.9503041*r)]},ei.rgb.lab=function(e){const t=ei.rgb.xyz(e);let n=t[0],r=t[1],a=t[2];n/=95.047,r/=100,a/=108.883,n=n>ti?n**(1/3):7.787*n+16/116,r=r>ti?r**(1/3):7.787*r+16/116,a=a>ti?a**(1/3):7.787*a+16/116;return[116*r-16,500*(n-r),200*(r-a)]},ei.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let a,i;if(0===n)return i=255*r,[i,i,i];const o=r<.5?r*(1+n):r+n-r*n,s=2*r-o,l=[0,0,0];for(let e=0;e<3;e++)a=t+1/3*-(e-1),a<0&&a++,a>1&&a--,i=6*a<1?s+6*(o-s)*a:2*a<1?o:3*a<2?s+(o-s)*(2/3-a)*6:s,l[e]=255*i;return l},ei.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,a=n;const i=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,a*=i<=1?i:2-i;return[t,100*(0===r?2*a/(i+a):2*n/(r+n)),100*((r+n)/2)]},ei.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const a=Math.floor(t)%6,i=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*i),l=255*r*(1-n*(1-i));switch(r*=255,a){case 0:return[r,l,o];case 1:return[s,r,o];case 2:return[o,r,l];case 3:return[o,s,r];case 4:return[l,o,r];case 5:return[r,o,s]}},ei.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,a=Math.max(r,.01);let i,o;o=(2-n)*r;const s=(2-n)*a;return i=n*a,i/=s<=1?s:2-s,i=i||0,o/=2,[t,100*i,100*o]},ei.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const a=n+r;let i;a>1&&(n/=a,r/=a);const o=Math.floor(6*t),s=1-r;i=6*t-o,1&o&&(i=1-i);const l=n+i*(s-n);let c,u,d;switch(o){default:case 6:case 0:c=s,u=l,d=n;break;case 1:c=l,u=s,d=n;break;case 2:c=n,u=s,d=l;break;case 3:c=n,u=l,d=s;break;case 4:c=l,u=n,d=s;break;case 5:c=s,u=n,d=l}return[255*c,255*u,255*d]},ei.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a))]},ei.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let a,i,o;return a=3.2404542*t+-1.5371385*n+-.4985314*r,i=-.969266*t+1.8760108*n+.041556*r,o=.0556434*t+-.2040259*n+1.0572252*r,a=ni(a),i=ni(i),o=ni(o),[255*a,255*i,255*o]},ei.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>ti?t**(1/3):7.787*t+16/116,n=n>ti?n**(1/3):7.787*n+16/116,r=r>ti?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)]},ei.xyz.oklab=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,a=Math.cbrt(.8189330101*t+.3618667424*n-.1288597137*r),i=Math.cbrt(.0329845436*t+.9293118715*n+.0361456387*r),o=Math.cbrt(.0482003018*t+.2643662691*n+.633851707*r);return[100*(.2104542553*a+.793617785*i-.0040720468*o),100*(1.9779984951*a-2.428592205*i+.4505937099*o),100*(.0259040371*a+.7827717662*i-.808675766*o)]},ei.oklab.oklch=function(e){return ei.lab.lch(e)},ei.oklab.xyz=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,a=(.999999998*t+.396337792*n+.215803758*r)**3,i=(1.000000008*t-.105561342*n-.063854175*r)**3,o=(1.000000055*t-.089484182*n-1.291485538*r)**3;return[100*(1.227013851*a-.55779998*i+.281256149*o),100*(-.040580178*a+1.11225687*i-.071676679*o),100*(-.076381285*a-.421481978*i+1.58616322*o)]},ei.oklab.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,a=(t+.3963377774*n+.2158037573*r)**3,i=(t-.1055613458*n-.0638541728*r)**3,o=(t-.0894841775*n-1.291485548*r)**3;return[255*ni(4.0767416621*a-3.3077115913*i+.2309699292*o),255*ni(-1.2684380046*a+2.6097574011*i-.3413193965*o),255*ni(-.0041960863*a-.7034186147*i+1.707614701*o)]},ei.oklch.oklab=function(e){return ei.lch.lab(e)},ei.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const a=n**3,i=t**3,o=r**3;return n=a>ti?a:(n-16/116)/7.787,t=i>ti?i:(t-16/116)/7.787,r=o>ti?o:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},ei.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let a;a=360*Math.atan2(r,n)/2/Math.PI,a<0&&(a+=360);return[t,Math.sqrt(n*n+r*r),a]},ei.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},ei.rgb.ansi16=function(e,t=null){const[n,r,a]=e;let i=null===t?ei.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),0===i)return 30;let o=30+(Math.round(a/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===i&&(o+=60),o},ei.hsv.ansi16=function(e){return ei.rgb.ansi16(ei.hsv.rgb(e),e[2])},ei.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t>>4==n>>4&&n>>4==r>>4)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},ei.ansi16.rgb=function(e){let t=(e=e[0])%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(Math.trunc(e>50)+1);return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},ei.ansi256.rgb=function(e){if((e=e[0])>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},ei.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".slice(t.length)+t},ei.hex.rgb=function(e){const t=e.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=[...n].map(e=>e+e).join(""));const r=Number.parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},ei.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,a=Math.max(Math.max(t,n),r),i=Math.min(Math.min(t,n),r),o=a-i;let s;return s=o<=0?0:a===t?(n-r)/o%6:a===n?2+(r-t)/o:4+(t-n)/o,s/=6,s%=1,[360*s,100*o,100*(o<1?i/(1-o):0)]},ei.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let a=0;return r<1&&(a=(n-.5*r)/(1-r)),[e[0],100*r,100*a]},ei.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let a=0;return r<1&&(a=(n-r)/(1-r)),[e[0],100*r,100*a]},ei.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const a=[0,0,0],i=t%1*6,o=i%1,s=1-o;let l=0;switch(Math.floor(i)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=s,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=s,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=s}return l=(1-n)*r,[255*(n*a[0]+l),255*(n*a[1]+l),255*(n*a[2]+l)]},ei.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},ei.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},ei.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},ei.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let a=0;return r<1&&(a=(n-r)/(1-r)),[e[0],100*r,100*a]},ei.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},ei.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},ei.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},ei.gray.hsl=function(e){return[0,0,e[0]]},ei.gray.hsv=ei.gray.hsl,ei.gray.hwb=function(e){return[0,100,e[0]]},ei.gray.cmyk=function(e){return[0,0,0,e[0]]},ei.gray.lab=function(e){return[e[0],0,0]},ei.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".slice(n.length)+n},ei.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const ci={},ui=Object.keys(ei);function di(e){const t=function(...t){const n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}function hi(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let{length:e}=r,t=0;t<e;t++)r[t]=Math.round(r[t]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}for(const e of ui){ci[e]={},Object.defineProperty(ci[e],"channels",{value:ei[e].channels}),Object.defineProperty(ci[e],"labels",{value:ei[e].labels});const t=li(e),n=Object.keys(t);for(const r of n){const n=t[r];ci[e][r]=hi(n),ci[e][r].raw=di(n)}}const mi=["keyword","gray","hex"],fi={};for(const e of Object.keys(ci))fi[[...ci[e].labels].sort().join("")]=e;const bi={};function gi(e,t){if(!(this instanceof gi))return new gi(e,t);if(t&&t in mi&&(t=null),t&&!(t in ci))throw new Error("Unknown model: "+t);let n,r;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof gi)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const t=Pa.get(e);if(null===t)throw new Error("Unable to parse color from string: "+e);this.model=t.model,r=ci[this.model].channels,this.color=t.value.slice(0,r),this.valpha="number"==typeof t.value[r]?t.value[r]:1}else if(e.length>0){this.model=t||"rgb",r=ci[this.model].channels;const n=Array.prototype.slice.call(e,0,r);this.color=vi(n,r),this.valpha="number"==typeof e[r]?e[r]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const r=t.sort().join("");if(!(r in fi))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=fi[r];const{labels:a}=ci[this.model],i=[];for(n=0;n<a.length;n++)i.push(e[a[n]]);this.color=vi(i)}if(bi[this.model])for(r=ci[this.model].channels,n=0;n<r;n++){const e=bi[this.model][n];e&&(this.color[n]=e(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}gi.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in Pa.to?this:this.rgb();t=t.round("number"==typeof e?e:1);const n=1===t.valpha?t.color:[...t.color,this.valpha];return Pa.to[t.model](...n)},percentString(e){const t=this.rgb().round("number"==typeof e?e:1),n=1===t.valpha?t.color:[...t.color,this.valpha];return Pa.to.rgb.percent(...n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=ci[this.model],{labels:n}=ci[this.model];for(let r=0;r<t;r++)e[n[r]]=this.color[r];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new gi([...this.color.map(pi(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new gi([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:xi("rgb",0,yi(255)),green:xi("rgb",1,yi(255)),blue:xi("rgb",2,yi(255)),hue:xi(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:xi("hsl",1,yi(100)),lightness:xi("hsl",2,yi(100)),saturationv:xi("hsv",1,yi(100)),value:xi("hsv",2,yi(100)),chroma:xi("hcg",1,yi(100)),gray:xi("hcg",2,yi(100)),white:xi("hwb",1,yi(100)),wblack:xi("hwb",2,yi(100)),cyan:xi("cmyk",0,yi(100)),magenta:xi("cmyk",1,yi(100)),yellow:xi("cmyk",2,yi(100)),black:xi("cmyk",3,yi(100)),x:xi("xyz",0,yi(95.047)),y:xi("xyz",1,yi(100)),z:xi("xyz",2,yi(108.833)),l:xi("lab",0,yi(100)),a:xi("lab",1),b:xi("lab",2),keyword(e){return void 0!==e?new gi(e):ci[this.model].keyword(this.color)},hex(e){return void 0!==e?new gi(e):Pa.to.hex(...this.rgb().round().color)},hexa(e){if(void 0!==e)return new gi(e);const t=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),Pa.to.hex(...t)+n},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,t=[];for(const[n,r]of e.entries()){const e=r/255;t[n]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return gi.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const n=e.rgb(),r=this.rgb(),a=void 0===t?.5:t,i=2*a-1,o=n.alpha()-r.alpha(),s=((i*o===-1?i:(i+o)/(1+i*o))+1)/2,l=1-s;return gi.rgb(s*n.red()+l*r.red(),s*n.green()+l*r.green(),s*n.blue()+l*r.blue(),n.alpha()*a+r.alpha()*(1-a))}};for(const e of Object.keys(ci)){if(mi.includes(e))continue;const{channels:t}=ci[e];gi.prototype[e]=function(...t){return this.model===e?new gi(this):t.length>0?new gi(t,e):new gi([...(n=ci[this.model][e].raw(this.color),Array.isArray(n)?n:[n]),this.valpha],e);var n},gi[e]=function(...n){let r=n[0];return"number"==typeof r&&(r=vi(n,t)),new gi(r,e)}}function pi(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}function xi(e,t,n){e=Array.isArray(e)?e:[e];for(const r of e)(bi[r]||=[])[t]=n;return e=e[0],function(r){let a;return void 0!==r?(n&&(r=n(r)),a=this[e](),a.color[t]=r,a):(a=this[e]().color[t],n&&(a=n(a)),a)}}function yi(e){return function(t){return Math.max(0,Math.min(e,t))}}function vi(e,t){for(let n=0;n<t;n++)"number"!=typeof e[n]&&(e[n]=0);return e}function Gi(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function wi(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Ii(e){let t,n,r;function a(e,r,a=0,i=e.length){if(a<i){if(0!==t(r,r))return i;do{const t=a+i>>>1;n(e[t],r)<0?a=t+1:i=t}while(a<i)}return a}return 2!==e.length?(t=Gi,n=(t,n)=>Gi(e(t),n),r=(t,n)=>e(t)-n):(t=e===Gi||e===wi?e:Qi,n=e,r=e),{left:a,center:function(e,t,n=0,i=e.length){const o=a(e,t,n,i-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o},right:function(e,r,a=0,i=e.length){if(a<i){if(0!==t(r,r))return i;do{const t=a+i>>>1;n(e[t],r)<=0?a=t+1:i=t}while(a<i)}return a}}}function Qi(){return 0}const Bi=Ii(Gi).right;Ii(function(e){return null===e?NaN:+e}).center;const Fi=Math.sqrt(50),Zi=Math.sqrt(10),Ni=Math.sqrt(2);function ki(e,t,n){const r=(t-e)/Math.max(0,n),a=Math.floor(Math.log10(r)),i=r/Math.pow(10,a),o=i>=Fi?10:i>=Zi?5:i>=Ni?2:1;let s,l,c;return a<0?(c=Math.pow(10,-a)/o,s=Math.round(e*c),l=Math.round(t*c),s/c<e&&++s,l/c>t&&--l,c=-c):(c=Math.pow(10,a)*o,s=Math.round(e/c),l=Math.round(t/c),s*c<e&&++s,l*c>t&&--l),l<s&&.5<=n&&n<2?ki(e,t,2*n):[s,l,c]}function Li(e,t,n){return ki(e=+e,t=+t,n=+n)[2]}function Ci(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function _i(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Wi(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Xi(){}var Ri=.7,Ui=1/Ri,Di="\\s*([+-]?\\d+)\\s*",ji="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Si="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Mi=/^#([0-9a-f]{3,8})$/,Yi=new RegExp(`^rgb\\(${Di},${Di},${Di}\\)$`),Vi=new RegExp(`^rgb\\(${Si},${Si},${Si}\\)$`),Oi=new RegExp(`^rgba\\(${Di},${Di},${Di},${ji}\\)$`),Ai=new RegExp(`^rgba\\(${Si},${Si},${Si},${ji}\\)$`),Ji=new RegExp(`^hsl\\(${ji},${Si},${Si}\\)$`),Ei=new RegExp(`^hsla\\(${ji},${Si},${Si},${ji}\\)$`),Ti={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function zi(){return this.rgb().formatHex()}function Hi(){return this.rgb().formatRgb()}function Pi(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Mi.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?$i(t):3===n?new eo(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Ki(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Ki(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Yi.exec(e))?new eo(t[1],t[2],t[3],1):(t=Vi.exec(e))?new eo(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Oi.exec(e))?Ki(t[1],t[2],t[3],t[4]):(t=Ai.exec(e))?Ki(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ji.exec(e))?oo(t[1],t[2]/100,t[3]/100,1):(t=Ei.exec(e))?oo(t[1],t[2]/100,t[3]/100,t[4]):Ti.hasOwnProperty(e)?$i(Ti[e]):"transparent"===e?new eo(NaN,NaN,NaN,0):null}function $i(e){return new eo(e>>16&255,e>>8&255,255&e,1)}function Ki(e,t,n,r){return r<=0&&(e=t=n=NaN),new eo(e,t,n,r)}function qi(e,t,n,r){return 1===arguments.length?function(e){return e instanceof Xi||(e=Pi(e)),e?new eo((e=e.rgb()).r,e.g,e.b,e.opacity):new eo}(e):new eo(e,t,n,null==r?1:r)}function eo(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function to(){return`#${io(this.r)}${io(this.g)}${io(this.b)}`}function no(){const e=ro(this.opacity);return`${1===e?"rgb(":"rgba("}${ao(this.r)}, ${ao(this.g)}, ${ao(this.b)}${1===e?")":`, ${e})`}`}function ro(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function ao(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function io(e){return((e=ao(e))<16?"0":"")+e.toString(16)}function oo(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new lo(e,t,n,r)}function so(e){if(e instanceof lo)return new lo(e.h,e.s,e.l,e.opacity);if(e instanceof Xi||(e=Pi(e)),!e)return new lo;if(e instanceof lo)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),i=Math.max(t,n,r),o=NaN,s=i-a,l=(i+a)/2;return s?(o=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+a:2-i-a,o*=60):s=l>0&&l<1?0:o,new lo(o,s,l,e.opacity)}function lo(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function co(e){return(e=(e||0)%360)<0?e+360:e}function uo(e){return Math.max(0,Math.min(1,e||0))}function ho(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}_i(Xi,Pi,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:zi,formatHex:zi,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return so(this).formatHsl()},formatRgb:Hi,toString:Hi}),_i(eo,qi,Wi(Xi,{brighter(e){return e=null==e?Ui:Math.pow(Ui,e),new eo(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?Ri:Math.pow(Ri,e),new eo(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new eo(ao(this.r),ao(this.g),ao(this.b),ro(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:to,formatHex:to,formatHex8:function(){return`#${io(this.r)}${io(this.g)}${io(this.b)}${io(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:no,toString:no})),_i(lo,function(e,t,n,r){return 1===arguments.length?so(e):new lo(e,t,n,null==r?1:r)},Wi(Xi,{brighter(e){return e=null==e?Ui:Math.pow(Ui,e),new lo(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?Ri:Math.pow(Ri,e),new lo(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new eo(ho(e>=240?e-240:e+120,a,r),ho(e,a,r),ho(e<120?e+240:e-120,a,r),this.opacity)},clamp(){return new lo(co(this.h),uo(this.s),uo(this.l),ro(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=ro(this.opacity);return`${1===e?"hsl(":"hsla("}${co(this.h)}, ${100*uo(this.s)}%, ${100*uo(this.l)}%${1===e?")":`, ${e})`}`}}));var mo=e=>()=>e;function fo(e){return 1===(e=+e)?bo:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):mo(isNaN(t)?n:t)}}function bo(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):mo(isNaN(e)?t:e)}var go=function e(t){var n=fo(t);function r(e,t){var r=n((e=qi(e)).r,(t=qi(t)).r),a=n(e.g,t.g),i=n(e.b,t.b),o=bo(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=a(t),e.b=i(t),e.opacity=o(t),e+""}}return r.gamma=e,r}(1);function po(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,a=t.slice();return function(i){for(n=0;n<r;++n)a[n]=e[n]*(1-i)+t[n]*i;return a}}function xo(e,t){var n,r=t?t.length:0,a=e?Math.min(r,e.length):0,i=new Array(a),o=new Array(r);for(n=0;n<a;++n)i[n]=Bo(e[n],t[n]);for(;n<r;++n)o[n]=t[n];return function(e){for(n=0;n<a;++n)o[n]=i[n](e);return o}}function yo(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function vo(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function Go(e,t){var n,r={},a={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=Bo(e[n],t[n]):a[n]=t[n];return function(e){for(n in r)a[n]=r[n](e);return a}}var wo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Io=new RegExp(wo.source,"g");function Qo(e,t){var n,r,a,i=wo.lastIndex=Io.lastIndex=0,o=-1,s=[],l=[];for(e+="",t+="";(n=wo.exec(e))&&(r=Io.exec(t));)(a=r.index)>i&&(a=t.slice(i,a),s[o]?s[o]+=a:s[++o]=a),(n=n[0])===(r=r[0])?s[o]?s[o]+=r:s[++o]=r:(s[++o]=null,l.push({i:o,x:vo(n,r)})),i=Io.lastIndex;return i<t.length&&(a=t.slice(i),s[o]?s[o]+=a:s[++o]=a),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}function Bo(e,t){var n,r=typeof t;return null==t||"boolean"===r?mo(t):("number"===r?vo:"string"===r?(n=Pi(t))?(t=n,go):Qo:t instanceof Pi?go:t instanceof Date?yo:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?po:Array.isArray(t)?xo:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Go:vo)(e,t)}function Fo(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function Zo(e){return+e}var No=[0,1];function ko(e){return e}function Lo(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function Co(e,t,n){var r=e[0],a=e[1],i=t[0],o=t[1];return a<r?(r=Lo(a,r),i=n(o,i)):(r=Lo(r,a),i=n(i,o)),function(e){return i(r(e))}}function _o(e,t,n){var r=Math.min(e.length,t.length)-1,a=new Array(r),i=new Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)a[o]=Lo(e[o],e[o+1]),i[o]=n(t[o],t[o+1]);return function(t){var n=Bi(e,t,1,r)-1;return i[n](a[n](t))}}function Wo(){var e,t,n,r,a,i,o=No,s=No,l=Bo,c=ko;function u(){var e=Math.min(o.length,s.length);return c!==ko&&(c=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(o[0],o[e-1])),r=e>2?_o:Co,a=i=null,d}function d(t){return null==t||isNaN(t=+t)?n:(a||(a=r(o.map(e),s,l)))(e(c(t)))}return d.invert=function(n){return c(t((i||(i=r(s,o.map(e),vo)))(n)))},d.domain=function(e){return arguments.length?(o=Array.from(e,Zo),u()):o.slice()},d.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},d.rangeRound=function(e){return s=Array.from(e),l=Fo,u()},d.clamp=function(e){return arguments.length?(c=!!e||ko,u()):c!==ko},d.interpolate=function(e){return arguments.length?(l=e,u()):l},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,u()}}function Xo(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Ro(e){return(e=Xo(Math.abs(e)))?e[1]:NaN}var Uo,Do=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function jo(e){if(!(t=Do.exec(e)))throw new Error("invalid format: "+e);var t;return new So({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function So(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Mo(e,t){var n=Xo(e,t);if(!n)return e+"";var r=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+r:r.length>a+1?r.slice(0,a+1)+"."+r.slice(a+1):r+new Array(a-r.length+2).join("0")}jo.prototype=So.prototype,So.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Yo={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Mo(100*e,t),r:Mo,s:function(e,t){var n=Xo(e,t);if(!n)return e+"";var r=n[0],a=n[1],i=a-(Uo=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,o=r.length;return i===o?r:i>o?r+new Array(i-o+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Xo(e,Math.max(0,t+i-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Vo(e){return e}var Oo,Ao,Jo,Eo=Array.prototype.map,To=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function zo(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Vo:(t=Eo.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var a=e.length,i=[],o=0,s=t[0],l=0;a>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(e.substring(a-=s,a+s)),!((l+=s+1)>r));)s=t[o=(o+1)%t.length];return i.reverse().join(n)}),a=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",o=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?Vo:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(Eo.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"−":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=jo(e)).fill,n=e.align,d=e.sign,h=e.symbol,m=e.zero,f=e.width,b=e.comma,g=e.precision,p=e.trim,x=e.type;"n"===x?(b=!0,x="g"):Yo[x]||(void 0===g&&(g=12),p=!0,x="g"),(m||"0"===t&&"="===n)&&(m=!0,t="0",n="=");var y="$"===h?a:"#"===h&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",v="$"===h?i:/[%p]/.test(x)?l:"",G=Yo[x],w=/[defgprs%]/.test(x);function I(e){var a,i,l,h=y,I=v;if("c"===x)I=G(e)+I,e="";else{var Q=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:G(Math.abs(e),g),p&&(e=function(e){e:for(var t,n=e.length,r=1,a=-1;r<n;++r)switch(e[r]){case".":a=t=r;break;case"0":0===a&&(a=r),t=r;break;default:if(!+e[r])break e;a>0&&(a=0)}return a>0?e.slice(0,a)+e.slice(t+1):e}(e)),Q&&0===+e&&"+"!==d&&(Q=!1),h=(Q?"("===d?d:c:"-"===d||"("===d?"":d)+h,I=("s"===x?To[8+Uo/3]:"")+I+(Q&&"("===d?")":""),w)for(a=-1,i=e.length;++a<i;)if(48>(l=e.charCodeAt(a))||l>57){I=(46===l?o+e.slice(a+1):e.slice(a))+I,e=e.slice(0,a);break}}b&&!m&&(e=r(e,1/0));var B=h.length+e.length+I.length,F=B<f?new Array(f-B+1).join(t):"";switch(b&&m&&(e=r(F+e,F.length?f-I.length:1/0),F=""),n){case"<":e=h+e+I+F;break;case"=":e=h+F+e+I;break;case"^":e=F.slice(0,B=F.length>>1)+h+e+I+F.slice(B);break;default:e=F+h+e+I}return s(e)}return g=void 0===g?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),I.toString=function(){return e+""},I}return{format:d,formatPrefix:function(e,t){var n=d(((e=jo(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Ro(t)/3))),a=Math.pow(10,-r),i=To[8+r/3];return function(e){return n(a*e)+i}}}}function Ho(e,t,n,r){var a,i=function(e,t,n){n=+n;const r=(t=+t)<(e=+e),a=r?Li(t,e,n):Li(e,t,n);return(r?-1:1)*(a<0?1/-a:a)}(e,t,n);switch((r=jo(null==r?",f":r)).type){case"s":var o=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(a=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ro(t)/3)))-Ro(Math.abs(e)))}(i,o))||(r.precision=a),Jo(r,o);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(a=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Ro(t)-Ro(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=a-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(a=function(e){return Math.max(0,-Ro(Math.abs(e)))}(i))||(r.precision=a-2*("%"===r.type))}return Ao(r)}function Po(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];const r=t<e,[a,i,o]=r?ki(t,e,n):ki(e,t,n);if(!(i>=a))return[];const s=i-a+1,l=new Array(s);if(r)if(o<0)for(let e=0;e<s;++e)l[e]=(i-e)/-o;else for(let e=0;e<s;++e)l[e]=(i-e)*o;else if(o<0)for(let e=0;e<s;++e)l[e]=(a+e)/-o;else for(let e=0;e<s;++e)l[e]=(a+e)*o;return l}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Ho(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,a,i=t(),o=0,s=i.length-1,l=i[o],c=i[s],u=10;for(c<l&&(a=l,l=c,c=a,a=o,o=s,s=a);u-- >0;){if((a=Li(l,c,n))===r)return i[o]=l,i[s]=c,t(i);if(a>0)l=Math.floor(l/a)*a,c=Math.ceil(c/a)*a;else{if(!(a<0))break;l=Math.ceil(l*a)/a,c=Math.floor(c*a)/a}r=a}return e},e}function $o(){var e=Wo()(ko,ko);return e.copy=function(){return t=e,$o().domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown());var t},Ci.apply(e,arguments),Po(e)}function Ko(e,t){if(e===t)return 0;if(0===e)return 100;const n=(t-e)/e*100;return n>100?100:n<-100?-100:n}function qo(e,t){return gi.rgb(e,e,e).alpha(t)}function es(e,t){if(0===t.length)return t;const n=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),r=t.match(n);return r&&r.groups?r.groups.packageName||"":t}function ts(e,t){const n=function(e,t=0){let n,r,a,i,o,s,l,c;for(n=3&e.length,r=e.length-n,a=t,o=3432918353,s=461845907,c=0;c<r;)l=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24,++c,l=(65535&l)*o+(((l>>>16)*o&65535)<<16)&4294967295,l=l<<15|l>>>17,l=(65535&l)*s+(((l>>>16)*s&65535)<<16)&4294967295,a^=l,a=a<<13|a>>>19,i=5*(65535&a)+((5*(a>>>16)&65535)<<16)&4294967295,a=27492+(65535&i)+(((i>>>16)+58964&65535)<<16);switch(l=0,n){case 3:l^=(255&e.charCodeAt(c+2))<<16;case 2:l^=(255&e.charCodeAt(c+1))<<8;case 1:l^=255&e.charCodeAt(c);default:l=(65535&l)*o+(((l>>>16)*o&65535)<<16)&4294967295,l=l<<15|l>>>17,l=(65535&l)*s+(((l>>>16)*s&65535)<<16)&4294967295,a^=l}return a^=e.length,a^=a>>>16,a=2246822507*(65535&a)+((2246822507*(a>>>16)&65535)<<16)&4294967295,a^=a>>>13,a=3266489909*(65535&a)+((3266489909*(a>>>16)&65535)<<16)&4294967295,a^=a>>>16,a>>>0}(t,0),r=n%e.colors.length,a=e.colors[r];return a||(console.warn("Could not calculate color. Defaulting to the first one"),e.colors[0])}function ns(e){const{goodColor:t,neutralColor:n,badColor:r}=e,a=$o().domain([-100,0,100]).range([t.rgb().toString(),n.rgb().toString(),r.rgb().toString()]);return e=>gi(a(e).toString())}Oo=zo({thousands:",",grouping:[3],currency:["$",""]}),Ao=Oo.format,Jo=Oo.formatPrefix,gi.rgb(148,142,142),gi.rgb(200,0,0),gi.rgb(0,170,0),gi("#48CE73");const rs=new WeakMap,as=new WeakMap,is=new WeakMap,os=new WeakMap;const ss={collapsedLevelsSingular:"total (1 level collapsed)",collapsedLevelsPlural:"total ({n} levels collapsed)",isZh:!1};function ls(e){var t,n,r,a,i,o,s,l;const c=performance.now(),u=!1!==e.renderRects,d=!1!==e.renderText,h=null!==(t=e.renderMode)&&void 0!==t?t:"normal",m=e.timeBudgetMs,{canvas:f,fitMode:b,units:g,tickToX:p,levels:x,palette:y}=e,{numTicks:v,sampleRate:G,pxPerTick:w}=e,{rangeMin:I,rangeMax:Q}=e,{focusedNode:B,zoom:F}=e,Z=e.messages||ss,N=e.skipCanvasResize?f.width:function(e){if("clientWidth"in e&&"number"==typeof e.clientWidth)return e.clientWidth;return e.width}(f);if(e.skipCanvasResize||(f.width=N),I>=Q)throw new Error("'rangeMin' should be strictly smaller than 'rangeMax'");const{format:k}=e,L=Qa(k),C=f.getContext("2d");if(!C)throw new Error("Could not get ctx");const _=F.mapOrElse(()=>0,e=>e.i),W=ja(v,G,g),X=B.isJust,R=B.mapOrElse(()=>0,e=>e.i),U=X?Ca:0,D=!!e.highlightQuery&&e.highlightQuery.length>0,j=La*(x.length-R)+(X?Ca:0);e.skipCanvasResize||(f.height=j);const S="number"==typeof e.devicePixelRatio?e.devicePixelRatio:"undefined"!=typeof devicePixelRatio?devicePixelRatio:1;!e.skipDprScale&&S>1&&(f.width*=S,f.height*=S,C.scale(S,S)),C.textBaseline="middle",C.font="400 11.5px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace";const M=C.measureText("a").width,{names:Y}=e,V=function(e){const t=rs.get(e);if(t)return t;const n=new Map;return rs.set(e,n),n}(f),O=D?function(e,t){const n=as.get(e);if(n){const e=n.get(t);if(e)return e}const r=t.toLowerCase(),a=new Uint8Array(e.length);for(let t=1;t<e.length;t+=1){const n=e[t];n&&n.toLowerCase().includes(r)&&(a[t]=1)}const i=null!=n?n:new Map;return i.set(t,a),as.set(e,i),a}(Y,e.highlightQuery):null,A="single"===e.format?function(e,t,n){const r=`${t}|${n.name}`,a=is.get(e);if(a){const e=a.get(r);if(e)return e}const i=new Array(e.length);for(let r=0;r<e.length;r+=1){const a=es(t,e[r]||"")||"";i[r]=ts(n,a)}const o=null!=a?a:new Map;return o.set(r,i),is.set(e,o),i}(Y,e.spyName,y):null,J="double"===e.format?ns({name:y.name,goodColor:y.goodColor,neutralColor:y.neutralColor,badColor:y.badColor}):null,E=(e,t)=>{const n=e[t+L.jName];return!(!n||n<0||!O)&&1===O[n]},T=null!==(n=e.startI)&&void 0!==n?n:0,z=null!==(r=e.startJ)&&void 0!==r?r:0;if(X&&"highlightOnly"!==h&&0===(null!==(a=e.levelStart)&&void 0!==a?a:0)&&0===T&&0===z){const e=v*w;u&&(C.beginPath(),C.rect(0,0,v*w,Ca),C.fillStyle=qo(200,1).rgb().string(),C.fill());const t=B.mapOrElse(()=>"total",e=>function(e,t){return 1===e?t.collapsedLevelsSingular:t.collapsedLevelsPlural.replace("{n}",String(e))}(e.i-1,Z)),n=Ja({mode:b,charSize:M,rectWidth:e,fullText:t,shortText:t}),r=0,a=0,i=Ca;if(d){C.beginPath(),C.rect(0,0,e,Ca),C.save(),C.clip(),C.fillStyle="black";const t=Math.round(Math.max(r,0));C.fillText(n.text,t+n.marginLeft,a+i/2+1),C.restore()}}const H=Math.max(0,null!==(i=e.levelStart)&&void 0!==i?i:0),P=x.length-R,$=Math.min(P,null!==(o=e.levelEnd)&&void 0!==o?o:P),K=Math.max(H,null!==(s=e.startI)&&void 0!==s?s:H),q=Math.max(0,null!==(l=e.startJ)&&void 0!==l?l:0),{spyName:ee}=e,te=(t,n,r,a,i)=>{const o={level:t,j:n,i:r+B.mapOrElse(()=>0,e=>e.i),names:Y,collapsed:a,selectedLevel:_,highlightModeOn:D,isHighlighted:i,spyName:ee,palette:y,colorByNameIndex:A,diffColorFn:J};switch(k){case"single":return function(e){const t=ds(e);if(t)return t;const n=Qa("single"),r=e.selectedLevel>e.i?.33:1;let a=e.level[e.j+n.jName];void 0===a&&(console.warn("Could nto find level",{l:e.j,jName:n.jName,level:e.level}),a=-1);if(e.colorByNameIndex&&a>=0&&e.colorByNameIndex[a])return e.colorByNameIndex[a].alpha(r);const i=e.names[a]||"",o=es(e.spyName,i)||"";return ts(e.palette,o).alpha(r)}({...o});case"double":return function(e){const t=ds(e);if(t)return t;const n=e.selectedLevel>e.i?.33:1,{leftRatio:r,rightRatio:a}=function(e,t,n,r){const a=Ia;return n&&r?{leftRatio:a.getBarTotalLeft(e,t)/n,rightRatio:a.getBarTotalRght(e,t)/r}:(console.error("Properties 'rightTicks' and 'leftTicks' are required. Can't calculate ratio."),{leftRatio:0,rightRatio:0})}(e.level,e.j,e.leftTicks,e.rightTicks),i=Ua(r),o=Ua(a);if(e.diffColorFn)return e.diffColorFn(Ko(i,o)).alpha(n);return function(e,t,n){const r=Ko(t,n);return ns(e)(r)}(e.palette,i,o).alpha(n)}({...o,leftTicks:e.leftTicks,rightTicks:e.rightTicks});default:throw new Error(`Unsupported format: ${k}`)}};if("highlightOnly"===h&&D&&u){const e=function(e,t){const n=os.get(e);if(n)return n;const r=Qa(t),a=new Map;for(let t=0;t<e.length;t+=1){const n=e[t];for(let e=0;e<n.length;e+=r.jStep){const i=r.getBarName(n,e);if(void 0===i||i<0)continue;const o=a.get(i);o?o.push({i:t,j:e}):a.set(i,[{i:t,j:e}])}}return os.set(e,a),a}(x,k),t=[];for(let e=1;e<Y.length;e+=1)O&&1===O[e]&&t.push(e);for(let n=0;n<t.length;n+=1){const r=t[n],a=e.get(r);if(a)for(let e=0;e<a.length;e+=1){const t=a[e],n=t.i-R;if(t.i<R||n<H||n>=$)continue;const r=x[t.i],i=p(L.getBarOffset(r,t.j)),o=n*La+U,s=Ca,l=L.getBarTotal(r,t.j),c=l*w<=5,u=l*w-(c?0:.5);if(u<=0)continue;C.beginPath(),C.rect(i,o,u,s);const d=te(r,t.j,n,c,!0);C.fillStyle=d.string(),C.fill()}}return{done:!0,nextI:$,nextJ:0}}for(let e=K;e<$;e+=1){const t=x[R+e];if(!t)throw new Error(`Could not find level: ${R+e}`);let n=e===K?q:0;for(;n<t.length;n+=L.jStep){const r=L.getBarOffset(t,n),a=p(r),i=e*La+U,o=Ca,s=D&&E(t,n);let l=L.getBarTotal(t,n);const f=l*w<=5;if(f)for(;n<t.length-L.jStep&&r+l===L.getBarOffset(t,n+L.jStep)&&L.getBarTotal(t,n+L.jStep)*w<=5&&s===(D&&E(t,n+L.jStep));)n+=L.jStep,l+=L.getBarTotal(t,n);const g=l*w-(f?0:.5);if(C.beginPath(),C.rect(a,i,g,o),u){if("forceGrey"===h)C.fillStyle=qo(200,.66).rgb().string();else{const r=te(t,n,e,f,s);C.fillStyle=r.string()}C.fill()}if(!d||f||"forceGrey"===h){if(m&&performance.now()-c>m)return{done:!1,nextI:e,nextJ:n+L.jStep};continue}if(g<20)continue;const x=cs(Y,n,k,t),y=Ja({mode:b,charSize:M,rectWidth:g,fullText:us(x,l,G,W,Z,V),shortText:x});C.save(),C.clip(),C.fillStyle="black";const v=Math.round(Math.max(a,0));if(C.fillText(y.text,v+y.marginLeft,i+o/2+1),C.restore(),m&&performance.now()-c>m)return{done:!1,nextI:e,nextJ:n+L.jStep}}if(m&&performance.now()-c>m)return{done:!1,nextI:e+1,nextJ:0}}return{done:!0,nextI:$,nextJ:0}}function cs(e,t,n,r){let a=r[t+Qa(n).jName];void 0===a&&(a=-1);const i=e[a];return i||(console.warn("Could not find function name for",{j:t,format:n,level:r,names:e}),"")}function us(e,t,n,r,a,i){let o=null==i?void 0:i.get(t);if(!o){const e=r.format(t,n);o=Xa(e,!!a.isZh)||e,null==i||i.set(t,o)}return`${e} (${o})`}function ds({collapsed:e,highlightModeOn:t,isHighlighted:n}){return e||t&&!n?qo(200,.66):null}class hs{constructor(e,t,n,r,a,i,o,s){if(this.flamebearer=e,this.canvas=t,this.focusedNode=n,this.fitMode=r,this.highlightQuery=a,this.zoom=i,this.palette=o,this.messages=s,this.cachedRange=null,this.cachedPxPerTick=null,this.tickToX=e=>{var t;const n=this.cachedRange?this.cachedRange.rangeMin:this.getRange().rangeMin,r=null!==(t=this.cachedPxPerTick)&&void 0!==t?t:this.pxPerTick();return(e-this.flamebearer.numTicks*n)*r},this.xyToBarPosition=e=>{const{ff:t}=this,{i:n,j:r}=this.xyToBarIndex(e.x,e.y),a=this.focusedNode.mapOrElse(()=>0,e=>e.i<0?0:e.i-1),i=this.flamebearer.levels[n];if(!i)throw new Error(`Could not find level: '${n}'`);const o=Math.max(this.tickToX(t.getBarOffset(i,r)),0);return{x:o,y:Math.max((n-a)*La,0),width:Math.min(this.tickToX(t.getBarOffset(i,r)+t.getBarTotal(i,r))-o,this.getCanvasWidth())}},this.xyToBarData=e=>{const{i:t,j:n}=this.xyToBarIndex(e.x,e.y),r=this.flamebearer.levels[t];if(!r)throw new Error(`Could not find level: '${t}'`);switch(this.flamebearer.format){case"single":{const e=wa;return{format:"single",name:this.flamebearer.names[e.getBarName(r,n)],self:e.getBarSelf(r,n),offset:e.getBarOffset(r,n),total:e.getBarTotal(r,n)}}case"double":{const e=Ia;return{format:"double",barTotal:e.getBarTotal(r,n),totalLeft:e.getBarTotalLeft(r,n),totalRight:e.getBarTotalRght(r,n),totalDiff:e.getBarTotalDiff(r,n),name:this.flamebearer.names[e.getBarName(r,n)]}}default:throw new Error("Unsupported type")}},this.isWithinBounds=(e,t)=>{if(e<0||e>this.getCanvasWidth())return!1;try{const{i:n,j:r}=this.xyToBarIndex(e,t);if(-1===r||-1===n)return!1}catch(e){return!1}return!0},this.zoom=i,this.focusedNode=n,this.flamebearer=e,this.canvas=t,this.highlightQuery=a,this.ff=Qa(e.format),this.palette=o,this.messages=s,n.isJust&&i.isJust&&i.value.i<n.value.i)throw new Error("Zoom i level should be bigger than Focus")}render(e){var t;const{rangeMin:n,rangeMax:r,pxPerTick:a}=this.updateCachedMetrics(),i=null!==(t=null==e?void 0:e.highlightQueryOverride)&&void 0!==t?t:this.highlightQuery,o={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:n,rangeMax:r,fitMode:this.fitMode,highlightQuery:i,zoom:this.zoom,focusedNode:this.focusedNode,pxPerTick:a,tickToX:e=>(e-this.flamebearer.numTicks*n)*a,palette:this.palette,messages:this.messages,renderRects:null==e?void 0:e.renderRects,renderText:null==e?void 0:e.renderText,renderMode:null==e?void 0:e.renderMode,levelStart:null==e?void 0:e.levelStart,levelEnd:null==e?void 0:e.levelEnd,startI:null==e?void 0:e.startI,startJ:null==e?void 0:e.startJ,timeBudgetMs:null==e?void 0:e.timeBudgetMs,skipCanvasResize:null==e?void 0:e.skipCanvasResize,skipDprScale:null==e?void 0:e.skipDprScale,devicePixelRatio:null==e?void 0:e.devicePixelRatio},{format:s}=this.flamebearer;switch(s){case"single":return ls({...o,format:"single"});case"double":return ls({...o,leftTicks:this.flamebearer.leftTicks,rightTicks:this.flamebearer.rightTicks});default:throw new Error(`Invalid format: '${s}'`)}}pxPerTick(){if(null!==this.cachedPxPerTick)return this.cachedPxPerTick;const{rangeMin:e,rangeMax:t}=this.getRange(),n=this.getCanvasWidth()/this.flamebearer.numTicks/(t-e);return this.cachedRange={rangeMin:e,rangeMax:t},this.cachedPxPerTick=n,n}updateCachedMetrics(){const{rangeMin:e,rangeMax:t}=this.getRange(),n=this.getCanvasWidth()/this.flamebearer.numTicks/(t-e);return this.cachedRange={rangeMin:e,rangeMax:t},this.cachedPxPerTick=n,{rangeMin:e,rangeMax:t,pxPerTick:n}}getRange(){const{ff:e}=this,t=t=>{const n=this.flamebearer.levels[t.i];if(!n)throw new Error(`Could not find level: '${t.i}'`);return{rangeMin:e.getBarOffset(n,t.j)/this.flamebearer.numTicks,rangeMax:(e.getBarOffset(n,t.j)+e.getBarTotal(n,t.j))/this.flamebearer.numTicks}},n=t=>{const n=this.flamebearer.levels[t.i];if(!n)throw new Error(`Could not find level: '${t.i}'`);return{rangeMin:e.getBarOffset(n,t.j)/this.flamebearer.numTicks,rangeMax:(e.getBarOffset(n,t.j)+e.getBarTotal(n,t.j))/this.flamebearer.numTicks}},{zoom:r,focusedNode:a}=this;return r.match({Just:e=>a.match({Just:r=>{const a=n(r),i=t(e);return a.rangeMax-a.rangeMin<i.rangeMax-i.rangeMin?(console.warn("Focus is smaller than range, this shouldnt happen. Verify that the zoom is always bigger than the focus."),n(r)):t(e)},Nothing:()=>t(e)}),Nothing:()=>a.match({Just:e=>n(e),Nothing:()=>({rangeMin:0,rangeMax:1})})})}getCanvasWidth(){return"clientWidth"in this.canvas&&"number"==typeof this.canvas.clientWidth?this.canvas.clientWidth:this.canvas.width}isFocused(){return this.focusedNode.isJust}binarySearchLevel(e,t){const{ff:n}=this;let r=0,a=t.length-n.jStep;for(;r<=a;){const i=n.jStep*(r/n.jStep+a/n.jStep>>1),o=this.tickToX(n.getBarOffset(t,i)),s=this.tickToX(n.getBarOffset(t,i)+n.getBarTotal(t,i));if(o<=e&&s>=e)return s-o>5?i:-1;o>e?a=i-n.jStep:r=i+n.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<=Ca)return{i:0,j:0};const n=this.isFocused()?t-Ca:t,r=this.focusedNode.mapOrElse(()=>0,e=>e.i<=0?0:e.i),a=this.zoom.match({Just:()=>this.focusedNode.match({Just:()=>r,Nothing:()=>0}),Nothing:()=>this.focusedNode.match({Just:()=>r,Nothing:()=>0})}),i=Math.floor(n/La)+a;if(i>=0&&i<this.flamebearer.levels.length){const t=this.flamebearer.levels[i];if(!t)throw new Error(`Could not find level: '${i}'`);return{i:i,j:this.binarySearchLevel(e,t)}}return{i:0,j:0}}parseXY(e,t){const n={x:e,y:t};return this.isWithinBounds(e,t)?ba.of(n):ba.nothing()}xyToBar(e,t){return this.parseXY(e,t).map(n=>{const{i:r,j:a}=this.xyToBarIndex(e,t);return{i:r,j:a,...this.xyToBarPosition(n),...this.xyToBarData(n)}})}}function ms(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=ms(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function fs(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=ms(e))&&(r&&(r+=" "),r+=t);return r}var bs="NoData-module_noData__WuuID";function gs(){return e.jsx("div",{"data-testid":"no-data",className:bs,children:e.jsx("span",{children:"No data available"})})}l(".NoData-module_noData__WuuID{height:100%;padding:60px 0;text-align:center;width:100%}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIk5vRGF0YS5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw2QkFFRSxXQUFZLENBRVosY0FBZSxDQURmLGlCQUFrQixDQUZsQixVQUlGIiwiZmlsZSI6Ik5vRGF0YS5tb2R1bGUuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5ub0RhdGEge1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxMDAlO1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIHBhZGRpbmc6IDYwcHggMDtcbn0iXX0= */");var ps,xs,ys={},vs={};function Gs(){return ps||(ps=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="arrow-rotate-right",n=[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],r="f01e",a="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,n,r,a]},e.faArrowRotateRight=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=a,e.aliases=n}(vs)),vs}function ws(){return xs||(xs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Gs();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}(ys)),ys}var Is,Qs=ws(),Bs={};function Fs(){return Is||(Is=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="copy",n=[],r="f0c5",a="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,n,r,a]},e.faCopy=e.definition,e.prefix="fas",e.iconName=t,e.width=448,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=a,e.aliases=n}(Bs)),Bs}var Zs,Ns=Fs(),ks={};function Ls(){return Zs||(Zs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="highlighter",n=[],r="f591",a="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,n,r,a]},e.faHighlighter=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=a,e.aliases=n}(ks)),ks}var Cs,_s,Ws=Ls(),Xs={},Rs={};function Us(){return Cs||(Cs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="down-left-and-up-right-to-center",n=["compress-alt"],r="f422",a="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,n,r,a]},e.faDownLeftAndUpRightToCenter=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=a,e.aliases=n}(Rs)),Rs}function Ds(){return _s||(_s=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Us();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}(Xs)),Xs}var js=Ds();const Ss=e=>!!e&&"o"===e[0],Ms=r.unstable_batchedUpdates,Ys=(e,t)=>!0===e||!(!e||!e[t]),Vs=(e,t)=>"function"==typeof e?e(t):e,Os="_szhsinMenu",As=(e,t)=>Object.defineProperty(t,Os,{value:e}),Js=(e,t)=>(t&&Object.keys(t).forEach(n=>{const r=e[n],a=t[n];e[n]="function"==typeof a&&r?(...e)=>{a(...e),r(...e)}:a}),e),Es=e=>{for(;e;){if(!(e=e.parentNode)||e===document.body||!e.parentNode)return;const{overflow:t,overflowX:n,overflowY:r}=getComputedStyle(e);if(/auto|scroll|overlay|hidden/.test(t+r+n))return e}};function Ts(e,t){return{"aria-disabled":e||void 0,tabIndex:t?0:-1}}function zs(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return n;return-1}const Hs=({block:e,element:n,modifiers:r,className:a})=>t.useMemo(()=>{const t=n?`${e}__${n}`:e;let i=t;r&&Object.keys(r).forEach(e=>{const n=r[e];n&&(i+=` ${t}--${!0===n?e:`${e}-${n}`}`)});let o="function"==typeof a?a(r):a;return"string"==typeof o&&(o=o.trim(),o&&(i+=` ${o}`)),i},[e,n,r,a]),Ps="szh-menu",$s=t.createContext(),Ks=t.createContext({}),qs=t.createContext({}),el=t.createContext({}),tl=t.createContext({}),nl=t.createContext({}),rl=Object.freeze({ENTER:"Enter",ESC:"Escape",SPACE:" ",HOME:"Home",END:"End",LEFT:"ArrowLeft",RIGHT:"ArrowRight",UP:"ArrowUp",DOWN:"ArrowDown"}),al=Object.freeze({RESET:0,SET:1,UNSET:2,INCREASE:3,DECREASE:4,FIRST:5,LAST:6,SET_INDEX:7}),il=Object.freeze({CLICK:"click",CANCEL:"cancel",BLUR:"blur",SCROLL:"scroll"}),ol=Object.freeze({FIRST:"first",LAST:"last"}),sl=Object.freeze({entering:"opening",entered:"open",exiting:"closing",exited:"closed"}),ll="absolute",cl="none",ul={preventScroll:!0},dl=As("MenuButton",t.forwardRef(function({className:n,isOpen:r,disabled:a,children:i,...o},s){const l=t.useMemo(()=>({open:r}),[r]);return e.jsx("button",{"aria-haspopup":!0,"aria-expanded":r,"aria-disabled":a||void 0,type:"button",disabled:a,...o,ref:s,className:Hs({block:"szh-menu-button",modifiers:l,className:n}),children:i})})),hl=({className:n,containerRef:r,containerProps:a,children:i,isOpen:o,theming:s,transition:l,onClose:c})=>{const u=Ys(l,"item");return e.jsx("div",{...Js({onKeyDown:({key:e})=>{if(e===rl.ESC)Vs(c,{key:e,reason:il.CANCEL})},onBlur:e=>{o&&!e.currentTarget.contains(e.relatedTarget)&&Vs(c,{reason:il.BLUR})}},a),className:Hs({block:"szh-menu-container",modifiers:t.useMemo(()=>({theme:s,itemTransition:u}),[s,u]),className:n}),style:{position:"absolute",...a?.style},ref:r,children:i})},ml=()=>{let e,t=0;return{toggle:e=>{e?t++:t--,t=Math.max(t,0)},on:(n,r,a)=>{t?e||(e=setTimeout(()=>{e=0,r()},n)):a?.()},off:()=>{e&&(clearTimeout(e),e=0)}}},fl=(e,t)=>Math.round(e)===t?e:t,bl=(e,t,n,r)=>{const a=(e=>{const t=e.getBoundingClientRect();return t.width=fl(t.width,e.offsetWidth),t.height=fl(t.height,e.offsetHeight),t})(t),i=e.getBoundingClientRect(),o=n===window?{left:0,top:0,right:document.documentElement.clientWidth,bottom:window.innerHeight}:n.getBoundingClientRect(),s=(e=>{if("string"!=typeof e)return{top:0,right:0,bottom:0,left:0};const t=e.trim().split(/\s+/,4).map(parseFloat),n=isNaN(t[0])?0:t[0],r=isNaN(t[1])?n:t[1];return{top:n,right:r,bottom:isNaN(t[2])?n:t[2],left:isNaN(t[3])?r:t[3]}})(r),l=e=>e+i.left-o.left-s.left,c=e=>e+i.left+a.width-o.right+s.right,u=e=>e+i.top-o.top-s.top,d=e=>e+i.top+a.height-o.bottom+s.bottom;return{menuRect:a,containerRect:i,getLeftOverflow:l,getRightOverflow:c,getTopOverflow:u,getBottomOverflow:d,confineHorizontally:e=>{let t=l(e);if(t<0)e-=t;else{const n=c(e);n>0&&(t=l(e-=n),t<0&&(e-=t))}return e},confineVertically:e=>{let t=u(e);if(t<0)e-=t;else{const n=d(e);n>0&&(t=u(e-=n),t<0&&(e-=t))}return e}}},gl=({anchorRect:e,containerRect:t,menuRect:n,placeLeftorRightY:r,placeLeftX:a,placeRightX:i,getLeftOverflow:o,getRightOverflow:s,confineHorizontally:l,confineVertically:c,arrowRef:u,arrow:d,direction:h,position:m})=>{let f,b,g,p=h,x=r;"initial"!==m&&(x=c(x),"anchor"===m&&(x=Math.min(x,e.bottom-t.top),x=Math.max(x,e.top-t.top-n.height))),"left"===p?(f=a,"initial"!==m&&(b=o(f),b<0&&(g=s(i),(g<=0||-b>g)&&(f=i,p="right")))):(f=i,"initial"!==m&&(g=s(f),g>0&&(b=o(a),(b>=0||-b<g)&&(f=a,p="left")))),"auto"===m&&(f=l(f));const y=d?(({arrowRef:e,menuY:t,anchorRect:n,containerRect:r,menuRect:a})=>{let i=n.top-r.top-t+n.height/2;const o=1.25*e.current.offsetHeight;return i=Math.max(o,i),i=Math.min(i,a.height-o),i})({menuY:x,arrowRef:u,anchorRect:e,containerRect:t,menuRect:n}):void 0;return{arrowY:y,x:f,y:x,computedDirection:p}},pl=({anchorRect:e,containerRect:t,menuRect:n,placeToporBottomX:r,placeTopY:a,placeBottomY:i,getTopOverflow:o,getBottomOverflow:s,confineHorizontally:l,confineVertically:c,arrowRef:u,arrow:d,direction:h,position:m})=>{let f,b,g,p="top"===h?"top":"bottom",x=r;"initial"!==m&&(x=l(x),"anchor"===m&&(x=Math.min(x,e.right-t.left),x=Math.max(x,e.left-t.left-n.width))),"top"===p?(f=a,"initial"!==m&&(b=o(f),b<0&&(g=s(i),(g<=0||-b>g)&&(f=i,p="bottom")))):(f=i,"initial"!==m&&(g=s(f),g>0&&(b=o(a),(b>=0||-b<g)&&(f=a,p="top")))),"auto"===m&&(f=c(f));const y=d?(({arrowRef:e,menuX:t,anchorRect:n,containerRect:r,menuRect:a})=>{let i=n.left-r.left-t+n.width/2;const o=1.25*e.current.offsetWidth;return i=Math.max(o,i),i=Math.min(i,a.width-o),i})({menuX:x,arrowRef:u,anchorRect:e,containerRect:t,menuRect:n}):void 0;return{arrowX:y,x:x,y:f,computedDirection:p}},xl="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?t.useLayoutEffect:t.useEffect;function yl(e,t){"function"==typeof e?e(t):e.current=t}const vl=(e,n)=>t.useMemo(()=>e?n?t=>{yl(e,t),yl(n,t)}:e:n,[e,n]),Gl=({ariaLabel:n,menuClassName:a,menuStyle:i,arrow:o,arrowProps:s={},anchorPoint:l,anchorRef:c,containerRef:u,containerProps:d,externalRef:h,parentScrollingRef:m,align:f="start",direction:b="bottom",position:g="auto",overflow:p="visible",setDownOverflow:x,repositionFlag:y,captureFocus:v=!0,state:G,endTransition:w,isDisabled:I,menuItemFocus:Q,gap:B=0,shift:F=0,children:Z,onClose:N,focusProps:k,...L})=>{const[C,_]=t.useState({x:-9999,y:-9999}),[W,X]=t.useState({}),[R,U]=t.useState(),[D,j]=t.useState(b),[S]=t.useState(ml),[M,Y]=t.useReducer(e=>e+1,1),{transition:V,boundingBoxRef:O,boundingBoxPadding:A,rootMenuRef:J,rootAnchorRef:E,scrollNodesRef:T,reposition:z,viewScroll:H,submenuCloseDelay:P}=t.useContext(nl),{submenuCtx:$,reposSubmenu:K=y}=t.useContext(qs),q=t.useRef(),ee=t.useRef(),te=t.useRef(!1),{hoverItem:ne,dispatch:re,updateItems:ae}=(e=>{const[n,r]=t.useState(),a=t.useRef({items:[],hoverIndex:-1,sorted:!1}).current,i=t.useCallback((t,n)=>{const{items:i}=a;if(t)if(n)i.push(t);else{const n=i.indexOf(t);n>-1&&(i.splice(n,1),t.contains(document.activeElement)&&(e.current.focus(ul),r()))}else a.items=[];a.hoverIndex=-1,a.sorted=!1},[a,e]),o=t.useCallback((t,n,i)=>{const{items:o,hoverIndex:s}=a,l=()=>{if(a.sorted)return;const t=e.current.querySelectorAll(".szh-menu__item");o.sort((e,n)=>zs(t,e)-zs(t,n)),a.sorted=!0};let c,u=-1;switch(t){case al.RESET:break;case al.SET:c=n;break;case al.UNSET:c=e=>e===n?void 0:e;break;case al.FIRST:l(),u=0,c=o[u];break;case al.LAST:l(),u=o.length-1,c=o[u];break;case al.SET_INDEX:l(),u=i,c=o[u];break;case al.INCREASE:l(),u=s,u<0&&(u=o.indexOf(n)),u++,u>=o.length&&(u=0),c=o[u];break;case al.DECREASE:l(),u=s,u<0&&(u=o.indexOf(n)),u--,u<0&&(u=o.length-1),c=o[u];break;default:if("production"!==process.env.NODE_ENV)throw new Error(`[React-Menu] Unknown hover action type: ${t}`)}c||(u=-1),r(c),a.hoverIndex=u},[e,a]);return{hoverItem:n,dispatch:o,updateItems:i}})(q),ie=Ss(G),oe=Ys(V,"open"),se=Ys(V,"close"),le=T.current,ce=t.useCallback(e=>{const t=q.current,n=u.current;if(!t||!n)return;const r=c?c.current?.getBoundingClientRect():l?{left:l.x,right:l.x,top:l.y,bottom:l.y,width:0,height:0}:null;if(!r)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."));le.menu||(le.menu=(O?O.current:Es(J.current))||window);const a=bl(n,t,le.menu,A);let{arrowX:i,arrowY:s,x:d,y:h,computedDirection:m}=(({arrow:e,align:t,direction:n,gap:r,shift:a,position:i,anchorRect:o,arrowRef:s,positionHelpers:l})=>{const{menuRect:c,containerRect:u}=l,d="left"===n||"right"===n;let h=d?r:a,m=d?a:r;if(e){const e=s.current;d?h+=e.offsetWidth:m+=e.offsetHeight}const f=o.left-u.left-c.width-h,b=o.right-u.left+h,g=o.top-u.top-c.height-m,p=o.bottom-u.top+m;let x,y;"end"===t?(x=o.right-u.left-c.width,y=o.bottom-u.top-c.height):"center"===t?(x=o.left-u.left-(c.width-o.width)/2,y=o.top-u.top-(c.height-o.height)/2):(x=o.left-u.left,y=o.top-u.top),x+=h,y+=m;const v={...l,anchorRect:o,placeLeftX:f,placeRightX:b,placeLeftorRightY:y,placeTopY:g,placeBottomY:p,placeToporBottomX:x,arrowRef:s,arrow:e,direction:n,position:i};switch(n){case"left":case"right":return gl(v);default:return pl(v)}})({arrow:o,align:f,direction:b,gap:B,shift:F,position:g,anchorRect:r,arrowRef:ee,positionHelpers:a});const{menuRect:x}=a,y=x.height;if(!e&&"visible"!==p){const{getTopOverflow:e,getBottomOverflow:t}=a;let n,r;const i=t(h);if(i>0)n=y-i,r=i;else{const t=e(h);t<0&&(n=y+t,r=0-t,n>=0&&(h-=t))}n>=0&&U({height:n,overflowAmt:r})}o&&X({x:i,y:s}),_({x:d,y:h}),j(m)},[o,f,A,b,B,F,g,p,l,c,u,O,J,le]);xl(()=>{ie&&(ce(),te.current&&Y()),te.current=ie},[ie,ce,K]),xl(()=>{R&&!x&&(q.current.scrollTop=0)},[R,x]),xl(()=>ae,[ae]),t.useEffect(()=>{let{menu:e}=le;if(!ie||!e)return;if(e=e.addEventListener?e:window,!le.anchors){le.anchors=[];let t=Es(E&&E.current);for(;t&&t!==e;)le.anchors.push(t),t=Es(t)}let t=H;if(le.anchors.length&&"initial"===t&&(t="auto"),"initial"===t)return;const n=()=>{"auto"===t?Ms(()=>ce(!0)):Vs(N,{reason:il.SCROLL})},r=le.anchors.concat("initial"!==H?e:[]);return r.forEach(e=>e.addEventListener("scroll",n)),()=>r.forEach(e=>e.removeEventListener("scroll",n))},[E,le,ie,N,H,ce]);const ue=!!R&&R.overflowAmt>0;t.useEffect(()=>{if(ue||!ie||!m)return;const e=()=>Ms(ce),t=m.current;return t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)},[ie,ue,m,ce]),t.useEffect(()=>{if(!ie||"function"!=typeof ResizeObserver||"initial"===z)return;const e=[],t=new ResizeObserver(t=>t.forEach(({target:t})=>{e.indexOf(t)<0?e.push(t):r.flushSync(()=>{ce(),Y()})})),n={box:"border-box"};t.observe(q.current,n);const a=c?.current;return a&&t.observe(a,n),()=>t.disconnect()},[ie,z,c,ce]),t.useEffect(()=>{if(!ie)return re(al.RESET),void(se||U());const{position:e,alwaysUpdate:t}=Q||{},n=()=>{e===ol.FIRST?re(al.FIRST):e===ol.LAST?re(al.LAST):e>=-1&&re(al.SET_INDEX,void 0,e)};if(t)n();else if(v){const e=setTimeout(()=>{const e=q.current;e&&!e.contains(document.activeElement)&&(e.focus(ul),n())},oe?170:100);return()=>clearTimeout(e)}},[ie,oe,se,v,Q,re]);const de=t.useMemo(()=>({isParentOpen:ie,submenuCtx:S,dispatch:re,updateItems:ae}),[ie,S,re,ae]);let he,me;R&&(x?me=R.overflowAmt:he=R.height);const fe=t.useMemo(()=>({reposSubmenu:M,submenuCtx:S,overflow:p,overflowAmt:me,parentMenuRef:q,parentDir:D}),[M,S,p,me,D]),be=he>=0?{maxHeight:he,overflow:p}:void 0,ge=t.useMemo(()=>({state:G,align:f,dir:D}),[G,f,D]),pe=t.useMemo(()=>({dir:D}),[D]),xe=Hs({block:Ps,element:"arrow",modifiers:pe,className:s.className}),ye=e.jsxs("ul",{role:"menu","aria-label":n,...Ts(I),...Js({onPointerEnter:$?.off,onPointerMove:e=>{e.stopPropagation(),S.on(P,()=>{re(al.RESET),q.current.focus(ul)})},onPointerLeave:e=>{e.target===e.currentTarget&&S.off()},onKeyDown:e=>{switch(e.key){case rl.HOME:re(al.FIRST);break;case rl.END:re(al.LAST);break;case rl.UP:re(al.DECREASE,ne);break;case rl.DOWN:re(al.INCREASE,ne);break;case rl.SPACE:return void(e.target&&-1!==e.target.className.indexOf(Ps)&&e.preventDefault());default:return}e.preventDefault(),e.stopPropagation()},onAnimationEnd:()=>{"closing"===G&&U(),Vs(w)}},L),ref:vl(h,q),className:Hs({block:Ps,modifiers:ge,className:a}),style:{...i,...be,margin:0,display:"closed"===G?"none":void 0,position:ll,left:C.x,top:C.y},children:[o&&e.jsx("li",{"aria-hidden":!0,...s,className:xe,style:{display:"block",position:ll,left:W.x,top:W.y,...s.style},ref:ee}),e.jsx(qs.Provider,{value:fe,children:e.jsx(Ks.Provider,{value:de,children:e.jsx($s.Provider,{value:ne,children:Vs(Z,ge)})})})]});return d?e.jsx(hl,{...d,isOpen:ie,children:ye}):ye},wl=t.forwardRef(function({"aria-label":n,className:a,containerProps:i,initialMounted:o,unmountOnClose:s,transition:l,transitionTimeout:c,boundingBoxRef:u,boundingBoxPadding:d,reposition:h="auto",submenuOpenDelay:m=300,submenuCloseDelay:f=150,viewScroll:b="initial",portal:g,theming:p,onItemClick:x,...y},v){const G=t.useRef(null),w=t.useRef({}),{anchorRef:I,state:Q,onClose:B}=y,F=t.useMemo(()=>({initialMounted:o,unmountOnClose:s,transition:l,transitionTimeout:c,boundingBoxRef:u,boundingBoxPadding:d,rootMenuRef:G,rootAnchorRef:I,scrollNodesRef:w,reposition:h,viewScroll:b,submenuOpenDelay:m,submenuCloseDelay:f}),[o,s,l,c,I,u,d,h,b,m,f]),Z=t.useMemo(()=>({handleClick(e,t){e.stopPropagation||Vs(x,e);let n=e.keepOpen;void 0===n&&(n=t&&e.key===rl.SPACE),n||Vs(B,{value:e.value,key:e.key,reason:il.CLICK})},handleClose(e){Vs(B,{key:e,reason:il.CLICK})}}),[x,B]);if(!Q)return null;const N=e.jsx(nl.Provider,{value:F,children:e.jsx(el.Provider,{value:Z,children:e.jsx(Gl,{...y,ariaLabel:n||"Menu",externalRef:v,containerRef:G,containerProps:{className:a,containerRef:G,containerProps:i,theming:p,transition:l,onClose:B}})})});return!0===g&&"undefined"!=typeof document?r.createPortal(N,document.body):g?g.target?r.createPortal(N,g.target):g.stablePosition?null:N:N}),Il=["preEnter","entering","entered","preExit","exiting","exited","unmounted"],Ql=e=>({_s:e,status:Il[e],isEnter:e<3,isMounted:6!==e,isResolved:2===e||e>4}),Bl=e=>e?6:5,Fl=(e,t,n,r,a)=>{clearTimeout(r.current);const i=Ql(e);t(i),n.current=i,a&&a({current:i})},Zl=({enter:e=!0,exit:n=!0,preEnter:r,preExit:a,timeout:i,initialEntered:o,mountOnEnter:s,unmountOnExit:l,onStateChange:c}={})=>{const[u,d]=t.useState(()=>Ql(o?2:Bl(s))),h=t.useRef(u),m=t.useRef(),[f,b]=(e=>"object"==typeof e?[e.enter,e.exit]:[e,e])(i),g=t.useCallback(()=>{const e=((e,t)=>{switch(e){case 1:case 0:return 2;case 4:case 3:return Bl(t)}})(h.current._s,l);e&&Fl(e,d,h,m,c)},[c,l]);return[u,t.useCallback(t=>{const i=e=>{switch(Fl(e,d,h,m,c),e){case 1:f>=0&&(m.current=setTimeout(g,f));break;case 4:b>=0&&(m.current=setTimeout(g,b));break;case 0:case 3:m.current=((e,t)=>setTimeout(()=>{isNaN(document.body.offsetTop)||e(t+1)},0))(i,e)}},o=h.current.isEnter;"boolean"!=typeof t&&(t=!o),t?!o&&i(e?r?0:1:2):o&&i(n?a?3:4:Bl(l))},[g,c,e,n,r,a,f,b,l]),g]},Nl=({initialOpen:e,initialMounted:n,unmountOnClose:r,transition:a,transitionTimeout:i=500,onMenuChange:o}={})=>{const s=Ys(a,"open"),l=Ys(a,"close"),[{status:c},u,d]=Zl({initialEntered:e,mountOnEnter:!n,unmountOnExit:r,timeout:i,enter:s,exit:l,onStateChange:t.useCallback(({current:{isEnter:e,isResolved:t}})=>{!o||e&&s&&t||!e&&l&&t||o({open:e})},[o,s,l])});return[{state:sl[c],endTransition:d},u]},kl=parseInt(t.version)<19,Ll=t.forwardRef(function({"aria-label":n,captureFocus:r,initialOpen:a,menuButton:i,instanceRef:o,onMenuChange:s,...l},c){const[u,d,h]=(e=>{const[n,r]=Nl(e),[a,i]=t.useState();return[{menuItemFocus:a,...n},r,(e,t)=>{i({position:e,alwaysUpdate:t}),r(!0)}]})({...l,onMenuChange:s}),{state:m}=u,f=Ss(m),b=t.useRef(null),g=((e,n)=>{if("production"!==process.env.NODE_ENV&&"function"!=typeof n)throw new Error("[React-Menu] useClick/useHover requires a function in the second parameter.");const[r]=t.useState({});return{onMouseDown:()=>{r.v=e&&"closed"!==e},onClick:e=>r.v?r.v=!1:n(!0,e)}})(m,(e,t)=>h(t.detail?void 0:ol.FIRST)),p=t.useCallback(e=>{d(!1),e.key&&b.current.focus()},[d]),x=Vs(i,{open:f});if(!x||!x.type)throw new Error("Menu requires a menuButton prop.");const y={...Js({onKeyDown:e=>{switch(e.key){case rl.UP:h(ol.LAST);break;case rl.DOWN:h(ol.FIRST);break;default:return}e.preventDefault()},...g},x.props),ref:vl(kl?x.ref:x.props.ref,b)};"MenuButton"===x.type[Os]&&(y.isOpen=f);const v=t.cloneElement(x,y);return t.useImperativeHandle(o,()=>({openMenu:h,closeMenu:()=>d(!1)})),e.jsxs(t.Fragment,{children:[v,e.jsx(wl,{...l,...u,"aria-label":n||("string"==typeof x.props.children?x.props.children:"Menu"),anchorRef:b,ref:c,onClose:p})]})}),Cl=(n,r)=>{const a=t.memo(r),i=t.forwardRef((n,r)=>{const i=t.useRef(null);return e.jsx(a,{...n,itemRef:i,externalRef:r,isHovering:t.useContext($s)===i.current})});return i.displayName=`WithHovering(${n})`,i},_l=(e,n,r,a)=>{const[i,o,s]=(e=>{const[n,r]=t.useState(!1);return t.useEffect(()=>{!e&&r(!1)},[e]),[n,()=>!n&&r(!0),()=>r(!1)]})(r),{submenuCloseDelay:l}=t.useContext(nl),{isParentOpen:c,submenuCtx:u,dispatch:d,updateItems:h}=t.useContext(Ks),m=()=>{!r&&!a&&d(al.SET,e.current)},f=()=>{!a&&d(al.UNSET,e.current)};return((e,t,n)=>{xl(()=>{if("production"!==process.env.NODE_ENV&&!n)throw new Error(`[React-Menu] This menu item or submenu should be rendered under a menu: ${t.current.outerHTML}`);if(e)return;const r=t.current;return n(r,!0),()=>{n(r)}},[e,t,n])})(a,e,h),t.useEffect(()=>{r&&c&&n.current&&n.current.focus()},[n,r,c]),{mouseOver:i,setHover:m,onBlur:e=>{r&&!e.currentTarget.contains(e.relatedTarget)&&f()},onPointerMove:e=>{a||(e.stopPropagation(),o(),u.on(l,m,m))},onPointerLeave:(e,t)=>{s(),u.off(),!t&&f()}}},Wl=Cl("MenuItem",function({className:n,value:r,href:a,type:i,checked:o,disabled:s,children:l,onClick:c,isHovering:u,itemRef:d,externalRef:h,...m}){const f=!!s,{mouseOver:b,setHover:g,...p}=_l(d,d,u,f),x=t.useContext(el),y=t.useContext(tl),v="radio"===i,G="checkbox"===i,w=!(!a||f||v||G),I=v?y.value===r:!!G&&!!o,Q=e=>{if(f)return e.stopPropagation(),void e.preventDefault();const t={value:r,syntheticEvent:e};void 0!==e.key&&(t.key=e.key),G&&(t.checked=!I),v&&(t.name=y.name),Vs(c,t),v&&Vs(y.onRadioChange,t),x.handleClick(t,G||v)},B=t.useMemo(()=>({type:i,disabled:f,hover:b||u,checked:I,anchor:w}),[i,f,b,u,I,w]),F=Js({...p,onPointerDown:g,onKeyDown:e=>{if(u)switch(e.key){case rl.ENTER:e.preventDefault();case rl.SPACE:w?d.current.click():Q(e)}},onClick:Q},m),Z={role:v?"menuitemradio":G?"menuitemcheckbox":"menuitem","aria-checked":v||G?I:void 0,...Ts(f,u),...F,ref:vl(h,d),className:Hs({block:Ps,element:"item",modifiers:B,className:n}),children:t.useMemo(()=>Vs(l,B),[l,B])};return w?e.jsx("li",{role:cl,children:e.jsx("a",{href:a,...Z})}):e.jsx("li",{...Z})}),Xl=t.memo(t.forwardRef(function({className:t,...n},r){return e.jsx("li",{role:cl,...n,ref:r,className:Hs({block:Ps,element:"header",className:t})})})),Rl=t["undefined"!=typeof document&&void 0!==document.createElement?"useLayoutEffect":"useEffect"];function Ul(){}function Dl(e,t,n={}){const r=Sl(n.polyfill),a=(e=>{const t=s.useRef(e);return s.useEffect(()=>{t.current=e}),t})(t);return Rl(()=>{let t=!1;const n=e&&"current"in e?e.current:e;if(!n)return Ul;function i(e,n){t||a.current(e,n)}return r.subscribe(n,i),()=>{t=!0,r.unsubscribe(n,i)}},[e,r,a]),r.observer}let jl;const Sl=e=>jl||(jl=function(e){let t=!1,n=[];const r=new Map,a=new(e||window.ResizeObserver)((e,a)=>{n=n.concat(e),t||window.requestAnimationFrame(function(){const e=new Set;for(let t=0;t<n.length;t++){if(e.has(n[t].target))continue;e.add(n[t].target);const i=r.get(n[t].target);null==i||i.forEach(e=>e(n[t],a))}n=[],t=!1}),t=!0});return{observer:a,subscribe(e,t){var n;a.observe(e);const i=null!==(n=r.get(e))&&void 0!==n?n:[];i.push(t),r.set(e,i)},unsubscribe(e,t){var n;const i=null!==(n=r.get(e))&&void 0!==n?n:[];if(1===i.length)return a.unobserve(e),void r.delete(e);const o=i.indexOf(t);-1!==o&&i.splice(o,1),r.set(e,i)}}}(e));var Ml,Yl;function Vl(){if(Yl)return Ml;Yl=1;var e=/^\s+|\s+$/g,t=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,r=/^0o[0-7]+$/i,a=parseInt,i="object"==typeof c&&c&&c.Object===Object&&c,o="object"==typeof self&&self&&self.Object===Object&&self,s=i||o||Function("return this")(),l=Object.prototype.toString,u=Math.max,d=Math.min,h=function(){return s.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function f(i){if("number"==typeof i)return i;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==l.call(e)}(i))return NaN;if(m(i)){var o="function"==typeof i.valueOf?i.valueOf():i;i=m(o)?o+"":o}if("string"!=typeof i)return 0===i?i:+i;i=i.replace(e,"");var s=n.test(i);return s||r.test(i)?a(i.slice(2),s?2:8):t.test(i)?NaN:+i}return Ml=function(e,t,n){var r,a,i,o,s,l,c=0,b=!1,g=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function x(t){var n=r,i=a;return r=a=void 0,c=t,o=e.apply(i,n)}function y(e){var n=e-l;return void 0===l||n>=t||n<0||g&&e-c>=i}function v(){var e=h();if(y(e))return G(e);s=setTimeout(v,function(e){var n=t-(e-l);return g?d(n,i-(e-c)):n}(e))}function G(e){return s=void 0,p&&r?x(e):(r=a=void 0,o)}function w(){var e=h(),n=y(e);if(r=arguments,a=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(v,t),b?x(e):o}(l);if(g)return s=setTimeout(v,t),x(l)}return void 0===s&&(s=setTimeout(v,t)),o}return t=f(t)||0,m(n)&&(b=!!n.leading,i=(g="maxWait"in n)?u(f(n.maxWait)||0,t):i,p="trailing"in n?!!n.trailing:p),w.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=a=s=void 0},w.flush=function(){return void 0===s?o:G(h())},w},Ml}var Ol=u(Vl()),Al="canvas-module_canvas__Iiaz4",Jl="canvas-module_textCanvas__eFxM4";l(".canvas-module_canvas__Iiaz4{cursor:pointer;position:relative;width:100%;z-index:1}.canvas-module_textCanvas__eFxM4{left:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:2}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNhbnZhcy5tb2R1bGUuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDZCQUVFLGNBQWUsQ0FDZixpQkFBa0IsQ0FGbEIsVUFBVyxDQUdYLFNBQ0YsQ0FFQSxpQ0FFRSxNQUFPLENBR1AsbUJBQW9CLENBSnBCLGlCQUFrQixDQUVsQixLQUFNLENBQ04sVUFBVyxDQUVYLFNBQ0YiLCJmaWxlIjoiY2FudmFzLm1vZHVsZS5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuY2FudmFzIHtcbiAgd2lkdGg6IDEwMCU7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICB6LWluZGV4OiAxO1xufVxuXG4udGV4dENhbnZhcyB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgbGVmdDogMDtcbiAgdG9wOiAwO1xuICB3aWR0aDogMTAwJTtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIHotaW5kZXg6IDI7XG59XG4iXX0= */");var El="Highlight-module_highlight__1VV-X";function Tl(n){const{canvasRef:r,barHeight:a,xyToHighlightData:i,zoom:o}=n,[s,l]=t.useState({height:"0px",visibility:"hidden"}),c=t.useRef(null),u=t.useRef(null),d=t.useRef(null);t.useEffect(()=>{l({height:"0px",visibility:"hidden"})},[o]);const h=e=>{const t=c.current;if(!t)return void l(e);const n=d.current;n&&n.left===e.left&&n.top===e.top&&n.width===e.width&&n.visibility===e.visibility||(d.current=e,t.style.visibility=String(e.visibility||""),void 0!==e.left&&(t.style.left=String(e.left)),void 0!==e.top&&(t.style.top=String(e.top)),void 0!==e.width&&(t.style.width=String(e.width)),void 0!==e.height&&(t.style.height=String(e.height)))},m=e=>{u.current&&cancelAnimationFrame(u.current);const t=e.offsetX,n=e.offsetY;u.current=requestAnimationFrame(()=>{const e=i(t,n);if(e.isJust){const t=e.value;h({visibility:"visible",height:`${a}px`,...t})}else f()})},f=()=>{h({...d.current||{},visibility:"hidden"})};return t.useEffect(()=>{const e=r.current;return e?(e.addEventListener("mousemove",m),e.addEventListener("mouseout",f),()=>{e.removeEventListener("mousemove",m),e.removeEventListener("mouseout",f),u.current&&cancelAnimationFrame(u.current)}):()=>{}},[r.current,m,f]),e.jsx("div",{ref:c,className:El,style:s,"data-testid":"flamegraph-highlight"})}l(".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 zl="ContextMenuHighlight-module_highlightContextMenu__WI1nK";l(".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 Hl={height:"0px",visibility:"hidden"};function Pl(n){const{node:r,barHeight:a}=n,[i,o]=t.useState(Hl);return t.useEffect(()=>{r.match({Nothing:()=>o(Hl),Just:e=>o({visibility:"visible",height:`${a}px`,...e})})},[r]),e.jsx("div",{className:zl,style:i,"data-testid":"flamegraph-highlight-contextmenu"})}const $l={name:"Default",goodColor:gi.rgb(0,170,0),neutralColor:gi.rgb(148,142,142),badColor:gi.rgb(200,0,0),colors:[gi.hsl(24,69,60),gi.hsl(34,65,65),gi.hsl(194,52,61),gi.hsl(163,45,55),gi.hsl(211,48,60),gi.hsl(246,40,65),gi.hsl(305,63,79),gi.hsl(47,100,73),gi.rgb(183,219,171),gi.rgb(244,213,152),gi.rgb(78,146,249),gi.rgb(249,186,143),gi.rgb(242,145,145),gi.rgb(130,181,216),gi.rgb(229,168,226),gi.rgb(174,162,224),gi.rgb(154,196,138),gi.rgb(242,201,109),gi.rgb(101,197,219),gi.rgb(249,147,78),gi.rgb(234,100,96),gi.rgb(81,149,206),gi.rgb(214,131,206),gi.rgb(128,110,183)]},Kl={...$l,name:"Color Blind",goodColor:gi.rgb(26,133,255),neutralColor:gi.rgb(148,142,142),badColor:gi.rgb(220,50,32)};function ql(){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 ec(){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 tc={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"};l(".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:5}.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2x0aXAubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsK0JBR0UsK0JBQWdDLENBRWhDLGlCQUFrQixDQURsQix1Q0FBOEMsQ0FFOUMsNEJBQTZCLENBQzdCLGNBQWUsQ0FHZixtQkFBb0IsQ0FScEIsY0FBZSxDQU1mLGlCQUFrQixDQVBsQixXQUFZLENBUVosU0FFRixDQUNBLDJFQUNFLFdBQ0YsQ0FDQSxrRUFFRSw0Q0FBNkMsQ0FFN0MsMEJBQTJCLENBRDNCLDJCQUE0QixDQUY1Qiw0QkFBNkIsQ0FTN0IsbUVBQXdFLENBTHhFLGVBQWlCLENBRWpCLGVBQWdCLENBRWhCLGdCQUFpQixDQURqQixzQkFBdUIsQ0FGdkIsa0JBS0YsQ0FDQSxtRUFFRSxtRUFBd0UsQ0FEeEUsa0JBQW1CLENBRW5CLHdCQUF5QixDQUN6QixvQkFDRixDQUNBLG1FQUdFLGFBQWMsQ0FEZCxXQUFZLENBRFosdUJBR0YsQ0FDQSw0SUFFRSxxQ0FBc0MsQ0FDdEMsNENBQTZDLENBRTdDLGVBQW1CLENBRG5C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O1xuICBhbGlnbi1zZWxmOiBjZW50ZXI7XG4gIHdpZHRoOiAyMnB4O1xuICBoZWlnaHQ6IDIycHg7XG4gIG1hcmdpbi1yaWdodDogNXB4O1xufVxuLnRvb2x0aXAgLmNsaWNrSW5mbyBzcGFuIHtcbiAgZm9udC1zaXplOiAxNHB4O1xufSJdfQ== */");const nc={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",focusOnThisFunction:"Focus on this function",tableDoubleClickToFocus:"Double-click to focus in flamegraph",tableRightClickForOptions:"Right-click for more options",collapsedLevelsSingular:"total (1 level collapsed)",collapsedLevelsPlural:"total ({n} levels collapsed)",ofTotal:"of total",clearFocus:"Clear focus",sampleCountFormat:[{value:1e15,label:"Quad"},{value:1e12,label:"Tri"},{value:1e9,label:"B"},{value:1e6,label:"M"},{value:1e3,label:"K"}]},rc={...nc,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:"取消同步搜索栏",focusOnThisFunction:"聚焦到此函数",tableDoubleClickToFocus:"双击可聚焦到火焰图",tableRightClickForOptions:"右键查看更多选项",collapsedLevelsSingular:"总计(已折叠 1 层)",collapsedLevelsPlural:"总计(已折叠 {n} 层)",ofTotal:"占总量",clearFocus:"清除聚焦",sampleCountFormat:[{value:1e12,label:"兆"},{value:1e8,label:"亿"},{value:1e4,label:"万"},{value:1e3,label:"千"}]},ac=t.createContext(nc),ic=ac,oc=({messages:n,children:r})=>{const a=t.useMemo(()=>{var e;return{...nc,...n,tooltipUnitTitles:{...nc.tooltipUnitTitles,...null!==(e=null==n?void 0:n.tooltipUnitTitles)&&void 0!==e?e:{}}}},[n]);return e.jsx(ac.Provider,{value:a,children:r})},sc=()=>t.useContext(ac);function lc(e){if(!e)return null;const t=e.replace(/,/g,"").trim();if(!t)return null;const n=Number(t);return Number.isFinite(n)?n:null}function cc(e,t){if(!e||!t)return;const n=e.trim().replace(/\u2212/g,"-");return n&&"0"!==n?n.startsWith("+")?t.badColor.rgb().string():n.startsWith("-")?t.goodColor.rgb().string():void 0:void 0}function uc(e,t,n){return n<t?t:Math.max(t,Math.min(n,e))}function dc(e,t,n,r){const a=window.innerWidth,i=window.innerHeight,o=Math.max(0,n||0),s=Math.max(0,r||0);let l=e+12,c=t+20;return l+o+8>a&&(l=e-o-12),c+s+8>i&&(c=t-s-20),l=uc(l,8,a-o-8),c=uc(c,8,i-s-8),{left:l,top:c}}function hc({shouldShowFooter:n=!0,shouldShowTitle:r=!0,dataSourceRef:a,clickInfoSide:i,setTooltipContent:o,palette:s}){const l=t.useRef(null),c=t.useRef(null),u=t.useRef(null),d=t.useRef(null),[h,m]=t.useState({title:{text:"",diff:{text:"",color:""}},tooltipData:[]}),[f,b]=t.useState(),g=()=>{b({visibility:"hidden"}),m({title:{text:"",diff:{text:"",color:""}},tooltipData:[]})},p=t.useCallback(e=>{u.current&&cancelAnimationFrame(u.current);const t=e.clientX,n=e.clientY;u.current=requestAnimationFrame(()=>{if(!l.current)throw new Error("Missing tooltipElement");c.current={x:t,y:n},o(m,g,e);const r=l.current.clientWidth||0,a=l.current.clientHeight||0,{left:i,top:s}=dc(t,n,r,a);b({top:s,left:i,visibility:"visible"})})},[o]);return t.useEffect(()=>{const e=a.current;if(!e)return()=>{};const t=()=>{g()},n=t=>{e.contains(t.target)||g()};return e.addEventListener("mousemove",p),e.addEventListener("mouseout",g),e.addEventListener("mouseleave",t),window.addEventListener("mousemove",n,{passive:!0}),window.addEventListener("blur",t),()=>{e.removeEventListener("mousemove",p),e.removeEventListener("mouseout",g),e.removeEventListener("mouseleave",t),window.removeEventListener("mousemove",n),window.removeEventListener("blur",t),u.current&&cancelAnimationFrame(u.current)}},[a.current,p]),t.useLayoutEffect(()=>{if(!l.current)return;if(!c.current)return;if(0===h.tooltipData.length)return;const{x:e,y:t}=c.current,n=l.current.getBoundingClientRect(),r=n.width,a=n.height,i=d.current;if(i&&Math.abs(i.w-r)<1&&Math.abs(i.h-a)<1)return;d.current={w:r,h:a};const{left:o,top:s}=dc(e,t,r,a);b(e=>e&&e.left===o&&e.top===s&&"visible"===e.visibility?e:{...e||{},left:o,top:s,visibility:"visible"})},[h.tooltipData.length,h.title.text]),e.jsx("div",{"data-testid":"tooltip",className:fs(tc.tooltip,{[tc.flamegraphDiffTooltip]:h.tooltipData.length>1}),style:{...f,textAlign:"center"},ref:l,children:h.tooltipData.length>0&&e.jsxs(e.Fragment,{children:[r&&e.jsx("div",{className:tc.tooltipName,"data-testid":"tooltip-title",children:h.title.text}),e.jsx("div",{className:tc.functionName,"data-testid":"tooltip-function-name",children:h.title.text}),h.title.diff.text.length>0?e.jsx(mc,{data:h.tooltipData,diff:h.title.diff,palette:s}):e.jsx(mc,{data:h.tooltipData,palette:s}),n&&e.jsx(fc,{clickInfoSide:i})]})})}function mc({data:t,diff:n,palette:r}){const a=sc(),[i,o]=t,s="Location"!==a.location;if(!i)return null;let l;switch(i.tooltipType){case"flamegraph":l=()=>{const t=o&&function(e,t){const n=Wa(e),r=Wa(t);if(!n||!r)return"";const a=r.value-n.value;if(0===a)return"0";const i=a>0?"+":"-",o=Math.abs(a);let s;s=o>=100?o.toFixed(0):o>=10?o.toFixed(1):o.toFixed(2);const l=n.unit||r.unit;return l?`${i}${s} ${l}`:`${i}${s}`}(i.formattedValue,o.formattedValue),l=Xa(t,s),c=o&&function(e,t){const n=lc(e),r=lc(t);if(null==n||null==r)return"";const a=r-n;return 0===a?"0":`${a>0?"+":"-"}${Math.abs(a).toLocaleString()}`}(i.samples,o.samples),u=Xa(i.formattedValue,s),d=Xa(null==o?void 0:o.formattedValue,s),h=null==n?void 0:n.color,m=cc(t,r),f=cc(c,r);return e.jsxs(e.Fragment,{children:[o&&e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{}),e.jsx("th",{children:a.baseline}),e.jsx("th",{children:a.comparison}),e.jsx("th",{children:a.diff})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsxs("td",{children:[a.tooltipUnitTitles[i.units].percent,":"]}),e.jsx("td",{children:i.percent}),o&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:o.percent}),e.jsx("td",{style:{textAlign:"center"},children:n&&e.jsx("span",{"data-testid":"tooltip-diff",style:{color:h},children:n.text})})]})]}),e.jsxs("tr",{children:[e.jsxs("td",{children:[a.tooltipUnitTitles[i.units].formattedValue,":"]}),e.jsx("td",{children:u}),o&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:d}),e.jsx("td",{style:{textAlign:"center"},children:l&&e.jsx("span",{"data-testid":"tooltip-time-diff",style:m?{color:m}:void 0,children:l})})]})]}),e.jsxs("tr",{children:[e.jsx("td",{children:a.tooltipSamples}),e.jsx("td",{children:i.samples}),o&&e.jsxs(e.Fragment,{children:[e.jsx("td",{children:o.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":l=()=>e.jsxs(e.Fragment,{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("td",{}),e.jsxs("td",{children:[a.self," (",a.tooltipUnitTitles[i.units].total,")"]}),e.jsxs("td",{children:[a.total," (",a.tooltipUnitTitles[i.units].total,")"]})]})}),e.jsx("tbody",{children:e.jsxs("tr",{children:[e.jsxs("td",{children:[a.tooltipUnitTitles[i.units].formattedValue,":"]}),e.jsx("td",{children:i.self}),e.jsx("td",{children:i.total})]})})]});break;default:l=()=>null}return e.jsx("table",{"data-testid":"tooltip-table",className:fs(tc.tooltipTable,{[tc[`${i.tooltipType}${o?"Diff":""}`]]:i.tooltipType}),style:{textAlign:"center",margin:"0 auto"},children:l()})}function fc({clickInfoSide:t}){const n=sc();let r;switch(t){case"right":r=e.jsxs(e.Fragment,{children:[e.jsx(ql,{}),e.jsx("span",{children:n.rightClickForMoreNodeOptions})]});break;case"left":r=e.jsxs(e.Fragment,{children:[e.jsx(ec,{}),e.jsx("span",{children:n.clickToHighlightNode})]});break;default:r=e.jsx(e.Fragment,{})}return e.jsx("div",{"data-testid":"tooltip-footer",className:tc.clickInfo,children:r})}function bc(n){const{format:r,canvasRef:a,xyToData:i,numTicks:o,sampleRate:s,units:l,leftTicks:c,rightTicks:u,palette:d}=n,h=sc(),m=t.useCallback((e,t,n)=>{const a=ja(o,s,l),m=i(n.offsetX,n.offsetY);let f;var b;if(m.isJust)switch(f=m.value,f.format){case"single":{const t={percent:(b=f.total/o,`${Ua(b)}%`),samples:"trace_samples"===l?"":_a(f.total),units:l,formattedValue:a.format(f.total,s),tooltipType:"flamegraph"};e({title:{text:f.name,diff:{text:"",color:""}},tooltipData:[t]});break}case"double":{if("single"===r)throw new Error("props format is 'single' but it has been mapped to 'double'");const t=gc({formatter:a,sampleRate:s,totalLeft:f.totalLeft,leftTicks:c,totalRight:f.totalRight,rightTicks:u,title:f.name,units:l},d,h);e({title:t.title,tooltipData:t.tooltipData});break}default:throw new Error(`Unsupported format: '${f.format}'`)}else t()},[o,s,l,c,u,d,i,r,h]);return e.jsx(hc,{dataSourceRef:a,clickInfoSide:"right",setTooltipContent:m,palette:d})}function gc({formatter:e,sampleRate:t,totalLeft:n,leftTicks:r,totalRight:a,rightTicks:i,title:o,units:s},l=$l,c){var u,d;const h=i>0?a/i:0,m=Ua(r>0?n/r:0),f=Ua(h),b={percent:`${m}%`,samples:_a(n),units:s,formattedValue:e.format(n,t),tooltipType:"flamegraph"},g={percent:`${f}%`,samples:_a(a),units:s,formattedValue:e.format(a,t),tooltipType:"flamegraph"};let p=Da(m,f);Number.isFinite(p)||(p=0);let x="";p>0?x=l.badColor.rgb().string():p<0&&(x=l.goodColor.rgb().string());let y="";return 0===n&&a>0?y=null!==(u=null==c?void 0:c.diffNew)&&void 0!==u?u:"新增":0===a&&n>0?y=null!==(d=null==c?void 0:c.diffRemoved)&&void 0!==d?d:"移除":0===p?y="0%":p>0?y=`+${p.toFixed(2)}%`:p<0&&(y=`${p.toFixed(2)}%`),{title:{text:o,diff:{text:y,color:x}},tooltipData:[b,g]}}l('@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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoi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uOiBhYnNvbHV0ZTtcbiAgbGVmdDogMC44cmVtO1xuICB0b3A6IDAuNTVyZW07XG4gIGZvbnQtc2l6ZTogMC44cmVtO1xufVxuLnN6aC1tZW51X19pdGVtLS10eXBlLXJhZGlvLnN6aC1tZW51X19pdGVtLS1jaGVja2VkOjpiZWZvcmUge1xuICBjb250ZW50OiBcIuKXj1wiO1xufVxuLnN6aC1tZW51X19pdGVtLS10eXBlLWNoZWNrYm94IHtcbiAgcGFkZGluZy1sZWZ0OiAyLjJyZW07XG59XG4uc3poLW1lbnVfX2l0ZW0tLXR5cGUtY2hlY2tib3g6OmJlZm9yZSB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgbGVmdDogMC44cmVtO1xufVxuLnN6aC1tZW51X19pdGVtLS10eXBlLWNoZWNrYm94LnN6aC1tZW51X19pdGVtLS1jaGVja2VkOjpiZWZvcmUge1xuICBjb250ZW50OiBcIuKclFwiO1xufVxuLnN6aC1tZW51X19zdWJtZW51ID4gLnN6aC1tZW51X19pdGVtIHtcbiAgcGFkZGluZy1yaWdodDogMi41cmVtO1xufVxuLnN6aC1tZW51X19zdWJtZW51ID4gLnN6aC1tZW51X19pdGVtOjphZnRlciB7XG4gIGNvbnRlbnQ6IFwi4p2vXCI7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgcmlnaHQ6IDFyZW07XG59XG4uc3poLW1lbnVfX2hlYWRlciB7XG4gIGNvbG9yOiAjODg4O1xuICBmb250LXNpemU6IDAuOHJlbTtcbiAgcGFkZGluZzogMC4ycmVtIDEuNXJlbTtcbiAgdGV4dC10cmFuc2Zvcm06IHVwcGVyY2FzZTtcbn1cbiJdfQ== */');var pc="ContextMenu-module_menu__x-AtY";function xc(n){const[r,a]=Nl({transition:!0}),[i,o]=t.useState({x:0,y:0}),{canvasRef:s}=n,[l,c]=t.useState([]),{xyToMenuItems:u,onClose:d,onOpen:h}=n;return t.useEffect(()=>{a(!1);const e=s.current;if(!e)return()=>{};const t=e=>{e.preventDefault();const t=u(e.offsetX,e.offsetY);c(t);const n=e.clientX,r=e.clientY+20;o({x:n,y:r}),a(!0),h(e.offsetX,e.offsetY)};return e.addEventListener("contextmenu",t),()=>{e.removeEventListener("contextmenu",t)}},[u]),e.jsx(wl,{...r,className:pc,anchorPoint:i,onClose:()=>{a(!1),d()},children:l})}l(".ContextMenu-module_menu__x-AtY{display:block}.ContextMenu-module_menu__x-AtY svg{margin-right:10px}.ContextMenu-module_menu__x-AtY .szh-menu{background-color:var(--ps-dropdown-background,#fff);border:1px solid var(--ps-ui-border,#d9d9d9);border-radius:6px;box-shadow:0 6px 16px 0 rgba(0,0,0,.08),0 3px 6px -4px rgba(0,0,0,.12),0 9px 28px 8px rgba(0,0,0,.05);color:var(--ps-ui-foreground-text,#000);font-size:13px;min-width:180px;padding:4px 0}.ContextMenu-module_menu__x-AtY .szh-menu__item{align-items:center;color:inherit;cursor:pointer;display:flex;gap:8px;height:32px;padding:6px 12px;transition:background-color .15s}.ContextMenu-module_menu__x-AtY .szh-menu__item:hover{background-color:var(--ps-ui-element-bg-highlight,#f5f5f5)}.ContextMenu-module_menu__x-AtY .szh-menu__item svg{flex-shrink:0;height:14px;margin-right:0;width:14px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbnRleHRNZW51Lm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGdDQUNFLGFBQ0YsQ0FDQSxvQ0FDRSxpQkFDRixDQUNBLDBDQUNFLG1EQUFxRCxDQUNyRCw0Q0FBOEMsQ0FDOUMsaUJBQWtCLENBQ2xCLHFHQUFvSCxDQUlwSCx1Q0FBeUMsQ0FEekMsY0FBZSxDQURmLGVBQWdCLENBRGhCLGFBSUYsQ0FDQSxnREFFRSxrQkFBbUIsQ0FLbkIsYUFBYyxDQURkLGNBQWUsQ0FMZixZQUFhLENBRWIsT0FBUSxDQUVSLFdBQ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M7XG59XG4ubWVudSA6Z2xvYmFsKC5zemgtbWVudV9faXRlbSk6aG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy11aS1lbGVtZW50LWJnLWhpZ2hsaWdodCwgI2Y1ZjVmNSk7XG59XG4ubWVudSA6Z2xvYmFsKC5zemgtbWVudV9faXRlbSkgc3ZnIHtcbiAgd2lkdGg6IDE0cHg7XG4gIGhlaWdodDogMTRweDtcbiAgZmxleC1zaHJpbms6IDA7XG4gIG1hcmdpbi1yaWdodDogMDtcbn0iXX0= */");var yc="LogoLink-module_logoLink__oWRri";function vc(){return e.jsxs("a",{className:yc,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"})]})}l(".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 Gc=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"64 64 896 896",fill:"currentColor",children:e.jsx("path",{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 208H676V232h212v136zm0 224H676V432h212v160zM412 432h200v160H412V432zm200-64H412V232h200v136zm-476 64h212v160H136V432zm0-200h212v136H136V232zm0 424h212v136H136V656zm276 0h200v136H412V656zm476 136H676V656h212v136z"})}),wc=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"64 64 896 896",fill:"currentColor",children:e.jsx("path",{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"})}),Ic=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"64 64 896 896",fill:"currentColor",children:e.jsx("path",{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"})}),Qc=({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"})]})]}),Bc=()=>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"})})]}),Fc=()=>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 Zc="Header-module_flamegraphHeader__nIrXP",Nc="Header-module_row__P7-2L",kc="Header-module_flamegraphTitle__sjsvB";function Lc(t){const{format:n,units:r,toolbarVisible:a}=t,i={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:""},o=a&&"single"===n?e.jsx("div",{className:`${Nc} ${kc}`,role:"heading","aria-level":2,children:i[r]&&e.jsxs(e.Fragment,{children:["Frame width represents ",i[r]]})}):null;return o?e.jsx("div",{className:Zc,children:e.jsx("div",{children:o})}):null}l(".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 Cc="FlamegraphBreadcrumb-module_bar__v8uhn",_c="FlamegraphBreadcrumb-module_chip__pdv1k",Wc="FlamegraphBreadcrumb-module_focusTooltip__nX30y",Xc="FlamegraphBreadcrumb-module_separator__Zj-rC",Rc="FlamegraphBreadcrumb-module_chipSeparator__S-Gld",Uc="FlamegraphBreadcrumb-module_unitLabel__bjHEA",Dc="FlamegraphBreadcrumb-module_focusIcon__aJBb6",jc="FlamegraphBreadcrumb-module_ofTotal__kk4dt",Sc="FlamegraphBreadcrumb-module_clearBtn__spimK";function Mc(t){const{totalValueText:n,totalSamplesText:r,samplesLabel:a,unitLabel:i,hasFocus:o,focusPercent:s,focusLabel:l,ofTotalPlacement:c="after",ofTotalLabel:u,clearFocusLabel:d,onClearFocus:h}=t,m=l&&l.trim().length>0?l:void 0;return e.jsxs("div",{className:Cc,"aria-live":"polite",children:[e.jsxs("span",{className:_c,children:[e.jsx("span",{children:n}),e.jsx("span",{className:Xc,children:"|"}),e.jsxs("span",{children:[r," ",a]}),e.jsxs("span",{className:Uc,children:["(",i,")"]})]}),o&&void 0!==s&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:Rc,children:">"}),e.jsxs("span",{className:`${_c} ${Wc}`,"data-tooltip":m,children:[e.jsx("span",{className:Dc,"aria-hidden":"true",children:e.jsxs("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6-10-6-10-6Z"}),e.jsx("circle",{cx:"12",cy:"12",r:"3.2"})]})}),"before"===c?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:jc,children:u}),e.jsxs("span",{children:[s.toFixed(2),"%"]})]}):e.jsxs(e.Fragment,{children:[e.jsxs("span",{children:[s.toFixed(2),"%"]}),e.jsx("span",{className:jc,children:u})]}),e.jsx("button",{type:"button",className:Sc,"aria-label":d,onClick:e=>{e.preventDefault(),e.stopPropagation(),h()},children:"×"})]})]})]})}l('.FlamegraphBreadcrumb-module_bar__v8uhn{align-items:center;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:6px 0;width:100%}.FlamegraphBreadcrumb-module_chip__pdv1k{align-items:center;background-color:var(--ps-ui-element-bg-primary);border:1px solid var(--ps-ui-border);border-radius:999px;color:var(--ps-ui-foreground-text);display:inline-flex;font-size:12px;gap:6px;line-height:1.2;padding:4px 10px}.FlamegraphBreadcrumb-module_focusTooltip__nX30y{position:relative}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:hover:after,.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:hover:before{opacity:1;transform:translate(-50%,-6px)}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:after{background:var(--ps-ui-foreground);border:1px solid var(--ps-ui-border);border-radius:6px;color:var(--ps-ui-foreground-text);content:attr(data-tooltip);font-size:12px;padding:6px 8px;white-space:nowrap;z-index:3}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:after,.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:before{bottom:100%;left:50%;opacity:0;pointer-events:none;position:absolute;transform:translate(-50%,-2px);transition:opacity .12s ease,transform .12s ease}.FlamegraphBreadcrumb-module_focusTooltip__nX30y[data-tooltip]:before{border-color:var(--ps-ui-border) transparent transparent transparent;border-style:solid;border-width:6px 6px 0;content:"";z-index:2}.FlamegraphBreadcrumb-module_separator__Zj-rC{opacity:.6}.FlamegraphBreadcrumb-module_chipSeparator__S-Gld{color:var(--ps-ui-foreground-text);opacity:.6}.FlamegraphBreadcrumb-module_unitLabel__bjHEA{opacity:.8}.FlamegraphBreadcrumb-module_focusIcon__aJBb6{align-items:center;color:currentColor;display:inline-flex;font-size:12px}.FlamegraphBreadcrumb-module_ofTotal__kk4dt{opacity:.8}.FlamegraphBreadcrumb-module_clearBtn__spimK{background:transparent;border:none;color:var(--ps-toolbar-icon-color);cursor:pointer;font-size:14px;line-height:1;margin-left:4px;padding:0}.FlamegraphBreadcrumb-module_clearBtn__spimK:focus-visible{border-radius:4px;outline:1px solid var(--ps-ui-border)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZsYW1lZ3JhcGhCcmVhZGNydW1iLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHdDQUVFLGtCQUFtQixDQURuQixZQUFhLENBSWIsY0FBZSxDQUNmLE9BQVEsQ0FIUixzQkFBdUI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S1mb3JlZ3JvdW5kLXRleHQpO1xufVxuXG4udW5pdExhYmVsIHtcbiAgb3BhY2l0eTogMC44O1xufVxuXG4uZm9jdXNJY29uIHtcbiAgZm9udC1zaXplOiAxMnB4O1xuICBkaXNwbGF5OiBpbmxpbmUtZmxleDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgY29sb3I6IGN1cnJlbnRDb2xvcjtcbn1cblxuLm9mVG90YWwge1xuICBvcGFjaXR5OiAwLjg7XG59XG5cbi5jbGVhckJ0biB7XG4gIG1hcmdpbi1sZWZ0OiA0cHg7XG4gIHBhZGRpbmc6IDA7XG4gIGJvcmRlcjogbm9uZTtcbiAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQ7XG4gIGNvbG9yOiB2YXIoLS1wcy10b29sYmFyLWljb24tY29sb3IpO1xuICBjdXJzb3I6IHBvaW50ZXI7XG4gIGZvbnQtc2l6ZTogMTRweDtcbiAgbGluZS1oZWlnaHQ6IDE7XG59XG5cbi5jbGVhckJ0bjpmb2N1cy12aXNpYmxlIHtcbiAgb3V0bGluZTogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbn0iXX0= */');var Yc="styles-module_flamegraphPane__ejguD",Vc="styles-module_fitModeItem__0UBwN",Oc="styles-module_sandwichItem__WYvnd",Ac="styles-module_flamegraphFrame__9ZW-z";l(".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:0;width:1em}.styles-module_flamegraphFrame__9ZW-z{background-color:transparent;border:1px solid var(--ps-ui-border);border-radius:6px;min-height:var(--kylin-flamegraph-pane-min-height,320px);padding:6px 8px 8px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxxQ0FDRSxNQUFPLENBQ1AsaUJBQ0YsQ0FDQSx1SkFHRSxjQUFlLENBRGYsU0FFRixDQUVBLHNDQUlFLDRCQUE2QixDQUg3QixvQ0FBcUMsQ0FDckMsaUJBQWtCLENBR2xCLHdEQUEwRCxDQUYxRCxtQkFHRiIsImZpbGUiOiJzdHlsZXMubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZmxhbWVncmFwaFBhbmUge1xuICBmbGV4OiAxO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG59XG4uZmxhbWVncmFwaFBhbmUgLmZpdE1vZGVJdGVtIHN2Zyxcbi5mbGFtZWdyYXBoUGFuZSAuc2FuZHdpY2hJdGVtIHN2ZyB7XG4gIHdpZHRoOiAxZW07XG4gIG1hcmdpbi1yaWdodDogMDtcbn1cblxuLmZsYW1lZ3JhcGhGcmFtZSB7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIGJvcmRlci1yYWRpdXM6IDZweDtcbiAgcGFkZGluZzogNnB4IDhweCA4cHg7XG4gIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50O1xuICBtaW4taGVpZ2h0OiB2YXIoLS1reWxpbi1mbGFtZWdyYXBoLXBhbmUtbWluLWhlaWdodCwgMzIwcHgpO1xufSJdfQ== */");const Jc='const e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};for(const t in e)Object.freeze(e[t]);var t=Object.freeze(e);const n=Object.create(null);for(const e in t)Object.hasOwn(t,e)&&(n[t[e]]=e);const r={to:{},get:{}};function a(e,t,n){return Math.min(Math.max(t,e),n)}function s(e){const t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}r.get=function(e){let t,n;switch(e.slice(0,3).toLowerCase()){case"hsl":t=r.get.hsl(e),n="hsl";break;case"hwb":t=r.get.hwb(e),n="hwb";break;default:t=r.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},r.get.rgb=function(e){if(!e)return null;let n,r,s,i=[0,0,0,1];if(n=e.match(/^#([a-f\\d]{6})([a-f\\d]{2})?$/i)){for(s=n[2],n=n[1],r=0;r<3;r++){const e=2*r;i[r]=Number.parseInt(n.slice(e,e+2),16)}s&&(i[3]=Number.parseInt(s,16)/255)}else if(n=e.match(/^#([a-f\\d]{3,4})$/i)){for(n=n[1],s=n[3],r=0;r<3;r++)i[r]=Number.parseInt(n[r]+n[r],16);s&&(i[3]=Number.parseInt(s+s,16)/255)}else if(n=e.match(/^rgba?\\(\\s*([+-]?(?:\\d*\\.)?\\d+(?:e\\d+)?)(?=[\\s,])\\s*(?:,\\s*)?([+-]?(?:\\d*\\.)?\\d+(?:e\\d+)?)(?=[\\s,])\\s*(?:,\\s*)?([+-]?(?:\\d*\\.)?\\d+(?:e\\d+)?)\\s*(?:[\\s,|/]\\s*([+-]?(?:\\d*\\.)?\\d+(?:e\\d+)?)(%?)\\s*)?\\)$/i)){for(r=0;r<3;r++)i[r]=Number.parseFloat(n[r+1]);n[4]&&(i[3]=n[5]?.01*Number.parseFloat(n[4]):Number.parseFloat(n[4]))}else{if(!(n=e.match(/^rgba?\\(\\s*([+-]?[\\d.]+)%\\s*,?\\s*([+-]?[\\d.]+)%\\s*,?\\s*([+-]?[\\d.]+)%\\s*(?:[\\s,|/]\\s*([+-]?[\\d.]+)(%?)\\s*)?\\)$/i)))return(n=e.toLowerCase().match(/^(\\w+)$/))?"transparent"===n[1]?[0,0,0,0]:Object.hasOwn(t,n[1])?(i=t[n[1]].slice(),i[3]=1,i):null:null;for(r=0;r<3;r++)i[r]=Math.round(2.55*Number.parseFloat(n[r+1]));n[4]&&(i[3]=n[5]?.01*Number.parseFloat(n[4]):Number.parseFloat(n[4]))}for(r=0;r<3;r++)i[r]=a(i[r],0,255);return i[3]=a(i[3],0,1),i},r.get.hsl=function(e){if(!e)return null;const t=e.match(/^hsla?\\(\\s*([+-]?(?:\\d{0,3}\\.)?\\d+)(?:deg)?\\s*,?\\s*([+-]?[\\d.]+)%\\s*,?\\s*([+-]?[\\d.]+)%\\s*(?:[,|/]\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:e[+-]?\\d+)?)\\s*)?\\)$/i);if(t){const e=Number.parseFloat(t[4]);return[(Number.parseFloat(t[1])%360+360)%360,a(Number.parseFloat(t[2]),0,100),a(Number.parseFloat(t[3]),0,100),a(Number.isNaN(e)?1:e,0,1)]}return null},r.get.hwb=function(e){if(!e)return null;const t=e.match(/^hwb\\(\\s*([+-]?\\d{0,3}(?:\\.\\d+)?)(?:deg)?\\s*[\\s,]\\s*([+-]?[\\d.]+)%\\s*[\\s,]\\s*([+-]?[\\d.]+)%\\s*(?:[\\s,]\\s*([+-]?(?=\\.\\d|\\d)(?:0|[1-9]\\d*)?(?:\\.\\d*)?(?:e[+-]?\\d+)?)\\s*)?\\)$/i);if(t){const e=Number.parseFloat(t[4]);return[(Number.parseFloat(t[1])%360+360)%360,a(Number.parseFloat(t[2]),0,100),a(Number.parseFloat(t[3]),0,100),a(Number.isNaN(e)?1:e,0,1)]}return null},r.to.hex=function(...e){return"#"+s(e[0])+s(e[1])+s(e[2])+(e[3]<1?s(Math.round(255*e[3])):"")},r.to.rgb=function(...e){return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},r.to.rgb.percent=function(...e){const t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},r.to.hsl=function(...e){return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},r.to.hwb=function(...e){let t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},r.to.keyword=function(...e){return n[e.slice(0,3)]};const i={};for(const e of Object.keys(t))i[t[e]]=e;const o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},u=(6/29)**3;function l(e){const t=e>.0031308?1.055*e**(1/2.4)-.055:12.92*e;return Math.min(Math.max(0,t),1)}function c(e){return e>.04045?((e+.055)/1.055)**2.4:e/12.92}for(const e of Object.keys(o)){if(!("channels"in o[e]))throw new Error("missing channels property: "+e);if(!("labels"in o[e]))throw new Error("missing channel labels property: "+e);if(o[e].labels.length!==o[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=o[e];delete o[e].channels,delete o[e].labels,Object.defineProperty(o[e],"channels",{value:t}),Object.defineProperty(o[e],"labels",{value:n})}function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}function h(e){const t=function(){const e={},t=Object.keys(o);for(let{length:n}=t,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length>0;){const e=n.pop(),r=Object.keys(o[e]);for(let{length:a}=r,s=0;s<a;s++){const a=r[s],i=t[a];-1===i.distance&&(i.distance=t[e].distance+1,i.parent=e,n.unshift(a))}}return t}function f(e,t){return function(n){return t(e(n))}}function p(e,t){const n=[t[e].parent,e];let r=o[t[e].parent][e],a=t[e].parent;for(;t[a].parent;)n.unshift(t[a].parent),r=f(o[t[a].parent][a],r),a=t[a].parent;return r.conversion=n,r}function m(e){const t=h(e),n={},r=Object.keys(t);for(let{length:e}=r,a=0;a<e;a++){const e=r[a];null!==t[e].parent&&(n[e]=p(e,t))}return n}o.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,a=Math.min(t,n,r),s=Math.max(t,n,r),i=s-a;let o,u;switch(s){case a:o=0;break;case t:o=(n-r)/i;break;case n:o=2+(r-t)/i;break;case r:o=4+(t-n)/i}o=Math.min(60*o,360),o<0&&(o+=360);const l=(a+s)/2;return u=s===a?0:l<=.5?i/(s+a):i/(2-s-a),[o,100*u,100*l]},o.rgb.hsv=function(e){let t,n,r,a,s;const i=e[0]/255,o=e[1]/255,u=e[2]/255,l=Math.max(i,o,u),c=l-Math.min(i,o,u),d=function(e){return(l-e)/6/c+.5};if(0===c)a=0,s=0;else{switch(s=c/l,t=d(i),n=d(o),r=d(u),l){case i:a=r-n;break;case o:a=1/3+t-r;break;case u:a=2/3+n-t}a<0?a+=1:a>1&&(a-=1)}return[360*a,100*s,100*l]},o.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const a=o.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[a,100*s,100*r]},o.rgb.oklab=function(e){const t=c(e[0]/255),n=c(e[1]/255),r=c(e[2]/255),a=Math.cbrt(.4122214708*t+.5363325363*n+.0514459929*r),s=Math.cbrt(.2119034982*t+.6806995451*n+.1073969566*r),i=Math.cbrt(.0883024619*t+.2817188376*n+.6299787005*r);return[100*(.2104542553*a+.793617785*s-.0040720468*i),100*(1.9779984951*a-2.428592205*s+.4505937099*i),100*(.0259040371*a+.7827717662*s-.808675766*i)]},o.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,a=Math.min(1-t,1-n,1-r);return[100*((1-t-a)/(1-a)||0),100*((1-n-a)/(1-a)||0),100*((1-r-a)/(1-a)||0),100*a]},o.rgb.keyword=function(e){const n=i[e];if(n)return n;let r,a=Number.POSITIVE_INFINITY;for(const n of Object.keys(t)){const s=d(e,t[n]);s<a&&(a=s,r=n)}return r},o.keyword.rgb=function(e){return[...t[e]]},o.rgb.xyz=function(e){const t=c(e[0]/255),n=c(e[1]/255),r=c(e[2]/255);return[100*(.4124564*t+.3575761*n+.1804375*r),100*(.2126729*t+.7151522*n+.072175*r),100*(.0193339*t+.119192*n+.9503041*r)]},o.rgb.lab=function(e){const t=o.rgb.xyz(e);let n=t[0],r=t[1],a=t[2];n/=95.047,r/=100,a/=108.883,n=n>u?n**(1/3):7.787*n+16/116,r=r>u?r**(1/3):7.787*r+16/116,a=a>u?a**(1/3):7.787*a+16/116;return[116*r-16,500*(n-r),200*(r-a)]},o.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let a,s;if(0===n)return s=255*r,[s,s,s];const i=r<.5?r*(1+n):r+n-r*n,o=2*r-i,u=[0,0,0];for(let e=0;e<3;e++)a=t+1/3*-(e-1),a<0&&a++,a>1&&a--,s=6*a<1?o+6*(i-o)*a:2*a<1?i:3*a<2?o+(i-o)*(2/3-a)*6:o,u[e]=255*s;return u},o.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,a=n;const s=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,a*=s<=1?s:2-s;return[t,100*(0===r?2*a/(s+a):2*n/(r+n)),100*((r+n)/2)]},o.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const a=Math.floor(t)%6,s=t-Math.floor(t),i=255*r*(1-n),o=255*r*(1-n*s),u=255*r*(1-n*(1-s));switch(r*=255,a){case 0:return[r,u,i];case 1:return[o,r,i];case 2:return[i,r,u];case 3:return[i,o,r];case 4:return[u,i,r];case 5:return[r,i,o]}},o.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,a=Math.max(r,.01);let s,i;i=(2-n)*r;const o=(2-n)*a;return s=n*a,s/=o<=1?o:2-o,s=s||0,i/=2,[t,100*s,100*i]},o.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const a=n+r;let s;a>1&&(n/=a,r/=a);const i=Math.floor(6*t),o=1-r;s=6*t-i,1&i&&(s=1-s);const u=n+s*(o-n);let l,c,d;switch(i){default:case 6:case 0:l=o,c=u,d=n;break;case 1:l=u,c=o,d=n;break;case 2:l=n,c=o,d=u;break;case 3:l=n,c=u,d=o;break;case 4:l=u,c=n,d=o;break;case 5:l=o,c=n,d=u}return[255*l,255*c,255*d]},o.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a))]},o.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let a,s,i;return a=3.2404542*t+-1.5371385*n+-.4985314*r,s=-.969266*t+1.8760108*n+.041556*r,i=.0556434*t+-.2040259*n+1.0572252*r,a=l(a),s=l(s),i=l(i),[255*a,255*s,255*i]},o.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>u?t**(1/3):7.787*t+16/116,n=n>u?n**(1/3):7.787*n+16/116,r=r>u?r**(1/3):7.787*r+16/116;return[116*n-16,500*(t-n),200*(n-r)]},o.xyz.oklab=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,a=Math.cbrt(.8189330101*t+.3618667424*n-.1288597137*r),s=Math.cbrt(.0329845436*t+.9293118715*n+.0361456387*r),i=Math.cbrt(.0482003018*t+.2643662691*n+.633851707*r);return[100*(.2104542553*a+.793617785*s-.0040720468*i),100*(1.9779984951*a-2.428592205*s+.4505937099*i),100*(.0259040371*a+.7827717662*s-.808675766*i)]},o.oklab.oklch=function(e){return o.lab.lch(e)},o.oklab.xyz=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,a=(.999999998*t+.396337792*n+.215803758*r)**3,s=(1.000000008*t-.105561342*n-.063854175*r)**3,i=(1.000000055*t-.089484182*n-1.291485538*r)**3;return[100*(1.227013851*a-.55779998*s+.281256149*i),100*(-.040580178*a+1.11225687*s-.071676679*i),100*(-.076381285*a-.421481978*s+1.58616322*i)]},o.oklab.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,a=(t+.3963377774*n+.2158037573*r)**3,s=(t-.1055613458*n-.0638541728*r)**3,i=(t-.0894841775*n-1.291485548*r)**3;return[255*l(4.0767416621*a-3.3077115913*s+.2309699292*i),255*l(-1.2684380046*a+2.6097574011*s-.3413193965*i),255*l(-.0041960863*a-.7034186147*s+1.707614701*i)]},o.oklch.oklab=function(e){return o.lch.lab(e)},o.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;const a=n**3,s=t**3,i=r**3;return n=a>u?a:(n-16/116)/7.787,t=s>u?s:(t-16/116)/7.787,r=i>u?i:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},o.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let a;a=360*Math.atan2(r,n)/2/Math.PI,a<0&&(a+=360);return[t,Math.sqrt(n*n+r*r),a]},o.lch.lab=function(e){const t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},o.rgb.ansi16=function(e,t=null){const[n,r,a]=e;let s=null===t?o.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),0===s)return 30;let i=30+(Math.round(a/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===s&&(i+=60),i},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];if(t>>4==n>>4&&n>>4==r>>4)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},o.ansi16.rgb=function(e){let t=(e=e[0])%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=.5*(Math.trunc(e>50)+1);return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},o.ansi256.rgb=function(e){if((e=e[0])>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},o.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".slice(t.length)+t},o.hex.rgb=function(e){const t=e.toString(16).match(/[a-f\\d]{6}|[a-f\\d]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=[...n].map(e=>e+e).join(""));const r=Number.parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},o.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,a=Math.max(Math.max(t,n),r),s=Math.min(Math.min(t,n),r),i=a-s;let o;return o=i<=0?0:a===t?(n-r)/i%6:a===n?2+(r-t)/i:4+(t-n)/i,o/=6,o%=1,[360*o,100*i,100*(i<1?s/(1-i):0)]},o.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let a=0;return r<1&&(a=(n-.5*r)/(1-r)),[e[0],100*r,100*a]},o.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let a=0;return r<1&&(a=(n-r)/(1-r)),[e[0],100*r,100*a]},o.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];const a=[0,0,0],s=t%1*6,i=s%1,o=1-i;let u=0;switch(Math.floor(s)){case 0:a[0]=1,a[1]=i,a[2]=0;break;case 1:a[0]=o,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=i;break;case 3:a[0]=0,a[1]=o,a[2]=1;break;case 4:a[0]=i,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=o}return u=(1-n)*r,[255*(n*a[0]+u),255*(n*a[1]+u),255*(n*a[2]+u)]},o.hcg.hsv=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);let r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},o.hcg.hsl=function(e){const t=e[1]/100,n=e[2]/100*(1-t)+.5*t;let r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},o.hcg.hwb=function(e){const t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},o.hwb.hcg=function(e){const t=e[1]/100,n=1-e[2]/100,r=n-t;let a=0;return r<1&&(a=(n-r)/(1-r)),[e[0],100*r,100*a]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=function(e){return[0,0,e[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".slice(n.length)+n},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const g={},v=Object.keys(o);function y(e){const t=function(...t){const n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}function b(e){const t=function(...t){const n=t[0];if(null==n)return n;n.length>1&&(t=n);const r=e(t);if("object"==typeof r)for(let{length:e}=r,t=0;t<e;t++)r[t]=Math.round(r[t]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}for(const e of v){g[e]={},Object.defineProperty(g[e],"channels",{value:o[e].channels}),Object.defineProperty(g[e],"labels",{value:o[e].labels});const t=m(e),n=Object.keys(t);for(const r of n){const n=t[r];g[e][r]=b(n),g[e][r].raw=y(n)}}const _=["keyword","gray","hex"],k={};for(const e of Object.keys(g))k[[...g[e].labels].sort().join("")]=e;const x={};function w(e,t){if(!(this instanceof w))return new w(e,t);if(t&&t in _&&(t=null),t&&!(t in g))throw new Error("Unknown model: "+t);let n,a;if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof w)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){const t=r.get(e);if(null===t)throw new Error("Unable to parse color from string: "+e);this.model=t.model,a=g[this.model].channels,this.color=t.value.slice(0,a),this.valpha="number"==typeof t.value[a]?t.value[a]:1}else if(e.length>0){this.model=t||"rgb",a=g[this.model].channels;const n=Array.prototype.slice.call(e,0,a);this.color=O(n,a),this.valpha="number"==typeof e[a]?e[a]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const r=t.sort().join("");if(!(r in k))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=k[r];const{labels:a}=g[this.model],s=[];for(n=0;n<a.length;n++)s.push(e[a[n]]);this.color=O(s)}if(x[this.model])for(a=g[this.model].channels,n=0;n<a;n++){const e=x[this.model][n];e&&(this.color[n]=e(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}w.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in r.to?this:this.rgb();t=t.round("number"==typeof e?e:1);const n=1===t.valpha?t.color:[...t.color,this.valpha];return r.to[t.model](...n)},percentString(e){const t=this.rgb().round("number"==typeof e?e:1),n=1===t.valpha?t.color:[...t.color,this.valpha];return r.to.rgb.percent(...n)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){const e={},{channels:t}=g[this.model],{labels:n}=g[this.model];for(let r=0;r<t;r++)e[n[r]]=this.color[r];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new w([...this.color.map(N(e)),this.valpha],this.model)},alpha(e){return void 0!==e?new w([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:M("rgb",0,T(255)),green:M("rgb",1,T(255)),blue:M("rgb",2,T(255)),hue:M(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:M("hsl",1,T(100)),lightness:M("hsl",2,T(100)),saturationv:M("hsv",1,T(100)),value:M("hsv",2,T(100)),chroma:M("hcg",1,T(100)),gray:M("hcg",2,T(100)),white:M("hwb",1,T(100)),wblack:M("hwb",2,T(100)),cyan:M("cmyk",0,T(100)),magenta:M("cmyk",1,T(100)),yellow:M("cmyk",2,T(100)),black:M("cmyk",3,T(100)),x:M("xyz",0,T(95.047)),y:M("xyz",1,T(100)),z:M("xyz",2,T(108.833)),l:M("lab",0,T(100)),a:M("lab",1),b:M("lab",2),keyword(e){return void 0!==e?new w(e):g[this.model].keyword(this.color)},hex(e){return void 0!==e?new w(e):r.to.hex(...this.rgb().round().color)},hexa(e){if(void 0!==e)return new w(e);const t=this.rgb().round().color;let n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),r.to.hex(...t)+n},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,t=[];for(const[n,r]of e.entries()){const e=r/255;t[n]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return w.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error(\'Argument to "mix" was not a Color instance, but rather an instance of \'+typeof e);const n=e.rgb(),r=this.rgb(),a=void 0===t?.5:t,s=2*a-1,i=n.alpha()-r.alpha(),o=((s*i===-1?s:(s+i)/(1+s*i))+1)/2,u=1-o;return w.rgb(o*n.red()+u*r.red(),o*n.green()+u*r.green(),o*n.blue()+u*r.blue(),n.alpha()*a+r.alpha()*(1-a))}};for(const e of Object.keys(g)){if(_.includes(e))continue;const{channels:t}=g[e];w.prototype[e]=function(...t){return this.model===e?new w(this):t.length>0?new w(t,e):new w([...(n=g[this.model][e].raw(this.color),Array.isArray(n)?n:[n]),this.valpha],e);var n},w[e]=function(...n){let r=n[0];return"number"==typeof r&&(r=O(n,t)),new w(r,e)}}function N(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}function M(e,t,n){e=Array.isArray(e)?e:[e];for(const r of e)(x[r]||=[])[t]=n;return e=e[0],function(r){let a;return void 0!==r?(n&&(r=n(r)),a=this[e](),a.color[t]=r,a):(a=this[e]().color[t],n&&(a=n(a)),a)}}function T(e){return function(t){return Math.max(0,Math.min(e,t))}}function O(e,t){for(let n=0;n<t;n++)"number"!=typeof e[n]&&(e[n]=0);return e}const C=Symbol("BrandTag");const j=new class{constructor(e){this[C]=e}}("unit"),S=e=>null==e;function $(e,t){return void 0!==t?e(t):e}function E(e){if(function(e,t){return"object"==typeof e&&null!==e&&t in e}(e,"toString")&&"function"==typeof e.toString){const t=e.toString();return"string"==typeof t?t:JSON.stringify(e)}return JSON.stringify(e)}const A="Ok",Z="Err";class I{constructor(e){this.repr=e}static ok(e){return S(e)?new I(["Ok",j]):new I(["Ok",e])}static err(e){return S(e)?new I(["Err",j]):new I(["Err",e])}get variant(){return this.repr[0]}get value(){if(this.repr[0]===Z)throw new Error("Cannot get the value of Err");return this.repr[1]}get error(){if(this.repr[0]===A)throw new Error("Cannot get the error of Ok");return this.repr[1]}get isOk(){return this.repr[0]===A}get isErr(){return this.repr[0]===Z}map(e){return function(e,t){const n=t=>t.isOk?R(e(t.value)):t;return $(n,t)}(e,this)}mapOr(e,t){return function(e,t,n){function r(t,n){return n.isOk?t(n.value):e}function a(e,t){return void 0!==t?r(e,t):t=>r(e,t)}return void 0===t?a:void 0===n?a(t):a(t,n)}(e,t,this)}mapOrElse(e,t){return B(e,t,this)}match(e){return function(e,t){const n=t=>B(e.Err,e.Ok,t);return $(n,t)}(e,this)}mapErr(e){return function(e,t){const n=t=>t.isOk?t:P(e(t.error));return $(n,t)}(e,this)}or(e){return t=e,$(e=>e.isOk?R(e.value):t,this);var t}orElse(e){return t=e,$(e=>e.isOk?R(e.value):t(e.error),this);var t}and(e){return t=e,$(e=>e.isOk?t:P(e.error),this);var t}andThen(e){return t=e,$(e=>e.isOk?t(e.value):P(e.error),this);var t}unwrapOr(e){return function(e,t){const n=t=>t.isOk?t.value:e;return $(n,t)}(e,this)}unwrapOrElse(e){return t=e,$(e=>e.isOk?e.value:t(e.error),this);var t}toMaybe(){return(e=this).isOk?Q.just(e.value):Q.nothing();var e}toString(){return F(this)}toJSON(){return z(this)}equals(e){return t=e,void 0!==(n=this)?n.match({Err:()=>t.isErr,Ok:e=>t.isOk&&t.value===e}):e=>e.match({Err:()=>t.isErr,Ok:e=>t.isOk&&t.value===e});var t,n}ap(e){return function(e,t){const n=t=>t.andThen(t=>e.map(e=>e(t)));return $(n,t)}(this,e)}}const R=I.ok,P=I.err;function B(e,t,n){function r(t,n){return n.isOk?t(n.value):e(n.error)}function a(e,t){return void 0!==t?r(e,t):t=>r(e,t)}return void 0===t?a:void 0===n?a(t):a(t,n)}const F=e=>{const t=e.match({Ok:E,Err:E});return`${e.variant.toString()}(${t})`},z=e=>e.isOk?{variant:e.variant,value:e.value}:{variant:e.variant,error:e.error};const L=I,D="Just",J="Nothing";let q;class W{constructor(e){if(S(e))return this.repr=[J],q||(q=this),q;this.repr=[D,e]}static of(e){return new W(e)}static just(e){if(S(e))throw new Error(`attempted to call "just" with ${e}`);return new W(e)}static nothing(e){return new W}get variant(){return this.repr[0]}get value(){if(this.repr[0]===J)throw new Error("Cannot get the value of `Nothing`");return this.repr[1]}get isJust(){return this.repr[0]===D}get isNothing(){return this.repr[0]===J}map(e){return function(e,t){const n=t=>t.isJust?U(e(t.value)):V();return $(n,t)}(e,this)}mapOr(e,t){return function(e,t,n){function r(t,n){return n.isJust?t(n.value):e}function a(e,t){return void 0!==t?r(e,t):t=>r(e,t)}return void 0===t?a:void 0===n?a(t):a(t,n)}(e,t,this)}mapOrElse(e,t){return K(e,t,this)}match(e){return function(e,t){const n=t=>K(e.Nothing,e.Just,t);return $(n,t)}(e,this)}or(e){return function(e,t){const n=t=>t.isJust?t:e;return void 0!==t?n(t):n}(e,this)}orElse(e){return t=e,$(e=>e.isJust?e:t(),this);var t}and(e){return t=e,$(e=>e.isJust?t:V(),this);var t}andThen(e){return H(e,this)}unwrapOr(e){return function(e,t){const n=t=>t.isJust?t.value:e;return $(n,t)}(e,this)}unwrapOrElse(e){return t=e,$(e=>e.isJust?e.value:t(),this);var t}toOkOrErr(e){return function(e,t){const n=t=>t.isJust?L.ok(t.value):L.err(e);return void 0!==t?n(t):n}(e,this)}toOkOrElseErr(e){return function(e,t){return $(t=>t.isJust?L.ok(t.value):L.err(e()),t)}(e,this)}toString(){return function(e){const t=e.map(e=>`(${E(e)})`).unwrapOr("");return`${e.variant}${t}`}(this)}toJSON(){return(e=this).isJust?{variant:e.variant,value:X(e.value)?e.value.toJSON():e.value}:{variant:e.variant};var e}equals(e){return t=e,$(e=>e.match({Just:e=>t.isJust&&t.value===e,Nothing:()=>t.isNothing}),this);var t}ap(e){return function(e,t){const n=t=>t.andThen(t=>e.map(e=>e(t)));return $(n,t)}(this,e)}get(e){return function(e,t){return $(H(function(e,t){const n=t=>Q.of(t[e]);return $(n,t)}(e)),t)}(e,this)}}const U=W.just,V=W.nothing;function K(e,t,n){function r(t,n){return n.isJust?t(n.value):e()}function a(e,t){return void 0!==t?r(e,t):t=>r(e,t)}return void 0===t?a:void 0===n?a(t):a(t,n)}function H(e,t){const n=t=>t.isJust?e(t.value):V();return void 0!==t?n(t):n}function X(e){return e instanceof Q}const Q=W;var G,Y;!function(e){e.assertEqual=e=>{},e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=e=>{const t={};for(const n of e)t[n]=n;return t},e.getValidEnumValues=t=>{const n=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),r={};for(const e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{const t=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(const n of e)if(t(n))return n},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`\'${e}\'`:e).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(G||(G={})),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(Y||(Y={}));const ee=G.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),te=e=>{switch(typeof e){case"undefined":return ee.undefined;case"string":return ee.string;case"number":return Number.isNaN(e)?ee.nan:ee.number;case"boolean":return ee.boolean;case"function":return ee.function;case"bigint":return ee.bigint;case"symbol":return ee.symbol;case"object":return Array.isArray(e)?ee.array:null===e?ee.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?ee.promise:"undefined"!=typeof Map&&e instanceof Map?ee.map:"undefined"!=typeof Set&&e instanceof Set?ee.set:"undefined"!=typeof Date&&e instanceof Date?ee.date:ee.object;default:return ee.unknown}},ne=G.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class re extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){const t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(const a of e.issues)if("invalid_union"===a.code)a.unionErrors.map(r);else if("invalid_return_type"===a.code)r(a.returnTypeError);else if("invalid_arguments"===a.code)r(a.argumentsError);else if(0===a.path.length)n._errors.push(t(a));else{let e=n,r=0;for(;r<a.path.length;){const n=a.path[r];r===a.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(a))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}static assert(e){if(!(e instanceof re))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,G.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){const t={},n=[];for(const r of this.issues)if(r.path.length>0){const n=r.path[0];t[n]=t[n]||[],t[n].push(e(r))}else n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}re.create=e=>new re(e);const ae=(e,t)=>{let n;switch(e.code){case ne.invalid_type:n=e.received===ee.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case ne.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,G.jsonStringifyReplacer)}`;break;case ne.unrecognized_keys:n=`Unrecognized key(s) in object: ${G.joinValues(e.keys,", ")}`;break;case ne.invalid_union:n="Invalid input";break;case ne.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${G.joinValues(e.options)}`;break;case ne.invalid_enum_value:n=`Invalid enum value. Expected ${G.joinValues(e.options)}, received \'${e.received}\'`;break;case ne.invalid_arguments:n="Invalid function arguments";break;case ne.invalid_return_type:n="Invalid function return type";break;case ne.invalid_date:n="Invalid date";break;case ne.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:G.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case ne.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type||"bigint"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case ne.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case ne.custom:n="Invalid input";break;case ne.invalid_intersection_types:n="Intersection results could not be merged";break;case ne.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case ne.not_finite:n="Number must be finite";break;default:n=t.defaultError,G.assertNever(e)}return{message:n}};let se=ae;function ie(e,t){const n=se,r=(e=>{const{data:t,path:n,errorMaps:r,issueData:a}=e,s=[...n,...a.path||[]],i={...a,path:s};if(void 0!==a.message)return{...a,path:s,message:a.message};let o="";const u=r.filter(e=>!!e).slice().reverse();for(const e of u)o=e(i,{data:t,defaultError:o}).message;return{...a,path:s,message:o}})({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===ae?void 0:ae].filter(e=>!!e)});e.common.issues.push(r)}class oe{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){const n=[];for(const r of t){if("aborted"===r.status)return ue;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){const n=[];for(const e of t){const t=await e.key,r=await e.value;n.push({key:t,value:r})}return oe.mergeObjectSync(e,n)}static mergeObjectSync(e,t){const n={};for(const r of t){const{key:t,value:a}=r;if("aborted"===t.status)return ue;if("aborted"===a.status)return ue;"dirty"===t.status&&e.dirty(),"dirty"===a.status&&e.dirty(),"__proto__"===t.value||void 0===a.value&&!r.alwaysSet||(n[t.value]=a.value)}return{status:e.value,value:n}}}const ue=Object.freeze({status:"aborted"}),le=e=>({status:"dirty",value:e}),ce=e=>({status:"valid",value:e}),de=e=>"aborted"===e.status,he=e=>"dirty"===e.status,fe=e=>"valid"===e.status,pe=e=>"undefined"!=typeof Promise&&e instanceof Promise;var me;!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:e?.message}(me||(me={}));class ge{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const ve=(e,t)=>{if(fe(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new re(e.common.issues);return this._error=t,this._error}}};function ye(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:a}=e;if(t&&(n||r))throw new Error(\'Can\\\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.\');if(t)return{errorMap:t,description:a};return{errorMap:(t,a)=>{const{message:s}=e;return"invalid_enum_value"===t.code?{message:s??a.defaultError}:void 0===a.data?{message:s??r??a.defaultError}:"invalid_type"!==t.code?{message:a.defaultError}:{message:s??n??a.defaultError}},description:a}}class be{get description(){return this._def.description}_getType(e){return te(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:te(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new oe,ctx:{common:e.parent.common,data:e.data,parsedType:te(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(pe(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){const n={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:te(e)},r=this._parseSync({data:e,path:n.path,parent:n});return ve(n,r)}"~validate"(e){const t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:te(e)};if(!this["~standard"].async)try{const n=this._parseSync({data:e,path:[],parent:t});return fe(n)?{value:n.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>fe(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){const n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:te(e)},r=this._parse({data:e,path:n.path,parent:n}),a=await(pe(r)?r:Promise.resolve(r));return ve(n,a)}refine(e,t){const n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,r)=>{const a=e(t),s=()=>r.addIssue({code:ne.custom,...n(t)});return"undefined"!=typeof Promise&&a instanceof Promise?a.then(e=>!!e||(s(),!1)):!!a||(s(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1))}_refinement(e){return new yt({schema:this,typeName:Ot.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return bt.create(this,this._def)}nullable(){return _t.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return nt.create(this)}promise(){return vt.create(this,this._def)}or(e){return st.create([this,e],this._def)}and(e){return ot.create(this,e,this._def)}transform(e){return new yt({...ye(this._def),schema:this,typeName:Ot.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t="function"==typeof e?e:()=>e;return new kt({...ye(this._def),innerType:this,defaultValue:t,typeName:Ot.ZodDefault})}brand(){return new Nt({typeName:Ot.ZodBranded,type:this,...ye(this._def)})}catch(e){const t="function"==typeof e?e:()=>e;return new xt({...ye(this._def),innerType:this,catchValue:t,typeName:Ot.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return Mt.create(this,e)}readonly(){return Tt.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const _e=/^c[^\\s-]{8,}$/i,ke=/^[0-9a-z]+$/,xe=/^[0-9A-HJKMNP-TV-Z]{26}$/i,we=/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/i,Ne=/^[a-z0-9_-]{21}$/i,Me=/^[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]*$/,Te=/^[-+]?P(?!$)(?:(?:[-+]?\\d+Y)|(?:[-+]?\\d+[.,]\\d+Y$))?(?:(?:[-+]?\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]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\\\d|30)|(02)-(0[1-9]|1\\\\d|2[0-8])))",Re=new RegExp(`^${Ie}$`);function Pe(e){let t="[0-5]\\\\d";e.precision?t=`${t}\\\\.\\\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\\\.\\\\d+)?`);return`([01]\\\\d|2[0-3]):[0-5]\\\\d(:${t})${e.precision?"+":"?"}`}function Be(e){return new RegExp(`^${Pe(e)}$`)}function Fe(e){let t=`${Ie}T${Pe(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\\\d{2}:?\\\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function ze(e,t){return!("v4"!==t&&t||!je.test(e))||!("v6"!==t&&t||!$e.test(e))}function Le(e,t){if(!Me.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(r));return"object"==typeof a&&null!==a&&((!("typ"in a)||"JWT"===a?.typ)&&(!!a.alg&&(!t||a.alg===t)))}catch{return!1}}function De(e,t){return!("v4"!==t&&t||!Se.test(e))||!("v6"!==t&&t||!Ee.test(e))}class Je extends be{_parse(e){this._def.coerce&&(e.data=String(e.data));if(this._getType(e)!==ee.string){const t=this._getOrReturnCtx(e);return ie(t,{code:ne.invalid_type,expected:ee.string,received:t.parsedType}),ue}const t=new oe;let n;for(const r of this._def.checks)if("min"===r.kind)e.data.length<r.value&&(n=this._getOrReturnCtx(e,n),ie(n,{code:ne.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),t.dirty());else if("max"===r.kind)e.data.length>r.value&&(n=this._getOrReturnCtx(e,n),ie(n,{code:ne.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),t.dirty());else if("length"===r.kind){const a=e.data.length>r.value,s=e.data.length<r.value;(a||s)&&(n=this._getOrReturnCtx(e,n),a?ie(n,{code:ne.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}):s&&ie(n,{code:ne.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}),t.dirty())}else if("email"===r.kind)Oe.test(e.data)||(n=this._getOrReturnCtx(e,n),ie(n,{validation:"email",code:ne.invalid_string,message:r.message}),t.dirty());else if("emoji"===r.kind)Ce||(Ce=new RegExp("^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$","u")),Ce.test(e.data)||(n=this._getOrReturnCtx(e,n),ie(n,{validation:"emoji",code:ne.invalid_string,message:r.message}),t.dirty());else if("uuid"===r.kind)we.test(e.data)||(n=this._getOrReturnCtx(e,n),ie(n,{validation:"uuid",code:ne.invalid_string,message:r.message}),t.dirty());else if("nanoid"===r.kind)Ne.test(e.data)||(n=this._getOrReturnCtx(e,n),ie(n,{validation:"nanoid",code:ne.invalid_string,message:r.message}),t.dirty());else if("cuid"===r.kind)_e.test(e.data)||(n=this._getOrReturnCtx(e,n),ie(n,{validation:"cuid",code:ne.invalid_string,message:r.message}),t.dirty());else if("cuid2"===r.kind)ke.test(e.data)||(n=this._getOrReturnCtx(e,n),ie(n,{validation:"cuid2",code:ne.invalid_string,message:r.message}),t.dirty());else if("ulid"===r.kind)xe.test(e.data)||(n=this._getOrReturnCtx(e,n),ie(n,{validation:"ulid",code:ne.invalid_string,message:r.message}),t.dirty());else if("url"===r.kind)try{new URL(e.data)}catch{n=this._getOrReturnCtx(e,n),ie(n,{validation:"url",code:ne.invalid_string,message:r.message}),t.dirty()}else if("regex"===r.kind){r.regex.lastIndex=0;r.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),ie(n,{validation:"regex",code:ne.invalid_string,message:r.message}),t.dirty())}else if("trim"===r.kind)e.data=e.data.trim();else if("includes"===r.kind)e.data.includes(r.value,r.position)||(n=this._getOrReturnCtx(e,n),ie(n,{code:ne.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),t.dirty());else if("toLowerCase"===r.kind)e.data=e.data.toLowerCase();else if("toUpperCase"===r.kind)e.data=e.data.toUpperCase();else if("startsWith"===r.kind)e.data.startsWith(r.value)||(n=this._getOrReturnCtx(e,n),ie(n,{code:ne.invalid_string,validation:{startsWith:r.value},message:r.message}),t.dirty());else if("endsWith"===r.kind)e.data.endsWith(r.value)||(n=this._getOrReturnCtx(e,n),ie(n,{code:ne.invalid_string,validation:{endsWith:r.value},message:r.message}),t.dirty());else if("datetime"===r.kind){Fe(r).test(e.data)||(n=this._getOrReturnCtx(e,n),ie(n,{code:ne.invalid_string,validation:"datetime",message:r.message}),t.dirty())}else if("date"===r.kind){Re.test(e.data)||(n=this._getOrReturnCtx(e,n),ie(n,{code:ne.invalid_string,validation:"date",message:r.message}),t.dirty())}else if("time"===r.kind){Be(r).test(e.data)||(n=this._getOrReturnCtx(e,n),ie(n,{code:ne.invalid_string,validation:"time",message:r.message}),t.dirty())}else"duration"===r.kind?Te.test(e.data)||(n=this._getOrReturnCtx(e,n),ie(n,{validation:"duration",code:ne.invalid_string,message:r.message}),t.dirty()):"ip"===r.kind?ze(e.data,r.version)||(n=this._getOrReturnCtx(e,n),ie(n,{validation:"ip",code:ne.invalid_string,message:r.message}),t.dirty()):"jwt"===r.kind?Le(e.data,r.alg)||(n=this._getOrReturnCtx(e,n),ie(n,{validation:"jwt",code:ne.invalid_string,message:r.message}),t.dirty()):"cidr"===r.kind?De(e.data,r.version)||(n=this._getOrReturnCtx(e,n),ie(n,{validation:"cidr",code:ne.invalid_string,message:r.message}),t.dirty()):"base64"===r.kind?Ae.test(e.data)||(n=this._getOrReturnCtx(e,n),ie(n,{validation:"base64",code:ne.invalid_string,message:r.message}),t.dirty()):"base64url"===r.kind?Ze.test(e.data)||(n=this._getOrReturnCtx(e,n),ie(n,{validation:"base64url",code:ne.invalid_string,message:r.message}),t.dirty()):G.assertNever(r);return{status:t.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:ne.invalid_string,...me.errToObj(n)})}_addCheck(e){return new Je({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...me.errToObj(e)})}url(e){return this._addCheck({kind:"url",...me.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...me.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...me.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...me.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...me.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...me.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...me.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...me.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...me.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...me.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...me.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...me.errToObj(e)})}datetime(e){return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===e?.precision?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...me.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===e?.precision?null:e?.precision,...me.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...me.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...me.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...me.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...me.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...me.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...me.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...me.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...me.errToObj(t)})}nonempty(e){return this.min(1,me.errToObj(e))}trim(){return new Je({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Je({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Je({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}function qe(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,a=n>r?n:r;return Number.parseInt(e.toFixed(a).replace(".",""))%Number.parseInt(t.toFixed(a).replace(".",""))/10**a}Je.create=e=>new Je({checks:[],typeName:Ot.ZodString,coerce:e?.coerce??!1,...ye(e)});class We extends be{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){this._def.coerce&&(e.data=Number(e.data));if(this._getType(e)!==ee.number){const t=this._getOrReturnCtx(e);return ie(t,{code:ne.invalid_type,expected:ee.number,received:t.parsedType}),ue}let t;const n=new oe;for(const r of this._def.checks)if("int"===r.kind)G.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),ie(t,{code:ne.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty());else if("min"===r.kind){(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),ie(t,{code:ne.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty())}else if("max"===r.kind){(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),ie(t,{code:ne.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty())}else"multipleOf"===r.kind?0!==qe(e.data,r.value)&&(t=this._getOrReturnCtx(e,t),ie(t,{code:ne.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),ie(t,{code:ne.not_finite,message:r.message}),n.dirty()):G.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,me.toString(t))}gt(e,t){return this.setLimit("min",e,!1,me.toString(t))}lte(e,t){return this.setLimit("max",e,!0,me.toString(t))}lt(e,t){return this.setLimit("max",e,!1,me.toString(t))}setLimit(e,t,n,r){return new We({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:me.toString(r)}]})}_addCheck(e){return new We({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:me.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:me.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:me.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:me.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:me.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:me.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:me.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:me.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:me.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&G.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}We.create=e=>new We({checks:[],typeName:Ot.ZodNumber,coerce:e?.coerce||!1,...ye(e)});class Ue extends be{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==ee.bigint)return this._getInvalidInput(e);let t;const n=new oe;for(const r of this._def.checks)if("min"===r.kind){(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),ie(t,{code:ne.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty())}else if("max"===r.kind){(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),ie(t,{code:ne.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty())}else"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),ie(t,{code:ne.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):G.assertNever(r);return{status:n.value,value:e.data}}_getInvalidInput(e){const t=this._getOrReturnCtx(e);return ie(t,{code:ne.invalid_type,expected:ee.bigint,received:t.parsedType}),ue}gte(e,t){return this.setLimit("min",e,!0,me.toString(t))}gt(e,t){return this.setLimit("min",e,!1,me.toString(t))}lte(e,t){return this.setLimit("max",e,!0,me.toString(t))}lt(e,t){return this.setLimit("max",e,!1,me.toString(t))}setLimit(e,t,n,r){return new Ue({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:me.toString(r)}]})}_addCheck(e){return new Ue({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:me.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:me.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:me.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:me.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:me.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}Ue.create=e=>new Ue({checks:[],typeName:Ot.ZodBigInt,coerce:e?.coerce??!1,...ye(e)});class Ve extends be{_parse(e){this._def.coerce&&(e.data=Boolean(e.data));if(this._getType(e)!==ee.boolean){const t=this._getOrReturnCtx(e);return ie(t,{code:ne.invalid_type,expected:ee.boolean,received:t.parsedType}),ue}return ce(e.data)}}Ve.create=e=>new Ve({typeName:Ot.ZodBoolean,coerce:e?.coerce||!1,...ye(e)});class Ke extends be{_parse(e){this._def.coerce&&(e.data=new Date(e.data));if(this._getType(e)!==ee.date){const t=this._getOrReturnCtx(e);return ie(t,{code:ne.invalid_type,expected:ee.date,received:t.parsedType}),ue}if(Number.isNaN(e.data.getTime())){return ie(this._getOrReturnCtx(e),{code:ne.invalid_date}),ue}const t=new oe;let n;for(const r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(n=this._getOrReturnCtx(e,n),ie(n,{code:ne.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),t.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(n=this._getOrReturnCtx(e,n),ie(n,{code:ne.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),t.dirty()):G.assertNever(r);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Ke({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:me.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:me.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}Ke.create=e=>new Ke({checks:[],coerce:e?.coerce||!1,typeName:Ot.ZodDate,...ye(e)});class He extends be{_parse(e){if(this._getType(e)!==ee.symbol){const t=this._getOrReturnCtx(e);return ie(t,{code:ne.invalid_type,expected:ee.symbol,received:t.parsedType}),ue}return ce(e.data)}}He.create=e=>new He({typeName:Ot.ZodSymbol,...ye(e)});class Xe extends be{_parse(e){if(this._getType(e)!==ee.undefined){const t=this._getOrReturnCtx(e);return ie(t,{code:ne.invalid_type,expected:ee.undefined,received:t.parsedType}),ue}return ce(e.data)}}Xe.create=e=>new Xe({typeName:Ot.ZodUndefined,...ye(e)});class Qe extends be{_parse(e){if(this._getType(e)!==ee.null){const t=this._getOrReturnCtx(e);return ie(t,{code:ne.invalid_type,expected:ee.null,received:t.parsedType}),ue}return ce(e.data)}}Qe.create=e=>new Qe({typeName:Ot.ZodNull,...ye(e)});class Ge extends be{constructor(){super(...arguments),this._any=!0}_parse(e){return ce(e.data)}}Ge.create=e=>new Ge({typeName:Ot.ZodAny,...ye(e)});class Ye extends be{constructor(){super(...arguments),this._unknown=!0}_parse(e){return ce(e.data)}}Ye.create=e=>new Ye({typeName:Ot.ZodUnknown,...ye(e)});class et extends be{_parse(e){const t=this._getOrReturnCtx(e);return ie(t,{code:ne.invalid_type,expected:ee.never,received:t.parsedType}),ue}}et.create=e=>new et({typeName:Ot.ZodNever,...ye(e)});class tt extends be{_parse(e){if(this._getType(e)!==ee.undefined){const t=this._getOrReturnCtx(e);return ie(t,{code:ne.invalid_type,expected:ee.void,received:t.parsedType}),ue}return ce(e.data)}}tt.create=e=>new tt({typeName:Ot.ZodVoid,...ye(e)});class nt extends be{_parse(e){const{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==ee.array)return ie(t,{code:ne.invalid_type,expected:ee.array,received:t.parsedType}),ue;if(null!==r.exactLength){const e=t.data.length>r.exactLength.value,a=t.data.length<r.exactLength.value;(e||a)&&(ie(t,{code:e?ne.too_big:ne.too_small,minimum:a?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(null!==r.minLength&&t.data.length<r.minLength.value&&(ie(t,{code:ne.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&(ie(t,{code:ne.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new ge(t,e,t.path,n)))).then(e=>oe.mergeArray(n,e));const a=[...t.data].map((e,n)=>r.type._parseSync(new ge(t,e,t.path,n)));return oe.mergeArray(n,a)}get element(){return this._def.type}min(e,t){return new nt({...this._def,minLength:{value:e,message:me.toString(t)}})}max(e,t){return new nt({...this._def,maxLength:{value:e,message:me.toString(t)}})}length(e,t){return new nt({...this._def,exactLength:{value:e,message:me.toString(t)}})}nonempty(e){return this.min(1,e)}}function rt(e){if(e instanceof at){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=bt.create(rt(r))}return new at({...e._def,shape:()=>t})}return e instanceof nt?new nt({...e._def,type:rt(e.element)}):e instanceof bt?bt.create(rt(e.unwrap())):e instanceof _t?_t.create(rt(e.unwrap())):e instanceof ut?ut.create(e.items.map(e=>rt(e))):e}nt.create=(e,t)=>new nt({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ot.ZodArray,...ye(t)});class at extends be{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const e=this._def.shape(),t=G.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==ee.object){const t=this._getOrReturnCtx(e);return ie(t,{code:ne.invalid_type,expected:ee.object,received:t.parsedType}),ue}const{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:a}=this._getCached(),s=[];if(!(this._def.catchall instanceof et&&"strip"===this._def.unknownKeys))for(const e in n.data)a.includes(e)||s.push(e);const i=[];for(const e of a){const t=r[e],a=n.data[e];i.push({key:{status:"valid",value:e},value:t._parse(new ge(n,a,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof et){const e=this._def.unknownKeys;if("passthrough"===e)for(const e of s)i.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)s.length>0&&(ie(n,{code:ne.unrecognized_keys,keys:s}),t.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const e=this._def.catchall;for(const t of s){const r=n.data[t];i.push({key:{status:"valid",value:t},value:e._parse(new ge(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{const e=[];for(const t of i){const n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>oe.mergeObjectSync(t,e)):oe.mergeObjectSync(t,i)}get shape(){return this._def.shape()}strict(e){return me.errToObj,new at({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{const r=this._def.errorMap?.(t,n).message??n.defaultError;return"unrecognized_keys"===t.code?{message:me.errToObj(e).message??r}:{message:r}}}:{}})}strip(){return new at({...this._def,unknownKeys:"strip"})}passthrough(){return new at({...this._def,unknownKeys:"passthrough"})}extend(e){return new at({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new at({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Ot.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new at({...this._def,catchall:e})}pick(e){const t={};for(const n of G.objectKeys(e))e[n]&&this.shape[n]&&(t[n]=this.shape[n]);return new at({...this._def,shape:()=>t})}omit(e){const t={};for(const n of G.objectKeys(this.shape))e[n]||(t[n]=this.shape[n]);return new at({...this._def,shape:()=>t})}deepPartial(){return rt(this)}partial(e){const t={};for(const n of G.objectKeys(this.shape)){const r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}return new at({...this._def,shape:()=>t})}required(e){const t={};for(const n of G.objectKeys(this.shape))if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof bt;)e=e._def.innerType;t[n]=e}return new at({...this._def,shape:()=>t})}keyof(){return pt(G.objectKeys(this.shape))}}at.create=(e,t)=>new at({shape:()=>e,unknownKeys:"strip",catchall:et.create(),typeName:Ot.ZodObject,...ye(t)}),at.strictCreate=(e,t)=>new at({shape:()=>e,unknownKeys:"strict",catchall:et.create(),typeName:Ot.ZodObject,...ye(t)}),at.lazycreate=(e,t)=>new at({shape:e,unknownKeys:"strip",catchall:et.create(),typeName:Ot.ZodObject,...ye(t)});class st extends be{_parse(e){const{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{const n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(const t of e)if("valid"===t.result.status)return t.result;for(const n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;const n=e.map(e=>new re(e.ctx.common.issues));return ie(t,{code:ne.invalid_union,unionErrors:n}),ue});{let e;const r=[];for(const a of n){const n={...t,common:{...t.common,issues:[]},parent:null},s=a._parseSync({data:t.data,path:t.path,parent:n});if("valid"===s.status)return s;"dirty"!==s.status||e||(e={result:s,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;const a=r.map(e=>new re(e));return ie(t,{code:ne.invalid_union,unionErrors:a}),ue}}get options(){return this._def.options}}function it(e,t){const n=te(e),r=te(t);if(e===t)return{valid:!0,data:e};if(n===ee.object&&r===ee.object){const n=G.objectKeys(t),r=G.objectKeys(e).filter(e=>-1!==n.indexOf(e)),a={...e,...t};for(const n of r){const r=it(e[n],t[n]);if(!r.valid)return{valid:!1};a[n]=r.data}return{valid:!0,data:a}}if(n===ee.array&&r===ee.array){if(e.length!==t.length)return{valid:!1};const n=[];for(let r=0;r<e.length;r++){const a=it(e[r],t[r]);if(!a.valid)return{valid:!1};n.push(a.data)}return{valid:!0,data:n}}return n===ee.date&&r===ee.date&&+e===+t?{valid:!0,data:e}:{valid:!1}}st.create=(e,t)=>new st({options:e,typeName:Ot.ZodUnion,...ye(t)});class ot extends be{_parse(e){const{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(de(e)||de(r))return ue;const a=it(e.value,r.value);return a.valid?((he(e)||he(r))&&t.dirty(),{status:t.value,value:a.data}):(ie(n,{code:ne.invalid_intersection_types}),ue)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}ot.create=(e,t,n)=>new ot({left:e,right:t,typeName:Ot.ZodIntersection,...ye(n)});class ut extends be{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==ee.array)return ie(n,{code:ne.invalid_type,expected:ee.array,received:n.parsedType}),ue;if(n.data.length<this._def.items.length)return ie(n,{code:ne.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),ue;!this._def.rest&&n.data.length>this._def.items.length&&(ie(n,{code:ne.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const r=[...n.data].map((e,t)=>{const r=this._def.items[t]||this._def.rest;return r?r._parse(new ge(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>oe.mergeArray(t,e)):oe.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new ut({...this._def,rest:e})}}ut.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new ut({items:e,typeName:Ot.ZodTuple,rest:null,...ye(t)})};class lt extends be{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==ee.object)return ie(n,{code:ne.invalid_type,expected:ee.object,received:n.parsedType}),ue;const r=[],a=this._def.keyType,s=this._def.valueType;for(const e in n.data)r.push({key:a._parse(new ge(n,e,n.path,e)),value:s._parse(new ge(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?oe.mergeObjectAsync(t,r):oe.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new lt(t instanceof be?{keyType:e,valueType:t,typeName:Ot.ZodRecord,...ye(n)}:{keyType:Je.create(),valueType:e,typeName:Ot.ZodRecord,...ye(t)})}}class ct extends be{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==ee.map)return ie(n,{code:ne.invalid_type,expected:ee.map,received:n.parsedType}),ue;const r=this._def.keyType,a=this._def.valueType,s=[...n.data.entries()].map(([e,t],s)=>({key:r._parse(new ge(n,e,n.path,[s,"key"])),value:a._parse(new ge(n,t,n.path,[s,"value"]))}));if(n.common.async){const e=new Map;return Promise.resolve().then(async()=>{for(const n of s){const r=await n.key,a=await n.value;if("aborted"===r.status||"aborted"===a.status)return ue;"dirty"!==r.status&&"dirty"!==a.status||t.dirty(),e.set(r.value,a.value)}return{status:t.value,value:e}})}{const e=new Map;for(const n of s){const r=n.key,a=n.value;if("aborted"===r.status||"aborted"===a.status)return ue;"dirty"!==r.status&&"dirty"!==a.status||t.dirty(),e.set(r.value,a.value)}return{status:t.value,value:e}}}}ct.create=(e,t,n)=>new ct({valueType:t,keyType:e,typeName:Ot.ZodMap,...ye(n)});class dt extends be{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==ee.set)return ie(n,{code:ne.invalid_type,expected:ee.set,received:n.parsedType}),ue;const r=this._def;null!==r.minSize&&n.data.size<r.minSize.value&&(ie(n,{code:ne.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&(ie(n,{code:ne.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());const a=this._def.valueType;function s(e){const n=new Set;for(const r of e){if("aborted"===r.status)return ue;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}const i=[...n.data.values()].map((e,t)=>a._parse(new ge(n,e,n.path,t)));return n.common.async?Promise.all(i).then(e=>s(e)):s(i)}min(e,t){return new dt({...this._def,minSize:{value:e,message:me.toString(t)}})}max(e,t){return new dt({...this._def,maxSize:{value:e,message:me.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}dt.create=(e,t)=>new dt({valueType:e,minSize:null,maxSize:null,typeName:Ot.ZodSet,...ye(t)});class ht extends be{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}ht.create=(e,t)=>new ht({getter:e,typeName:Ot.ZodLazy,...ye(t)});class ft extends be{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return ie(t,{received:t.data,code:ne.invalid_literal,expected:this._def.value}),ue}return{status:"valid",value:e.data}}get value(){return this._def.value}}function pt(e,t){return new mt({values:e,typeName:Ot.ZodEnum,...ye(t)})}ft.create=(e,t)=>new ft({value:e,typeName:Ot.ZodLiteral,...ye(t)});class mt extends be{_parse(e){if("string"!=typeof e.data){const t=this._getOrReturnCtx(e),n=this._def.values;return ie(t,{expected:G.joinValues(n),received:t.parsedType,code:ne.invalid_type}),ue}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const t=this._getOrReturnCtx(e),n=this._def.values;return ie(t,{received:t.data,code:ne.invalid_enum_value,options:n}),ue}return ce(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return mt.create(e,{...this._def,...t})}exclude(e,t=this._def){return mt.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}mt.create=pt;class gt extends be{_parse(e){const t=G.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==ee.string&&n.parsedType!==ee.number){const e=G.objectValues(t);return ie(n,{expected:G.joinValues(e),received:n.parsedType,code:ne.invalid_type}),ue}if(this._cache||(this._cache=new Set(G.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const e=G.objectValues(t);return ie(n,{received:n.data,code:ne.invalid_enum_value,options:e}),ue}return ce(e.data)}get enum(){return this._def.values}}gt.create=(e,t)=>new gt({values:e,typeName:Ot.ZodNativeEnum,...ye(t)});class vt extends be{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==ee.promise&&!1===t.common.async)return ie(t,{code:ne.invalid_type,expected:ee.promise,received:t.parsedType}),ue;const n=t.parsedType===ee.promise?t.data:Promise.resolve(t.data);return ce(n.then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}vt.create=(e,t)=>new vt({type:e,typeName:Ot.ZodPromise,...ye(t)});class yt extends be{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ot.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,a={addIssue:e=>{ie(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(a.addIssue=a.addIssue.bind(a),"preprocess"===r.type){const e=r.transform(n.data,a);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return ue;const r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===r.status?ue:"dirty"===r.status||"dirty"===t.value?le(r.value):r});{if("aborted"===t.value)return ue;const r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===r.status?ue:"dirty"===r.status||"dirty"===t.value?le(r.value):r}}if("refinement"===r.type){const e=e=>{const t=r.refinement(e,a);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===n.common.async){const r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?ue:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?ue:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))))}if("transform"===r.type){if(!1===n.common.async){const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!fe(e))return ue;const s=r.transform(e.value,a);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:s}}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>fe(e)?Promise.resolve(r.transform(e.value,a)).then(e=>({status:t.value,value:e})):ue)}G.assertNever(r)}}yt.create=(e,t,n)=>new yt({schema:e,typeName:Ot.ZodEffects,effect:t,...ye(n)}),yt.createWithPreprocess=(e,t,n)=>new yt({schema:t,effect:{type:"preprocess",transform:e},typeName:Ot.ZodEffects,...ye(n)});class bt extends be{_parse(e){return this._getType(e)===ee.undefined?ce(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}bt.create=(e,t)=>new bt({innerType:e,typeName:Ot.ZodOptional,...ye(t)});class _t extends be{_parse(e){return this._getType(e)===ee.null?ce(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}_t.create=(e,t)=>new _t({innerType:e,typeName:Ot.ZodNullable,...ye(t)});class kt extends be{_parse(e){const{ctx:t}=this._processInputParams(e);let n=t.data;return t.parsedType===ee.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}kt.create=(e,t)=>new kt({innerType:e,typeName:Ot.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...ye(t)});class xt extends be{_parse(e){const{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return pe(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new re(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new re(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}xt.create=(e,t)=>new xt({innerType:e,typeName:Ot.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...ye(t)});class wt extends be{_parse(e){if(this._getType(e)!==ee.nan){const t=this._getOrReturnCtx(e);return ie(t,{code:ne.invalid_type,expected:ee.nan,received:t.parsedType}),ue}return{status:"valid",value:e.data}}}wt.create=e=>new wt({typeName:Ot.ZodNaN,...ye(e)});class Nt extends be{_parse(e){const{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class Mt extends be{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async){return(async()=>{const e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?ue:"dirty"===e.status?(t.dirty(),le(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})()}{const e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?ue:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new Mt({in:e,out:t,typeName:Ot.ZodPipeline})}}class Tt extends be{_parse(e){const t=this._def.innerType._parse(e),n=e=>(fe(e)&&(e.value=Object.freeze(e.value)),e);return pe(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}}var Ot;Tt.create=(e,t)=>new Tt({innerType:e,typeName:Ot.ZodReadonly,...ye(t)}),function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(Ot||(Ot={}));const Ct=Je.create,jt=We.create,St=Ve.create,$t=Ge.create;et.create;const Et=nt.create,At=at.create,Zt=st.create;ot.create,ut.create;const It=lt.create,Rt=mt.create;vt.create,bt.create,_t.create;const Pt=yt.createWithPreprocess,Bt=["dotnetspy","ebpfspy","gospy","phpspy","pyspy","rbspy","nodespy","javaspy","pyroscope-rs","scrape","tracing","unknown"],Ft=Pt(e=>e&&Bt.includes(e)?e:"unknown",Rt(Bt).default("unknown")),zt=["samples","objects","goroutines","bytes","lock_samples","lock_nanoseconds","trace_samples","exceptions"],Lt=Pt(e=>"string"==typeof e&&zt.includes(e)?e:"unknown",Rt(["samples","objects","goroutines","bytes","lock_samples","lock_nanoseconds","trace_samples","exceptions","unknown"])),Dt=At({names:Et(Pt(e=>e||"unknown",Ct().min(1))),levels:Et(Et(jt())),numTicks:jt(),maxSelf:jt()}),Jt=At({appName:Ct().optional(),name:Ct().optional(),startTime:jt().optional(),endTime:jt().optional(),query:Ct().optional(),maxNodes:jt().optional(),format:Rt(["single","double"]),sampleRate:jt(),spyName:Ft,units:Lt});At({version:jt().min(1).max(1).default(1),flamebearer:Dt,metadata:Jt,leftTicks:jt().optional(),rightTicks:jt().optional()});const qt={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]},Wt={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 Ut(e){switch(e){case"single":return qt;case"double":return Wt;default:throw new Error(`Unsupported type: \'${e}\'`)}}const Vt=At({refType:Ct(),traceID:Ct(),spanID:Ct()}),Kt=At({key:Ct(),type:Ct(),value:Zt([St(),jt(),Ct()])}),Ht=At({traceID:Ct(),spanID:Ct(),flags:Ct(),operationName:Ct(),references:Et(Vt),startTime:jt(),duration:jt(),tags:Et(Kt),logs:At({timestamp:jt(),fields:Et(Kt)}),processID:Ct(),warnings:$t()}),Xt=At({serviceName:Ct(),tags:Et(Kt)});At({traceID:Ct(),spans:Et(Ht),processes:It(Xt),warnings:$t()});const Qt=At({watermark:At({}).optional(),startTime:jt(),samples:Et(jt()),durationDelta:jt()});It(Ct(),Qt);const Gt=22,Yt=21.5;function en(e,t=!1){if(!e||!t)return e;const n=function(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 n=!1;t.startsWith("<")&&(n=!0,t=t.slice(1).trim());const r=t.match(/^([+\\-]?)(\\d*\\.?\\d+)\\s*(.*)$/);if(!r)return null;const a=r[1]||"",s=r[2],i=(r[3]||"").trim(),o=parseFloat(s);return Number.isFinite(o)?{value:o,unit:i,hasLessThan:n,sign:a}:null}(e);if(!n)return e;const{unit:r}=n;let a=r;const s=r.toLowerCase();"ms"===s?a="毫秒":"μs"===s||"µs"===s||"us"===s?a="微秒":"second"===s||"seconds"===s?a="秒":"minute"===s||"minutes"===s||"min"===s||"mins"===s?a="分钟":"hour"===s||"hours"===s?a="小时":"day"===s||"days"===s?a="天":"month"===s||"months"===s?a="月":"year"!==s&&"years"!==s||(a="年");const i=String(e).match(/^([<\\s]*)([+\\-]?\\d*\\.?\\d+)(.*)$/);if(!i)return e;return`${i[1]||""}${i[2]||""} ${a}`.trim()}function tn(e){return Math.round(1e4*e)/100}class nn{constructor(e,t,n){this.divider=1,this.enableSubsecondPrecision=!1,this.suffix="second",this.durations=[[60,"minute"],[60,"hour"],[24,"day"],[30,"month"],[12,"year"]],this.units="",n&&(this.enableSubsecondPrecision=n,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 n=this.durations[t];if(!n){console.warn("Could not calculate level");break}if(!(e>=n[0]))break;this.divider*=n[0],e/=n[0],this.suffix=n[1]}}format(e,t,n=!0){this.enableSubsecondPrecision&&(t/=1e6);const r=e/t/this.divider;let a=r.toFixed(2);return 0===r?a="0.00":(r>=0&&r<.01||r<=0&&r>-.01)&&(a="< 0.01"),n?`${a} ${this.units||`${this.suffix}${1===r||2===this.suffix.length?"":"s"}`}`:a}formatPrecise(e,t){this.enableSubsecondPrecision&&(t/=1e6);const n=e/t/this.divider;return`${parseFloat(n.toFixed(5))} ${this.units||`${this.suffix}${1===n||2===this.suffix.length?"":"s"}`}`}}class rn{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 n=this.durations[t];if(!n){console.warn("Could not calculate level");break}if(!(e>=n[0]))break;this.divider*=n[0],e/=n[0],this.suffix=n[1]}}format(e){const t=e/1e9/this.divider;let n=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(n="< 0.01"),`${n} ${this.suffix}${1===t?"":"s"}`}formatPrecise(e){const t=e/1e9/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}${1===t?"":"s"}`}}class an{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 n=this.objects[t];if(!n){console.warn("Could not calculate level");break}if(!(e>=n[0]))break;this.divider*=n[0],e/=n[0],this.suffix=n[1]}}format(e){const t=e/this.divider;let n=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(n="< 0.01"),`${n} ${this.suffix}`}formatPrecise(e){const t=e/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}`}}class sn{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 n=this.bytes[t];if(!n){console.warn("Could not calculate level");break}if(!(e>=n[0]))break;{this.divider*=n[0],e/=n[0];const t=n[1];t?this.suffix=t:(console.warn("Could not calculate suffix"),this.suffix="")}}}format(e){const t=e/this.divider;let n=t.toFixed(2);return(t>=0&&t<.01||t<=0&&t>-.01)&&(n="< 0.01"),`${n} ${this.suffix}`}formatPrecise(e){const t=e/this.divider;return`${parseFloat(t.toFixed(5))} ${this.suffix}`}}function on({mode:e,charSize:t,rectWidth:n,fullText:r,shortText:a}){if("TAIL"===e){if(t*r.length<=n)return{mode:e,text:r,marginLeft:3};const s=t*a.length;return s<=n?{mode:e,text:a,marginLeft:3}:{mode:e,text:a,marginLeft:-(s-n+3)}}return{mode:e,text:r,marginLeft:3}}function un(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function ln(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function cn(e){let t,n,r;function a(e,r,a=0,s=e.length){if(a<s){if(0!==t(r,r))return s;do{const t=a+s>>>1;n(e[t],r)<0?a=t+1:s=t}while(a<s)}return a}return 2!==e.length?(t=un,n=(t,n)=>un(e(t),n),r=(t,n)=>e(t)-n):(t=e===un||e===ln?e:dn,n=e,r=e),{left:a,center:function(e,t,n=0,s=e.length){const i=a(e,t,n,s-1);return i>n&&r(e[i-1],t)>-r(e[i],t)?i-1:i},right:function(e,r,a=0,s=e.length){if(a<s){if(0!==t(r,r))return s;do{const t=a+s>>>1;n(e[t],r)<=0?a=t+1:s=t}while(a<s)}return a}}}function dn(){return 0}const hn=cn(un).right;cn(function(e){return null===e?NaN:+e}).center;const fn=Math.sqrt(50),pn=Math.sqrt(10),mn=Math.sqrt(2);function gn(e,t,n){const r=(t-e)/Math.max(0,n),a=Math.floor(Math.log10(r)),s=r/Math.pow(10,a),i=s>=fn?10:s>=pn?5:s>=mn?2:1;let o,u,l;return a<0?(l=Math.pow(10,-a)/i,o=Math.round(e*l),u=Math.round(t*l),o/l<e&&++o,u/l>t&&--u,l=-l):(l=Math.pow(10,a)*i,o=Math.round(e/l),u=Math.round(t/l),o*l<e&&++o,u*l>t&&--u),u<o&&.5<=n&&n<2?gn(e,t,2*n):[o,u,l]}function vn(e,t,n){return gn(e=+e,t=+t,n=+n)[2]}function yn(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function bn(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function _n(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function kn(){}var xn=.7,wn=1/xn,Nn="\\\\s*([+-]?\\\\d+)\\\\s*",Mn="\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*",Tn="\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*",On=/^#([0-9a-f]{3,8})$/,Cn=new RegExp(`^rgb\\\\(${Nn},${Nn},${Nn}\\\\)$`),jn=new RegExp(`^rgb\\\\(${Tn},${Tn},${Tn}\\\\)$`),Sn=new RegExp(`^rgba\\\\(${Nn},${Nn},${Nn},${Mn}\\\\)$`),$n=new RegExp(`^rgba\\\\(${Tn},${Tn},${Tn},${Mn}\\\\)$`),En=new RegExp(`^hsl\\\\(${Mn},${Tn},${Tn}\\\\)$`),An=new RegExp(`^hsla\\\\(${Mn},${Tn},${Tn},${Mn}\\\\)$`),Zn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function In(){return this.rgb().formatHex()}function Rn(){return this.rgb().formatRgb()}function Pn(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=On.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Bn(t):3===n?new Ln(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Fn(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Fn(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Cn.exec(e))?new Ln(t[1],t[2],t[3],1):(t=jn.exec(e))?new Ln(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Sn.exec(e))?Fn(t[1],t[2],t[3],t[4]):(t=$n.exec(e))?Fn(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=En.exec(e))?Vn(t[1],t[2]/100,t[3]/100,1):(t=An.exec(e))?Vn(t[1],t[2]/100,t[3]/100,t[4]):Zn.hasOwnProperty(e)?Bn(Zn[e]):"transparent"===e?new Ln(NaN,NaN,NaN,0):null}function Bn(e){return new Ln(e>>16&255,e>>8&255,255&e,1)}function Fn(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ln(e,t,n,r)}function zn(e,t,n,r){return 1===arguments.length?((a=e)instanceof kn||(a=Pn(a)),a?new Ln((a=a.rgb()).r,a.g,a.b,a.opacity):new Ln):new Ln(e,t,n,null==r?1:r);var a}function Ln(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Dn(){return`#${Un(this.r)}${Un(this.g)}${Un(this.b)}`}function Jn(){const e=qn(this.opacity);return`${1===e?"rgb(":"rgba("}${Wn(this.r)}, ${Wn(this.g)}, ${Wn(this.b)}${1===e?")":`, ${e})`}`}function qn(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Wn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Un(e){return((e=Wn(e))<16?"0":"")+e.toString(16)}function Vn(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Hn(e,t,n,r)}function Kn(e){if(e instanceof Hn)return new Hn(e.h,e.s,e.l,e.opacity);if(e instanceof kn||(e=Pn(e)),!e)return new Hn;if(e instanceof Hn)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),s=Math.max(t,n,r),i=NaN,o=s-a,u=(s+a)/2;return o?(i=t===s?(n-r)/o+6*(n<r):n===s?(r-t)/o+2:(t-n)/o+4,o/=u<.5?s+a:2-s-a,i*=60):o=u>0&&u<1?0:i,new Hn(i,o,u,e.opacity)}function Hn(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Xn(e){return(e=(e||0)%360)<0?e+360:e}function Qn(e){return Math.max(0,Math.min(1,e||0))}function Gn(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}bn(kn,Pn,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:In,formatHex:In,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Kn(this).formatHsl()},formatRgb:Rn,toString:Rn}),bn(Ln,zn,_n(kn,{brighter(e){return e=null==e?wn:Math.pow(wn,e),new Ln(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?xn:Math.pow(xn,e),new Ln(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ln(Wn(this.r),Wn(this.g),Wn(this.b),qn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Dn,formatHex:Dn,formatHex8:function(){return`#${Un(this.r)}${Un(this.g)}${Un(this.b)}${Un(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Jn,toString:Jn})),bn(Hn,function(e,t,n,r){return 1===arguments.length?Kn(e):new Hn(e,t,n,null==r?1:r)},_n(kn,{brighter(e){return e=null==e?wn:Math.pow(wn,e),new Hn(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?xn:Math.pow(xn,e),new Hn(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new Ln(Gn(e>=240?e-240:e+120,a,r),Gn(e,a,r),Gn(e<120?e+240:e-120,a,r),this.opacity)},clamp(){return new Hn(Xn(this.h),Qn(this.s),Qn(this.l),qn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=qn(this.opacity);return`${1===e?"hsl(":"hsla("}${Xn(this.h)}, ${100*Qn(this.s)}%, ${100*Qn(this.l)}%${1===e?")":`, ${e})`}`}}));var Yn=e=>()=>e;function er(e){return 1===(e=+e)?tr:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Yn(isNaN(t)?n:t)}}function tr(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):Yn(isNaN(e)?t:e)}var nr=function e(t){var n=er(t);function r(e,t){var r=n((e=zn(e)).r,(t=zn(t)).r),a=n(e.g,t.g),s=n(e.b,t.b),i=tr(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=a(t),e.b=s(t),e.opacity=i(t),e+""}}return r.gamma=e,r}(1);function rr(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,a=t.slice();return function(s){for(n=0;n<r;++n)a[n]=e[n]*(1-s)+t[n]*s;return a}}function ar(e,t){var n,r=t?t.length:0,a=e?Math.min(r,e.length):0,s=new Array(a),i=new Array(r);for(n=0;n<a;++n)s[n]=dr(e[n],t[n]);for(;n<r;++n)i[n]=t[n];return function(e){for(n=0;n<a;++n)i[n]=s[n](e);return i}}function sr(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function ir(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function or(e,t){var n,r={},a={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=dr(e[n],t[n]):a[n]=t[n];return function(e){for(n in r)a[n]=r[n](e);return a}}var ur=/[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,lr=new RegExp(ur.source,"g");function cr(e,t){var n,r,a,s=ur.lastIndex=lr.lastIndex=0,i=-1,o=[],u=[];for(e+="",t+="";(n=ur.exec(e))&&(r=lr.exec(t));)(a=r.index)>s&&(a=t.slice(s,a),o[i]?o[i]+=a:o[++i]=a),(n=n[0])===(r=r[0])?o[i]?o[i]+=r:o[++i]=r:(o[++i]=null,u.push({i:i,x:ir(n,r)})),s=lr.lastIndex;return s<t.length&&(a=t.slice(s),o[i]?o[i]+=a:o[++i]=a),o.length<2?u[0]?function(e){return function(t){return e(t)+""}}(u[0].x):function(e){return function(){return e}}(t):(t=u.length,function(e){for(var n,r=0;r<t;++r)o[(n=u[r]).i]=n.x(e);return o.join("")})}function dr(e,t){var n,r,a=typeof t;return null==t||"boolean"===a?Yn(t):("number"===a?ir:"string"===a?(n=Pn(t))?(t=n,nr):cr:t instanceof Pn?nr:t instanceof Date?sr:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?ar:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?or:ir:rr))(e,t)}function hr(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function fr(e){return+e}var pr=[0,1];function mr(e){return e}function gr(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function vr(e,t,n){var r=e[0],a=e[1],s=t[0],i=t[1];return a<r?(r=gr(a,r),s=n(i,s)):(r=gr(r,a),s=n(s,i)),function(e){return s(r(e))}}function yr(e,t,n){var r=Math.min(e.length,t.length)-1,a=new Array(r),s=new Array(r),i=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++i<r;)a[i]=gr(e[i],e[i+1]),s[i]=n(t[i],t[i+1]);return function(t){var n=hn(e,t,1,r)-1;return s[n](a[n](t))}}function br(){var e,t,n,r,a,s,i=pr,o=pr,u=dr,l=mr;function c(){var e,t,n,u=Math.min(i.length,o.length);return l!==mr&&(e=i[0],t=i[u-1],e>t&&(n=e,e=t,t=n),l=function(n){return Math.max(e,Math.min(t,n))}),r=u>2?yr:vr,a=s=null,d}function d(t){return null==t||isNaN(t=+t)?n:(a||(a=r(i.map(e),o,u)))(e(l(t)))}return d.invert=function(n){return l(t((s||(s=r(o,i.map(e),ir)))(n)))},d.domain=function(e){return arguments.length?(i=Array.from(e,fr),c()):i.slice()},d.range=function(e){return arguments.length?(o=Array.from(e),c()):o.slice()},d.rangeRound=function(e){return o=Array.from(e),u=hr,c()},d.clamp=function(e){return arguments.length?(l=!!e||mr,c()):l!==mr},d.interpolate=function(e){return arguments.length?(u=e,c()):u},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,c()}}function _r(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function kr(e){return(e=_r(Math.abs(e)))?e[1]:NaN}var xr,wr=/^(?:(.)?([<>=^]))?([+\\-( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?(~)?([a-z%])?$/i;function Nr(e){if(!(t=wr.exec(e)))throw new Error("invalid format: "+e);var t;return new Mr({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Mr(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Tr(e,t){var n=_r(e,t);if(!n)return e+"";var r=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+r:r.length>a+1?r.slice(0,a+1)+"."+r.slice(a+1):r+new Array(a-r.length+2).join("0")}Nr.prototype=Mr.prototype,Mr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Or={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Tr(100*e,t),r:Tr,s:function(e,t){var n=_r(e,t);if(!n)return e+"";var r=n[0],a=n[1],s=a-(xr=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,i=r.length;return s===i?r:s>i?r+new Array(s-i+1).join("0"):s>0?r.slice(0,s)+"."+r.slice(s):"0."+new Array(1-s).join("0")+_r(e,Math.max(0,t+s-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Cr(e){return e}var jr,Sr,$r,Er=Array.prototype.map,Ar=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Zr(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Cr:(t=Er.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var a=e.length,s=[],i=0,o=t[0],u=0;a>0&&o>0&&(u+o+1>r&&(o=Math.max(1,r-u)),s.push(e.substring(a-=o,a+o)),!((u+=o+1)>r));)o=t[i=(i+1)%t.length];return s.reverse().join(n)}),a=void 0===e.currency?"":e.currency[0]+"",s=void 0===e.currency?"":e.currency[1]+"",i=void 0===e.decimal?".":e.decimal+"",o=void 0===e.numerals?Cr:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(Er.call(e.numerals,String)),u=void 0===e.percent?"%":e.percent+"",l=void 0===e.minus?"−":e.minus+"",c=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=Nr(e)).fill,n=e.align,d=e.sign,h=e.symbol,f=e.zero,p=e.width,m=e.comma,g=e.precision,v=e.trim,y=e.type;"n"===y?(m=!0,y="g"):Or[y]||(void 0===g&&(g=12),v=!0,y="g"),(f||"0"===t&&"="===n)&&(f=!0,t="0",n="=");var b="$"===h?a:"#"===h&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",_="$"===h?s:/[%p]/.test(y)?u:"",k=Or[y],x=/[defgprs%]/.test(y);function w(e){var a,s,u,h=b,w=_;if("c"===y)w=k(e)+w,e="";else{var N=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:k(Math.abs(e),g),v&&(e=function(e){e:for(var t,n=e.length,r=1,a=-1;r<n;++r)switch(e[r]){case".":a=t=r;break;case"0":0===a&&(a=r),t=r;break;default:if(!+e[r])break e;a>0&&(a=0)}return a>0?e.slice(0,a)+e.slice(t+1):e}(e)),N&&0===+e&&"+"!==d&&(N=!1),h=(N?"("===d?d:l:"-"===d||"("===d?"":d)+h,w=("s"===y?Ar[8+xr/3]:"")+w+(N&&"("===d?")":""),x)for(a=-1,s=e.length;++a<s;)if(48>(u=e.charCodeAt(a))||u>57){w=(46===u?i+e.slice(a+1):e.slice(a))+w,e=e.slice(0,a);break}}m&&!f&&(e=r(e,1/0));var M=h.length+e.length+w.length,T=M<p?new Array(p-M+1).join(t):"";switch(m&&f&&(e=r(T+e,T.length?p-w.length:1/0),T=""),n){case"<":e=h+e+w+T;break;case"=":e=h+T+e+w;break;case"^":e=T.slice(0,M=T.length>>1)+h+e+w+T.slice(M);break;default:e=T+h+e+w}return o(e)}return g=void 0===g?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),w.toString=function(){return e+""},w}return{format:d,formatPrefix:function(e,t){var n=d(((e=Nr(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(kr(t)/3))),a=Math.pow(10,-r),s=Ar[8+r/3];return function(e){return n(a*e)+s}}}}function Ir(e,t,n,r){var a,s=function(e,t,n){n=+n;const r=(t=+t)<(e=+e),a=r?vn(t,e,n):vn(e,t,n);return(r?-1:1)*(a<0?1/-a:a)}(e,t,n);switch((r=Nr(null==r?",f":r)).type){case"s":var i=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(a=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(kr(t)/3)))-kr(Math.abs(e)))}(s,i))||(r.precision=a),$r(r,i);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(a=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,kr(t)-kr(e))+1}(s,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=a-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(a=function(e){return Math.max(0,-kr(Math.abs(e)))}(s))||(r.precision=a-2*("%"===r.type))}return Sr(r)}function Rr(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];const r=t<e,[a,s,i]=r?gn(t,e,n):gn(e,t,n);if(!(s>=a))return[];const o=s-a+1,u=new Array(o);if(r)if(i<0)for(let e=0;e<o;++e)u[e]=(s-e)/-i;else for(let e=0;e<o;++e)u[e]=(s-e)*i;else if(i<0)for(let e=0;e<o;++e)u[e]=(a+e)/-i;else for(let e=0;e<o;++e)u[e]=(a+e)*i;return u}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Ir(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,a,s=t(),i=0,o=s.length-1,u=s[i],l=s[o],c=10;for(l<u&&(a=u,u=l,l=a,a=i,i=o,o=a);c-- >0;){if((a=vn(u,l,n))===r)return s[i]=u,s[o]=l,t(s);if(a>0)u=Math.floor(u/a)*a,l=Math.ceil(l/a)*a;else{if(!(a<0))break;u=Math.ceil(u*a)/a,l=Math.floor(l*a)/a}r=a}return e},e}function Pr(){var e=br()(mr,mr);return e.copy=function(){return t=e,Pr().domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown());var t},yn.apply(e,arguments),Rr(e)}function Br(e,t){if(e===t)return 0;if(0===e)return 100;const n=(t-e)/e*100;return n>100?100:n<-100?-100:n}function Fr(e,t){return w.rgb(e,e,e).alpha(t)}function zr(e,t){if(0===t.length)return t;const n=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),r=t.match(n);return r&&r.groups?r.groups.packageName||"":t}function Lr(e,t){const n=function(e,t=0){let n,r,a,s,i,o,u,l;for(n=3&e.length,r=e.length-n,a=t,i=3432918353,o=461845907,l=0;l<r;)u=255&e.charCodeAt(l)|(255&e.charCodeAt(++l))<<8|(255&e.charCodeAt(++l))<<16|(255&e.charCodeAt(++l))<<24,++l,u=(65535&u)*i+(((u>>>16)*i&65535)<<16)&4294967295,u=u<<15|u>>>17,u=(65535&u)*o+(((u>>>16)*o&65535)<<16)&4294967295,a^=u,a=a<<13|a>>>19,s=5*(65535&a)+((5*(a>>>16)&65535)<<16)&4294967295,a=27492+(65535&s)+(((s>>>16)+58964&65535)<<16);switch(u=0,n){case 3:u^=(255&e.charCodeAt(l+2))<<16;case 2:u^=(255&e.charCodeAt(l+1))<<8;case 1:u^=255&e.charCodeAt(l);default:u=(65535&u)*i+(((u>>>16)*i&65535)<<16)&4294967295,u=u<<15|u>>>17,u=(65535&u)*o+(((u>>>16)*o&65535)<<16)&4294967295,a^=u}return a^=e.length,a^=a>>>16,a=2246822507*(65535&a)+((2246822507*(a>>>16)&65535)<<16)&4294967295,a^=a>>>13,a=3266489909*(65535&a)+((3266489909*(a>>>16)&65535)<<16)&4294967295,a^=a>>>16,a>>>0}(t,0)%e.colors.length,r=e.colors[n];return r||(console.warn("Could not calculate color. Defaulting to the first one"),e.colors[0])}function Dr(e){const{goodColor:t,neutralColor:n,badColor:r}=e,a=Pr().domain([-100,0,100]).range([t.rgb().toString(),n.rgb().toString(),r.rgb().toString()]);return e=>w(a(e).toString())}jr=Zr({thousands:",",grouping:[3],currency:["$",""]}),Sr=jr.format,$r=jr.formatPrefix,w.rgb(148,142,142),w.rgb(200,0,0),w.rgb(0,170,0),w("#48CE73");const Jr=new WeakMap,qr=new WeakMap,Wr=new WeakMap,Ur=new WeakMap;const Vr={collapsedLevelsSingular:"total (1 level collapsed)",collapsedLevelsPlural:"total ({n} levels collapsed)",isZh:!1};function Kr(e){var t,n,r,a,s,i,o,u;const l=performance.now(),c=!1!==e.renderRects,d=!1!==e.renderText,h=null!==(t=e.renderMode)&&void 0!==t?t:"normal",f=e.timeBudgetMs,{canvas:p,fitMode:m,units:g,tickToX:v,levels:y,palette:b}=e,{numTicks:_,sampleRate:k,pxPerTick:x}=e,{rangeMin:w,rangeMax:N}=e,{focusedNode:M,zoom:T}=e,O=e.messages||Vr,C=e.skipCanvasResize?p.width:function(e){if("clientWidth"in e&&"number"==typeof e.clientWidth)return e.clientWidth;return e.width}(p);if(e.skipCanvasResize||(p.width=C),w>=N)throw new Error("\'rangeMin\' should be strictly smaller than \'rangeMax\'");const{format:j}=e,S=Ut(j),$=p.getContext("2d");if(!$)throw new Error("Could not get ctx");const E=T.mapOrElse(()=>0,e=>e.i),A=function(e,t,n){switch(n){case"samples":return new nn(e/t);case"objects":case"goroutines":case"lock_samples":case"exceptions":return new an(e);case"bytes":return new sn(e);case"lock_nanoseconds":return new rn(e);case"trace_samples":return new nn(e/t,"",!0);default:return console.warn(`Unsupported unit: \'${n}\'. Defaulting to \'\'`),new nn(e/t," ")}}(_,k,g),Z=M.isJust,I=M.mapOrElse(()=>0,e=>e.i),R=Z?Yt:0,P=!!e.highlightQuery&&e.highlightQuery.length>0,B=Gt*(y.length-I)+(Z?Yt:0);e.skipCanvasResize||(p.height=B);const F="number"==typeof e.devicePixelRatio?e.devicePixelRatio:"undefined"!=typeof devicePixelRatio?devicePixelRatio:1;!e.skipDprScale&&F>1&&(p.width*=F,p.height*=F,$.scale(F,F)),$.textBaseline="middle",$.font="400 11.5px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace";const z=$.measureText("a").width,{names:L}=e,D=function(e){const t=Jr.get(e);if(t)return t;const n=new Map;return Jr.set(e,n),n}(p),J=P?function(e,t){const n=qr.get(e);if(n){const e=n.get(t);if(e)return e}const r=t.toLowerCase(),a=new Uint8Array(e.length);for(let t=1;t<e.length;t+=1){const n=e[t];n&&n.toLowerCase().includes(r)&&(a[t]=1)}const s=null!=n?n:new Map;return s.set(t,a),qr.set(e,s),a}(L,e.highlightQuery):null,q="single"===e.format?function(e,t,n){const r=`${t}|${n.name}`,a=Wr.get(e);if(a){const e=a.get(r);if(e)return e}const s=new Array(e.length);for(let r=0;r<e.length;r+=1){const a=zr(t,e[r]||"")||"";s[r]=Lr(n,a)}const i=null!=a?a:new Map;return i.set(r,s),Wr.set(e,i),s}(L,e.spyName,b):null,W="double"===e.format?Dr({name:b.name,goodColor:b.goodColor,neutralColor:b.neutralColor,badColor:b.badColor}):null,U=(e,t)=>{const n=e[t+S.jName];return!(!n||n<0||!J)&&1===J[n]},V=null!==(n=e.startI)&&void 0!==n?n:0,K=null!==(r=e.startJ)&&void 0!==r?r:0;if(Z&&"highlightOnly"!==h&&0===(null!==(a=e.levelStart)&&void 0!==a?a:0)&&0===V&&0===K){const e=_*x;c&&($.beginPath(),$.rect(0,0,_*x,Yt),$.fillStyle=Fr(200,1).rgb().string(),$.fill());const t=M.mapOrElse(()=>"total",e=>function(e,t){return 1===e?t.collapsedLevelsSingular:t.collapsedLevelsPlural.replace("{n}",String(e))}(e.i-1,O)),n=on({mode:m,charSize:z,rectWidth:e,fullText:t,shortText:t}),r=0,a=0,s=Yt;if(d){$.beginPath(),$.rect(0,0,e,Yt),$.save(),$.clip(),$.fillStyle="black";const t=Math.round(Math.max(r,0));$.fillText(n.text,t+n.marginLeft,a+s/2+1),$.restore()}}const H=Math.max(0,null!==(s=e.levelStart)&&void 0!==s?s:0),X=y.length-I,Q=Math.min(X,null!==(i=e.levelEnd)&&void 0!==i?i:X),G=Math.max(H,null!==(o=e.startI)&&void 0!==o?o:H),Y=Math.max(0,null!==(u=e.startJ)&&void 0!==u?u:0),{spyName:ee}=e,te=(t,n,r,a,s)=>{const i={level:t,j:n,i:r+M.mapOrElse(()=>0,e=>e.i),names:L,collapsed:a,selectedLevel:E,highlightModeOn:P,isHighlighted:s,spyName:ee,palette:b,colorByNameIndex:q,diffColorFn:W};switch(j){case"single":return function(e){const t=Qr(e);if(t)return t;const n=Ut("single"),r=e.selectedLevel>e.i?.33:1;let a=e.level[e.j+n.jName];void 0===a&&(console.warn("Could nto find level",{l:e.j,jName:n.jName,level:e.level}),a=-1);if(e.colorByNameIndex&&a>=0&&e.colorByNameIndex[a])return e.colorByNameIndex[a].alpha(r);const s=e.names[a]||"",i=zr(e.spyName,s)||"";return Lr(e.palette,i).alpha(r)}({...i});case"double":return function(e){const t=Qr(e);if(t)return t;const n=e.selectedLevel>e.i?.33:1,{leftRatio:r,rightRatio:a}=function(e,t,n,r){const a=Wt;return n&&r?{leftRatio:a.getBarTotalLeft(e,t)/n,rightRatio:a.getBarTotalRght(e,t)/r}:(console.error("Properties \'rightTicks\' and \'leftTicks\' are required. Can\'t calculate ratio."),{leftRatio:0,rightRatio:0})}(e.level,e.j,e.leftTicks,e.rightTicks),s=tn(r),i=tn(a);if(e.diffColorFn)return e.diffColorFn(Br(s,i)).alpha(n);return function(e,t,n){const r=Br(t,n);return Dr(e)(r)}(e.palette,s,i).alpha(n)}({...i,leftTicks:e.leftTicks,rightTicks:e.rightTicks});default:throw new Error(`Unsupported format: ${j}`)}};if("highlightOnly"===h&&P&&c){const e=function(e,t){const n=Ur.get(e);if(n)return n;const r=Ut(t),a=new Map;for(let t=0;t<e.length;t+=1){const n=e[t];for(let e=0;e<n.length;e+=r.jStep){const s=r.getBarName(n,e);if(void 0===s||s<0)continue;const i=a.get(s);i?i.push({i:t,j:e}):a.set(s,[{i:t,j:e}])}}return Ur.set(e,a),a}(y,j),t=[];for(let e=1;e<L.length;e+=1)J&&1===J[e]&&t.push(e);for(let n=0;n<t.length;n+=1){const r=t[n],a=e.get(r);if(a)for(let e=0;e<a.length;e+=1){const t=a[e],n=t.i-I;if(t.i<I||n<H||n>=Q)continue;const r=y[t.i],s=v(S.getBarOffset(r,t.j)),i=n*Gt+R,o=Yt,u=S.getBarTotal(r,t.j),l=u*x<=5,c=u*x-(l?0:.5);if(c<=0)continue;$.beginPath(),$.rect(s,i,c,o);const d=te(r,t.j,n,l,!0);$.fillStyle=d.string(),$.fill()}}return{done:!0,nextI:Q,nextJ:0}}for(let e=G;e<Q;e+=1){const t=y[I+e];if(!t)throw new Error(`Could not find level: ${I+e}`);let n=e===G?Y:0;for(;n<t.length;n+=S.jStep){const r=S.getBarOffset(t,n),a=v(r),s=e*Gt+R,i=Yt,o=P&&U(t,n);let u=S.getBarTotal(t,n);const p=u*x<=5;if(p)for(;n<t.length-S.jStep&&r+u===S.getBarOffset(t,n+S.jStep)&&S.getBarTotal(t,n+S.jStep)*x<=5&&o===(P&&U(t,n+S.jStep));)n+=S.jStep,u+=S.getBarTotal(t,n);const g=u*x-(p?0:.5);if($.beginPath(),$.rect(a,s,g,i),c){if("forceGrey"===h)$.fillStyle=Fr(200,.66).rgb().string();else{const r=te(t,n,e,p,o);$.fillStyle=r.string()}$.fill()}if(!d||p||"forceGrey"===h){if(f&&performance.now()-l>f)return{done:!1,nextI:e,nextJ:n+S.jStep};continue}if(g<20)continue;const y=Hr(L,n,j,t),b=on({mode:m,charSize:z,rectWidth:g,fullText:Xr(y,u,k,A,O,D),shortText:y});$.save(),$.clip(),$.fillStyle="black";const _=Math.round(Math.max(a,0));if($.fillText(b.text,_+b.marginLeft,s+i/2+1),$.restore(),f&&performance.now()-l>f)return{done:!1,nextI:e,nextJ:n+S.jStep}}if(f&&performance.now()-l>f)return{done:!1,nextI:e+1,nextJ:0}}return{done:!0,nextI:Q,nextJ:0}}function Hr(e,t,n,r){let a=r[t+Ut(n).jName];void 0===a&&(a=-1);const s=e[a];return s||(console.warn("Could not find function name for",{j:t,format:n,level:r,names:e}),"")}function Xr(e,t,n,r,a,s){let i=null==s?void 0:s.get(t);if(!i){const e=r.format(t,n);i=en(e,!!a.isZh)||e,null==s||s.set(t,i)}return`${e} (${i})`}function Qr({collapsed:e,highlightModeOn:t,isHighlighted:n}){return e||t&&!n?Fr(200,.66):null}class Gr{constructor(e,t,n,r,a,s,i,o){if(this.flamebearer=e,this.canvas=t,this.focusedNode=n,this.fitMode=r,this.highlightQuery=a,this.zoom=s,this.palette=i,this.messages=o,this.cachedRange=null,this.cachedPxPerTick=null,this.tickToX=e=>{var t;const n=this.cachedRange?this.cachedRange.rangeMin:this.getRange().rangeMin,r=null!==(t=this.cachedPxPerTick)&&void 0!==t?t:this.pxPerTick();return(e-this.flamebearer.numTicks*n)*r},this.xyToBarPosition=e=>{const{ff:t}=this,{i:n,j:r}=this.xyToBarIndex(e.x,e.y),a=this.focusedNode.mapOrElse(()=>0,e=>e.i<0?0:e.i-1),s=this.flamebearer.levels[n];if(!s)throw new Error(`Could not find level: \'${n}\'`);const i=Math.max(this.tickToX(t.getBarOffset(s,r)),0);return{x:i,y:Math.max((n-a)*Gt,0),width:Math.min(this.tickToX(t.getBarOffset(s,r)+t.getBarTotal(s,r))-i,this.getCanvasWidth())}},this.xyToBarData=e=>{const{i:t,j:n}=this.xyToBarIndex(e.x,e.y),r=this.flamebearer.levels[t];if(!r)throw new Error(`Could not find level: \'${t}\'`);switch(this.flamebearer.format){case"single":{const e=qt;return{format:"single",name:this.flamebearer.names[e.getBarName(r,n)],self:e.getBarSelf(r,n),offset:e.getBarOffset(r,n),total:e.getBarTotal(r,n)}}case"double":{const e=Wt;return{format:"double",barTotal:e.getBarTotal(r,n),totalLeft:e.getBarTotalLeft(r,n),totalRight:e.getBarTotalRght(r,n),totalDiff:e.getBarTotalDiff(r,n),name:this.flamebearer.names[e.getBarName(r,n)]}}default:throw new Error("Unsupported type")}},this.isWithinBounds=(e,t)=>{if(e<0||e>this.getCanvasWidth())return!1;try{const{i:n,j:r}=this.xyToBarIndex(e,t);if(-1===r||-1===n)return!1}catch(e){return!1}return!0},this.zoom=s,this.focusedNode=n,this.flamebearer=e,this.canvas=t,this.highlightQuery=a,this.ff=Ut(e.format),this.palette=i,this.messages=o,n.isJust&&s.isJust&&s.value.i<n.value.i)throw new Error("Zoom i level should be bigger than Focus")}render(e){var t;const{rangeMin:n,rangeMax:r,pxPerTick:a}=this.updateCachedMetrics(),s=null!==(t=null==e?void 0:e.highlightQueryOverride)&&void 0!==t?t:this.highlightQuery,i={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:n,rangeMax:r,fitMode:this.fitMode,highlightQuery:s,zoom:this.zoom,focusedNode:this.focusedNode,pxPerTick:a,tickToX:e=>(e-this.flamebearer.numTicks*n)*a,palette:this.palette,messages:this.messages,renderRects:null==e?void 0:e.renderRects,renderText:null==e?void 0:e.renderText,renderMode:null==e?void 0:e.renderMode,levelStart:null==e?void 0:e.levelStart,levelEnd:null==e?void 0:e.levelEnd,startI:null==e?void 0:e.startI,startJ:null==e?void 0:e.startJ,timeBudgetMs:null==e?void 0:e.timeBudgetMs,skipCanvasResize:null==e?void 0:e.skipCanvasResize,skipDprScale:null==e?void 0:e.skipDprScale,devicePixelRatio:null==e?void 0:e.devicePixelRatio},{format:o}=this.flamebearer;switch(o){case"single":return Kr({...i,format:"single"});case"double":return Kr({...i,leftTicks:this.flamebearer.leftTicks,rightTicks:this.flamebearer.rightTicks});default:throw new Error(`Invalid format: \'${o}\'`)}}pxPerTick(){if(null!==this.cachedPxPerTick)return this.cachedPxPerTick;const{rangeMin:e,rangeMax:t}=this.getRange(),n=this.getCanvasWidth()/this.flamebearer.numTicks/(t-e);return this.cachedRange={rangeMin:e,rangeMax:t},this.cachedPxPerTick=n,n}updateCachedMetrics(){const{rangeMin:e,rangeMax:t}=this.getRange(),n=this.getCanvasWidth()/this.flamebearer.numTicks/(t-e);return this.cachedRange={rangeMin:e,rangeMax:t},this.cachedPxPerTick=n,{rangeMin:e,rangeMax:t,pxPerTick:n}}getRange(){const{ff:e}=this,t=t=>{const n=this.flamebearer.levels[t.i];if(!n)throw new Error(`Could not find level: \'${t.i}\'`);return{rangeMin:e.getBarOffset(n,t.j)/this.flamebearer.numTicks,rangeMax:(e.getBarOffset(n,t.j)+e.getBarTotal(n,t.j))/this.flamebearer.numTicks}},n=t=>{const n=this.flamebearer.levels[t.i];if(!n)throw new Error(`Could not find level: \'${t.i}\'`);return{rangeMin:e.getBarOffset(n,t.j)/this.flamebearer.numTicks,rangeMax:(e.getBarOffset(n,t.j)+e.getBarTotal(n,t.j))/this.flamebearer.numTicks}},{zoom:r,focusedNode:a}=this;return r.match({Just:e=>a.match({Just:r=>{const a=n(r),s=t(e);return a.rangeMax-a.rangeMin<s.rangeMax-s.rangeMin?(console.warn("Focus is smaller than range, this shouldnt happen. Verify that the zoom is always bigger than the focus."),n(r)):t(e)},Nothing:()=>t(e)}),Nothing:()=>a.match({Just:e=>n(e),Nothing:()=>({rangeMin:0,rangeMax:1})})})}getCanvasWidth(){return"clientWidth"in this.canvas&&"number"==typeof this.canvas.clientWidth?this.canvas.clientWidth:this.canvas.width}isFocused(){return this.focusedNode.isJust}binarySearchLevel(e,t){const{ff:n}=this;let r=0,a=t.length-n.jStep;for(;r<=a;){const s=n.jStep*(r/n.jStep+a/n.jStep>>1),i=this.tickToX(n.getBarOffset(t,s)),o=this.tickToX(n.getBarOffset(t,s)+n.getBarTotal(t,s));if(i<=e&&o>=e)return o-i>5?s:-1;i>e?a=s-n.jStep:r=s+n.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<=Yt)return{i:0,j:0};const n=this.isFocused()?t-Yt:t,r=this.focusedNode.mapOrElse(()=>0,e=>e.i<=0?0:e.i),a=this.zoom.match({Just:()=>this.focusedNode.match({Just:()=>r,Nothing:()=>0}),Nothing:()=>this.focusedNode.match({Just:()=>r,Nothing:()=>0})}),s=Math.floor(n/Gt)+a;if(s>=0&&s<this.flamebearer.levels.length){const t=this.flamebearer.levels[s];if(!t)throw new Error(`Could not find level: \'${s}\'`);return{i:s,j:this.binarySearchLevel(e,t)}}return{i:0,j:0}}parseXY(e,t){const n={x:e,y:t};return this.isWithinBounds(e,t)?Q.of(n):Q.nothing()}xyToBar(e,t){return this.parseXY(e,t).map(n=>{const{i:r,j:a}=this.xyToBarIndex(e,t);return{i:r,j:a,...this.xyToBarPosition(n),...this.xyToBarData(n)}})}}const Yr={rectCanvas:null,textCanvas:null,renderState:{rect:{token:0,running:!1,nextI:0,nextJ:0,firstChunk:!0,payload:null,flamegraph:null},text:{token:0,running:!1,nextI:0,nextJ:0,firstChunk:!0,payload:null,flamegraph:null}}},ea=(e,t)=>{try{console.error("[flamegraph-worker] error",t,e)}catch{}},ta=e=>e?Q.just(e):Q.nothing(),na=(e,t)=>{try{const n=Yr.renderState[e],r=n.payload;if(!r||n.token!==t)return;const a="rect"===e?Yr.rectCanvas:Yr.textCanvas;if(!a)return void(n.running=!1);n.flamegraph||(n.flamegraph=new Gr(r.flamebearer,a,ta(r.focusedNode),r.fitMode,r.highlightQuery,ta(r.zoom),(e=>({name:e.name,goodColor:w.rgb(...e.goodColor),neutralColor:w.rgb(...e.neutralColor),badColor:w.rgb(...e.badColor),colors:e.colors.map(e=>w.rgb(...e))}))(r.palette),r.messages));const s=n.flamegraph.render({renderRects:r.renderRects,renderText:r.renderText,timeBudgetMs:"rect"===e?12:8,startI:n.nextI,startJ:n.nextJ,skipCanvasResize:!n.firstChunk,skipDprScale:!n.firstChunk,devicePixelRatio:r.devicePixelRatio});if(n.firstChunk=!1,!s.done)return n.nextI=s.nextI,n.nextJ=s.nextJ,void setTimeout(()=>na(e,t),0);n.running=!1,n.nextI=0,n.nextJ=0,n.firstChunk=!0,n.flamegraph=null}catch(t){console.error("[flamegraph-worker] render error",t);const n=Yr.renderState[e];n.running=!1,n.nextI=0,n.nextJ=0,n.firstChunk=!0,n.flamegraph=null}};self.onmessage=e=>{const t=e.data;t&&t.type&&("init"!==t.type?"render"===t.type&&(e=>{const t="rect"===e.kind?Yr.rectCanvas:Yr.textCanvas;if(!t)return;e.width>0&&(t.width=e.width);const n=Yr.renderState[e.kind];n.token+=1,n.running=!0,n.nextI=0,n.nextJ=0,n.firstChunk=!0,n.payload=e,n.flamegraph=null;const r=n.token;setTimeout(()=>na(e.kind,r),0)})(t.payload):"rect"===t.payload.kind?Yr.rectCanvas=t.payload.canvas:Yr.textCanvas=t.payload.canvas)},self.onerror=e=>{ea(e,"self.error")},self.onmessageerror=e=>{ea(e,"self.messageerror")},self.addEventListener("unhandledrejection",e=>{ea(null==e?void 0:e.reason,"self.unhandledrejection")});\n//# sourceMappingURL=flamegraphRenderWorker.js.map\n';function Ec(n){const r=t.useRef(null),a=t.useRef(null),o=t.useRef(),s=t.useRef(),l=t.useRef(null),c=t.useRef(null),u=t.useRef(null),d=t.useRef({rect:!1,text:!1}),h=sc(),m=t.useRef({lastWidth:0,lastHeight:0}),f="undefined"!=typeof window&&"undefined"!=typeof OffscreenCanvas&&"transferControlToOffscreen"in HTMLCanvasElement.prototype,[b,g]=t.useState(f),p=t.useRef(!1);t.useEffect(()=>{"undefined"==typeof window||p.current||(p.current=!0,f||console.info("[flamegraph] OffscreenCanvas unavailable, using main thread renderer"))},[f]);const x=t.useMemo(()=>({collapsedLevelsSingular:h.collapsedLevelsSingular,collapsedLevelsPlural:h.collapsedLevelsPlural,isZh:"Location"!==h.location}),[h.collapsedLevelsSingular,h.collapsedLevelsPlural,h.location]),y=t.useCallback(e=>({name:e.name,goodColor:e.goodColor.rgb().array(),neutralColor:e.neutralColor.rgb().array(),badColor:e.badColor.rgb().array(),colors:e.colors.map(e=>e.rgb().array())}),[]),[v,G]=t.useState(ba.nothing()),{flamebearer:w,focusedNode:I,fitMode:Q,updateFitMode:B,highlightQuery:F,zoom:Z,toolbarVisible:N,headerVisible:k=!0,disableClick:L=!1,showSingleLevel:C=!1,showCredit:_,setActiveItem:W,selectedItem:X,updateView:R,enableSandwichView:U=!0,breadcrumb:D}=n,{onZoom:j,onReset:S,isDirty:M,onFocusOnNode:Y}=n,{"data-testid":V}=n,{palette:O,setPalette:A}=n,J=t.useCallback(Ol(()=>{$(),K()},50),[]);t.useEffect(()=>{if(!b)return()=>{};let e;try{e=function(){if(Jc.trim().length>0)try{const e=new Blob([Jc],{type:"text/javascript"}),t=URL.createObjectURL(e),n=new Worker(t,{type:"module"});return URL.revokeObjectURL(t),n}catch(e){console.warn("[flamegraph] inline worker failed, fallback to URL worker",e)}const e=new URL("undefined"==typeof document?require("url").pathToFileURL(__filename).href:i&&"SCRIPT"===i.tagName.toUpperCase()&&i.src||new URL("index.cjs.js",document.baseURI).href),t=e.pathname,n=t.includes("/src/"),r=t.includes("/dist/");if(t.includes("/node_modules/.vite/deps/")){const t=new URL("../../@kylincloud/flamegraph/dist/flamegraphRenderWorker.js",e);try{return new Worker(t,{type:"module"})}catch(e){throw console.error("[flamegraph] worker create failed (vite deps)",e),e}}const a=n?new URL("./flamegraphRenderWorker.ts",e):new URL("./flamegraphRenderWorker.js",e);try{return new Worker(a,{type:"module"})}catch(e){throw console.error("[flamegraph] worker create failed",e,{workerUrl:a.href,isFromSrc:n,isFromDist:r}),e}}()}catch(e){return console.warn("[flamegraph] render worker init failed, fallback to main thread",e),g(!1),()=>{}}return console.info("[flamegraph] render worker created"),e.addEventListener("error",e=>{console.error("[flamegraph] render worker error",e)}),e.addEventListener("messageerror",e=>{console.error("[flamegraph] render worker message error",e)}),l.current=e,setTimeout(()=>{$(),K()},0),()=>{e.terminate(),l.current=null,c.current=null,u.current=null,d.current={rect:!1,text:!1}}},[b]),Dl(r,()=>{if(o){if(r.current){const e=r.current.clientWidth,t=r.current.clientHeight,n=m.current;if(!(Math.abs(e-n.lastWidth)>=2))return;n.lastWidth=e,n.lastHeight=t}J()}});const E=(e,t)=>te().xyToBar(e,t).map(e=>({left:ee().offsetLeft+e.x,top:ee().offsetTop+e.y,width:e.width})),T=t.useCallback((t,n)=>{const r=M(),a=te().xyToBar(t,n),i=a.isJust?a.value.name:"";return[e.jsxs(Wl,{disabled:!r,onClick:S,children:[e.jsx(Ar,{icon:Qs.faRedo}),h.resetView]},"reset"),(()=>{const t=a.mapOrElse(()=>!1,()=>!0),n=a.mapOrElse(()=>()=>{},e=>Y.bind(null,e.i,e.j));return e.jsxs(Wl,{disabled:!t,onClick:n,children:[e.jsx(Ar,{icon:js.faCompressAlt}),h.collapseNodesAbove]},"focus")})(),e.jsxs(Wl,{onClick:()=>{navigator.clipboard&&navigator.clipboard.writeText(i)},children:[e.jsx(Ar,{icon:Ns.faCopy}),h.copyFunctionName]},"copy"),(()=>{const t=X.isJust&&X.value===i?h.clearHighlight:h.highlightSimilarNodes;return e.jsxs(Wl,{onClick:()=>{W({name:i})},children:[e.jsx(Ar,{icon:Ws.faHighlighter}),t]},"highlight-similar-nodes")})(),(()=>{if(!R||!U)return null;return e.jsxs(Wl,{className:Oc,onClick:()=>{R("sandwich"),W({name:i})},children:[e.jsx(Qc,{fill:"black"}),h.openInSandwichView]},"open-in-sandwich-view")})(),(()=>{const t=Q===Aa;return e.jsxs(Wl,{className:Vc,onClick:()=>{B(t?Oa:Aa)},children:[t?e.jsx(Fc,{}):e.jsx(Bc,{}),t?h.showTextTailFirst:h.showTextHeadFirst]},"fit-mode")})()].filter(Boolean)},[o,X,Q,M,S,Y,W,R,h,U]),z=()=>{if(r.current){const e=new hs(w,r.current,I,Q,F,Z,O,x);o.current=e}if(a.current){const e=new hs(w,a.current,I,Q,F,Z,O,x);s.current=e}},H=t.useCallback(()=>{if(!b||!l.current)return!1;const e=l.current;if(r.current&&!c.current)try{const t=r.current.transferControlToOffscreen();c.current=t,e.postMessage({type:"init",payload:{kind:"rect",canvas:t}},[t]),d.current.rect=!0}catch(e){console.error("[flamegraph] offscreen init failed (rect)",e)}if(a.current&&!u.current)try{const t=a.current.transferControlToOffscreen();u.current=t,e.postMessage({type:"init",payload:{kind:"text",canvas:t}},[t]),d.current.text=!0}catch(e){console.error("[flamegraph] offscreen init failed (text)",e)}return!0},[b]);t.useEffect(()=>{z(),$(),K()},[O,x]),t.useEffect(()=>{z(),$(),K()},[r.current,w,I,Q,Z]),t.useEffect(()=>{z(),$(),K()},[F]);const P=(e,t)=>{if(!b)return!1;if(!l.current)return!0;if(!H())return!0;const n="rect"===e?r.current:a.current,i=(null==n?void 0:n.clientWidth)||(null==n?void 0:n.width)||0,o={kind:e,flamebearer:w,focusedNode:I.isJust?I.value:null,fitMode:Q,highlightQuery:F,zoom:Z.isJust?Z.value:null,palette:y(O),messages:x,renderRects:t.renderRects,renderText:t.renderText,width:i,devicePixelRatio:"undefined"!=typeof window&&window.devicePixelRatio||1};return l.current.postMessage({type:"render",payload:o}),!0},$=()=>{var e,t,n;P("rect",{renderText:!1})||(null===(e=null==r?void 0:r.current)||void 0===e||e.setAttribute("data-state","rendering"),null===(t=null==o?void 0:o.current)||void 0===t||t.render({renderText:!1}),null===(n=null==r?void 0:r.current)||void 0===n||n.setAttribute("data-state","rendered"))},K=()=>{var e,t,n;P("text",{renderRects:!1})||(null===(e=null==a?void 0:a.current)||void 0===e||e.setAttribute("data-state","rendering"),null===(t=null==s?void 0:s.current)||void 0===t||t.render({renderRects:!1}),null===(n=null==a?void 0:a.current)||void 0===n||n.setAttribute("data-state","rendered"))},q=!w||w&&w.names.length<=1,ee=()=>{if(!r.current)throw new Error("Missing canvas");return r.current},te=()=>{if(!o.current)throw new Error("Missing canvas");return o.current};return e.jsxs("div",{"data-testid":"flamegraph-view",className:fs(Yc,{"vertical-orientation":"double"===w.format}),children:[e.jsxs("div",{className:Ac,children:[D&&e.jsx(Mc,{totalValueText:D.totalValueText,totalSamplesText:D.totalSamplesText,samplesLabel:D.samplesLabel,unitLabel:D.unitLabel,hasFocus:D.hasFocus,focusPercent:D.focusPercent,focusLabel:D.focusLabel,ofTotalPlacement:D.ofTotalPlacement,ofTotalLabel:D.ofTotalLabel,clearFocusLabel:D.clearFocusLabel,onClearFocus:D.onClearFocus}),k&&e.jsx(Lc,{format:w.format,units:w.units,toolbarVisible:N}),e.jsxs("div",{"data-testid":V,style:{position:"relative",opacity:q&&!C?0:1},children:[e.jsx("canvas",{height:"0","data-testid":"flamegraph-canvas","data-highlightquery":F,className:fs("flamegraph-canvas",Al),ref:r,onClick:L?void 0:e=>{const t=te().xyToBar(e.nativeEvent.offsetX,e.nativeEvent.offsetY);t.match({Nothing:()=>{},Just:e=>{Z.match({Nothing:()=>{j(t)},Just:n=>{e.i===n.i&&e.j===n.j?j(ba.nothing()):j(t)}})}})}}),e.jsx("canvas",{height:"0","data-testid":"flamegraph-text-canvas",className:fs("flamegraph-text-canvas",Jl),ref:a}),o&&r&&e.jsx(Tl,{barHeight:La,canvasRef:r,zoom:Z,xyToHighlightData:E}),o&&e.jsx(Pl,{barHeight:La,node:v})]}),_?e.jsx(vc,{}):""]}),o&&e.jsx(bc,{format:w.format,canvasRef:r,xyToData:(e,t)=>te().xyToBar(e,t),numTicks:w.numTicks,sampleRate:w.sampleRate,leftTicks:"double"===w.format?w.leftTicks:0,rightTicks:"double"===w.format?w.rightTicks:0,units:w.units,palette:O}),!L&&o&&r&&e.jsx(xc,{canvasRef:r,xyToMenuItems:T,onClose:()=>{G(ba.nothing())},onOpen:(e,t)=>{G(E(e,t))}})]})}var Tc,zc={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 Tc,Hc=(Ec||(Ec=1,function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=r(e,a(n)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var a="";for(var o in e)t.call(e,o)&&e[o]&&(a=r(a,o));return a}function r(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}(zc)),zc.exports),Pc=u(Hc),Kc={};function $c(){return Tc||(Tc=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="crosshairs",n=[],a="f05b",r="M288-16c17.7 0 32 14.3 32 32l0 18.3c98.1 14 175.7 91.6 189.7 189.7l18.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-18.3 0c-14 98.1-91.6 175.7-189.7 189.7l0 18.3c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-18.3C157.9 463.7 80.3 386.1 66.3 288L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l18.3 0C80.3 125.9 157.9 48.3 256 34.3L256 16c0-17.7 14.3-32 32-32zM131.2 288c12.7 62.7 62.1 112.1 124.8 124.8l0-12.8c0-17.7 14.3-32 32-32s32 14.3 32 32l0 12.8c62.7-12.7 112.1-62.1 124.8-124.8L432 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l12.8 0C432.1 161.3 382.7 111.9 320 99.2l0 12.8c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-12.8C193.3 111.9 143.9 161.3 131.2 224l12.8 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-12.8 0zM288 208a48 48 0 1 1 0 96 48 48 0 1 1 0-96z";e.definition={prefix:"fas",iconName:t,icon:[576,512,n,a,r]},e.faCrosshairs=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=n,e.unicode=a,e.svgPathData=r,e.aliases=n}(Kc)),Kc}var qc,eu=$c(),tu={};function nu(){return qc||(qc=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="chevron-left",n=[9001],a="f053",r="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,n,a,r]},e.faChevronLeft=e.definition,e.prefix="fas",e.iconName=t,e.width=320,e.height=512,e.ligatures=n,e.unicode=a,e.svgPathData=r,e.aliases=n}(tu)),tu}var au,ru=nu(),ou={};function iu(){return au||(au=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="chevron-right",n=[9002],a="f054",r="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,n,a,r]},e.faChevronRight=e.definition,e.prefix="fas",e.iconName=t,e.width=320,e.height=512,e.ligatures=n,e.unicode=a,e.svgPathData=r,e.aliases=n}(ou)),ou}var lu=iu(),su="Table-module_table__6A8SM",cu="Table-module_sortable__J6kyp",uu="Table-module_sortArrow__Nrncn",du="Table-module_sortArrowUp__WmbEG",bu="Table-module_sortArrowDown__Gyue1",mu="Table-module_asc__tJDI9",hu="Table-module_desc__fjVRY",fu="Table-module_isRowSelected__UhIAJ",gu="Table-module_isRowDisabled__sz3NJ",pu="Table-module_virtualSpacer__C1hxH",xu="Table-module_active__EShS8",yu="Table-module_loadingSpinner__SSjMK",vu="Table-module_pagination__VXgcO";s(".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_sortArrowDown__Gyue1,.Table-module_table__6A8SM thead th .Table-module_sortArrowUp__WmbEG{display:none}.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{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,#bae0ff)!important;color:var(--ps-table-highlight-row-text,#0958d9);cursor:pointer}.Table-module_table__6A8SM tbody tr.Table-module_isRowSelected__UhIAJ td:first-child{box-shadow:inset 3px 0 0 0 var(--ps-table-highlight-border,#1677ff)}.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 tr.Table-module_virtualSpacer__C1hxH{background:transparent!important;pointer-events:none}.Table-module_table__6A8SM tbody td,.Table-module_table__6A8SM tbody th{border:1px solid var(--ps-ui-border);padding:4px 10px}[data-theme=kylin] .Table-module_table__6A8SM thead th{background:#fafafa;border-color:#d9d9d9;text-align:left}[data-theme=kylin] .Table-module_table__6A8SM tbody td{border-color:#f0f0f0}[data-theme=kylin] .Table-module_table__6A8SM tbody tr:not(.Table-module_isRowSelected__UhIAJ):hover{background:#f5f5f5;color:var(--ps-neutral-2)}[data-theme=kylin] .Table-module_table__6A8SM thead th.Table-module_sortable__J6kyp{padding-right:18px;position:relative}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn{border:0;display:inline-flex;flex-direction:column;line-height:1;margin-left:6px;position:absolute;right:6px;top:50%;transform:translateY(-50%);vertical-align:middle}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowDown__Gyue1,[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowUp__WmbEG{border-left:4px solid transparent;border-right:4px solid transparent;display:inline-block;height:0;opacity:.35;width:0}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowUp__WmbEG{border-bottom:5px solid var(--ps-table-sort-icon,var(--ps-ui-foreground-text));margin-bottom:2px}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowDown__Gyue1{border-top:5px solid var(--ps-table-sort-icon,var(--ps-ui-foreground-text))}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_active__EShS8 .Table-module_sortArrowDown__Gyue1,[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_active__EShS8 .Table-module_sortArrowUp__WmbEG{opacity:.45}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_asc__tJDI9 .Table-module_sortArrowUp__WmbEG{border-bottom-color:var(--ps-table-sort-icon-active,var(--ps-button-switch-bg-highlight));opacity:1}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_desc__fjVRY .Table-module_sortArrowDown__Gyue1{border-top-color:var(--ps-table-sort-icon-active,var(--ps-button-switch-bg-highlight));opacity:1}.Table-module_table__6A8SM.flamegraph-table-doubles td:first-child,.Table-module_table__6A8SM.flamegraph-table-doubles th:first-child{width:55%}.Table-module_table__6A8SM.flamegraph-table-doubles td:nth-child(2),.Table-module_table__6A8SM.flamegraph-table-doubles td:nth-child(3),.Table-module_table__6A8SM.flamegraph-table-doubles td:nth-child(4),.Table-module_table__6A8SM.flamegraph-table-doubles th:nth-child(2),.Table-module_table__6A8SM.flamegraph-table-doubles th:nth-child(3),.Table-module_table__6A8SM.flamegraph-table-doubles th:nth-child(4){width:15%}.Table-module_table__6A8SM.flamegraph-table td:first-child,.Table-module_table__6A8SM.flamegraph-table th:first-child{width:55%}.Table-module_table__6A8SM.flamegraph-table td:nth-child(2),.Table-module_table__6A8SM.flamegraph-table td:nth-child(3),.Table-module_table__6A8SM.flamegraph-table th:nth-child(2),.Table-module_table__6A8SM.flamegraph-table th:nth-child(3){width:22.5%}.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRhYmxlLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLDJCQUVFLGtCQUFtQixDQURuQixVQUdGLENBQ0EsaUNBQ0UsdUVBQTZFLENBQzdFLG1FQUNGLENBQ0EsaUVBQ0UsY0FBZSxDQUNmLGdCQUNGLENBQ0EsbUVBR0UsNEJBQThDLENBQTlDLGlEQUE4QyxDQUY5QyxvQkFBcUIsQ0FLckIsZUFBZ0IsQ0FEaEIsaUJBQWtCLENBRGxCLE9BR0YsQ0FDQSw0SUFFRSxZQUNGLENBQ0EsMkZBRUUsd0RBQXlELENBRHpELDRCQUE2QixDQUU3QixRQUNGLENBQ0EsNEZBQ0UscURBQXNELENBQ3RELE9BQ0YsQ0FDQSxpQ0FDRSxjQUNGLENBQ0Esb0NBQ0UsZUFBb0IsQ0FDcEIsaUJ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leC1lbmQ7XG59Il19 */");var Gu="Button-module_button__Ed1ge",Qu="Button-module_noIcon__Uzjvv",Iu="Button-module_noBox__mLreC",Bu="Button-module_customIcon__-slpC",Fu="Button-module_iconWithText__DQRkr",Zu="Button-module_default__HhXlQ",wu="Button-module_outline__Flf4r",Nu="Button-module_float__4marx",Lu="Button-module_primary__xByv0",Wu="Button-module_secondary__D0K-F",Cu="Button-module_danger__5-vIq",Xu="Button-module_grouped__j8KwB";s(".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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJ1dHRvbi5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw2QkFLRSxvQ0FBcUMsQ0FDckMsaUJBQWtCLENBRmxCLGNBQWUsQ0FGZixlQUFnQixDQUNoQixzQkFBdUIsQ0FGdkIsa0JBTUYsQ0FDQSw2SEFDRSx5QkFDRixDQUVBLDZCQUNFLGNBQ0YsQ0FFQSw0QkFHRSw0QkFBOEIsQ0FGOUIsV0FBWSxDQUNaLGtCQUVGLENBRUEscUNBRUUsZ0JBQWlCLENBQ2pCLHNCQUF3QixDQUZ4QixVQUdGLENBRUEsbUNBQ0UsZ0JBQ0YsQ0FFQSx3RkFDRSwwQ0FDRixDQUNBLHVKQUNFLGtEQUNGLENBQ0EsbUhBQ0Usb0NBQXFDLENBQ3JDLG1CQUNGLENBRUEsOEJBR0UsMkNBQTRDLENBRjVDLHdCQUF5QixDQUN6Qiw0Q0FFRixDQUNBLG9DQUNFLHFEQUNGLENBQ0EsdUNBQ0UseUNBQTBDLENBQzFDLG1CQUNGLENBRUEsZ0NBR0UsdUNBQXdDLENBRnhDL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bn1cblxuLmdyb3VwZWQge1xuICBtYXJnaW46IDA7XG4gIGJvcmRlci1yaWdodDogMDtcbiAgYm9yZGVyLXJhZGl1czogMDtcbiAgcGFkZGluZy1sZWZ0OiAxMnB4O1xuICBwYWRkaW5nLXJpZ2h0OiAxMnB4O1xufVxuXG4uZ3JvdXBlZDpmaXJzdC1jaGlsZCB7XG4gIGJvcmRlci1sZWZ0OiAxcHggc29saWQgdmFyKC0tcHMtdWktYm9yZGVyKTtcbiAgYm9yZGVyLXJhZGl1czogNHB4IDAgMCA0cHg7XG59XG5cbi5ncm91cGVkOmxhc3QtY2hpbGQge1xuICBib3JkZXItcmlnaHQ6IDFweCBzb2xpZCB2YXIoLS1wcy11aS1ib3JkZXIpO1xuICBib3JkZXItcmFkaXVzOiAwIDRweCA0cHggMDtcbn0iXX0= */");const Ru=t.forwardRef(function({disabled:t=!1,kind:n="default",type:a="button",icon:r,iconNode:o,children:i,grouped:l,onClick:s,id:c,className:u,form:d,noBox:b,autoFocus:m,...h},f){return e.jsxs("button",{...h,id:c,ref:f,type:a,"data-testid":h["data-testid"],disabled:t,onClick:s,form:d,autoFocus:m,"aria-label":h["aria-label"],className:Pc(Gu,l?Xu:"",ku(n),u,b&&Iu,o&&Bu,!r&&!o&&Qu),children:[r?e.jsx(Oa,{icon:r,className:i?Fu:""}):null,o,i]})});function ku(e){switch(e){case"default":return Zu;case"primary":return Lu;case"secondary":return Wu;case"danger":return Cu;case"outline":return wu;case"float":return Nu;default:throw Error(`Unsupported kind ${e}`)}}function Uu({row:n}){const{cells:a,isRowSelected:r,isRowDisabled:o,className:i,onClick:l,onDoubleClick:s,onContextMenu:c,...u}=n,d=t.useRef(Math.random()).current;return e.jsx("tr",{...u,onClick:l,onDoubleClick:s,onContextMenu:c,className:hl(i,{[fu]:r,[gu]:o}),children:a&&a.map(({style:t,value:n,...a},r)=>e.jsx("td",{style:t,...a,children:n},d+r))})}function Du({sortByDirection:n,sortBy:a,updateSortParams:r,table:o,tableBodyRef:i,className:l,isLoading:s,itemsPerPage:c,virtualize:u,virtualizeRowHeight:d,virtualizeOverscan:b=6,scrollRef:m,disableSort:h}){const f=!h&&n&&a&&r,[g,p]=t.useState(0),[x,y]=t.useState(0),[v,G]=t.useState(null),[Q,I]=t.useState(null),B=t.useRef(null),F=t.useRef(null);t.useLayoutEffect(()=>{(null==m?void 0:m.current)&&m.current!==Q&&I(m.current)},[null==m?void 0:m.current,Q]),t.useEffect(()=>{if(!Q||!u)return()=>{};const e=()=>{B.current&&cancelAnimationFrame(B.current),B.current=requestAnimationFrame(()=>{y(Q.scrollTop||0)})};return Q.addEventListener("scroll",e,{passive:!0}),()=>{Q.removeEventListener("scroll",e),B.current&&cancelAnimationFrame(B.current)}},[Q,u]),t.useEffect(()=>{if(!u||v||!(null==i?void 0:i.current))return;const e=i.current.querySelectorAll("tr[data-row]");if(!e.length)return;const t=e[0].getBoundingClientRect();t.height&&G(t.height)},[u,v,null==i?void 0:i.current,o]);const Z="filled"===o.type?_u(o.bodyRows,g,c):null,w="virtual"===o.type?o.rowCount:Z?Z.length:0,N=d||v||26,L=!!u&&!!Q&&("filled"===o.type||"virtual"===o.type)&&N>0,W=L?(()=>{const e=Q.clientHeight||0,t=Math.max(0,Math.floor(x/N)-b),n=Math.min(w,Math.ceil((x+e)/N)+b),a=t*N,r=Math.max(0,(w-n)*N),i="filled"===o.type&&Z?Z.slice(t,n):[];return{viewportHeight:e,totalRows:w,startIndex:t,endIndex:n,topSpacer:a,bottomSpacer:r,visibleRows:i}})():null,C=!!u&&!L&&"filled"===o.type,X=C?(Z||[]).slice(0,Math.max(24,4*b)):null;t.useEffect(()=>{var e;"virtual"===o.type&&W&&(null===(e=o.onRangeChange)||void 0===e||e.call(o,W.startIndex,W.endIndex))},[o,null==W?void 0:W.startIndex,null==W?void 0:W.endIndex]);const R="virtual"===o.type&&W?Math.max(0,W.endIndex-W.startIndex):0,k="virtual"===o.type&&R>0?Array.from({length:R},()=>({cells:Array.from({length:o.headRow.length},()=>({value:" "}))})):[],U="virtual"===o.type&&W&&o.range&&o.range.start===W.startIndex&&o.range.end===W.endIndex;"virtual"===o.type&&U&&(F.current=o.rows);const D="virtual"===o.type?U?o.rows:F.current||k:k;return s?e.jsx("div",{className:yu}):e.jsxs(e.Fragment,{children:[e.jsxs("table",{className:hl(su,{[l||""]:l}),"data-testid":"table-ui",children:[e.jsx("thead",{children:e.jsx("tr",{children:o.headRow.map(({sortable:i,label:l,name:s,...c},u)=>i&&"not-filled"!==o.type&&f?t.createElement("th",{...c,key:u,className:cu,onClick:()=>r(s)},l,e.jsxs("span",{className:hl(uu,{[xu]:a===s,[mu]:a===s&&"asc"===n,[hu]:a===s&&"desc"===n}),children:[e.jsx("span",{className:du}),e.jsx("span",{className:bu})]})):e.jsx("th",{...c,children:l},u))})}),e.jsx("tbody",{ref:i,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})}):W?e.jsxs(e.Fragment,{children:[W.topSpacer>0&&e.jsx("tr",{"aria-hidden":"true",className:pu,children:e.jsx("td",{colSpan:o.headRow.length,style:{height:W.topSpacer,padding:0,border:0}})}),("virtual"===o.type?D:W.visibleRows).map((t,n)=>{var a;return e.jsx(Uu,{row:t},null!==(a=t["data-row"])&&void 0!==a?a:`row-${W.startIndex+n}`)}),W.bottomSpacer>0&&e.jsx("tr",{"aria-hidden":"true",className:pu,children:e.jsx("td",{colSpan:o.headRow.length,style:{height:W.bottomSpacer,padding:0,border:0}})})]}):C?(X||[]).map((t,n)=>{var a;return e.jsx(Uu,{row:t},null!==(a=t["data-row"])&&void 0!==a?a:`row-${n}`)}):(Z||[]).map((t,n)=>{var a;return e.jsx(Uu,{row:t},null!==(a=t["data-row"])&&void 0!==a?a:`row-${n}`)})})]}),e.jsx(Yu,{bodyRows:"filled"===o.type?o.bodyRows:void 0,itemsPerPage:c,currPage:g,setCurrPage:p})]})}function _u(e,t,n){return n?e.slice(t*n,n*(t+1)):e}function Yu({itemsPerPage:t,currPage:n,setCurrPage:a,bodyRows:r}){if(!t)return null;const o=!!r&&_u(r,n+1,t).length>0,i=!!r&&_u(r,n-1,t).length>0;return e.jsxs("nav",{className:vu,children:[e.jsx(Ru,{"aria-label":"Previous Page",disabled:!i,kind:"float",icon:ru.faChevronLeft,onClick:()=>a(n-1)}),e.jsx(Ru,{disabled:!o,"aria-label":"Next Page",kind:"float",icon:lu.faChevronRight,onClick:()=>a(n+1)})]})}function ju({numTicks:n,sampleRate:a,units:r,tableBodyRef:o,palette:i}){const l=Yr(n,a,r),s=l.format(n,a),c=lc(),u=t.useCallback((e,t,n)=>{var o;const u=null===(o=n.target.closest("tr"))||void 0===o?void 0:o.dataset.row;if(!u)return void t();const[d,b,...m]=u.split(";");switch(d){case"single":{const[t,n]=m,o=l.format(parseInt(t,10),a),i=l.format(parseInt(n,10),a),c=s.split(" "),u="<"===c[0]?c[1]:c[0],d=o.split(" "),h="<"===d[0]?d[1]:d[0],f=i.split(" "),g="<"===f[0]?f[1]:f[0];e({title:{text:b,diff:{text:"",color:""}},tooltipData:[{units:r,self:`${o}(${(parseFloat(h)/parseFloat(u)*100).toFixed(2)}%)`,total:`${i}(${(parseFloat(g)/parseFloat(u)*100).toFixed(2)}%)`,tooltipType:"table"}]});break}case"double":{const[t,n,o,s]=m,u=gc({formatter:l,sampleRate:a,totalLeft:parseInt(t,10),leftTicks:parseInt(n,10),totalRight:parseInt(o,10),rightTicks:parseInt(s,10),title:b,units:r},i,c);e({title:u.title,tooltipData:u.tooltipData});break}}},[l,a,r,s,i,c]);return e.jsx(bc,{dataSourceRef:o,shouldShowTitle:!1,clickInfoSide:"left",setTooltipContent:u,palette:i})}function Vu(){const e=new Blob([`(${(()=>{const e=e=>e||0,t={format:"single",jStep:4,jName:3,getBarTotal:(e,t)=>e[t+1],getBarSelf:(e,t)=>e[t+2],getBarName:(e,t)=>e[t+3]},n={format:"double",jStep:7,jName:6,getBarTotal:(e,t)=>e[t+4]+e[t+1],getBarTotalLeft:(e,t)=>e[t+1],getBarTotalRght:(e,t)=>e[t+4],getBarSelf:(e,t)=>e[t+5]+e[t+2],getBarSelfLeft:(e,t)=>e[t+2],getBarSelfRght:(e,t)=>e[t+5],getBarName:(e,t)=>e[t+6]},a=e=>Math.round(1e4*e)/100,r=(e,t)=>(t-e)/e*100,o={baseRows:[],rows:[],bestNodeByName:new Map,sortBy:"total",sortByDirection:"desc",highlightQuery:"",format:"single",leftTicks:0,rightTicks:0},i=()=>{const e=o.highlightQuery.trim().toLowerCase(),t=e?o.baseRows.filter(t=>t.name.toLowerCase().includes(e)):o.baseRows.slice(),n="asc"===o.sortByDirection?1:-1;t.sort((e,t)=>{if("name"===o.sortBy)return n*e.name.localeCompare(t.name);switch(o.sortBy){case"total":case"self":{const a=e[o.sortBy]||0,r=t[o.sortBy]||0;return n*(a-r)}case"baseline":{const a=e.leftTicks>0?e.totalLeft/e.leftTicks:0,r=t.leftTicks>0?t.totalLeft/t.leftTicks:0;return n*(a-r)}case"comparison":{const a=e.rightTicks>0?e.totalRght/e.rightTicks:0,r=t.rightTicks>0?t.totalRght/t.rightTicks:0;return n*(a-r)}case"diff":{const o=e.leftTicks>0?e.totalLeft/e.leftTicks:0,i=e.rightTicks>0?e.totalRght/e.rightTicks:0,l=t.leftTicks>0?t.totalLeft/t.leftTicks:0,s=t.rightTicks>0?t.totalRght/t.rightTicks:0,c=r(a(o),a(i)),u=r(a(l),a(s));return n*(c-u)}default:return 0}}),o.rows=t},l=a=>{const{rows:r,bestNodeByName:l,format:s,leftTicks:c,rightTicks:u}=(a=>{const{names:r,levels:o,format:i}=a,l=new Map,s=new Map,c=a.leftTicks||0,u=a.rightTicks||0;if("double"===i){const t=n;for(let n=0;n<o.length;n+=1){const a=o[n];for(let o=0;o<a.length;o+=t.jStep){const i=r[t.getBarName(a,o)]||"<empty>";l.has(i)||l.set(i,{type:"double",name:i,totalLeft:0,totalRght:0,leftTicks:c,rightTicks:u});const d=l.get(i);if(!d)continue;d.totalLeft=e(d.totalLeft)+t.getBarTotalLeft(a,o),d.totalRght=e(d.totalRght)+t.getBarTotalRght(a,o);const b=t.getBarTotal(a,o),m=s.get(i);(!m||b>m.total)&&s.set(i,{i:n,j:o,total:b})}}}else{const n=t;for(let t=0;t<o.length;t+=1){const a=o[t];for(let o=0;o<a.length;o+=n.jStep){const i=r[n.getBarName(a,o)]||"<empty>";l.has(i)||l.set(i,{type:"single",name:i,self:0,total:0});const c=l.get(i);if(!c)continue;c.self=e(c.self)+n.getBarSelf(a,o),c.total=e(c.total)+n.getBarTotal(a,o);const u=n.getBarTotal(a,o),d=s.get(i);(!d||u>d.total)&&s.set(i,{i:t,j:o,total:u})}}}return{rows:Array.from(l.values()),bestNodeByName:s,format:i,leftTicks:c,rightTicks:u}})(a.flamebearer);o.baseRows=r,o.bestNodeByName=l,o.format=s,o.leftTicks=c,o.rightTicks=u,o.sortBy=a.sortBy,o.sortByDirection=a.sortByDirection,o.highlightQuery=a.highlightQuery||"",i(),self.postMessage({type:"ready",payload:{rowCount:o.rows.length}})};self.onmessage=e=>{const t=e.data;var n;if(t&&t.type)switch(t.type){case"init":l(t.payload);break;case"update":n=t.payload,o.sortBy=n.sortBy,o.sortByDirection=n.sortByDirection,o.highlightQuery=n.highlightQuery||"",i(),self.postMessage({type:"ready",payload:{rowCount:o.rows.length}});break;case"range":(e=>{const{start:t,end:n,requestId:a}=e,r=Math.max(0,t),i=Math.min(o.rows.length,n),l=o.rows.slice(r,i);self.postMessage({type:"range",payload:{rows:l,start:r,end:i,requestId:a}})})(t.payload);break;case"findNode":(e=>{const{name:t,requestId:n}=e,a=o.bestNodeByName.get(t);self.postMessage({type:"findNode",payload:{node:a?{i:a.i,j:a.j}:null,requestId:n}})})(t.payload)}}}).toString()})()`],{type:"text/javascript"});return new Worker(URL.createObjectURL(e))}var Su="ProfilerTable-module_tableContextMenu__7Svm8",Mu="ProfilerTable-module_sandwichItem__b9Ipy";s(".ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu{background-color:var(--ps-dropdown-background,#fff);border:1px solid var(--ps-ui-border,#d9d9d9);border-radius:6px;box-shadow:0 6px 16px 0 rgba(0,0,0,.08),0 3px 6px -4px rgba(0,0,0,.12),0 9px 28px 8px rgba(0,0,0,.05);font-size:13px;min-width:180px;padding:4px 0;z-index:3000}.ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu__item{align-items:center;color:var(--ps-ui-foreground-text,#000);cursor:pointer;display:flex;font-size:inherit;gap:8px;height:32px;padding:6px 12px;transition:background-color .15s}.ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu__item:hover{background-color:var(--ps-ui-element-bg-highlight,#f5f5f5)}.ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu__item svg{flex-shrink:0;height:14px;width:14px}.ProfilerTable-module_sandwichItem__b9Ipy svg{height:16px;width:16px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlByb2ZpbGVyVGFibGUubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsd0RBQ0UsbURBQXFELENBQ3JELDRDQUE4QyxDQUM5QyxpQkFBa0IsQ0FDbEIscUdBQW9ILENBR3BILGNBQWUsQ0FEZixlQUFnQixDQURoQixhQUFjLENBR2QsWUFDRixDQUNBLDhEQUVFLGtCQUFtQixDQUtuQix1Q0FBeUMsQ0FEekMsY0FBZSxDQUxmLFlBQWEsQ0FPYixpQkFBa0IsQ0FMbEIsT0FBUSxDQUVSLFdBQVksQ0FEWixnQkFBaUIsQ0FLakIsZ0NBQ0YsQ0FDQSxvRUFDRSwwREFDRixDQUNBLGtFQUdFLGFBQWMsQ0FEZCxXQUFZLENBRFosVUFHRixDQUVBLDhDQUVFLFdBQVksQ0FEWixVQUVGIiwiZmlsZSI6IlByb2ZpbGVyVGFibGUubW9kdWxlLnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIudGFibGVDb250ZXh0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Hg7XG4gIGhlaWdodDogMTRweDtcbiAgZmxleC1zaHJpbms6IDA7XG59XG5cbi5zYW5kd2ljaEl0ZW0gc3ZnIHtcbiAgd2lkdGg6IDE2cHg7XG4gIGhlaWdodDogMTZweDtcbn0iXX0= */");const Ju=e=>e||0,Ou="undefined"!=typeof Worker&&"undefined"!=typeof Blob&&"undefined"!=typeof URL;function Au(e,t,n,a){const r=t;return r.type="single",r.self=Ju(r.self)+e.getBarSelf(n,a),r.total=Ju(r.total)+e.getBarTotal(n,a),r}function Eu(e,t,n,a,r,o){const i=t;return i.type="double",i.self=Ju(i.self)+e.getBarSelf(n,a),i.total=Ju(i.total)+e.getBarTotal(n,a),i.selfLeft=Ju(i.selfLeft)+e.getBarSelfLeft(n,a),i.selfRght=Ju(i.selfRght)+e.getBarSelfRght(n,a),i.selfDiff=Ju(i.selfDiff)+e.getBarSelfDiff(n,a),i.totalLeft=Ju(i.totalLeft)+e.getBarTotalLeft(n,a),i.totalRght=Ju(i.totalRght)+e.getBarTotalRght(n,a),i.totalDiff=Ju(i.totalDiff)+e.getBarTotalDiff(n,a),i.leftTicks=r,i.rightTicks=o,i}const zu=new WeakMap;function Tu(e){const t=zu.get(e);if(t)return t;const n=function(e){if(!e)return[];const{names:t,levels:n,format:a}=e,r="double"!==a?Qr:Ir,o=new Map;for(let i=0;i<n.length;i++){const l=n[i];for(let n=0;n<l.length;n+=r.jStep){const i=t[r.getBarName(l,n)];o.has(i)||o.set(i,{name:i||"<empty>",self:0,total:0});const s=o.get(i);if(!s)break;"single"===a?Au(Qr,s,l,n):Eu(Ir,s,l,n,e.leftTicks,e.rightTicks)}}return Array.from(o.values())}(e);return zu.set(e,n),n}function Hu(e,t,n){const a=148-e/t*148,r=n.alpha(1);return{backgroundImage:`linear-gradient(${r}, ${r})`,backgroundPosition:`-${a}px 0px`,backgroundRepeat:"no-repeat"}}const Pu=({flamebearer:t,sortBy:n,sortByDirection:a,fitMode:r,handleTableItemClick:o,highlightQuery:i,palette:l,selectedItem:s,messages:c,onRowContextMenu:u,onRowDoubleClick:d})=>{const{numTicks:b,maxSelf:m,sampleRate:h,spyName:f,units:g}=t,p=[...Tu(t)].sort((e,t)=>t.total-e.total),x="asc"===a?1:-1;let y;if("name"===n)y=p.sort((e,t)=>x*e[n].localeCompare(t[n]));else switch(n){case"total":case"self":y=p.sort((e,t)=>x*(e[n]-t[n]));break;case"baseline":y=p.sort((e,t)=>x*(e.totalLeft/e.leftTicks-t.totalLeft/t.leftTicks));break;case"comparison":y=p.sort((e,t)=>x*(e.totalRght/e.rightTicks-t.totalRght/t.rightTicks));break;case"diff":y=p.sort((e,t)=>{const n=_r(Dr(e.totalLeft/e.leftTicks),Dr(e.totalRght/e.rightTicks)),a=_r(Dr(t.totalLeft/t.leftTicks),Dr(t.totalRght/t.rightTicks));return x*(n-a)});break;default:y=p}const v=Yr(b,h,g),G=e=>!!s.isJust&&e===s.value,Q=t=>e.jsx("button",{className:"table-item-button",children:e.jsx("div",{className:"symbol-name",style:Er(r),children:e.jsx("bdi",{dir:"ltr",children:t.name})})}),I=y.filter(e=>{return!i||(t=i,e.name.toLowerCase().includes(t.toLowerCase()));var t}).map(e=>{if("double"===e.type)return(e=>{const t=Dr(e.leftTicks>0?e.totalLeft/e.leftTicks:0),n=Dr(e.rightTicks>0?e.totalRght/e.rightTicks:0);let a=_r(t,n);Number.isFinite(a)||(a=0);let r="";a>0?r=l.badColor.rgb().string():a<0&&(r=l.goodColor.rgb().string());let i="";return 0===e.totalLeft&&e.totalRght>0?i=c.diffNew:0===e.totalRght&&e.totalLeft>0?i=c.diffRemoved:0===a?i="0%":a>0?i=`+${a.toFixed(2)}%`:a<0&&(i=`${a.toFixed(2)}%`),{"data-row":`${e.type};${e.name};${e.totalLeft};${e.leftTicks};${e.totalRght};${e.rightTicks}`,isRowSelected:G(e.name),onClick:()=>o(e),onContextMenu:t=>u(t,e.name),onDoubleClick:()=>d(e.name),cells:[{value:Q(e)},{value:`${t} %`},{value:`${n} %`},{value:i,style:{color:r}}]}})(e);const t=el(f,e.name);return((e,t)=>({"data-row":`${e.type};${e.name};${e.self};${e.total}`,isRowSelected:G(e.name),onClick:()=>o(e),onContextMenu:t=>u(t,e.name),onDoubleClick:()=>d(e.name),cells:[{value:Q(e)},{value:v.format(e.self,h),style:Hu(e.self,m,t)},{value:v.format(e.total,h),style:Hu(e.total,b,t)}]}))(e,tl(l,t))});return I.length>0?{bodyRows:I,type:"filled"}:{value:e.jsx("div",{className:"unsupported-format",children:c.noItemsFound}),type:"not-filled"}};function Ku({tableBodyRef:n,flamebearer:a,isDoubles:r,fitMode:o,handleTableItemClick:i,highlightQuery:l,selectedItem:s,palette:c,onFocusOnNode:u,updateView:d,enableSandwichView:b=!0,virtualize:m,virtualizeRowHeight:h,virtualizeOverscan:f,scrollRef:g,menuPortalTarget:p}){const x=lc(),[y,v]=Ns({transition:!0}),[G,Q]=t.useState({x:0,y:0}),[I,B]=t.useState(null),F=Ou,Z=t.useRef(null),w=t.useRef(null),N=t.useRef(0),L=t.useRef(0),W=t.useRef(new Map),[C,X]=t.useState(!1),[R,k]=t.useState(0),[U,D]=t.useState([]),[_,Y]=t.useState({start:0,end:0}),[j,V]=t.useState(null),[S,M]=t.useState(0),[J,O]=t.useState(0);t.useEffect(()=>{if(!F)return()=>{};const e=Vu();Z.current=e,O(e=>e+1);const t=e=>{const t=e.data;if(t&&t.type)switch(t.type){case"ready":k(t.payload.rowCount),X(!0),M(e=>e+1);break;case"range":if(t.payload.requestId!==N.current)return;D(t.payload.rows),Y({start:t.payload.start,end:t.payload.end});break;case"findNode":{const e=W.current.get(t.payload.requestId);e&&(W.current.delete(t.payload.requestId),e(t.payload.node));break}}};return e.addEventListener("message",t),()=>{e.removeEventListener("message",t),e.terminate(),Z.current=null,W.current.clear()}},[F]);const A=t.useCallback(e=>{if(!F||!Z.current)return Promise.resolve(function(e,t){if(!e||!e.levels)return null;const{names:n,levels:a,format:r}=e,o=Br(r);let i=null;for(let e=0;e<a.length;e++){const r=a[e];for(let a=0;a<r.length;a+=o.jStep)if(n[o.getBarName(r,a)]===t){const t=o.getBarTotal(r,a);(!i||t>i.total)&&(i={i:e,j:a,total:t})}}return i?{i:i.i,j:i.j}:null}(a,e));const t=++L.current;return new Promise(n=>{var a;W.current.set(t,n),null===(a=Z.current)||void 0===a||a.postMessage({type:"findNode",payload:{name:e,requestId:t}})})},[a,F]),E=t.useCallback(e=>{u&&A(e).then(e=>{e&&u(e.i,e.j)})},[u,A]),z=t.useCallback(e=>{s.isJust&&s.value===e||i({name:e}),E(e)},[E,s,i]),T=t.useCallback((e,t)=>{e.preventDefault(),Q({x:e.clientX,y:e.clientY}),B(t),v(!0)},[v]),H=t.useCallback(()=>{v(!1),B(null)},[v]),P=t.useCallback(()=>{I&&(E(I),H())},[I,E,H]),K=t.useCallback(()=>{I&&navigator.clipboard&&(navigator.clipboard.writeText(I),H())},[I,H]),$=t.useCallback(()=>{I&&(i({name:I}),H())},[I,i,H]),q=t.useCallback(()=>{I&&d&&(d("sandwich"),i({name:I}),H())},[I,d,i,H]),ee=t.useMemo(()=>r?[{sortable:1,name:"name",label:x.location},{sortable:1,name:"baseline",label:x.baseline,default:!0},{sortable:1,name:"comparison",label:x.comparison},{sortable:1,name:"diff",label:x.diff}]:[{sortable:1,name:"name",label:x.location},{sortable:1,name:"self",label:x.self,default:!0},{sortable:1,name:"total",label:x.total}],[x,r]),te=(e=>{const n=e.filter(e=>null==e?void 0:e.default)[0]||e[0],[a,r]=t.useState(n.name),[o,i]=t.useState("desc");return{sortBy:a,sortByDirection:o,updateSortParams:e=>{let t=o;t=a===e?"asc"===t?"desc":"asc":"desc",r(e),i(t)}}})(ee);t.useEffect(()=>{if(!F||!Z.current)return;const e=Z.current,t={sortBy:te.sortBy,sortByDirection:te.sortByDirection,highlightQuery:l};w.current!==a?(w.current=a,X(!1),k(0),D([]),e.postMessage({type:"init",payload:{flamebearer:a,...t}})):e.postMessage({type:"update",payload:t})},[a,l,te.sortBy,te.sortByDirection,F,J]);const ne=t.useCallback((e,t)=>{V(n=>n&&n.start===e&&n.end===t?n:{start:e,end:t})},[]);t.useEffect(()=>{if(!F||!Z.current||!j)return;const e=++N.current;Z.current.postMessage({type:"range",payload:{start:j.start,end:j.end,requestId:e}})},[j,S,F]);const{numTicks:ae,maxSelf:re,sampleRate:oe,spyName:ie,units:le}=a,se=t.useMemo(()=>Yr(ae,oe,le),[ae,oe,le]),ce=t.useMemo(()=>Er(o),[o]),ue=t.useCallback(e=>s.isJust&&s.value===e,[s]),de=t.useCallback(t=>e.jsx("button",{className:"table-item-button",children:e.jsx("div",{className:"symbol-name",style:ce,children:e.jsx("bdi",{dir:"ltr",children:t})})}),[ce]),be=t.useCallback(e=>{const t=el(ie,e.name),n=tl(c,t);return{"data-row":`single;${e.name};${e.self};${e.total}`,isRowSelected:ue(e.name),onClick:()=>{i({name:e.name})},onContextMenu:t=>T(t,e.name),onDoubleClick:()=>z(e.name),cells:[{value:de(e.name)},{value:se.format(e.self,oe),style:Hu(e.self,re,n)},{value:se.format(e.total,oe),style:Hu(e.total,ae,n)}]}},[se,T,z,i,ue,re,de,ae,c,oe,ie]),me=t.useCallback(e=>{const t=Dr(e.leftTicks>0?e.totalLeft/e.leftTicks:0),n=Dr(e.rightTicks>0?e.totalRght/e.rightTicks:0);let a=_r(t,n);Number.isFinite(a)||(a=0);let r="";a>0?r=c.badColor.rgb().string():a<0&&(r=c.goodColor.rgb().string());let o="";return 0===e.totalLeft&&e.totalRght>0?o=x.diffNew:0===e.totalRght&&e.totalLeft>0?o=x.diffRemoved:0===a?o="0%":a>0?o=`+${a.toFixed(2)}%`:a<0&&(o=`${a.toFixed(2)}%`),{"data-row":`double;${e.name};${e.totalLeft};${e.leftTicks};${e.totalRght};${e.rightTicks}`,isRowSelected:ue(e.name),onClick:()=>{i({name:e.name})},onContextMenu:t=>T(t,e.name),onDoubleClick:()=>z(e.name),cells:[{value:de(e.name)},{value:`${t} %`},{value:`${n} %`},{value:o,style:{color:r}}]}},[T,z,i,x,ue,de,c]),he=t.useMemo(()=>F?U.map(e=>"double"===e.type?me(e):be(e)):[],[me,be,F,U]),fe=t.useMemo(()=>F?C&&0===R?{headRow:ee,type:"not-filled",value:e.jsx("div",{className:"unsupported-format",children:x.noItemsFound})}:{headRow:ee,type:"virtual",rowCount:R,rows:he,range:_,onRangeChange:ne}:{headRow:ee,...Pu({flamebearer:a,sortBy:te.sortBy,sortByDirection:te.sortByDirection,fitMode:o,handleTableItemClick:i,highlightQuery:l,palette:c,selectedItem:s,messages:x,onRowContextMenu:T,onRowDoubleClick:z})},[me,be,b,o,a,T,z,ne,i,l,x,u,c,R,s,ee,te.sortBy,te.sortByDirection,d,F,he,_,C]),ge=s.isJust&&s.value===I;return e.jsxs(e.Fragment,{children:[e.jsx(Du,{...te,tableBodyRef:n,table:fe,isLoading:F&&!C,className:Pc("flamegraph-table",{"flamegraph-table-doubles":r}),virtualize:m,virtualizeRowHeight:h,virtualizeOverscan:f,scrollRef:g}),e.jsxs(Qs,{...y,anchorPoint:G,onClose:H,className:Su,portal:!p||{target:p},children:[u&&e.jsxs(Rs,{onClick:P,children:[e.jsx(Oa,{icon:eu.faCrosshairs}),x.focusOnThisFunction]}),e.jsxs(Rs,{onClick:K,children:[e.jsx(Oa,{icon:Nl.faCopy}),x.copyFunctionName]}),e.jsxs(Rs,{onClick:$,children:[e.jsx(Oa,{icon:Rl.faHighlighter}),ge?x.clearHighlight:x.highlightSimilarNodes]}),d&&b&&e.jsxs(Rs,{onClick:q,className:Mu,children:[e.jsx(Bc,{fill:"currentColor"}),x.openInSandwichView]})]})]})}const $u=t.memo(function({flamebearer:n,fitMode:a,handleTableItemClick:r,highlightQuery:o,palette:i,selectedItem:l,onFocusOnNode:s,updateView:c,enableSandwichView:u}){const d=t.useRef(null),b=t.useRef(null),m=t.useRef(null),[h,f]=t.useState(0),[g,p]=t.useState(null),x="double"===n.format;return t.useEffect(()=>{const e=d.current;if(!e)return;const t=e.offsetWidth-e.clientWidth;Number.isFinite(t)&&t!==h&&f(t)},[d.current,x,h]),t.useEffect(()=>{const e=b.current;if(!e||"undefined"==typeof document)return;const t=e.closest("[data-theme], [data-flamegraph-color-mode]")||e,n=document.createElement("div");return n.className="flamegraph-menu-portal",t.appendChild(n),p(n),()=>{n.parentElement&&n.parentElement.removeChild(n)}},[]),e.jsxs("div",{"data-testid":"table-view",ref:b,style:{"--kylin-flamegraph-scrollbar-size":`${h}px`},className:x?"flamegraph-table-wrapper flamegraph-table-wrapper--double":"flamegraph-table-wrapper",children:[e.jsx("div",{className:"flamegraph-table-scroll",ref:m,children:e.jsx(Ku,{tableBodyRef:d,flamebearer:n,isDoubles:x,fitMode:a,highlightQuery:o,handleTableItemClick:r,palette:i,selectedItem:l,onFocusOnNode:s,updateView:c,enableSandwichView:u,virtualize:!0,virtualizeOverscan:8,scrollRef:m,menuPortalTarget:g})}),e.jsx(ju,{tableBodyRef:d,numTicks:n.numTicks,sampleRate:n.sampleRate,units:n.units,palette:i})]})});var qu,ed,td={},nd={};function ad(){return qu||(qu=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="arrow-rotate-left",n=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],a="f0e2",r="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,n,a,r]},e.faArrowRotateLeft=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=n,e.unicode=a,e.svgPathData=r,e.aliases=n}(nd)),nd}function rd(){return ed||(ed=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ad();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}(td)),td}var od,id,ld=rd(),sd={},cd={};function ud(){return od||(od=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="diagram-project",n=["project-diagram"],a="f542",r="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,n,a,r]},e.faDiagramProject=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=n,e.unicode=a,e.svgPathData=r,e.aliases=n}(cd)),cd}function dd(){return id||(id=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ud();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}(sd)),sd}var bd,md,hd=dd(),fd={},gd={};function pd(){return bd||(bd=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="ellipsis-vertical",n=["ellipsis-v"],a="f142",r="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,n,a,r]},e.faEllipsisVertical=e.definition,e.prefix="fas",e.iconName=t,e.width=128,e.height=512,e.ligatures=n,e.unicode=a,e.svgPathData=r,e.aliases=n}(gd)),gd}function xd(){return md||(md=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=pd();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}(fd)),fd}var yd=xd(),vd="Tooltip-module_tooltipWrapper__leDK-",Gd="Tooltip-module_tooltipBubble__8vweF",Qd="Tooltip-module_tooltipArrow__7wGyN";function Id(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=>Id(e)).filter(e=>!!e);return t.length?t.join(" "):void 0}return t.isValidElement(e)?Id(e.props.children):void 0}}s(".Tooltip-module_tooltipWrapper__leDK-{align-items:center;display:inline-flex;position:relative}.Tooltip-module_tooltipBubble__8vweF{background:rgba(0,0,0,.85);border-radius:4px;bottom:100%;box-shadow:0 4px 12px rgba(0,0,0,.2);color:#fff;font-size:12px;left:50%;line-height:1.4;opacity:0;padding:6px 10px;pointer-events:none;position:absolute;transform:translate(-50%,-8px);transition:opacity .12s ease,transform .12s ease;white-space:nowrap;z-index:5}.Tooltip-module_tooltipArrow__7wGyN{border-color:rgba(0,0,0,.85) transparent transparent;border-style:solid;border-width:6px 6px 0;left:50%;pointer-events:none;position:absolute;top:100%;transform:translate(-50%,-2px)}.Tooltip-module_tooltipWrapper__leDK-:hover .Tooltip-module_tooltipBubble__8vweF{opacity:1;transform:translate(-50%,-14px)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2x0aXAubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsc0NBR0Usa0JBQW1CLENBRG5CLG1CQUFvQixDQURwQixpQkFHRixDQUVBLHFDQU9FLDBCQUErQixDQUQvQixpQkFBa0IsQ0FIbEIsV0FBWSxDQWFaLG9DQUF5QyxDQVJ6QyxVQUFjLENBQ2QsY0FBZSxDQVBmLFFBQVMsQ0FRVCxlQUFnQixDQUdoQixTQUFVLENBUlYsZ0JBQWlCLENBT2pCLG1CQUFvQixDQVhwQixpQkFBa0IsQ0FHbEIsOEJBQWdDLENBVWhDLGdEQUFvRCxDQUhwRCxrQkFBbUIsQ0FJbkIsU0FFRixDQUVBLG9DQU9FLG9EQUFxRSxDQUFyRSxrQkFBcUUsQ0FBckUsc0JBQXFFLENBTHJFLFFBQVMsQ0FNVCxtQkFBb0IsQ0FQcEIsaUJBQWtCLENBRWxCLFFBQVMsQ0FDVCw4QkFLRixDQUVBLGlGQUNFLFNBQVUsQ0FDViwrQkFDRiIsImZpbGUiOiJUb29sdGlwLm1vZHVsZS5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnRvb2x0aXBXcmFwcGVyIHtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBkaXNwbGF5OiBpbmxpbmUtZmxleDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbn1cblxuLnRvb2x0aXBCdWJibGUge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIGxlZnQ6IDUwJTtcbiAgYm90dG9tOiAxMDAlO1xuICB0cmFuc2Zvcm06IHRyYW5zbGF0ZSgtNTAlLCAtOHB4KTtcbiAgcGFkZGluZzogNnB4IDEwcHg7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgYmFja2dyb3VuZDogcmdiYSgwLCAwLCAwLCAwLjg1KTtcbiAgY29sb3I6ICNmZmZmZmY7XG4gIGZvbnQtc2l6ZTogMTJweDtcbiAgbGluZS1oZWlnaHQ6IDEuNDtcbiAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gIG9wYWNpdHk6IDA7XG4gIHRyYW5zaXRpb246IG9wYWNpdHkgMTIwbXMgZWFzZSwgdHJhbnNmb3JtIDEyMG1zIGVhc2U7XG4gIHotaW5kZXg6IDU7XG4gIGJveC1zaGFkb3c6IDAgNHB4IDEycHggcmdiYSgwLCAwLCAwLCAwLjIpO1xufVxuXG4udG9vbHRpcEFycm93IHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBsZWZ0OiA1MCU7XG4gIHRvcDogMTAwJTtcbiAgdHJhbnNmb3JtOiB0cmFuc2xhdGUoLTUwJSwgLTJweCk7XG4gIGJvcmRlci13aWR0aDogNnB4IDZweCAwIDZweDtcbiAgYm9yZGVyLXN0eWxlOiBzb2xpZDtcbiAgYm9yZGVyLWNvbG9yOiByZ2JhKDAsIDAsIDAsIDAuODUpIHRyYW5zcGFyZW50IHRyYW5zcGFyZW50IHRyYW5zcGFyZW50O1xuICBwb2ludGVyLWV2ZW50czogbm9uZTtcbn1cblxuLnRvb2x0aXBXcmFwcGVyOmhvdmVyIC50b29sdGlwQnViYmxlIHtcbiAgb3BhY2l0eTogMTtcbiAgdHJhbnNmb3JtOiB0cmFuc2xhdGUoLTUwJSwgLTE0cHgpO1xufSJdfQ== */");const Bd=({placement:n,title:a,content:r,children:o})=>{const i=Id(null!=a?a:r),l=t.useRef(null),[s,c]=t.useState(!1);return t.useEffect(()=>{const e=l.current;if(!e)return;const t=e.closest("[data-theme='kylin'], [data-flamegraph-color-mode='kylin']");c(!!t)},[]),i?e.jsxs("span",{ref:l,className:vd,"data-placement":n||"top","data-tooltip":s?i:void 0,title:s?void 0:i,children:[o,s?e.jsxs("span",{className:Gd,role:"tooltip",children:[i,e.jsx("span",{className:Qd})]}):null]}):e.jsx(e.Fragment,{children:o})};var Fd,Zd={};function wd(){return Fd||(Fd=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="link",n=[128279,"chain"],a="f0c1",r="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,n,a,r]},e.faLink=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=n,e.unicode=a,e.svgPathData=r,e.aliases=n}(Zd)),Zd}var Nd,Ld,Wd=wd(),Cd={},Xd={};function Rd(){return Nd||(Nd=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="magnifying-glass",n=[128269,"search"],a="f002",r="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z";e.definition={prefix:"fas",iconName:t,icon:[512,512,n,a,r]},e.faMagnifyingGlass=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=n,e.unicode=a,e.svgPathData=r,e.aliases=n}(Xd)),Xd}function kd(){return Ld||(Ld=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Rd();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faSearch=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}(Cd)),Cd}var Ud,Dd,_d,Yd=kd(),jd={};function Vd(){if(Ud)return jd;function e(t){return e="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},e(t)}Ud=1,Object.defineProperty(jd,"__esModule",{value:!0}),jd.DebounceInput=void 0;var n=o(t),a=o(Ms()),r=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var a,r=m(t);if(n){var o=m(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return function(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return b(t)}(this,a)}}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(o,e);var t=d(o);function o(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),h(b(n=t.call(this,e)),"onChange",function(e){e.persist();var t=n.state.value,a=n.props.minLength;n.setState({value:e.target.value},function(){var r=n.state.value;r.length>=a?n.notify(e):t.length>r.length&&n.notify(s(s({},e),{},{target:s(s({},e.target),{},{value:""})}))})}),h(b(n),"onKeyDown",function(e){"Enter"===e.key&&n.forceNotify(e);var t=n.props.onKeyDown;t&&(e.persist(),t(e))}),h(b(n),"onBlur",function(e){n.forceNotify(e);var t=n.props.onBlur;t&&(e.persist(),t(e))}),h(b(n),"createNotifier",function(e){if(e<0)n.notify=function(){return null};else if(0===e)n.notify=n.doNotify;else{var t=(0,a.default)(function(e){n.isDebouncing=!1,n.doNotify(e)},e);n.notify=function(e){n.isDebouncing=!0,t(e)},n.flush=function(){return t.flush()},n.cancel=function(){n.isDebouncing=!1,t.cancel()}}}),h(b(n),"doNotify",function(){n.props.onChange.apply(void 0,arguments)}),h(b(n),"forceNotify",function(e){var t=n.props.debounceTimeout;if(n.isDebouncing||!(t>0)){n.cancel&&n.cancel();var a=n.state.value,r=n.props.minLength;a.length>=r?n.doNotify(e):n.doNotify(s(s({},e),{},{target:s(s({},e.target),{},{value:a})}))}}),n.isDebouncing=!1,n.state={value:void 0===e.value||null===e.value?"":e.value};var r=n.props.debounceTimeout;return n.createNotifier(r),n}return c(o,[{key:"componentDidUpdate",value:function(e){if(!this.isDebouncing){var t=this.props,n=t.value,a=t.debounceTimeout,r=e.debounceTimeout,o=e.value,i=this.state.value;void 0!==n&&o!==n&&i!==n&&this.setState({value:n}),a!==r&&this.createNotifier(a)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var e=this.props,t=e.element;e.onChange,e.value,e.minLength,e.debounceTimeout;var a,o,l=e.forceNotifyByEnter,c=e.forceNotifyOnBlur,u=e.onKeyDown,d=e.onBlur,b=e.inputRef,m=i(e,r),h=this.state.value;a=l?{onKeyDown:this.onKeyDown}:u?{onKeyDown:u}:{},o=c?{onBlur:this.onBlur}:d?{onBlur:d}:{};var f=b?{ref:b}:{};return n.default.createElement(t,s(s(s(s({},m),{},{onChange:this.onChange,value:h},a),o),f))}}]),o}(n.default.PureComponent);return jd.DebounceInput=f,h(f,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0}),jd}var Sd=function(){if(_d)return Dd;_d=1;var e=Vd().DebounceInput;return e.DebounceInput=e,Dd=e}(),Md="Input-module_input__ulQdV";s(".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 Jd=t.forwardRef(({testId:t,className:n,type:a,name:r,placeholder:o,minLength:i=0,debounceTimeout:l=100,onChange:s,value:c,htmlId:u},d)=>e.jsx(Sd.DebounceInput,{inputRef:d,"data-testid":t,className:`${Md} ${n||""}`,type:a,name:r,placeholder:o,minLength:i,debounceTimeout:l,onChange:s,value:c,id:u}));var Od="SharedQueryInput-module_wrapper__XRxrd",Ad="SharedQueryInput-module_search__XlzRv",Ed="SharedQueryInput-module_search-synced__J4T4b",zd="SharedQueryInput-module_searchWithSync__ryuQa",Td="SharedQueryInput-module_icon__Aq0Hv",Hd="SharedQueryInput-module_checked__oRvod",Pd="SharedQueryInput-module_sync__0IO2N",Kd="SharedQueryInput-module_syncSelected__hstBI",$d="SharedQueryInput-module_searchIcon__kfJxO";s(".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)}.SharedQueryInput-module_searchIcon__kfJxO{align-items:center;color:var(--ps-toolbar-icon-color);display:inline-flex;font-size:12px;left:10px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);z-index:2}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv{background:#fff;border-color:#d9d9d9;border-radius:4px;color:#262626;font-size:12px;height:28px;padding:0 10px 0 28px}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b::placeholder,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa::placeholder,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv::placeholder{color:#8c8c8c}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b:hover,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa:hover,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv:hover{border-color:#3c7150}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b:focus,[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b:focus-visible,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa:focus,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa:focus-visible,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv:focus,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv:focus-visible{border-color:#3c7150;box-shadow:0 0 0 2px rgba(60,113,80,.2)}[data-theme=kylin] .SharedQueryInput-module_searchIcon__kfJxO{color:#8c8c8c}[data-theme=kylin] .SharedQueryInput-module_syncSelected__hstBI,[data-theme=kylin] .SharedQueryInput-module_sync__0IO2N{border-radius:4px;height:28px;width:28px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNoYXJlZFF1ZXJ5SW5wdXQubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsd0NBR0Usa0JBQW1CLENBRm5CLFlBQWEsQ0FDYixrQkFBbUIsQ0FHbkIsVUFDRixDQUVBLG9JQUNFLG9DQUFxQyxDQUlyQyxvQ0FBcUMsQ0FLckMscUJBQTBCLENBSjFCLFlBQWEsQ0FIYixZQUFhLENBSWIsV0F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laWdodDogMjhweDtcbiAgd2lkdGg6IDI4cHg7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbn0iXX0= */");const qd=({onHighlightChange:n,highlightQuery:a,sharedQuery:r,width:o})=>{const i=lc(),l=(e=>{const n=t.useRef();return t.useEffect(()=>{n.current=e},[e]),n.current})(null==r?void 0:r.syncEnabled),s=t.useRef(null),[c,u]=t.useState(!1);t.useEffect(()=>{"string"==typeof(null==r?void 0:r.searchQuery)&&(r.syncEnabled&&n(r.searchQuery),!r.syncEnabled&&l&&l!==(null==r?void 0:r.id)&&n(""))},[null==r?void 0:r.searchQuery,null==r?void 0:r.syncEnabled]),t.useEffect(()=>{const e=s.current;if(!e)return;const t=e.closest("[data-theme='kylin'], [data-flamegraph-color-mode='kylin']");u(!!t)},[]);const d=t.useMemo(()=>r&&r.syncEnabled?r.searchQuery||"":a,[r,a]),b=t.useMemo(()=>`${r?zd:Ad} ${(null==r?void 0:r.syncEnabled)?Ed:""}`,[r]),m=(null==r?void 0:r.syncEnabled)?i.unsyncSearchBars:i.syncSearchBars;return e.jsxs("div",{ref:s,className:Od,style:{width:o},children:[e.jsx("span",{className:$d,children:e.jsx(Oa,{icon:Yd.faSearch})}),e.jsx(Jd,{testId:"flamegraph-search",className:b,type:"search",name:"flamegraph-search",placeholder:c?"搜索函数 / 过滤":i.searchPlaceholder,minLength:1,debounceTimeout:100,onChange:e=>{n(e.target.value),r&&r.syncEnabled&&r.onQueryChange(e.target.value)},value:d}),r?e.jsx(Bd,{placement:"top",title:m,children:e.jsx("button",{className:r.syncEnabled?Kd:Pd,onClick:()=>{const e=!(null==r?void 0:r.syncEnabled)&&(null==r?void 0:r.id);null==r||r.toggleSync(e),e?null==r||r.onQueryChange(a):(n(a),null==r||r.onQueryChange(""))},children:e.jsx(Oa,{className:`${r.syncEnabled?Hd:Td}`,icon:Wd.faLink})})}):null]})};var eb="DiffLegend-module_flamegraph-legend__Cywr1",tb="DiffLegend-module_flamegraph-legend-list__swdXj",nb="DiffLegend-module_flamegraph-legend-item__0P-6g";function ab(t){const{palette:n,showMode:a}=t,r=function(e){switch(e){case"large":return[-100,-80,-60,-40,-20,-10,0,10,20,40,60,80,100];case"small":return[-100,-50,0,50,100];default:throw new Error(`Unsupported ${e}`)}}(a),o=nl(n),i="small"===a?{"--legend-item-width":"32px","--legend-item-padding":"2px 2px","--legend-font-size":"10px","--legend-line-height":"1.1","--legend-item-height":"16px"}:void 0;return e.jsx("div",{"data-testid":"flamegraph-legend",className:`${eb} ${tb}`,style:i,children:r.map(t=>e.jsxs("div",{className:nb,style:{backgroundColor:o(t).rgb().toString()},children:[t>0?"+":"",t,"%"]},t))})}s(".DiffLegend-module_flamegraph-legend__Cywr1{--legend-item-width:37px;--legend-item-padding:0;--legend-item-height:auto;align-items:center;display:flex;font-size:var(--legend-font-size,11px);justify-content:center;line-height:var(--legend-line-height,1)}.DiffLegend-module_flamegraph-legend-list__swdXj{display:flex;justify-content:center}.DiffLegend-module_flamegraph-legend-item__0P-6g{height:var(--legend-item-height,auto);overflow:hidden;padding:var(--legend-item-padding,0);text-align:center;white-space:nowrap;width:var(--legend-item-width,37px)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpZmZMZWdlbmQubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw0Q0FLRSx3QkFBeUIsQ0FDekIsdUJBQXdCLENBQ3hCLHlCQUEwQixDQUwxQixrQkFBbUIsQ0FEbkIsWUFBYSxDQUViLHNDQUF3QyxDQUt4QyxzQkFBdUIsQ0FKdkIsdUNBS0YsQ0FFQSxpREFDRSxZQUFhLENBQ2Isc0JBQ0YsQ0FFQSxpREFFRSxxQ0FBdUMsQ0FPdkMsZUFBZ0IsQ0FOaEIsb0NBQXNDLENBQ3RDLGlCQUFrQixDQUlsQixrQkFBbUIsQ0FQbkIsbUNBU0YiLCJmaWxlIjoiRGlmZkxlZ2VuZC5tb2R1bGUuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmZsYW1lZ3JhcGgtbGVnZW5kIHtcbiAgZGlzcGxheTogZmxleDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgZm9udC1zaXplOiB2YXIoLS1sZWdlbmQtZm9udC1zaXplLCAxMXB4KTtcbiAgbGluZS1oZWlnaHQ6IHZhcigtLWxlZ2VuZC1saW5lLWhlaWdodCwgMSk7XG4gIC0tbGVnZW5kLWl0ZW0td2lkdGg6IDM3cHg7XG4gIC0tbGVnZW5kLWl0ZW0tcGFkZGluZzogMDtcbiAgLS1sZWdlbmQtaXRlbS1oZWlnaHQ6IGF1dG87XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xufVxuXG4uZmxhbWVncmFwaC1sZWdlbmQtbGlzdCB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogY2VudGVyO1xufVxuXG4uZmxhbWVncmFwaC1sZWdlbmQtaXRlbSB7XG4gIHdpZHRoOiB2YXIoLS1sZWdlbmQtaXRlbS13aWR0aCwgMzdweCk7XG4gIGhlaWdodDogdmFyKC0tbGVnZW5kLWl0ZW0taGVpZ2h0LCBhdXRvKTtcbiAgcGFkZGluZzogdmFyKC0tbGVnZW5kLWl0ZW0tcGFkZGluZywgMCk7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcblxuICAvKiBpZiBmb3Igc29tZSByZWFzb24gdGhlIGNvbnRlbnRzIGNhbid0IGZpdCBcbiAgICogZG9uJ3QgYnJlYWsgaW50byAyIGxpbmVzICovXG4gIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gIG92ZXJmbG93OiBoaWRkZW47XG59XG4iXX0= */");var rb="Dropdown-module_dropdownMenu__tbN8r",ob="Dropdown-module_dropdownMenuButton__Xy8M4";function ib({id:t,children:n,className:a,disabled:r,value:o,label:i,onItemClick:l,overflow:s,position:c,direction:u,align:d,viewScroll:b,arrow:m,menuButtonClassName:h="",ariaLabel:f,portal:g,...p}){const x=p.menuButton||e.jsx(sb,{"aria-label":f,className:`${ob} ${h}`,disabled:r,type:"button",children:o||i});return e.jsxs(Ws,{id:t,"aria-label":f,className:Pc(a,rb),"data-testid":p["data-testid"],onItemClick:l,overflow:s,position:c,direction:u,align:d,viewScroll:b,arrow:m,menuButton:x,portal:g,children:[e.jsx(ks,{children:i}),n]})}s('@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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRyb3Bkb3duLm1vZHVsZS5z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4gIGJhY2tncm91bmQtY29sb3I6IHZhcigtLXBzLXVpLWVsZW1lbnQtYmctcHJpbWFyeSk7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIG1hcmdpbi1yaWdodDogNXB4O1xuICBwYWRkaW5nLXJpZ2h0OiAyMHB4O1xufVxuLmRyb3Bkb3duTWVudUJ1dHRvbjo6YWZ0ZXIge1xuICBjb250ZW50OiBcIuKWvlwiO1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogM3B4O1xuICByaWdodDogNXB4O1xufVxuLmRyb3Bkb3duTWVudUJ1dHRvbjpob3ZlciB7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcHMtdWktZWxlbWVudC1iZy1oaWdobGlnaHQpO1xufSJdfQ== */');const lb=Rs,sb=ds;var cb="DiffLegendPaletteDropdown-module_container__h8Tts",ub="DiffLegendPaletteDropdown-module_triggerButton__oezA6",db="DiffLegendPaletteDropdown-module_dropdownArrow__-Lu0w",bb="DiffLegendPaletteDropdown-module_menuItem__5iWry",mb="DiffLegendPaletteDropdown-module_menuItemText__a-tt0",hb="DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR",fb="DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q",gb="DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m";s(".DiffLegendPaletteDropdown-module_container__h8Tts{align-items:center;display:flex}.DiffLegendPaletteDropdown-module_triggerButton__oezA6{align-items:center;background-color:transparent;border:1px solid var(--ps-ui-border);border-radius:4px;cursor:pointer;display:flex;gap:4px;height:32px;margin-right:0;padding:2px 16px 2px 6px}.DiffLegendPaletteDropdown-module_triggerButton__oezA6:hover{background-color:transparent;border-color:#6aa27d}.DiffLegendPaletteDropdown-module_triggerButton__oezA6:focus-visible,.DiffLegendPaletteDropdown-module_triggerButton__oezA6[aria-expanded=true]{border-color:#3c7150;box-shadow:0 0 0 3px rgba(60,113,80,.22)}.DiffLegendPaletteDropdown-module_triggerButton__oezA6:after{font-size:10px;right:6px;top:50%;transform:translateY(-50%)}.DiffLegendPaletteDropdown-module_dropdownArrow__-Lu0w{color:var(--ps-text-secondary);font-size:8px;margin-left:2px}.DiffLegendPaletteDropdown-module_menuItem__5iWry{align-items:center;display:flex;gap:6px;justify-content:flex-start;min-width:148px;padding:4px 8px}.DiffLegendPaletteDropdown-module_menuItemText__a-tt0{color:var(--ps-text-primary);font-size:13px;line-height:1.2}.DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR .szh-menu__header{color:#8a8f99;font-size:12px;font-weight:500;letter-spacing:.2px;padding:6px 12px 4px}.DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR .szh-menu{animation:DiffLegendPaletteDropdown-module_dropdownZoomIn__F-HUx .18s ease-out;margin-top:4px;transform-origin:top center}.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q{background-color:transparent!important;border:1px solid transparent;border-radius:6px;margin:2px 6px;padding:0}.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m{background-color:rgba(93,151,111,.38)!important;border-color:transparent}.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m .DiffLegendPaletteDropdown-module_menuItemText__a-tt0{font-weight:600}.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q.szh-menu__item--active,.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q.szh-menu__item--focus,.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q.szh-menu__item--hover{background-color:#f5f5f5!important;border-color:transparent}.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m.szh-menu__item--active,.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m.szh-menu__item--focus,.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m.szh-menu__item--hover{background-color:rgba(93,151,111,.38)!important;border-color:transparent}@keyframes DiffLegendPaletteDropdown-module_dropdownZoomIn__F-HUx{0%{opacity:0;transform:scaleY(.92)}to{opacity:1;transform:scaleY(1)}}@media (prefers-reduced-motion:reduce){.DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR .szh-menu{animation:none}}.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}[data-theme=kylin] .DiffLegendPaletteDropdown-module_triggerButton__oezA6{height:28px;padding:1px 14px 1px 6px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpZmZMZWdlbmRQYWxldHRlRHJvcGRvd24ubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxtREFFRSxrQkFBbUIsQ0FEbkIsWUFFRixDQUdBLHVEQUVFLGtCQUFtQixDQUtuQiw0QkFBNkIsQ0FGN0Isb0NBQXFDLENBQ3JDLGlCQUFrQixDQUVsQixjQUFlLENBUGYsWUFBYSxDQUViLE9BQVEsQ0FNUixXQUFZLENBQ1osY0FBZSxDQU5mLHdCQU9GLENBRUEsNkRBQ0UsNEJBQTZCLENBQzdCLG9CQUNGLENBRUEsZ0pBRUUsb0JBQXFCLENBQ3JCLHdDQUNGLENBRUEsNkRBSUUsY0FBZSxDQUZmLFNBQVUsQ0FEVixPQUFRLENBRVIsMEJBRUYsQ0FFQSx1REFFRS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cbiAgbWFyZ2luLXRvcDogNHB4O1xufVxuXG4uZHJvcGRvd25JdGVtIHN2ZyB7XG4gIHdpZHRoOiAxNnB4O1xuICBoZWlnaHQ6IDE2cHg7XG4gIGZsZXgtc2hyaW5rOiAwO1xufVxuXG46Z2xvYmFsKFtkYXRhLXRoZW1lPSdreWxpbiddKSAudHJpZ2dlckJ1dHRvbiB7XG4gIGhlaWdodDogMjhweDtcbiAgcGFkZGluZzogMXB4IDE0cHggMXB4IDZweDtcbn1cbiJdfQ== */");const pb=[Ks,$s],xb=t=>{const{palette:n=Ks,onChange:a}=t,r=lc(),o=e=>"Default"===e.name?r.paletteDefaultName:"Color Blind"===e.name?r.paletteColorBlindName:e.name,i=e=>"Default"===e.name?r.paletteDefaultDesc:"Color Blind"===e.name?r.paletteColorBlindDesc:"";return e.jsx("div",{className:cb,children:e.jsx(ib,{label:r.diffLegendSelectPalette,align:"end",className:hb,menuButton:e.jsxs(sb,{className:Pc(ob,ub),children:[e.jsx(ab,{palette:n,showMode:"small"}),e.jsx("span",{className:db})]}),onItemClick:e=>{e.value&&a(e.value)},children:pb.map(t=>e.jsx(lb,{value:t,className:Pc(fb,t.name===n.name&&gb),children:e.jsx("div",{className:bb,children:e.jsxs("span",{className:mb,children:[o(t)," ",i(t)]})})},t.name))})})};var yb={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"};s(".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}[data-theme=kylin] .Toolbar-module_navbar__XN6xZ{background-color:transparent;border-color:transparent;height:40px;padding:4px 0}[data-theme=kylin] .Toolbar-module_searchWrapper__k--ua{width:180px}[data-theme=kylin] .Toolbar-module_navbar__XN6xZ button{color:#595959}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw,[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U{background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;height:28px;width:28px}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw:hover,[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve:hover,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV:hover,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U:hover{background-color:#e6f4ea;border-color:#3c7150;color:#3c7150}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV{background-color:#fafafa}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw:disabled,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV:disabled{background-color:#f5f5f5;border-color:#d9d9d9;color:#bfbfbf;cursor:not-allowed}[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve.Toolbar-module_selected__vwBQt,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt{background-color:#3c7150;border-color:#3c7150}[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve.Toolbar-module_selected__vwBQt svg,[data-theme=kylin] .Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve svg,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt svg{color:#fff}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw svg,[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve svg,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV svg,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U svg{height:16px;width:16px}[data-theme=kylin] .Toolbar-module_divider__dG6pE{background-color:#e5e5e5;height:28px}[data-theme=kylin] .Toolbar-module_moreButton__rhOdT{background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;height:28px}[data-theme=kylin] .Toolbar-module_moreButton__rhOdT:hover{background-color:#e6f4ea;border-color:#3c7150;color:#3c7150}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2xiYXIubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsOEJBVUUsa0JBQW1CLENBSG5CLHdDQUF5QyxDQUN6QyxvQ0FBcUMsQ0FOckMsWUFBYSxDQUNiLGtCQUFtQixDQUduQixXQUFZLENBRFosNkJBQThCLENBRDlCLGFBQWMsQ0FLZCxXQUFZLENBUlosaUJBVUYsQ0FFQSxxQ0FFRSxhQUFjLENBRGQsV0FFRixDQUVBLG9DQUVFLGtCQUFtQixDQURuQixZQUFhLENBRWIsT0FDRixDQUVBLGdDQUNFLFlBQWEsQ0FDYixrQkFBbUIsQ0FDbkIsZ0JBQ0YsQ0FFQSxxQ0FDRSxrQ0FDRixDQUVBLDZFQVVFLGtCQUFtQixDQUhuQiw0QkFBNkIsQ0FEN0Isd0JBQXlCLENBRXpCLFlBQWEsQ0FQYixXQUFZLEN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divider}),Ib=t.memo(({view:n,handleSearchChange:a,highlightQuery:r,isFlamegraphDirty:o,reset:i,updateFitMode:l,fitMode:s,updateView:c,selectedNode:u,onFocusOnSubtree:d,flamegraphType:b,enableChangingDisplay:m=!0,sharedQuery:h,ExportData:f,palette:g,setPalette:p})=>{const x=t.useRef(null),[y,v]=t.useState(!1),G=lc();t.useEffect(()=>{const e=x.current;if(!e)return;const t=e.closest("[data-theme='kylin'], [data-flamegraph-color-mode='kylin']");v(!!t)},[]);const Q=y?32:44,I=y?220:360,B="double"===b&&g&&p,F=[{el:e.jsxs(e.Fragment,{children:[e.jsx(Zb,{fitMode:s,updateFitMode:l}),e.jsx(Qb,{})]}),width:2*Q+5},{el:e.jsx(Fb,{isFlamegraphDirty:o,reset:i}),width:Q},{el:e.jsxs(e.Fragment,{children:[e.jsx(Bb,{selectedNode:u,onFocusOnSubtree:d}),e.jsx(Qb,{})]}),width:Q+5},m?{el:e.jsx(Nb,{flamegraphType:b,view:n,updateView:c}),width:Q*("single"===b?5:3)}:null,t.isValidElement(f)?{el:e.jsxs(e.Fragment,{children:[e.jsx(Qb,{}),f]}),width:Q+5}:null].filter(e=>null!==e),Z=F.reduce((e,t)=>[...e,t.width],[]),{isCollapsed:w,collapsedItemsNumber:N,handleMoreClick:L}=((e,n)=>{const[a,r]=t.useState(!0),[o,i]=t.useState(0);return t.useLayoutEffect(()=>{if(e.current){const{width:t}=e.current.getBoundingClientRect(),a=Gb(t,o,n);i(a)}},[e.current,n]),_s(e,e=>{const{width:t}=e.target.getBoundingClientRect(),a=Gb(t,o,n);i(a),r(!0)}),{isCollapsed:a,handleMoreClick:()=>{r(e=>!e)},collapsedItemsNumber:o}})(x,Z),W=F.reduce((e,t,n)=>(n<N?e.hidden.push(t):e.visible.push(t),e),{visible:[],hidden:[]});return e.jsx("div",{role:"toolbar",ref:x,children:e.jsxs("div",{className:yb.navbar,children:[e.jsx("div",{className:yb.searchWrapper,children:e.jsx(qd,{width:I,onHighlightChange:a,highlightQuery:r,sharedQuery:h})}),e.jsxs("div",{className:yb.rightSection,children:[B&&e.jsxs(e.Fragment,{children:[e.jsx(xb,{palette:g,onChange:p}),e.jsx(Qb,{})]}),e.jsxs("div",{className:yb.itemsContainer,children:[W.visible.map((t,n)=>e.jsx("div",{className:yb.item,style:{width:t.width},children:t.el},n)),0!==N&&e.jsx(Bd,{placement:"top",title:G.more,children:e.jsx("button",{onClick:L,className:vb({[yb.moreButton]:!0,[yb.active]:!w}),children:e.jsx(Oa,{icon:yd.faEllipsisV})})})]})]}),!w&&e.jsx("div",{className:yb.navbarCollapsedItems,children:W.hidden.map((t,n)=>e.jsx("div",{className:yb.item,style:{width:t.width},children:t.el},n))})]})})});function Bb({onFocusOnSubtree:t,selectedNode:n}){const a=lc(),r=n.mapOr(()=>{},e=>()=>t(e.i,e.j));return e.jsx(Bd,{placement:"top",title:a.collapseNodesAbove,children:e.jsx("div",{children:e.jsx(Ru,{disabled:!n.isJust,onClick:r,className:yb.collapseNodeButton,"aria-label":a.collapseNodesAbove,children:e.jsx(Oa,{icon:Yl.faCompressAlt})})})})}function Fb({isFlamegraphDirty:t,reset:n}){const a=lc();return e.jsx(Bd,{placement:"top",title:a.resetView,children:e.jsx("span",{children:e.jsx(Ru,{id:"reset",disabled:!t,onClick:n,className:yb.resetViewButton,"aria-label":a.resetView,children:e.jsx(Oa,{icon:ld.faUndo})})})})}function Zb({fitMode:t,updateFitMode:n}){const a=lc(),r=e=>t===e;return e.jsxs(e.Fragment,{children:[e.jsx(Bd,{placement:"top",title:a.headFirst,children:e.jsx(Ru,{onClick:()=>n("HEAD"),className:vb({[yb.fitModeButton]:!0,[yb.selected]:r("HEAD")}),children:e.jsx(Fc,{})})}),e.jsx(Bd,{placement:"top",title:a.tailFirst,children:e.jsx(Ru,{onClick:()=>n("TAIL"),className:vb({[yb.fitModeButton]:!0,[yb.selected]:r("TAIL")}),children:e.jsx(Zc,{})})})]})}const wb=(t,n)=>"single"===t?[{label:n.viewFlamegraph,value:"flamegraph",Icon:Ic},{label:n.viewTable,value:"table",Icon:Gc},{label:n.viewTableAndFlamegraph,value:"both",Icon:Qc},{label:n.viewSandwich,value:"sandwich",Icon:Bc},{label:n.viewGraphviz,value:"graphviz",Icon:()=>e.jsx(Oa,{icon:hd.faProjectDiagram})}]:[{label:n.viewFlamegraph,value:"flamegraph",Icon:Ic},{label:n.viewTable,value:"table",Icon:Gc},{label:n.viewTableAndFlamegraph,value:"both",Icon:Qc}];function Nb({view:t,updateView:n,flamegraphType:a}){const r=lc(),o=wb(a,r);return e.jsx("div",{className:yb.viewType,children:o.map(({label:a,value:r,Icon:o})=>e.jsx(Bd,{placement:"top",title:a,children:e.jsx(Ru,{"data-testid":r,onClick:()=>n(r),className:vb({[yb.toggleViewButton]:!0,selected:t===r}),children:e.jsx(o,{})})},r))})}function Lb(e,t){const n={},a={};let r={name:"total",children:[],self:[],total:[],key:"/total"};return(t?[e,t]:[e]).forEach((e,t)=>{var o,i;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("/"),u=e.names[e.levels[l][s+3]],d=e.levels[l][s+0],b=e.levels[l][s+1],m=e.levels[l][s+2];let h="";if(0!==l){const n=l-1,r=e.levels[n];for(let e=0;e<r.length;e+=4){const o=r[e+0],i=r[e+1];if(d>=o&&d<o+i){const r=[t,n,e].join("/");h=a[r].key;break}}}const f=[h||"",u].join("/"),g=!n[f];n[f]||(n[f]={name:u,children:[],self:[],total:[],key:f});const p=n[f];(o=p.total)[t]||(o[t]=0),p.total[t]+=b,(i=p.self)[t]||(i[t]=0),p.self[t]+=m,a[c]=p,h&&g&&n[h].children.push(p),0===l&&(r=p)}}),r}const Wb=e=>{const t={maxSelf:100,names:[],levels:[]},n=(e,a,r)=>{var o;const{name:i,children:l,self:s,total:c,offset:u}=e;t.names.push(i),(o=t.levels)[a]||(o[a]=[]),t.maxSelf=Math.max(t.maxSelf,s[0]||0),t.levels[a]=t.levels[a].concat([r,c[0]||0,s[0]||0,t.names.length-1]);for(let e=0;e<l.length;e+=1){r+=n(l[e],a+1,r)}return u||c[0]||0};return n(e,0,0),t};function Cb(e){const t=new Map;for(let n=0;n<e.children.length;n+=1)t.has(e.children[n].name)||t.set(e.children[n].name,e.children[n]);for(let n=0;n<e.children.length;n+=1){const a=e.children[n],r=t.get(e.children[n].name);r&&r!==a&&(r.total[0]+=a.total[0],r.self[0]+=a.self[0],r.children=r.children.concat(a.children))}e.children=Array.from(t.values());for(let t=0;t<e.children.length;t+=1)Cb(e.children[t])}function Xb(e,t){const n=function(e,t){const n=Lb(e),a={format:"single",numTicks:0,maxSelf:100,sampleRate:100,names:[],levels:[],units:e.units,spyName:e.spyName},r={name:t,total:[],self:[0],children:[]},o=e=>{e.name===t&&(a.numTicks+=e.total[0],r.total=[a.numTicks],r.children=r.children.concat(e.children));for(let t=0;t<e.children.length;t+=1)o(e.children[t])};return o(n),Cb(r),{...a,...Wb(r)}}(JSON.parse(JSON.stringify(e)),t);return n}function Rb(e,t){const n=function(e,t){const n=Lb(e),a={format:"single",maxSelf:100,sampleRate:100,numTicks:0,names:[],levels:[],units:e.units,spyName:e.spyName},r=[],o=[],i={name:t,total:[0],self:[0],children:[]},l=(e,n=[])=>{const i=n.concat([{...e,children:[]}]);e.name===t&&(o.push(i),r.push(e.total[0]),a.numTicks+=e.total[0]);for(let t=0;t<e.children.length;t+=1)l(e.children[t],i)};l(n),o.forEach((e,t)=>{i.children.push(((e,t)=>{const n={};let a=n;return e.forEach(({name:e,...n})=>{const r={name:e,...n,total:[t]};a.children=[r],a=r}),n.children[0]})(e.reverse(),r[t]))}),Cb(i);const s=Wb(i);return s.levels=s.levels.reverse().slice(0,-1),{...a,...s}}(JSON.parse(JSON.stringify(e)),t);return n}var kb={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"};s(".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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZsYW1lZ3JhcGhSZW5kZXJlci5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxzREFDRSxVQUNGLENBR0EsbUVBQ0UsZ0JBQ0YsQ0FFQSxvRUFDRSxlQUVGLENBRUEsNENBQ0UsVUFBWSxDQUVaLGFBQWMsQ0FEZCxpQkFFRixDQUVBLDhDQUNFLHVCQUNGLENBRUEsNkNBQ0Usa0JBQ0YsQ0FFQSwyQ0FFRSw2QkFDRixDQUVBLCtDQUNFLFlBQ0YsQ0FFQSwyRkFFRSxNQUNGLENBRUEsa0dBTUUsZ0RBQWlELENBRGpELGlCQUFrQixDQUVsQix5QkFBMEIsQ0FOMUIsb0JBQXFCLENBRXJCLG9CQUFxQixDQUNyQixXQUFZLENBRlosaUJBTUYs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c2FuZHdpY2gtcGFuZS1pbmZvLWJnKSB0cmFuc3BhcmVudCB0cmFuc3BhcmVudDtcbn1cbi5zYW5kd2ljaFBhbmUgLnNhbmR3aWNoVG9wIHtcbiAgbWFyZ2luLWJvdHRvbTogMTBweDtcbn1cbi5zYW5kd2ljaFBhbmUgLnNhbmR3aWNoVG9wLFxuLnNhbmR3aWNoUGFuZSAuc2FuZHdpY2hCb3R0b20ge1xuICBkaXNwbGF5OiBmbGV4O1xufVxuLnNhbmR3aWNoUGFuZSAuc2FuZHdpY2hUb3AgLm5hbWUsXG4uc2FuZHdpY2hQYW5lIC5zYW5kd2ljaEJvdHRvbSAubmFtZSB7XG4gIHdyaXRpbmctbW9kZTogdmVydGljYWwtcmw7XG4gIHRyYW5zZm9ybTogcm90YXRlKC0xODBkZWcpO1xuICBwYWRkaW5nOiA1cHggMDtcbn1cbi5zYW5kd2ljaFBhbmUgLnNhbmR3aWNoQm90dG9tIHNwYW4ge1xuICB0ZXh0LWFsaWduOiByaWdodDtcbn0iXX0= */");function Ub(e){const t=[];return Object.keys(e).forEach(n=>{var a;t.push(`${n}="${a=String(e[n]||""),a.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`)}),`[${t.join(" ")}]`}function Db(e,t){return`${(100*e/t).toFixed(2)}%`}function _b(e,t){let n,a,r,o;t?(n=.1,a=.93):(n=1,a=.7),e=Math.max(-1,Math.min(1,e)),Math.abs(e)<.2&&(n*=Math.abs(e)/.2),e>0&&(e**=1-.7),e<0&&(e=-((-e)**(1-.7))),e<0?(o=a,r=a*(1+n*e)):(r=a,o=a*(1-n*e));const i=a*(1-n);return`#${Math.floor(255*r).toString(16).padStart(2,"0")}${Math.floor(255*o).toString(16).padStart(2,"0")}${Math.floor(255*i).toString(16).padStart(2,"0")}`}function Yb(e,t,n,a){const{self:r}=t,{total:o}=t,i=t.name.replace(/"/g,'\\"'),l=e(r),s=8+Math.ceil(16*Math.sqrt(r/n)),c=_b(o/a,!1),u=_b(o/a,!0),d=function(e,t,n,a,r){let o="";o=`${function(e){return e.replace(/.*\//,"")}(t)}\n`;const i=e(n);0!==n?o=`${o+i} (${Db(n,r)})`:o+="0";let l=i;a!==n&&(o+=0!==n?"\n":" ",l=e(a),o=`${o}of ${l} (${Db(a,r)})`);return o}(e,i,r,o,a),b={label:d,id:`node${t.index}`,fontsize:s,shape:"box",tooltip:`${i} (${l})`,color:c,fontcolor:"#000000",style:"filled",fontname:"",fillcolor:u};return`N${t.index} ${Ub(b)}`}function jb(e){if("double"===e.metadata.format)return"diff flamegraphs are not supported";const t=Lb(e.flamebearer),n=[],a=[];const[r,o,,i]=function e(t,n,a,r,o){return t.children.forEach(t=>{const[i,l]=e(t,n,a,r,o);n=Math.max(n,i),a=Math.max(a,l)}),n=Math.max(n,t.self[0]),a=Math.max(a,t.total[0]),r+=t.self[0],o+=t.total[0],[n,a,r,o]}(t,0,0,0,0),{sampleRate:l,units:s}=e.metadata,c=Yr(o,l,s),u=e=>c.format(e,l,!0);let d={};const b={};let m=0;function h(e,t){return-1===t.indexOf(e.name)&&(d[e.name]?(d[e.name].self+=e.self[0],d[e.name].total+=e.total[0]):(m+=1,d[e.name]={index:m,name:e.name,self:e.self[0],total:e.total[0],parents:[],children:[]})),e.children.forEach(n=>{const a=h(n,t.concat([e.name])),r=`${e.name}/${n.name}`;n.name!==e.name&&(b[r]?b[r].weight+=n.total[0]:b[r]={from:d[e.name],to:a,weight:n.total[0],residual:!1},a.parents.push(b[r]),d[e.name].children.push(b[r]))}),d[e.name]}t.children.forEach(e=>{h(e,[])});const f=.005*i,g=.001*i;function p(e,t){let n=0,a=t;if(e.forEach(e=>{e.weight>0&&(a+=Math.abs(e.weight))}),0!==a&&(e.forEach(e=>{const t=Math.abs(e.weight)/a;n+=-t*Math.log2(t)}),t>0)){const e=Math.abs(t)/a;n+=-e*Math.log2(e)}return n}Object.keys(d).forEach(e=>{d[e].total<f&&delete d[e]});const x={};Object.keys(d).forEach(e=>{x[d[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}(d[e])});const y=Object.values(d).sort((e,t)=>{const n=x[e.name],a=x[t.name];return n!==a?a-n:e.name!==t.name?e.name<t.name?-1:1:e.self!==t.self?a-n:e.name<t.name?-1:1}),v={};function G(e){const[t,n]=[e.from,e.to],a={},r=[n];for(;r.length>0;){const n=r.shift();for(let o=0;o<n.parents.length;o+=1){const i=n.parents[o];if(e!==i&&!a[i.from.name]){if(i.from===t)return!0;a[i.from.name]=!0,r.push(i.from)}}}return!1}return y.forEach(e=>{v[e.name]=e}),y.slice(80).forEach(e=>{delete v[e.name]}),function e(t,n){const a=!v[t.name];t.children.forEach(r=>{const o=!v[r.name];if(e(r,a?n:t),!o&&n&&a){const e=`${n.name}/${r.name}`;b[e]||(b[e]={from:d[n.name],to:d[r.name],weight:0,residual:!0}),b[e].weight+=r.total[0],b[e].residual=!0}})}(t,null),d=v,y.reverse().forEach(e=>{const t=e.parents.sort((e,t)=>t.weight-e.weight),n=[];for(let e=0;e<t.length;e+=1){const a=t[e];if(!a.residual)break;G(a)&&(n.push(a),delete b[`${a.from.name}/${a.to.name}`])}n.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(b).forEach(e=>{const t=b[e];d[t.from.name]||delete b[e],d[t.to.name]||delete b[e],t.weight<g&&delete b[e]}),Object.keys(d).forEach(e=>{n.push(Yb(u,d[e],r,o))}),Object.keys(b).forEach(e=>{a.push(function(e,t,n){const a=t.from.name.replace(/"/g,'\\"'),r=t.to.name.replace(/"/g,'\\"'),o=t.weight,i=e(t.weight),l=`${a} -> ${r} (${i})`,s={label:i,weight:1+100*o/n,penwidth:1+5*o/n,tooltip:l,labeltooltip:l,fontname:"",color:_b(o/n,!1),style:t.residual?"dotted":""};return`N${t.from.index} -> N${t.to.index} ${Ub(s)}`}(u,b[e],o))}),`digraph "unnamed" {\n fontname= ""\n ${n.join("\n")}\n ${a.join("\n")}\n }`}var Vb="GraphVizPanel-module_graphVizPane__B18cQ";s(".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 Sb=()=>null;function Mb({flamebearer:n}){var a,r;const o=n,i=(null===(a=o.metadata)||void 0===a?void 0:a.format)&&(null===(r=o.flamebearer)||void 0===r?void 0:r.levels),l=`graphviz-pane-${(null==o?void 0:o.appName)||String((new Date).valueOf())}`,s=t.useMemo(()=>jb(o),[JSON.stringify(o)]);return e.jsx("div",{className:Vb,children:i?e.jsx(Sb,{options:{zoom:!0,width:"150%",height:"100%",scale:1,useWorker:!1},dot:s}):e.jsx("div",{children:"NO DATA"})},l)}function Jb(e){let t=2166136261;const n=e.length;if(0===n)return t>>>0;const a=[0,Math.floor(n/2),n-1];for(let n=0;n<a.length;n+=1){const r=e[a[n]];if(!r||0===r.length)continue;const o=Math.min(8,r.length);for(let e=0;e<o;e+=1)t^=0|r[e],t=Math.imul(t,16777619);for(let e=Math.max(0,r.length-o);e<r.length;e+=1)t^=0|r[e],t=Math.imul(t,16777619)}return t>>>0}function Ob(e){let t=2166136261;const n=e.length;if(0===n)return t>>>0;const a=Math.min(32,n),r=[...Array.from({length:a},(e,t)=>t),...Array.from({length:a},(e,t)=>n-a+t)];for(let n=0;n<r.length;n+=1){const a=e[r[n]]||"";for(let e=0;e<a.length;e+=1)t^=a.charCodeAt(e),t=Math.imul(t,16777619)}return t>>>0}function Ab(e){var t,n,a,r,o,i;const l=e.__kylinSignature;if(l)return l;const s=e,c=[e.format,e.numTicks,e.sampleRate,e.units,e.maxSelf,null!==(n=null===(t=e.names)||void 0===t?void 0:t.length)&&void 0!==n?n:0,null!==(r=null===(a=e.levels)||void 0===a?void 0:a.length)&&void 0!==r?r:0,null!==(o=s.leftTicks)&&void 0!==o?o:"na",null!==(i=s.rightTicks)&&void 0!==i?i:"na",Jb(e.levels),Ob(e.names||[])].join("|");return e.__kylinSignature=c,c}function Eb(e,t){const n=[...t];function a(e,t,n){for(const a of e){let e=0;for(let r=t;r<a.length;r+=n)a[r]-=e,e+=a[r]+a[r+1]}}return"double"===e?(a(n,0,7),a(n,3,7)):a(n,0,4),n}function zb(e,t){const n=[...t];function a(e,t,n){for(const a of e){let e=0;for(let r=t;r<a.length;r+=n)a[r]+=e,e=a[r]+a[r+1]}}return"double"===e?(a(n,0,7),a(n,3,7)):a(n,0,4),n}function Tb(e){if(e.profile&&e.flamebearer&&console.warn("'profile' and 'flamebearer' properties are mutually exclusive. Please use profile if possible."),e.profile){const n=e.profile,a={...n,flamebearer:{...n.flamebearer}};n.__kylinDecoded||((t=a).flamebearer.levels=zb(t.metadata.format,t.flamebearer.levels),n.__kylinDecoded=!0,a.__kylinDecoded=!0);const r={...a,...a.metadata,...a.flamebearer,flamebearer:void 0,metadata:void 0};return delete r.flamebearer,delete r.metadata,r}var t;if(e.flamebearer)return e.flamebearer;return{format:"single",names:[],units:"unknown",levels:[[]],spyName:"unknown",numTicks:0,sampleRate:0,maxSelf:0}}class Hb extends t.Component{constructor(t){super(t),this.resetFlamegraphState={focusedNode:fr.nothing(),zoom:fr.nothing()},this.initialFlamegraphState=this.resetFlamegraphState,this.calcNewConfigs=(e,t)=>{const n=this.state.flamegraphConfigs,a=(e,t,n)=>{const a=(e,t,n)=>e.names[Br(e.format).getBarName(e.levels[t],n)];if(n.isNothing)return!0;try{const r=n,o=a(e,r.value.i,r.value.j);return o===a(t,r.value.i,r.value.j)}catch{return!1}};a(e,t,this.state.flamegraphConfigs.zoom)||(n.zoom=this.resetFlamegraphState.zoom);return a(e,t,this.state.flamegraphConfigs.focusedNode)||(n.focusedNode=this.resetFlamegraphState.focusedNode),n},this.onSearchChange=e=>{this.setState({searchQuery:e})},this.isSameFlamebearer=(e,t)=>function(e,t){return Ab(e)===Ab(t)}(e,t),this.onReset=()=>{this.setState({...this.state,flamegraphConfigs:{...this.state.flamegraphConfigs,...this.initialFlamegraphState},selectedItem:fr.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:a}=this.state.flamegraphConfigs;a.isJust&&a.value.i<=e&&(n={...n,zoom:this.initialFlamegraphState.zoom}),this.setState({...this.state,flamegraphConfigs:{...n,focusedNode:fr.just({i:e,j:t})}})},this.isNameInFocusedSubtree=e=>{const{focusedNode:t}=this.state.flamegraphConfigs;if(t.isNothing)return!0;const{flamebearer:n}=this.state;if(!n||!n.levels)return!0;const{names:a,levels:r,format:o}=n,i=Br(o),l=t.value.i,s=t.value.j,c=r[l];if(!c)return!0;const u=i.getBarOffset(c,s),d=u+i.getBarTotal(c,s);for(let t=l;t<r.length;t++){const n=r[t];for(let t=0;t<n.length;t+=i.jStep){const r=i.getBarOffset(n,t),o=i.getBarTotal(n,t);if(r>=u&&r+o<=d){if(a[i.getBarName(n,t)]===e)return!0}}}return!1},this.setActiveItem=e=>{const{name:t}=e;if(this.state.selectedItem.isJust&&t===this.state.selectedItem.value)return void this.setState({selectedItem:fr.nothing()});this.isNameInFocusedSubtree(t)?this.setState({selectedItem:fr.just(t)}):this.setState({selectedItem:fr.just(t),flamegraphConfigs:{...this.state.flamegraphConfigs,focusedNode:this.resetFlamegraphState.focusedNode}})},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.clearFocus=()=>{this.setState(e=>({...e,flamegraphConfigs:{...e.flamegraphConfigs,...this.resetFlamegraphState}}))},this.getActiveRange=()=>{const{flamebearer:e}=this.state,{zoom:t,focusedNode:n}=this.state.flamegraphConfigs,a=e.numTicks;if(!a)return{rangeMin:0,rangeMax:1};const r=Br(e.format),o=t=>{const n=e.levels[t.i];if(!n)return{rangeMin:0,rangeMax:1};const o=r.getBarOffset(n,t.j),i=r.getBarTotal(n,t.j);return{rangeMin:o/a,rangeMax:(o+i)/a}};return t.match({Just:e=>n.match({Just:t=>{const n=o(t),a=o(e);return n.rangeMax-n.rangeMin<a.rangeMax-a.rangeMin?n:a},Nothing:()=>o(e)}),Nothing:()=>n.match({Just:e=>o(e),Nothing:()=>({rangeMin:0,rangeMax:1})})})},this.isDirty=()=>this.state.selectedItem.isJust||JSON.stringify(this.initialFlamegraphState)!==JSON.stringify(this.state.flamegraphConfigs),this.handleSetPalette=e=>{this.setState({palette:e})},this.render=()=>{var t;const n=e.jsx("div",{className:hl(kb.tablePane,"vertical"===this.state.panesOrientation?kb.vertical:kb.horizontal),children:e.jsx($u,{"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,onFocusOnNode:this.onFocusOnNode,updateView:this.props.onlyDisplay?void 0:this.updateView,enableSandwichView:this.props.enableSandwichView})},"table-pane"),a=this.shouldShowToolbar(),o=!this.state.flamebearer||this.state.flamebearer.names.length<=1,i=this.context,l="Location"!==i.location,s=this.state.flamebearer.numTicks,c=Yr(s,this.state.flamebearer.sampleRate,this.state.flamebearer.units).format(s,this.state.flamebearer.sampleRate),u=kr(c,l)||c,d=function(e,t=Ur){const n=Math.abs(e);for(const{value:a,label:r}of t)if(n>=a)return`${(e/a).toFixed(2).replace(/\.?0+$/,"")} ${r}`;return Xr(e)}(s,i.sampleCountFormat),b=i.tooltipSamples.replace(/[::]\s*$/,""),m=(null===(t=i.tooltipUnitTitles[this.state.flamebearer.units])||void 0===t?void 0:t.formattedValue)||i.tooltipUnitTitles.unknown.formattedValue,h=this.getActiveRange(),f=h.rangeMin>0||h.rangeMax<1,g=Math.max(0,Math.min(s,(h.rangeMax-h.rangeMin)*s)),p=s>0?g/s*100:0,x=(()=>{const e=Br(this.state.flamebearer.format),t=this.state.flamegraphConfigs.focusedNode.mapOrElse(()=>this.state.flamegraphConfigs.zoom.mapOrElse(()=>null,e=>e),e=>e);if(!t)return"";const n=this.state.flamebearer.levels[t.i];if(!n)return"";const a=e.getBarName(n,t.j);return this.state.flamebearer.names[a]||""})(),y=e.jsx(Ac,{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,breadcrumb:o?void 0:{totalValueText:u,totalSamplesText:d,samplesLabel:b,unitLabel:m,hasFocus:f,focusPercent:p,focusLabel:x,ofTotalPlacement:l?"before":"after",ofTotalLabel:i.ofTotal,clearFocusLabel:i.clearFocus,onClearFocus:this.clearFocus}},"flamegraph-pane"),v=(()=>{if("sandwich"!==this.state.view)return e.jsx("div",{className:kb.sandwichPane},"sandwich-pane");if(this.state.selectedItem.isNothing)return e.jsx("div",{className:kb.sandwichPane,children:e.jsxs("div",{className:hl(kb.sandwichPaneInfo,"vertical"===this.state.panesOrientation?kb.vertical:kb.horizontal),children:[e.jsx("div",{className:kb.arrow}),"Select a function to view callers/callees sandwich view"]})},"sandwich-pane");const t=Rb(this.state.flamebearer,this.state.selectedItem.value),n=Xb(this.state.flamebearer,this.state.selectedItem.value),r=t=>e.jsx(Ac,{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:kb.sandwichPane,children:[e.jsxs("div",{className:kb.sandwichTop,children:[e.jsx("span",{className:kb.name,children:"Callers"}),r({flamebearer:t})]}),e.jsxs("div",{className:kb.sandwichBottom,children:[e.jsx("span",{className:kb.name,children:"Callees"}),r({flamebearer:n,headerVisible:!1,showSingleLevel:!0})]})]},"sandwich-pane")})(),G=function(e,t,n,a,r){switch(e){case"table":return[n];case"flamegraph":return[t];case"sandwich":return[n,a];case"both":return[n,t];case"graphviz":return[r];default:throw new Error(`Invalid view '${e}'`)}}(this.state.view,y,n,v,e.jsx(Mb,{flamebearer:this.state.flamebearer}));return e.jsxs("div",{children:[e.jsxs("div",{children:[a&&e.jsx(Ib,{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:`${kb.flamegraphContainer} ${hl("vertical"===this.state.panesOrientation?kb.vertical:kb.horizontal,kb[this.state.panesOrientation],kb.panesWrapper)}`,children:o?e.jsx(gl,{}):G.map(e=>e)})]}),this.props.showPyroscopeLogo&&e.jsxs("div",{className:kb.createdBy,children:["Created by",e.jsxs("a",{href:"https://twitter.com/PyroscopeIO",rel:"noreferrer",target:"_blank",children:[e.jsx(r,{width:"30",height:"30"}),"@PyroscopeIO"]})]})]})},this.state={isFlamegraphDirty:!1,view:this.props.onlyDisplay?this.props.onlyDisplay:"both",fitMode:"HEAD",flamebearer:Tb(t),panesOrientation:t.panesOrientation?t.panesOrientation:"horizontal",searchQuery:"",selectedItem:fr.nothing(),flamegraphConfigs:this.initialFlamegraphState,palette:Ks}}componentDidUpdate(e,t){if(e.profile!==this.props.profile||e.flamebearer!==this.props.flamebearer){const e=t.flamebearer,n=Tb(this.props);if(!this.isSameFlamebearer(e,n)){const t=this.calcNewConfigs(e,n);return void this.setState({flamebearer:n,flamegraphConfigs:{...this.state.flamegraphConfigs,...t},selectedItem:fr.nothing()})}}t.flamegraphConfigs!==this.state.flamegraphConfigs&&this.updateFlamegraphDirtiness()}shouldShowToolbar(){return void 0===this.props.showToolbar||this.props.showToolbar}}Hb.contextType=oc,Hb.defaultProps={showCredit:!1};const Pb={showPyroscopeLogo:!1},Kb=(e,t)=>{if(t)return t;const n=null!=e?e:"auto";return"zh-CN"===("auto"===n?"undefined"!=typeof navigator&&navigator.language&&navigator.language.toLowerCase().startsWith("zh")?"zh-CN":"en":n)?ac:nc};var $b,qb={exports:{}};var em,tm=($b||($b=1,function(e,t){var n="__lodash_hash_undefined__",a=9007199254740991,r="[object Arguments]",o="[object Array]",i="[object Boolean]",l="[object Date]",s="[object Error]",u="[object Function]",d="[object Map]",b="[object Number]",m="[object Object]",h="[object Promise]",f="[object RegExp]",g="[object Set]",p="[object String]",x="[object Symbol]",y="[object WeakMap]",v="[object ArrayBuffer]",G="[object DataView]",Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,I=/^\w*$/,B=/^\./,F=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Z=/\\(\\)?/g,w=/^\[object .+?Constructor\]$/,N=/^(?:0|[1-9]\d*)$/,L={};L["[object Float32Array]"]=L["[object Float64Array]"]=L["[object Int8Array]"]=L["[object Int16Array]"]=L["[object Int32Array]"]=L["[object Uint8Array]"]=L["[object Uint8ClampedArray]"]=L["[object Uint16Array]"]=L["[object Uint32Array]"]=!0,L[r]=L[o]=L[v]=L[i]=L[G]=L[l]=L[s]=L[u]=L[d]=L[b]=L[m]=L[f]=L[g]=L[p]=L[y]=!1;var W="object"==typeof c&&c&&c.Object===Object&&c,C="object"==typeof self&&self&&self.Object===Object&&self,X=W||C||Function("return this")(),R=t&&!t.nodeType&&t,k=R&&e&&!e.nodeType&&e,U=k&&k.exports===R&&W.process,D=function(){try{return U&&U.binding("util")}catch(e){}}(),_=D&&D.isTypedArray;function Y(e,t,n,a){for(var r=-1,o=e?e.length:0;++r<o;){var i=e[r];t(a,i,n(i),e)}return a}function j(e,t){for(var n=-1,a=e?e.length:0;++n<a;)if(t(e[n],n,e))return!0;return!1}function V(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function S(e){var t=-1,n=Array(e.size);return e.forEach(function(e,a){n[++t]=[a,e]}),n}function M(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var J,O,A,E=Array.prototype,z=Function.prototype,T=Object.prototype,H=X["__core-js_shared__"],P=(J=/[^.]+$/.exec(H&&H.keys&&H.keys.IE_PROTO||""))?"Symbol(src)_1."+J:"",K=z.toString,$=T.hasOwnProperty,q=T.toString,ee=RegExp("^"+K.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=X.Symbol,ne=X.Uint8Array,ae=T.propertyIsEnumerable,re=E.splice,oe=(O=Object.keys,A=Object,function(e){return O(A(e))}),ie=Ve(X,"DataView"),le=Ve(X,"Map"),se=Ve(X,"Promise"),ce=Ve(X,"Set"),ue=Ve(X,"WeakMap"),de=Ve(Object,"create"),be=Te(ie),me=Te(le),he=Te(se),fe=Te(ce),ge=Te(ue),pe=te?te.prototype:void 0,xe=pe?pe.valueOf:void 0,ye=pe?pe.toString:void 0;function ve(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Ge(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Qe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Ie(e){var t=-1,n=e?e.length:0;for(this.__data__=new Qe;++t<n;)this.add(e[t])}function Be(e){this.__data__=new Ge(e)}function Fe(e,t){var n=et(e)||qe(e)?function(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}(e.length,String):[],a=n.length,r=!!a;for(var o in e)!$.call(e,o)||r&&("length"==o||Me(o,a))||n.push(o);return n}function Ze(e,t){for(var n=e.length;n--;)if($e(e[n][0],t))return n;return-1}function we(e,t,n,a){return Le(e,function(e,r,o){t(a,e,n(e),o)}),a}ve.prototype.clear=function(){this.__data__=de?de(null):{}},ve.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ve.prototype.get=function(e){var t=this.__data__;if(de){var a=t[e];return a===n?void 0:a}return $.call(t,e)?t[e]:void 0},ve.prototype.has=function(e){var t=this.__data__;return de?void 0!==t[e]:$.call(t,e)},ve.prototype.set=function(e,t){return this.__data__[e]=de&&void 0===t?n:t,this},Ge.prototype.clear=function(){this.__data__=[]},Ge.prototype.delete=function(e){var t=this.__data__,n=Ze(t,e);return!(n<0||(n==t.length-1?t.pop():re.call(t,n,1),0))},Ge.prototype.get=function(e){var t=this.__data__,n=Ze(t,e);return n<0?void 0:t[n][1]},Ge.prototype.has=function(e){return Ze(this.__data__,e)>-1},Ge.prototype.set=function(e,t){var n=this.__data__,a=Ze(n,e);return a<0?n.push([e,t]):n[a][1]=t,this},Qe.prototype.clear=function(){this.__data__={hash:new ve,map:new(le||Ge),string:new ve}},Qe.prototype.delete=function(e){return je(this,e).delete(e)},Qe.prototype.get=function(e){return je(this,e).get(e)},Qe.prototype.has=function(e){return je(this,e).has(e)},Qe.prototype.set=function(e,t){return je(this,e).set(e,t),this},Ie.prototype.add=Ie.prototype.push=function(e){return this.__data__.set(e,n),this},Ie.prototype.has=function(e){return this.__data__.has(e)},Be.prototype.clear=function(){this.__data__=new Ge},Be.prototype.delete=function(e){return this.__data__.delete(e)},Be.prototype.get=function(e){return this.__data__.get(e)},Be.prototype.has=function(e){return this.__data__.has(e)},Be.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ge){var a=n.__data__;if(!le||a.length<199)return a.push([e,t]),this;n=this.__data__=new Qe(a)}return n.set(e,t),this};var Ne,Le=(Ne=function(e,t){return e&&We(e,t,st)},function(e,t){if(null==e)return e;if(!tt(e))return Ne(e,t);for(var n=e.length,a=-1,r=Object(e);++a<n&&!1!==t(r[a],a,r););return e}),We=function(e,t,n){for(var a=-1,r=Object(e),o=n(e),i=o.length;i--;){var l=o[++a];if(!1===t(r[l],l,r))break}return e};function Ce(e,t){for(var n=0,a=(t=Je(t,e)?[t]:_e(t)).length;null!=e&&n<a;)e=e[ze(t[n++])];return n&&n==a?e:void 0}function Xe(e,t){return null!=e&&t in Object(e)}function Re(e,t,n,a,c){return e===t||(null==e||null==t||!rt(e)&&!ot(t)?e!=e&&t!=t:function(e,t,n,a,c,u){var h=et(e),y=et(t),Q=o,I=o;h||(Q=(Q=Se(e))==r?m:Q),y||(I=(I=Se(t))==r?m:I);var B=Q==m&&!V(e),F=I==m&&!V(t),Z=Q==I;if(Z&&!B)return u||(u=new Be),h||lt(e)?Ye(e,t,n,a,c,u):function(e,t,n,a,r,o,c){switch(n){case G:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case v:return!(e.byteLength!=t.byteLength||!a(new ne(e),new ne(t)));case i:case l:case b:return $e(+e,+t);case s:return e.name==t.name&&e.message==t.message;case f:case p:return e==t+"";case d:var u=S;case g:var m=2&o;if(u||(u=M),e.size!=t.size&&!m)return!1;var h=c.get(e);if(h)return h==t;o|=1,c.set(e,t);var y=Ye(u(e),u(t),a,r,o,c);return c.delete(e),y;case x:if(xe)return xe.call(e)==xe.call(t)}return!1}(e,t,Q,n,a,c,u);if(!(2&c)){var w=B&&$.call(e,"__wrapped__"),N=F&&$.call(t,"__wrapped__");if(w||N){var L=w?e.value():e,W=N?t.value():t;return u||(u=new Be),n(L,W,a,c,u)}}return!!Z&&(u||(u=new Be),function(e,t,n,a,r,o){var i=2&r,l=st(e),s=l.length,c=st(t),u=c.length;if(s!=u&&!i)return!1;for(var d=s;d--;){var b=l[d];if(!(i?b in t:$.call(t,b)))return!1}var m=o.get(e);if(m&&o.get(t))return m==t;var h=!0;o.set(e,t),o.set(t,e);for(var f=i;++d<s;){var g=e[b=l[d]],p=t[b];if(a)var x=i?a(p,g,b,t,e,o):a(g,p,b,e,t,o);if(!(void 0===x?g===p||n(g,p,a,r,o):x)){h=!1;break}f||(f="constructor"==b)}if(h&&!f){var y=e.constructor,v=t.constructor;y==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof v&&v instanceof v||(h=!1)}return o.delete(e),o.delete(t),h}(e,t,n,a,c,u))}(e,t,Re,n,a,c))}function ke(e){return!(!rt(e)||function(e){return!!P&&P in e}(e))&&(nt(e)||V(e)?ee:w).test(Te(e))}function Ue(e){return"function"==typeof e?e:null==e?ct:"object"==typeof e?et(e)?function(e,t){return Je(e)&&Oe(t)?Ae(ze(e),t):function(n){var a=function(e,t,n){var a=null==e?void 0:Ce(e,t);return void 0===a?n:a}(n,e);return void 0===a&&a===t?function(e,t){return null!=e&&function(e,t,n){t=Je(t,e)?[t]:_e(t);for(var a,r=-1,o=t.length;++r<o;){var i=ze(t[r]);if(!(a=null!=e&&n(e,i)))break;e=e[i]}return a||!!(o=e?e.length:0)&&at(o)&&Me(i,o)&&(et(e)||qe(e))}(e,t,Xe)}(n,e):Re(t,a,void 0,3)}}(e[0],e[1]):(n=function(e){for(var t=st(e),n=t.length;n--;){var a=t[n],r=e[a];t[n]=[a,r,Oe(r)]}return t}(t=e),1==n.length&&n[0][2]?Ae(n[0][0],n[0][1]):function(e){return e===t||function(e,t,n,a){var r=n.length,o=r;if(null==e)return!o;for(e=Object(e);r--;){var i=n[r];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++r<o;){var l=(i=n[r])[0],s=e[l],c=i[1];if(i[2]){if(void 0===s&&!(l in e))return!1}else if(!Re(c,s,a,3,new Be))return!1}return!0}(e,0,n)}):Je(a=e)?(r=ze(a),function(e){return null==e?void 0:e[r]}):function(e){return function(t){return Ce(t,e)}}(a);var t,n,a,r}function De(e){if(n=(t=e)&&t.constructor,a="function"==typeof n&&n.prototype||T,t!==a)return oe(e);var t,n,a,r=[];for(var o in Object(e))$.call(e,o)&&"constructor"!=o&&r.push(o);return r}function _e(e){return et(e)?e:Ee(e)}function Ye(e,t,n,a,r,o){var i=2&r,l=e.length,s=t.length;if(l!=s&&!(i&&s>l))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var u=-1,d=!0,b=1&r?new Ie:void 0;for(o.set(e,t),o.set(t,e);++u<l;){var m=e[u],h=t[u];if(a)var f=i?a(h,m,u,t,e,o):a(m,h,u,e,t,o);if(void 0!==f){if(f)continue;d=!1;break}if(b){if(!j(t,function(e,t){if(!b.has(t)&&(m===e||n(m,e,a,r,o)))return b.add(t)})){d=!1;break}}else if(m!==h&&!n(m,h,a,r,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function je(e,t){var n,a,r=e.__data__;return("string"==(a=typeof(n=t))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Ve(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ke(n)?n:void 0}var Se=function(e){return q.call(e)};function Me(e,t){return!!(t=null==t?a:t)&&("number"==typeof e||N.test(e))&&e>-1&&e%1==0&&e<t}function Je(e,t){if(et(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!it(e))||I.test(e)||!Q.test(e)||null!=t&&e in Object(t)}function Oe(e){return e==e&&!rt(e)}function Ae(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(ie&&Se(new ie(new ArrayBuffer(1)))!=G||le&&Se(new le)!=d||se&&Se(se.resolve())!=h||ce&&Se(new ce)!=g||ue&&Se(new ue)!=y)&&(Se=function(e){var t=q.call(e),n=t==m?e.constructor:void 0,a=n?Te(n):void 0;if(a)switch(a){case be:return G;case me:return d;case he:return h;case fe:return g;case ge:return y}return t});var Ee=Ke(function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(it(e))return ye?ye.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return B.test(e)&&n.push(""),e.replace(F,function(e,t,a,r){n.push(a?r.replace(Z,"$1"):t||e)}),n});function ze(e){if("string"==typeof e||it(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Te(e){if(null!=e){try{return K.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var He,Pe=(He=function(e,t,n){$.call(e,n)?e[n].push(t):e[n]=[t]},function(e,t){return(et(e)?Y:we)(e,He,Ue(t),{})});function Ke(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],o=n.cache;if(o.has(r))return o.get(r);var i=e.apply(this,a);return n.cache=o.set(r,i),i};return n.cache=new(Ke.Cache||Qe),n}function $e(e,t){return e===t||e!=e&&t!=t}function qe(e){return function(e){return ot(e)&&tt(e)}(e)&&$.call(e,"callee")&&(!ae.call(e,"callee")||q.call(e)==r)}Ke.Cache=Qe;var et=Array.isArray;function tt(e){return null!=e&&at(e.length)&&!nt(e)}function nt(e){var t=rt(e)?q.call(e):"";return t==u||"[object GeneratorFunction]"==t}function at(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function rt(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function ot(e){return!!e&&"object"==typeof e}function it(e){return"symbol"==typeof e||ot(e)&&q.call(e)==x}var lt=_?function(e){return function(t){return e(t)}}(_):function(e){return ot(e)&&at(e.length)&&!!L[q.call(e)]};function st(e){return tt(e)?Fe(e):De(e)}function ct(e){return e}e.exports=Pe}(qb,qb.exports)),qb.exports),nm=u(tm),am={exports:{}};var rm=(em||(em=1,function(e,t){var n="__lodash_hash_undefined__",a=9007199254740991,r="[object Arguments]",o="[object Array]",i="[object Boolean]",l="[object Date]",s="[object Error]",u="[object Function]",d="[object Map]",b="[object Number]",m="[object Object]",h="[object Promise]",f="[object RegExp]",g="[object Set]",p="[object String]",x="[object Symbol]",y="[object WeakMap]",v="[object ArrayBuffer]",G="[object DataView]",Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,I=/^\w*$/,B=/^\./,F=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Z=/\\(\\)?/g,w=/^\[object .+?Constructor\]$/,N=/^(?:0|[1-9]\d*)$/,L={};L["[object Float32Array]"]=L["[object Float64Array]"]=L["[object Int8Array]"]=L["[object Int16Array]"]=L["[object Int32Array]"]=L["[object Uint8Array]"]=L["[object Uint8ClampedArray]"]=L["[object Uint16Array]"]=L["[object Uint32Array]"]=!0,L[r]=L[o]=L[v]=L[i]=L[G]=L[l]=L[s]=L[u]=L[d]=L[b]=L[m]=L[f]=L[g]=L[p]=L[y]=!1;var W="object"==typeof c&&c&&c.Object===Object&&c,C="object"==typeof self&&self&&self.Object===Object&&self,X=W||C||Function("return this")(),R=t&&!t.nodeType&&t,k=R&&e&&!e.nodeType&&e,U=k&&k.exports===R&&W.process,D=function(){try{return U&&U.binding("util")}catch(e){}}(),_=D&&D.isTypedArray;function Y(e,t){for(var n=-1,a=e?e.length:0,r=Array(a);++n<a;)r[n]=t(e[n],n,e);return r}function j(e,t){for(var n=-1,a=e?e.length:0;++n<a;)if(t(e[n],n,e))return!0;return!1}function V(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function S(e){var t=-1,n=Array(e.size);return e.forEach(function(e,a){n[++t]=[a,e]}),n}function M(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var J,O,A,E=Array.prototype,z=Function.prototype,T=Object.prototype,H=X["__core-js_shared__"],P=(J=/[^.]+$/.exec(H&&H.keys&&H.keys.IE_PROTO||""))?"Symbol(src)_1."+J:"",K=z.toString,$=T.hasOwnProperty,q=T.toString,ee=RegExp("^"+K.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=X.Symbol,ne=X.Uint8Array,ae=T.propertyIsEnumerable,re=E.splice,oe=(O=Object.keys,A=Object,function(e){return O(A(e))}),ie=Ve(X,"DataView"),le=Ve(X,"Map"),se=Ve(X,"Promise"),ce=Ve(X,"Set"),ue=Ve(X,"WeakMap"),de=Ve(Object,"create"),be=Te(ie),me=Te(le),he=Te(se),fe=Te(ce),ge=Te(ue),pe=te?te.prototype:void 0,xe=pe?pe.valueOf:void 0,ye=pe?pe.toString:void 0;function ve(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Ge(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Qe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}function Ie(e){var t=-1,n=e?e.length:0;for(this.__data__=new Qe;++t<n;)this.add(e[t])}function Be(e){this.__data__=new Ge(e)}function Fe(e,t){var n=$e(e)||Ke(e)?function(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}(e.length,String):[],a=n.length,r=!!a;for(var o in e)!$.call(e,o)||r&&("length"==o||Me(o,a))||n.push(o);return n}function Ze(e,t){for(var n=e.length;n--;)if(Pe(e[n][0],t))return n;return-1}ve.prototype.clear=function(){this.__data__=de?de(null):{}},ve.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ve.prototype.get=function(e){var t=this.__data__;if(de){var a=t[e];return a===n?void 0:a}return $.call(t,e)?t[e]:void 0},ve.prototype.has=function(e){var t=this.__data__;return de?void 0!==t[e]:$.call(t,e)},ve.prototype.set=function(e,t){return this.__data__[e]=de&&void 0===t?n:t,this},Ge.prototype.clear=function(){this.__data__=[]},Ge.prototype.delete=function(e){var t=this.__data__,n=Ze(t,e);return!(n<0||(n==t.length-1?t.pop():re.call(t,n,1),0))},Ge.prototype.get=function(e){var t=this.__data__,n=Ze(t,e);return n<0?void 0:t[n][1]},Ge.prototype.has=function(e){return Ze(this.__data__,e)>-1},Ge.prototype.set=function(e,t){var n=this.__data__,a=Ze(n,e);return a<0?n.push([e,t]):n[a][1]=t,this},Qe.prototype.clear=function(){this.__data__={hash:new ve,map:new(le||Ge),string:new ve}},Qe.prototype.delete=function(e){return je(this,e).delete(e)},Qe.prototype.get=function(e){return je(this,e).get(e)},Qe.prototype.has=function(e){return je(this,e).has(e)},Qe.prototype.set=function(e,t){return je(this,e).set(e,t),this},Ie.prototype.add=Ie.prototype.push=function(e){return this.__data__.set(e,n),this},Ie.prototype.has=function(e){return this.__data__.has(e)},Be.prototype.clear=function(){this.__data__=new Ge},Be.prototype.delete=function(e){return this.__data__.delete(e)},Be.prototype.get=function(e){return this.__data__.get(e)},Be.prototype.has=function(e){return this.__data__.has(e)},Be.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ge){var a=n.__data__;if(!le||a.length<199)return a.push([e,t]),this;n=this.__data__=new Qe(a)}return n.set(e,t),this};var we,Ne=(we=function(e,t){return e&&Le(e,t,it)},function(e,t){if(null==e)return e;if(!qe(e))return we(e,t);for(var n=e.length,a=-1,r=Object(e);++a<n&&!1!==t(r[a],a,r););return e}),Le=function(e,t,n){for(var a=-1,r=Object(e),o=n(e),i=o.length;i--;){var l=o[++a];if(!1===t(r[l],l,r))break}return e};function We(e,t){for(var n=0,a=(t=Je(t,e)?[t]:_e(t)).length;null!=e&&n<a;)e=e[ze(t[n++])];return n&&n==a?e:void 0}function Ce(e,t){return null!=e&&t in Object(e)}function Xe(e,t,n,a,c){return e===t||(null==e||null==t||!nt(e)&&!at(t)?e!=e&&t!=t:function(e,t,n,a,c,u){var h=$e(e),y=$e(t),Q=o,I=o;h||(Q=(Q=Se(e))==r?m:Q),y||(I=(I=Se(t))==r?m:I);var B=Q==m&&!V(e),F=I==m&&!V(t),Z=Q==I;if(Z&&!B)return u||(u=new Be),h||ot(e)?Ye(e,t,n,a,c,u):function(e,t,n,a,r,o,c){switch(n){case G:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case v:return!(e.byteLength!=t.byteLength||!a(new ne(e),new ne(t)));case i:case l:case b:return Pe(+e,+t);case s:return e.name==t.name&&e.message==t.message;case f:case p:return e==t+"";case d:var u=S;case g:var m=2&o;if(u||(u=M),e.size!=t.size&&!m)return!1;var h=c.get(e);if(h)return h==t;o|=1,c.set(e,t);var y=Ye(u(e),u(t),a,r,o,c);return c.delete(e),y;case x:if(xe)return xe.call(e)==xe.call(t)}return!1}(e,t,Q,n,a,c,u);if(!(2&c)){var w=B&&$.call(e,"__wrapped__"),N=F&&$.call(t,"__wrapped__");if(w||N){var L=w?e.value():e,W=N?t.value():t;return u||(u=new Be),n(L,W,a,c,u)}}return!!Z&&(u||(u=new Be),function(e,t,n,a,r,o){var i=2&r,l=it(e),s=l.length,c=it(t),u=c.length;if(s!=u&&!i)return!1;for(var d=s;d--;){var b=l[d];if(!(i?b in t:$.call(t,b)))return!1}var m=o.get(e);if(m&&o.get(t))return m==t;var h=!0;o.set(e,t),o.set(t,e);for(var f=i;++d<s;){var g=e[b=l[d]],p=t[b];if(a)var x=i?a(p,g,b,t,e,o):a(g,p,b,e,t,o);if(!(void 0===x?g===p||n(g,p,a,r,o):x)){h=!1;break}f||(f="constructor"==b)}if(h&&!f){var y=e.constructor,v=t.constructor;y==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof v&&v instanceof v||(h=!1)}return o.delete(e),o.delete(t),h}(e,t,n,a,c,u))}(e,t,Xe,n,a,c))}function Re(e){return!(!nt(e)||function(e){return!!P&&P in e}(e))&&(et(e)||V(e)?ee:w).test(Te(e))}function ke(e){return"function"==typeof e?e:null==e?lt:"object"==typeof e?$e(e)?function(e,t){return Je(e)&&Oe(t)?Ae(ze(e),t):function(n){var a=function(e,t,n){var a=null==e?void 0:We(e,t);return void 0===a?n:a}(n,e);return void 0===a&&a===t?function(e,t){return null!=e&&function(e,t,n){t=Je(t,e)?[t]:_e(t);for(var a,r=-1,o=t.length;++r<o;){var i=ze(t[r]);if(!(a=null!=e&&n(e,i)))break;e=e[i]}return a||!!(o=e?e.length:0)&&tt(o)&&Me(i,o)&&($e(e)||Ke(e))}(e,t,Ce)}(n,e):Xe(t,a,void 0,3)}}(e[0],e[1]):(n=function(e){for(var t=it(e),n=t.length;n--;){var a=t[n],r=e[a];t[n]=[a,r,Oe(r)]}return t}(t=e),1==n.length&&n[0][2]?Ae(n[0][0],n[0][1]):function(e){return e===t||function(e,t,n,a){var r=n.length,o=r;if(null==e)return!o;for(e=Object(e);r--;){var i=n[r];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++r<o;){var l=(i=n[r])[0],s=e[l],c=i[1];if(i[2]){if(void 0===s&&!(l in e))return!1}else if(!Xe(c,s,a,3,new Be))return!1}return!0}(e,0,n)}):Je(a=e)?(r=ze(a),function(e){return null==e?void 0:e[r]}):function(e){return function(t){return We(t,e)}}(a);var t,n,a,r}function Ue(e){if(n=(t=e)&&t.constructor,a="function"==typeof n&&n.prototype||T,t!==a)return oe(e);var t,n,a,r=[];for(var o in Object(e))$.call(e,o)&&"constructor"!=o&&r.push(o);return r}function De(e,t){var n=-1,a=qe(e)?Array(e.length):[];return Ne(e,function(e,r,o){a[++n]=t(e,r,o)}),a}function _e(e){return $e(e)?e:Ee(e)}function Ye(e,t,n,a,r,o){var i=2&r,l=e.length,s=t.length;if(l!=s&&!(i&&s>l))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var u=-1,d=!0,b=1&r?new Ie:void 0;for(o.set(e,t),o.set(t,e);++u<l;){var m=e[u],h=t[u];if(a)var f=i?a(h,m,u,t,e,o):a(m,h,u,e,t,o);if(void 0!==f){if(f)continue;d=!1;break}if(b){if(!j(t,function(e,t){if(!b.has(t)&&(m===e||n(m,e,a,r,o)))return b.add(t)})){d=!1;break}}else if(m!==h&&!n(m,h,a,r,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function je(e,t){var n,a,r=e.__data__;return("string"==(a=typeof(n=t))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Ve(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Re(n)?n:void 0}var Se=function(e){return q.call(e)};function Me(e,t){return!!(t=null==t?a:t)&&("number"==typeof e||N.test(e))&&e>-1&&e%1==0&&e<t}function Je(e,t){if($e(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!rt(e))||I.test(e)||!Q.test(e)||null!=t&&e in Object(t)}function Oe(e){return e==e&&!nt(e)}function Ae(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(ie&&Se(new ie(new ArrayBuffer(1)))!=G||le&&Se(new le)!=d||se&&Se(se.resolve())!=h||ce&&Se(new ce)!=g||ue&&Se(new ue)!=y)&&(Se=function(e){var t=q.call(e),n=t==m?e.constructor:void 0,a=n?Te(n):void 0;if(a)switch(a){case be:return G;case me:return d;case he:return h;case fe:return g;case ge:return y}return t});var Ee=He(function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(rt(e))return ye?ye.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return B.test(e)&&n.push(""),e.replace(F,function(e,t,a,r){n.push(a?r.replace(Z,"$1"):t||e)}),n});function ze(e){if("string"==typeof e||rt(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Te(e){if(null!=e){try{return K.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function He(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],o=n.cache;if(o.has(r))return o.get(r);var i=e.apply(this,a);return n.cache=o.set(r,i),i};return n.cache=new(He.Cache||Qe),n}function Pe(e,t){return e===t||e!=e&&t!=t}function Ke(e){return function(e){return at(e)&&qe(e)}(e)&&$.call(e,"callee")&&(!ae.call(e,"callee")||q.call(e)==r)}He.Cache=Qe;var $e=Array.isArray;function qe(e){return null!=e&&tt(e.length)&&!et(e)}function et(e){var t=nt(e)?q.call(e):"";return t==u||"[object GeneratorFunction]"==t}function tt(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function nt(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function at(e){return!!e&&"object"==typeof e}function rt(e){return"symbol"==typeof e||at(e)&&q.call(e)==x}var ot=_?function(e){return function(t){return e(t)}}(_):function(e){return at(e)&&tt(e.length)&&!!L[q.call(e)]};function it(e){return qe(e)?Fe(e):Ue(e)}function lt(e){return e}e.exports=function(e,t){return($e(e)?Y:De)(e,ke(t))}}(am,am.exports)),am.exports),om=u(rm);exports.Box=function(t){const{children:n,noPadding:a,className:r="",theme:o="dark"}=t,i=a?"":Aa.padding;return e.jsx("div",{className:`${Aa.box} ${i} ${r}`,"data-theme":o,children:n})},exports.DefaultPalette=Ks,exports.Flamegraph=bl,exports.FlamegraphI18nProvider=ic,exports.FlamegraphRenderer=n=>{const{i18n:a,locale:r,colorMode:o="light",sandwich:i=!0,...l}=n,s=t.useMemo(()=>Kb(r,a),[r,a]),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(ic,{messages:s,children:e.jsx(Hb,{...Pb,enableSandwichView:i,...l})})})},exports.convertJaegerTraceToProfile=function(e){const t={numTicks:0,maxSelf:0,names:[],levels:[]},n={},a={children:[]};return e.spans.forEach(e=>{e.children=[],n[e.spanID]=e}),e.spans.forEach(e=>{let t=a;e.references&&e.references.length>0&&(t=n[e.references[0].spanID]||a),t.children.push(e)}),function e(t,n){(t.children||[]).forEach(t=>e(t));let a=0;const r=nm(t.children||[],e=>e.operationName);t.children=om(r,e=>{const t=e[0];for(let n=1;n<e.length;n+=1)t.duration+=e[n].duration;return a+=t.duration,t}),t.total=t.duration||a,t.self=Math.max(0,t.total-a)}(a),function n(a,r,o){var i;return t.numTicks||(t.numTicks=a.total),(i=t.levels)[r]||(i[r]=[]),t.levels[r].push(o),t.levels[r].push(a.total),t.levels[r].push(a.self),t.names.push((a.processID?`${e.processes[a.processID].serviceName}: `:"")+(a.operationName||"total")),t.levels[r].push(t.names.length-1),(a.children||[]).forEach(e=>{o+=n(e,r+1,o)}),a.total}(a,0,0),t.levels=Eb("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=zb("single",e.flamebearer.levels),t.flamebearer.levels=zb("single",t.flamebearer.levels);const n=function(e,t){const n={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},a=Lb(e,t),r=(e,t,a,o)=>{var i;const{name:l,children:s,self:c,total:u}=e;n.names.push(l),(i=n.levels)[t]||(i[t]=[]),n.maxSelf=Math.max(n.maxSelf,c[0]||0,c[1]||0),n.levels[t]=n.levels[t].concat([a,u[0]||0,c[0]||0,o,u[1]||0,c[1]||0,n.names.length-1]);for(let e=0;e<s.length;e+=1){const[n,i]=r(s[e],t+1,a,o);a+=n,o+=i}return[u[0]||0,u[1]||0]};return r(a,0,0,0),n}(e.flamebearer,t.flamebearer);n.levels=Eb("double",n.levels);const a={...e.metadata};return a.format="double",{version:1,flamebearer:n,metadata:a,leftTicks:e.flamebearer.numTicks,rightTicks:t.flamebearer.numTicks}},exports.flamegraphDefaultMessages=nc,exports.flamegraphZhCNMessages=ac;
17
+ */var Hc,Pc=(Tc||(Tc=1,function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,r(n)))}return e}function r(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var i in e)t.call(e,i)&&e[i]&&(r=a(r,i));return r}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}(zc)),zc.exports),$c=u(Pc),Kc={};function qc(){return Hc||(Hc=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="crosshairs",n=[],r="f05b",a="M288-16c17.7 0 32 14.3 32 32l0 18.3c98.1 14 175.7 91.6 189.7 189.7l18.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-18.3 0c-14 98.1-91.6 175.7-189.7 189.7l0 18.3c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-18.3C157.9 463.7 80.3 386.1 66.3 288L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l18.3 0C80.3 125.9 157.9 48.3 256 34.3L256 16c0-17.7 14.3-32 32-32zM131.2 288c12.7 62.7 62.1 112.1 124.8 124.8l0-12.8c0-17.7 14.3-32 32-32s32 14.3 32 32l0 12.8c62.7-12.7 112.1-62.1 124.8-124.8L432 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l12.8 0C432.1 161.3 382.7 111.9 320 99.2l0 12.8c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-12.8C193.3 111.9 143.9 161.3 131.2 224l12.8 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-12.8 0zM288 208a48 48 0 1 1 0 96 48 48 0 1 1 0-96z";e.definition={prefix:"fas",iconName:t,icon:[576,512,n,r,a]},e.faCrosshairs=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=a,e.aliases=n}(Kc)),Kc}var eu,tu=qc(),nu={};function ru(){return eu||(eu=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="chevron-left",n=[9001],r="f053",a="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,n,r,a]},e.faChevronLeft=e.definition,e.prefix="fas",e.iconName=t,e.width=320,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=a,e.aliases=n}(nu)),nu}var au,iu=ru(),ou={};function su(){return au||(au=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="chevron-right",n=[9002],r="f054",a="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,n,r,a]},e.faChevronRight=e.definition,e.prefix="fas",e.iconName=t,e.width=320,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=a,e.aliases=n}(ou)),ou}var lu=su(),cu="Table-module_table__6A8SM",uu="Table-module_sortable__J6kyp",du="Table-module_sortArrow__Nrncn",hu="Table-module_sortArrowUp__WmbEG",mu="Table-module_sortArrowDown__Gyue1",fu="Table-module_asc__tJDI9",bu="Table-module_desc__fjVRY",gu="Table-module_isRowSelected__UhIAJ",pu="Table-module_isRowDisabled__sz3NJ",xu="Table-module_virtualSpacer__C1hxH",yu="Table-module_active__EShS8",vu="Table-module_loadingSpinner__SSjMK",Gu="Table-module_pagination__VXgcO";l(".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_sortArrowDown__Gyue1,.Table-module_table__6A8SM thead th .Table-module_sortArrowUp__WmbEG{display:none}.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{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,#bae0ff)!important;color:var(--ps-table-highlight-row-text,#0958d9);cursor:pointer}.Table-module_table__6A8SM tbody tr.Table-module_isRowSelected__UhIAJ td:first-child{box-shadow:inset 3px 0 0 0 var(--ps-table-highlight-border,#1677ff)}.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 tr.Table-module_virtualSpacer__C1hxH{background:transparent!important;pointer-events:none}.Table-module_table__6A8SM tbody td,.Table-module_table__6A8SM tbody th{border:1px solid var(--ps-ui-border);padding:4px 10px}[data-theme=kylin] .Table-module_table__6A8SM thead th{background:#fafafa;border-color:#d9d9d9;text-align:left}[data-theme=kylin] .Table-module_table__6A8SM tbody td{border-color:#f0f0f0}[data-theme=kylin] .Table-module_table__6A8SM tbody tr:not(.Table-module_isRowSelected__UhIAJ):hover{background:#f5f5f5;color:var(--ps-neutral-2)}[data-theme=kylin] .Table-module_table__6A8SM thead th.Table-module_sortable__J6kyp{padding-right:18px;position:relative}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn{border:0;display:inline-flex;flex-direction:column;line-height:1;margin-left:6px;position:absolute;right:6px;top:50%;transform:translateY(-50%);vertical-align:middle}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowDown__Gyue1,[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowUp__WmbEG{border-left:4px solid transparent;border-right:4px solid transparent;display:inline-block;height:0;opacity:.35;width:0}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowUp__WmbEG{border-bottom:5px solid var(--ps-table-sort-icon,var(--ps-ui-foreground-text));margin-bottom:2px}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrowDown__Gyue1{border-top:5px solid var(--ps-table-sort-icon,var(--ps-ui-foreground-text))}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_active__EShS8 .Table-module_sortArrowDown__Gyue1,[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_active__EShS8 .Table-module_sortArrowUp__WmbEG{opacity:.45}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_asc__tJDI9 .Table-module_sortArrowUp__WmbEG{border-bottom-color:var(--ps-table-sort-icon-active,var(--ps-button-switch-bg-highlight));opacity:1}[data-theme=kylin] .Table-module_table__6A8SM thead th .Table-module_sortArrow__Nrncn.Table-module_desc__fjVRY .Table-module_sortArrowDown__Gyue1{border-top-color:var(--ps-table-sort-icon-active,var(--ps-button-switch-bg-highlight));opacity:1}.Table-module_table__6A8SM.flamegraph-table-doubles td:first-child,.Table-module_table__6A8SM.flamegraph-table-doubles th:first-child{width:55%}.Table-module_table__6A8SM.flamegraph-table-doubles td:nth-child(2),.Table-module_table__6A8SM.flamegraph-table-doubles td:nth-child(3),.Table-module_table__6A8SM.flamegraph-table-doubles td:nth-child(4),.Table-module_table__6A8SM.flamegraph-table-doubles th:nth-child(2),.Table-module_table__6A8SM.flamegraph-table-doubles th:nth-child(3),.Table-module_table__6A8SM.flamegraph-table-doubles th:nth-child(4){width:15%}.Table-module_table__6A8SM.flamegraph-table td:first-child,.Table-module_table__6A8SM.flamegraph-table th:first-child{width:55%}.Table-module_table__6A8SM.flamegraph-table td:nth-child(2),.Table-module_table__6A8SM.flamegraph-table td:nth-child(3),.Table-module_table__6A8SM.flamegraph-table th:nth-child(2),.Table-module_table__6A8SM.flamegraph-table th:nth-child(3){width:22.5%}.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRhYmxlLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLDJ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50YWJsZTpnbG9iYWwoLmZsYW1lZ3JhcGgtdGFibGUpIHRkOm50aC1jaGlsZCgyKSxcbi50YWJsZTpnbG9iYWwoLmZsYW1lZ3JhcGgtdGFibGUpIHRoOm50aC1jaGlsZCgzKSxcbi50YWJsZTpnbG9iYWwoLmZsYW1lZ3JhcGgtdGFibGUpIHRkOm50aC1jaGlsZCgzKSB7XG4gIHdpZHRoOiAyMi41JTtcbn1cblxuLmxvYWRpbmdTcGlubmVyIHtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBtYXJnaW4tdG9wOiA1MHB4O1xufVxuXG4ucGFnaW5hdGlvbiB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogZmxleC1lbmQ7XG59Il19 */");var wu="Button-module_button__Ed1ge",Iu="Button-module_noIcon__Uzjvv",Qu="Button-module_noBox__mLreC",Bu="Button-module_customIcon__-slpC",Fu="Button-module_iconWithText__DQRkr",Zu="Button-module_default__HhXlQ",Nu="Button-module_outline__Flf4r",ku="Button-module_float__4marx",Lu="Button-module_primary__xByv0",Cu="Button-module_secondary__D0K-F",_u="Button-module_danger__5-vIq",Wu="Button-module_grouped__j8KwB";l(".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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJ1dHRvbi5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw2QkFLRSxvQ0FBcUMsQ0FDckMsaUJBQWtCLENBRmxCLGNBQWUsQ0FGZixlQUFnQixDQUNoQixzQkFBdUIsQ0FGdkIsa0JBTUYsQ0FDQSw2SEFDRSx5QkFDRixDQUVBLDZCQUNFL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kYW5nZXI6aG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy1yZWQtaGlnaGxpZ2h0KTtcbn1cbi5kYW5nZXI6ZGlzYWJsZWQge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy1yZWQtZGlzYWJsZWQpO1xuICBwb2ludGVyLWV2ZW50czogbm9uZTtcbn1cblxuLm91dGxpbmUge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDtcbn1cbi5vdXRsaW5lOmhvdmVyOm5vdCg6ZGlzYWJsZWQpIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgxNDQsIDIwMiwgMjQ5LCAwLjA4KTtcbn1cblxuLmdyb3VwZWQge1xuICBtYXJnaW46IDA7XG4gIGJvcmRlci1yaWdodDogMDtcbiAgYm9yZGVyLXJhZGl1czogMDtcbiAgcGFkZGluZy1sZWZ0OiAxMnB4O1xuICBwYWRkaW5nLXJpZ2h0OiAxMnB4O1xufVxuXG4uZ3JvdXBlZDpmaXJzdC1jaGlsZCB7XG4gIGJvcmRlci1sZWZ0OiAxcHggc29saWQgdmFyKC0tcHMtdWktYm9yZGVyKTtcbiAgYm9yZGVyLXJhZGl1czogNHB4IDAgMCA0cHg7XG59XG5cbi5ncm91cGVkOmxhc3QtY2hpbGQge1xuICBib3JkZXItcmlnaHQ6IDFweCBzb2xpZCB2YXIoLS1wcy11aS1ib3JkZXIpO1xuICBib3JkZXItcmFkaXVzOiAwIDRweCA0cHggMDtcbn0iXX0= */");const Xu=t.forwardRef(function({disabled:t=!1,kind:n="default",type:r="button",icon:a,iconNode:i,children:o,grouped:s,onClick:l,id:c,className:u,form:d,noBox:h,autoFocus:m,...f},b){return e.jsxs("button",{...f,id:c,ref:b,type:r,"data-testid":f["data-testid"],disabled:t,onClick:l,form:d,autoFocus:m,"aria-label":f["aria-label"],className:$c(wu,s?Wu:"",Ru(n),u,h&&Qu,i&&Bu,!a&&!i&&Iu),children:[a?e.jsx(Ar,{icon:a,className:o?Fu:""}):null,i,o]})});function Ru(e){switch(e){case"default":return Zu;case"primary":return Lu;case"secondary":return Cu;case"danger":return _u;case"outline":return Nu;case"float":return ku;default:throw Error(`Unsupported kind ${e}`)}}function Uu({row:n}){const{cells:r,isRowSelected:a,isRowDisabled:i,className:o,onClick:s,onDoubleClick:l,onContextMenu:c,...u}=n,d=t.useRef(Math.random()).current;return e.jsx("tr",{...u,onClick:s,onDoubleClick:l,onContextMenu:c,className:fs(o,{[gu]:a,[pu]:i}),children:r&&r.map(({style:t,value:n,...r},a)=>e.jsx("td",{style:t,...r,children:n},d+a))})}function Du({sortByDirection:n,sortBy:r,updateSortParams:a,table:i,tableBodyRef:o,className:s,isLoading:l,itemsPerPage:c,virtualize:u,virtualizeRowHeight:d,virtualizeOverscan:h=6,scrollRef:m,disableSort:f}){const b=!f&&n&&r&&a,[g,p]=t.useState(0),[x,y]=t.useState(0),[v,G]=t.useState(null),[w,I]=t.useState(null),Q=t.useRef(null),B=t.useRef(null);t.useLayoutEffect(()=>{(null==m?void 0:m.current)&&m.current!==w&&I(m.current)},[null==m?void 0:m.current,w]),t.useEffect(()=>{if(!w||!u)return()=>{};const e=()=>{Q.current&&cancelAnimationFrame(Q.current),Q.current=requestAnimationFrame(()=>{y(w.scrollTop||0)})};return w.addEventListener("scroll",e,{passive:!0}),()=>{w.removeEventListener("scroll",e),Q.current&&cancelAnimationFrame(Q.current)}},[w,u]),t.useEffect(()=>{if(!u||v||!(null==o?void 0:o.current))return;const e=o.current.querySelectorAll("tr[data-row]");if(!e.length)return;const t=e[0].getBoundingClientRect();t.height&&G(t.height)},[u,v,null==o?void 0:o.current,i]);const F="filled"===i.type?ju(i.bodyRows,g,c):null,Z="virtual"===i.type?i.rowCount:F?F.length:0,N=d||v||26,k=!!u&&!!w&&("filled"===i.type||"virtual"===i.type)&&N>0,L=k?(()=>{const e=w.clientHeight||0,t=Math.max(0,Math.floor(x/N)-h),n=Math.min(Z,Math.ceil((x+e)/N)+h),r=t*N,a=Math.max(0,(Z-n)*N),o="filled"===i.type&&F?F.slice(t,n):[];return{viewportHeight:e,totalRows:Z,startIndex:t,endIndex:n,topSpacer:r,bottomSpacer:a,visibleRows:o}})():null,C=!!u&&!k&&"filled"===i.type,_=C?(F||[]).slice(0,Math.max(24,4*h)):null;t.useEffect(()=>{var e;"virtual"===i.type&&L&&(null===(e=i.onRangeChange)||void 0===e||e.call(i,L.startIndex,L.endIndex))},[i,null==L?void 0:L.startIndex,null==L?void 0:L.endIndex]);const W="virtual"===i.type&&L?Math.max(0,L.endIndex-L.startIndex):0,X="virtual"===i.type&&W>0?Array.from({length:W},()=>({cells:Array.from({length:i.headRow.length},()=>({value:" "}))})):[],R="virtual"===i.type&&L&&i.range&&i.range.start===L.startIndex&&i.range.end===L.endIndex;"virtual"===i.type&&R&&(B.current=i.rows);const U="virtual"===i.type?R?i.rows:B.current||X:X;return l?e.jsx("div",{className:vu}):e.jsxs(e.Fragment,{children:[e.jsxs("table",{className:fs(cu,{[s||""]:s}),"data-testid":"table-ui",children:[e.jsx("thead",{children:e.jsx("tr",{children:i.headRow.map(({sortable:o,label:s,name:l,...c},u)=>o&&"not-filled"!==i.type&&b?t.createElement("th",{...c,key:u,className:uu,onClick:()=>a(l)},s,e.jsxs("span",{className:fs(du,{[yu]:r===l,[fu]:r===l&&"asc"===n,[bu]:r===l&&"desc"===n}),children:[e.jsx("span",{className:hu}),e.jsx("span",{className:mu})]})):e.jsx("th",{...c,children:s},u))})}),e.jsx("tbody",{ref:o,children:"not-filled"===i.type?e.jsx("tr",{className:null==i?void 0:i.bodyClassName,children:e.jsx("td",{colSpan:i.headRow.length,children:i.value})}):L?e.jsxs(e.Fragment,{children:[L.topSpacer>0&&e.jsx("tr",{"aria-hidden":"true",className:xu,children:e.jsx("td",{colSpan:i.headRow.length,style:{height:L.topSpacer,padding:0,border:0}})}),("virtual"===i.type?U:L.visibleRows).map((t,n)=>{var r;return e.jsx(Uu,{row:t},null!==(r=t["data-row"])&&void 0!==r?r:`row-${L.startIndex+n}`)}),L.bottomSpacer>0&&e.jsx("tr",{"aria-hidden":"true",className:xu,children:e.jsx("td",{colSpan:i.headRow.length,style:{height:L.bottomSpacer,padding:0,border:0}})})]}):C?(_||[]).map((t,n)=>{var r;return e.jsx(Uu,{row:t},null!==(r=t["data-row"])&&void 0!==r?r:`row-${n}`)}):(F||[]).map((t,n)=>{var r;return e.jsx(Uu,{row:t},null!==(r=t["data-row"])&&void 0!==r?r:`row-${n}`)})})]}),e.jsx(Su,{bodyRows:"filled"===i.type?i.bodyRows:void 0,itemsPerPage:c,currPage:g,setCurrPage:p})]})}function ju(e,t,n){return n?e.slice(t*n,n*(t+1)):e}function Su({itemsPerPage:t,currPage:n,setCurrPage:r,bodyRows:a}){if(!t)return null;const i=!!a&&ju(a,n+1,t).length>0,o=!!a&&ju(a,n-1,t).length>0;return e.jsxs("nav",{className:Gu,children:[e.jsx(Xu,{"aria-label":"Previous Page",disabled:!o,kind:"float",icon:iu.faChevronLeft,onClick:()=>r(n-1)}),e.jsx(Xu,{disabled:!i,"aria-label":"Next Page",kind:"float",icon:lu.faChevronRight,onClick:()=>r(n+1)})]})}function Mu({numTicks:n,sampleRate:r,units:a,tableBodyRef:i,palette:o}){const s=ja(n,r,a),l=s.format(n,r),c=sc(),u=t.useCallback((e,t,n)=>{var i;const u=null===(i=n.target.closest("tr"))||void 0===i?void 0:i.dataset.row;if(!u)return void t();const[d,h,...m]=u.split(";");switch(d){case"single":{const[t,n]=m,i=s.format(parseInt(t,10),r),o=s.format(parseInt(n,10),r),c=l.split(" "),u="<"===c[0]?c[1]:c[0],d=i.split(" "),f="<"===d[0]?d[1]:d[0],b=o.split(" "),g="<"===b[0]?b[1]:b[0];e({title:{text:h,diff:{text:"",color:""}},tooltipData:[{units:a,self:`${i}(${(parseFloat(f)/parseFloat(u)*100).toFixed(2)}%)`,total:`${o}(${(parseFloat(g)/parseFloat(u)*100).toFixed(2)}%)`,tooltipType:"table"}]});break}case"double":{const[t,n,i,l]=m,u=gc({formatter:s,sampleRate:r,totalLeft:parseInt(t,10),leftTicks:parseInt(n,10),totalRight:parseInt(i,10),rightTicks:parseInt(l,10),title:h,units:a},o,c);e({title:u.title,tooltipData:u.tooltipData});break}}},[s,r,a,l,o,c]);return e.jsx(hc,{dataSourceRef:i,shouldShowTitle:!1,clickInfoSide:"left",setTooltipContent:u,palette:o})}function Yu(){const e=new Blob([`(${(()=>{const e=e=>e||0,t={format:"single",jStep:4,jName:3,getBarTotal:(e,t)=>e[t+1],getBarSelf:(e,t)=>e[t+2],getBarName:(e,t)=>e[t+3]},n={format:"double",jStep:7,jName:6,getBarTotal:(e,t)=>e[t+4]+e[t+1],getBarTotalLeft:(e,t)=>e[t+1],getBarTotalRght:(e,t)=>e[t+4],getBarSelf:(e,t)=>e[t+5]+e[t+2],getBarSelfLeft:(e,t)=>e[t+2],getBarSelfRght:(e,t)=>e[t+5],getBarName:(e,t)=>e[t+6]},r=e=>Math.round(1e4*e)/100,a=(e,t)=>(t-e)/e*100,i={baseRows:[],rows:[],bestNodeByName:new Map,sortBy:"total",sortByDirection:"desc",highlightQuery:"",format:"single",leftTicks:0,rightTicks:0},o=()=>{const e=i.highlightQuery.trim().toLowerCase(),t=e?i.baseRows.filter(t=>t.name.toLowerCase().includes(e)):i.baseRows.slice(),n="asc"===i.sortByDirection?1:-1;t.sort((e,t)=>{if("name"===i.sortBy)return n*e.name.localeCompare(t.name);switch(i.sortBy){case"total":case"self":{const r=e[i.sortBy]||0,a=t[i.sortBy]||0;return n*(r-a)}case"baseline":{const r=e.leftTicks>0?e.totalLeft/e.leftTicks:0,a=t.leftTicks>0?t.totalLeft/t.leftTicks:0;return n*(r-a)}case"comparison":{const r=e.rightTicks>0?e.totalRght/e.rightTicks:0,a=t.rightTicks>0?t.totalRght/t.rightTicks:0;return n*(r-a)}case"diff":{const i=e.leftTicks>0?e.totalLeft/e.leftTicks:0,o=e.rightTicks>0?e.totalRght/e.rightTicks:0,s=t.leftTicks>0?t.totalLeft/t.leftTicks:0,l=t.rightTicks>0?t.totalRght/t.rightTicks:0,c=a(r(i),r(o)),u=a(r(s),r(l));return n*(c-u)}default:return 0}}),i.rows=t},s=r=>{const{rows:a,bestNodeByName:s,format:l,leftTicks:c,rightTicks:u}=(r=>{const{names:a,levels:i,format:o}=r,s=new Map,l=new Map,c=r.leftTicks||0,u=r.rightTicks||0;if("double"===o){const t=n;for(let n=0;n<i.length;n+=1){const r=i[n];for(let i=0;i<r.length;i+=t.jStep){const o=a[t.getBarName(r,i)]||"<empty>";s.has(o)||s.set(o,{type:"double",name:o,totalLeft:0,totalRght:0,leftTicks:c,rightTicks:u});const d=s.get(o);if(!d)continue;d.totalLeft=e(d.totalLeft)+t.getBarTotalLeft(r,i),d.totalRght=e(d.totalRght)+t.getBarTotalRght(r,i);const h=t.getBarTotal(r,i),m=l.get(o);(!m||h>m.total)&&l.set(o,{i:n,j:i,total:h})}}}else{const n=t;for(let t=0;t<i.length;t+=1){const r=i[t];for(let i=0;i<r.length;i+=n.jStep){const o=a[n.getBarName(r,i)]||"<empty>";s.has(o)||s.set(o,{type:"single",name:o,self:0,total:0});const c=s.get(o);if(!c)continue;c.self=e(c.self)+n.getBarSelf(r,i),c.total=e(c.total)+n.getBarTotal(r,i);const u=n.getBarTotal(r,i),d=l.get(o);(!d||u>d.total)&&l.set(o,{i:t,j:i,total:u})}}}return{rows:Array.from(s.values()),bestNodeByName:l,format:o,leftTicks:c,rightTicks:u}})(r.flamebearer);i.baseRows=a,i.bestNodeByName=s,i.format=l,i.leftTicks=c,i.rightTicks=u,i.sortBy=r.sortBy,i.sortByDirection=r.sortByDirection,i.highlightQuery=r.highlightQuery||"",o(),self.postMessage({type:"ready",payload:{rowCount:i.rows.length}})};self.onmessage=e=>{const t=e.data;var n;if(t&&t.type)switch(t.type){case"init":s(t.payload);break;case"update":n=t.payload,i.sortBy=n.sortBy,i.sortByDirection=n.sortByDirection,i.highlightQuery=n.highlightQuery||"",o(),self.postMessage({type:"ready",payload:{rowCount:i.rows.length}});break;case"range":(e=>{const{start:t,end:n,requestId:r}=e,a=Math.max(0,t),o=Math.min(i.rows.length,n),s=i.rows.slice(a,o);self.postMessage({type:"range",payload:{rows:s,start:a,end:o,requestId:r}})})(t.payload);break;case"findNode":(e=>{const{name:t,requestId:n}=e,r=i.bestNodeByName.get(t);self.postMessage({type:"findNode",payload:{node:r?{i:r.i,j:r.j}:null,requestId:n}})})(t.payload)}}}).toString()})()`],{type:"text/javascript"});return new Worker(URL.createObjectURL(e))}var Vu="ProfilerTable-module_tableContextMenu__7Svm8",Ou="ProfilerTable-module_sandwichItem__b9Ipy";l(".ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu{background-color:var(--ps-dropdown-background,#fff);border:1px solid var(--ps-ui-border,#d9d9d9);border-radius:6px;box-shadow:0 6px 16px 0 rgba(0,0,0,.08),0 3px 6px -4px rgba(0,0,0,.12),0 9px 28px 8px rgba(0,0,0,.05);font-size:13px;min-width:180px;padding:4px 0;z-index:3000}.ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu__item{align-items:center;color:var(--ps-ui-foreground-text,#000);cursor:pointer;display:flex;font-size:inherit;gap:8px;height:32px;padding:6px 12px;transition:background-color .15s}.ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu__item:hover{background-color:var(--ps-ui-element-bg-highlight,#f5f5f5)}.ProfilerTable-module_tableContextMenu__7Svm8 .szh-menu__item svg{flex-shrink:0;height:14px;width:14px}.ProfilerTable-module_sandwichItem__b9Ipy svg{height:16px;width:16px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlByb2ZpbGVyVGFibGUubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsd0RBQ0UsbURBQXFELENBQ3JELDRDQUE4QyxDQUM5QyxpQkFBa0IsQ0FDbEIscUdBQW9ILENBR3BILGNBQWU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XI7XG4gIGNvbG9yOiB2YXIoLS1wcy11aS1mb3JlZ3JvdW5kLXRleHQsICMwMDApO1xuICBmb250LXNpemU6IGluaGVyaXQ7XG4gIHRyYW5zaXRpb246IGJhY2tncm91bmQtY29sb3IgMC4xNXM7XG59XG4udGFibGVDb250ZXh0TWVudSA6Z2xvYmFsKC5zemgtbWVudV9faXRlbSk6aG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy11aS1lbGVtZW50LWJnLWhpZ2hsaWdodCwgI2Y1ZjVmNSk7XG59XG4udGFibGVDb250ZXh0TWVudSA6Z2xvYmFsKC5zemgtbWVudV9faXRlbSkgc3ZnIHtcbiAgd2lkdGg6IDE0cHg7XG4gIGhlaWdodDogMTRweDtcbiAgZmxleC1zaHJpbms6IDA7XG59XG5cbi5zYW5kd2ljaEl0ZW0gc3ZnIHtcbiAgd2lkdGg6IDE2cHg7XG4gIGhlaWdodDogMTZweDtcbn0iXX0= */");const Au=e=>e||0,Ju="undefined"!=typeof Worker&&"undefined"!=typeof Blob&&"undefined"!=typeof URL;function Eu(e,t,n,r){const a=t;return a.type="single",a.self=Au(a.self)+e.getBarSelf(n,r),a.total=Au(a.total)+e.getBarTotal(n,r),a}function Tu(e,t,n,r,a,i){const o=t;return o.type="double",o.self=Au(o.self)+e.getBarSelf(n,r),o.total=Au(o.total)+e.getBarTotal(n,r),o.selfLeft=Au(o.selfLeft)+e.getBarSelfLeft(n,r),o.selfRght=Au(o.selfRght)+e.getBarSelfRght(n,r),o.selfDiff=Au(o.selfDiff)+e.getBarSelfDiff(n,r),o.totalLeft=Au(o.totalLeft)+e.getBarTotalLeft(n,r),o.totalRght=Au(o.totalRght)+e.getBarTotalRght(n,r),o.totalDiff=Au(o.totalDiff)+e.getBarTotalDiff(n,r),o.leftTicks=a,o.rightTicks=i,o}const zu=new WeakMap;function Hu(e){const t=zu.get(e);if(t)return t;const n=function(e){if(!e)return[];const{names:t,levels:n,format:r}=e,a="double"!==r?wa:Ia,i=new Map;for(let o=0;o<n.length;o++){const s=n[o];for(let n=0;n<s.length;n+=a.jStep){const o=t[a.getBarName(s,n)];i.has(o)||i.set(o,{name:o||"<empty>",self:0,total:0});const l=i.get(o);if(!l)break;"single"===r?Eu(wa,l,s,n):Tu(Ia,l,s,n,e.leftTicks,e.rightTicks)}}return Array.from(i.values())}(e);return zu.set(e,n),n}function Pu(e,t,n){const r=148-e/t*148,a=n.alpha(1);return{backgroundImage:`linear-gradient(${a}, ${a})`,backgroundPosition:`-${r}px 0px`,backgroundRepeat:"no-repeat"}}const $u=({flamebearer:t,sortBy:n,sortByDirection:r,fitMode:a,handleTableItemClick:i,highlightQuery:o,palette:s,selectedItem:l,messages:c,onRowContextMenu:u,onRowDoubleClick:d})=>{const{numTicks:h,maxSelf:m,sampleRate:f,spyName:b,units:g}=t,p=[...Hu(t)].sort((e,t)=>t.total-e.total),x="asc"===r?1:-1;let y;if("name"===n)y=p.sort((e,t)=>x*e[n].localeCompare(t[n]));else switch(n){case"total":case"self":y=p.sort((e,t)=>x*(e[n]-t[n]));break;case"baseline":y=p.sort((e,t)=>x*(e.totalLeft/e.leftTicks-t.totalLeft/t.leftTicks));break;case"comparison":y=p.sort((e,t)=>x*(e.totalRght/e.rightTicks-t.totalRght/t.rightTicks));break;case"diff":y=p.sort((e,t)=>{const n=Da(Ua(e.totalLeft/e.leftTicks),Ua(e.totalRght/e.rightTicks)),r=Da(Ua(t.totalLeft/t.leftTicks),Ua(t.totalRght/t.rightTicks));return x*(n-r)});break;default:y=p}const v=ja(h,f,g),G=e=>!!l.isJust&&e===l.value,w=t=>e.jsx("button",{className:"table-item-button",children:e.jsx("div",{className:"symbol-name",style:Ea(a),children:e.jsx("bdi",{dir:"ltr",children:t.name})})}),I=y.filter(e=>{return!o||(t=o,e.name.toLowerCase().includes(t.toLowerCase()));var t}).map(e=>{if("double"===e.type)return(e=>{const t=Ua(e.leftTicks>0?e.totalLeft/e.leftTicks:0),n=Ua(e.rightTicks>0?e.totalRght/e.rightTicks:0);let r=Da(t,n);Number.isFinite(r)||(r=0);let a="";r>0?a=s.badColor.rgb().string():r<0&&(a=s.goodColor.rgb().string());let o="";return 0===e.totalLeft&&e.totalRght>0?o=c.diffNew:0===e.totalRght&&e.totalLeft>0?o=c.diffRemoved:0===r?o="0%":r>0?o=`+${r.toFixed(2)}%`:r<0&&(o=`${r.toFixed(2)}%`),{"data-row":`${e.type};${e.name};${e.totalLeft};${e.leftTicks};${e.totalRght};${e.rightTicks}`,isRowSelected:G(e.name),onClick:()=>i(e),onContextMenu:t=>u(t,e.name),onDoubleClick:()=>d(e.name),cells:[{value:w(e)},{value:`${t} %`},{value:`${n} %`},{value:o,style:{color:a}}]}})(e);const t=es(b,e.name);return((e,t)=>({"data-row":`${e.type};${e.name};${e.self};${e.total}`,isRowSelected:G(e.name),onClick:()=>i(e),onContextMenu:t=>u(t,e.name),onDoubleClick:()=>d(e.name),cells:[{value:w(e)},{value:v.format(e.self,f),style:Pu(e.self,m,t)},{value:v.format(e.total,f),style:Pu(e.total,h,t)}]}))(e,ts(s,t))});return I.length>0?{bodyRows:I,type:"filled"}:{value:e.jsx("div",{className:"unsupported-format",children:c.noItemsFound}),type:"not-filled"}};function Ku({tableBodyRef:n,flamebearer:r,isDoubles:a,fitMode:i,handleTableItemClick:o,highlightQuery:s,selectedItem:l,palette:c,onFocusOnNode:u,updateView:d,enableSandwichView:h=!0,virtualize:m,virtualizeRowHeight:f,virtualizeOverscan:b,scrollRef:g,menuPortalTarget:p}){const x=sc(),[y,v]=Nl({transition:!0}),[G,w]=t.useState({x:0,y:0}),[I,Q]=t.useState(null),B=Ju,F=t.useRef(null),Z=t.useRef(null),N=t.useRef(0),k=t.useRef(0),L=t.useRef(new Map),[C,_]=t.useState(!1),[W,X]=t.useState(0),[R,U]=t.useState([]),[D,j]=t.useState({start:0,end:0}),[S,M]=t.useState(null),[Y,V]=t.useState(0),[O,A]=t.useState(0);t.useEffect(()=>{if(!B)return()=>{};const e=Yu();F.current=e,A(e=>e+1);const t=e=>{const t=e.data;if(t&&t.type)switch(t.type){case"ready":X(t.payload.rowCount),_(!0),V(e=>e+1);break;case"range":if(t.payload.requestId!==N.current)return;U(t.payload.rows),j({start:t.payload.start,end:t.payload.end});break;case"findNode":{const e=L.current.get(t.payload.requestId);e&&(L.current.delete(t.payload.requestId),e(t.payload.node));break}}};return e.addEventListener("message",t),()=>{e.removeEventListener("message",t),e.terminate(),F.current=null,L.current.clear()}},[B]);const J=t.useCallback(e=>{if(!B||!F.current)return Promise.resolve(function(e,t){if(!e||!e.levels)return null;const{names:n,levels:r,format:a}=e,i=Qa(a);let o=null;for(let e=0;e<r.length;e++){const a=r[e];for(let r=0;r<a.length;r+=i.jStep)if(n[i.getBarName(a,r)]===t){const t=i.getBarTotal(a,r);(!o||t>o.total)&&(o={i:e,j:r,total:t})}}return o?{i:o.i,j:o.j}:null}(r,e));const t=++k.current;return new Promise(n=>{var r;L.current.set(t,n),null===(r=F.current)||void 0===r||r.postMessage({type:"findNode",payload:{name:e,requestId:t}})})},[r,B]),E=t.useCallback(e=>{u&&J(e).then(e=>{e&&u(e.i,e.j)})},[u,J]),T=t.useCallback(e=>{l.isJust&&l.value===e||o({name:e}),E(e)},[E,l,o]),z=t.useCallback((e,t)=>{e.preventDefault(),w({x:e.clientX,y:e.clientY}),Q(t),v(!0)},[v]),H=t.useCallback(()=>{v(!1),Q(null)},[v]),P=t.useCallback(()=>{I&&(E(I),H())},[I,E,H]),$=t.useCallback(()=>{I&&navigator.clipboard&&(navigator.clipboard.writeText(I),H())},[I,H]),K=t.useCallback(()=>{I&&(o({name:I}),H())},[I,o,H]),q=t.useCallback(()=>{I&&d&&(d("sandwich"),o({name:I}),H())},[I,d,o,H]),ee=t.useMemo(()=>a?[{sortable:1,name:"name",label:x.location},{sortable:1,name:"baseline",label:x.baseline,default:!0},{sortable:1,name:"comparison",label:x.comparison},{sortable:1,name:"diff",label:x.diff}]:[{sortable:1,name:"name",label:x.location},{sortable:1,name:"self",label:x.self,default:!0},{sortable:1,name:"total",label:x.total}],[x,a]),te=(e=>{const n=e.filter(e=>null==e?void 0:e.default)[0]||e[0],[r,a]=t.useState(n.name),[i,o]=t.useState("desc");return{sortBy:r,sortByDirection:i,updateSortParams:e=>{let t=i;t=r===e?"asc"===t?"desc":"asc":"desc",a(e),o(t)}}})(ee);t.useEffect(()=>{if(!B||!F.current)return;const e=F.current,t={sortBy:te.sortBy,sortByDirection:te.sortByDirection,highlightQuery:s};Z.current!==r?(Z.current=r,_(!1),X(0),U([]),e.postMessage({type:"init",payload:{flamebearer:r,...t}})):e.postMessage({type:"update",payload:t})},[r,s,te.sortBy,te.sortByDirection,B,O]);const ne=t.useCallback((e,t)=>{M(n=>n&&n.start===e&&n.end===t?n:{start:e,end:t})},[]);t.useEffect(()=>{if(!B||!F.current||!S)return;const e=++N.current;F.current.postMessage({type:"range",payload:{start:S.start,end:S.end,requestId:e}})},[S,Y,B]);const{numTicks:re,maxSelf:ae,sampleRate:ie,spyName:oe,units:se}=r,le=t.useMemo(()=>ja(re,ie,se),[re,ie,se]),ce=t.useMemo(()=>Ea(i),[i]),ue=t.useCallback(e=>l.isJust&&l.value===e,[l]),de=t.useCallback(t=>e.jsx("button",{className:"table-item-button",children:e.jsx("div",{className:"symbol-name",style:ce,children:e.jsx("bdi",{dir:"ltr",children:t})})}),[ce]),he=t.useCallback(e=>{const t=es(oe,e.name),n=ts(c,t);return{"data-row":`single;${e.name};${e.self};${e.total}`,isRowSelected:ue(e.name),onClick:()=>{o({name:e.name})},onContextMenu:t=>z(t,e.name),onDoubleClick:()=>T(e.name),cells:[{value:de(e.name)},{value:le.format(e.self,ie),style:Pu(e.self,ae,n)},{value:le.format(e.total,ie),style:Pu(e.total,re,n)}]}},[le,z,T,o,ue,ae,de,re,c,ie,oe]),me=t.useCallback(e=>{const t=Ua(e.leftTicks>0?e.totalLeft/e.leftTicks:0),n=Ua(e.rightTicks>0?e.totalRght/e.rightTicks:0);let r=Da(t,n);Number.isFinite(r)||(r=0);let a="";r>0?a=c.badColor.rgb().string():r<0&&(a=c.goodColor.rgb().string());let i="";return 0===e.totalLeft&&e.totalRght>0?i=x.diffNew:0===e.totalRght&&e.totalLeft>0?i=x.diffRemoved:0===r?i="0%":r>0?i=`+${r.toFixed(2)}%`:r<0&&(i=`${r.toFixed(2)}%`),{"data-row":`double;${e.name};${e.totalLeft};${e.leftTicks};${e.totalRght};${e.rightTicks}`,isRowSelected:ue(e.name),onClick:()=>{o({name:e.name})},onContextMenu:t=>z(t,e.name),onDoubleClick:()=>T(e.name),cells:[{value:de(e.name)},{value:`${t} %`},{value:`${n} %`},{value:i,style:{color:a}}]}},[z,T,o,x,ue,de,c]),fe=t.useMemo(()=>B?R.map(e=>"double"===e.type?me(e):he(e)):[],[me,he,B,R]),be=t.useMemo(()=>B?C&&0===W?{headRow:ee,type:"not-filled",value:e.jsx("div",{className:"unsupported-format",children:x.noItemsFound})}:{headRow:ee,type:"virtual",rowCount:W,rows:fe,range:D,onRangeChange:ne}:{headRow:ee,...$u({flamebearer:r,sortBy:te.sortBy,sortByDirection:te.sortByDirection,fitMode:i,handleTableItemClick:o,highlightQuery:s,palette:c,selectedItem:l,messages:x,onRowContextMenu:z,onRowDoubleClick:T})},[me,he,h,i,r,z,T,ne,o,s,x,u,c,W,l,ee,te.sortBy,te.sortByDirection,d,B,fe,D,C]),ge=l.isJust&&l.value===I;return e.jsxs(e.Fragment,{children:[e.jsx(Du,{...te,tableBodyRef:n,table:be,isLoading:B&&!C,className:$c("flamegraph-table",{"flamegraph-table-doubles":a}),virtualize:m,virtualizeRowHeight:f,virtualizeOverscan:b,scrollRef:g}),e.jsxs(wl,{...y,anchorPoint:G,onClose:H,className:Vu,portal:!p||{target:p},children:[u&&e.jsxs(Wl,{onClick:P,children:[e.jsx(Ar,{icon:tu.faCrosshairs}),x.focusOnThisFunction]}),e.jsxs(Wl,{onClick:$,children:[e.jsx(Ar,{icon:Ns.faCopy}),x.copyFunctionName]}),e.jsxs(Wl,{onClick:K,children:[e.jsx(Ar,{icon:Ws.faHighlighter}),ge?x.clearHighlight:x.highlightSimilarNodes]}),d&&h&&e.jsxs(Wl,{onClick:q,className:Ou,children:[e.jsx(Qc,{fill:"currentColor"}),x.openInSandwichView]})]})]})}const qu=t.memo(function({flamebearer:n,fitMode:r,handleTableItemClick:a,highlightQuery:i,palette:o,selectedItem:s,onFocusOnNode:l,updateView:c,enableSandwichView:u}){const d=t.useRef(null),h=t.useRef(null),m=t.useRef(null),[f,b]=t.useState(0),[g,p]=t.useState(null),x="double"===n.format;return t.useEffect(()=>{const e=d.current;if(!e)return;const t=e.offsetWidth-e.clientWidth;Number.isFinite(t)&&t!==f&&b(t)},[d.current,x,f]),t.useEffect(()=>{const e=h.current;if(!e||"undefined"==typeof document)return;const t=e.closest("[data-theme], [data-flamegraph-color-mode]")||e,n=document.createElement("div");return n.className="flamegraph-menu-portal",t.appendChild(n),p(n),()=>{n.parentElement&&n.parentElement.removeChild(n)}},[]),e.jsxs("div",{"data-testid":"table-view",ref:h,style:{"--kylin-flamegraph-scrollbar-size":`${f}px`},className:x?"flamegraph-table-wrapper flamegraph-table-wrapper--double":"flamegraph-table-wrapper",children:[e.jsx("div",{className:"flamegraph-table-scroll",ref:m,children:e.jsx(Ku,{tableBodyRef:d,flamebearer:n,isDoubles:x,fitMode:r,highlightQuery:i,handleTableItemClick:a,palette:o,selectedItem:s,onFocusOnNode:l,updateView:c,enableSandwichView:u,virtualize:!0,virtualizeOverscan:8,scrollRef:m,menuPortalTarget:g})}),e.jsx(Mu,{tableBodyRef:d,numTicks:n.numTicks,sampleRate:n.sampleRate,units:n.units,palette:o})]})});var ed,td,nd={},rd={};function ad(){return ed||(ed=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="arrow-rotate-left",n=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],r="f0e2",a="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,n,r,a]},e.faArrowRotateLeft=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=a,e.aliases=n}(rd)),rd}function id(){return td||(td=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ad();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}(nd)),nd}var od,sd,ld=id(),cd={},ud={};function dd(){return od||(od=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="diagram-project",n=["project-diagram"],r="f542",a="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,n,r,a]},e.faDiagramProject=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=a,e.aliases=n}(ud)),ud}function hd(){return sd||(sd=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=dd();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}(cd)),cd}var md,fd,bd=hd(),gd={},pd={};function xd(){return md||(md=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="ellipsis-vertical",n=["ellipsis-v"],r="f142",a="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,n,r,a]},e.faEllipsisVertical=e.definition,e.prefix="fas",e.iconName=t,e.width=128,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=a,e.aliases=n}(pd)),pd}function yd(){return fd||(fd=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=xd();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}(gd)),gd}var vd=yd(),Gd="Tooltip-module_tooltipWrapper__leDK-",wd="Tooltip-module_tooltipBubble__8vweF",Id="Tooltip-module_tooltipArrow__7wGyN";function Qd(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=>Qd(e)).filter(e=>!!e);return t.length?t.join(" "):void 0}return t.isValidElement(e)?Qd(e.props.children):void 0}}l(".Tooltip-module_tooltipWrapper__leDK-{align-items:center;display:inline-flex;position:relative}.Tooltip-module_tooltipBubble__8vweF{background:rgba(0,0,0,.85);border-radius:4px;bottom:100%;box-shadow:0 4px 12px rgba(0,0,0,.2);color:#fff;font-size:12px;left:50%;line-height:1.4;opacity:0;padding:6px 10px;pointer-events:none;position:absolute;transform:translate(-50%,-8px);transition:opacity .12s ease,transform .12s ease;white-space:nowrap;z-index:5}.Tooltip-module_tooltipArrow__7wGyN{border-color:rgba(0,0,0,.85) transparent transparent;border-style:solid;border-width:6px 6px 0;left:50%;pointer-events:none;position:absolute;top:100%;transform:translate(-50%,-2px)}.Tooltip-module_tooltipWrapper__leDK-:hover .Tooltip-module_tooltipBubble__8vweF{opacity:1;transform:translate(-50%,-14px)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2x0aXAubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsc0NBR0Usa0JBQW1CLENBRG5CLG1CQUFvQixDQURwQixpQkFHRixDQUVBLHFDQU9FLDBCQUErQixDQUQvQixpQkFBa0IsQ0FIbEIsV0FBWSxDQWFaLG9DQUF5QyxDQVJ6QyxVQUFjLENBQ2QsY0FBZSxDQVBmLFFBQVMsQ0FRVCxlQUFnQixDQUdoQixTQUFVLENBUlYsZ0JBQWlCLENBT2pCLG1CQUFvQixDQVhwQixpQkFBa0IsQ0FHbEIsOEJBQWdDLENBVWhDLGdEQUFvRCxDQUhwRCxrQkFBbUIsQ0FJbkIsU0FFRixDQUVBLG9DQU9FLG9EQUFxRSxDQUFyRSxrQkFBcUUsQ0FBckUsc0JBQXFFLENBTHJFLFFBQVMsQ0FNVCxtQkFBb0IsQ0FQcEIsaUJBQWtCLENBRWxCLFFBQVMsQ0FDVCw4QkFLRixDQUVBLGlGQUNFLFNBQVUsQ0FDViwrQkFDRiIsImZpbGUiOi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50O1xuICBwb2ludGVyLWV2ZW50czogbm9uZTtcbn1cblxuLnRvb2x0aXBXcmFwcGVyOmhvdmVyIC50b29sdGlwQnViYmxlIHtcbiAgb3BhY2l0eTogMTtcbiAgdHJhbnNmb3JtOiB0cmFuc2xhdGUoLTUwJSwgLTE0cHgpO1xufSJdfQ== */");const Bd=({placement:n,title:r,content:a,children:i})=>{const o=Qd(null!=r?r:a),s=t.useRef(null),[l,c]=t.useState(!1);return t.useEffect(()=>{const e=s.current;if(!e)return;const t=e.closest("[data-theme='kylin'], [data-flamegraph-color-mode='kylin']");c(!!t)},[]),o?e.jsxs("span",{ref:s,className:Gd,"data-placement":n||"top","data-tooltip":l?o:void 0,title:l?void 0:o,children:[i,l?e.jsxs("span",{className:wd,role:"tooltip",children:[o,e.jsx("span",{className:Id})]}):null]}):e.jsx(e.Fragment,{children:i})};var Fd,Zd={};function Nd(){return Fd||(Fd=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="link",n=[128279,"chain"],r="f0c1",a="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,n,r,a]},e.faLink=e.definition,e.prefix="fas",e.iconName=t,e.width=576,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=a,e.aliases=n}(Zd)),Zd}var kd,Ld,Cd=Nd(),_d={},Wd={};function Xd(){return kd||(kd=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="magnifying-glass",n=[128269,"search"],r="f002",a="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z";e.definition={prefix:"fas",iconName:t,icon:[512,512,n,r,a]},e.faMagnifyingGlass=e.definition,e.prefix="fas",e.iconName=t,e.width=512,e.height=512,e.ligatures=n,e.unicode=r,e.svgPathData=a,e.aliases=n}(Wd)),Wd}function Rd(){return Ld||(Ld=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Xd();e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faSearch=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}(_d)),_d}var Ud,Dd,jd,Sd=Rd(),Md={};function Yd(){if(Ud)return Md;function e(t){return e="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},e(t)}Ud=1,Object.defineProperty(Md,"__esModule",{value:!0}),Md.DebounceInput=void 0;var n=i(t),r=i(Vl()),a=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(t){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var r,a=m(t);if(n){var i=m(this).constructor;r=Reflect.construct(a,arguments,i)}else r=a.apply(this,arguments);return function(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return h(t)}(this,r)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(i,e);var t=d(i);function i(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),f(h(n=t.call(this,e)),"onChange",function(e){e.persist();var t=n.state.value,r=n.props.minLength;n.setState({value:e.target.value},function(){var a=n.state.value;a.length>=r?n.notify(e):t.length>a.length&&n.notify(l(l({},e),{},{target:l(l({},e.target),{},{value:""})}))})}),f(h(n),"onKeyDown",function(e){"Enter"===e.key&&n.forceNotify(e);var t=n.props.onKeyDown;t&&(e.persist(),t(e))}),f(h(n),"onBlur",function(e){n.forceNotify(e);var t=n.props.onBlur;t&&(e.persist(),t(e))}),f(h(n),"createNotifier",function(e){if(e<0)n.notify=function(){return null};else if(0===e)n.notify=n.doNotify;else{var t=(0,r.default)(function(e){n.isDebouncing=!1,n.doNotify(e)},e);n.notify=function(e){n.isDebouncing=!0,t(e)},n.flush=function(){return t.flush()},n.cancel=function(){n.isDebouncing=!1,t.cancel()}}}),f(h(n),"doNotify",function(){n.props.onChange.apply(void 0,arguments)}),f(h(n),"forceNotify",function(e){var t=n.props.debounceTimeout;if(n.isDebouncing||!(t>0)){n.cancel&&n.cancel();var r=n.state.value,a=n.props.minLength;r.length>=a?n.doNotify(e):n.doNotify(l(l({},e),{},{target:l(l({},e.target),{},{value:r})}))}}),n.isDebouncing=!1,n.state={value:void 0===e.value||null===e.value?"":e.value};var a=n.props.debounceTimeout;return n.createNotifier(a),n}return c(i,[{key:"componentDidUpdate",value:function(e){if(!this.isDebouncing){var t=this.props,n=t.value,r=t.debounceTimeout,a=e.debounceTimeout,i=e.value,o=this.state.value;void 0!==n&&i!==n&&o!==n&&this.setState({value:n}),r!==a&&this.createNotifier(r)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var e=this.props,t=e.element;e.onChange,e.value,e.minLength,e.debounceTimeout;var r,i,s=e.forceNotifyByEnter,c=e.forceNotifyOnBlur,u=e.onKeyDown,d=e.onBlur,h=e.inputRef,m=o(e,a),f=this.state.value;r=s?{onKeyDown:this.onKeyDown}:u?{onKeyDown:u}:{},i=c?{onBlur:this.onBlur}:d?{onBlur:d}:{};var b=h?{ref:h}:{};return n.default.createElement(t,l(l(l(l({},m),{},{onChange:this.onChange,value:f},r),i),b))}}]),i}(n.default.PureComponent);return Md.DebounceInput=b,f(b,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0}),Md}var Vd=function(){if(jd)return Dd;jd=1;var e=Yd().DebounceInput;return e.DebounceInput=e,Dd=e}(),Od="Input-module_input__ulQdV";l(".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 Ad=t.forwardRef(({testId:t,className:n,type:r,name:a,placeholder:i,minLength:o=0,debounceTimeout:s=100,onChange:l,value:c,htmlId:u},d)=>e.jsx(Vd.DebounceInput,{inputRef:d,"data-testid":t,className:`${Od} ${n||""}`,type:r,name:a,placeholder:i,minLength:o,debounceTimeout:s,onChange:l,value:c,id:u}));var Jd="SharedQueryInput-module_wrapper__XRxrd",Ed="SharedQueryInput-module_search__XlzRv",Td="SharedQueryInput-module_search-synced__J4T4b",zd="SharedQueryInput-module_searchWithSync__ryuQa",Hd="SharedQueryInput-module_icon__Aq0Hv",Pd="SharedQueryInput-module_checked__oRvod",$d="SharedQueryInput-module_sync__0IO2N",Kd="SharedQueryInput-module_syncSelected__hstBI",qd="SharedQueryInput-module_searchIcon__kfJxO";l(".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)}.SharedQueryInput-module_searchIcon__kfJxO{align-items:center;color:var(--ps-toolbar-icon-color);display:inline-flex;font-size:12px;left:10px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);z-index:2}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv{background:#fff;border-color:#d9d9d9;border-radius:4px;color:#262626;font-size:12px;height:28px;padding:0 10px 0 28px}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b::placeholder,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa::placeholder,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv::placeholder{color:#8c8c8c}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b:hover,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa:hover,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv:hover{border-color:#3c7150}[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b:focus,[data-theme=kylin] .SharedQueryInput-module_search-synced__J4T4b:focus-visible,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa:focus,[data-theme=kylin] .SharedQueryInput-module_searchWithSync__ryuQa:focus-visible,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv:focus,[data-theme=kylin] .SharedQueryInput-module_search__XlzRv:focus-visible{border-color:#3c7150;box-shadow:0 0 0 2px rgba(60,113,80,.2)}[data-theme=kylin] .SharedQueryInput-module_searchIcon__kfJxO{color:#8c8c8c}[data-theme=kylin] .SharedQueryInput-module_sy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F0YS10aGVtZT0na3lsaW4nXSkgLnNlYXJjaC1zeW5jZWQ6Zm9jdXMge1xuICBib3JkZXItY29sb3I6ICMzYzcxNTA7XG4gIGJveC1zaGFkb3c6IDAgMCAwIDJweCByZ2JhKDYwLCAxMTMsIDgwLCAwLjIpO1xufVxuOmdsb2JhbChbZGF0YS10aGVtZT0na3lsaW4nXSkgLnNlYXJjaEljb24ge1xuICBjb2xvcjogIzhjOGM4Yztcbn1cbjpnbG9iYWwoW2RhdGEtdGhlbWU9J2t5bGluJ10pIC5zeW5jLFxuOmdsb2JhbChbZGF0YS10aGVtZT0na3lsaW4nXSkgLnN5bmNTZWxlY3RlZCB7XG4gIGhlaWdodDogMjhweDtcbiAgd2lkdGg6IDI4cHg7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbn0iXX0= */");const eh=({onHighlightChange:n,highlightQuery:r,sharedQuery:a,width:i})=>{const o=sc(),s=(e=>{const n=t.useRef();return t.useEffect(()=>{n.current=e},[e]),n.current})(null==a?void 0:a.syncEnabled),l=t.useRef(null),[c,u]=t.useState(!1);t.useEffect(()=>{"string"==typeof(null==a?void 0:a.searchQuery)&&(a.syncEnabled&&n(a.searchQuery),!a.syncEnabled&&s&&s!==(null==a?void 0:a.id)&&n(""))},[null==a?void 0:a.searchQuery,null==a?void 0:a.syncEnabled]),t.useEffect(()=>{const e=l.current;if(!e)return;const t=e.closest("[data-theme='kylin'], [data-flamegraph-color-mode='kylin']");u(!!t)},[]);const d=t.useMemo(()=>a&&a.syncEnabled?a.searchQuery||"":r,[a,r]),h=t.useMemo(()=>`${a?zd:Ed} ${(null==a?void 0:a.syncEnabled)?Td:""}`,[a]),m=(null==a?void 0:a.syncEnabled)?o.unsyncSearchBars:o.syncSearchBars;return e.jsxs("div",{ref:l,className:Jd,style:{width:i},children:[e.jsx("span",{className:qd,children:e.jsx(Ar,{icon:Sd.faSearch})}),e.jsx(Ad,{testId:"flamegraph-search",className:h,type:"search",name:"flamegraph-search",placeholder:c?"搜索函数 / 过滤":o.searchPlaceholder,minLength:1,debounceTimeout:100,onChange:e=>{n(e.target.value),a&&a.syncEnabled&&a.onQueryChange(e.target.value)},value:d}),a?e.jsx(Bd,{placement:"top",title:m,children:e.jsx("button",{className:a.syncEnabled?Kd:$d,onClick:()=>{const e=!(null==a?void 0:a.syncEnabled)&&(null==a?void 0:a.id);null==a||a.toggleSync(e),e?null==a||a.onQueryChange(r):(n(r),null==a||a.onQueryChange(""))},children:e.jsx(Ar,{className:`${a.syncEnabled?Pd:Hd}`,icon:Cd.faLink})})}):null]})};var th="DiffLegend-module_flamegraph-legend__Cywr1",nh="DiffLegend-module_flamegraph-legend-list__swdXj",rh="DiffLegend-module_flamegraph-legend-item__0P-6g";function ah(t){const{palette:n,showMode:r}=t,a=function(e){switch(e){case"large":return[-100,-80,-60,-40,-20,-10,0,10,20,40,60,80,100];case"small":return[-100,-50,0,50,100];default:throw new Error(`Unsupported ${e}`)}}(r),i=ns(n),o="small"===r?{"--legend-item-width":"32px","--legend-item-padding":"2px 2px","--legend-font-size":"10px","--legend-line-height":"1.1","--legend-item-height":"16px"}:void 0;return e.jsx("div",{"data-testid":"flamegraph-legend",className:`${th} ${nh}`,style:o,children:a.map(t=>e.jsxs("div",{className:rh,style:{backgroundColor:i(t).rgb().toString()},children:[t>0?"+":"",t,"%"]},t))})}l(".DiffLegend-module_flamegraph-legend__Cywr1{--legend-item-width:37px;--legend-item-padding:0;--legend-item-height:auto;align-items:center;display:flex;font-size:var(--legend-font-size,11px);justify-content:center;line-height:var(--legend-line-height,1)}.DiffLegend-module_flamegraph-legend-list__swdXj{display:flex;justify-content:center}.DiffLegend-module_flamegraph-legend-item__0P-6g{height:var(--legend-item-height,auto);overflow:hidden;padding:var(--legend-item-padding,0);text-align:center;white-space:nowrap;width:var(--legend-item-width,37px)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpZmZMZWdlbmQubW9kdWxlLmNzcyJdLC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ZywgMCk7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcblxuICAvKiBpZiBmb3Igc29tZSByZWFzb24gdGhlIGNvbnRlbnRzIGNhbid0IGZpdCBcbiAgICogZG9uJ3QgYnJlYWsgaW50byAyIGxpbmVzICovXG4gIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gIG92ZXJmbG93OiBoaWRkZW47XG59XG4iXX0= */");var ih="Dropdown-module_dropdownMenu__tbN8r",oh="Dropdown-module_dropdownMenuButton__Xy8M4";function sh({id:t,children:n,className:r,disabled:a,value:i,label:o,onItemClick:s,overflow:l,position:c,direction:u,align:d,viewScroll:h,arrow:m,menuButtonClassName:f="",ariaLabel:b,portal:g,...p}){const x=p.menuButton||e.jsx(ch,{"aria-label":b,className:`${oh} ${f}`,disabled:a,type:"button",children:i||o});return e.jsxs(Ll,{id:t,"aria-label":b,className:$c(r,ih),"data-testid":p["data-testid"],onItemClick:s,overflow:l,position:c,direction:u,align:d,viewScroll:h,arrow:m,menuButton:x,portal:g,children:[e.jsx(Xl,{children:o}),n]})}l('@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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRyb3Bkb3duLm1vZHVsZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZDQSxnQkFLQSxDQWpEQSxxQ0FFRSx3REFBNEQsQ0FENUQsZ0JBSUYsQ0FDQSw4RkFIRSx3REFBMEQsQ0FDMUQsbUNBS0YsQ0FDQSxnRUFDRSxlQUNGLENBQ0EsNkdBRUUsa0RBQ0YsQ0FDQSxtRUFDRSxZQUNGLENBQ0Esc0VBQ0Usa0RBQW1ELENBQ25ELDRCQUNGLENBQ0Esd0VBQ0Usa0NBQW9DLENBRXBDLG1CQUFvQixDQURwQixnQkFFRixDQUNBLDhFQUNFLFVBQ0YsQ0FFQSwyQ0FNRSxnREFBaUQsQ0FDakQsb0NBQXFDLENBRnJDLGlCQUFrQixDQUhsQixZQUFhLENBQ2IsYUFBYyxDQUtkLGdCQUFpQixDQVBqQixZQUFhLENBUWIsa0JBQW1CLENBTG5CLGlCQU1GLENBQ0EsaURBQ0UsV0FBWSxDQUNaLGlCQUFrQixDQUVsQixTQUFVLENBRFYsT0FFRixDQUNBLGlEQUVFLGtEQUFtRCxDQURuRCxjQUVGIiwiZmlsZSI6IkRyb3Bkb3duLm1vZHVsZS5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQGNoYXJzZXQgXCJVVEYtOFwiO1xuLmRyb3Bkb3duTWVudSB7XG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m91bmQtY29sb3I6IGluaGVyaXQgIWltcG9ydGFudDtcbiAgcGFkZGluZy10b3A6IDFyZW07XG4gIHBhZGRpbmctYm90dG9tOiAxcmVtO1xufVxuLmRyb3Bkb3duTWVudSBbY2xhc3MqPXN6aC1tZW51X19pdGVtLS1mb2N1c2FibGVdIGlucHV0IHtcbiAgd2lkdGg6IDEwMCU7XG59XG5cbi5kcm9wZG93bk1lbnVCdXR0b24ge1xuICBvdXRsaW5lOiBub25lO1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LXNocmluazogMDtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBib3JkZXItcmFkaXVzOiA0cHg7XG4gIGJhY2tncm91bmQtY29sb3I6IHZhcigtLXBzLXVpLWVsZW1lbnQtYmctcHJpbWFyeSk7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLXBzLXVpLWJvcmRlcik7XG4gIG1hcmdpbi1yaWdodDogNXB4O1xuICBwYWRkaW5nLXJpZ2h0OiAyMHB4O1xufVxuLmRyb3Bkb3duTWVudUJ1dHRvbjo6YWZ0ZXIge1xuICBjb250ZW50OiBcIuKWvlwiO1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogM3B4O1xuICByaWdodDogNXB4O1xufVxuLmRyb3Bkb3duTWVudUJ1dHRvbjpob3ZlciB7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcHMtdWktZWxlbWVudC1iZy1oaWdobGlnaHQpO1xufSJdfQ== */');const lh=Wl,ch=dl;var uh="DiffLegendPaletteDropdown-module_container__h8Tts",dh="DiffLegendPaletteDropdown-module_triggerButton__oezA6",hh="DiffLegendPaletteDropdown-module_dropdownArrow__-Lu0w",mh="DiffLegendPaletteDropdown-module_menuItem__5iWry",fh="DiffLegendPaletteDropdown-module_menuItemText__a-tt0",bh="DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR",gh="DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q",ph="DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m";l(".DiffLegendPaletteDropdown-module_container__h8Tts{align-items:center;display:flex}.DiffLegendPaletteDropdown-module_triggerButton__oezA6{align-items:center;background-color:transparent;border:1px solid var(--ps-ui-border);border-radius:4px;cursor:pointer;display:flex;gap:4px;height:32px;margin-right:0;padding:2px 16px 2px 6px}.DiffLegendPaletteDropdown-module_triggerButton__oezA6:hover{background-color:transparent;border-color:#6aa27d}.DiffLegendPaletteDropdown-module_triggerButton__oezA6:focus-visible,.DiffLegendPaletteDropdown-module_triggerButton__oezA6[aria-expanded=true]{border-color:#3c7150;box-shadow:0 0 0 3px rgba(60,113,80,.22)}.DiffLegendPaletteDropdown-module_triggerButton__oezA6:after{font-size:10px;right:6px;top:50%;transform:translateY(-50%)}.DiffLegendPaletteDropdown-module_dropdownArrow__-Lu0w{color:var(--ps-text-secondary);font-size:8px;margin-left:2px}.DiffLegendPaletteDropdown-module_menuItem__5iWry{align-items:center;display:flex;gap:6px;justify-content:flex-start;min-width:148px;padding:4px 8px}.DiffLegendPaletteDropdown-module_menuItemText__a-tt0{color:var(--ps-text-primary);font-size:13px;line-height:1.2}.DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR .szh-menu__header{color:#8a8f99;font-size:12px;font-weight:500;letter-spacing:.2px;padding:6px 12px 4px}.DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR .szh-menu{animation:DiffLegendPaletteDropdown-module_dropdownZoomIn__F-HUx .18s ease-out;margin-top:4px;transform-origin:top center}.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q{background-color:transparent!important;border:1px solid transparent;border-radius:6px;margin:2px 6px;padding:0}.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m{background-color:rgba(93,151,111,.38)!important;border-color:transparent}.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m .DiffLegendPaletteDropdown-module_menuItemText__a-tt0{font-weight:600}.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q.szh-menu__item--active,.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q.szh-menu__item--focus,.DiffLegendPaletteDropdown-module_menuItemWrapper__vAw-Q.szh-menu__item--hover{background-color:#f5f5f5!important;border-color:transparent}.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m.szh-menu__item--active,.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m.szh-menu__item--focus,.DiffLegendPaletteDropdown-module_menuItemSelected__1gu9m.szh-menu__item--hover{background-color:rgba(93,151,111,.38)!important;border-color:transparent}@keyframes DiffLegendPaletteDropdown-module_dropdownZoomIn__F-HUx{0%{opacity:0;transform:scaleY(.92)}to{opacity:1;transform:scaleY(1)}}@media (prefers-reduced-motion:reduce){.DiffLegendPaletteDropdown-module_dropdownMenu__G0NkR .szh-menu{animation:none}}.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}[data-theme=kylin] .DiffLegendPaletteDropdown-module_triggerButton__oezA6{height:28px;padding:1px 14px 1px 6px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkRpZmZMZWdlbmRQYWxldHRlRHJvcGRvd24ubW9kdWxlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdz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HMtdWktYm9yZGVyKTtcbiAgYm9yZGVyLXJhZGl1czogNHB4O1xuICBwYWRkaW5nOiA0cHggOHB4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy1pbW11dGFibGUtb2ZmLXdoaXRlKTtcbn1cblxuLmRpZmZQYWxldHRlRHJvcGRvd246aG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1wcy11aS1lbGVtZW50LWJnLWhpZ2hsaWdodCk7XG59XG5cbi5kcm9wZG93bkl0ZW0ge1xuICBkaXNwbGF5OiBmbGV4O1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBnYXA6IDhweDtcbiAgbWFyZ2luLXRvcDogNHB4O1xufVxuXG4uZHJvcGRvd25JdGVtIHN2ZyB7XG4gIHdpZHRoOiAxNnB4O1xuICBoZWlnaHQ6IDE2cHg7XG4gIGZsZXgtc2hyaW5rOiAwO1xufVxuXG46Z2xvYmFsKFtkYXRhLXRoZW1lPSdreWxpbiddKSAudHJpZ2dlckJ1dHRvbiB7XG4gIGhlaWdodDogMjhweDtcbiAgcGFkZGluZzogMXB4IDE0cHggMXB4IDZweDtcbn1cbiJdfQ== */");const xh=[$l,Kl],yh=t=>{const{palette:n=$l,onChange:r}=t,a=sc(),i=e=>"Default"===e.name?a.paletteDefaultName:"Color Blind"===e.name?a.paletteColorBlindName:e.name,o=e=>"Default"===e.name?a.paletteDefaultDesc:"Color Blind"===e.name?a.paletteColorBlindDesc:"";return e.jsx("div",{className:uh,children:e.jsx(sh,{label:a.diffLegendSelectPalette,align:"end",className:bh,menuButton:e.jsxs(ch,{className:$c(oh,dh),children:[e.jsx(ah,{palette:n,showMode:"small"}),e.jsx("span",{className:hh})]}),onItemClick:e=>{e.value&&r(e.value)},children:xh.map(t=>e.jsx(lh,{value:t,className:$c(gh,t.name===n.name&&ph),children:e.jsx("div",{className:mh,children:e.jsxs("span",{className:fh,children:[i(t)," ",o(t)]})})},t.name))})})};var vh={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"};l(".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}[data-theme=kylin] .Toolbar-module_navbar__XN6xZ{background-color:transparent;border-color:transparent;height:40px;padding:4px 0}[data-theme=kylin] .Toolbar-module_searchWrapper__k--ua{width:180px}[data-theme=kylin] .Toolbar-module_navbar__XN6xZ button{color:#595959}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw,[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U{background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;height:28px;width:28px}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw:hover,[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve:hover,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV:hover,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U:hover{background-color:#e6f4ea;border-color:#3c7150;color:#3c7150}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV{background-color:#fafafa}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw:disabled,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV:disabled{background-color:#f5f5f5;border-color:#d9d9d9;color:#bfbfbf;cursor:not-allowed}[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve.Toolbar-module_selected__vwBQt,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt{background-color:#3c7150;border-color:#3c7150}[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve.Toolbar-module_selected__vwBQt svg,[data-theme=kylin] .Toolbar-module_selected__vwBQt.Toolbar-module_fitModeButton__jOxve svg,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U.Toolbar-module_selected__vwBQt svg{color:#fff}[data-theme=kylin] .Toolbar-module_collapseNodeButton__bLdiw svg,[data-theme=kylin] .Toolbar-module_fitModeButton__jOxve svg,[data-theme=kylin] .Toolbar-module_resetViewButton__y2ebV svg,[data-theme=kylin] .Toolbar-module_toggleViewButton__OQ9-U svg{height:16px;width:16px}[data-theme=kylin] .Toolbar-module_divider__dG6pE{background-color:#e5e5e5;height:28px}[data-theme=kylin] .Toolbar-module_moreButton__rhOdT{background-color:#fff;border:1px solid #d9d9d9;border-radius:4px;height:28px}[data-theme=kylin] .Toolbar-module_moreButton__rhOdT:hover{background-color:#e6f4ea;border-color:#3c7150;color:#3c7150}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlRvb2xiYXIubW9kdWxlLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsOEJBVUUsa0JBQW1CLENBSG5CLHdDQUF5QyxDQUN6QyxvQ0FBcU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9yZGVyLXJhZGl1czogNHB4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmZmZmO1xufVxuOmdsb2JhbChbZGF0YS10aGVtZT0na3lsaW4nXSkgLm1vcmVCdXR0b246aG92ZXIge1xuICBib3JkZXItY29sb3I6ICMzYzcxNTA7XG4gIGNvbG9yOiAjM2M3MTUwO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZTZmNGVhO1xufSJdfQ== */");const Gh=b.bind(vh),wh=(e,t,n)=>{const r=0===t?e-360-5:e-360-16-5;let a=0,i=0;return n.reverse().forEach(e=>{i+=e,r<=i&&(a+=1)}),a},Ih=()=>e.jsx("div",{className:vh.divider}),Qh=t.memo(({view:n,handleSearchChange:r,highlightQuery:a,isFlamegraphDirty:i,reset:o,updateFitMode:s,fitMode:l,updateView:c,selectedNode:u,onFocusOnSubtree:d,flamegraphType:h,enableChangingDisplay:m=!0,sharedQuery:f,ExportData:b,palette:g,setPalette:p})=>{const x=t.useRef(null),[y,v]=t.useState(!1),G=sc();t.useEffect(()=>{const e=x.current;if(!e)return;const t=e.closest("[data-theme='kylin'], [data-flamegraph-color-mode='kylin']");v(!!t)},[]);const w=y?32:44,I=y?220:360,Q="double"===h&&g&&p,B=[{el:e.jsxs(e.Fragment,{children:[e.jsx(Zh,{fitMode:l,updateFitMode:s}),e.jsx(Ih,{})]}),width:2*w+5},{el:e.jsx(Fh,{isFlamegraphDirty:i,reset:o}),width:w},{el:e.jsxs(e.Fragment,{children:[e.jsx(Bh,{selectedNode:u,onFocusOnSubtree:d}),e.jsx(Ih,{})]}),width:w+5},m?{el:e.jsx(kh,{flamegraphType:h,view:n,updateView:c}),width:w*("single"===h?5:3)}:null,t.isValidElement(b)?{el:e.jsxs(e.Fragment,{children:[e.jsx(Ih,{}),b]}),width:w+5}:null].filter(e=>null!==e),F=B.reduce((e,t)=>[...e,t.width],[]),{isCollapsed:Z,collapsedItemsNumber:N,handleMoreClick:k}=((e,n)=>{const[r,a]=t.useState(!0),[i,o]=t.useState(0);return t.useLayoutEffect(()=>{if(e.current){const{width:t}=e.current.getBoundingClientRect(),r=wh(t,i,n);o(r)}},[e.current,n]),Dl(e,e=>{const{width:t}=e.target.getBoundingClientRect(),r=wh(t,i,n);o(r),a(!0)}),{isCollapsed:r,handleMoreClick:()=>{a(e=>!e)},collapsedItemsNumber:i}})(x,F),L=B.reduce((e,t,n)=>(n<N?e.hidden.push(t):e.visible.push(t),e),{visible:[],hidden:[]});return e.jsx("div",{role:"toolbar",ref:x,children:e.jsxs("div",{className:vh.navbar,children:[e.jsx("div",{className:vh.searchWrapper,children:e.jsx(eh,{width:I,onHighlightChange:r,highlightQuery:a,sharedQuery:f})}),e.jsxs("div",{className:vh.rightSection,children:[Q&&e.jsxs(e.Fragment,{children:[e.jsx(yh,{palette:g,onChange:p}),e.jsx(Ih,{})]}),e.jsxs("div",{className:vh.itemsContainer,children:[L.visible.map((t,n)=>e.jsx("div",{className:vh.item,style:{width:t.width},children:t.el},n)),0!==N&&e.jsx(Bd,{placement:"top",title:G.more,children:e.jsx("button",{onClick:k,className:Gh({[vh.moreButton]:!0,[vh.active]:!Z}),children:e.jsx(Ar,{icon:vd.faEllipsisV})})})]})]}),!Z&&e.jsx("div",{className:vh.navbarCollapsedItems,children:L.hidden.map((t,n)=>e.jsx("div",{className:vh.item,style:{width:t.width},children:t.el},n))})]})})});function Bh({onFocusOnSubtree:t,selectedNode:n}){const r=sc(),a=n.mapOr(()=>{},e=>()=>t(e.i,e.j));return e.jsx(Bd,{placement:"top",title:r.collapseNodesAbove,children:e.jsx("div",{children:e.jsx(Xu,{disabled:!n.isJust,onClick:a,className:vh.collapseNodeButton,"aria-label":r.collapseNodesAbove,children:e.jsx(Ar,{icon:js.faCompressAlt})})})})}function Fh({isFlamegraphDirty:t,reset:n}){const r=sc();return e.jsx(Bd,{placement:"top",title:r.resetView,children:e.jsx("span",{children:e.jsx(Xu,{id:"reset",disabled:!t,onClick:n,className:vh.resetViewButton,"aria-label":r.resetView,children:e.jsx(Ar,{icon:ld.faUndo})})})})}function Zh({fitMode:t,updateFitMode:n}){const r=sc(),a=e=>t===e;return e.jsxs(e.Fragment,{children:[e.jsx(Bd,{placement:"top",title:r.headFirst,children:e.jsx(Xu,{onClick:()=>n("HEAD"),className:Gh({[vh.fitModeButton]:!0,[vh.selected]:a("HEAD")}),children:e.jsx(Bc,{})})}),e.jsx(Bd,{placement:"top",title:r.tailFirst,children:e.jsx(Xu,{onClick:()=>n("TAIL"),className:Gh({[vh.fitModeButton]:!0,[vh.selected]:a("TAIL")}),children:e.jsx(Fc,{})})})]})}const Nh=(t,n)=>"single"===t?[{label:n.viewFlamegraph,value:"flamegraph",Icon:Ic},{label:n.viewTable,value:"table",Icon:Gc},{label:n.viewTableAndFlamegraph,value:"both",Icon:wc},{label:n.viewSandwich,value:"sandwich",Icon:Qc},{label:n.viewGraphviz,value:"graphviz",Icon:()=>e.jsx(Ar,{icon:bd.faProjectDiagram})}]:[{label:n.viewFlamegraph,value:"flamegraph",Icon:Ic},{label:n.viewTable,value:"table",Icon:Gc},{label:n.viewTableAndFlamegraph,value:"both",Icon:wc}];function kh({view:t,updateView:n,flamegraphType:r}){const a=sc(),i=Nh(r,a);return e.jsx("div",{className:vh.viewType,children:i.map(({label:r,value:a,Icon:i})=>e.jsx(Bd,{placement:"top",title:r,children:e.jsx(Xu,{"data-testid":a,onClick:()=>n(a),className:Gh({[vh.toggleViewButton]:!0,selected:t===a}),children:e.jsx(i,{})})},a))})}function Lh(e,t){const n={},r={};let a={name:"total",children:[],self:[],total:[],key:"/total"};return(t?[e,t]:[e]).forEach((e,t)=>{var i,o;for(let s=0;s<e.levels.length;s+=1)for(let l=0;l<e.levels[s].length;l+=4){const c=[t,s,l].join("/"),u=e.names[e.levels[s][l+3]],d=e.levels[s][l+0],h=e.levels[s][l+1],m=e.levels[s][l+2];let f="";if(0!==s){const n=s-1,a=e.levels[n];for(let e=0;e<a.length;e+=4){const i=a[e+0],o=a[e+1];if(d>=i&&d<i+o){const a=[t,n,e].join("/");f=r[a].key;break}}}const b=[f||"",u].join("/"),g=!n[b];n[b]||(n[b]={name:u,children:[],self:[],total:[],key:b});const p=n[b];(i=p.total)[t]||(i[t]=0),p.total[t]+=h,(o=p.self)[t]||(o[t]=0),p.self[t]+=m,r[c]=p,f&&g&&n[f].children.push(p),0===s&&(a=p)}}),a}const Ch=e=>{const t={maxSelf:100,names:[],levels:[]},n=(e,r,a)=>{var i;const{name:o,children:s,self:l,total:c,offset:u}=e;t.names.push(o),(i=t.levels)[r]||(i[r]=[]),t.maxSelf=Math.max(t.maxSelf,l[0]||0),t.levels[r]=t.levels[r].concat([a,c[0]||0,l[0]||0,t.names.length-1]);for(let e=0;e<s.length;e+=1){a+=n(s[e],r+1,a)}return u||c[0]||0};return n(e,0,0),t};function _h(e){const t=new Map;for(let n=0;n<e.children.length;n+=1)t.has(e.children[n].name)||t.set(e.children[n].name,e.children[n]);for(let n=0;n<e.children.length;n+=1){const r=e.children[n],a=t.get(e.children[n].name);a&&a!==r&&(a.total[0]+=r.total[0],a.self[0]+=r.self[0],a.children=a.children.concat(r.children))}e.children=Array.from(t.values());for(let t=0;t<e.children.length;t+=1)_h(e.children[t])}function Wh(e,t){const n=function(e,t){const n=Lh(e),r={format:"single",numTicks:0,maxSelf:100,sampleRate:100,names:[],levels:[],units:e.units,spyName:e.spyName},a={name:t,total:[],self:[0],children:[]},i=e=>{e.name===t&&(r.numTicks+=e.total[0],a.total=[r.numTicks],a.children=a.children.concat(e.children));for(let t=0;t<e.children.length;t+=1)i(e.children[t])};return i(n),_h(a),{...r,...Ch(a)}}(JSON.parse(JSON.stringify(e)),t);return n}function Xh(e,t){const n=function(e,t){const n=Lh(e),r={format:"single",maxSelf:100,sampleRate:100,numTicks:0,names:[],levels:[],units:e.units,spyName:e.spyName},a=[],i=[],o={name:t,total:[0],self:[0],children:[]},s=(e,n=[])=>{const o=n.concat([{...e,children:[]}]);e.name===t&&(i.push(o),a.push(e.total[0]),r.numTicks+=e.total[0]);for(let t=0;t<e.children.length;t+=1)s(e.children[t],o)};s(n),i.forEach((e,t)=>{o.children.push(((e,t)=>{const n={};let r=n;return e.forEach(({name:e,...n})=>{const a={name:e,...n,total:[t]};r.children=[a],r=a}),n.children[0]})(e.reverse(),a[t]))}),_h(o);const l=Ch(o);return l.levels=l.levels.reverse().slice(0,-1),{...r,...l}}(JSON.parse(JSON.stringify(e)),t);return n}var Rh={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"};l(".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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZsYW1lZ3JhcGhSZW5kZXJlci5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFB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O1xuICBsZWZ0OiAyMHB4O1xuICB0cmFuc2Zvcm06IHJvdGF0ZSgtOTBkZWcpO1xufVxuLnNhbmR3aWNoUGFuZSAuc2FuZHdpY2hQYW5lSW5mbyAuYXJyb3cge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMTRweDtcbiAgbGVmdDogLTIwcHg7XG4gIHdpZHRoOiAwO1xuICBoZWlnaHQ6IDA7XG4gIGJvcmRlci1zdHlsZTogc29saWQ7XG4gIGJvcmRlci13aWR0aDogOHB4IDIwcHggOHB4IDA7XG4gIGJvcmRlci1jb2xvcjogdHJhbnNwYXJlbnQgdmFyKC0tcHMtc2FuZHdpY2gtcGFuZS1pbmZvLWJnKSB0cmFuc3BhcmVudCB0cmFuc3BhcmVudDtcbn1cbi5zYW5kd2ljaFBhbmUgLnNhbmR3aWNoVG9wIHtcbiAgbWFyZ2luLWJvdHRvbTogMTBweDtcbn1cbi5zYW5kd2ljaFBhbmUgLnNhbmR3aWNoVG9wLFxuLnNhbmR3aWNoUGFuZSAuc2FuZHdpY2hCb3R0b20ge1xuICBkaXNwbGF5OiBmbGV4O1xufVxuLnNhbmR3aWNoUGFuZSAuc2FuZHdpY2hUb3AgLm5hbWUsXG4uc2FuZHdpY2hQYW5lIC5zYW5kd2ljaEJvdHRvbSAubmFtZSB7XG4gIHdyaXRpbmctbW9kZTogdmVydGljYWwtcmw7XG4gIHRyYW5zZm9ybTogcm90YXRlKC0xODBkZWcpO1xuICBwYWRkaW5nOiA1cHggMDtcbn1cbi5zYW5kd2ljaFBhbmUgLnNhbmR3aWNoQm90dG9tIHNwYW4ge1xuICB0ZXh0LWFsaWduOiByaWdodDtcbn0iXX0= */");function Uh(e){const t=[];return Object.keys(e).forEach(n=>{var r;t.push(`${n}="${r=String(e[n]||""),r.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`)}),`[${t.join(" ")}]`}function Dh(e,t){return`${(100*e/t).toFixed(2)}%`}function jh(e,t){let n,r,a,i;t?(n=.1,r=.93):(n=1,r=.7),e=Math.max(-1,Math.min(1,e)),Math.abs(e)<.2&&(n*=Math.abs(e)/.2),e>0&&(e**=1-.7),e<0&&(e=-((-e)**(1-.7))),e<0?(i=r,a=r*(1+n*e)):(a=r,i=r*(1-n*e));const o=r*(1-n);return`#${Math.floor(255*a).toString(16).padStart(2,"0")}${Math.floor(255*i).toString(16).padStart(2,"0")}${Math.floor(255*o).toString(16).padStart(2,"0")}`}function Sh(e,t,n,r){const{self:a}=t,{total:i}=t,o=t.name.replace(/"/g,'\\"'),s=e(a),l=8+Math.ceil(16*Math.sqrt(a/n)),c=jh(i/r,!1),u=jh(i/r,!0),d=function(e,t,n,r,a){let i="";i=`${function(e){return e.replace(/.*\//,"")}(t)}\n`;const o=e(n);0!==n?i=`${i+o} (${Dh(n,a)})`:i+="0";let s=o;r!==n&&(i+=0!==n?"\n":" ",s=e(r),i=`${i}of ${s} (${Dh(r,a)})`);return i}(e,o,a,i,r),h={label:d,id:`node${t.index}`,fontsize:l,shape:"box",tooltip:`${o} (${s})`,color:c,fontcolor:"#000000",style:"filled",fontname:"",fillcolor:u};return`N${t.index} ${Uh(h)}`}function Mh(e){if("double"===e.metadata.format)return"diff flamegraphs are not supported";const t=Lh(e.flamebearer),n=[],r=[];const[a,i,,o]=function e(t,n,r,a,i){return t.children.forEach(t=>{const[o,s]=e(t,n,r,a,i);n=Math.max(n,o),r=Math.max(r,s)}),n=Math.max(n,t.self[0]),r=Math.max(r,t.total[0]),a+=t.self[0],i+=t.total[0],[n,r,a,i]}(t,0,0,0,0),{sampleRate:s,units:l}=e.metadata,c=ja(i,s,l),u=e=>c.format(e,s,!0);let d={};const h={};let m=0;function f(e,t){return-1===t.indexOf(e.name)&&(d[e.name]?(d[e.name].self+=e.self[0],d[e.name].total+=e.total[0]):(m+=1,d[e.name]={index:m,name:e.name,self:e.self[0],total:e.total[0],parents:[],children:[]})),e.children.forEach(n=>{const r=f(n,t.concat([e.name])),a=`${e.name}/${n.name}`;n.name!==e.name&&(h[a]?h[a].weight+=n.total[0]:h[a]={from:d[e.name],to:r,weight:n.total[0],residual:!1},r.parents.push(h[a]),d[e.name].children.push(h[a]))}),d[e.name]}t.children.forEach(e=>{f(e,[])});const b=.005*o,g=.001*o;function p(e,t){let n=0,r=t;if(e.forEach(e=>{e.weight>0&&(r+=Math.abs(e.weight))}),0!==r&&(e.forEach(e=>{const t=Math.abs(e.weight)/r;n+=-t*Math.log2(t)}),t>0)){const e=Math.abs(t)/r;n+=-e*Math.log2(e)}return n}Object.keys(d).forEach(e=>{d[e].total<b&&delete d[e]});const x={};Object.keys(d).forEach(e=>{x[d[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}(d[e])});const y=Object.values(d).sort((e,t)=>{const n=x[e.name],r=x[t.name];return n!==r?r-n:e.name!==t.name?e.name<t.name?-1:1:e.self!==t.self?r-n:e.name<t.name?-1:1}),v={};function G(e){const[t,n]=[e.from,e.to],r={},a=[n];for(;a.length>0;){const n=a.shift();for(let i=0;i<n.parents.length;i+=1){const o=n.parents[i];if(e!==o&&!r[o.from.name]){if(o.from===t)return!0;r[o.from.name]=!0,a.push(o.from)}}}return!1}return y.forEach(e=>{v[e.name]=e}),y.slice(80).forEach(e=>{delete v[e.name]}),function e(t,n){const r=!v[t.name];t.children.forEach(a=>{const i=!v[a.name];if(e(a,r?n:t),!i&&n&&r){const e=`${n.name}/${a.name}`;h[e]||(h[e]={from:d[n.name],to:d[a.name],weight:0,residual:!0}),h[e].weight+=a.total[0],h[e].residual=!0}})}(t,null),d=v,y.reverse().forEach(e=>{const t=e.parents.sort((e,t)=>t.weight-e.weight),n=[];for(let e=0;e<t.length;e+=1){const r=t[e];if(!r.residual)break;G(r)&&(n.push(r),delete h[`${r.from.name}/${r.to.name}`])}n.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(h).forEach(e=>{const t=h[e];d[t.from.name]||delete h[e],d[t.to.name]||delete h[e],t.weight<g&&delete h[e]}),Object.keys(d).forEach(e=>{n.push(Sh(u,d[e],a,i))}),Object.keys(h).forEach(e=>{r.push(function(e,t,n){const r=t.from.name.replace(/"/g,'\\"'),a=t.to.name.replace(/"/g,'\\"'),i=t.weight,o=e(t.weight),s=`${r} -> ${a} (${o})`,l={label:o,weight:1+100*i/n,penwidth:1+5*i/n,tooltip:s,labeltooltip:s,fontname:"",color:jh(i/n,!1),style:t.residual?"dotted":""};return`N${t.from.index} -> N${t.to.index} ${Uh(l)}`}(u,h[e],i))}),`digraph "unnamed" {\n fontname= ""\n ${n.join("\n")}\n ${r.join("\n")}\n }`}var Yh="GraphVizPanel-module_graphVizPane__B18cQ";l(".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 Vh=()=>null;function Oh({flamebearer:n}){var r,a;const i=n,o=(null===(r=i.metadata)||void 0===r?void 0:r.format)&&(null===(a=i.flamebearer)||void 0===a?void 0:a.levels),s=`graphviz-pane-${(null==i?void 0:i.appName)||String((new Date).valueOf())}`,l=t.useMemo(()=>Mh(i),[JSON.stringify(i)]);return e.jsx("div",{className:Yh,children:o?e.jsx(Vh,{options:{zoom:!0,width:"150%",height:"100%",scale:1,useWorker:!1},dot:l}):e.jsx("div",{children:"NO DATA"})},s)}function Ah(e){let t=2166136261;const n=e.length;if(0===n)return t>>>0;const r=[0,Math.floor(n/2),n-1];for(let n=0;n<r.length;n+=1){const a=e[r[n]];if(!a||0===a.length)continue;const i=Math.min(8,a.length);for(let e=0;e<i;e+=1)t^=0|a[e],t=Math.imul(t,16777619);for(let e=Math.max(0,a.length-i);e<a.length;e+=1)t^=0|a[e],t=Math.imul(t,16777619)}return t>>>0}function Jh(e){let t=2166136261;const n=e.length;if(0===n)return t>>>0;const r=Math.min(32,n),a=[...Array.from({length:r},(e,t)=>t),...Array.from({length:r},(e,t)=>n-r+t)];for(let n=0;n<a.length;n+=1){const r=e[a[n]]||"";for(let e=0;e<r.length;e+=1)t^=r.charCodeAt(e),t=Math.imul(t,16777619)}return t>>>0}function Eh(e){var t,n,r,a,i,o;const s=e.__kylinSignature;if(s)return s;const l=e,c=[e.format,e.numTicks,e.sampleRate,e.units,e.maxSelf,null!==(n=null===(t=e.names)||void 0===t?void 0:t.length)&&void 0!==n?n:0,null!==(a=null===(r=e.levels)||void 0===r?void 0:r.length)&&void 0!==a?a:0,null!==(i=l.leftTicks)&&void 0!==i?i:"na",null!==(o=l.rightTicks)&&void 0!==o?o:"na",Ah(e.levels),Jh(e.names||[])].join("|");return e.__kylinSignature=c,c}function Th(e,t){const n=[...t];function r(e,t,n){for(const r of e){let e=0;for(let a=t;a<r.length;a+=n)r[a]-=e,e+=r[a]+r[a+1]}}return"double"===e?(r(n,0,7),r(n,3,7)):r(n,0,4),n}function zh(e,t){const n=[...t];function r(e,t,n){for(const r of e){let e=0;for(let a=t;a<r.length;a+=n)r[a]+=e,e=r[a]+r[a+1]}}return"double"===e?(r(n,0,7),r(n,3,7)):r(n,0,4),n}function Hh(e){if(e.profile&&e.flamebearer&&console.warn("'profile' and 'flamebearer' properties are mutually exclusive. Please use profile if possible."),e.profile){const n=e.profile,r={...n,flamebearer:{...n.flamebearer}};n.__kylinDecoded||((t=r).flamebearer.levels=zh(t.metadata.format,t.flamebearer.levels),n.__kylinDecoded=!0,r.__kylinDecoded=!0);const a={...r,...r.metadata,...r.flamebearer,flamebearer:void 0,metadata:void 0};return delete a.flamebearer,delete a.metadata,a}var t;if(e.flamebearer)return e.flamebearer;return{format:"single",names:[],units:"unknown",levels:[[]],spyName:"unknown",numTicks:0,sampleRate:0,maxSelf:0}}class Ph extends t.Component{constructor(t){super(t),this.resetFlamegraphState={focusedNode:ba.nothing(),zoom:ba.nothing()},this.initialFlamegraphState=this.resetFlamegraphState,this.calcNewConfigs=(e,t)=>{const n=this.state.flamegraphConfigs,r=(e,t,n)=>{const r=(e,t,n)=>e.names[Qa(e.format).getBarName(e.levels[t],n)];if(n.isNothing)return!0;try{const a=n,i=r(e,a.value.i,a.value.j);return i===r(t,a.value.i,a.value.j)}catch{return!1}};r(e,t,this.state.flamegraphConfigs.zoom)||(n.zoom=this.resetFlamegraphState.zoom);return r(e,t,this.state.flamegraphConfigs.focusedNode)||(n.focusedNode=this.resetFlamegraphState.focusedNode),n},this.onSearchChange=e=>{this.setState({searchQuery:e})},this.isSameFlamebearer=(e,t)=>function(e,t){return Eh(e)===Eh(t)}(e,t),this.onReset=()=>{this.setState({...this.state,flamegraphConfigs:{...this.state.flamegraphConfigs,...this.initialFlamegraphState},selectedItem:ba.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:r}=this.state.flamegraphConfigs;r.isJust&&r.value.i<=e&&(n={...n,zoom:this.initialFlamegraphState.zoom}),this.setState({...this.state,flamegraphConfigs:{...n,focusedNode:ba.just({i:e,j:t})}})},this.isNameInFocusedSubtree=e=>{const{focusedNode:t}=this.state.flamegraphConfigs;if(t.isNothing)return!0;const{flamebearer:n}=this.state;if(!n||!n.levels)return!0;const{names:r,levels:a,format:i}=n,o=Qa(i),s=t.value.i,l=t.value.j,c=a[s];if(!c)return!0;const u=o.getBarOffset(c,l),d=u+o.getBarTotal(c,l);for(let t=s;t<a.length;t++){const n=a[t];for(let t=0;t<n.length;t+=o.jStep){const a=o.getBarOffset(n,t),i=o.getBarTotal(n,t);if(a>=u&&a+i<=d){if(r[o.getBarName(n,t)]===e)return!0}}}return!1},this.setActiveItem=e=>{const{name:t}=e;if(this.state.selectedItem.isJust&&t===this.state.selectedItem.value)return void this.setState({selectedItem:ba.nothing()});this.isNameInFocusedSubtree(t)?this.setState({selectedItem:ba.just(t)}):this.setState({selectedItem:ba.just(t),flamegraphConfigs:{...this.state.flamegraphConfigs,focusedNode:this.resetFlamegraphState.focusedNode}})},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.clearFocus=()=>{this.setState(e=>({...e,flamegraphConfigs:{...e.flamegraphConfigs,...this.resetFlamegraphState}}))},this.getActiveRange=()=>{const{flamebearer:e}=this.state,{zoom:t,focusedNode:n}=this.state.flamegraphConfigs,r=e.numTicks;if(!r)return{rangeMin:0,rangeMax:1};const a=Qa(e.format),i=t=>{const n=e.levels[t.i];if(!n)return{rangeMin:0,rangeMax:1};const i=a.getBarOffset(n,t.j),o=a.getBarTotal(n,t.j);return{rangeMin:i/r,rangeMax:(i+o)/r}};return t.match({Just:e=>n.match({Just:t=>{const n=i(t),r=i(e);return n.rangeMax-n.rangeMin<r.rangeMax-r.rangeMin?n:r},Nothing:()=>i(e)}),Nothing:()=>n.match({Just:e=>i(e),Nothing:()=>({rangeMin:0,rangeMax:1})})})},this.isDirty=()=>this.state.selectedItem.isJust||JSON.stringify(this.initialFlamegraphState)!==JSON.stringify(this.state.flamegraphConfigs),this.handleSetPalette=e=>{this.setState({palette:e})},this.render=()=>{var t;const n=e.jsx("div",{className:fs(Rh.tablePane,"vertical"===this.state.panesOrientation?Rh.vertical:Rh.horizontal),children:e.jsx(qu,{"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,onFocusOnNode:this.onFocusOnNode,updateView:this.props.onlyDisplay?void 0:this.updateView,enableSandwichView:this.props.enableSandwichView})},"table-pane"),r=this.shouldShowToolbar(),i=!this.state.flamebearer||this.state.flamebearer.names.length<=1,o=this.context,s="Location"!==o.location,l=this.state.flamebearer.numTicks,c=ja(l,this.state.flamebearer.sampleRate,this.state.flamebearer.units).format(l,this.state.flamebearer.sampleRate),u=Xa(c,s)||c,d=function(e,t=Ra){const n=Math.abs(e);for(const{value:r,label:a}of t)if(n>=r)return`${(e/r).toFixed(2).replace(/\.?0+$/,"")} ${a}`;return _a(e)}(l,o.sampleCountFormat),h=o.tooltipSamples.replace(/[::]\s*$/,""),m=(null===(t=o.tooltipUnitTitles[this.state.flamebearer.units])||void 0===t?void 0:t.formattedValue)||o.tooltipUnitTitles.unknown.formattedValue,f=this.getActiveRange(),b=f.rangeMin>0||f.rangeMax<1,g=Math.max(0,Math.min(l,(f.rangeMax-f.rangeMin)*l)),p=l>0?g/l*100:0,x=(()=>{const e=Qa(this.state.flamebearer.format),t=this.state.flamegraphConfigs.focusedNode.mapOrElse(()=>this.state.flamegraphConfigs.zoom.mapOrElse(()=>null,e=>e),e=>e);if(!t)return"";const n=this.state.flamebearer.levels[t.i];if(!n)return"";const r=e.getBarName(n,t.j);return this.state.flamebearer.names[r]||""})(),y=e.jsx(Ec,{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:r,setPalette:this.handleSetPalette,enableSandwichView:this.props.enableSandwichView,breadcrumb:i?void 0:{totalValueText:u,totalSamplesText:d,samplesLabel:h,unitLabel:m,hasFocus:b,focusPercent:p,focusLabel:x,ofTotalPlacement:s?"before":"after",ofTotalLabel:o.ofTotal,clearFocusLabel:o.clearFocus,onClearFocus:this.clearFocus}},"flamegraph-pane"),v=(()=>{if("sandwich"!==this.state.view)return e.jsx("div",{className:Rh.sandwichPane},"sandwich-pane");if(this.state.selectedItem.isNothing)return e.jsx("div",{className:Rh.sandwichPane,children:e.jsxs("div",{className:fs(Rh.sandwichPaneInfo,"vertical"===this.state.panesOrientation?Rh.vertical:Rh.horizontal),children:[e.jsx("div",{className:Rh.arrow}),"Select a function to view callers/callees sandwich view"]})},"sandwich-pane");const t=Xh(this.state.flamebearer,this.state.selectedItem.value),n=Wh(this.state.flamebearer,this.state.selectedItem.value),a=t=>e.jsx(Ec,{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:r,setPalette:this.handleSetPalette,...t});return e.jsxs("div",{className:Rh.sandwichPane,children:[e.jsxs("div",{className:Rh.sandwichTop,children:[e.jsx("span",{className:Rh.name,children:"Callers"}),a({flamebearer:t})]}),e.jsxs("div",{className:Rh.sandwichBottom,children:[e.jsx("span",{className:Rh.name,children:"Callees"}),a({flamebearer:n,headerVisible:!1,showSingleLevel:!0})]})]},"sandwich-pane")})(),G=function(e,t,n,r,a){switch(e){case"table":return[n];case"flamegraph":return[t];case"sandwich":return[n,r];case"both":return[n,t];case"graphviz":return[a];default:throw new Error(`Invalid view '${e}'`)}}(this.state.view,y,n,v,e.jsx(Oh,{flamebearer:this.state.flamebearer}));return e.jsxs("div",{children:[e.jsxs("div",{children:[r&&e.jsx(Qh,{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:`${Rh.flamegraphContainer} ${fs("vertical"===this.state.panesOrientation?Rh.vertical:Rh.horizontal,Rh[this.state.panesOrientation],Rh.panesWrapper)}`,children:i?e.jsx(gs,{}):G.map(e=>e)})]}),this.props.showPyroscopeLogo&&e.jsxs("div",{className:Rh.createdBy,children:["Created by",e.jsxs("a",{href:"https://twitter.com/PyroscopeIO",rel:"noreferrer",target:"_blank",children:[e.jsx(a,{width:"30",height:"30"}),"@PyroscopeIO"]})]})]})},this.state={isFlamegraphDirty:!1,view:this.props.onlyDisplay?this.props.onlyDisplay:"both",fitMode:"HEAD",flamebearer:Hh(t),panesOrientation:t.panesOrientation?t.panesOrientation:"horizontal",searchQuery:"",selectedItem:ba.nothing(),flamegraphConfigs:this.initialFlamegraphState,palette:$l}}componentDidUpdate(e,t){if(e.profile!==this.props.profile||e.flamebearer!==this.props.flamebearer){const e=t.flamebearer,n=Hh(this.props);if(!this.isSameFlamebearer(e,n)){const t=this.calcNewConfigs(e,n);return void this.setState({flamebearer:n,flamegraphConfigs:{...this.state.flamegraphConfigs,...t},selectedItem:ba.nothing()})}}t.flamegraphConfigs!==this.state.flamegraphConfigs&&this.updateFlamegraphDirtiness()}shouldShowToolbar(){return void 0===this.props.showToolbar||this.props.showToolbar}}Ph.contextType=ic,Ph.defaultProps={showCredit:!1};const $h={showPyroscopeLogo:!1},Kh=(e,t)=>{if(t)return t;const n=null!=e?e:"auto";return"zh-CN"===("auto"===n?"undefined"!=typeof navigator&&navigator.language&&navigator.language.toLowerCase().startsWith("zh")?"zh-CN":"en":n)?rc:nc};var qh,em={exports:{}};var tm,nm=(qh||(qh=1,function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,a="[object Arguments]",i="[object Array]",o="[object Boolean]",s="[object Date]",l="[object Error]",u="[object Function]",d="[object Map]",h="[object Number]",m="[object Object]",f="[object Promise]",b="[object RegExp]",g="[object Set]",p="[object String]",x="[object Symbol]",y="[object WeakMap]",v="[object ArrayBuffer]",G="[object DataView]",w=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,I=/^\w*$/,Q=/^\./,B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,F=/\\(\\)?/g,Z=/^\[object .+?Constructor\]$/,N=/^(?:0|[1-9]\d*)$/,k={};k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k[a]=k[i]=k[v]=k[o]=k[G]=k[s]=k[l]=k[u]=k[d]=k[h]=k[m]=k[b]=k[g]=k[p]=k[y]=!1;var L="object"==typeof c&&c&&c.Object===Object&&c,C="object"==typeof self&&self&&self.Object===Object&&self,_=L||C||Function("return this")(),W=t&&!t.nodeType&&t,X=W&&e&&!e.nodeType&&e,R=X&&X.exports===W&&L.process,U=function(){try{return R&&R.binding("util")}catch(e){}}(),D=U&&U.isTypedArray;function j(e,t,n,r){for(var a=-1,i=e?e.length:0;++a<i;){var o=e[a];t(r,o,n(o),e)}return r}function S(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function M(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function Y(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function V(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var O,A,J,E=Array.prototype,T=Function.prototype,z=Object.prototype,H=_["__core-js_shared__"],P=(O=/[^.]+$/.exec(H&&H.keys&&H.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",$=T.toString,K=z.hasOwnProperty,q=z.toString,ee=RegExp("^"+$.call(K).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=_.Symbol,ne=_.Uint8Array,re=z.propertyIsEnumerable,ae=E.splice,ie=(A=Object.keys,J=Object,function(e){return A(J(e))}),oe=Me(_,"DataView"),se=Me(_,"Map"),le=Me(_,"Promise"),ce=Me(_,"Set"),ue=Me(_,"WeakMap"),de=Me(Object,"create"),he=ze(oe),me=ze(se),fe=ze(le),be=ze(ce),ge=ze(ue),pe=te?te.prototype:void 0,xe=pe?pe.valueOf:void 0,ye=pe?pe.toString:void 0;function ve(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ge(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function we(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ie(e){var t=-1,n=e?e.length:0;for(this.__data__=new we;++t<n;)this.add(e[t])}function Qe(e){this.__data__=new Ge(e)}function Be(e,t){var n=et(e)||qe(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,a=!!r;for(var i in e)!K.call(e,i)||a&&("length"==i||Ve(i,r))||n.push(i);return n}function Fe(e,t){for(var n=e.length;n--;)if(Ke(e[n][0],t))return n;return-1}function Ze(e,t,n,r){return ke(e,function(e,a,i){t(r,e,n(e),i)}),r}ve.prototype.clear=function(){this.__data__=de?de(null):{}},ve.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ve.prototype.get=function(e){var t=this.__data__;if(de){var r=t[e];return r===n?void 0:r}return K.call(t,e)?t[e]:void 0},ve.prototype.has=function(e){var t=this.__data__;return de?void 0!==t[e]:K.call(t,e)},ve.prototype.set=function(e,t){return this.__data__[e]=de&&void 0===t?n:t,this},Ge.prototype.clear=function(){this.__data__=[]},Ge.prototype.delete=function(e){var t=this.__data__,n=Fe(t,e);return!(n<0||(n==t.length-1?t.pop():ae.call(t,n,1),0))},Ge.prototype.get=function(e){var t=this.__data__,n=Fe(t,e);return n<0?void 0:t[n][1]},Ge.prototype.has=function(e){return Fe(this.__data__,e)>-1},Ge.prototype.set=function(e,t){var n=this.__data__,r=Fe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},we.prototype.clear=function(){this.__data__={hash:new ve,map:new(se||Ge),string:new ve}},we.prototype.delete=function(e){return Se(this,e).delete(e)},we.prototype.get=function(e){return Se(this,e).get(e)},we.prototype.has=function(e){return Se(this,e).has(e)},we.prototype.set=function(e,t){return Se(this,e).set(e,t),this},Ie.prototype.add=Ie.prototype.push=function(e){return this.__data__.set(e,n),this},Ie.prototype.has=function(e){return this.__data__.has(e)},Qe.prototype.clear=function(){this.__data__=new Ge},Qe.prototype.delete=function(e){return this.__data__.delete(e)},Qe.prototype.get=function(e){return this.__data__.get(e)},Qe.prototype.has=function(e){return this.__data__.has(e)},Qe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ge){var r=n.__data__;if(!se||r.length<199)return r.push([e,t]),this;n=this.__data__=new we(r)}return n.set(e,t),this};var Ne,ke=(Ne=function(e,t){return e&&Le(e,t,lt)},function(e,t){if(null==e)return e;if(!tt(e))return Ne(e,t);for(var n=e.length,r=-1,a=Object(e);++r<n&&!1!==t(a[r],r,a););return e}),Le=function(e,t,n){for(var r=-1,a=Object(e),i=n(e),o=i.length;o--;){var s=i[++r];if(!1===t(a[s],s,a))break}return e};function Ce(e,t){for(var n=0,r=(t=Oe(t,e)?[t]:De(t)).length;null!=e&&n<r;)e=e[Te(t[n++])];return n&&n==r?e:void 0}function _e(e,t){return null!=e&&t in Object(e)}function We(e,t,n,r,c){return e===t||(null==e||null==t||!at(e)&&!it(t)?e!=e&&t!=t:function(e,t,n,r,c,u){var f=et(e),y=et(t),w=i,I=i;f||(w=(w=Ye(e))==a?m:w),y||(I=(I=Ye(t))==a?m:I);var Q=w==m&&!M(e),B=I==m&&!M(t),F=w==I;if(F&&!Q)return u||(u=new Qe),f||st(e)?je(e,t,n,r,c,u):function(e,t,n,r,a,i,c){switch(n){case G:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case v:return!(e.byteLength!=t.byteLength||!r(new ne(e),new ne(t)));case o:case s:case h:return Ke(+e,+t);case l:return e.name==t.name&&e.message==t.message;case b:case p:return e==t+"";case d:var u=Y;case g:var m=2&i;if(u||(u=V),e.size!=t.size&&!m)return!1;var f=c.get(e);if(f)return f==t;i|=1,c.set(e,t);var y=je(u(e),u(t),r,a,i,c);return c.delete(e),y;case x:if(xe)return xe.call(e)==xe.call(t)}return!1}(e,t,w,n,r,c,u);if(!(2&c)){var Z=Q&&K.call(e,"__wrapped__"),N=B&&K.call(t,"__wrapped__");if(Z||N){var k=Z?e.value():e,L=N?t.value():t;return u||(u=new Qe),n(k,L,r,c,u)}}return!!F&&(u||(u=new Qe),function(e,t,n,r,a,i){var o=2&a,s=lt(e),l=s.length,c=lt(t),u=c.length;if(l!=u&&!o)return!1;for(var d=l;d--;){var h=s[d];if(!(o?h in t:K.call(t,h)))return!1}var m=i.get(e);if(m&&i.get(t))return m==t;var f=!0;i.set(e,t),i.set(t,e);for(var b=o;++d<l;){var g=e[h=s[d]],p=t[h];if(r)var x=o?r(p,g,h,t,e,i):r(g,p,h,e,t,i);if(!(void 0===x?g===p||n(g,p,r,a,i):x)){f=!1;break}b||(b="constructor"==h)}if(f&&!b){var y=e.constructor,v=t.constructor;y==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof v&&v instanceof v||(f=!1)}return i.delete(e),i.delete(t),f}(e,t,n,r,c,u))}(e,t,We,n,r,c))}function Xe(e){return!(!at(e)||function(e){return!!P&&P in e}(e))&&(nt(e)||M(e)?ee:Z).test(ze(e))}function Re(e){return"function"==typeof e?e:null==e?ct:"object"==typeof e?et(e)?function(e,t){return Oe(e)&&Ae(t)?Je(Te(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:Ce(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){t=Oe(t,e)?[t]:De(t);for(var r,a=-1,i=t.length;++a<i;){var o=Te(t[a]);if(!(r=null!=e&&n(e,o)))break;e=e[o]}return r||!!(i=e?e.length:0)&&rt(i)&&Ve(o,i)&&(et(e)||qe(e))}(e,t,_e)}(n,e):We(t,r,void 0,3)}}(e[0],e[1]):(n=function(e){for(var t=lt(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,Ae(a)]}return t}(t=e),1==n.length&&n[0][2]?Je(n[0][0],n[0][1]):function(e){return e===t||function(e,t,n,r){var a=n.length,i=a;if(null==e)return!i;for(e=Object(e);a--;){var o=n[a];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++a<i;){var s=(o=n[a])[0],l=e[s],c=o[1];if(o[2]){if(void 0===l&&!(s in e))return!1}else if(!We(c,l,r,3,new Qe))return!1}return!0}(e,0,n)}):Oe(r=e)?(a=Te(r),function(e){return null==e?void 0:e[a]}):function(e){return function(t){return Ce(t,e)}}(r);var t,n,r,a}function Ue(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||z,t!==r)return ie(e);var t,n,r,a=[];for(var i in Object(e))K.call(e,i)&&"constructor"!=i&&a.push(i);return a}function De(e){return et(e)?e:Ee(e)}function je(e,t,n,r,a,i){var o=2&a,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var u=-1,d=!0,h=1&a?new Ie:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var m=e[u],f=t[u];if(r)var b=o?r(f,m,u,t,e,i):r(m,f,u,e,t,i);if(void 0!==b){if(b)continue;d=!1;break}if(h){if(!S(t,function(e,t){if(!h.has(t)&&(m===e||n(m,e,r,a,i)))return h.add(t)})){d=!1;break}}else if(m!==f&&!n(m,f,r,a,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function Se(e,t){var n,r,a=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?a["string"==typeof t?"string":"hash"]:a.map}function Me(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Xe(n)?n:void 0}var Ye=function(e){return q.call(e)};function Ve(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||N.test(e))&&e>-1&&e%1==0&&e<t}function Oe(e,t){if(et(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ot(e))||I.test(e)||!w.test(e)||null!=t&&e in Object(t)}function Ae(e){return e==e&&!at(e)}function Je(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(oe&&Ye(new oe(new ArrayBuffer(1)))!=G||se&&Ye(new se)!=d||le&&Ye(le.resolve())!=f||ce&&Ye(new ce)!=g||ue&&Ye(new ue)!=y)&&(Ye=function(e){var t=q.call(e),n=t==m?e.constructor:void 0,r=n?ze(n):void 0;if(r)switch(r){case he:return G;case me:return d;case fe:return f;case be:return g;case ge:return y}return t});var Ee=$e(function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(ot(e))return ye?ye.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return Q.test(e)&&n.push(""),e.replace(B,function(e,t,r,a){n.push(r?a.replace(F,"$1"):t||e)}),n});function Te(e){if("string"==typeof e||ot(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ze(e){if(null!=e){try{return $.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var He,Pe=(He=function(e,t,n){K.call(e,n)?e[n].push(t):e[n]=[t]},function(e,t){return(et(e)?j:Ze)(e,He,Re(t),{})});function $e(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],i=n.cache;if(i.has(a))return i.get(a);var o=e.apply(this,r);return n.cache=i.set(a,o),o};return n.cache=new($e.Cache||we),n}function Ke(e,t){return e===t||e!=e&&t!=t}function qe(e){return function(e){return it(e)&&tt(e)}(e)&&K.call(e,"callee")&&(!re.call(e,"callee")||q.call(e)==a)}$e.Cache=we;var et=Array.isArray;function tt(e){return null!=e&&rt(e.length)&&!nt(e)}function nt(e){var t=at(e)?q.call(e):"";return t==u||"[object GeneratorFunction]"==t}function rt(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function at(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function it(e){return!!e&&"object"==typeof e}function ot(e){return"symbol"==typeof e||it(e)&&q.call(e)==x}var st=D?function(e){return function(t){return e(t)}}(D):function(e){return it(e)&&rt(e.length)&&!!k[q.call(e)]};function lt(e){return tt(e)?Be(e):Ue(e)}function ct(e){return e}e.exports=Pe}(em,em.exports)),em.exports),rm=u(nm),am={exports:{}};var im=(tm||(tm=1,function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,a="[object Arguments]",i="[object Array]",o="[object Boolean]",s="[object Date]",l="[object Error]",u="[object Function]",d="[object Map]",h="[object Number]",m="[object Object]",f="[object Promise]",b="[object RegExp]",g="[object Set]",p="[object String]",x="[object Symbol]",y="[object WeakMap]",v="[object ArrayBuffer]",G="[object DataView]",w=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,I=/^\w*$/,Q=/^\./,B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,F=/\\(\\)?/g,Z=/^\[object .+?Constructor\]$/,N=/^(?:0|[1-9]\d*)$/,k={};k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k[a]=k[i]=k[v]=k[o]=k[G]=k[s]=k[l]=k[u]=k[d]=k[h]=k[m]=k[b]=k[g]=k[p]=k[y]=!1;var L="object"==typeof c&&c&&c.Object===Object&&c,C="object"==typeof self&&self&&self.Object===Object&&self,_=L||C||Function("return this")(),W=t&&!t.nodeType&&t,X=W&&e&&!e.nodeType&&e,R=X&&X.exports===W&&L.process,U=function(){try{return R&&R.binding("util")}catch(e){}}(),D=U&&U.isTypedArray;function j(e,t){for(var n=-1,r=e?e.length:0,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}function S(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function M(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function Y(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function V(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var O,A,J,E=Array.prototype,T=Function.prototype,z=Object.prototype,H=_["__core-js_shared__"],P=(O=/[^.]+$/.exec(H&&H.keys&&H.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",$=T.toString,K=z.hasOwnProperty,q=z.toString,ee=RegExp("^"+$.call(K).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=_.Symbol,ne=_.Uint8Array,re=z.propertyIsEnumerable,ae=E.splice,ie=(A=Object.keys,J=Object,function(e){return A(J(e))}),oe=Me(_,"DataView"),se=Me(_,"Map"),le=Me(_,"Promise"),ce=Me(_,"Set"),ue=Me(_,"WeakMap"),de=Me(Object,"create"),he=ze(oe),me=ze(se),fe=ze(le),be=ze(ce),ge=ze(ue),pe=te?te.prototype:void 0,xe=pe?pe.valueOf:void 0,ye=pe?pe.toString:void 0;function ve(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ge(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function we(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ie(e){var t=-1,n=e?e.length:0;for(this.__data__=new we;++t<n;)this.add(e[t])}function Qe(e){this.__data__=new Ge(e)}function Be(e,t){var n=Ke(e)||$e(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,a=!!r;for(var i in e)!K.call(e,i)||a&&("length"==i||Ve(i,r))||n.push(i);return n}function Fe(e,t){for(var n=e.length;n--;)if(Pe(e[n][0],t))return n;return-1}ve.prototype.clear=function(){this.__data__=de?de(null):{}},ve.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ve.prototype.get=function(e){var t=this.__data__;if(de){var r=t[e];return r===n?void 0:r}return K.call(t,e)?t[e]:void 0},ve.prototype.has=function(e){var t=this.__data__;return de?void 0!==t[e]:K.call(t,e)},ve.prototype.set=function(e,t){return this.__data__[e]=de&&void 0===t?n:t,this},Ge.prototype.clear=function(){this.__data__=[]},Ge.prototype.delete=function(e){var t=this.__data__,n=Fe(t,e);return!(n<0||(n==t.length-1?t.pop():ae.call(t,n,1),0))},Ge.prototype.get=function(e){var t=this.__data__,n=Fe(t,e);return n<0?void 0:t[n][1]},Ge.prototype.has=function(e){return Fe(this.__data__,e)>-1},Ge.prototype.set=function(e,t){var n=this.__data__,r=Fe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},we.prototype.clear=function(){this.__data__={hash:new ve,map:new(se||Ge),string:new ve}},we.prototype.delete=function(e){return Se(this,e).delete(e)},we.prototype.get=function(e){return Se(this,e).get(e)},we.prototype.has=function(e){return Se(this,e).has(e)},we.prototype.set=function(e,t){return Se(this,e).set(e,t),this},Ie.prototype.add=Ie.prototype.push=function(e){return this.__data__.set(e,n),this},Ie.prototype.has=function(e){return this.__data__.has(e)},Qe.prototype.clear=function(){this.__data__=new Ge},Qe.prototype.delete=function(e){return this.__data__.delete(e)},Qe.prototype.get=function(e){return this.__data__.get(e)},Qe.prototype.has=function(e){return this.__data__.has(e)},Qe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ge){var r=n.__data__;if(!se||r.length<199)return r.push([e,t]),this;n=this.__data__=new we(r)}return n.set(e,t),this};var Ze,Ne=(Ze=function(e,t){return e&&ke(e,t,ot)},function(e,t){if(null==e)return e;if(!qe(e))return Ze(e,t);for(var n=e.length,r=-1,a=Object(e);++r<n&&!1!==t(a[r],r,a););return e}),ke=function(e,t,n){for(var r=-1,a=Object(e),i=n(e),o=i.length;o--;){var s=i[++r];if(!1===t(a[s],s,a))break}return e};function Le(e,t){for(var n=0,r=(t=Oe(t,e)?[t]:De(t)).length;null!=e&&n<r;)e=e[Te(t[n++])];return n&&n==r?e:void 0}function Ce(e,t){return null!=e&&t in Object(e)}function _e(e,t,n,r,c){return e===t||(null==e||null==t||!nt(e)&&!rt(t)?e!=e&&t!=t:function(e,t,n,r,c,u){var f=Ke(e),y=Ke(t),w=i,I=i;f||(w=(w=Ye(e))==a?m:w),y||(I=(I=Ye(t))==a?m:I);var Q=w==m&&!M(e),B=I==m&&!M(t),F=w==I;if(F&&!Q)return u||(u=new Qe),f||it(e)?je(e,t,n,r,c,u):function(e,t,n,r,a,i,c){switch(n){case G:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case v:return!(e.byteLength!=t.byteLength||!r(new ne(e),new ne(t)));case o:case s:case h:return Pe(+e,+t);case l:return e.name==t.name&&e.message==t.message;case b:case p:return e==t+"";case d:var u=Y;case g:var m=2&i;if(u||(u=V),e.size!=t.size&&!m)return!1;var f=c.get(e);if(f)return f==t;i|=1,c.set(e,t);var y=je(u(e),u(t),r,a,i,c);return c.delete(e),y;case x:if(xe)return xe.call(e)==xe.call(t)}return!1}(e,t,w,n,r,c,u);if(!(2&c)){var Z=Q&&K.call(e,"__wrapped__"),N=B&&K.call(t,"__wrapped__");if(Z||N){var k=Z?e.value():e,L=N?t.value():t;return u||(u=new Qe),n(k,L,r,c,u)}}return!!F&&(u||(u=new Qe),function(e,t,n,r,a,i){var o=2&a,s=ot(e),l=s.length,c=ot(t),u=c.length;if(l!=u&&!o)return!1;for(var d=l;d--;){var h=s[d];if(!(o?h in t:K.call(t,h)))return!1}var m=i.get(e);if(m&&i.get(t))return m==t;var f=!0;i.set(e,t),i.set(t,e);for(var b=o;++d<l;){var g=e[h=s[d]],p=t[h];if(r)var x=o?r(p,g,h,t,e,i):r(g,p,h,e,t,i);if(!(void 0===x?g===p||n(g,p,r,a,i):x)){f=!1;break}b||(b="constructor"==h)}if(f&&!b){var y=e.constructor,v=t.constructor;y==v||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof v&&v instanceof v||(f=!1)}return i.delete(e),i.delete(t),f}(e,t,n,r,c,u))}(e,t,_e,n,r,c))}function We(e){return!(!nt(e)||function(e){return!!P&&P in e}(e))&&(et(e)||M(e)?ee:Z).test(ze(e))}function Xe(e){return"function"==typeof e?e:null==e?st:"object"==typeof e?Ke(e)?function(e,t){return Oe(e)&&Ae(t)?Je(Te(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:Le(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){t=Oe(t,e)?[t]:De(t);for(var r,a=-1,i=t.length;++a<i;){var o=Te(t[a]);if(!(r=null!=e&&n(e,o)))break;e=e[o]}return r||!!(i=e?e.length:0)&&tt(i)&&Ve(o,i)&&(Ke(e)||$e(e))}(e,t,Ce)}(n,e):_e(t,r,void 0,3)}}(e[0],e[1]):(n=function(e){for(var t=ot(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,Ae(a)]}return t}(t=e),1==n.length&&n[0][2]?Je(n[0][0],n[0][1]):function(e){return e===t||function(e,t,n,r){var a=n.length,i=a;if(null==e)return!i;for(e=Object(e);a--;){var o=n[a];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++a<i;){var s=(o=n[a])[0],l=e[s],c=o[1];if(o[2]){if(void 0===l&&!(s in e))return!1}else if(!_e(c,l,r,3,new Qe))return!1}return!0}(e,0,n)}):Oe(r=e)?(a=Te(r),function(e){return null==e?void 0:e[a]}):function(e){return function(t){return Le(t,e)}}(r);var t,n,r,a}function Re(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||z,t!==r)return ie(e);var t,n,r,a=[];for(var i in Object(e))K.call(e,i)&&"constructor"!=i&&a.push(i);return a}function Ue(e,t){var n=-1,r=qe(e)?Array(e.length):[];return Ne(e,function(e,a,i){r[++n]=t(e,a,i)}),r}function De(e){return Ke(e)?e:Ee(e)}function je(e,t,n,r,a,i){var o=2&a,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var u=-1,d=!0,h=1&a?new Ie:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var m=e[u],f=t[u];if(r)var b=o?r(f,m,u,t,e,i):r(m,f,u,e,t,i);if(void 0!==b){if(b)continue;d=!1;break}if(h){if(!S(t,function(e,t){if(!h.has(t)&&(m===e||n(m,e,r,a,i)))return h.add(t)})){d=!1;break}}else if(m!==f&&!n(m,f,r,a,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function Se(e,t){var n,r,a=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?a["string"==typeof t?"string":"hash"]:a.map}function Me(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return We(n)?n:void 0}var Ye=function(e){return q.call(e)};function Ve(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||N.test(e))&&e>-1&&e%1==0&&e<t}function Oe(e,t){if(Ke(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!at(e))||I.test(e)||!w.test(e)||null!=t&&e in Object(t)}function Ae(e){return e==e&&!nt(e)}function Je(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(oe&&Ye(new oe(new ArrayBuffer(1)))!=G||se&&Ye(new se)!=d||le&&Ye(le.resolve())!=f||ce&&Ye(new ce)!=g||ue&&Ye(new ue)!=y)&&(Ye=function(e){var t=q.call(e),n=t==m?e.constructor:void 0,r=n?ze(n):void 0;if(r)switch(r){case he:return G;case me:return d;case fe:return f;case be:return g;case ge:return y}return t});var Ee=He(function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(at(e))return ye?ye.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return Q.test(e)&&n.push(""),e.replace(B,function(e,t,r,a){n.push(r?a.replace(F,"$1"):t||e)}),n});function Te(e){if("string"==typeof e||at(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ze(e){if(null!=e){try{return $.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function He(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],i=n.cache;if(i.has(a))return i.get(a);var o=e.apply(this,r);return n.cache=i.set(a,o),o};return n.cache=new(He.Cache||we),n}function Pe(e,t){return e===t||e!=e&&t!=t}function $e(e){return function(e){return rt(e)&&qe(e)}(e)&&K.call(e,"callee")&&(!re.call(e,"callee")||q.call(e)==a)}He.Cache=we;var Ke=Array.isArray;function qe(e){return null!=e&&tt(e.length)&&!et(e)}function et(e){var t=nt(e)?q.call(e):"";return t==u||"[object GeneratorFunction]"==t}function tt(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function nt(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function rt(e){return!!e&&"object"==typeof e}function at(e){return"symbol"==typeof e||rt(e)&&q.call(e)==x}var it=D?function(e){return function(t){return e(t)}}(D):function(e){return rt(e)&&tt(e.length)&&!!k[q.call(e)]};function ot(e){return qe(e)?Be(e):Re(e)}function st(e){return e}e.exports=function(e,t){return(Ke(e)?j:Ue)(e,Xe(t))}}(am,am.exports)),am.exports),om=u(im);exports.Box=function(t){const{children:n,noPadding:r,className:a="",theme:i="dark"}=t,o=r?"":Jr.padding;return e.jsx("div",{className:`${Jr.box} ${o} ${a}`,"data-theme":i,children:n})},exports.DefaultPalette=$l,exports.Flamegraph=hs,exports.FlamegraphI18nProvider=oc,exports.FlamegraphRenderer=n=>{const{i18n:r,locale:a,colorMode:i="light",sandwich:o=!0,...s}=n,l=t.useMemo(()=>Kh(a,r),[a,r]),c=t.useMemo(()=>(e=>{switch(e){case"dark":return"ps-theme-dark";case"kylin":return"ps-theme-kylin";default:return"ps-theme-light"}})(i),[i]);return e.jsx("pyro-flamegraph",{className:c,children:e.jsx(oc,{messages:l,children:e.jsx(Ph,{...$h,enableSandwichView:o,...s})})})},exports.convertJaegerTraceToProfile=function(e){const t={numTicks:0,maxSelf:0,names:[],levels:[]},n={},r={children:[]};return e.spans.forEach(e=>{e.children=[],n[e.spanID]=e}),e.spans.forEach(e=>{let t=r;e.references&&e.references.length>0&&(t=n[e.references[0].spanID]||r),t.children.push(e)}),function e(t,n){(t.children||[]).forEach(t=>e(t));let r=0;const a=rm(t.children||[],e=>e.operationName);t.children=om(a,e=>{const t=e[0];for(let n=1;n<e.length;n+=1)t.duration+=e[n].duration;return r+=t.duration,t}),t.total=t.duration||r,t.self=Math.max(0,t.total-r)}(r),function n(r,a,i){var o;return t.numTicks||(t.numTicks=r.total),(o=t.levels)[a]||(o[a]=[]),t.levels[a].push(i),t.levels[a].push(r.total),t.levels[a].push(r.self),t.names.push((r.processID?`${e.processes[r.processID].serviceName}: `:"")+(r.operationName||"total")),t.levels[a].push(t.names.length-1),(r.children||[]).forEach(e=>{i+=n(e,a+1,i)}),r.total}(r,0,0),t.levels=Th("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=zh("single",e.flamebearer.levels),t.flamebearer.levels=zh("single",t.flamebearer.levels);const n=function(e,t){const n={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},r=Lh(e,t),a=(e,t,r,i)=>{var o;const{name:s,children:l,self:c,total:u}=e;n.names.push(s),(o=n.levels)[t]||(o[t]=[]),n.maxSelf=Math.max(n.maxSelf,c[0]||0,c[1]||0),n.levels[t]=n.levels[t].concat([r,u[0]||0,c[0]||0,i,u[1]||0,c[1]||0,n.names.length-1]);for(let e=0;e<l.length;e+=1){const[n,o]=a(l[e],t+1,r,i);r+=n,i+=o}return[u[0]||0,u[1]||0]};return a(r,0,0,0),n}(e.flamebearer,t.flamebearer);n.levels=Th("double",n.levels);const r={...e.metadata};return r.format="double",{version:1,flamebearer:n,metadata:r,leftTicks:e.flamebearer.numTicks,rightTicks:t.flamebearer.numTicks}},exports.flamegraphDefaultMessages=nc,exports.flamegraphZhCNMessages=rc;
18
18
  //# sourceMappingURL=index.cjs.js.map