caplink-saas-ui-shared-component-library 0.4.7 → 0.4.8
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.es.js +519 -500
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +26 -26
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:var(--font-sans),ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 240 10% 3.9%;--card: 0 0% 100%;--card-foreground: 240 10% 3.9%;--popover: 0 0% 100%;--popover-foreground: 240 10% 3.9%;--primary: 240 5.9% 10%;--primary-foreground: 0 0% 98%;--secondary: 240 4.8% 95.9%;--secondary-foreground: 240 5.9% 10%;--muted: 240 4.8% 95.9%;--muted-foreground: 240 3.8% 46.1%;--accent: 240 4.8% 95.9%;--accent-foreground: 240 5.9% 10%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border: 240 5.9% 90%;--input: 240 5.9% 90%;--ring: 240 5.9% 10%;--radius: .5rem}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground));font-feature-settings:"rlig" 1,"calt" 1}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.sl-pointer-events-none{pointer-events:none}.sl-pointer-events-auto{pointer-events:auto}.sl-fixed{position:fixed}.sl-absolute{position:absolute}.sl-relative{position:relative}.sl-sticky{position:sticky}.-sl-left-0{left:-0px}.-sl-left-0\\.5{left:-.125rem}.-sl-right-\\[3px\\]{right:-3px}.-sl-top-0{top:-0px}.-sl-top-0\\.5{top:-.125rem}.-sl-top-1{top:-.25rem}.-sl-top-4{top:-1rem}.sl-bottom-0{bottom:0}.sl-left-0{left:0}.sl-left-2{left:.5rem}.sl-left-2\\.5{left:.625rem}.sl-right-2{right:.5rem}.sl-right-2\\.5{right:.625rem}.sl-right-4{right:1rem}.sl-top-0{top:0}.sl-top-1\\/2{top:50%}.sl-top-2{top:.5rem}.sl-top-4{top:1rem}.sl-top-\\[58px\\]{top:58px}.sl-z-0{z-index:0}.sl-z-10{z-index:10}.sl-z-40{z-index:40}.sl-z-50{z-index:50}.sl-z-\\[100\\]{z-index:100}.-sl-mx-1{margin-left:-.25rem;margin-right:-.25rem}.sl-my-1{margin-top:.25rem;margin-bottom:.25rem}.sl-mb-2{margin-bottom:.5rem}.sl-ml-2{margin-left:.5rem}.sl-ml-auto{margin-left:auto}.sl-mr-1{margin-right:.25rem}.sl-mr-2{margin-right:.5rem}.sl-mt-0{margin-top:0}.sl-mt-0\\.5{margin-top:.125rem}.sl-mt-1{margin-top:.25rem}.sl-mt-\\[calc\\(28px\\+36px\\)\\]{margin-top:64px}.sl-line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.sl-line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sl-flex{display:flex}.sl-inline-flex{display:inline-flex}.sl-hidden{display:none}.\\!sl-h-\\[14px\\]{height:14px!important}.sl-h-10{height:2.5rem}.sl-h-3{height:.75rem}.sl-h-3\\.5{height:.875rem}.sl-h-4{height:1rem}.sl-h-5{height:1.25rem}.sl-h-7{height:1.75rem}.sl-h-8{height:2rem}.sl-h-9{height:2.25rem}.sl-h-\\[300px\\]{height:300px}.sl-h-\\[34px\\]{height:34px}.sl-h-\\[calc\\(100\\%-28px-28px\\)\\]{height:calc(100% - 56px)}.sl-h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.sl-h-fit{height:fit-content}.sl-h-full{height:100%}.sl-h-px{height:1px}.sl-h-screen{height:100vh}.sl-max-h-9{max-height:2.25rem}.sl-max-h-96{max-height:24rem}.sl-max-h-\\[80\\%\\]{max-height:80%}.sl-min-h-13{min-height:3.25rem}.sl-min-h-\\[24px\\]{min-height:24px}.\\!sl-w-\\[14px\\]{width:14px!important}.sl-w-1{width:.25rem}.sl-w-1\\.5{width:.375rem}.sl-w-1\\/2{width:50%}.sl-w-12{width:3rem}.sl-w-3{width:.75rem}.sl-w-3\\.5{width:.875rem}.sl-w-32{width:8rem}.sl-w-4{width:1rem}.sl-w-5{width:1.25rem}.sl-w-56{width:14rem}.sl-w-79{width:19.75rem}.sl-w-9{width:2.25rem}.sl-w-\\[1000px\\]{width:1000px}.sl-w-fit{width:fit-content}.sl-w-full{width:100%}.sl-w-screen{width:100vw}.sl-min-w-28{min-width:7rem}.sl-min-w-\\[400px\\]{min-width:400px}.sl-min-w-\\[8rem\\]{min-width:8rem}.sl-min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.sl-max-w-\\[220px\\]{max-width:220px}.sl-max-w-\\[240px\\]{max-width:240px}.sl-max-w-\\[80\\%\\]{max-width:80%}.sl-flex-shrink-0,.sl-shrink-0{flex-shrink:0}.-sl-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes sl-spin{to{transform:rotate(360deg)}}.sl-animate-spin{animation:sl-spin 1s linear infinite}.sl-cursor-col-resize{cursor:col-resize}.sl-cursor-default{cursor:default}.sl-cursor-not-allowed{cursor:not-allowed}.sl-cursor-pointer{cursor:pointer}.sl-select-none{user-select:none}.sl-resize-none{resize:none}.sl-flex-col{flex-direction:column}.sl-flex-wrap{flex-wrap:wrap}.sl-items-center{align-items:center}.sl-justify-start{justify-content:flex-start}.sl-justify-end{justify-content:flex-end}.sl-justify-center{justify-content:center}.sl-justify-between{justify-content:space-between}.sl-gap-1{gap:.25rem}.sl-gap-2{gap:.5rem}.sl-gap-4{gap:1rem}.sl-gap-x-2{column-gap:.5rem}.sl-gap-y-1{row-gap:.25rem}.sl-overflow-hidden{overflow:hidden}.sl-overflow-y-clip{overflow-y:clip}.sl-overflow-x-scroll{overflow-x:scroll}.sl-overflow-ellipsis{text-overflow:ellipsis}.sl-whitespace-nowrap{white-space:nowrap}.sl-text-wrap{text-wrap:wrap}.sl-break-words{overflow-wrap:break-word}.sl-break-all{word-break:break-all}.\\!sl-rounded-full{border-radius:9999px!important}.sl-rounded-full{border-radius:9999px}.sl-rounded-lg{border-radius:8px}.sl-rounded-md{border-radius:4px}.sl-rounded-none{border-radius:0}.sl-rounded-sm{border-radius:2px}.sl-rounded-r-md{border-top-right-radius:4px;border-bottom-right-radius:4px}.sl-rounded-t-lg{border-top-left-radius:8px;border-top-right-radius:8px}.\\!sl-border-2{border-width:2px!important}.sl-border{border-width:1px}.sl-border-b{border-bottom-width:1px}.sl-border-b-0{border-bottom-width:0px}.sl-border-l{border-left-width:1px}.sl-border-l-0{border-left-width:0px}.sl-border-r{border-right-width:1px}.sl-border-r-0{border-right-width:0px}.sl-border-t{border-top-width:1px}.sl-border-t-0{border-top-width:0px}.sl-border-none{border-style:none}.\\!sl-border-primary-700{--tw-border-opacity: 1 !important;border-color:rgb(71 71 114 / var(--tw-border-opacity))!important}.sl-border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.sl-border-danger-300{--tw-border-opacity: 1;border-color:rgb(211 48 48 / var(--tw-border-opacity))}.sl-border-info-100{--tw-border-opacity: 1;border-color:rgb(225 229 255 / var(--tw-border-opacity))}.sl-border-info-200{--tw-border-opacity: 1;border-color:rgb(99 115 255 / var(--tw-border-opacity))}.sl-border-info-300{--tw-border-opacity: 1;border-color:rgb(70 87 225 / var(--tw-border-opacity))}.sl-border-info-400{--tw-border-opacity: 1;border-color:rgb(0 19 183 / var(--tw-border-opacity))}.sl-border-input{border-color:hsl(var(--input))}.sl-border-primary-100{--tw-border-opacity: 1;border-color:rgb(242 242 252 / var(--tw-border-opacity))}.sl-border-primary-200{--tw-border-opacity: 1;border-color:rgb(220 220 237 / var(--tw-border-opacity))}.sl-border-primary-300{--tw-border-opacity: 1;border-color:rgb(193 193 217 / var(--tw-border-opacity))}.sl-border-primary-700{--tw-border-opacity: 1;border-color:rgb(71 71 114 / var(--tw-border-opacity))}.sl-border-success-300{--tw-border-opacity: 1;border-color:rgb(28 191 102 / var(--tw-border-opacity))}.sl-border-transparent{border-color:transparent}.sl-border-l-transparent{border-left-color:transparent}.sl-border-t-transparent{border-top-color:transparent}.\\!sl-bg-primary-700{--tw-bg-opacity: 1 !important;background-color:rgb(71 71 114 / var(--tw-bg-opacity))!important}.\\!sl-bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.sl-bg-background{background-color:hsl(var(--background))}.sl-bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.sl-bg-destructive{background-color:hsl(var(--destructive))}.sl-bg-info-100{--tw-bg-opacity: 1;background-color:rgb(225 229 255 / var(--tw-bg-opacity))}.sl-bg-info-300{--tw-bg-opacity: 1;background-color:rgb(70 87 225 / var(--tw-bg-opacity))}.sl-bg-info-50{--tw-bg-opacity: 1;background-color:rgb(244 246 255 / var(--tw-bg-opacity))}.sl-bg-muted{background-color:hsl(var(--muted))}.sl-bg-neutral-300{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}.sl-bg-neutral-400{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}.sl-bg-popover{background-color:hsl(var(--popover))}.sl-bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(242 242 252 / var(--tw-bg-opacity))}.sl-bg-primary-50{--tw-bg-opacity: 1;background-color:rgb(251 251 255 / var(--tw-bg-opacity))}.sl-bg-primary-900{--tw-bg-opacity: 1;background-color:rgb(31 31 62 / var(--tw-bg-opacity))}.sl-bg-secondary{background-color:hsl(var(--secondary))}.sl-bg-transparent{background-color:transparent}.sl-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.sl-bg-white\\/25{background-color:#ffffff40}.sl-fill-current{fill:currentColor}.sl-stroke-2{stroke-width:2}.sl-object-contain{object-fit:contain}.sl-p-1{padding:.25rem}.sl-p-2{padding:.5rem}.sl-p-4{padding:1rem}.sl-p-6{padding:1.5rem}.sl-px-2{padding-left:.5rem;padding-right:.5rem}.sl-px-3{padding-left:.75rem;padding-right:.75rem}.sl-px-4{padding-left:1rem;padding-right:1rem}.sl-px-8{padding-left:2rem;padding-right:2rem}.sl-py-1{padding-top:.25rem;padding-bottom:.25rem}.sl-py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.sl-py-2{padding-top:.5rem;padding-bottom:.5rem}.sl-py-6{padding-top:1.5rem;padding-bottom:1.5rem}.sl-pb-2{padding-bottom:.5rem}.sl-pb-\\[100\\%\\]{padding-bottom:100%}.sl-pl-1{padding-left:.25rem}.sl-pl-2{padding-left:.5rem}.sl-pl-3{padding-left:.75rem}.sl-pl-7{padding-left:1.75rem}.sl-pl-8{padding-left:2rem}.sl-pr-2{padding-right:.5rem}.sl-pr-3{padding-right:.75rem}.sl-pr-8{padding-right:2rem}.sl-pr-px{padding-right:1px}.sl-pt-2{padding-top:.5rem}.sl-text-left{text-align:left}.sl-text-lg{font-size:16px;line-height:20px}.sl-text-md{font-size:14px;line-height:18px}.sl-text-sm{font-size:12px;line-height:16px}.sl-text-xs{font-size:10px;line-height:14px}.sl-font-bold{font-weight:700}.sl-font-medium{font-weight:500}.sl-font-semibold{font-weight:600}.sl-tracking-widest{letter-spacing:.1em}.sl-text-current{color:currentColor}.sl-text-danger-300{--tw-text-opacity: 1;color:rgb(211 48 48 / var(--tw-text-opacity))}.sl-text-destructive-foreground{color:hsl(var(--destructive-foreground))}.sl-text-info-200{--tw-text-opacity: 1;color:rgb(99 115 255 / var(--tw-text-opacity))}.sl-text-info-300{--tw-text-opacity: 1;color:rgb(70 87 225 / var(--tw-text-opacity))}.sl-text-info-400{--tw-text-opacity: 1;color:rgb(0 19 183 / var(--tw-text-opacity))}.sl-text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}.sl-text-popover-foreground{color:hsl(var(--popover-foreground))}.sl-text-primary-400{--tw-text-opacity: 1;color:rgb(174 174 206 / var(--tw-text-opacity))}.sl-text-primary-500{--tw-text-opacity: 1;color:rgb(146 146 186 / var(--tw-text-opacity))}.sl-text-primary-600{--tw-text-opacity: 1;color:rgb(99 99 143 / var(--tw-text-opacity))}.sl-text-primary-700{--tw-text-opacity: 1;color:rgb(71 71 114 / var(--tw-text-opacity))}.sl-text-primary-800{--tw-text-opacity: 1;color:rgb(53 53 88 / var(--tw-text-opacity))}.sl-text-secondary-foreground{color:hsl(var(--secondary-foreground))}.sl-text-success-300{--tw-text-opacity: 1;color:rgb(28 191 102 / var(--tw-text-opacity))}.sl-text-success-400{--tw-text-opacity: 1;color:rgb(25 150 82 / var(--tw-text-opacity))}.sl-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.sl-underline{text-decoration-line:underline}.sl-underline-offset-4{text-underline-offset:4px}.sl-opacity-0{opacity:0}.sl-opacity-100{opacity:1}.sl-opacity-50{opacity:.5}.sl-opacity-60{opacity:.6}.sl-shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.sl-shadow-lg{--tw-shadow: 0px 8px 8px -4px rgba(16, 24, 40, .03), 0px 20px 24px -6px rgba(16, 24, 40, .08);--tw-shadow-colored: 0px 8px 8px -4px var(--tw-shadow-color), 0px 20px 24px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.sl-shadow-md{--tw-shadow: 0px 4px 6px -2px rgba(16, 24, 40, .03), 0px 12px 16px -4px rgba(16, 24, 40, .08);--tw-shadow-colored: 0px 4px 6px -2px var(--tw-shadow-color), 0px 12px 16px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.sl-shadow-sm{--tw-shadow: 0px 2px 4px -2px rgba(16, 24, 40, .06), 0px 4px 8px -2px rgba(16, 24, 40, .1);--tw-shadow-colored: 0px 2px 4px -2px var(--tw-shadow-color), 0px 4px 8px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.sl-outline-none{outline:2px solid transparent;outline-offset:2px}.sl-outline{outline-style:solid}.sl-outline-sky-100{outline-color:#e0f2fe}.sl-ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.sl-drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sl-backdrop-blur-sm{--tw-backdrop-blur: blur(4px);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.sl-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sl-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sl-ease-linear{transition-timing-function:linear}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.sl-animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.sl-fade-in-0{--tw-enter-opacity: 0}.sl-zoom-in-95{--tw-enter-scale: .95}.sl-ease-linear{animation-timing-function:linear}*{position:relative;font-family:Inter,sans-serif;font-weight:400}h1,h2,h3,h4,h5{font-family:SF Pro Display,sans-serif}.file\\:sl-border-transparent::file-selector-button{border-color:transparent}.file\\:sl-bg-transparent::file-selector-button{background-color:transparent}.file\\:sl-text-sm::file-selector-button{font-size:12px;line-height:16px}.file\\:sl-font-medium::file-selector-button{font-weight:500}.placeholder\\:sl-font-semibold::placeholder{font-weight:600}.placeholder\\:sl-text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.placeholder\\:sl-text-primary-600::placeholder{--tw-text-opacity: 1;color:rgb(99 99 143 / var(--tw-text-opacity))}.hover\\:sl-border-primary-500:hover{--tw-border-opacity: 1;border-color:rgb(146 146 186 / var(--tw-border-opacity))}.hover\\:sl-bg-accent:hover{background-color:hsl(var(--accent))}.hover\\:sl-bg-danger-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 246 246 / var(--tw-bg-opacity))}.hover\\:sl-bg-destructive\\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\\:sl-bg-info-50:hover{--tw-bg-opacity: 1;background-color:rgb(244 246 255 / var(--tw-bg-opacity))}.hover\\:sl-bg-secondary\\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\\:sl-text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\\:sl-text-danger-400:hover{--tw-text-opacity: 1;color:rgb(156 19 19 / var(--tw-text-opacity))}.hover\\:sl-text-info-400:hover{--tw-text-opacity: 1;color:rgb(0 19 183 / var(--tw-text-opacity))}.hover\\:sl-underline:hover{text-decoration-line:underline}.hover\\:sl-opacity-100:hover{opacity:1}.hover\\:sl-shadow-md:hover{--tw-shadow: 0px 4px 6px -2px rgba(16, 24, 40, .03), 0px 12px 16px -4px rgba(16, 24, 40, .08);--tw-shadow-colored: 0px 4px 6px -2px var(--tw-shadow-color), 0px 12px 16px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\\:sl-bg-accent:focus{background-color:hsl(var(--accent))}.focus\\:sl-text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\\:sl-text-primary-900:focus{--tw-text-opacity: 1;color:rgb(31 31 62 / var(--tw-text-opacity))}.focus\\:sl-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:sl-ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:sl-ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:sl-ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus-visible\\:sl-border-primary-700:focus-visible{--tw-border-opacity: 1;border-color:rgb(71 71 114 / var(--tw-border-opacity))}.focus-visible\\:sl-outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:sl-ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:sl-ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.active\\:sl-border-danger-400:active{--tw-border-opacity: 1;border-color:rgb(156 19 19 / var(--tw-border-opacity))}.active\\:sl-border-info-400:active{--tw-border-opacity: 1;border-color:rgb(0 19 183 / var(--tw-border-opacity))}.active\\:sl-bg-danger-50:active{--tw-bg-opacity: 1;background-color:rgb(255 246 246 / var(--tw-bg-opacity))}.active\\:sl-bg-info-50:active{--tw-bg-opacity: 1;background-color:rgb(244 246 255 / var(--tw-bg-opacity))}.active\\:sl-text-danger-400:active{--tw-text-opacity: 1;color:rgb(156 19 19 / var(--tw-text-opacity))}.active\\:sl-text-info-400:active{--tw-text-opacity: 1;color:rgb(0 19 183 / var(--tw-text-opacity))}.disabled\\:sl-pointer-events-none:disabled{pointer-events:none}.disabled\\:sl-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:sl-border-primary-100:disabled{--tw-border-opacity: 1;border-color:rgb(242 242 252 / var(--tw-border-opacity))}.disabled\\:sl-border-transparent:disabled{border-color:transparent}.disabled\\:sl-bg-primary-100:disabled{--tw-bg-opacity: 1;background-color:rgb(242 242 252 / var(--tw-bg-opacity))}.disabled\\:sl-text-primary-500:disabled{--tw-text-opacity: 1;color:rgb(146 146 186 / var(--tw-text-opacity))}.disabled\\:sl-opacity-50:disabled{opacity:.5}.disabled\\:sl-shadow-none:disabled{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\\[disabled\\]\\:sl-pointer-events-none[data-disabled]{pointer-events:none}.data-\\[side\\=bottom\\]\\:sl-translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=left\\]\\:-sl-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=right\\]\\:sl-translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=top\\]\\:-sl-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=closed\\]\\:sl-transform-none[data-state=closed]{transform:none}.data-\\[side\\=bottom\\]\\:sl-animate-none[data-side=bottom],.data-\\[state\\=closed\\]\\:sl-animate-none[data-state=closed]{animation:none}.data-\\[state\\=open\\]\\:sl-bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\\[disabled\\]\\:sl-text-primary-500[data-disabled]{--tw-text-opacity: 1;color:rgb(146 146 186 / var(--tw-text-opacity))}.data-\\[disabled\\]\\:sl-opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=closed\\]\\:sl-transition-none[data-state=closed]{transition-property:none}.data-\\[state\\=open\\]\\:sl-animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\\[state\\=closed\\]\\:sl-animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:sl-fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=open\\]\\:sl-fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:sl-zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:sl-zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\\[side\\=bottom\\]\\:sl-slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:sl-slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:sl-slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:sl-slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.\\[\\&\\>span\\]\\:sl-line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgb(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgb(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color, var(--xy-background-color-props, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.draggable.dragging{cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow__edges{position:absolute}.react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:var(--font-sans),ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 240 10% 3.9%;--card: 0 0% 100%;--card-foreground: 240 10% 3.9%;--popover: 0 0% 100%;--popover-foreground: 240 10% 3.9%;--primary: 240 5.9% 10%;--primary-foreground: 0 0% 98%;--secondary: 240 4.8% 95.9%;--secondary-foreground: 240 5.9% 10%;--muted: 240 4.8% 95.9%;--muted-foreground: 240 3.8% 46.1%;--accent: 240 4.8% 95.9%;--accent-foreground: 240 5.9% 10%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border: 240 5.9% 90%;--input: 240 5.9% 90%;--ring: 240 5.9% 10%;--radius: .5rem}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground));font-feature-settings:"rlig" 1,"calt" 1}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.sl-pointer-events-none{pointer-events:none}.sl-pointer-events-auto{pointer-events:auto}.sl-fixed{position:fixed}.sl-absolute{position:absolute}.sl-relative{position:relative}.sl-sticky{position:sticky}.-sl-left-0{left:-0px}.-sl-left-0\\.5{left:-.125rem}.-sl-right-\\[3px\\]{right:-3px}.-sl-top-0{top:-0px}.-sl-top-0\\.5{top:-.125rem}.-sl-top-1{top:-.25rem}.-sl-top-4{top:-1rem}.sl-bottom-0{bottom:0}.sl-left-0{left:0}.sl-left-2{left:.5rem}.sl-left-2\\.5{left:.625rem}.sl-right-2{right:.5rem}.sl-right-2\\.5{right:.625rem}.sl-right-4{right:1rem}.sl-top-0{top:0}.sl-top-1\\/2{top:50%}.sl-top-2{top:.5rem}.sl-top-4{top:1rem}.sl-top-\\[58px\\]{top:58px}.sl-z-0{z-index:0}.sl-z-10{z-index:10}.sl-z-40{z-index:40}.sl-z-50{z-index:50}.sl-z-\\[100\\]{z-index:100}.-sl-mx-1{margin-left:-.25rem;margin-right:-.25rem}.sl-my-1{margin-top:.25rem;margin-bottom:.25rem}.sl-mb-2{margin-bottom:.5rem}.sl-ml-2{margin-left:.5rem}.sl-ml-auto{margin-left:auto}.sl-mr-1{margin-right:.25rem}.sl-mr-2{margin-right:.5rem}.sl-mt-0{margin-top:0}.sl-mt-0\\.5{margin-top:.125rem}.sl-mt-1{margin-top:.25rem}.sl-mt-\\[calc\\(28px\\+36px\\)\\]{margin-top:64px}.sl-line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.sl-line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sl-flex{display:flex}.sl-inline-flex{display:inline-flex}.sl-hidden{display:none}.\\!sl-h-\\[14px\\]{height:14px!important}.sl-h-10{height:2.5rem}.sl-h-3{height:.75rem}.sl-h-3\\.5{height:.875rem}.sl-h-4{height:1rem}.sl-h-5{height:1.25rem}.sl-h-7{height:1.75rem}.sl-h-8{height:2rem}.sl-h-9{height:2.25rem}.sl-h-\\[300px\\]{height:300px}.sl-h-\\[34px\\]{height:34px}.sl-h-\\[calc\\(100\\%-28px-28px\\)\\]{height:calc(100% - 56px)}.sl-h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.sl-h-fit{height:fit-content}.sl-h-full{height:100%}.sl-h-px{height:1px}.sl-h-screen{height:100vh}.sl-max-h-9{max-height:2.25rem}.sl-max-h-96{max-height:24rem}.sl-max-h-\\[80\\%\\]{max-height:80%}.sl-min-h-13{min-height:3.25rem}.sl-min-h-\\[24px\\]{min-height:24px}.\\!sl-w-\\[14px\\]{width:14px!important}.sl-w-1{width:.25rem}.sl-w-1\\.5{width:.375rem}.sl-w-1\\/2{width:50%}.sl-w-12{width:3rem}.sl-w-3{width:.75rem}.sl-w-3\\.5{width:.875rem}.sl-w-32{width:8rem}.sl-w-4{width:1rem}.sl-w-5{width:1.25rem}.sl-w-56{width:14rem}.sl-w-79{width:19.75rem}.sl-w-9{width:2.25rem}.sl-w-\\[1000px\\]{width:1000px}.sl-w-fit{width:fit-content}.sl-w-full{width:100%}.sl-w-screen{width:100vw}.sl-min-w-28{min-width:7rem}.sl-min-w-\\[400px\\]{min-width:400px}.sl-min-w-\\[8rem\\]{min-width:8rem}.sl-min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.sl-max-w-\\[220px\\]{max-width:220px}.sl-max-w-\\[240px\\]{max-width:240px}.sl-max-w-\\[80\\%\\]{max-width:80%}.sl-flex-shrink-0,.sl-shrink-0{flex-shrink:0}.-sl-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes sl-spin{to{transform:rotate(360deg)}}.sl-animate-spin{animation:sl-spin 1s linear infinite}.sl-cursor-col-resize{cursor:col-resize}.sl-cursor-default{cursor:default}.sl-cursor-not-allowed{cursor:not-allowed}.sl-cursor-pointer{cursor:pointer}.sl-select-none{user-select:none}.sl-resize-none{resize:none}.sl-flex-col{flex-direction:column}.sl-flex-wrap{flex-wrap:wrap}.sl-items-center{align-items:center}.sl-justify-start{justify-content:flex-start}.sl-justify-end{justify-content:flex-end}.sl-justify-center{justify-content:center}.sl-justify-between{justify-content:space-between}.sl-gap-1{gap:.25rem}.sl-gap-2{gap:.5rem}.sl-gap-4{gap:1rem}.sl-gap-x-2{column-gap:.5rem}.sl-gap-y-1{row-gap:.25rem}.sl-overflow-hidden{overflow:hidden}.sl-overflow-y-clip{overflow-y:clip}.sl-overflow-x-scroll{overflow-x:scroll}.sl-overflow-ellipsis{text-overflow:ellipsis}.sl-whitespace-nowrap{white-space:nowrap}.sl-text-wrap{text-wrap:wrap}.sl-break-words{overflow-wrap:break-word}.sl-break-all{word-break:break-all}.\\!sl-rounded-full{border-radius:9999px!important}.sl-rounded-full{border-radius:9999px}.sl-rounded-lg{border-radius:8px}.sl-rounded-md{border-radius:4px}.sl-rounded-none{border-radius:0}.sl-rounded-sm{border-radius:2px}.sl-rounded-r-md{border-top-right-radius:4px;border-bottom-right-radius:4px}.sl-rounded-t-lg{border-top-left-radius:8px;border-top-right-radius:8px}.\\!sl-border-2{border-width:2px!important}.sl-border{border-width:1px}.sl-border-b{border-bottom-width:1px}.sl-border-b-0{border-bottom-width:0px}.sl-border-l{border-left-width:1px}.sl-border-l-0{border-left-width:0px}.sl-border-r{border-right-width:1px}.sl-border-r-0{border-right-width:0px}.sl-border-t{border-top-width:1px}.sl-border-t-0{border-top-width:0px}.sl-border-none{border-style:none}.\\!sl-border-primary-700{--tw-border-opacity: 1 !important;border-color:rgb(71 71 114 / var(--tw-border-opacity))!important}.sl-border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.sl-border-danger-300{--tw-border-opacity: 1;border-color:rgb(211 48 48 / var(--tw-border-opacity))}.sl-border-info-100{--tw-border-opacity: 1;border-color:rgb(225 229 255 / var(--tw-border-opacity))}.sl-border-info-200{--tw-border-opacity: 1;border-color:rgb(99 115 255 / var(--tw-border-opacity))}.sl-border-info-300{--tw-border-opacity: 1;border-color:rgb(70 87 225 / var(--tw-border-opacity))}.sl-border-info-400{--tw-border-opacity: 1;border-color:rgb(0 19 183 / var(--tw-border-opacity))}.sl-border-input{border-color:hsl(var(--input))}.sl-border-primary-100{--tw-border-opacity: 1;border-color:rgb(242 242 252 / var(--tw-border-opacity))}.sl-border-primary-200{--tw-border-opacity: 1;border-color:rgb(220 220 237 / var(--tw-border-opacity))}.sl-border-primary-300{--tw-border-opacity: 1;border-color:rgb(193 193 217 / var(--tw-border-opacity))}.sl-border-primary-700{--tw-border-opacity: 1;border-color:rgb(71 71 114 / var(--tw-border-opacity))}.sl-border-success-300{--tw-border-opacity: 1;border-color:rgb(28 191 102 / var(--tw-border-opacity))}.sl-border-transparent{border-color:transparent}.sl-border-l-transparent{border-left-color:transparent}.sl-border-t-transparent{border-top-color:transparent}.\\!sl-bg-primary-700{--tw-bg-opacity: 1 !important;background-color:rgb(71 71 114 / var(--tw-bg-opacity))!important}.\\!sl-bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.sl-bg-background{background-color:hsl(var(--background))}.sl-bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.sl-bg-destructive{background-color:hsl(var(--destructive))}.sl-bg-info-100{--tw-bg-opacity: 1;background-color:rgb(225 229 255 / var(--tw-bg-opacity))}.sl-bg-info-300{--tw-bg-opacity: 1;background-color:rgb(70 87 225 / var(--tw-bg-opacity))}.sl-bg-info-50{--tw-bg-opacity: 1;background-color:rgb(244 246 255 / var(--tw-bg-opacity))}.sl-bg-muted{background-color:hsl(var(--muted))}.sl-bg-neutral-300{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}.sl-bg-neutral-400{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}.sl-bg-popover{background-color:hsl(var(--popover))}.sl-bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(242 242 252 / var(--tw-bg-opacity))}.sl-bg-primary-50{--tw-bg-opacity: 1;background-color:rgb(251 251 255 / var(--tw-bg-opacity))}.sl-bg-primary-900{--tw-bg-opacity: 1;background-color:rgb(31 31 62 / var(--tw-bg-opacity))}.sl-bg-secondary{background-color:hsl(var(--secondary))}.sl-bg-transparent{background-color:transparent}.sl-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.sl-bg-white\\/25{background-color:#ffffff40}.sl-fill-current{fill:currentColor}.sl-stroke-2{stroke-width:2}.sl-object-contain{object-fit:contain}.sl-p-1{padding:.25rem}.sl-p-2{padding:.5rem}.sl-p-4{padding:1rem}.sl-p-6{padding:1.5rem}.sl-px-2{padding-left:.5rem;padding-right:.5rem}.sl-px-3{padding-left:.75rem;padding-right:.75rem}.sl-px-4{padding-left:1rem;padding-right:1rem}.sl-px-7{padding-left:1.75rem;padding-right:1.75rem}.sl-px-8{padding-left:2rem;padding-right:2rem}.sl-py-1{padding-top:.25rem;padding-bottom:.25rem}.sl-py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.sl-py-2{padding-top:.5rem;padding-bottom:.5rem}.sl-py-6{padding-top:1.5rem;padding-bottom:1.5rem}.sl-pb-2{padding-bottom:.5rem}.sl-pb-\\[100\\%\\]{padding-bottom:100%}.sl-pl-1{padding-left:.25rem}.sl-pl-2{padding-left:.5rem}.sl-pl-3{padding-left:.75rem}.sl-pl-8{padding-left:2rem}.sl-pr-2{padding-right:.5rem}.sl-pr-3{padding-right:.75rem}.sl-pr-8{padding-right:2rem}.sl-pr-px{padding-right:1px}.sl-pt-2{padding-top:.5rem}.sl-text-left{text-align:left}.sl-text-lg{font-size:16px;line-height:20px}.sl-text-md{font-size:14px;line-height:18px}.sl-text-sm{font-size:12px;line-height:16px}.sl-text-xs{font-size:10px;line-height:14px}.sl-font-bold{font-weight:700}.sl-font-medium{font-weight:500}.sl-font-semibold{font-weight:600}.sl-tracking-widest{letter-spacing:.1em}.sl-text-current{color:currentColor}.sl-text-danger-300{--tw-text-opacity: 1;color:rgb(211 48 48 / var(--tw-text-opacity))}.sl-text-destructive-foreground{color:hsl(var(--destructive-foreground))}.sl-text-info-200{--tw-text-opacity: 1;color:rgb(99 115 255 / var(--tw-text-opacity))}.sl-text-info-300{--tw-text-opacity: 1;color:rgb(70 87 225 / var(--tw-text-opacity))}.sl-text-info-400{--tw-text-opacity: 1;color:rgb(0 19 183 / var(--tw-text-opacity))}.sl-text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}.sl-text-popover-foreground{color:hsl(var(--popover-foreground))}.sl-text-primary-400{--tw-text-opacity: 1;color:rgb(174 174 206 / var(--tw-text-opacity))}.sl-text-primary-500{--tw-text-opacity: 1;color:rgb(146 146 186 / var(--tw-text-opacity))}.sl-text-primary-600{--tw-text-opacity: 1;color:rgb(99 99 143 / var(--tw-text-opacity))}.sl-text-primary-700{--tw-text-opacity: 1;color:rgb(71 71 114 / var(--tw-text-opacity))}.sl-text-primary-800{--tw-text-opacity: 1;color:rgb(53 53 88 / var(--tw-text-opacity))}.sl-text-secondary-foreground{color:hsl(var(--secondary-foreground))}.sl-text-success-300{--tw-text-opacity: 1;color:rgb(28 191 102 / var(--tw-text-opacity))}.sl-text-success-400{--tw-text-opacity: 1;color:rgb(25 150 82 / var(--tw-text-opacity))}.sl-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.sl-underline{text-decoration-line:underline}.sl-underline-offset-4{text-underline-offset:4px}.sl-opacity-0{opacity:0}.sl-opacity-100{opacity:1}.sl-opacity-50{opacity:.5}.sl-opacity-60{opacity:.6}.sl-shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.sl-shadow-lg{--tw-shadow: 0px 8px 8px -4px rgba(16, 24, 40, .03), 0px 20px 24px -6px rgba(16, 24, 40, .08);--tw-shadow-colored: 0px 8px 8px -4px var(--tw-shadow-color), 0px 20px 24px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.sl-shadow-md{--tw-shadow: 0px 4px 6px -2px rgba(16, 24, 40, .03), 0px 12px 16px -4px rgba(16, 24, 40, .08);--tw-shadow-colored: 0px 4px 6px -2px var(--tw-shadow-color), 0px 12px 16px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.sl-shadow-sm{--tw-shadow: 0px 2px 4px -2px rgba(16, 24, 40, .06), 0px 4px 8px -2px rgba(16, 24, 40, .1);--tw-shadow-colored: 0px 2px 4px -2px var(--tw-shadow-color), 0px 4px 8px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.sl-outline-none{outline:2px solid transparent;outline-offset:2px}.sl-outline{outline-style:solid}.sl-outline-sky-100{outline-color:#e0f2fe}.sl-ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.sl-drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sl-backdrop-blur-sm{--tw-backdrop-blur: blur(4px);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.sl-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sl-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sl-ease-linear{transition-timing-function:linear}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.sl-animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.sl-fade-in-0{--tw-enter-opacity: 0}.sl-zoom-in-95{--tw-enter-scale: .95}.sl-ease-linear{animation-timing-function:linear}*{position:relative;font-family:Inter,sans-serif;font-weight:400}h1,h2,h3,h4,h5{font-family:SF Pro Display,sans-serif}.file\\:sl-border-transparent::file-selector-button{border-color:transparent}.file\\:sl-bg-transparent::file-selector-button{background-color:transparent}.file\\:sl-text-sm::file-selector-button{font-size:12px;line-height:16px}.file\\:sl-font-medium::file-selector-button{font-weight:500}.placeholder\\:sl-font-semibold::placeholder{font-weight:600}.placeholder\\:sl-text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.placeholder\\:sl-text-primary-600::placeholder{--tw-text-opacity: 1;color:rgb(99 99 143 / var(--tw-text-opacity))}.hover\\:sl-border-primary-500:hover{--tw-border-opacity: 1;border-color:rgb(146 146 186 / var(--tw-border-opacity))}.hover\\:sl-bg-accent:hover{background-color:hsl(var(--accent))}.hover\\:sl-bg-danger-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 246 246 / var(--tw-bg-opacity))}.hover\\:sl-bg-destructive\\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\\:sl-bg-info-50:hover{--tw-bg-opacity: 1;background-color:rgb(244 246 255 / var(--tw-bg-opacity))}.hover\\:sl-bg-secondary\\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\\:sl-text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\\:sl-text-danger-400:hover{--tw-text-opacity: 1;color:rgb(156 19 19 / var(--tw-text-opacity))}.hover\\:sl-text-info-400:hover{--tw-text-opacity: 1;color:rgb(0 19 183 / var(--tw-text-opacity))}.hover\\:sl-underline:hover{text-decoration-line:underline}.hover\\:sl-opacity-100:hover{opacity:1}.hover\\:sl-shadow-md:hover{--tw-shadow: 0px 4px 6px -2px rgba(16, 24, 40, .03), 0px 12px 16px -4px rgba(16, 24, 40, .08);--tw-shadow-colored: 0px 4px 6px -2px var(--tw-shadow-color), 0px 12px 16px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\\:sl-bg-accent:focus{background-color:hsl(var(--accent))}.focus\\:sl-text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\\:sl-text-primary-900:focus{--tw-text-opacity: 1;color:rgb(31 31 62 / var(--tw-text-opacity))}.focus\\:sl-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:sl-ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:sl-ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:sl-ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus-visible\\:sl-border-primary-700:focus-visible{--tw-border-opacity: 1;border-color:rgb(71 71 114 / var(--tw-border-opacity))}.focus-visible\\:sl-outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:sl-ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:sl-ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.active\\:sl-border-danger-400:active{--tw-border-opacity: 1;border-color:rgb(156 19 19 / var(--tw-border-opacity))}.active\\:sl-border-info-400:active{--tw-border-opacity: 1;border-color:rgb(0 19 183 / var(--tw-border-opacity))}.active\\:sl-bg-danger-50:active{--tw-bg-opacity: 1;background-color:rgb(255 246 246 / var(--tw-bg-opacity))}.active\\:sl-bg-info-50:active{--tw-bg-opacity: 1;background-color:rgb(244 246 255 / var(--tw-bg-opacity))}.active\\:sl-text-danger-400:active{--tw-text-opacity: 1;color:rgb(156 19 19 / var(--tw-text-opacity))}.active\\:sl-text-info-400:active{--tw-text-opacity: 1;color:rgb(0 19 183 / var(--tw-text-opacity))}.disabled\\:sl-pointer-events-none:disabled{pointer-events:none}.disabled\\:sl-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:sl-border-primary-100:disabled{--tw-border-opacity: 1;border-color:rgb(242 242 252 / var(--tw-border-opacity))}.disabled\\:sl-border-transparent:disabled{border-color:transparent}.disabled\\:sl-bg-primary-100:disabled{--tw-bg-opacity: 1;background-color:rgb(242 242 252 / var(--tw-bg-opacity))}.disabled\\:sl-text-primary-500:disabled{--tw-text-opacity: 1;color:rgb(146 146 186 / var(--tw-text-opacity))}.disabled\\:sl-opacity-50:disabled{opacity:.5}.disabled\\:sl-shadow-none:disabled{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\\[disabled\\]\\:sl-pointer-events-none[data-disabled]{pointer-events:none}.data-\\[side\\=bottom\\]\\:sl-translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=left\\]\\:-sl-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=right\\]\\:sl-translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=top\\]\\:-sl-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=closed\\]\\:sl-transform-none[data-state=closed]{transform:none}.data-\\[side\\=bottom\\]\\:sl-animate-none[data-side=bottom],.data-\\[state\\=closed\\]\\:sl-animate-none[data-state=closed]{animation:none}.data-\\[state\\=open\\]\\:sl-bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\\[disabled\\]\\:sl-text-primary-500[data-disabled]{--tw-text-opacity: 1;color:rgb(146 146 186 / var(--tw-text-opacity))}.data-\\[disabled\\]\\:sl-opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=closed\\]\\:sl-transition-none[data-state=closed]{transition-property:none}.data-\\[state\\=open\\]\\:sl-animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\\[state\\=closed\\]\\:sl-animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:sl-fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=open\\]\\:sl-fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:sl-zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:sl-zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\\[side\\=bottom\\]\\:sl-slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:sl-slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:sl-slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:sl-slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.\\[\\&\\>span\\]\\:sl-line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgb(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgb(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color, var(--xy-background-color-props, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.draggable.dragging{cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow__edges{position:absolute}.react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
import * as re from "react";
|
|
3
|
-
import Oe, { createContext as Et, useState as oe, useMemo as me, useCallback as Q, useEffect as J, useContext as mt, useRef as Y, useReducer as
|
|
3
|
+
import Oe, { createContext as Et, useState as oe, useMemo as me, useCallback as Q, useEffect as J, useContext as mt, useRef as Y, useReducer as Hl, forwardRef as ie, createElement as F, Children as Cn, isValidElement as So, cloneElement as Ki, Fragment as Fn, useLayoutEffect as Pr, useId as Zh, memo as Fe } from "react";
|
|
4
4
|
import * as qh from "react-dom";
|
|
5
|
-
import Qh, { flushSync as
|
|
5
|
+
import Qh, { flushSync as Wl, createPortal as Ui } from "react-dom";
|
|
6
6
|
function Jh(e) {
|
|
7
7
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
8
8
|
}
|
|
@@ -16,11 +16,11 @@ var li = { exports: {} }, tr = {};
|
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
18
|
*/
|
|
19
|
-
var
|
|
19
|
+
var Ha;
|
|
20
20
|
function ep() {
|
|
21
|
-
if (
|
|
21
|
+
if (Ha)
|
|
22
22
|
return tr;
|
|
23
|
-
|
|
23
|
+
Ha = 1;
|
|
24
24
|
var e = Oe, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
25
25
|
function i(a, c, l) {
|
|
26
26
|
var u, d = {}, f = null, h = null;
|
|
@@ -44,9 +44,9 @@ var nr = {};
|
|
|
44
44
|
* This source code is licensed under the MIT license found in the
|
|
45
45
|
* LICENSE file in the root directory of this source tree.
|
|
46
46
|
*/
|
|
47
|
-
var
|
|
47
|
+
var Wa;
|
|
48
48
|
function tp() {
|
|
49
|
-
return
|
|
49
|
+
return Wa || (Wa = 1, process.env.NODE_ENV !== "production" && function() {
|
|
50
50
|
var e = Oe, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), a = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator, m = "@@iterator";
|
|
51
51
|
function y(O) {
|
|
52
52
|
if (O === null || typeof O != "object")
|
|
@@ -640,7 +640,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
640
640
|
}
|
|
641
641
|
process.env.NODE_ENV === "production" ? li.exports = ep() : li.exports = tp();
|
|
642
642
|
var g = li.exports;
|
|
643
|
-
function
|
|
643
|
+
function Kl(e) {
|
|
644
644
|
var t, n, r = "";
|
|
645
645
|
if (typeof e == "string" || typeof e == "number")
|
|
646
646
|
r += e;
|
|
@@ -648,7 +648,7 @@ function Wl(e) {
|
|
|
648
648
|
if (Array.isArray(e)) {
|
|
649
649
|
var o = e.length;
|
|
650
650
|
for (t = 0; t < o; t++)
|
|
651
|
-
e[t] && (n =
|
|
651
|
+
e[t] && (n = Kl(e[t])) && (r && (r += " "), r += n);
|
|
652
652
|
} else
|
|
653
653
|
for (n in e)
|
|
654
654
|
e[n] && (r && (r += " "), r += n);
|
|
@@ -656,7 +656,7 @@ function Wl(e) {
|
|
|
656
656
|
}
|
|
657
657
|
function np() {
|
|
658
658
|
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++)
|
|
659
|
-
(e = arguments[n]) && (t =
|
|
659
|
+
(e = arguments[n]) && (t = Kl(e)) && (r && (r += " "), r += t);
|
|
660
660
|
return r;
|
|
661
661
|
}
|
|
662
662
|
const Yi = "-";
|
|
@@ -667,7 +667,7 @@ function rp(e) {
|
|
|
667
667
|
} = e;
|
|
668
668
|
function o(i) {
|
|
669
669
|
const a = i.split(Yi);
|
|
670
|
-
return a[0] === "" && a.length !== 1 && a.shift(),
|
|
670
|
+
return a[0] === "" && a.length !== 1 && a.shift(), Ul(a, t) || op(i);
|
|
671
671
|
}
|
|
672
672
|
function s(i, a) {
|
|
673
673
|
const c = n[i] || [];
|
|
@@ -678,10 +678,10 @@ function rp(e) {
|
|
|
678
678
|
getConflictingClassGroupIds: s
|
|
679
679
|
};
|
|
680
680
|
}
|
|
681
|
-
function
|
|
681
|
+
function Ul(e, t) {
|
|
682
682
|
if (e.length === 0)
|
|
683
683
|
return t.classGroupId;
|
|
684
|
-
const n = e[0], r = t.nextPart.get(n), o = r ?
|
|
684
|
+
const n = e[0], r = t.nextPart.get(n), o = r ? Ul(e.slice(1), r) : void 0;
|
|
685
685
|
if (o)
|
|
686
686
|
return o;
|
|
687
687
|
if (t.validators.length === 0)
|
|
@@ -691,10 +691,10 @@ function Kl(e, t) {
|
|
|
691
691
|
validator: i
|
|
692
692
|
}) => i(s))?.classGroupId;
|
|
693
693
|
}
|
|
694
|
-
const
|
|
694
|
+
const Ka = /^\[(.+)\]$/;
|
|
695
695
|
function op(e) {
|
|
696
|
-
if (
|
|
697
|
-
const t =
|
|
696
|
+
if (Ka.test(e)) {
|
|
697
|
+
const t = Ka.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
|
|
698
698
|
if (n)
|
|
699
699
|
return "arbitrary.." + n;
|
|
700
700
|
}
|
|
@@ -714,7 +714,7 @@ function sp(e) {
|
|
|
714
714
|
function ui(e, t, n, r) {
|
|
715
715
|
e.forEach((o) => {
|
|
716
716
|
if (typeof o == "string") {
|
|
717
|
-
const s = o === "" ? t :
|
|
717
|
+
const s = o === "" ? t : Ua(t, o);
|
|
718
718
|
s.classGroupId = n;
|
|
719
719
|
return;
|
|
720
720
|
}
|
|
@@ -730,11 +730,11 @@ function ui(e, t, n, r) {
|
|
|
730
730
|
return;
|
|
731
731
|
}
|
|
732
732
|
Object.entries(o).forEach(([s, i]) => {
|
|
733
|
-
ui(i,
|
|
733
|
+
ui(i, Ua(t, s), n, r);
|
|
734
734
|
});
|
|
735
735
|
});
|
|
736
736
|
}
|
|
737
|
-
function
|
|
737
|
+
function Ua(e, t) {
|
|
738
738
|
let n = e;
|
|
739
739
|
return t.split(Yi).forEach((r) => {
|
|
740
740
|
n.nextPart.has(r) || n.nextPart.set(r, {
|
|
@@ -777,7 +777,7 @@ function cp(e) {
|
|
|
777
777
|
}
|
|
778
778
|
};
|
|
779
779
|
}
|
|
780
|
-
const
|
|
780
|
+
const Yl = "!";
|
|
781
781
|
function lp(e) {
|
|
782
782
|
const t = e.separator, n = t.length === 1, r = t[0], o = t.length;
|
|
783
783
|
return function(i) {
|
|
@@ -797,7 +797,7 @@ function lp(e) {
|
|
|
797
797
|
}
|
|
798
798
|
y === "[" ? c++ : y === "]" && c--;
|
|
799
799
|
}
|
|
800
|
-
const d = a.length === 0 ? i : i.substring(l), f = d.startsWith(
|
|
800
|
+
const d = a.length === 0 ? i : i.substring(l), f = d.startsWith(Yl), h = f ? d.substring(1) : d, p = u && u > l ? u - l : void 0;
|
|
801
801
|
return {
|
|
802
802
|
modifiers: a,
|
|
803
803
|
hasImportantModifier: f,
|
|
@@ -853,7 +853,7 @@ function hp(e, t) {
|
|
|
853
853
|
const h = up(a).join(":");
|
|
854
854
|
return {
|
|
855
855
|
isTailwindClass: !0,
|
|
856
|
-
modifierId: c ? h +
|
|
856
|
+
modifierId: c ? h + Yl : h,
|
|
857
857
|
classGroupId: d,
|
|
858
858
|
originalClassName: i,
|
|
859
859
|
hasPostfixModifier: f
|
|
@@ -872,18 +872,18 @@ function hp(e, t) {
|
|
|
872
872
|
function pp() {
|
|
873
873
|
let e = 0, t, n, r = "";
|
|
874
874
|
for (; e < arguments.length; )
|
|
875
|
-
(t = arguments[e++]) && (n =
|
|
875
|
+
(t = arguments[e++]) && (n = Gl(t)) && (r && (r += " "), r += n);
|
|
876
876
|
return r;
|
|
877
877
|
}
|
|
878
|
-
function
|
|
878
|
+
function Gl(e) {
|
|
879
879
|
if (typeof e == "string")
|
|
880
880
|
return e;
|
|
881
881
|
let t, n = "";
|
|
882
882
|
for (let r = 0; r < e.length; r++)
|
|
883
|
-
e[r] && (t =
|
|
883
|
+
e[r] && (t = Gl(e[r])) && (n && (n += " "), n += t);
|
|
884
884
|
return n;
|
|
885
885
|
}
|
|
886
|
-
function
|
|
886
|
+
function Ya(e, ...t) {
|
|
887
887
|
let n, r, o, s = i;
|
|
888
888
|
function i(c) {
|
|
889
889
|
const l = t.reduce((u, d) => d(u), e());
|
|
@@ -904,7 +904,7 @@ function Ne(e) {
|
|
|
904
904
|
const t = (n) => n[e] || [];
|
|
905
905
|
return t.isThemeGetter = !0, t;
|
|
906
906
|
}
|
|
907
|
-
const
|
|
907
|
+
const Xl = /^\[(?:([a-z-]+):)?(.+)\]$/i, mp = /^\d+\/\d+$/, gp = /* @__PURE__ */ new Set(["px", "full", "screen"]), vp = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, yp = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, xp = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, wp = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, bp = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
908
908
|
function xt(e) {
|
|
909
909
|
return sn(e) || gp.has(e) || mp.test(e);
|
|
910
910
|
}
|
|
@@ -924,17 +924,17 @@ function Sp(e) {
|
|
|
924
924
|
return e.endsWith("%") && sn(e.slice(0, -1));
|
|
925
925
|
}
|
|
926
926
|
function ge(e) {
|
|
927
|
-
return
|
|
927
|
+
return Xl.test(e);
|
|
928
928
|
}
|
|
929
929
|
function jt(e) {
|
|
930
930
|
return vp.test(e);
|
|
931
931
|
}
|
|
932
932
|
const Cp = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
|
|
933
933
|
function $p(e) {
|
|
934
|
-
return Bn(e, Cp,
|
|
934
|
+
return Bn(e, Cp, Zl);
|
|
935
935
|
}
|
|
936
936
|
function _p(e) {
|
|
937
|
-
return Bn(e, "position",
|
|
937
|
+
return Bn(e, "position", Zl);
|
|
938
938
|
}
|
|
939
939
|
const Ep = /* @__PURE__ */ new Set(["image", "url"]);
|
|
940
940
|
function Np(e) {
|
|
@@ -947,13 +947,13 @@ function or() {
|
|
|
947
947
|
return !0;
|
|
948
948
|
}
|
|
949
949
|
function Bn(e, t, n) {
|
|
950
|
-
const r =
|
|
950
|
+
const r = Xl.exec(e);
|
|
951
951
|
return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
|
|
952
952
|
}
|
|
953
953
|
function Tp(e) {
|
|
954
954
|
return yp.test(e) && !xp.test(e);
|
|
955
955
|
}
|
|
956
|
-
function
|
|
956
|
+
function Zl() {
|
|
957
957
|
return !1;
|
|
958
958
|
}
|
|
959
959
|
function Pp(e) {
|
|
@@ -962,7 +962,7 @@ function Pp(e) {
|
|
|
962
962
|
function Op(e) {
|
|
963
963
|
return bp.test(e);
|
|
964
964
|
}
|
|
965
|
-
function
|
|
965
|
+
function Ga() {
|
|
966
966
|
const e = Ne("colors"), t = Ne("spacing"), n = Ne("blur"), r = Ne("brightness"), o = Ne("borderColor"), s = Ne("borderRadius"), i = Ne("borderSpacing"), a = Ne("borderWidth"), c = Ne("contrast"), l = Ne("grayscale"), u = Ne("hueRotate"), d = Ne("invert"), f = Ne("gap"), h = Ne("gradientColorStops"), p = Ne("gradientColorStopPositions"), m = Ne("inset"), y = Ne("margin"), v = Ne("opacity"), b = Ne("padding"), w = Ne("saturate"), x = Ne("scale"), E = Ne("sepia"), P = Ne("skew"), $ = Ne("space"), N = Ne("translate"), I = () => ["auto", "contain", "none"], R = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", ge, t], j = () => [ge, t], A = () => ["", xt, At], S = () => ["auto", sn, ge], T = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], _ = () => ["solid", "dashed", "dotted", "double", "none"], M = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], k = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], C = () => ["", "0", ge], D = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], V = () => [sn, Yr], B = () => [sn, ge];
|
|
967
967
|
return {
|
|
968
968
|
cacheSize: 500,
|
|
@@ -3008,7 +3008,7 @@ function kp(e, t) {
|
|
|
3008
3008
|
}
|
|
3009
3009
|
}
|
|
3010
3010
|
function Dp(e, ...t) {
|
|
3011
|
-
return typeof e == "function" ?
|
|
3011
|
+
return typeof e == "function" ? Ya(Ga, e, ...t) : Ya(() => Rp(Ga(), e), ...t);
|
|
3012
3012
|
}
|
|
3013
3013
|
const Ap = Dp({
|
|
3014
3014
|
prefix: "sl-"
|
|
@@ -3016,7 +3016,7 @@ const Ap = Dp({
|
|
|
3016
3016
|
function fe(...e) {
|
|
3017
3017
|
return Ap(np(e));
|
|
3018
3018
|
}
|
|
3019
|
-
function
|
|
3019
|
+
function ql(e, t = "600 12px Arial, Helvetica, sans-serif") {
|
|
3020
3020
|
const n = document.createElement("canvas"), r = n.getContext("2d");
|
|
3021
3021
|
if (r) {
|
|
3022
3022
|
r.font = t;
|
|
@@ -3025,23 +3025,23 @@ function Zl(e, t = "600 12px Arial, Helvetica, sans-serif") {
|
|
|
3025
3025
|
}
|
|
3026
3026
|
return 0;
|
|
3027
3027
|
}
|
|
3028
|
-
function
|
|
3028
|
+
function Ql(e) {
|
|
3029
3029
|
if (e <= 0)
|
|
3030
3030
|
return "";
|
|
3031
3031
|
const t = 65, n = (e - 1) % 26, r = Math.floor((e - 1) / 26);
|
|
3032
|
-
return
|
|
3032
|
+
return Ql(r) + String.fromCharCode(t + n);
|
|
3033
3033
|
}
|
|
3034
|
-
const Co = 1200, jp = 16,
|
|
3034
|
+
const Co = 1200, jp = 16, Xa = 8, Za = 16;
|
|
3035
3035
|
function qo(e, t) {
|
|
3036
3036
|
let n = e;
|
|
3037
3037
|
if (t) {
|
|
3038
3038
|
const { leftIcon: r = !0, paddingX: o = !0, rightIcon: s } = t;
|
|
3039
|
-
o && (n += jp), r && (n +=
|
|
3039
|
+
o && (n += jp), r && (n += Za + Xa), s && (n += Za + Xa);
|
|
3040
3040
|
}
|
|
3041
3041
|
return Math.ceil(n);
|
|
3042
3042
|
}
|
|
3043
3043
|
qo(160);
|
|
3044
|
-
const Tn = qo(480), Pn = qo(80), Lp = 36, lr = 26,
|
|
3044
|
+
const Tn = qo(480), Pn = qo(80), Lp = 36, lr = 26, Jl = [
|
|
3045
3045
|
"Decimal",
|
|
3046
3046
|
"Float",
|
|
3047
3047
|
"Integer",
|
|
@@ -3050,12 +3050,12 @@ const Tn = qo(480), Pn = qo(80), Lp = 36, lr = 26, Ql = [
|
|
|
3050
3050
|
];
|
|
3051
3051
|
function Vp(e) {
|
|
3052
3052
|
return e.map((t, n) => {
|
|
3053
|
-
const r =
|
|
3053
|
+
const r = ql(t.name) || 0;
|
|
3054
3054
|
let o = qo(r, { rightIcon: !0 }) + 1;
|
|
3055
3055
|
return o = o < Pn ? Pn : o, o > Tn && (o = Tn), {
|
|
3056
3056
|
...t,
|
|
3057
3057
|
id: `spreadsheet__column__id__${t.id || t.name}`,
|
|
3058
|
-
alphabetLetter:
|
|
3058
|
+
alphabetLetter: Ql(n + 1),
|
|
3059
3059
|
position: n,
|
|
3060
3060
|
state: {
|
|
3061
3061
|
...t.state,
|
|
@@ -3079,12 +3079,12 @@ function Fp(e) {
|
|
|
3079
3079
|
}
|
|
3080
3080
|
}
|
|
3081
3081
|
const Lt = ".", Vt = ",";
|
|
3082
|
-
function
|
|
3082
|
+
function qa(e) {
|
|
3083
3083
|
const { value: t = "", column: n } = e;
|
|
3084
3084
|
if (n) {
|
|
3085
3085
|
const { dataEditorType: r, settings: o } = n;
|
|
3086
3086
|
if (typeof t == "string" && r) {
|
|
3087
|
-
const s =
|
|
3087
|
+
const s = Jl.includes(r), i = r === "String", a = r === "Date", c = r === "Boolean";
|
|
3088
3088
|
if (i)
|
|
3089
3089
|
return t.length > Co ? t.substring(0, Co) : t;
|
|
3090
3090
|
if (a)
|
|
@@ -3165,7 +3165,7 @@ function Yp(e) {
|
|
|
3165
3165
|
return u;
|
|
3166
3166
|
}
|
|
3167
3167
|
let Ls;
|
|
3168
|
-
const
|
|
3168
|
+
const eu = Et(null);
|
|
3169
3169
|
function Gp(e) {
|
|
3170
3170
|
const {
|
|
3171
3171
|
children: t,
|
|
@@ -3188,7 +3188,7 @@ function Gp(e) {
|
|
|
3188
3188
|
if (f[C.column].state.readonly)
|
|
3189
3189
|
return;
|
|
3190
3190
|
const G = structuredClone(i);
|
|
3191
|
-
G[C.row][C.column] =
|
|
3191
|
+
G[C.row][C.column] = qa({
|
|
3192
3192
|
value: V,
|
|
3193
3193
|
column: f[C.column]
|
|
3194
3194
|
}), a(G), s?.(G);
|
|
@@ -3201,7 +3201,7 @@ function Gp(e) {
|
|
|
3201
3201
|
})
|
|
3202
3202
|
).map(
|
|
3203
3203
|
(Z) => Z.map(
|
|
3204
|
-
(G, ee) =>
|
|
3204
|
+
(G, ee) => qa({ value: G, column: f[ee] })
|
|
3205
3205
|
)
|
|
3206
3206
|
).map((Z) => Z.slice(0, n.length)), z = o ? te.slice(0, i.length) : te;
|
|
3207
3207
|
a(z), s?.(z);
|
|
@@ -3280,7 +3280,7 @@ function Gp(e) {
|
|
|
3280
3280
|
...structuredClone(i),
|
|
3281
3281
|
new Array(l).fill(null).map((D, V) => {
|
|
3282
3282
|
const { dataEditorType: B } = f[V];
|
|
3283
|
-
return
|
|
3283
|
+
return Jl.includes(B) ? 0 : B === "Boolean" ? !1 : "";
|
|
3284
3284
|
})
|
|
3285
3285
|
];
|
|
3286
3286
|
a(C), s?.(C), x();
|
|
@@ -3377,15 +3377,15 @@ function Gp(e) {
|
|
|
3377
3377
|
M
|
|
3378
3378
|
]
|
|
3379
3379
|
);
|
|
3380
|
-
return /* @__PURE__ */ g.jsx(
|
|
3380
|
+
return /* @__PURE__ */ g.jsx(eu.Provider, { value: k, children: t });
|
|
3381
3381
|
}
|
|
3382
3382
|
function gt() {
|
|
3383
|
-
const e = mt(
|
|
3383
|
+
const e = mt(eu);
|
|
3384
3384
|
if (!e)
|
|
3385
3385
|
throw new Error("useSpreadsheet has to be used within <SpreadsheetContext.Provider>");
|
|
3386
3386
|
return e;
|
|
3387
3387
|
}
|
|
3388
|
-
var
|
|
3388
|
+
var tu = function() {
|
|
3389
3389
|
if (typeof Map < "u")
|
|
3390
3390
|
return Map;
|
|
3391
3391
|
function e(t, n) {
|
|
@@ -3499,7 +3499,7 @@ var Qp = 20, Jp = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
3499
3499
|
return this.instance_ || (this.instance_ = new e()), this.instance_;
|
|
3500
3500
|
}, e.instance_ = null, e;
|
|
3501
3501
|
}()
|
|
3502
|
-
),
|
|
3502
|
+
), nu = function(e, t) {
|
|
3503
3503
|
for (var n = 0, r = Object.keys(t); n < r.length; n++) {
|
|
3504
3504
|
var o = r[n];
|
|
3505
3505
|
Object.defineProperty(e, o, {
|
|
@@ -3513,11 +3513,11 @@ var Qp = 20, Jp = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
3513
3513
|
}, On = function(e) {
|
|
3514
3514
|
var t = e && e.ownerDocument && e.ownerDocument.defaultView;
|
|
3515
3515
|
return t || $o;
|
|
3516
|
-
},
|
|
3516
|
+
}, ru = Qo(0, 0, 0, 0);
|
|
3517
3517
|
function _o(e) {
|
|
3518
3518
|
return parseFloat(e) || 0;
|
|
3519
3519
|
}
|
|
3520
|
-
function
|
|
3520
|
+
function Qa(e) {
|
|
3521
3521
|
for (var t = [], n = 1; n < arguments.length; n++)
|
|
3522
3522
|
t[n - 1] = arguments[n];
|
|
3523
3523
|
return t.reduce(function(r, o) {
|
|
@@ -3539,9 +3539,9 @@ function rm(e) {
|
|
|
3539
3539
|
function om(e) {
|
|
3540
3540
|
var t = e.clientWidth, n = e.clientHeight;
|
|
3541
3541
|
if (!t && !n)
|
|
3542
|
-
return
|
|
3542
|
+
return ru;
|
|
3543
3543
|
var r = On(e).getComputedStyle(e), o = nm(r), s = o.left + o.right, i = o.top + o.bottom, a = _o(r.width), c = _o(r.height);
|
|
3544
|
-
if (r.boxSizing === "border-box" && (Math.round(a + s) !== t && (a -=
|
|
3544
|
+
if (r.boxSizing === "border-box" && (Math.round(a + s) !== t && (a -= Qa(r, "left", "right") + s), Math.round(c + i) !== n && (c -= Qa(r, "top", "bottom") + i)), !im(e)) {
|
|
3545
3545
|
var l = Math.round(a + s) - t, u = Math.round(c + i) - n;
|
|
3546
3546
|
Math.abs(l) !== 1 && (a -= l), Math.abs(u) !== 1 && (c -= u);
|
|
3547
3547
|
}
|
|
@@ -3558,11 +3558,11 @@ function im(e) {
|
|
|
3558
3558
|
return e === On(e).document.documentElement;
|
|
3559
3559
|
}
|
|
3560
3560
|
function am(e) {
|
|
3561
|
-
return hi ? sm(e) ? rm(e) : om(e) :
|
|
3561
|
+
return hi ? sm(e) ? rm(e) : om(e) : ru;
|
|
3562
3562
|
}
|
|
3563
3563
|
function cm(e) {
|
|
3564
3564
|
var t = e.x, n = e.y, r = e.width, o = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, i = Object.create(s.prototype);
|
|
3565
|
-
return
|
|
3565
|
+
return nu(i, {
|
|
3566
3566
|
x: t,
|
|
3567
3567
|
y: n,
|
|
3568
3568
|
width: r,
|
|
@@ -3595,7 +3595,7 @@ var lm = (
|
|
|
3595
3595
|
/* @__PURE__ */ function() {
|
|
3596
3596
|
function e(t, n) {
|
|
3597
3597
|
var r = cm(n);
|
|
3598
|
-
|
|
3598
|
+
nu(this, { target: t, contentRect: r });
|
|
3599
3599
|
}
|
|
3600
3600
|
return e;
|
|
3601
3601
|
}()
|
|
@@ -3603,7 +3603,7 @@ var lm = (
|
|
|
3603
3603
|
/** @class */
|
|
3604
3604
|
function() {
|
|
3605
3605
|
function e(t, n, r) {
|
|
3606
|
-
if (this.activeObservations_ = [], this.observations_ = new
|
|
3606
|
+
if (this.activeObservations_ = [], this.observations_ = new tu(), typeof t != "function")
|
|
3607
3607
|
throw new TypeError("The callback provided as parameter 1 is not a function.");
|
|
3608
3608
|
this.callback_ = t, this.controller_ = n, this.callbackCtx_ = r;
|
|
3609
3609
|
}
|
|
@@ -3645,7 +3645,7 @@ var lm = (
|
|
|
3645
3645
|
return this.activeObservations_.length > 0;
|
|
3646
3646
|
}, e;
|
|
3647
3647
|
}()
|
|
3648
|
-
),
|
|
3648
|
+
), ou = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new tu(), su = (
|
|
3649
3649
|
/** @class */
|
|
3650
3650
|
/* @__PURE__ */ function() {
|
|
3651
3651
|
function e(t) {
|
|
@@ -3654,7 +3654,7 @@ var lm = (
|
|
|
3654
3654
|
if (!arguments.length)
|
|
3655
3655
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
3656
3656
|
var n = tm.getInstance(), r = new dm(t, n, this);
|
|
3657
|
-
|
|
3657
|
+
ou.set(this, r);
|
|
3658
3658
|
}
|
|
3659
3659
|
return e;
|
|
3660
3660
|
}()
|
|
@@ -3664,13 +3664,13 @@ var lm = (
|
|
|
3664
3664
|
"unobserve",
|
|
3665
3665
|
"disconnect"
|
|
3666
3666
|
].forEach(function(e) {
|
|
3667
|
-
|
|
3667
|
+
su.prototype[e] = function() {
|
|
3668
3668
|
var t;
|
|
3669
|
-
return (t =
|
|
3669
|
+
return (t = ou.get(this))[e].apply(t, arguments);
|
|
3670
3670
|
};
|
|
3671
3671
|
});
|
|
3672
3672
|
var fm = function() {
|
|
3673
|
-
return typeof $o.ResizeObserver < "u" ? $o.ResizeObserver :
|
|
3673
|
+
return typeof $o.ResizeObserver < "u" ? $o.ResizeObserver : su;
|
|
3674
3674
|
}();
|
|
3675
3675
|
function hm(e) {
|
|
3676
3676
|
const { children: t, className: n } = e, { size: r, setContainerDimensions: o } = gt(), s = Y(null);
|
|
@@ -3713,9 +3713,9 @@ function mm(e) {
|
|
|
3713
3713
|
}
|
|
3714
3714
|
var gm = function(e, t) {
|
|
3715
3715
|
return typeof t == "boolean" ? t : !e;
|
|
3716
|
-
},
|
|
3717
|
-
return
|
|
3718
|
-
}, vm = ["mousedown", "touchstart"],
|
|
3716
|
+
}, iu = function(e) {
|
|
3717
|
+
return Hl(gm, e);
|
|
3718
|
+
}, vm = ["mousedown", "touchstart"], au = function(e, t, n) {
|
|
3719
3719
|
n === void 0 && (n = vm);
|
|
3720
3720
|
var r = Y(t);
|
|
3721
3721
|
J(function() {
|
|
@@ -3738,9 +3738,9 @@ var gm = function(e, t) {
|
|
|
3738
3738
|
};
|
|
3739
3739
|
function ym(e) {
|
|
3740
3740
|
const { children: t, className: n } = e, { setPointsRange: r } = gt(), o = Y(null);
|
|
3741
|
-
return
|
|
3741
|
+
return au(o, () => r([])), /* @__PURE__ */ g.jsx("div", { ref: o, className: fe("", n), children: t });
|
|
3742
3742
|
}
|
|
3743
|
-
const
|
|
3743
|
+
const Ja = {
|
|
3744
3744
|
Matrix: hm,
|
|
3745
3745
|
Root: ym
|
|
3746
3746
|
};
|
|
@@ -3863,7 +3863,7 @@ var bm = ["color"], Zi = /* @__PURE__ */ ie(function(e, t) {
|
|
|
3863
3863
|
fillRule: "evenodd",
|
|
3864
3864
|
clipRule: "evenodd"
|
|
3865
3865
|
}));
|
|
3866
|
-
}), Sm = ["color"],
|
|
3866
|
+
}), Sm = ["color"], cu = /* @__PURE__ */ ie(function(e, t) {
|
|
3867
3867
|
var n = e.color, r = n === void 0 ? "currentColor" : n, o = tn(e, Sm);
|
|
3868
3868
|
return F("svg", Object.assign({
|
|
3869
3869
|
width: "15",
|
|
@@ -3980,7 +3980,7 @@ var bm = ["color"], Zi = /* @__PURE__ */ ie(function(e, t) {
|
|
|
3980
3980
|
* This source code is licensed under the ISC license.
|
|
3981
3981
|
* See the LICENSE file in the root directory of this source tree.
|
|
3982
3982
|
*/
|
|
3983
|
-
const Dm = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(),
|
|
3983
|
+
const Dm = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), lu = (...e) => e.filter((t, n, r) => !!t && r.indexOf(t) === n).join(" ");
|
|
3984
3984
|
/**
|
|
3985
3985
|
* @license lucide-react v0.376.0 - ISC
|
|
3986
3986
|
*
|
|
@@ -4023,7 +4023,7 @@ const jm = ie(
|
|
|
4023
4023
|
height: t,
|
|
4024
4024
|
stroke: e,
|
|
4025
4025
|
strokeWidth: r ? Number(n) * 24 / Number(t) : n,
|
|
4026
|
-
className:
|
|
4026
|
+
className: lu("lucide", o),
|
|
4027
4027
|
...a
|
|
4028
4028
|
},
|
|
4029
4029
|
[
|
|
@@ -4043,7 +4043,7 @@ const Le = (e, t) => {
|
|
|
4043
4043
|
({ className: r, ...o }, s) => F(jm, {
|
|
4044
4044
|
ref: s,
|
|
4045
4045
|
iconNode: t,
|
|
4046
|
-
className:
|
|
4046
|
+
className: lu(`lucide-${Dm(e)}`, r),
|
|
4047
4047
|
...o
|
|
4048
4048
|
})
|
|
4049
4049
|
);
|
|
@@ -4055,7 +4055,7 @@ const Le = (e, t) => {
|
|
|
4055
4055
|
* This source code is licensed under the ISC license.
|
|
4056
4056
|
* See the LICENSE file in the root directory of this source tree.
|
|
4057
4057
|
*/
|
|
4058
|
-
const
|
|
4058
|
+
const ec = Le("ArrowDownToLine", [
|
|
4059
4059
|
["path", { d: "M12 17V3", key: "1cwfxf" }],
|
|
4060
4060
|
["path", { d: "m6 11 6 6 6-6", key: "12ii2o" }],
|
|
4061
4061
|
["path", { d: "M19 21H5", key: "150jfl" }]
|
|
@@ -4140,7 +4140,7 @@ const Hm = Le("CopyCheck", [
|
|
|
4140
4140
|
* This source code is licensed under the ISC license.
|
|
4141
4141
|
* See the LICENSE file in the root directory of this source tree.
|
|
4142
4142
|
*/
|
|
4143
|
-
const
|
|
4143
|
+
const tc = Le("Divide", [
|
|
4144
4144
|
["circle", { cx: "12", cy: "6", r: "1", key: "1bh7o1" }],
|
|
4145
4145
|
["line", { x1: "5", x2: "19", y1: "12", y2: "12", key: "13b5wn" }],
|
|
4146
4146
|
["circle", { cx: "12", cy: "18", r: "1", key: "lqb9t5" }]
|
|
@@ -4198,7 +4198,7 @@ const Ym = Le("ListTodo", [
|
|
|
4198
4198
|
* This source code is licensed under the ISC license.
|
|
4199
4199
|
* See the LICENSE file in the root directory of this source tree.
|
|
4200
4200
|
*/
|
|
4201
|
-
const
|
|
4201
|
+
const uu = Le("LoaderCircle", [
|
|
4202
4202
|
["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
|
|
4203
4203
|
]);
|
|
4204
4204
|
/**
|
|
@@ -4263,7 +4263,7 @@ const Qm = Le("SquarePlus", [
|
|
|
4263
4263
|
* This source code is licensed under the ISC license.
|
|
4264
4264
|
* See the LICENSE file in the root directory of this source tree.
|
|
4265
4265
|
*/
|
|
4266
|
-
const
|
|
4266
|
+
const du = Le("Trash2", [
|
|
4267
4267
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
4268
4268
|
["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
|
|
4269
4269
|
["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
|
|
@@ -4276,7 +4276,7 @@ const uu = Le("Trash2", [
|
|
|
4276
4276
|
* This source code is licensed under the ISC license.
|
|
4277
4277
|
* See the LICENSE file in the root directory of this source tree.
|
|
4278
4278
|
*/
|
|
4279
|
-
const
|
|
4279
|
+
const qi = Le("X", [
|
|
4280
4280
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
4281
4281
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
4282
4282
|
]);
|
|
@@ -4469,7 +4469,7 @@ const rg = [
|
|
|
4469
4469
|
};
|
|
4470
4470
|
}, {});
|
|
4471
4471
|
function hu(e, t) {
|
|
4472
|
-
e &&
|
|
4472
|
+
e && Wl(
|
|
4473
4473
|
() => e.dispatchEvent(t)
|
|
4474
4474
|
);
|
|
4475
4475
|
}
|
|
@@ -4498,12 +4498,12 @@ function og(e, t = globalThis?.document) {
|
|
|
4498
4498
|
]);
|
|
4499
4499
|
}
|
|
4500
4500
|
const gi = "dismissableLayer.update", sg = "dismissableLayer.pointerDownOutside", ig = "dismissableLayer.focusOutside";
|
|
4501
|
-
let
|
|
4501
|
+
let nc;
|
|
4502
4502
|
const ag = /* @__PURE__ */ Et({
|
|
4503
4503
|
layers: /* @__PURE__ */ new Set(),
|
|
4504
4504
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
4505
4505
|
branches: /* @__PURE__ */ new Set()
|
|
4506
|
-
}),
|
|
4506
|
+
}), Qi = /* @__PURE__ */ ie((e, t) => {
|
|
4507
4507
|
var n;
|
|
4508
4508
|
const { disableOutsidePointerEvents: r = !1, onEscapeKeyDown: o, onPointerDownOutside: s, onFocusOutside: i, onInteractOutside: a, onDismiss: c, ...l } = e, u = mt(ag), [d, f] = oe(null), h = (n = d?.ownerDocument) !== null && n !== void 0 ? n : globalThis?.document, [, p] = oe({}), m = Me(
|
|
4509
4509
|
t,
|
|
@@ -4529,8 +4529,8 @@ const ag = /* @__PURE__ */ Et({
|
|
|
4529
4529
|
w === u.layers.size - 1 && (o?.(N), !N.defaultPrevented && c && (N.preventDefault(), c()));
|
|
4530
4530
|
}, h), J(() => {
|
|
4531
4531
|
if (d)
|
|
4532
|
-
return r && (u.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
4533
|
-
r && u.layersWithOutsidePointerEventsDisabled.size === 1 && (h.body.style.pointerEvents =
|
|
4532
|
+
return r && (u.layersWithOutsidePointerEventsDisabled.size === 0 && (nc = h.body.style.pointerEvents, h.body.style.pointerEvents = "none"), u.layersWithOutsidePointerEventsDisabled.add(d)), u.layers.add(d), rc(), () => {
|
|
4533
|
+
r && u.layersWithOutsidePointerEventsDisabled.size === 1 && (h.body.style.pointerEvents = nc);
|
|
4534
4534
|
};
|
|
4535
4535
|
}, [
|
|
4536
4536
|
d,
|
|
@@ -4538,7 +4538,7 @@ const ag = /* @__PURE__ */ Et({
|
|
|
4538
4538
|
r,
|
|
4539
4539
|
u
|
|
4540
4540
|
]), J(() => () => {
|
|
4541
|
-
d && (u.layers.delete(d), u.layersWithOutsidePointerEventsDisabled.delete(d),
|
|
4541
|
+
d && (u.layers.delete(d), u.layersWithOutsidePointerEventsDisabled.delete(d), rc());
|
|
4542
4542
|
}, [
|
|
4543
4543
|
d,
|
|
4544
4544
|
u
|
|
@@ -4609,7 +4609,7 @@ function lg(e, t = globalThis?.document) {
|
|
|
4609
4609
|
onBlurCapture: () => r.current = !1
|
|
4610
4610
|
};
|
|
4611
4611
|
}
|
|
4612
|
-
function
|
|
4612
|
+
function rc() {
|
|
4613
4613
|
const e = new CustomEvent(gi);
|
|
4614
4614
|
document.dispatchEvent(e);
|
|
4615
4615
|
}
|
|
@@ -4661,21 +4661,21 @@ function Mt(e) {
|
|
|
4661
4661
|
function zn(e) {
|
|
4662
4662
|
return e.split("-")[1];
|
|
4663
4663
|
}
|
|
4664
|
-
function
|
|
4664
|
+
function Ji(e) {
|
|
4665
4665
|
return e === "x" ? "y" : "x";
|
|
4666
4666
|
}
|
|
4667
|
-
function
|
|
4667
|
+
function ea(e) {
|
|
4668
4668
|
return e === "y" ? "height" : "width";
|
|
4669
4669
|
}
|
|
4670
4670
|
function Hn(e) {
|
|
4671
4671
|
return ["top", "bottom"].includes(Mt(e)) ? "y" : "x";
|
|
4672
4672
|
}
|
|
4673
|
-
function
|
|
4674
|
-
return
|
|
4673
|
+
function ta(e) {
|
|
4674
|
+
return Ji(Hn(e));
|
|
4675
4675
|
}
|
|
4676
4676
|
function mg(e, t, n) {
|
|
4677
4677
|
n === void 0 && (n = !1);
|
|
4678
|
-
const r = zn(e), o =
|
|
4678
|
+
const r = zn(e), o = ta(e), s = ea(o);
|
|
4679
4679
|
let i = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
4680
4680
|
return t.reference[s] > t.floating[s] && (i = No(i)), [i, No(i)];
|
|
4681
4681
|
}
|
|
@@ -4742,12 +4742,12 @@ function Mo(e) {
|
|
|
4742
4742
|
y: n
|
|
4743
4743
|
};
|
|
4744
4744
|
}
|
|
4745
|
-
function
|
|
4745
|
+
function oc(e, t, n) {
|
|
4746
4746
|
let {
|
|
4747
4747
|
reference: r,
|
|
4748
4748
|
floating: o
|
|
4749
4749
|
} = e;
|
|
4750
|
-
const s = Hn(t), i =
|
|
4750
|
+
const s = Hn(t), i = ta(t), a = ea(i), c = Mt(t), l = s === "y", u = r.x + r.width / 2 - o.width / 2, d = r.y + r.height / 2 - o.height / 2, f = r[a] / 2 - o[a] / 2;
|
|
4751
4751
|
let h;
|
|
4752
4752
|
switch (c) {
|
|
4753
4753
|
case "top":
|
|
@@ -4804,7 +4804,7 @@ const wg = async (e, t, n) => {
|
|
|
4804
4804
|
}), {
|
|
4805
4805
|
x: u,
|
|
4806
4806
|
y: d
|
|
4807
|
-
} =
|
|
4807
|
+
} = oc(l, r, c), f = r, h = {}, p = 0;
|
|
4808
4808
|
for (let m = 0; m < a.length; m++) {
|
|
4809
4809
|
const {
|
|
4810
4810
|
name: y,
|
|
@@ -4841,7 +4841,7 @@ const wg = async (e, t, n) => {
|
|
|
4841
4841
|
}) : E.rects), {
|
|
4842
4842
|
x: u,
|
|
4843
4843
|
y: d
|
|
4844
|
-
} =
|
|
4844
|
+
} = oc(l, f, c)), m = -1);
|
|
4845
4845
|
}
|
|
4846
4846
|
return {
|
|
4847
4847
|
x: u,
|
|
@@ -4917,7 +4917,7 @@ const bg = (e) => ({
|
|
|
4917
4917
|
const d = mu(u), f = {
|
|
4918
4918
|
x: n,
|
|
4919
4919
|
y: r
|
|
4920
|
-
}, h =
|
|
4920
|
+
}, h = ta(o), p = ea(h), m = await i.getDimensions(l), y = h === "y", v = y ? "top" : "left", b = y ? "bottom" : "right", w = y ? "clientHeight" : "clientWidth", x = s.reference[p] + s.reference[h] - f[h] - s.floating[p], E = f[h] - s.reference[h], P = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(l));
|
|
4921
4921
|
let $ = P ? P[w] : 0;
|
|
4922
4922
|
(!$ || !await (i.isElement == null ? void 0 : i.isElement(P))) && ($ = a.floating[w] || s.floating[p]);
|
|
4923
4923
|
const N = x / 2 - E / 2, I = $ / 2 - m[p] / 2 - 1, R = dt(d[v], I), L = dt(d[b], I), j = R, A = $ - m[p] - L, S = $ / 2 - m[p] / 2 + N, T = vi(j, S, A), _ = !c.arrow && zn(o) != null && S !== T && s.reference[p] / 2 - (S < j ? R : L) - m[p] / 2 < 0, M = _ ? S < j ? S - j : S - A : 0;
|
|
@@ -5005,7 +5005,7 @@ const bg = (e) => ({
|
|
|
5005
5005
|
}
|
|
5006
5006
|
};
|
|
5007
5007
|
};
|
|
5008
|
-
function
|
|
5008
|
+
function sc(e, t) {
|
|
5009
5009
|
return {
|
|
5010
5010
|
top: e.top - t.height,
|
|
5011
5011
|
right: e.right - t.width,
|
|
@@ -5013,7 +5013,7 @@ function oc(e, t) {
|
|
|
5013
5013
|
left: e.left - t.width
|
|
5014
5014
|
};
|
|
5015
5015
|
}
|
|
5016
|
-
function
|
|
5016
|
+
function ic(e) {
|
|
5017
5017
|
return fg.some((t) => e[t] >= 0);
|
|
5018
5018
|
}
|
|
5019
5019
|
const Cg = function(e) {
|
|
@@ -5032,11 +5032,11 @@ const Cg = function(e) {
|
|
|
5032
5032
|
const s = await fr(t, {
|
|
5033
5033
|
...o,
|
|
5034
5034
|
elementContext: "reference"
|
|
5035
|
-
}), i =
|
|
5035
|
+
}), i = sc(s, n.reference);
|
|
5036
5036
|
return {
|
|
5037
5037
|
data: {
|
|
5038
5038
|
referenceHiddenOffsets: i,
|
|
5039
|
-
referenceHidden:
|
|
5039
|
+
referenceHidden: ic(i)
|
|
5040
5040
|
}
|
|
5041
5041
|
};
|
|
5042
5042
|
}
|
|
@@ -5044,11 +5044,11 @@ const Cg = function(e) {
|
|
|
5044
5044
|
const s = await fr(t, {
|
|
5045
5045
|
...o,
|
|
5046
5046
|
altBoundary: !0
|
|
5047
|
-
}), i =
|
|
5047
|
+
}), i = sc(s, n.floating);
|
|
5048
5048
|
return {
|
|
5049
5049
|
data: {
|
|
5050
5050
|
escapedOffsets: i,
|
|
5051
|
-
escaped:
|
|
5051
|
+
escaped: ic(i)
|
|
5052
5052
|
}
|
|
5053
5053
|
};
|
|
5054
5054
|
}
|
|
@@ -5136,7 +5136,7 @@ const _g = function(e) {
|
|
|
5136
5136
|
} = Nt(e, t), l = {
|
|
5137
5137
|
x: n,
|
|
5138
5138
|
y: r
|
|
5139
|
-
}, u = await fr(t, c), d = Hn(Mt(o)), f =
|
|
5139
|
+
}, u = await fr(t, c), d = Hn(Mt(o)), f = Ji(d);
|
|
5140
5140
|
let h = l[f], p = l[d];
|
|
5141
5141
|
if (s) {
|
|
5142
5142
|
const y = f === "y" ? "top" : "left", v = f === "y" ? "bottom" : "right", b = h + u[y], w = h - u[v];
|
|
@@ -5177,7 +5177,7 @@ const _g = function(e) {
|
|
|
5177
5177
|
} = Nt(e, t), u = {
|
|
5178
5178
|
x: n,
|
|
5179
5179
|
y: r
|
|
5180
|
-
}, d = Hn(o), f =
|
|
5180
|
+
}, d = Hn(o), f = Ji(d);
|
|
5181
5181
|
let h = u[f], p = u[d];
|
|
5182
5182
|
const m = Nt(a, t), y = typeof m == "number" ? {
|
|
5183
5183
|
mainAxis: m,
|
|
@@ -5262,7 +5262,7 @@ function ht(e) {
|
|
|
5262
5262
|
function pt(e) {
|
|
5263
5263
|
return e instanceof HTMLElement || e instanceof Xe(e).HTMLElement;
|
|
5264
5264
|
}
|
|
5265
|
-
function
|
|
5265
|
+
function ac(e) {
|
|
5266
5266
|
return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Xe(e).ShadowRoot;
|
|
5267
5267
|
}
|
|
5268
5268
|
function Or(e) {
|
|
@@ -5277,20 +5277,20 @@ function Or(e) {
|
|
|
5277
5277
|
function Tg(e) {
|
|
5278
5278
|
return ["table", "td", "th"].includes(Wn(e));
|
|
5279
5279
|
}
|
|
5280
|
-
function
|
|
5281
|
-
const t =
|
|
5280
|
+
function na(e) {
|
|
5281
|
+
const t = ra(), n = st(e);
|
|
5282
5282
|
return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((r) => (n.willChange || "").includes(r)) || ["paint", "layout", "strict", "content"].some((r) => (n.contain || "").includes(r));
|
|
5283
5283
|
}
|
|
5284
5284
|
function Pg(e) {
|
|
5285
5285
|
let t = Jt(e);
|
|
5286
5286
|
for (; pt(t) && !kn(t); ) {
|
|
5287
|
-
if (
|
|
5287
|
+
if (na(t))
|
|
5288
5288
|
return t;
|
|
5289
5289
|
t = Jt(t);
|
|
5290
5290
|
}
|
|
5291
5291
|
return null;
|
|
5292
5292
|
}
|
|
5293
|
-
function
|
|
5293
|
+
function ra() {
|
|
5294
5294
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
5295
5295
|
}
|
|
5296
5296
|
function kn(e) {
|
|
@@ -5315,10 +5315,10 @@ function Jt(e) {
|
|
|
5315
5315
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
5316
5316
|
e.assignedSlot || // DOM Element detected.
|
|
5317
5317
|
e.parentNode || // ShadowRoot detected.
|
|
5318
|
-
|
|
5318
|
+
ac(e) && e.host || // Fallback.
|
|
5319
5319
|
Ot(e)
|
|
5320
5320
|
);
|
|
5321
|
-
return
|
|
5321
|
+
return ac(t) ? t.host : t;
|
|
5322
5322
|
}
|
|
5323
5323
|
function vu(e) {
|
|
5324
5324
|
const t = Jt(e);
|
|
@@ -5340,11 +5340,11 @@ function yu(e) {
|
|
|
5340
5340
|
$: a
|
|
5341
5341
|
};
|
|
5342
5342
|
}
|
|
5343
|
-
function
|
|
5343
|
+
function oa(e) {
|
|
5344
5344
|
return ht(e) ? e : e.contextElement;
|
|
5345
5345
|
}
|
|
5346
5346
|
function $n(e) {
|
|
5347
|
-
const t =
|
|
5347
|
+
const t = oa(e);
|
|
5348
5348
|
if (!pt(t))
|
|
5349
5349
|
return Qt(1);
|
|
5350
5350
|
const n = t.getBoundingClientRect(), {
|
|
@@ -5361,7 +5361,7 @@ function $n(e) {
|
|
|
5361
5361
|
const Og = /* @__PURE__ */ Qt(0);
|
|
5362
5362
|
function xu(e) {
|
|
5363
5363
|
const t = Xe(e);
|
|
5364
|
-
return !
|
|
5364
|
+
return !ra() || !t.visualViewport ? Og : {
|
|
5365
5365
|
x: t.visualViewport.offsetLeft,
|
|
5366
5366
|
y: t.visualViewport.offsetTop
|
|
5367
5367
|
};
|
|
@@ -5371,7 +5371,7 @@ function Rg(e, t, n) {
|
|
|
5371
5371
|
}
|
|
5372
5372
|
function un(e, t, n, r) {
|
|
5373
5373
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
5374
|
-
const o = e.getBoundingClientRect(), s =
|
|
5374
|
+
const o = e.getBoundingClientRect(), s = oa(e);
|
|
5375
5375
|
let i = Qt(1);
|
|
5376
5376
|
t && (r ? ht(r) && (i = $n(r)) : i = $n(e));
|
|
5377
5377
|
const a = Rg(s, n, r) ? xu(s) : Qt(0);
|
|
@@ -5392,7 +5392,7 @@ function un(e, t, n, r) {
|
|
|
5392
5392
|
});
|
|
5393
5393
|
}
|
|
5394
5394
|
const Ig = [":popover-open", ":modal"];
|
|
5395
|
-
function
|
|
5395
|
+
function sa(e) {
|
|
5396
5396
|
return Ig.some((t) => {
|
|
5397
5397
|
try {
|
|
5398
5398
|
return e.matches(t);
|
|
@@ -5408,7 +5408,7 @@ function kg(e) {
|
|
|
5408
5408
|
offsetParent: r,
|
|
5409
5409
|
strategy: o
|
|
5410
5410
|
} = e;
|
|
5411
|
-
const s = o === "fixed", i = Ot(r), a = t ?
|
|
5411
|
+
const s = o === "fixed", i = Ot(r), a = t ? sa(t.floating) : !1;
|
|
5412
5412
|
if (r === i || a && s)
|
|
5413
5413
|
return n;
|
|
5414
5414
|
let c = {
|
|
@@ -5449,7 +5449,7 @@ function jg(e, t) {
|
|
|
5449
5449
|
let s = r.clientWidth, i = r.clientHeight, a = 0, c = 0;
|
|
5450
5450
|
if (o) {
|
|
5451
5451
|
s = o.width, i = o.height;
|
|
5452
|
-
const l =
|
|
5452
|
+
const l = ra();
|
|
5453
5453
|
(!l || l && t === "fixed") && (a = o.offsetLeft, c = o.offsetTop);
|
|
5454
5454
|
}
|
|
5455
5455
|
return {
|
|
@@ -5468,7 +5468,7 @@ function Lg(e, t) {
|
|
|
5468
5468
|
y: l
|
|
5469
5469
|
};
|
|
5470
5470
|
}
|
|
5471
|
-
function
|
|
5471
|
+
function cc(e, t, n) {
|
|
5472
5472
|
let r;
|
|
5473
5473
|
if (t === "viewport")
|
|
5474
5474
|
r = jg(e, n);
|
|
@@ -5498,7 +5498,7 @@ function Vg(e, t) {
|
|
|
5498
5498
|
const s = st(e).position === "fixed";
|
|
5499
5499
|
let i = s ? Jt(e) : e;
|
|
5500
5500
|
for (; ht(i) && !kn(i); ) {
|
|
5501
|
-
const a = st(i), c =
|
|
5501
|
+
const a = st(i), c = na(i);
|
|
5502
5502
|
!c && a.position === "fixed" && (o = null), (s ? !c && !o : !c && a.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Or(i) && !c && bu(e, i)) ? r = r.filter((u) => u !== i) : o = a, i = Jt(i);
|
|
5503
5503
|
}
|
|
5504
5504
|
return t.set(e, r), r;
|
|
@@ -5510,10 +5510,10 @@ function Fg(e) {
|
|
|
5510
5510
|
rootBoundary: r,
|
|
5511
5511
|
strategy: o
|
|
5512
5512
|
} = e;
|
|
5513
|
-
const i = [...n === "clippingAncestors" ?
|
|
5514
|
-
const d =
|
|
5513
|
+
const i = [...n === "clippingAncestors" ? sa(t) ? [] : Vg(t, this._c) : [].concat(n), r], a = i[0], c = i.reduce((l, u) => {
|
|
5514
|
+
const d = cc(t, u, o);
|
|
5515
5515
|
return l.top = Ye(d.top, l.top), l.right = dt(d.right, l.right), l.bottom = dt(d.bottom, l.bottom), l.left = Ye(d.left, l.left), l;
|
|
5516
|
-
},
|
|
5516
|
+
}, cc(t, a, o));
|
|
5517
5517
|
return {
|
|
5518
5518
|
width: c.right - c.left,
|
|
5519
5519
|
height: c.bottom - c.top,
|
|
@@ -5555,12 +5555,12 @@ function zg(e, t, n) {
|
|
|
5555
5555
|
function Vs(e) {
|
|
5556
5556
|
return st(e).position === "static";
|
|
5557
5557
|
}
|
|
5558
|
-
function
|
|
5558
|
+
function lc(e, t) {
|
|
5559
5559
|
return !pt(e) || st(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
|
|
5560
5560
|
}
|
|
5561
5561
|
function Su(e, t) {
|
|
5562
5562
|
const n = Xe(e);
|
|
5563
|
-
if (
|
|
5563
|
+
if (sa(e))
|
|
5564
5564
|
return n;
|
|
5565
5565
|
if (!pt(e)) {
|
|
5566
5566
|
let o = Jt(e);
|
|
@@ -5571,10 +5571,10 @@ function Su(e, t) {
|
|
|
5571
5571
|
}
|
|
5572
5572
|
return n;
|
|
5573
5573
|
}
|
|
5574
|
-
let r =
|
|
5574
|
+
let r = lc(e, t);
|
|
5575
5575
|
for (; r && Tg(r) && Vs(r); )
|
|
5576
|
-
r =
|
|
5577
|
-
return r && kn(r) && Vs(r) && !
|
|
5576
|
+
r = lc(r, t);
|
|
5577
|
+
return r && kn(r) && Vs(r) && !na(r) ? n : r || Pg(e) || n;
|
|
5578
5578
|
}
|
|
5579
5579
|
const Hg = async function(e) {
|
|
5580
5580
|
const t = this.getOffsetParent || Su, n = this.getDimensions, r = await n(e.floating);
|
|
@@ -5657,7 +5657,7 @@ function Yg(e, t, n, r) {
|
|
|
5657
5657
|
elementResize: i = typeof ResizeObserver == "function",
|
|
5658
5658
|
layoutShift: a = typeof IntersectionObserver == "function",
|
|
5659
5659
|
animationFrame: c = !1
|
|
5660
|
-
} = r, l =
|
|
5660
|
+
} = r, l = oa(e), u = o || s ? [...l ? hr(l) : [], ...hr(t)] : [];
|
|
5661
5661
|
u.forEach((v) => {
|
|
5662
5662
|
o && v.addEventListener("scroll", n, {
|
|
5663
5663
|
passive: !0
|
|
@@ -5685,7 +5685,7 @@ function Yg(e, t, n, r) {
|
|
|
5685
5685
|
}), d?.(), (v = h) == null || v.disconnect(), h = null, c && cancelAnimationFrame(p);
|
|
5686
5686
|
};
|
|
5687
5687
|
}
|
|
5688
|
-
const Gg = _g, Xg = Eg, Zg = Sg, qg = Mg, Qg = Cg,
|
|
5688
|
+
const Gg = _g, Xg = Eg, Zg = Sg, qg = Mg, Qg = Cg, uc = bg, Jg = Ng, e0 = (e, t, n) => {
|
|
5689
5689
|
const r = /* @__PURE__ */ new Map(), o = {
|
|
5690
5690
|
platform: Kg,
|
|
5691
5691
|
...n
|
|
@@ -5733,11 +5733,11 @@ function To(e, t) {
|
|
|
5733
5733
|
function Cu(e) {
|
|
5734
5734
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
5735
5735
|
}
|
|
5736
|
-
function
|
|
5736
|
+
function dc(e, t) {
|
|
5737
5737
|
const n = Cu(e);
|
|
5738
5738
|
return Math.round(t * n) / n;
|
|
5739
5739
|
}
|
|
5740
|
-
function
|
|
5740
|
+
function fc(e) {
|
|
5741
5741
|
const t = re.useRef(e);
|
|
5742
5742
|
return po(() => {
|
|
5743
5743
|
t.current = e;
|
|
@@ -5770,7 +5770,7 @@ function t0(e) {
|
|
|
5770
5770
|
M !== P.current && (P.current = M, m(M));
|
|
5771
5771
|
}, []), w = re.useCallback((M) => {
|
|
5772
5772
|
M !== $.current && ($.current = M, v(M));
|
|
5773
|
-
}, []), x = s || p, E = i || y, P = re.useRef(null), $ = re.useRef(null), N = re.useRef(u), I = c != null, R =
|
|
5773
|
+
}, []), x = s || p, E = i || y, P = re.useRef(null), $ = re.useRef(null), N = re.useRef(u), I = c != null, R = fc(c), L = fc(o), j = re.useCallback(() => {
|
|
5774
5774
|
if (!P.current || !$.current)
|
|
5775
5775
|
return;
|
|
5776
5776
|
const M = {
|
|
@@ -5820,7 +5820,7 @@ function t0(e) {
|
|
|
5820
5820
|
};
|
|
5821
5821
|
if (!T.floating)
|
|
5822
5822
|
return M;
|
|
5823
|
-
const k =
|
|
5823
|
+
const k = dc(T.floating, u.x), C = dc(T.floating, u.y);
|
|
5824
5824
|
return a ? {
|
|
5825
5825
|
...M,
|
|
5826
5826
|
transform: "translate(" + k + "px, " + C + "px)",
|
|
@@ -5853,10 +5853,10 @@ const n0 = (e) => {
|
|
|
5853
5853
|
element: r,
|
|
5854
5854
|
padding: o
|
|
5855
5855
|
} = typeof e == "function" ? e(n) : e;
|
|
5856
|
-
return r && t(r) ? r.current != null ?
|
|
5856
|
+
return r && t(r) ? r.current != null ? uc({
|
|
5857
5857
|
element: r.current,
|
|
5858
5858
|
padding: o
|
|
5859
|
-
}).fn(n) : {} : r ?
|
|
5859
|
+
}).fn(n) : {} : r ? uc({
|
|
5860
5860
|
element: r,
|
|
5861
5861
|
padding: o
|
|
5862
5862
|
}).fn(n) : {};
|
|
@@ -6070,7 +6070,7 @@ function Mu(e) {
|
|
|
6070
6070
|
n
|
|
6071
6071
|
];
|
|
6072
6072
|
}
|
|
6073
|
-
const
|
|
6073
|
+
const ia = f0, aa = p0, ca = g0, Tu = /* @__PURE__ */ ie((e, t) => {
|
|
6074
6074
|
var n;
|
|
6075
6075
|
const { container: r = globalThis == null || (n = globalThis.document) === null || n === void 0 ? void 0 : n.body, ...o } = e;
|
|
6076
6076
|
return r ? /* @__PURE__ */ Qh.createPortal(/* @__PURE__ */ F(Te.div, se({}, o, {
|
|
@@ -6078,7 +6078,7 @@ const sa = f0, ia = p0, aa = g0, Tu = /* @__PURE__ */ ie((e, t) => {
|
|
|
6078
6078
|
})), r) : null;
|
|
6079
6079
|
});
|
|
6080
6080
|
function x0(e, t) {
|
|
6081
|
-
return
|
|
6081
|
+
return Hl((n, r) => {
|
|
6082
6082
|
const o = t[n][r];
|
|
6083
6083
|
return o ?? n;
|
|
6084
6084
|
}, e);
|
|
@@ -6124,7 +6124,7 @@ function w0(e) {
|
|
|
6124
6124
|
if (t) {
|
|
6125
6125
|
const l = (d) => {
|
|
6126
6126
|
const h = Xr(r.current).includes(d.animationName);
|
|
6127
|
-
d.target === t && h &&
|
|
6127
|
+
d.target === t && h && Wl(
|
|
6128
6128
|
() => c("ANIMATION_END")
|
|
6129
6129
|
);
|
|
6130
6130
|
}, u = (d) => {
|
|
@@ -6201,7 +6201,7 @@ const Pu = /* @__PURE__ */ ie((e, t) => /* @__PURE__ */ F(Te.span, se({}, e, {
|
|
|
6201
6201
|
}
|
|
6202
6202
|
}))), S0 = Pu, [ts, J_] = hn("Tooltip", [
|
|
6203
6203
|
Kn
|
|
6204
|
-
]),
|
|
6204
|
+
]), la = Kn(), C0 = "TooltipProvider", $0 = 700, xi = "tooltip.open", [_0, ua] = ts(C0), E0 = (e) => {
|
|
6205
6205
|
const { __scopeTooltip: t, delayDuration: n = $0, skipDelayDuration: r = 300, disableHoverableContent: o = !1, children: s } = e, [i, a] = oe(!0), c = Y(!1), l = Y(0);
|
|
6206
6206
|
return J(() => {
|
|
6207
6207
|
const u = l.current;
|
|
@@ -6227,8 +6227,8 @@ const Pu = /* @__PURE__ */ ie((e, t) => /* @__PURE__ */ F(Te.span, se({}, e, {
|
|
|
6227
6227
|
}, []),
|
|
6228
6228
|
disableHoverableContent: o
|
|
6229
6229
|
}, s);
|
|
6230
|
-
},
|
|
6231
|
-
const { __scopeTooltip: t, children: n, open: r, defaultOpen: o = !1, onOpenChange: s, disableHoverableContent: i, delayDuration: a } = e, c =
|
|
6230
|
+
}, da = "Tooltip", [N0, ns] = ts(da), M0 = (e) => {
|
|
6231
|
+
const { __scopeTooltip: t, children: n, open: r, defaultOpen: o = !1, onOpenChange: s, disableHoverableContent: i, delayDuration: a } = e, c = ua(da, e.__scopeTooltip), l = la(t), [u, d] = oe(null), f = In(), h = Y(0), p = i ?? c.disableHoverableContent, m = a ?? c.delayDuration, y = Y(!1), [v = !1, b] = pr({
|
|
6232
6232
|
prop: r,
|
|
6233
6233
|
defaultProp: o,
|
|
6234
6234
|
onChange: ($) => {
|
|
@@ -6252,7 +6252,7 @@ const Pu = /* @__PURE__ */ ie((e, t) => /* @__PURE__ */ F(Te.span, se({}, e, {
|
|
|
6252
6252
|
m,
|
|
6253
6253
|
b
|
|
6254
6254
|
]);
|
|
6255
|
-
return J(() => () => window.clearTimeout(h.current), []), /* @__PURE__ */ F(
|
|
6255
|
+
return J(() => () => window.clearTimeout(h.current), []), /* @__PURE__ */ F(ia, l, /* @__PURE__ */ F(N0, {
|
|
6256
6256
|
scope: t,
|
|
6257
6257
|
contentId: f,
|
|
6258
6258
|
open: v,
|
|
@@ -6276,14 +6276,14 @@ const Pu = /* @__PURE__ */ ie((e, t) => /* @__PURE__ */ F(Te.span, se({}, e, {
|
|
|
6276
6276
|
onClose: E,
|
|
6277
6277
|
disableHoverableContent: p
|
|
6278
6278
|
}, n));
|
|
6279
|
-
},
|
|
6280
|
-
const { __scopeTooltip: n, ...r } = e, o = ns(
|
|
6279
|
+
}, hc = "TooltipTrigger", T0 = /* @__PURE__ */ ie((e, t) => {
|
|
6280
|
+
const { __scopeTooltip: n, ...r } = e, o = ns(hc, n), s = ua(hc, n), i = la(n), a = Y(null), c = Me(t, a, o.onTriggerChange), l = Y(!1), u = Y(!1), d = Q(
|
|
6281
6281
|
() => l.current = !1,
|
|
6282
6282
|
[]
|
|
6283
6283
|
);
|
|
6284
6284
|
return J(() => () => document.removeEventListener("pointerup", d), [
|
|
6285
6285
|
d
|
|
6286
|
-
]), /* @__PURE__ */ F(
|
|
6286
|
+
]), /* @__PURE__ */ F(aa, se({
|
|
6287
6287
|
asChild: !0
|
|
6288
6288
|
}, i), /* @__PURE__ */ F(Te.button, se({
|
|
6289
6289
|
// We purposefully avoid adding `type=button` here because tooltip triggers are also
|
|
@@ -6325,7 +6325,7 @@ const Pu = /* @__PURE__ */ ie((e, t) => /* @__PURE__ */ F(Te.span, se({}, e, {
|
|
|
6325
6325
|
ref: t
|
|
6326
6326
|
})));
|
|
6327
6327
|
}), I0 = /* @__PURE__ */ ie((e, t) => {
|
|
6328
|
-
const n = ns(mr, e.__scopeTooltip), r =
|
|
6328
|
+
const n = ns(mr, e.__scopeTooltip), r = ua(mr, e.__scopeTooltip), o = Y(null), s = Me(t, o), [i, a] = oe(null), { trigger: c, onClose: l } = n, u = o.current, { onPointerInTransitChange: d } = r, f = Q(() => {
|
|
6329
6329
|
a(null), d(!1);
|
|
6330
6330
|
}, [
|
|
6331
6331
|
d
|
|
@@ -6375,10 +6375,10 @@ const Pu = /* @__PURE__ */ ie((e, t) => /* @__PURE__ */ F(Te.span, se({}, e, {
|
|
|
6375
6375
|
]), /* @__PURE__ */ F(Ou, se({}, e, {
|
|
6376
6376
|
ref: s
|
|
6377
6377
|
}));
|
|
6378
|
-
}), [k0, tE] = ts(
|
|
6378
|
+
}), [k0, tE] = ts(da, {
|
|
6379
6379
|
isInside: !1
|
|
6380
6380
|
}), Ou = /* @__PURE__ */ ie((e, t) => {
|
|
6381
|
-
const { __scopeTooltip: n, children: r, "aria-label": o, onEscapeKeyDown: s, onPointerDownOutside: i, ...a } = e, c = ns(mr, n), l =
|
|
6381
|
+
const { __scopeTooltip: n, children: r, "aria-label": o, onEscapeKeyDown: s, onPointerDownOutside: i, ...a } = e, c = ns(mr, n), l = la(n), { onClose: u } = c;
|
|
6382
6382
|
return J(() => (document.addEventListener(xi, u), () => document.removeEventListener(xi, u)), [
|
|
6383
6383
|
u
|
|
6384
6384
|
]), J(() => {
|
|
@@ -6396,14 +6396,14 @@ const Pu = /* @__PURE__ */ ie((e, t) => /* @__PURE__ */ F(Te.span, se({}, e, {
|
|
|
6396
6396
|
}, [
|
|
6397
6397
|
c.trigger,
|
|
6398
6398
|
u
|
|
6399
|
-
]), /* @__PURE__ */ F(
|
|
6399
|
+
]), /* @__PURE__ */ F(Qi, {
|
|
6400
6400
|
asChild: !0,
|
|
6401
6401
|
disableOutsidePointerEvents: !1,
|
|
6402
6402
|
onEscapeKeyDown: s,
|
|
6403
6403
|
onPointerDownOutside: i,
|
|
6404
6404
|
onFocusOutside: (d) => d.preventDefault(),
|
|
6405
6405
|
onDismiss: u
|
|
6406
|
-
}, /* @__PURE__ */ F(
|
|
6406
|
+
}, /* @__PURE__ */ F(ca, se({
|
|
6407
6407
|
"data-state": c.stateAttribute
|
|
6408
6408
|
}, l, a, {
|
|
6409
6409
|
ref: t,
|
|
@@ -6590,8 +6590,8 @@ function K0({ column: e, width: t, visible: n }) {
|
|
|
6590
6590
|
o === "Date" && /* @__PURE__ */ g.jsx(Vm, { className: "sl-h-4 sl-w-4" }),
|
|
6591
6591
|
o === "Boolean" && /* @__PURE__ */ g.jsx(Hm, { className: "sl-h-4 sl-w-4" }),
|
|
6592
6592
|
o === "Select" && /* @__PURE__ */ g.jsx(Ym, { className: "sl-h-4 sl-w-4" }),
|
|
6593
|
-
o === "Float" && /* @__PURE__ */ g.jsx(
|
|
6594
|
-
o === "Decimal" && /* @__PURE__ */ g.jsx(
|
|
6593
|
+
o === "Float" && /* @__PURE__ */ g.jsx(tc, { className: "sl-h-4 sl-w-4" }),
|
|
6594
|
+
o === "Decimal" && /* @__PURE__ */ g.jsx(tc, { className: "sl-h-4 sl-w-4" }),
|
|
6595
6595
|
o === "Integer" && /* @__PURE__ */ g.jsx(W0, { className: "sl-h-4 sl-w-4" }),
|
|
6596
6596
|
o === "Currency" && /* @__PURE__ */ g.jsx(Wm, { className: "sl-h-4 sl-w-4" }),
|
|
6597
6597
|
o === "Percentage" && /* @__PURE__ */ g.jsx(Gm, { className: "sl-h-4 sl-w-4" })
|
|
@@ -6659,10 +6659,10 @@ function Y0() {
|
|
|
6659
6659
|
] })
|
|
6660
6660
|
);
|
|
6661
6661
|
}
|
|
6662
|
-
function
|
|
6662
|
+
function pc(e, [t, n]) {
|
|
6663
6663
|
return Math.min(n, Math.max(t, e));
|
|
6664
6664
|
}
|
|
6665
|
-
function
|
|
6665
|
+
function fa(e) {
|
|
6666
6666
|
const t = e + "CollectionProvider", [n, r] = hn(t), [o, s] = n(t, {
|
|
6667
6667
|
collectionRef: {
|
|
6668
6668
|
current: null
|
|
@@ -6716,7 +6716,7 @@ function da(e) {
|
|
|
6716
6716
|
];
|
|
6717
6717
|
}
|
|
6718
6718
|
const G0 = /* @__PURE__ */ Et(void 0);
|
|
6719
|
-
function
|
|
6719
|
+
function ha(e) {
|
|
6720
6720
|
const t = mt(G0);
|
|
6721
6721
|
return e || t || "ltr";
|
|
6722
6722
|
}
|
|
@@ -6725,18 +6725,18 @@ function Iu() {
|
|
|
6725
6725
|
J(() => {
|
|
6726
6726
|
var e, t;
|
|
6727
6727
|
const n = document.querySelectorAll("[data-radix-focus-guard]");
|
|
6728
|
-
return document.body.insertAdjacentElement("afterbegin", (e = n[0]) !== null && e !== void 0 ? e :
|
|
6728
|
+
return document.body.insertAdjacentElement("afterbegin", (e = n[0]) !== null && e !== void 0 ? e : mc()), document.body.insertAdjacentElement("beforeend", (t = n[1]) !== null && t !== void 0 ? t : mc()), Fs++, () => {
|
|
6729
6729
|
Fs === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach(
|
|
6730
6730
|
(r) => r.remove()
|
|
6731
6731
|
), Fs--;
|
|
6732
6732
|
};
|
|
6733
6733
|
}, []);
|
|
6734
6734
|
}
|
|
6735
|
-
function
|
|
6735
|
+
function mc() {
|
|
6736
6736
|
const e = document.createElement("span");
|
|
6737
6737
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.cssText = "outline: none; opacity: 0; position: fixed; pointer-events: none", e;
|
|
6738
6738
|
}
|
|
6739
|
-
const Bs = "focusScope.autoFocusOnMount", zs = "focusScope.autoFocusOnUnmount",
|
|
6739
|
+
const Bs = "focusScope.autoFocusOnMount", zs = "focusScope.autoFocusOnUnmount", gc = {
|
|
6740
6740
|
bubbles: !1,
|
|
6741
6741
|
cancelable: !0
|
|
6742
6742
|
}, ku = /* @__PURE__ */ ie((e, t) => {
|
|
@@ -6788,20 +6788,20 @@ const Bs = "focusScope.autoFocusOnMount", zs = "focusScope.autoFocusOnUnmount",
|
|
|
6788
6788
|
h.paused
|
|
6789
6789
|
]), J(() => {
|
|
6790
6790
|
if (a) {
|
|
6791
|
-
|
|
6791
|
+
yc.add(h);
|
|
6792
6792
|
const m = document.activeElement;
|
|
6793
6793
|
if (!a.contains(m)) {
|
|
6794
|
-
const v = new CustomEvent(Bs,
|
|
6794
|
+
const v = new CustomEvent(Bs, gc);
|
|
6795
6795
|
a.addEventListener(Bs, l), a.dispatchEvent(v), v.defaultPrevented || (X0(ev(Du(a)), {
|
|
6796
6796
|
select: !0
|
|
6797
6797
|
}), document.activeElement === m && zt(a));
|
|
6798
6798
|
}
|
|
6799
6799
|
return () => {
|
|
6800
6800
|
a.removeEventListener(Bs, l), setTimeout(() => {
|
|
6801
|
-
const v = new CustomEvent(zs,
|
|
6801
|
+
const v = new CustomEvent(zs, gc);
|
|
6802
6802
|
a.addEventListener(zs, u), a.dispatchEvent(v), v.defaultPrevented || zt(m ?? document.body, {
|
|
6803
6803
|
select: !0
|
|
6804
|
-
}), a.removeEventListener(zs, u),
|
|
6804
|
+
}), a.removeEventListener(zs, u), yc.remove(h);
|
|
6805
6805
|
}, 0);
|
|
6806
6806
|
};
|
|
6807
6807
|
}
|
|
@@ -6844,7 +6844,7 @@ function X0(e, { select: t = !1 } = {}) {
|
|
|
6844
6844
|
return;
|
|
6845
6845
|
}
|
|
6846
6846
|
function Z0(e) {
|
|
6847
|
-
const t = Du(e), n =
|
|
6847
|
+
const t = Du(e), n = vc(t, e), r = vc(t.reverse(), e);
|
|
6848
6848
|
return [
|
|
6849
6849
|
n,
|
|
6850
6850
|
r
|
|
@@ -6861,7 +6861,7 @@ function Du(e) {
|
|
|
6861
6861
|
t.push(n.currentNode);
|
|
6862
6862
|
return t;
|
|
6863
6863
|
}
|
|
6864
|
-
function
|
|
6864
|
+
function vc(e, t) {
|
|
6865
6865
|
for (const n of e)
|
|
6866
6866
|
if (!q0(n, {
|
|
6867
6867
|
upTo: t
|
|
@@ -6891,21 +6891,21 @@ function zt(e, { select: t = !1 } = {}) {
|
|
|
6891
6891
|
}), e !== n && Q0(e) && t && e.select();
|
|
6892
6892
|
}
|
|
6893
6893
|
}
|
|
6894
|
-
const
|
|
6894
|
+
const yc = J0();
|
|
6895
6895
|
function J0() {
|
|
6896
6896
|
let e = [];
|
|
6897
6897
|
return {
|
|
6898
6898
|
add(t) {
|
|
6899
6899
|
const n = e[0];
|
|
6900
|
-
t !== n && n?.pause(), e =
|
|
6900
|
+
t !== n && n?.pause(), e = xc(e, t), e.unshift(t);
|
|
6901
6901
|
},
|
|
6902
6902
|
remove(t) {
|
|
6903
6903
|
var n;
|
|
6904
|
-
e =
|
|
6904
|
+
e = xc(e, t), (n = e[0]) === null || n === void 0 || n.resume();
|
|
6905
6905
|
}
|
|
6906
6906
|
};
|
|
6907
6907
|
}
|
|
6908
|
-
function
|
|
6908
|
+
function xc(e, t) {
|
|
6909
6909
|
const n = [
|
|
6910
6910
|
...e
|
|
6911
6911
|
], r = n.indexOf(t);
|
|
@@ -7023,7 +7023,7 @@ function lv(e, t) {
|
|
|
7023
7023
|
})[0];
|
|
7024
7024
|
return n.callback = t, n.facade;
|
|
7025
7025
|
}
|
|
7026
|
-
var uv = typeof window < "u" ? re.useLayoutEffect : re.useEffect,
|
|
7026
|
+
var uv = typeof window < "u" ? re.useLayoutEffect : re.useEffect, wc = /* @__PURE__ */ new WeakMap();
|
|
7027
7027
|
function dv(e, t) {
|
|
7028
7028
|
var n = lv(null, function(r) {
|
|
7029
7029
|
return e.forEach(function(o) {
|
|
@@ -7031,7 +7031,7 @@ function dv(e, t) {
|
|
|
7031
7031
|
});
|
|
7032
7032
|
});
|
|
7033
7033
|
return uv(function() {
|
|
7034
|
-
var r =
|
|
7034
|
+
var r = wc.get(n);
|
|
7035
7035
|
if (r) {
|
|
7036
7036
|
var o = new Set(r), s = new Set(e), i = n.current;
|
|
7037
7037
|
o.forEach(function(a) {
|
|
@@ -7040,7 +7040,7 @@ function dv(e, t) {
|
|
|
7040
7040
|
o.has(a) || Ws(a, i);
|
|
7041
7041
|
});
|
|
7042
7042
|
}
|
|
7043
|
-
|
|
7043
|
+
wc.set(n, e);
|
|
7044
7044
|
}, [e]), n;
|
|
7045
7045
|
}
|
|
7046
7046
|
var Io = function() {
|
|
@@ -7269,13 +7269,13 @@ var bv = function() {
|
|
|
7269
7269
|
`).concat(cv, ": ").concat(a, `px;
|
|
7270
7270
|
}
|
|
7271
7271
|
`);
|
|
7272
|
-
},
|
|
7272
|
+
}, bc = function() {
|
|
7273
7273
|
var e = parseInt(document.body.getAttribute(_n) || "0", 10);
|
|
7274
7274
|
return isFinite(e) ? e : 0;
|
|
7275
7275
|
}, Mv = function() {
|
|
7276
7276
|
re.useEffect(function() {
|
|
7277
|
-
return document.body.setAttribute(_n, (
|
|
7278
|
-
var e =
|
|
7277
|
+
return document.body.setAttribute(_n, (bc() + 1).toString()), function() {
|
|
7278
|
+
var e = bc() - 1;
|
|
7279
7279
|
e <= 0 ? document.body.removeAttribute(_n) : document.body.setAttribute(_n, e.toString());
|
|
7280
7280
|
};
|
|
7281
7281
|
}, []);
|
|
@@ -7311,7 +7311,7 @@ var xn = wi ? { passive: !1 } : !1, Pv = function(e) {
|
|
|
7311
7311
|
return Bu(e, "overflowY");
|
|
7312
7312
|
}, Rv = function(e) {
|
|
7313
7313
|
return Bu(e, "overflowX");
|
|
7314
|
-
},
|
|
7314
|
+
}, Sc = function(e, t) {
|
|
7315
7315
|
var n = t;
|
|
7316
7316
|
do {
|
|
7317
7317
|
typeof ShadowRoot < "u" && n instanceof ShadowRoot && (n = n.host);
|
|
@@ -7357,9 +7357,9 @@ var xn = wi ? { passive: !1 } : !1, Pv = function(e) {
|
|
|
7357
7357
|
return (u && (d === 0 || !o) || !u && (f === 0 || !o)) && (l = !0), l;
|
|
7358
7358
|
}, Jr = function(e) {
|
|
7359
7359
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
7360
|
-
}, Sc = function(e) {
|
|
7361
|
-
return [e.deltaX, e.deltaY];
|
|
7362
7360
|
}, Cc = function(e) {
|
|
7361
|
+
return [e.deltaX, e.deltaY];
|
|
7362
|
+
}, $c = function(e) {
|
|
7363
7363
|
return e && "current" in e ? e.current : e;
|
|
7364
7364
|
}, jv = function(e, t) {
|
|
7365
7365
|
return e[0] === t[0] && e[1] === t[1];
|
|
@@ -7378,7 +7378,7 @@ function Fv(e) {
|
|
|
7378
7378
|
}, [e]), re.useEffect(function() {
|
|
7379
7379
|
if (e.inert) {
|
|
7380
7380
|
document.body.classList.add("block-interactivity-".concat(o));
|
|
7381
|
-
var m = iv([e.lockRef.current], (e.shards || []).map(
|
|
7381
|
+
var m = iv([e.lockRef.current], (e.shards || []).map($c), !0).filter(Boolean);
|
|
7382
7382
|
return m.forEach(function(y) {
|
|
7383
7383
|
return y.classList.add("allow-interactivity-".concat(o));
|
|
7384
7384
|
}), function() {
|
|
@@ -7394,10 +7394,10 @@ function Fv(e) {
|
|
|
7394
7394
|
var v = Jr(m), b = n.current, w = "deltaX" in m ? m.deltaX : b[0] - v[0], x = "deltaY" in m ? m.deltaY : b[1] - v[1], E, P = m.target, $ = Math.abs(w) > Math.abs(x) ? "h" : "v";
|
|
7395
7395
|
if ("touches" in m && $ === "h" && P.type === "range")
|
|
7396
7396
|
return !1;
|
|
7397
|
-
var N =
|
|
7397
|
+
var N = Sc($, P);
|
|
7398
7398
|
if (!N)
|
|
7399
7399
|
return !0;
|
|
7400
|
-
if (N ? E = $ : (E = $ === "v" ? "h" : "v", N =
|
|
7400
|
+
if (N ? E = $ : (E = $ === "v" ? "h" : "v", N = Sc($, P)), !N)
|
|
7401
7401
|
return !1;
|
|
7402
7402
|
if (!r.current && "changedTouches" in m && (w || x) && (r.current = E), !E)
|
|
7403
7403
|
return !0;
|
|
@@ -7406,7 +7406,7 @@ function Fv(e) {
|
|
|
7406
7406
|
}, []), c = re.useCallback(function(m) {
|
|
7407
7407
|
var y = m;
|
|
7408
7408
|
if (!(!wn.length || wn[wn.length - 1] !== s)) {
|
|
7409
|
-
var v = "deltaY" in y ?
|
|
7409
|
+
var v = "deltaY" in y ? Cc(y) : Jr(y), b = t.current.filter(function(E) {
|
|
7410
7410
|
return E.name === y.type && E.target === y.target && jv(E.delta, v);
|
|
7411
7411
|
})[0];
|
|
7412
7412
|
if (b && b.should) {
|
|
@@ -7414,7 +7414,7 @@ function Fv(e) {
|
|
|
7414
7414
|
return;
|
|
7415
7415
|
}
|
|
7416
7416
|
if (!b) {
|
|
7417
|
-
var w = (i.current.shards || []).map(
|
|
7417
|
+
var w = (i.current.shards || []).map($c).filter(Boolean).filter(function(E) {
|
|
7418
7418
|
return E.contains(y.target);
|
|
7419
7419
|
}), x = w.length > 0 ? a(y, w[0]) : !i.current.noIsolation;
|
|
7420
7420
|
x && y.cancelable && y.preventDefault();
|
|
@@ -7430,7 +7430,7 @@ function Fv(e) {
|
|
|
7430
7430
|
}, []), u = re.useCallback(function(m) {
|
|
7431
7431
|
n.current = Jr(m), r.current = void 0;
|
|
7432
7432
|
}, []), d = re.useCallback(function(m) {
|
|
7433
|
-
l(m.type,
|
|
7433
|
+
l(m.type, Cc(m), m.target, a(m, e.lockRef.current));
|
|
7434
7434
|
}, []), f = re.useCallback(function(m) {
|
|
7435
7435
|
l(m.type, Jr(m), m.target, a(m, e.lockRef.current));
|
|
7436
7436
|
}, []);
|
|
@@ -7454,10 +7454,10 @@ function Fv(e) {
|
|
|
7454
7454
|
);
|
|
7455
7455
|
}
|
|
7456
7456
|
const Bv = gv(Vu, Fv);
|
|
7457
|
-
var
|
|
7457
|
+
var pa = re.forwardRef(function(e, t) {
|
|
7458
7458
|
return re.createElement(rs, Gt({}, e, { ref: t, sideCar: Bv }));
|
|
7459
7459
|
});
|
|
7460
|
-
|
|
7460
|
+
pa.classNames = rs.classNames;
|
|
7461
7461
|
const zv = [
|
|
7462
7462
|
" ",
|
|
7463
7463
|
"Enter",
|
|
@@ -7466,11 +7466,11 @@ const zv = [
|
|
|
7466
7466
|
], Hv = [
|
|
7467
7467
|
" ",
|
|
7468
7468
|
"Enter"
|
|
7469
|
-
], os = "Select", [ss, is, Wv] =
|
|
7469
|
+
], os = "Select", [ss, is, Wv] = fa(os), [Yn, nE] = hn(os, [
|
|
7470
7470
|
Wv,
|
|
7471
7471
|
Kn
|
|
7472
|
-
]),
|
|
7473
|
-
const { __scopeSelect: t, children: n, open: r, defaultOpen: o, onOpenChange: s, value: i, defaultValue: a, onValueChange: c, dir: l, name: u, autoComplete: d, disabled: f, required: h } = e, p =
|
|
7472
|
+
]), ma = Kn(), [Kv, pn] = Yn(os), [Uv, Yv] = Yn(os), Gv = (e) => {
|
|
7473
|
+
const { __scopeSelect: t, children: n, open: r, defaultOpen: o, onOpenChange: s, value: i, defaultValue: a, onValueChange: c, dir: l, name: u, autoComplete: d, disabled: f, required: h } = e, p = ma(t), [m, y] = oe(null), [v, b] = oe(null), [w, x] = oe(!1), E = ha(l), [P = !1, $] = pr({
|
|
7474
7474
|
prop: r,
|
|
7475
7475
|
defaultProp: o,
|
|
7476
7476
|
onChange: s
|
|
@@ -7481,7 +7481,7 @@ const zv = [
|
|
|
7481
7481
|
}), R = Y(null), L = m ? !!m.closest("form") : !0, [j, A] = oe(/* @__PURE__ */ new Set()), S = Array.from(j).map(
|
|
7482
7482
|
(T) => T.props.value
|
|
7483
7483
|
).join(";");
|
|
7484
|
-
return /* @__PURE__ */ F(
|
|
7484
|
+
return /* @__PURE__ */ F(ia, p, /* @__PURE__ */ F(Kv, {
|
|
7485
7485
|
required: h,
|
|
7486
7486
|
scope: t,
|
|
7487
7487
|
trigger: m,
|
|
@@ -7527,7 +7527,7 @@ const zv = [
|
|
|
7527
7527
|
value: ""
|
|
7528
7528
|
}) : null, Array.from(j)) : null));
|
|
7529
7529
|
}, Xv = "SelectTrigger", Zv = /* @__PURE__ */ ie((e, t) => {
|
|
7530
|
-
const { __scopeSelect: n, disabled: r = !1, ...o } = e, s =
|
|
7530
|
+
const { __scopeSelect: n, disabled: r = !1, ...o } = e, s = ma(n), i = pn(Xv, n), a = i.disabled || r, c = Me(t, i.onTriggerChange), l = is(n), [u, d, f] = Xu((p) => {
|
|
7531
7531
|
const m = l().filter(
|
|
7532
7532
|
(b) => !b.disabled
|
|
7533
7533
|
), y = m.find(
|
|
@@ -7537,7 +7537,7 @@ const zv = [
|
|
|
7537
7537
|
}), h = () => {
|
|
7538
7538
|
a || (i.onOpenChange(!0), f());
|
|
7539
7539
|
};
|
|
7540
|
-
return /* @__PURE__ */ F(
|
|
7540
|
+
return /* @__PURE__ */ F(aa, se({
|
|
7541
7541
|
asChild: !0
|
|
7542
7542
|
}, s), /* @__PURE__ */ F(Te.button, se({
|
|
7543
7543
|
type: "button",
|
|
@@ -7724,7 +7724,7 @@ const zv = [
|
|
|
7724
7724
|
(b.value !== void 0 && b.value === Z || ee) && L(z);
|
|
7725
7725
|
}, [
|
|
7726
7726
|
b.value
|
|
7727
|
-
]), X = r === "popper" ?
|
|
7727
|
+
]), X = r === "popper" ? _c : ry, te = X === _c ? {
|
|
7728
7728
|
side: a,
|
|
7729
7729
|
sideOffset: c,
|
|
7730
7730
|
align: l,
|
|
@@ -7750,7 +7750,7 @@ const zv = [
|
|
|
7750
7750
|
position: r,
|
|
7751
7751
|
isPositioned: A,
|
|
7752
7752
|
searchRef: D
|
|
7753
|
-
}, /* @__PURE__ */ F(
|
|
7753
|
+
}, /* @__PURE__ */ F(pa, {
|
|
7754
7754
|
as: Rn,
|
|
7755
7755
|
allowPinchZoom: !0
|
|
7756
7756
|
}, /* @__PURE__ */ F(ku, {
|
|
@@ -7765,7 +7765,7 @@ const zv = [
|
|
|
7765
7765
|
preventScroll: !0
|
|
7766
7766
|
}), z.preventDefault();
|
|
7767
7767
|
})
|
|
7768
|
-
}, /* @__PURE__ */ F(
|
|
7768
|
+
}, /* @__PURE__ */ F(Qi, {
|
|
7769
7769
|
asChild: !0,
|
|
7770
7770
|
disableOutsidePointerEvents: !0,
|
|
7771
7771
|
onEscapeKeyDown: s,
|
|
@@ -7826,13 +7826,13 @@ const zv = [
|
|
|
7826
7826
|
if (s.trigger && s.valueNode && a && l && m && y && v) {
|
|
7827
7827
|
const $ = s.trigger.getBoundingClientRect(), N = l.getBoundingClientRect(), I = s.valueNode.getBoundingClientRect(), R = v.getBoundingClientRect();
|
|
7828
7828
|
if (s.dir !== "rtl") {
|
|
7829
|
-
const ce = R.left - N.left, U = I.left - ce, de = $.left - U, ve = $.width + de, q = Math.max(ve, N.width), ae = window.innerWidth - Ct, pe =
|
|
7829
|
+
const ce = R.left - N.left, U = I.left - ce, de = $.left - U, ve = $.width + de, q = Math.max(ve, N.width), ae = window.innerWidth - Ct, pe = pc(U, [
|
|
7830
7830
|
Ct,
|
|
7831
7831
|
ae - q
|
|
7832
7832
|
]);
|
|
7833
7833
|
a.style.minWidth = ve + "px", a.style.left = pe + "px";
|
|
7834
7834
|
} else {
|
|
7835
|
-
const ce = N.right - R.right, U = window.innerWidth - I.right - ce, de = window.innerWidth - $.right - U, ve = $.width + de, q = Math.max(ve, N.width), ae = window.innerWidth - Ct, pe =
|
|
7835
|
+
const ce = N.right - R.right, U = window.innerWidth - I.right - ce, de = window.innerWidth - $.right - U, ve = $.width + de, q = Math.max(ve, N.width), ae = window.innerWidth - Ct, pe = pc(U, [
|
|
7836
7836
|
Ct,
|
|
7837
7837
|
ae - q
|
|
7838
7838
|
]);
|
|
@@ -7908,9 +7908,9 @@ const zv = [
|
|
|
7908
7908
|
...o.style
|
|
7909
7909
|
}
|
|
7910
7910
|
}))));
|
|
7911
|
-
}),
|
|
7912
|
-
const { __scopeSelect: n, align: r = "start", collisionPadding: o = Ct, ...s } = e, i =
|
|
7913
|
-
return /* @__PURE__ */ F(
|
|
7911
|
+
}), _c = /* @__PURE__ */ ie((e, t) => {
|
|
7912
|
+
const { __scopeSelect: n, align: r = "start", collisionPadding: o = Ct, ...s } = e, i = ma(n);
|
|
7913
|
+
return /* @__PURE__ */ F(ca, se({}, i, s, {
|
|
7914
7914
|
ref: t,
|
|
7915
7915
|
align: r,
|
|
7916
7916
|
collisionPadding: o,
|
|
@@ -7925,8 +7925,8 @@ const zv = [
|
|
|
7925
7925
|
"--radix-select-trigger-height": "var(--radix-popper-anchor-height)"
|
|
7926
7926
|
}
|
|
7927
7927
|
}));
|
|
7928
|
-
}), [oy,
|
|
7929
|
-
const { __scopeSelect: n, ...r } = e, o = mn(
|
|
7928
|
+
}), [oy, ga] = Yn(Dn, {}), Ec = "SelectViewport", sy = /* @__PURE__ */ ie((e, t) => {
|
|
7929
|
+
const { __scopeSelect: n, ...r } = e, o = mn(Ec, n), s = ga(Ec, n), i = Me(t, o.onViewportChange), a = Y(0);
|
|
7930
7930
|
return /* @__PURE__ */ F(Fn, null, /* @__PURE__ */ F("style", {
|
|
7931
7931
|
dangerouslySetInnerHTML: {
|
|
7932
7932
|
__html: "[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"
|
|
@@ -8072,8 +8072,8 @@ const zv = [
|
|
|
8072
8072
|
}, r, {
|
|
8073
8073
|
ref: t
|
|
8074
8074
|
})) : null;
|
|
8075
|
-
}),
|
|
8076
|
-
const n = mn(
|
|
8075
|
+
}), Nc = "SelectScrollUpButton", my = /* @__PURE__ */ ie((e, t) => {
|
|
8076
|
+
const n = mn(Nc, e.__scopeSelect), r = ga(Nc, e.__scopeSelect), [o, s] = oe(!1), i = Me(t, r.onScrollButtonChange);
|
|
8077
8077
|
return Ke(() => {
|
|
8078
8078
|
if (n.viewport && n.isPositioned) {
|
|
8079
8079
|
let c = function() {
|
|
@@ -8093,8 +8093,8 @@ const zv = [
|
|
|
8093
8093
|
a && c && (a.scrollTop = a.scrollTop - c.offsetHeight);
|
|
8094
8094
|
}
|
|
8095
8095
|
})) : null;
|
|
8096
|
-
}),
|
|
8097
|
-
const n = mn(
|
|
8096
|
+
}), Mc = "SelectScrollDownButton", gy = /* @__PURE__ */ ie((e, t) => {
|
|
8097
|
+
const n = mn(Mc, e.__scopeSelect), r = ga(Mc, e.__scopeSelect), [o, s] = oe(!1), i = Me(t, r.onScrollButtonChange);
|
|
8098
8098
|
return Ke(() => {
|
|
8099
8099
|
if (n.viewport && n.isPositioned) {
|
|
8100
8100
|
let c = function() {
|
|
@@ -8219,7 +8219,7 @@ function yy(e, t) {
|
|
|
8219
8219
|
(n, r) => e[(t + r) % e.length]
|
|
8220
8220
|
);
|
|
8221
8221
|
}
|
|
8222
|
-
const xy = Gv, qu = Zv, wy = Qv, by = Jv, Sy = ey, Qu = ty, Cy = sy, Ju = ly, ed = dy, $y = fy, _y = py, td = my, nd = gy, rd = vy, od = xy, sd = wy,
|
|
8222
|
+
const xy = Gv, qu = Zv, wy = Qv, by = Jv, Sy = ey, Qu = ty, Cy = sy, Ju = ly, ed = dy, $y = fy, _y = py, td = my, nd = gy, rd = vy, od = xy, sd = wy, va = re.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ g.jsxs(
|
|
8223
8223
|
qu,
|
|
8224
8224
|
{
|
|
8225
8225
|
ref: r,
|
|
@@ -8234,7 +8234,7 @@ const xy = Gv, qu = Zv, wy = Qv, by = Jv, Sy = ey, Qu = ty, Cy = sy, Ju = ly, ed
|
|
|
8234
8234
|
]
|
|
8235
8235
|
}
|
|
8236
8236
|
));
|
|
8237
|
-
|
|
8237
|
+
va.displayName = qu.displayName;
|
|
8238
8238
|
const id = re.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
8239
8239
|
td,
|
|
8240
8240
|
{
|
|
@@ -8255,7 +8255,7 @@ const ad = re.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
|
8255
8255
|
}
|
|
8256
8256
|
));
|
|
8257
8257
|
ad.displayName = nd.displayName;
|
|
8258
|
-
const
|
|
8258
|
+
const ya = re.forwardRef(({ className: e, children: t, position: n = "popper", ...r }, o) => /* @__PURE__ */ g.jsx(Sy, { children: /* @__PURE__ */ g.jsxs(
|
|
8259
8259
|
Qu,
|
|
8260
8260
|
{
|
|
8261
8261
|
ref: o,
|
|
@@ -8282,7 +8282,7 @@ const va = re.forwardRef(({ className: e, children: t, position: n = "popper", .
|
|
|
8282
8282
|
]
|
|
8283
8283
|
}
|
|
8284
8284
|
) }));
|
|
8285
|
-
|
|
8285
|
+
ya.displayName = Qu.displayName;
|
|
8286
8286
|
const Ey = re.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
8287
8287
|
Ju,
|
|
8288
8288
|
{
|
|
@@ -8302,7 +8302,7 @@ const ko = re.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE_
|
|
|
8302
8302
|
),
|
|
8303
8303
|
...n,
|
|
8304
8304
|
children: [
|
|
8305
|
-
/* @__PURE__ */ g.jsx("span", { className: "sl-absolute sl-right-2 sl-flex sl-h-3.5 sl-w-3.5 sl-items-center sl-justify-center", children: /* @__PURE__ */ g.jsx(_y, { children: /* @__PURE__ */ g.jsx(
|
|
8305
|
+
/* @__PURE__ */ g.jsx("span", { className: "sl-absolute sl-right-2 sl-flex sl-h-3.5 sl-w-3.5 sl-items-center sl-justify-center", children: /* @__PURE__ */ g.jsx(_y, { children: /* @__PURE__ */ g.jsx(cu, { className: "sl-h-4 sl-w-4" }) }) }),
|
|
8306
8306
|
/* @__PURE__ */ g.jsx($y, { children: t })
|
|
8307
8307
|
]
|
|
8308
8308
|
}
|
|
@@ -8318,7 +8318,7 @@ const Ny = re.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ g.jsx(
|
|
|
8318
8318
|
));
|
|
8319
8319
|
Ny.displayName = rd.displayName;
|
|
8320
8320
|
function My(e) {
|
|
8321
|
-
const { mode: t, value: n, onChange: r, onPaste: o, setMode: s, column: i, coordinates: a } = e, [c, l] =
|
|
8321
|
+
const { mode: t, value: n, onChange: r, onPaste: o, setMode: s, column: i, coordinates: a } = e, [c, l] = iu(!0), u = Q(
|
|
8322
8322
|
(h) => {
|
|
8323
8323
|
h.preventDefault(), o?.(h);
|
|
8324
8324
|
},
|
|
@@ -8340,7 +8340,7 @@ function My(e) {
|
|
|
8340
8340
|
onValueChange: f,
|
|
8341
8341
|
children: [
|
|
8342
8342
|
/* @__PURE__ */ g.jsx(
|
|
8343
|
-
|
|
8343
|
+
va,
|
|
8344
8344
|
{
|
|
8345
8345
|
onBlur: d,
|
|
8346
8346
|
onPaste: u,
|
|
@@ -8353,7 +8353,7 @@ function My(e) {
|
|
|
8353
8353
|
children: /* @__PURE__ */ g.jsx(sd, { placeholder: "Selecionar" })
|
|
8354
8354
|
}
|
|
8355
8355
|
),
|
|
8356
|
-
/* @__PURE__ */ g.jsxs(
|
|
8356
|
+
/* @__PURE__ */ g.jsxs(ya, { onBlur: d, children: [
|
|
8357
8357
|
/* @__PURE__ */ g.jsx(
|
|
8358
8358
|
ko,
|
|
8359
8359
|
{
|
|
@@ -8524,7 +8524,7 @@ function jy(e) {
|
|
|
8524
8524
|
});
|
|
8525
8525
|
return n.current;
|
|
8526
8526
|
}
|
|
8527
|
-
function
|
|
8527
|
+
function xa(e, t) {
|
|
8528
8528
|
t === void 0 && (t = !0);
|
|
8529
8529
|
var n = e[0] === "-", r = n && t;
|
|
8530
8530
|
e = e.replace("-", "");
|
|
@@ -8549,7 +8549,7 @@ function dd(e, t, n) {
|
|
|
8549
8549
|
r += e[s] || o;
|
|
8550
8550
|
return r;
|
|
8551
8551
|
}
|
|
8552
|
-
function
|
|
8552
|
+
function Tc(e, t) {
|
|
8553
8553
|
return Array(t + 1).join(e);
|
|
8554
8554
|
}
|
|
8555
8555
|
function fd(e) {
|
|
@@ -8560,12 +8560,12 @@ function fd(e) {
|
|
|
8560
8560
|
return n + o;
|
|
8561
8561
|
o = o.replace(".", "");
|
|
8562
8562
|
var i = 1 + s, a = o.length;
|
|
8563
|
-
return i < 0 ? o = "0." +
|
|
8563
|
+
return i < 0 ? o = "0." + Tc("0", Math.abs(i)) + o : i >= a ? o = o + Tc("0", i - a) : o = (o.substring(0, i) || "0") + "." + o.substring(i), n + o;
|
|
8564
8564
|
}
|
|
8565
|
-
function
|
|
8565
|
+
function Pc(e, t, n) {
|
|
8566
8566
|
if (["", "-"].indexOf(e) !== -1)
|
|
8567
8567
|
return e;
|
|
8568
|
-
var r = (e.indexOf(".") !== -1 || n) && t, o =
|
|
8568
|
+
var r = (e.indexOf(".") !== -1 || n) && t, o = xa(e), s = o.beforeDecimal, i = o.afterDecimal, a = o.hasNegation, c = parseFloat("0." + (i || "0")), l = i.length <= t ? "0." + i : c.toFixed(t), u = l.split("."), d = s;
|
|
8569
8569
|
s && Number(u[0]) && (d = s.split("").reverse().reduce(function(m, y, v) {
|
|
8570
8570
|
return m.length > v ? (Number(m[0]) + Number(y)).toString() + m.substring(1, m.length) : y + m;
|
|
8571
8571
|
}, u[0]));
|
|
@@ -8647,7 +8647,7 @@ function Hy(e, t, n, r, o, s, i) {
|
|
|
8647
8647
|
var w = v === -1 || f[v] === -1 ? 0 : f[v] + 1;
|
|
8648
8648
|
return w > b ? b : r - w < b - r ? w : b;
|
|
8649
8649
|
}
|
|
8650
|
-
function
|
|
8650
|
+
function Oc(e, t, n, r) {
|
|
8651
8651
|
var o = e.length;
|
|
8652
8652
|
if (t = Vy(t, 0, o), r === "left") {
|
|
8653
8653
|
for (; t >= 0 && !n[t]; )
|
|
@@ -8738,10 +8738,10 @@ function Yy(e) {
|
|
|
8738
8738
|
q.value === pe && q.selectionStart !== ae && on(q, ae);
|
|
8739
8739
|
}, 0));
|
|
8740
8740
|
}, V = function(q, ae, pe) {
|
|
8741
|
-
return
|
|
8741
|
+
return Oc(q, ae, b(q), pe);
|
|
8742
8742
|
}, B = function(q, ae, pe) {
|
|
8743
8743
|
var _e = b(ae), Pe = Hy(ae, N, q, pe, _e, w, x);
|
|
8744
|
-
return Pe =
|
|
8744
|
+
return Pe = Oc(ae, Pe, _e), Pe;
|
|
8745
8745
|
}, W = function(q) {
|
|
8746
8746
|
var ae = q.formattedValue;
|
|
8747
8747
|
ae === void 0 && (ae = "");
|
|
@@ -8838,7 +8838,7 @@ function Yy(e) {
|
|
|
8838
8838
|
}
|
|
8839
8839
|
return Oe.createElement("input", Object.assign({}, de, { ref: s }));
|
|
8840
8840
|
}
|
|
8841
|
-
function
|
|
8841
|
+
function Rc(e, t) {
|
|
8842
8842
|
var n = t.decimalScale, r = t.fixedDecimalScale, o = t.prefix;
|
|
8843
8843
|
o === void 0 && (o = "");
|
|
8844
8844
|
var s = t.suffix;
|
|
@@ -8846,7 +8846,7 @@ function Oc(e, t) {
|
|
|
8846
8846
|
var i = t.allowNegative, a = t.thousandsGroupStyle;
|
|
8847
8847
|
if (a === void 0 && (a = "thousand"), e === "" || e === "-")
|
|
8848
8848
|
return e;
|
|
8849
|
-
var c = as(t), l = c.thousandSeparator, u = c.decimalSeparator, d = n !== 0 && e.indexOf(".") !== -1 || n && r, f =
|
|
8849
|
+
var c = as(t), l = c.thousandSeparator, u = c.decimalSeparator, d = n !== 0 && e.indexOf(".") !== -1 || n && r, f = xa(e, i), h = f.beforeDecimal, p = f.afterDecimal, m = f.addNegation;
|
|
8850
8850
|
return n !== void 0 && (p = dd(p, n, !!r)), l && (h = Ay(h, l, a)), o && (h = o + h), s && (p = p + s), m && (h = "-" + h), e = h + (d && u || "") + p, e;
|
|
8851
8851
|
}
|
|
8852
8852
|
function as(e) {
|
|
@@ -8901,7 +8901,7 @@ function qy(e, t, n) {
|
|
|
8901
8901
|
e = e.replace(new RegExp(ud(p), "g"), function(M, k) {
|
|
8902
8902
|
return k === j ? "." : "";
|
|
8903
8903
|
});
|
|
8904
|
-
var A =
|
|
8904
|
+
var A = xa(e, o), S = A.beforeDecimal, T = A.afterDecimal, _ = A.addNegation;
|
|
8905
8905
|
return l.end - l.start < c.end - c.start && S === "" && m && !parseFloat(T) && (e = _ ? "-" : ""), e;
|
|
8906
8906
|
}
|
|
8907
8907
|
function Qy(e, t) {
|
|
@@ -8941,13 +8941,13 @@ function ex(e) {
|
|
|
8941
8941
|
var i = e.thousandSeparator, a = e.decimalScale, c = e.fixedDecimalScale, l = e.prefix;
|
|
8942
8942
|
l === void 0 && (l = "");
|
|
8943
8943
|
var u = e.defaultValue, d = e.value, f = e.valueIsNumericString, h = e.onValueChange, p = cd(e, ["decimalSeparator", "allowedDecimalSeparators", "thousandsGroupStyle", "suffix", "allowNegative", "allowLeadingZeros", "onKeyDown", "onBlur", "thousandSeparator", "decimalScale", "fixedDecimalScale", "prefix", "defaultValue", "value", "valueIsNumericString", "onValueChange"]), m = as(e), y = m.decimalSeparator, v = m.allowedDecimalSeparators, b = function(_) {
|
|
8944
|
-
return
|
|
8944
|
+
return Rc(_, e);
|
|
8945
8945
|
}, w = function(_, M) {
|
|
8946
8946
|
return qy(_, M, e);
|
|
8947
8947
|
}, x = En(d) ? u : d, E = f ?? Zy(x, l, t);
|
|
8948
8948
|
En(d) ? En(u) || (E = E || typeof u == "number") : E = E || typeof d == "number";
|
|
8949
8949
|
var P = function(_) {
|
|
8950
|
-
return ld(_) ? _ : (typeof _ == "number" && (_ = fd(_)), E && typeof a == "number" ?
|
|
8950
|
+
return ld(_) ? _ : (typeof _ == "number" && (_ = fd(_)), E && typeof a == "number" ? Pc(_, a, !!c) : _);
|
|
8951
8951
|
}, $ = pd(P(d), P(u), !!E, b, w, h), N = $[0], I = N.numAsString, R = N.formattedValue, L = $[1], j = function(_) {
|
|
8952
8952
|
var M = _.target, k = _.key, C = M.selectionStart, D = M.selectionEnd, V = M.value;
|
|
8953
8953
|
if (V === void 0 && (V = ""), C !== D) {
|
|
@@ -8959,8 +8959,8 @@ function ex(e) {
|
|
|
8959
8959
|
k === "Backspace" && V[C - 1] === B && on(M, C - 1), k === "Delete" && V[C] === B && on(M, C + 1), o(_);
|
|
8960
8960
|
}, A = function(_) {
|
|
8961
8961
|
var M = I;
|
|
8962
|
-
if (M.match(/\d/g) || (M = ""), r || (M = Ly(M)), c && a && (M =
|
|
8963
|
-
var k =
|
|
8962
|
+
if (M.match(/\d/g) || (M = ""), r || (M = Ly(M)), c && a && (M = Pc(M, a, c)), M !== I) {
|
|
8963
|
+
var k = Rc(M, e);
|
|
8964
8964
|
L({
|
|
8965
8965
|
formattedValue: k,
|
|
8966
8966
|
value: M,
|
|
@@ -9120,7 +9120,7 @@ function ix(e) {
|
|
|
9120
9120
|
);
|
|
9121
9121
|
}
|
|
9122
9122
|
function ax(e) {
|
|
9123
|
-
const { mode: t, value: n, onChange: r, onPaste: o, items: s, setMode: i, coordinates: a, column: c } = e, [l, u] =
|
|
9123
|
+
const { mode: t, value: n, onChange: r, onPaste: o, items: s, setMode: i, coordinates: a, column: c } = e, [l, u] = iu(!0), d = Q(
|
|
9124
9124
|
(p) => {
|
|
9125
9125
|
p.preventDefault(), o?.(p);
|
|
9126
9126
|
},
|
|
@@ -9142,7 +9142,7 @@ function ax(e) {
|
|
|
9142
9142
|
onValueChange: h,
|
|
9143
9143
|
children: [
|
|
9144
9144
|
/* @__PURE__ */ g.jsx(
|
|
9145
|
-
|
|
9145
|
+
va,
|
|
9146
9146
|
{
|
|
9147
9147
|
onBlur: f,
|
|
9148
9148
|
onPaste: d,
|
|
@@ -9154,7 +9154,7 @@ function ax(e) {
|
|
|
9154
9154
|
children: /* @__PURE__ */ g.jsx(sd, { placeholder: "Selecionar" })
|
|
9155
9155
|
}
|
|
9156
9156
|
),
|
|
9157
|
-
/* @__PURE__ */ g.jsx(
|
|
9157
|
+
/* @__PURE__ */ g.jsx(ya, { onBlur: f, children: s.map(({ value: p, text: m }) => /* @__PURE__ */ g.jsx(
|
|
9158
9158
|
ko,
|
|
9159
9159
|
{
|
|
9160
9160
|
"data-cypress": `table-cell-select-${c.id}-${a.row}-${p}`,
|
|
@@ -9190,7 +9190,7 @@ function lx(e) {
|
|
|
9190
9190
|
e.selectionStart = e.selectionEnd = e.value.length;
|
|
9191
9191
|
}
|
|
9192
9192
|
function gd(e, t) {
|
|
9193
|
-
return
|
|
9193
|
+
return ql(e) > t - 4;
|
|
9194
9194
|
}
|
|
9195
9195
|
const vd = Et({}), ux = ({ children: e }) => {
|
|
9196
9196
|
const t = Y(null);
|
|
@@ -9411,7 +9411,7 @@ function mx(e) {
|
|
|
9411
9411
|
}), m("edit")), j && b && p === "edit" && m("view");
|
|
9412
9412
|
};
|
|
9413
9413
|
return window.addEventListener("keydown", R), () => window.removeEventListener("keydown", R);
|
|
9414
|
-
}, [b, p, i, r]),
|
|
9414
|
+
}, [b, p, i, r]), au(y, I), J(() => {
|
|
9415
9415
|
m(f ? "readonly" : "view");
|
|
9416
9416
|
}, [f]), h ? p === "readonly" ? /* @__PURE__ */ g.jsx(
|
|
9417
9417
|
"div",
|
|
@@ -9524,16 +9524,16 @@ function yx({ className: e }) {
|
|
|
9524
9524
|
const Gs = "rovingFocusGroup.onEntryFocus", xx = {
|
|
9525
9525
|
bubbles: !1,
|
|
9526
9526
|
cancelable: !0
|
|
9527
|
-
},
|
|
9527
|
+
}, wa = "RovingFocusGroup", [Ci, yd, wx] = fa(wa), [bx, xd] = hn(wa, [
|
|
9528
9528
|
wx
|
|
9529
|
-
]), [Sx, Cx] = bx(
|
|
9529
|
+
]), [Sx, Cx] = bx(wa), $x = /* @__PURE__ */ ie((e, t) => /* @__PURE__ */ F(Ci.Provider, {
|
|
9530
9530
|
scope: e.__scopeRovingFocusGroup
|
|
9531
9531
|
}, /* @__PURE__ */ F(Ci.Slot, {
|
|
9532
9532
|
scope: e.__scopeRovingFocusGroup
|
|
9533
9533
|
}, /* @__PURE__ */ F(_x, se({}, e, {
|
|
9534
9534
|
ref: t
|
|
9535
9535
|
}))))), _x = /* @__PURE__ */ ie((e, t) => {
|
|
9536
|
-
const { __scopeRovingFocusGroup: n, orientation: r, loop: o = !1, dir: s, currentTabStopId: i, defaultCurrentTabStopId: a, onCurrentTabStopIdChange: c, onEntryFocus: l, ...u } = e, d = Y(null), f = Me(t, d), h =
|
|
9536
|
+
const { __scopeRovingFocusGroup: n, orientation: r, loop: o = !1, dir: s, currentTabStopId: i, defaultCurrentTabStopId: a, onCurrentTabStopIdChange: c, onEntryFocus: l, ...u } = e, d = Y(null), f = Me(t, d), h = ha(s), [p = null, m] = pr({
|
|
9537
9537
|
prop: i,
|
|
9538
9538
|
defaultProp: a,
|
|
9539
9539
|
onChange: c
|
|
@@ -9731,12 +9731,12 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
9731
9731
|
rtl: [
|
|
9732
9732
|
"ArrowRight"
|
|
9733
9733
|
]
|
|
9734
|
-
}, cs = "Menu", [xr, Lx, Vx] =
|
|
9734
|
+
}, cs = "Menu", [xr, Lx, Vx] = fa(cs), [gn, Sd] = hn(cs, [
|
|
9735
9735
|
Vx,
|
|
9736
9736
|
Kn,
|
|
9737
9737
|
xd
|
|
9738
|
-
]),
|
|
9739
|
-
const { __scopeMenu: t, open: n = !1, children: r, dir: o, onOpenChange: s, modal: i = !0 } = e, a =
|
|
9738
|
+
]), ba = Kn(), Cd = xd(), [Fx, vn] = gn(cs), [Bx, Rr] = gn(cs), zx = (e) => {
|
|
9739
|
+
const { __scopeMenu: t, open: n = !1, children: r, dir: o, onOpenChange: s, modal: i = !0 } = e, a = ba(t), [c, l] = oe(null), u = Y(!1), d = ot(s), f = ha(o);
|
|
9740
9740
|
return J(() => {
|
|
9741
9741
|
const h = () => {
|
|
9742
9742
|
u.current = !0, document.addEventListener("pointerdown", p, {
|
|
@@ -9758,7 +9758,7 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
9758
9758
|
capture: !0
|
|
9759
9759
|
});
|
|
9760
9760
|
};
|
|
9761
|
-
}, []), /* @__PURE__ */ F(
|
|
9761
|
+
}, []), /* @__PURE__ */ F(ia, a, /* @__PURE__ */ F(Fx, {
|
|
9762
9762
|
scope: t,
|
|
9763
9763
|
open: n,
|
|
9764
9764
|
onOpenChange: d,
|
|
@@ -9777,8 +9777,8 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
9777
9777
|
modal: i
|
|
9778
9778
|
}, r)));
|
|
9779
9779
|
}, $d = /* @__PURE__ */ ie((e, t) => {
|
|
9780
|
-
const { __scopeMenu: n, ...r } = e, o =
|
|
9781
|
-
return /* @__PURE__ */ F(
|
|
9780
|
+
const { __scopeMenu: n, ...r } = e, o = ba(n);
|
|
9781
|
+
return /* @__PURE__ */ F(aa, se({}, o, r, {
|
|
9782
9782
|
ref: t
|
|
9783
9783
|
}));
|
|
9784
9784
|
}), _d = "MenuPortal", [Hx, Ed] = gn(_d, {
|
|
@@ -9794,7 +9794,7 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
9794
9794
|
asChild: !0,
|
|
9795
9795
|
container: o
|
|
9796
9796
|
}, r)));
|
|
9797
|
-
}, rt = "MenuContent", [Kx,
|
|
9797
|
+
}, rt = "MenuContent", [Kx, Sa] = gn(rt), Ux = /* @__PURE__ */ ie((e, t) => {
|
|
9798
9798
|
const n = Ed(rt, e.__scopeMenu), { forceMount: r = n.forceMount, ...o } = e, s = vn(rt, e.__scopeMenu), i = Rr(rt, e.__scopeMenu);
|
|
9799
9799
|
return /* @__PURE__ */ F(xr.Provider, {
|
|
9800
9800
|
scope: e.__scopeMenu
|
|
@@ -9813,7 +9813,7 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
9813
9813
|
const s = r.current;
|
|
9814
9814
|
if (s)
|
|
9815
9815
|
return ju(s);
|
|
9816
|
-
}, []), /* @__PURE__ */ F(
|
|
9816
|
+
}, []), /* @__PURE__ */ F(Ca, se({}, e, {
|
|
9817
9817
|
ref: o,
|
|
9818
9818
|
trapFocus: n.open,
|
|
9819
9819
|
disableOutsidePointerEvents: n.open,
|
|
@@ -9829,15 +9829,15 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
9829
9829
|
}));
|
|
9830
9830
|
}), Gx = /* @__PURE__ */ ie((e, t) => {
|
|
9831
9831
|
const n = vn(rt, e.__scopeMenu);
|
|
9832
|
-
return /* @__PURE__ */ F(
|
|
9832
|
+
return /* @__PURE__ */ F(Ca, se({}, e, {
|
|
9833
9833
|
ref: t,
|
|
9834
9834
|
trapFocus: !1,
|
|
9835
9835
|
disableOutsidePointerEvents: !1,
|
|
9836
9836
|
disableOutsideScroll: !1,
|
|
9837
9837
|
onDismiss: () => n.onOpenChange(!1)
|
|
9838
9838
|
}));
|
|
9839
|
-
}),
|
|
9840
|
-
const { __scopeMenu: n, loop: r = !1, trapFocus: o, onOpenAutoFocus: s, onCloseAutoFocus: i, disableOutsidePointerEvents: a, onEntryFocus: c, onEscapeKeyDown: l, onPointerDownOutside: u, onFocusOutside: d, onInteractOutside: f, onDismiss: h, disableOutsideScroll: p, ...m } = e, y = vn(rt, n), v = Rr(rt, n), b =
|
|
9839
|
+
}), Ca = /* @__PURE__ */ ie((e, t) => {
|
|
9840
|
+
const { __scopeMenu: n, loop: r = !1, trapFocus: o, onOpenAutoFocus: s, onCloseAutoFocus: i, disableOutsidePointerEvents: a, onEntryFocus: c, onEscapeKeyDown: l, onPointerDownOutside: u, onFocusOutside: d, onInteractOutside: f, onDismiss: h, disableOutsideScroll: p, ...m } = e, y = vn(rt, n), v = Rr(rt, n), b = ba(n), w = Cd(n), x = Lx(n), [E, P] = oe(null), $ = Y(null), N = Me(t, $, y.onContentChange), I = Y(0), R = Y(""), L = Y(0), j = Y(null), A = Y("right"), S = Y(0), T = p ? pa : Fn, _ = p ? {
|
|
9841
9841
|
as: Rn,
|
|
9842
9842
|
allowPinchZoom: !0
|
|
9843
9843
|
} : void 0, M = (C) => {
|
|
@@ -9896,7 +9896,7 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
9896
9896
|
C.preventDefault(), (D = $.current) === null || D === void 0 || D.focus();
|
|
9897
9897
|
}),
|
|
9898
9898
|
onUnmountAutoFocus: i
|
|
9899
|
-
}, /* @__PURE__ */ F(
|
|
9899
|
+
}, /* @__PURE__ */ F(Qi, {
|
|
9900
9900
|
asChild: !0,
|
|
9901
9901
|
disableOutsidePointerEvents: a,
|
|
9902
9902
|
onEscapeKeyDown: l,
|
|
@@ -9915,7 +9915,7 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
9915
9915
|
onEntryFocus: ue(c, (C) => {
|
|
9916
9916
|
v.isUsingKeyboardRef.current || C.preventDefault();
|
|
9917
9917
|
})
|
|
9918
|
-
}), /* @__PURE__ */ F(
|
|
9918
|
+
}), /* @__PURE__ */ F(ca, se({
|
|
9919
9919
|
role: "menu",
|
|
9920
9920
|
"aria-orientation": "vertical",
|
|
9921
9921
|
"data-state": Od(y.open),
|
|
@@ -9957,16 +9957,16 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
9957
9957
|
return /* @__PURE__ */ F(Te.div, se({}, r, {
|
|
9958
9958
|
ref: t
|
|
9959
9959
|
}));
|
|
9960
|
-
}), _i = "MenuItem",
|
|
9961
|
-
const { disabled: n = !1, onSelect: r, ...o } = e, s = Y(null), i = Rr(_i, e.__scopeMenu), a =
|
|
9960
|
+
}), _i = "MenuItem", Ic = "menu.itemSelect", $a = /* @__PURE__ */ ie((e, t) => {
|
|
9961
|
+
const { disabled: n = !1, onSelect: r, ...o } = e, s = Y(null), i = Rr(_i, e.__scopeMenu), a = Sa(_i, e.__scopeMenu), c = Me(t, s), l = Y(!1), u = () => {
|
|
9962
9962
|
const d = s.current;
|
|
9963
9963
|
if (!n && d) {
|
|
9964
|
-
const f = new CustomEvent(
|
|
9964
|
+
const f = new CustomEvent(Ic, {
|
|
9965
9965
|
bubbles: !0,
|
|
9966
9966
|
cancelable: !0
|
|
9967
9967
|
});
|
|
9968
9968
|
d.addEventListener(
|
|
9969
|
-
|
|
9969
|
+
Ic,
|
|
9970
9970
|
(h) => r?.(h),
|
|
9971
9971
|
{
|
|
9972
9972
|
once: !0
|
|
@@ -9992,7 +9992,7 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
9992
9992
|
})
|
|
9993
9993
|
}));
|
|
9994
9994
|
}), Nd = /* @__PURE__ */ ie((e, t) => {
|
|
9995
|
-
const { __scopeMenu: n, disabled: r = !1, textValue: o, ...s } = e, i =
|
|
9995
|
+
const { __scopeMenu: n, disabled: r = !1, textValue: o, ...s } = e, i = Sa(_i, n), a = Cd(n), c = Y(null), l = Me(t, c), [u, d] = oe(!1), [f, h] = oe("");
|
|
9996
9996
|
return J(() => {
|
|
9997
9997
|
const p = c.current;
|
|
9998
9998
|
if (p) {
|
|
@@ -10036,12 +10036,12 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
10036
10036
|
return /* @__PURE__ */ F(Td, {
|
|
10037
10037
|
scope: e.__scopeMenu,
|
|
10038
10038
|
checked: n
|
|
10039
|
-
}, /* @__PURE__ */ F(
|
|
10039
|
+
}, /* @__PURE__ */ F($a, se({
|
|
10040
10040
|
role: "menuitemcheckbox",
|
|
10041
10041
|
"aria-checked": Do(n) ? "mixed" : n
|
|
10042
10042
|
}, o, {
|
|
10043
10043
|
ref: t,
|
|
10044
|
-
"data-state":
|
|
10044
|
+
"data-state": _a(n),
|
|
10045
10045
|
onSelect: ue(
|
|
10046
10046
|
o.onSelect,
|
|
10047
10047
|
() => r?.(Do(n) ? !0 : !n),
|
|
@@ -10059,12 +10059,12 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
10059
10059
|
return /* @__PURE__ */ F(Td, {
|
|
10060
10060
|
scope: e.__scopeMenu,
|
|
10061
10061
|
checked: s
|
|
10062
|
-
}, /* @__PURE__ */ F(
|
|
10062
|
+
}, /* @__PURE__ */ F($a, se({
|
|
10063
10063
|
role: "menuitemradio",
|
|
10064
10064
|
"aria-checked": s
|
|
10065
10065
|
}, r, {
|
|
10066
10066
|
ref: t,
|
|
10067
|
-
"data-state":
|
|
10067
|
+
"data-state": _a(s),
|
|
10068
10068
|
onSelect: ue(r.onSelect, () => {
|
|
10069
10069
|
var i;
|
|
10070
10070
|
return (i = o.onValueChange) === null || i === void 0 ? void 0 : i.call(o, n);
|
|
@@ -10080,7 +10080,7 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
10080
10080
|
present: r || Do(s.checked) || s.checked === !0
|
|
10081
10081
|
}, /* @__PURE__ */ F(Te.span, se({}, o, {
|
|
10082
10082
|
ref: t,
|
|
10083
|
-
"data-state":
|
|
10083
|
+
"data-state": _a(s.checked)
|
|
10084
10084
|
})));
|
|
10085
10085
|
}), rw = /* @__PURE__ */ ie((e, t) => {
|
|
10086
10086
|
const { __scopeMenu: n, ...r } = e;
|
|
@@ -10091,7 +10091,7 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
10091
10091
|
ref: t
|
|
10092
10092
|
}));
|
|
10093
10093
|
}), ow = "MenuSub", [sE, Pd] = gn(ow), to = "MenuSubTrigger", sw = /* @__PURE__ */ ie((e, t) => {
|
|
10094
|
-
const n = vn(to, e.__scopeMenu), r = Rr(to, e.__scopeMenu), o = Pd(to, e.__scopeMenu), s =
|
|
10094
|
+
const n = vn(to, e.__scopeMenu), r = Rr(to, e.__scopeMenu), o = Pd(to, e.__scopeMenu), s = Sa(to, e.__scopeMenu), i = Y(null), { pointerGraceTimerRef: a, onPointerGraceIntentChange: c } = s, l = {
|
|
10095
10095
|
__scopeMenu: e.__scopeMenu
|
|
10096
10096
|
}, u = Q(() => {
|
|
10097
10097
|
i.current && window.clearTimeout(i.current), i.current = null;
|
|
@@ -10186,7 +10186,7 @@ const Rx = $x, Ix = Nx, $i = [
|
|
|
10186
10186
|
present: r || s.open
|
|
10187
10187
|
}, /* @__PURE__ */ F(xr.Slot, {
|
|
10188
10188
|
scope: e.__scopeMenu
|
|
10189
|
-
}, /* @__PURE__ */ F(
|
|
10189
|
+
}, /* @__PURE__ */ F(Ca, se({
|
|
10190
10190
|
id: a.contentId,
|
|
10191
10191
|
"aria-labelledby": a.triggerId
|
|
10192
10192
|
}, o, {
|
|
@@ -10222,7 +10222,7 @@ function Od(e) {
|
|
|
10222
10222
|
function Do(e) {
|
|
10223
10223
|
return e === "indeterminate";
|
|
10224
10224
|
}
|
|
10225
|
-
function
|
|
10225
|
+
function _a(e) {
|
|
10226
10226
|
return Do(e) ? "indeterminate" : e ? "checked" : "unchecked";
|
|
10227
10227
|
}
|
|
10228
10228
|
function cw(e) {
|
|
@@ -10270,7 +10270,7 @@ function fw(e, t) {
|
|
|
10270
10270
|
function wr(e) {
|
|
10271
10271
|
return (t) => t.pointerType === "mouse" ? e(t) : void 0;
|
|
10272
10272
|
}
|
|
10273
|
-
const hw = zx, pw = $d, mw = Wx, gw = Ux, vw = Xx, yw =
|
|
10273
|
+
const hw = zx, pw = $d, mw = Wx, gw = Ux, vw = Xx, yw = $a, xw = Zx, ww = ew, bw = nw, Sw = rw, Cw = sw, $w = aw, Rd = "DropdownMenu", [_w, iE] = hn(Rd, [
|
|
10274
10274
|
Sd
|
|
10275
10275
|
]), qe = Sd(), [Ew, Id] = _w(Rd), Nw = (e) => {
|
|
10276
10276
|
const { __scopeDropdownMenu: t, children: n, dir: r, open: o, defaultOpen: s, onOpenChange: i, modal: a = !0 } = e, c = qe(t), l = Y(null), [u = !1, d] = pr({
|
|
@@ -10471,7 +10471,7 @@ const Kd = re.forwardRef(({ className: e, children: t, checked: n, ...r }, o) =>
|
|
|
10471
10471
|
checked: n,
|
|
10472
10472
|
...r,
|
|
10473
10473
|
children: [
|
|
10474
|
-
/* @__PURE__ */ g.jsx("span", { className: "sl-absolute sl-left-2 sl-flex sl-h-3.5 sl-w-3.5 sl-items-center sl-justify-center", children: /* @__PURE__ */ g.jsx(Vd, { children: /* @__PURE__ */ g.jsx(
|
|
10474
|
+
/* @__PURE__ */ g.jsx("span", { className: "sl-absolute sl-left-2 sl-flex sl-h-3.5 sl-w-3.5 sl-items-center sl-justify-center", children: /* @__PURE__ */ g.jsx(Vd, { children: /* @__PURE__ */ g.jsx(cu, { className: "sl-h-4 sl-w-4" }) }) }),
|
|
10475
10475
|
t
|
|
10476
10476
|
]
|
|
10477
10477
|
}
|
|
@@ -10548,7 +10548,7 @@ function qw() {
|
|
|
10548
10548
|
onClick: s,
|
|
10549
10549
|
className: "sl-flex sl-items-center sl-justify-center sl-w-9 sl-h-9 sl-rounded-md sl-border sl-border-transparent hover:sl-bg-danger-50 hover:sl-text-danger-400 active:sl-bg-danger-50 active:sl-border-danger-400 active:sl-text-danger-400 sl-text-primary-700",
|
|
10550
10550
|
"data-cypress": "table-delete-selected-row",
|
|
10551
|
-
children: /* @__PURE__ */ g.jsx(
|
|
10551
|
+
children: /* @__PURE__ */ g.jsx(du, { className: "sl-w-5 sl-h-5", color: "currentColor" })
|
|
10552
10552
|
}
|
|
10553
10553
|
) }),
|
|
10554
10554
|
/* @__PURE__ */ g.jsx(gr, { children: /* @__PURE__ */ g.jsx("p", { children: "Excluir linha(s)" }) })
|
|
@@ -10606,9 +10606,9 @@ function qw() {
|
|
|
10606
10606
|
}
|
|
10607
10607
|
function Qw(e) {
|
|
10608
10608
|
const { className: t, ...n } = e;
|
|
10609
|
-
return /* @__PURE__ */ g.jsx(Gp, { ...n, children: /* @__PURE__ */ g.jsxs(
|
|
10609
|
+
return /* @__PURE__ */ g.jsx(Gp, { ...n, children: /* @__PURE__ */ g.jsxs(Ja.Root, { className: fe(t, "sl-h-full"), children: [
|
|
10610
10610
|
/* @__PURE__ */ g.jsx(qw, {}),
|
|
10611
|
-
/* @__PURE__ */ g.jsxs(
|
|
10611
|
+
/* @__PURE__ */ g.jsxs(Ja.Matrix, { className: "sl-scrollbar-thin sl-overflow-y-clip sl-overflow-x-scroll", children: [
|
|
10612
10612
|
/* @__PURE__ */ g.jsx(yx, { className: "sl-absolute sl-z-40" }),
|
|
10613
10613
|
/* @__PURE__ */ g.jsx(Y0, {}),
|
|
10614
10614
|
/* @__PURE__ */ g.jsx(vx, {})
|
|
@@ -10645,7 +10645,7 @@ function Jw(e) {
|
|
|
10645
10645
|
/* @__PURE__ */ g.jsx("p", { className: "sl-whitespace-nowrap sl-text-xs", children: n })
|
|
10646
10646
|
] }),
|
|
10647
10647
|
s === "Finished" && /* @__PURE__ */ g.jsx("div", { className: "sl-flex sl-w-32 sl-items-center sl-justify-end", children: /* @__PURE__ */ g.jsx(Bm, { className: "sl-h-4 sl-w-4 sl-text-success-400" }) }),
|
|
10648
|
-
s === "Loading" && /* @__PURE__ */ g.jsx("div", { className: "sl-flex sl-w-32 sl-items-center sl-justify-end", children: /* @__PURE__ */ g.jsx(
|
|
10648
|
+
s === "Loading" && /* @__PURE__ */ g.jsx("div", { className: "sl-flex sl-w-32 sl-items-center sl-justify-end", children: /* @__PURE__ */ g.jsx(uu, { className: "sl-h-4 sl-w-4 sl-shrink-0 sl-animate-spin sl-text-success-400" }) }),
|
|
10649
10649
|
/* @__PURE__ */ g.jsx(eb, { state: s })
|
|
10650
10650
|
]
|
|
10651
10651
|
}
|
|
@@ -10655,11 +10655,11 @@ function eb({ state: e }) {
|
|
|
10655
10655
|
return e === "Disabled" ? /* @__PURE__ */ g.jsxs("div", { className: "sl-flex sl-w-32 sl-items-center sl-text-primary-500", children: [
|
|
10656
10656
|
/* @__PURE__ */ g.jsx(pi, { className: "sl-mr-1 sl-h-4 sl-w-4 sl-shrink-0 sl-text-current" }),
|
|
10657
10657
|
/* @__PURE__ */ g.jsx("p", { className: "sl-mr-2 sl-whitespace-nowrap sl-font-bold sl-text-sm sl-text-current", children: "Novo Arquivo" }),
|
|
10658
|
-
/* @__PURE__ */ g.jsx(
|
|
10658
|
+
/* @__PURE__ */ g.jsx(ec, { className: "sl-h-4 sl-w-4 sl-text-primary-500" })
|
|
10659
10659
|
] }) : e === "Idle" ? /* @__PURE__ */ g.jsxs("div", { className: "sl-flex sl-w-32 sl-items-center sl-text-info-300", children: [
|
|
10660
10660
|
/* @__PURE__ */ g.jsx(pi, { className: "sl-mr-1 sl-h-4 sl-w-4 sl-shrink-0 sl-text-current" }),
|
|
10661
10661
|
/* @__PURE__ */ g.jsx("p", { className: "sl-mr-2 sl-whitespace-nowrap sl-font-bold sl-text-sm sl-text-current", children: "Novo Arquivo" }),
|
|
10662
|
-
/* @__PURE__ */ g.jsx(
|
|
10662
|
+
/* @__PURE__ */ g.jsx(ec, { className: "sl-h-4 sl-w-4 sl-text-primary-700" })
|
|
10663
10663
|
] }) : null;
|
|
10664
10664
|
}
|
|
10665
10665
|
const Tt = Symbol.for("@ts-pattern/matcher"), tb = Symbol.for("@ts-pattern/isVariadic"), Ao = "@ts-pattern/anonymous-select-key", Ei = (e) => !!(e && typeof e == "object"), vo = (e) => e && !!e[Tt], ut = (e, t, n) => {
|
|
@@ -10700,7 +10700,7 @@ const Tt = Symbol.for("@ts-pattern/matcher"), tb = Symbol.for("@ts-pattern/isVar
|
|
|
10700
10700
|
return Ei(e) ? vo(e) ? (t = (n = (r = e[Tt]()).getSelectionKeys) == null ? void 0 : n.call(r)) != null ? t : [] : Array.isArray(e) ? br(e, en) : br(Object.values(e), en) : [];
|
|
10701
10701
|
}, br = (e, t) => e.reduce((n, r) => n.concat(t(r)), []);
|
|
10702
10702
|
function Qe(e) {
|
|
10703
|
-
return Object.assign(e, { optional: () => nb(e), and: (t) => Re(e, t), or: (t) => rb(e, t), select: (t) => t === void 0 ?
|
|
10703
|
+
return Object.assign(e, { optional: () => nb(e), and: (t) => Re(e, t), or: (t) => rb(e, t), select: (t) => t === void 0 ? kc(e) : kc(t, e) });
|
|
10704
10704
|
}
|
|
10705
10705
|
function nb(e) {
|
|
10706
10706
|
return Qe({ [Tt]: () => ({ match: (t) => {
|
|
@@ -10732,7 +10732,7 @@ function rb(...e) {
|
|
|
10732
10732
|
function $e(e) {
|
|
10733
10733
|
return { [Tt]: () => ({ match: (t) => ({ matched: !!e(t) }) }) };
|
|
10734
10734
|
}
|
|
10735
|
-
function
|
|
10735
|
+
function kc(...e) {
|
|
10736
10736
|
const t = typeof e[0] == "string" ? e[0] : void 0, n = e.length === 2 ? e[1] : typeof e[0] == "string" ? void 0 : e[0];
|
|
10737
10737
|
return Qe({ [Tt]: () => ({ match: (r) => {
|
|
10738
10738
|
let o = { [t ?? Ao]: r };
|
|
@@ -10784,7 +10784,7 @@ Qe($e(function(e) {
|
|
|
10784
10784
|
return e != null;
|
|
10785
10785
|
}));
|
|
10786
10786
|
const Ni = { matched: !1, value: void 0 };
|
|
10787
|
-
function
|
|
10787
|
+
function Dc(e) {
|
|
10788
10788
|
return new jo(e, Ni);
|
|
10789
10789
|
}
|
|
10790
10790
|
class jo {
|
|
@@ -10854,12 +10854,12 @@ function ob(e) {
|
|
|
10854
10854
|
type: "button",
|
|
10855
10855
|
className: "sl-absolute sl-top-4 sl-right-4 sl-text-white",
|
|
10856
10856
|
onClick: r,
|
|
10857
|
-
children: /* @__PURE__ */ g.jsx(
|
|
10857
|
+
children: /* @__PURE__ */ g.jsx(qi, {})
|
|
10858
10858
|
}
|
|
10859
10859
|
)
|
|
10860
10860
|
] });
|
|
10861
10861
|
}
|
|
10862
|
-
const
|
|
10862
|
+
const Ac = 30;
|
|
10863
10863
|
function sb(e) {
|
|
10864
10864
|
const {
|
|
10865
10865
|
imageName: t,
|
|
@@ -10953,7 +10953,7 @@ function sb(e) {
|
|
|
10953
10953
|
color: "currentColor"
|
|
10954
10954
|
}
|
|
10955
10955
|
),
|
|
10956
|
-
|
|
10956
|
+
Dc(a).with("Uploading", () => /* @__PURE__ */ g.jsx(g.Fragment, { children: /* @__PURE__ */ g.jsx("p", { className: "sl-whitespace-nowrap sl-font-bold sl-text-md", children: "Fazendo upload..." }) })).with("Removing", () => /* @__PURE__ */ g.jsx(g.Fragment, { children: /* @__PURE__ */ g.jsx("p", { className: "sl-whitespace-nowrap sl-font-bold sl-text-md", children: "Removendo imagem..." }) })).otherwise(
|
|
10957
10957
|
() => t ? /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
10958
10958
|
/* @__PURE__ */ g.jsx(
|
|
10959
10959
|
"p",
|
|
@@ -10963,7 +10963,7 @@ function sb(e) {
|
|
|
10963
10963
|
"sl-whitespace-nowrap sl-font-bold sl-text-md sl-overflow-ellipsis",
|
|
10964
10964
|
N && "sl-text-primary-500"
|
|
10965
10965
|
),
|
|
10966
|
-
children: t.length >
|
|
10966
|
+
children: t.length > Ac ? `${t.substring(0, Ac)}...` : t
|
|
10967
10967
|
}
|
|
10968
10968
|
),
|
|
10969
10969
|
/* @__PURE__ */ g.jsxs(
|
|
@@ -11019,7 +11019,7 @@ function sb(e) {
|
|
|
11019
11019
|
] }),
|
|
11020
11020
|
/* @__PURE__ */ g.jsxs("div", { className: "sl-flex sl-items-center sl-justify-end sl-gap-2 sl-ml-2", children: [
|
|
11021
11021
|
$ && /* @__PURE__ */ g.jsx(pi, { className: "sl-h-4 sl-w-4 sl-text-danger-300" }),
|
|
11022
|
-
|
|
11022
|
+
Dc(a).with("Disabled", "Idle", () => /* @__PURE__ */ g.jsx(g.Fragment, { children: !t && /* @__PURE__ */ g.jsx(
|
|
11023
11023
|
Lm,
|
|
11024
11024
|
{
|
|
11025
11025
|
className: fe(
|
|
@@ -11028,10 +11028,10 @@ function sb(e) {
|
|
|
11028
11028
|
m && "sl-text-info-400"
|
|
11029
11029
|
)
|
|
11030
11030
|
}
|
|
11031
|
-
) })).with("Uploading", "Removing", () => /* @__PURE__ */ g.jsx(g.Fragment, { children: /* @__PURE__ */ g.jsx(
|
|
11031
|
+
) })).with("Uploading", "Removing", () => /* @__PURE__ */ g.jsx(g.Fragment, { children: /* @__PURE__ */ g.jsx(uu, { className: "sl-h-4 sl-w-4 sl-shrink-0 sl-animate-spin sl-text-info-300" }) })).with("Finished", () => /* @__PURE__ */ g.jsxs(g.Fragment, { children: [
|
|
11032
11032
|
!$ && /* @__PURE__ */ g.jsx(zm, { className: "sl-h-4 sl-w-4 sl-text-success-300" }),
|
|
11033
11033
|
/* @__PURE__ */ g.jsx(
|
|
11034
|
-
|
|
11034
|
+
du,
|
|
11035
11035
|
{
|
|
11036
11036
|
className: "sl-h-4 sl-w-4 sl-text-primary-700",
|
|
11037
11037
|
"data-testid": "image-uploader-remove-button",
|
|
@@ -11131,10 +11131,10 @@ yo.prototype = ls.prototype = {
|
|
|
11131
11131
|
throw new Error("invalid callback: " + t);
|
|
11132
11132
|
for (; ++s < i; )
|
|
11133
11133
|
if (o = (e = r[s]).type)
|
|
11134
|
-
n[o] =
|
|
11134
|
+
n[o] = jc(n[o], e.name, t);
|
|
11135
11135
|
else if (t == null)
|
|
11136
11136
|
for (o in n)
|
|
11137
|
-
n[o] =
|
|
11137
|
+
n[o] = jc(n[o], e.name, null);
|
|
11138
11138
|
return this;
|
|
11139
11139
|
},
|
|
11140
11140
|
copy: function() {
|
|
@@ -11164,7 +11164,7 @@ function cb(e, t) {
|
|
|
11164
11164
|
if ((o = e[n]).name === t)
|
|
11165
11165
|
return o.value;
|
|
11166
11166
|
}
|
|
11167
|
-
function
|
|
11167
|
+
function jc(e, t, n) {
|
|
11168
11168
|
for (var r = 0, o = e.length; r < o; ++r)
|
|
11169
11169
|
if (e[r].name === t) {
|
|
11170
11170
|
e[r] = ib, e = e.slice(0, r).concat(e.slice(r + 1));
|
|
@@ -11173,7 +11173,7 @@ function Ac(e, t, n) {
|
|
|
11173
11173
|
return n != null && e.push({ name: t, value: n }), e;
|
|
11174
11174
|
}
|
|
11175
11175
|
var Mi = "http://www.w3.org/1999/xhtml";
|
|
11176
|
-
const
|
|
11176
|
+
const Lc = {
|
|
11177
11177
|
svg: "http://www.w3.org/2000/svg",
|
|
11178
11178
|
xhtml: Mi,
|
|
11179
11179
|
xlink: "http://www.w3.org/1999/xlink",
|
|
@@ -11182,7 +11182,7 @@ const jc = {
|
|
|
11182
11182
|
};
|
|
11183
11183
|
function us(e) {
|
|
11184
11184
|
var t = e += "", n = t.indexOf(":");
|
|
11185
|
-
return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)),
|
|
11185
|
+
return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), Lc.hasOwnProperty(t) ? { space: Lc[t], local: e } : e;
|
|
11186
11186
|
}
|
|
11187
11187
|
function lb(e) {
|
|
11188
11188
|
return function() {
|
|
@@ -11201,13 +11201,13 @@ function Ud(e) {
|
|
|
11201
11201
|
}
|
|
11202
11202
|
function db() {
|
|
11203
11203
|
}
|
|
11204
|
-
function
|
|
11204
|
+
function Ea(e) {
|
|
11205
11205
|
return e == null ? db : function() {
|
|
11206
11206
|
return this.querySelector(e);
|
|
11207
11207
|
};
|
|
11208
11208
|
}
|
|
11209
11209
|
function fb(e) {
|
|
11210
|
-
typeof e != "function" && (e =
|
|
11210
|
+
typeof e != "function" && (e = Ea(e));
|
|
11211
11211
|
for (var t = this._groups, n = t.length, r = new Array(n), o = 0; o < n; ++o)
|
|
11212
11212
|
for (var s = t[o], i = s.length, a = r[o] = new Array(i), c, l, u = 0; u < i; ++u)
|
|
11213
11213
|
(c = s[u]) && (l = e.call(c, c.__data__, u, s)) && ("__data__" in c && (l.__data__ = c.__data__), a[u] = l);
|
|
@@ -11498,7 +11498,7 @@ function s1(e, t) {
|
|
|
11498
11498
|
function Qd(e) {
|
|
11499
11499
|
return e.trim().split(/^|\s+/);
|
|
11500
11500
|
}
|
|
11501
|
-
function
|
|
11501
|
+
function Na(e) {
|
|
11502
11502
|
return e.classList || new Jd(e);
|
|
11503
11503
|
}
|
|
11504
11504
|
function Jd(e) {
|
|
@@ -11518,11 +11518,11 @@ Jd.prototype = {
|
|
|
11518
11518
|
}
|
|
11519
11519
|
};
|
|
11520
11520
|
function ef(e, t) {
|
|
11521
|
-
for (var n =
|
|
11521
|
+
for (var n = Na(e), r = -1, o = t.length; ++r < o; )
|
|
11522
11522
|
n.add(t[r]);
|
|
11523
11523
|
}
|
|
11524
11524
|
function tf(e, t) {
|
|
11525
|
-
for (var n =
|
|
11525
|
+
for (var n = Na(e), r = -1, o = t.length; ++r < o; )
|
|
11526
11526
|
n.remove(t[r]);
|
|
11527
11527
|
}
|
|
11528
11528
|
function i1(e) {
|
|
@@ -11543,7 +11543,7 @@ function c1(e, t) {
|
|
|
11543
11543
|
function l1(e, t) {
|
|
11544
11544
|
var n = Qd(e + "");
|
|
11545
11545
|
if (arguments.length < 2) {
|
|
11546
|
-
for (var r =
|
|
11546
|
+
for (var r = Na(this.node()), o = -1, s = n.length; ++o < s; )
|
|
11547
11547
|
if (!r.contains(n[o]))
|
|
11548
11548
|
return !1;
|
|
11549
11549
|
return !0;
|
|
@@ -11606,7 +11606,7 @@ function C1() {
|
|
|
11606
11606
|
return null;
|
|
11607
11607
|
}
|
|
11608
11608
|
function $1(e, t) {
|
|
11609
|
-
var n = typeof e == "function" ? e : Ud(e), r = t == null ? C1 : typeof t == "function" ? t :
|
|
11609
|
+
var n = typeof e == "function" ? e : Ud(e), r = t == null ? C1 : typeof t == "function" ? t : Ea(t);
|
|
11610
11610
|
return this.select(function() {
|
|
11611
11611
|
return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
|
|
11612
11612
|
});
|
|
@@ -11934,7 +11934,7 @@ function af() {
|
|
|
11934
11934
|
return arguments.length ? (d = (x = +x) * x, f) : Math.sqrt(d);
|
|
11935
11935
|
}, f;
|
|
11936
11936
|
}
|
|
11937
|
-
function
|
|
11937
|
+
function Ma(e, t, n) {
|
|
11938
11938
|
e.prototype = t.prototype = n, n.constructor = e;
|
|
11939
11939
|
}
|
|
11940
11940
|
function cf(e, t) {
|
|
@@ -11945,7 +11945,7 @@ function cf(e, t) {
|
|
|
11945
11945
|
}
|
|
11946
11946
|
function kr() {
|
|
11947
11947
|
}
|
|
11948
|
-
var Cr = 0.7, Vo = 1 / Cr, Mn = "\\s*([+-]?\\d+)\\s*", $r = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", ft = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Y1 = /^#([0-9a-f]{3,8})$/, G1 = new RegExp(`^rgb\\(${Mn},${Mn},${Mn}\\)$`), X1 = new RegExp(`^rgb\\(${ft},${ft},${ft}\\)$`), Z1 = new RegExp(`^rgba\\(${Mn},${Mn},${Mn},${$r}\\)$`), q1 = new RegExp(`^rgba\\(${ft},${ft},${ft},${$r}\\)$`), Q1 = new RegExp(`^hsl\\(${$r},${ft},${ft}\\)$`), J1 = new RegExp(`^hsla\\(${$r},${ft},${ft},${$r}\\)$`),
|
|
11948
|
+
var Cr = 0.7, Vo = 1 / Cr, Mn = "\\s*([+-]?\\d+)\\s*", $r = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", ft = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Y1 = /^#([0-9a-f]{3,8})$/, G1 = new RegExp(`^rgb\\(${Mn},${Mn},${Mn}\\)$`), X1 = new RegExp(`^rgb\\(${ft},${ft},${ft}\\)$`), Z1 = new RegExp(`^rgba\\(${Mn},${Mn},${Mn},${$r}\\)$`), q1 = new RegExp(`^rgba\\(${ft},${ft},${ft},${$r}\\)$`), Q1 = new RegExp(`^hsl\\(${$r},${ft},${ft}\\)$`), J1 = new RegExp(`^hsla\\(${$r},${ft},${ft},${$r}\\)$`), Vc = {
|
|
11949
11949
|
aliceblue: 15792383,
|
|
11950
11950
|
antiquewhite: 16444375,
|
|
11951
11951
|
aqua: 65535,
|
|
@@ -12095,22 +12095,22 @@ var Cr = 0.7, Vo = 1 / Cr, Mn = "\\s*([+-]?\\d+)\\s*", $r = "\\s*([+-]?(?:\\d*\\
|
|
|
12095
12095
|
yellow: 16776960,
|
|
12096
12096
|
yellowgreen: 10145074
|
|
12097
12097
|
};
|
|
12098
|
-
|
|
12098
|
+
Ma(kr, _r, {
|
|
12099
12099
|
copy(e) {
|
|
12100
12100
|
return Object.assign(new this.constructor(), this, e);
|
|
12101
12101
|
},
|
|
12102
12102
|
displayable() {
|
|
12103
12103
|
return this.rgb().displayable();
|
|
12104
12104
|
},
|
|
12105
|
-
hex:
|
|
12105
|
+
hex: Fc,
|
|
12106
12106
|
// Deprecated! Use color.formatHex.
|
|
12107
|
-
formatHex:
|
|
12107
|
+
formatHex: Fc,
|
|
12108
12108
|
formatHex8: e2,
|
|
12109
12109
|
formatHsl: t2,
|
|
12110
|
-
formatRgb:
|
|
12111
|
-
toString:
|
|
12110
|
+
formatRgb: Bc,
|
|
12111
|
+
toString: Bc
|
|
12112
12112
|
});
|
|
12113
|
-
function
|
|
12113
|
+
function Fc() {
|
|
12114
12114
|
return this.rgb().formatHex();
|
|
12115
12115
|
}
|
|
12116
12116
|
function e2() {
|
|
@@ -12119,14 +12119,14 @@ function e2() {
|
|
|
12119
12119
|
function t2() {
|
|
12120
12120
|
return lf(this).formatHsl();
|
|
12121
12121
|
}
|
|
12122
|
-
function
|
|
12122
|
+
function Bc() {
|
|
12123
12123
|
return this.rgb().formatRgb();
|
|
12124
12124
|
}
|
|
12125
12125
|
function _r(e) {
|
|
12126
12126
|
var t, n;
|
|
12127
|
-
return e = (e + "").trim().toLowerCase(), (t = Y1.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ?
|
|
12127
|
+
return e = (e + "").trim().toLowerCase(), (t = Y1.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? zc(t) : n === 3 ? new We(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? ro(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? ro(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = G1.exec(e)) ? new We(t[1], t[2], t[3], 1) : (t = X1.exec(e)) ? new We(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Z1.exec(e)) ? ro(t[1], t[2], t[3], t[4]) : (t = q1.exec(e)) ? ro(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Q1.exec(e)) ? Kc(t[1], t[2] / 100, t[3] / 100, 1) : (t = J1.exec(e)) ? Kc(t[1], t[2] / 100, t[3] / 100, t[4]) : Vc.hasOwnProperty(e) ? zc(Vc[e]) : e === "transparent" ? new We(NaN, NaN, NaN, 0) : null;
|
|
12128
12128
|
}
|
|
12129
|
-
function
|
|
12129
|
+
function zc(e) {
|
|
12130
12130
|
return new We(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
|
|
12131
12131
|
}
|
|
12132
12132
|
function ro(e, t, n, r) {
|
|
@@ -12141,7 +12141,7 @@ function Pi(e, t, n, r) {
|
|
|
12141
12141
|
function We(e, t, n, r) {
|
|
12142
12142
|
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
|
|
12143
12143
|
}
|
|
12144
|
-
|
|
12144
|
+
Ma(We, Pi, cf(kr, {
|
|
12145
12145
|
brighter(e) {
|
|
12146
12146
|
return e = e == null ? Vo : Math.pow(Vo, e), new We(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
12147
12147
|
},
|
|
@@ -12157,20 +12157,20 @@ Na(We, Pi, cf(kr, {
|
|
|
12157
12157
|
displayable() {
|
|
12158
12158
|
return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
|
|
12159
12159
|
},
|
|
12160
|
-
hex:
|
|
12160
|
+
hex: Hc,
|
|
12161
12161
|
// Deprecated! Use color.formatHex.
|
|
12162
|
-
formatHex:
|
|
12162
|
+
formatHex: Hc,
|
|
12163
12163
|
formatHex8: r2,
|
|
12164
|
-
formatRgb:
|
|
12165
|
-
toString:
|
|
12164
|
+
formatRgb: Wc,
|
|
12165
|
+
toString: Wc
|
|
12166
12166
|
}));
|
|
12167
|
-
function
|
|
12167
|
+
function Hc() {
|
|
12168
12168
|
return `#${an(this.r)}${an(this.g)}${an(this.b)}`;
|
|
12169
12169
|
}
|
|
12170
12170
|
function r2() {
|
|
12171
12171
|
return `#${an(this.r)}${an(this.g)}${an(this.b)}${an((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
|
|
12172
12172
|
}
|
|
12173
|
-
function
|
|
12173
|
+
function Wc() {
|
|
12174
12174
|
const e = Fo(this.opacity);
|
|
12175
12175
|
return `${e === 1 ? "rgb(" : "rgba("}${cn(this.r)}, ${cn(this.g)}, ${cn(this.b)}${e === 1 ? ")" : `, ${e})`}`;
|
|
12176
12176
|
}
|
|
@@ -12183,7 +12183,7 @@ function cn(e) {
|
|
|
12183
12183
|
function an(e) {
|
|
12184
12184
|
return e = cn(e), (e < 16 ? "0" : "") + e.toString(16);
|
|
12185
12185
|
}
|
|
12186
|
-
function
|
|
12186
|
+
function Kc(e, t, n, r) {
|
|
12187
12187
|
return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new tt(e, t, n, r);
|
|
12188
12188
|
}
|
|
12189
12189
|
function lf(e) {
|
|
@@ -12203,7 +12203,7 @@ function o2(e, t, n, r) {
|
|
|
12203
12203
|
function tt(e, t, n, r) {
|
|
12204
12204
|
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
|
|
12205
12205
|
}
|
|
12206
|
-
|
|
12206
|
+
Ma(tt, o2, cf(kr, {
|
|
12207
12207
|
brighter(e) {
|
|
12208
12208
|
return e = e == null ? Vo : Math.pow(Vo, e), new tt(this.h, this.s, this.l * e, this.opacity);
|
|
12209
12209
|
},
|
|
@@ -12220,17 +12220,17 @@ Na(tt, o2, cf(kr, {
|
|
|
12220
12220
|
);
|
|
12221
12221
|
},
|
|
12222
12222
|
clamp() {
|
|
12223
|
-
return new tt(
|
|
12223
|
+
return new tt(Uc(this.h), oo(this.s), oo(this.l), Fo(this.opacity));
|
|
12224
12224
|
},
|
|
12225
12225
|
displayable() {
|
|
12226
12226
|
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
|
|
12227
12227
|
},
|
|
12228
12228
|
formatHsl() {
|
|
12229
12229
|
const e = Fo(this.opacity);
|
|
12230
|
-
return `${e === 1 ? "hsl(" : "hsla("}${
|
|
12230
|
+
return `${e === 1 ? "hsl(" : "hsla("}${Uc(this.h)}, ${oo(this.s) * 100}%, ${oo(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
|
|
12231
12231
|
}
|
|
12232
12232
|
}));
|
|
12233
|
-
function
|
|
12233
|
+
function Uc(e) {
|
|
12234
12234
|
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
|
|
12235
12235
|
}
|
|
12236
12236
|
function oo(e) {
|
|
@@ -12259,7 +12259,7 @@ function df(e, t) {
|
|
|
12259
12259
|
var n = t - e;
|
|
12260
12260
|
return n ? s2(e, n) : uf(isNaN(e) ? t : e);
|
|
12261
12261
|
}
|
|
12262
|
-
const
|
|
12262
|
+
const Yc = function e(t) {
|
|
12263
12263
|
var n = a2(t);
|
|
12264
12264
|
function r(o, s) {
|
|
12265
12265
|
var i = n((o = Pi(o)).r, (s = Pi(s)).r), a = n(o.g, s.g), c = n(o.b, s.b), l = df(o.opacity, s.opacity);
|
|
@@ -12295,7 +12295,7 @@ function u2(e, t) {
|
|
|
12295
12295
|
return a.join("");
|
|
12296
12296
|
});
|
|
12297
12297
|
}
|
|
12298
|
-
var
|
|
12298
|
+
var Gc = 180 / Math.PI, Ri = {
|
|
12299
12299
|
translateX: 0,
|
|
12300
12300
|
translateY: 0,
|
|
12301
12301
|
rotate: 0,
|
|
@@ -12308,8 +12308,8 @@ function ff(e, t, n, r, o, s) {
|
|
|
12308
12308
|
return (i = Math.sqrt(e * e + t * t)) && (e /= i, t /= i), (c = e * n + t * r) && (n -= e * c, r -= t * c), (a = Math.sqrt(n * n + r * r)) && (n /= a, r /= a, c /= a), e * r < t * n && (e = -e, t = -t, c = -c, i = -i), {
|
|
12309
12309
|
translateX: o,
|
|
12310
12310
|
translateY: s,
|
|
12311
|
-
rotate: Math.atan2(t, e) *
|
|
12312
|
-
skewX: Math.atan(c) *
|
|
12311
|
+
rotate: Math.atan2(t, e) * Gc,
|
|
12312
|
+
skewX: Math.atan(c) * Gc,
|
|
12313
12313
|
scaleX: i,
|
|
12314
12314
|
scaleY: a
|
|
12315
12315
|
};
|
|
@@ -12356,7 +12356,7 @@ function hf(e, t, n, r) {
|
|
|
12356
12356
|
};
|
|
12357
12357
|
}
|
|
12358
12358
|
var h2 = hf(d2, "px, ", "px)", "deg)"), p2 = hf(f2, ", ", ")", ")"), m2 = 1e-12;
|
|
12359
|
-
function
|
|
12359
|
+
function Xc(e) {
|
|
12360
12360
|
return ((e = Math.exp(e)) + 1 / e) / 2;
|
|
12361
12361
|
}
|
|
12362
12362
|
function g2(e) {
|
|
@@ -12379,11 +12379,11 @@ const y2 = function e(t, n, r) {
|
|
|
12379
12379
|
else {
|
|
12380
12380
|
var b = Math.sqrt(m), w = (f * f - l * l + r * m) / (2 * l * n * b), x = (f * f - l * l - r * m) / (2 * f * n * b), E = Math.log(Math.sqrt(w * w + 1) - w), P = Math.log(Math.sqrt(x * x + 1) - x);
|
|
12381
12381
|
v = (P - E) / t, y = function($) {
|
|
12382
|
-
var N = $ * v, I =
|
|
12382
|
+
var N = $ * v, I = Xc(E), R = l / (n * b) * (I * v2(t * N + E) - g2(E));
|
|
12383
12383
|
return [
|
|
12384
12384
|
a + R * h,
|
|
12385
12385
|
c + R * p,
|
|
12386
|
-
l * I /
|
|
12386
|
+
l * I / Xc(t * N + E)
|
|
12387
12387
|
];
|
|
12388
12388
|
};
|
|
12389
12389
|
}
|
|
@@ -12397,7 +12397,7 @@ const y2 = function e(t, n, r) {
|
|
|
12397
12397
|
var jn = 0, ar = 0, sr = 0, pf = 1e3, Bo, cr, zo = 0, dn = 0, ds = 0, Er = typeof performance == "object" && performance.now ? performance : Date, mf = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
|
|
12398
12398
|
setTimeout(e, 17);
|
|
12399
12399
|
};
|
|
12400
|
-
function
|
|
12400
|
+
function Ta() {
|
|
12401
12401
|
return dn || (mf(x2), dn = Er.now() + ds);
|
|
12402
12402
|
}
|
|
12403
12403
|
function x2() {
|
|
@@ -12411,7 +12411,7 @@ Ho.prototype = gf.prototype = {
|
|
|
12411
12411
|
restart: function(e, t, n) {
|
|
12412
12412
|
if (typeof e != "function")
|
|
12413
12413
|
throw new TypeError("callback is not a function");
|
|
12414
|
-
n = (n == null ?
|
|
12414
|
+
n = (n == null ? Ta() : +n) + (t == null ? 0 : +t), !this._next && cr !== this && (cr ? cr._next = this : Bo = this, cr = this), this._call = e, this._time = n, Ii();
|
|
12415
12415
|
},
|
|
12416
12416
|
stop: function() {
|
|
12417
12417
|
this._call && (this._call = null, this._time = 1 / 0, Ii());
|
|
@@ -12422,12 +12422,12 @@ function gf(e, t, n) {
|
|
|
12422
12422
|
return r.restart(e, t, n), r;
|
|
12423
12423
|
}
|
|
12424
12424
|
function w2() {
|
|
12425
|
-
|
|
12425
|
+
Ta(), ++jn;
|
|
12426
12426
|
for (var e = Bo, t; e; )
|
|
12427
12427
|
(t = dn - e._time) >= 0 && e._call.call(void 0, t), e = e._next;
|
|
12428
12428
|
--jn;
|
|
12429
12429
|
}
|
|
12430
|
-
function
|
|
12430
|
+
function Zc() {
|
|
12431
12431
|
dn = (zo = Er.now()) + ds, jn = ar = 0;
|
|
12432
12432
|
try {
|
|
12433
12433
|
w2();
|
|
@@ -12448,16 +12448,16 @@ function Ii(e) {
|
|
|
12448
12448
|
if (!jn) {
|
|
12449
12449
|
ar && (ar = clearTimeout(ar));
|
|
12450
12450
|
var t = e - dn;
|
|
12451
|
-
t > 24 ? (e < 1 / 0 && (ar = setTimeout(
|
|
12451
|
+
t > 24 ? (e < 1 / 0 && (ar = setTimeout(Zc, e - Er.now() - ds)), sr && (sr = clearInterval(sr))) : (sr || (zo = Er.now(), sr = setInterval(b2, pf)), jn = 1, mf(Zc));
|
|
12452
12452
|
}
|
|
12453
12453
|
}
|
|
12454
|
-
function
|
|
12454
|
+
function qc(e, t, n) {
|
|
12455
12455
|
var r = new Ho();
|
|
12456
12456
|
return t = t == null ? 0 : +t, r.restart((o) => {
|
|
12457
12457
|
r.stop(), e(o + t);
|
|
12458
12458
|
}, t, n), r;
|
|
12459
12459
|
}
|
|
12460
|
-
var C2 = ls("start", "end", "cancel", "interrupt"), $2 = [], vf = 0,
|
|
12460
|
+
var C2 = ls("start", "end", "cancel", "interrupt"), $2 = [], vf = 0, Qc = 1, ki = 2, xo = 3, Jc = 4, Di = 5, wo = 6;
|
|
12461
12461
|
function fs(e, t, n, r, o, s) {
|
|
12462
12462
|
var i = e.__transition;
|
|
12463
12463
|
if (!i)
|
|
@@ -12480,7 +12480,7 @@ function fs(e, t, n, r, o, s) {
|
|
|
12480
12480
|
state: vf
|
|
12481
12481
|
});
|
|
12482
12482
|
}
|
|
12483
|
-
function
|
|
12483
|
+
function Pa(e, t) {
|
|
12484
12484
|
var n = it(e, t);
|
|
12485
12485
|
if (n.state > vf)
|
|
12486
12486
|
throw new Error("too late; already scheduled");
|
|
@@ -12502,20 +12502,20 @@ function _2(e, t, n) {
|
|
|
12502
12502
|
var r = e.__transition, o;
|
|
12503
12503
|
r[t] = n, n.timer = gf(s, 0, n.time);
|
|
12504
12504
|
function s(l) {
|
|
12505
|
-
n.state =
|
|
12505
|
+
n.state = Qc, n.timer.restart(i, n.delay, n.time), n.delay <= l && i(l - n.delay);
|
|
12506
12506
|
}
|
|
12507
12507
|
function i(l) {
|
|
12508
12508
|
var u, d, f, h;
|
|
12509
|
-
if (n.state !==
|
|
12509
|
+
if (n.state !== Qc)
|
|
12510
12510
|
return c();
|
|
12511
12511
|
for (u in r)
|
|
12512
12512
|
if (h = r[u], h.name === n.name) {
|
|
12513
12513
|
if (h.state === xo)
|
|
12514
|
-
return
|
|
12515
|
-
h.state ===
|
|
12514
|
+
return qc(i);
|
|
12515
|
+
h.state === Jc ? (h.state = wo, h.timer.stop(), h.on.call("interrupt", e, e.__data__, h.index, h.group), delete r[u]) : +u < t && (h.state = wo, h.timer.stop(), h.on.call("cancel", e, e.__data__, h.index, h.group), delete r[u]);
|
|
12516
12516
|
}
|
|
12517
|
-
if (
|
|
12518
|
-
n.state === xo && (n.state =
|
|
12517
|
+
if (qc(function() {
|
|
12518
|
+
n.state === xo && (n.state = Jc, n.timer.restart(a, n.delay, n.time), a(l));
|
|
12519
12519
|
}), n.state = ki, n.on.call("start", e, e.__data__, n.index, n.group), n.state === ki) {
|
|
12520
12520
|
for (n.state = xo, o = new Array(f = n.tween.length), u = 0, d = -1; u < f; ++u)
|
|
12521
12521
|
(h = n.tween[u].value.call(e, e.__data__, n.index, n.group)) && (o[++d] = h);
|
|
@@ -12596,7 +12596,7 @@ function T2(e, t) {
|
|
|
12596
12596
|
}
|
|
12597
12597
|
return this.each((t == null ? N2 : M2)(n, e, t));
|
|
12598
12598
|
}
|
|
12599
|
-
function
|
|
12599
|
+
function Oa(e, t, n) {
|
|
12600
12600
|
var r = e._id;
|
|
12601
12601
|
return e.each(function() {
|
|
12602
12602
|
var o = vt(this, r);
|
|
@@ -12607,7 +12607,7 @@ function Pa(e, t, n) {
|
|
|
12607
12607
|
}
|
|
12608
12608
|
function yf(e, t) {
|
|
12609
12609
|
var n;
|
|
12610
|
-
return (typeof t == "number" ? Yt : t instanceof _r ?
|
|
12610
|
+
return (typeof t == "number" ? Yt : t instanceof _r ? Yc : (n = _r(t)) ? (t = n, Yc) : u2)(e, t);
|
|
12611
12611
|
}
|
|
12612
12612
|
function P2(e) {
|
|
12613
12613
|
return function() {
|
|
@@ -12649,7 +12649,7 @@ function D2(e, t, n) {
|
|
|
12649
12649
|
}
|
|
12650
12650
|
function A2(e, t) {
|
|
12651
12651
|
var n = us(e), r = n === "transform" ? p2 : yf;
|
|
12652
|
-
return this.attrTween(e, typeof t == "function" ? (n.local ? D2 : k2)(n, r,
|
|
12652
|
+
return this.attrTween(e, typeof t == "function" ? (n.local ? D2 : k2)(n, r, Oa(this, "attr." + e, t)) : t == null ? (n.local ? O2 : P2)(n) : (n.local ? I2 : R2)(n, r, t));
|
|
12653
12653
|
}
|
|
12654
12654
|
function j2(e, t) {
|
|
12655
12655
|
return function(n) {
|
|
@@ -12690,12 +12690,12 @@ function B2(e, t) {
|
|
|
12690
12690
|
}
|
|
12691
12691
|
function z2(e, t) {
|
|
12692
12692
|
return function() {
|
|
12693
|
-
|
|
12693
|
+
Pa(this, e).delay = +t.apply(this, arguments);
|
|
12694
12694
|
};
|
|
12695
12695
|
}
|
|
12696
12696
|
function H2(e, t) {
|
|
12697
12697
|
return t = +t, function() {
|
|
12698
|
-
|
|
12698
|
+
Pa(this, e).delay = t;
|
|
12699
12699
|
};
|
|
12700
12700
|
}
|
|
12701
12701
|
function W2(e) {
|
|
@@ -12764,7 +12764,7 @@ function eS(e) {
|
|
|
12764
12764
|
});
|
|
12765
12765
|
}
|
|
12766
12766
|
function tS(e, t, n) {
|
|
12767
|
-
var r, o, s = eS(t) ?
|
|
12767
|
+
var r, o, s = eS(t) ? Pa : vt;
|
|
12768
12768
|
return function() {
|
|
12769
12769
|
var i = s(this, e), a = i.on;
|
|
12770
12770
|
a !== r && (o = (r = a).copy()).on(t, n), i.on = o;
|
|
@@ -12788,7 +12788,7 @@ function oS() {
|
|
|
12788
12788
|
}
|
|
12789
12789
|
function sS(e) {
|
|
12790
12790
|
var t = this._name, n = this._id;
|
|
12791
|
-
typeof e != "function" && (e =
|
|
12791
|
+
typeof e != "function" && (e = Ea(e));
|
|
12792
12792
|
for (var r = this._groups, o = r.length, s = new Array(o), i = 0; i < o; ++i)
|
|
12793
12793
|
for (var a = r[i], c = a.length, l = s[i] = new Array(c), u, d, f = 0; f < c; ++f)
|
|
12794
12794
|
(u = a[f]) && (d = e.call(u, u.__data__, f, a)) && ("__data__" in u && (d.__data__ = u.__data__), l[f] = d, fs(l[f], t, n, f, l, it(u, n)));
|
|
@@ -12845,7 +12845,7 @@ function fS(e, t) {
|
|
|
12845
12845
|
}
|
|
12846
12846
|
function hS(e, t, n) {
|
|
12847
12847
|
var r = (e += "") == "transform" ? h2 : yf;
|
|
12848
|
-
return t == null ? this.styleTween(e, lS(e, r)).on("end.style." + e, xf(e)) : typeof t == "function" ? this.styleTween(e, dS(e, r,
|
|
12848
|
+
return t == null ? this.styleTween(e, lS(e, r)).on("end.style." + e, xf(e)) : typeof t == "function" ? this.styleTween(e, dS(e, r, Oa(this, "style." + e, t))).each(fS(this._id, e)) : this.styleTween(e, uS(e, r, t), n).on("end.style." + e, null);
|
|
12849
12849
|
}
|
|
12850
12850
|
function pS(e, t, n) {
|
|
12851
12851
|
return function(r) {
|
|
@@ -12882,7 +12882,7 @@ function yS(e) {
|
|
|
12882
12882
|
};
|
|
12883
12883
|
}
|
|
12884
12884
|
function xS(e) {
|
|
12885
|
-
return this.tween("text", typeof e == "function" ? yS(
|
|
12885
|
+
return this.tween("text", typeof e == "function" ? yS(Oa(this, "text", e)) : vS(e == null ? "" : e + ""));
|
|
12886
12886
|
}
|
|
12887
12887
|
function wS(e) {
|
|
12888
12888
|
return function(t) {
|
|
@@ -12991,7 +12991,7 @@ function MS(e, t) {
|
|
|
12991
12991
|
}
|
|
12992
12992
|
function TS(e) {
|
|
12993
12993
|
var t, n;
|
|
12994
|
-
e instanceof Pt ? (t = e._id, e = e._name) : (t = wf(), (n = NS).time =
|
|
12994
|
+
e instanceof Pt ? (t = e._id, e = e._name) : (t = wf(), (n = NS).time = Ta(), e = e == null ? null : e + "");
|
|
12995
12995
|
for (var r = this._groups, o = r.length, s = 0; s < o; ++s)
|
|
12996
12996
|
for (var i = r[s], a = i.length, c, l = 0; l < a; ++l)
|
|
12997
12997
|
(c = i[l]) && fs(c, e, t, l, i, n || MS(c, t));
|
|
@@ -13074,7 +13074,7 @@ function RS() {
|
|
|
13074
13074
|
var e = this;
|
|
13075
13075
|
return e instanceof SVGElement ? (e = e.ownerSVGElement || e, e.hasAttribute("viewBox") ? (e = e.viewBox.baseVal, [[e.x, e.y], [e.x + e.width, e.y + e.height]]) : [[0, 0], [e.width.baseVal.value, e.height.baseVal.value]]) : [[0, 0], [e.clientWidth, e.clientHeight]];
|
|
13076
13076
|
}
|
|
13077
|
-
function
|
|
13077
|
+
function el() {
|
|
13078
13078
|
return this.__zoom || hs;
|
|
13079
13079
|
}
|
|
13080
13080
|
function IS(e) {
|
|
@@ -13093,11 +13093,11 @@ function DS(e, t, n) {
|
|
|
13093
13093
|
function Sf() {
|
|
13094
13094
|
var e = OS, t = RS, n = DS, r = IS, o = kS, s = [0, 1 / 0], i = [[-1 / 0, -1 / 0], [1 / 0, 1 / 0]], a = 250, c = y2, l = ls("start", "zoom", "end"), u, d, f, h = 500, p = 150, m = 0, y = 10;
|
|
13095
13095
|
function v(S) {
|
|
13096
|
-
S.property("__zoom",
|
|
13096
|
+
S.property("__zoom", el).on("wheel.zoom", N, { passive: !1 }).on("mousedown.zoom", I).on("dblclick.zoom", R).filter(o).on("touchstart.zoom", L).on("touchmove.zoom", j).on("touchend.zoom touchcancel.zoom", A).style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
|
|
13097
13097
|
}
|
|
13098
13098
|
v.transform = function(S, T, _, M) {
|
|
13099
13099
|
var k = S.selection ? S.selection() : S;
|
|
13100
|
-
k.property("__zoom",
|
|
13100
|
+
k.property("__zoom", el), S !== k ? E(S, T, _, M) : k.interrupt().each(function() {
|
|
13101
13101
|
P(this, arguments).event(M).start().zoom(null, typeof T == "function" ? T.apply(this, arguments) : T).end();
|
|
13102
13102
|
});
|
|
13103
13103
|
}, v.scaleBy = function(S, T, _, M) {
|
|
@@ -13348,7 +13348,7 @@ var le;
|
|
|
13348
13348
|
(function(e) {
|
|
13349
13349
|
e.Left = "left", e.Top = "top", e.Right = "right", e.Bottom = "bottom";
|
|
13350
13350
|
})(le || (le = {}));
|
|
13351
|
-
const
|
|
13351
|
+
const tl = {
|
|
13352
13352
|
[le.Left]: le.Right,
|
|
13353
13353
|
[le.Right]: le.Left,
|
|
13354
13354
|
[le.Top]: le.Bottom,
|
|
@@ -13370,9 +13370,9 @@ const Ef = (e) => "id" in e && "source" in e && "target" in e, AS = (e) => "id"
|
|
|
13370
13370
|
return e.forEach((r) => {
|
|
13371
13371
|
if (t.filter === void 0 || t.filter(r)) {
|
|
13372
13372
|
const o = Vi(r);
|
|
13373
|
-
n =
|
|
13373
|
+
n = Ia(n, o);
|
|
13374
13374
|
}
|
|
13375
|
-
}),
|
|
13375
|
+
}), ka(n);
|
|
13376
13376
|
}, Mf = (e, t, [n, r, o] = [0, 0, 1], s = !1, i = !1) => {
|
|
13377
13377
|
const a = {
|
|
13378
13378
|
...jr(t, [n, r, o]),
|
|
@@ -13402,7 +13402,7 @@ function Ai(e, t) {
|
|
|
13402
13402
|
async function ji({ nodes: e, width: t, height: n, panZoom: r, minZoom: o, maxZoom: s }, i) {
|
|
13403
13403
|
if (e.size === 0)
|
|
13404
13404
|
return Promise.resolve(!1);
|
|
13405
|
-
const a = Ar(e), c =
|
|
13405
|
+
const a = Ar(e), c = Da(a, t, n, i?.minZoom ?? o, i?.maxZoom ?? s, i?.padding ?? 0.1);
|
|
13406
13406
|
return await r.setViewport(c, { duration: i?.duration }), Promise.resolve(!0);
|
|
13407
13407
|
}
|
|
13408
13408
|
function LS(e, t) {
|
|
@@ -13422,11 +13422,11 @@ function Tf({ nodeId: e, nextPosition: t, nodeLookup: n, nodeOrigin: r = [0, 0],
|
|
|
13422
13422
|
]);
|
|
13423
13423
|
}
|
|
13424
13424
|
else
|
|
13425
|
-
a &&
|
|
13425
|
+
a && ol(i.extent) && (d = [
|
|
13426
13426
|
[i.extent[0][0] + c, i.extent[0][1] + l],
|
|
13427
13427
|
[i.extent[1][0] + c, i.extent[1][1] + l]
|
|
13428
13428
|
]);
|
|
13429
|
-
const f =
|
|
13429
|
+
const f = ol(d) ? Ra(t, d) : t;
|
|
13430
13430
|
return {
|
|
13431
13431
|
position: {
|
|
13432
13432
|
// TODO: is there a better way to do this?
|
|
@@ -13458,13 +13458,13 @@ async function VS({ nodesToRemove: e = [], edgesToRemove: t = [], nodes: n, edge
|
|
|
13458
13458
|
});
|
|
13459
13459
|
return typeof d == "boolean" ? d ? { edges: u, nodes: i } : { edges: [], nodes: [] } : d;
|
|
13460
13460
|
}
|
|
13461
|
-
const Ln = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n),
|
|
13461
|
+
const Ln = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n), Ra = (e = { x: 0, y: 0 }, t) => ({
|
|
13462
13462
|
x: Ln(e.x, t[0][0], t[1][0]),
|
|
13463
13463
|
y: Ln(e.y, t[0][1], t[1][1])
|
|
13464
|
-
}),
|
|
13465
|
-
const o =
|
|
13464
|
+
}), nl = (e, t, n) => e < t ? Ln(Math.abs(e - t), 1, t) / t : e > n ? -Ln(Math.abs(e - n), 1, t) / t : 0, Pf = (e, t, n = 15, r = 40) => {
|
|
13465
|
+
const o = nl(e.x, r, t.width - r) * n, s = nl(e.y, r, t.height - r) * n;
|
|
13466
13466
|
return [o, s];
|
|
13467
|
-
},
|
|
13467
|
+
}, Ia = (e, t) => ({
|
|
13468
13468
|
x: Math.min(e.x, t.x),
|
|
13469
13469
|
y: Math.min(e.y, t.y),
|
|
13470
13470
|
x2: Math.max(e.x2, t.x2),
|
|
@@ -13474,7 +13474,7 @@ const Ln = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n), Oa = (e = { x: 0, y
|
|
|
13474
13474
|
y: t,
|
|
13475
13475
|
x2: e + n,
|
|
13476
13476
|
y2: t + r
|
|
13477
|
-
}),
|
|
13477
|
+
}), ka = ({ x: e, y: t, x2: n, y2: r }) => ({
|
|
13478
13478
|
x: e,
|
|
13479
13479
|
y: t,
|
|
13480
13480
|
width: n - e,
|
|
@@ -13495,10 +13495,10 @@ const Ln = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n), Oa = (e = { x: 0, y
|
|
|
13495
13495
|
x2: n + (e.measured?.width ?? e.width ?? e.initialWidth ?? 0),
|
|
13496
13496
|
y2: r + (e.measured?.height ?? e.height ?? e.initialHeight ?? 0)
|
|
13497
13497
|
};
|
|
13498
|
-
}, Of = (e, t) => Ia(
|
|
13498
|
+
}, Of = (e, t) => ka(Ia(Li(e), Li(t))), Uo = (e, t) => {
|
|
13499
13499
|
const n = Math.max(0, Math.min(e.x + e.width, t.x + t.width) - Math.max(e.x, t.x)), r = Math.max(0, Math.min(e.y + e.height, t.y + t.height) - Math.max(e.y, t.y));
|
|
13500
13500
|
return Math.ceil(n * r);
|
|
13501
|
-
},
|
|
13501
|
+
}, rl = (e) => nt(e.width) && nt(e.height) && nt(e.x) && nt(e.y), nt = (e) => !isNaN(e) && isFinite(e), Rf = (e, t) => {
|
|
13502
13502
|
process.env.NODE_ENV === "development" && console.warn(`[React Flow]: ${t} Help: https://reactflow.dev/error#${e}`);
|
|
13503
13503
|
}, ps = (e, t = [1, 1]) => ({
|
|
13504
13504
|
x: t[0] * Math.round(e.x / t[0]),
|
|
@@ -13512,11 +13512,11 @@ const Ln = (e, t = 0, n = 1) => Math.min(Math.max(e, t), n), Oa = (e = { x: 0, y
|
|
|
13512
13512
|
}, If = ({ x: e, y: t }, [n, r, o]) => ({
|
|
13513
13513
|
x: e * o + n,
|
|
13514
13514
|
y: t * o + r
|
|
13515
|
-
}),
|
|
13515
|
+
}), Da = (e, t, n, r, o, s) => {
|
|
13516
13516
|
const i = t / (e.width * (1 + s)), a = n / (e.height * (1 + s)), c = Math.min(i, a), l = Ln(c, r, o), u = e.x + e.width / 2, d = e.y + e.height / 2, f = t / 2 - u * l, h = n / 2 - d * l;
|
|
13517
13517
|
return { x: f, y: h, zoom: l };
|
|
13518
13518
|
}, Yo = () => typeof navigator < "u" && navigator?.userAgent?.indexOf("Mac") >= 0;
|
|
13519
|
-
function
|
|
13519
|
+
function ol(e) {
|
|
13520
13520
|
return e !== void 0 && e !== "parent";
|
|
13521
13521
|
}
|
|
13522
13522
|
function Lr(e) {
|
|
@@ -13548,7 +13548,7 @@ function ur(e, { snapGrid: t = [0, 0], snapToGrid: n = !1, transform: r }) {
|
|
|
13548
13548
|
...i
|
|
13549
13549
|
};
|
|
13550
13550
|
}
|
|
13551
|
-
const
|
|
13551
|
+
const Aa = (e) => ({
|
|
13552
13552
|
width: e.offsetWidth,
|
|
13553
13553
|
height: e.offsetHeight
|
|
13554
13554
|
}), Af = (e) => e.getRootNode?.() || window?.document, FS = ["INPUT", "SELECT", "TEXTAREA"];
|
|
@@ -13562,7 +13562,7 @@ const jf = (e) => "clientX" in e, _t = (e, t) => {
|
|
|
13562
13562
|
x: r - (t?.left ?? 0),
|
|
13563
13563
|
y: o - (t?.top ?? 0)
|
|
13564
13564
|
};
|
|
13565
|
-
},
|
|
13565
|
+
}, sl = (e, t, n, r, o) => {
|
|
13566
13566
|
const s = t.querySelectorAll(`.${e}`);
|
|
13567
13567
|
return !s || !s.length ? null : Array.from(s).map((i) => {
|
|
13568
13568
|
const a = i.getBoundingClientRect();
|
|
@@ -13573,7 +13573,7 @@ const jf = (e) => "clientX" in e, _t = (e, t) => {
|
|
|
13573
13573
|
position: i.getAttribute("data-handlepos"),
|
|
13574
13574
|
x: (a.left - n.left) / r,
|
|
13575
13575
|
y: (a.top - n.top) / r,
|
|
13576
|
-
...
|
|
13576
|
+
...Aa(i)
|
|
13577
13577
|
};
|
|
13578
13578
|
});
|
|
13579
13579
|
};
|
|
@@ -13584,7 +13584,7 @@ function Lf({ sourceX: e, sourceY: t, targetX: n, targetY: r, sourceControlX: o,
|
|
|
13584
13584
|
function ao(e, t) {
|
|
13585
13585
|
return e >= 0 ? 0.5 * e : t * 25 * Math.sqrt(-e);
|
|
13586
13586
|
}
|
|
13587
|
-
function
|
|
13587
|
+
function il({ pos: e, x1: t, y1: n, x2: r, y2: o, c: s }) {
|
|
13588
13588
|
switch (e) {
|
|
13589
13589
|
case le.Left:
|
|
13590
13590
|
return [t - ao(t - r, s), n];
|
|
@@ -13597,14 +13597,14 @@ function sl({ pos: e, x1: t, y1: n, x2: r, y2: o, c: s }) {
|
|
|
13597
13597
|
}
|
|
13598
13598
|
}
|
|
13599
13599
|
function Vf({ sourceX: e, sourceY: t, sourcePosition: n = le.Bottom, targetX: r, targetY: o, targetPosition: s = le.Top, curvature: i = 0.25 }) {
|
|
13600
|
-
const [a, c] =
|
|
13600
|
+
const [a, c] = il({
|
|
13601
13601
|
pos: n,
|
|
13602
13602
|
x1: e,
|
|
13603
13603
|
y1: t,
|
|
13604
13604
|
x2: r,
|
|
13605
13605
|
y2: o,
|
|
13606
13606
|
c: i
|
|
13607
|
-
}), [l, u] =
|
|
13607
|
+
}), [l, u] = il({
|
|
13608
13608
|
pos: s,
|
|
13609
13609
|
x1: r,
|
|
13610
13610
|
y1: o,
|
|
@@ -13640,7 +13640,7 @@ function BS({ sourceNode: e, targetNode: t, selected: n = !1, zIndex: r = 0, ele
|
|
|
13640
13640
|
return r + (s ? i : 0);
|
|
13641
13641
|
}
|
|
13642
13642
|
function zS({ sourceNode: e, targetNode: t, width: n, height: r, transform: o }) {
|
|
13643
|
-
const s =
|
|
13643
|
+
const s = Ia(Vi(e), Vi(t));
|
|
13644
13644
|
s.x === s.x2 && (s.x2 += 1), s.y === s.y2 && (s.y2 += 1);
|
|
13645
13645
|
const i = {
|
|
13646
13646
|
x: -o[0] / o[2],
|
|
@@ -13648,7 +13648,7 @@ function zS({ sourceNode: e, targetNode: t, width: n, height: r, transform: o })
|
|
|
13648
13648
|
width: n / o[2],
|
|
13649
13649
|
height: r / o[2]
|
|
13650
13650
|
};
|
|
13651
|
-
return Uo(i,
|
|
13651
|
+
return Uo(i, ka(s)) > 0;
|
|
13652
13652
|
}
|
|
13653
13653
|
const HS = ({ source: e, sourceHandle: t, target: n, targetHandle: r }) => `xy-edge__${e}${t || ""}-${n}${r || ""}`, WS = (e, t) => t.some((n) => n.source === e.source && n.target === e.target && (n.sourceHandle === e.sourceHandle || !n.sourceHandle && !e.sourceHandle) && (n.targetHandle === e.targetHandle || !n.targetHandle && !e.targetHandle)), Bf = (e, t) => {
|
|
13654
13654
|
if (!e.source || !e.target)
|
|
@@ -13668,14 +13668,14 @@ function zf({ sourceX: e, sourceY: t, targetX: n, targetY: r }) {
|
|
|
13668
13668
|
});
|
|
13669
13669
|
return [`M ${e},${t}L ${n},${r}`, o, s, i, a];
|
|
13670
13670
|
}
|
|
13671
|
-
const
|
|
13671
|
+
const al = {
|
|
13672
13672
|
[le.Left]: { x: -1, y: 0 },
|
|
13673
13673
|
[le.Right]: { x: 1, y: 0 },
|
|
13674
13674
|
[le.Top]: { x: 0, y: -1 },
|
|
13675
13675
|
[le.Bottom]: { x: 0, y: 1 }
|
|
13676
|
-
}, KS = ({ source: e, sourcePosition: t = le.Bottom, target: n }) => t === le.Left || t === le.Right ? e.x < n.x ? { x: 1, y: 0 } : { x: -1, y: 0 } : e.y < n.y ? { x: 0, y: 1 } : { x: 0, y: -1 },
|
|
13676
|
+
}, KS = ({ source: e, sourcePosition: t = le.Bottom, target: n }) => t === le.Left || t === le.Right ? e.x < n.x ? { x: 1, y: 0 } : { x: -1, y: 0 } : e.y < n.y ? { x: 0, y: 1 } : { x: 0, y: -1 }, cl = (e, t) => Math.sqrt(Math.pow(t.x - e.x, 2) + Math.pow(t.y - e.y, 2));
|
|
13677
13677
|
function US({ source: e, sourcePosition: t = le.Bottom, target: n, targetPosition: r = le.Top, center: o, offset: s }) {
|
|
13678
|
-
const i =
|
|
13678
|
+
const i = al[t], a = al[r], c = { x: e.x + i.x * s, y: e.y + i.y * s }, l = { x: n.x + a.x * s, y: n.y + a.y * s }, u = KS({
|
|
13679
13679
|
source: c,
|
|
13680
13680
|
sourcePosition: t,
|
|
13681
13681
|
target: l
|
|
@@ -13722,7 +13722,7 @@ function US({ source: e, sourcePosition: t = le.Bottom, target: n, targetPositio
|
|
|
13722
13722
|
], p, m, x, E];
|
|
13723
13723
|
}
|
|
13724
13724
|
function YS(e, t, n, r) {
|
|
13725
|
-
const o = Math.min(
|
|
13725
|
+
const o = Math.min(cl(e, t) / 2, cl(t, n) / 2, r), { x: s, y: i } = t;
|
|
13726
13726
|
if (e.x === s && s === n.x || e.y === i && i === n.y)
|
|
13727
13727
|
return `L${s} ${i}`;
|
|
13728
13728
|
if (e.y === i) {
|
|
@@ -13746,14 +13746,14 @@ function Go({ sourceX: e, sourceY: t, sourcePosition: n = le.Bottom, targetX: r,
|
|
|
13746
13746
|
return b > 0 && b < u.length - 1 ? w = YS(u[b - 1], v, u[b + 1], i) : w = `${b === 0 ? "M" : "L"}${v.x} ${v.y}`, y += w, y;
|
|
13747
13747
|
}, ""), d, f, h, p];
|
|
13748
13748
|
}
|
|
13749
|
-
function
|
|
13749
|
+
function ll(e) {
|
|
13750
13750
|
return e && !!(e.internals.handleBounds || e.handles?.length) && !!(e.measured.width || e.width || e.initialWidth);
|
|
13751
13751
|
}
|
|
13752
13752
|
function GS(e) {
|
|
13753
13753
|
const { sourceNode: t, targetNode: n } = e;
|
|
13754
|
-
if (!
|
|
13754
|
+
if (!ll(t) || !ll(n))
|
|
13755
13755
|
return null;
|
|
13756
|
-
const r = t.internals.handleBounds ||
|
|
13756
|
+
const r = t.internals.handleBounds || ul(t.handles), o = n.internals.handleBounds || ul(n.handles), s = dl(r?.source ?? [], e.sourceHandle), i = dl(
|
|
13757
13757
|
// when connection type is loose we can define all handles as sources and connect source -> source
|
|
13758
13758
|
e.connectionMode === fn.Strict ? o?.target ?? [] : (o?.target ?? []).concat(o?.source ?? []),
|
|
13759
13759
|
e.targetHandle
|
|
@@ -13774,7 +13774,7 @@ function GS(e) {
|
|
|
13774
13774
|
targetPosition: c
|
|
13775
13775
|
};
|
|
13776
13776
|
}
|
|
13777
|
-
function
|
|
13777
|
+
function ul(e) {
|
|
13778
13778
|
if (!e)
|
|
13779
13779
|
return null;
|
|
13780
13780
|
const t = [], n = [];
|
|
@@ -13800,7 +13800,7 @@ function Xo(e, t, n = le.Left, r = !1) {
|
|
|
13800
13800
|
return { x: o, y: s + a / 2 };
|
|
13801
13801
|
}
|
|
13802
13802
|
}
|
|
13803
|
-
function
|
|
13803
|
+
function dl(e, t) {
|
|
13804
13804
|
return e && (t ? e.find((n) => n.id === t) : e[0]) || null;
|
|
13805
13805
|
}
|
|
13806
13806
|
function Bi(e, t) {
|
|
@@ -13815,18 +13815,18 @@ function XS(e, { id: t, defaultColor: n, defaultMarkerStart: r, defaultMarkerEnd
|
|
|
13815
13815
|
}
|
|
13816
13816
|
}), i), []).sort((i, a) => i.id.localeCompare(a.id));
|
|
13817
13817
|
}
|
|
13818
|
-
const
|
|
13818
|
+
const ja = {
|
|
13819
13819
|
nodeOrigin: [0, 0],
|
|
13820
13820
|
elevateNodesOnSelect: !0,
|
|
13821
13821
|
defaults: {}
|
|
13822
13822
|
}, ZS = {
|
|
13823
|
-
...
|
|
13823
|
+
...ja,
|
|
13824
13824
|
checkEquality: !0
|
|
13825
13825
|
};
|
|
13826
13826
|
function qS(e, t, n) {
|
|
13827
|
-
const r = { ...
|
|
13827
|
+
const r = { ...ja, ...n };
|
|
13828
13828
|
for (const o of e.values())
|
|
13829
|
-
o.parentId &&
|
|
13829
|
+
o.parentId && La(o, e, t, r);
|
|
13830
13830
|
}
|
|
13831
13831
|
function Hf(e, t, n, r) {
|
|
13832
13832
|
const o = { ...ZS, ...r }, s = new Map(t);
|
|
@@ -13848,11 +13848,11 @@ function Hf(e, t, n, r) {
|
|
|
13848
13848
|
z: Wf(a, i),
|
|
13849
13849
|
userNode: a
|
|
13850
13850
|
}
|
|
13851
|
-
}), t.set(a.id, c), a.parentId &&
|
|
13851
|
+
}), t.set(a.id, c), a.parentId && La(c, t, n, r);
|
|
13852
13852
|
}
|
|
13853
13853
|
}
|
|
13854
|
-
function
|
|
13855
|
-
const o = { ...
|
|
13854
|
+
function La(e, t, n, r) {
|
|
13855
|
+
const o = { ...ja, ...r }, s = e.parentId, i = t.get(s);
|
|
13856
13856
|
if (!i) {
|
|
13857
13857
|
console.warn(`Parent node ${s} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);
|
|
13858
13858
|
return;
|
|
@@ -13877,7 +13877,7 @@ function QS(e, t, n, r) {
|
|
|
13877
13877
|
z: i > s ? i : s
|
|
13878
13878
|
};
|
|
13879
13879
|
}
|
|
13880
|
-
function
|
|
13880
|
+
function Va(e, t, n, r = [0, 0]) {
|
|
13881
13881
|
const o = [], s = /* @__PURE__ */ new Map();
|
|
13882
13882
|
for (const i of e) {
|
|
13883
13883
|
const a = t.get(i.parentId);
|
|
@@ -13930,17 +13930,17 @@ function JS(e, t, n, r, o) {
|
|
|
13930
13930
|
handleBounds: void 0
|
|
13931
13931
|
}, i = !0;
|
|
13932
13932
|
else {
|
|
13933
|
-
const h =
|
|
13933
|
+
const h = Aa(d.nodeElement), p = f.measured.width !== h.width || f.measured.height !== h.height;
|
|
13934
13934
|
if (!!(h.width && h.height && (p || !f.internals.handleBounds || d.force))) {
|
|
13935
13935
|
const y = d.nodeElement.getBoundingClientRect();
|
|
13936
13936
|
f.measured = h, f.internals = {
|
|
13937
13937
|
...f.internals,
|
|
13938
13938
|
positionAbsolute: Dr(f, o),
|
|
13939
13939
|
handleBounds: {
|
|
13940
|
-
source:
|
|
13941
|
-
target:
|
|
13940
|
+
source: sl("source", d.nodeElement, y, l, f.id),
|
|
13941
|
+
target: sl("target", d.nodeElement, y, l, f.id)
|
|
13942
13942
|
}
|
|
13943
|
-
}, f.parentId &&
|
|
13943
|
+
}, f.parentId && La(f, t, n, { nodeOrigin: o }), i = !0, p && (a.push({
|
|
13944
13944
|
id: f.id,
|
|
13945
13945
|
type: "dimensions",
|
|
13946
13946
|
dimensions: h
|
|
@@ -13953,7 +13953,7 @@ function JS(e, t, n, r, o) {
|
|
|
13953
13953
|
}
|
|
13954
13954
|
}
|
|
13955
13955
|
if (u.length > 0) {
|
|
13956
|
-
const d =
|
|
13956
|
+
const d = Va(u, t, n, o);
|
|
13957
13957
|
a.push(...d);
|
|
13958
13958
|
}
|
|
13959
13959
|
return { changes: a, updatedInternals: i };
|
|
@@ -13984,7 +13984,7 @@ function Uf(e, t) {
|
|
|
13984
13984
|
const n = t.get(e.parentId);
|
|
13985
13985
|
return n ? n.selected ? !0 : Uf(n, t) : !1;
|
|
13986
13986
|
}
|
|
13987
|
-
function
|
|
13987
|
+
function fl(e, t, n) {
|
|
13988
13988
|
let r = e;
|
|
13989
13989
|
do {
|
|
13990
13990
|
if (r?.matches(t))
|
|
@@ -14135,7 +14135,7 @@ function nC({ onNodeMouseDown: e, getStoreItems: t, onDragStart: n, onDrag: r, o
|
|
|
14135
14135
|
}
|
|
14136
14136
|
}).filter((R) => {
|
|
14137
14137
|
const L = R.target;
|
|
14138
|
-
return !R.button && (!y || !
|
|
14138
|
+
return !R.button && (!y || !fl(L, `.${y}`, b)) && (!v || fl(L, v, b));
|
|
14139
14139
|
});
|
|
14140
14140
|
f.call(I);
|
|
14141
14141
|
}
|
|
@@ -14229,7 +14229,7 @@ function iC(e, { connectionMode: t, connectionRadius: n, handleId: r, nodeId: o,
|
|
|
14229
14229
|
fromNode: H,
|
|
14230
14230
|
to: T,
|
|
14231
14231
|
toHandle: null,
|
|
14232
|
-
toPosition:
|
|
14232
|
+
toPosition: tl[W.position],
|
|
14233
14233
|
toNode: null
|
|
14234
14234
|
};
|
|
14235
14235
|
w(te);
|
|
@@ -14261,7 +14261,7 @@ function iC(e, { connectionMode: t, connectionRadius: n, handleId: r, nodeId: o,
|
|
|
14261
14261
|
isValid: k,
|
|
14262
14262
|
to: I && k ? If({ x: I.x, y: I.y }, ce) : T,
|
|
14263
14263
|
toHandle: U.toHandle,
|
|
14264
|
-
toPosition: k && U.toHandle ? U.toHandle.position :
|
|
14264
|
+
toPosition: k && U.toHandle ? U.toHandle.position : tl[W.position],
|
|
14265
14265
|
toNode: U.toHandle ? c.get(U.toHandle.nodeId) : null
|
|
14266
14266
|
};
|
|
14267
14267
|
k && I && z.toHandle && de.toHandle && z.toHandle.type === de.toHandle.type && z.toHandle.nodeId === de.toHandle.nodeId && z.toHandle.id === de.toHandle.id || (w(de), z = de);
|
|
@@ -14601,7 +14601,7 @@ function Bt(e, t) {
|
|
|
14601
14601
|
function co(e, t, n) {
|
|
14602
14602
|
return Math.max(0, t - e, e - n);
|
|
14603
14603
|
}
|
|
14604
|
-
function
|
|
14604
|
+
function hl(e, t) {
|
|
14605
14605
|
return e ? !t : t;
|
|
14606
14606
|
}
|
|
14607
14607
|
function yC(e, t, n, r, o, s, i, a) {
|
|
@@ -14642,7 +14642,7 @@ function yC(e, t, n, r, o, s, i, a) {
|
|
|
14642
14642
|
}
|
|
14643
14643
|
}
|
|
14644
14644
|
}
|
|
14645
|
-
I = I + (I < 0 ? T : -T), N = N + (N < 0 ? S : -S), o && (f ? R > L * $ ? I = (
|
|
14645
|
+
I = I + (I < 0 ? T : -T), N = N + (N < 0 ? S : -S), o && (f ? R > L * $ ? I = (hl(c, l) ? -N : N) / $ : N = (hl(c, l) ? -I : I) * $ : u ? (I = N / $, l = c) : (N = I * $, c = l));
|
|
14646
14646
|
const _ = c ? w + N : w, M = l ? x + I : x;
|
|
14647
14647
|
return {
|
|
14648
14648
|
width: E + (c ? -N : N),
|
|
@@ -14758,11 +14758,11 @@ var Hi = { exports: {} }, ri = {}, lo = { exports: {} }, oi = {};
|
|
|
14758
14758
|
* This source code is licensed under the MIT license found in the
|
|
14759
14759
|
* LICENSE file in the root directory of this source tree.
|
|
14760
14760
|
*/
|
|
14761
|
-
var
|
|
14761
|
+
var pl;
|
|
14762
14762
|
function CC() {
|
|
14763
|
-
if (
|
|
14763
|
+
if (pl)
|
|
14764
14764
|
return oi;
|
|
14765
|
-
|
|
14765
|
+
pl = 1;
|
|
14766
14766
|
var e = Oe;
|
|
14767
14767
|
function t(d, f) {
|
|
14768
14768
|
return d === f && (d !== 0 || 1 / d === 1 / f) || d !== d && f !== f;
|
|
@@ -14804,9 +14804,9 @@ var si = {};
|
|
|
14804
14804
|
* This source code is licensed under the MIT license found in the
|
|
14805
14805
|
* LICENSE file in the root directory of this source tree.
|
|
14806
14806
|
*/
|
|
14807
|
-
var
|
|
14807
|
+
var ml;
|
|
14808
14808
|
function $C() {
|
|
14809
|
-
return
|
|
14809
|
+
return ml || (ml = 1, process.env.NODE_ENV !== "production" && function() {
|
|
14810
14810
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
14811
14811
|
var e = Oe, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
14812
14812
|
function n(w) {
|
|
@@ -14875,9 +14875,9 @@ function $C() {
|
|
|
14875
14875
|
si.useSyncExternalStore = b, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
14876
14876
|
}()), si;
|
|
14877
14877
|
}
|
|
14878
|
-
var
|
|
14878
|
+
var gl;
|
|
14879
14879
|
function Jf() {
|
|
14880
|
-
return
|
|
14880
|
+
return gl || (gl = 1, process.env.NODE_ENV === "production" ? lo.exports = CC() : lo.exports = $C()), lo.exports;
|
|
14881
14881
|
}
|
|
14882
14882
|
/**
|
|
14883
14883
|
* @license React
|
|
@@ -14888,11 +14888,11 @@ function Jf() {
|
|
|
14888
14888
|
* This source code is licensed under the MIT license found in the
|
|
14889
14889
|
* LICENSE file in the root directory of this source tree.
|
|
14890
14890
|
*/
|
|
14891
|
-
var
|
|
14891
|
+
var vl;
|
|
14892
14892
|
function _C() {
|
|
14893
|
-
if (
|
|
14893
|
+
if (vl)
|
|
14894
14894
|
return ri;
|
|
14895
|
-
|
|
14895
|
+
vl = 1;
|
|
14896
14896
|
var e = Oe, t = Jf();
|
|
14897
14897
|
function n(l, u) {
|
|
14898
14898
|
return l === u && (l !== 0 || 1 / l === 1 / u) || l !== l && u !== u;
|
|
@@ -14943,9 +14943,9 @@ var ii = {};
|
|
|
14943
14943
|
* This source code is licensed under the MIT license found in the
|
|
14944
14944
|
* LICENSE file in the root directory of this source tree.
|
|
14945
14945
|
*/
|
|
14946
|
-
var
|
|
14946
|
+
var yl;
|
|
14947
14947
|
function EC() {
|
|
14948
|
-
return
|
|
14948
|
+
return yl || (yl = 1, process.env.NODE_ENV !== "production" && function() {
|
|
14949
14949
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
14950
14950
|
var e = Oe, t = Jf();
|
|
14951
14951
|
function n(u, d) {
|
|
@@ -14993,7 +14993,7 @@ process.env.NODE_ENV === "production" ? Hi.exports = _C() : Hi.exports = EC();
|
|
|
14993
14993
|
var NC = Hi.exports;
|
|
14994
14994
|
const MC = /* @__PURE__ */ Jh(NC);
|
|
14995
14995
|
var TC = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
14996
|
-
const
|
|
14996
|
+
const xl = (e) => {
|
|
14997
14997
|
let t;
|
|
14998
14998
|
const n = /* @__PURE__ */ new Set(), r = (u, d) => {
|
|
14999
14999
|
const f = typeof u == "function" ? u(t) : u;
|
|
@@ -15007,7 +15007,7 @@ const yl = (e) => {
|
|
|
15007
15007
|
), n.clear();
|
|
15008
15008
|
} }, l = t = e(r, o, c);
|
|
15009
15009
|
return c;
|
|
15010
|
-
}, PC = (e) => e ?
|
|
15010
|
+
}, PC = (e) => e ? xl(e) : xl, { useDebugValue: OC } = Oe, { useSyncExternalStoreWithSelector: RC } = MC, IC = (e) => e;
|
|
15011
15011
|
function eh(e, t = IC, n) {
|
|
15012
15012
|
const r = RC(
|
|
15013
15013
|
e.subscribe,
|
|
@@ -15018,10 +15018,10 @@ function eh(e, t = IC, n) {
|
|
|
15018
15018
|
);
|
|
15019
15019
|
return OC(r), r;
|
|
15020
15020
|
}
|
|
15021
|
-
const
|
|
15021
|
+
const wl = (e, t) => {
|
|
15022
15022
|
const n = PC(e), r = (o, s = t) => eh(n, o, s);
|
|
15023
15023
|
return Object.assign(r, n), r;
|
|
15024
|
-
}, kC = (e, t) => e ?
|
|
15024
|
+
}, kC = (e, t) => e ? wl(e, t) : wl;
|
|
15025
15025
|
function je(e, t) {
|
|
15026
15026
|
if (Object.is(e, t))
|
|
15027
15027
|
return !0;
|
|
@@ -15068,7 +15068,7 @@ function Ie() {
|
|
|
15068
15068
|
subscribe: e.subscribe
|
|
15069
15069
|
}), [e]);
|
|
15070
15070
|
}
|
|
15071
|
-
const
|
|
15071
|
+
const bl = { display: "none" }, AC = {
|
|
15072
15072
|
position: "absolute",
|
|
15073
15073
|
width: 1,
|
|
15074
15074
|
height: 1,
|
|
@@ -15084,15 +15084,15 @@ function VC({ rfId: e }) {
|
|
|
15084
15084
|
return g.jsx("div", { id: `${jC}-${e}`, "aria-live": "assertive", "aria-atomic": "true", style: AC, children: t });
|
|
15085
15085
|
}
|
|
15086
15086
|
function FC({ rfId: e, disableKeyboardA11y: t }) {
|
|
15087
|
-
return g.jsxs(g.Fragment, { children: [g.jsxs("div", { id: `${nh}-${e}`, style:
|
|
15087
|
+
return g.jsxs(g.Fragment, { children: [g.jsxs("div", { id: `${nh}-${e}`, style: bl, children: ["Press enter or space to select a node.", !t && "You can then use the arrow keys to move the node around.", " Press delete to remove it and escape to cancel.", " "] }), g.jsx("div", { id: `${rh}-${e}`, style: bl, children: "Press enter or space to select an edge. You can then press delete to remove it or escape to cancel." }), !t && g.jsx(VC, { rfId: e })] });
|
|
15088
15088
|
}
|
|
15089
15089
|
const BC = (e) => e.userSelectionActive ? "none" : "all";
|
|
15090
|
-
function
|
|
15090
|
+
function Fa({ position: e = "top-left", children: t, className: n, style: r, ...o }) {
|
|
15091
15091
|
const s = Se(BC), i = `${e}`.split("-");
|
|
15092
15092
|
return g.jsx("div", { className: Ve(["react-flow__panel", n, ...i]), style: { ...r, pointerEvents: s }, ...o, children: t });
|
|
15093
15093
|
}
|
|
15094
15094
|
function zC({ proOptions: e, position: t = "bottom-right" }) {
|
|
15095
|
-
return e?.hideAttribution ? null : g.jsx(
|
|
15095
|
+
return e?.hideAttribution ? null : g.jsx(Fa, { position: t, className: "react-flow__attribution", "data-message": "Please only hide this attribution when you are subscribed to React Flow Pro: https://pro.reactflow.dev", children: g.jsx("a", { href: "https://reactflow.dev", target: "_blank", rel: "noopener noreferrer", "aria-label": "React Flow attribution", children: "React Flow" }) });
|
|
15096
15096
|
}
|
|
15097
15097
|
const HC = (e) => {
|
|
15098
15098
|
const t = [], n = [];
|
|
@@ -15173,7 +15173,7 @@ const oh = [0, 0], GC = { x: 0, y: 0, zoom: 1 }, XC = [
|
|
|
15173
15173
|
"debug",
|
|
15174
15174
|
"autoPanSpeed",
|
|
15175
15175
|
"paneClickDistance"
|
|
15176
|
-
],
|
|
15176
|
+
], Sl = [...XC, "rfId"], ZC = (e) => ({
|
|
15177
15177
|
setNodes: e.setNodes,
|
|
15178
15178
|
setEdges: e.setEdges,
|
|
15179
15179
|
setMinZoom: e.setMinZoom,
|
|
@@ -15183,7 +15183,7 @@ const oh = [0, 0], GC = { x: 0, y: 0, zoom: 1 }, XC = [
|
|
|
15183
15183
|
reset: e.reset,
|
|
15184
15184
|
setDefaultNodesAndEdges: e.setDefaultNodesAndEdges,
|
|
15185
15185
|
setPaneClickDistance: e.setPaneClickDistance
|
|
15186
|
-
}),
|
|
15186
|
+
}), Cl = {
|
|
15187
15187
|
// these are values that are also passed directly to other components
|
|
15188
15188
|
// than the StoreUpdater. We can reduce the number of setStore calls
|
|
15189
15189
|
// by setting the same values here as prev fields.
|
|
@@ -15199,22 +15199,22 @@ const oh = [0, 0], GC = { x: 0, y: 0, zoom: 1 }, XC = [
|
|
|
15199
15199
|
function qC(e) {
|
|
15200
15200
|
const { setNodes: t, setEdges: n, setMinZoom: r, setMaxZoom: o, setTranslateExtent: s, setNodeExtent: i, reset: a, setDefaultNodesAndEdges: c, setPaneClickDistance: l } = Se(ZC, je), u = Ie();
|
|
15201
15201
|
J(() => (c(e.defaultNodes, e.defaultEdges), () => {
|
|
15202
|
-
d.current =
|
|
15202
|
+
d.current = Cl, a();
|
|
15203
15203
|
}), []);
|
|
15204
|
-
const d = Y(
|
|
15204
|
+
const d = Y(Cl);
|
|
15205
15205
|
return J(
|
|
15206
15206
|
() => {
|
|
15207
|
-
for (const f of
|
|
15207
|
+
for (const f of Sl) {
|
|
15208
15208
|
const h = e[f], p = d.current[f];
|
|
15209
15209
|
h !== p && (typeof e[f] > "u" || (f === "nodes" ? t(h) : f === "edges" ? n(h) : f === "minZoom" ? r(h) : f === "maxZoom" ? o(h) : f === "translateExtent" ? s(h) : f === "nodeExtent" ? i(h) : f === "paneClickDistance" ? l(h) : f === "fitView" ? u.setState({ fitViewOnInit: h }) : f === "fitViewOptions" ? u.setState({ fitViewOnInitOptions: h }) : u.setState({ [f]: h })));
|
|
15210
15210
|
}
|
|
15211
15211
|
d.current = e;
|
|
15212
15212
|
},
|
|
15213
15213
|
// Only re-run the effect if one of the fields we track changes
|
|
15214
|
-
|
|
15214
|
+
Sl.map((f) => e[f])
|
|
15215
15215
|
), null;
|
|
15216
15216
|
}
|
|
15217
|
-
function
|
|
15217
|
+
function $l() {
|
|
15218
15218
|
return typeof window > "u" || !window.matchMedia ? null : window.matchMedia("(prefers-color-scheme: dark)");
|
|
15219
15219
|
}
|
|
15220
15220
|
function QC(e) {
|
|
@@ -15224,14 +15224,14 @@ function QC(e) {
|
|
|
15224
15224
|
n(e);
|
|
15225
15225
|
return;
|
|
15226
15226
|
}
|
|
15227
|
-
const r =
|
|
15227
|
+
const r = $l(), o = () => n(r?.matches ? "dark" : "light");
|
|
15228
15228
|
return o(), r?.addEventListener("change", o), () => {
|
|
15229
15229
|
r?.removeEventListener("change", o);
|
|
15230
15230
|
};
|
|
15231
|
-
}, [e]), t !== null ? t :
|
|
15231
|
+
}, [e]), t !== null ? t : $l()?.matches ? "dark" : "light";
|
|
15232
15232
|
}
|
|
15233
|
-
const
|
|
15234
|
-
function Tr(e = null, t = { target:
|
|
15233
|
+
const _l = typeof document < "u" ? document : null;
|
|
15234
|
+
function Tr(e = null, t = { target: _l, actInsideInputWithModifier: !0 }) {
|
|
15235
15235
|
const [n, r] = oe(!1), o = Y(!1), s = Y(/* @__PURE__ */ new Set([])), [i, a] = me(() => {
|
|
15236
15236
|
if (e !== null) {
|
|
15237
15237
|
const l = (Array.isArray(e) ? e : [e]).filter((d) => typeof d == "string").map((d) => d.split("+")), u = l.reduce((d, f) => d.concat(...f), []);
|
|
@@ -15240,18 +15240,18 @@ function Tr(e = null, t = { target: $l, actInsideInputWithModifier: !0 }) {
|
|
|
15240
15240
|
return [[], []];
|
|
15241
15241
|
}, [e]);
|
|
15242
15242
|
return J(() => {
|
|
15243
|
-
const c = t?.target ||
|
|
15243
|
+
const c = t?.target || _l;
|
|
15244
15244
|
if (e !== null) {
|
|
15245
15245
|
const l = (f) => {
|
|
15246
15246
|
if (o.current = f.ctrlKey || f.metaKey || f.shiftKey, (!o.current || o.current && !t.actInsideInputWithModifier) && Fi(f))
|
|
15247
15247
|
return !1;
|
|
15248
|
-
const p =
|
|
15249
|
-
s.current.add(f[p]),
|
|
15248
|
+
const p = Nl(f.code, a);
|
|
15249
|
+
s.current.add(f[p]), El(i, s.current, !1) && (f.preventDefault(), r(!0));
|
|
15250
15250
|
}, u = (f) => {
|
|
15251
15251
|
if ((!o.current || o.current && !t.actInsideInputWithModifier) && Fi(f))
|
|
15252
15252
|
return !1;
|
|
15253
|
-
const p =
|
|
15254
|
-
|
|
15253
|
+
const p = Nl(f.code, a);
|
|
15254
|
+
El(i, s.current, !0) ? (r(!1), s.current.clear()) : s.current.delete(f[p]), f.key === "Meta" && s.current.clear(), o.current = !1;
|
|
15255
15255
|
}, d = () => {
|
|
15256
15256
|
s.current.clear(), r(!1);
|
|
15257
15257
|
};
|
|
@@ -15261,10 +15261,10 @@ function Tr(e = null, t = { target: $l, actInsideInputWithModifier: !0 }) {
|
|
|
15261
15261
|
}
|
|
15262
15262
|
}, [e, r]), n;
|
|
15263
15263
|
}
|
|
15264
|
-
function
|
|
15264
|
+
function El(e, t, n) {
|
|
15265
15265
|
return e.filter((r) => n || r.length === t.size).some((r) => r.every((o) => t.has(o)));
|
|
15266
15266
|
}
|
|
15267
|
-
function
|
|
15267
|
+
function Nl(e, t) {
|
|
15268
15268
|
return t.includes(e) ? "code" : "key";
|
|
15269
15269
|
}
|
|
15270
15270
|
const JC = () => {
|
|
@@ -15315,7 +15315,7 @@ const JC = () => {
|
|
|
15315
15315
|
}, { duration: r?.duration }), Promise.resolve(!0)) : Promise.resolve(!1);
|
|
15316
15316
|
},
|
|
15317
15317
|
fitBounds: async (t, n) => {
|
|
15318
|
-
const { width: r, height: o, minZoom: s, maxZoom: i, panZoom: a } = e.getState(), c =
|
|
15318
|
+
const { width: r, height: o, minZoom: s, maxZoom: i, panZoom: a } = e.getState(), c = Da(t, r, o, s, i, n?.padding ?? 0.1);
|
|
15319
15319
|
return a ? (await a.setViewport(c, { duration: n?.duration }), Promise.resolve(!0)) : Promise.resolve(!1);
|
|
15320
15320
|
},
|
|
15321
15321
|
screenToFlowPosition: (t, n = { snapToGrid: !0 }) => {
|
|
@@ -15408,7 +15408,7 @@ function Sn(e, t = /* @__PURE__ */ new Set(), n = !1) {
|
|
|
15408
15408
|
}
|
|
15409
15409
|
return r;
|
|
15410
15410
|
}
|
|
15411
|
-
function
|
|
15411
|
+
function Ml({ items: e = [], lookup: t }) {
|
|
15412
15412
|
const n = [], r = new Map(e.map((o) => [o.id, o]));
|
|
15413
15413
|
for (const o of e) {
|
|
15414
15414
|
const s = t.get(o.id), i = s?.internals?.userNode ?? s;
|
|
@@ -15418,18 +15418,18 @@ function Nl({ items: e = [], lookup: t }) {
|
|
|
15418
15418
|
r.get(o) === void 0 && n.push({ id: o, type: "remove" });
|
|
15419
15419
|
return n;
|
|
15420
15420
|
}
|
|
15421
|
-
function
|
|
15421
|
+
function Tl(e) {
|
|
15422
15422
|
return {
|
|
15423
15423
|
id: e.id,
|
|
15424
15424
|
type: "remove"
|
|
15425
15425
|
};
|
|
15426
15426
|
}
|
|
15427
|
-
const
|
|
15427
|
+
const Pl = (e) => AS(e), t$ = (e) => Ef(e);
|
|
15428
15428
|
function ch(e) {
|
|
15429
15429
|
return ie(e);
|
|
15430
15430
|
}
|
|
15431
15431
|
const n$ = typeof window < "u" ? Pr : J;
|
|
15432
|
-
function
|
|
15432
|
+
function Ol(e) {
|
|
15433
15433
|
const [t, n] = oe(!1), [r] = oe(() => r$(() => n(!0)));
|
|
15434
15434
|
return n$(() => {
|
|
15435
15435
|
if (!t) {
|
|
@@ -15459,20 +15459,20 @@ function o$({ children: e }) {
|
|
|
15459
15459
|
let h = c;
|
|
15460
15460
|
for (const p of a)
|
|
15461
15461
|
h = typeof p == "function" ? p(h) : p;
|
|
15462
|
-
u ? l(h) : d && d(
|
|
15462
|
+
u ? l(h) : d && d(Ml({
|
|
15463
15463
|
items: h,
|
|
15464
15464
|
lookup: f
|
|
15465
15465
|
}));
|
|
15466
|
-
}, []), r =
|
|
15466
|
+
}, []), r = Ol(n), o = Q((a) => {
|
|
15467
15467
|
const { edges: c = [], setEdges: l, hasDefaultEdges: u, onEdgesChange: d, edgeLookup: f } = t.getState();
|
|
15468
15468
|
let h = c;
|
|
15469
15469
|
for (const p of a)
|
|
15470
15470
|
h = typeof p == "function" ? p(h) : p;
|
|
15471
|
-
u ? l(h) : d && d(
|
|
15471
|
+
u ? l(h) : d && d(Ml({
|
|
15472
15472
|
items: h,
|
|
15473
15473
|
lookup: f
|
|
15474
15474
|
}));
|
|
15475
|
-
}, []), s =
|
|
15475
|
+
}, []), s = Ol(o), i = me(() => ({ nodeQueue: r, edgeQueue: s }), []);
|
|
15476
15476
|
return g.jsx(lh.Provider, { value: i, children: e });
|
|
15477
15477
|
}
|
|
15478
15478
|
function s$() {
|
|
@@ -15489,7 +15489,7 @@ function vs() {
|
|
|
15489
15489
|
}, a = (d) => {
|
|
15490
15490
|
n.edgeQueue.push(d);
|
|
15491
15491
|
}, c = (d) => {
|
|
15492
|
-
const { nodeLookup: f, nodeOrigin: h } = t.getState(), p =
|
|
15492
|
+
const { nodeLookup: f, nodeOrigin: h } = t.getState(), p = Pl(d) ? d : f.get(d.id), m = p.parentId ? Df(p.position, p.measured, p.parentId, f, h) : p.position, y = {
|
|
15493
15493
|
id: p.id,
|
|
15494
15494
|
position: m,
|
|
15495
15495
|
width: p.measured?.width ?? p.width,
|
|
@@ -15501,7 +15501,7 @@ function vs() {
|
|
|
15501
15501
|
i((p) => p.map((m) => {
|
|
15502
15502
|
if (m.id === d) {
|
|
15503
15503
|
const y = typeof f == "function" ? f(m) : f;
|
|
15504
|
-
return h.replace &&
|
|
15504
|
+
return h.replace && Pl(y) ? y : { ...m, ...y };
|
|
15505
15505
|
}
|
|
15506
15506
|
return m;
|
|
15507
15507
|
}));
|
|
@@ -15554,17 +15554,17 @@ function vs() {
|
|
|
15554
15554
|
onBeforeDelete: x
|
|
15555
15555
|
}), $ = P.length > 0, N = E.length > 0;
|
|
15556
15556
|
if ($) {
|
|
15557
|
-
const I = P.map(
|
|
15557
|
+
const I = P.map(Tl);
|
|
15558
15558
|
y?.(P), b(I);
|
|
15559
15559
|
}
|
|
15560
15560
|
if (N) {
|
|
15561
|
-
const I = E.map(
|
|
15561
|
+
const I = E.map(Tl);
|
|
15562
15562
|
m?.(E), v(I);
|
|
15563
15563
|
}
|
|
15564
15564
|
return (N || $) && w?.({ nodes: E, edges: P }), { deletedNodes: E, deletedEdges: P };
|
|
15565
15565
|
},
|
|
15566
15566
|
getIntersectingNodes: (d, f = !0, h) => {
|
|
15567
|
-
const p =
|
|
15567
|
+
const p = rl(d), m = p ? d : c(d), y = h !== void 0;
|
|
15568
15568
|
return m ? (h || t.getState().nodes).filter((v) => {
|
|
15569
15569
|
const b = t.getState().nodeLookup.get(v.id);
|
|
15570
15570
|
if (b && !p && (v.id === d.id || !b.internals.positionAbsolute))
|
|
@@ -15574,7 +15574,7 @@ function vs() {
|
|
|
15574
15574
|
}) : [];
|
|
15575
15575
|
},
|
|
15576
15576
|
isNodeIntersecting: (d, f, h = !0) => {
|
|
15577
|
-
const m =
|
|
15577
|
+
const m = rl(d) ? d : c(d);
|
|
15578
15578
|
if (!m)
|
|
15579
15579
|
return !1;
|
|
15580
15580
|
const y = Uo(m, f);
|
|
@@ -15602,13 +15602,13 @@ function vs() {
|
|
|
15602
15602
|
viewportInitialized: r
|
|
15603
15603
|
}), [r]);
|
|
15604
15604
|
}
|
|
15605
|
-
const
|
|
15605
|
+
const Rl = (e) => e.selected, a$ = { actInsideInputWithModifier: !1 }, c$ = typeof window < "u" ? window : void 0;
|
|
15606
15606
|
function l$({ deleteKeyCode: e, multiSelectionKeyCode: t }) {
|
|
15607
15607
|
const n = Ie(), { deleteElements: r } = vs(), o = Tr(e, a$), s = Tr(t, { target: c$ });
|
|
15608
15608
|
J(() => {
|
|
15609
15609
|
if (o) {
|
|
15610
15610
|
const { edges: i, nodes: a } = n.getState();
|
|
15611
|
-
r({ nodes: a.filter(
|
|
15611
|
+
r({ nodes: a.filter(Rl), edges: i.filter(Rl) }), n.setState({ nodesSelectionActive: !1 });
|
|
15612
15612
|
}
|
|
15613
15613
|
}, [o]), J(() => {
|
|
15614
15614
|
n.setState({ multiSelectionActive: s });
|
|
@@ -15620,7 +15620,7 @@ function u$(e) {
|
|
|
15620
15620
|
const n = () => {
|
|
15621
15621
|
if (!e.current)
|
|
15622
15622
|
return !1;
|
|
15623
|
-
const r =
|
|
15623
|
+
const r = Aa(e.current);
|
|
15624
15624
|
(r.height === 0 || r.width === 0) && t.getState().onError?.("004", Je.error004()), t.setState({ width: r.width || 500, height: r.height || 500 });
|
|
15625
15625
|
};
|
|
15626
15626
|
if (e.current) {
|
|
@@ -15878,9 +15878,9 @@ function dh() {
|
|
|
15878
15878
|
c(d);
|
|
15879
15879
|
}, []);
|
|
15880
15880
|
}
|
|
15881
|
-
const
|
|
15882
|
-
|
|
15883
|
-
const fh = () => mt(
|
|
15881
|
+
const Ba = Et(null), y$ = Ba.Provider;
|
|
15882
|
+
Ba.Consumer;
|
|
15883
|
+
const fh = () => mt(Ba), x$ = (e) => ({
|
|
15884
15884
|
connectOnClick: e.connectOnClick,
|
|
15885
15885
|
noPanClassName: e.noPanClassName,
|
|
15886
15886
|
rfId: e.rfId
|
|
@@ -16003,7 +16003,7 @@ const Zo = {
|
|
|
16003
16003
|
ArrowDown: { x: 0, y: 1 },
|
|
16004
16004
|
ArrowLeft: { x: -1, y: 0 },
|
|
16005
16005
|
ArrowRight: { x: 1, y: 0 }
|
|
16006
|
-
},
|
|
16006
|
+
}, Il = {
|
|
16007
16007
|
input: S$,
|
|
16008
16008
|
default: C$,
|
|
16009
16009
|
output: _$,
|
|
@@ -16055,9 +16055,9 @@ function M$({ onSelectionContextMenu: e, noPanClassName: t, disableKeyboardA11y:
|
|
|
16055
16055
|
height: s
|
|
16056
16056
|
} }) });
|
|
16057
16057
|
}
|
|
16058
|
-
const
|
|
16058
|
+
const kl = typeof window < "u" ? window : void 0, T$ = (e) => ({ nodesSelectionActive: e.nodesSelectionActive, userSelectionActive: e.userSelectionActive });
|
|
16059
16059
|
function hh({ children: e, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: r, onPaneMouseLeave: o, onPaneContextMenu: s, onPaneScroll: i, paneClickDistance: a, deleteKeyCode: c, selectionKeyCode: l, selectionOnDrag: u, selectionMode: d, onSelectionStart: f, onSelectionEnd: h, multiSelectionKeyCode: p, panActivationKeyCode: m, zoomActivationKeyCode: y, elementsSelectable: v, zoomOnScroll: b, zoomOnPinch: w, panOnScroll: x, panOnScrollSpeed: E, panOnScrollMode: P, zoomOnDoubleClick: $, panOnDrag: N, defaultViewport: I, translateExtent: R, minZoom: L, maxZoom: j, preventScrolling: A, onSelectionContextMenu: S, noWheelClassName: T, noPanClassName: _, disableKeyboardA11y: M, onViewportChange: k, isControlledViewport: C }) {
|
|
16060
|
-
const { nodesSelectionActive: D, userSelectionActive: V } = Se(T$), B = Tr(l, { target:
|
|
16060
|
+
const { nodesSelectionActive: D, userSelectionActive: V } = Se(T$), B = Tr(l, { target: kl }), W = Tr(m, { target: kl }), H = W || N, X = W || x, te = u && H !== !0, z = B || V || te;
|
|
16061
16061
|
return l$({ deleteKeyCode: c, multiSelectionKeyCode: p }), g.jsx(f$, { onPaneContextMenu: s, elementsSelectable: v, zoomOnScroll: b, zoomOnPinch: w, panOnScroll: X, panOnScrollSpeed: E, panOnScrollMode: P, zoomOnDoubleClick: $, panOnDrag: !B && H, defaultViewport: I, translateExtent: R, minZoom: L, maxZoom: j, zoomActivationKeyCode: y, preventScrolling: A, noWheelClassName: T, noPanClassName: _, onViewportChange: k, isControlledViewport: C, paneClickDistance: a, children: g.jsxs(g$, { onSelectionStart: f, onSelectionEnd: h, onPaneClick: t, onPaneMouseEnter: n, onPaneMouseMove: r, onPaneMouseLeave: o, onPaneContextMenu: s, onPaneScroll: i, panOnDrag: H, isSelecting: !!z, selectionMode: d, selectionKeyPressed: B, selectionOnDrag: te, children: [e, D && g.jsx(M$, { onSelectionContextMenu: S, noPanClassName: _, disableKeyboardA11y: M })] }) });
|
|
16062
16062
|
}
|
|
16063
16063
|
hh.displayName = "FlowRenderer";
|
|
@@ -16104,8 +16104,8 @@ function A$({ id: e, onClick: t, onMouseEnter: n, onMouseMove: r, onMouseLeave:
|
|
|
16104
16104
|
isParent: ce
|
|
16105
16105
|
};
|
|
16106
16106
|
}, je);
|
|
16107
|
-
let $ = x.type || "default", N = y?.[$] ||
|
|
16108
|
-
N === void 0 && (w?.("003", Je.error003($)), $ = "default", N =
|
|
16107
|
+
let $ = x.type || "default", N = y?.[$] || Il[$];
|
|
16108
|
+
N === void 0 && (w?.("003", Je.error003($)), $ = "default", N = Il.default);
|
|
16109
16109
|
const I = !!(x.draggable || a && typeof x.draggable > "u"), R = !!(x.selectable || c && typeof x.selectable > "u"), L = !!(x.connectable || l && typeof x.connectable > "u"), j = !!(x.focusable || u && typeof x.focusable > "u"), A = Ie(), S = kf(x), T = D$({ node: x, nodeType: $, hasDimensions: S, resizeObserver: d }), _ = uh({
|
|
16110
16110
|
nodeRef: T,
|
|
16111
16111
|
disabled: x.hidden || !I,
|
|
@@ -16117,7 +16117,7 @@ function A$({ id: e, onClick: t, onMouseEnter: n, onMouseMove: r, onMouseLeave:
|
|
|
16117
16117
|
}), M = dh();
|
|
16118
16118
|
if (x.hidden)
|
|
16119
16119
|
return null;
|
|
16120
|
-
const k = Lr(x), C = E$(x), D = v ?
|
|
16120
|
+
const k = Lr(x), C = E$(x), D = v ? Ra(E.positionAbsolute, v) : E.positionAbsolute, V = R || I || t || n || r || o, B = n ? (G) => n(G, { ...E.userNode }) : void 0, W = r ? (G) => r(G, { ...E.userNode }) : void 0, H = o ? (G) => o(G, { ...E.userNode }) : void 0, X = s ? (G) => s(G, { ...E.userNode }) : void 0, te = i ? (G) => i(G, { ...E.userNode }) : void 0, z = (G) => {
|
|
16121
16121
|
const { selectNodesOnDrag: ee, nodeDragThreshold: ce } = A.getState();
|
|
16122
16122
|
R && (!ee || !I || ce > 0) && Wi({
|
|
16123
16123
|
id: e,
|
|
@@ -16230,13 +16230,13 @@ const F$ = ({ color: e = "none", strokeWidth: t = 1 }) => g.jsx("polyline", { st
|
|
|
16230
16230
|
stroke: e,
|
|
16231
16231
|
fill: e,
|
|
16232
16232
|
strokeWidth: t
|
|
16233
|
-
}, strokeLinecap: "round", strokeLinejoin: "round", points: "-5,-4 0,0 -5,4 -5,-4" }),
|
|
16233
|
+
}, strokeLinecap: "round", strokeLinejoin: "round", points: "-5,-4 0,0 -5,4 -5,-4" }), Dl = {
|
|
16234
16234
|
[Ko.Arrow]: F$,
|
|
16235
16235
|
[Ko.ArrowClosed]: B$
|
|
16236
16236
|
};
|
|
16237
16237
|
function z$(e) {
|
|
16238
16238
|
const t = Ie();
|
|
16239
|
-
return me(() => Object.prototype.hasOwnProperty.call(
|
|
16239
|
+
return me(() => Object.prototype.hasOwnProperty.call(Dl, e) ? Dl[e] : (t.getState().onError?.("009", Je.error009(e)), null), [e]);
|
|
16240
16240
|
}
|
|
16241
16241
|
const H$ = ({ id: e, type: t, color: n, width: r = 12.5, height: o = 12.5, markerUnits: s = "strokeWidth", strokeWidth: i, orient: a = "auto-start-reverse" }) => {
|
|
16242
16242
|
const c = z$(t);
|
|
@@ -16271,17 +16271,17 @@ const K$ = Fe(gh);
|
|
|
16271
16271
|
function Vr({ id: e, path: t, labelX: n, labelY: r, label: o, labelStyle: s, labelShowBg: i, labelBgStyle: a, labelBgPadding: c, labelBgBorderRadius: l, style: u, markerEnd: d, markerStart: f, className: h, interactionWidth: p = 20 }) {
|
|
16272
16272
|
return g.jsxs(g.Fragment, { children: [g.jsx("path", { id: e, style: u, d: t, fill: "none", className: Ve(["react-flow__edge-path", h]), markerEnd: d, markerStart: f }), p && g.jsx("path", { d: t, fill: "none", strokeOpacity: 0, strokeWidth: p, className: "react-flow__edge-interaction" }), o && nt(n) && nt(r) ? g.jsx(K$, { x: n, y: r, label: o, labelStyle: s, labelShowBg: i, labelBgStyle: a, labelBgPadding: c, labelBgBorderRadius: l }) : null] });
|
|
16273
16273
|
}
|
|
16274
|
-
function
|
|
16274
|
+
function Al({ pos: e, x1: t, y1: n, x2: r, y2: o }) {
|
|
16275
16275
|
return e === le.Left || e === le.Right ? [0.5 * (t + r), n] : [t, 0.5 * (n + o)];
|
|
16276
16276
|
}
|
|
16277
16277
|
function vh({ sourceX: e, sourceY: t, sourcePosition: n = le.Bottom, targetX: r, targetY: o, targetPosition: s = le.Top }) {
|
|
16278
|
-
const [i, a] =
|
|
16278
|
+
const [i, a] = Al({
|
|
16279
16279
|
pos: n,
|
|
16280
16280
|
x1: e,
|
|
16281
16281
|
y1: t,
|
|
16282
16282
|
x2: r,
|
|
16283
16283
|
y2: o
|
|
16284
|
-
}), [c, l] =
|
|
16284
|
+
}), [c, l] = Al({
|
|
16285
16285
|
pos: s,
|
|
16286
16286
|
x1: r,
|
|
16287
16287
|
y1: o,
|
|
@@ -16374,22 +16374,22 @@ function Nh(e) {
|
|
|
16374
16374
|
const X$ = Nh({ isInternal: !1 }), Mh = Nh({ isInternal: !0 });
|
|
16375
16375
|
X$.displayName = "BezierEdge";
|
|
16376
16376
|
Mh.displayName = "BezierEdgeInternal";
|
|
16377
|
-
const
|
|
16377
|
+
const jl = {
|
|
16378
16378
|
default: Mh,
|
|
16379
16379
|
straight: Eh,
|
|
16380
16380
|
step: $h,
|
|
16381
16381
|
smoothstep: Sh,
|
|
16382
16382
|
simplebezier: xh
|
|
16383
|
-
},
|
|
16383
|
+
}, Ll = {
|
|
16384
16384
|
sourceX: null,
|
|
16385
16385
|
sourceY: null,
|
|
16386
16386
|
targetX: null,
|
|
16387
16387
|
targetY: null,
|
|
16388
16388
|
sourcePosition: null,
|
|
16389
16389
|
targetPosition: null
|
|
16390
|
-
}, Z$ = (e, t, n) => n === le.Left ? e - t : n === le.Right ? e + t : e, q$ = (e, t, n) => n === le.Top ? e - t : n === le.Bottom ? e + t : e,
|
|
16391
|
-
function
|
|
16392
|
-
return g.jsx("circle", { onMouseDown: o, onMouseEnter: s, onMouseOut: i, className: Ve([
|
|
16390
|
+
}, Z$ = (e, t, n) => n === le.Left ? e - t : n === le.Right ? e + t : e, q$ = (e, t, n) => n === le.Top ? e - t : n === le.Bottom ? e + t : e, Vl = "react-flow__edgeupdater";
|
|
16391
|
+
function Fl({ position: e, centerX: t, centerY: n, radius: r = 10, onMouseDown: o, onMouseEnter: s, onMouseOut: i, type: a }) {
|
|
16392
|
+
return g.jsx("circle", { onMouseDown: o, onMouseEnter: s, onMouseOut: i, className: Ve([Vl, `${Vl}-${a}`]), cx: Z$(t, r, e), cy: q$(n, r, e), r, stroke: "transparent", fill: "transparent" });
|
|
16393
16393
|
}
|
|
16394
16394
|
function Q$({ isReconnectable: e, reconnectRadius: t, edge: n, targetHandleId: r, sourceHandleId: o, sourceX: s, sourceY: i, targetX: a, targetY: c, sourcePosition: l, targetPosition: u, onReconnect: d, onReconnectStart: f, onReconnectEnd: h, setReconnecting: p, setUpdateHover: m }) {
|
|
16395
16395
|
const y = Ie(), v = (P, $) => {
|
|
@@ -16424,20 +16424,20 @@ function Q$({ isReconnectable: e, reconnectRadius: t, edge: n, targetHandleId: r
|
|
|
16424
16424
|
getFromHandle: () => y.getState().connection.fromHandle
|
|
16425
16425
|
});
|
|
16426
16426
|
}, b = (P) => v(P, !0), w = (P) => v(P, !1), x = () => m(!0), E = () => m(!1);
|
|
16427
|
-
return g.jsxs(g.Fragment, { children: [(e === "source" || e === !0) && g.jsx(
|
|
16427
|
+
return g.jsxs(g.Fragment, { children: [(e === "source" || e === !0) && g.jsx(Fl, { position: l, centerX: s, centerY: i, radius: t, onMouseDown: b, onMouseEnter: x, onMouseOut: E, type: "source" }), (e === "target" || e === !0) && g.jsx(Fl, { position: u, centerX: a, centerY: c, radius: t, onMouseDown: w, onMouseEnter: x, onMouseOut: E, type: "target" })] });
|
|
16428
16428
|
}
|
|
16429
16429
|
function J$({ id: e, edgesFocusable: t, edgesReconnectable: n, elementsSelectable: r, onClick: o, onDoubleClick: s, onContextMenu: i, onMouseEnter: a, onMouseMove: c, onMouseLeave: l, reconnectRadius: u, onReconnect: d, onReconnectStart: f, onReconnectEnd: h, rfId: p, edgeTypes: m, noPanClassName: y, onError: v, disableKeyboardA11y: b }) {
|
|
16430
16430
|
let w = Se((U) => U.edgeLookup.get(e));
|
|
16431
16431
|
const x = Se((U) => U.defaultEdgeOptions);
|
|
16432
16432
|
w = x ? { ...x, ...w } : w;
|
|
16433
|
-
let E = w.type || "default", P = m?.[E] ||
|
|
16434
|
-
P === void 0 && (v?.("011", Je.error011(E)), E = "default", P =
|
|
16433
|
+
let E = w.type || "default", P = m?.[E] || jl[E];
|
|
16434
|
+
P === void 0 && (v?.("011", Je.error011(E)), E = "default", P = jl.default);
|
|
16435
16435
|
const $ = !!(w.focusable || t && typeof w.focusable > "u"), N = typeof d < "u" && (w.reconnectable || n && typeof w.reconnectable > "u"), I = !!(w.selectable || r && typeof w.selectable > "u"), R = Y(null), [L, j] = oe(!1), [A, S] = oe(!1), T = Ie(), { zIndex: _, sourceX: M, sourceY: k, targetX: C, targetY: D, sourcePosition: V, targetPosition: B } = Se(Q((U) => {
|
|
16436
16436
|
const de = U.nodeLookup.get(w.source), ve = U.nodeLookup.get(w.target);
|
|
16437
16437
|
if (!de || !ve)
|
|
16438
16438
|
return {
|
|
16439
16439
|
zIndex: w.zIndex,
|
|
16440
|
-
...
|
|
16440
|
+
...Ll
|
|
16441
16441
|
};
|
|
16442
16442
|
const q = GS({
|
|
16443
16443
|
id: e,
|
|
@@ -16456,7 +16456,7 @@ function J$({ id: e, edgesFocusable: t, edgesReconnectable: n, elementsSelectabl
|
|
|
16456
16456
|
targetNode: ve,
|
|
16457
16457
|
elevateOnSelect: U.elevateEdgesOnSelect
|
|
16458
16458
|
}),
|
|
16459
|
-
...q ||
|
|
16459
|
+
...q || Ll
|
|
16460
16460
|
};
|
|
16461
16461
|
}, [w.source, w.target, w.sourceHandle, w.targetHandle, w.selected, w.zIndex]), je), W = me(() => w.markerStart ? `url('#${Bi(w.markerStart, p)}')` : void 0, [w.markerStart, p]), H = me(() => w.markerEnd ? `url('#${Bi(w.markerEnd, p)}')` : void 0, [w.markerEnd, p]);
|
|
16462
16462
|
if (w.hidden || M === null || k === null || C === null || D === null)
|
|
@@ -16579,7 +16579,7 @@ const Ph = ({ style: e, type: t = Zt.Bezier, CustomComponent: n, isValid: r }) =
|
|
|
16579
16579
|
};
|
|
16580
16580
|
Ph.displayName = "ConnectionLine";
|
|
16581
16581
|
const d_ = {};
|
|
16582
|
-
function
|
|
16582
|
+
function Bl(e = d_) {
|
|
16583
16583
|
const t = Y(e), n = Ie();
|
|
16584
16584
|
J(() => {
|
|
16585
16585
|
if (process.env.NODE_ENV === "development") {
|
|
@@ -16603,10 +16603,10 @@ function f_() {
|
|
|
16603
16603
|
}, []);
|
|
16604
16604
|
}
|
|
16605
16605
|
function Oh({ nodeTypes: e, edgeTypes: t, onInit: n, onNodeClick: r, onEdgeClick: o, onNodeDoubleClick: s, onEdgeDoubleClick: i, onNodeMouseEnter: a, onNodeMouseMove: c, onNodeMouseLeave: l, onNodeContextMenu: u, onSelectionContextMenu: d, onSelectionStart: f, onSelectionEnd: h, connectionLineType: p, connectionLineStyle: m, connectionLineComponent: y, connectionLineContainerStyle: v, selectionKeyCode: b, selectionOnDrag: w, selectionMode: x, multiSelectionKeyCode: E, panActivationKeyCode: P, zoomActivationKeyCode: $, deleteKeyCode: N, onlyRenderVisibleElements: I, elementsSelectable: R, defaultViewport: L, translateExtent: j, minZoom: A, maxZoom: S, preventScrolling: T, defaultMarkerColor: _, zoomOnScroll: M, zoomOnPinch: k, panOnScroll: C, panOnScrollSpeed: D, panOnScrollMode: V, zoomOnDoubleClick: B, panOnDrag: W, onPaneClick: H, onPaneMouseEnter: X, onPaneMouseMove: te, onPaneMouseLeave: z, onPaneScroll: Z, onPaneContextMenu: G, paneClickDistance: ee, nodeClickDistance: ce, onEdgeContextMenu: U, onEdgeMouseEnter: de, onEdgeMouseMove: ve, onEdgeMouseLeave: q, reconnectRadius: ae, onReconnect: pe, onReconnectStart: _e, onReconnectEnd: Pe, noDragClassName: ye, noWheelClassName: we, noPanClassName: ke, disableKeyboardA11y: Ue, nodeExtent: nn, rfId: Rt, viewport: It, onViewportChange: at }) {
|
|
16606
|
-
return
|
|
16606
|
+
return Bl(e), Bl(t), f_(), o_(n), i_(It), g.jsx(P$, { onPaneClick: H, onPaneMouseEnter: X, onPaneMouseMove: te, onPaneMouseLeave: z, onPaneContextMenu: G, onPaneScroll: Z, paneClickDistance: ee, deleteKeyCode: N, selectionKeyCode: b, selectionOnDrag: w, selectionMode: x, onSelectionStart: f, onSelectionEnd: h, multiSelectionKeyCode: E, panActivationKeyCode: P, zoomActivationKeyCode: $, elementsSelectable: R, zoomOnScroll: M, zoomOnPinch: k, zoomOnDoubleClick: B, panOnScroll: C, panOnScrollSpeed: D, panOnScrollMode: V, panOnDrag: W, defaultViewport: L, translateExtent: j, minZoom: A, maxZoom: S, onSelectionContextMenu: d, preventScrolling: T, noDragClassName: ye, noWheelClassName: we, noPanClassName: ke, disableKeyboardA11y: Ue, onViewportChange: at, isControlledViewport: !!It, children: g.jsxs(r_, { children: [g.jsx(t_, { edgeTypes: t, onEdgeClick: o, onEdgeDoubleClick: i, onReconnect: pe, onReconnectStart: _e, onReconnectEnd: Pe, onlyRenderVisibleElements: I, onEdgeContextMenu: U, onEdgeMouseEnter: de, onEdgeMouseMove: ve, onEdgeMouseLeave: q, reconnectRadius: ae, defaultMarkerColor: _, noPanClassName: ke, disableKeyboardA11y: Ue, rfId: Rt }), g.jsx(u_, { style: m, type: p, component: y, containerStyle: v }), g.jsx("div", { className: "react-flow__edgelabel-renderer" }), g.jsx(L$, { nodeTypes: e, onNodeClick: r, onNodeDoubleClick: s, onNodeMouseEnter: a, onNodeMouseMove: c, onNodeMouseLeave: l, onNodeContextMenu: u, nodeClickDistance: ce, onlyRenderVisibleElements: I, noPanClassName: ke, noDragClassName: ye, disableKeyboardA11y: Ue, nodeExtent: nn, rfId: Rt }), g.jsx("div", { className: "react-flow__viewport-portal" })] }) });
|
|
16607
16607
|
}
|
|
16608
16608
|
Oh.displayName = "GraphView";
|
|
16609
|
-
const h_ = Fe(Oh),
|
|
16609
|
+
const h_ = Fe(Oh), zl = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, width: o, height: s, fitView: i, nodeOrigin: a } = {}) => {
|
|
16610
16610
|
const c = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map(), f = r ?? t ?? [], h = n ?? e ?? [], p = a ?? [0, 0];
|
|
16611
16611
|
Kf(u, d, f), Hf(h, c, l, {
|
|
16612
16612
|
nodeOrigin: p,
|
|
@@ -16616,7 +16616,7 @@ const h_ = Fe(Oh), Bl = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r,
|
|
|
16616
16616
|
if (i && o && s) {
|
|
16617
16617
|
const y = Ar(c, {
|
|
16618
16618
|
filter: (x) => !!((x.width || x.initialWidth) && (x.height || x.initialHeight))
|
|
16619
|
-
}), { x: v, y: b, zoom: w } =
|
|
16619
|
+
}), { x: v, y: b, zoom: w } = Da(y, o, s, 0.5, 2, 0.1);
|
|
16620
16620
|
m = [v, b, w];
|
|
16621
16621
|
}
|
|
16622
16622
|
return {
|
|
@@ -16678,7 +16678,7 @@ const h_ = Fe(Oh), Bl = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r,
|
|
|
16678
16678
|
debug: !1
|
|
16679
16679
|
};
|
|
16680
16680
|
}, p_ = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, width: o, height: s, fitView: i, nodeOrigin: a }) => kC((c, l) => ({
|
|
16681
|
-
...
|
|
16681
|
+
...zl({ nodes: e, edges: t, width: o, height: s, fitView: i, nodeOrigin: a, defaultNodes: n, defaultEdges: r }),
|
|
16682
16682
|
setNodes: (u) => {
|
|
16683
16683
|
const { nodeLookup: d, parentLookup: f, nodeOrigin: h, elevateNodesOnSelect: p } = l();
|
|
16684
16684
|
Hf(u, d, f, { nodeOrigin: h, elevateNodesOnSelect: p, checkEquality: !0 }), c({ nodes: u });
|
|
@@ -16731,7 +16731,7 @@ const h_ = Fe(Oh), Bl = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r,
|
|
|
16731
16731
|
}), y.position.x = Math.max(0, y.position.x), y.position.y = Math.max(0, y.position.y)), h.push(y);
|
|
16732
16732
|
}
|
|
16733
16733
|
if (f.length > 0) {
|
|
16734
|
-
const { nodeLookup: p, parentLookup: m, nodeOrigin: y } = l(), v =
|
|
16734
|
+
const { nodeLookup: p, parentLookup: m, nodeOrigin: y } = l(), v = Va(f, p, m, y);
|
|
16735
16735
|
h.push(...v);
|
|
16736
16736
|
}
|
|
16737
16737
|
l().triggerNodeChanges(h);
|
|
@@ -16799,7 +16799,7 @@ const h_ = Fe(Oh), Bl = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r,
|
|
|
16799
16799
|
setNodeExtent: (u) => {
|
|
16800
16800
|
const { nodeLookup: d } = l();
|
|
16801
16801
|
for (const [, f] of d) {
|
|
16802
|
-
const h =
|
|
16802
|
+
const h = Ra(f.internals.positionAbsolute, u);
|
|
16803
16803
|
d.set(f.id, {
|
|
16804
16804
|
...f,
|
|
16805
16805
|
internals: {
|
|
@@ -16854,7 +16854,7 @@ const h_ = Fe(Oh), Bl = ({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r,
|
|
|
16854
16854
|
updateConnection: (u) => {
|
|
16855
16855
|
c({ connection: u });
|
|
16856
16856
|
},
|
|
16857
|
-
reset: () => c({ ...
|
|
16857
|
+
reset: () => c({ ...zl() })
|
|
16858
16858
|
}), Object.is);
|
|
16859
16859
|
function Rh({ initialNodes: e, initialEdges: t, defaultNodes: n, defaultEdges: r, initialWidth: o, initialHeight: s, fitView: i, nodeOrigin: a, children: c }) {
|
|
16860
16860
|
const [l] = oe(() => p_({
|
|
@@ -16879,9 +16879,9 @@ const g_ = {
|
|
|
16879
16879
|
position: "relative",
|
|
16880
16880
|
zIndex: 0
|
|
16881
16881
|
};
|
|
16882
|
-
function v_({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, className: o, nodeTypes: s, edgeTypes: i, onNodeClick: a, onEdgeClick: c, onInit: l, onMove: u, onMoveStart: d, onMoveEnd: f, onConnect: h, onConnectStart: p, onConnectEnd: m, onClickConnectStart: y, onClickConnectEnd: v, onNodeMouseEnter: b, onNodeMouseMove: w, onNodeMouseLeave: x, onNodeContextMenu: E, onNodeDoubleClick: P, onNodeDragStart: $, onNodeDrag: N, onNodeDragStop: I, onNodesDelete: R, onEdgesDelete: L, onDelete: j, onSelectionChange: A, onSelectionDragStart: S, onSelectionDrag: T, onSelectionDragStop: _, onSelectionContextMenu: M, onSelectionStart: k, onSelectionEnd: C, onBeforeDelete: D, connectionMode: V, connectionLineType: B = Zt.Bezier, connectionLineStyle: W, connectionLineComponent: H, connectionLineContainerStyle: X, deleteKeyCode: te = "Backspace", selectionKeyCode: z = "Shift", selectionOnDrag: Z = !1, selectionMode: G = Nr.Full, panActivationKeyCode: ee = "Space", multiSelectionKeyCode: ce = Yo() ? "Meta" : "Control", zoomActivationKeyCode: U = Yo() ? "Meta" : "Control", snapToGrid: de, snapGrid: ve, onlyRenderVisibleElements: q = !1, selectNodesOnDrag: ae, nodesDraggable: pe, nodesConnectable: _e, nodesFocusable: Pe, nodeOrigin: ye = oh, edgesFocusable: we, edgesReconnectable: ke, elementsSelectable: Ue = !0, defaultViewport: nn = GC, minZoom: Rt = 0.5, maxZoom: It = 2, translateExtent: at = Wo, preventScrolling: xs = !0, nodeExtent: Gn, defaultMarkerColor: Fr = "#b1b1b7", zoomOnScroll: Xn = !0, zoomOnPinch: ws = !0, panOnScroll: bs = !1, panOnScrollSpeed: Ss = 0.5, panOnScrollMode: Cs = ln.Free, zoomOnDoubleClick: $s = !0, panOnDrag: _s = !0, onPaneClick: Es, onPaneMouseEnter: Zn, onPaneMouseMove: Br, onPaneMouseLeave: kt, onPaneScroll: qn, onPaneContextMenu: Qn, paneClickDistance: Jn = 0, nodeClickDistance: Ns = 0, children: zr, onReconnect: Ms, onReconnectStart: Hr, onReconnectEnd: Wr, onEdgeContextMenu: Ts, onEdgeDoubleClick: Ps, onEdgeMouseEnter: Kr, onEdgeMouseMove: Ur, onEdgeMouseLeave: Os, reconnectRadius: Rs = 10, onNodesChange: Is, onEdgesChange: ks, noDragClassName: O = "nodrag", noWheelClassName: K = "nowheel", noPanClassName: ne = "nopan", fitView: he, fitViewOptions: Ce, connectOnClick: Ee, attributionPosition: be, proOptions: xe, defaultEdgeOptions: Be, elevateNodesOnSelect: De, elevateEdgesOnSelect: Ae, disableKeyboardA11y: He = !1, autoPanOnConnect: Dt, autoPanOnNodeDrag: yt, autoPanSpeed: ze, connectionRadius: er, isValidConnection: Ds, onError: As, style: Vh, id:
|
|
16883
|
-
const js =
|
|
16884
|
-
return g.jsx("div", { ...Yh, style: { ...Vh, ...g_ }, ref: Gh, className: Ve(["react-flow", o, Xh]), "data-testid": "rf__wrapper", id:
|
|
16882
|
+
function v_({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, className: o, nodeTypes: s, edgeTypes: i, onNodeClick: a, onEdgeClick: c, onInit: l, onMove: u, onMoveStart: d, onMoveEnd: f, onConnect: h, onConnectStart: p, onConnectEnd: m, onClickConnectStart: y, onClickConnectEnd: v, onNodeMouseEnter: b, onNodeMouseMove: w, onNodeMouseLeave: x, onNodeContextMenu: E, onNodeDoubleClick: P, onNodeDragStart: $, onNodeDrag: N, onNodeDragStop: I, onNodesDelete: R, onEdgesDelete: L, onDelete: j, onSelectionChange: A, onSelectionDragStart: S, onSelectionDrag: T, onSelectionDragStop: _, onSelectionContextMenu: M, onSelectionStart: k, onSelectionEnd: C, onBeforeDelete: D, connectionMode: V, connectionLineType: B = Zt.Bezier, connectionLineStyle: W, connectionLineComponent: H, connectionLineContainerStyle: X, deleteKeyCode: te = "Backspace", selectionKeyCode: z = "Shift", selectionOnDrag: Z = !1, selectionMode: G = Nr.Full, panActivationKeyCode: ee = "Space", multiSelectionKeyCode: ce = Yo() ? "Meta" : "Control", zoomActivationKeyCode: U = Yo() ? "Meta" : "Control", snapToGrid: de, snapGrid: ve, onlyRenderVisibleElements: q = !1, selectNodesOnDrag: ae, nodesDraggable: pe, nodesConnectable: _e, nodesFocusable: Pe, nodeOrigin: ye = oh, edgesFocusable: we, edgesReconnectable: ke, elementsSelectable: Ue = !0, defaultViewport: nn = GC, minZoom: Rt = 0.5, maxZoom: It = 2, translateExtent: at = Wo, preventScrolling: xs = !0, nodeExtent: Gn, defaultMarkerColor: Fr = "#b1b1b7", zoomOnScroll: Xn = !0, zoomOnPinch: ws = !0, panOnScroll: bs = !1, panOnScrollSpeed: Ss = 0.5, panOnScrollMode: Cs = ln.Free, zoomOnDoubleClick: $s = !0, panOnDrag: _s = !0, onPaneClick: Es, onPaneMouseEnter: Zn, onPaneMouseMove: Br, onPaneMouseLeave: kt, onPaneScroll: qn, onPaneContextMenu: Qn, paneClickDistance: Jn = 0, nodeClickDistance: Ns = 0, children: zr, onReconnect: Ms, onReconnectStart: Hr, onReconnectEnd: Wr, onEdgeContextMenu: Ts, onEdgeDoubleClick: Ps, onEdgeMouseEnter: Kr, onEdgeMouseMove: Ur, onEdgeMouseLeave: Os, reconnectRadius: Rs = 10, onNodesChange: Is, onEdgesChange: ks, noDragClassName: O = "nodrag", noWheelClassName: K = "nowheel", noPanClassName: ne = "nopan", fitView: he, fitViewOptions: Ce, connectOnClick: Ee, attributionPosition: be, proOptions: xe, defaultEdgeOptions: Be, elevateNodesOnSelect: De, elevateEdgesOnSelect: Ae, disableKeyboardA11y: He = !1, autoPanOnConnect: Dt, autoPanOnNodeDrag: yt, autoPanSpeed: ze, connectionRadius: er, isValidConnection: Ds, onError: As, style: Vh, id: za, nodeDragThreshold: Fh, viewport: Bh, onViewportChange: zh, width: Hh, height: Wh, colorMode: Kh = "light", debug: Uh, ...Yh }, Gh) {
|
|
16883
|
+
const js = za || "1", Xh = QC(Kh);
|
|
16884
|
+
return g.jsx("div", { ...Yh, style: { ...Vh, ...g_ }, ref: Gh, className: Ve(["react-flow", o, Xh]), "data-testid": "rf__wrapper", id: za, children: g.jsxs(m_, { nodes: e, edges: t, width: Hh, height: Wh, fitView: he, nodeOrigin: ye, children: [g.jsx(h_, { onInit: l, onNodeClick: a, onEdgeClick: c, onNodeMouseEnter: b, onNodeMouseMove: w, onNodeMouseLeave: x, onNodeContextMenu: E, onNodeDoubleClick: P, nodeTypes: s, edgeTypes: i, connectionLineType: B, connectionLineStyle: W, connectionLineComponent: H, connectionLineContainerStyle: X, selectionKeyCode: z, selectionOnDrag: Z, selectionMode: G, deleteKeyCode: te, multiSelectionKeyCode: ce, panActivationKeyCode: ee, zoomActivationKeyCode: U, onlyRenderVisibleElements: q, defaultViewport: nn, translateExtent: at, minZoom: Rt, maxZoom: It, preventScrolling: xs, zoomOnScroll: Xn, zoomOnPinch: ws, zoomOnDoubleClick: $s, panOnScroll: bs, panOnScrollSpeed: Ss, panOnScrollMode: Cs, panOnDrag: _s, onPaneClick: Es, onPaneMouseEnter: Zn, onPaneMouseMove: Br, onPaneMouseLeave: kt, onPaneScroll: qn, onPaneContextMenu: Qn, paneClickDistance: Jn, nodeClickDistance: Ns, onSelectionContextMenu: M, onSelectionStart: k, onSelectionEnd: C, onReconnect: Ms, onReconnectStart: Hr, onReconnectEnd: Wr, onEdgeContextMenu: Ts, onEdgeDoubleClick: Ps, onEdgeMouseEnter: Kr, onEdgeMouseMove: Ur, onEdgeMouseLeave: Os, reconnectRadius: Rs, defaultMarkerColor: Fr, noDragClassName: O, noWheelClassName: K, noPanClassName: ne, rfId: js, disableKeyboardA11y: He, nodeExtent: Gn, viewport: Bh, onViewportChange: zh }), g.jsx(qC, { nodes: e, edges: t, defaultNodes: n, defaultEdges: r, onConnect: h, onConnectStart: p, onConnectEnd: m, onClickConnectStart: y, onClickConnectEnd: v, nodesDraggable: pe, nodesConnectable: _e, nodesFocusable: Pe, edgesFocusable: we, edgesReconnectable: ke, elementsSelectable: Ue, elevateNodesOnSelect: De, elevateEdgesOnSelect: Ae, minZoom: Rt, maxZoom: It, nodeExtent: Gn, onNodesChange: Is, onEdgesChange: ks, snapToGrid: de, snapGrid: ve, connectionMode: V, translateExtent: at, connectOnClick: Ee, defaultEdgeOptions: Be, fitView: he, fitViewOptions: Ce, onNodesDelete: R, onEdgesDelete: L, onDelete: j, onNodeDragStart: $, onNodeDrag: N, onNodeDragStop: I, onSelectionDrag: T, onSelectionDragStart: S, onSelectionDragStop: _, onMove: u, onMoveStart: d, onMoveEnd: f, noPanClassName: ne, nodeOrigin: ye, rfId: js, autoPanOnConnect: Dt, autoPanOnNodeDrag: yt, autoPanSpeed: ze, onError: As, connectionRadius: er, isValidConnection: Ds, selectNodesOnDrag: ae, nodeDragThreshold: Fh, onBeforeDelete: D, paneClickDistance: Jn, debug: Uh }), g.jsx(YC, { onSelectionChange: A }), zr, g.jsx(zC, { proOptions: xe, position: be }), g.jsx(FC, { rfId: js, disableKeyboardA11y: He })] }) });
|
|
16885
16885
|
}
|
|
16886
16886
|
var y_ = ch(v_);
|
|
16887
16887
|
function x_(e) {
|
|
@@ -16969,7 +16969,7 @@ function kh({ style: e, showZoom: t = !0, showFitView: n = !0, showInteractive:
|
|
|
16969
16969
|
elementsSelectable: !m
|
|
16970
16970
|
}), c?.(!m);
|
|
16971
16971
|
}, I = f === "horizontal" ? "horizontal" : "vertical";
|
|
16972
|
-
return g.jsxs(
|
|
16972
|
+
return g.jsxs(Fa, { className: Ve(["react-flow__controls", I, l]), position: d, style: e, "data-testid": "rf__controls", "aria-label": h, children: [t && g.jsxs(g.Fragment, { children: [g.jsx(fo, { onClick: E, className: "react-flow__controls-zoomin", title: "zoom in", "aria-label": "zoom in", disabled: v, children: g.jsx(E_, {}) }), g.jsx(fo, { onClick: P, className: "react-flow__controls-zoomout", title: "zoom out", "aria-label": "zoom out", disabled: y, children: g.jsx(N_, {}) })] }), n && g.jsx(fo, { className: "react-flow__controls-fitview", onClick: $, title: "fit view", "aria-label": "fit view", children: g.jsx(M_, {}) }), r && g.jsx(fo, { className: "react-flow__controls-interactive", onClick: N, title: "toggle interactivity", "aria-label": "toggle interactivity", children: m ? g.jsx(P_, {}) : g.jsx(T_, {}) }), u] });
|
|
16973
16973
|
}
|
|
16974
16974
|
kh.displayName = "Controls";
|
|
16975
16975
|
const R_ = Fe(kh);
|
|
@@ -17090,7 +17090,7 @@ function Dh({
|
|
|
17090
17090
|
const de = E.getState().nodeLookup.get(U);
|
|
17091
17091
|
p(ce, de);
|
|
17092
17092
|
}, []) : void 0;
|
|
17093
|
-
return g.jsx(
|
|
17093
|
+
return g.jsx(Fa, { position: f, style: {
|
|
17094
17094
|
...e,
|
|
17095
17095
|
"--xy-minimap-background-color-props": typeof c == "string" ? c : void 0,
|
|
17096
17096
|
"--xy-minimap-mask-background-color-props": typeof l == "string" ? l : void 0,
|
|
@@ -17135,7 +17135,7 @@ function W_({ nodeId: e, position: t, variant: n = dr.Handle, className: r, styl
|
|
|
17135
17135
|
y: R.y ?? k.position.y
|
|
17136
17136
|
}, { width: D, height: V }, k.parentId, A, C)
|
|
17137
17137
|
}
|
|
17138
|
-
}, W =
|
|
17138
|
+
}, W = Va([B], A, S, T);
|
|
17139
17139
|
_.push(...W), M.x = R.x ? Math.max(C[0] * D, R.x) : void 0, M.y = R.y ? Math.max(C[1] * V, R.y) : void 0;
|
|
17140
17140
|
}
|
|
17141
17141
|
if (M.x !== void 0 && M.y !== void 0) {
|
|
@@ -17215,7 +17215,7 @@ function Ah({ id: e, data: t }) {
|
|
|
17215
17215
|
{
|
|
17216
17216
|
"data-cypress": `field-dag-view-mode-field-node-${e}`,
|
|
17217
17217
|
className: fe(
|
|
17218
|
-
"sl-py-6 sl-px-4 sl-bg-white sl-border sl-border-primary-100 sl-shadow-md sl-rounded-lg sl-min-w-[400px]",
|
|
17218
|
+
"sl-py-6 sl-px-4 sl-bg-white sl-border sl-border-primary-100 sl-shadow-md sl-rounded-lg sl-min-w-[400px] sl-text-md",
|
|
17219
17219
|
!!t?.hasPredecessors && "sl-border-info-100 sl-bg-info-50",
|
|
17220
17220
|
!!t?.isSelected && "sl-border-info-300",
|
|
17221
17221
|
t?.className
|
|
@@ -17365,7 +17365,7 @@ function G_(e) {
|
|
|
17365
17365
|
const { title: t, onClose: n } = e;
|
|
17366
17366
|
return /* @__PURE__ */ g.jsxs("div", { className: fe("sl-w-full sl-flex sl-items-center sl-justify-between"), children: [
|
|
17367
17367
|
/* @__PURE__ */ g.jsx("h4", { className: "sl-text-lg sl-text-primary-700 sl-font-bold", children: t }),
|
|
17368
|
-
n && /* @__PURE__ */ g.jsx("button", { type: "button", onClick: n, children: /* @__PURE__ */ g.jsx(
|
|
17368
|
+
n && /* @__PURE__ */ g.jsx("button", { type: "button", onClick: n, children: /* @__PURE__ */ g.jsx(qi, { color: "currentColor", className: "sl-w-4 sl-h-4 sl-text-primary-800" }) })
|
|
17369
17369
|
] });
|
|
17370
17370
|
}
|
|
17371
17371
|
const Lh = re.forwardRef(
|
|
@@ -17401,18 +17401,37 @@ function X_(e) {
|
|
|
17401
17401
|
Lh,
|
|
17402
17402
|
{
|
|
17403
17403
|
placeholder: t,
|
|
17404
|
-
className: "sl-
|
|
17404
|
+
className: "sl-px-7 placeholder:sl-font-semibold",
|
|
17405
17405
|
value: o,
|
|
17406
17406
|
onChange: (u) => {
|
|
17407
17407
|
s(u.target.value), r?.(u.target.value);
|
|
17408
17408
|
}
|
|
17409
17409
|
}
|
|
17410
|
+
),
|
|
17411
|
+
o && /* @__PURE__ */ g.jsx(
|
|
17412
|
+
"button",
|
|
17413
|
+
{
|
|
17414
|
+
type: "button",
|
|
17415
|
+
className: "sl-absolute sl-right-2 sl-top-1/2 -sl-translate-y-1/2 sl-bg-white sl-text-typography-paragraph sl-z-10",
|
|
17416
|
+
onClick: () => {
|
|
17417
|
+
s(""), r?.("");
|
|
17418
|
+
},
|
|
17419
|
+
children: /* @__PURE__ */ g.jsx(
|
|
17420
|
+
qi,
|
|
17421
|
+
{
|
|
17422
|
+
className: "sl-w-4 sl-h-4 sl-stroke-2 sl-text-primary-700",
|
|
17423
|
+
strokeWidth: 2,
|
|
17424
|
+
color: "currentColor"
|
|
17425
|
+
}
|
|
17426
|
+
)
|
|
17427
|
+
}
|
|
17410
17428
|
)
|
|
17411
17429
|
] }),
|
|
17412
17430
|
l.length > 0 && /* @__PURE__ */ g.jsxs("div", { className: "sl-flex sl-flex-col sl-gap-2 sl-text-md sl-text-primary-700", children: [
|
|
17413
17431
|
/* @__PURE__ */ g.jsxs("p", { className: "sl-text-sm sl-text-primary-600", children: [
|
|
17414
17432
|
l.length.toString().padStart(2, "0"),
|
|
17415
|
-
"
|
|
17433
|
+
" ",
|
|
17434
|
+
l.length > 1 ? "resultados" : "resultado"
|
|
17416
17435
|
] }),
|
|
17417
17436
|
l.map(({ node: u, value: d }) => {
|
|
17418
17437
|
const f = d.slice(0, d.indexOf(o)), h = d.slice(
|