From 667f791ab73060f49d463d9a33ae1f92b6a9b5bc Mon Sep 17 00:00:00 2001 From: opbnq Date: Fri, 7 Mar 2025 07:23:26 -0800 Subject: [PATCH] remove node_modules --- .gitignore | 2 +- frontend/dist/assets/index-BnDWzbnJ.css | 1 - frontend/dist/assets/index-DsBrcYCq.js | 3542 ----------------- frontend/pnpm-lock.yaml | 1852 --------- frontend/src/author/AuthorScheme.vue | 38 - frontend/src/author/author.service.ts | 27 - node_modules/.modules.yaml | 20 - node_modules/.pnpm-workspace-state.json | 25 - .../@wailsio/runtime/dist/application.js | 32 - .../@wailsio/runtime/dist/browser.js | 20 - .../@wailsio/runtime/dist/callable.js | 144 - .../@wailsio/runtime/dist/calls.js | 194 - .../@wailsio/runtime/dist/cancellable.js | 792 ---- .../@wailsio/runtime/dist/clipboard.js | 30 - .../@wailsio/runtime/dist/contextmenu.js | 80 - .../@wailsio/runtime/dist/create.js | 94 - .../@wailsio/runtime/dist/dialogs.js | 134 - .../@wailsio/runtime/dist/drag.js | 222 -- .../@wailsio/runtime/dist/event_types.js | 229 -- .../@wailsio/runtime/dist/events.js | 101 - .../@wailsio/runtime/dist/flags.js | 23 - .../@wailsio/runtime/dist/index.js | 38 - .../@wailsio/runtime/dist/listener.js | 44 - .../@wailsio/runtime/dist/nanoid.js | 38 - .../@wailsio/runtime/dist/runtime.js | 63 - .../@wailsio/runtime/dist/screens.js | 38 - .../@wailsio/runtime/dist/system.js | 116 - .../@wailsio/runtime/dist/utils.js | 95 - .../@wailsio/runtime/dist/window.js | 438 -- .../node_modules/@wailsio/runtime/dist/wml.js | 179 - .../@wailsio/runtime/package.json | 62 - .../@wailsio/runtime/types/application.d.ts | 12 - .../@wailsio/runtime/types/browser.d.ts | 6 - .../@wailsio/runtime/types/callable.d.ts | 3 - .../@wailsio/runtime/types/calls.d.ts | 63 - .../@wailsio/runtime/types/cancellable.d.ts | 434 -- .../@wailsio/runtime/types/clipboard.d.ts | 13 - .../@wailsio/runtime/types/contextmenu.d.ts | 1 - .../@wailsio/runtime/types/create.d.ts | 31 - .../@wailsio/runtime/types/dialogs.d.ts | 140 - .../@wailsio/runtime/types/drag.d.ts | 1 - .../@wailsio/runtime/types/event_types.d.ts | 218 - .../@wailsio/runtime/types/events.d.ts | 66 - .../@wailsio/runtime/types/flags.d.ts | 7 - .../@wailsio/runtime/types/index.d.ts | 16 - .../@wailsio/runtime/types/listener.d.ts | 9 - .../@wailsio/runtime/types/nanoid.d.ts | 1 - .../@wailsio/runtime/types/runtime.d.ts | 22 - .../@wailsio/runtime/types/screens.d.ts | 60 - .../@wailsio/runtime/types/system.d.ts | 83 - .../@wailsio/runtime/types/utils.d.ts | 21 - .../@wailsio/runtime/types/window.d.ts | 292 -- .../@wailsio/runtime/types/wml.d.ts | 8 - node_modules/.pnpm/lock.yaml | 22 - .../@wailsio/runtime/dist/application.js | 32 - node_modules/@wailsio/runtime/dist/browser.js | 20 - .../@wailsio/runtime/dist/callable.js | 144 - node_modules/@wailsio/runtime/dist/calls.js | 194 - .../@wailsio/runtime/dist/cancellable.js | 792 ---- .../@wailsio/runtime/dist/clipboard.js | 30 - .../@wailsio/runtime/dist/contextmenu.js | 80 - node_modules/@wailsio/runtime/dist/create.js | 94 - node_modules/@wailsio/runtime/dist/dialogs.js | 134 - node_modules/@wailsio/runtime/dist/drag.js | 222 -- .../@wailsio/runtime/dist/event_types.js | 229 -- node_modules/@wailsio/runtime/dist/events.js | 101 - node_modules/@wailsio/runtime/dist/flags.js | 23 - node_modules/@wailsio/runtime/dist/index.js | 38 - .../@wailsio/runtime/dist/listener.js | 44 - node_modules/@wailsio/runtime/dist/nanoid.js | 38 - node_modules/@wailsio/runtime/dist/runtime.js | 63 - node_modules/@wailsio/runtime/dist/screens.js | 38 - node_modules/@wailsio/runtime/dist/system.js | 116 - node_modules/@wailsio/runtime/dist/utils.js | 95 - node_modules/@wailsio/runtime/dist/window.js | 438 -- node_modules/@wailsio/runtime/dist/wml.js | 179 - node_modules/@wailsio/runtime/package.json | 62 - .../@wailsio/runtime/types/application.d.ts | 12 - .../@wailsio/runtime/types/browser.d.ts | 6 - .../@wailsio/runtime/types/callable.d.ts | 3 - .../@wailsio/runtime/types/calls.d.ts | 63 - .../@wailsio/runtime/types/cancellable.d.ts | 434 -- .../@wailsio/runtime/types/clipboard.d.ts | 13 - .../@wailsio/runtime/types/contextmenu.d.ts | 1 - .../@wailsio/runtime/types/create.d.ts | 31 - .../@wailsio/runtime/types/dialogs.d.ts | 140 - node_modules/@wailsio/runtime/types/drag.d.ts | 1 - .../@wailsio/runtime/types/event_types.d.ts | 218 - .../@wailsio/runtime/types/events.d.ts | 66 - .../@wailsio/runtime/types/flags.d.ts | 7 - .../@wailsio/runtime/types/index.d.ts | 16 - .../@wailsio/runtime/types/listener.d.ts | 9 - .../@wailsio/runtime/types/nanoid.d.ts | 1 - .../@wailsio/runtime/types/runtime.d.ts | 22 - .../@wailsio/runtime/types/screens.d.ts | 60 - .../@wailsio/runtime/types/system.d.ts | 83 - .../@wailsio/runtime/types/utils.d.ts | 21 - .../@wailsio/runtime/types/window.d.ts | 292 -- node_modules/@wailsio/runtime/types/wml.d.ts | 8 - 99 files changed, 1 insertion(+), 14954 deletions(-) delete mode 100644 frontend/dist/assets/index-BnDWzbnJ.css delete mode 100644 frontend/dist/assets/index-DsBrcYCq.js delete mode 100644 frontend/pnpm-lock.yaml delete mode 100644 frontend/src/author/AuthorScheme.vue delete mode 100644 frontend/src/author/author.service.ts delete mode 100644 node_modules/.modules.yaml delete mode 100644 node_modules/.pnpm-workspace-state.json delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/application.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/browser.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/callable.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/calls.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/cancellable.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/clipboard.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/contextmenu.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/create.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/dialogs.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/drag.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/event_types.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/events.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/flags.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/index.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/listener.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/nanoid.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/runtime.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/screens.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/system.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/utils.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/window.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/wml.js delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/package.json delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/application.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/browser.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/callable.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/calls.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/cancellable.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/clipboard.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/contextmenu.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/create.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/dialogs.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/drag.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/event_types.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/events.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/flags.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/index.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/listener.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/nanoid.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/runtime.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/screens.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/system.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/utils.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/window.d.ts delete mode 100644 node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/wml.d.ts delete mode 100644 node_modules/.pnpm/lock.yaml delete mode 100644 node_modules/@wailsio/runtime/dist/application.js delete mode 100644 node_modules/@wailsio/runtime/dist/browser.js delete mode 100644 node_modules/@wailsio/runtime/dist/callable.js delete mode 100644 node_modules/@wailsio/runtime/dist/calls.js delete mode 100644 node_modules/@wailsio/runtime/dist/cancellable.js delete mode 100644 node_modules/@wailsio/runtime/dist/clipboard.js delete mode 100644 node_modules/@wailsio/runtime/dist/contextmenu.js delete mode 100644 node_modules/@wailsio/runtime/dist/create.js delete mode 100644 node_modules/@wailsio/runtime/dist/dialogs.js delete mode 100644 node_modules/@wailsio/runtime/dist/drag.js delete mode 100644 node_modules/@wailsio/runtime/dist/event_types.js delete mode 100644 node_modules/@wailsio/runtime/dist/events.js delete mode 100644 node_modules/@wailsio/runtime/dist/flags.js delete mode 100644 node_modules/@wailsio/runtime/dist/index.js delete mode 100644 node_modules/@wailsio/runtime/dist/listener.js delete mode 100644 node_modules/@wailsio/runtime/dist/nanoid.js delete mode 100644 node_modules/@wailsio/runtime/dist/runtime.js delete mode 100644 node_modules/@wailsio/runtime/dist/screens.js delete mode 100644 node_modules/@wailsio/runtime/dist/system.js delete mode 100644 node_modules/@wailsio/runtime/dist/utils.js delete mode 100644 node_modules/@wailsio/runtime/dist/window.js delete mode 100644 node_modules/@wailsio/runtime/dist/wml.js delete mode 100644 node_modules/@wailsio/runtime/package.json delete mode 100644 node_modules/@wailsio/runtime/types/application.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/browser.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/callable.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/calls.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/cancellable.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/clipboard.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/contextmenu.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/create.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/dialogs.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/drag.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/event_types.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/events.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/flags.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/index.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/listener.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/nanoid.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/runtime.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/screens.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/system.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/utils.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/window.d.ts delete mode 100644 node_modules/@wailsio/runtime/types/wml.d.ts diff --git a/.gitignore b/.gitignore index 19d3be9..d65bd1c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,5 @@ bin/ database.db .task/ frontend/node_modules/ -nto-ui/ +nto-cli/ /**/cli.exe \ No newline at end of file diff --git a/frontend/dist/assets/index-BnDWzbnJ.css b/frontend/dist/assets/index-BnDWzbnJ.css deleted file mode 100644 index d37da52..0000000 --- a/frontend/dist/assets/index-BnDWzbnJ.css +++ /dev/null @@ -1 +0,0 @@ -*,: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: }*,: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;-o-tab-size:4;tab-size:4;font-family: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]){-webkit-text-decoration:underline dotted;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::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}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]:where(:not([hidden=until-found])){display:none}.fixed{position:fixed}.bottom-6{bottom:1.5rem}.right-6{right:1.5rem}.flex{display:flex}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-screen{height:100vh}.w-\[200px\]{width:200px}.w-\[300px\]{width:300px}.w-screen{width:100vw}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-5{gap:1.25rem}.rounded-full{border-radius:9999px}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}@font-face{font-family:primeicons;font-display:block;src:url(/assets/primeicons-DMOk5skT.eot);src:url(/assets/primeicons-DMOk5skT.eot?#iefix) format("embedded-opentype"),url(/assets/primeicons-C6QP2o4f.woff2) format("woff2"),url(/assets/primeicons-WjwUDZjB.woff) format("woff"),url(/assets/primeicons-MpK4pl85.ttf) format("truetype"),url(/assets/primeicons-Dr5RGzOO.svg?#primeicons) format("svg");font-weight:400;font-style:normal}.pi{font-family:primeicons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pi:before{--webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{width:1.28571429em;text-align:center}.pi-spin{animation:fa-spin 2s infinite linear}@media (prefers-reduced-motion: reduce){.pi-spin{animation-delay:-1ms;animation-duration:1ms;animation-iteration-count:1;transition-delay:0s;transition-duration:0s}}@keyframes fa-spin{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.pi-folder-plus:before{content:""}.pi-receipt:before{content:""}.pi-asterisk:before{content:""}.pi-face-smile:before{content:""}.pi-pinterest:before{content:""}.pi-expand:before{content:""}.pi-pen-to-square:before{content:""}.pi-wave-pulse:before{content:""}.pi-turkish-lira:before{content:""}.pi-spinner-dotted:before{content:""}.pi-crown:before{content:""}.pi-pause-circle:before{content:""}.pi-warehouse:before{content:""}.pi-objects-column:before{content:""}.pi-clipboard:before{content:""}.pi-play-circle:before{content:""}.pi-venus:before{content:""}.pi-cart-minus:before{content:""}.pi-file-plus:before{content:""}.pi-microchip:before{content:""}.pi-twitch:before{content:""}.pi-building-columns:before{content:""}.pi-file-check:before{content:""}.pi-microchip-ai:before{content:""}.pi-trophy:before{content:""}.pi-barcode:before{content:""}.pi-file-arrow-up:before{content:""}.pi-mars:before{content:""}.pi-tiktok:before{content:""}.pi-arrow-up-right-and-arrow-down-left-from-center:before{content:""}.pi-ethereum:before{content:""}.pi-list-check:before{content:""}.pi-thumbtack:before{content:""}.pi-arrow-down-left-and-arrow-up-right-to-center:before{content:""}.pi-equals:before{content:""}.pi-lightbulb:before{content:""}.pi-star-half:before{content:""}.pi-address-book:before{content:""}.pi-chart-scatter:before{content:""}.pi-indian-rupee:before{content:""}.pi-star-half-fill:before{content:""}.pi-cart-arrow-down:before{content:""}.pi-calendar-clock:before{content:""}.pi-sort-up-fill:before{content:""}.pi-sparkles:before{content:""}.pi-bullseye:before{content:""}.pi-sort-down-fill:before{content:""}.pi-graduation-cap:before{content:""}.pi-hammer:before{content:""}.pi-bell-slash:before{content:""}.pi-gauge:before{content:""}.pi-shop:before{content:""}.pi-headphones:before{content:""}.pi-eraser:before{content:""}.pi-stopwatch:before{content:""}.pi-verified:before{content:""}.pi-delete-left:before{content:""}.pi-hourglass:before{content:""}.pi-truck:before{content:""}.pi-wrench:before{content:""}.pi-microphone:before{content:""}.pi-megaphone:before{content:""}.pi-arrow-right-arrow-left:before{content:""}.pi-bitcoin:before{content:""}.pi-file-edit:before{content:""}.pi-language:before{content:""}.pi-file-export:before{content:""}.pi-file-import:before{content:""}.pi-file-word:before{content:""}.pi-gift:before{content:""}.pi-cart-plus:before{content:""}.pi-thumbs-down-fill:before{content:""}.pi-thumbs-up-fill:before{content:""}.pi-arrows-alt:before{content:""}.pi-calculator:before{content:""}.pi-sort-alt-slash:before{content:""}.pi-arrows-h:before{content:""}.pi-arrows-v:before{content:""}.pi-pound:before{content:""}.pi-prime:before{content:""}.pi-chart-pie:before{content:""}.pi-reddit:before{content:""}.pi-code:before{content:""}.pi-sync:before{content:""}.pi-shopping-bag:before{content:""}.pi-server:before{content:""}.pi-database:before{content:""}.pi-hashtag:before{content:""}.pi-bookmark-fill:before{content:""}.pi-filter-fill:before{content:""}.pi-heart-fill:before{content:""}.pi-flag-fill:before{content:""}.pi-circle:before{content:""}.pi-circle-fill:before{content:""}.pi-bolt:before{content:""}.pi-history:before{content:""}.pi-box:before{content:""}.pi-at:before{content:""}.pi-arrow-up-right:before{content:""}.pi-arrow-up-left:before{content:""}.pi-arrow-down-left:before{content:""}.pi-arrow-down-right:before{content:""}.pi-telegram:before{content:""}.pi-stop-circle:before{content:""}.pi-stop:before{content:""}.pi-whatsapp:before{content:""}.pi-building:before{content:""}.pi-qrcode:before{content:""}.pi-car:before{content:""}.pi-instagram:before{content:""}.pi-linkedin:before{content:""}.pi-send:before{content:""}.pi-slack:before{content:""}.pi-sun:before{content:""}.pi-moon:before{content:""}.pi-vimeo:before{content:""}.pi-youtube:before{content:""}.pi-flag:before{content:""}.pi-wallet:before{content:""}.pi-map:before{content:""}.pi-link:before{content:""}.pi-credit-card:before{content:""}.pi-discord:before{content:""}.pi-percentage:before{content:""}.pi-euro:before{content:""}.pi-book:before{content:""}.pi-shield:before{content:""}.pi-paypal:before{content:""}.pi-amazon:before{content:""}.pi-phone:before{content:""}.pi-filter-slash:before{content:""}.pi-facebook:before{content:""}.pi-github:before{content:""}.pi-twitter:before{content:""}.pi-step-backward-alt:before{content:""}.pi-step-forward-alt:before{content:""}.pi-forward:before{content:""}.pi-backward:before{content:""}.pi-fast-backward:before{content:""}.pi-fast-forward:before{content:""}.pi-pause:before{content:""}.pi-play:before{content:""}.pi-compass:before{content:""}.pi-id-card:before{content:""}.pi-ticket:before{content:""}.pi-file-o:before{content:""}.pi-reply:before{content:""}.pi-directions-alt:before{content:""}.pi-directions:before{content:""}.pi-thumbs-up:before{content:""}.pi-thumbs-down:before{content:""}.pi-sort-numeric-down-alt:before{content:""}.pi-sort-numeric-up-alt:before{content:""}.pi-sort-alpha-down-alt:before{content:""}.pi-sort-alpha-up-alt:before{content:""}.pi-sort-numeric-down:before{content:""}.pi-sort-numeric-up:before{content:""}.pi-sort-alpha-down:before{content:""}.pi-sort-alpha-up:before{content:""}.pi-sort-alt:before{content:""}.pi-sort-amount-up:before{content:""}.pi-sort-amount-down:before{content:""}.pi-sort-amount-down-alt:before{content:""}.pi-sort-amount-up-alt:before{content:""}.pi-palette:before{content:""}.pi-undo:before{content:""}.pi-desktop:before{content:""}.pi-sliders-v:before{content:""}.pi-sliders-h:before{content:""}.pi-search-plus:before{content:""}.pi-search-minus:before{content:""}.pi-file-excel:before{content:""}.pi-file-pdf:before{content:""}.pi-check-square:before{content:""}.pi-chart-line:before{content:""}.pi-user-edit:before{content:""}.pi-exclamation-circle:before{content:""}.pi-android:before{content:""}.pi-google:before{content:""}.pi-apple:before{content:""}.pi-microsoft:before{content:""}.pi-heart:before{content:""}.pi-mobile:before{content:""}.pi-tablet:before{content:""}.pi-key:before{content:""}.pi-shopping-cart:before{content:""}.pi-comments:before{content:""}.pi-comment:before{content:""}.pi-briefcase:before{content:""}.pi-bell:before{content:""}.pi-paperclip:before{content:""}.pi-share-alt:before{content:""}.pi-envelope:before{content:""}.pi-volume-down:before{content:""}.pi-volume-up:before{content:""}.pi-volume-off:before{content:""}.pi-eject:before{content:""}.pi-money-bill:before{content:""}.pi-images:before{content:""}.pi-image:before{content:""}.pi-sign-in:before{content:""}.pi-sign-out:before{content:""}.pi-wifi:before{content:""}.pi-sitemap:before{content:""}.pi-chart-bar:before{content:""}.pi-camera:before{content:""}.pi-dollar:before{content:""}.pi-lock-open:before{content:""}.pi-table:before{content:""}.pi-map-marker:before{content:""}.pi-list:before{content:""}.pi-eye-slash:before{content:""}.pi-eye:before{content:""}.pi-folder-open:before{content:""}.pi-folder:before{content:""}.pi-video:before{content:""}.pi-inbox:before{content:""}.pi-lock:before{content:""}.pi-unlock:before{content:""}.pi-tags:before{content:""}.pi-tag:before{content:""}.pi-power-off:before{content:""}.pi-save:before{content:""}.pi-question-circle:before{content:""}.pi-question:before{content:""}.pi-copy:before{content:""}.pi-file:before{content:""}.pi-clone:before{content:""}.pi-calendar-times:before{content:""}.pi-calendar-minus:before{content:""}.pi-calendar-plus:before{content:""}.pi-ellipsis-v:before{content:""}.pi-ellipsis-h:before{content:""}.pi-bookmark:before{content:""}.pi-globe:before{content:""}.pi-replay:before{content:""}.pi-filter:before{content:""}.pi-print:before{content:""}.pi-align-right:before{content:""}.pi-align-left:before{content:""}.pi-align-center:before{content:""}.pi-align-justify:before{content:""}.pi-cog:before{content:""}.pi-cloud-download:before{content:""}.pi-cloud-upload:before{content:""}.pi-cloud:before{content:""}.pi-pencil:before{content:""}.pi-users:before{content:""}.pi-clock:before{content:""}.pi-user-minus:before{content:""}.pi-user-plus:before{content:""}.pi-trash:before{content:""}.pi-external-link:before{content:""}.pi-window-maximize:before{content:""}.pi-window-minimize:before{content:""}.pi-refresh:before{content:""}.pi-user:before{content:""}.pi-exclamation-triangle:before{content:""}.pi-calendar:before{content:""}.pi-chevron-circle-left:before{content:""}.pi-chevron-circle-down:before{content:""}.pi-chevron-circle-right:before{content:""}.pi-chevron-circle-up:before{content:""}.pi-angle-double-down:before{content:""}.pi-angle-double-left:before{content:""}.pi-angle-double-right:before{content:""}.pi-angle-double-up:before{content:""}.pi-angle-down:before{content:""}.pi-angle-left:before{content:""}.pi-angle-right:before{content:""}.pi-angle-up:before{content:""}.pi-upload:before{content:""}.pi-download:before{content:""}.pi-ban:before{content:""}.pi-star-fill:before{content:""}.pi-star:before{content:""}.pi-chevron-left:before{content:""}.pi-chevron-right:before{content:""}.pi-chevron-down:before{content:""}.pi-chevron-up:before{content:""}.pi-caret-left:before{content:""}.pi-caret-right:before{content:""}.pi-caret-down:before{content:""}.pi-caret-up:before{content:""}.pi-search:before{content:""}.pi-check:before{content:""}.pi-check-circle:before{content:""}.pi-times:before{content:""}.pi-times-circle:before{content:""}.pi-plus:before{content:""}.pi-plus-circle:before{content:""}.pi-minus:before{content:""}.pi-minus-circle:before{content:""}.pi-circle-on:before{content:""}.pi-circle-off:before{content:""}.pi-sort-down:before{content:""}.pi-sort-up:before{content:""}.pi-sort:before{content:""}.pi-step-backward:before{content:""}.pi-step-forward:before{content:""}.pi-th-large:before{content:""}.pi-arrow-down:before{content:""}.pi-arrow-left:before{content:""}.pi-arrow-right:before{content:""}.pi-arrow-up:before{content:""}.pi-bars:before{content:""}.pi-arrow-circle-down:before{content:""}.pi-arrow-circle-left:before{content:""}.pi-arrow-circle-right:before{content:""}.pi-arrow-circle-up:before{content:""}.pi-info:before{content:""}.pi-info-circle:before{content:""}.pi-home:before{content:""}.pi-spinner:before{content:""} diff --git a/frontend/dist/assets/index-DsBrcYCq.js b/frontend/dist/assets/index-DsBrcYCq.js deleted file mode 100644 index 43be6d1..0000000 --- a/frontend/dist/assets/index-DsBrcYCq.js +++ /dev/null @@ -1,3542 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();/** -* @vue/shared v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Ya(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const xe={},_n=[],Kt=()=>{},Df=()=>!1,pi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),qa=e=>e.startsWith("onUpdate:"),Ge=Object.assign,Za=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ef=Object.prototype.hasOwnProperty,Ie=(e,t)=>Ef.call(e,t),de=Array.isArray,Yn=e=>hi(e)==="[object Map]",Hu=e=>hi(e)==="[object Set]",pe=e=>typeof e=="function",Ae=e=>typeof e=="string",tn=e=>typeof e=="symbol",Ee=e=>e!==null&&typeof e=="object",Ku=e=>(Ee(e)||pe(e))&&pe(e.then)&&pe(e.catch),Nu=Object.prototype.toString,hi=e=>Nu.call(e),Lf=e=>hi(e).slice(8,-1),Gu=e=>hi(e)==="[object Object]",Xa=e=>Ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Cr=Ya(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ff=/-(\w)/g,mt=gi(e=>e.replace(Ff,(t,n)=>n?n.toUpperCase():"")),Af=/\B([A-Z])/g,nn=gi(e=>e.replace(Af,"-$1").toLowerCase()),mi=gi(e=>e.charAt(0).toUpperCase()+e.slice(1)),No=gi(e=>e?`on${mi(e)}`:""),st=(e,t)=>!Object.is(e,t),ji=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},zf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},jf=e=>{const t=Ae(e)?Number(e):NaN;return isNaN(t)?e:t};let El;const bi=()=>El||(El=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function or(e){if(de(e)){const t={};for(let n=0;n{if(n){const r=n.split(Hf);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ie(e){let t="";if(Ae(e))t=e;else if(de(e))for(let n=0;n!!(e&&e.__v_isRef===!0),oe=e=>Ae(e)?e:e==null?"":de(e)||Ee(e)&&(e.toString===Nu||!pe(e.toString))?_u(e)?oe(e.value):JSON.stringify(e,Yu,2):String(e),Yu=(e,t)=>_u(t)?Yu(e,t.value):Yn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],o)=>(n[Vi(r,o)+" =>"]=i,n),{})}:Hu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Vi(n))}:tn(t)?Vi(t):Ee(t)&&!de(t)&&!Gu(t)?String(t):t,Vi=(e,t="")=>{var n;return tn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let pt;class Wf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=pt,!t&&pt&&(this.index=(pt.scopes||(pt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if($r){let t=$r;for($r=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Sr;){let t=Sr;for(Sr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Ju(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Qu(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),el(r),Yf(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function da(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ed(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ed(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Tr))return;e.globalVersion=Tr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!da(e)){e.flags&=-3;return}const n=De,r=Rt;De=e,Rt=!0;try{Ju(e);const i=e.fn(e._value);(t.version===0||st(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{De=n,Rt=r,Qu(e),e.flags&=-3}}function el(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)el(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Yf(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Rt=!0;const td=[];function mn(){td.push(Rt),Rt=!1}function bn(){const e=td.pop();Rt=e===void 0?!0:e}function Ll(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=De;De=void 0;try{t()}finally{De=n}}}let Tr=0;class qf{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class vi{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!De||!Rt||De===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==De)n=this.activeLink=new qf(De,this),De.deps?(n.prevDep=De.depsTail,De.depsTail.nextDep=n,De.depsTail=n):De.deps=De.depsTail=n,nd(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=De.depsTail,n.nextDep=void 0,De.depsTail.nextDep=n,De.depsTail=n,De.deps===n&&(De.deps=r)}return n}trigger(t){this.version++,Tr++,this.notify(t)}notify(t){Ja();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Qa()}}}function nd(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)nd(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ca=new WeakMap,Tn=Symbol(""),fa=Symbol(""),Br=Symbol("");function Je(e,t,n){if(Rt&&De){let r=ca.get(e);r||ca.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new vi),i.map=r,i.key=n),i.track()}}function qt(e,t,n,r,i,o){const a=ca.get(e);if(!a){Tr++;return}const l=s=>{s&&s.trigger()};if(Ja(),t==="clear")a.forEach(l);else{const s=de(e),d=s&&Xa(n);if(s&&n==="length"){const u=Number(r);a.forEach((c,f)=>{(f==="length"||f===Br||!tn(f)&&f>=u)&&l(c)})}else switch((n!==void 0||a.has(void 0))&&l(a.get(n)),d&&l(a.get(Br)),t){case"add":s?d&&l(a.get("length")):(l(a.get(Tn)),Yn(e)&&l(a.get(fa)));break;case"delete":s||(l(a.get(Tn)),Yn(e)&&l(a.get(fa)));break;case"set":Yn(e)&&l(a.get(Tn));break}}Qa()}function An(e){const t=$e(e);return t===e?t:(Je(t,"iterate",Br),$t(e)?t:t.map(Qe))}function yi(e){return Je(e=$e(e),"iterate",Br),e}const Zf={__proto__:null,[Symbol.iterator](){return Ki(this,Symbol.iterator,Qe)},concat(...e){return An(this).concat(...e.map(t=>de(t)?An(t):t))},entries(){return Ki(this,"entries",e=>(e[1]=Qe(e[1]),e))},every(e,t){return Gt(this,"every",e,t,void 0,arguments)},filter(e,t){return Gt(this,"filter",e,t,n=>n.map(Qe),arguments)},find(e,t){return Gt(this,"find",e,t,Qe,arguments)},findIndex(e,t){return Gt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Gt(this,"findLast",e,t,Qe,arguments)},findLastIndex(e,t){return Gt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Gt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ni(this,"includes",e)},indexOf(...e){return Ni(this,"indexOf",e)},join(e){return An(this).join(e)},lastIndexOf(...e){return Ni(this,"lastIndexOf",e)},map(e,t){return Gt(this,"map",e,t,void 0,arguments)},pop(){return fr(this,"pop")},push(...e){return fr(this,"push",e)},reduce(e,...t){return Fl(this,"reduce",e,t)},reduceRight(e,...t){return Fl(this,"reduceRight",e,t)},shift(){return fr(this,"shift")},some(e,t){return Gt(this,"some",e,t,void 0,arguments)},splice(...e){return fr(this,"splice",e)},toReversed(){return An(this).toReversed()},toSorted(e){return An(this).toSorted(e)},toSpliced(...e){return An(this).toSpliced(...e)},unshift(...e){return fr(this,"unshift",e)},values(){return Ki(this,"values",Qe)}};function Ki(e,t,n){const r=yi(e),i=r[t]();return r!==e&&!$t(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=n(o.value)),o}),i}const Xf=Array.prototype;function Gt(e,t,n,r,i,o){const a=yi(e),l=a!==e&&!$t(e),s=a[t];if(s!==Xf[t]){const c=s.apply(e,o);return l?Qe(c):c}let d=n;a!==e&&(l?d=function(c,f){return n.call(this,Qe(c),f,e)}:n.length>2&&(d=function(c,f){return n.call(this,c,f,e)}));const u=s.call(a,d,r);return l&&i?i(u):u}function Fl(e,t,n,r){const i=yi(e);let o=n;return i!==e&&($t(e)?n.length>3&&(o=function(a,l,s){return n.call(this,a,l,s,e)}):o=function(a,l,s){return n.call(this,a,Qe(l),s,e)}),i[t](o,...r)}function Ni(e,t,n){const r=$e(e);Je(r,"iterate",Br);const i=r[t](...n);return(i===-1||i===!1)&&ol(n[0])?(n[0]=$e(n[0]),r[t](...n)):i}function fr(e,t,n=[]){mn(),Ja();const r=$e(e)[t].apply(e,n);return Qa(),bn(),r}const Jf=Ya("__proto__,__v_isRef,__isVue"),rd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(tn));function Qf(e){tn(e)||(e=String(e));const t=$e(this);return Je(t,"has",e),t.hasOwnProperty(e)}class od{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?up:sd:o?ld:ad).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=de(t);if(!i){let s;if(a&&(s=Zf[n]))return s;if(n==="hasOwnProperty")return Qf}const l=Reflect.get(t,n,et(t)?t:r);return(tn(n)?rd.has(n):Jf(n))||(i||Je(t,"get",n),o)?l:et(l)?a&&Xa(n)?l:l.value:Ee(l)?i?nl(l):ko(l):l}}class id extends od{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(!this._isShallow){const s=Dn(o);if(!$t(r)&&!Dn(r)&&(o=$e(o),r=$e(r)),!de(t)&&et(o)&&!et(r))return s?!1:(o.value=r,!0)}const a=de(t)&&Xa(n)?Number(n)e,Bo=e=>Reflect.getPrototypeOf(e);function op(e,t,n){return function(...r){const i=this.__v_raw,o=$e(i),a=Yn(o),l=e==="entries"||e===Symbol.iterator&&a,s=e==="keys"&&a,d=i[e](...r),u=n?pa:t?ha:Qe;return!t&&Je(o,"iterate",s?fa:Tn),{next(){const{value:c,done:f}=d.next();return f?{value:c,done:f}:{value:l?[u(c[0]),u(c[1])]:u(c),done:f}},[Symbol.iterator](){return this}}}}function Mo(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ip(e,t){const n={get(i){const o=this.__v_raw,a=$e(o),l=$e(i);e||(st(i,l)&&Je(a,"get",i),Je(a,"get",l));const{has:s}=Bo(a),d=t?pa:e?ha:Qe;if(s.call(a,i))return d(o.get(i));if(s.call(a,l))return d(o.get(l));o!==a&&o.get(i)},get size(){const i=this.__v_raw;return!e&&Je($e(i),"iterate",Tn),Reflect.get(i,"size",i)},has(i){const o=this.__v_raw,a=$e(o),l=$e(i);return e||(st(i,l)&&Je(a,"has",i),Je(a,"has",l)),i===l?o.has(i):o.has(i)||o.has(l)},forEach(i,o){const a=this,l=a.__v_raw,s=$e(l),d=t?pa:e?ha:Qe;return!e&&Je(s,"iterate",Tn),l.forEach((u,c)=>i.call(o,d(u),d(c),a))}};return Ge(n,e?{add:Mo("add"),set:Mo("set"),delete:Mo("delete"),clear:Mo("clear")}:{add(i){!t&&!$t(i)&&!Dn(i)&&(i=$e(i));const o=$e(this);return Bo(o).has.call(o,i)||(o.add(i),qt(o,"add",i,i)),this},set(i,o){!t&&!$t(o)&&!Dn(o)&&(o=$e(o));const a=$e(this),{has:l,get:s}=Bo(a);let d=l.call(a,i);d||(i=$e(i),d=l.call(a,i));const u=s.call(a,i);return a.set(i,o),d?st(o,u)&&qt(a,"set",i,o):qt(a,"add",i,o),this},delete(i){const o=$e(this),{has:a,get:l}=Bo(o);let s=a.call(o,i);s||(i=$e(i),s=a.call(o,i)),l&&l.call(o,i);const d=o.delete(i);return s&&qt(o,"delete",i,void 0),d},clear(){const i=$e(this),o=i.size!==0,a=i.clear();return o&&qt(i,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=op(i,e,t)}),n}function tl(e,t){const n=ip(e,t);return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Ie(n,i)&&i in r?n:r,i,o)}const ap={get:tl(!1,!1)},lp={get:tl(!1,!0)},sp={get:tl(!0,!1)};const ad=new WeakMap,ld=new WeakMap,sd=new WeakMap,up=new WeakMap;function dp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cp(e){return e.__v_skip||!Object.isExtensible(e)?0:dp(Lf(e))}function ko(e){return Dn(e)?e:rl(e,!1,tp,ap,ad)}function fp(e){return rl(e,!1,rp,lp,ld)}function nl(e){return rl(e,!0,np,sp,sd)}function rl(e,t,n,r,i){if(!Ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const a=cp(e);if(a===0)return e;const l=new Proxy(e,a===2?r:n);return i.set(e,l),l}function qn(e){return Dn(e)?qn(e.__v_raw):!!(e&&e.__v_isReactive)}function Dn(e){return!!(e&&e.__v_isReadonly)}function $t(e){return!!(e&&e.__v_isShallow)}function ol(e){return e?!!e.__v_raw:!1}function $e(e){const t=e&&e.__v_raw;return t?$e(t):e}function pp(e){return!Ie(e,"__v_skip")&&Object.isExtensible(e)&&Uu(e,"__v_skip",!0),e}const Qe=e=>Ee(e)?ko(e):e,ha=e=>Ee(e)?nl(e):e;function et(e){return e?e.__v_isRef===!0:!1}function Zt(e){return hp(e,!1)}function hp(e,t){return et(e)?e:new gp(e,t)}class gp{constructor(t,n){this.dep=new vi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:$e(t),this._value=n?t:Qe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||$t(t)||Dn(t);t=r?t:$e(t),st(t,n)&&(this._rawValue=t,this._value=r?t:Qe(t),this.dep.trigger())}}function Be(e){return et(e)?e.value:e}const mp={get:(e,t,n)=>t==="__v_raw"?e:Be(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return et(i)&&!et(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function ud(e){return qn(e)?e:new Proxy(e,mp)}class bp{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new vi,{get:r,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function vp(e){return new bp(e)}class yp{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new vi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Tr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&De!==this)return Xu(this,!0),!0}get value(){const t=this.dep.track();return ed(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function wp(e,t,n=!1){let r,i;return pe(e)?r=e:(r=e.get,i=e.set),new yp(r,i,n)}const Do={},Xo=new WeakMap;let On;function kp(e,t=!1,n=On){if(n){let r=Xo.get(n);r||Xo.set(n,r=[]),r.push(e)}}function Cp(e,t,n=xe){const{immediate:r,deep:i,once:o,scheduler:a,augmentJob:l,call:s}=n,d=w=>i?w:$t(w)||i===!1||i===0?Xt(w,1):Xt(w);let u,c,f,p,m=!1,v=!1;if(et(e)?(c=()=>e.value,m=$t(e)):qn(e)?(c=()=>d(e),m=!0):de(e)?(v=!0,m=e.some(w=>qn(w)||$t(w)),c=()=>e.map(w=>{if(et(w))return w.value;if(qn(w))return d(w);if(pe(w))return s?s(w,2):w()})):pe(e)?t?c=s?()=>s(e,2):e:c=()=>{if(f){mn();try{f()}finally{bn()}}const w=On;On=u;try{return s?s(e,3,[p]):e(p)}finally{On=w}}:c=Kt,t&&i){const w=c,F=i===!0?1/0:i;c=()=>Xt(w(),F)}const C=_f(),S=()=>{u.stop(),C&&C.active&&Za(C.effects,u)};if(o&&t){const w=t;t=(...F)=>{w(...F),S()}}let x=v?new Array(e.length).fill(Do):Do;const T=w=>{if(!(!(u.flags&1)||!u.dirty&&!w))if(t){const F=u.run();if(i||m||(v?F.some((G,E)=>st(G,x[E])):st(F,x))){f&&f();const G=On;On=u;try{const E=[F,x===Do?void 0:v&&x[0]===Do?[]:x,p];s?s(t,3,E):t(...E),x=F}finally{On=G}}}else u.run()};return l&&l(T),u=new qu(c),u.scheduler=a?()=>a(T,!1):T,p=w=>kp(w,!1,u),f=u.onStop=()=>{const w=Xo.get(u);if(w){if(s)s(w,4);else for(const F of w)F();Xo.delete(u)}},t?r?T(!0):x=u.run():a?a(T.bind(null,!0),!0):u.run(),S.pause=u.pause.bind(u),S.resume=u.resume.bind(u),S.stop=S,S}function Xt(e,t=1/0,n){if(t<=0||!Ee(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,et(e))Xt(e.value,t,n);else if(de(e))for(let r=0;r{Xt(r,t,n)});else if(Gu(e)){for(const r in e)Xt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Xt(e[r],t,n)}return e}/** -* @vue/runtime-core v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Co(e,t,n,r){try{return r?e(...r):e()}catch(i){wi(i,t,n)}}function Tt(e,t,n,r){if(pe(e)){const i=Co(e,t,n,r);return i&&Ku(i)&&i.catch(o=>{wi(o,t,n)}),i}if(de(e)){const i=[];for(let o=0;o>>1,i=rt[r],o=Mr(i);o=Mr(n)?rt.push(e):rt.splice($p(t),0,e),e.flags|=1,fd()}}function fd(){Jo||(Jo=dd.then(hd))}function xp(e){de(e)?Zn.push(...e):ln&&e.id===-1?ln.splice(Vn+1,0,e):e.flags&1||(Zn.push(e),e.flags|=1),fd()}function Al(e,t,n=At+1){for(;nMr(n)-Mr(r));if(Zn.length=0,ln){ln.push(...t);return}for(ln=t,Vn=0;Vne.id==null?e.flags&2?-1:1/0:e.id;function hd(e){try{for(At=0;At{r._d&&Xl(-1);const o=Qo(t);let a;try{a=e(...i)}finally{Qo(o),r._d&&Xl(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Ze(e,t){if(_e===null)return e;const n=Oi(_e),r=e.dirs||(e.dirs=[]);for(let i=0;ie.__isTeleport,xr=e=>e&&(e.disabled||e.disabled===""),zl=e=>e&&(e.defer||e.defer===""),jl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Vl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ga=(e,t)=>{const n=e&&e.to;return Ae(n)?t?t(n):null:n},vd={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,a,l,s,d){const{mc:u,pc:c,pbc:f,o:{insert:p,querySelector:m,createText:v,createComment:C}}=d,S=xr(t.props);let{shapeFlag:x,children:T,dynamicChildren:w}=t;if(e==null){const F=t.el=v(""),G=t.anchor=v("");p(F,n,r),p(G,n,r);const E=(z,J)=>{x&16&&(i&&i.isCE&&(i.ce._teleportTarget=z),u(T,z,J,i,o,a,l,s))},K=()=>{const z=t.target=ga(t.props,m),J=yd(z,t,v,p);z&&(a!=="svg"&&jl(z)?a="svg":a!=="mathml"&&Vl(z)&&(a="mathml"),S||(E(z,J),Go(t,!1)))};S&&(E(n,G),Go(t,!0)),zl(t.props)?nt(()=>{K(),t.el.__isMounted=!0},o):K()}else{if(zl(t.props)&&!e.el.__isMounted){nt(()=>{vd.process(e,t,n,r,i,o,a,l,s,d),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const F=t.anchor=e.anchor,G=t.target=e.target,E=t.targetAnchor=e.targetAnchor,K=xr(e.props),z=K?n:G,J=K?F:E;if(a==="svg"||jl(G)?a="svg":(a==="mathml"||Vl(G))&&(a="mathml"),w?(f(e.dynamicChildren,w,z,i,o,a,l),ul(e,t,!0)):s||c(e,t,z,J,i,o,a,l,!1),S)K?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Eo(t,n,F,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=ga(t.props,m);N&&Eo(t,N,null,d,0)}else K&&Eo(t,G,E,d,1);Go(t,S)}},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:a,children:l,anchor:s,targetStart:d,targetAnchor:u,target:c,props:f}=e;if(c&&(i(d),i(u)),o&&i(s),a&16){const p=o||!xr(f);for(let m=0;m{e.isMounted=!0}),Id(()=>{e.isUnmounting=!0}),e}const yt=[Function,Array],wd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:yt,onEnter:yt,onAfterEnter:yt,onEnterCancelled:yt,onBeforeLeave:yt,onLeave:yt,onAfterLeave:yt,onLeaveCancelled:yt,onBeforeAppear:yt,onAppear:yt,onAfterAppear:yt,onAppearCancelled:yt},kd=e=>{const t=e.subTree;return t.component?kd(t.component):t},Rp={name:"BaseTransition",props:wd,setup(e,{slots:t}){const n=$o(),r=Pp();return()=>{const i=t.default&&$d(t.default(),!0);if(!i||!i.length)return;const o=Cd(i),a=$e(e),{mode:l}=a;if(r.isLeaving)return Gi(o);const s=Hl(o);if(!s)return Gi(o);let d=ma(s,a,r,n,c=>d=c);s.type!==ot&&Dr(s,d);let u=n.subTree&&Hl(n.subTree);if(u&&u.type!==ot&&!In(s,u)&&kd(n).type!==ot){let c=ma(u,a,r,n);if(Dr(u,c),l==="out-in"&&s.type!==ot)return r.isLeaving=!0,c.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete c.afterLeave,u=void 0},Gi(o);l==="in-out"&&s.type!==ot?c.delayLeave=(f,p,m)=>{const v=Sd(r,u);v[String(u.key)]=u,f[sn]=()=>{p(),f[sn]=void 0,delete d.delayedLeave,u=void 0},d.delayedLeave=()=>{m(),delete d.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function Cd(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ot){t=n;break}}return t}const Tp=Rp;function Sd(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ma(e,t,n,r,i){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:s,onEnter:d,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:f,onLeave:p,onAfterLeave:m,onLeaveCancelled:v,onBeforeAppear:C,onAppear:S,onAfterAppear:x,onAppearCancelled:T}=t,w=String(e.key),F=Sd(n,e),G=(z,J)=>{z&&Tt(z,r,9,J)},E=(z,J)=>{const N=J[1];G(z,J),de(z)?z.every(H=>H.length<=1)&&N():z.length<=1&&N()},K={mode:a,persisted:l,beforeEnter(z){let J=s;if(!n.isMounted)if(o)J=C||s;else return;z[sn]&&z[sn](!0);const N=F[w];N&&In(e,N)&&N.el[sn]&&N.el[sn](),G(J,[z])},enter(z){let J=d,N=u,H=c;if(!n.isMounted)if(o)J=S||d,N=x||u,H=T||c;else return;let le=!1;const fe=z[Lo]=ye=>{le||(le=!0,ye?G(H,[z]):G(N,[z]),K.delayedLeave&&K.delayedLeave(),z[Lo]=void 0)};J?E(J,[z,fe]):fe()},leave(z,J){const N=String(e.key);if(z[Lo]&&z[Lo](!0),n.isUnmounting)return J();G(f,[z]);let H=!1;const le=z[sn]=fe=>{H||(H=!0,J(),fe?G(v,[z]):G(m,[z]),z[sn]=void 0,F[N]===e&&delete F[N])};F[N]=e,p?E(p,[z,le]):le()},clone(z){const J=ma(z,t,n,r,i);return i&&i(J),J}};return K}function Gi(e){if(Ci(e))return e=hn(e),e.children=null,e}function Hl(e){if(!Ci(e))return bd(e.type)&&e.children?Cd(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&pe(n.default))return n.default()}}function Dr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Dr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function $d(e,t=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;oei(m,t&&(de(t)?t[v]:t),n,r,i));return}if(Xn(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&ei(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Oi(r.component):r.el,a=i?null:o,{i:l,r:s}=e,d=t&&t.r,u=l.refs===xe?l.refs={}:l.refs,c=l.setupState,f=$e(c),p=c===xe?()=>!1:m=>Ie(f,m);if(d!=null&&d!==s&&(Ae(d)?(u[d]=null,p(d)&&(c[d]=null)):et(d)&&(d.value=null)),pe(s))Co(s,l,12,[a,u]);else{const m=Ae(s),v=et(s);if(m||v){const C=()=>{if(e.f){const S=m?p(s)?c[s]:u[s]:s.value;i?de(S)&&Za(S,o):de(S)?S.includes(o)||S.push(o):m?(u[s]=[o],p(s)&&(c[s]=u[s])):(s.value=[o],e.k&&(u[e.k]=s.value))}else m?(u[s]=a,p(s)&&(c[s]=a)):v&&(s.value=a,e.k&&(u[e.k]=a))};a?(C.id=-1,nt(C,n)):C()}}}bi().requestIdleCallback;bi().cancelIdleCallback;const Xn=e=>!!e.type.__asyncLoader,Ci=e=>e.type.__isKeepAlive;function Mp(e,t){Od(e,"a",t)}function Dp(e,t){Od(e,"da",t)}function Od(e,t,n=Xe){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Si(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Ci(i.parent.vnode)&&Ep(r,t,n,i),i=i.parent}}function Ep(e,t,n,r){const i=Si(t,e,r,!0);Pd(()=>{Za(r[t],i)},n)}function Si(e,t,n=Xe,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{mn();const l=xo(n),s=Tt(t,n,e,a);return l(),bn(),s});return r?i.unshift(o):i.push(o),o}}const rn=e=>(t,n=Xe)=>{(!Fr||e==="sp")&&Si(e,(...r)=>t(...r),n)},Lp=rn("bm"),So=rn("m"),Fp=rn("bu"),Ap=rn("u"),Id=rn("bum"),Pd=rn("um"),zp=rn("sp"),jp=rn("rtg"),Vp=rn("rtc");function Hp(e,t=Xe){Si("ec",e,t)}const al="components",Kp="directives";function q(e,t){return ll(al,e,!0,t)||e}const Rd=Symbol.for("v-ndc");function ee(e){return Ae(e)?ll(al,e,!1)||e:e||Rd}function xt(e){return ll(Kp,e)}function ll(e,t,n=!0,r=!1){const i=_e||Xe;if(i){const o=i.type;if(e===al){const l=Rh(o,!1);if(l&&(l===t||l===mt(t)||l===mi(mt(t))))return o}const a=Kl(i[e]||o[e],t)||Kl(i.appContext[e],t);return!a&&r?o:a}}function Kl(e,t){return e&&(e[t]||e[mt(t)]||e[mi(mt(t))])}function Oe(e,t,n,r){let i;const o=n,a=de(e);if(a||Ae(e)){const l=a&&qn(e);let s=!1;l&&(s=!$t(e),e=yi(e)),i=new Array(e.length);for(let d=0,u=e.length;dt(l,s,void 0,o));else{const l=Object.keys(e);i=new Array(l.length);for(let s=0,d=l.length;s{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function D(e,t,n={},r,i){if(_e.ce||_e.parent&&Xn(_e.parent)&&_e.parent.ce)return t!=="default"&&(n.name=t),h(),$(Z,null,[ne("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),h();const a=o&&Td(o(n)),l=n.key||a&&a.key,s=$(Z,{key:(l&&!tn(l)?l:`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function Td(e){return e.some(t=>Lr(t)?!(t.type===ot||t.type===Z&&!Td(t.children)):!0)?e:null}function Fo(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:No(r)]=e[r];return n}const ba=e=>e?Zd(e)?Oi(e):ba(e.parent):null,Or=Ge(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ba(e.parent),$root:e=>ba(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Md(e),$forceUpdate:e=>e.f||(e.f=()=>{il(e.update)}),$nextTick:e=>e.n||(e.n=cd.bind(e.proxy)),$watch:e=>ph.bind(e)}),Ui=(e,t)=>e!==xe&&!e.__isScriptSetup&&Ie(e,t),Np={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:a,type:l,appContext:s}=e;let d;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Ui(r,t))return a[t]=1,r[t];if(i!==xe&&Ie(i,t))return a[t]=2,i[t];if((d=e.propsOptions[0])&&Ie(d,t))return a[t]=3,o[t];if(n!==xe&&Ie(n,t))return a[t]=4,n[t];va&&(a[t]=0)}}const u=Or[t];let c,f;if(u)return t==="$attrs"&&Je(e.attrs,"get",""),u(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==xe&&Ie(n,t))return a[t]=4,n[t];if(f=s.config.globalProperties,Ie(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return Ui(i,t)?(i[t]=n,!0):r!==xe&&Ie(r,t)?(r[t]=n,!0):Ie(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},a){let l;return!!n[a]||e!==xe&&Ie(e,a)||Ui(t,a)||(l=o[0])&&Ie(l,a)||Ie(r,a)||Ie(Or,a)||Ie(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ie(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Gp(){return Up().slots}function Up(){const e=$o();return e.setupContext||(e.setupContext=Jd(e))}function ti(e){return de(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Nl(e,t){return!e||!t?e||t:de(e)&&de(t)?e.concat(t):Ge({},ti(e),ti(t))}let va=!0;function Wp(e){const t=Md(e),n=e.proxy,r=e.ctx;va=!1,t.beforeCreate&&Gl(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:a,watch:l,provide:s,inject:d,created:u,beforeMount:c,mounted:f,beforeUpdate:p,updated:m,activated:v,deactivated:C,beforeDestroy:S,beforeUnmount:x,destroyed:T,unmounted:w,render:F,renderTracked:G,renderTriggered:E,errorCaptured:K,serverPrefetch:z,expose:J,inheritAttrs:N,components:H,directives:le,filters:fe}=t;if(d&&_p(d,r,null),a)for(const O in a){const R=a[O];pe(R)&&(r[O]=R.bind(n))}if(i){const O=i.call(n,n);Ee(O)&&(e.data=ko(O))}if(va=!0,o)for(const O in o){const R=o[O],Q=pe(R)?R.bind(n,n):pe(R.get)?R.get.bind(n,n):Kt,re=!pe(R)&&pe(R.set)?R.set.bind(n):Kt,te=Qd({get:Q,set:re});Object.defineProperty(r,O,{enumerable:!0,configurable:!0,get:()=>te.value,set:be=>te.value=be})}if(l)for(const O in l)Bd(l[O],r,n,O);if(s){const O=pe(s)?s.call(n):s;Reflect.ownKeys(O).forEach(R=>{Qp(R,O[R])})}u&&Gl(u,e,"c");function M(O,R){de(R)?R.forEach(Q=>O(Q.bind(n))):R&&O(R.bind(n))}if(M(Lp,c),M(So,f),M(Fp,p),M(Ap,m),M(Mp,v),M(Dp,C),M(Hp,K),M(Vp,G),M(jp,E),M(Id,x),M(Pd,w),M(zp,z),de(J))if(J.length){const O=e.exposed||(e.exposed={});J.forEach(R=>{Object.defineProperty(O,R,{get:()=>n[R],set:Q=>n[R]=Q})})}else e.exposed||(e.exposed={});F&&e.render===Kt&&(e.render=F),N!=null&&(e.inheritAttrs=N),H&&(e.components=H),le&&(e.directives=le),z&&xd(e)}function _p(e,t,n=Kt){de(e)&&(e=ya(e));for(const r in e){const i=e[r];let o;Ee(i)?"default"in i?o=Uo(i.from||r,i.default,!0):o=Uo(i.from||r):o=Uo(i),et(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function Gl(e,t,n){Tt(de(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Bd(e,t,n,r){let i=r.includes(".")?Gd(n,r):()=>n[r];if(Ae(e)){const o=t[e];pe(o)&&Ct(i,o)}else if(pe(e))Ct(i,e.bind(n));else if(Ee(e))if(de(e))e.forEach(o=>Bd(o,t,n,r));else{const o=pe(e.handler)?e.handler.bind(n):t[e.handler];pe(o)&&Ct(i,o,e)}}function Md(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,l=o.get(t);let s;return l?s=l:!i.length&&!n&&!r?s=t:(s={},i.length&&i.forEach(d=>ni(s,d,a,!0)),ni(s,t,a)),Ee(t)&&o.set(t,s),s}function ni(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&ni(e,o,n,!0),i&&i.forEach(a=>ni(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const l=Yp[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const Yp={data:Ul,props:Wl,emits:Wl,methods:vr,computed:vr,beforeCreate:tt,created:tt,beforeMount:tt,mounted:tt,beforeUpdate:tt,updated:tt,beforeDestroy:tt,beforeUnmount:tt,destroyed:tt,unmounted:tt,activated:tt,deactivated:tt,errorCaptured:tt,serverPrefetch:tt,components:vr,directives:vr,watch:Zp,provide:Ul,inject:qp};function Ul(e,t){return t?e?function(){return Ge(pe(e)?e.call(this,this):e,pe(t)?t.call(this,this):t)}:t:e}function qp(e,t){return vr(ya(e),ya(t))}function ya(e){if(de(e)){const t={};for(let n=0;n1)return n&&pe(t)?t.call(r&&r.proxy):t}}const Ed={},Ld=()=>Object.create(Ed),Fd=e=>Object.getPrototypeOf(e)===Ed;function eh(e,t,n,r=!1){const i={},o=Ld();e.propsDefaults=Object.create(null),Ad(e,t,i,o);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:fp(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function th(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:a}}=e,l=$e(i),[s]=e.propsOptions;let d=!1;if((r||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let c=0;c{s=!0;const[f,p]=zd(c,t,!0);Ge(a,f),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!s)return Ee(e)&&r.set(e,_n),_n;if(de(o))for(let u=0;ue[0]==="_"||e==="$stable",sl=e=>de(e)?e.map(zt):[zt(e)],rh=(e,t,n)=>{if(t._n)return t;const r=_((...i)=>sl(t(...i)),n);return r._c=!1,r},Vd=(e,t,n)=>{const r=e._ctx;for(const i in e){if(jd(i))continue;const o=e[i];if(pe(o))t[i]=rh(i,o,r);else if(o!=null){const a=sl(o);t[i]=()=>a}}},Hd=(e,t)=>{const n=sl(t);e.slots.default=()=>n},Kd=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},oh=(e,t,n)=>{const r=e.slots=Ld();if(e.vnode.shapeFlag&32){const i=t._;i?(Kd(r,t,n),n&&Uu(r,"_",i,!0)):Vd(t,r)}else t&&Hd(e,t)},ih=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,a=xe;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Kd(i,t,n):(o=!t.$stable,Vd(t,i)),a=t}else t&&(Hd(e,t),a={default:1});if(o)for(const l in i)!jd(l)&&a[l]==null&&delete i[l]},nt=yh;function ah(e){return lh(e)}function lh(e,t){const n=bi();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:a,createText:l,createComment:s,setText:d,setElementText:u,parentNode:c,nextSibling:f,setScopeId:p=Kt,insertStaticContent:m}=e,v=(y,k,I,j=null,L=null,A=null,Y=void 0,W=null,U=!!k.dynamicChildren)=>{if(y===k)return;y&&!In(y,k)&&(j=at(y),be(y,L,A,!0),y=null),k.patchFlag===-2&&(U=!1,k.dynamicChildren=null);const{type:V,ref:se,shapeFlag:X}=k;switch(V){case xi:C(y,k,I,j);break;case ot:S(y,k,I,j);break;case Yi:y==null&&x(k,I,j,Y);break;case Z:H(y,k,I,j,L,A,Y,W,U);break;default:X&1?F(y,k,I,j,L,A,Y,W,U):X&6?le(y,k,I,j,L,A,Y,W,U):(X&64||X&128)&&V.process(y,k,I,j,L,A,Y,W,U,wn)}se!=null&&L&&ei(se,y&&y.ref,A,k||y,!k)},C=(y,k,I,j)=>{if(y==null)r(k.el=l(k.children),I,j);else{const L=k.el=y.el;k.children!==y.children&&d(L,k.children)}},S=(y,k,I,j)=>{y==null?r(k.el=s(k.children||""),I,j):k.el=y.el},x=(y,k,I,j)=>{[y.el,y.anchor]=m(y.children,k,I,j,y.el,y.anchor)},T=({el:y,anchor:k},I,j)=>{let L;for(;y&&y!==k;)L=f(y),r(y,I,j),y=L;r(k,I,j)},w=({el:y,anchor:k})=>{let I;for(;y&&y!==k;)I=f(y),i(y),y=I;i(k)},F=(y,k,I,j,L,A,Y,W,U)=>{k.type==="svg"?Y="svg":k.type==="math"&&(Y="mathml"),y==null?G(k,I,j,L,A,Y,W,U):z(y,k,L,A,Y,W,U)},G=(y,k,I,j,L,A,Y,W)=>{let U,V;const{props:se,shapeFlag:X,transition:ae,dirs:ce}=y;if(U=y.el=a(y.type,A,se&&se.is,se),X&8?u(U,y.children):X&16&&K(y.children,U,null,j,L,Wi(y,A),Y,W),ce&&kn(y,null,j,"created"),E(U,y,y.scopeId,Y,j),se){for(const Me in se)Me!=="value"&&!Cr(Me)&&o(U,Me,null,se[Me],A,j);"value"in se&&o(U,"value",null,se.value,A),(V=se.onVnodeBeforeMount)&&Lt(V,j,y)}ce&&kn(y,null,j,"beforeMount");const we=sh(L,ae);we&&ae.beforeEnter(U),r(U,k,I),((V=se&&se.onVnodeMounted)||we||ce)&&nt(()=>{V&&Lt(V,j,y),we&&ae.enter(U),ce&&kn(y,null,j,"mounted")},L)},E=(y,k,I,j,L)=>{if(I&&p(y,I),j)for(let A=0;A{for(let V=U;V{const W=k.el=y.el;let{patchFlag:U,dynamicChildren:V,dirs:se}=k;U|=y.patchFlag&16;const X=y.props||xe,ae=k.props||xe;let ce;if(I&&Cn(I,!1),(ce=ae.onVnodeBeforeUpdate)&&Lt(ce,I,k,y),se&&kn(k,y,I,"beforeUpdate"),I&&Cn(I,!0),(X.innerHTML&&ae.innerHTML==null||X.textContent&&ae.textContent==null)&&u(W,""),V?J(y.dynamicChildren,V,W,I,j,Wi(k,L),A):Y||R(y,k,W,null,I,j,Wi(k,L),A,!1),U>0){if(U&16)N(W,X,ae,I,L);else if(U&2&&X.class!==ae.class&&o(W,"class",null,ae.class,L),U&4&&o(W,"style",X.style,ae.style,L),U&8){const we=k.dynamicProps;for(let Me=0;Me{ce&&Lt(ce,I,k,y),se&&kn(k,y,I,"updated")},j)},J=(y,k,I,j,L,A,Y)=>{for(let W=0;W{if(k!==I){if(k!==xe)for(const A in k)!Cr(A)&&!(A in I)&&o(y,A,k[A],null,L,j);for(const A in I){if(Cr(A))continue;const Y=I[A],W=k[A];Y!==W&&A!=="value"&&o(y,A,W,Y,L,j)}"value"in I&&o(y,"value",k.value,I.value,L)}},H=(y,k,I,j,L,A,Y,W,U)=>{const V=k.el=y?y.el:l(""),se=k.anchor=y?y.anchor:l("");let{patchFlag:X,dynamicChildren:ae,slotScopeIds:ce}=k;ce&&(W=W?W.concat(ce):ce),y==null?(r(V,I,j),r(se,I,j),K(k.children||[],I,se,L,A,Y,W,U)):X>0&&X&64&&ae&&y.dynamicChildren?(J(y.dynamicChildren,ae,I,L,A,Y,W),(k.key!=null||L&&k===L.subTree)&&ul(y,k,!0)):R(y,k,I,se,L,A,Y,W,U)},le=(y,k,I,j,L,A,Y,W,U)=>{k.slotScopeIds=W,y==null?k.shapeFlag&512?L.ctx.activate(k,I,j,Y,U):fe(k,I,j,L,A,Y,U):ye(y,k,U)},fe=(y,k,I,j,L,A,Y)=>{const W=y.component=xh(y,j,L);if(Ci(y)&&(W.ctx.renderer=wn),Oh(W,!1,Y),W.asyncDep){if(L&&L.registerDep(W,M,Y),!y.el){const U=W.subTree=ne(ot);S(null,U,k,I)}}else M(W,y,k,I,L,A,Y)},ye=(y,k,I)=>{const j=k.component=y.component;if(bh(y,k,I))if(j.asyncDep&&!j.asyncResolved){O(j,k,I);return}else j.next=k,j.update();else k.el=y.el,j.vnode=k},M=(y,k,I,j,L,A,Y)=>{const W=()=>{if(y.isMounted){let{next:X,bu:ae,u:ce,parent:we,vnode:Me}=y;{const Dt=Nd(y);if(Dt){X&&(X.el=Me.el,O(y,X,Y)),Dt.asyncDep.then(()=>{y.isUnmounted||W()});return}}let Pe=X,dt;Cn(y,!1),X?(X.el=Me.el,O(y,X,Y)):X=Me,ae&&ji(ae),(dt=X.props&&X.props.onVnodeBeforeUpdate)&&Lt(dt,we,X,Me),Cn(y,!0);const lt=ql(y),Mt=y.subTree;y.subTree=lt,v(Mt,lt,c(Mt.el),at(Mt),y,L,A),X.el=lt.el,Pe===null&&vh(y,lt.el),ce&&nt(ce,L),(dt=X.props&&X.props.onVnodeUpdated)&&nt(()=>Lt(dt,we,X,Me),L)}else{let X;const{el:ae,props:ce}=k,{bm:we,m:Me,parent:Pe,root:dt,type:lt}=y,Mt=Xn(k);Cn(y,!1),we&&ji(we),!Mt&&(X=ce&&ce.onVnodeBeforeMount)&&Lt(X,Pe,k),Cn(y,!0);{dt.ce&&dt.ce._injectChildStyle(lt);const Dt=y.subTree=ql(y);v(null,Dt,I,j,y,L,A),k.el=Dt.el}if(Me&&nt(Me,L),!Mt&&(X=ce&&ce.onVnodeMounted)){const Dt=k;nt(()=>Lt(X,Pe,Dt),L)}(k.shapeFlag&256||Pe&&Xn(Pe.vnode)&&Pe.vnode.shapeFlag&256)&&y.a&&nt(y.a,L),y.isMounted=!0,k=I=j=null}};y.scope.on();const U=y.effect=new qu(W);y.scope.off();const V=y.update=U.run.bind(U),se=y.job=U.runIfDirty.bind(U);se.i=y,se.id=y.uid,U.scheduler=()=>il(se),Cn(y,!0),V()},O=(y,k,I)=>{k.component=y;const j=y.vnode.props;y.vnode=k,y.next=null,th(y,k.props,j,I),ih(y,k.children,I),mn(),Al(y),bn()},R=(y,k,I,j,L,A,Y,W,U=!1)=>{const V=y&&y.children,se=y?y.shapeFlag:0,X=k.children,{patchFlag:ae,shapeFlag:ce}=k;if(ae>0){if(ae&128){re(V,X,I,j,L,A,Y,W,U);return}else if(ae&256){Q(V,X,I,j,L,A,Y,W,U);return}}ce&8?(se&16&&Ye(V,L,A),X!==V&&u(I,X)):se&16?ce&16?re(V,X,I,j,L,A,Y,W,U):Ye(V,L,A,!0):(se&8&&u(I,""),ce&16&&K(X,I,j,L,A,Y,W,U))},Q=(y,k,I,j,L,A,Y,W,U)=>{y=y||_n,k=k||_n;const V=y.length,se=k.length,X=Math.min(V,se);let ae;for(ae=0;aese?Ye(y,L,A,!0,!1,X):K(k,I,j,L,A,Y,W,U,X)},re=(y,k,I,j,L,A,Y,W,U)=>{let V=0;const se=k.length;let X=y.length-1,ae=se-1;for(;V<=X&&V<=ae;){const ce=y[V],we=k[V]=U?un(k[V]):zt(k[V]);if(In(ce,we))v(ce,we,I,null,L,A,Y,W,U);else break;V++}for(;V<=X&&V<=ae;){const ce=y[X],we=k[ae]=U?un(k[ae]):zt(k[ae]);if(In(ce,we))v(ce,we,I,null,L,A,Y,W,U);else break;X--,ae--}if(V>X){if(V<=ae){const ce=ae+1,we=ceae)for(;V<=X;)be(y[V],L,A,!0),V++;else{const ce=V,we=V,Me=new Map;for(V=we;V<=ae;V++){const ct=k[V]=U?un(k[V]):zt(k[V]);ct.key!=null&&Me.set(ct.key,V)}let Pe,dt=0;const lt=ae-we+1;let Mt=!1,Dt=0;const cr=new Array(lt);for(V=0;V=lt){be(ct,L,A,!0);continue}let Et;if(ct.key!=null)Et=Me.get(ct.key);else for(Pe=we;Pe<=ae;Pe++)if(cr[Pe-we]===0&&In(ct,k[Pe])){Et=Pe;break}Et===void 0?be(ct,L,A,!0):(cr[Et-we]=V+1,Et>=Dt?Dt=Et:Mt=!0,v(ct,k[Et],I,null,L,A,Y,W,U),dt++)}const Ml=Mt?uh(cr):_n;for(Pe=Ml.length-1,V=lt-1;V>=0;V--){const ct=we+V,Et=k[ct],Dl=ct+1{const{el:A,type:Y,transition:W,children:U,shapeFlag:V}=y;if(V&6){te(y.component.subTree,k,I,j);return}if(V&128){y.suspense.move(k,I,j);return}if(V&64){Y.move(y,k,I,wn);return}if(Y===Z){r(A,k,I);for(let X=0;XW.enter(A),L);else{const{leave:X,delayLeave:ae,afterLeave:ce}=W,we=()=>r(A,k,I),Me=()=>{X(A,()=>{we(),ce&&ce()})};ae?ae(A,we,Me):Me()}else r(A,k,I)},be=(y,k,I,j=!1,L=!1)=>{const{type:A,props:Y,ref:W,children:U,dynamicChildren:V,shapeFlag:se,patchFlag:X,dirs:ae,cacheIndex:ce}=y;if(X===-2&&(L=!1),W!=null&&ei(W,null,I,y,!0),ce!=null&&(k.renderCache[ce]=void 0),se&256){k.ctx.deactivate(y);return}const we=se&1&&ae,Me=!Xn(y);let Pe;if(Me&&(Pe=Y&&Y.onVnodeBeforeUnmount)&&Lt(Pe,k,y),se&6)vt(y.component,I,j);else{if(se&128){y.suspense.unmount(I,j);return}we&&kn(y,null,k,"beforeUnmount"),se&64?y.type.remove(y,k,I,wn,j):V&&!V.hasOnce&&(A!==Z||X>0&&X&64)?Ye(V,k,I,!1,!0):(A===Z&&X&384||!L&&se&16)&&Ye(U,k,I),j&&ze(y)}(Me&&(Pe=Y&&Y.onVnodeUnmounted)||we)&&nt(()=>{Pe&&Lt(Pe,k,y),we&&kn(y,null,k,"unmounted")},I)},ze=y=>{const{type:k,el:I,anchor:j,transition:L}=y;if(k===Z){je(I,j);return}if(k===Yi){w(y);return}const A=()=>{i(I),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(y.shapeFlag&1&&L&&!L.persisted){const{leave:Y,delayLeave:W}=L,U=()=>Y(I,A);W?W(y.el,A,U):U()}else A()},je=(y,k)=>{let I;for(;y!==k;)I=f(y),i(y),y=I;i(k)},vt=(y,k,I)=>{const{bum:j,scope:L,job:A,subTree:Y,um:W,m:U,a:V}=y;Yl(U),Yl(V),j&&ji(j),L.stop(),A&&(A.flags|=8,be(Y,y,k,I)),W&&nt(W,k),nt(()=>{y.isUnmounted=!0},k),k&&k.pendingBranch&&!k.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===k.pendingId&&(k.deps--,k.deps===0&&k.resolve())},Ye=(y,k,I,j=!1,L=!1,A=0)=>{for(let Y=A;Y{if(y.shapeFlag&6)return at(y.component.subTree);if(y.shapeFlag&128)return y.suspense.next();const k=f(y.anchor||y.el),I=k&&k[md];return I?f(I):k};let dr=!1;const To=(y,k,I)=>{y==null?k._vnode&&be(k._vnode,null,null,!0):v(k._vnode||null,y,k,null,null,null,I),k._vnode=y,dr||(dr=!0,Al(),pd(),dr=!1)},wn={p:v,um:be,m:te,r:ze,mt:fe,mc:K,pc:R,pbc:J,n:at,o:e};return{render:To,hydrate:void 0,createApp:Jp(To)}}function Wi({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Cn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function sh(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ul(e,t,n=!1){const r=e.children,i=t.children;if(de(r)&&de(i))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function Nd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Nd(t)}function Yl(e){if(e)for(let t=0;tUo(dh);function fh(e,t){return dl(e,null,{flush:"sync"})}function Ct(e,t,n){return dl(e,t,n)}function dl(e,t,n=xe){const{immediate:r,deep:i,flush:o,once:a}=n,l=Ge({},n),s=t&&r||!t&&o!=="post";let d;if(Fr){if(o==="sync"){const p=ch();d=p.__watcherHandles||(p.__watcherHandles=[])}else if(!s){const p=()=>{};return p.stop=Kt,p.resume=Kt,p.pause=Kt,p}}const u=Xe;l.call=(p,m,v)=>Tt(p,u,m,v);let c=!1;o==="post"?l.scheduler=p=>{nt(p,u&&u.suspense)}:o!=="sync"&&(c=!0,l.scheduler=(p,m)=>{m?p():il(p)}),l.augmentJob=p=>{t&&(p.flags|=4),c&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const f=Cp(e,t,l);return Fr&&(d?d.push(f):s&&f()),f}function ph(e,t,n){const r=this.proxy,i=Ae(e)?e.includes(".")?Gd(r,e):()=>r[e]:e.bind(r,r);let o;pe(t)?o=t:(o=t.handler,n=t);const a=xo(this),l=dl(i,o.bind(r),n);return a(),l}function Gd(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{let u,c=xe,f;return fh(()=>{const p=e[i];st(u,p)&&(u=p,d())}),{get(){return s(),n.get?n.get(u):u},set(p){const m=n.set?n.set(p):p;if(!st(m,u)&&!(c!==xe&&st(p,c)))return;const v=r.vnode.props;v&&(t in v||i in v||o in v)&&(`onUpdate:${t}`in v||`onUpdate:${i}`in v||`onUpdate:${o}`in v)||(u=p,d()),r.emit(`update:${t}`,m),st(p,m)&&st(p,c)&&!st(m,f)&&d(),c=p,f=m}}});return l[Symbol.iterator]=()=>{let s=0;return{next(){return s<2?{value:s++?a||xe:l,done:!1}:{done:!0}}}},l}const Ud=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${mt(t)}Modifiers`]||e[`${nn(t)}Modifiers`];function hh(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||xe;let i=n;const o=t.startsWith("update:"),a=o&&Ud(r,t.slice(7));a&&(a.trim&&(i=n.map(u=>Ae(u)?u.trim():u)),a.number&&(i=n.map(zf)));let l,s=r[l=No(t)]||r[l=No(mt(t))];!s&&o&&(s=r[l=No(nn(t))]),s&&Tt(s,e,6,i);const d=r[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Tt(d,e,6,i)}}function Wd(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let a={},l=!1;if(!pe(e)){const s=d=>{const u=Wd(d,t,!0);u&&(l=!0,Ge(a,u))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!o&&!l?(Ee(e)&&r.set(e,null),null):(de(o)?o.forEach(s=>a[s]=null):Ge(a,o),Ee(e)&&r.set(e,a),a)}function $i(e,t){return!e||!pi(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ie(e,t[0].toLowerCase()+t.slice(1))||Ie(e,nn(t))||Ie(e,t))}function ql(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:a,attrs:l,emit:s,render:d,renderCache:u,props:c,data:f,setupState:p,ctx:m,inheritAttrs:v}=e,C=Qo(e);let S,x;try{if(n.shapeFlag&4){const w=i||r,F=w;S=zt(d.call(F,w,u,c,p,f,m)),x=l}else{const w=t;S=zt(w.length>1?w(c,{attrs:l,slots:a,emit:s}):w(c,null)),x=t.props?l:gh(l)}}catch(w){Ir.length=0,wi(w,e,1),S=ne(ot)}let T=S;if(x&&v!==!1){const w=Object.keys(x),{shapeFlag:F}=T;w.length&&F&7&&(o&&w.some(qa)&&(x=mh(x,o)),T=hn(T,x,!1,!0))}return n.dirs&&(T=hn(T,null,!1,!0),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&Dr(T,n.transition),S=T,Qo(C),S}const gh=e=>{let t;for(const n in e)(n==="class"||n==="style"||pi(n))&&((t||(t={}))[n]=e[n]);return t},mh=(e,t)=>{const n={};for(const r in e)(!qa(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function bh(e,t,n){const{props:r,children:i,component:o}=e,{props:a,children:l,patchFlag:s}=t,d=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&s>=0){if(s&1024)return!0;if(s&16)return r?Zl(r,a,d):!!a;if(s&8){const u=t.dynamicProps;for(let c=0;ce.__isSuspense;function yh(e,t){t&&t.pendingBranch?de(e)?t.effects.push(...e):t.effects.push(e):xp(e)}const Z=Symbol.for("v-fgt"),xi=Symbol.for("v-txt"),ot=Symbol.for("v-cmt"),Yi=Symbol.for("v-stc"),Ir=[];let gt=null;function h(e=!1){Ir.push(gt=e?null:[])}function wh(){Ir.pop(),gt=Ir[Ir.length-1]||null}let Er=1;function Xl(e,t=!1){Er+=e,e<0&>&&t&&(gt.hasOnce=!0)}function Yd(e){return e.dynamicChildren=Er>0?gt||_n:null,wh(),Er>0&>&>.push(e),e}function b(e,t,n,r,i,o){return Yd(B(e,t,n,r,i,o,!0))}function $(e,t,n,r,i){return Yd(ne(e,t,n,r,i,!0))}function Lr(e){return e?e.__v_isVNode===!0:!1}function In(e,t){return e.type===t.type&&e.key===t.key}const qd=({key:e})=>e??null,Wo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ae(e)||et(e)||pe(e)?{i:_e,r:e,k:t,f:!!n}:e:null);function B(e,t=null,n=null,r=0,i=null,o=e===Z?0:1,a=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qd(t),ref:t&&Wo(t),scopeId:gd,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:_e};return l?(cl(s,n),o&128&&e.normalize(s)):n&&(s.shapeFlag|=Ae(n)?8:16),Er>0&&!a&>&&(s.patchFlag>0||o&6)&&s.patchFlag!==32&>.push(s),s}const ne=kh;function kh(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===Rd)&&(e=ot),Lr(e)){const l=hn(e,t,!0);return n&&cl(l,n),Er>0&&!o&>&&(l.shapeFlag&6?gt[gt.indexOf(e)]=l:gt.push(l)),l.patchFlag=-2,l}if(Th(e)&&(e=e.__vccOpts),t){t=Ch(t);let{class:l,style:s}=t;l&&!Ae(l)&&(t.class=ie(l)),Ee(s)&&(ol(s)&&!de(s)&&(s=Ge({},s)),t.style=or(s))}const a=Ae(e)?1:_d(e)?128:bd(e)?64:Ee(e)?4:pe(e)?2:0;return B(e,t,n,r,i,a,o,!0)}function Ch(e){return e?ol(e)||Fd(e)?Ge({},e):e:null}function hn(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:a,children:l,transition:s}=e,d=t?g(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&qd(d),ref:t&&t.ref?n&&o?de(o)?o.concat(Wo(t)):[o,Wo(t)]:Wo(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Z?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&hn(e.ssContent),ssFallback:e.ssFallback&&hn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&r&&Dr(u,s.clone(u)),u}function Ke(e=" ",t=0){return ne(xi,null,e,t)}function P(e="",t=!1){return t?(h(),$(ot,null,e)):ne(ot,null,e)}function zt(e){return e==null||typeof e=="boolean"?ne(ot):de(e)?ne(Z,null,e.slice()):Lr(e)?un(e):ne(xi,null,String(e))}function un(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:hn(e)}function cl(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(de(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),cl(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Fd(t)?t._ctx=_e:i===3&&_e&&(_e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else pe(t)?(t={default:t,_ctx:_e},n=32):(t=String(t),r&64?(n=16,t=[Ke(t)]):n=8);e.children=t,e.shapeFlag|=n}function g(...e){const t={};for(let n=0;nXe||_e;let ri,ka;{const e=bi(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(a=>a(o)):i[0](o)}};ri=t("__VUE_INSTANCE_SETTERS__",n=>Xe=n),ka=t("__VUE_SSR_SETTERS__",n=>Fr=n)}const xo=e=>{const t=Xe;return ri(e),e.scope.on(),()=>{e.scope.off(),ri(t)}},Jl=()=>{Xe&&Xe.scope.off(),ri(null)};function Zd(e){return e.vnode.shapeFlag&4}let Fr=!1;function Oh(e,t=!1,n=!1){t&&ka(t);const{props:r,children:i}=e.vnode,o=Zd(e);eh(e,r,o,t),oh(e,i,n);const a=o?Ih(e,t):void 0;return t&&ka(!1),a}function Ih(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Np);const{setup:r}=n;if(r){mn();const i=e.setupContext=r.length>1?Jd(e):null,o=xo(e),a=Co(r,e,0,[e.props,i]),l=Ku(a);if(bn(),o(),(l||e.sp)&&!Xn(e)&&xd(e),l){if(a.then(Jl,Jl),t)return a.then(s=>{Ql(e,s)}).catch(s=>{wi(s,e,0)});e.asyncDep=a}else Ql(e,a)}else Xd(e)}function Ql(e,t,n){pe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ee(t)&&(e.setupState=ud(t)),Xd(e)}function Xd(e,t,n){const r=e.type;e.render||(e.render=r.render||Kt);{const i=xo(e);mn();try{Wp(e)}finally{bn(),i()}}}const Ph={get(e,t){return Je(e,"get",""),e[t]}};function Jd(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ph),slots:e.slots,emit:e.emit,expose:t}}function Oi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ud(pp(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Or)return Or[n](e)},has(t,n){return n in t||n in Or}})):e.proxy}function Rh(e,t=!0){return pe(e)?e.displayName||e.name:e.name||t&&e.__name}function Th(e){return pe(e)&&"__vccOpts"in e}const Qd=(e,t)=>wp(e,t,Fr);function Bh(e,t,n){const r=arguments.length;return r===2?Ee(t)&&!de(t)?Lr(t)?ne(e,null,[t]):ne(e,t):ne(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Lr(n)&&(n=[n]),ne(e,t,n))}const Mh="3.5.13";/** -* @vue/runtime-dom v3.5.13 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Ca;const es=typeof window<"u"&&window.trustedTypes;if(es)try{Ca=es.createPolicy("vue",{createHTML:e=>e})}catch{}const ec=Ca?e=>Ca.createHTML(e):e=>e,Dh="http://www.w3.org/2000/svg",Eh="http://www.w3.org/1998/Math/MathML",_t=typeof document<"u"?document:null,ts=_t&&_t.createElement("template"),Lh={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?_t.createElementNS(Dh,e):t==="mathml"?_t.createElementNS(Eh,e):n?_t.createElement(e,{is:n}):_t.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>_t.createTextNode(e),createComment:e=>_t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_t.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const a=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{ts.innerHTML=ec(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=ts.content;if(r==="svg"||r==="mathml"){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},on="transition",pr="animation",Ar=Symbol("_vtc"),tc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Fh=Ge({},wd,tc),Ah=e=>(e.displayName="Transition",e.props=Fh,e),Oo=Ah((e,{slots:t})=>Bh(Tp,zh(e),t)),Sn=(e,t=[])=>{de(e)?e.forEach(n=>n(...t)):e&&e(...t)},ns=e=>e?de(e)?e.some(t=>t.length>1):e.length>1:!1;function zh(e){const t={};for(const H in e)H in tc||(t[H]=e[H]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=o,appearActiveClass:d=a,appearToClass:u=l,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=jh(i),v=m&&m[0],C=m&&m[1],{onBeforeEnter:S,onEnter:x,onEnterCancelled:T,onLeave:w,onLeaveCancelled:F,onBeforeAppear:G=S,onAppear:E=x,onAppearCancelled:K=T}=t,z=(H,le,fe,ye)=>{H._enterCancelled=ye,$n(H,le?u:l),$n(H,le?d:a),fe&&fe()},J=(H,le)=>{H._isLeaving=!1,$n(H,c),$n(H,p),$n(H,f),le&&le()},N=H=>(le,fe)=>{const ye=H?E:x,M=()=>z(le,H,fe);Sn(ye,[le,M]),rs(()=>{$n(le,H?s:o),Ut(le,H?u:l),ns(ye)||os(le,r,v,M)})};return Ge(t,{onBeforeEnter(H){Sn(S,[H]),Ut(H,o),Ut(H,a)},onBeforeAppear(H){Sn(G,[H]),Ut(H,s),Ut(H,d)},onEnter:N(!1),onAppear:N(!0),onLeave(H,le){H._isLeaving=!0;const fe=()=>J(H,le);Ut(H,c),H._enterCancelled?(Ut(H,f),ls()):(ls(),Ut(H,f)),rs(()=>{H._isLeaving&&($n(H,c),Ut(H,p),ns(w)||os(H,r,C,fe))}),Sn(w,[H,fe])},onEnterCancelled(H){z(H,!1,void 0,!0),Sn(T,[H])},onAppearCancelled(H){z(H,!0,void 0,!0),Sn(K,[H])},onLeaveCancelled(H){J(H),Sn(F,[H])}})}function jh(e){if(e==null)return null;if(Ee(e))return[qi(e.enter),qi(e.leave)];{const t=qi(e);return[t,t]}}function qi(e){return jf(e)}function Ut(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ar]||(e[Ar]=new Set)).add(t)}function $n(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ar];n&&(n.delete(t),n.size||(e[Ar]=void 0))}function rs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Vh=0;function os(e,t,n,r){const i=e._endId=++Vh,o=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:s}=Hh(e,t);if(!a)return r();const d=a+"end";let u=0;const c=()=>{e.removeEventListener(d,f),o()},f=p=>{p.target===e&&++u>=s&&c()};setTimeout(()=>{u(n[m]||"").split(", "),i=r(`${on}Delay`),o=r(`${on}Duration`),a=is(i,o),l=r(`${pr}Delay`),s=r(`${pr}Duration`),d=is(l,s);let u=null,c=0,f=0;t===on?a>0&&(u=on,c=a,f=o.length):t===pr?d>0&&(u=pr,c=d,f=s.length):(c=Math.max(a,d),u=c>0?a>d?on:pr:null,f=u?u===on?o.length:s.length:0);const p=u===on&&/\b(transform|all)(,|$)/.test(r(`${on}Property`).toString());return{type:u,timeout:c,propCount:f,hasTransform:p}}function is(e,t){for(;e.lengthas(n)+as(e[r])))}function as(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ls(){return document.body.offsetHeight}function Kh(e,t,n){const r=e[Ar];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const oi=Symbol("_vod"),nc=Symbol("_vsh"),Sa={beforeMount(e,{value:t},{transition:n}){e[oi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):hr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),hr(e,!0),r.enter(e)):r.leave(e,()=>{hr(e,!1)}):hr(e,t))},beforeUnmount(e,{value:t}){hr(e,t)}};function hr(e,t){e.style.display=t?e[oi]:"none",e[nc]=!t}const Nh=Symbol(""),Gh=/(^|;)\s*display\s*:/;function Uh(e,t,n){const r=e.style,i=Ae(n);let o=!1;if(n&&!i){if(t)if(Ae(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&_o(r,l,"")}else for(const a in t)n[a]==null&&_o(r,a,"");for(const a in n)a==="display"&&(o=!0),_o(r,a,n[a])}else if(i){if(t!==n){const a=r[Nh];a&&(n+=";"+a),r.cssText=n,o=Gh.test(n)}}else t&&e.removeAttribute("style");oi in e&&(e[oi]=o?r.display:"",e[nc]&&(r.display="none"))}const ss=/\s*!important$/;function _o(e,t,n){if(de(n))n.forEach(r=>_o(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Wh(e,t);ss.test(n)?e.setProperty(nn(r),n.replace(ss,""),"important"):e[r]=n}}const us=["Webkit","Moz","ms"],Zi={};function Wh(e,t){const n=Zi[t];if(n)return n;let r=mt(t);if(r!=="filter"&&r in e)return Zi[t]=r;r=mi(r);for(let i=0;iXi||(Xh.then(()=>Xi=0),Xi=Date.now());function Qh(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Tt(eg(r,n.value),t,5,[r])};return n.value=e,n.attached=Jh(),n}function eg(e,t){if(de(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const gs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,tg=(e,t,n,r,i,o)=>{const a=i==="svg";t==="class"?Kh(e,r,a):t==="style"?Uh(e,n,r):pi(t)?qa(t)||qh(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ng(e,t,r,a))?(fs(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&cs(e,t,r,a,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ae(r))?fs(e,mt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),cs(e,t,r,a))};function ng(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&gs(t)&&pe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return gs(t)&&Ae(n)?!1:t in e}const rg=["ctrl","shift","alt","meta"],og={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>rg.some(n=>e[`${n}Key`]&&!t.includes(n))},rc=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...o)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=nn(i.key);if(t.some(a=>a===o||ig[a]===o))return e(i)})},ag=Ge({patchProp:tg},Lh);let ms;function lg(){return ms||(ms=ah(ag))}const sg=(...e)=>{const t=lg().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=dg(r);if(!i)return;const o=t._component;!pe(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const a=n(i,!1,ug(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t};function ug(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function dg(e){return Ae(e)?document.querySelector(e):e}var cg=Object.defineProperty,bs=Object.getOwnPropertySymbols,fg=Object.prototype.hasOwnProperty,pg=Object.prototype.propertyIsEnumerable,vs=(e,t,n)=>t in e?cg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hg=(e,t)=>{for(var n in t||(t={}))fg.call(t,n)&&vs(e,n,t[n]);if(bs)for(var n of bs(t))pg.call(t,n)&&vs(e,n,t[n]);return e};function bt(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function gg(e,t,n,r=1){let i=-1;const o=bt(e),a=bt(t);return o&&a?i=0:o?i=r:a?i=-r:typeof e=="string"&&typeof t=="string"?i=n(e,t):i=et?1:0,i}function $a(e,t,n=new WeakSet){if(e===t)return!0;if(!e||!t||typeof e!="object"||typeof t!="object"||n.has(e)||n.has(t))return!1;n.add(e).add(t);const r=Array.isArray(e),i=Array.isArray(t);let o,a,l;if(r&&i){if(a=e.length,a!=t.length)return!1;for(o=a;o--!==0;)if(!$a(e[o],t[o],n))return!1;return!0}if(r!=i)return!1;const s=e instanceof Date,d=t instanceof Date;if(s!=d)return!1;if(s&&d)return e.getTime()==t.getTime();const u=e instanceof RegExp,c=t instanceof RegExp;if(u!=c)return!1;if(u&&c)return e.toString()==t.toString();const f=Object.keys(e);if(a=f.length,a!==Object.keys(t).length)return!1;for(o=a;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,f[o]))return!1;for(o=a;o--!==0;)if(l=f[o],!$a(e[l],t[l],n))return!1;return!0}function mg(e,t){return $a(e,t)}function Ii(e){return typeof e=="function"&&"call"in e&&"apply"in e}function ue(e){return!bt(e)}function he(e,t){if(!e||!t)return null;try{const n=e[t];if(ue(n))return n}catch{}if(Object.keys(e).length){if(Ii(t))return t(e);if(t.indexOf(".")===-1)return e[t];{const n=t.split(".");let r=e;for(let i=0,o=n.length;i{const i=r;Nt(t[i])&&i in e&&Nt(e[i])?n[i]=oc(e[i],t[i]):n[i]=t[i]}),n}function vg(...e){return e.reduce((t,n,r)=>r===0?n:oc(t,n),{})}function Ji(e,t){let n=-1;if(t){for(let r=0;rjt(a)===i)||"";return fl(St(e[o],n),r.join("."),n)}return}return St(e,n)}function Pi(e,t=!0){return Array.isArray(e)&&(t||e.length!==0)}function yg(e){return ue(e)&&!isNaN(e)}function ic(e=""){return ue(e)&&e.length===1&&!!e.match(/\S| /)}function xa(){return new Intl.Collator(void 0,{numeric:!0}).compare}function Qt(e,t){if(t){const n=t.test(e);return t.lastIndex=0,n}return!1}function wg(...e){return vg(...e)}function Pr(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function wt(e){if(e&&/[\xC0-\xFF\u0100-\u017E]/.test(e)){const n={A:/[\xC0-\xC5\u0100\u0102\u0104]/g,AE:/[\xC6]/g,C:/[\xC7\u0106\u0108\u010A\u010C]/g,D:/[\xD0\u010E\u0110]/g,E:/[\xC8-\xCB\u0112\u0114\u0116\u0118\u011A]/g,G:/[\u011C\u011E\u0120\u0122]/g,H:/[\u0124\u0126]/g,I:/[\xCC-\xCF\u0128\u012A\u012C\u012E\u0130]/g,IJ:/[\u0132]/g,J:/[\u0134]/g,K:/[\u0136]/g,L:/[\u0139\u013B\u013D\u013F\u0141]/g,N:/[\xD1\u0143\u0145\u0147\u014A]/g,O:/[\xD2-\xD6\xD8\u014C\u014E\u0150]/g,OE:/[\u0152]/g,R:/[\u0154\u0156\u0158]/g,S:/[\u015A\u015C\u015E\u0160]/g,T:/[\u0162\u0164\u0166]/g,U:/[\xD9-\xDC\u0168\u016A\u016C\u016E\u0170\u0172]/g,W:/[\u0174]/g,Y:/[\xDD\u0176\u0178]/g,Z:/[\u0179\u017B\u017D]/g,a:/[\xE0-\xE5\u0101\u0103\u0105]/g,ae:/[\xE6]/g,c:/[\xE7\u0107\u0109\u010B\u010D]/g,d:/[\u010F\u0111]/g,e:/[\xE8-\xEB\u0113\u0115\u0117\u0119\u011B]/g,g:/[\u011D\u011F\u0121\u0123]/g,i:/[\xEC-\xEF\u0129\u012B\u012D\u012F\u0131]/g,ij:/[\u0133]/g,j:/[\u0135]/g,k:/[\u0137,\u0138]/g,l:/[\u013A\u013C\u013E\u0140\u0142]/g,n:/[\xF1\u0144\u0146\u0148\u014B]/g,p:/[\xFE]/g,o:/[\xF2-\xF6\xF8\u014D\u014F\u0151]/g,oe:/[\u0153]/g,r:/[\u0155\u0157\u0159]/g,s:/[\u015B\u015D\u015F\u0161]/g,t:/[\u0163\u0165\u0167]/g,u:/[\xF9-\xFC\u0169\u016B\u016D\u016F\u0171\u0173]/g,w:/[\u0175]/g,y:/[\xFD\xFF\u0177]/g,z:/[\u017A\u017C\u017E]/g};for(const r in n)e=e.replace(n[r],r)}return e}function ys(e,t,n){e&&t!==n&&(n>=e.length&&(n%=e.length,t%=e.length),e.splice(n,0,e.splice(t,1)[0]))}function ws(e,t,n=1,r,i=1){const o=gg(e,t,r,n);let a=n;return(bt(e)||bt(t))&&(a=i===1?n:i),a*o}function kg(e){return ut(e,!1)?e[0].toUpperCase()+e.slice(1):e}function ac(e){return ut(e)?e.replace(/(_)/g,"-").replace(/[A-Z]/g,(t,n)=>n===0?t:"-"+t.toLowerCase()).toLowerCase():e}function ks(e){return ut(e)?e.replace(/[A-Z]/g,(t,n)=>n===0?t:"."+t.toLowerCase()).toLowerCase():e}function pl(){const e=new Map;return{on(t,n){let r=e.get(t);return r?r.push(n):r=[n],e.set(t,r),this},off(t,n){const r=e.get(t);return r&&r.splice(r.indexOf(n)>>>0,1),this},emit(t,n){const r=e.get(t);r&&r.forEach(i=>{i(n)})},clear(){e.clear()}}}function Cg(e,t){return e?e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className):!1}function fn(e,t){if(e&&t){const n=r=>{Cg(e,r)||(e.classList?e.classList.add(r):e.className+=" "+r)};[t].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(n))}}function Sg(){return window.innerWidth-document.documentElement.offsetWidth}function $g(e){typeof e=="string"?fn(document.body,e||"p-overflow-hidden"):(e!=null&&e.variableName&&document.body.style.setProperty(e.variableName,Sg()+"px"),fn(document.body,(e==null?void 0:e.className)||"p-overflow-hidden"))}function xg(e){if(e){const t=document.createElement("a");if(t.download!==void 0){const{name:n,src:r}=e;return t.setAttribute("href",r),t.setAttribute("download",n),t.style.display="none",document.body.appendChild(t),t.click(),document.body.removeChild(t),!0}}return!1}function Og(e,t){const n=new Blob([e],{type:"application/csv;charset=utf-8;"});window.navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(n,t+".csv"):xg({name:t+".csv",src:URL.createObjectURL(n)})||(e="data:text/csv;charset=utf-8,"+e,window.open(encodeURI(e)))}function Vt(e,t){if(e&&t){const n=r=>{e.classList?e.classList.remove(r):e.className=e.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," ")};[t].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(n))}}function Ig(e){typeof e=="string"?Vt(document.body,e||"p-overflow-hidden"):(e!=null&&e.variableName&&document.body.style.removeProperty(e.variableName),Vt(document.body,(e==null?void 0:e.className)||"p-overflow-hidden"))}function ii(e){for(const t of document==null?void 0:document.styleSheets)try{for(const n of t==null?void 0:t.cssRules)for(const r of n==null?void 0:n.style)if(e.test(r))return{name:r,value:n.style.getPropertyValue(r).trim()}}catch{}return null}function lc(e){const t={width:0,height:0};return e&&(e.style.visibility="hidden",e.style.display="block",t.width=e.offsetWidth,t.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible"),t}function hl(){const e=window,t=document,n=t.documentElement,r=t.getElementsByTagName("body")[0],i=e.innerWidth||n.clientWidth||r.clientWidth,o=e.innerHeight||n.clientHeight||r.clientHeight;return{width:i,height:o}}function Oa(e){return e?Math.abs(e.scrollLeft):0}function Pg(){const e=document.documentElement;return(window.pageXOffset||Oa(e))-(e.clientLeft||0)}function Rg(){const e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}function Ri(e,t,n=!0){var r,i,o,a;if(e){const l=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:lc(e),s=l.height,d=l.width,u=t.offsetHeight,c=t.offsetWidth,f=t.getBoundingClientRect(),p=Rg(),m=Pg(),v=hl();let C,S,x="top";f.top+u+s>v.height?(C=f.top+p-s,x="bottom",C<0&&(C=p)):C=u+f.top+p,f.left+d>v.width?S=Math.max(0,f.left+m+c-d):S=f.left+m,e.style.top=C+"px",e.style.insetInlineStart=S+"px",e.style.transformOrigin=x,n&&(e.style.marginTop=x==="bottom"?`calc(${(i=(r=ii(/-anchor-gutter$/))==null?void 0:r.value)!=null?i:"2px"} * -1)`:(a=(o=ii(/-anchor-gutter$/))==null?void 0:o.value)!=null?a:"")}}function En(e,t){e&&(typeof t=="string"?e.style.cssText=t:Object.entries(t||{}).forEach(([n,r])=>e.style[n]=r))}function Ne(e,t){return e instanceof HTMLElement?e.offsetWidth:0}function gl(e,t,n=!0){var r,i,o,a;if(e){const l=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:lc(e),s=t.offsetHeight,d=t.getBoundingClientRect(),u=hl();let c,f,p="top";d.top+s+l.height>u.height?(c=-1*l.height,p="bottom",d.top+c<0&&(c=-1*d.top)):c=s,l.width>u.width?f=d.left*-1:d.left+l.width>u.width?f=(d.left+l.width-u.width)*-1:f=0,e.style.top=c+"px",e.style.insetInlineStart=f+"px",e.style.transformOrigin=p,n&&(e.style.marginTop=p==="bottom"?`calc(${(i=(r=ii(/-anchor-gutter$/))==null?void 0:r.value)!=null?i:"2px"} * -1)`:(a=(o=ii(/-anchor-gutter$/))==null?void 0:o.value)!=null?a:"")}}function ml(e){if(e){let t=e.parentNode;return t&&t instanceof ShadowRoot&&t.host&&(t=t.host),t}return null}function Tg(e){return!!(e!==null&&typeof e<"u"&&e.nodeName&&ml(e))}function Ln(e){return typeof HTMLElement<"u"?e instanceof HTMLElement:e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string"}function Yo(){if(window.getSelection){const e=window.getSelection()||{};e.empty?e.empty():e.removeAllRanges&&e.rangeCount>0&&e.getRangeAt(0).getClientRects().length>0&&e.removeAllRanges()}}function ai(e,t={}){if(Ln(e)){const n=(r,i)=>{var o,a;const l=(o=e==null?void 0:e.$attrs)!=null&&o[r]?[(a=e==null?void 0:e.$attrs)==null?void 0:a[r]]:[];return[i].flat().reduce((s,d)=>{if(d!=null){const u=typeof d;if(u==="string"||u==="number")s.push(d);else if(u==="object"){const c=Array.isArray(d)?n(r,d):Object.entries(d).map(([f,p])=>r==="style"&&(p||p===0)?`${f.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${p}`:p?f:void 0);s=c.length?s.concat(c.filter(f=>!!f)):s}}return s},l)};Object.entries(t).forEach(([r,i])=>{if(i!=null){const o=r.match(/^on(.+)/);o?e.addEventListener(o[1].toLowerCase(),i):r==="p-bind"||r==="pBind"?ai(e,i):(i=r==="class"?[...new Set(n("class",i))].join(" ").trim():r==="style"?n("style",i).join(";").trim():i,(e.$attrs=e.$attrs||{})&&(e.$attrs[r]=i),e.setAttribute(r,i))}})}}function sc(e,t={},...n){{const r=document.createElement(e);return ai(r,t),r.append(...n),r}}function ht(e,t){return Ln(e)?Array.from(e.querySelectorAll(t)):[]}function We(e,t){return Ln(e)?e.matches(t)?e:e.querySelector(t):null}function He(e,t){e&&document.activeElement!==e&&e.focus(t)}function Fe(e,t){if(Ln(e)){const n=e.getAttribute(t);return isNaN(n)?n==="true"||n==="false"?n==="true":n:+n}}function er(e,t=""){const n=ht(e,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, - [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, - input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, - select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, - textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, - [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, - [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}`),r=[];for(const i of n)getComputedStyle(i).display!="none"&&getComputedStyle(i).visibility!="hidden"&&r.push(i);return r}function dn(e,t){const n=er(e,t);return n.length>0?n[0]:null}function Pn(e){if(e){let t=e.offsetHeight;const n=getComputedStyle(e);return t-=parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),t}return 0}function Bg(e){if(e){e.style.visibility="hidden",e.style.display="block";const t=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",t}return 0}function Mg(e){if(e){e.style.visibility="hidden",e.style.display="block";const t=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",t}return 0}function Jt(e){var t;if(e){const n=(t=ml(e))==null?void 0:t.childNodes;let r=0;if(n)for(let i=0;i0?n[n.length-1]:null}function Ti(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}return null}function Hn(e){if(e){const t=e.getBoundingClientRect();return{top:t.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:t.left+(window.pageXOffset||Oa(document.documentElement)||Oa(document.body)||0)}}return{top:"auto",left:"auto"}}function zr(e,t){return e?e.offsetHeight:0}function uc(e,t=[]){const n=ml(e);return n===null?t:uc(n,t.concat([n]))}function Bi(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}return null}function Dg(e){const t=[];if(e){const n=uc(e),r=/(auto|scroll)/,i=o=>{try{const a=window.getComputedStyle(o,null);return r.test(a.getPropertyValue("overflow"))||r.test(a.getPropertyValue("overflowX"))||r.test(a.getPropertyValue("overflowY"))}catch{return!1}};for(const o of n){const a=o.nodeType===1&&o.dataset.scrollselectors;if(a){const l=a.split(",");for(const s of l){const d=We(o,s);d&&i(d)&&t.push(d)}}o.nodeType!==9&&i(o)&&t.push(o)}}return t}function Cs(){if(window.getSelection)return window.getSelection().toString();if(document.getSelection)return document.getSelection().toString()}function Rn(e){if(e){let t=e.offsetWidth;const n=getComputedStyle(e);return t-=parseFloat(n.paddingLeft)+parseFloat(n.paddingRight)+parseFloat(n.borderLeftWidth)+parseFloat(n.borderRightWidth),t}return 0}function Ss(e,t,n){const r=e[t];typeof r=="function"&&r.apply(e,[])}function Eg(){return/(android)/i.test(navigator.userAgent)}function Qi(e){if(e){const t=e.nodeName,n=e.parentElement&&e.parentElement.nodeName;return t==="INPUT"||t==="TEXTAREA"||t==="BUTTON"||t==="A"||n==="INPUT"||n==="TEXTAREA"||n==="BUTTON"||n==="A"||!!e.closest(".p-button, .p-checkbox, .p-radiobutton")}return!1}function dc(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function $s(e,t=""){return Ln(e)?e.matches(`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, - [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, - input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, - select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, - textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, - [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}, - [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${t}`):!1}function li(e){return!!(e&&e.offsetParent!=null)}function Lg(e){return e?getComputedStyle(e).direction==="rtl":!1}function Mi(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}function Io(e,t="",n){Ln(e)&&n!==null&&n!==void 0&&e.setAttribute(t,n)}var Ao={};function Fg(e="pui_id_"){return Object.hasOwn(Ao,e)||(Ao[e]=0),Ao[e]++,`${e}${Ao[e]}`}function Ag(){let e=[];const t=(a,l,s=999)=>{const d=i(a,l,s),u=d.value+(d.key===a?0:s)+1;return e.push({key:a,value:u}),u},n=a=>{e=e.filter(l=>l.value!==a)},r=(a,l)=>i(a).value,i=(a,l,s=0)=>[...e].reverse().find(d=>!0)||{key:a,value:s},o=a=>a&&parseInt(a.style.zIndex,10)||0;return{get:o,set:(a,l,s)=>{l&&(l.style.zIndex=String(t(a,!0,s)))},clear:a=>{a&&(n(o(a)),a.style.zIndex="")},getCurrent:a=>r(a)}}var it=Ag(),zg=Object.defineProperty,jg=Object.defineProperties,Vg=Object.getOwnPropertyDescriptors,si=Object.getOwnPropertySymbols,cc=Object.prototype.hasOwnProperty,fc=Object.prototype.propertyIsEnumerable,xs=(e,t,n)=>t in e?zg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,It=(e,t)=>{for(var n in t||(t={}))cc.call(t,n)&&xs(e,n,t[n]);if(si)for(var n of si(t))fc.call(t,n)&&xs(e,n,t[n]);return e},ea=(e,t)=>jg(e,Vg(t)),Wt=(e,t)=>{var n={};for(var r in e)cc.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&si)for(var r of si(e))t.indexOf(r)<0&&fc.call(e,r)&&(n[r]=e[r]);return n},Hg=pl(),qe=Hg;function Os(e,t){Pi(e)?e.push(...t||[]):Nt(e)&&Object.assign(e,t)}function Kg(e){return Nt(e)&&e.hasOwnProperty("$value")&&e.hasOwnProperty("$type")?e.$value:e}function Ng(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function Ia(e="",t=""){return Ng(`${ut(e,!1)&&ut(t,!1)?`${e}-`:e}${t}`)}function pc(e="",t=""){return`--${Ia(e,t)}`}function Gg(e=""){const t=(e.match(/{/g)||[]).length,n=(e.match(/}/g)||[]).length;return(t+n)%2!==0}function hc(e,t="",n="",r=[],i){if(ut(e)){const o=/{([^}]*)}/g,a=e.trim();if(Gg(a))return;if(Qt(a,o)){const l=a.replaceAll(o,u=>{const f=u.replace(/{|}/g,"").split(".").filter(p=>!r.some(m=>Qt(p,m)));return`var(${pc(n,ac(f.join("-")))}${ue(i)?`, ${i}`:""})`}),s=/(\d+\s+[\+\-\*\/]\s+\d+)/g,d=/var\([^)]+\)/g;return Qt(l.replace(d,"0"),s)?`calc(${l})`:l}return a}else if(yg(e))return e}function Ug(e,t,n){ut(t,!1)&&e.push(`${t}:${n};`)}function Kn(e,t){return e?`${e}{${t}}`:""}var gc=e=>{var t;const n=Re.getTheme(),r=Pa(n,e,void 0,"variable"),i=(t=r==null?void 0:r.match(/--[\w-]+/g))==null?void 0:t[0],o=Pa(n,e,void 0,"value");return{name:i,variable:r,value:o}},Rr=(...e)=>Pa(Re.getTheme(),...e),Pa=(e={},t,n,r)=>{if(t){const{variable:i,options:o}=Re.defaults||{},{prefix:a,transform:l}=(e==null?void 0:e.options)||o||{},d=Qt(t,/{([^}]*)}/g)?t:`{${t}}`;return r==="value"||bt(r)&&l==="strict"?Re.getTokenValue(t):hc(d,void 0,a,[i.excludedKeyRegex],n)}return""};function Wg(e,t={}){const n=Re.defaults.variable,{prefix:r=n.prefix,selector:i=n.selector,excludedKeyRegex:o=n.excludedKeyRegex}=t,a=(d,u="")=>Object.entries(d).reduce((c,[f,p])=>{const m=Qt(f,o)?Ia(u):Ia(u,ac(f)),v=Kg(p);if(Nt(v)){const{variables:C,tokens:S}=a(v,m);Os(c.tokens,S),Os(c.variables,C)}else c.tokens.push((r?m.replace(`${r}-`,""):m).replaceAll("-",".")),Ug(c.variables,pc(m),hc(v,m,r,[o]));return c},{variables:[],tokens:[]}),{variables:l,tokens:s}=a(e,r);return{value:l,tokens:s,declarations:l.join(""),css:Kn(i,l.join(""))}}var Ot={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(e){return{type:"class",selector:e,matched:this.pattern.test(e.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(e){return{type:"attr",selector:`:root${e}`,matched:this.pattern.test(e.trim())}}},media:{pattern:/^@media (.*)$/,resolve(e){return{type:"media",selector:`${e}{:root{[CSS]}}`,matched:this.pattern.test(e.trim())}}},system:{pattern:/^system$/,resolve(e){return{type:"system",selector:"@media (prefers-color-scheme: dark){:root{[CSS]}}",matched:this.pattern.test(e.trim())}}},custom:{resolve(e){return{type:"custom",selector:e,matched:!0}}}},resolve(e){const t=Object.keys(this.rules).filter(n=>n!=="custom").map(n=>this.rules[n]);return[e].flat().map(n=>{var r;return(r=t.map(i=>i.resolve(n)).find(i=>i.matched))!=null?r:this.rules.custom.resolve(n)})}},_toVariables(e,t){return Wg(e,{prefix:t==null?void 0:t.prefix})},getCommon({name:e="",theme:t={},params:n,set:r,defaults:i}){var o,a,l,s,d,u,c;const{preset:f,options:p}=t;let m,v,C,S,x,T,w;if(ue(f)&&p.transform!=="strict"){const{primitive:F,semantic:G,extend:E}=f,K=G||{},{colorScheme:z}=K,J=Wt(K,["colorScheme"]),N=E||{},{colorScheme:H}=N,le=Wt(N,["colorScheme"]),fe=z||{},{dark:ye}=fe,M=Wt(fe,["dark"]),O=H||{},{dark:R}=O,Q=Wt(O,["dark"]),re=ue(F)?this._toVariables({primitive:F},p):{},te=ue(J)?this._toVariables({semantic:J},p):{},be=ue(M)?this._toVariables({light:M},p):{},ze=ue(ye)?this._toVariables({dark:ye},p):{},je=ue(le)?this._toVariables({semantic:le},p):{},vt=ue(Q)?this._toVariables({light:Q},p):{},Ye=ue(R)?this._toVariables({dark:R},p):{},[at,dr]=[(o=re.declarations)!=null?o:"",re.tokens],[To,wn]=[(a=te.declarations)!=null?a:"",te.tokens||[]],[Bl,y]=[(l=be.declarations)!=null?l:"",be.tokens||[]],[k,I]=[(s=ze.declarations)!=null?s:"",ze.tokens||[]],[j,L]=[(d=je.declarations)!=null?d:"",je.tokens||[]],[A,Y]=[(u=vt.declarations)!=null?u:"",vt.tokens||[]],[W,U]=[(c=Ye.declarations)!=null?c:"",Ye.tokens||[]];m=this.transformCSS(e,at,"light","variable",p,r,i),v=dr;const V=this.transformCSS(e,`${To}${Bl}`,"light","variable",p,r,i),se=this.transformCSS(e,`${k}`,"dark","variable",p,r,i);C=`${V}${se}`,S=[...new Set([...wn,...y,...I])];const X=this.transformCSS(e,`${j}${A}color-scheme:light`,"light","variable",p,r,i),ae=this.transformCSS(e,`${W}color-scheme:dark`,"dark","variable",p,r,i);x=`${X}${ae}`,T=[...new Set([...L,...Y,...U])],w=St(f.css,{dt:Rr})}return{primitive:{css:m,tokens:v},semantic:{css:C,tokens:S},global:{css:x,tokens:T},style:w}},getPreset({name:e="",preset:t={},options:n,params:r,set:i,defaults:o,selector:a}){var l,s,d;let u,c,f;if(ue(t)&&n.transform!=="strict"){const p=e.replace("-directive",""),m=t,{colorScheme:v,extend:C,css:S}=m,x=Wt(m,["colorScheme","extend","css"]),T=C||{},{colorScheme:w}=T,F=Wt(T,["colorScheme"]),G=v||{},{dark:E}=G,K=Wt(G,["dark"]),z=w||{},{dark:J}=z,N=Wt(z,["dark"]),H=ue(x)?this._toVariables({[p]:It(It({},x),F)},n):{},le=ue(K)?this._toVariables({[p]:It(It({},K),N)},n):{},fe=ue(E)?this._toVariables({[p]:It(It({},E),J)},n):{},[ye,M]=[(l=H.declarations)!=null?l:"",H.tokens||[]],[O,R]=[(s=le.declarations)!=null?s:"",le.tokens||[]],[Q,re]=[(d=fe.declarations)!=null?d:"",fe.tokens||[]],te=this.transformCSS(p,`${ye}${O}`,"light","variable",n,i,o,a),be=this.transformCSS(p,Q,"dark","variable",n,i,o,a);u=`${te}${be}`,c=[...new Set([...M,...R,...re])],f=St(S,{dt:Rr})}return{css:u,tokens:c,style:f}},getPresetC({name:e="",theme:t={},params:n,set:r,defaults:i}){var o;const{preset:a,options:l}=t,s=(o=a==null?void 0:a.components)==null?void 0:o[e];return this.getPreset({name:e,preset:s,options:l,params:n,set:r,defaults:i})},getPresetD({name:e="",theme:t={},params:n,set:r,defaults:i}){var o,a;const l=e.replace("-directive",""),{preset:s,options:d}=t,u=((o=s==null?void 0:s.components)==null?void 0:o[l])||((a=s==null?void 0:s.directives)==null?void 0:a[l]);return this.getPreset({name:l,preset:u,options:d,params:n,set:r,defaults:i})},applyDarkColorScheme(e){return!(e.darkModeSelector==="none"||e.darkModeSelector===!1)},getColorSchemeOption(e,t){var n;return this.applyDarkColorScheme(e)?this.regex.resolve(e.darkModeSelector===!0?t.options.darkModeSelector:(n=e.darkModeSelector)!=null?n:t.options.darkModeSelector):[]},getLayerOrder(e,t={},n,r){const{cssLayer:i}=t;return i?`@layer ${St(i.order||"primeui",n)}`:""},getCommonStyleSheet({name:e="",theme:t={},params:n,props:r={},set:i,defaults:o}){const a=this.getCommon({name:e,theme:t,params:n,set:i,defaults:o}),l=Object.entries(r).reduce((s,[d,u])=>s.push(`${d}="${u}"`)&&s,[]).join(" ");return Object.entries(a||{}).reduce((s,[d,u])=>{if(u!=null&&u.css){const c=Pr(u==null?void 0:u.css),f=`${d}-variables`;s.push(``)}return s},[]).join("")},getStyleSheet({name:e="",theme:t={},params:n,props:r={},set:i,defaults:o}){var a;const l={name:e,theme:t,params:n,set:i,defaults:o},s=(a=e.includes("-directive")?this.getPresetD(l):this.getPresetC(l))==null?void 0:a.css,d=Object.entries(r).reduce((u,[c,f])=>u.push(`${c}="${f}"`)&&u,[]).join(" ");return s?``:""},createTokens(e={},t,n="",r="",i={}){return Object.entries(e).forEach(([o,a])=>{const l=Qt(o,t.variable.excludedKeyRegex)?n:n?`${n}.${ks(o)}`:ks(o),s=r?`${r}.${o}`:o;Nt(a)?this.createTokens(a,t,l,s,i):(i[l]||(i[l]={paths:[],computed(d,u={}){var c,f;return this.paths.length===1?(c=this.paths[0])==null?void 0:c.computed(this.paths[0].scheme,u.binding):d&&d!=="none"?(f=this.paths.find(p=>p.scheme===d))==null?void 0:f.computed(d,u.binding):this.paths.map(p=>p.computed(p.scheme,u[p.scheme]))}}),i[l].paths.push({path:s,value:a,scheme:s.includes("colorScheme.light")?"light":s.includes("colorScheme.dark")?"dark":"none",computed(d,u={}){const c=/{([^}]*)}/g;let f=a;if(u.name=this.path,u.binding||(u.binding={}),Qt(a,c)){const m=a.trim().replaceAll(c,S=>{var x;const T=S.replace(/{|}/g,""),w=(x=i[T])==null?void 0:x.computed(d,u);return Pi(w)&&w.length===2?`light-dark(${w[0].value},${w[1].value})`:w==null?void 0:w.value}),v=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,C=/var\([^)]+\)/g;f=Qt(m.replace(C,"0"),v)?`calc(${m})`:m}return bt(u.binding)&&delete u.binding,{colorScheme:d,path:this.path,paths:u,value:f.includes("undefined")?void 0:f}}}))}),i},getTokenValue(e,t,n){var r;const o=(s=>s.split(".").filter(u=>!Qt(u.toLowerCase(),n.variable.excludedKeyRegex)).join("."))(t),a=t.includes("colorScheme.light")?"light":t.includes("colorScheme.dark")?"dark":void 0,l=[(r=e[o])==null?void 0:r.computed(a)].flat().filter(s=>s);return l.length===1?l[0].value:l.reduce((s={},d)=>{const u=d,{colorScheme:c}=u,f=Wt(u,["colorScheme"]);return s[c]=f,s},void 0)},getSelectorRule(e,t,n,r){return n==="class"||n==="attr"?Kn(ue(t)?`${e}${t},${e} ${t}`:e,r):Kn(e,ue(t)?Kn(t,r):r)},transformCSS(e,t,n,r,i={},o,a,l){if(ue(t)){const{cssLayer:s}=i;if(r!=="style"){const d=this.getColorSchemeOption(i,a);t=n==="dark"?d.reduce((u,{type:c,selector:f})=>(ue(f)&&(u+=f.includes("[CSS]")?f.replace("[CSS]",t):this.getSelectorRule(f,l,c,t)),u),""):Kn(l??":root",t)}if(s){const d={name:"primeui"};Nt(s)&&(d.name=St(s.name,{name:e,type:r})),ue(d.name)&&(t=Kn(`@layer ${d.name}`,t),o==null||o.layerNames(d.name))}return t}return""}},Re={defaults:{variable:{prefix:"p",selector:":root",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(e={}){const{theme:t}=e;t&&(this._theme=ea(It({},t),{options:It(It({},this.defaults.options),t.options)}),this._tokens=Ot.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var e;return((e=this.theme)==null?void 0:e.preset)||{}},get options(){var e;return((e=this.theme)==null?void 0:e.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(e){this.update({theme:e}),qe.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=ea(It({},this.theme),{preset:e}),this._tokens=Ot.createTokens(e,this.defaults),this.clearLoadedStyleNames(),qe.emit("preset:change",e),qe.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=ea(It({},this.theme),{options:e}),this.clearLoadedStyleNames(),qe.emit("options:change",e),qe.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(e){this._layerNames.add(e)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(e){return Ot.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",t){return Ot.getCommon({name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(e="",t){const n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Ot.getPresetC(n)},getDirective(e="",t){const n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Ot.getPresetD(n)},getCustomPreset(e="",t,n,r){const i={name:e,preset:t,options:this.options,selector:n,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Ot.getPreset(i)},getLayerOrderCSS(e=""){return Ot.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",t,n="style",r){return Ot.transformCSS(e,t,r,n,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",t,n={}){return Ot.getCommonStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,t,n={}){return Ot.getStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(e){this._loadingStyles.add(e)},onStyleUpdated(e){this._loadingStyles.add(e)},onStyleLoaded(e,{name:t}){this._loadingStyles.size&&(this._loadingStyles.delete(t),qe.emit(`theme:${t}:load`,e),!this._loadingStyles.size&&qe.emit("theme:load"))}};function Is(){$g({variableName:gc("scrollbar.width").name})}function Ps(){Ig({variableName:gc("scrollbar.width").name})}function jr(e){"@babel/helpers - typeof";return jr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jr(e)}function Rs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ts(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:!0;$o()?So(e):t?e():cd(e)}var Xg=0;function Jg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Zt(!1),r=Zt(e),i=Zt(null),o=dc()?window.document:void 0,a=t.document,l=a===void 0?o:a,s=t.immediate,d=s===void 0?!0:s,u=t.manual,c=u===void 0?!1:u,f=t.name,p=f===void 0?"style_".concat(++Xg):f,m=t.id,v=m===void 0?void 0:m,C=t.media,S=C===void 0?void 0:C,x=t.nonce,T=x===void 0?void 0:x,w=t.first,F=w===void 0?!1:w,G=t.onMounted,E=G===void 0?void 0:G,K=t.onUpdated,z=K===void 0?void 0:K,J=t.onLoad,N=J===void 0?void 0:J,H=t.props,le=H===void 0?{}:H,fe=function(){},ye=function(R){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(l){var re=Ts(Ts({},le),Q),te=re.name||p,be=re.id||v,ze=re.nonce||T;i.value=l.querySelector('style[data-primevue-style-id="'.concat(te,'"]'))||l.getElementById(be)||l.createElement("style"),i.value.isConnected||(r.value=R||e,ai(i.value,{type:"text/css",id:be,media:S,nonce:ze}),F?l.head.prepend(i.value):l.head.appendChild(i.value),Io(i.value,"data-primevue-style-id",te),ai(i.value,re),i.value.onload=function(je){return N==null?void 0:N(je,{name:te})},E==null||E(te)),!n.value&&(fe=Ct(r,function(je){i.value.textContent=je,z==null||z(te)},{immediate:!0}),n.value=!0)}},M=function(){!l||!n.value||(fe(),Tg(i.value)&&l.head.removeChild(i.value),n.value=!1)};return d&&!c&&Zg(ye),{id:v,name:p,el:i,css:r,unload:M,load:ye,isLoaded:nl(n)}}var cn={_loadedStyleNames:new Set,getLoadedStyleNames:function(){return this._loadedStyleNames},isStyleNameLoaded:function(t){return this._loadedStyleNames.has(t)},setLoadedStyleName:function(t){this._loadedStyleNames.add(t)},deleteLoadedStyleName:function(t){this._loadedStyleNames.delete(t)},clearLoadedStyleNames:function(){this._loadedStyleNames.clear()}},Qg=({dt:e})=>` -*, -::before, -::after { - box-sizing: border-box; -} - -/* Non vue overlay animations */ -.p-connected-overlay { - opacity: 0; - transform: scaleY(0.8); - transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), - opacity 0.12s cubic-bezier(0, 0, 0.2, 1); -} - -.p-connected-overlay-visible { - opacity: 1; - transform: scaleY(1); -} - -.p-connected-overlay-hidden { - opacity: 0; - transform: scaleY(1); - transition: opacity 0.1s linear; -} - -/* Vue based overlay animations */ -.p-connected-overlay-enter-from { - opacity: 0; - transform: scaleY(0.8); -} - -.p-connected-overlay-leave-to { - opacity: 0; -} - -.p-connected-overlay-enter-active { - transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), - opacity 0.12s cubic-bezier(0, 0, 0.2, 1); -} - -.p-connected-overlay-leave-active { - transition: opacity 0.1s linear; -} - -/* Toggleable Content */ -.p-toggleable-content-enter-from, -.p-toggleable-content-leave-to { - max-height: 0; -} - -.p-toggleable-content-enter-to, -.p-toggleable-content-leave-from { - max-height: 1000px; -} - -.p-toggleable-content-leave-active { - overflow: hidden; - transition: max-height 0.45s cubic-bezier(0, 1, 0, 1); -} - -.p-toggleable-content-enter-active { - overflow: hidden; - transition: max-height 1s ease-in-out; -} - -.p-disabled, -.p-disabled * { - cursor: default; - pointer-events: none; - user-select: none; -} - -.p-disabled, -.p-component:disabled { - opacity: ${e("disabled.opacity")}; -} - -.pi { - font-size: ${e("icon.size")}; -} - -.p-icon { - width: ${e("icon.size")}; - height: ${e("icon.size")}; -} - -.p-overlay-mask { - background: ${e("mask.background")}; - color: ${e("mask.color")}; - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; -} - -.p-overlay-mask-enter { - animation: p-overlay-mask-enter-animation ${e("mask.transition.duration")} forwards; -} - -.p-overlay-mask-leave { - animation: p-overlay-mask-leave-animation ${e("mask.transition.duration")} forwards; -} - -@keyframes p-overlay-mask-enter-animation { - from { - background: transparent; - } - to { - background: ${e("mask.background")}; - } -} -@keyframes p-overlay-mask-leave-animation { - from { - background: ${e("mask.background")}; - } - to { - background: transparent; - } -} -`;function Vr(e){"@babel/helpers - typeof";return Vr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vr(e)}function Bs(e,t){return rm(e)||nm(e,t)||tm(e,t)||em()}function em(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tm(e,t){if(e){if(typeof e=="string")return Ms(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ms(e,t):void 0}}function Ms(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(o){return o},i=r(St(t,{dt:Rr}));return ue(i)?Jg(Pr(i),ta({name:this.name},n)):{}},loadCSS:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,t)},loadStyle:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.load(this.style,n,function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Re.transformCSS(n.name||t.name,"".concat(i).concat(r))})},getCommonTheme:function(t){return Re.getCommon(this.name,t)},getComponentTheme:function(t){return Re.getComponent(this.name,t)},getDirectiveTheme:function(t){return Re.getDirective(this.name,t)},getPresetTheme:function(t,n,r){return Re.getCustomPreset(this.name,t,n,r)},getLayerOrderThemeCSS:function(){return Re.getLayerOrderCSS(this.name)},getStyleSheet:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var r=St(this.css,{dt:Rr})||"",i=Pr("".concat(r).concat(t)),o=Object.entries(n).reduce(function(a,l){var s=Bs(l,2),d=s[0],u=s[1];return a.push("".concat(d,'="').concat(u,'"'))&&a},[]).join(" ");return ue(i)?'"):""}return""},getCommonThemeStyleSheet:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Re.getCommonStyleSheet(this.name,t,n)},getThemeStyleSheet:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[Re.getStyleSheet(this.name,t,n)];if(this.style){var i=this.name==="base"?"global-style":"".concat(this.name,"-style"),o=St(this.style,{dt:Rr}),a=Pr(Re.transformCSS(i,o)),l=Object.entries(n).reduce(function(s,d){var u=Bs(d,2),c=u[0],f=u[1];return s.push("".concat(c,'="').concat(f,'"'))&&s},[]).join(" ");ue(a)&&r.push('"))}return r.join("")},extend:function(t){return ta(ta({},this),{},{css:void 0,style:void 0},t)}};function dm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pc",t=Bp();return"".concat(e).concat(t.replace("v-","").replaceAll("-","_"))}var Es=ge.extend({name:"common"});function Hr(e){"@babel/helpers - typeof";return Hr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hr(e)}function cm(e){return vc(e)||fm(e)||bc(e)||mc()}function fm(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gr(e,t){return vc(e)||pm(e,t)||bc(e,t)||mc()}function mc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bc(e,t){if(e){if(typeof e=="string")return Ls(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ls(e,t):void 0}}function Ls(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1?n-1:0),i=1;i0&&arguments[0]!==void 0?arguments[0]:function(){};cn.clearLoadedStyleNames(),qe.on("theme:change",t)},_removeThemeListeners:function(){qe.off("theme:change",this._loadCoreStyles),qe.off("theme:change",this._load),qe.off("theme:change",this._themeScopedListener)},_getHostInstance:function(t){return t?this.$options.hostName?t.$.type.name===this.$options.hostName?t:this._getHostInstance(t.$parentInstance):t.$parentInstance:void 0},_getPropValue:function(t){var n;return this[t]||((n=this._getHostInstance(this))===null||n===void 0?void 0:n[t])},_getOptionValue:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return fl(t,n,r)},_getPTValue:function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,a=/./g.test(r)&&!!i[r.split(".")[0]],l=this._getPropValue("ptOptions")||((t=this.$primevueConfig)===null||t===void 0?void 0:t.ptOptions)||{},s=l.mergeSections,d=s===void 0?!0:s,u=l.mergeProps,c=u===void 0?!1:u,f=o?a?this._useGlobalPT(this._getPTClassValue,r,i):this._useDefaultPT(this._getPTClassValue,r,i):void 0,p=a?void 0:this._getPTSelf(n,this._getPTClassValue,r,ve(ve({},i),{},{global:f||{}})),m=this._getPTDatasets(r);return d||!d&&p?c?this._mergeProps(c,f,p,m):ve(ve(ve({},f),p),m):ve(ve({},p),m)},_getPTSelf:function(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length,r=new Array(n>1?n-1:0),i=1;i0&&arguments[0]!==void 0?arguments[0]:"",i="data-pc-",o=r==="root"&&ue((t=this.pt)===null||t===void 0?void 0:t["data-pc-section"]);return r!=="transition"&&ve(ve({},r==="root"&&ve(ve(yr({},"".concat(i,"name"),jt(o?(n=this.pt)===null||n===void 0?void 0:n["data-pc-section"]:this.$.type.name)),o&&yr({},"".concat(i,"extend"),jt(this.$.type.name))),{},yr({},"".concat(this.$attrSelector),""))),{},yr({},"".concat(i,"section"),jt(r)))},_getPTClassValue:function(){var t=this._getOptionValue.apply(this,arguments);return ut(t)||Pi(t)?{class:t}:t},_getPT:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,o=function(l){var s,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=i?i(l):l,c=jt(r),f=jt(n.$name);return(s=d?c!==f?u==null?void 0:u[c]:void 0:u==null?void 0:u[c])!==null&&s!==void 0?s:u};return t!=null&&t.hasOwnProperty("_usept")?{_usept:t._usept,originalValue:o(t.originalValue),value:o(t.value)}:o(t,!0)},_usePT:function(t,n,r,i){var o=function(v){return n(v,r,i)};if(t!=null&&t.hasOwnProperty("_usept")){var a,l=t._usept||((a=this.$primevueConfig)===null||a===void 0?void 0:a.ptOptions)||{},s=l.mergeSections,d=s===void 0?!0:s,u=l.mergeProps,c=u===void 0?!1:u,f=o(t.originalValue),p=o(t.value);return f===void 0&&p===void 0?void 0:ut(p)?p:ut(f)?f:d||!d&&p?c?this._mergeProps(c,f,p):ve(ve({},f),p):p}return o(t)},_useGlobalPT:function(t,n,r){return this._usePT(this.globalPT,t,n,r)},_useDefaultPT:function(t,n,r){return this._usePT(this.defaultPT,t,n,r)},ptm:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this._getPTValue(this.pt,t,ve(ve({},this.$params),n))},ptmi:function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=g(this.$_attrsWithoutPT,this.ptm(n,r));return i!=null&&i.hasOwnProperty("id")&&((t=i.id)!==null&&t!==void 0||(i.id=this.$id)),i},ptmo:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this._getPTValue(t,n,ve({instance:this},r),!1)},cx:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$style.classes,t,ve(ve({},this.$params),n))},sx:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(n){var i=this._getOptionValue(this.$style.inlineStyles,t,ve(ve({},this.$params),r)),o=this._getOptionValue(Es.inlineStyles,t,ve(ve({},this.$params),r));return[o,i]}}},computed:{globalPT:function(){var t,n=this;return this._getPT((t=this.$primevueConfig)===null||t===void 0?void 0:t.pt,void 0,function(r){return St(r,{instance:n})})},defaultPT:function(){var t,n=this;return this._getPT((t=this.$primevueConfig)===null||t===void 0?void 0:t.pt,void 0,function(r){return n._getOptionValue(r,n.$name,ve({},n.$params))||St(r,ve({},n.$params))})},isUnstyled:function(){var t;return this.unstyled!==void 0?this.unstyled:(t=this.$primevueConfig)===null||t===void 0?void 0:t.unstyled},$id:function(){return this.$attrs.id||this.uid},$inProps:function(){var t,n=Object.keys(((t=this.$.vnode)===null||t===void 0?void 0:t.props)||{});return Object.fromEntries(Object.entries(this.$props).filter(function(r){var i=gr(r,1),o=i[0];return n==null?void 0:n.includes(o)}))},$theme:function(){var t;return(t=this.$primevueConfig)===null||t===void 0?void 0:t.theme},$style:function(){return ve(ve({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadStyle:function(){}},(this._getHostInstance(this)||{}).$style),this.$options.style)},$styleOptions:function(){var t;return{nonce:(t=this.$primevueConfig)===null||t===void 0||(t=t.csp)===null||t===void 0?void 0:t.nonce}},$primevueConfig:function(){var t;return(t=this.$primevue)===null||t===void 0?void 0:t.config},$name:function(){return this.$options.hostName||this.$.type.name},$params:function(){var t=this._getHostInstance(this)||this.$parent;return{instance:this,props:this.$props,state:this.$data,attrs:this.$attrs,parent:{instance:t,props:t==null?void 0:t.$props,state:t==null?void 0:t.$data,attrs:t==null?void 0:t.$attrs}}},$_attrsPT:function(){return Object.entries(this.$attrs||{}).filter(function(t){var n=gr(t,1),r=n[0];return r==null?void 0:r.startsWith("pt:")}).reduce(function(t,n){var r=gr(n,2),i=r[0],o=r[1],a=i.split(":"),l=cm(a),s=l.slice(1);return s==null||s.reduce(function(d,u,c,f){return!d[u]&&(d[u]=c===f.length-1?o:{}),d[u]},t),t},{})},$_attrsWithoutPT:function(){return Object.entries(this.$attrs||{}).filter(function(t){var n=gr(t,1),r=n[0];return!(r!=null&&r.startsWith("pt:"))}).reduce(function(t,n){var r=gr(n,2),i=r[0],o=r[1];return t[i]=o,t},{})}}},mm=` -.p-icon { - display: inline-block; - vertical-align: baseline; -} - -.p-icon-spin { - -webkit-animation: p-icon-spin 2s infinite linear; - animation: p-icon-spin 2s infinite linear; -} - -@-webkit-keyframes p-icon-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} - -@keyframes p-icon-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(359deg); - transform: rotate(359deg); - } -} -`,bm=ge.extend({name:"baseicon",css:mm});function Kr(e){"@babel/helpers - typeof";return Kr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kr(e)}function As(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function zs(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=function(){var x=me._getOptionValue.apply(me,arguments);return ut(x)||Pi(x)?{class:x}:x},d=((t=r.binding)===null||t===void 0||(t=t.value)===null||t===void 0?void 0:t.ptOptions)||((n=r.$primevueConfig)===null||n===void 0?void 0:n.ptOptions)||{},u=d.mergeSections,c=u===void 0?!0:u,f=d.mergeProps,p=f===void 0?!1:f,m=l?me._useDefaultPT(r,r.defaultPT(),s,o,a):void 0,v=me._usePT(r,me._getPT(i,r.$name),s,o,ke(ke({},a),{},{global:m||{}})),C=me._getPTDatasets(r,o);return c||!c&&v?p?me._mergeProps(r,p,m,v,C):ke(ke(ke({},m),v),C):ke(ke({},v),C)},_getPTDatasets:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r="data-pc-";return ke(ke({},n==="root"&&Ra({},"".concat(r,"name"),jt(t.$name))),{},Ra({},"".concat(r,"section"),jt(n)))},_getPT:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0,i=function(a){var l,s=r?r(a):a,d=jt(n);return(l=s==null?void 0:s[d])!==null&&l!==void 0?l:s};return t&&Object.hasOwn(t,"_usept")?{_usept:t._usept,originalValue:i(t.originalValue),value:i(t.value)}:i(t)},_usePT:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,a=function(C){return r(C,i,o)};if(n&&Object.hasOwn(n,"_usept")){var l,s=n._usept||((l=t.$primevueConfig)===null||l===void 0?void 0:l.ptOptions)||{},d=s.mergeSections,u=d===void 0?!0:d,c=s.mergeProps,f=c===void 0?!1:c,p=a(n.originalValue),m=a(n.value);return p===void 0&&m===void 0?void 0:ut(m)?m:ut(p)?p:u||!u&&m?f?me._mergeProps(t,f,p,m):ke(ke({},p),m):m}return a(n)},_useDefaultPT:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return me._usePT(t,n,r,i,o)},_loadStyles:function(){var t,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,o=me._getConfig(r,i),a={nonce:o==null||(t=o.csp)===null||t===void 0?void 0:t.nonce};me._loadCoreStyles(n,a),me._loadThemeStyles(n,a),me._loadScopedThemeStyles(n,a),me._removeThemeListeners(n),n.$loadStyles=function(){return me._loadThemeStyles(n,a)},me._themeChangeListener(n.$loadStyles)},_loadCoreStyles:function(){var t,n,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(!cn.isStyleNameLoaded((t=r.$style)===null||t===void 0?void 0:t.name)&&(n=r.$style)!==null&&n!==void 0&&n.name){var o;ge.loadCSS(i),(o=r.$style)===null||o===void 0||o.loadCSS(i),cn.setLoadedStyleName(r.$style.name)}},_loadThemeStyles:function(){var t,n,r,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(!(i!=null&&i.isUnstyled()||(i==null||(t=i.theme)===null||t===void 0?void 0:t.call(i))==="none")){if(!Re.isStyleNameLoaded("common")){var a,l,s=((a=i.$style)===null||a===void 0||(l=a.getCommonTheme)===null||l===void 0?void 0:l.call(a))||{},d=s.primitive,u=s.semantic,c=s.global,f=s.style;ge.load(d==null?void 0:d.css,ke({name:"primitive-variables"},o)),ge.load(u==null?void 0:u.css,ke({name:"semantic-variables"},o)),ge.load(c==null?void 0:c.css,ke({name:"global-variables"},o)),ge.loadStyle(ke({name:"global-style"},o),f),Re.setLoadedStyleName("common")}if(!Re.isStyleNameLoaded((n=i.$style)===null||n===void 0?void 0:n.name)&&(r=i.$style)!==null&&r!==void 0&&r.name){var p,m,v,C,S=((p=i.$style)===null||p===void 0||(m=p.getDirectiveTheme)===null||m===void 0?void 0:m.call(p))||{},x=S.css,T=S.style;(v=i.$style)===null||v===void 0||v.load(x,ke({name:"".concat(i.$style.name,"-variables")},o)),(C=i.$style)===null||C===void 0||C.loadStyle(ke({name:"".concat(i.$style.name,"-style")},o),T),Re.setLoadedStyleName(i.$style.name)}if(!Re.isStyleNameLoaded("layer-order")){var w,F,G=(w=i.$style)===null||w===void 0||(F=w.getLayerOrderThemeCSS)===null||F===void 0?void 0:F.call(w);ge.load(G,ke({name:"layer-order",first:!0},o)),Re.setLoadedStyleName("layer-order")}}},_loadScopedThemeStyles:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=t.preset();if(r&&t.$attrSelector){var i,o,a,l=((i=t.$style)===null||i===void 0||(o=i.getPresetTheme)===null||o===void 0?void 0:o.call(i,r,"[".concat(t.$attrSelector,"]")))||{},s=l.css,d=(a=t.$style)===null||a===void 0?void 0:a.load(s,ke({name:"".concat(t.$attrSelector,"-").concat(t.$style.name)},n));t.scopedStyleEl=d.el}},_themeChangeListener:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(){};cn.clearLoadedStyleNames(),qe.on("theme:change",t)},_removeThemeListeners:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};qe.off("theme:change",t.$loadStyles)},_hook:function(t,n,r,i,o,a){var l,s,d="on".concat(kg(n)),u=me._getConfig(i,o),c=r==null?void 0:r.$instance,f=me._usePT(c,me._getPT(i==null||(l=i.value)===null||l===void 0?void 0:l.pt,t),me._getOptionValue,"hooks.".concat(d)),p=me._useDefaultPT(c,u==null||(s=u.pt)===null||s===void 0||(s=s.directives)===null||s===void 0?void 0:s[t],me._getOptionValue,"hooks.".concat(d)),m={el:r,binding:i,vnode:o,prevVnode:a};f==null||f(c,m),p==null||p(c,m)},_mergeProps:function(){for(var t=arguments.length>1?arguments[1]:void 0,n=arguments.length,r=new Array(n>2?n-2:0),i=2;i1&&arguments[1]!==void 0?arguments[1]:{},r=function(l,s,d,u,c){var f,p,m,v;s._$instances=s._$instances||{};var C=me._getConfig(d,u),S=s._$instances[t]||{},x=bt(S)?ke(ke({},n),n==null?void 0:n.methods):{};s._$instances[t]=ke(ke({},S),{},{$name:t,$host:s,$binding:d,$modifiers:d==null?void 0:d.modifiers,$value:d==null?void 0:d.value,$el:S.$el||s||void 0,$style:ke({classes:void 0,inlineStyles:void 0,load:function(){},loadCSS:function(){},loadStyle:function(){}},n==null?void 0:n.style),$primevueConfig:C,$attrSelector:(f=s.$pd)===null||f===void 0||(f=f[t])===null||f===void 0?void 0:f.attrSelector,defaultPT:function(){return me._getPT(C==null?void 0:C.pt,void 0,function(w){var F;return w==null||(F=w.directives)===null||F===void 0?void 0:F[t]})},isUnstyled:function(){var w,F;return((w=s._$instances[t])===null||w===void 0||(w=w.$binding)===null||w===void 0||(w=w.value)===null||w===void 0?void 0:w.unstyled)!==void 0?(F=s._$instances[t])===null||F===void 0||(F=F.$binding)===null||F===void 0||(F=F.value)===null||F===void 0?void 0:F.unstyled:C==null?void 0:C.unstyled},theme:function(){var w;return(w=s._$instances[t])===null||w===void 0||(w=w.$primevueConfig)===null||w===void 0?void 0:w.theme},preset:function(){var w;return(w=s._$instances[t])===null||w===void 0||(w=w.$binding)===null||w===void 0||(w=w.value)===null||w===void 0?void 0:w.dt},ptm:function(){var w,F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return me._getPTValue(s._$instances[t],(w=s._$instances[t])===null||w===void 0||(w=w.$binding)===null||w===void 0||(w=w.value)===null||w===void 0?void 0:w.pt,F,ke({},G))},ptmo:function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return me._getPTValue(s._$instances[t],w,F,G,!1)},cx:function(){var w,F,G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(w=s._$instances[t])!==null&&w!==void 0&&w.isUnstyled()?void 0:me._getOptionValue((F=s._$instances[t])===null||F===void 0||(F=F.$style)===null||F===void 0?void 0:F.classes,G,ke({},E))},sx:function(){var w,F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return G?me._getOptionValue((w=s._$instances[t])===null||w===void 0||(w=w.$style)===null||w===void 0?void 0:w.inlineStyles,F,ke({},E)):void 0}},x),s.$instance=s._$instances[t],(p=(m=s.$instance)[l])===null||p===void 0||p.call(m,s,d,u,c),s["$".concat(t)]=s.$instance,me._hook(t,l,s,d,u,c),s.$pd||(s.$pd={}),s.$pd[t]=ke(ke({},(v=s.$pd)===null||v===void 0?void 0:v[t]),{},{name:t,instance:s._$instances[t]})},i=function(l){var s,d,u,c=l._$instances[t],f=c==null?void 0:c.watch,p=function(C){var S,x=C.newValue,T=C.oldValue;return f==null||(S=f.config)===null||S===void 0?void 0:S.call(c,x,T)},m=function(C){var S,x=C.newValue,T=C.oldValue;return f==null||(S=f["config.ripple"])===null||S===void 0?void 0:S.call(c,x,T)};c.$watchersCallback={config:p,"config.ripple":m},f==null||(s=f.config)===null||s===void 0||s.call(c,c==null?void 0:c.$primevueConfig),pn.on("config:change",p),f==null||(d=f["config.ripple"])===null||d===void 0||d.call(c,c==null||(u=c.$primevueConfig)===null||u===void 0?void 0:u.ripple),pn.on("config:ripple:change",m)},o=function(l){var s=l._$instances[t].$watchersCallback;s&&(pn.off("config:change",s.config),pn.off("config:ripple:change",s["config.ripple"]))};return{created:function(l,s,d,u){l.$pd||(l.$pd={}),l.$pd[t]={name:t,attrSelector:Fg("pd")},r("created",l,s,d,u)},beforeMount:function(l,s,d,u){var c;me._loadStyles((c=l.$pd[t])===null||c===void 0?void 0:c.instance,s,d),r("beforeMount",l,s,d,u),i(l)},mounted:function(l,s,d,u){var c;me._loadStyles((c=l.$pd[t])===null||c===void 0?void 0:c.instance,s,d),r("mounted",l,s,d,u)},beforeUpdate:function(l,s,d,u){r("beforeUpdate",l,s,d,u)},updated:function(l,s,d,u){var c;me._loadStyles((c=l.$pd[t])===null||c===void 0?void 0:c.instance,s,d),r("updated",l,s,d,u)},beforeUnmount:function(l,s,d,u){var c;o(l),me._removeThemeListeners((c=l.$pd[t])===null||c===void 0?void 0:c.instance),r("beforeUnmount",l,s,d,u)},unmounted:function(l,s,d,u){var c;(c=l.$pd[t])===null||c===void 0||(c=c.instance)===null||c===void 0||(c=c.scopedStyleEl)===null||c===void 0||(c=c.value)===null||c===void 0||c.remove(),r("unmounted",l,s,d,u)}}},extend:function(){var t=me._getMeta.apply(me,arguments),n=js(t,2),r=n[0],i=n[1];return ke({extend:function(){var a=me._getMeta.apply(me,arguments),l=js(a,2),s=l[0],d=l[1];return me.extend(s,ke(ke(ke({},i),i==null?void 0:i.methods),d))}},me._extend(r,i))}},Tm=({dt:e})=>` -.p-ink { - display: block; - position: absolute; - background: ${e("ripple.background")}; - border-radius: 100%; - transform: scale(0); - pointer-events: none; -} - -.p-ink-active { - animation: ripple 0.4s linear; -} - -@keyframes ripple { - 100% { - opacity: 0; - transform: scale(2.5); - } -} -`,Bm={root:"p-ink"},Mm=ge.extend({name:"ripple-directive",style:Tm,classes:Bm}),Dm=me.extend({style:Mm});function Gr(e){"@babel/helpers - typeof";return Gr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gr(e)}function Em(e){return zm(e)||Am(e)||Fm(e)||Lm()}function Lm(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fm(e,t){if(e){if(typeof e=="string")return Ta(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ta(e,t):void 0}}function Am(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zm(e){if(Array.isArray(e))return Ta(e)}function Ta(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:function(){};Hm(this,e),this.element=t,this.listener=n}return Nm(e,[{key:"bindScrollListener",value:function(){this.scrollableParents=Dg(this.element);for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&arguments[0]!==void 0?arguments[0]:[],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],o=[];return i.forEach(function(a){a.children instanceof Array?o=o.concat(n._recursive(o,a.children)):a.type.name===n.type?o.push(a):ue(a.key)&&(o=o.concat(r.filter(function(l){return n._isMatched(l,a.key)}).map(function(l){return l.vnode})))}),o}}])}();function vn(e,t){if(e){var n=e.props;if(n){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i=Object.prototype.hasOwnProperty.call(n,r)?r:t;return e.type.extends.props[t].type===Boolean&&n[i]===""?!0:n[i]}}return null}var ar={name:"SpinnerIcon",extends:Se};function tb(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",fill:"currentColor"},null,-1)]),16)}ar.render=tb;var kc={name:"TimesCircleIcon",extends:Se};function nb(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z",fill:"currentColor"},null,-1)]),16)}kc.render=nb;var rb=({dt:e})=>` -.p-chip { - display: inline-flex; - align-items: center; - background: ${e("chip.background")}; - color: ${e("chip.color")}; - border-radius: ${e("chip.border.radius")}; - padding-block: ${e("chip.padding.y")}; - padding-inline: ${e("chip.padding.x")}; - gap: ${e("chip.gap")}; -} - -.p-chip-icon { - color: ${e("chip.icon.color")}; - font-size: ${e("chip.icon.font.size")}; - width: ${e("chip.icon.size")}; - height: ${e("chip.icon.size")}; -} - -.p-chip-image { - border-radius: 50%; - width: ${e("chip.image.width")}; - height: ${e("chip.image.height")}; - margin-inline-start: calc(-1 * ${e("chip.padding.y")}); -} - -.p-chip:has(.p-chip-remove-icon) { - padding-inline-end: ${e("chip.padding.y")}; -} - -.p-chip:has(.p-chip-image) { - padding-block-start: calc(${e("chip.padding.y")} / 2); - padding-block-end: calc(${e("chip.padding.y")} / 2); -} - -.p-chip-remove-icon { - cursor: pointer; - font-size: ${e("chip.remove.icon.size")}; - width: ${e("chip.remove.icon.size")}; - height: ${e("chip.remove.icon.size")}; - color: ${e("chip.remove.icon.color")}; - border-radius: 50%; - transition: outline-color ${e("chip.transition.duration")}, box-shadow ${e("chip.transition.duration")}; - outline-color: transparent; -} - -.p-chip-remove-icon:focus-visible { - box-shadow: ${e("chip.remove.icon.focus.ring.shadow")}; - outline: ${e("chip.remove.icon.focus.ring.width")} ${e("chip.remove.icon.focus.ring.style")} ${e("chip.remove.icon.focus.ring.color")}; - outline-offset: ${e("chip.remove.icon.focus.ring.offset")}; -} -`,ob={root:"p-chip p-component",image:"p-chip-image",icon:"p-chip-icon",label:"p-chip-label",removeIcon:"p-chip-remove-icon"},ib=ge.extend({name:"chip",style:rb,classes:ob}),ab={name:"BaseChip",extends:Ce,props:{label:{type:String,default:null},icon:{type:String,default:null},image:{type:String,default:null},removable:{type:Boolean,default:!1},removeIcon:{type:String,default:void 0}},style:ib,provide:function(){return{$pcChip:this,$parentInstance:this}}},Cc={name:"Chip",extends:ab,inheritAttrs:!1,emits:["remove"],data:function(){return{visible:!0}},methods:{onKeydown:function(t){(t.key==="Enter"||t.key==="Backspace")&&this.close(t)},close:function(t){this.visible=!1,this.$emit("remove",t)}},components:{TimesCircleIcon:kc}},lb=["aria-label"],sb=["src"];function ub(e,t,n,r,i,o){return i.visible?(h(),b("div",g({key:0,class:e.cx("root"),"aria-label":e.label},e.ptmi("root")),[D(e.$slots,"default",{},function(){return[e.image?(h(),b("img",g({key:0,src:e.image},e.ptm("image"),{class:e.cx("image")}),null,16,sb)):e.$slots.icon?(h(),$(ee(e.$slots.icon),g({key:1,class:e.cx("icon")},e.ptm("icon")),null,16,["class"])):e.icon?(h(),b("span",g({key:2,class:[e.cx("icon"),e.icon]},e.ptm("icon")),null,16)):P("",!0),e.label?(h(),b("div",g({key:3,class:e.cx("label")},e.ptm("label")),oe(e.label),17)):P("",!0)]}),e.removable?D(e.$slots,"removeicon",{key:0,removeCallback:o.close,keydownCallback:o.onKeydown},function(){return[(h(),$(ee(e.removeIcon?"span":"TimesCircleIcon"),g({class:[e.cx("removeIcon"),e.removeIcon],onClick:o.close,onKeydown:o.onKeydown},e.ptm("removeIcon")),null,16,["class","onClick","onKeydown"]))]}):P("",!0)],16,lb)):P("",!0)}Cc.render=ub;var Sc={name:"BaseEditableHolder",extends:Ce,emits:["update:modelValue","value-change"],props:{modelValue:{type:null,default:void 0},defaultValue:{type:null,default:void 0},name:{type:String,default:void 0},invalid:{type:Boolean,default:void 0},disabled:{type:Boolean,default:!1},formControl:{type:Object,default:void 0}},inject:{$parentInstance:{default:void 0},$pcForm:{default:void 0},$pcFormField:{default:void 0}},data:function(){return{d_value:this.defaultValue||this.modelValue}},watch:{modelValue:function(t){this.d_value=t},defaultValue:function(t){this.d_value=t},$formName:{immediate:!0,handler:function(t){var n,r;this.formField=((n=this.$pcForm)===null||n===void 0||(r=n.register)===null||r===void 0?void 0:r.call(n,t,this.$formControl))||{}}},$formControl:{immediate:!0,handler:function(t){var n,r;this.formField=((n=this.$pcForm)===null||n===void 0||(r=n.register)===null||r===void 0?void 0:r.call(n,this.$formName,t))||{}}},$formDefaultValue:{immediate:!0,handler:function(t){this.d_value!==t&&(this.d_value=t)}},$formValue:{immediate:!1,handler:function(t){var n;(n=this.$pcForm)!==null&&n!==void 0&&n.getFieldState(this.$formName)&&t!==this.d_value&&(this.d_value=t)}}},formField:{},methods:{writeValue:function(t,n){var r,i;this.controlled&&(this.d_value=t,this.$emit("update:modelValue",t)),this.$emit("value-change",t),(r=(i=this.formField).onChange)===null||r===void 0||r.call(i,{originalEvent:n,value:t})},findNonEmpty:function(){for(var t=arguments.length,n=new Array(t),r=0;r` -.p-inputtext { - font-family: inherit; - font-feature-settings: inherit; - font-size: 1rem; - color: ${e("inputtext.color")}; - background: ${e("inputtext.background")}; - padding-block: ${e("inputtext.padding.y")}; - padding-inline: ${e("inputtext.padding.x")}; - border: 1px solid ${e("inputtext.border.color")}; - transition: background ${e("inputtext.transition.duration")}, color ${e("inputtext.transition.duration")}, border-color ${e("inputtext.transition.duration")}, outline-color ${e("inputtext.transition.duration")}, box-shadow ${e("inputtext.transition.duration")}; - appearance: none; - border-radius: ${e("inputtext.border.radius")}; - outline-color: transparent; - box-shadow: ${e("inputtext.shadow")}; -} - -.p-inputtext:enabled:hover { - border-color: ${e("inputtext.hover.border.color")}; -} - -.p-inputtext:enabled:focus { - border-color: ${e("inputtext.focus.border.color")}; - box-shadow: ${e("inputtext.focus.ring.shadow")}; - outline: ${e("inputtext.focus.ring.width")} ${e("inputtext.focus.ring.style")} ${e("inputtext.focus.ring.color")}; - outline-offset: ${e("inputtext.focus.ring.offset")}; -} - -.p-inputtext.p-invalid { - border-color: ${e("inputtext.invalid.border.color")}; -} - -.p-inputtext.p-variant-filled { - background: ${e("inputtext.filled.background")}; -} - -.p-inputtext.p-variant-filled:enabled:hover { - background: ${e("inputtext.filled.hover.background")}; -} - -.p-inputtext.p-variant-filled:enabled:focus { - background: ${e("inputtext.filled.focus.background")}; -} - -.p-inputtext:disabled { - opacity: 1; - background: ${e("inputtext.disabled.background")}; - color: ${e("inputtext.disabled.color")}; -} - -.p-inputtext::placeholder { - color: ${e("inputtext.placeholder.color")}; -} - -.p-inputtext.p-invalid::placeholder { - color: ${e("inputtext.invalid.placeholder.color")}; -} - -.p-inputtext-sm { - font-size: ${e("inputtext.sm.font.size")}; - padding-block: ${e("inputtext.sm.padding.y")}; - padding-inline: ${e("inputtext.sm.padding.x")}; -} - -.p-inputtext-lg { - font-size: ${e("inputtext.lg.font.size")}; - padding-block: ${e("inputtext.lg.padding.y")}; - padding-inline: ${e("inputtext.lg.padding.x")}; -} - -.p-inputtext-fluid { - width: 100%; -} -`,cb={root:function(t){var n=t.instance,r=t.props;return["p-inputtext p-component",{"p-filled":n.$filled,"p-inputtext-sm p-inputfield-sm":r.size==="small","p-inputtext-lg p-inputfield-lg":r.size==="large","p-invalid":n.$invalid,"p-variant-filled":n.$variant==="filled","p-inputtext-fluid":n.$fluid}]}},fb=ge.extend({name:"inputtext",style:db,classes:cb}),pb={name:"BaseInputText",extends:yn,style:fb,provide:function(){return{$pcInputText:this,$parentInstance:this}}},lr={name:"InputText",extends:pb,inheritAttrs:!1,methods:{onInput:function(t){this.writeValue(t.target.value,t)}},computed:{attrs:function(){return g(this.ptmi("root",{context:{filled:this.$filled,disabled:this.disabled}}),this.formField)}}},hb=["value","name","disabled","aria-invalid"];function gb(e,t,n,r,i,o){return h(),b("input",g({type:"text",class:e.cx("root"),value:e.d_value,name:e.name,disabled:e.disabled,"aria-invalid":e.$invalid||void 0,onInput:t[0]||(t[0]=function(){return o.onInput&&o.onInput.apply(o,arguments)})},o.attrs),null,16,hb)}lr.render=gb;var Ht=pl(),sr={name:"Portal",props:{appendTo:{type:[String,Object],default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{mounted:!1}},mounted:function(){this.mounted=dc()},computed:{inline:function(){return this.disabled||this.appendTo==="self"}}};function mb(e,t,n,r,i,o){return o.inline?D(e.$slots,"default",{key:0}):i.mounted?(h(),$(Ip,{key:1,to:n.appendTo},[D(e.$slots,"default")],8,["to"])):P("",!0)}sr.render=mb;var bb=({dt:e})=>` -.p-virtualscroller-loader { - background: ${e("virtualscroller.loader.mask.background")}; - color: ${e("virtualscroller.loader.mask.color")}; -} - -.p-virtualscroller-loading-icon { - font-size: ${e("virtualscroller.loader.icon.size")}; - width: ${e("virtualscroller.loader.icon.size")}; - height: ${e("virtualscroller.loader.icon.size")}; -} -`,vb=` -.p-virtualscroller { - position: relative; - overflow: auto; - contain: strict; - transform: translateZ(0); - will-change: scroll-position; - outline: 0 none; -} - -.p-virtualscroller-content { - position: absolute; - top: 0; - left: 0; - min-height: 100%; - min-width: 100%; - will-change: transform; -} - -.p-virtualscroller-spacer { - position: absolute; - top: 0; - left: 0; - height: 1px; - width: 1px; - transform-origin: 0 0; - pointer-events: none; -} - -.p-virtualscroller-loader { - position: sticky; - top: 0; - left: 0; - width: 100%; - height: 100%; -} - -.p-virtualscroller-loader-mask { - display: flex; - align-items: center; - justify-content: center; -} - -.p-virtualscroller-horizontal > .p-virtualscroller-content { - display: flex; -} - -.p-virtualscroller-inline .p-virtualscroller-content { - position: static; -} -`,Gs=ge.extend({name:"virtualscroller",css:vb,style:bb}),yb={name:"BaseVirtualScroller",extends:Ce,props:{id:{type:String,default:null},style:null,class:null,items:{type:Array,default:null},itemSize:{type:[Number,Array],default:0},scrollHeight:null,scrollWidth:null,orientation:{type:String,default:"vertical"},numToleratedItems:{type:Number,default:null},delay:{type:Number,default:0},resizeDelay:{type:Number,default:10},lazy:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loaderDisabled:{type:Boolean,default:!1},columns:{type:Array,default:null},loading:{type:Boolean,default:!1},showSpacer:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!1},tabindex:{type:Number,default:0},inline:{type:Boolean,default:!1},step:{type:Number,default:0},appendOnly:{type:Boolean,default:!1},autoSize:{type:Boolean,default:!1}},style:Gs,provide:function(){return{$pcVirtualScroller:this,$parentInstance:this}},beforeMount:function(){var t;Gs.loadCSS({nonce:(t=this.$primevueConfig)===null||t===void 0||(t=t.csp)===null||t===void 0?void 0:t.nonce})}};function _r(e){"@babel/helpers - typeof";return _r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_r(e)}function Us(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function mr(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"auto",i=this.isBoth(),o=this.isHorizontal(),a=i?t.every(function(E){return E>-1}):t>-1;if(a){var l=this.first,s=this.element,d=s.scrollTop,u=d===void 0?0:d,c=s.scrollLeft,f=c===void 0?0:c,p=this.calculateNumItems(),m=p.numToleratedItems,v=this.getContentPosition(),C=this.itemSize,S=function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,z=arguments.length>1?arguments[1]:void 0;return K<=z?0:K},x=function(K,z,J){return K*z+J},T=function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return n.scrollTo({left:K,top:z,behavior:r})},w=i?{rows:0,cols:0}:0,F=!1,G=!1;i?(w={rows:S(t[0],m[0]),cols:S(t[1],m[1])},T(x(w.cols,C[1],v.left),x(w.rows,C[0],v.top)),G=this.lastScrollPos.top!==u||this.lastScrollPos.left!==f,F=w.rows!==l.rows||w.cols!==l.cols):(w=S(t,m),o?T(x(w,C,v.left),u):T(f,x(w,C,v.top)),G=this.lastScrollPos!==(o?f:u),F=w!==l),this.isRangeChanged=F,G&&(this.first=w)}},scrollInView:function(t,n){var r=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"auto";if(n){var o=this.isBoth(),a=this.isHorizontal(),l=o?t.every(function(C){return C>-1}):t>-1;if(l){var s=this.getRenderedRange(),d=s.first,u=s.viewport,c=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return r.scrollTo({left:S,top:x,behavior:i})},f=n==="to-start",p=n==="to-end";if(f){if(o)u.first.rows-d.rows>t[0]?c(u.first.cols*this.itemSize[1],(u.first.rows-1)*this.itemSize[0]):u.first.cols-d.cols>t[1]&&c((u.first.cols-1)*this.itemSize[1],u.first.rows*this.itemSize[0]);else if(u.first-d>t){var m=(u.first-1)*this.itemSize;a?c(m,0):c(0,m)}}else if(p){if(o)u.last.rows-d.rows<=t[0]+1?c(u.first.cols*this.itemSize[1],(u.first.rows+1)*this.itemSize[0]):u.last.cols-d.cols<=t[1]+1&&c((u.first.cols+1)*this.itemSize[1],u.first.rows*this.itemSize[0]);else if(u.last-d<=t+1){var v=(u.first+1)*this.itemSize;a?c(v,0):c(0,v)}}}}else this.scrollToIndex(t,i)},getRenderedRange:function(){var t=function(c,f){return Math.floor(c/(f||c))},n=this.first,r=0;if(this.element){var i=this.isBoth(),o=this.isHorizontal(),a=this.element,l=a.scrollTop,s=a.scrollLeft;if(i)n={rows:t(l,this.itemSize[0]),cols:t(s,this.itemSize[1])},r={rows:n.rows+this.numItemsInViewport.rows,cols:n.cols+this.numItemsInViewport.cols};else{var d=o?s:l;n=t(d,this.itemSize),r=n+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:n,last:r}}},calculateNumItems:function(){var t=this.isBoth(),n=this.isHorizontal(),r=this.itemSize,i=this.getContentPosition(),o=this.element?this.element.offsetWidth-i.left:0,a=this.element?this.element.offsetHeight-i.top:0,l=function(f,p){return Math.ceil(f/(p||f))},s=function(f){return Math.ceil(f/2)},d=t?{rows:l(a,r[0]),cols:l(o,r[1])}:l(n?o:a,r),u=this.d_numToleratedItems||(t?[s(d.rows),s(d.cols)]:s(d));return{numItemsInViewport:d,numToleratedItems:u}},calculateOptions:function(){var t=this,n=this.isBoth(),r=this.first,i=this.calculateNumItems(),o=i.numItemsInViewport,a=i.numToleratedItems,l=function(u,c,f){var p=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.getLast(u+c+(u0&&arguments[0]!==void 0?arguments[0]:0,i=arguments.length>1?arguments[1]:void 0;return this.items?Math.min(i?((t=this.columns||this.items[0])===null||t===void 0?void 0:t.length)||0:((n=this.items)===null||n===void 0?void 0:n.length)||0,r):0},getContentPosition:function(){if(this.content){var t=getComputedStyle(this.content),n=parseFloat(t.paddingLeft)+Math.max(parseFloat(t.left)||0,0),r=parseFloat(t.paddingRight)+Math.max(parseFloat(t.right)||0,0),i=parseFloat(t.paddingTop)+Math.max(parseFloat(t.top)||0,0),o=parseFloat(t.paddingBottom)+Math.max(parseFloat(t.bottom)||0,0);return{left:n,right:r,top:i,bottom:o,x:n+r,y:i+o}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}},setSize:function(){var t=this;if(this.element){var n=this.isBoth(),r=this.isHorizontal(),i=this.element.parentElement,o=this.scrollWidth||"".concat(this.element.offsetWidth||i.offsetWidth,"px"),a=this.scrollHeight||"".concat(this.element.offsetHeight||i.offsetHeight,"px"),l=function(d,u){return t.element.style[d]=u};n||r?(l("height",a),l("width",o)):l("height",a)}},setSpacerSize:function(){var t=this,n=this.items;if(n){var r=this.isBoth(),i=this.isHorizontal(),o=this.getContentPosition(),a=function(s,d,u){var c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return t.spacerStyle=mr(mr({},t.spacerStyle),$c({},"".concat(s),(d||[]).length*u+c+"px"))};r?(a("height",n,this.itemSize[0],o.y),a("width",this.columns||n[1],this.itemSize[1],o.x)):i?a("width",this.columns||n,this.itemSize,o.x):a("height",n,this.itemSize,o.y)}},setContentPosition:function(t){var n=this;if(this.content&&!this.appendOnly){var r=this.isBoth(),i=this.isHorizontal(),o=t?t.first:this.first,a=function(u,c){return u*c},l=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return n.contentStyle=mr(mr({},n.contentStyle),{transform:"translate3d(".concat(u,"px, ").concat(c,"px, 0)")})};if(r)l(a(o.cols,this.itemSize[1]),a(o.rows,this.itemSize[0]));else{var s=a(o,this.itemSize);i?l(s,0):l(0,s)}}},onScrollPositionChange:function(t){var n=this,r=t.target,i=this.isBoth(),o=this.isHorizontal(),a=this.getContentPosition(),l=function(N,H){return N?N>H?N-H:N:0},s=function(N,H){return Math.floor(N/(H||N))},d=function(N,H,le,fe,ye,M){return N<=ye?ye:M?le-fe-ye:H+ye-1},u=function(N,H,le,fe,ye,M,O,R){if(N<=M)return 0;var Q=Math.max(0,O?NH?le:N-2*M),re=n.getLast(Q,R);return Q>re?re-ye:Q},c=function(N,H,le,fe,ye,M){var O=H+fe+2*ye;return N>=ye&&(O+=ye+1),n.getLast(O,M)},f=l(r.scrollTop,a.top),p=l(r.scrollLeft,a.left),m=i?{rows:0,cols:0}:0,v=this.last,C=!1,S=this.lastScrollPos;if(i){var x=this.lastScrollPos.top<=f,T=this.lastScrollPos.left<=p;if(!this.appendOnly||this.appendOnly&&(x||T)){var w={rows:s(f,this.itemSize[0]),cols:s(p,this.itemSize[1])},F={rows:d(w.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],x),cols:d(w.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],T)};m={rows:u(w.rows,F.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],x),cols:u(w.cols,F.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],T,!0)},v={rows:c(w.rows,m.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:c(w.cols,m.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},C=m.rows!==this.first.rows||v.rows!==this.last.rows||m.cols!==this.first.cols||v.cols!==this.last.cols||this.isRangeChanged,S={top:f,left:p}}}else{var G=o?p:f,E=this.lastScrollPos<=G;if(!this.appendOnly||this.appendOnly&&E){var K=s(G,this.itemSize),z=d(K,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,E);m=u(K,z,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,E),v=c(K,m,this.last,this.numItemsInViewport,this.d_numToleratedItems),C=m!==this.first||v!==this.last||this.isRangeChanged,S=G}}return{first:m,last:v,isRangeChanged:C,scrollPos:S}},onScrollChange:function(t){var n=this.onScrollPositionChange(t),r=n.first,i=n.last,o=n.isRangeChanged,a=n.scrollPos;if(o){var l={first:r,last:i};if(this.setContentPosition(l),this.first=r,this.last=i,this.lastScrollPos=a,this.$emit("scroll-index-change",l),this.lazy&&this.isPageChanged(r)){var s,d,u={first:this.step?Math.min(this.getPageByFirst(r)*this.step,(((s=this.items)===null||s===void 0?void 0:s.length)||0)-this.step):r,last:Math.min(this.step?(this.getPageByFirst(r)+1)*this.step:i,((d=this.items)===null||d===void 0?void 0:d.length)-1||0)},c=this.lazyLoadState.first!==u.first||this.lazyLoadState.last!==u.last;c&&this.$emit("lazy-load",u),this.lazyLoadState=u}}},onScroll:function(t){var n=this;if(this.$emit("scroll",t),this.delay){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.isPageChanged()){if(!this.d_loading&&this.showLoader){var r=this.onScrollPositionChange(t),i=r.isRangeChanged,o=i||(this.step?this.isPageChanged():!1);o&&(this.d_loading=!0)}this.scrollTimeout=setTimeout(function(){n.onScrollChange(t),n.d_loading&&n.showLoader&&(!n.lazy||n.loading===void 0)&&(n.d_loading=!1,n.page=n.getPageByFirst())},this.delay)}}else this.onScrollChange(t)},onResize:function(){var t=this;this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){if(li(t.element)){var n=t.isBoth(),r=t.isVertical(),i=t.isHorizontal(),o=[Rn(t.element),Pn(t.element)],a=o[0],l=o[1],s=a!==t.defaultWidth,d=l!==t.defaultHeight,u=n?s||d:i?s:r?d:!1;u&&(t.d_numToleratedItems=t.numToleratedItems,t.defaultWidth=a,t.defaultHeight=l,t.defaultContentWidth=Rn(t.content),t.defaultContentHeight=Pn(t.content),t.init())}},this.resizeDelay)},bindResizeListener:function(){this.resizeListener||(this.resizeListener=this.onResize.bind(this),window.addEventListener("resize",this.resizeListener),window.addEventListener("orientationchange",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),window.removeEventListener("orientationchange",this.resizeListener),this.resizeListener=null)},getOptions:function(t){var n=(this.items||[]).length,r=this.isBoth()?this.first.rows+t:this.first+t;return{index:r,count:n,first:r===0,last:r===n-1,even:r%2===0,odd:r%2!==0}},getLoaderOptions:function(t,n){var r=this.loaderArr.length;return mr({index:t,count:r,first:t===0,last:t===r-1,even:t%2===0,odd:t%2!==0},n)},getPageByFirst:function(t){return Math.floor(((t??this.first)+this.d_numToleratedItems*4)/(this.step||1))},isPageChanged:function(t){return this.step&&!this.lazy?this.page!==this.getPageByFirst(t??this.first):!0},setContentEl:function(t){this.content=t||this.content||We(this.element,'[data-pc-section="content"]')},elementRef:function(t){this.element=t},contentRef:function(t){this.content=t}},computed:{containerClass:function(){return["p-virtualscroller",this.class,{"p-virtualscroller-inline":this.inline,"p-virtualscroller-both p-both-scroll":this.isBoth(),"p-virtualscroller-horizontal p-horizontal-scroll":this.isHorizontal()}]},contentClass:function(){return["p-virtualscroller-content",{"p-virtualscroller-loading":this.d_loading}]},loaderClass:function(){return["p-virtualscroller-loader",{"p-virtualscroller-loader-mask":!this.$slots.loader}]},loadedItems:function(){var t=this;return this.items&&!this.d_loading?this.isBoth()?this.items.slice(this.appendOnly?0:this.first.rows,this.last.rows).map(function(n){return t.columns?n:n.slice(t.appendOnly?0:t.first.cols,t.last.cols)}):this.isHorizontal()&&this.columns?this.items:this.items.slice(this.appendOnly?0:this.first,this.last):[]},loadedRows:function(){return this.d_loading?this.loaderDisabled?this.loaderArr:[]:this.loadedItems},loadedColumns:function(){if(this.columns){var t=this.isBoth(),n=this.isHorizontal();if(t||n)return this.d_loading&&this.loaderDisabled?t?this.loaderArr[0]:this.loaderArr:this.columns.slice(t?this.first.cols:this.first,t?this.last.cols:this.last)}return this.columns}},components:{SpinnerIcon:ar}},Cb=["tabindex"];function Sb(e,t,n,r,i,o){var a=q("SpinnerIcon");return e.disabled?(h(),b(Z,{key:1},[D(e.$slots,"default"),D(e.$slots,"content",{items:e.items,rows:e.items,columns:o.loadedColumns})],64)):(h(),b("div",g({key:0,ref:o.elementRef,class:o.containerClass,tabindex:e.tabindex,style:e.style,onScroll:t[0]||(t[0]=function(){return o.onScroll&&o.onScroll.apply(o,arguments)})},e.ptmi("root")),[D(e.$slots,"content",{styleClass:o.contentClass,items:o.loadedItems,getItemOptions:o.getOptions,loading:i.d_loading,getLoaderOptions:o.getLoaderOptions,itemSize:e.itemSize,rows:o.loadedRows,columns:o.loadedColumns,contentRef:o.contentRef,spacerStyle:i.spacerStyle,contentStyle:i.contentStyle,vertical:o.isVertical(),horizontal:o.isHorizontal(),both:o.isBoth()},function(){return[B("div",g({ref:o.contentRef,class:o.contentClass,style:i.contentStyle},e.ptm("content")),[(h(!0),b(Z,null,Oe(o.loadedItems,function(l,s){return D(e.$slots,"item",{key:s,item:l,options:o.getOptions(s)})}),128))],16)]}),e.showSpacer?(h(),b("div",g({key:0,class:"p-virtualscroller-spacer",style:i.spacerStyle},e.ptm("spacer")),null,16)):P("",!0),!e.loaderDisabled&&e.showLoader&&i.d_loading?(h(),b("div",g({key:1,class:o.loaderClass},e.ptm("loader")),[e.$slots&&e.$slots.loader?(h(!0),b(Z,{key:0},Oe(i.loaderArr,function(l,s){return D(e.$slots,"loader",{key:s,options:o.getLoaderOptions(s,o.isBoth()&&{numCols:e.d_numItemsInViewport.cols})})}),128)):P("",!0),D(e.$slots,"loadingicon",{},function(){return[ne(a,g({spin:"",class:"p-virtualscroller-loading-icon"},e.ptm("loadingIcon")),null,16)]})],16)):P("",!0)],16,Cb))}Li.render=Sb;var $b=({dt:e})=>` -.p-badge { - display: inline-flex; - border-radius: ${e("badge.border.radius")}; - align-items: center; - justify-content: center; - padding: ${e("badge.padding")}; - background: ${e("badge.primary.background")}; - color: ${e("badge.primary.color")}; - font-size: ${e("badge.font.size")}; - font-weight: ${e("badge.font.weight")}; - min-width: ${e("badge.min.width")}; - height: ${e("badge.height")}; -} - -.p-badge-dot { - width: ${e("badge.dot.size")}; - min-width: ${e("badge.dot.size")}; - height: ${e("badge.dot.size")}; - border-radius: 50%; - padding: 0; -} - -.p-badge-circle { - padding: 0; - border-radius: 50%; -} - -.p-badge-secondary { - background: ${e("badge.secondary.background")}; - color: ${e("badge.secondary.color")}; -} - -.p-badge-success { - background: ${e("badge.success.background")}; - color: ${e("badge.success.color")}; -} - -.p-badge-info { - background: ${e("badge.info.background")}; - color: ${e("badge.info.color")}; -} - -.p-badge-warn { - background: ${e("badge.warn.background")}; - color: ${e("badge.warn.color")}; -} - -.p-badge-danger { - background: ${e("badge.danger.background")}; - color: ${e("badge.danger.color")}; -} - -.p-badge-contrast { - background: ${e("badge.contrast.background")}; - color: ${e("badge.contrast.color")}; -} - -.p-badge-sm { - font-size: ${e("badge.sm.font.size")}; - min-width: ${e("badge.sm.min.width")}; - height: ${e("badge.sm.height")}; -} - -.p-badge-lg { - font-size: ${e("badge.lg.font.size")}; - min-width: ${e("badge.lg.min.width")}; - height: ${e("badge.lg.height")}; -} - -.p-badge-xl { - font-size: ${e("badge.xl.font.size")}; - min-width: ${e("badge.xl.min.width")}; - height: ${e("badge.xl.height")}; -} -`,xb={root:function(t){var n=t.props,r=t.instance;return["p-badge p-component",{"p-badge-circle":ue(n.value)&&String(n.value).length===1,"p-badge-dot":bt(n.value)&&!r.$slots.default,"p-badge-sm":n.size==="small","p-badge-lg":n.size==="large","p-badge-xl":n.size==="xlarge","p-badge-info":n.severity==="info","p-badge-success":n.severity==="success","p-badge-warn":n.severity==="warn","p-badge-danger":n.severity==="danger","p-badge-secondary":n.severity==="secondary","p-badge-contrast":n.severity==="contrast"}]}},Ob=ge.extend({name:"badge",style:$b,classes:xb}),Ib={name:"BaseBadge",extends:Ce,props:{value:{type:[String,Number],default:null},severity:{type:String,default:null},size:{type:String,default:null}},style:Ob,provide:function(){return{$pcBadge:this,$parentInstance:this}}},vl={name:"Badge",extends:Ib,inheritAttrs:!1};function Pb(e,t,n,r,i,o){return h(),b("span",g({class:e.cx("root")},e.ptmi("root")),[D(e.$slots,"default",{},function(){return[Ke(oe(e.value),1)]})],16)}vl.render=Pb;var Rb=({dt:e})=>` -.p-button { - display: inline-flex; - cursor: pointer; - user-select: none; - align-items: center; - justify-content: center; - overflow: hidden; - position: relative; - color: ${e("button.primary.color")}; - background: ${e("button.primary.background")}; - border: 1px solid ${e("button.primary.border.color")}; - padding: ${e("button.padding.y")} ${e("button.padding.x")}; - font-size: 1rem; - font-family: inherit; - font-feature-settings: inherit; - transition: background ${e("button.transition.duration")}, color ${e("button.transition.duration")}, border-color ${e("button.transition.duration")}, - outline-color ${e("button.transition.duration")}, box-shadow ${e("button.transition.duration")}; - border-radius: ${e("button.border.radius")}; - outline-color: transparent; - gap: ${e("button.gap")}; -} - -.p-button:disabled { - cursor: default; -} - -.p-button-icon-right { - order: 1; -} - -.p-button-icon-right:dir(rtl) { - order: -1; -} - -.p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) { - order: 1; -} - -.p-button-icon-bottom { - order: 2; -} - -.p-button-icon-only { - width: ${e("button.icon.only.width")}; - padding-inline-start: 0; - padding-inline-end: 0; - gap: 0; -} - -.p-button-icon-only.p-button-rounded { - border-radius: 50%; - height: ${e("button.icon.only.width")}; -} - -.p-button-icon-only .p-button-label { - visibility: hidden; - width: 0; -} - -.p-button-sm { - font-size: ${e("button.sm.font.size")}; - padding: ${e("button.sm.padding.y")} ${e("button.sm.padding.x")}; -} - -.p-button-sm .p-button-icon { - font-size: ${e("button.sm.font.size")}; -} - -.p-button-sm.p-button-icon-only { - width: ${e("button.sm.icon.only.width")}; -} - -.p-button-sm.p-button-icon-only.p-button-rounded { - height: ${e("button.sm.icon.only.width")}; -} - -.p-button-lg { - font-size: ${e("button.lg.font.size")}; - padding: ${e("button.lg.padding.y")} ${e("button.lg.padding.x")}; -} - -.p-button-lg .p-button-icon { - font-size: ${e("button.lg.font.size")}; -} - -.p-button-lg.p-button-icon-only { - width: ${e("button.lg.icon.only.width")}; -} - -.p-button-lg.p-button-icon-only.p-button-rounded { - height: ${e("button.lg.icon.only.width")}; -} - -.p-button-vertical { - flex-direction: column; -} - -.p-button-label { - font-weight: ${e("button.label.font.weight")}; -} - -.p-button-fluid { - width: 100%; -} - -.p-button-fluid.p-button-icon-only { - width: ${e("button.icon.only.width")}; -} - -.p-button:not(:disabled):hover { - background: ${e("button.primary.hover.background")}; - border: 1px solid ${e("button.primary.hover.border.color")}; - color: ${e("button.primary.hover.color")}; -} - -.p-button:not(:disabled):active { - background: ${e("button.primary.active.background")}; - border: 1px solid ${e("button.primary.active.border.color")}; - color: ${e("button.primary.active.color")}; -} - -.p-button:focus-visible { - box-shadow: ${e("button.primary.focus.ring.shadow")}; - outline: ${e("button.focus.ring.width")} ${e("button.focus.ring.style")} ${e("button.primary.focus.ring.color")}; - outline-offset: ${e("button.focus.ring.offset")}; -} - -.p-button .p-badge { - min-width: ${e("button.badge.size")}; - height: ${e("button.badge.size")}; - line-height: ${e("button.badge.size")}; -} - -.p-button-raised { - box-shadow: ${e("button.raised.shadow")}; -} - -.p-button-rounded { - border-radius: ${e("button.rounded.border.radius")}; -} - -.p-button-secondary { - background: ${e("button.secondary.background")}; - border: 1px solid ${e("button.secondary.border.color")}; - color: ${e("button.secondary.color")}; -} - -.p-button-secondary:not(:disabled):hover { - background: ${e("button.secondary.hover.background")}; - border: 1px solid ${e("button.secondary.hover.border.color")}; - color: ${e("button.secondary.hover.color")}; -} - -.p-button-secondary:not(:disabled):active { - background: ${e("button.secondary.active.background")}; - border: 1px solid ${e("button.secondary.active.border.color")}; - color: ${e("button.secondary.active.color")}; -} - -.p-button-secondary:focus-visible { - outline-color: ${e("button.secondary.focus.ring.color")}; - box-shadow: ${e("button.secondary.focus.ring.shadow")}; -} - -.p-button-success { - background: ${e("button.success.background")}; - border: 1px solid ${e("button.success.border.color")}; - color: ${e("button.success.color")}; -} - -.p-button-success:not(:disabled):hover { - background: ${e("button.success.hover.background")}; - border: 1px solid ${e("button.success.hover.border.color")}; - color: ${e("button.success.hover.color")}; -} - -.p-button-success:not(:disabled):active { - background: ${e("button.success.active.background")}; - border: 1px solid ${e("button.success.active.border.color")}; - color: ${e("button.success.active.color")}; -} - -.p-button-success:focus-visible { - outline-color: ${e("button.success.focus.ring.color")}; - box-shadow: ${e("button.success.focus.ring.shadow")}; -} - -.p-button-info { - background: ${e("button.info.background")}; - border: 1px solid ${e("button.info.border.color")}; - color: ${e("button.info.color")}; -} - -.p-button-info:not(:disabled):hover { - background: ${e("button.info.hover.background")}; - border: 1px solid ${e("button.info.hover.border.color")}; - color: ${e("button.info.hover.color")}; -} - -.p-button-info:not(:disabled):active { - background: ${e("button.info.active.background")}; - border: 1px solid ${e("button.info.active.border.color")}; - color: ${e("button.info.active.color")}; -} - -.p-button-info:focus-visible { - outline-color: ${e("button.info.focus.ring.color")}; - box-shadow: ${e("button.info.focus.ring.shadow")}; -} - -.p-button-warn { - background: ${e("button.warn.background")}; - border: 1px solid ${e("button.warn.border.color")}; - color: ${e("button.warn.color")}; -} - -.p-button-warn:not(:disabled):hover { - background: ${e("button.warn.hover.background")}; - border: 1px solid ${e("button.warn.hover.border.color")}; - color: ${e("button.warn.hover.color")}; -} - -.p-button-warn:not(:disabled):active { - background: ${e("button.warn.active.background")}; - border: 1px solid ${e("button.warn.active.border.color")}; - color: ${e("button.warn.active.color")}; -} - -.p-button-warn:focus-visible { - outline-color: ${e("button.warn.focus.ring.color")}; - box-shadow: ${e("button.warn.focus.ring.shadow")}; -} - -.p-button-help { - background: ${e("button.help.background")}; - border: 1px solid ${e("button.help.border.color")}; - color: ${e("button.help.color")}; -} - -.p-button-help:not(:disabled):hover { - background: ${e("button.help.hover.background")}; - border: 1px solid ${e("button.help.hover.border.color")}; - color: ${e("button.help.hover.color")}; -} - -.p-button-help:not(:disabled):active { - background: ${e("button.help.active.background")}; - border: 1px solid ${e("button.help.active.border.color")}; - color: ${e("button.help.active.color")}; -} - -.p-button-help:focus-visible { - outline-color: ${e("button.help.focus.ring.color")}; - box-shadow: ${e("button.help.focus.ring.shadow")}; -} - -.p-button-danger { - background: ${e("button.danger.background")}; - border: 1px solid ${e("button.danger.border.color")}; - color: ${e("button.danger.color")}; -} - -.p-button-danger:not(:disabled):hover { - background: ${e("button.danger.hover.background")}; - border: 1px solid ${e("button.danger.hover.border.color")}; - color: ${e("button.danger.hover.color")}; -} - -.p-button-danger:not(:disabled):active { - background: ${e("button.danger.active.background")}; - border: 1px solid ${e("button.danger.active.border.color")}; - color: ${e("button.danger.active.color")}; -} - -.p-button-danger:focus-visible { - outline-color: ${e("button.danger.focus.ring.color")}; - box-shadow: ${e("button.danger.focus.ring.shadow")}; -} - -.p-button-contrast { - background: ${e("button.contrast.background")}; - border: 1px solid ${e("button.contrast.border.color")}; - color: ${e("button.contrast.color")}; -} - -.p-button-contrast:not(:disabled):hover { - background: ${e("button.contrast.hover.background")}; - border: 1px solid ${e("button.contrast.hover.border.color")}; - color: ${e("button.contrast.hover.color")}; -} - -.p-button-contrast:not(:disabled):active { - background: ${e("button.contrast.active.background")}; - border: 1px solid ${e("button.contrast.active.border.color")}; - color: ${e("button.contrast.active.color")}; -} - -.p-button-contrast:focus-visible { - outline-color: ${e("button.contrast.focus.ring.color")}; - box-shadow: ${e("button.contrast.focus.ring.shadow")}; -} - -.p-button-outlined { - background: transparent; - border-color: ${e("button.outlined.primary.border.color")}; - color: ${e("button.outlined.primary.color")}; -} - -.p-button-outlined:not(:disabled):hover { - background: ${e("button.outlined.primary.hover.background")}; - border-color: ${e("button.outlined.primary.border.color")}; - color: ${e("button.outlined.primary.color")}; -} - -.p-button-outlined:not(:disabled):active { - background: ${e("button.outlined.primary.active.background")}; - border-color: ${e("button.outlined.primary.border.color")}; - color: ${e("button.outlined.primary.color")}; -} - -.p-button-outlined.p-button-secondary { - border-color: ${e("button.outlined.secondary.border.color")}; - color: ${e("button.outlined.secondary.color")}; -} - -.p-button-outlined.p-button-secondary:not(:disabled):hover { - background: ${e("button.outlined.secondary.hover.background")}; - border-color: ${e("button.outlined.secondary.border.color")}; - color: ${e("button.outlined.secondary.color")}; -} - -.p-button-outlined.p-button-secondary:not(:disabled):active { - background: ${e("button.outlined.secondary.active.background")}; - border-color: ${e("button.outlined.secondary.border.color")}; - color: ${e("button.outlined.secondary.color")}; -} - -.p-button-outlined.p-button-success { - border-color: ${e("button.outlined.success.border.color")}; - color: ${e("button.outlined.success.color")}; -} - -.p-button-outlined.p-button-success:not(:disabled):hover { - background: ${e("button.outlined.success.hover.background")}; - border-color: ${e("button.outlined.success.border.color")}; - color: ${e("button.outlined.success.color")}; -} - -.p-button-outlined.p-button-success:not(:disabled):active { - background: ${e("button.outlined.success.active.background")}; - border-color: ${e("button.outlined.success.border.color")}; - color: ${e("button.outlined.success.color")}; -} - -.p-button-outlined.p-button-info { - border-color: ${e("button.outlined.info.border.color")}; - color: ${e("button.outlined.info.color")}; -} - -.p-button-outlined.p-button-info:not(:disabled):hover { - background: ${e("button.outlined.info.hover.background")}; - border-color: ${e("button.outlined.info.border.color")}; - color: ${e("button.outlined.info.color")}; -} - -.p-button-outlined.p-button-info:not(:disabled):active { - background: ${e("button.outlined.info.active.background")}; - border-color: ${e("button.outlined.info.border.color")}; - color: ${e("button.outlined.info.color")}; -} - -.p-button-outlined.p-button-warn { - border-color: ${e("button.outlined.warn.border.color")}; - color: ${e("button.outlined.warn.color")}; -} - -.p-button-outlined.p-button-warn:not(:disabled):hover { - background: ${e("button.outlined.warn.hover.background")}; - border-color: ${e("button.outlined.warn.border.color")}; - color: ${e("button.outlined.warn.color")}; -} - -.p-button-outlined.p-button-warn:not(:disabled):active { - background: ${e("button.outlined.warn.active.background")}; - border-color: ${e("button.outlined.warn.border.color")}; - color: ${e("button.outlined.warn.color")}; -} - -.p-button-outlined.p-button-help { - border-color: ${e("button.outlined.help.border.color")}; - color: ${e("button.outlined.help.color")}; -} - -.p-button-outlined.p-button-help:not(:disabled):hover { - background: ${e("button.outlined.help.hover.background")}; - border-color: ${e("button.outlined.help.border.color")}; - color: ${e("button.outlined.help.color")}; -} - -.p-button-outlined.p-button-help:not(:disabled):active { - background: ${e("button.outlined.help.active.background")}; - border-color: ${e("button.outlined.help.border.color")}; - color: ${e("button.outlined.help.color")}; -} - -.p-button-outlined.p-button-danger { - border-color: ${e("button.outlined.danger.border.color")}; - color: ${e("button.outlined.danger.color")}; -} - -.p-button-outlined.p-button-danger:not(:disabled):hover { - background: ${e("button.outlined.danger.hover.background")}; - border-color: ${e("button.outlined.danger.border.color")}; - color: ${e("button.outlined.danger.color")}; -} - -.p-button-outlined.p-button-danger:not(:disabled):active { - background: ${e("button.outlined.danger.active.background")}; - border-color: ${e("button.outlined.danger.border.color")}; - color: ${e("button.outlined.danger.color")}; -} - -.p-button-outlined.p-button-contrast { - border-color: ${e("button.outlined.contrast.border.color")}; - color: ${e("button.outlined.contrast.color")}; -} - -.p-button-outlined.p-button-contrast:not(:disabled):hover { - background: ${e("button.outlined.contrast.hover.background")}; - border-color: ${e("button.outlined.contrast.border.color")}; - color: ${e("button.outlined.contrast.color")}; -} - -.p-button-outlined.p-button-contrast:not(:disabled):active { - background: ${e("button.outlined.contrast.active.background")}; - border-color: ${e("button.outlined.contrast.border.color")}; - color: ${e("button.outlined.contrast.color")}; -} - -.p-button-outlined.p-button-plain { - border-color: ${e("button.outlined.plain.border.color")}; - color: ${e("button.outlined.plain.color")}; -} - -.p-button-outlined.p-button-plain:not(:disabled):hover { - background: ${e("button.outlined.plain.hover.background")}; - border-color: ${e("button.outlined.plain.border.color")}; - color: ${e("button.outlined.plain.color")}; -} - -.p-button-outlined.p-button-plain:not(:disabled):active { - background: ${e("button.outlined.plain.active.background")}; - border-color: ${e("button.outlined.plain.border.color")}; - color: ${e("button.outlined.plain.color")}; -} - -.p-button-text { - background: transparent; - border-color: transparent; - color: ${e("button.text.primary.color")}; -} - -.p-button-text:not(:disabled):hover { - background: ${e("button.text.primary.hover.background")}; - border-color: transparent; - color: ${e("button.text.primary.color")}; -} - -.p-button-text:not(:disabled):active { - background: ${e("button.text.primary.active.background")}; - border-color: transparent; - color: ${e("button.text.primary.color")}; -} - -.p-button-text.p-button-secondary { - background: transparent; - border-color: transparent; - color: ${e("button.text.secondary.color")}; -} - -.p-button-text.p-button-secondary:not(:disabled):hover { - background: ${e("button.text.secondary.hover.background")}; - border-color: transparent; - color: ${e("button.text.secondary.color")}; -} - -.p-button-text.p-button-secondary:not(:disabled):active { - background: ${e("button.text.secondary.active.background")}; - border-color: transparent; - color: ${e("button.text.secondary.color")}; -} - -.p-button-text.p-button-success { - background: transparent; - border-color: transparent; - color: ${e("button.text.success.color")}; -} - -.p-button-text.p-button-success:not(:disabled):hover { - background: ${e("button.text.success.hover.background")}; - border-color: transparent; - color: ${e("button.text.success.color")}; -} - -.p-button-text.p-button-success:not(:disabled):active { - background: ${e("button.text.success.active.background")}; - border-color: transparent; - color: ${e("button.text.success.color")}; -} - -.p-button-text.p-button-info { - background: transparent; - border-color: transparent; - color: ${e("button.text.info.color")}; -} - -.p-button-text.p-button-info:not(:disabled):hover { - background: ${e("button.text.info.hover.background")}; - border-color: transparent; - color: ${e("button.text.info.color")}; -} - -.p-button-text.p-button-info:not(:disabled):active { - background: ${e("button.text.info.active.background")}; - border-color: transparent; - color: ${e("button.text.info.color")}; -} - -.p-button-text.p-button-warn { - background: transparent; - border-color: transparent; - color: ${e("button.text.warn.color")}; -} - -.p-button-text.p-button-warn:not(:disabled):hover { - background: ${e("button.text.warn.hover.background")}; - border-color: transparent; - color: ${e("button.text.warn.color")}; -} - -.p-button-text.p-button-warn:not(:disabled):active { - background: ${e("button.text.warn.active.background")}; - border-color: transparent; - color: ${e("button.text.warn.color")}; -} - -.p-button-text.p-button-help { - background: transparent; - border-color: transparent; - color: ${e("button.text.help.color")}; -} - -.p-button-text.p-button-help:not(:disabled):hover { - background: ${e("button.text.help.hover.background")}; - border-color: transparent; - color: ${e("button.text.help.color")}; -} - -.p-button-text.p-button-help:not(:disabled):active { - background: ${e("button.text.help.active.background")}; - border-color: transparent; - color: ${e("button.text.help.color")}; -} - -.p-button-text.p-button-danger { - background: transparent; - border-color: transparent; - color: ${e("button.text.danger.color")}; -} - -.p-button-text.p-button-danger:not(:disabled):hover { - background: ${e("button.text.danger.hover.background")}; - border-color: transparent; - color: ${e("button.text.danger.color")}; -} - -.p-button-text.p-button-danger:not(:disabled):active { - background: ${e("button.text.danger.active.background")}; - border-color: transparent; - color: ${e("button.text.danger.color")}; -} - -.p-button-text.p-button-contrast { - background: transparent; - border-color: transparent; - color: ${e("button.text.contrast.color")}; -} - -.p-button-text.p-button-contrast:not(:disabled):hover { - background: ${e("button.text.contrast.hover.background")}; - border-color: transparent; - color: ${e("button.text.contrast.color")}; -} - -.p-button-text.p-button-contrast:not(:disabled):active { - background: ${e("button.text.contrast.active.background")}; - border-color: transparent; - color: ${e("button.text.contrast.color")}; -} - -.p-button-text.p-button-plain { - background: transparent; - border-color: transparent; - color: ${e("button.text.plain.color")}; -} - -.p-button-text.p-button-plain:not(:disabled):hover { - background: ${e("button.text.plain.hover.background")}; - border-color: transparent; - color: ${e("button.text.plain.color")}; -} - -.p-button-text.p-button-plain:not(:disabled):active { - background: ${e("button.text.plain.active.background")}; - border-color: transparent; - color: ${e("button.text.plain.color")}; -} - -.p-button-link { - background: transparent; - border-color: transparent; - color: ${e("button.link.color")}; -} - -.p-button-link:not(:disabled):hover { - background: transparent; - border-color: transparent; - color: ${e("button.link.hover.color")}; -} - -.p-button-link:not(:disabled):hover .p-button-label { - text-decoration: underline; -} - -.p-button-link:not(:disabled):active { - background: transparent; - border-color: transparent; - color: ${e("button.link.active.color")}; -} -`;function Yr(e){"@babel/helpers - typeof";return Yr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yr(e)}function Ft(e,t,n){return(t=Tb(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tb(e){var t=Bb(e,"string");return Yr(t)=="symbol"?t:t+""}function Bb(e,t){if(Yr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Yr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Mb={root:function(t){var n=t.instance,r=t.props;return["p-button p-component",Ft(Ft(Ft(Ft(Ft(Ft(Ft(Ft(Ft({"p-button-icon-only":n.hasIcon&&!r.label&&!r.badge,"p-button-vertical":(r.iconPos==="top"||r.iconPos==="bottom")&&r.label,"p-button-loading":r.loading,"p-button-link":r.link||r.variant==="link"},"p-button-".concat(r.severity),r.severity),"p-button-raised",r.raised),"p-button-rounded",r.rounded),"p-button-text",r.text||r.variant==="text"),"p-button-outlined",r.outlined||r.variant==="outlined"),"p-button-sm",r.size==="small"),"p-button-lg",r.size==="large"),"p-button-plain",r.plain),"p-button-fluid",n.hasFluid)]},loadingIcon:"p-button-loading-icon",icon:function(t){var n=t.props;return["p-button-icon",Ft({},"p-button-icon-".concat(n.iconPos),n.label)]},label:"p-button-label"},Db=ge.extend({name:"button",style:Rb,classes:Mb}),Eb={name:"BaseButton",extends:Ce,props:{label:{type:String,default:null},icon:{type:String,default:null},iconPos:{type:String,default:"left"},iconClass:{type:[String,Object],default:null},badge:{type:String,default:null},badgeClass:{type:[String,Object],default:null},badgeSeverity:{type:String,default:"secondary"},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},as:{type:[String,Object],default:"BUTTON"},asChild:{type:Boolean,default:!1},link:{type:Boolean,default:!1},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},variant:{type:String,default:null},plain:{type:Boolean,default:!1},fluid:{type:Boolean,default:null}},style:Db,provide:function(){return{$pcButton:this,$parentInstance:this}}},gn={name:"Button",extends:Eb,inheritAttrs:!1,inject:{$pcFluid:{default:null}},methods:{getPTOptions:function(t){var n=t==="root"?this.ptmi:this.ptm;return n(t,{context:{disabled:this.disabled}})}},computed:{disabled:function(){return this.$attrs.disabled||this.$attrs.disabled===""||this.loading},defaultAriaLabel:function(){return this.label?this.label+(this.badge?" "+this.badge:""):this.$attrs.ariaLabel},hasIcon:function(){return this.icon||this.$slots.icon},attrs:function(){return g(this.asAttrs,this.a11yAttrs,this.getPTOptions("root"))},asAttrs:function(){return this.as==="BUTTON"?{type:"button",disabled:this.disabled}:void 0},a11yAttrs:function(){return{"aria-label":this.defaultAriaLabel,"data-pc-name":"button","data-p-disabled":this.disabled,"data-p-severity":this.severity}},hasFluid:function(){return bt(this.fluid)?!!this.$pcFluid:this.fluid}},components:{SpinnerIcon:ar,Badge:vl},directives:{ripple:Bt}};function Lb(e,t,n,r,i,o){var a=q("SpinnerIcon"),l=q("Badge"),s=xt("ripple");return e.asChild?D(e.$slots,"default",{key:1,class:ie(e.cx("root")),a11yAttrs:o.a11yAttrs}):Ze((h(),$(ee(e.as),g({key:0,class:e.cx("root")},o.attrs),{default:_(function(){return[D(e.$slots,"default",{},function(){return[e.loading?D(e.$slots,"loadingicon",g({key:0,class:[e.cx("loadingIcon"),e.cx("icon")]},e.ptm("loadingIcon")),function(){return[e.loadingIcon?(h(),b("span",g({key:0,class:[e.cx("loadingIcon"),e.cx("icon"),e.loadingIcon]},e.ptm("loadingIcon")),null,16)):(h(),$(a,g({key:1,class:[e.cx("loadingIcon"),e.cx("icon")],spin:""},e.ptm("loadingIcon")),null,16,["class"]))]}):D(e.$slots,"icon",g({key:1,class:[e.cx("icon")]},e.ptm("icon")),function(){return[e.icon?(h(),b("span",g({key:0,class:[e.cx("icon"),e.icon,e.iconClass]},e.ptm("icon")),null,16)):P("",!0)]}),!o.hasIcon||e.label?(h(),b("span",g({key:2,class:e.cx("label")},e.ptm("label")),oe(e.label||" "),17)):P("",!0),e.badge?(h(),$(l,{key:3,value:e.badge,class:ie(e.badgeClass),severity:e.badgeSeverity,unstyled:e.unstyled,pt:e.ptm("pcBadge")},null,8,["value","class","severity","unstyled","pt"])):P("",!0)]})]}),_:3},16,["class"])),[[s]])}gn.render=Lb;var xc={name:"CalendarIcon",extends:Se};function Fb(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M10.7838 1.51351H9.83783V0.567568C9.83783 0.417039 9.77804 0.272676 9.6716 0.166237C9.56516 0.0597971 9.42079 0 9.27027 0C9.11974 0 8.97538 0.0597971 8.86894 0.166237C8.7625 0.272676 8.7027 0.417039 8.7027 0.567568V1.51351H5.29729V0.567568C5.29729 0.417039 5.2375 0.272676 5.13106 0.166237C5.02462 0.0597971 4.88025 0 4.72973 0C4.5792 0 4.43484 0.0597971 4.3284 0.166237C4.22196 0.272676 4.16216 0.417039 4.16216 0.567568V1.51351H3.21621C2.66428 1.51351 2.13494 1.73277 1.74467 2.12305C1.35439 2.51333 1.13513 3.04266 1.13513 3.59459V11.9189C1.13513 12.4709 1.35439 13.0002 1.74467 13.3905C2.13494 13.7807 2.66428 14 3.21621 14H10.7838C11.3357 14 11.865 13.7807 12.2553 13.3905C12.6456 13.0002 12.8649 12.4709 12.8649 11.9189V3.59459C12.8649 3.04266 12.6456 2.51333 12.2553 2.12305C11.865 1.73277 11.3357 1.51351 10.7838 1.51351ZM3.21621 2.64865H4.16216V3.59459C4.16216 3.74512 4.22196 3.88949 4.3284 3.99593C4.43484 4.10237 4.5792 4.16216 4.72973 4.16216C4.88025 4.16216 5.02462 4.10237 5.13106 3.99593C5.2375 3.88949 5.29729 3.74512 5.29729 3.59459V2.64865H8.7027V3.59459C8.7027 3.74512 8.7625 3.88949 8.86894 3.99593C8.97538 4.10237 9.11974 4.16216 9.27027 4.16216C9.42079 4.16216 9.56516 4.10237 9.6716 3.99593C9.77804 3.88949 9.83783 3.74512 9.83783 3.59459V2.64865H10.7838C11.0347 2.64865 11.2753 2.74831 11.4527 2.92571C11.6301 3.10311 11.7297 3.34371 11.7297 3.59459V5.67568H2.27027V3.59459C2.27027 3.34371 2.36993 3.10311 2.54733 2.92571C2.72473 2.74831 2.96533 2.64865 3.21621 2.64865ZM10.7838 12.8649H3.21621C2.96533 12.8649 2.72473 12.7652 2.54733 12.5878C2.36993 12.4104 2.27027 12.1698 2.27027 11.9189V6.81081H11.7297V11.9189C11.7297 12.1698 11.6301 12.4104 11.4527 12.5878C11.2753 12.7652 11.0347 12.8649 10.7838 12.8649Z",fill:"currentColor"},null,-1)]),16)}xc.render=Fb;var Oc={name:"ChevronLeftIcon",extends:Se};function Ab(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z",fill:"currentColor"},null,-1)]),16)}Oc.render=Ab;var zb=({dt:e})=>` -.p-datepicker { - display: inline-flex; - max-width: 100%; -} - -.p-datepicker-input { - flex: 1 1 auto; - width: 1%; -} - -.p-datepicker:has(.p-datepicker-dropdown) .p-datepicker-input { - border-start-end-radius: 0; - border-end-end-radius: 0; -} - -.p-datepicker-dropdown { - cursor: pointer; - display: inline-flex; - user-select: none; - align-items: center; - justify-content: center; - overflow: hidden; - position: relative; - width: ${e("datepicker.dropdown.width")}; - border-start-end-radius: ${e("datepicker.dropdown.border.radius")}; - border-end-end-radius: ${e("datepicker.dropdown.border.radius")}; - background: ${e("datepicker.dropdown.background")}; - border: 1px solid ${e("datepicker.dropdown.border.color")}; - border-inline-start: 0 none; - color: ${e("datepicker.dropdown.color")}; - transition: background ${e("datepicker.transition.duration")}, color ${e("datepicker.transition.duration")}, border-color ${e("datepicker.transition.duration")}, outline-color ${e("datepicker.transition.duration")}; - outline-color: transparent; -} - -.p-datepicker-dropdown:not(:disabled):hover { - background: ${e("datepicker.dropdown.hover.background")}; - border-color: ${e("datepicker.dropdown.hover.border.color")}; - color: ${e("datepicker.dropdown.hover.color")}; -} - -.p-datepicker-dropdown:not(:disabled):active { - background: ${e("datepicker.dropdown.active.background")}; - border-color: ${e("datepicker.dropdown.active.border.color")}; - color: ${e("datepicker.dropdown.active.color")}; -} - -.p-datepicker-dropdown:focus-visible { - box-shadow: ${e("datepicker.dropdown.focus.ring.shadow")}; - outline: ${e("datepicker.dropdown.focus.ring.width")} ${e("datepicker.dropdown.focus.ring.style")} ${e("datepicker.dropdown.focus.ring.color")}; - outline-offset: ${e("datepicker.dropdown.focus.ring.offset")}; -} - -.p-datepicker:has(.p-datepicker-input-icon-container) { - position: relative; -} - -.p-datepicker:has(.p-datepicker-input-icon-container) .p-datepicker-input { - padding-inline-end: calc((${e("form.field.padding.x")} * 2) + ${e("icon.size")}); -} - -.p-datepicker-input-icon-container { - cursor: pointer; - position: absolute; - top: 50%; - inset-inline-end: ${e("form.field.padding.x")}; - margin-block-start: calc(-1 * (${e("icon.size")} / 2)); - color: ${e("datepicker.input.icon.color")}; - line-height: 1; -} - -.p-datepicker-fluid { - display: flex; -} - -.p-datepicker-fluid .p-datepicker-input { - width: 1%; -} - -.p-datepicker .p-datepicker-panel { - min-width: 100%; -} - -.p-datepicker-panel { - width: auto; - padding: ${e("datepicker.panel.padding")}; - background: ${e("datepicker.panel.background")}; - color: ${e("datepicker.panel.color")}; - border: 1px solid ${e("datepicker.panel.border.color")}; - border-radius: ${e("datepicker.panel.border.radius")}; - box-shadow: ${e("datepicker.panel.shadow")}; -} - -.p-datepicker-panel-inline { - display: inline-block; - overflow-x: auto; - box-shadow: none; -} - -.p-datepicker-header { - display: flex; - align-items: center; - justify-content: space-between; - padding: ${e("datepicker.header.padding")}; - background: ${e("datepicker.header.background")}; - color: ${e("datepicker.header.color")}; - border-block-end: 1px solid ${e("datepicker.header.border.color")}; -} - -.p-datepicker-next-button:dir(rtl) { - order: -1; -} - -.p-datepicker-prev-button:dir(rtl) { - order: 1; -} - -.p-datepicker-title { - display: flex; - align-items: center; - justify-content: space-between; - gap: ${e("datepicker.title.gap")}; - font-weight: ${e("datepicker.title.font.weight")}; -} - -.p-datepicker-select-year, -.p-datepicker-select-month { - border: none; - background: transparent; - margin: 0; - cursor: pointer; - font-weight: inherit; - transition: background ${e("datepicker.transition.duration")}, color ${e("datepicker.transition.duration")}, border-color ${e("datepicker.transition.duration")}, outline-color ${e("datepicker.transition.duration")}, box-shadow ${e("datepicker.transition.duration")}; -} - -.p-datepicker-select-month { - padding: ${e("datepicker.select.month.padding")}; - color: ${e("datepicker.select.month.color")}; - border-radius: ${e("datepicker.select.month.border.radius")}; -} - -.p-datepicker-select-year { - padding: ${e("datepicker.select.year.padding")}; - color: ${e("datepicker.select.year.color")}; - border-radius: ${e("datepicker.select.year.border.radius")}; -} - -.p-datepicker-select-month:enabled:hover { - background: ${e("datepicker.select.month.hover.background")}; - color: ${e("datepicker.select.month.hover.color")}; -} - -.p-datepicker-select-year:enabled:hover { - background: ${e("datepicker.select.year.hover.background")}; - color: ${e("datepicker.select.year.hover.color")}; -} - -.p-datepicker-select-month:focus-visible, -.p-datepicker-select-year:focus-visible { - box-shadow: ${e("datepicker.date.focus.ring.shadow")}; - outline: ${e("datepicker.date.focus.ring.width")} ${e("datepicker.date.focus.ring.style")} ${e("datepicker.date.focus.ring.color")}; - outline-offset: ${e("datepicker.date.focus.ring.offset")}; -} - -.p-datepicker-calendar-container { - display: flex; -} - -.p-datepicker-calendar-container .p-datepicker-calendar { - flex: 1 1 auto; - border-inline-start: 1px solid ${e("datepicker.group.border.color")}; - padding-inline-end: ${e("datepicker.group.gap")}; - padding-inline-start: ${e("datepicker.group.gap")}; -} - -.p-datepicker-calendar-container .p-datepicker-calendar:first-child { - padding-inline-start: 0; - border-inline-start: 0 none; -} - -.p-datepicker-calendar-container .p-datepicker-calendar:last-child { - padding-inline-end: 0; -} - -.p-datepicker-day-view { - width: 100%; - border-collapse: collapse; - font-size: 1rem; - margin: ${e("datepicker.day.view.margin")}; -} - -.p-datepicker-weekday-cell { - padding: ${e("datepicker.week.day.padding")}; -} - -.p-datepicker-weekday { - font-weight: ${e("datepicker.week.day.font.weight")}; - color: ${e("datepicker.week.day.color")}; -} - -.p-datepicker-day-cell { - padding: ${e("datepicker.date.padding")}; -} - -.p-datepicker-day { - display: flex; - justify-content: center; - align-items: center; - cursor: pointer; - margin: 0 auto; - overflow: hidden; - position: relative; - width: ${e("datepicker.date.width")}; - height: ${e("datepicker.date.height")}; - border-radius: ${e("datepicker.date.border.radius")}; - transition: background ${e("datepicker.transition.duration")}, color ${e("datepicker.transition.duration")}, border-color ${e("datepicker.transition.duration")}, box-shadow ${e("datepicker.transition.duration")}, outline-color ${e("datepicker.transition.duration")}; - border: 1px solid transparent; - outline-color: transparent; - color: ${e("datepicker.date.color")}; -} - -.p-datepicker-day:not(.p-datepicker-day-selected):not(.p-disabled):hover { - background: ${e("datepicker.date.hover.background")}; - color: ${e("datepicker.date.hover.color")}; -} - -.p-datepicker-day:focus-visible { - box-shadow: ${e("datepicker.date.focus.ring.shadow")}; - outline: ${e("datepicker.date.focus.ring.width")} ${e("datepicker.date.focus.ring.style")} ${e("datepicker.date.focus.ring.color")}; - outline-offset: ${e("datepicker.date.focus.ring.offset")}; -} - -.p-datepicker-day-selected { - background: ${e("datepicker.date.selected.background")}; - color: ${e("datepicker.date.selected.color")}; -} - -.p-datepicker-day-selected-range { - background: ${e("datepicker.date.range.selected.background")}; - color: ${e("datepicker.date.range.selected.color")}; -} - -.p-datepicker-today > .p-datepicker-day { - background: ${e("datepicker.today.background")}; - color: ${e("datepicker.today.color")}; -} - -.p-datepicker-today > .p-datepicker-day-selected { - background: ${e("datepicker.date.selected.background")}; - color: ${e("datepicker.date.selected.color")}; -} - -.p-datepicker-today > .p-datepicker-day-selected-range { - background: ${e("datepicker.date.range.selected.background")}; - color: ${e("datepicker.date.range.selected.color")}; -} - -.p-datepicker-weeknumber { - text-align: center; -} - -.p-datepicker-month-view { - margin: ${e("datepicker.month.view.margin")}; -} - -.p-datepicker-month { - width: 33.3%; - display: inline-flex; - align-items: center; - justify-content: center; - cursor: pointer; - overflow: hidden; - position: relative; - padding: ${e("datepicker.month.padding")}; - transition: background ${e("datepicker.transition.duration")}, color ${e("datepicker.transition.duration")}, border-color ${e("datepicker.transition.duration")}, box-shadow ${e("datepicker.transition.duration")}, outline-color ${e("datepicker.transition.duration")}; - border-radius: ${e("datepicker.month.border.radius")}; - outline-color: transparent; - color: ${e("datepicker.date.color")}; -} - -.p-datepicker-month:not(.p-disabled):not(.p-datepicker-month-selected):hover { - color: ${e("datepicker.date.hover.color")}; - background: ${e("datepicker.date.hover.background")}; -} - -.p-datepicker-month-selected { - color: ${e("datepicker.date.selected.color")}; - background: ${e("datepicker.date.selected.background")}; -} - -.p-datepicker-month:not(.p-disabled):focus-visible { - box-shadow: ${e("datepicker.date.focus.ring.shadow")}; - outline: ${e("datepicker.date.focus.ring.width")} ${e("datepicker.date.focus.ring.style")} ${e("datepicker.date.focus.ring.color")}; - outline-offset: ${e("datepicker.date.focus.ring.offset")}; -} - -.p-datepicker-year-view { - margin: ${e("datepicker.year.view.margin")}; -} - -.p-datepicker-year { - width: 50%; - display: inline-flex; - align-items: center; - justify-content: center; - cursor: pointer; - overflow: hidden; - position: relative; - padding: ${e("datepicker.year.padding")}; - transition: background ${e("datepicker.transition.duration")}, color ${e("datepicker.transition.duration")}, border-color ${e("datepicker.transition.duration")}, box-shadow ${e("datepicker.transition.duration")}, outline-color ${e("datepicker.transition.duration")}; - border-radius: ${e("datepicker.year.border.radius")}; - outline-color: transparent; - color: ${e("datepicker.date.color")}; -} - -.p-datepicker-year:not(.p-disabled):not(.p-datepicker-year-selected):hover { - color: ${e("datepicker.date.hover.color")}; - background: ${e("datepicker.date.hover.background")}; -} - -.p-datepicker-year-selected { - color: ${e("datepicker.date.selected.color")}; - background: ${e("datepicker.date.selected.background")}; -} - -.p-datepicker-year:not(.p-disabled):focus-visible { - box-shadow: ${e("datepicker.date.focus.ring.shadow")}; - outline: ${e("datepicker.date.focus.ring.width")} ${e("datepicker.date.focus.ring.style")} ${e("datepicker.date.focus.ring.color")}; - outline-offset: ${e("datepicker.date.focus.ring.offset")}; -} - -.p-datepicker-buttonbar { - display: flex; - justify-content: space-between; - align-items: center; - padding: ${e("datepicker.buttonbar.padding")}; - border-block-start: 1px solid ${e("datepicker.buttonbar.border.color")}; -} - -.p-datepicker-buttonbar .p-button { - width: auto; -} - -.p-datepicker-time-picker { - display: flex; - justify-content: center; - align-items: center; - border-block-start: 1px solid ${e("datepicker.time.picker.border.color")}; - padding: 0; - gap: ${e("datepicker.time.picker.gap")}; -} - -.p-datepicker-calendar-container + .p-datepicker-time-picker { - padding: ${e("datepicker.time.picker.padding")}; -} - -.p-datepicker-time-picker > div { - display: flex; - align-items: center; - flex-direction: column; - gap: ${e("datepicker.time.picker.button.gap")}; -} - -.p-datepicker-time-picker span { - font-size: 1rem; -} - -.p-datepicker-timeonly .p-datepicker-time-picker { - border-block-start: 0 none; -} - -.p-datepicker:has(.p-inputtext-sm) .p-datepicker-dropdown { - width: ${e("datepicker.dropdown.sm.width")}; -} - -.p-datepicker:has(.p-inputtext-sm) .p-datepicker-dropdown .p-icon, -.p-datepicker:has(.p-inputtext-sm) .p-datepicker-input-icon { - font-size: ${e("form.field.sm.font.size")}; - width: ${e("form.field.sm.font.size")}; - height: ${e("form.field.sm.font.size")}; -} - -.p-datepicker:has(.p-inputtext-lg) .p-datepicker-dropdown { - width: ${e("datepicker.dropdown.lg.width")}; -} - -.p-datepicker:has(.p-inputtext-lg) .p-datepicker-dropdown .p-icon, -.p-datepicker:has(.p-inputtext-lg) .p-datepicker-input-icon { - font-size: ${e("form.field.lg.font.size")}; - width: ${e("form.field.lg.font.size")}; - height: ${e("form.field.lg.font.size")}; -} -`,jb={root:function(t){var n=t.props;return{position:n.appendTo==="self"?"relative":void 0}}},Vb={root:function(t){var n=t.instance,r=t.state;return["p-datepicker p-component p-inputwrapper",{"p-invalid":n.$invalid,"p-inputwrapper-filled":n.$filled,"p-inputwrapper-focus":r.focused||r.overlayVisible,"p-focus":r.focused||r.overlayVisible,"p-datepicker-fluid":n.$fluid}]},pcInputText:"p-datepicker-input",dropdown:"p-datepicker-dropdown",inputIconContainer:"p-datepicker-input-icon-container",inputIcon:"p-datepicker-input-icon",panel:function(t){var n=t.props;return["p-datepicker-panel p-component",{"p-datepicker-panel-inline":n.inline,"p-disabled":n.disabled,"p-datepicker-timeonly":n.timeOnly}]},calendarContainer:"p-datepicker-calendar-container",calendar:"p-datepicker-calendar",header:"p-datepicker-header",pcPrevButton:"p-datepicker-prev-button",title:"p-datepicker-title",selectMonth:"p-datepicker-select-month",selectYear:"p-datepicker-select-year",decade:"p-datepicker-decade",pcNextButton:"p-datepicker-next-button",dayView:"p-datepicker-day-view",weekHeader:"p-datepicker-weekheader p-disabled",weekNumber:"p-datepicker-weeknumber",weekLabelContainer:"p-datepicker-weeklabel-container p-disabled",weekDayCell:"p-datepicker-weekday-cell",weekDay:"p-datepicker-weekday",dayCell:function(t){var n=t.date;return["p-datepicker-day-cell",{"p-datepicker-other-month":n.otherMonth,"p-datepicker-today":n.today}]},day:function(t){var n=t.instance,r=t.props,i=t.state,o=t.date,a="";return n.isRangeSelection()&&n.isSelected(o)&&o.selectable&&(a=n.isDateEquals(i.d_value[0],o)||n.isDateEquals(i.d_value[1],o)?"p-datepicker-day-selected":"p-datepicker-day-selected-range"),["p-datepicker-day",{"p-datepicker-day-selected":!n.isRangeSelection()&&n.isSelected(o)&&o.selectable,"p-disabled":r.disabled||!o.selectable},a]},monthView:"p-datepicker-month-view",month:function(t){var n=t.instance,r=t.props,i=t.month,o=t.index;return["p-datepicker-month",{"p-datepicker-month-selected":n.isMonthSelected(o),"p-disabled":r.disabled||!i.selectable}]},yearView:"p-datepicker-year-view",year:function(t){var n=t.instance,r=t.props,i=t.year;return["p-datepicker-year",{"p-datepicker-year-selected":n.isYearSelected(i.value),"p-disabled":r.disabled||!i.selectable}]},timePicker:"p-datepicker-time-picker",hourPicker:"p-datepicker-hour-picker",pcIncrementButton:"p-datepicker-increment-button",pcDecrementButton:"p-datepicker-decrement-button",separator:"p-datepicker-separator",minutePicker:"p-datepicker-minute-picker",secondPicker:"p-datepicker-second-picker",ampmPicker:"p-datepicker-ampm-picker",buttonbar:"p-datepicker-buttonbar",pcTodayButton:"p-datepicker-today-button",pcClearButton:"p-datepicker-clear-button"},Hb=ge.extend({name:"datepicker",style:zb,classes:Vb,inlineStyles:jb}),Kb={name:"BaseDatePicker",extends:yn,props:{selectionMode:{type:String,default:"single"},dateFormat:{type:String,default:null},inline:{type:Boolean,default:!1},showOtherMonths:{type:Boolean,default:!0},selectOtherMonths:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!1},iconDisplay:{type:String,default:"button"},icon:{type:String,default:void 0},prevIcon:{type:String,default:void 0},nextIcon:{type:String,default:void 0},incrementIcon:{type:String,default:void 0},decrementIcon:{type:String,default:void 0},numberOfMonths:{type:Number,default:1},responsiveOptions:Array,breakpoint:{type:String,default:"769px"},view:{type:String,default:"date"},minDate:{type:Date,value:null},maxDate:{type:Date,value:null},disabledDates:{type:Array,value:null},disabledDays:{type:Array,value:null},maxDateCount:{type:Number,value:null},showOnFocus:{type:Boolean,default:!0},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},showButtonBar:{type:Boolean,default:!1},shortYearCutoff:{type:String,default:"+10"},showTime:{type:Boolean,default:!1},timeOnly:{type:Boolean,default:!1},hourFormat:{type:String,default:"24"},stepHour:{type:Number,default:1},stepMinute:{type:Number,default:1},stepSecond:{type:Number,default:1},showSeconds:{type:Boolean,default:!1},hideOnDateTimeSelect:{type:Boolean,default:!1},hideOnRangeSelection:{type:Boolean,default:!1},timeSeparator:{type:String,default:":"},showWeek:{type:Boolean,default:!1},manualInput:{type:Boolean,default:!0},appendTo:{type:[String,Object],default:"body"},readonly:{type:Boolean,default:!1},placeholder:{type:String,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},panelClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},todayButtonProps:{type:Object,default:function(){return{severity:"secondary",text:!0,size:"small"}}},clearButtonProps:{type:Object,default:function(){return{severity:"secondary",text:!0,size:"small"}}},navigatorButtonProps:{type:Object,default:function(){return{severity:"secondary",text:!0,rounded:!0}}},timepickerButtonProps:{type:Object,default:function(){return{severity:"secondary",text:!0,rounded:!0}}},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:Hb,provide:function(){return{$pcDatePicker:this,$parentInstance:this}}};function Ma(e){"@babel/helpers - typeof";return Ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ma(e)}function na(e){return Ub(e)||Gb(e)||Ic(e)||Nb()}function Nb(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gb(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ub(e){if(Array.isArray(e))return Da(e)}function ra(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ic(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(d){throw d},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var d=n.next();return a=d.done,d},e:function(d){l=!0,o=d},f:function(){try{a||n.return==null||n.return()}finally{if(l)throw o}}}}function Ic(e,t){if(e){if(typeof e=="string")return Da(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Da(e,t):void 0}}function Da(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=a&&o<=l}else{var r,i;return((r=this.d_value[0])===null||r===void 0?void 0:r.getFullYear())===this.currentYear&&((i=this.d_value[0])===null||i===void 0?void 0:i.getMonth())===t}else return this.d_value.getMonth()===t&&this.d_value.getFullYear()===this.currentYear},isYearSelected:function(t){if(!this.isComparable())return!1;if(this.isMultipleSelection())return this.d_value.some(function(i){return i.getFullYear()===t});if(this.isRangeSelection()){var n=this.d_value[0]?this.d_value[0].getFullYear():null,r=this.d_value[1]?this.d_value[1].getFullYear():null;return n===t||r===t||nt}else return this.d_value.getFullYear()===t},isDateEquals:function(t,n){return t?t.getDate()===n.day&&t.getMonth()===n.month&&t.getFullYear()===n.year:!1},isDateBetween:function(t,n,r){var i=!1;if(t&&n){var o=new Date(r.year,r.month,r.day);return t.getTime()<=o.getTime()&&n.getTime()>=o.getTime()}return i},getFirstDayOfMonthIndex:function(t,n){var r=new Date;r.setDate(1),r.setMonth(t),r.setFullYear(n);var i=r.getDay()+this.sundayIndex;return i>=7?i-7:i},getDaysCountInMonth:function(t,n){return 32-this.daylightSavingAdjust(new Date(n,t,32)).getDate()},getDaysCountInPrevMonth:function(t,n){var r=this.getPreviousMonthAndYear(t,n);return this.getDaysCountInMonth(r.month,r.year)},getPreviousMonthAndYear:function(t,n){var r,i;return t===0?(r=11,i=n-1):(r=t-1,i=n),{month:r,year:i}},getNextMonthAndYear:function(t,n){var r,i;return t===11?(r=0,i=n+1):(r=t+1,i=n),{month:r,year:i}},daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},isToday:function(t,n,r,i){return t.getDate()===n&&t.getMonth()===r&&t.getFullYear()===i},isSelectable:function(t,n,r,i){var o=!0,a=!0,l=!0,s=!0;return i&&!this.selectOtherMonths?!1:(this.minDate&&(this.minDate.getFullYear()>r||this.minDate.getFullYear()===r&&(this.minDate.getMonth()>n||this.minDate.getMonth()===n&&this.minDate.getDate()>t))&&(o=!1),this.maxDate&&(this.maxDate.getFullYear()11,n>=12&&(n=n==12?12:n-12)),this.currentHour=Math.floor(n/this.stepHour)*this.stepHour,this.currentMinute=Math.floor(t.getMinutes()/this.stepMinute)*this.stepMinute,this.currentSecond=Math.floor(t.getSeconds()/this.stepSecond)*this.stepSecond},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(n){t.overlayVisible&&t.isOutsideClicked(n)&&(t.overlayVisible=!1)},document.addEventListener("mousedown",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("mousedown",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new Ei(this.$refs.container,function(){t.overlayVisible&&(t.overlayVisible=!1)})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!Mi()&&(t.overlayVisible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},bindMatchMediaListener:function(){var t=this;if(!this.matchMediaListener){var n=matchMedia("(max-width: ".concat(this.breakpoint,")"));this.query=n,this.queryMatches=n.matches,this.matchMediaListener=function(){t.queryMatches=n.matches,t.mobileActive=!1},this.query.addEventListener("change",this.matchMediaListener)}},unbindMatchMediaListener:function(){this.matchMediaListener&&(this.query.removeEventListener("change",this.matchMediaListener),this.matchMediaListener=null)},bindMatchMediaOrientationListener:function(){var t=this;if(!this.matchMediaOrientationListener){var n=matchMedia("(orientation: portrait)");this.queryOrientation=n,this.matchMediaOrientationListener=function(){t.alignOverlay()},this.queryOrientation.addEventListener("change",this.matchMediaOrientationListener)}},unbindMatchMediaOrientationListener:function(){this.matchMediaOrientationListener&&(this.queryOrientation.removeEventListener("change",this.matchMediaOrientationListener),this.queryOrientation=null,this.matchMediaOrientationListener=null)},isOutsideClicked:function(t){return!(this.$el.isSameNode(t.target)||this.isNavIconClicked(t)||this.$el.contains(t.target)||this.overlay&&this.overlay.contains(t.target))},isNavIconClicked:function(t){return this.previousButton&&(this.previousButton.isSameNode(t.target)||this.previousButton.contains(t.target))||this.nextButton&&(this.nextButton.isSameNode(t.target)||this.nextButton.contains(t.target))},alignOverlay:function(){this.overlay&&(this.appendTo==="self"||this.inline?gl(this.overlay,this.$el):(this.view==="date"?(this.overlay.style.width=Ne(this.overlay)+"px",this.overlay.style.minWidth=Ne(this.$el)+"px"):this.overlay.style.width=Ne(this.$el)+"px",Ri(this.overlay,this.$el)))},onButtonClick:function(){this.isEnabled()&&(this.overlayVisible?this.overlayVisible=!1:(this.input.focus(),this.overlayVisible=!0))},isDateDisabled:function(t,n,r){if(this.disabledDates){var i=ra(this.disabledDates),o;try{for(i.s();!(o=i.n()).done;){var a=o.value;if(a.getFullYear()===r&&a.getMonth()===n&&a.getDate()===t)return!0}}catch(l){i.e(l)}finally{i.f()}}return!1},isDayDisabled:function(t,n,r){if(this.disabledDays){var i=new Date(r,n,t),o=i.getDay();return this.disabledDays.indexOf(o)!==-1}return!1},onMonthDropdownChange:function(t){this.currentMonth=parseInt(t),this.$emit("month-change",{month:this.currentMonth+1,year:this.currentYear})},onYearDropdownChange:function(t){this.currentYear=parseInt(t),this.$emit("year-change",{month:this.currentMonth+1,year:this.currentYear})},onDateSelect:function(t,n){var r=this;if(!(this.disabled||!n.selectable)){if(ht(this.overlay,'table td span:not([data-p-disabled="true"])').forEach(function(o){return o.tabIndex=-1}),t&&t.currentTarget.focus(),this.isMultipleSelection()&&this.isSelected(n)){var i=this.d_value.filter(function(o){return!r.isDateEquals(o,n)});this.updateModel(i)}else this.shouldSelectDate(n)&&(n.otherMonth?(this.currentMonth=n.month,this.currentYear=n.year,this.selectDate(n)):this.selectDate(n));this.isSingleSelection()&&(!this.showTime||this.hideOnDateTimeSelect)&&(this.input&&this.input.focus(),setTimeout(function(){r.overlayVisible=!1},150))}},selectDate:function(t){var n=this,r=new Date(t.year,t.month,t.day);this.showTime&&(this.hourFormat==="12"&&this.currentHour!==12&&this.pm?r.setHours(this.currentHour+12):r.setHours(this.currentHour),r.setMinutes(this.currentMinute),r.setSeconds(this.currentSecond)),this.minDate&&this.minDate>r&&(r=this.minDate,this.currentHour=r.getHours(),this.currentMinute=r.getMinutes(),this.currentSecond=r.getSeconds()),this.maxDate&&this.maxDate=o.getTime()?a=r:(o=r,a=null),i=[o,a]}else i=[r,null];i!==null&&this.updateModel(i),this.isRangeSelection()&&this.hideOnRangeSelection&&i[1]!==null&&setTimeout(function(){n.overlayVisible=!1},150),this.$emit("date-select",r)},updateModel:function(t){this.writeValue(t)},shouldSelectDate:function(){return this.isMultipleSelection()&&this.maxDateCount!=null?this.maxDateCount>(this.d_value?this.d_value.length:0):!0},isSingleSelection:function(){return this.selectionMode==="single"},isRangeSelection:function(){return this.selectionMode==="range"},isMultipleSelection:function(){return this.selectionMode==="multiple"},formatValue:function(t){if(typeof t=="string")return t;var n="";if(t)try{if(this.isSingleSelection())n=this.formatDateTime(t);else if(this.isMultipleSelection())for(var r=0;r11&&r!==12&&(r-=12),this.hourFormat==="12"?n+=r===0?12:r<10?"0"+r:r:n+=r<10?"0"+r:r,n+=":",n+=i<10?"0"+i:i,this.showSeconds&&(n+=":",n+=o<10?"0"+o:o),this.hourFormat==="12"&&(n+=t.getHours()>11?" ".concat(this.$primevue.config.locale.pm):" ".concat(this.$primevue.config.locale.am)),n},onTodayButtonClick:function(t){var n=new Date,r={day:n.getDate(),month:n.getMonth(),year:n.getFullYear(),otherMonth:n.getMonth()!==this.currentMonth||n.getFullYear()!==this.currentYear,today:!0,selectable:!0};this.onDateSelect(null,r),this.$emit("today-click",n),t.preventDefault()},onClearButtonClick:function(t){this.updateModel(null),this.overlayVisible=!1,this.$emit("clear-click",t),t.preventDefault()},onTimePickerElementMouseDown:function(t,n,r){this.isEnabled()&&(this.repeat(t,null,n,r),t.preventDefault())},onTimePickerElementMouseUp:function(t){this.isEnabled()&&(this.clearTimePickerTimer(),this.updateModelTime(),t.preventDefault())},onTimePickerElementMouseLeave:function(){this.clearTimePickerTimer()},repeat:function(t,n,r,i){var o=this,a=n||500;switch(this.clearTimePickerTimer(),this.timePickerTimer=setTimeout(function(){o.repeat(t,100,r,i)},a),r){case 0:i===1?this.incrementHour(t):this.decrementHour(t);break;case 1:i===1?this.incrementMinute(t):this.decrementMinute(t);break;case 2:i===1?this.incrementSecond(t):this.decrementSecond(t);break}},convertTo24Hour:function(t,n){return this.hourFormat=="12"?t===12?n?12:0:n?t+12:t:t},validateTime:function(t,n,r,i){var o=this.isComparable()?this.d_value:this.viewDate,a=this.convertTo24Hour(t,i);this.isRangeSelection()&&(o=this.d_value[1]||this.d_value[0]),this.isMultipleSelection()&&(o=this.d_value[this.d_value.length-1]);var l=o?o.toDateString():null;return!(this.minDate&&l&&this.minDate.toDateString()===l&&(this.minDate.getHours()>a||this.minDate.getHours()===a&&(this.minDate.getMinutes()>n||this.minDate.getMinutes()===n&&this.minDate.getSeconds()>r))||this.maxDate&&l&&this.maxDate.toDateString()===l&&(this.maxDate.getHours()=24?r-24:r:this.hourFormat=="12"&&(n<12&&r>11&&(i=!this.pm),r=r>=13?r-12:r),this.validateTime(r,this.currentMinute,this.currentSecond,i)&&(this.currentHour=r,this.pm=i),t.preventDefault()},decrementHour:function(t){var n=this.currentHour-this.stepHour,r=this.pm;this.hourFormat=="24"?n=n<0?24+n:n:this.hourFormat=="12"&&(this.currentHour===12&&(r=!this.pm),n=n<=0?12+n:n),this.validateTime(n,this.currentMinute,this.currentSecond,r)&&(this.currentHour=n,this.pm=r),t.preventDefault()},incrementMinute:function(t){var n=this.currentMinute+Number(this.stepMinute);this.validateTime(this.currentHour,n,this.currentSecond,this.pm)&&(this.currentMinute=n>59?n-60:n),t.preventDefault()},decrementMinute:function(t){var n=this.currentMinute-this.stepMinute;n=n<0?60+n:n,this.validateTime(this.currentHour,n,this.currentSecond,this.pm)&&(this.currentMinute=n),t.preventDefault()},incrementSecond:function(t){var n=this.currentSecond+Number(this.stepSecond);this.validateTime(this.currentHour,this.currentMinute,n,this.pm)&&(this.currentSecond=n>59?n-60:n),t.preventDefault()},decrementSecond:function(t){var n=this.currentSecond-this.stepSecond;n=n<0?60+n:n,this.validateTime(this.currentHour,this.currentMinute,n,this.pm)&&(this.currentSecond=n),t.preventDefault()},updateModelTime:function(){var t=this;this.timePickerChange=!0;var n=this.isComparable()?this.d_value:this.viewDate;this.isRangeSelection()&&(n=this.d_value[1]||this.d_value[0]),this.isMultipleSelection()&&(n=this.d_value[this.d_value.length-1]),n=n?new Date(n.getTime()):new Date,this.hourFormat=="12"?this.currentHour===12?n.setHours(this.pm?12:0):n.setHours(this.pm?this.currentHour+12:this.currentHour):n.setHours(this.currentHour),n.setMinutes(this.currentMinute),n.setSeconds(this.currentSecond),this.isRangeSelection()&&(this.d_value[1]?n=[this.d_value[0],n]:n=[n,null]),this.isMultipleSelection()&&(n=[].concat(na(this.d_value.slice(0,-1)),[n])),this.updateModel(n),this.$emit("date-select",n),setTimeout(function(){return t.timePickerChange=!1},0)},toggleAMPM:function(t){var n=this.validateTime(this.currentHour,this.currentMinute,this.currentSecond,!this.pm);!n&&(this.maxDate||this.minDate)||(this.pm=!this.pm,this.updateModelTime(),t.preventDefault())},clearTimePickerTimer:function(){this.timePickerTimer&&clearInterval(this.timePickerTimer)},onMonthSelect:function(t,n){n.month;var r=n.index;this.view==="month"?this.onDateSelect(t,{year:this.currentYear,month:r,day:1,selectable:!0}):(this.currentMonth=r,this.currentView="date",this.$emit("month-change",{month:this.currentMonth+1,year:this.currentYear})),setTimeout(this.updateFocus,0)},onYearSelect:function(t,n){this.view==="year"?this.onDateSelect(t,{year:n.value,month:0,day:1,selectable:!0}):(this.currentYear=n.value,this.currentView="month",this.$emit("year-change",{month:this.currentMonth+1,year:this.currentYear})),setTimeout(this.updateFocus,0)},updateCurrentMetaData:function(){var t=this.viewDate;this.currentMonth=t.getMonth(),this.currentYear=t.getFullYear(),(this.showTime||this.timeOnly)&&this.updateCurrentTimeMeta(t)},isValidSelection:function(t){var n=this;if(t==null)return!0;var r=!0;return this.isSingleSelection()?this.isSelectable(t.getDate(),t.getMonth(),t.getFullYear(),!1)||(r=!1):t.every(function(i){return n.isSelectable(i.getDate(),i.getMonth(),i.getFullYear(),!1)})&&this.isRangeSelection()&&(r=t.length>1&&t[1]>=t[0]),r},parseValue:function(t){if(!t||t.trim().length===0)return null;var n;if(this.isSingleSelection())n=this.parseDateTime(t);else if(this.isMultipleSelection()){var r=t.split(",");n=[];var i=ra(r),o;try{for(i.s();!(o=i.n()).done;){var a=o.value;n.push(this.parseDateTime(a.trim()))}}catch(d){i.e(d)}finally{i.f()}}else if(this.isRangeSelection()){var l=t.split(" - ");n=[];for(var s=0;s23||a>59||this.hourFormat=="12"&&o>12||this.showSeconds&&(isNaN(l)||l>59))throw"Invalid time";return this.hourFormat=="12"&&o!==12&&this.pm?o+=12:this.hourFormat=="12"&&o==12&&!this.pm&&(o=0),{hour:o,minute:a,second:l}},parseDate:function(t,n){if(n==null||t==null)throw"Invalid arguments";if(t=Ma(t)==="object"?t.toString():t+"",t==="")return null;var r,i,o,a=0,l=typeof this.shortYearCutoff!="string"?this.shortYearCutoff:new Date().getFullYear()%100+parseInt(this.shortYearCutoff,10),s=-1,d=-1,u=-1,c=-1,f=!1,p,m=function(T){var w=r+1-1){d=1,u=c;do{if(i=this.getDaysCountInMonth(s,d-1),u<=i)break;d++,u-=i}while(!0)}if(p=this.daylightSavingAdjust(new Date(s,d-1,u)),p.getFullYear()!==s||p.getMonth()+1!==d||p.getDate()!==u)throw"Invalid date";return p},getWeekNumber:function(t){var n=new Date(t.getTime());n.setDate(n.getDate()+4-(n.getDay()||7));var r=n.getTime();return n.setMonth(0),n.setDate(1),Math.floor(Math.round((r-n.getTime())/864e5)/7)+1},onDateCellKeydown:function(t,n,r){var i=t.currentTarget,o=i.parentElement,a=Jt(o);switch(t.code){case"ArrowDown":{i.tabIndex="-1";var l=o.parentElement.nextElementSibling;if(l){var s=Jt(o.parentElement),d=Array.from(o.parentElement.parentElement.children),u=d.slice(s+1),c=u.find(function(O){var R=O.children[a].children[0];return!Fe(R,"data-p-disabled")});if(c){var f=c.children[a].children[0];f.tabIndex="0",f.focus()}else this.navigationState={backward:!1},this.navForward(t)}else this.navigationState={backward:!1},this.navForward(t);t.preventDefault();break}case"ArrowUp":{if(i.tabIndex="-1",t.altKey)this.overlayVisible=!1,this.focused=!0;else{var p=o.parentElement.previousElementSibling;if(p){var m=Jt(o.parentElement),v=Array.from(o.parentElement.parentElement.children),C=v.slice(0,m).reverse(),S=C.find(function(O){var R=O.children[a].children[0];return!Fe(R,"data-p-disabled")});if(S){var x=S.children[a].children[0];x.tabIndex="0",x.focus()}else this.navigationState={backward:!0},this.navBackward(t)}else this.navigationState={backward:!0},this.navBackward(t)}t.preventDefault();break}case"ArrowLeft":{i.tabIndex="-1";var T=o.previousElementSibling;if(T){var w=Array.from(o.parentElement.children),F=w.slice(0,a).reverse(),G=F.find(function(O){var R=O.children[0];return!Fe(R,"data-p-disabled")});if(G){var E=G.children[0];E.tabIndex="0",E.focus()}else this.navigateToMonth(t,!0,r)}else this.navigateToMonth(t,!0,r);t.preventDefault();break}case"ArrowRight":{i.tabIndex="-1";var K=o.nextElementSibling;if(K){var z=Array.from(o.parentElement.children),J=z.slice(a+1),N=J.find(function(O){var R=O.children[0];return!Fe(R,"data-p-disabled")});if(N){var H=N.children[0];H.tabIndex="0",H.focus()}else this.navigateToMonth(t,!1,r)}else this.navigateToMonth(t,!1,r);t.preventDefault();break}case"Enter":case"NumpadEnter":case"Space":{this.onDateSelect(t,n),t.preventDefault();break}case"Escape":{this.overlayVisible=!1,t.preventDefault();break}case"Tab":{this.inline||this.trapFocus(t);break}case"Home":{i.tabIndex="-1";var le=o.parentElement,fe=le.children[0].children[0];Fe(fe,"data-p-disabled")?this.navigateToMonth(t,!0,r):(fe.tabIndex="0",fe.focus()),t.preventDefault();break}case"End":{i.tabIndex="-1";var ye=o.parentElement,M=ye.children[ye.children.length-1].children[0];Fe(M,"data-p-disabled")?this.navigateToMonth(t,!1,r):(M.tabIndex="0",M.focus()),t.preventDefault();break}case"PageUp":{i.tabIndex="-1",t.shiftKey?(this.navigationState={backward:!0},this.navBackward(t)):this.navigateToMonth(t,!0,r),t.preventDefault();break}case"PageDown":{i.tabIndex="-1",t.shiftKey?(this.navigationState={backward:!1},this.navForward(t)):this.navigateToMonth(t,!1,r),t.preventDefault();break}}},navigateToMonth:function(t,n,r){if(n)if(this.numberOfMonths===1||r===0)this.navigationState={backward:!0},this.navBackward(t);else{var i=this.overlay.children[r-1],o=ht(i,'table td span:not([data-p-disabled="true"]):not([data-p-ink="true"])'),a=o[o.length-1];a.tabIndex="0",a.focus()}else if(this.numberOfMonths===1||r===this.numberOfMonths-1)this.navigationState={backward:!1},this.navForward(t);else{var l=this.overlay.children[r+1],s=We(l,'table td span:not([data-p-disabled="true"]):not([data-p-ink="true"])');s.tabIndex="0",s.focus()}},onMonthCellKeydown:function(t,n){var r=t.currentTarget;switch(t.code){case"ArrowUp":case"ArrowDown":{r.tabIndex="-1";var i=r.parentElement.children,o=Jt(r),a=i[t.code==="ArrowDown"?o+3:o-3];a&&(a.tabIndex="0",a.focus()),t.preventDefault();break}case"ArrowLeft":{r.tabIndex="-1";var l=r.previousElementSibling;l?(l.tabIndex="0",l.focus()):(this.navigationState={backward:!0},this.navBackward(t)),t.preventDefault();break}case"ArrowRight":{r.tabIndex="-1";var s=r.nextElementSibling;s?(s.tabIndex="0",s.focus()):(this.navigationState={backward:!1},this.navForward(t)),t.preventDefault();break}case"PageUp":{if(t.shiftKey)return;this.navigationState={backward:!0},this.navBackward(t);break}case"PageDown":{if(t.shiftKey)return;this.navigationState={backward:!1},this.navForward(t);break}case"Enter":case"NumpadEnter":case"Space":{this.onMonthSelect(t,n),t.preventDefault();break}case"Escape":{this.overlayVisible=!1,t.preventDefault();break}case"Tab":{this.trapFocus(t);break}}},onYearCellKeydown:function(t,n){var r=t.currentTarget;switch(t.code){case"ArrowUp":case"ArrowDown":{r.tabIndex="-1";var i=r.parentElement.children,o=Jt(r),a=i[t.code==="ArrowDown"?o+2:o-2];a&&(a.tabIndex="0",a.focus()),t.preventDefault();break}case"ArrowLeft":{r.tabIndex="-1";var l=r.previousElementSibling;l?(l.tabIndex="0",l.focus()):(this.navigationState={backward:!0},this.navBackward(t)),t.preventDefault();break}case"ArrowRight":{r.tabIndex="-1";var s=r.nextElementSibling;s?(s.tabIndex="0",s.focus()):(this.navigationState={backward:!1},this.navForward(t)),t.preventDefault();break}case"PageUp":{if(t.shiftKey)return;this.navigationState={backward:!0},this.navBackward(t);break}case"PageDown":{if(t.shiftKey)return;this.navigationState={backward:!1},this.navForward(t);break}case"Enter":case"NumpadEnter":case"Space":{this.onYearSelect(t,n),t.preventDefault();break}case"Escape":{this.overlayVisible=!1,t.preventDefault();break}case"Tab":{this.trapFocus(t);break}}},updateFocus:function(){var t;if(this.navigationState){if(this.navigationState.button)this.initFocusableCell(),this.navigationState.backward?this.previousButton.focus():this.nextButton.focus();else{if(this.navigationState.backward){var n;this.currentView==="month"?n=ht(this.overlay,'[data-pc-section="monthview"] [data-pc-section="month"]:not([data-p-disabled="true"])'):this.currentView==="year"?n=ht(this.overlay,'[data-pc-section="yearview"] [data-pc-section="year"]:not([data-p-disabled="true"])'):n=ht(this.overlay,'table td span:not([data-p-disabled="true"]):not([data-p-ink="true"])'),n&&n.length>0&&(t=n[n.length-1])}else this.currentView==="month"?t=We(this.overlay,'[data-pc-section="monthview"] [data-pc-section="month"]:not([data-p-disabled="true"])'):this.currentView==="year"?t=We(this.overlay,'[data-pc-section="yearview"] [data-pc-section="year"]:not([data-p-disabled="true"])'):t=We(this.overlay,'table td span:not([data-p-disabled="true"]):not([data-p-ink="true"])');t&&(t.tabIndex="0",t.focus())}this.navigationState=null}else this.initFocusableCell()},initFocusableCell:function(){var t;if(this.currentView==="month"){var n=ht(this.overlay,'[data-pc-section="monthview"] [data-pc-section="month"]'),r=We(this.overlay,'[data-pc-section="monthview"] [data-pc-section="month"][data-p-selected="true"]');n.forEach(function(l){return l.tabIndex=-1}),t=r||n[0]}else if(this.currentView==="year"){var i=ht(this.overlay,'[data-pc-section="yearview"] [data-pc-section="year"]'),o=We(this.overlay,'[data-pc-section="yearview"] [data-pc-section="year"][data-p-selected="true"]');i.forEach(function(l){return l.tabIndex=-1}),t=o||i[0]}else if(t=We(this.overlay,'span[data-p-selected="true"]'),!t){var a=We(this.overlay,'td[data-p-today="true"] span:not([data-p-disabled="true"]):not([data-p-ink="true"])');a?t=a:t=We(this.overlay,'.p-datepicker-calendar td span:not([data-p-disabled="true"]):not([data-p-ink="true"])')}t&&(t.tabIndex="0",this.preventFocus=!1)},trapFocus:function(t){t.preventDefault();var n=er(this.overlay);if(n&&n.length>0)if(!document.activeElement)n[0].focus();else{var r=n.indexOf(document.activeElement);if(t.shiftKey)r===-1||r===0?n[n.length-1].focus():n[r-1].focus();else if(r===-1)if(this.timeOnly)n[0].focus();else{var i=n.findIndex(function(o){return o.tagName==="SPAN"});i===-1&&(i=n.findIndex(function(o){return o.tagName==="BUTTON"})),i!==-1?n[i].focus():n[0].focus()}else r===n.length-1?n[0].focus():n[r+1].focus()}},onContainerButtonKeydown:function(t){switch(t.code){case"Tab":this.trapFocus(t);break;case"Escape":this.overlayVisible=!1,t.preventDefault();break}this.$emit("keydown",t)},onInput:function(t){try{this.selectionStart=this.input.selectionStart,this.selectionEnd=this.input.selectionEnd;var n=this.parseValue(t.target.value);this.isValidSelection(n)&&(this.typeUpdate=!0,this.updateModel(n),this.updateCurrentMetaData())}catch{}this.$emit("input",t)},onInputClick:function(){this.showOnFocus&&this.isEnabled()&&!this.overlayVisible&&(this.overlayVisible=!0)},onFocus:function(t){this.showOnFocus&&this.isEnabled()&&(this.overlayVisible=!0),this.focused=!0,this.$emit("focus",t)},onBlur:function(t){var n,r;this.$emit("blur",{originalEvent:t,value:t.target.value}),(n=(r=this.formField).onBlur)===null||n===void 0||n.call(r),this.focused=!1,t.target.value=this.formatValue(this.d_value)},onKeyDown:function(t){if(t.code==="ArrowDown"&&this.overlay)this.trapFocus(t);else if(t.code==="ArrowDown"&&!this.overlay)this.overlayVisible=!0;else if(t.code==="Escape")this.overlayVisible&&(this.overlayVisible=!1,t.preventDefault());else if(t.code==="Tab")this.overlay&&er(this.overlay).forEach(function(i){return i.tabIndex="-1"}),this.overlayVisible&&(this.overlayVisible=!1);else if(t.code==="Enter"){var n;if(this.manualInput&&t.target.value!==null&&((n=t.target.value)===null||n===void 0?void 0:n.trim())!=="")try{var r=this.parseValue(t.target.value);this.isValidSelection(r)&&(this.overlayVisible=!1)}catch{}this.$emit("keydown",t)}},overlayRef:function(t){this.overlay=t},inputRef:function(t){this.input=t?t.$el:void 0},previousButtonRef:function(t){this.previousButton=t?t.$el:void 0},nextButtonRef:function(t){this.nextButton=t?t.$el:void 0},getMonthName:function(t){return this.$primevue.config.locale.monthNames[t]},getYear:function(t){return this.currentView==="month"?this.currentYear:t.year},onOverlayClick:function(t){t.stopPropagation(),this.inline||Ht.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.inline||(this.input.focus(),this.overlayVisible=!1);break}},onOverlayMouseUp:function(t){this.onOverlayClick(t)},createResponsiveStyle:function(){if(this.numberOfMonths>1&&this.responsiveOptions&&!this.isUnstyled){if(!this.responsiveStyleElement){var t;this.responsiveStyleElement=document.createElement("style"),this.responsiveStyleElement.type="text/css",Io(this.responsiveStyleElement,"nonce",(t=this.$primevue)===null||t===void 0||(t=t.config)===null||t===void 0||(t=t.csp)===null||t===void 0?void 0:t.nonce),document.body.appendChild(this.responsiveStyleElement)}var n="";if(this.responsiveOptions)for(var r=xa(),i=na(this.responsiveOptions).filter(function(c){return!!(c.breakpoint&&c.numMonths)}).sort(function(c,f){return-1*r(c.breakpoint,f.breakpoint)}),o=0;on?this.minDate:n},inputFieldValue:function(){return this.formatValue(this.d_value)},months:function(){for(var t=[],n=0;n11&&(r=r%11-1,i=i+1);for(var o=[],a=this.getFirstDayOfMonthIndex(r,i),l=this.getDaysCountInMonth(r,i),s=this.getDaysCountInPrevMonth(r,i),d=1,u=new Date,c=[],f=Math.ceil((l+a)/7),p=0;pl){var w=this.getNextMonthAndYear(r,i);m.push({day:d-l,month:w.month,year:w.year,otherMonth:!0,today:this.isToday(u,d-l,w.month,w.year),selectable:this.isSelectable(d-l,w.month,w.year,!0)})}else m.push({day:d,month:r,year:i,today:this.isToday(u,d,r,i),selectable:this.isSelectable(d,r,i,!1)});d++}this.showWeek&&c.push(this.getWeekNumber(new Date(m[0].year,m[0].month,m[0].day))),o.push(m)}t.push({month:r,year:i,dates:o,weekNumbers:c})}return t},weekDays:function(){for(var t=[],n=this.$primevue.config.locale.firstDayOfWeek,r=0;r<7;r++)t.push(this.$primevue.config.locale.dayNamesMin[n]),n=n==6?0:++n;return t},ticksTo1970:function(){return(1969*365+Math.floor(1970/4)-Math.floor(1970/100)+Math.floor(1970/400))*24*60*60*1e7},sundayIndex:function(){return this.$primevue.config.locale.firstDayOfWeek>0?7-this.$primevue.config.locale.firstDayOfWeek:0},datePattern:function(){return this.dateFormat||this.$primevue.config.locale.dateFormat},monthPickerValues:function(){for(var t=this,n=[],r=function(a){if(t.minDate){var l=t.minDate.getMonth(),s=t.minDate.getFullYear();if(t.currentYearu||t.currentYear===u&&a>d)return!1}return!0},i=0;i<=11;i++)n.push({value:this.$primevue.config.locale.monthNamesShort[i],selectable:r(i)});return n},yearPickerValues:function(){for(var t=this,n=[],r=this.currentYear-this.currentYear%10,i=function(l){return!(t.minDate&&t.minDate.getFullYear()>l||t.maxDate&&t.maxDate.getFullYear()1||this.disabled},panelId:function(){return this.$id+"_panel"}},components:{InputText:lr,Button:gn,Portal:sr,CalendarIcon:xc,ChevronLeftIcon:Oc,ChevronRightIcon:Di,ChevronUpIcon:yc,ChevronDownIcon:ir},directives:{ripple:Bt}},Wb=["id"],_b=["disabled","aria-label","aria-expanded","aria-controls"],Yb=["id","role","aria-modal","aria-label"],qb=["disabled","aria-label"],Zb=["disabled","aria-label"],Xb=["disabled","aria-label"],Jb=["disabled","aria-label"],Qb=["data-p-disabled"],e0=["abbr"],t0=["data-p-disabled"],n0=["aria-label","data-p-today","data-p-other-month"],r0=["onClick","onKeydown","aria-selected","aria-disabled","data-p-disabled","data-p-selected"],o0=["onClick","onKeydown","data-p-disabled","data-p-selected"],i0=["onClick","onKeydown","data-p-disabled","data-p-selected"];function a0(e,t,n,r,i,o){var a=q("InputText"),l=q("Button"),s=q("Portal"),d=xt("ripple");return h(),b("span",g({ref:"container",id:e.$id,class:e.cx("root"),style:e.sx("root")},e.ptmi("root")),[e.inline?P("",!0):(h(),$(a,{key:0,ref:o.inputRef,id:e.inputId,role:"combobox",class:ie([e.inputClass,e.cx("pcInputText")]),style:or(e.inputStyle),defaultValue:o.inputFieldValue,placeholder:e.placeholder,name:e.name,size:e.size,invalid:e.invalid,variant:e.variant,fluid:e.fluid,unstyled:e.unstyled,autocomplete:"off","aria-autocomplete":"none","aria-haspopup":"dialog","aria-expanded":i.overlayVisible,"aria-controls":o.panelId,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,inputmode:"none",disabled:e.disabled,readonly:!e.manualInput||e.readonly,tabindex:0,onInput:o.onInput,onClick:o.onInputClick,onFocus:o.onFocus,onBlur:o.onBlur,onKeydown:o.onKeyDown,pt:e.ptm("pcInputText")},null,8,["id","class","style","defaultValue","placeholder","name","size","invalid","variant","fluid","unstyled","aria-expanded","aria-controls","aria-labelledby","aria-label","disabled","readonly","onInput","onClick","onFocus","onBlur","onKeydown","pt"])),e.showIcon&&e.iconDisplay==="button"&&!e.inline?D(e.$slots,"dropdownbutton",{key:1,toggleCallback:o.onButtonClick},function(){return[B("button",g({class:e.cx("dropdown"),disabled:e.disabled,onClick:t[0]||(t[0]=function(){return o.onButtonClick&&o.onButtonClick.apply(o,arguments)}),type:"button","aria-label":e.$primevue.config.locale.chooseDate,"aria-haspopup":"dialog","aria-expanded":i.overlayVisible,"aria-controls":o.panelId},e.ptm("dropdown")),[D(e.$slots,"dropdownicon",{class:ie(e.icon)},function(){return[(h(),$(ee(e.icon?"span":"CalendarIcon"),g({class:e.icon},e.ptm("dropdownIcon")),null,16,["class"]))]})],16,_b)]}):e.showIcon&&e.iconDisplay==="input"&&!e.inline?(h(),b(Z,{key:2},[e.$slots.inputicon||e.showIcon?(h(),b("span",g({key:0,class:e.cx("inputIconContainer")},e.ptm("inputIconContainer")),[D(e.$slots,"inputicon",{class:ie(e.cx("inputIcon")),clickCallback:o.onButtonClick},function(){return[(h(),$(ee(e.icon?"i":"CalendarIcon"),g({class:[e.icon,e.cx("inputIcon")],onClick:o.onButtonClick},e.ptm("inputicon")),null,16,["class","onClick"]))]})],16)):P("",!0)],64)):P("",!0),ne(s,{appendTo:e.appendTo,disabled:e.inline},{default:_(function(){return[ne(Oo,g({name:"p-connected-overlay",onEnter:t[58]||(t[58]=function(u){return o.onOverlayEnter(u)}),onAfterEnter:o.onOverlayEnterComplete,onAfterLeave:o.onOverlayAfterLeave,onLeave:o.onOverlayLeave},e.ptm("transition")),{default:_(function(){return[e.inline||i.overlayVisible?(h(),b("div",g({key:0,ref:o.overlayRef,id:o.panelId,class:[e.cx("panel"),e.panelClass],style:e.panelStyle,role:e.inline?null:"dialog","aria-modal":e.inline?null:"true","aria-label":e.$primevue.config.locale.chooseDate,onClick:t[55]||(t[55]=function(){return o.onOverlayClick&&o.onOverlayClick.apply(o,arguments)}),onKeydown:t[56]||(t[56]=function(){return o.onOverlayKeyDown&&o.onOverlayKeyDown.apply(o,arguments)}),onMouseup:t[57]||(t[57]=function(){return o.onOverlayMouseUp&&o.onOverlayMouseUp.apply(o,arguments)})},e.ptm("panel")),[e.timeOnly?P("",!0):(h(),b(Z,{key:0},[B("div",g({class:e.cx("calendarContainer")},e.ptm("calendarContainer")),[(h(!0),b(Z,null,Oe(o.months,function(u,c){return h(),b("div",g({key:u.month+u.year,class:e.cx("calendar"),ref_for:!0},e.ptm("calendar")),[B("div",g({class:e.cx("header"),ref_for:!0},e.ptm("header")),[D(e.$slots,"header"),Ze(ne(l,g({ref_for:!0,ref:o.previousButtonRef,class:e.cx("pcPrevButton"),disabled:e.disabled,"aria-label":i.currentView==="year"?e.$primevue.config.locale.prevDecade:i.currentView==="month"?e.$primevue.config.locale.prevYear:e.$primevue.config.locale.prevMonth,unstyled:e.unstyled,onClick:o.onPrevButtonClick,onKeydown:o.onContainerButtonKeydown},e.navigatorButtonProps,{pt:e.ptm("pcPrevButton"),"data-pc-group-section":"navigator"}),{icon:_(function(f){return[D(e.$slots,"previcon",{},function(){return[(h(),$(ee(e.prevIcon?"span":"ChevronLeftIcon"),g({class:[e.prevIcon,f.class],ref_for:!0},e.ptm("pcPrevButton").icon),null,16,["class"]))]})]}),_:2},1040,["class","disabled","aria-label","unstyled","onClick","onKeydown","pt"]),[[Sa,c===0]]),B("div",g({class:e.cx("title"),ref_for:!0},e.ptm("title")),[e.$primevue.config.locale.showMonthAfterYear?(h(),b(Z,{key:0},[i.currentView!=="year"?(h(),b("button",g({key:0,type:"button",onClick:t[1]||(t[1]=function(){return o.switchToYearView&&o.switchToYearView.apply(o,arguments)}),onKeydown:t[2]||(t[2]=function(){return o.onContainerButtonKeydown&&o.onContainerButtonKeydown.apply(o,arguments)}),class:e.cx("selectYear"),disabled:o.switchViewButtonDisabled,"aria-label":e.$primevue.config.locale.chooseYear,ref_for:!0},e.ptm("selectYear"),{"data-pc-group-section":"view"}),oe(o.getYear(u)),17,qb)):P("",!0),i.currentView==="date"?(h(),b("button",g({key:1,type:"button",onClick:t[3]||(t[3]=function(){return o.switchToMonthView&&o.switchToMonthView.apply(o,arguments)}),onKeydown:t[4]||(t[4]=function(){return o.onContainerButtonKeydown&&o.onContainerButtonKeydown.apply(o,arguments)}),class:e.cx("selectMonth"),disabled:o.switchViewButtonDisabled,"aria-label":e.$primevue.config.locale.chooseMonth,ref_for:!0},e.ptm("selectMonth"),{"data-pc-group-section":"view"}),oe(o.getMonthName(u.month)),17,Zb)):P("",!0)],64)):(h(),b(Z,{key:1},[i.currentView==="date"?(h(),b("button",g({key:0,type:"button",onClick:t[5]||(t[5]=function(){return o.switchToMonthView&&o.switchToMonthView.apply(o,arguments)}),onKeydown:t[6]||(t[6]=function(){return o.onContainerButtonKeydown&&o.onContainerButtonKeydown.apply(o,arguments)}),class:e.cx("selectMonth"),disabled:o.switchViewButtonDisabled,"aria-label":e.$primevue.config.locale.chooseMonth,ref_for:!0},e.ptm("selectMonth"),{"data-pc-group-section":"view"}),oe(o.getMonthName(u.month)),17,Xb)):P("",!0),i.currentView!=="year"?(h(),b("button",g({key:1,type:"button",onClick:t[7]||(t[7]=function(){return o.switchToYearView&&o.switchToYearView.apply(o,arguments)}),onKeydown:t[8]||(t[8]=function(){return o.onContainerButtonKeydown&&o.onContainerButtonKeydown.apply(o,arguments)}),class:e.cx("selectYear"),disabled:o.switchViewButtonDisabled,"aria-label":e.$primevue.config.locale.chooseYear,ref_for:!0},e.ptm("selectYear"),{"data-pc-group-section":"view"}),oe(o.getYear(u)),17,Jb)):P("",!0)],64)),i.currentView==="year"?(h(),b("span",g({key:2,class:e.cx("decade"),ref_for:!0},e.ptm("decade")),[D(e.$slots,"decade",{years:o.yearPickerValues},function(){return[Ke(oe(o.yearPickerValues[0].value)+" - "+oe(o.yearPickerValues[o.yearPickerValues.length-1].value),1)]})],16)):P("",!0)],16),Ze(ne(l,g({ref_for:!0,ref:o.nextButtonRef,class:e.cx("pcNextButton"),disabled:e.disabled,"aria-label":i.currentView==="year"?e.$primevue.config.locale.nextDecade:i.currentView==="month"?e.$primevue.config.locale.nextYear:e.$primevue.config.locale.nextMonth,unstyled:e.unstyled,onClick:o.onNextButtonClick,onKeydown:o.onContainerButtonKeydown},e.navigatorButtonProps,{pt:e.ptm("pcNextButton"),"data-pc-group-section":"navigator"}),{icon:_(function(f){return[D(e.$slots,"nexticon",{},function(){return[(h(),$(ee(e.nextIcon?"span":"ChevronRightIcon"),g({class:[e.nextIcon,f.class],ref_for:!0},e.ptm("pcNextButton").icon),null,16,["class"]))]})]}),_:2},1040,["class","disabled","aria-label","unstyled","onClick","onKeydown","pt"]),[[Sa,e.numberOfMonths===1?!0:c===e.numberOfMonths-1]])],16),i.currentView==="date"?(h(),b("table",g({key:0,class:e.cx("dayView"),role:"grid",ref_for:!0},e.ptm("dayView")),[B("thead",g({ref_for:!0},e.ptm("tableHeader")),[B("tr",g({ref_for:!0},e.ptm("tableHeaderRow")),[e.showWeek?(h(),b("th",g({key:0,scope:"col",class:e.cx("weekHeader"),ref_for:!0},e.ptm("weekHeader",{context:{disabled:e.showWeek}}),{"data-p-disabled":e.showWeek,"data-pc-group-section":"tableheadercell"}),[D(e.$slots,"weekheaderlabel",{},function(){return[B("span",g({ref_for:!0},e.ptm("weekHeaderLabel",{context:{disabled:e.showWeek}}),{"data-pc-group-section":"tableheadercelllabel"}),oe(o.weekHeaderLabel),17)]})],16,Qb)):P("",!0),(h(!0),b(Z,null,Oe(o.weekDays,function(f){return h(),b("th",g({key:f,scope:"col",abbr:f,ref_for:!0},e.ptm("tableHeaderCell"),{"data-pc-group-section":"tableheadercell",class:e.cx("weekDayCell")}),[B("span",g({class:e.cx("weekDay"),ref_for:!0},e.ptm("weekDay"),{"data-pc-group-section":"tableheadercelllabel"}),oe(f),17)],16,e0)}),128))],16)],16),B("tbody",g({ref_for:!0},e.ptm("tableBody")),[(h(!0),b(Z,null,Oe(u.dates,function(f,p){return h(),b("tr",g({key:f[0].day+""+f[0].month,ref_for:!0},e.ptm("tableBodyRow")),[e.showWeek?(h(),b("td",g({key:0,class:e.cx("weekNumber"),ref_for:!0},e.ptm("weekNumber"),{"data-pc-group-section":"tablebodycell"}),[B("span",g({class:e.cx("weekLabelContainer"),ref_for:!0},e.ptm("weekLabelContainer",{context:{disabled:e.showWeek}}),{"data-p-disabled":e.showWeek,"data-pc-group-section":"tablebodycelllabel"}),[D(e.$slots,"weeklabel",{weekNumber:u.weekNumbers[p]},function(){return[u.weekNumbers[p]<10?(h(),b("span",g({key:0,style:{visibility:"hidden"},ref_for:!0},e.ptm("weekLabel")),"0",16)):P("",!0),Ke(" "+oe(u.weekNumbers[p]),1)]})],16,t0)],16)):P("",!0),(h(!0),b(Z,null,Oe(f,function(m){return h(),b("td",g({key:m.day+""+m.month,"aria-label":m.day,class:e.cx("dayCell",{date:m}),ref_for:!0},e.ptm("dayCell",{context:{date:m,today:m.today,otherMonth:m.otherMonth,selected:o.isSelected(m),disabled:!m.selectable}}),{"data-p-today":m.today,"data-p-other-month":m.otherMonth,"data-pc-group-section":"tablebodycell"}),[e.showOtherMonths||!m.otherMonth?Ze((h(),b("span",g({key:0,class:e.cx("day",{date:m}),onClick:function(C){return o.onDateSelect(C,m)},draggable:"false",onKeydown:function(C){return o.onDateCellKeydown(C,m,c)},"aria-selected":o.isSelected(m),"aria-disabled":!m.selectable,ref_for:!0},e.ptm("day",{context:{date:m,today:m.today,otherMonth:m.otherMonth,selected:o.isSelected(m),disabled:!m.selectable}}),{"data-p-disabled":!m.selectable,"data-p-selected":o.isSelected(m),"data-pc-group-section":"tablebodycelllabel"}),[D(e.$slots,"date",{date:m},function(){return[Ke(oe(m.day),1)]})],16,r0)),[[d]]):P("",!0),o.isSelected(m)?(h(),b("div",g({key:1,class:"p-hidden-accessible","aria-live":"polite",ref_for:!0},e.ptm("hiddenSelectedDay"),{"data-p-hidden-accessible":!0}),oe(m.day),17)):P("",!0)],16,n0)}),128))],16)}),128))],16)],16)):P("",!0)],16)}),128))],16),i.currentView==="month"?(h(),b("div",g({key:0,class:e.cx("monthView")},e.ptm("monthView")),[(h(!0),b(Z,null,Oe(o.monthPickerValues,function(u,c){return Ze((h(),b("span",g({key:u,onClick:function(p){return o.onMonthSelect(p,{month:u,index:c})},onKeydown:function(p){return o.onMonthCellKeydown(p,{month:u,index:c})},class:e.cx("month",{month:u,index:c}),ref_for:!0},e.ptm("month",{context:{month:u,monthIndex:c,selected:o.isMonthSelected(c),disabled:!u.selectable}}),{"data-p-disabled":!u.selectable,"data-p-selected":o.isMonthSelected(c)}),[Ke(oe(u.value)+" ",1),o.isMonthSelected(c)?(h(),b("div",g({key:0,class:"p-hidden-accessible","aria-live":"polite",ref_for:!0},e.ptm("hiddenMonth"),{"data-p-hidden-accessible":!0}),oe(u.value),17)):P("",!0)],16,o0)),[[d]])}),128))],16)):P("",!0),i.currentView==="year"?(h(),b("div",g({key:1,class:e.cx("yearView")},e.ptm("yearView")),[(h(!0),b(Z,null,Oe(o.yearPickerValues,function(u){return Ze((h(),b("span",g({key:u.value,onClick:function(f){return o.onYearSelect(f,u)},onKeydown:function(f){return o.onYearCellKeydown(f,u)},class:e.cx("year",{year:u}),ref_for:!0},e.ptm("year",{context:{year:u,selected:o.isYearSelected(u.value),disabled:!u.selectable}}),{"data-p-disabled":!u.selectable,"data-p-selected":o.isYearSelected(u.value)}),[Ke(oe(u.value)+" ",1),o.isYearSelected(u.value)?(h(),b("div",g({key:0,class:"p-hidden-accessible","aria-live":"polite",ref_for:!0},e.ptm("hiddenYear"),{"data-p-hidden-accessible":!0}),oe(u.value),17)):P("",!0)],16,i0)),[[d]])}),128))],16)):P("",!0)],64)),(e.showTime||e.timeOnly)&&i.currentView==="date"?(h(),b("div",g({key:1,class:e.cx("timePicker")},e.ptm("timePicker")),[B("div",g({class:e.cx("hourPicker")},e.ptm("hourPicker"),{"data-pc-group-section":"timepickerContainer"}),[ne(l,g({class:e.cx("pcIncrementButton"),"aria-label":e.$primevue.config.locale.nextHour,unstyled:e.unstyled,onMousedown:t[9]||(t[9]=function(u){return o.onTimePickerElementMouseDown(u,0,1)}),onMouseup:t[10]||(t[10]=function(u){return o.onTimePickerElementMouseUp(u)}),onKeydown:[o.onContainerButtonKeydown,t[12]||(t[12]=Te(function(u){return o.onTimePickerElementMouseDown(u,0,1)},["enter"])),t[13]||(t[13]=Te(function(u){return o.onTimePickerElementMouseDown(u,0,1)},["space"]))],onMouseleave:t[11]||(t[11]=function(u){return o.onTimePickerElementMouseLeave()}),onKeyup:[t[14]||(t[14]=Te(function(u){return o.onTimePickerElementMouseUp(u)},["enter"])),t[15]||(t[15]=Te(function(u){return o.onTimePickerElementMouseUp(u)},["space"]))]},e.timepickerButtonProps,{pt:e.ptm("pcIncrementButton"),"data-pc-group-section":"timepickerbutton"}),{icon:_(function(u){return[D(e.$slots,"incrementicon",{},function(){return[(h(),$(ee(e.incrementIcon?"span":"ChevronUpIcon"),g({class:[e.incrementIcon,u.class]},e.ptm("pcIncrementButton").icon,{"data-pc-group-section":"timepickerlabel"}),null,16,["class"]))]})]}),_:3},16,["class","aria-label","unstyled","onKeydown","pt"]),B("span",g(e.ptm("hour"),{"data-pc-group-section":"timepickerlabel"}),oe(o.formattedCurrentHour),17),ne(l,g({class:e.cx("pcDecrementButton"),"aria-label":e.$primevue.config.locale.prevHour,unstyled:e.unstyled,onMousedown:t[16]||(t[16]=function(u){return o.onTimePickerElementMouseDown(u,0,-1)}),onMouseup:t[17]||(t[17]=function(u){return o.onTimePickerElementMouseUp(u)}),onKeydown:[o.onContainerButtonKeydown,t[19]||(t[19]=Te(function(u){return o.onTimePickerElementMouseDown(u,0,-1)},["enter"])),t[20]||(t[20]=Te(function(u){return o.onTimePickerElementMouseDown(u,0,-1)},["space"]))],onMouseleave:t[18]||(t[18]=function(u){return o.onTimePickerElementMouseLeave()}),onKeyup:[t[21]||(t[21]=Te(function(u){return o.onTimePickerElementMouseUp(u)},["enter"])),t[22]||(t[22]=Te(function(u){return o.onTimePickerElementMouseUp(u)},["space"]))]},e.timepickerButtonProps,{pt:e.ptm("pcDecrementButton"),"data-pc-group-section":"timepickerbutton"}),{icon:_(function(u){return[D(e.$slots,"decrementicon",{},function(){return[(h(),$(ee(e.decrementIcon?"span":"ChevronDownIcon"),g({class:[e.decrementIcon,u.class]},e.ptm("pcDecrementButton").icon,{"data-pc-group-section":"timepickerlabel"}),null,16,["class"]))]})]}),_:3},16,["class","aria-label","unstyled","onKeydown","pt"])],16),B("div",g(e.ptm("separatorContainer"),{"data-pc-group-section":"timepickerContainer"}),[B("span",g(e.ptm("separator"),{"data-pc-group-section":"timepickerlabel"}),oe(e.timeSeparator),17)],16),B("div",g({class:e.cx("minutePicker")},e.ptm("minutePicker"),{"data-pc-group-section":"timepickerContainer"}),[ne(l,g({class:e.cx("pcIncrementButton"),"aria-label":e.$primevue.config.locale.nextMinute,disabled:e.disabled,unstyled:e.unstyled,onMousedown:t[23]||(t[23]=function(u){return o.onTimePickerElementMouseDown(u,1,1)}),onMouseup:t[24]||(t[24]=function(u){return o.onTimePickerElementMouseUp(u)}),onKeydown:[o.onContainerButtonKeydown,t[26]||(t[26]=Te(function(u){return o.onTimePickerElementMouseDown(u,1,1)},["enter"])),t[27]||(t[27]=Te(function(u){return o.onTimePickerElementMouseDown(u,1,1)},["space"]))],onMouseleave:t[25]||(t[25]=function(u){return o.onTimePickerElementMouseLeave()}),onKeyup:[t[28]||(t[28]=Te(function(u){return o.onTimePickerElementMouseUp(u)},["enter"])),t[29]||(t[29]=Te(function(u){return o.onTimePickerElementMouseUp(u)},["space"]))]},e.timepickerButtonProps,{pt:e.ptm("pcIncrementButton"),"data-pc-group-section":"timepickerbutton"}),{icon:_(function(u){return[D(e.$slots,"incrementicon",{},function(){return[(h(),$(ee(e.incrementIcon?"span":"ChevronUpIcon"),g({class:[e.incrementIcon,u.class]},e.ptm("pcIncrementButton").icon,{"data-pc-group-section":"timepickerlabel"}),null,16,["class"]))]})]}),_:3},16,["class","aria-label","disabled","unstyled","onKeydown","pt"]),B("span",g(e.ptm("minute"),{"data-pc-group-section":"timepickerlabel"}),oe(o.formattedCurrentMinute),17),ne(l,g({class:e.cx("pcDecrementButton"),"aria-label":e.$primevue.config.locale.prevMinute,disabled:e.disabled,unstyled:e.unstyled,onMousedown:t[30]||(t[30]=function(u){return o.onTimePickerElementMouseDown(u,1,-1)}),onMouseup:t[31]||(t[31]=function(u){return o.onTimePickerElementMouseUp(u)}),onKeydown:[o.onContainerButtonKeydown,t[33]||(t[33]=Te(function(u){return o.onTimePickerElementMouseDown(u,1,-1)},["enter"])),t[34]||(t[34]=Te(function(u){return o.onTimePickerElementMouseDown(u,1,-1)},["space"]))],onMouseleave:t[32]||(t[32]=function(u){return o.onTimePickerElementMouseLeave()}),onKeyup:[t[35]||(t[35]=Te(function(u){return o.onTimePickerElementMouseUp(u)},["enter"])),t[36]||(t[36]=Te(function(u){return o.onTimePickerElementMouseUp(u)},["space"]))]},e.timepickerButtonProps,{pt:e.ptm("pcDecrementButton"),"data-pc-group-section":"timepickerbutton"}),{icon:_(function(u){return[D(e.$slots,"decrementicon",{},function(){return[(h(),$(ee(e.decrementIcon?"span":"ChevronDownIcon"),g({class:[e.decrementIcon,u.class]},e.ptm("pcDecrementButton").icon,{"data-pc-group-section":"timepickerlabel"}),null,16,["class"]))]})]}),_:3},16,["class","aria-label","disabled","unstyled","onKeydown","pt"])],16),e.showSeconds?(h(),b("div",g({key:0,class:e.cx("separatorContainer")},e.ptm("separatorContainer"),{"data-pc-group-section":"timepickerContainer"}),[B("span",g(e.ptm("separator"),{"data-pc-group-section":"timepickerlabel"}),oe(e.timeSeparator),17)],16)):P("",!0),e.showSeconds?(h(),b("div",g({key:1,class:e.cx("secondPicker")},e.ptm("secondPicker"),{"data-pc-group-section":"timepickerContainer"}),[ne(l,g({class:e.cx("pcIncrementButton"),"aria-label":e.$primevue.config.locale.nextSecond,disabled:e.disabled,unstyled:e.unstyled,onMousedown:t[37]||(t[37]=function(u){return o.onTimePickerElementMouseDown(u,2,1)}),onMouseup:t[38]||(t[38]=function(u){return o.onTimePickerElementMouseUp(u)}),onKeydown:[o.onContainerButtonKeydown,t[40]||(t[40]=Te(function(u){return o.onTimePickerElementMouseDown(u,2,1)},["enter"])),t[41]||(t[41]=Te(function(u){return o.onTimePickerElementMouseDown(u,2,1)},["space"]))],onMouseleave:t[39]||(t[39]=function(u){return o.onTimePickerElementMouseLeave()}),onKeyup:[t[42]||(t[42]=Te(function(u){return o.onTimePickerElementMouseUp(u)},["enter"])),t[43]||(t[43]=Te(function(u){return o.onTimePickerElementMouseUp(u)},["space"]))]},e.timepickerButtonProps,{pt:e.ptm("pcIncrementButton"),"data-pc-group-section":"timepickerbutton"}),{icon:_(function(u){return[D(e.$slots,"incrementicon",{},function(){return[(h(),$(ee(e.incrementIcon?"span":"ChevronUpIcon"),g({class:[e.incrementIcon,u.class]},e.ptm("pcIncrementButton").icon,{"data-pc-group-section":"timepickerlabel"}),null,16,["class"]))]})]}),_:3},16,["class","aria-label","disabled","unstyled","onKeydown","pt"]),B("span",g(e.ptm("second"),{"data-pc-group-section":"timepickerlabel"}),oe(o.formattedCurrentSecond),17),ne(l,g({class:e.cx("pcDecrementButton"),"aria-label":e.$primevue.config.locale.prevSecond,disabled:e.disabled,unstyled:e.unstyled,onMousedown:t[44]||(t[44]=function(u){return o.onTimePickerElementMouseDown(u,2,-1)}),onMouseup:t[45]||(t[45]=function(u){return o.onTimePickerElementMouseUp(u)}),onKeydown:[o.onContainerButtonKeydown,t[47]||(t[47]=Te(function(u){return o.onTimePickerElementMouseDown(u,2,-1)},["enter"])),t[48]||(t[48]=Te(function(u){return o.onTimePickerElementMouseDown(u,2,-1)},["space"]))],onMouseleave:t[46]||(t[46]=function(u){return o.onTimePickerElementMouseLeave()}),onKeyup:[t[49]||(t[49]=Te(function(u){return o.onTimePickerElementMouseUp(u)},["enter"])),t[50]||(t[50]=Te(function(u){return o.onTimePickerElementMouseUp(u)},["space"]))]},e.timepickerButtonProps,{pt:e.ptm("pcDecrementButton"),"data-pc-group-section":"timepickerbutton"}),{icon:_(function(u){return[D(e.$slots,"decrementicon",{},function(){return[(h(),$(ee(e.decrementIcon?"span":"ChevronDownIcon"),g({class:[e.decrementIcon,u.class]},e.ptm("pcDecrementButton").icon,{"data-pc-group-section":"timepickerlabel"}),null,16,["class"]))]})]}),_:3},16,["class","aria-label","disabled","unstyled","onKeydown","pt"])],16)):P("",!0),e.hourFormat=="12"?(h(),b("div",g({key:2,class:e.cx("separatorContainer")},e.ptm("separatorContainer"),{"data-pc-group-section":"timepickerContainer"}),[B("span",g(e.ptm("separator"),{"data-pc-group-section":"timepickerlabel"}),oe(e.timeSeparator),17)],16)):P("",!0),e.hourFormat=="12"?(h(),b("div",g({key:3,class:e.cx("ampmPicker")},e.ptm("ampmPicker")),[ne(l,g({class:e.cx("pcIncrementButton"),"aria-label":e.$primevue.config.locale.am,disabled:e.disabled,unstyled:e.unstyled,onClick:t[51]||(t[51]=function(u){return o.toggleAMPM(u)}),onKeydown:o.onContainerButtonKeydown},e.timepickerButtonProps,{pt:e.ptm("pcIncrementButton"),"data-pc-group-section":"timepickerbutton"}),{icon:_(function(u){return[D(e.$slots,"incrementicon",{class:ie(e.cx("incrementIcon"))},function(){return[(h(),$(ee(e.incrementIcon?"span":"ChevronUpIcon"),g({class:[e.cx("incrementIcon"),u.class]},e.ptm("pcIncrementButton").icon,{"data-pc-group-section":"timepickerlabel"}),null,16,["class"]))]})]}),_:3},16,["class","aria-label","disabled","unstyled","onKeydown","pt"]),B("span",g(e.ptm("ampm"),{"data-pc-group-section":"timepickerlabel"}),oe(i.pm?e.$primevue.config.locale.pm:e.$primevue.config.locale.am),17),ne(l,g({class:e.cx("pcDecrementButton"),"aria-label":e.$primevue.config.locale.pm,disabled:e.disabled,onClick:t[52]||(t[52]=function(u){return o.toggleAMPM(u)}),onKeydown:o.onContainerButtonKeydown},e.timepickerButtonProps,{pt:e.ptm("pcDecrementButton"),"data-pc-group-section":"timepickerbutton"}),{icon:_(function(u){return[D(e.$slots,"decrementicon",{class:ie(e.cx("decrementIcon"))},function(){return[(h(),$(ee(e.decrementIcon?"span":"ChevronDownIcon"),g({class:[e.cx("decrementIcon"),u.class]},e.ptm("pcDecrementButton").icon,{"data-pc-group-section":"timepickerlabel"}),null,16,["class"]))]})]}),_:3},16,["class","aria-label","disabled","onKeydown","pt"])],16)):P("",!0)],16)):P("",!0),e.showButtonBar?(h(),b("div",g({key:2,class:e.cx("buttonbar")},e.ptm("buttonbar")),[ne(l,g({label:o.todayLabel,onClick:t[53]||(t[53]=function(u){return o.onTodayButtonClick(u)}),class:e.cx("pcTodayButton"),unstyled:e.unstyled,onKeydown:o.onContainerButtonKeydown},e.todayButtonProps,{pt:e.ptm("pcTodayButton"),"data-pc-group-section":"button"}),null,16,["label","class","unstyled","onKeydown","pt"]),ne(l,g({label:o.clearLabel,onClick:t[54]||(t[54]=function(u){return o.onClearButtonClick(u)}),class:e.cx("pcClearButton"),unstyled:e.unstyled,onKeydown:o.onContainerButtonKeydown},e.clearButtonProps,{pt:e.ptm("pcClearButton"),"data-pc-group-section":"button"}),null,16,["label","class","unstyled","onKeydown","pt"])],16)):P("",!0),D(e.$slots,"footer")],16,Yb)):P("",!0)]}),_:3},16,["onAfterEnter","onAfterLeave","onLeave"])]}),_:3},8,["appendTo","disabled"])],16,Wb)}Pc.render=a0;var Rc={name:"AngleRightIcon",extends:Se};function l0(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z",fill:"currentColor"},null,-1)]),16)}Rc.render=l0;var Po={name:"TimesIcon",extends:Se};function s0(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"},null,-1)]),16)}Po.render=s0;var Fn={name:"CheckIcon",extends:Se};function u0(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",fill:"currentColor"},null,-1)]),16)}Fn.render=u0;var Tc={name:"MinusIcon",extends:Se};function d0(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z",fill:"currentColor"},null,-1)]),16)}Tc.render=d0;var c0=({dt:e})=>` -.p-checkbox { - position: relative; - display: inline-flex; - user-select: none; - vertical-align: bottom; - width: ${e("checkbox.width")}; - height: ${e("checkbox.height")}; -} - -.p-checkbox-input { - cursor: pointer; - appearance: none; - position: absolute; - inset-block-start: 0; - inset-inline-start: 0; - width: 100%; - height: 100%; - padding: 0; - margin: 0; - opacity: 0; - z-index: 1; - outline: 0 none; - border: 1px solid transparent; - border-radius: ${e("checkbox.border.radius")}; -} - -.p-checkbox-box { - display: flex; - justify-content: center; - align-items: center; - border-radius: ${e("checkbox.border.radius")}; - border: 1px solid ${e("checkbox.border.color")}; - background: ${e("checkbox.background")}; - width: ${e("checkbox.width")}; - height: ${e("checkbox.height")}; - transition: background ${e("checkbox.transition.duration")}, color ${e("checkbox.transition.duration")}, border-color ${e("checkbox.transition.duration")}, box-shadow ${e("checkbox.transition.duration")}, outline-color ${e("checkbox.transition.duration")}; - outline-color: transparent; - box-shadow: ${e("checkbox.shadow")}; -} - -.p-checkbox-icon { - transition-duration: ${e("checkbox.transition.duration")}; - color: ${e("checkbox.icon.color")}; - font-size: ${e("checkbox.icon.size")}; - width: ${e("checkbox.icon.size")}; - height: ${e("checkbox.icon.size")}; -} - -.p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { - border-color: ${e("checkbox.hover.border.color")}; -} - -.p-checkbox-checked .p-checkbox-box { - border-color: ${e("checkbox.checked.border.color")}; - background: ${e("checkbox.checked.background")}; -} - -.p-checkbox-checked .p-checkbox-icon { - color: ${e("checkbox.icon.checked.color")}; -} - -.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { - background: ${e("checkbox.checked.hover.background")}; - border-color: ${e("checkbox.checked.hover.border.color")}; -} - -.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-icon { - color: ${e("checkbox.icon.checked.hover.color")}; -} - -.p-checkbox:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box { - border-color: ${e("checkbox.focus.border.color")}; - box-shadow: ${e("checkbox.focus.ring.shadow")}; - outline: ${e("checkbox.focus.ring.width")} ${e("checkbox.focus.ring.style")} ${e("checkbox.focus.ring.color")}; - outline-offset: ${e("checkbox.focus.ring.offset")}; -} - -.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box { - border-color: ${e("checkbox.checked.focus.border.color")}; -} - -.p-checkbox.p-invalid > .p-checkbox-box { - border-color: ${e("checkbox.invalid.border.color")}; -} - -.p-checkbox.p-variant-filled .p-checkbox-box { - background: ${e("checkbox.filled.background")}; -} - -.p-checkbox-checked.p-variant-filled .p-checkbox-box { - background: ${e("checkbox.checked.background")}; -} - -.p-checkbox-checked.p-variant-filled:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { - background: ${e("checkbox.checked.hover.background")}; -} - -.p-checkbox.p-disabled { - opacity: 1; -} - -.p-checkbox.p-disabled .p-checkbox-box { - background: ${e("checkbox.disabled.background")}; - border-color: ${e("checkbox.checked.disabled.border.color")}; -} - -.p-checkbox.p-disabled .p-checkbox-box .p-checkbox-icon { - color: ${e("checkbox.icon.disabled.color")}; -} - -.p-checkbox-sm, -.p-checkbox-sm .p-checkbox-box { - width: ${e("checkbox.sm.width")}; - height: ${e("checkbox.sm.height")}; -} - -.p-checkbox-sm .p-checkbox-icon { - font-size: ${e("checkbox.icon.sm.size")}; - width: ${e("checkbox.icon.sm.size")}; - height: ${e("checkbox.icon.sm.size")}; -} - -.p-checkbox-lg, -.p-checkbox-lg .p-checkbox-box { - width: ${e("checkbox.lg.width")}; - height: ${e("checkbox.lg.height")}; -} - -.p-checkbox-lg .p-checkbox-icon { - font-size: ${e("checkbox.icon.lg.size")}; - width: ${e("checkbox.icon.lg.size")}; - height: ${e("checkbox.icon.lg.size")}; -} -`,f0={root:function(t){var n=t.instance,r=t.props;return["p-checkbox p-component",{"p-checkbox-checked":n.checked,"p-disabled":r.disabled,"p-invalid":n.$pcCheckboxGroup?n.$pcCheckboxGroup.$invalid:n.$invalid,"p-variant-filled":n.$variant==="filled","p-checkbox-sm p-inputfield-sm":r.size==="small","p-checkbox-lg p-inputfield-lg":r.size==="large"}]},box:"p-checkbox-box",input:"p-checkbox-input",icon:"p-checkbox-icon"},p0=ge.extend({name:"checkbox",style:c0,classes:f0}),h0={name:"BaseCheckbox",extends:yn,props:{value:null,binary:Boolean,indeterminate:{type:Boolean,default:!1},trueValue:{type:null,default:!0},falseValue:{type:null,default:!1},readonly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:p0,provide:function(){return{$pcCheckbox:this,$parentInstance:this}}};function g0(e){return y0(e)||v0(e)||b0(e)||m0()}function m0(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b0(e,t){if(e){if(typeof e=="string")return Ea(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ea(e,t):void 0}}function v0(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function y0(e){if(Array.isArray(e))return Ea(e)}function Ea(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(d){throw d},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var d=n.next();return a=d.done,d},e:function(d){l=!0,o=d},f:function(){try{a||n.return==null||n.return()}finally{if(l)throw o}}}}function x0(e,t){if(e){if(typeof e=="string")return Ys(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ys(e,t):void 0}}function Ys(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);nn.getTime():t>n},gte:function(t,n){return n==null?!0:t==null?!1:t.getTime&&n.getTime?t.getTime()>=n.getTime():t>=n},dateIs:function(t,n){return n==null?!0:t==null?!1:t.toDateString()===n.toDateString()},dateIsNot:function(t,n){return n==null?!0:t==null?!1:t.toDateString()!==n.toDateString()},dateBefore:function(t,n){return n==null?!0:t==null?!1:t.getTime()n.getTime()}},register:function(t,n){this.filters[t]=n}};function qr(e){"@babel/helpers - typeof";return qr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qr(e)}function qs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function zo(e){for(var t=1;t` -.p-dialog { - max-height: 90%; - transform: scale(1); - border-radius: ${e("dialog.border.radius")}; - box-shadow: ${e("dialog.shadow")}; - background: ${e("dialog.background")}; - border: 1px solid ${e("dialog.border.color")}; - color: ${e("dialog.color")}; -} - -.p-dialog-content { - overflow-y: auto; - padding: ${e("dialog.content.padding")}; -} - -.p-dialog-header { - display: flex; - align-items: center; - justify-content: space-between; - flex-shrink: 0; - padding: ${e("dialog.header.padding")}; -} - -.p-dialog-title { - font-weight: ${e("dialog.title.font.weight")}; - font-size: ${e("dialog.title.font.size")}; -} - -.p-dialog-footer { - flex-shrink: 0; - padding: ${e("dialog.footer.padding")}; - display: flex; - justify-content: flex-end; - gap: ${e("dialog.footer.gap")}; -} - -.p-dialog-header-actions { - display: flex; - align-items: center; - gap: ${e("dialog.header.gap")}; -} - -.p-dialog-enter-active { - transition: all 150ms cubic-bezier(0, 0, 0.2, 1); -} - -.p-dialog-leave-active { - transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); -} - -.p-dialog-enter-from, -.p-dialog-leave-to { - opacity: 0; - transform: scale(0.7); -} - -.p-dialog-top .p-dialog, -.p-dialog-bottom .p-dialog, -.p-dialog-left .p-dialog, -.p-dialog-right .p-dialog, -.p-dialog-topleft .p-dialog, -.p-dialog-topright .p-dialog, -.p-dialog-bottomleft .p-dialog, -.p-dialog-bottomright .p-dialog { - margin: 0.75rem; - transform: translate3d(0px, 0px, 0px); -} - -.p-dialog-top .p-dialog-enter-active, -.p-dialog-top .p-dialog-leave-active, -.p-dialog-bottom .p-dialog-enter-active, -.p-dialog-bottom .p-dialog-leave-active, -.p-dialog-left .p-dialog-enter-active, -.p-dialog-left .p-dialog-leave-active, -.p-dialog-right .p-dialog-enter-active, -.p-dialog-right .p-dialog-leave-active, -.p-dialog-topleft .p-dialog-enter-active, -.p-dialog-topleft .p-dialog-leave-active, -.p-dialog-topright .p-dialog-enter-active, -.p-dialog-topright .p-dialog-leave-active, -.p-dialog-bottomleft .p-dialog-enter-active, -.p-dialog-bottomleft .p-dialog-leave-active, -.p-dialog-bottomright .p-dialog-enter-active, -.p-dialog-bottomright .p-dialog-leave-active { - transition: all 0.3s ease-out; -} - -.p-dialog-top .p-dialog-enter-from, -.p-dialog-top .p-dialog-leave-to { - transform: translate3d(0px, -100%, 0px); -} - -.p-dialog-bottom .p-dialog-enter-from, -.p-dialog-bottom .p-dialog-leave-to { - transform: translate3d(0px, 100%, 0px); -} - -.p-dialog-left .p-dialog-enter-from, -.p-dialog-left .p-dialog-leave-to, -.p-dialog-topleft .p-dialog-enter-from, -.p-dialog-topleft .p-dialog-leave-to, -.p-dialog-bottomleft .p-dialog-enter-from, -.p-dialog-bottomleft .p-dialog-leave-to { - transform: translate3d(-100%, 0px, 0px); -} - -.p-dialog-right .p-dialog-enter-from, -.p-dialog-right .p-dialog-leave-to, -.p-dialog-topright .p-dialog-enter-from, -.p-dialog-topright .p-dialog-leave-to, -.p-dialog-bottomright .p-dialog-enter-from, -.p-dialog-bottomright .p-dialog-leave-to { - transform: translate3d(100%, 0px, 0px); -} - -.p-dialog-left:dir(rtl) .p-dialog-enter-from, -.p-dialog-left:dir(rtl) .p-dialog-leave-to, -.p-dialog-topleft:dir(rtl) .p-dialog-enter-from, -.p-dialog-topleft:dir(rtl) .p-dialog-leave-to, -.p-dialog-bottomleft:dir(rtl) .p-dialog-enter-from, -.p-dialog-bottomleft:dir(rtl) .p-dialog-leave-to { - transform: translate3d(100%, 0px, 0px); -} - -.p-dialog-right:dir(rtl) .p-dialog-enter-from, -.p-dialog-right:dir(rtl) .p-dialog-leave-to, -.p-dialog-topright:dir(rtl) .p-dialog-enter-from, -.p-dialog-topright:dir(rtl) .p-dialog-leave-to, -.p-dialog-bottomright:dir(rtl) .p-dialog-enter-from, -.p-dialog-bottomright:dir(rtl) .p-dialog-leave-to { - transform: translate3d(-100%, 0px, 0px); -} - -.p-dialog-maximized { - width: 100vw !important; - height: 100vh !important; - top: 0px !important; - left: 0px !important; - max-height: 100%; - height: 100%; - border-radius: 0; -} - -.p-dialog-maximized .p-dialog-content { - flex-grow: 1; -} -`,N0={mask:function(t){var n=t.position,r=t.modal;return{position:"fixed",height:"100%",width:"100%",left:0,top:0,display:"flex",justifyContent:n==="left"||n==="topleft"||n==="bottomleft"?"flex-start":n==="right"||n==="topright"||n==="bottomright"?"flex-end":"center",alignItems:n==="top"||n==="topleft"||n==="topright"?"flex-start":n==="bottom"||n==="bottomleft"||n==="bottomright"?"flex-end":"center",pointerEvents:r?"auto":"none"}},root:{display:"flex",flexDirection:"column",pointerEvents:"auto"}},G0={mask:function(t){var n=t.props,r=["left","right","top","topleft","topright","bottom","bottomleft","bottomright"],i=r.find(function(o){return o===n.position});return["p-dialog-mask",{"p-overlay-mask p-overlay-mask-enter":n.modal},i?"p-dialog-".concat(i):""]},root:function(t){var n=t.props,r=t.instance;return["p-dialog p-component",{"p-dialog-maximized":n.maximizable&&r.maximized}]},header:"p-dialog-header",title:"p-dialog-title",headerActions:"p-dialog-header-actions",pcMaximizeButton:"p-dialog-maximize-button",pcCloseButton:"p-dialog-close-button",content:"p-dialog-content",footer:"p-dialog-footer"},U0=ge.extend({name:"dialog",style:K0,classes:G0,inlineStyles:N0}),W0={name:"BaseDialog",extends:Ce,props:{header:{type:null,default:null},footer:{type:null,default:null},visible:{type:Boolean,default:!1},modal:{type:Boolean,default:null},contentStyle:{type:null,default:null},contentClass:{type:String,default:null},contentProps:{type:null,default:null},maximizable:{type:Boolean,default:!1},dismissableMask:{type:Boolean,default:!1},closable:{type:Boolean,default:!0},closeOnEscape:{type:Boolean,default:!0},showHeader:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!1},baseZIndex:{type:Number,default:0},autoZIndex:{type:Boolean,default:!0},position:{type:String,default:"center"},breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0},keepInViewport:{type:Boolean,default:!0},minX:{type:Number,default:0},minY:{type:Number,default:0},appendTo:{type:[String,Object],default:"body"},closeIcon:{type:String,default:void 0},maximizeIcon:{type:String,default:void 0},minimizeIcon:{type:String,default:void 0},closeButtonProps:{type:Object,default:function(){return{severity:"secondary",text:!0,rounded:!0}}},maximizeButtonProps:{type:Object,default:function(){return{severity:"secondary",text:!0,rounded:!0}}},_instance:null},style:U0,provide:function(){return{$pcDialog:this,$parentInstance:this}}},Ec={name:"Dialog",extends:W0,inheritAttrs:!1,emits:["update:visible","show","hide","after-hide","maximize","unmaximize","dragstart","dragend"],provide:function(){var t=this;return{dialogRef:Qd(function(){return t._instance})}},data:function(){return{containerVisible:this.visible,maximized:!1,focusableMax:null,focusableClose:null,target:null}},documentKeydownListener:null,container:null,mask:null,content:null,headerContainer:null,footerContainer:null,maximizableButton:null,closeButton:null,styleElement:null,dragging:null,documentDragListener:null,documentDragEndListener:null,lastPageX:null,lastPageY:null,maskMouseDownTarget:null,updated:function(){this.visible&&(this.containerVisible=this.visible)},beforeUnmount:function(){this.unbindDocumentState(),this.unbindGlobalListeners(),this.destroyStyle(),this.mask&&this.autoZIndex&&it.clear(this.mask),this.container=null,this.mask=null},mounted:function(){this.breakpoints&&this.createStyle()},methods:{close:function(){this.$emit("update:visible",!1)},onEnter:function(){this.$emit("show"),this.target=document.activeElement,this.enableDocumentSettings(),this.bindGlobalListeners(),this.autoZIndex&&it.set("modal",this.mask,this.baseZIndex+this.$primevue.config.zIndex.modal)},onAfterEnter:function(){this.focus()},onBeforeLeave:function(){this.modal&&!this.isUnstyled&&fn(this.mask,"p-overlay-mask-leave"),this.dragging&&this.documentDragEndListener&&this.documentDragEndListener()},onLeave:function(){this.$emit("hide"),He(this.target),this.target=null,this.focusableClose=null,this.focusableMax=null},onAfterLeave:function(){this.autoZIndex&&it.clear(this.mask),this.containerVisible=!1,this.unbindDocumentState(),this.unbindGlobalListeners(),this.$emit("after-hide")},onMaskMouseDown:function(t){this.maskMouseDownTarget=t.target},onMaskMouseUp:function(){this.dismissableMask&&this.modal&&this.mask===this.maskMouseDownTarget&&this.close()},focus:function(){var t=function(i){return i&&i.querySelector("[autofocus]")},n=this.$slots.footer&&t(this.footerContainer);n||(n=this.$slots.header&&t(this.headerContainer),n||(n=this.$slots.default&&t(this.content),n||(this.maximizable?(this.focusableMax=!0,n=this.maximizableButton):(this.focusableClose=!0,n=this.closeButton)))),n&&He(n,{focusVisible:!0})},maximize:function(t){this.maximized?(this.maximized=!1,this.$emit("unmaximize",t)):(this.maximized=!0,this.$emit("maximize",t)),this.modal||(this.maximized?Is():Ps())},enableDocumentSettings:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&Is()},unbindDocumentState:function(){(this.modal||!this.modal&&this.blockScroll||this.maximizable&&this.maximized)&&Ps()},onKeyDown:function(t){t.code==="Escape"&&this.closeOnEscape&&this.close()},bindDocumentKeyDownListener:function(){this.documentKeydownListener||(this.documentKeydownListener=this.onKeyDown.bind(this),window.document.addEventListener("keydown",this.documentKeydownListener))},unbindDocumentKeyDownListener:function(){this.documentKeydownListener&&(window.document.removeEventListener("keydown",this.documentKeydownListener),this.documentKeydownListener=null)},containerRef:function(t){this.container=t},maskRef:function(t){this.mask=t},contentRef:function(t){this.content=t},headerContainerRef:function(t){this.headerContainer=t},footerContainerRef:function(t){this.footerContainer=t},maximizableRef:function(t){this.maximizableButton=t?t.$el:void 0},closeButtonRef:function(t){this.closeButton=t?t.$el:void 0},createStyle:function(){if(!this.styleElement&&!this.isUnstyled){var t;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",Io(this.styleElement,"nonce",(t=this.$primevue)===null||t===void 0||(t=t.config)===null||t===void 0||(t=t.csp)===null||t===void 0?void 0:t.nonce),document.head.appendChild(this.styleElement);var n="";for(var r in this.breakpoints)n+=` - @media screen and (max-width: `.concat(r,`) { - .p-dialog[`).concat(this.$attrSelector,`] { - width: `).concat(this.breakpoints[r],` !important; - } - } - `);this.styleElement.innerHTML=n}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},initDrag:function(t){t.target.closest("div").getAttribute("data-pc-section")!=="headeractions"&&this.draggable&&(this.dragging=!0,this.lastPageX=t.pageX,this.lastPageY=t.pageY,this.container.style.margin="0",document.body.setAttribute("data-p-unselectable-text","true"),!this.isUnstyled&&En(document.body,{"user-select":"none"}),this.$emit("dragstart",t))},bindGlobalListeners:function(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.closeOnEscape&&this.closable&&this.bindDocumentKeyDownListener()},unbindGlobalListeners:function(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentKeyDownListener()},bindDocumentDragListener:function(){var t=this;this.documentDragListener=function(n){if(t.dragging){var r=Ne(t.container),i=zr(t.container),o=n.pageX-t.lastPageX,a=n.pageY-t.lastPageY,l=t.container.getBoundingClientRect(),s=l.left+o,d=l.top+a,u=hl(),c=getComputedStyle(t.container),f=parseFloat(c.marginLeft),p=parseFloat(c.marginTop);t.container.style.position="fixed",t.keepInViewport?(s>=t.minX&&s+r=t.minY&&d+i` -.p-paginator { - display: flex; - align-items: center; - justify-content: center; - flex-wrap: wrap; - background: ${e("paginator.background")}; - color: ${e("paginator.color")}; - padding: ${e("paginator.padding")}; - border-radius: ${e("paginator.border.radius")}; - gap: ${e("paginator.gap")}; -} - -.p-paginator-content { - display: flex; - align-items: center; - justify-content: center; - flex-wrap: wrap; - gap: ${e("paginator.gap")}; -} - -.p-paginator-content-start { - margin-inline-end: auto; -} - -.p-paginator-content-end { - margin-inline-start: auto; -} - -.p-paginator-page, -.p-paginator-next, -.p-paginator-last, -.p-paginator-first, -.p-paginator-prev { - cursor: pointer; - display: inline-flex; - align-items: center; - justify-content: center; - line-height: 1; - user-select: none; - overflow: hidden; - position: relative; - background: ${e("paginator.nav.button.background")}; - border: 0 none; - color: ${e("paginator.nav.button.color")}; - min-width: ${e("paginator.nav.button.width")}; - height: ${e("paginator.nav.button.height")}; - transition: background ${e("paginator.transition.duration")}, color ${e("paginator.transition.duration")}, outline-color ${e("paginator.transition.duration")}, box-shadow ${e("paginator.transition.duration")}; - border-radius: ${e("paginator.nav.button.border.radius")}; - padding: 0; - margin: 0; -} - -.p-paginator-page:focus-visible, -.p-paginator-next:focus-visible, -.p-paginator-last:focus-visible, -.p-paginator-first:focus-visible, -.p-paginator-prev:focus-visible { - box-shadow: ${e("paginator.nav.button.focus.ring.shadow")}; - outline: ${e("paginator.nav.button.focus.ring.width")} ${e("paginator.nav.button.focus.ring.style")} ${e("paginator.nav.button.focus.ring.color")}; - outline-offset: ${e("paginator.nav.button.focus.ring.offset")}; -} - -.p-paginator-page:not(.p-disabled):not(.p-paginator-page-selected):hover, -.p-paginator-first:not(.p-disabled):hover, -.p-paginator-prev:not(.p-disabled):hover, -.p-paginator-next:not(.p-disabled):hover, -.p-paginator-last:not(.p-disabled):hover { - background: ${e("paginator.nav.button.hover.background")}; - color: ${e("paginator.nav.button.hover.color")}; -} - -.p-paginator-page.p-paginator-page-selected { - background: ${e("paginator.nav.button.selected.background")}; - color: ${e("paginator.nav.button.selected.color")}; -} - -.p-paginator-current { - color: ${e("paginator.current.page.report.color")}; -} - -.p-paginator-pages { - display: flex; - align-items: center; - gap: ${e("paginator.gap")}; -} - -.p-paginator-jtp-input .p-inputtext { - max-width: ${e("paginator.jump.to.page.input.max.width")}; -} - -.p-paginator-first:dir(rtl), -.p-paginator-prev:dir(rtl), -.p-paginator-next:dir(rtl), -.p-paginator-last:dir(rtl) { - transform: rotate(180deg); -} -`;function Jr(e){"@babel/helpers - typeof";return Jr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jr(e)}function n1(e,t,n){return(t=r1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r1(e){var t=o1(e,"string");return Jr(t)=="symbol"?t:t+""}function o1(e,t){if(Jr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(Jr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var i1={paginator:function(t){var n=t.instance,r=t.key;return["p-paginator p-component",n1({"p-paginator-default":!n.hasBreakpoints()},"p-paginator-".concat(r),n.hasBreakpoints())]},content:"p-paginator-content",contentStart:"p-paginator-content-start",contentEnd:"p-paginator-content-end",first:function(t){var n=t.instance;return["p-paginator-first",{"p-disabled":n.$attrs.disabled}]},firstIcon:"p-paginator-first-icon",prev:function(t){var n=t.instance;return["p-paginator-prev",{"p-disabled":n.$attrs.disabled}]},prevIcon:"p-paginator-prev-icon",next:function(t){var n=t.instance;return["p-paginator-next",{"p-disabled":n.$attrs.disabled}]},nextIcon:"p-paginator-next-icon",last:function(t){var n=t.instance;return["p-paginator-last",{"p-disabled":n.$attrs.disabled}]},lastIcon:"p-paginator-last-icon",pages:"p-paginator-pages",page:function(t){var n=t.props,r=t.pageLink;return["p-paginator-page",{"p-paginator-page-selected":r-1===n.page}]},current:"p-paginator-current",pcRowPerPageDropdown:"p-paginator-rpp-dropdown",pcJumpToPageDropdown:"p-paginator-jtp-dropdown",pcJumpToPageInputText:"p-paginator-jtp-input"},a1=ge.extend({name:"paginator",style:t1,classes:i1}),Ac={name:"AngleDoubleLeftIcon",extends:Se};function l1(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z",fill:"currentColor"},null,-1)]),16)}Ac.render=l1;var zc={name:"BlankIcon",extends:Se};function s1(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("rect",{width:"1",height:"1",fill:"currentColor","fill-opacity":"0"},null,-1)]),16)}zc.render=s1;var yl={name:"SearchIcon",extends:Se};function u1(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z",fill:"currentColor"},null,-1)]),16)}yl.render=u1;var d1=({dt:e})=>` -.p-iconfield { - position: relative; -} - -.p-inputicon { - position: absolute; - top: 50%; - margin-top: calc(-1 * (${e("icon.size")} / 2)); - color: ${e("iconfield.icon.color")}; - line-height: 1; - z-index: 1; -} - -.p-iconfield .p-inputicon:first-child { - inset-inline-start: ${e("form.field.padding.x")}; -} - -.p-iconfield .p-inputicon:last-child { - inset-inline-end: ${e("form.field.padding.x")}; -} - -.p-iconfield .p-inputtext:not(:first-child), -.p-iconfield .p-inputwrapper:not(:first-child) .p-inputtext { - padding-inline-start: calc((${e("form.field.padding.x")} * 2) + ${e("icon.size")}); -} - -.p-iconfield .p-inputtext:not(:last-child) { - padding-inline-end: calc((${e("form.field.padding.x")} * 2) + ${e("icon.size")}); -} - -.p-iconfield:has(.p-inputfield-sm) .p-inputicon { - font-size: ${e("form.field.sm.font.size")}; - width: ${e("form.field.sm.font.size")}; - height: ${e("form.field.sm.font.size")}; - margin-top: calc(-1 * (${e("form.field.sm.font.size")} / 2)); -} - -.p-iconfield:has(.p-inputfield-lg) .p-inputicon { - font-size: ${e("form.field.lg.font.size")}; - width: ${e("form.field.lg.font.size")}; - height: ${e("form.field.lg.font.size")}; - margin-top: calc(-1 * (${e("form.field.lg.font.size")} / 2)); -} -`,c1={root:"p-iconfield"},f1=ge.extend({name:"iconfield",style:d1,classes:c1}),p1={name:"BaseIconField",extends:Ce,style:f1,provide:function(){return{$pcIconField:this,$parentInstance:this}}},wl={name:"IconField",extends:p1,inheritAttrs:!1};function h1(e,t,n,r,i,o){return h(),b("div",g({class:e.cx("root")},e.ptmi("root")),[D(e.$slots,"default")],16)}wl.render=h1;var g1={root:"p-inputicon"},m1=ge.extend({name:"inputicon",classes:g1}),b1={name:"BaseInputIcon",extends:Ce,style:m1,props:{class:null},provide:function(){return{$pcInputIcon:this,$parentInstance:this}}},kl={name:"InputIcon",extends:b1,inheritAttrs:!1,computed:{containerClass:function(){return[this.cx("root"),this.class]}}};function v1(e,t,n,r,i,o){return h(),b("span",g({class:o.containerClass},e.ptmi("root")),[D(e.$slots,"default")],16)}kl.render=v1;var y1=({dt:e})=>` -.p-select { - display: inline-flex; - cursor: pointer; - position: relative; - user-select: none; - background: ${e("select.background")}; - border: 1px solid ${e("select.border.color")}; - transition: background ${e("select.transition.duration")}, color ${e("select.transition.duration")}, border-color ${e("select.transition.duration")}, - outline-color ${e("select.transition.duration")}, box-shadow ${e("select.transition.duration")}; - border-radius: ${e("select.border.radius")}; - outline-color: transparent; - box-shadow: ${e("select.shadow")}; -} - -.p-select:not(.p-disabled):hover { - border-color: ${e("select.hover.border.color")}; -} - -.p-select:not(.p-disabled).p-focus { - border-color: ${e("select.focus.border.color")}; - box-shadow: ${e("select.focus.ring.shadow")}; - outline: ${e("select.focus.ring.width")} ${e("select.focus.ring.style")} ${e("select.focus.ring.color")}; - outline-offset: ${e("select.focus.ring.offset")}; -} - -.p-select.p-variant-filled { - background: ${e("select.filled.background")}; -} - -.p-select.p-variant-filled:not(.p-disabled):hover { - background: ${e("select.filled.hover.background")}; -} - -.p-select.p-variant-filled:not(.p-disabled).p-focus { - background: ${e("select.filled.focus.background")}; -} - -.p-select.p-invalid { - border-color: ${e("select.invalid.border.color")}; -} - -.p-select.p-disabled { - opacity: 1; - background: ${e("select.disabled.background")}; -} - -.p-select-clear-icon { - position: absolute; - top: 50%; - margin-top: -0.5rem; - color: ${e("select.clear.icon.color")}; - inset-inline-end: ${e("select.dropdown.width")}; -} - -.p-select-dropdown { - display: flex; - align-items: center; - justify-content: center; - flex-shrink: 0; - background: transparent; - color: ${e("select.dropdown.color")}; - width: ${e("select.dropdown.width")}; - border-start-end-radius: ${e("select.border.radius")}; - border-end-end-radius: ${e("select.border.radius")}; -} - -.p-select-label { - display: block; - white-space: nowrap; - overflow: hidden; - flex: 1 1 auto; - width: 1%; - padding: ${e("select.padding.y")} ${e("select.padding.x")}; - text-overflow: ellipsis; - cursor: pointer; - color: ${e("select.color")}; - background: transparent; - border: 0 none; - outline: 0 none; -} - -.p-select-label.p-placeholder { - color: ${e("select.placeholder.color")}; -} - -.p-select.p-invalid .p-select-label.p-placeholder { - color: ${e("select.invalid.placeholder.color")}; -} - -.p-select:has(.p-select-clear-icon) .p-select-label { - padding-inline-end: calc(1rem + ${e("select.padding.x")}); -} - -.p-select.p-disabled .p-select-label { - color: ${e("select.disabled.color")}; -} - -.p-select-label-empty { - overflow: hidden; - opacity: 0; -} - -input.p-select-label { - cursor: default; -} - -.p-select .p-select-overlay { - min-width: 100%; -} - -.p-select-overlay { - position: absolute; - top: 0; - left: 0; - background: ${e("select.overlay.background")}; - color: ${e("select.overlay.color")}; - border: 1px solid ${e("select.overlay.border.color")}; - border-radius: ${e("select.overlay.border.radius")}; - box-shadow: ${e("select.overlay.shadow")}; -} - -.p-select-header { - padding: ${e("select.list.header.padding")}; -} - -.p-select-filter { - width: 100%; -} - -.p-select-list-container { - overflow: auto; -} - -.p-select-option-group { - cursor: auto; - margin: 0; - padding: ${e("select.option.group.padding")}; - background: ${e("select.option.group.background")}; - color: ${e("select.option.group.color")}; - font-weight: ${e("select.option.group.font.weight")}; -} - -.p-select-list { - margin: 0; - padding: 0; - list-style-type: none; - padding: ${e("select.list.padding")}; - gap: ${e("select.list.gap")}; - display: flex; - flex-direction: column; -} - -.p-select-option { - cursor: pointer; - font-weight: normal; - white-space: nowrap; - position: relative; - overflow: hidden; - display: flex; - align-items: center; - padding: ${e("select.option.padding")}; - border: 0 none; - color: ${e("select.option.color")}; - background: transparent; - transition: background ${e("select.transition.duration")}, color ${e("select.transition.duration")}, border-color ${e("select.transition.duration")}, - box-shadow ${e("select.transition.duration")}, outline-color ${e("select.transition.duration")}; - border-radius: ${e("select.option.border.radius")}; -} - -.p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus { - background: ${e("select.option.focus.background")}; - color: ${e("select.option.focus.color")}; -} - -.p-select-option.p-select-option-selected { - background: ${e("select.option.selected.background")}; - color: ${e("select.option.selected.color")}; -} - -.p-select-option.p-select-option-selected.p-focus { - background: ${e("select.option.selected.focus.background")}; - color: ${e("select.option.selected.focus.color")}; -} - -.p-select-option-blank-icon { - flex-shrink: 0; -} - -.p-select-option-check-icon { - position: relative; - flex-shrink: 0; - margin-inline-start: ${e("select.checkmark.gutter.start")}; - margin-inline-end: ${e("select.checkmark.gutter.end")}; - color: ${e("select.checkmark.color")}; -} - -.p-select-empty-message { - padding: ${e("select.empty.message.padding")}; -} - -.p-select-fluid { - display: flex; - width: 100%; -} - -.p-select-sm .p-select-label { - font-size: ${e("select.sm.font.size")}; - padding-block: ${e("select.sm.padding.y")}; - padding-inline: ${e("select.sm.padding.x")}; -} - -.p-select-sm .p-select-dropdown .p-icon { - font-size: ${e("select.sm.font.size")}; - width: ${e("select.sm.font.size")}; - height: ${e("select.sm.font.size")}; -} - -.p-select-lg .p-select-label { - font-size: ${e("select.lg.font.size")}; - padding-block: ${e("select.lg.padding.y")}; - padding-inline: ${e("select.lg.padding.x")}; -} - -.p-select-lg .p-select-dropdown .p-icon { - font-size: ${e("select.lg.font.size")}; - width: ${e("select.lg.font.size")}; - height: ${e("select.lg.font.size")}; -} -`,w1={root:function(t){var n=t.instance,r=t.props,i=t.state;return["p-select p-component p-inputwrapper",{"p-disabled":r.disabled,"p-invalid":n.$invalid,"p-variant-filled":n.$variant==="filled","p-focus":i.focused,"p-inputwrapper-filled":n.$filled,"p-inputwrapper-focus":i.focused||i.overlayVisible,"p-select-open":i.overlayVisible,"p-select-fluid":n.$fluid,"p-select-sm p-inputfield-sm":r.size==="small","p-select-lg p-inputfield-lg":r.size==="large"}]},label:function(t){var n=t.instance,r=t.props;return["p-select-label",{"p-placeholder":!r.editable&&n.label===r.placeholder,"p-select-label-empty":!r.editable&&!n.$slots.value&&(n.label==="p-emptylabel"||n.label.length===0)}]},clearIcon:"p-select-clear-icon",dropdown:"p-select-dropdown",loadingicon:"p-select-loading-icon",dropdownIcon:"p-select-dropdown-icon",overlay:"p-select-overlay p-component",header:"p-select-header",pcFilter:"p-select-filter",listContainer:"p-select-list-container",list:"p-select-list",optionGroup:"p-select-option-group",optionGroupLabel:"p-select-option-group-label",option:function(t){var n=t.instance,r=t.props,i=t.state,o=t.option,a=t.focusedOption;return["p-select-option",{"p-select-option-selected":n.isSelected(o)&&r.highlightOnSelect,"p-focus":i.focusedOptionIndex===a,"p-disabled":n.isOptionDisabled(o)}]},optionLabel:"p-select-option-label",optionCheckIcon:"p-select-option-check-icon",optionBlankIcon:"p-select-option-blank-icon",emptyMessage:"p-select-empty-message"},k1=ge.extend({name:"select",style:y1,classes:w1}),C1={name:"BaseSelect",extends:yn,props:{options:Array,optionLabel:[String,Function],optionValue:[String,Function],optionDisabled:[String,Function],optionGroupLabel:[String,Function],optionGroupChildren:[String,Function],scrollHeight:{type:String,default:"14rem"},filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},editable:Boolean,placeholder:{type:String,default:null},dataKey:null,showClear:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},labelId:{type:String,default:null},labelClass:{type:[String,Object],default:null},labelStyle:{type:Object,default:null},panelClass:{type:[String,Object],default:null},overlayStyle:{type:Object,default:null},overlayClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},appendTo:{type:[String,Object],default:"body"},loading:{type:Boolean,default:!1},clearIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},resetFilterOnHide:{type:Boolean,default:!1},resetFilterOnClear:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!1},autoFilterFocus:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!1},focusOnHover:{type:Boolean,default:!0},highlightOnSelect:{type:Boolean,default:!0},checkmark:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:k1,provide:function(){return{$pcSelect:this,$parentInstance:this}}};function Qr(e){"@babel/helpers - typeof";return Qr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qr(e)}function S1(e){return I1(e)||O1(e)||x1(e)||$1()}function $1(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x1(e,t){if(e){if(typeof e=="string")return La(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?La(e,t):void 0}}function O1(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function I1(e){if(Array.isArray(e))return La(e)}function La(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:!0,i=this.getOptionValue(n);this.updateModel(t,i),r&&this.hide(!0)},onOptionMouseMove:function(t,n){this.focusOnHover&&this.changeFocusedOptionIndex(t,n)},onFilterChange:function(t){var n=t.target.value;this.filterValue=n,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:t,value:n}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(t){if(!t.isComposing)switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(t){Ht.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.onEscapeKey(t);break}},onArrowDownKey:function(t){if(!this.overlayVisible)this.show(),this.editable&&this.changeFocusedOptionIndex(t,this.findSelectedOptionIndex());else{var n=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.clicked?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(t,n)}t.preventDefault()},onArrowUpKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.altKey&&!n)this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),t.preventDefault();else{var r=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.clicked?this.findLastOptionIndex():this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(t,r),!this.overlayVisible&&this.show(),t.preventDefault()}},onArrowLeftKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&(this.focusedOptionIndex=-1)},onHomeKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n){var r=t.currentTarget;t.shiftKey?r.setSelectionRange(0,t.target.selectionStart):(r.setSelectionRange(0,0),this.focusedOptionIndex=-1)}else this.changeFocusedOptionIndex(t,this.findFirstOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()},onEndKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n){var r=t.currentTarget;if(t.shiftKey)r.setSelectionRange(t.target.selectionStart,r.value.length);else{var i=r.value.length;r.setSelectionRange(i,i),this.focusedOptionIndex=-1}}else this.changeFocusedOptionIndex(t,this.findLastOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()},onPageUpKey:function(t){this.scrollInView(0),t.preventDefault()},onPageDownKey:function(t){this.scrollInView(this.visibleOptions.length-1),t.preventDefault()},onEnterKey:function(t){this.overlayVisible?(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.hide()):(this.focusedOptionIndex=-1,this.onArrowDownKey(t)),t.preventDefault()},onSpaceKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!n&&this.onEnterKey(t)},onEscapeKey:function(t){this.overlayVisible&&this.hide(!0),t.preventDefault(),t.stopPropagation()},onTabKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n||(this.overlayVisible&&this.hasFocusableElements()?(He(this.$refs.firstHiddenFocusableElementOnOverlay),t.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onBackspaceKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&!this.overlayVisible&&this.show()},onOverlayEnter:function(t){var n=this;it.set("overlay",t,this.$primevue.config.zIndex.overlay),En(t,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),setTimeout(function(){n.autoFilterFocus&&n.filter&&He(n.$refs.filterInput.$el),n.autoUpdateModel()},1)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){var t=this;this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.autoFilterFocus&&this.filter&&!this.editable&&this.$nextTick(function(){t.$refs.filterInput&&He(t.$refs.filterInput.$el)}),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(t){it.clear(t)},alignOverlay:function(){this.appendTo==="self"?gl(this.overlay,this.$el):(this.overlay.style.minWidth=Ne(this.$el)+"px",Ri(this.overlay,this.$el))},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(n){t.overlayVisible&&t.overlay&&!t.$el.contains(n.target)&&!t.overlay.contains(n.target)&&t.hide()},document.addEventListener("click",this.outsideClickListener,!0))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener,!0),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new Ei(this.$refs.container,function(){t.overlayVisible&&t.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!Mi()&&t.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},bindLabelClickListener:function(){var t=this;if(!this.editable&&!this.labelClickListener){var n=document.querySelector('label[for="'.concat(this.labelId,'"]'));n&&li(n)&&(this.labelClickListener=function(){He(t.$refs.focusInput)},n.addEventListener("click",this.labelClickListener))}},unbindLabelClickListener:function(){if(this.labelClickListener){var t=document.querySelector('label[for="'.concat(this.labelId,'"]'));t&&li(t)&&t.removeEventListener("click",this.labelClickListener)}},bindMatchMediaOrientationListener:function(){var t=this;if(!this.matchMediaOrientationListener){var n=matchMedia("(orientation: portrait)");this.queryOrientation=n,this.matchMediaOrientationListener=function(){t.alignOverlay()},this.queryOrientation.addEventListener("change",this.matchMediaOrientationListener)}},unbindMatchMediaOrientationListener:function(){this.matchMediaOrientationListener&&(this.queryOrientation.removeEventListener("change",this.matchMediaOrientationListener),this.queryOrientation=null,this.matchMediaOrientationListener=null)},hasFocusableElements:function(){return er(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionExactMatched:function(t){var n;return this.isValidOption(t)&&typeof this.getOptionLabel(t)=="string"&&((n=this.getOptionLabel(t))===null||n===void 0?void 0:n.toLocaleLowerCase(this.filterLocale))==this.searchValue.toLocaleLowerCase(this.filterLocale)},isOptionStartsWith:function(t){var n;return this.isValidOption(t)&&typeof this.getOptionLabel(t)=="string"&&((n=this.getOptionLabel(t))===null||n===void 0?void 0:n.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)))},isValidOption:function(t){return ue(t)&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))},isValidSelectedOption:function(t){return this.isValidOption(t)&&this.isSelected(t)},isSelected:function(t){return Pt(this.d_value,this.getOptionValue(t),this.equalityKey)},findFirstOptionIndex:function(){var t=this;return this.visibleOptions.findIndex(function(n){return t.isValidOption(n)})},findLastOptionIndex:function(){var t=this;return Gn(this.visibleOptions,function(n){return t.isValidOption(n)})},findNextOptionIndex:function(t){var n=this,r=t-1?r+t+1:t},findPrevOptionIndex:function(t){var n=this,r=t>0?Gn(this.visibleOptions.slice(0,t),function(i){return n.isValidOption(i)}):-1;return r>-1?r:t},findSelectedOptionIndex:function(){var t=this;return this.$filled?this.visibleOptions.findIndex(function(n){return t.isValidSelectedOption(n)}):-1},findFirstFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t},findLastFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findLastOptionIndex():t},searchOptions:function(t,n){var r=this;this.searchValue=(this.searchValue||"")+n;var i=-1,o=!1;return ue(this.searchValue)&&(i=this.visibleOptions.findIndex(function(a){return r.isOptionExactMatched(a)}),i===-1&&(i=this.visibleOptions.findIndex(function(a){return r.isOptionStartsWith(a)})),i!==-1&&(o=!0),i===-1&&this.focusedOptionIndex===-1&&(i=this.findFirstFocusedOptionIndex()),i!==-1&&this.changeFocusedOptionIndex(t,i)),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){r.searchValue="",r.searchTimeout=null},500),o},changeFocusedOptionIndex:function(t,n){this.focusedOptionIndex!==n&&(this.focusedOptionIndex=n,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(t,this.visibleOptions[n],!1))},scrollInView:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;this.$nextTick(function(){var r=n!==-1?"".concat(t.$id,"_").concat(n):t.focusedOptionId,i=We(t.list,'li[id="'.concat(r,'"]'));i?i.scrollIntoView&&i.scrollIntoView({block:"nearest",inline:"start"}):t.virtualScrollerDisabled||t.virtualScroller&&t.virtualScroller.scrollToIndex(n!==-1?n:t.focusedOptionIndex)})},autoUpdateModel:function(){this.autoOptionFocus&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex()),this.selectOnFocus&&this.autoOptionFocus&&!this.$filled&&this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1)},updateModel:function(t,n){this.writeValue(n,t),this.$emit("change",{originalEvent:t,value:n})},flatOptions:function(t){var n=this;return(t||[]).reduce(function(r,i,o){r.push({optionGroup:i,group:!0,index:o});var a=n.getOptionGroupChildren(i);return a&&a.forEach(function(l){return r.push(l)}),r},[])},overlayRef:function(t){this.overlay=t},listRef:function(t,n){this.list=t,n&&n(t)},virtualScrollerRef:function(t){this.virtualScroller=t}},computed:{visibleOptions:function(){var t=this,n=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var r=di.filter(n,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var i=this.options||[],o=[];return i.forEach(function(a){var l=t.getOptionGroupChildren(a),s=l.filter(function(d){return r.includes(d)});s.length>0&&o.push(tu(tu({},a),{},jc({},typeof t.optionGroupChildren=="string"?t.optionGroupChildren:"items",S1(s))))}),this.flatOptions(o)}return r}return n},hasSelectedOption:function(){return this.$filled},label:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.placeholder||"p-emptylabel"},editableInputValue:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.d_value||""},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},filterResultMessageText:function(){return ue(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.$filled?this.selectionMessageText.replaceAll("{0}","1"):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.$id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var t=this;return this.visibleOptions.filter(function(n){return!t.isOptionGroup(n)}).length},isClearIconVisible:function(){return this.showClear&&this.d_value!=null&&ue(this.options)},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:Bt},components:{InputText:lr,VirtualScroller:Li,Portal:sr,InputIcon:kl,IconField:wl,TimesIcon:Po,ChevronDownIcon:ir,SpinnerIcon:ar,SearchIcon:yl,CheckIcon:Fn,BlankIcon:zc}},T1=["id"],B1=["id","value","placeholder","tabindex","disabled","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-invalid"],M1=["id","tabindex","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-invalid","aria-disabled"],D1=["id"],E1=["id"],L1=["id","aria-label","aria-selected","aria-disabled","aria-setsize","aria-posinset","onClick","onMousemove","data-p-selected","data-p-focused","data-p-disabled"];function F1(e,t,n,r,i,o){var a=q("SpinnerIcon"),l=q("InputText"),s=q("SearchIcon"),d=q("InputIcon"),u=q("IconField"),c=q("CheckIcon"),f=q("BlankIcon"),p=q("VirtualScroller"),m=q("Portal"),v=xt("ripple");return h(),b("div",g({ref:"container",id:e.$id,class:e.cx("root"),onClick:t[11]||(t[11]=function(){return o.onContainerClick&&o.onContainerClick.apply(o,arguments)})},e.ptmi("root")),[e.editable?(h(),b("input",g({key:0,ref:"focusInput",id:e.labelId||e.inputId,type:"text",class:[e.cx("label"),e.inputClass,e.labelClass],style:[e.inputStyle,e.labelStyle],value:o.editableInputValue,placeholder:e.placeholder,tabindex:e.disabled?-1:e.tabindex,disabled:e.disabled,autocomplete:"off",role:"combobox","aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":i.overlayVisible,"aria-controls":e.$id+"_list","aria-activedescendant":i.focused?o.focusedOptionId:void 0,"aria-invalid":e.invalid||void 0,onFocus:t[0]||(t[0]=function(){return o.onFocus&&o.onFocus.apply(o,arguments)}),onBlur:t[1]||(t[1]=function(){return o.onBlur&&o.onBlur.apply(o,arguments)}),onKeydown:t[2]||(t[2]=function(){return o.onKeyDown&&o.onKeyDown.apply(o,arguments)}),onInput:t[3]||(t[3]=function(){return o.onEditableInput&&o.onEditableInput.apply(o,arguments)})},e.ptm("label")),null,16,B1)):(h(),b("span",g({key:1,ref:"focusInput",id:e.labelId||e.inputId,class:[e.cx("label"),e.inputClass,e.labelClass],style:[e.inputStyle,e.labelStyle],tabindex:e.disabled?-1:e.tabindex,role:"combobox","aria-label":e.ariaLabel||(o.label==="p-emptylabel"?void 0:o.label),"aria-labelledby":e.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":i.overlayVisible,"aria-controls":e.$id+"_list","aria-activedescendant":i.focused?o.focusedOptionId:void 0,"aria-invalid":e.invalid||void 0,"aria-disabled":e.disabled,onFocus:t[4]||(t[4]=function(){return o.onFocus&&o.onFocus.apply(o,arguments)}),onBlur:t[5]||(t[5]=function(){return o.onBlur&&o.onBlur.apply(o,arguments)}),onKeydown:t[6]||(t[6]=function(){return o.onKeyDown&&o.onKeyDown.apply(o,arguments)})},e.ptm("label")),[D(e.$slots,"value",{value:e.d_value,placeholder:e.placeholder},function(){var C;return[Ke(oe(o.label==="p-emptylabel"?" ":(C=o.label)!==null&&C!==void 0?C:"empty"),1)]})],16,M1)),o.isClearIconVisible?D(e.$slots,"clearicon",{key:2,class:ie(e.cx("clearIcon")),clearCallback:o.onClearClick},function(){return[(h(),$(ee(e.clearIcon?"i":"TimesIcon"),g({ref:"clearIcon",class:[e.cx("clearIcon"),e.clearIcon],onClick:o.onClearClick},e.ptm("clearIcon"),{"data-pc-section":"clearicon"}),null,16,["class","onClick"]))]}):P("",!0),B("div",g({class:e.cx("dropdown")},e.ptm("dropdown")),[e.loading?D(e.$slots,"loadingicon",{key:0,class:ie(e.cx("loadingIcon"))},function(){return[e.loadingIcon?(h(),b("span",g({key:0,class:[e.cx("loadingIcon"),"pi-spin",e.loadingIcon],"aria-hidden":"true"},e.ptm("loadingIcon")),null,16)):(h(),$(a,g({key:1,class:e.cx("loadingIcon"),spin:"","aria-hidden":"true"},e.ptm("loadingIcon")),null,16,["class"]))]}):D(e.$slots,"dropdownicon",{key:1,class:ie(e.cx("dropdownIcon"))},function(){return[(h(),$(ee(e.dropdownIcon?"span":"ChevronDownIcon"),g({class:[e.cx("dropdownIcon"),e.dropdownIcon],"aria-hidden":"true"},e.ptm("dropdownIcon")),null,16,["class"]))]})],16),ne(m,{appendTo:e.appendTo},{default:_(function(){return[ne(Oo,g({name:"p-connected-overlay",onEnter:o.onOverlayEnter,onAfterEnter:o.onOverlayAfterEnter,onLeave:o.onOverlayLeave,onAfterLeave:o.onOverlayAfterLeave},e.ptm("transition")),{default:_(function(){return[i.overlayVisible?(h(),b("div",g({key:0,ref:o.overlayRef,class:[e.cx("overlay"),e.panelClass,e.overlayClass],style:[e.panelStyle,e.overlayStyle],onClick:t[9]||(t[9]=function(){return o.onOverlayClick&&o.onOverlayClick.apply(o,arguments)}),onKeydown:t[10]||(t[10]=function(){return o.onOverlayKeyDown&&o.onOverlayKeyDown.apply(o,arguments)})},e.ptm("overlay")),[B("span",g({ref:"firstHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[7]||(t[7]=function(){return o.onFirstHiddenFocus&&o.onFirstHiddenFocus.apply(o,arguments)})},e.ptm("hiddenFirstFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16),D(e.$slots,"header",{value:e.d_value,options:o.visibleOptions}),e.filter?(h(),b("div",g({key:0,class:e.cx("header")},e.ptm("header")),[ne(u,{unstyled:e.unstyled,pt:e.ptm("pcFilterContainer")},{default:_(function(){return[ne(l,{ref:"filterInput",type:"text",value:i.filterValue,onVnodeMounted:o.onFilterUpdated,onVnodeUpdated:o.onFilterUpdated,class:ie(e.cx("pcFilter")),placeholder:e.filterPlaceholder,variant:e.variant,unstyled:e.unstyled,role:"searchbox",autocomplete:"off","aria-owns":e.$id+"_list","aria-activedescendant":o.focusedOptionId,onKeydown:o.onFilterKeyDown,onBlur:o.onFilterBlur,onInput:o.onFilterChange,pt:e.ptm("pcFilter"),formControl:{novalidate:!0}},null,8,["value","onVnodeMounted","onVnodeUpdated","class","placeholder","variant","unstyled","aria-owns","aria-activedescendant","onKeydown","onBlur","onInput","pt"]),ne(d,{unstyled:e.unstyled,pt:e.ptm("pcFilterIconContainer")},{default:_(function(){return[D(e.$slots,"filtericon",{},function(){return[e.filterIcon?(h(),b("span",g({key:0,class:e.filterIcon},e.ptm("filterIcon")),null,16)):(h(),$(s,wo(g({key:1},e.ptm("filterIcon"))),null,16))]})]}),_:3},8,["unstyled","pt"])]}),_:3},8,["unstyled","pt"]),B("span",g({role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenFilterResult"),{"data-p-hidden-accessible":!0}),oe(o.filterResultMessageText),17)],16)):P("",!0),B("div",g({class:e.cx("listContainer"),style:{"max-height":o.virtualScrollerDisabled?e.scrollHeight:""}},e.ptm("listContainer")),[ne(p,g({ref:o.virtualScrollerRef},e.virtualScrollerOptions,{items:o.visibleOptions,style:{height:e.scrollHeight},tabindex:-1,disabled:o.virtualScrollerDisabled,pt:e.ptm("virtualScroller")}),en({content:_(function(C){var S=C.styleClass,x=C.contentRef,T=C.items,w=C.getItemOptions,F=C.contentStyle,G=C.itemSize;return[B("ul",g({ref:function(K){return o.listRef(K,x)},id:e.$id+"_list",class:[e.cx("list"),S],style:F,role:"listbox"},e.ptm("list")),[(h(!0),b(Z,null,Oe(T,function(E,K){return h(),b(Z,{key:o.getOptionRenderKey(E,o.getOptionIndex(K,w))},[o.isOptionGroup(E)?(h(),b("li",g({key:0,id:e.$id+"_"+o.getOptionIndex(K,w),style:{height:G?G+"px":void 0},class:e.cx("optionGroup"),role:"option",ref_for:!0},e.ptm("optionGroup")),[D(e.$slots,"optiongroup",{option:E.optionGroup,index:o.getOptionIndex(K,w)},function(){return[B("span",g({class:e.cx("optionGroupLabel"),ref_for:!0},e.ptm("optionGroupLabel")),oe(o.getOptionGroupLabel(E.optionGroup)),17)]})],16,E1)):Ze((h(),b("li",g({key:1,id:e.$id+"_"+o.getOptionIndex(K,w),class:e.cx("option",{option:E,focusedOption:o.getOptionIndex(K,w)}),style:{height:G?G+"px":void 0},role:"option","aria-label":o.getOptionLabel(E),"aria-selected":o.isSelected(E),"aria-disabled":o.isOptionDisabled(E),"aria-setsize":o.ariaSetSize,"aria-posinset":o.getAriaPosInset(o.getOptionIndex(K,w)),onClick:function(J){return o.onOptionSelect(J,E)},onMousemove:function(J){return o.onOptionMouseMove(J,o.getOptionIndex(K,w))},"data-p-selected":o.isSelected(E),"data-p-focused":i.focusedOptionIndex===o.getOptionIndex(K,w),"data-p-disabled":o.isOptionDisabled(E),ref_for:!0},o.getPTItemOptions(E,w,K,"option")),[e.checkmark?(h(),b(Z,{key:0},[o.isSelected(E)?(h(),$(c,g({key:0,class:e.cx("optionCheckIcon"),ref_for:!0},e.ptm("optionCheckIcon")),null,16,["class"])):(h(),$(f,g({key:1,class:e.cx("optionBlankIcon"),ref_for:!0},e.ptm("optionBlankIcon")),null,16,["class"]))],64)):P("",!0),D(e.$slots,"option",{option:E,selected:o.isSelected(E),index:o.getOptionIndex(K,w)},function(){return[B("span",g({class:e.cx("optionLabel"),ref_for:!0},e.ptm("optionLabel")),oe(o.getOptionLabel(E)),17)]})],16,L1)),[[v]])],64)}),128)),i.filterValue&&(!T||T&&T.length===0)?(h(),b("li",g({key:0,class:e.cx("emptyMessage"),role:"option"},e.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[D(e.$slots,"emptyfilter",{},function(){return[Ke(oe(o.emptyFilterMessageText),1)]})],16)):!e.options||e.options&&e.options.length===0?(h(),b("li",g({key:1,class:e.cx("emptyMessage"),role:"option"},e.ptm("emptyMessage"),{"data-p-hidden-accessible":!0}),[D(e.$slots,"empty",{},function(){return[Ke(oe(o.emptyMessageText),1)]})],16)):P("",!0)],16,D1)]}),_:2},[e.$slots.loader?{name:"loader",fn:_(function(C){var S=C.options;return[D(e.$slots,"loader",{options:S})]}),key:"0"}:void 0]),1040,["items","style","disabled","pt"])],16),D(e.$slots,"footer",{value:e.d_value,options:o.visibleOptions}),!e.options||e.options&&e.options.length===0?(h(),b("span",g({key:1,role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenEmptyMessage"),{"data-p-hidden-accessible":!0}),oe(o.emptyMessageText),17)):P("",!0),B("span",g({role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenSelectedMessage"),{"data-p-hidden-accessible":!0}),oe(o.selectedMessageText),17),B("span",g({ref:"lastHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[8]||(t[8]=function(){return o.onLastHiddenFocus&&o.onLastHiddenFocus.apply(o,arguments)})},e.ptm("hiddenLastFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16)],16)):P("",!0)]}),_:3},16,["onEnter","onAfterEnter","onLeave","onAfterLeave"])]}),_:3},8,["appendTo"])],16,T1)}Ro.render=F1;var Vc={name:"AngleDownIcon",extends:Se};function A1(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z",fill:"currentColor"},null,-1)]),16)}Vc.render=A1;var Hc={name:"AngleUpIcon",extends:Se};function z1(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z",fill:"currentColor"},null,-1)]),16)}Hc.render=z1;var j1=({dt:e})=>` -.p-inputnumber { - display: inline-flex; - position: relative; -} - -.p-inputnumber-button { - display: flex; - align-items: center; - justify-content: center; - flex: 0 0 auto; - cursor: pointer; - background: ${e("inputnumber.button.background")}; - color: ${e("inputnumber.button.color")}; - width: ${e("inputnumber.button.width")}; - transition: background ${e("inputnumber.transition.duration")}, color ${e("inputnumber.transition.duration")}, border-color ${e("inputnumber.transition.duration")}, outline-color ${e("inputnumber.transition.duration")}; -} - -.p-inputnumber-button:disabled { - cursor: auto; -} - -.p-inputnumber-button:not(:disabled):hover { - background: ${e("inputnumber.button.hover.background")}; - color: ${e("inputnumber.button.hover.color")}; -} - -.p-inputnumber-button:not(:disabled):active { - background: ${e("inputnumber.button.active.background")}; - color: ${e("inputnumber.button.active.color")}; -} - -.p-inputnumber-stacked .p-inputnumber-button { - position: relative; - border: 0 none; -} - -.p-inputnumber-stacked .p-inputnumber-button-group { - display: flex; - flex-direction: column; - position: absolute; - inset-block-start: 1px; - inset-inline-end: 1px; - height: calc(100% - 2px); - z-index: 1; -} - -.p-inputnumber-stacked .p-inputnumber-increment-button { - padding: 0; - border-start-end-radius: calc(${e("inputnumber.button.border.radius")} - 1px); -} - -.p-inputnumber-stacked .p-inputnumber-decrement-button { - padding: 0; - border-end-end-radius: calc(${e("inputnumber.button.border.radius")} - 1px); -} - -.p-inputnumber-stacked .p-inputnumber-button { - flex: 1 1 auto; - border: 0 none; -} - -.p-inputnumber-horizontal .p-inputnumber-button { - border: 1px solid ${e("inputnumber.button.border.color")}; -} - -.p-inputnumber-horizontal .p-inputnumber-button:hover { - border-color: ${e("inputnumber.button.hover.border.color")}; -} - -.p-inputnumber-horizontal .p-inputnumber-button:active { - border-color: ${e("inputnumber.button.active.border.color")}; -} - -.p-inputnumber-horizontal .p-inputnumber-increment-button { - order: 3; - border-start-end-radius: ${e("inputnumber.button.border.radius")}; - border-end-end-radius: ${e("inputnumber.button.border.radius")}; - border-inline-start: 0 none; -} - -.p-inputnumber-horizontal .p-inputnumber-input { - order: 2; - border-radius: 0; -} - -.p-inputnumber-horizontal .p-inputnumber-decrement-button { - order: 1; - border-start-start-radius: ${e("inputnumber.button.border.radius")}; - border-end-start-radius: ${e("inputnumber.button.border.radius")}; - border-inline-end: 0 none; -} - -.p-floatlabel:has(.p-inputnumber-horizontal) label { - margin-inline-start: ${e("inputnumber.button.width")}; -} - -.p-inputnumber-vertical { - flex-direction: column; -} - -.p-inputnumber-vertical .p-inputnumber-button { - border: 1px solid ${e("inputnumber.button.border.color")}; - padding: ${e("inputnumber.button.vertical.padding")}; -} - -.p-inputnumber-vertical .p-inputnumber-button:hover { - border-color: ${e("inputnumber.button.hover.border.color")}; -} - -.p-inputnumber-vertical .p-inputnumber-button:active { - border-color: ${e("inputnumber.button.active.border.color")}; -} - -.p-inputnumber-vertical .p-inputnumber-increment-button { - order: 1; - border-start-start-radius: ${e("inputnumber.button.border.radius")}; - border-start-end-radius: ${e("inputnumber.button.border.radius")}; - width: 100%; - border-block-end: 0 none; -} - -.p-inputnumber-vertical .p-inputnumber-input { - order: 2; - border-radius: 0; - text-align: center; -} - -.p-inputnumber-vertical .p-inputnumber-decrement-button { - order: 3; - border-end-start-radius: ${e("inputnumber.button.border.radius")}; - border-end-end-radius: ${e("inputnumber.button.border.radius")}; - width: 100%; - border-block-start: 0 none; -} - -.p-inputnumber-input { - flex: 1 1 auto; -} - -.p-inputnumber-fluid { - width: 100%; -} - -.p-inputnumber-fluid .p-inputnumber-input { - width: 1%; -} - -.p-inputnumber-fluid.p-inputnumber-vertical .p-inputnumber-input { - width: 100%; -} - -.p-inputnumber:has(.p-inputtext-sm) .p-inputnumber-button .p-icon { - font-size: ${e("form.field.sm.font.size")}; - width: ${e("form.field.sm.font.size")}; - height: ${e("form.field.sm.font.size")}; -} - -.p-inputnumber:has(.p-inputtext-lg) .p-inputnumber-button .p-icon { - font-size: ${e("form.field.lg.font.size")}; - width: ${e("form.field.lg.font.size")}; - height: ${e("form.field.lg.font.size")}; -} -`,V1={root:function(t){var n=t.instance,r=t.props;return["p-inputnumber p-component p-inputwrapper",{"p-invalid":n.$invalid,"p-inputwrapper-filled":n.$filled||r.allowEmpty===!1,"p-inputwrapper-focus":n.focused,"p-inputnumber-stacked":r.showButtons&&r.buttonLayout==="stacked","p-inputnumber-horizontal":r.showButtons&&r.buttonLayout==="horizontal","p-inputnumber-vertical":r.showButtons&&r.buttonLayout==="vertical","p-inputnumber-fluid":n.$fluid}]},pcInputText:"p-inputnumber-input",buttonGroup:"p-inputnumber-button-group",incrementButton:function(t){var n=t.instance,r=t.props;return["p-inputnumber-button p-inputnumber-increment-button",{"p-disabled":r.showButtons&&r.max!==null&&n.maxBoundry()}]},decrementButton:function(t){var n=t.instance,r=t.props;return["p-inputnumber-button p-inputnumber-decrement-button",{"p-disabled":r.showButtons&&r.min!==null&&n.minBoundry()}]}},H1=ge.extend({name:"inputnumber",style:j1,classes:V1}),K1={name:"BaseInputNumber",extends:yn,props:{format:{type:Boolean,default:!0},showButtons:{type:Boolean,default:!1},buttonLayout:{type:String,default:"stacked"},incrementButtonClass:{type:String,default:null},decrementButtonClass:{type:String,default:null},incrementButtonIcon:{type:String,default:void 0},incrementIcon:{type:String,default:void 0},decrementButtonIcon:{type:String,default:void 0},decrementIcon:{type:String,default:void 0},locale:{type:String,default:void 0},localeMatcher:{type:String,default:void 0},mode:{type:String,default:"decimal"},prefix:{type:String,default:null},suffix:{type:String,default:null},currency:{type:String,default:void 0},currencyDisplay:{type:String,default:void 0},useGrouping:{type:Boolean,default:!0},minFractionDigits:{type:Number,default:void 0},maxFractionDigits:{type:Number,default:void 0},roundingMode:{type:String,default:"halfExpand",validator:function(t){return["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"].includes(t)}},min:{type:Number,default:null},max:{type:Number,default:null},step:{type:Number,default:1},allowEmpty:{type:Boolean,default:!0},highlightOnFocus:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},placeholder:{type:String,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:H1,provide:function(){return{$pcInputNumber:this,$parentInstance:this}}};function eo(e){"@babel/helpers - typeof";return eo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},eo(e)}function nu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ru(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n1){var s=this.isNumeralChar(o.charAt(n))?n+1:n+2;this.$refs.input.$el.setSelectionRange(s,s)}else this.isNumeralChar(o.charAt(n-1))||t.preventDefault();break;case"ArrowRight":if(i>1){var d=r-1;this.$refs.input.$el.setSelectionRange(d,d)}else this.isNumeralChar(o.charAt(n))||t.preventDefault();break;case"Tab":case"Enter":case"NumpadEnter":a=this.validateValue(this.parseValue(o)),this.$refs.input.$el.value=this.formatValue(a),this.$refs.input.$el.setAttribute("aria-valuenow",a),this.updateModel(t,a);break;case"Backspace":{if(t.preventDefault(),n===r){var u=o.charAt(n-1),c=this.getDecimalCharIndexes(o),f=c.decimalCharIndex,p=c.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(u)){var m=this.getDecimalLength(o);if(this._group.test(u))this._group.lastIndex=0,a=o.slice(0,n-2)+o.slice(n-1);else if(this._decimal.test(u))this._decimal.lastIndex=0,m?this.$refs.input.$el.setSelectionRange(n-1,n-1):a=o.slice(0,n-1)+o.slice(n);else if(f>0&&n>f){var v=this.isDecimalMode()&&(this.minFractionDigits||0)0?a:""):a=o.slice(0,n-1)+o.slice(n)}this.updateValue(t,a,null,"delete-single")}else a=this.deleteRange(o,n,r),this.updateValue(t,a,null,"delete-range");break}case"Delete":if(t.preventDefault(),n===r){var C=o.charAt(n),S=this.getDecimalCharIndexes(o),x=S.decimalCharIndex,T=S.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(C)){var w=this.getDecimalLength(o);if(this._group.test(C))this._group.lastIndex=0,a=o.slice(0,n)+o.slice(n+2);else if(this._decimal.test(C))this._decimal.lastIndex=0,w?this.$refs.input.$el.setSelectionRange(n+1,n+1):a=o.slice(0,n)+o.slice(n+1);else if(x>0&&n>x){var F=this.isDecimalMode()&&(this.minFractionDigits||0)0?a:""):a=o.slice(0,n)+o.slice(n+1)}this.updateValue(t,a,null,"delete-back-single")}else a=this.deleteRange(o,n,r),this.updateValue(t,a,null,"delete-range");break;case"Home":t.preventDefault(),ue(this.min)&&this.updateModel(t,this.min);break;case"End":t.preventDefault(),ue(this.max)&&this.updateModel(t,this.max);break}}},onInputKeyPress:function(t){if(!this.readonly){var n=t.key,r=this.isDecimalSign(n),i=this.isMinusSign(n);t.code!=="Enter"&&t.preventDefault(),(Number(n)>=0&&Number(n)<=9||i||r)&&this.insert(t,n,{isDecimalSign:r,isMinusSign:i})}},onPaste:function(t){t.preventDefault();var n=(t.clipboardData||window.clipboardData).getData("Text");if(n){var r=this.parseValue(n);r!=null&&this.insert(t,r.toString())}},allowMinusSign:function(){return this.min===null||this.min<0},isMinusSign:function(t){return this._minusSign.test(t)||t==="-"?(this._minusSign.lastIndex=0,!0):!1},isDecimalSign:function(t){var n;return(n=this.locale)!==null&&n!==void 0&&n.includes("fr")&&[".",","].includes(t)||this._decimal.test(t)?(this._decimal.lastIndex=0,!0):!1},isDecimalMode:function(){return this.mode==="decimal"},getDecimalCharIndexes:function(t){var n=t.search(this._decimal);this._decimal.lastIndex=0;var r=t.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,""),i=r.search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:n,decimalCharIndexWithoutPrefix:i}},getCharIndexes:function(t){var n=t.search(this._decimal);this._decimal.lastIndex=0;var r=t.search(this._minusSign);this._minusSign.lastIndex=0;var i=t.search(this._suffix);this._suffix.lastIndex=0;var o=t.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:n,minusCharIndex:r,suffixCharIndex:i,currencyCharIndex:o}},insert:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{isDecimalSign:!1,isMinusSign:!1},i=n.search(this._minusSign);if(this._minusSign.lastIndex=0,!(!this.allowMinusSign()&&i!==-1)){var o=this.$refs.input.$el.selectionStart,a=this.$refs.input.$el.selectionEnd,l=this.$refs.input.$el.value.trim(),s=this.getCharIndexes(l),d=s.decimalCharIndex,u=s.minusCharIndex,c=s.suffixCharIndex,f=s.currencyCharIndex,p;if(r.isMinusSign){var m=u===-1;(o===0||o===f+1)&&(p=l,(m||a!==0)&&(p=this.insertText(l,n,0,a)),this.updateValue(t,p,n,"insert"))}else if(r.isDecimalSign)d>0&&o===d?this.updateValue(t,l,n,"insert"):d>o&&d0&&o>d){if(o+n.length-(d+1)<=v){var S=f>=o?f-1:c>=o?c:l.length;p=l.slice(0,o)+n+l.slice(o+n.length,S)+l.slice(S),this.updateValue(t,p,n,C)}}else p=this.insertText(l,n,o,a),this.updateValue(t,p,n,C)}}},insertText:function(t,n,r,i){var o=n==="."?n:n.split(".");if(o.length===2){var a=t.slice(r,i).search(this._decimal);return this._decimal.lastIndex=0,a>0?t.slice(0,r)+this.formatValue(n)+t.slice(i):this.formatValue(n)||t}else return i-r===t.length?this.formatValue(n):r===0?n+t.slice(i):i===t.length?t.slice(0,r)+n:t.slice(0,r)+n+t.slice(i)},deleteRange:function(t,n,r){var i;return r-n===t.length?i="":n===0?i=t.slice(r):r===t.length?i=t.slice(0,n):i=t.slice(0,n)+t.slice(r),i},initCursor:function(){var t=this.$refs.input.$el.selectionStart,n=this.$refs.input.$el.value,r=n.length,i=null,o=(this.prefixChar||"").length;n=n.replace(this._prefix,""),t=t-o;var a=n.charAt(t);if(this.isNumeralChar(a))return t+o;for(var l=t-1;l>=0;)if(a=n.charAt(l),this.isNumeralChar(a)){i=l+o;break}else l--;if(i!==null)this.$refs.input.$el.setSelectionRange(i+1,i+1);else{for(l=t;lthis.max?this.max:t},updateInput:function(t,n,r,i){n=n||"";var o=this.$refs.input.$el.value,a=this.formatValue(t),l=o.length;if(a!==i&&(a=this.concatValues(a,i)),l===0){this.$refs.input.$el.value=a,this.$refs.input.$el.setSelectionRange(0,0);var s=this.initCursor(),d=s+n.length;this.$refs.input.$el.setSelectionRange(d,d)}else{var u=this.$refs.input.$el.selectionStart,c=this.$refs.input.$el.selectionEnd;this.$refs.input.$el.value=a;var f=a.length;if(r==="range-insert"){var p=this.parseValue((o||"").slice(0,u)),m=p!==null?p.toString():"",v=m.split("").join("(".concat(this.groupChar,")?")),C=new RegExp(v,"g");C.test(a);var S=n.split("").join("(".concat(this.groupChar,")?")),x=new RegExp(S,"g");x.test(a.slice(C.lastIndex)),c=C.lastIndex+x.lastIndex,this.$refs.input.$el.setSelectionRange(c,c)}else if(f===l)if(r==="insert"||r==="delete-back-single"){var T=c;n==="0"?T=c+1:T=T+Number(this.isDecimalSign(t)||this.isDecimalSign(n)),this.$refs.input.$el.setSelectionRange(T,T)}else r==="delete-single"?this.$refs.input.$el.setSelectionRange(c-1,c-1):(r==="delete-range"||r==="spin")&&this.$refs.input.$el.setSelectionRange(c,c);else if(r==="delete-back-single"){var w=o.charAt(c-1),F=o.charAt(c),G=l-f,E=this._group.test(F);E&&G===1?c+=1:!E&&this.isNumeralChar(w)&&(c+=-1*G+1),this._group.lastIndex=0,this.$refs.input.$el.setSelectionRange(c,c)}else if(o==="-"&&r==="insert"){this.$refs.input.$el.setSelectionRange(0,0);var K=this.initCursor(),z=K+n.length+1;this.$refs.input.$el.setSelectionRange(z,z)}else c=c+(f-l),this.$refs.input.$el.setSelectionRange(c,c)}this.$refs.input.$el.setAttribute("aria-valuenow",t)},concatValues:function(t,n){if(t&&n){var r=n.search(this._decimal);return this._decimal.lastIndex=0,this.suffixChar?r!==-1?t.replace(this.suffixChar,"").split(this._decimal)[0]+n.replace(this.suffixChar,"").slice(r)+this.suffixChar:t:r!==-1?t.split(this._decimal)[0]+n.slice(r):t}return t},getDecimalLength:function(t){if(t){var n=t.split(this._decimal);if(n.length===2)return n[1].replace(this._suffix,"").trim().replace(/\s/g,"").replace(this._currency,"").length}return 0},updateModel:function(t,n){this.writeValue(n,t)},onInputFocus:function(t){this.focused=!0,!this.disabled&&!this.readonly&&this.$refs.input.$el.value!==Cs()&&this.highlightOnFocus&&t.target.select(),this.$emit("focus",t)},onInputBlur:function(t){var n,r;this.focused=!1;var i=t.target,o=this.validateValue(this.parseValue(i.value));this.$emit("blur",{originalEvent:t,value:i.value}),(n=(r=this.formField).onBlur)===null||n===void 0||n.call(r,t),i.value=this.formatValue(o),i.setAttribute("aria-valuenow",o),this.updateModel(t,o),!this.disabled&&!this.readonly&&this.highlightOnFocus&&Yo()},clearTimer:function(){this.timer&&clearTimeout(this.timer)},maxBoundry:function(){return this.d_value>=this.max},minBoundry:function(){return this.d_value<=this.min}},computed:{upButtonListeners:function(){var t=this;return{mousedown:function(r){return t.onUpButtonMouseDown(r)},mouseup:function(r){return t.onUpButtonMouseUp(r)},mouseleave:function(r){return t.onUpButtonMouseLeave(r)},keydown:function(r){return t.onUpButtonKeyDown(r)},keyup:function(r){return t.onUpButtonKeyUp(r)}}},downButtonListeners:function(){var t=this;return{mousedown:function(r){return t.onDownButtonMouseDown(r)},mouseup:function(r){return t.onDownButtonMouseUp(r)},mouseleave:function(r){return t.onDownButtonMouseLeave(r)},keydown:function(r){return t.onDownButtonKeyDown(r)},keyup:function(r){return t.onDownButtonKeyUp(r)}}},formattedValue:function(){var t=!this.d_value&&!this.allowEmpty?0:this.d_value;return this.formatValue(t)},getFormatter:function(){return this.numberFormat}},components:{InputText:lr,AngleUpIcon:Hc,AngleDownIcon:Vc}},X1=["disabled"],J1=["disabled"],Q1=["disabled"],ev=["disabled"];function tv(e,t,n,r,i,o){var a=q("InputText");return h(),b("span",g({class:e.cx("root")},e.ptmi("root")),[ne(a,{ref:"input",id:e.inputId,name:e.$formName,role:"spinbutton",class:ie([e.cx("pcInputText"),e.inputClass]),style:or(e.inputStyle),value:o.formattedValue,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.d_value,inputmode:e.mode==="decimal"&&!e.minFractionDigits?"numeric":"decimal",disabled:e.disabled,readonly:e.readonly,placeholder:e.placeholder,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,size:e.size,invalid:e.invalid,variant:e.variant,onInput:o.onUserInput,onKeydown:o.onInputKeyDown,onKeypress:o.onInputKeyPress,onPaste:o.onPaste,onClick:o.onInputClick,onFocus:o.onInputFocus,onBlur:o.onInputBlur,pt:e.ptm("pcInputText"),unstyled:e.unstyled},null,8,["id","name","class","style","value","aria-valuemin","aria-valuemax","aria-valuenow","inputmode","disabled","readonly","placeholder","aria-labelledby","aria-label","size","invalid","variant","onInput","onKeydown","onKeypress","onPaste","onClick","onFocus","onBlur","pt","unstyled"]),e.showButtons&&e.buttonLayout==="stacked"?(h(),b("span",g({key:0,class:e.cx("buttonGroup")},e.ptm("buttonGroup")),[D(e.$slots,"incrementbutton",{listeners:o.upButtonListeners},function(){return[B("button",g({class:[e.cx("incrementButton"),e.incrementButtonClass]},Fo(o.upButtonListeners),{disabled:e.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},e.ptm("incrementButton")),[D(e.$slots,e.$slots.incrementicon?"incrementicon":"incrementbuttonicon",{},function(){return[(h(),$(ee(e.incrementIcon||e.incrementButtonIcon?"span":"AngleUpIcon"),g({class:[e.incrementIcon,e.incrementButtonIcon]},e.ptm("incrementIcon"),{"data-pc-section":"incrementicon"}),null,16,["class"]))]})],16,X1)]}),D(e.$slots,"decrementbutton",{listeners:o.downButtonListeners},function(){return[B("button",g({class:[e.cx("decrementButton"),e.decrementButtonClass]},Fo(o.downButtonListeners),{disabled:e.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},e.ptm("decrementButton")),[D(e.$slots,e.$slots.decrementicon?"decrementicon":"decrementbuttonicon",{},function(){return[(h(),$(ee(e.decrementIcon||e.decrementButtonIcon?"span":"AngleDownIcon"),g({class:[e.decrementIcon,e.decrementButtonIcon]},e.ptm("decrementIcon"),{"data-pc-section":"decrementicon"}),null,16,["class"]))]})],16,J1)]})],16)):P("",!0),D(e.$slots,"incrementbutton",{listeners:o.upButtonListeners},function(){return[e.showButtons&&e.buttonLayout!=="stacked"?(h(),b("button",g({key:0,class:[e.cx("incrementButton"),e.incrementButtonClass]},Fo(o.upButtonListeners),{disabled:e.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},e.ptm("incrementButton")),[D(e.$slots,e.$slots.incrementicon?"incrementicon":"incrementbuttonicon",{},function(){return[(h(),$(ee(e.incrementIcon||e.incrementButtonIcon?"span":"AngleUpIcon"),g({class:[e.incrementIcon,e.incrementButtonIcon]},e.ptm("incrementIcon"),{"data-pc-section":"incrementicon"}),null,16,["class"]))]})],16,Q1)):P("",!0)]}),D(e.$slots,"decrementbutton",{listeners:o.downButtonListeners},function(){return[e.showButtons&&e.buttonLayout!=="stacked"?(h(),b("button",g({key:0,class:[e.cx("decrementButton"),e.decrementButtonClass]},Fo(o.downButtonListeners),{disabled:e.disabled,tabindex:-1,"aria-hidden":"true",type:"button"},e.ptm("decrementButton")),[D(e.$slots,e.$slots.decrementicon?"decrementicon":"decrementbuttonicon",{},function(){return[(h(),$(ee(e.decrementIcon||e.decrementButtonIcon?"span":"AngleDownIcon"),g({class:[e.decrementIcon,e.decrementButtonIcon]},e.ptm("decrementIcon"),{"data-pc-section":"decrementicon"}),null,16,["class"]))]})],16,ev)):P("",!0)]})],16)}Cl.render=tv;var Kc={name:"AngleDoubleRightIcon",extends:Se};function nv(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.68757 11.1451C7.7791 11.1831 7.8773 11.2024 7.9764 11.2019C8.07769 11.1985 8.17721 11.1745 8.26886 11.1312C8.36052 11.088 8.44238 11.0265 8.50943 10.9505L12.0294 7.49085C12.1707 7.34942 12.25 7.15771 12.25 6.95782C12.25 6.75794 12.1707 6.56622 12.0294 6.42479L8.50943 2.90479C8.37014 2.82159 8.20774 2.78551 8.04633 2.80192C7.88491 2.81833 7.73309 2.88635 7.6134 2.99588C7.4937 3.10541 7.41252 3.25061 7.38189 3.40994C7.35126 3.56927 7.37282 3.73423 7.44337 3.88033L10.4605 6.89748L7.44337 9.91463C7.30212 10.0561 7.22278 10.2478 7.22278 10.4477C7.22278 10.6475 7.30212 10.8393 7.44337 10.9807C7.51301 11.0512 7.59603 11.1071 7.68757 11.1451ZM1.94207 10.9505C2.07037 11.0968 2.25089 11.1871 2.44493 11.2019C2.63898 11.1871 2.81949 11.0968 2.94779 10.9505L6.46779 7.49085C6.60905 7.34942 6.68839 7.15771 6.68839 6.95782C6.68839 6.75793 6.60905 6.56622 6.46779 6.42479L2.94779 2.90479C2.80704 2.83757 2.6489 2.81563 2.49517 2.84201C2.34143 2.86839 2.19965 2.94178 2.08936 3.05207C1.97906 3.16237 1.90567 3.30415 1.8793 3.45788C1.85292 3.61162 1.87485 3.76975 1.94207 3.9105L4.95922 6.92765L1.94207 9.9448C1.81838 10.0831 1.75 10.2621 1.75 10.4477C1.75 10.6332 1.81838 10.8122 1.94207 10.9505Z",fill:"currentColor"},null,-1)]),16)}Kc.render=nv;var Nc={name:"AngleLeftIcon",extends:Se};function rv(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M8.75 11.185C8.65146 11.1854 8.55381 11.1662 8.4628 11.1284C8.37179 11.0906 8.28924 11.0351 8.22 10.965L4.72 7.46496C4.57955 7.32433 4.50066 7.13371 4.50066 6.93496C4.50066 6.73621 4.57955 6.54558 4.72 6.40496L8.22 2.93496C8.36095 2.84357 8.52851 2.80215 8.69582 2.81733C8.86312 2.83252 9.02048 2.90344 9.14268 3.01872C9.26487 3.134 9.34483 3.28696 9.36973 3.4531C9.39463 3.61924 9.36303 3.78892 9.28 3.93496L6.28 6.93496L9.28 9.93496C9.42045 10.0756 9.49934 10.2662 9.49934 10.465C9.49934 10.6637 9.42045 10.8543 9.28 10.995C9.13526 11.1257 8.9448 11.1939 8.75 11.185Z",fill:"currentColor"},null,-1)]),16)}Nc.render=rv;var ov={name:"BasePaginator",extends:Ce,props:{totalRecords:{type:Number,default:0},rows:{type:Number,default:0},first:{type:Number,default:0},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},template:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},currentPageReportTemplate:{type:null,default:"({currentPage} of {totalPages})"},alwaysShow:{type:Boolean,default:!0}},style:a1,provide:function(){return{$pcPaginator:this,$parentInstance:this}}},Gc={name:"CurrentPageReport",hostName:"Paginator",extends:Ce,props:{pageCount:{type:Number,default:0},currentPage:{type:Number,default:0},page:{type:Number,default:0},first:{type:Number,default:0},rows:{type:Number,default:0},totalRecords:{type:Number,default:0},template:{type:String,default:"({currentPage} of {totalPages})"}},computed:{text:function(){var t=this.template.replace("{currentPage}",this.currentPage).replace("{totalPages}",this.pageCount).replace("{first}",this.pageCount>0?this.first+1:0).replace("{last}",Math.min(this.first+this.rows,this.totalRecords)).replace("{rows}",this.rows).replace("{totalRecords}",this.totalRecords);return t}}};function iv(e,t,n,r,i,o){return h(),b("span",g({class:e.cx("current")},e.ptm("current")),oe(o.text),17)}Gc.render=iv;var Uc={name:"FirstPageLink",hostName:"Paginator",extends:Ce,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(t){return this.ptm(t,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleLeftIcon:Ac},directives:{ripple:Bt}};function av(e,t,n,r,i,o){var a=xt("ripple");return Ze((h(),b("button",g({class:e.cx("first"),type:"button"},o.getPTOptions("first"),{"data-pc-group-section":"pagebutton"}),[(h(),$(ee(n.template||"AngleDoubleLeftIcon"),g({class:e.cx("firstIcon")},o.getPTOptions("firstIcon")),null,16,["class"]))],16)),[[a]])}Uc.render=av;var Wc={name:"JumpToPageDropdown",hostName:"Paginator",extends:Ce,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean,templates:null},methods:{onChange:function(t){this.$emit("page-change",t)}},computed:{pageOptions:function(){for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&t&&this.d_first>=t&&this.changePage(this.pageCount-1)}},mounted:function(){this.createStyle()},methods:{changePage:function(t){var n=this.pageCount;if(t>=0&&t0?this.page+1:0},last:function(){return Math.min(this.d_first+this.rows,this.totalRecords)}},components:{CurrentPageReport:Gc,FirstPageLink:Uc,LastPageLink:Yc,NextPageLink:qc,PageLinks:Zc,PrevPageLink:Xc,RowsPerPageDropdown:Jc,JumpToPageDropdown:Wc,JumpToPageInput:_c}};function yv(e,t,n,r,i,o){var a=q("FirstPageLink"),l=q("PrevPageLink"),s=q("NextPageLink"),d=q("LastPageLink"),u=q("PageLinks"),c=q("CurrentPageReport"),f=q("RowsPerPageDropdown"),p=q("JumpToPageDropdown"),m=q("JumpToPageInput");return e.alwaysShow||o.pageLinks&&o.pageLinks.length>1?(h(),b("nav",wo(g({key:0},e.ptmi("paginatorContainer"))),[(h(!0),b(Z,null,Oe(o.templateItems,function(v,C){return h(),b("div",g({key:C,ref_for:!0,ref:"paginator",class:e.cx("paginator",{key:C})},e.ptm("root")),[e.$slots.container?D(e.$slots,"container",{key:0,first:i.d_first+1,last:o.last,rows:i.d_rows,page:o.page,pageCount:o.pageCount,totalRecords:e.totalRecords,firstPageCallback:o.changePageToFirst,lastPageCallback:o.changePageToLast,prevPageCallback:o.changePageToPrev,nextPageCallback:o.changePageToNext,rowChangeCallback:o.onRowChange}):(h(),b(Z,{key:1},[e.$slots.start?(h(),b("div",g({key:0,class:e.cx("contentStart"),ref_for:!0},e.ptm("contentStart")),[D(e.$slots,"start",{state:o.currentState})],16)):P("",!0),B("div",g({class:e.cx("content"),ref_for:!0},e.ptm("content")),[(h(!0),b(Z,null,Oe(v,function(S){return h(),b(Z,{key:S},[S==="FirstPageLink"?(h(),$(a,{key:0,"aria-label":o.getAriaLabel("firstPageLabel"),template:e.$slots.firsticon||e.$slots.firstpagelinkicon,onClick:t[0]||(t[0]=function(x){return o.changePageToFirst(x)}),disabled:o.isFirstPage||o.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):S==="PrevPageLink"?(h(),$(l,{key:1,"aria-label":o.getAriaLabel("prevPageLabel"),template:e.$slots.previcon||e.$slots.prevpagelinkicon,onClick:t[1]||(t[1]=function(x){return o.changePageToPrev(x)}),disabled:o.isFirstPage||o.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):S==="NextPageLink"?(h(),$(s,{key:2,"aria-label":o.getAriaLabel("nextPageLabel"),template:e.$slots.nexticon||e.$slots.nextpagelinkicon,onClick:t[2]||(t[2]=function(x){return o.changePageToNext(x)}),disabled:o.isLastPage||o.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):S==="LastPageLink"?(h(),$(d,{key:3,"aria-label":o.getAriaLabel("lastPageLabel"),template:e.$slots.lasticon||e.$slots.lastpagelinkicon,onClick:t[3]||(t[3]=function(x){return o.changePageToLast(x)}),disabled:o.isLastPage||o.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):S==="PageLinks"?(h(),$(u,{key:4,"aria-label":o.getAriaLabel("pageLabel"),value:o.pageLinks,page:o.page,onClick:t[4]||(t[4]=function(x){return o.changePageLink(x)}),unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","value","page","unstyled","pt"])):S==="CurrentPageReport"?(h(),$(c,{key:5,"aria-live":"polite",template:e.currentPageReportTemplate,currentPage:o.currentPage,page:o.page,pageCount:o.pageCount,first:i.d_first,rows:i.d_rows,totalRecords:e.totalRecords,unstyled:e.unstyled,pt:e.pt},null,8,["template","currentPage","page","pageCount","first","rows","totalRecords","unstyled","pt"])):S==="RowsPerPageDropdown"&&e.rowsPerPageOptions?(h(),$(f,{key:6,"aria-label":o.getAriaLabel("rowsPerPageLabel"),rows:i.d_rows,options:e.rowsPerPageOptions,onRowsChange:t[5]||(t[5]=function(x){return o.onRowChange(x)}),disabled:o.empty,templates:e.$slots,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","rows","options","disabled","templates","unstyled","pt"])):S==="JumpToPageDropdown"?(h(),$(p,{key:7,"aria-label":o.getAriaLabel("jumpToPageDropdownLabel"),page:o.page,pageCount:o.pageCount,onPageChange:t[6]||(t[6]=function(x){return o.changePage(x)}),disabled:o.empty,templates:e.$slots,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","page","pageCount","disabled","templates","unstyled","pt"])):S==="JumpToPageInput"?(h(),$(m,{key:8,page:o.currentPage,onPageChange:t[7]||(t[7]=function(x){return o.changePage(x)}),disabled:o.empty,unstyled:e.unstyled,pt:e.pt},null,8,["page","disabled","unstyled","pt"])):P("",!0)],64)}),128))],16),e.$slots.end?(h(),b("div",g({key:1,class:e.cx("contentEnd"),ref_for:!0},e.ptm("contentEnd")),[D(e.$slots,"end",{state:o.currentState})],16)):P("",!0)],64))],16)}),128))],16)):P("",!0)}Qc.render=yv;var wv=({dt:e})=>` -.p-datatable { - position: relative; -} - -.p-datatable-table { - border-spacing: 0; - border-collapse: separate; - width: 100%; -} - -.p-datatable-scrollable > .p-datatable-table-container { - position: relative; -} - -.p-datatable-scrollable-table > .p-datatable-thead { - inset-block-start: 0; - z-index: 1; -} - -.p-datatable-scrollable-table > .p-datatable-frozen-tbody { - position: sticky; - z-index: 1; -} - -.p-datatable-scrollable-table > .p-datatable-tfoot { - inset-block-end: 0; - z-index: 1; -} - -.p-datatable-scrollable .p-datatable-frozen-column { - position: sticky; - background: ${e("datatable.header.cell.background")}; -} - -.p-datatable-scrollable th.p-datatable-frozen-column { - z-index: 1; -} - -.p-datatable-scrollable > .p-datatable-table-container > .p-datatable-table > .p-datatable-thead, -.p-datatable-scrollable > .p-datatable-table-container > .p-virtualscroller > .p-datatable-table > .p-datatable-thead { - background: ${e("datatable.header.cell.background")}; -} - -.p-datatable-scrollable > .p-datatable-table-container > .p-datatable-table > .p-datatable-tfoot, -.p-datatable-scrollable > .p-datatable-table-container > .p-virtualscroller > .p-datatable-table > .p-datatable-tfoot { - background: ${e("datatable.footer.cell.background")}; -} - -.p-datatable-flex-scrollable { - display: flex; - flex-direction: column; - height: 100%; -} - -.p-datatable-flex-scrollable > .p-datatable-table-container { - display: flex; - flex-direction: column; - flex: 1; - height: 100%; -} - -.p-datatable-scrollable-table > .p-datatable-tbody > .p-datatable-row-group-header { - position: sticky; - z-index: 1; -} - -.p-datatable-resizable-table > .p-datatable-thead > tr > th, -.p-datatable-resizable-table > .p-datatable-tfoot > tr > td, -.p-datatable-resizable-table > .p-datatable-tbody > tr > td { - overflow: hidden; - white-space: nowrap; -} - -.p-datatable-resizable-table > .p-datatable-thead > tr > th.p-datatable-resizable-column:not(.p-datatable-frozen-column) { - background-clip: padding-box; - position: relative; -} - -.p-datatable-resizable-table-fit > .p-datatable-thead > tr > th.p-datatable-resizable-column:last-child .p-datatable-column-resizer { - display: none; -} - -.p-datatable-column-resizer { - display: block; - position: absolute; - inset-block-start: 0; - inset-inline-end: 0; - margin: 0; - width: ${e("datatable.column.resizer.width")}; - height: 100%; - padding: 0; - cursor: col-resize; - border: 1px solid transparent; -} - -.p-datatable-column-header-content { - display: flex; - align-items: center; - gap: ${e("datatable.header.cell.gap")}; -} - -.p-datatable-column-resize-indicator { - width: ${e("datatable.resize.indicator.width")}; - position: absolute; - z-index: 10; - display: none; - background: ${e("datatable.resize.indicator.color")}; -} - -.p-datatable-row-reorder-indicator-up, -.p-datatable-row-reorder-indicator-down { - position: absolute; - display: none; -} - -.p-datatable-reorderable-column, -.p-datatable-reorderable-row-handle { - cursor: move; -} - -.p-datatable-mask { - position: absolute; - display: flex; - align-items: center; - justify-content: center; - z-index: 2; -} - -.p-datatable-inline-filter { - display: flex; - align-items: center; - width: 100%; - gap: ${e("datatable.filter.inline.gap")}; -} - -.p-datatable-inline-filter .p-datatable-filter-element-container { - flex: 1 1 auto; - width: 1%; -} - -.p-datatable-filter-overlay { - background: ${e("datatable.filter.overlay.select.background")}; - color: ${e("datatable.filter.overlay.select.color")}; - border: 1px solid ${e("datatable.filter.overlay.select.border.color")}; - border-radius: ${e("datatable.filter.overlay.select.border.radius")}; - box-shadow: ${e("datatable.filter.overlay.select.shadow")}; - min-width: 12.5rem; -} - -.p-datatable-filter-constraint-list { - margin: 0; - list-style: none; - display: flex; - flex-direction: column; - padding: ${e("datatable.filter.constraint.list.padding")}; - gap: ${e("datatable.filter.constraint.list.gap")}; -} - -.p-datatable-filter-constraint { - padding: ${e("datatable.filter.constraint.padding")}; - color: ${e("datatable.filter.constraint.color")}; - border-radius: ${e("datatable.filter.constraint.border.radius")}; - cursor: pointer; - transition: background ${e("datatable.transition.duration")}, color ${e("datatable.transition.duration")}, border-color ${e("datatable.transition.duration")}, - box-shadow ${e("datatable.transition.duration")}; -} - -.p-datatable-filter-constraint-selected { - background: ${e("datatable.filter.constraint.selected.background")}; - color: ${e("datatable.filter.constraint.selected.color")}; -} - -.p-datatable-filter-constraint:not(.p-datatable-filter-constraint-selected):not(.p-disabled):hover { - background: ${e("datatable.filter.constraint.focus.background")}; - color: ${e("datatable.filter.constraint.focus.color")}; -} - -.p-datatable-filter-constraint:focus-visible { - outline: 0 none; - background: ${e("datatable.filter.constraint.focus.background")}; - color: ${e("datatable.filter.constraint.focus.color")}; -} - -.p-datatable-filter-constraint-selected:focus-visible { - outline: 0 none; - background: ${e("datatable.filter.constraint.selected.focus.background")}; - color: ${e("datatable.filter.constraint.selected.focus.color")}; -} - -.p-datatable-filter-constraint-separator { - border-block-start: 1px solid ${e("datatable.filter.constraint.separator.border.color")}; -} - -.p-datatable-popover-filter { - display: inline-flex; - margin-inline-start: auto; -} - -.p-datatable-filter-overlay-popover { - background: ${e("datatable.filter.overlay.popover.background")}; - color: ${e("datatable.filter.overlay.popover.color")}; - border: 1px solid ${e("datatable.filter.overlay.popover.border.color")}; - border-radius: ${e("datatable.filter.overlay.popover.border.radius")}; - box-shadow: ${e("datatable.filter.overlay.popover.shadow")}; - min-width: 12.5rem; - padding: ${e("datatable.filter.overlay.popover.padding")}; - display: flex; - flex-direction: column; - gap: ${e("datatable.filter.overlay.popover.gap")}; -} - -.p-datatable-filter-operator-dropdown { - width: 100%; -} - -.p-datatable-filter-rule-list, -.p-datatable-filter-rule { - display: flex; - flex-direction: column; - gap: ${e("datatable.filter.overlay.popover.gap")}; -} - -.p-datatable-filter-rule { - border-block-end: 1px solid ${e("datatable.filter.rule.border.color")}; - padding-bottom: ${e("datatable.filter.overlay.popover.gap")}; -} - -.p-datatable-filter-rule:last-child { - border-block-end: 0 none; - padding-bottom: 0; -} - -.p-datatable-filter-add-rule-button { - width: 100%; -} - -.p-datatable-filter-remove-rule-button { - width: 100%; -} - -.p-datatable-filter-buttonbar { - padding: 0; - display: flex; - align-items: center; - justify-content: space-between; -} - -.p-datatable-virtualscroller-spacer { - display: flex; -} - -.p-datatable .p-virtualscroller .p-virtualscroller-loading { - transform: none !important; - min-height: 0; - position: sticky; - inset-block-start: 0; - inset-inline-start: 0; -} - -.p-datatable-paginator-top { - border-color: ${e("datatable.paginator.top.border.color")}; - border-style: solid; - border-width: ${e("datatable.paginator.top.border.width")}; -} - -.p-datatable-paginator-bottom { - border-color: ${e("datatable.paginator.bottom.border.color")}; - border-style: solid; - border-width: ${e("datatable.paginator.bottom.border.width")}; -} - -.p-datatable-header { - background: ${e("datatable.header.background")}; - color: ${e("datatable.header.color")}; - border-color: ${e("datatable.header.border.color")}; - border-style: solid; - border-width: ${e("datatable.header.border.width")}; - padding: ${e("datatable.header.padding")}; -} - -.p-datatable-footer { - background: ${e("datatable.footer.background")}; - color: ${e("datatable.footer.color")}; - border-color: ${e("datatable.footer.border.color")}; - border-style: solid; - border-width: ${e("datatable.footer.border.width")}; - padding: ${e("datatable.footer.padding")}; -} - -.p-datatable-header-cell { - padding: ${e("datatable.header.cell.padding")}; - background: ${e("datatable.header.cell.background")}; - border-color: ${e("datatable.header.cell.border.color")}; - border-style: solid; - border-width: 0 0 1px 0; - color: ${e("datatable.header.cell.color")}; - font-weight: normal; - text-align: start; - transition: background ${e("datatable.transition.duration")}, color ${e("datatable.transition.duration")}, border-color ${e("datatable.transition.duration")}, - outline-color ${e("datatable.transition.duration")}, box-shadow ${e("datatable.transition.duration")}; -} - -.p-datatable-column-title { - font-weight: ${e("datatable.column.title.font.weight")}; -} - -.p-datatable-tbody > tr { - outline-color: transparent; - background: ${e("datatable.row.background")}; - color: ${e("datatable.row.color")}; - transition: background ${e("datatable.transition.duration")}, color ${e("datatable.transition.duration")}, border-color ${e("datatable.transition.duration")}, - outline-color ${e("datatable.transition.duration")}, box-shadow ${e("datatable.transition.duration")}; -} - -.p-datatable-tbody > tr > td { - text-align: start; - border-color: ${e("datatable.body.cell.border.color")}; - border-style: solid; - border-width: 0 0 1px 0; - padding: ${e("datatable.body.cell.padding")}; -} - -.p-datatable-hoverable .p-datatable-tbody > tr:not(.p-datatable-row-selected):hover { - background: ${e("datatable.row.hover.background")}; - color: ${e("datatable.row.hover.color")}; -} - -.p-datatable-tbody > tr.p-datatable-row-selected { - background: ${e("datatable.row.selected.background")}; - color: ${e("datatable.row.selected.color")}; -} - -.p-datatable-tbody > tr:has(+ .p-datatable-row-selected) > td { - border-block-end-color: ${e("datatable.body.cell.selected.border.color")}; -} - -.p-datatable-tbody > tr.p-datatable-row-selected > td { - border-block-end-color: ${e("datatable.body.cell.selected.border.color")}; -} - -.p-datatable-tbody > tr:focus-visible, -.p-datatable-tbody > tr.p-datatable-contextmenu-row-selected { - box-shadow: ${e("datatable.row.focus.ring.shadow")}; - outline: ${e("datatable.row.focus.ring.width")} ${e("datatable.row.focus.ring.style")} ${e("datatable.row.focus.ring.color")}; - outline-offset: ${e("datatable.row.focus.ring.offset")}; -} - -.p-datatable-tfoot > tr > td { - text-align: start; - padding: ${e("datatable.footer.cell.padding")}; - border-color: ${e("datatable.footer.cell.border.color")}; - border-style: solid; - border-width: 0 0 1px 0; - color: ${e("datatable.footer.cell.color")}; - background: ${e("datatable.footer.cell.background")}; -} - -.p-datatable-column-footer { - font-weight: ${e("datatable.column.footer.font.weight")}; -} - -.p-datatable-sortable-column { - cursor: pointer; - user-select: none; - outline-color: transparent; -} - -.p-datatable-column-title, -.p-datatable-sort-icon, -.p-datatable-sort-badge { - vertical-align: middle; -} - -.p-datatable-sort-icon { - color: ${e("datatable.sort.icon.color")}; - font-size: ${e("datatable.sort.icon.size")}; - width: ${e("datatable.sort.icon.size")}; - height: ${e("datatable.sort.icon.size")}; - transition: color ${e("datatable.transition.duration")}; -} - -.p-datatable-sortable-column:not(.p-datatable-column-sorted):hover { - background: ${e("datatable.header.cell.hover.background")}; - color: ${e("datatable.header.cell.hover.color")}; -} - -.p-datatable-sortable-column:not(.p-datatable-column-sorted):hover .p-datatable-sort-icon { - color: ${e("datatable.sort.icon.hover.color")}; -} - -.p-datatable-column-sorted { - background: ${e("datatable.header.cell.selected.background")}; - color: ${e("datatable.header.cell.selected.color")}; -} - -.p-datatable-column-sorted .p-datatable-sort-icon { - color: ${e("datatable.header.cell.selected.color")}; -} - -.p-datatable-sortable-column:focus-visible { - box-shadow: ${e("datatable.header.cell.focus.ring.shadow")}; - outline: ${e("datatable.header.cell.focus.ring.width")} ${e("datatable.header.cell.focus.ring.style")} ${e("datatable.header.cell.focus.ring.color")}; - outline-offset: ${e("datatable.header.cell.focus.ring.offset")}; -} - -.p-datatable-hoverable .p-datatable-selectable-row { - cursor: pointer; -} - -.p-datatable-tbody > tr.p-datatable-dragpoint-top > td { - box-shadow: inset 0 2px 0 0 ${e("datatable.drop.point.color")}; -} - -.p-datatable-tbody > tr.p-datatable-dragpoint-bottom > td { - box-shadow: inset 0 -2px 0 0 ${e("datatable.drop.point.color")}; -} - -.p-datatable-loading-icon { - font-size: ${e("datatable.loading.icon.size")}; - width: ${e("datatable.loading.icon.size")}; - height: ${e("datatable.loading.icon.size")}; -} - -.p-datatable-gridlines .p-datatable-header { - border-width: 1px 1px 0 1px; -} - -.p-datatable-gridlines .p-datatable-footer { - border-width: 0 1px 1px 1px; -} - -.p-datatable-gridlines .p-datatable-paginator-top { - border-width: 1px 1px 0 1px; -} - -.p-datatable-gridlines .p-datatable-paginator-bottom { - border-width: 0 1px 1px 1px; -} - -.p-datatable-gridlines .p-datatable-thead > tr > th { - border-width: 1px 0 1px 1px; -} - -.p-datatable-gridlines .p-datatable-thead > tr > th:last-child { - border-width: 1px; -} - -.p-datatable-gridlines .p-datatable-tbody > tr > td { - border-width: 1px 0 0 1px; -} - -.p-datatable-gridlines .p-datatable-tbody > tr > td:last-child { - border-width: 1px 1px 0 1px; -} - -.p-datatable-gridlines .p-datatable-tbody > tr:last-child > td { - border-width: 1px 0 1px 1px; -} - -.p-datatable-gridlines .p-datatable-tbody > tr:last-child > td:last-child { - border-width: 1px; -} - -.p-datatable-gridlines .p-datatable-tfoot > tr > td { - border-width: 1px 0 1px 1px; -} - -.p-datatable-gridlines .p-datatable-tfoot > tr > td:last-child { - border-width: 1px 1px 1px 1px; -} - -.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td { - border-width: 0 0 1px 1px; -} - -.p-datatable.p-datatable-gridlines .p-datatable-thead + .p-datatable-tfoot > tr > td:last-child { - border-width: 0 1px 1px 1px; -} - -.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td { - border-width: 0 0 1px 1px; -} - -.p-datatable.p-datatable-gridlines:has(.p-datatable-thead):has(.p-datatable-tbody) .p-datatable-tbody > tr > td:last-child { - border-width: 0 1px 1px 1px; -} - -.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td { - border-width: 0 0 0 1px; -} - -.p-datatable.p-datatable-gridlines:has(.p-datatable-tbody):has(.p-datatable-tfoot) .p-datatable-tbody > tr:last-child > td:last-child { - border-width: 0 1px 0 1px; -} - -.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd { - background: ${e("datatable.row.striped.background")}; -} - -.p-datatable.p-datatable-striped .p-datatable-tbody > tr.p-row-odd.p-datatable-row-selected { - background: ${e("datatable.row.selected.background")}; - color: ${e("datatable.row.selected.color")}; -} - -.p-datatable-striped.p-datatable-hoverable .p-datatable-tbody > tr:not(.p-datatable-row-selected):hover { - background: ${e("datatable.row.hover.background")}; - color: ${e("datatable.row.hover.color")}; -} - -.p-datatable.p-datatable-sm .p-datatable-header { - padding: ${e("datatable.header.sm.padding")}; -} - -.p-datatable.p-datatable-sm .p-datatable-thead > tr > th { - padding: ${e("datatable.header.cell.sm.padding")}; -} - -.p-datatable.p-datatable-sm .p-datatable-tbody > tr > td { - padding: ${e("datatable.body.cell.sm.padding")}; -} - -.p-datatable.p-datatable-sm .p-datatable-tfoot > tr > td { - padding: ${e("datatable.footer.cell.sm.padding")}; -} - -.p-datatable.p-datatable-sm .p-datatable-footer { - padding: ${e("datatable.footer.sm.padding")}; -} - -.p-datatable.p-datatable-lg .p-datatable-header { - padding: ${e("datatable.header.lg.padding")}; -} - -.p-datatable.p-datatable-lg .p-datatable-thead > tr > th { - padding: ${e("datatable.header.cell.lg.padding")}; -} - -.p-datatable.p-datatable-lg .p-datatable-tbody > tr > td { - padding: ${e("datatable.body.cell.lg.padding")}; -} - -.p-datatable.p-datatable-lg .p-datatable-tfoot > tr > td { - padding: ${e("datatable.footer.cell.lg.padding")}; -} - -.p-datatable.p-datatable-lg .p-datatable-footer { - padding: ${e("datatable.footer.lg.padding")}; -} - -.p-datatable-row-toggle-button { - display: inline-flex; - align-items: center; - justify-content: center; - overflow: hidden; - position: relative; - width: ${e("datatable.row.toggle.button.size")}; - height: ${e("datatable.row.toggle.button.size")}; - color: ${e("datatable.row.toggle.button.color")}; - border: 0 none; - background: transparent; - cursor: pointer; - border-radius: ${e("datatable.row.toggle.button.border.radius")}; - transition: background ${e("datatable.transition.duration")}, color ${e("datatable.transition.duration")}, border-color ${e("datatable.transition.duration")}, - outline-color ${e("datatable.transition.duration")}, box-shadow ${e("datatable.transition.duration")}; - outline-color: transparent; - user-select: none; -} - -.p-datatable-row-toggle-button:enabled:hover { - color: ${e("datatable.row.toggle.button.hover.color")}; - background: ${e("datatable.row.toggle.button.hover.background")}; -} - -.p-datatable-tbody > tr.p-datatable-row-selected .p-datatable-row-toggle-button:hover { - background: ${e("datatable.row.toggle.button.selected.hover.background")}; - color: ${e("datatable.row.toggle.button.selected.hover.color")}; -} - -.p-datatable-row-toggle-button:focus-visible { - box-shadow: ${e("datatable.row.toggle.button.focus.ring.shadow")}; - outline: ${e("datatable.row.toggle.button.focus.ring.width")} ${e("datatable.row.toggle.button.focus.ring.style")} ${e("datatable.row.toggle.button.focus.ring.color")}; - outline-offset: ${e("datatable.row.toggle.button.focus.ring.offset")}; -} - -.p-datatable-row-toggle-icon:dir(rtl) { - transform: rotate(180deg); -} -`,kv={root:function(t){var n=t.props;return["p-datatable p-component",{"p-datatable-hoverable":n.rowHover||n.selectionMode,"p-datatable-resizable":n.resizableColumns,"p-datatable-resizable-fit":n.resizableColumns&&n.columnResizeMode==="fit","p-datatable-scrollable":n.scrollable,"p-datatable-flex-scrollable":n.scrollable&&n.scrollHeight==="flex","p-datatable-striped":n.stripedRows,"p-datatable-gridlines":n.showGridlines,"p-datatable-sm":n.size==="small","p-datatable-lg":n.size==="large"}]},mask:"p-datatable-mask p-overlay-mask",loadingIcon:"p-datatable-loading-icon",header:"p-datatable-header",pcPaginator:function(t){var n=t.position;return"p-datatable-paginator-"+n},tableContainer:"p-datatable-table-container",table:function(t){var n=t.props;return["p-datatable-table",{"p-datatable-scrollable-table":n.scrollable,"p-datatable-resizable-table":n.resizableColumns,"p-datatable-resizable-table-fit":n.resizableColumns&&n.columnResizeMode==="fit"}]},thead:"p-datatable-thead",headerCell:function(t){var n=t.instance,r=t.props,i=t.column;return i&&!n.columnProp("hidden")&&(r.rowGroupMode!=="subheader"||r.groupRowsBy!==n.columnProp(i,"field"))?["p-datatable-header-cell",{"p-datatable-frozen-column":n.columnProp("frozen")}]:["p-datatable-header-cell",{"p-datatable-sortable-column":n.columnProp("sortable"),"p-datatable-resizable-column":n.resizableColumns,"p-datatable-column-sorted":n.isColumnSorted(),"p-datatable-frozen-column":n.columnProp("frozen"),"p-datatable-reorderable-column":r.reorderableColumns}]},columnResizer:"p-datatable-column-resizer",columnHeaderContent:"p-datatable-column-header-content",columnTitle:"p-datatable-column-title",columnFooter:"p-datatable-column-footer",sortIcon:"p-datatable-sort-icon",pcSortBadge:"p-datatable-sort-badge",filter:function(t){var n=t.props;return["p-datatable-filter",{"p-datatable-inline-filter":n.display==="row","p-datatable-popover-filter":n.display==="menu"}]},filterElementContainer:"p-datatable-filter-element-container",pcColumnFilterButton:"p-datatable-column-filter-button",pcColumnFilterClearButton:"p-datatable-column-filter-clear-button",filterOverlay:function(t){var n=t.props;return["p-datatable-filter-overlay p-component",{"p-datatable-filter-overlay-popover":n.display==="menu"}]},filterConstraintList:"p-datatable-filter-constraint-list",filterConstraint:function(t){var n=t.instance,r=t.matchMode;return["p-datatable-filter-constraint",{"p-datatable-filter-constraint-selected":r&&n.isRowMatchModeSelected(r.value)}]},filterConstraintSeparator:"p-datatable-filter-constraint-separator",filterOperator:"p-datatable-filter-operator",pcFilterOperatorDropdown:"p-datatable-filter-operator-dropdown",filterRuleList:"p-datatable-filter-rule-list",filterRule:"p-datatable-filter-rule",pcFilterConstraintDropdown:"p-datatable-filter-constraint-dropdown",pcFilterRemoveRuleButton:"p-datatable-filter-remove-rule-button",pcFilterAddRuleButton:"p-datatable-filter-add-rule-button",filterButtonbar:"p-datatable-filter-buttonbar",pcFilterClearButton:"p-datatable-filter-clear-button",pcFilterApplyButton:"p-datatable-filter-apply-button",tbody:function(t){var n=t.props;return n.frozenRow?"p-datatable-tbody p-datatable-frozen-tbody":"p-datatable-tbody"},rowGroupHeader:"p-datatable-row-group-header",rowToggleButton:"p-datatable-row-toggle-button",rowToggleIcon:"p-datatable-row-toggle-icon",row:function(t){var n=t.instance,r=t.props,i=t.index,o=t.columnSelectionMode,a=[];return r.selectionMode&&a.push("p-datatable-selectable-row"),r.selection&&a.push({"p-datatable-row-selected":o?n.isSelected&&n.$parentInstance.$parentInstance.highlightOnSelect:n.isSelected}),r.contextMenuSelection&&a.push({"p-datatable-contextmenu-row-selected":n.isSelectedWithContextMenu}),a.push(i%2===0?"p-row-even":"p-row-odd"),a},rowExpansion:"p-datatable-row-expansion",rowGroupFooter:"p-datatable-row-group-footer",emptyMessage:"p-datatable-empty-message",bodyCell:function(t){var n=t.instance;return[{"p-datatable-frozen-column":n.columnProp("frozen")}]},reorderableRowHandle:"p-datatable-reorderable-row-handle",pcRowEditorInit:"p-datatable-row-editor-init",pcRowEditorSave:"p-datatable-row-editor-save",pcRowEditorCancel:"p-datatable-row-editor-cancel",tfoot:"p-datatable-tfoot",footerCell:function(t){var n=t.instance;return[{"p-datatable-frozen-column":n.columnProp("frozen")}]},virtualScrollerSpacer:"p-datatable-virtualscroller-spacer",footer:"p-datatable-footer",columnResizeIndicator:"p-datatable-column-resize-indicator",rowReorderIndicatorUp:"p-datatable-row-reorder-indicator-up",rowReorderIndicatorDown:"p-datatable-row-reorder-indicator-down"},Cv={tableContainer:{overflow:"auto"},thead:{position:"sticky"},tfoot:{position:"sticky"}},Sv=ge.extend({name:"datatable",style:wv,classes:kv,inlineStyles:Cv}),ef={name:"BarsIcon",extends:Se};function $v(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.3226 3.6129H0.677419C0.497757 3.6129 0.325452 3.54152 0.198411 3.41448C0.0713707 3.28744 0 3.11514 0 2.93548C0 2.75581 0.0713707 2.58351 0.198411 2.45647C0.325452 2.32943 0.497757 2.25806 0.677419 2.25806H13.3226C13.5022 2.25806 13.6745 2.32943 13.8016 2.45647C13.9286 2.58351 14 2.75581 14 2.93548C14 3.11514 13.9286 3.28744 13.8016 3.41448C13.6745 3.54152 13.5022 3.6129 13.3226 3.6129ZM13.3226 7.67741H0.677419C0.497757 7.67741 0.325452 7.60604 0.198411 7.479C0.0713707 7.35196 0 7.17965 0 6.99999C0 6.82033 0.0713707 6.64802 0.198411 6.52098C0.325452 6.39394 0.497757 6.32257 0.677419 6.32257H13.3226C13.5022 6.32257 13.6745 6.39394 13.8016 6.52098C13.9286 6.64802 14 6.82033 14 6.99999C14 7.17965 13.9286 7.35196 13.8016 7.479C13.6745 7.60604 13.5022 7.67741 13.3226 7.67741ZM0.677419 11.7419H13.3226C13.5022 11.7419 13.6745 11.6706 13.8016 11.5435C13.9286 11.4165 14 11.2442 14 11.0645C14 10.8848 13.9286 10.7125 13.8016 10.5855C13.6745 10.4585 13.5022 10.3871 13.3226 10.3871H0.677419C0.497757 10.3871 0.325452 10.4585 0.198411 10.5855C0.0713707 10.7125 0 10.8848 0 11.0645C0 11.2442 0.0713707 11.4165 0.198411 11.5435C0.325452 11.6706 0.497757 11.7419 0.677419 11.7419Z",fill:"currentColor"},null,-1)]),16)}ef.render=$v;var tf={name:"PencilIcon",extends:Se};function xv(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M0.609628 13.959C0.530658 13.9599 0.452305 13.9451 0.379077 13.9156C0.305849 13.8861 0.239191 13.8424 0.18294 13.787C0.118447 13.7234 0.0688234 13.6464 0.0376166 13.5614C0.00640987 13.4765 -0.00560954 13.3857 0.00241768 13.2956L0.25679 10.1501C0.267698 10.0041 0.331934 9.86709 0.437312 9.76516L9.51265 0.705715C10.0183 0.233014 10.6911 -0.0203041 11.3835 0.00127367C12.0714 0.00660201 12.7315 0.27311 13.2298 0.746671C13.7076 1.23651 13.9824 1.88848 13.9992 2.57201C14.0159 3.25554 13.7733 3.92015 13.32 4.4327L4.23648 13.5331C4.13482 13.6342 4.0017 13.6978 3.85903 13.7133L0.667067 14L0.609628 13.959ZM1.43018 10.4696L1.25787 12.714L3.50619 12.5092L12.4502 3.56444C12.6246 3.35841 12.7361 3.10674 12.7714 2.83933C12.8067 2.57193 12.7644 2.30002 12.6495 2.05591C12.5346 1.8118 12.3519 1.60575 12.1231 1.46224C11.8943 1.31873 11.6291 1.2438 11.3589 1.24633C11.1813 1.23508 11.0033 1.25975 10.8355 1.31887C10.6677 1.37798 10.5136 1.47033 10.3824 1.59036L1.43018 10.4696Z",fill:"currentColor"},null,-1)]),16)}tf.render=xv;var Ov=({dt:e})=>` -.p-radiobutton { - position: relative; - display: inline-flex; - user-select: none; - vertical-align: bottom; - width: ${e("radiobutton.width")}; - height: ${e("radiobutton.height")}; -} - -.p-radiobutton-input { - cursor: pointer; - appearance: none; - position: absolute; - top: 0; - inset-inline-start: 0; - width: 100%; - height: 100%; - padding: 0; - margin: 0; - opacity: 0; - z-index: 1; - outline: 0 none; - border: 1px solid transparent; - border-radius: 50%; -} - -.p-radiobutton-box { - display: flex; - justify-content: center; - align-items: center; - border-radius: 50%; - border: 1px solid ${e("radiobutton.border.color")}; - background: ${e("radiobutton.background")}; - width: ${e("radiobutton.width")}; - height: ${e("radiobutton.height")}; - transition: background ${e("radiobutton.transition.duration")}, color ${e("radiobutton.transition.duration")}, border-color ${e("radiobutton.transition.duration")}, box-shadow ${e("radiobutton.transition.duration")}, outline-color ${e("radiobutton.transition.duration")}; - outline-color: transparent; - box-shadow: ${e("radiobutton.shadow")}; -} - -.p-radiobutton-icon { - transition-duration: ${e("radiobutton.transition.duration")}; - background: transparent; - font-size: ${e("radiobutton.icon.size")}; - width: ${e("radiobutton.icon.size")}; - height: ${e("radiobutton.icon.size")}; - border-radius: 50%; - backface-visibility: hidden; - transform: translateZ(0) scale(0.1); -} - -.p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box { - border-color: ${e("radiobutton.hover.border.color")}; -} - -.p-radiobutton-checked .p-radiobutton-box { - border-color: ${e("radiobutton.checked.border.color")}; - background: ${e("radiobutton.checked.background")}; -} - -.p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon { - background: ${e("radiobutton.icon.checked.color")}; - transform: translateZ(0) scale(1, 1); - visibility: visible; -} - -.p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:hover) .p-radiobutton-box { - border-color: ${e("radiobutton.checked.hover.border.color")}; - background: ${e("radiobutton.checked.hover.background")}; -} - -.p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:hover).p-radiobutton-checked .p-radiobutton-box .p-radiobutton-icon { - background: ${e("radiobutton.icon.checked.hover.color")}; -} - -.p-radiobutton:not(.p-disabled):has(.p-radiobutton-input:focus-visible) .p-radiobutton-box { - border-color: ${e("radiobutton.focus.border.color")}; - box-shadow: ${e("radiobutton.focus.ring.shadow")}; - outline: ${e("radiobutton.focus.ring.width")} ${e("radiobutton.focus.ring.style")} ${e("radiobutton.focus.ring.color")}; - outline-offset: ${e("radiobutton.focus.ring.offset")}; -} - -.p-radiobutton-checked:not(.p-disabled):has(.p-radiobutton-input:focus-visible) .p-radiobutton-box { - border-color: ${e("radiobutton.checked.focus.border.color")}; -} - -.p-radiobutton.p-invalid > .p-radiobutton-box { - border-color: ${e("radiobutton.invalid.border.color")}; -} - -.p-radiobutton.p-variant-filled .p-radiobutton-box { - background: ${e("radiobutton.filled.background")}; -} - -.p-radiobutton.p-variant-filled.p-radiobutton-checked .p-radiobutton-box { - background: ${e("radiobutton.checked.background")}; -} - -.p-radiobutton.p-variant-filled:not(.p-disabled):has(.p-radiobutton-input:hover).p-radiobutton-checked .p-radiobutton-box { - background: ${e("radiobutton.checked.hover.background")}; -} - -.p-radiobutton.p-disabled { - opacity: 1; -} - -.p-radiobutton.p-disabled .p-radiobutton-box { - background: ${e("radiobutton.disabled.background")}; - border-color: ${e("radiobutton.checked.disabled.border.color")}; -} - -.p-radiobutton-checked.p-disabled .p-radiobutton-box .p-radiobutton-icon { - background: ${e("radiobutton.icon.disabled.color")}; -} - -.p-radiobutton-sm, -.p-radiobutton-sm .p-radiobutton-box { - width: ${e("radiobutton.sm.width")}; - height: ${e("radiobutton.sm.height")}; -} - -.p-radiobutton-sm .p-radiobutton-icon { - font-size: ${e("radiobutton.icon.sm.size")}; - width: ${e("radiobutton.icon.sm.size")}; - height: ${e("radiobutton.icon.sm.size")}; -} - -.p-radiobutton-lg, -.p-radiobutton-lg .p-radiobutton-box { - width: ${e("radiobutton.lg.width")}; - height: ${e("radiobutton.lg.height")}; -} - -.p-radiobutton-lg .p-radiobutton-icon { - font-size: ${e("radiobutton.icon.lg.size")}; - width: ${e("radiobutton.icon.lg.size")}; - height: ${e("radiobutton.icon.lg.size")}; -} -`,Iv={root:function(t){var n=t.instance,r=t.props;return["p-radiobutton p-component",{"p-radiobutton-checked":n.checked,"p-disabled":r.disabled,"p-invalid":n.$pcRadioButtonGroup?n.$pcRadioButtonGroup.$invalid:n.$invalid,"p-variant-filled":n.$variant==="filled","p-radiobutton-sm p-inputfield-sm":r.size==="small","p-radiobutton-lg p-inputfield-lg":r.size==="large"}]},box:"p-radiobutton-box",input:"p-radiobutton-input",icon:"p-radiobutton-icon"},Pv=ge.extend({name:"radiobutton",style:Ov,classes:Iv}),Rv={name:"BaseRadioButton",extends:yn,props:{value:null,binary:Boolean,readonly:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:Pv,provide:function(){return{$pcRadioButton:this,$parentInstance:this}}},nf={name:"RadioButton",extends:Rv,inheritAttrs:!1,emits:["change","focus","blur"],inject:{$pcRadioButtonGroup:{default:void 0}},methods:{getPTOptions:function(t){var n=t==="root"?this.ptmi:this.ptm;return n(t,{context:{checked:this.checked,disabled:this.disabled}})},onChange:function(t){if(!this.disabled&&!this.readonly){var n=this.binary?!this.checked:this.value;this.$pcRadioButtonGroup?this.$pcRadioButtonGroup.writeValue(n,t):this.writeValue(n,t),this.$emit("change",t)}},onFocus:function(t){this.$emit("focus",t)},onBlur:function(t){var n,r;this.$emit("blur",t),(n=(r=this.formField).onBlur)===null||n===void 0||n.call(r,t)}},computed:{groupName:function(){return this.$pcRadioButtonGroup?this.$pcRadioButtonGroup.groupName:this.$formName},checked:function(){var t=this.$pcRadioButtonGroup?this.$pcRadioButtonGroup.d_value:this.d_value;return t!=null&&(this.binary?!!t:Pt(t,this.value))}}},Tv=["data-p-checked","data-p-disabled"],Bv=["id","value","name","checked","tabindex","disabled","readonly","aria-labelledby","aria-label","aria-invalid"];function Mv(e,t,n,r,i,o){return h(),b("div",g({class:e.cx("root")},o.getPTOptions("root"),{"data-p-checked":o.checked,"data-p-disabled":e.disabled}),[B("input",g({id:e.inputId,type:"radio",class:[e.cx("input"),e.inputClass],style:e.inputStyle,value:e.value,name:o.groupName,checked:o.checked,tabindex:e.tabindex,disabled:e.disabled,readonly:e.readonly,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-invalid":e.invalid||void 0,onFocus:t[0]||(t[0]=function(){return o.onFocus&&o.onFocus.apply(o,arguments)}),onBlur:t[1]||(t[1]=function(){return o.onBlur&&o.onBlur.apply(o,arguments)}),onChange:t[2]||(t[2]=function(){return o.onChange&&o.onChange.apply(o,arguments)})},o.getPTOptions("input")),null,16,Bv),B("div",g({class:e.cx("box")},o.getPTOptions("box")),[B("div",g({class:e.cx("icon")},o.getPTOptions("icon")),null,16)],16)],16,Tv)}nf.render=Mv;var rf={name:"FilterIcon",extends:Se};function Dv(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M8.64708 14H5.35296C5.18981 13.9979 5.03395 13.9321 4.91858 13.8167C4.8032 13.7014 4.73745 13.5455 4.73531 13.3824V7L0.329431 0.98C0.259794 0.889466 0.217389 0.780968 0.20718 0.667208C0.19697 0.553448 0.219379 0.439133 0.271783 0.337647C0.324282 0.236453 0.403423 0.151519 0.500663 0.0920138C0.597903 0.0325088 0.709548 0.000692754 0.823548 0H13.1765C13.2905 0.000692754 13.4021 0.0325088 13.4994 0.0920138C13.5966 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7826 0.780968 13.7402 0.889466 13.6706 0.98L9.26472 7V13.3824C9.26259 13.5455 9.19683 13.7014 9.08146 13.8167C8.96609 13.9321 8.81022 13.9979 8.64708 14ZM5.97061 12.7647H8.02943V6.79412C8.02878 6.66289 8.07229 6.53527 8.15296 6.43177L11.9412 1.23529H2.05884L5.86355 6.43177C5.94422 6.53527 5.98773 6.66289 5.98708 6.79412L5.97061 12.7647Z",fill:"currentColor"},null,-1)]),16)}rf.render=Dv;var of={name:"FilterFillIcon",extends:Se};function Ev(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M13.7274 0.33847C13.6228 0.130941 13.4095 0 13.1764 0H0.82351C0.590451 0 0.377157 0.130941 0.272568 0.33847C0.167157 0.545999 0.187746 0.795529 0.325275 0.98247L4.73527 6.99588V13.3824C4.73527 13.7233 5.01198 14 5.35292 14H8.64704C8.98798 14 9.26469 13.7233 9.26469 13.3824V6.99588L13.6747 0.98247C13.8122 0.795529 13.8328 0.545999 13.7274 0.33847Z",fill:"currentColor"},null,-1)]),16)}of.render=Ev;var af={name:"FilterSlashIcon",extends:Se};function Lv(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.4994 0.0920138C13.5967 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7827 0.780968 13.7403 0.889466 13.6707 0.98L11.406 4.06823C11.3099 4.19928 11.1656 4.28679 11.005 4.3115C10.8444 4.33621 10.6805 4.2961 10.5495 4.2C10.4184 4.1039 10.3309 3.95967 10.3062 3.79905C10.2815 3.63843 10.3216 3.47458 10.4177 3.34353L11.9412 1.23529H7.41184C7.24803 1.23529 7.09093 1.17022 6.97509 1.05439C6.85926 0.938558 6.79419 0.781457 6.79419 0.617647C6.79419 0.453837 6.85926 0.296736 6.97509 0.180905C7.09093 0.0650733 7.24803 0 7.41184 0H13.1765C13.2905 0.000692754 13.4022 0.0325088 13.4994 0.0920138ZM4.20008 0.181168H4.24126L13.2013 9.03411C13.3169 9.14992 13.3819 9.3069 13.3819 9.47058C13.3819 9.63426 13.3169 9.79124 13.2013 9.90705C13.1445 9.96517 13.0766 10.0112 13.0016 10.0423C12.9266 10.0735 12.846 10.0891 12.7648 10.0882C12.6836 10.0886 12.6032 10.0728 12.5283 10.0417C12.4533 10.0106 12.3853 9.96479 12.3283 9.90705L9.3142 6.92587L9.26479 6.99999V13.3823C9.26265 13.5455 9.19689 13.7014 9.08152 13.8167C8.96615 13.9321 8.81029 13.9979 8.64714 14H5.35302C5.18987 13.9979 5.03401 13.9321 4.91864 13.8167C4.80327 13.7014 4.73751 13.5455 4.73537 13.3823V6.99999L0.329492 1.02117C0.259855 0.930634 0.21745 0.822137 0.207241 0.708376C0.197031 0.594616 0.21944 0.480301 0.271844 0.378815C0.324343 0.277621 0.403484 0.192687 0.500724 0.133182C0.597964 0.073677 0.709609 0.041861 0.823609 0.0411682H3.86243C3.92448 0.0461551 3.9855 0.060022 4.04361 0.0823446C4.10037 0.10735 4.15311 0.140655 4.20008 0.181168ZM8.02949 6.79411C8.02884 6.66289 8.07235 6.53526 8.15302 6.43176L8.42478 6.05293L3.55773 1.23529H2.0589L5.84714 6.43176C5.92781 6.53526 5.97132 6.66289 5.97067 6.79411V12.7647H8.02949V6.79411Z",fill:"currentColor"},null,-1)]),16)}af.render=Lv;var lf={name:"PlusIcon",extends:Se};function Fv(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z",fill:"currentColor"},null,-1)]),16)}lf.render=Fv;var sf={name:"TrashIcon",extends:Se};function Av(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.44802 13.9955H10.552C10.8056 14.0129 11.06 13.9797 11.3006 13.898C11.5412 13.8163 11.7632 13.6877 11.9537 13.5196C12.1442 13.3515 12.2995 13.1473 12.4104 12.9188C12.5213 12.6903 12.5858 12.442 12.6 12.1884V4.36041H13.4C13.5591 4.36041 13.7117 4.29722 13.8243 4.18476C13.9368 4.07229 14 3.91976 14 3.76071C14 3.60166 13.9368 3.44912 13.8243 3.33666C13.7117 3.22419 13.5591 3.16101 13.4 3.16101H12.0537C12.0203 3.1557 11.9863 3.15299 11.952 3.15299C11.9178 3.15299 11.8838 3.1557 11.8503 3.16101H11.2285C11.2421 3.10893 11.2487 3.05513 11.248 3.00106V1.80966C11.2171 1.30262 10.9871 0.828306 10.608 0.48989C10.229 0.151475 9.73159 -0.0236625 9.22402 0.00257442H4.77602C4.27251 -0.0171866 3.78126 0.160868 3.40746 0.498617C3.03365 0.836366 2.807 1.30697 2.77602 1.80966V3.00106C2.77602 3.0556 2.78346 3.10936 2.79776 3.16101H0.6C0.521207 3.16101 0.443185 3.17652 0.37039 3.20666C0.297595 3.2368 0.231451 3.28097 0.175736 3.33666C0.120021 3.39235 0.0758251 3.45846 0.0456722 3.53121C0.0155194 3.60397 0 3.68196 0 3.76071C0 3.83946 0.0155194 3.91744 0.0456722 3.9902C0.0758251 4.06296 0.120021 4.12907 0.175736 4.18476C0.231451 4.24045 0.297595 4.28462 0.37039 4.31476C0.443185 4.3449 0.521207 4.36041 0.6 4.36041H1.40002V12.1884C1.41426 12.442 1.47871 12.6903 1.58965 12.9188C1.7006 13.1473 1.85582 13.3515 2.04633 13.5196C2.23683 13.6877 2.45882 13.8163 2.69944 13.898C2.94005 13.9797 3.1945 14.0129 3.44802 13.9955ZM2.60002 4.36041H11.304V12.1884C11.304 12.5163 10.952 12.7961 10.504 12.7961H3.40002C2.97602 12.7961 2.60002 12.5163 2.60002 12.1884V4.36041ZM3.95429 3.16101C3.96859 3.10936 3.97602 3.0556 3.97602 3.00106V1.80966C3.97602 1.48183 4.33602 1.20197 4.77602 1.20197H9.24802C9.66403 1.20197 10.048 1.48183 10.048 1.80966V3.00106C10.0473 3.05515 10.054 3.10896 10.0678 3.16101H3.95429ZM5.57571 10.997C5.41731 10.995 5.26597 10.9311 5.15395 10.8191C5.04193 10.7071 4.97808 10.5558 4.97601 10.3973V6.77517C4.97601 6.61612 5.0392 6.46359 5.15166 6.35112C5.26413 6.23866 5.41666 6.17548 5.57571 6.17548C5.73476 6.17548 5.8873 6.23866 5.99976 6.35112C6.11223 6.46359 6.17541 6.61612 6.17541 6.77517V10.3894C6.17647 10.4688 6.16174 10.5476 6.13208 10.6213C6.10241 10.695 6.05841 10.762 6.00261 10.8186C5.94682 10.8751 5.88035 10.92 5.80707 10.9506C5.73378 10.9813 5.65514 10.9971 5.57571 10.997ZM7.99968 10.8214C8.11215 10.9339 8.26468 10.997 8.42373 10.997C8.58351 10.9949 8.73604 10.93 8.84828 10.8163C8.96052 10.7025 9.02345 10.5491 9.02343 10.3894V6.77517C9.02343 6.61612 8.96025 6.46359 8.84778 6.35112C8.73532 6.23866 8.58278 6.17548 8.42373 6.17548C8.26468 6.17548 8.11215 6.23866 7.99968 6.35112C7.88722 6.46359 7.82404 6.61612 7.82404 6.77517V10.3973C7.82404 10.5564 7.88722 10.7089 7.99968 10.8214Z",fill:"currentColor"},null,-1)]),16)}sf.render=Av;var za={name:"SortAltIcon",extends:Se};function zv(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M5.64515 3.61291C5.47353 3.61291 5.30192 3.54968 5.16644 3.4142L3.38708 1.63484L1.60773 3.4142C1.34579 3.67613 0.912244 3.67613 0.650309 3.4142C0.388374 3.15226 0.388374 2.71871 0.650309 2.45678L2.90837 0.198712C3.17031 -0.0632236 3.60386 -0.0632236 3.86579 0.198712L6.12386 2.45678C6.38579 2.71871 6.38579 3.15226 6.12386 3.4142C5.98837 3.54968 5.81676 3.61291 5.64515 3.61291Z",fill:"currentColor"},null,-1),B("path",{d:"M3.38714 14C3.01681 14 2.70972 13.6929 2.70972 13.3226V0.677419C2.70972 0.307097 3.01681 0 3.38714 0C3.75746 0 4.06456 0.307097 4.06456 0.677419V13.3226C4.06456 13.6929 3.75746 14 3.38714 14Z",fill:"currentColor"},null,-1),B("path",{d:"M10.6129 14C10.4413 14 10.2697 13.9368 10.1342 13.8013L7.87611 11.5432C7.61418 11.2813 7.61418 10.8477 7.87611 10.5858C8.13805 10.3239 8.5716 10.3239 8.83353 10.5858L10.6129 12.3652L12.3922 10.5858C12.6542 10.3239 13.0877 10.3239 13.3497 10.5858C13.6116 10.8477 13.6116 11.2813 13.3497 11.5432L11.0916 13.8013C10.9561 13.9368 10.7845 14 10.6129 14Z",fill:"currentColor"},null,-1),B("path",{d:"M10.6129 14C10.2426 14 9.93552 13.6929 9.93552 13.3226V0.677419C9.93552 0.307097 10.2426 0 10.6129 0C10.9833 0 11.2904 0.307097 11.2904 0.677419V13.3226C11.2904 13.6929 10.9832 14 10.6129 14Z",fill:"currentColor"},null,-1)]),16)}za.render=zv;var ja={name:"SortAmountDownIcon",extends:Se};function jv(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M4.93953 10.5858L3.83759 11.6877V0.677419C3.83759 0.307097 3.53049 0 3.16017 0C2.78985 0 2.48275 0.307097 2.48275 0.677419V11.6877L1.38082 10.5858C1.11888 10.3239 0.685331 10.3239 0.423396 10.5858C0.16146 10.8477 0.16146 11.2813 0.423396 11.5432L2.68146 13.8013C2.74469 13.8645 2.81694 13.9097 2.89823 13.9458C2.97952 13.9819 3.06985 14 3.16017 14C3.25049 14 3.33178 13.9819 3.42211 13.9458C3.5034 13.9097 3.57565 13.8645 3.63888 13.8013L5.89694 11.5432C6.15888 11.2813 6.15888 10.8477 5.89694 10.5858C5.63501 10.3239 5.20146 10.3239 4.93953 10.5858ZM13.0957 0H7.22468C6.85436 0 6.54726 0.307097 6.54726 0.677419C6.54726 1.04774 6.85436 1.35484 7.22468 1.35484H13.0957C13.466 1.35484 13.7731 1.04774 13.7731 0.677419C13.7731 0.307097 13.466 0 13.0957 0ZM7.22468 5.41935H9.48275C9.85307 5.41935 10.1602 5.72645 10.1602 6.09677C10.1602 6.4671 9.85307 6.77419 9.48275 6.77419H7.22468C6.85436 6.77419 6.54726 6.4671 6.54726 6.09677C6.54726 5.72645 6.85436 5.41935 7.22468 5.41935ZM7.6763 8.12903H7.22468C6.85436 8.12903 6.54726 8.43613 6.54726 8.80645C6.54726 9.17677 6.85436 9.48387 7.22468 9.48387H7.6763C8.04662 9.48387 8.35372 9.17677 8.35372 8.80645C8.35372 8.43613 8.04662 8.12903 7.6763 8.12903ZM7.22468 2.70968H11.2892C11.6595 2.70968 11.9666 3.01677 11.9666 3.3871C11.9666 3.75742 11.6595 4.06452 11.2892 4.06452H7.22468C6.85436 4.06452 6.54726 3.75742 6.54726 3.3871C6.54726 3.01677 6.85436 2.70968 7.22468 2.70968Z",fill:"currentColor"},null,-1)]),16)}ja.render=jv;var Va={name:"SortAmountUpAltIcon",extends:Se};function Vv(e,t,n,r,i,o){return h(),b("svg",g({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),t[0]||(t[0]=[B("path",{d:"M3.63435 0.19871C3.57113 0.135484 3.49887 0.0903226 3.41758 0.0541935C3.255 -0.0180645 3.06532 -0.0180645 2.90274 0.0541935C2.82145 0.0903226 2.74919 0.135484 2.68597 0.19871L0.427901 2.45677C0.165965 2.71871 0.165965 3.15226 0.427901 3.41419C0.689836 3.67613 1.12338 3.67613 1.38532 3.41419L2.48726 2.31226V13.3226C2.48726 13.6929 2.79435 14 3.16467 14C3.535 14 3.84209 13.6929 3.84209 13.3226V2.31226L4.94403 3.41419C5.07951 3.54968 5.25113 3.6129 5.42274 3.6129C5.59435 3.6129 5.76597 3.54968 5.90145 3.41419C6.16338 3.15226 6.16338 2.71871 5.90145 2.45677L3.64338 0.19871H3.63435ZM13.7685 13.3226C13.7685 12.9523 13.4615 12.6452 13.0911 12.6452H7.22016C6.84984 12.6452 6.54274 12.9523 6.54274 13.3226C6.54274 13.6929 6.84984 14 7.22016 14H13.0911C13.4615 14 13.7685 13.6929 13.7685 13.3226ZM7.22016 8.58064C6.84984 8.58064 6.54274 8.27355 6.54274 7.90323C6.54274 7.5329 6.84984 7.22581 7.22016 7.22581H9.47823C9.84855 7.22581 10.1556 7.5329 10.1556 7.90323C10.1556 8.27355 9.84855 8.58064 9.47823 8.58064H7.22016ZM7.22016 5.87097H7.67177C8.0421 5.87097 8.34919 5.56387 8.34919 5.19355C8.34919 4.82323 8.0421 4.51613 7.67177 4.51613H7.22016C6.84984 4.51613 6.54274 4.82323 6.54274 5.19355C6.54274 5.56387 6.84984 5.87097 7.22016 5.87097ZM11.2847 11.2903H7.22016C6.84984 11.2903 6.54274 10.9832 6.54274 10.6129C6.54274 10.2426 6.84984 9.93548 7.22016 9.93548H11.2847C11.655 9.93548 11.9621 10.2426 11.9621 10.6129C11.9621 10.9832 11.655 11.2903 11.2847 11.2903Z",fill:"currentColor"},null,-1)]),16)}Va.render=Vv;var Hv={name:"BaseDataTable",extends:Ce,props:{value:{type:Array,default:null},dataKey:{type:[String,Function],default:null},rows:{type:Number,default:0},first:{type:Number,default:0},totalRecords:{type:Number,default:0},paginator:{type:Boolean,default:!1},paginatorPosition:{type:String,default:"bottom"},alwaysShowPaginator:{type:Boolean,default:!0},paginatorTemplate:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},currentPageReportTemplate:{type:String,default:"({currentPage} of {totalPages})"},lazy:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},sortField:{type:[String,Function],default:null},sortOrder:{type:Number,default:null},defaultSortOrder:{type:Number,default:1},nullSortOrder:{type:Number,default:1},multiSortMeta:{type:Array,default:null},sortMode:{type:String,default:"single"},removableSort:{type:Boolean,default:!1},filters:{type:Object,default:null},filterDisplay:{type:String,default:null},globalFilterFields:{type:Array,default:null},filterLocale:{type:String,default:void 0},selection:{type:[Array,Object],default:null},selectionMode:{type:String,default:null},compareSelectionBy:{type:String,default:"deepEquals"},metaKeySelection:{type:Boolean,default:!1},contextMenu:{type:Boolean,default:!1},contextMenuSelection:{type:Object,default:null},selectAll:{type:Boolean,default:null},rowHover:{type:Boolean,default:!1},csvSeparator:{type:String,default:","},exportFilename:{type:String,default:"download"},exportFunction:{type:Function,default:null},resizableColumns:{type:Boolean,default:!1},columnResizeMode:{type:String,default:"fit"},reorderableColumns:{type:Boolean,default:!1},expandedRows:{type:[Array,Object],default:null},expandedRowIcon:{type:String,default:void 0},collapsedRowIcon:{type:String,default:void 0},rowGroupMode:{type:String,default:null},groupRowsBy:{type:[Array,String,Function],default:null},expandableRowGroups:{type:Boolean,default:!1},expandedRowGroups:{type:Array,default:null},stateStorage:{type:String,default:"session"},stateKey:{type:String,default:null},editMode:{type:String,default:null},editingRows:{type:Array,default:null},rowClass:{type:Function,default:null},rowStyle:{type:Function,default:null},scrollable:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},scrollHeight:{type:String,default:null},frozenValue:{type:Array,default:null},breakpoint:{type:String,default:"960px"},showHeaders:{type:Boolean,default:!0},showGridlines:{type:Boolean,default:!1},stripedRows:{type:Boolean,default:!1},highlightOnSelect:{type:Boolean,default:!1},size:{type:String,default:null},tableStyle:{type:null,default:null},tableClass:{type:[String,Object],default:null},tableProps:{type:Object,default:null},filterInputProps:{type:null,default:null},filterButtonProps:{type:Object,default:function(){return{filter:{severity:"secondary",text:!0,rounded:!0},inline:{clear:{severity:"secondary",text:!0,rounded:!0}},popover:{addRule:{severity:"info",text:!0,size:"small"},removeRule:{severity:"danger",text:!0,size:"small"},apply:{size:"small"},clear:{outlined:!0,size:"small"}}}}},editButtonProps:{type:Object,default:function(){return{init:{severity:"secondary",text:!0,rounded:!0},save:{severity:"secondary",text:!0,rounded:!0},cancel:{severity:"secondary",text:!0,rounded:!0}}}}},style:Sv,provide:function(){return{$pcDataTable:this,$parentInstance:this}}},uf={name:"RowCheckbox",hostName:"DataTable",extends:Ce,emits:["change"],props:{value:null,checked:null,column:null,rowCheckboxIconTemplate:{type:Function,default:null},index:{type:Number,default:null}},methods:{getColumnPT:function(t){var n={props:this.column.props,parent:{instance:this,props:this.$props,state:this.$data},context:{index:this.index,checked:this.checked,disabled:this.$attrs.disabled}};return g(this.ptm("column.".concat(t),{column:n}),this.ptm("column.".concat(t),n),this.ptmo(this.getColumnProp(),t,n))},getColumnProp:function(){return this.column.props&&this.column.props.pt?this.column.props.pt:void 0},onChange:function(t){this.$attrs.disabled||this.$emit("change",{originalEvent:t,data:this.value})}},computed:{checkboxAriaLabel:function(){return this.$primevue.config.locale.aria?this.checked?this.$primevue.config.locale.aria.selectRow:this.$primevue.config.locale.aria.unselectRow:void 0}},components:{CheckIcon:Fn,Checkbox:Fi}};function Kv(e,t,n,r,i,o){var a=q("CheckIcon"),l=q("Checkbox");return h(),$(l,{modelValue:n.checked,binary:!0,disabled:e.$attrs.disabled,"aria-label":o.checkboxAriaLabel,onChange:o.onChange,unstyled:e.unstyled,pt:o.getColumnPT("pcRowCheckbox")},{icon:_(function(s){return[n.rowCheckboxIconTemplate?(h(),$(ee(n.rowCheckboxIconTemplate),{key:0,checked:s.checked,class:ie(s.class)},null,8,["checked","class"])):!n.rowCheckboxIconTemplate&&s.checked?(h(),$(a,g({key:1,class:s.class},o.getColumnPT("pcRowCheckbox").icon),null,16,["class"])):P("",!0)]}),_:1},8,["modelValue","disabled","aria-label","onChange","unstyled","pt"])}uf.render=Kv;var df={name:"RowRadioButton",hostName:"DataTable",extends:Ce,emits:["change"],props:{value:null,checked:null,name:null,column:null,index:{type:Number,default:null}},methods:{getColumnPT:function(t){var n={props:this.column.props,parent:{instance:this,props:this.$props,state:this.$data},context:{index:this.index,checked:this.checked,disabled:this.$attrs.disabled}};return g(this.ptm("column.".concat(t),{column:n}),this.ptm("column.".concat(t),n),this.ptmo(this.getColumnProp(),t,n))},getColumnProp:function(){return this.column.props&&this.column.props.pt?this.column.props.pt:void 0},onChange:function(t){this.$attrs.disabled||this.$emit("change",{originalEvent:t,data:this.value})}},components:{RadioButton:nf}};function Nv(e,t,n,r,i,o){var a=q("RadioButton");return h(),$(a,{modelValue:n.checked,binary:!0,disabled:e.$attrs.disabled,name:n.name,onChange:o.onChange,unstyled:e.unstyled,pt:o.getColumnPT("pcRowRadiobutton")},null,8,["modelValue","disabled","name","onChange","unstyled","pt"])}df.render=Nv;function ci(e){"@babel/helpers - typeof";return ci=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ci(e)}function wr(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */wr=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(M,O,R){M[O]=R.value},o=typeof Symbol=="function"?Symbol:{},a=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function d(M,O,R){return Object.defineProperty(M,O,{value:R,enumerable:!0,configurable:!0,writable:!0}),M[O]}try{d({},"")}catch{d=function(R,Q,re){return R[Q]=re}}function u(M,O,R,Q){var re=O&&O.prototype instanceof S?O:S,te=Object.create(re.prototype),be=new fe(Q||[]);return i(te,"_invoke",{value:J(M,R,be)}),te}function c(M,O,R){try{return{type:"normal",arg:M.call(O,R)}}catch(Q){return{type:"throw",arg:Q}}}t.wrap=u;var f="suspendedStart",p="suspendedYield",m="executing",v="completed",C={};function S(){}function x(){}function T(){}var w={};d(w,a,function(){return this});var F=Object.getPrototypeOf,G=F&&F(F(ye([])));G&&G!==n&&r.call(G,a)&&(w=G);var E=T.prototype=S.prototype=Object.create(w);function K(M){["next","throw","return"].forEach(function(O){d(M,O,function(R){return this._invoke(O,R)})})}function z(M,O){function R(re,te,be,ze){var je=c(M[re],M,te);if(je.type!=="throw"){var vt=je.arg,Ye=vt.value;return Ye&&ci(Ye)=="object"&&r.call(Ye,"__await")?O.resolve(Ye.__await).then(function(at){R("next",at,be,ze)},function(at){R("throw",at,be,ze)}):O.resolve(Ye).then(function(at){vt.value=at,be(vt)},function(at){return R("throw",at,be,ze)})}ze(je.arg)}var Q;i(this,"_invoke",{value:function(te,be){function ze(){return new O(function(je,vt){R(te,be,je,vt)})}return Q=Q?Q.then(ze,ze):ze()}})}function J(M,O,R){var Q=f;return function(re,te){if(Q===m)throw Error("Generator is already running");if(Q===v){if(re==="throw")throw te;return{value:e,done:!0}}for(R.method=re,R.arg=te;;){var be=R.delegate;if(be){var ze=N(be,R);if(ze){if(ze===C)continue;return ze}}if(R.method==="next")R.sent=R._sent=R.arg;else if(R.method==="throw"){if(Q===f)throw Q=v,R.arg;R.dispatchException(R.arg)}else R.method==="return"&&R.abrupt("return",R.arg);Q=m;var je=c(M,O,R);if(je.type==="normal"){if(Q=R.done?v:p,je.arg===C)continue;return{value:je.arg,done:R.done}}je.type==="throw"&&(Q=v,R.method="throw",R.arg=je.arg)}}}function N(M,O){var R=O.method,Q=M.iterator[R];if(Q===e)return O.delegate=null,R==="throw"&&M.iterator.return&&(O.method="return",O.arg=e,N(M,O),O.method==="throw")||R!=="return"&&(O.method="throw",O.arg=new TypeError("The iterator does not provide a '"+R+"' method")),C;var re=c(Q,M.iterator,O.arg);if(re.type==="throw")return O.method="throw",O.arg=re.arg,O.delegate=null,C;var te=re.arg;return te?te.done?(O[M.resultName]=te.value,O.next=M.nextLoc,O.method!=="return"&&(O.method="next",O.arg=e),O.delegate=null,C):te:(O.method="throw",O.arg=new TypeError("iterator result is not an object"),O.delegate=null,C)}function H(M){var O={tryLoc:M[0]};1 in M&&(O.catchLoc=M[1]),2 in M&&(O.finallyLoc=M[2],O.afterLoc=M[3]),this.tryEntries.push(O)}function le(M){var O=M.completion||{};O.type="normal",delete O.arg,M.completion=O}function fe(M){this.tryEntries=[{tryLoc:"root"}],M.forEach(H,this),this.reset(!0)}function ye(M){if(M||M===""){var O=M[a];if(O)return O.call(M);if(typeof M.next=="function")return M;if(!isNaN(M.length)){var R=-1,Q=function re(){for(;++R=0;--re){var te=this.tryEntries[re],be=te.completion;if(te.tryLoc==="root")return Q("end");if(te.tryLoc<=this.prev){var ze=r.call(te,"catchLoc"),je=r.call(te,"finallyLoc");if(ze&&je){if(this.prev=0;--Q){var re=this.tryEntries[Q];if(re.tryLoc<=this.prev&&r.call(re,"finallyLoc")&&this.prev=0;--R){var Q=this.tryEntries[R];if(Q.finallyLoc===O)return this.complete(Q.completion,Q.afterLoc),le(Q),C}},catch:function(O){for(var R=this.tryEntries.length-1;R>=0;--R){var Q=this.tryEntries[R];if(Q.tryLoc===O){var re=Q.completion;if(re.type==="throw"){var te=re.arg;le(Q)}return te}}throw Error("illegal catch attempt")},delegateYield:function(O,R,Q){return this.delegate={iterator:ye(O),resultName:R,nextLoc:Q},this.method==="next"&&(this.arg=e),C}},t}function au(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(d){return void n(d)}l.done?t(s):Promise.resolve(s).then(r,i)}function lu(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(s){au(o,r,i,a,l,"next",s)}function l(s){au(o,r,i,a,l,"throw",s)}a(void 0)})}}var cf={name:"BodyCell",hostName:"DataTable",extends:Ce,emits:["cell-edit-init","cell-edit-complete","cell-edit-cancel","row-edit-init","row-edit-save","row-edit-cancel","row-toggle","radio-change","checkbox-change","editing-meta-change"],props:{rowData:{type:Object,default:null},column:{type:Object,default:null},frozenRow:{type:Boolean,default:!1},rowIndex:{type:Number,default:null},index:{type:Number,default:null},isRowExpanded:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},editing:{type:Boolean,default:!1},editingMeta:{type:Object,default:null},editMode:{type:String,default:null},virtualScrollerContentProps:{type:Object,default:null},ariaControls:{type:String,default:null},name:{type:String,default:null},expandedRowIcon:{type:String,default:null},collapsedRowIcon:{type:String,default:null},editButtonProps:{type:Object,default:null}},documentEditListener:null,selfClick:!1,overlayEventListener:null,editCompleteTimeout:null,data:function(){return{d_editing:this.editing,styleObject:{}}},watch:{editing:function(t){this.d_editing=t},"$data.d_editing":function(t){this.$emit("editing-meta-change",{data:this.rowData,field:this.field||"field_".concat(this.index),index:this.rowIndex,editing:t})}},mounted:function(){this.columnProp("frozen")&&this.updateStickyPosition()},updated:function(){var t=this;this.columnProp("frozen")&&this.updateStickyPosition(),this.d_editing&&(this.editMode==="cell"||this.editMode==="row"&&this.columnProp("rowEditor"))&&setTimeout(function(){var n=dn(t.$el);n&&n.focus()},1)},beforeUnmount:function(){this.overlayEventListener&&(Ht.off("overlay-click",this.overlayEventListener),this.overlayEventListener=null)},methods:{columnProp:function(t){return vn(this.column,t)},getColumnPT:function(t){var n,r,i={props:this.column.props,parent:{instance:this,props:this.$props,state:this.$data},context:{index:this.index,size:(n=this.$parentInstance)===null||n===void 0||(n=n.$parentInstance)===null||n===void 0?void 0:n.size,showGridlines:(r=this.$parentInstance)===null||r===void 0||(r=r.$parentInstance)===null||r===void 0?void 0:r.showGridlines}};return g(this.ptm("column.".concat(t),{column:i}),this.ptm("column.".concat(t),i),this.ptmo(this.getColumnProp(),t,i))},getColumnProp:function(){return this.column.props&&this.column.props.pt?this.column.props.pt:void 0},resolveFieldData:function(){return he(this.rowData,this.field)},toggleRow:function(t){this.$emit("row-toggle",{originalEvent:t,data:this.rowData})},toggleRowWithRadio:function(t,n){this.$emit("radio-change",{originalEvent:t.originalEvent,index:n,data:t.data})},toggleRowWithCheckbox:function(t,n){this.$emit("checkbox-change",{originalEvent:t.originalEvent,index:n,data:t.data})},isEditable:function(){return this.column.children&&this.column.children.editor!=null},bindDocumentEditListener:function(){var t=this;this.documentEditListener||(this.documentEditListener=function(n){t.selfClick=t.$el&&t.$el.contains(n.target),t.editCompleteTimeout&&clearTimeout(t.editCompleteTimeout),t.selfClick||(t.editCompleteTimeout=setTimeout(function(){t.completeEdit(n,"outside")},1))},document.addEventListener("mousedown",this.documentEditListener))},unbindDocumentEditListener:function(){this.documentEditListener&&(document.removeEventListener("mousedown",this.documentEditListener),this.documentEditListener=null,this.selfClick=!1,this.editCompleteTimeout&&(clearTimeout(this.editCompleteTimeout),this.editCompleteTimeout=null))},switchCellToViewMode:function(){this.d_editing=!1,this.unbindDocumentEditListener(),Ht.off("overlay-click",this.overlayEventListener),this.overlayEventListener=null},onClick:function(t){var n=this;this.editMode==="cell"&&this.isEditable()&&(this.d_editing||(this.d_editing=!0,this.bindDocumentEditListener(),this.$emit("cell-edit-init",{originalEvent:t,data:this.rowData,field:this.field,index:this.rowIndex}),this.overlayEventListener=function(r){n.selfClick=n.$el&&n.$el.contains(r.target)},Ht.on("overlay-click",this.overlayEventListener)))},completeEdit:function(t,n){var r={originalEvent:t,data:this.rowData,newData:this.editingRowData,value:this.rowData[this.field],newValue:this.editingRowData[this.field],field:this.field,index:this.rowIndex,type:n,defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0}};this.$emit("cell-edit-complete",r),r.defaultPrevented||this.switchCellToViewMode()},onKeyDown:function(t){if(this.editMode==="cell")switch(t.code){case"Enter":case"NumpadEnter":this.completeEdit(t,"enter");break;case"Escape":this.switchCellToViewMode(),this.$emit("cell-edit-cancel",{originalEvent:t,data:this.rowData,field:this.field,index:this.rowIndex});break;case"Tab":this.completeEdit(t,"tab"),t.shiftKey?this.moveToPreviousCell(t):this.moveToNextCell(t);break}},moveToPreviousCell:function(t){var n=this;return lu(wr().mark(function r(){var i,o;return wr().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(i=n.findCell(t.target),o=n.findPreviousEditableColumn(i),!o){l.next=7;break}return l.next=5,n.$nextTick();case 5:Ss(o,"click"),t.preventDefault();case 7:case"end":return l.stop()}},r)}))()},moveToNextCell:function(t){var n=this;return lu(wr().mark(function r(){var i,o;return wr().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(i=n.findCell(t.target),o=n.findNextEditableColumn(i),!o){l.next=7;break}return l.next=5,n.$nextTick();case 5:Ss(o,"click"),t.preventDefault();case 7:case"end":return l.stop()}},r)}))()},findCell:function(t){if(t){for(var n=t;n&&!Fe(n,"data-p-cell-editing");)n=n.parentElement;return n}else return null},findPreviousEditableColumn:function(t){var n=t.previousElementSibling;if(!n){var r=t.parentElement.previousElementSibling;r&&(n=r.lastElementChild)}return n?Fe(n,"data-p-editable-column")?n:this.findPreviousEditableColumn(n):null},findNextEditableColumn:function(t){var n=t.nextElementSibling;if(!n){var r=t.parentElement.nextElementSibling;r&&(n=r.firstElementChild)}return n?Fe(n,"data-p-editable-column")?n:this.findNextEditableColumn(n):null},onRowEditInit:function(t){this.$emit("row-edit-init",{originalEvent:t,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex})},onRowEditSave:function(t){this.$emit("row-edit-save",{originalEvent:t,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex})},onRowEditCancel:function(t){this.$emit("row-edit-cancel",{originalEvent:t,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex})},editorInitCallback:function(t){this.$emit("row-edit-init",{originalEvent:t,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex})},editorSaveCallback:function(t){this.editMode==="row"?this.$emit("row-edit-save",{originalEvent:t,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex}):this.completeEdit(t,"enter")},editorCancelCallback:function(t){this.editMode==="row"?this.$emit("row-edit-cancel",{originalEvent:t,data:this.rowData,newData:this.editingRowData,field:this.field,index:this.rowIndex}):(this.switchCellToViewMode(),this.$emit("cell-edit-cancel",{originalEvent:t,data:this.rowData,field:this.field,index:this.rowIndex}))},updateStickyPosition:function(){if(this.columnProp("frozen")){var t=this.columnProp("alignFrozen");if(t==="right"){var n=0,r=Ti(this.$el,'[data-p-frozen-column="true"]');r&&(n=Ne(r)+parseFloat(r.style["inset-inline-end"]||0)),this.styleObject.insetInlineEnd=n+"px"}else{var i=0,o=Bi(this.$el,'[data-p-frozen-column="true"]');o&&(i=Ne(o)+parseFloat(o.style["inset-inline-start"]||0)),this.styleObject.insetInlineStart=i+"px"}}},getVirtualScrollerProp:function(t){return this.virtualScrollerContentProps?this.virtualScrollerContentProps[t]:null}},computed:{editingRowData:function(){return this.editingMeta[this.rowIndex]?this.editingMeta[this.rowIndex].data:this.rowData},field:function(){return this.columnProp("field")},containerClass:function(){return[this.columnProp("bodyClass"),this.columnProp("class"),this.cx("bodyCell")]},containerStyle:function(){var t=this.columnProp("bodyStyle"),n=this.columnProp("style");return this.columnProp("frozen")?[n,t,this.styleObject]:[n,t]},loading:function(){return this.getVirtualScrollerProp("loading")},loadingOptions:function(){var t=this.getVirtualScrollerProp("getLoaderOptions");return t&&t(this.rowIndex,{cellIndex:this.index,cellFirst:this.index===0,cellLast:this.index===this.getVirtualScrollerProp("columns").length-1,cellEven:this.index%2===0,cellOdd:this.index%2!==0,column:this.column,field:this.field})},expandButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.isRowExpanded?this.$primevue.config.locale.aria.expandRow:this.$primevue.config.locale.aria.collapseRow:void 0},initButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.editRow:void 0},saveButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.saveEdit:void 0},cancelButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.cancelEdit:void 0}},components:{DTRadioButton:df,DTCheckbox:uf,Button:gn,ChevronDownIcon:ir,ChevronRightIcon:Di,BarsIcon:ef,PencilIcon:tf,CheckIcon:Fn,TimesIcon:Po},directives:{ripple:Bt}};function to(e){"@babel/helpers - typeof";return to=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},to(e)}function su(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function jo(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(d){throw d},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var d=n.next();return a=d.done,d},e:function(d){l=!0,o=d},f:function(){try{a||n.return==null||n.return()}finally{if(l)throw o}}}}function Xv(e,t){if(e){if(typeof e=="string")return uu(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?uu(e,t):void 0}}function uu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n-1:this.groupRowsBy===n:!1},findIndexInSelection:function(t){return this.findIndex(t,this.selection)},findIndex:function(t,n){var r=-1;if(n&&n.length){for(var i=0;i-1:!1},isRowGroupExpanded:function(){if(this.expandableRowGroups&&this.expandedRowGroups){var t=he(this.rowData,this.groupRowsBy);return this.expandedRowGroups.indexOf(t)>-1}return!1},isSelected:function(){return this.rowData&&this.selection?this.dataKey?this.selectionKeys?this.selectionKeys[he(this.rowData,this.dataKey)]!==void 0:!1:this.selection instanceof Array?this.findIndexInSelection(this.rowData)>-1:this.equals(this.rowData,this.selection):!1},isSelectedWithContextMenu:function(){return this.rowData&&this.contextMenuSelection?this.equals(this.rowData,this.contextMenuSelection,this.dataKey):!1},shouldRenderRowGroupHeader:function(){var t=he(this.rowData,this.groupRowsBy),n=this.value[this.rowIndex-1];if(n){var r=he(n,this.groupRowsBy);return t!==r}else return!0},shouldRenderRowGroupFooter:function(){if(this.expandableRowGroups&&!this.isRowGroupExpanded)return!1;var t=he(this.rowData,this.groupRowsBy),n=this.value[this.rowIndex+1];if(n){var r=he(n,this.groupRowsBy);return t!==r}else return!0},columnsLength:function(){var t=this;if(this.columns){var n=0;return this.columns.forEach(function(r){t.columnProp(r,"hidden")&&n++}),this.columns.length-n}return 0}},components:{DTBodyCell:cf,ChevronDownIcon:ir,ChevronRightIcon:Di}};function ro(e){"@babel/helpers - typeof";return ro=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ro(e)}function fu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function an(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(d){throw d},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var d=n.next();return a=d.done,d},e:function(d){l=!0,o=d},f:function(){try{a||n.return==null||n.return()}finally{if(l)throw o}}}}function vy(e,t){if(e){if(typeof e=="string")return gu(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gu(e,t):void 0}}function gu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1},removeRuleButtonLabel:function(){return this.$primevue.config.locale?this.$primevue.config.locale.removeRule:void 0},addRuleButtonLabel:function(){return this.$primevue.config.locale?this.$primevue.config.locale.addRule:void 0},isShowAddConstraint:function(){return this.showAddButton&&this.filters[this.field].operator&&this.fieldConstraints&&this.fieldConstraints.length-1?t:t+1},isMultiSorted:function(){return this.sortMode==="multiple"&&this.columnProp("sortable")&&this.getMultiSortMetaIndex()>-1},isColumnSorted:function(){return this.sortMode==="single"?this.sortField&&(this.sortField===this.columnProp("field")||this.sortField===this.columnProp("sortField")):this.isMultiSorted()},updateStickyPosition:function(){if(this.columnProp("frozen")){var t=this.columnProp("alignFrozen");if(t==="right"){var n=0,r=Ti(this.$el,'[data-p-frozen-column="true"]');r&&(n=Ne(r)+parseFloat(r.style["inset-inline-end"]||0)),this.styleObject.insetInlineEnd=n+"px"}else{var i=0,o=Bi(this.$el,'[data-p-frozen-column="true"]');o&&(i=Ne(o)+parseFloat(o.style["inset-inline-start"]||0)),this.styleObject.insetInlineStart=i+"px"}var a=this.$el.parentElement.nextElementSibling;if(a){var l=Jt(this.$el);a.children[l]&&(a.children[l].style["inset-inline-start"]=this.styleObject["inset-inline-start"],a.children[l].style["inset-inline-end"]=this.styleObject["inset-inline-end"])}}},onHeaderCheckboxChange:function(t){this.$emit("checkbox-change",t)}},computed:{containerClass:function(){return[this.cx("headerCell"),this.filterColumn?this.columnProp("filterHeaderClass"):this.columnProp("headerClass"),this.columnProp("class")]},containerStyle:function(){var t=this.filterColumn?this.columnProp("filterHeaderStyle"):this.columnProp("headerStyle"),n=this.columnProp("style");return this.columnProp("frozen")?[n,t,this.styleObject]:[n,t]},sortState:function(){var t=!1,n=null;if(this.sortMode==="single")t=this.sortField&&(this.sortField===this.columnProp("field")||this.sortField===this.columnProp("sortField")),n=t?this.sortOrder:0;else if(this.sortMode==="multiple"){var r=this.getMultiSortMetaIndex();r>-1&&(t=!0,n=this.multiSortMeta[r].order)}return{sorted:t,sortOrder:n}},sortableColumnIcon:function(){var t=this.sortState,n=t.sorted,r=t.sortOrder;if(n){if(n&&r>0)return Va;if(n&&r<0)return ja}else return za;return null},ariaSort:function(){if(this.columnProp("sortable")){var t=this.sortState,n=t.sorted,r=t.sortOrder;return n&&r<0?"descending":n&&r>0?"ascending":"none"}else return null}},components:{Badge:vl,DTHeaderCheckbox:$l,DTColumnFilter:Sl,SortAltIcon:za,SortAmountUpAltIcon:Va,SortAmountDownIcon:ja}};function uo(e){"@babel/helpers - typeof";return uo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uo(e)}function ku(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Cu(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(d){throw d},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var d=n.next();return a=d.done,d},e:function(d){l=!0,o=d},f:function(){try{a||n.return==null||n.return()}finally{if(l)throw o}}}}function Le(e){return ow(e)||rw(e)||xl(e)||nw()}function nw(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xl(e,t){if(e){if(typeof e=="string")return Ha(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ha(e,t):void 0}}function rw(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ow(e){if(Array.isArray(e))return Ha(e)}function Ha(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);nr?this.multisortField(t,n,r+1):0:ws(i,o,this.d_multiSortMeta[r].order,a,this.d_nullSortOrder)},addMultiSortField:function(t){var n=this.d_multiSortMeta.findIndex(function(r){return r.field===t});n>=0?this.removableSort&&this.d_multiSortMeta[n].order*-1===this.defaultSortOrder?this.d_multiSortMeta.splice(n,1):this.d_multiSortMeta[n]={field:t,order:this.d_multiSortMeta[n].order*-1}:this.d_multiSortMeta.push({field:t,order:this.defaultSortOrder}),this.d_multiSortMeta=Le(this.d_multiSortMeta)},getActiveFilters:function(t){var n=function(a){var l=xu(a,2),s=l[0],d=l[1];if(d.constraints){var u=d.constraints.filter(function(c){return c.value!==null});if(u.length>0)return[s,ft(ft({},d),{},{constraints:u})]}else if(d.value!==null)return[s,d]},r=function(a){return a!==void 0},i=Object.entries(t).map(n).filter(r);return Object.fromEntries(i)},filter:function(t){var n=this;if(t){this.clearEditingMetaData();var r=this.getActiveFilters(this.filters),i;r.global&&(i=this.globalFilterFields||this.columns.map(function(w){return n.columnProp(w,"filterField")||n.columnProp(w,"field")}));for(var o=[],a=0;a=a.length?a.length-1:r+1;this.onRowClick({originalEvent:t,data:a[l],index:l})}t.preventDefault()},onArrowUpKey:function(t,n,r,i){var o=this.findPrevSelectableRow(n);if(o&&this.focusRowChange(n,o),t.shiftKey){var a=this.dataToRender(i.rows),l=r-1<=0?0:r-1;this.onRowClick({originalEvent:t,data:a[l],index:l})}t.preventDefault()},onHomeKey:function(t,n,r,i){var o=this.findFirstSelectableRow();if(o&&this.focusRowChange(n,o),t.ctrlKey&&t.shiftKey){var a=this.dataToRender(i.rows);this.$emit("update:selection",a.slice(0,r+1))}t.preventDefault()},onEndKey:function(t,n,r,i){var o=this.findLastSelectableRow();if(o&&this.focusRowChange(n,o),t.ctrlKey&&t.shiftKey){var a=this.dataToRender(i.rows);this.$emit("update:selection",a.slice(r,a.length))}t.preventDefault()},onEnterKey:function(t,n,r){this.onRowClick({originalEvent:t,data:n,index:r}),t.preventDefault()},onSpaceKey:function(t,n,r,i){if(this.onEnterKey(t,n,r),t.shiftKey&&this.selection!==null){var o=this.dataToRender(i.rows),a;if(this.selection.length>0){var l,s;l=Ji(this.selection[0],o),s=Ji(this.selection[this.selection.length-1],o),a=r<=l?s:l}else a=Ji(this.selection,o);var d=a!==r?o.slice(Math.min(a,r),Math.max(a,r)+1):n;this.$emit("update:selection",d)}},onTabKey:function(t,n){var r=this.$refs.bodyRef&&this.$refs.bodyRef.$el,i=ht(r,'tr[data-p-selectable-row="true"]');if(t.code==="Tab"&&i&&i.length>0){var o=We(r,'tr[data-p-selected="true"]'),a=We(r,'tr[data-p-selectable-row="true"][tabindex="0"]');o?(o.tabIndex="0",a&&a!==o&&(a.tabIndex="-1")):(i[0].tabIndex="0",a!==i[0]&&(i[n].tabIndex="-1"))}},findNextSelectableRow:function(t){var n=t.nextElementSibling;return n?Fe(n,"data-p-selectable-row")===!0?n:this.findNextSelectableRow(n):null},findPrevSelectableRow:function(t){var n=t.previousElementSibling;return n?Fe(n,"data-p-selectable-row")===!0?n:this.findPrevSelectableRow(n):null},findFirstSelectableRow:function(){var t=We(this.$refs.table,'tr[data-p-selectable-row="true"]');return t},findLastSelectableRow:function(){var t=ht(this.$refs.table,'tr[data-p-selectable-row="true"]');return t?t[t.length-1]:null},focusRowChange:function(t,n){t.tabIndex="-1",n.tabIndex="0",He(n)},toggleRowWithRadio:function(t){var n=t.data;this.isSelected(n)?(this.$emit("update:selection",null),this.$emit("row-unselect",{originalEvent:t.originalEvent,data:n,index:t.index,type:"radiobutton"})):(this.$emit("update:selection",n),this.$emit("row-select",{originalEvent:t.originalEvent,data:n,index:t.index,type:"radiobutton"}))},toggleRowWithCheckbox:function(t){var n=t.data;if(this.isSelected(n)){var r=this.findIndexInSelection(n),i=this.selection.filter(function(a,l){return l!=r});this.$emit("update:selection",i),this.$emit("row-unselect",{originalEvent:t.originalEvent,data:n,index:t.index,type:"checkbox"})}else{var o=this.selection?Le(this.selection):[];o=[].concat(Le(o),[n]),this.$emit("update:selection",o),this.$emit("row-select",{originalEvent:t.originalEvent,data:n,index:t.index,type:"checkbox"})}},toggleRowsWithCheckbox:function(t){if(this.selectAll!==null)this.$emit("select-all-change",t);else{var n=t.originalEvent,r=t.checked,i=[];r?(i=this.frozenValue?[].concat(Le(this.frozenValue),Le(this.processedData)):this.processedData,this.$emit("row-select-all",{originalEvent:n,data:i})):this.$emit("row-unselect-all",{originalEvent:n}),this.$emit("update:selection",i)}},isSingleSelectionMode:function(){return this.selectionMode==="single"},isMultipleSelectionMode:function(){return this.selectionMode==="multiple"},isSelected:function(t){return t&&this.selection?this.dataKey?this.d_selectionKeys?this.d_selectionKeys[he(t,this.dataKey)]!==void 0:!1:this.selection instanceof Array?this.findIndexInSelection(t)>-1:this.equals(t,this.selection):!1},findIndexInSelection:function(t){return this.findIndex(t,this.selection)},findIndex:function(t,n){var r=-1;if(n&&n.length){for(var i=0;ithis.anchorRowIndex?(n=this.anchorRowIndex,r=this.rangeRowIndex):this.rangeRowIndexparseInt(i,10)){if(this.columnResizeMode==="fit"){var o=this.resizeColumnElement.nextElementSibling,a=o.offsetWidth-t;r>15&&a>15&&this.resizeTableCells(r,a)}else if(this.columnResizeMode==="expand"){var l=this.$refs.table.offsetWidth+t+"px",s=function(f){f&&(f.style.width=f.style.minWidth=l)};if(this.resizeTableCells(r),s(this.$refs.table),!this.virtualScrollerDisabled){var d=this.$refs.bodyRef&&this.$refs.bodyRef.$el,u=this.$refs.frozenBodyRef&&this.$refs.frozenBodyRef.$el;s(d),s(u)}}this.$emit("column-resize-end",{element:this.resizeColumnElement,delta:t})}this.$refs.resizeHelper.style.display="none",this.resizeColumn=null,this.$el.removeAttribute("data-p-unselectable-text"),!this.isUnstyled&&(this.$el.style["user-select"]=""),this.unbindColumnResizeEvents(),this.isStateful()&&this.saveState()},resizeTableCells:function(t,n){var r=Jt(this.resizeColumnElement),i=[],o=ht(this.$refs.table,'thead[data-pc-section="thead"] > tr > th');o.forEach(function(s){return i.push(Ne(s))}),this.destroyStyleElement(),this.createStyleElement();var a="",l='[data-pc-name="datatable"]['.concat(this.$attrSelector,'] > [data-pc-section="tablecontainer"] ').concat(this.virtualScrollerDisabled?"":'> [data-pc-name="virtualscroller"]',' > table[data-pc-section="table"]');i.forEach(function(s,d){var u=d===r?t:n&&d===r+1?n:s,c="width: ".concat(u,"px !important; max-width: ").concat(u,"px !important");a+=` - `.concat(l,' > thead[data-pc-section="thead"] > tr > th:nth-child(').concat(d+1,`), - `).concat(l,' > tbody[data-pc-section="tbody"] > tr > td:nth-child(').concat(d+1,`), - `).concat(l,' > tfoot[data-pc-section="tfoot"] > tr > td:nth-child(').concat(d+1,`) { - `).concat(c,` - } - `)}),this.styleElement.innerHTML=a},bindColumnResizeEvents:function(){var t=this;this.documentColumnResizeListener||(this.documentColumnResizeListener=document.addEventListener("mousemove",function(){t.columnResizing&&t.onColumnResize(event)})),this.documentColumnResizeEndListener||(this.documentColumnResizeEndListener=document.addEventListener("mouseup",function(){t.columnResizing&&(t.columnResizing=!1,t.onColumnResizeEnd())}))},unbindColumnResizeEvents:function(){this.documentColumnResizeListener&&(document.removeEventListener("document",this.documentColumnResizeListener),this.documentColumnResizeListener=null),this.documentColumnResizeEndListener&&(document.removeEventListener("document",this.documentColumnResizeEndListener),this.documentColumnResizeEndListener=null)},onColumnHeaderMouseDown:function(t){var n=t.originalEvent,r=t.column;this.reorderableColumns&&this.columnProp(r,"reorderableColumn")!==!1&&(n.target.nodeName==="INPUT"||n.target.nodeName==="TEXTAREA"||Fe(n.target,'[data-pc-section="columnresizer"]')?n.currentTarget.draggable=!1:n.currentTarget.draggable=!0)},onColumnHeaderDragStart:function(t){var n=t.originalEvent,r=t.column;if(this.columnResizing){n.preventDefault();return}this.colReorderIconWidth=Mg(this.$refs.reorderIndicatorUp),this.colReorderIconHeight=Bg(this.$refs.reorderIndicatorUp),this.draggedColumn=r,this.draggedColumnElement=this.findParentHeader(n.target),n.dataTransfer.setData("text","b")},onColumnHeaderDragOver:function(t){var n=t.originalEvent,r=t.column,i=this.findParentHeader(n.target);if(this.reorderableColumns&&this.draggedColumnElement&&i&&!this.columnProp(r,"frozen")){n.preventDefault();var o=Hn(this.$el),a=Hn(i);if(this.draggedColumnElement!==i){var l=a.left-o.left,s=a.left+i.offsetWidth/2;this.$refs.reorderIndicatorUp.style.top=a.top-o.top-(this.colReorderIconHeight-1)+"px",this.$refs.reorderIndicatorDown.style.top=a.top-o.top+i.offsetHeight+"px",n.pageX>s?(this.$refs.reorderIndicatorUp.style.left=l+i.offsetWidth-Math.ceil(this.colReorderIconWidth/2)+"px",this.$refs.reorderIndicatorDown.style.left=l+i.offsetWidth-Math.ceil(this.colReorderIconWidth/2)+"px",this.dropPosition=1):(this.$refs.reorderIndicatorUp.style.left=l-Math.ceil(this.colReorderIconWidth/2)+"px",this.$refs.reorderIndicatorDown.style.left=l-Math.ceil(this.colReorderIconWidth/2)+"px",this.dropPosition=-1),this.$refs.reorderIndicatorUp.style.display="block",this.$refs.reorderIndicatorDown.style.display="block"}}},onColumnHeaderDragLeave:function(t){var n=t.originalEvent;this.reorderableColumns&&this.draggedColumnElement&&(n.preventDefault(),this.$refs.reorderIndicatorUp.style.display="none",this.$refs.reorderIndicatorDown.style.display="none")},onColumnHeaderDrop:function(t){var n=this,r=t.originalEvent,i=t.column;if(r.preventDefault(),this.draggedColumnElement){var o=Jt(this.draggedColumnElement),a=Jt(this.findParentHeader(r.target)),l=o!==a;if(l&&(a-o===1&&this.dropPosition===-1||a-o===-1&&this.dropPosition===1)&&(l=!1),l){var s=function(S,x){return n.columnProp(S,"columnKey")||n.columnProp(x,"columnKey")?n.columnProp(S,"columnKey")===n.columnProp(x,"columnKey"):n.columnProp(S,"field")===n.columnProp(x,"field")},d=this.columns.findIndex(function(C){return s(C,n.draggedColumn)}),u=this.columns.findIndex(function(C){return s(C,i)}),c=[],f=ht(this.$el,'thead[data-pc-section="thead"] > tr > th');f.forEach(function(C){return c.push(Ne(C))});var p=c.find(function(C,S){return S===d}),m=c.filter(function(C,S){return S!==d}),v=[].concat(Le(m.slice(0,u)),[p],Le(m.slice(u)));this.addColumnWidthStyles(v),ud&&this.dropPosition===-1&&u--,ys(this.columns,d,u),this.updateReorderableColumns(),this.$emit("column-reorder",{originalEvent:r,dragIndex:d,dropIndex:u})}this.$refs.reorderIndicatorUp.style.display="none",this.$refs.reorderIndicatorDown.style.display="none",this.draggedColumnElement.draggable=!1,this.draggedColumnElement=null,this.draggedColumn=null,this.dropPosition=null}},findParentHeader:function(t){if(t.nodeName==="TH")return t;for(var n=t.parentElement;n.nodeName!=="TH"&&(n=n.parentElement,!!n););return n},findColumnByKey:function(t,n){if(t&&t.length)for(var r=0;rthis.droppedRowIndex?this.droppedRowIndex:this.droppedRowIndex===0?0:this.droppedRowIndex-1,r=Le(this.processedData);ys(r,this.draggedRowIndex+this.d_first,n+this.d_first),this.$emit("row-reorder",{originalEvent:t,dragIndex:this.draggedRowIndex,dropIndex:n,value:r})}this.onRowDragLeave(t),this.onRowDragEnd(t),t.preventDefault()},toggleRow:function(t){var n=this,r=t.expanded,i=Yy(t,_y),o=t.data,a;if(this.dataKey){var l=he(o,this.dataKey);a=this.expandedRows?ft({},this.expandedRows):{},r?a[l]=!0:delete a[l]}else a=this.expandedRows?Le(this.expandedRows):[],r?a.push(o):a=a.filter(function(s){return!n.equals(o,s)});this.$emit("update:expandedRows",a),r?this.$emit("row-expand",i):this.$emit("row-collapse",i)},toggleRowGroup:function(t){var n=t.originalEvent,r=t.data,i=he(r,this.groupRowsBy),o=this.expandedRowGroups?Le(this.expandedRowGroups):[];this.isRowGroupExpanded(r)?(o=o.filter(function(a){return a!==i}),this.$emit("update:expandedRowGroups",o),this.$emit("rowgroup-collapse",{originalEvent:n,data:i})):(o.push(i),this.$emit("update:expandedRowGroups",o),this.$emit("rowgroup-expand",{originalEvent:n,data:i}))},isRowGroupExpanded:function(t){if(this.expandableRowGroups&&this.expandedRowGroups){var n=he(t,this.groupRowsBy);return this.expandedRowGroups.indexOf(n)>-1}return!1},isStateful:function(){return this.stateKey!=null},getStorage:function(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}},saveState:function(){var t=this.getStorage(),n={};this.paginator&&(n.first=this.d_first,n.rows=this.d_rows),this.d_sortField&&(n.sortField=this.d_sortField,n.sortOrder=this.d_sortOrder),this.d_multiSortMeta&&(n.multiSortMeta=this.d_multiSortMeta),this.hasFilters&&(n.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(n),this.reorderableColumns&&(n.columnOrder=this.d_columnOrder),this.expandedRows&&(n.expandedRows=this.expandedRows),this.expandedRowGroups&&(n.expandedRowGroups=this.expandedRowGroups),this.selection&&(n.selection=this.selection,n.selectionKeys=this.d_selectionKeys),Object.keys(n).length&&t.setItem(this.stateKey,JSON.stringify(n)),this.$emit("state-save",n)},restoreState:function(){var t=this.getStorage(),n=t.getItem(this.stateKey),r=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/,i=function(l,s){return typeof s=="string"&&r.test(s)?new Date(s):s};if(n){var o=JSON.parse(n,i);this.paginator&&(this.d_first=o.first,this.d_rows=o.rows),o.sortField&&(this.d_sortField=o.sortField,this.d_sortOrder=o.sortOrder),o.multiSortMeta&&(this.d_multiSortMeta=o.multiSortMeta),o.filters&&this.$emit("update:filters",o.filters),this.resizableColumns&&(this.columnWidthsState=o.columnWidths,this.tableWidthState=o.tableWidth),this.reorderableColumns&&(this.d_columnOrder=o.columnOrder),o.expandedRows&&this.$emit("update:expandedRows",o.expandedRows),o.expandedRowGroups&&this.$emit("update:expandedRowGroups",o.expandedRowGroups),o.selection&&(this.d_selectionKeys=o.d_selectionKeys,this.$emit("update:selection",o.selection)),this.$emit("state-restore",o)}},saveColumnWidths:function(t){var n=[],r=ht(this.$el,'thead[data-pc-section="thead"] > tr > th');r.forEach(function(i){return n.push(Ne(i))}),t.columnWidths=n.join(","),this.columnResizeMode==="expand"&&(t.tableWidth=Ne(this.$refs.table)+"px")},addColumnWidthStyles:function(t){this.createStyleElement();var n="",r='[data-pc-name="datatable"]['.concat(this.$attrSelector,'] > [data-pc-section="tablecontainer"] ').concat(this.virtualScrollerDisabled?"":'> [data-pc-name="virtualscroller"]',' > table[data-pc-section="table"]');t.forEach(function(i,o){var a="width: ".concat(i,"px !important; max-width: ").concat(i,"px !important");n+=` - `.concat(r,' > thead[data-pc-section="thead"] > tr > th:nth-child(').concat(o+1,`), - `).concat(r,' > tbody[data-pc-section="tbody"] > tr > td:nth-child(').concat(o+1,`), - `).concat(r,' > tfoot[data-pc-section="tfoot"] > tr > td:nth-child(').concat(o+1,`) { - `).concat(a,` - } - `)}),this.styleElement.innerHTML=n},restoreColumnWidths:function(){if(this.columnWidthsState){var t=this.columnWidthsState.split(",");this.columnResizeMode==="expand"&&this.tableWidthState&&(this.$refs.table.style.width=this.tableWidthState,this.$refs.table.style.minWidth=this.tableWidthState),ue(t)&&this.addColumnWidthStyles(t)}},onCellEditInit:function(t){this.$emit("cell-edit-init",t)},onCellEditComplete:function(t){this.$emit("cell-edit-complete",t)},onCellEditCancel:function(t){this.$emit("cell-edit-cancel",t)},onRowEditInit:function(t){var n=this.editingRows?Le(this.editingRows):[];n.push(t.data),this.$emit("update:editingRows",n),this.$emit("row-edit-init",t)},onRowEditSave:function(t){var n=Le(this.editingRows);n.splice(this.findIndex(t.data,n),1),this.$emit("update:editingRows",n),this.$emit("row-edit-save",t)},onRowEditCancel:function(t){var n=Le(this.editingRows);n.splice(this.findIndex(t.data,n),1),this.$emit("update:editingRows",n),this.$emit("row-edit-cancel",t)},onEditingMetaChange:function(t){var n=t.data,r=t.field,i=t.index,o=t.editing,a=ft({},this.d_editingMeta),l=a[i];if(o)!l&&(l=a[i]={data:ft({},n),fields:[]}),l.fields.push(r);else if(l){var s=l.fields.filter(function(d){return d!==r});s.length?l.fields=s:delete a[i]}this.d_editingMeta=a},clearEditingMetaData:function(){this.editMode&&(this.d_editingMeta={})},createLazyLoadEvent:function(t){return{originalEvent:t,first:this.d_first,rows:this.d_rows,sortField:this.d_sortField,sortOrder:this.d_sortOrder,multiSortMeta:this.d_multiSortMeta,filters:this.d_filters}},hasGlobalFilter:function(){return this.filters&&Object.prototype.hasOwnProperty.call(this.filters,"global")},onFilterChange:function(t){this.d_filters=t},onFilterApply:function(){this.d_first=0,this.$emit("update:first",this.d_first),this.$emit("update:filters",this.d_filters),this.lazy&&this.$emit("filter",this.createLazyLoadEvent())},cloneFilters:function(){var t={};return this.filters&&Object.entries(this.filters).forEach(function(n){var r=xu(n,2),i=r[0],o=r[1];t[i]=o.operator?{operator:o.operator,constraints:o.constraints.map(function(a){return ft({},a)})}:ft({},o)}),t},updateReorderableColumns:function(){var t=this,n=[];this.columns.forEach(function(r){return n.push(t.columnProp(r,"columnKey")||t.columnProp(r,"field"))}),this.d_columnOrder=n},createStyleElement:function(){var t;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",Io(this.styleElement,"nonce",(t=this.$primevue)===null||t===void 0||(t=t.config)===null||t===void 0||(t=t.csp)===null||t===void 0?void 0:t.nonce),document.head.appendChild(this.styleElement)},destroyStyleElement:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},dataToRender:function(t){var n=t||this.processedData;if(n&&this.paginator){var r=this.lazy?0:this.d_first;return n.slice(r,r+this.d_rows)}return n},getVirtualScrollerRef:function(){return this.$refs.virtualScroller},hasSpacerStyle:function(t){return ue(t)}},computed:{columns:function(){var t=this.d_columns.get(this);if(this.reorderableColumns&&this.d_columnOrder){var n=[],r=br(this.d_columnOrder),i;try{for(r.s();!(i=r.n()).done;){var o=i.value,a=this.findColumnByKey(t,o);a&&!this.columnProp(a,"hidden")&&n.push(a)}}catch(l){r.e(l)}finally{r.f()}return[].concat(n,Le(t.filter(function(l){return n.indexOf(l)<0})))}return t},columnGroups:function(){return this.d_columnGroups.get(this)},headerColumnGroup:function(){var t,n=this;return(t=this.columnGroups)===null||t===void 0?void 0:t.find(function(r){return n.columnProp(r,"type")==="header"})},footerColumnGroup:function(){var t,n=this;return(t=this.columnGroups)===null||t===void 0?void 0:t.find(function(r){return n.columnProp(r,"type")==="footer"})},hasFilters:function(){return this.filters&&Object.keys(this.filters).length>0&&this.filters.constructor===Object},processedData:function(){var t,n=this.value||[];return!this.lazy&&!((t=this.virtualScrollerOptions)!==null&&t!==void 0&&t.lazy)&&n&&n.length&&(this.hasFilters&&(n=this.filter(n)),this.sorted&&(this.sortMode==="single"?n=this.sortSingle(n):this.sortMode==="multiple"&&(n=this.sortMultiple(n)))),n},totalRecordsLength:function(){if(this.lazy)return this.totalRecords;var t=this.processedData;return t?t.length:0},empty:function(){var t=this.processedData;return!t||t.length===0},paginatorTop:function(){return this.paginator&&(this.paginatorPosition!=="bottom"||this.paginatorPosition==="both")},paginatorBottom:function(){return this.paginator&&(this.paginatorPosition!=="top"||this.paginatorPosition==="both")},sorted:function(){return this.d_sortField||this.d_multiSortMeta&&this.d_multiSortMeta.length>0},allRowsSelected:function(){var t=this;if(this.selectAll!==null)return this.selectAll;var n=this.frozenValue?[].concat(Le(this.frozenValue),Le(this.processedData)):this.processedData;return ue(n)&&this.selection&&Array.isArray(this.selection)&&n.every(function(r){return t.selection.some(function(i){return t.equals(i,r)})})},groupRowSortField:function(){return this.sortMode==="single"?this.sortField:this.d_groupRowsSortMeta?this.d_groupRowsSortMeta.field:null},headerFilterButtonProps:function(){return ft(ft({filter:{severity:"secondary",text:!0,rounded:!0}},this.filterButtonProps),{},{inline:ft({clear:{severity:"secondary",text:!0,rounded:!0}},this.filterButtonProps.inline),popover:ft({addRule:{severity:"info",text:!0,size:"small"},removeRule:{severity:"danger",text:!0,size:"small"},apply:{size:"small"},clear:{outlined:!0,size:"small"}},this.filterButtonProps.popover)})},rowEditButtonProps:function(){return ft(ft({},{init:{severity:"secondary",text:!0,rounded:!0},save:{severity:"secondary",text:!0,rounded:!0},cancel:{severity:"secondary",text:!0,rounded:!0}}),this.editButtonProps)},virtualScrollerDisabled:function(){return bt(this.virtualScrollerOptions)||!this.scrollable}},components:{DTPaginator:Qc,DTTableHeader:vf,DTTableBody:pf,DTTableFooter:gf,DTVirtualScroller:Li,ArrowDownIcon:Lc,ArrowUpIcon:Fc,SpinnerIcon:ar}};function po(e){"@babel/helpers - typeof";return po=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},po(e)}function Ou(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Iu(e){for(var t=1;t` -.p-toggleswitch { - display: inline-block; - width: ${e("toggleswitch.width")}; - height: ${e("toggleswitch.height")}; -} - -.p-toggleswitch-input { - cursor: pointer; - appearance: none; - position: absolute; - top: 0; - inset-inline-start: 0; - width: 100%; - height: 100%; - padding: 0; - margin: 0; - opacity: 0; - z-index: 1; - outline: 0 none; - border-radius: ${e("toggleswitch.border.radius")}; -} - -.p-toggleswitch-slider { - cursor: pointer; - width: 100%; - height: 100%; - border-width: ${e("toggleswitch.border.width")}; - border-style: solid; - border-color: ${e("toggleswitch.border.color")}; - background: ${e("toggleswitch.background")}; - transition: background ${e("toggleswitch.transition.duration")}, color ${e("toggleswitch.transition.duration")}, border-color ${e("toggleswitch.transition.duration")}, outline-color ${e("toggleswitch.transition.duration")}, box-shadow ${e("toggleswitch.transition.duration")}; - border-radius: ${e("toggleswitch.border.radius")}; - outline-color: transparent; - box-shadow: ${e("toggleswitch.shadow")}; -} - -.p-toggleswitch-handle { - position: absolute; - top: 50%; - display: flex; - justify-content: center; - align-items: center; - background: ${e("toggleswitch.handle.background")}; - color: ${e("toggleswitch.handle.color")}; - width: ${e("toggleswitch.handle.size")}; - height: ${e("toggleswitch.handle.size")}; - inset-inline-start: ${e("toggleswitch.gap")}; - margin-block-start: calc(-1 * calc(${e("toggleswitch.handle.size")} / 2)); - border-radius: ${e("toggleswitch.handle.border.radius")}; - transition: background ${e("toggleswitch.transition.duration")}, color ${e("toggleswitch.transition.duration")}, inset-inline-start ${e("toggleswitch.slide.duration")}, box-shadow ${e("toggleswitch.slide.duration")}; -} - -.p-toggleswitch.p-toggleswitch-checked .p-toggleswitch-slider { - background: ${e("toggleswitch.checked.background")}; - border-color: ${e("toggleswitch.checked.border.color")}; -} - -.p-toggleswitch.p-toggleswitch-checked .p-toggleswitch-handle { - background: ${e("toggleswitch.handle.checked.background")}; - color: ${e("toggleswitch.handle.checked.color")}; - inset-inline-start: calc(${e("toggleswitch.width")} - calc(${e("toggleswitch.handle.size")} + ${e("toggleswitch.gap")})); -} - -.p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:hover) .p-toggleswitch-slider { - background: ${e("toggleswitch.hover.background")}; - border-color: ${e("toggleswitch.hover.border.color")}; -} - -.p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:hover) .p-toggleswitch-handle { - background: ${e("toggleswitch.handle.hover.background")}; - color: ${e("toggleswitch.handle.hover.color")}; -} - -.p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:hover).p-toggleswitch-checked .p-toggleswitch-slider { - background: ${e("toggleswitch.checked.hover.background")}; - border-color: ${e("toggleswitch.checked.hover.border.color")}; -} - -.p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:hover).p-toggleswitch-checked .p-toggleswitch-handle { - background: ${e("toggleswitch.handle.checked.hover.background")}; - color: ${e("toggleswitch.handle.checked.hover.color")}; -} - -.p-toggleswitch:not(.p-disabled):has(.p-toggleswitch-input:focus-visible) .p-toggleswitch-slider { - box-shadow: ${e("toggleswitch.focus.ring.shadow")}; - outline: ${e("toggleswitch.focus.ring.width")} ${e("toggleswitch.focus.ring.style")} ${e("toggleswitch.focus.ring.color")}; - outline-offset: ${e("toggleswitch.focus.ring.offset")}; -} - -.p-toggleswitch.p-invalid > .p-toggleswitch-slider { - border-color: ${e("toggleswitch.invalid.border.color")}; -} - -.p-toggleswitch.p-disabled { - opacity: 1; -} - -.p-toggleswitch.p-disabled .p-toggleswitch-slider { - background: ${e("toggleswitch.disabled.background")}; -} - -.p-toggleswitch.p-disabled .p-toggleswitch-handle { - background: ${e("toggleswitch.handle.disabled.background")}; -} -`,dw={root:{position:"relative"}},cw={root:function(t){var n=t.instance,r=t.props;return["p-toggleswitch p-component",{"p-toggleswitch-checked":n.checked,"p-disabled":r.disabled,"p-invalid":n.$invalid}]},input:"p-toggleswitch-input",slider:"p-toggleswitch-slider",handle:"p-toggleswitch-handle"},fw=ge.extend({name:"toggleswitch",style:uw,classes:cw,inlineStyles:dw}),pw={name:"BaseToggleSwitch",extends:Sc,props:{trueValue:{type:null,default:!0},falseValue:{type:null,default:!1},readonly:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:fw,provide:function(){return{$pcToggleSwitch:this,$parentInstance:this}}},wf={name:"ToggleSwitch",extends:pw,inheritAttrs:!1,emits:["change","focus","blur"],methods:{getPTOptions:function(t){var n=t==="root"?this.ptmi:this.ptm;return n(t,{context:{checked:this.checked,disabled:this.disabled}})},onChange:function(t){if(!this.disabled&&!this.readonly){var n=this.checked?this.falseValue:this.trueValue;this.writeValue(n,t),this.$emit("change",t)}},onFocus:function(t){this.$emit("focus",t)},onBlur:function(t){var n,r;this.$emit("blur",t),(n=(r=this.formField).onBlur)===null||n===void 0||n.call(r,t)}},computed:{checked:function(){return this.d_value===this.trueValue}}},hw=["data-p-checked","data-p-disabled"],gw=["id","checked","tabindex","disabled","readonly","aria-checked","aria-labelledby","aria-label","aria-invalid"];function mw(e,t,n,r,i,o){return h(),b("div",g({class:e.cx("root"),style:e.sx("root")},o.getPTOptions("root"),{"data-p-checked":o.checked,"data-p-disabled":e.disabled}),[B("input",g({id:e.inputId,type:"checkbox",role:"switch",class:[e.cx("input"),e.inputClass],style:e.inputStyle,checked:o.checked,tabindex:e.tabindex,disabled:e.disabled,readonly:e.readonly,"aria-checked":o.checked,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-invalid":e.invalid||void 0,onFocus:t[0]||(t[0]=function(){return o.onFocus&&o.onFocus.apply(o,arguments)}),onBlur:t[1]||(t[1]=function(){return o.onBlur&&o.onBlur.apply(o,arguments)}),onChange:t[2]||(t[2]=function(){return o.onChange&&o.onChange.apply(o,arguments)})},o.getPTOptions("input")),null,16,gw),B("div",g({class:e.cx("slider")},o.getPTOptions("slider")),[B("div",g({class:e.cx("handle")},o.getPTOptions("handle")),[D(e.$slots,"handle",{checked:o.checked})],16)],16)],16,hw)}wf.render=mw;var bw=({dt:e})=>` -.p-multiselect { - display: inline-flex; - cursor: pointer; - position: relative; - user-select: none; - background: ${e("multiselect.background")}; - border: 1px solid ${e("multiselect.border.color")}; - transition: background ${e("multiselect.transition.duration")}, color ${e("multiselect.transition.duration")}, border-color ${e("multiselect.transition.duration")}, outline-color ${e("multiselect.transition.duration")}, box-shadow ${e("multiselect.transition.duration")}; - border-radius: ${e("multiselect.border.radius")}; - outline-color: transparent; - box-shadow: ${e("multiselect.shadow")}; -} - -.p-multiselect:not(.p-disabled):hover { - border-color: ${e("multiselect.hover.border.color")}; -} - -.p-multiselect:not(.p-disabled).p-focus { - border-color: ${e("multiselect.focus.border.color")}; - box-shadow: ${e("multiselect.focus.ring.shadow")}; - outline: ${e("multiselect.focus.ring.width")} ${e("multiselect.focus.ring.style")} ${e("multiselect.focus.ring.color")}; - outline-offset: ${e("multiselect.focus.ring.offset")}; -} - -.p-multiselect.p-variant-filled { - background: ${e("multiselect.filled.background")}; -} - -.p-multiselect.p-variant-filled:not(.p-disabled):hover { - background: ${e("multiselect.filled.hover.background")}; -} - -.p-multiselect.p-variant-filled.p-focus { - background: ${e("multiselect.filled.focus.background")}; -} - -.p-multiselect.p-invalid { - border-color: ${e("multiselect.invalid.border.color")}; -} - -.p-multiselect.p-disabled { - opacity: 1; - background: ${e("multiselect.disabled.background")}; -} - -.p-multiselect-dropdown { - display: flex; - align-items: center; - justify-content: center; - flex-shrink: 0; - background: transparent; - color: ${e("multiselect.dropdown.color")}; - width: ${e("multiselect.dropdown.width")}; - border-start-end-radius: ${e("multiselect.border.radius")}; - border-end-end-radius: ${e("multiselect.border.radius")}; -} - -.p-multiselect-clear-icon { - position: absolute; - top: 50%; - margin-top: -0.5rem; - color: ${e("multiselect.clear.icon.color")}; - inset-inline-end: ${e("multiselect.dropdown.width")}; -} - -.p-multiselect-label-container { - overflow: hidden; - flex: 1 1 auto; - cursor: pointer; -} - -.p-multiselect-label { - display: flex; - align-items: center; - gap: calc(${e("multiselect.padding.y")} / 2); - white-space: nowrap; - cursor: pointer; - overflow: hidden; - text-overflow: ellipsis; - padding: ${e("multiselect.padding.y")} ${e("multiselect.padding.x")}; - color: ${e("multiselect.color")}; -} - -.p-multiselect-label.p-placeholder { - color: ${e("multiselect.placeholder.color")}; -} - -.p-multiselect.p-invalid .p-multiselect-label.p-placeholder { - color: ${e("multiselect.invalid.placeholder.color")}; -} - -.p-multiselect.p-disabled .p-multiselect-label { - color: ${e("multiselect.disabled.color")}; -} - -.p-multiselect-label-empty { - overflow: hidden; - visibility: hidden; -} - -.p-multiselect .p-multiselect-overlay { - min-width: 100%; -} - -.p-multiselect-overlay { - position: absolute; - top: 0; - left: 0; - background: ${e("multiselect.overlay.background")}; - color: ${e("multiselect.overlay.color")}; - border: 1px solid ${e("multiselect.overlay.border.color")}; - border-radius: ${e("multiselect.overlay.border.radius")}; - box-shadow: ${e("multiselect.overlay.shadow")}; -} - -.p-multiselect-header { - display: flex; - align-items: center; - padding: ${e("multiselect.list.header.padding")}; -} - -.p-multiselect-header .p-checkbox { - margin-inline-end: ${e("multiselect.option.gap")}; -} - -.p-multiselect-filter-container { - flex: 1 1 auto; -} - -.p-multiselect-filter { - width: 100%; -} - -.p-multiselect-list-container { - overflow: auto; -} - -.p-multiselect-list { - margin: 0; - padding: 0; - list-style-type: none; - padding: ${e("multiselect.list.padding")}; - display: flex; - flex-direction: column; - gap: ${e("multiselect.list.gap")}; -} - -.p-multiselect-option { - cursor: pointer; - font-weight: normal; - white-space: nowrap; - position: relative; - overflow: hidden; - display: flex; - align-items: center; - gap: ${e("multiselect.option.gap")}; - padding: ${e("multiselect.option.padding")}; - border: 0 none; - color: ${e("multiselect.option.color")}; - background: transparent; - transition: background ${e("multiselect.transition.duration")}, color ${e("multiselect.transition.duration")}, border-color ${e("multiselect.transition.duration")}, box-shadow ${e("multiselect.transition.duration")}, outline-color ${e("multiselect.transition.duration")}; - border-radius: ${e("multiselect.option.border.radius")}; -} - -.p-multiselect-option:not(.p-multiselect-option-selected):not(.p-disabled).p-focus { - background: ${e("multiselect.option.focus.background")}; - color: ${e("multiselect.option.focus.color")}; -} - -.p-multiselect-option.p-multiselect-option-selected { - background: ${e("multiselect.option.selected.background")}; - color: ${e("multiselect.option.selected.color")}; -} - -.p-multiselect-option.p-multiselect-option-selected.p-focus { - background: ${e("multiselect.option.selected.focus.background")}; - color: ${e("multiselect.option.selected.focus.color")}; -} - -.p-multiselect-option-group { - cursor: auto; - margin: 0; - padding: ${e("multiselect.option.group.padding")}; - background: ${e("multiselect.option.group.background")}; - color: ${e("multiselect.option.group.color")}; - font-weight: ${e("multiselect.option.group.font.weight")}; -} - -.p-multiselect-empty-message { - padding: ${e("multiselect.empty.message.padding")}; -} - -.p-multiselect-label .p-chip { - padding-block-start: calc(${e("multiselect.padding.y")} / 2); - padding-block-end: calc(${e("multiselect.padding.y")} / 2); - border-radius: ${e("multiselect.chip.border.radius")}; -} - -.p-multiselect-label:has(.p-chip) { - padding: calc(${e("multiselect.padding.y")} / 2) calc(${e("multiselect.padding.x")} / 2); -} - -.p-multiselect-fluid { - display: flex; - width: 100%; -} - -.p-multiselect-sm .p-multiselect-label { - font-size: ${e("multiselect.sm.font.size")}; - padding-block: ${e("multiselect.sm.padding.y")}; - padding-inline: ${e("multiselect.sm.padding.x")}; -} - -.p-multiselect-sm .p-multiselect-dropdown .p-icon { - font-size: ${e("multiselect.sm.font.size")}; - width: ${e("multiselect.sm.font.size")}; - height: ${e("multiselect.sm.font.size")}; -} - -.p-multiselect-lg .p-multiselect-label { - font-size: ${e("multiselect.lg.font.size")}; - padding-block: ${e("multiselect.lg.padding.y")}; - padding-inline: ${e("multiselect.lg.padding.x")}; -} - -.p-multiselect-lg .p-multiselect-dropdown .p-icon { - font-size: ${e("multiselect.lg.font.size")}; - width: ${e("multiselect.lg.font.size")}; - height: ${e("multiselect.lg.font.size")}; -} -`,vw={root:function(t){var n=t.props;return{position:n.appendTo==="self"?"relative":void 0}}},yw={root:function(t){var n=t.instance,r=t.props;return["p-multiselect p-component p-inputwrapper",{"p-multiselect-display-chip":r.display==="chip","p-disabled":r.disabled,"p-invalid":n.$invalid,"p-variant-filled":n.$variant==="filled","p-focus":n.focused,"p-inputwrapper-filled":n.$filled,"p-inputwrapper-focus":n.focused||n.overlayVisible,"p-multiselect-open":n.overlayVisible,"p-multiselect-fluid":n.$fluid,"p-multiselect-sm p-inputfield-sm":r.size==="small","p-multiselect-lg p-inputfield-lg":r.size==="large"}]},labelContainer:"p-multiselect-label-container",label:function(t){var n=t.instance,r=t.props;return["p-multiselect-label",{"p-placeholder":n.label===r.placeholder,"p-multiselect-label-empty":!r.placeholder&&!n.$filled}]},clearIcon:"p-multiselect-clear-icon",chipItem:"p-multiselect-chip-item",pcChip:"p-multiselect-chip",chipIcon:"p-multiselect-chip-icon",dropdown:"p-multiselect-dropdown",loadingIcon:"p-multiselect-loading-icon",dropdownIcon:"p-multiselect-dropdown-icon",overlay:"p-multiselect-overlay p-component",header:"p-multiselect-header",pcFilterContainer:"p-multiselect-filter-container",pcFilter:"p-multiselect-filter",listContainer:"p-multiselect-list-container",list:"p-multiselect-list",optionGroup:"p-multiselect-option-group",option:function(t){var n=t.instance,r=t.option,i=t.index,o=t.getItemOptions,a=t.props;return["p-multiselect-option",{"p-multiselect-option-selected":n.isSelected(r)&&a.highlightOnSelect,"p-focus":n.focusedOptionIndex===n.getOptionIndex(i,o),"p-disabled":n.isOptionDisabled(r)}]},emptyMessage:"p-multiselect-empty-message"},ww=ge.extend({name:"multiselect",style:bw,classes:yw,inlineStyles:vw}),kw={name:"BaseMultiSelect",extends:yn,props:{options:Array,optionLabel:null,optionValue:null,optionDisabled:null,optionGroupLabel:null,optionGroupChildren:null,scrollHeight:{type:String,default:"14rem"},placeholder:String,inputId:{type:String,default:null},panelClass:{type:String,default:null},panelStyle:{type:null,default:null},overlayClass:{type:String,default:null},overlayStyle:{type:null,default:null},dataKey:null,showClear:{type:Boolean,default:!1},clearIcon:{type:String,default:void 0},resetFilterOnClear:{type:Boolean,default:!1},filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},appendTo:{type:[String,Object],default:"body"},display:{type:String,default:"comma"},selectedItemsLabel:{type:String,default:null},maxSelectedLabels:{type:Number,default:null},selectionLimit:{type:Number,default:null},showToggleAll:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},checkboxIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},removeTokenIcon:{type:String,default:void 0},chipIcon:{type:String,default:void 0},selectAll:{type:Boolean,default:null},resetFilterOnHide:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!1},autoFilterFocus:{type:Boolean,default:!1},focusOnHover:{type:Boolean,default:!0},highlightOnSelect:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:ww,provide:function(){return{$pcMultiSelect:this,$parentInstance:this}}};function ho(e){"@babel/helpers - typeof";return ho=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ho(e)}function Pu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ru(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n2&&arguments[2]!==void 0?arguments[2]:-1,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!(this.disabled||this.isOptionDisabled(n))){var a=this.isSelected(n),l=null;a?l=this.d_value.filter(function(s){return!Pt(s,r.getOptionValue(n),r.equalityKey)}):l=[].concat(Tu(this.d_value||[]),[this.getOptionValue(n)]),this.updateModel(t,l),i!==-1&&(this.focusedOptionIndex=i),o&&He(this.$refs.focusInput)}},onOptionMouseMove:function(t,n){this.focusOnHover&&this.changeFocusedOptionIndex(t,n)},onOptionSelectRange:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-1;if(r===-1&&(r=this.findNearestSelectedOptionIndex(i,!0)),i===-1&&(i=this.findNearestSelectedOptionIndex(r)),r!==-1&&i!==-1){var o=Math.min(r,i),a=Math.max(r,i),l=this.visibleOptions.slice(o,a+1).filter(function(s){return n.isValidOption(s)}).map(function(s){return n.getOptionValue(s)});this.updateModel(t,l)}},onFilterChange:function(t){var n=t.target.value;this.filterValue=n,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:t,value:n}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":case"NumpadEnter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(t){Ht.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.onEscapeKey(t);break}},onArrowDownKey:function(t){if(!this.overlayVisible)this.show();else{var n=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.clicked?this.findFirstOptionIndex():this.findFirstFocusedOptionIndex();t.shiftKey&&this.onOptionSelectRange(t,this.startRangeIndex,n),this.changeFocusedOptionIndex(t,n)}t.preventDefault()},onArrowUpKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.altKey&&!n)this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),t.preventDefault();else{var r=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.clicked?this.findLastOptionIndex():this.findLastFocusedOptionIndex();t.shiftKey&&this.onOptionSelectRange(t,r,this.startRangeIndex),this.changeFocusedOptionIndex(t,r),!this.overlayVisible&&this.show(),t.preventDefault()}},onArrowLeftKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&(this.focusedOptionIndex=-1)},onHomeKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n){var r=t.currentTarget;t.shiftKey?r.setSelectionRange(0,t.target.selectionStart):(r.setSelectionRange(0,0),this.focusedOptionIndex=-1)}else{var i=t.metaKey||t.ctrlKey,o=this.findFirstOptionIndex();t.shiftKey&&i&&this.onOptionSelectRange(t,o,this.startRangeIndex),this.changeFocusedOptionIndex(t,o),!this.overlayVisible&&this.show()}t.preventDefault()},onEndKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n){var r=t.currentTarget;if(t.shiftKey)r.setSelectionRange(t.target.selectionStart,r.value.length);else{var i=r.value.length;r.setSelectionRange(i,i),this.focusedOptionIndex=-1}}else{var o=t.metaKey||t.ctrlKey,a=this.findLastOptionIndex();t.shiftKey&&o&&this.onOptionSelectRange(t,this.startRangeIndex,a),this.changeFocusedOptionIndex(t,a),!this.overlayVisible&&this.show()}t.preventDefault()},onPageUpKey:function(t){this.scrollInView(0),t.preventDefault()},onPageDownKey:function(t){this.scrollInView(this.visibleOptions.length-1),t.preventDefault()},onEnterKey:function(t){this.overlayVisible?this.focusedOptionIndex!==-1&&(t.shiftKey?this.onOptionSelectRange(t,this.focusedOptionIndex):this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex])):(this.focusedOptionIndex=-1,this.onArrowDownKey(t)),t.preventDefault()},onEscapeKey:function(t){this.overlayVisible&&this.hide(!0),t.preventDefault()},onTabKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n||(this.overlayVisible&&this.hasFocusableElements()?(He(t.shiftKey?this.$refs.lastHiddenFocusableElementOnOverlay:this.$refs.firstHiddenFocusableElementOnOverlay),t.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onShiftKey:function(){this.startRangeIndex=this.focusedOptionIndex},onOverlayEnter:function(t){it.set("overlay",t,this.$primevue.config.zIndex.overlay),En(t,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),this.autoFilterFocus&&He(this.$refs.filterInput.$el)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(t){it.clear(t)},alignOverlay:function(){this.appendTo==="self"?gl(this.overlay,this.$el):(this.overlay.style.minWidth=Ne(this.$el)+"px",Ri(this.overlay,this.$el))},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(n){t.overlayVisible&&t.isOutsideClicked(n)&&t.hide()},document.addEventListener("click",this.outsideClickListener,!0))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener,!0),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new Ei(this.$refs.container,function(){t.overlayVisible&&t.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!Mi()&&t.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},isOutsideClicked:function(t){return!(this.$el.isSameNode(t.target)||this.$el.contains(t.target)||this.overlay&&this.overlay.contains(t.target))},getLabelByValue:function(t){var n=this,r=this.optionGroupLabel?this.flatOptions(this.options):this.options||[],i=r.find(function(o){return!n.isOptionGroup(o)&&Pt(n.getOptionValue(o),t,n.equalityKey)});return i?this.getOptionLabel(i):null},getSelectedItemsLabel:function(){var t=/{(.*?)}/,n=this.selectedItemsLabel||this.$primevue.config.locale.selectionMessage;return t.test(n)?n.replace(n.match(t)[0],this.d_value.length+""):n},onToggleAll:function(t){var n=this;if(this.selectAll!==null)this.$emit("selectall-change",{originalEvent:t,checked:!this.allSelected});else{var r=this.allSelected?[]:this.visibleOptions.filter(function(i){return n.isValidOption(i)}).map(function(i){return n.getOptionValue(i)});this.updateModel(t,r)}},removeOption:function(t,n){var r=this;t.stopPropagation();var i=this.d_value.filter(function(o){return!Pt(o,n,r.equalityKey)});this.updateModel(t,i)},clearFilter:function(){this.filterValue=null},hasFocusableElements:function(){return er(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(t){var n;return this.isValidOption(t)&&typeof this.getOptionLabel(t)=="string"&&((n=this.getOptionLabel(t))===null||n===void 0?void 0:n.toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale)))},isValidOption:function(t){return ue(t)&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))},isValidSelectedOption:function(t){return this.isValidOption(t)&&this.isSelected(t)},isEquals:function(t,n){return Pt(t,n,this.equalityKey)},isSelected:function(t){var n=this,r=this.getOptionValue(t);return(this.d_value||[]).some(function(i){return n.isEquals(i,r)})},findFirstOptionIndex:function(){var t=this;return this.visibleOptions.findIndex(function(n){return t.isValidOption(n)})},findLastOptionIndex:function(){var t=this;return Gn(this.visibleOptions,function(n){return t.isValidOption(n)})},findNextOptionIndex:function(t){var n=this,r=t-1?r+t+1:t},findPrevOptionIndex:function(t){var n=this,r=t>0?Gn(this.visibleOptions.slice(0,t),function(i){return n.isValidOption(i)}):-1;return r>-1?r:t},findSelectedOptionIndex:function(){var t=this;if(this.$filled){for(var n=function(){var a=t.d_value[i],l=t.visibleOptions.findIndex(function(s){return t.isValidSelectedOption(s)&&t.isEquals(a,t.getOptionValue(s))});if(l>-1)return{v:l}},r,i=this.d_value.length-1;i>=0;i--)if(r=n(),r)return r.v}return-1},findFirstSelectedOptionIndex:function(){var t=this;return this.$filled?this.visibleOptions.findIndex(function(n){return t.isValidSelectedOption(n)}):-1},findLastSelectedOptionIndex:function(){var t=this;return this.$filled?Gn(this.visibleOptions,function(n){return t.isValidSelectedOption(n)}):-1},findNextSelectedOptionIndex:function(t){var n=this,r=this.$filled&&t-1?r+t+1:-1},findPrevSelectedOptionIndex:function(t){var n=this,r=this.$filled&&t>0?Gn(this.visibleOptions.slice(0,t),function(i){return n.isValidSelectedOption(i)}):-1;return r>-1?r:-1},findNearestSelectedOptionIndex:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=-1;return this.$filled&&(n?(r=this.findPrevSelectedOptionIndex(t),r=r===-1?this.findNextSelectedOptionIndex(t):r):(r=this.findNextSelectedOptionIndex(t),r=r===-1?this.findPrevSelectedOptionIndex(t):r)),r>-1?r:t},findFirstFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t},findLastFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findLastOptionIndex():t},searchOptions:function(t){var n=this;this.searchValue=(this.searchValue||"")+t.key;var r=-1;ue(this.searchValue)&&(this.focusedOptionIndex!==-1?(r=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(i){return n.isOptionMatched(i)}),r=r===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(i){return n.isOptionMatched(i)}):r+this.focusedOptionIndex):r=this.visibleOptions.findIndex(function(i){return n.isOptionMatched(i)}),r===-1&&this.focusedOptionIndex===-1&&(r=this.findFirstFocusedOptionIndex()),r!==-1&&this.changeFocusedOptionIndex(t,r)),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){n.searchValue="",n.searchTimeout=null},500)},changeFocusedOptionIndex:function(t,n){this.focusedOptionIndex!==n&&(this.focusedOptionIndex=n,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(t,this.visibleOptions[n]))},scrollInView:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1;this.$nextTick(function(){var r=n!==-1?"".concat(t.$id,"_").concat(n):t.focusedOptionId,i=We(t.list,'li[id="'.concat(r,'"]'));i?i.scrollIntoView&&i.scrollIntoView({block:"nearest",inline:"nearest"}):t.virtualScrollerDisabled||t.virtualScroller&&t.virtualScroller.scrollToIndex(n!==-1?n:t.focusedOptionIndex)})},autoUpdateModel:function(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.$filled){this.focusedOptionIndex=this.findFirstFocusedOptionIndex();var t=this.getOptionValue(this.visibleOptions[this.focusedOptionIndex]);this.updateModel(null,[t])}},updateModel:function(t,n){this.writeValue(n,t),this.$emit("change",{originalEvent:t,value:n})},flatOptions:function(t){var n=this;return(t||[]).reduce(function(r,i,o){r.push({optionGroup:i,group:!0,index:o});var a=n.getOptionGroupChildren(i);return a&&a.forEach(function(l){return r.push(l)}),r},[])},overlayRef:function(t){this.overlay=t},listRef:function(t,n){this.list=t,n&&n(t)},virtualScrollerRef:function(t){this.virtualScroller=t}},computed:{visibleOptions:function(){var t=this,n=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var r=di.filter(n,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var i=this.options||[],o=[];return i.forEach(function(a){var l=t.getOptionGroupChildren(a),s=l.filter(function(d){return r.includes(d)});s.length>0&&o.push(Ru(Ru({},a),{},kf({},typeof t.optionGroupChildren=="string"?t.optionGroupChildren:"items",Tu(s))))}),this.flatOptions(o)}return r}return n},label:function(){var t;if(this.d_value&&this.d_value.length){if(ue(this.maxSelectedLabels)&&this.d_value.length>this.maxSelectedLabels)return this.getSelectedItemsLabel();t="";for(var n=0;nthis.maxSelectedLabels},allSelected:function(){var t=this;return this.selectAll!==null?this.selectAll:ue(this.visibleOptions)&&this.visibleOptions.every(function(n){return t.isOptionGroup(n)||t.isOptionDisabled(n)||t.isSelected(n)})},hasSelectedOption:function(){return this.$filled},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},maxSelectionLimitReached:function(){return this.selectionLimit&&this.d_value&&this.d_value.length===this.selectionLimit},filterResultMessageText:function(){return ue(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.$filled?this.selectionMessageText.replaceAll("{0}",this.d_value.length):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.$id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var t=this;return this.visibleOptions.filter(function(n){return!t.isOptionGroup(n)}).length},toggleAllAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[this.allSelected?"selectAll":"unselectAll"]:void 0},listAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.listLabel:void 0},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions},hasFluid:function(){return bt(this.fluid)?!!this.$pcFluid:this.fluid},isClearIconVisible:function(){return this.showClear&&this.d_value&&this.d_value.length&&this.d_value!=null&&ue(this.options)}},directives:{ripple:Bt},components:{InputText:lr,Checkbox:Fi,VirtualScroller:Li,Portal:sr,Chip:Cc,IconField:wl,InputIcon:kl,TimesIcon:Po,SearchIcon:yl,ChevronDownIcon:ir,SpinnerIcon:ar,CheckIcon:Fn}};function go(e){"@babel/helpers - typeof";return go=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},go(e)}function Bu(e,t,n){return(t=Pw(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pw(e){var t=Rw(e,"string");return go(t)=="symbol"?t:t+""}function Rw(e,t){if(go(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(go(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Tw=["id","disabled","placeholder","tabindex","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant","aria-invalid"],Bw={key:0},Mw=["id","aria-label"],Dw=["id"],Ew=["id","aria-label","aria-selected","aria-disabled","aria-setsize","aria-posinset","onClick","onMousemove","data-p-selected","data-p-focused","data-p-disabled"];function Lw(e,t,n,r,i,o){var a=q("Chip"),l=q("SpinnerIcon"),s=q("Checkbox"),d=q("InputText"),u=q("SearchIcon"),c=q("InputIcon"),f=q("IconField"),p=q("VirtualScroller"),m=q("Portal"),v=xt("ripple");return h(),b("div",g({ref:"container",class:e.cx("root"),style:e.sx("root"),onClick:t[7]||(t[7]=function(){return o.onContainerClick&&o.onContainerClick.apply(o,arguments)})},e.ptmi("root")),[B("div",g({class:"p-hidden-accessible"},e.ptm("hiddenInputContainer"),{"data-p-hidden-accessible":!0}),[B("input",g({ref:"focusInput",id:e.inputId,type:"text",readonly:"",disabled:e.disabled,placeholder:e.placeholder,tabindex:e.disabled?-1:e.tabindex,role:"combobox","aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":i.overlayVisible,"aria-controls":e.$id+"_list","aria-activedescendant":i.focused?o.focusedOptionId:void 0,"aria-invalid":e.invalid||void 0,onFocus:t[0]||(t[0]=function(){return o.onFocus&&o.onFocus.apply(o,arguments)}),onBlur:t[1]||(t[1]=function(){return o.onBlur&&o.onBlur.apply(o,arguments)}),onKeydown:t[2]||(t[2]=function(){return o.onKeyDown&&o.onKeyDown.apply(o,arguments)})},e.ptm("hiddenInput")),null,16,Tw)],16),B("div",g({class:e.cx("labelContainer")},e.ptm("labelContainer")),[B("div",g({class:e.cx("label")},e.ptm("label")),[D(e.$slots,"value",{value:e.d_value,placeholder:e.placeholder},function(){return[e.display==="comma"?(h(),b(Z,{key:0},[Ke(oe(o.label||"empty"),1)],64)):e.display==="chip"?(h(),b(Z,{key:1},[o.chipSelectedItems?(h(),b("span",Bw,oe(o.label),1)):(h(!0),b(Z,{key:1},Oe(e.d_value,function(C){return h(),b("span",g({key:o.getLabelByValue(C),class:e.cx("chipItem"),ref_for:!0},e.ptm("chipItem")),[D(e.$slots,"chip",{value:C,removeCallback:function(x){return o.removeOption(x,C)}},function(){return[ne(a,{class:ie(e.cx("pcChip")),label:o.getLabelByValue(C),removeIcon:e.chipIcon||e.removeTokenIcon,removable:"",unstyled:e.unstyled,onRemove:function(x){return o.removeOption(x,C)},pt:e.ptm("pcChip")},{removeicon:_(function(){return[D(e.$slots,e.$slots.chipicon?"chipicon":"removetokenicon",{class:ie(e.cx("chipIcon")),item:C,removeCallback:function(x){return o.removeOption(x,C)}})]}),_:2},1032,["class","label","removeIcon","unstyled","onRemove","pt"])]})],16)}),128)),!e.d_value||e.d_value.length===0?(h(),b(Z,{key:2},[Ke(oe(e.placeholder||"empty"),1)],64)):P("",!0)],64)):P("",!0)]})],16)],16),o.isClearIconVisible?D(e.$slots,"clearicon",{key:0,class:ie(e.cx("clearIcon")),clearCallback:o.onClearClick},function(){return[(h(),$(ee(e.clearIcon?"i":"TimesIcon"),g({ref:"clearIcon",class:[e.cx("clearIcon"),e.clearIcon],onClick:o.onClearClick},e.ptm("clearIcon"),{"data-pc-section":"clearicon"}),null,16,["class","onClick"]))]}):P("",!0),B("div",g({class:e.cx("dropdown")},e.ptm("dropdown")),[e.loading?D(e.$slots,"loadingicon",{key:0,class:ie(e.cx("loadingIcon"))},function(){return[e.loadingIcon?(h(),b("span",g({key:0,class:[e.cx("loadingIcon"),"pi-spin",e.loadingIcon],"aria-hidden":"true"},e.ptm("loadingIcon")),null,16)):(h(),$(l,g({key:1,class:e.cx("loadingIcon"),spin:"","aria-hidden":"true"},e.ptm("loadingIcon")),null,16,["class"]))]}):D(e.$slots,"dropdownicon",{key:1,class:ie(e.cx("dropdownIcon"))},function(){return[(h(),$(ee(e.dropdownIcon?"span":"ChevronDownIcon"),g({class:[e.cx("dropdownIcon"),e.dropdownIcon],"aria-hidden":"true"},e.ptm("dropdownIcon")),null,16,["class"]))]})],16),ne(m,{appendTo:e.appendTo},{default:_(function(){return[ne(Oo,g({name:"p-connected-overlay",onEnter:o.onOverlayEnter,onAfterEnter:o.onOverlayAfterEnter,onLeave:o.onOverlayLeave,onAfterLeave:o.onOverlayAfterLeave},e.ptm("transition")),{default:_(function(){return[i.overlayVisible?(h(),b("div",g({key:0,ref:o.overlayRef,style:[e.panelStyle,e.overlayStyle],class:[e.cx("overlay"),e.panelClass,e.overlayClass],onClick:t[5]||(t[5]=function(){return o.onOverlayClick&&o.onOverlayClick.apply(o,arguments)}),onKeydown:t[6]||(t[6]=function(){return o.onOverlayKeyDown&&o.onOverlayKeyDown.apply(o,arguments)})},e.ptm("overlay")),[B("span",g({ref:"firstHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[3]||(t[3]=function(){return o.onFirstHiddenFocus&&o.onFirstHiddenFocus.apply(o,arguments)})},e.ptm("hiddenFirstFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16),D(e.$slots,"header",{value:e.d_value,options:o.visibleOptions}),e.showToggleAll&&e.selectionLimit==null||e.filter?(h(),b("div",g({key:0,class:e.cx("header")},e.ptm("header")),[e.showToggleAll&&e.selectionLimit==null?(h(),$(s,{key:0,modelValue:o.allSelected,binary:!0,disabled:e.disabled,variant:e.variant,"aria-label":o.toggleAllAriaLabel,onChange:o.onToggleAll,unstyled:e.unstyled,pt:o.getHeaderCheckboxPTOptions("pcHeaderCheckbox"),formControl:{novalidate:!0}},{icon:_(function(C){return[e.$slots.headercheckboxicon?(h(),$(ee(e.$slots.headercheckboxicon),{key:0,checked:C.checked,class:ie(C.class)},null,8,["checked","class"])):C.checked?(h(),$(ee(e.checkboxIcon?"span":"CheckIcon"),g({key:1,class:[C.class,Bu({},e.checkboxIcon,C.checked)]},o.getHeaderCheckboxPTOptions("pcHeaderCheckbox.icon")),null,16,["class"])):P("",!0)]}),_:1},8,["modelValue","disabled","variant","aria-label","onChange","unstyled","pt"])):P("",!0),e.filter?(h(),$(f,{key:1,class:ie(e.cx("pcFilterContainer")),unstyled:e.unstyled,pt:e.ptm("pcFilterContainer")},{default:_(function(){return[ne(d,{ref:"filterInput",value:i.filterValue,onVnodeMounted:o.onFilterUpdated,onVnodeUpdated:o.onFilterUpdated,class:ie(e.cx("pcFilter")),placeholder:e.filterPlaceholder,disabled:e.disabled,variant:e.variant,unstyled:e.unstyled,role:"searchbox",autocomplete:"off","aria-owns":e.$id+"_list","aria-activedescendant":o.focusedOptionId,onKeydown:o.onFilterKeyDown,onBlur:o.onFilterBlur,onInput:o.onFilterChange,pt:e.ptm("pcFilter"),formControl:{novalidate:!0}},null,8,["value","onVnodeMounted","onVnodeUpdated","class","placeholder","disabled","variant","unstyled","aria-owns","aria-activedescendant","onKeydown","onBlur","onInput","pt"]),ne(c,{unstyled:e.unstyled,pt:e.ptm("pcFilterIconContainer")},{default:_(function(){return[D(e.$slots,"filtericon",{},function(){return[e.filterIcon?(h(),b("span",g({key:0,class:e.filterIcon},e.ptm("filterIcon")),null,16)):(h(),$(u,wo(g({key:1},e.ptm("filterIcon"))),null,16))]})]}),_:3},8,["unstyled","pt"])]}),_:3},8,["class","unstyled","pt"])):P("",!0),e.filter?(h(),b("span",g({key:2,role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenFilterResult"),{"data-p-hidden-accessible":!0}),oe(o.filterResultMessageText),17)):P("",!0)],16)):P("",!0),B("div",g({class:e.cx("listContainer"),style:{"max-height":o.virtualScrollerDisabled?e.scrollHeight:""}},e.ptm("listContainer")),[ne(p,g({ref:o.virtualScrollerRef},e.virtualScrollerOptions,{items:o.visibleOptions,style:{height:e.scrollHeight},tabindex:-1,disabled:o.virtualScrollerDisabled,pt:e.ptm("virtualScroller")}),en({content:_(function(C){var S=C.styleClass,x=C.contentRef,T=C.items,w=C.getItemOptions,F=C.contentStyle,G=C.itemSize;return[B("ul",g({ref:function(K){return o.listRef(K,x)},id:e.$id+"_list",class:[e.cx("list"),S],style:F,role:"listbox","aria-multiselectable":"true","aria-label":o.listAriaLabel},e.ptm("list")),[(h(!0),b(Z,null,Oe(T,function(E,K){return h(),b(Z,{key:o.getOptionRenderKey(E,o.getOptionIndex(K,w))},[o.isOptionGroup(E)?(h(),b("li",g({key:0,id:e.$id+"_"+o.getOptionIndex(K,w),style:{height:G?G+"px":void 0},class:e.cx("optionGroup"),role:"option",ref_for:!0},e.ptm("optionGroup")),[D(e.$slots,"optiongroup",{option:E.optionGroup,index:o.getOptionIndex(K,w)},function(){return[Ke(oe(o.getOptionGroupLabel(E.optionGroup)),1)]})],16,Dw)):Ze((h(),b("li",g({key:1,id:e.$id+"_"+o.getOptionIndex(K,w),style:{height:G?G+"px":void 0},class:e.cx("option",{option:E,index:K,getItemOptions:w}),role:"option","aria-label":o.getOptionLabel(E),"aria-selected":o.isSelected(E),"aria-disabled":o.isOptionDisabled(E),"aria-setsize":o.ariaSetSize,"aria-posinset":o.getAriaPosInset(o.getOptionIndex(K,w)),onClick:function(J){return o.onOptionSelect(J,E,o.getOptionIndex(K,w),!0)},onMousemove:function(J){return o.onOptionMouseMove(J,o.getOptionIndex(K,w))},ref_for:!0},o.getCheckboxPTOptions(E,w,K,"option"),{"data-p-selected":o.isSelected(E),"data-p-focused":i.focusedOptionIndex===o.getOptionIndex(K,w),"data-p-disabled":o.isOptionDisabled(E)}),[ne(s,{defaultValue:o.isSelected(E),binary:!0,tabindex:-1,variant:e.variant,unstyled:e.unstyled,pt:o.getCheckboxPTOptions(E,w,K,"pcOptionCheckbox"),formControl:{novalidate:!0}},{icon:_(function(z){return[e.$slots.optioncheckboxicon||e.$slots.itemcheckboxicon?(h(),$(ee(e.$slots.optioncheckboxicon||e.$slots.itemcheckboxicon),{key:0,checked:z.checked,class:ie(z.class)},null,8,["checked","class"])):z.checked?(h(),$(ee(e.checkboxIcon?"span":"CheckIcon"),g({key:1,class:[z.class,Bu({},e.checkboxIcon,z.checked)],ref_for:!0},o.getCheckboxPTOptions(E,w,K,"pcOptionCheckbox.icon")),null,16,["class"])):P("",!0)]}),_:2},1032,["defaultValue","variant","unstyled","pt"]),D(e.$slots,"option",{option:E,selected:o.isSelected(E),index:o.getOptionIndex(K,w)},function(){return[B("span",g({ref_for:!0},e.ptm("optionLabel")),oe(o.getOptionLabel(E)),17)]})],16,Ew)),[[v]])],64)}),128)),i.filterValue&&(!T||T&&T.length===0)?(h(),b("li",g({key:0,class:e.cx("emptyMessage"),role:"option"},e.ptm("emptyMessage")),[D(e.$slots,"emptyfilter",{},function(){return[Ke(oe(o.emptyFilterMessageText),1)]})],16)):!e.options||e.options&&e.options.length===0?(h(),b("li",g({key:1,class:e.cx("emptyMessage"),role:"option"},e.ptm("emptyMessage")),[D(e.$slots,"empty",{},function(){return[Ke(oe(o.emptyMessageText),1)]})],16)):P("",!0)],16,Mw)]}),_:2},[e.$slots.loader?{name:"loader",fn:_(function(C){var S=C.options;return[D(e.$slots,"loader",{options:S})]}),key:"0"}:void 0]),1040,["items","style","disabled","pt"])],16),D(e.$slots,"footer",{value:e.d_value,options:o.visibleOptions}),!e.options||e.options&&e.options.length===0?(h(),b("span",g({key:1,role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenEmptyMessage"),{"data-p-hidden-accessible":!0}),oe(o.emptyMessageText),17)):P("",!0),B("span",g({role:"status","aria-live":"polite",class:"p-hidden-accessible"},e.ptm("hiddenSelectedMessage"),{"data-p-hidden-accessible":!0}),oe(o.selectedMessageText),17),B("span",g({ref:"lastHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[4]||(t[4]=function(){return o.onLastHiddenFocus&&o.onLastHiddenFocus.apply(o,arguments)})},e.ptm("hiddenLastFocusableEl"),{"data-p-hidden-accessible":!0,"data-p-hidden-focusable":!0}),null,16)],16)):P("",!0)]}),_:3},16,["onEnter","onAfterEnter","onLeave","onAfterLeave"])]}),_:3},8,["appendTo"])],16)}Cf.render=Lw;var Fw=({dt:e})=>` -.p-textarea { - font-family: inherit; - font-feature-settings: inherit; - font-size: 1rem; - color: ${e("textarea.color")}; - background: ${e("textarea.background")}; - padding-block: ${e("textarea.padding.y")}; - padding-inline: ${e("textarea.padding.x")}; - border: 1px solid ${e("textarea.border.color")}; - transition: background ${e("textarea.transition.duration")}, color ${e("textarea.transition.duration")}, border-color ${e("textarea.transition.duration")}, outline-color ${e("textarea.transition.duration")}, box-shadow ${e("textarea.transition.duration")}; - appearance: none; - border-radius: ${e("textarea.border.radius")}; - outline-color: transparent; - box-shadow: ${e("textarea.shadow")}; -} - -.p-textarea:enabled:hover { - border-color: ${e("textarea.hover.border.color")}; -} - -.p-textarea:enabled:focus { - border-color: ${e("textarea.focus.border.color")}; - box-shadow: ${e("textarea.focus.ring.shadow")}; - outline: ${e("textarea.focus.ring.width")} ${e("textarea.focus.ring.style")} ${e("textarea.focus.ring.color")}; - outline-offset: ${e("textarea.focus.ring.offset")}; -} - -.p-textarea.p-invalid { - border-color: ${e("textarea.invalid.border.color")}; -} - -.p-textarea.p-variant-filled { - background: ${e("textarea.filled.background")}; -} - -.p-textarea.p-variant-filled:enabled:hover { - background: ${e("textarea.filled.hover.background")}; -} - -.p-textarea.p-variant-filled:enabled:focus { - background: ${e("textarea.filled.focus.background")}; -} - -.p-textarea:disabled { - opacity: 1; - background: ${e("textarea.disabled.background")}; - color: ${e("textarea.disabled.color")}; -} - -.p-textarea::placeholder { - color: ${e("textarea.placeholder.color")}; -} - -.p-textarea.p-invalid::placeholder { - color: ${e("textarea.invalid.placeholder.color")}; -} - -.p-textarea-fluid { - width: 100%; -} - -.p-textarea-resizable { - overflow: hidden; - resize: none; -} - -.p-textarea-sm { - font-size: ${e("textarea.sm.font.size")}; - padding-block: ${e("textarea.sm.padding.y")}; - padding-inline: ${e("textarea.sm.padding.x")}; -} - -.p-textarea-lg { - font-size: ${e("textarea.lg.font.size")}; - padding-block: ${e("textarea.lg.padding.y")}; - padding-inline: ${e("textarea.lg.padding.x")}; -} -`,Aw={root:function(t){var n=t.instance,r=t.props;return["p-textarea p-component",{"p-filled":n.$filled,"p-textarea-resizable ":r.autoResize,"p-textarea-sm p-inputfield-sm":r.size==="small","p-textarea-lg p-inputfield-lg":r.size==="large","p-invalid":n.$invalid,"p-variant-filled":n.$variant==="filled","p-textarea-fluid":n.$fluid}]}},zw=ge.extend({name:"textarea",style:Fw,classes:Aw}),jw={name:"BaseTextarea",extends:yn,props:{autoResize:Boolean},style:zw,provide:function(){return{$pcTextarea:this,$parentInstance:this}}},Sf={name:"Textarea",extends:jw,inheritAttrs:!1,observer:null,mounted:function(){var t=this;this.autoResize&&(this.observer=new ResizeObserver(function(){requestAnimationFrame(function(){t.resize()})}),this.observer.observe(this.$el))},updated:function(){this.autoResize&&this.resize()},beforeUnmount:function(){this.observer&&this.observer.disconnect()},methods:{resize:function(){this.$el.offsetParent&&(this.$el.style.height="auto",this.$el.style.height=this.$el.scrollHeight+"px",parseFloat(this.$el.style.height)>=parseFloat(this.$el.style.maxHeight)?(this.$el.style.overflowY="scroll",this.$el.style.height=this.$el.style.maxHeight):this.$el.style.overflow="hidden")},onInput:function(t){this.autoResize&&this.resize(),this.writeValue(t.target.value,t)}},computed:{attrs:function(){return g(this.ptmi("root",{context:{filled:this.$filled,disabled:this.disabled}}),this.formField)}}},Vw=["value","name","disabled","aria-invalid"];function Hw(e,t,n,r,i,o){return h(),b("textarea",g({class:e.cx("root"),value:e.d_value,name:e.name,disabled:e.disabled,"aria-invalid":e.invalid||void 0,onInput:t[0]||(t[0]=function(){return o.onInput&&o.onInput.apply(o,arguments)})},o.attrs),null,16,Vw)}Sf.render=Hw;const Mu=(e,t)=>{if(!e)return;if(!(t!=null&&t.length))return e;let n=e,r=0,i;for(;i!=t[t.length-1]&&n;)i=t[r],n=n[i],r++;return n},kr=(e,t)=>Array.isArray(e)?e.map(n=>Mu(n,t)).join(", "):Mu(e,t),Kw=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Nw={},Gw={class:"fixed bottom-6 right-6 aspect-square h-10 text-3xl flex items-center justify-center rounded-full focus-visible:outline-none text-black",style:{background:"var(--p-primary-color)"}};function Uw(e,t){return h(),b("button",Gw,t[0]||(t[0]=[B("span",{class:"pi pi-plus"},null,-1)]))}const Ww=Kw(Nw,[["render",Uw]]),_w={class:"flex flex-col justify-center gap-5"},Yw={class:"flex items-center gap-5"},qw={class:"w-[200px]"},Zw={key:0},Xw={key:1},Du=ki({__name:"DialogWindow",props:Nl({scheme:{},getDefaults:{type:Function},service:{},updateMode:{type:Boolean}},{show:{type:Boolean},showModifiers:{},item:{},itemModifiers:{},items:{},itemsModifiers:{}}),emits:Nl(["onSave","onSaveUpdate","onSaveCreate"],["update:show","update:item","update:items"]),setup(e,{emit:t}){const n=_i(e,"show"),r=_i(e,"item"),i=_i(e,"items"),o=e,a=Object.keys(o.scheme),l=t;return(s,d)=>(h(),$(Be(Ec),{visible:n.value,"onUpdate:visible":d[1]||(d[1]=u=>n.value=u)},{footer:_(()=>[ne(Be(gn),{severity:"success",onClick:d[0]||(d[0]=async()=>{o.updateMode?(o.service.update(r.value),l("onSaveUpdate",r.value),l("onSave",r.value)):(o.service.create(r.value),l("onSaveCreate",r.value),l("onSave",r.value)),i.value=await s.service.readAll(),n.value=!1})},{default:_(()=>d[2]||(d[2]=[Ke("Сохранить")])),_:1})]),default:_(()=>[B("div",_w,[(h(!0),b(Z,null,Oe(Be(a),u=>{var c,f,p,m,v,C,S,x,T,w,F,G,E,K,z,J;return Ze((h(),b("div",Yw,[B("h1",qw,oe(o.scheme[u].russian),1),B("div",null,[(f=(c=o.scheme[u])==null?void 0:c.customWindow)!=null&&f[o.updateMode?"update":"create"]?(h(),b("div",Zw,[D(s.$slots,u+(o.updateMode?"Update":"Create"))])):(m=(p=o.scheme[u])==null?void 0:p.customWindow)!=null&&m.common?(h(),b("div",Xw,[D(s.$slots,u)])):((C=(v=o.scheme[u])==null?void 0:v.type)==null?void 0:C.primitive)==="number"?(h(),$(Be(Cl),{key:2,class:"w-[300px]","model-value":r.value[u],"onUpdate:modelValue":N=>r.value[u]=N},null,8,["model-value","onUpdate:modelValue"])):((S=o.scheme[u].type)==null?void 0:S.primitive)==="string"?(h(),$(Be(lr),{key:3,class:"w-[300px]","model-value":r.value[u],"onUpdate:modelValue":N=>r.value[u]=N},null,8,["model-value","onUpdate:modelValue"])):((x=o.scheme[u].type)==null?void 0:x.primitive)==="date"?(h(),$(Be(Pc),{key:4,class:"w-[300px]","model-value":r.value[u],"onUpdate:modelValue":N=>r.value[u]=N},null,8,["model-value","onUpdate:modelValue"])):((T=o.scheme[u].type)==null?void 0:T.primitive)==="multiple"?(h(),$(Be(Sf),{key:5,class:"w-[300px]",modelValue:r.value[u],"onUpdate:modelValue":N=>r.value[u]=N},null,8,["modelValue","onUpdate:modelValue"])):((w=o.scheme[u].type)==null?void 0:w.primitive)==="boolean"?(h(),$(Be(wf),{key:6,class:"w-[300px]","model-value":r.value[u],"onUpdate:modelValue":N=>r.value[u]=N},null,8,["model-value","onUpdate:modelValue"])):(G=(F=o.scheme[u].type)==null?void 0:F.nested)!=null&&G.values&&!((E=o.scheme[u].type)!=null&&E.many)?(h(),$(Be(Ro),{key:7,"model-value":r.value[u],"onUpdate:modelValue":N=>r.value[u]=N,options:o.scheme[u].type.nested.values,placeholder:`Выберите ${o.scheme[u].russian}`,class:"w-[300px]"},{option:_(({option:N})=>[Ke(oe(Be(kr)(N,o.scheme[u].type.nested.field)),1)]),value:_(({value:N})=>[Ke(oe(Be(kr)(N,o.scheme[u].type.nested.field)),1)]),_:2},1032,["model-value","onUpdate:modelValue","options","placeholder"])):(K=o.scheme[u].type)!=null&&K.many?(h(),$(Be(Cf),{key:8,"model-value":r.value[u],"onUpdate:modelValue":N=>r.value[u]=N,options:(J=(z=o.scheme[u].type)==null?void 0:z.nested)==null?void 0:J.values,class:"w-[300px] h-11",placeholder:`Выберите ${o.scheme[u].russian}`},{option:_(({option:N})=>{var H,le,fe;return[Ke(oe(Be(kr)(N,(fe=(le=(H=o.scheme[u])==null?void 0:H.type)==null?void 0:le.nested)==null?void 0:fe.field)),1)]}),value:_(({value:N})=>{var H,le,fe;return[Ke(oe(Be(kr)(N,(fe=(le=(H=o.scheme[u])==null?void 0:H.type)==null?void 0:le.nested)==null?void 0:fe.field)),1)]}),_:2},1032,["model-value","onUpdate:modelValue","options","placeholder"])):P("",!0)])],512)),[[Sa,!o.scheme[u].hidden&&!o.scheme[u].readonly]])}),256))])]),_:3},8,["visible"]))}}),Jw={class:"flex gap-2"},Qw=ki({__name:"Table",props:{service:{},scheme:{},name:{},getDefaults:{type:Function},validate:{type:Function}},emits:["onCreateOpen","onCreateClose","onUpdateOpen","onUpdateClose","onOpen","onClose","onDelete","onSaveUpdate","onSaveCreate","onSave"],setup(e,{emit:t}){const n=e,r=Zt([]);So(async()=>{r.value=await n.service.readAll()});const i=Object.keys(n.scheme),o=t,a=Zt(!1),l=Zt(null),s=Zt(!1),d=Zt(null);Ct(s,p=>{p||(d.value=null)}),Ct(d,p=>{p?s.value=!0:s.value=!1}),Ct(a,p=>{p?l.value=n.getDefaults():l.value=null}),Ct(l,p=>{p?a.value=!0:a.value=!1});const u=()=>{o("onCreateOpen"),o("onOpen"),a.value=!0};Gp();const c=p=>p+"Create",f=p=>p+"Update";return(p,m)=>(h(),b(Z,null,[ne(Du,{scheme:n.scheme,service:n.service,"get-defaults":n.getDefaults,item:l.value,"onUpdate:item":m[0]||(m[0]=v=>l.value=v),show:a.value,"onUpdate:show":m[1]||(m[1]=v=>a.value=v),items:r.value,"onUpdate:items":m[2]||(m[2]=v=>r.value=v),onOnSave:m[3]||(m[3]=v=>o("onSave",v)),onOnSaveCreate:m[4]||(m[4]=v=>o("onSaveCreate",v))},en({_:2},[Oe(Be(i),v=>({name:v,fn:_(()=>[D(p.$slots,v)])})),Oe(Be(i),v=>({name:c(v),fn:_(()=>[D(p.$slots,c(v))])}))]),1032,["scheme","service","get-defaults","item","show","items"]),ne(Du,{scheme:n.scheme,"update-mode":"",service:n.service,"get-defaults":n.getDefaults,item:d.value,"onUpdate:item":m[5]||(m[5]=v=>d.value=v),show:s.value,"onUpdate:show":m[6]||(m[6]=v=>s.value=v),items:r.value,"onUpdate:items":m[7]||(m[7]=v=>r.value=v),onOnSave:m[8]||(m[8]=v=>o("onSave",v)),onOnSaveUpdate:m[9]||(m[9]=v=>o("onSaveUpdate",v))},en({_:2},[Oe(Be(i),v=>({name:v,fn:_(()=>[D(p.$slots,v)])})),Oe(Be(i),v=>({name:f(v),fn:_(()=>[D(p.$slots,f(v))])}))]),1032,["scheme","service","get-defaults","item","show","items"]),B("div",null,[ne(Be(yf),{value:r.value},en({default:_(()=>[(h(!0),b(Z,null,Oe(Be(i),v=>{var C;return h(),b(Z,null,[n.scheme[v].hidden?P("",!0):(h(),$(Be(Ws),{key:0,header:(C=n.scheme[v])==null?void 0:C.russian},{body:_(({data:S})=>{var x,T,w;return[B("p",null,oe(Be(kr)(S[v],(w=(T=(x=n.scheme[v])==null?void 0:x.type)==null?void 0:T.nested)==null?void 0:w.field)),1)]}),_:2},1032,["header"]))],64)}),256)),ne(Be(Ws),{header:"Действия"},{body:_(({data:v})=>[B("div",Jw,[ne(Be(gn),{severity:"secondary",icon:"pi pi-pencil",onClick:()=>{o("onUpdateOpen"),o("onOpen"),d.value=v}},null,8,["onClick"]),ne(Be(gn),{severity:"danger",icon:"pi pi-trash",onClick:async()=>{o("onDelete",v),await n.service.delete(v.Id),r.value=await n.service.readAll()}},null,8,["onClick"])])]),_:1})]),_:2},[n.name?{name:"header",fn:_(()=>[B("p",null,oe(n.name),1)]),key:"0"}:void 0]),1032,["value"]),ne(Ww,{onClick:u})])],64))}}),e2=()=>{const e=new Date,t=new Date(e);return t.setDate(e.getDate()+1),t},t2=e=>{var r,i,o,a,l,s;const t=Object.keys(e);let n={};for(let d of t){const u=(i=(r=e[d])==null?void 0:r.type)==null?void 0:i.primitive;u=="string"||u=="multiple"?n[d]="":u=="date"?n[d]=e2():u=="boolean"?n[d]=!1:u=="number"?n[d]=1:(o=e[d].type)!=null&&o.many?n[d]=[]:(s=(l=(a=e[d])==null?void 0:a.type)==null?void 0:l.nested)!=null&&s.values&&(n[d]=e[d].type.nested.values[0])}return n},n2="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function $f(e=21){let t="",n=e|0;for(;n--;)t+=n2[Math.random()*64|0];return t}const r2=window.location.origin+"/wails/runtime",Ai=Object.freeze({Call:0,Clipboard:1,Application:2,Events:3,ContextMenu:4,Dialog:5,Window:6,Screens:7,System:8,Browser:9,CancelCall:10});let o2=$f();function zi(e,t=""){return function(n,r=null){return i2(e,n,t,r)}}async function i2(e,t,n,r){var i,o;let a=new URL(r2);a.searchParams.append("object",e.toString()),a.searchParams.append("method",t.toString()),r&&a.searchParams.append("args",JSON.stringify(r));let l={"x-wails-client-id":o2};n&&(l["x-wails-window-name"]=n);let s=await fetch(a,{headers:l});if(!s.ok)throw new Error(await s.text());return((o=(i=s.headers.get("Content-Type"))===null||i===void 0?void 0:i.indexOf("application/json"))!==null&&o!==void 0?o:-1)!==-1?s.json():s.text()}zi(Ai.System);const oa=function(){var e,t,n,r,i;try{if(!((t=(e=window.chrome)===null||e===void 0?void 0:e.webview)===null||t===void 0)&&t.postMessage)return window.chrome.webview.postMessage.bind(window.chrome.webview);if(!((i=(r=(n=window.webkit)===null||n===void 0?void 0:n.messageHandlers)===null||r===void 0?void 0:r.external)===null||i===void 0)&&i.postMessage)return window.webkit.messageHandlers.external.postMessage.bind(window.webkit.messageHandlers.external)}catch{}return console.warn(` -%c⚠️ Browser Environment Detected %c - -%cOnly UI previews are available in the browser. For full functionality, please run the application in desktop mode. -More information at: https://v3.wails.io/learn/build/#using-a-browser-for-development -`,"background: #ffffff; color: #000000; font-weight: bold; padding: 4px 8px; border-radius: 4px; border: 2px solid #000000;","background: transparent;","color: #ffffff; font-style: italic; font-weight: bold;"),null}();function fi(e){oa==null||oa(e)}function xf(){return window._wails.environment.OS==="windows"}function a2(){return!!window._wails.environment.Debug}function l2(){return new MouseEvent("mousedown").buttons===0}function Of(e){var t;return e.target instanceof HTMLElement?e.target:!(e.target instanceof HTMLElement)&&e.target instanceof Node&&(t=e.target.parentElement)!==null&&t!==void 0?t:document.body}document.addEventListener("DOMContentLoaded",()=>{});window.addEventListener("contextmenu",c2);const s2=zi(Ai.ContextMenu),u2=0;function d2(e,t,n,r){s2(u2,{id:e,x:t,y:n,data:r})}function c2(e){const t=Of(e),n=window.getComputedStyle(t).getPropertyValue("--custom-contextmenu").trim();if(n){e.preventDefault();const r=window.getComputedStyle(t).getPropertyValue("--custom-contextmenu-data");d2(n,e.clientX,e.clientY,r)}else f2(e,t)}function f2(e,t){if(a2())return;switch(window.getComputedStyle(t).getPropertyValue("--default-contextmenu").trim()){case"show":return;case"hide":e.preventDefault();return}if(t.isContentEditable)return;const n=window.getSelection(),r=n&&n.toString().length>0;if(r)for(let i=0;i{Na=e,Na||(nr=rr=!1,kt())};window.addEventListener("mousedown",Ol,{capture:!0});window.addEventListener("mousemove",Ol,{capture:!0});window.addEventListener("mouseup",Ol,{capture:!0});for(const e of["click","contextmenu","dblclick"])window.addEventListener(e,p2,{capture:!0});function p2(e){(bo||rr)&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())}const la=0,h2=1,sa=2;function Ol(e){let t,n=e.buttons;switch(e.type){case"mousedown":t=la,aa||(n=jn|1<"u"||typeof t=="object"))try{var n=Zo.call(t);return(n===S2||n===$2||n===x2||n===w2)&&t("")==null}catch{}return!1})}function R2(e){if(Pl(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{Wn(e,null,Ga)}catch(t){if(t!==qo)return!1}return!Il(e)&&Ua(e)}function T2(e){if(Pl(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(O2)return Ua(e);if(Il(e))return!1;var t=Zo.call(e);return t!==k2&&t!==C2&&!/^\[object HTML/.test(t)?!1:Ua(e)}const Mn=Wn?R2:T2;var ua;class Wa extends Error{constructor(t,n){super(t,n),this.name="CancelError"}}class vo extends Error{constructor(t,n,r){super((r??"Unhandled rejection in cancelled promise.")+" Reason: "+B2(n),{cause:n}),this.promise=t,this.name="CancelledRejectionError"}}const Yt=Symbol("barrier"),Lu=Symbol("cancelImpl"),Fu=(ua=Symbol.species)!==null&&ua!==void 0?ua:Symbol("speciesPolyfill");class Ve extends Promise{constructor(t,n){let r,i;if(super((s,d)=>{r=s,i=d}),this.constructor[Fu]!==Promise)throw new TypeError("CancellablePromise does not support transparent subclassing. Please refrain from overriding the [Symbol.species] static property.");let o={promise:this,resolve:r,reject:i,get oncancelled(){return n??null},set oncancelled(s){n=s??void 0}};const a={get root(){return a},resolving:!1,settled:!1};Object.defineProperties(this,{[Yt]:{configurable:!1,enumerable:!1,writable:!0,value:null},[Lu]:{configurable:!1,enumerable:!1,writable:!1,value:Pf(o,a)}});const l=Tf(o,a);try{t(Rf(o,a),l)}catch(s){a.resolving?console.log("Unhandled exception in CancellablePromise executor.",s):l(s)}}cancel(t){return new Ve(n=>{Promise.all([this[Lu](new Wa("Promise cancelled.",{cause:t})),M2(this)]).then(()=>n(),()=>n())})}cancelOn(t){return t.aborted?this.cancel(t.reason):t.addEventListener("abort",()=>void this.cancel(t.reason),{capture:!0}),this}then(t,n,r){if(!(this instanceof Ve))throw new TypeError("CancellablePromise.prototype.then called on an invalid object.");if(Mn(t)||(t=Au),Mn(n)||(n=zu),t===Au&&n==zu)return new Ve(o=>o(this));const i={};return this[Yt]=i,new Ve((o,a)=>{super.then(l=>{var s;this[Yt]===i&&(this[Yt]=null),(s=i.resolve)===null||s===void 0||s.call(i);try{o(t(l))}catch(d){a(d)}},l=>{var s;this[Yt]===i&&(this[Yt]=null),(s=i.resolve)===null||s===void 0||s.call(i);try{o(n(l))}catch(d){a(d)}})},async o=>{try{return r==null?void 0:r(o)}finally{await this.cancel(o)}})}catch(t,n){return this.then(void 0,t,n)}finally(t,n){if(!(this instanceof Ve))throw new TypeError("CancellablePromise.prototype.finally called on an invalid object.");return Mn(t)?this.then(r=>Ve.resolve(t()).then(()=>r),r=>Ve.resolve(t()).then(()=>{throw r}),n):this.then(t,t,n)}static get[Fu](){return Promise}static all(t){let n=Array.from(t);const r=n.length===0?Ve.resolve(n):new Ve((i,o)=>{Promise.all(n).then(i,o)},i=>Ko(r,n,i));return r}static allSettled(t){let n=Array.from(t);const r=n.length===0?Ve.resolve(n):new Ve((i,o)=>{Promise.allSettled(n).then(i,o)},i=>Ko(r,n,i));return r}static any(t){let n=Array.from(t);const r=n.length===0?Ve.resolve(n):new Ve((i,o)=>{Promise.any(n).then(i,o)},i=>Ko(r,n,i));return r}static race(t){let n=Array.from(t);const r=new Ve((i,o)=>{Promise.race(n).then(i,o)},i=>Ko(r,n,i));return r}static cancel(t){const n=new Ve(()=>{});return n.cancel(t),n}static timeout(t,n){const r=new Ve(()=>{});return AbortSignal&&typeof AbortSignal=="function"&&AbortSignal.timeout&&typeof AbortSignal.timeout=="function"?AbortSignal.timeout(t).addEventListener("abort",()=>void r.cancel(n)):setTimeout(()=>void r.cancel(n),t),r}static sleep(t,n){return new Ve(r=>{setTimeout(()=>r(n),t)})}static reject(t){return new Ve((n,r)=>r(t))}static resolve(t){return t instanceof Ve?t:new Ve(n=>n(t))}static withResolvers(){let t={oncancelled:null};return t.promise=new Ve((n,r)=>{t.resolve=n,t.reject=r},n=>{var r;(r=t.oncancelled)===null||r===void 0||r.call(t,n)}),t}}function Pf(e,t){let n;return r=>{if(t.settled||(t.settled=!0,t.reason=r,e.reject(r),Promise.prototype.then.call(e.promise,void 0,i=>{if(i!==r)throw i})),!(!t.reason||!e.oncancelled))return n=new Promise(i=>{try{i(e.oncancelled(t.reason.cause))}catch(o){Promise.reject(new vo(e.promise,o,"Unhandled exception in oncancelled callback."))}}).catch(i=>{Promise.reject(new vo(e.promise,i,"Unhandled rejection in oncancelled callback."))}),e.oncancelled=null,n}}function Rf(e,t){return n=>{if(!t.resolving){if(t.resolving=!0,n===e.promise){if(t.settled)return;t.settled=!0,e.reject(new TypeError("A promise cannot be resolved with itself."));return}if(n!=null&&(typeof n=="object"||typeof n=="function")){let r;try{r=n.then}catch(i){t.settled=!0,e.reject(i);return}if(Mn(r)){try{let a=n.cancel;if(Mn(a)){const l=s=>{Reflect.apply(a,n,[s])};t.reason?Pf(Object.assign(Object.assign({},e),{oncancelled:l}),t)(t.reason):e.oncancelled=l}}catch{}const i={root:t.root,resolving:!1,get settled(){return this.root.settled},set settled(a){this.root.settled=a},get reason(){return this.root.reason}},o=Tf(e,i);try{Reflect.apply(r,n,[Rf(e,i),o])}catch(a){o(a)}return}}t.settled||(t.settled=!0,e.resolve(n))}}}function Tf(e,t){return n=>{if(!t.resolving)if(t.resolving=!0,t.settled){try{if(n instanceof Wa&&t.reason instanceof Wa&&Object.is(n.cause,t.reason.cause))return}catch{}Promise.reject(new vo(e.promise,n))}else t.settled=!0,e.reject(n)}}function Ko(e,t,n){const r=[];for(const i of t){let o;try{if(!Mn(i.then)||(o=i.cancel,!Mn(o)))continue}catch{continue}let a;try{a=Reflect.apply(o,i,[n])}catch(l){Promise.reject(new vo(e,l,"Unhandled exception in cancel method."));continue}a&&r.push((a instanceof Promise?a:Promise.resolve(a)).catch(l=>{Promise.reject(new vo(e,l,"Unhandled rejection in cancel method."))}))}return Promise.all(r)}function Au(e){return e}function zu(e){throw e}function B2(e){try{if(e instanceof Error||typeof e!="object"||e.toString!==Object.prototype.toString)return""+e}catch{}try{return JSON.stringify(e)}catch{}try{return Object.prototype.toString.call(e)}catch{}return""}function M2(e){var t;let n=(t=e[Yt])!==null&&t!==void 0?t:{};return"promise"in n||Object.assign(n,Nn()),e[Yt]==null&&(n.resolve(),e[Yt]=n),n.promise}let Nn=Promise.withResolvers;Nn&&typeof Nn=="function"?Nn=Nn.bind(Promise):Nn=function(){let e,t;return{promise:new Promise((r,i)=>{e=r,t=i}),resolve:e,reject:t}};window._wails=window._wails||{};window._wails.callResultHandler=z2;window._wails.callErrorHandler=j2;const D2=zi(Ai.Call),E2=zi(Ai.CancelCall),Qn=new Map,L2=0,F2=0;class A2 extends Error{constructor(t,n){super(t,n),this.name="RuntimeError"}}function z2(e,t,n){const r=Bf(e);if(r)if(!t)r.resolve(void 0);else if(!n)r.resolve(t);else try{r.resolve(JSON.parse(t))}catch(i){r.reject(new TypeError("could not parse result: "+i.message,{cause:i}))}}function j2(e,t,n){const r=Bf(e);if(r)if(!n)r.reject(new Error(t));else{let i;try{i=JSON.parse(t)}catch(l){r.reject(new TypeError("could not parse error: "+l.message,{cause:l}));return}let o={};i.cause&&(o.cause=i.cause);let a;switch(i.kind){case"ReferenceError":a=new ReferenceError(i.message,o);break;case"TypeError":a=new TypeError(i.message,o);break;case"RuntimeError":a=new A2(i.message,o);break;default:a=new Error(i.message,o);break}r.reject(a)}}function Bf(e){const t=Qn.get(e);return Qn.delete(e),t}function V2(){let e;do e=$f();while(Qn.has(e));return e}function H2(e){const t=V2(),n=Ve.withResolvers();Qn.set(t,{resolve:n.resolve,reject:n.reject});const r=D2(L2,Object.assign({"call-id":t},e));let i=!1;r.then(()=>{i=!0},a=>{Qn.delete(t),n.reject(a)});const o=()=>(Qn.delete(t),E2(F2,{"call-id":t}).catch(a=>{console.error("Error while requesting binding call cancellation:",a)}));return n.oncancelled=()=>i?o():r.then(o),n.promise}function ur(e,...t){return H2({methodID:e,args:t})}function _a(e){return e}function K2(e){return e===_a?t=>t===null?[]:t:t=>{if(t===null)return[];for(let n=0;nt===null?null:e(t)}window._wails=window._wails||{};window._wails.invoke=fi;fi("wails:runtime:ready");class Rl{constructor(t={}){"Id"in t||(this.Id=0),"Text"in t||(this.Text=""),"CreatedAt"in t||(this.CreatedAt=0),Object.assign(this,t)}static createFrom(t={}){let n=typeof t=="string"?JSON.parse(t):t;return new Rl(n)}}function G2(){return ur(3109924027)}function U2(e){let t=ur(1443399856,e),n=t.then(r=>Tl(r));return n.cancel=t.cancel.bind(t),n}function W2(e){return ur(2924549135,e)}function _2(){let e=ur(65691059),t=e.then(n=>Z2(n));return t.cancel=e.cancel.bind(e),t}function Y2(e){let t=ur(4074736792,e),n=t.then(r=>Mf(r));return n.cancel=t.cancel.bind(t),n}function q2(e){let t=ur(137798821,e),n=t.then(r=>Tl(r));return n.cancel=t.cancel.bind(t),n}const Tl=Rl.createFrom,Mf=N2(Tl),Z2=K2(Mf);class X2{async read(t){return await Y2(t)}async readAll(){return await _2()}async create(t){await U2(t)}async delete(t){return await W2(t)}async update(t){await q2(t)}async count(){return await G2()}}const J2={class:"w-screen h-screen"},Q2=ki({__name:"PostScheme",setup(e){const t=new X2;So(async()=>{});const n=ko({Id:{type:{primitive:"number"}},Text:{type:{primitive:"string"}},CreatedAt:{type:{primitive:"date"}}}),r=()=>t2(n);return(i,o)=>(h(),b("main",J2,[ne(Qw,{scheme:n,service:Be(t),getDefaults:r},null,8,["scheme","service"])]))}}),ek=ki({__name:"App",setup(e){return(t,n)=>(h(),$(Q2))}});var tk={transitionDuration:"{transition.duration}"},nk={borderWidth:"0 0 1px 0",borderColor:"{content.border.color}"},rk={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",padding:"1.125rem",fontWeight:"600",borderRadius:"0",borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",hoverBackground:"{content.background}",activeBackground:"{content.background}",activeHoverBackground:"{content.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},toggleIcon:{color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{text.color}",activeHoverColor:"{text.color}"},first:{topBorderRadius:"{content.border.radius}",borderWidth:"0"},last:{bottomBorderRadius:"{content.border.radius}",activeBottomBorderRadius:"0"}},ok={borderWidth:"0",borderColor:"{content.border.color}",background:"{content.background}",color:"{text.color}",padding:"0 1.125rem 1.125rem 1.125rem"},ik={root:tk,panel:nk,header:rk,content:ok},ak={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},lk={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},sk={padding:"{list.padding}",gap:"{list.gap}"},uk={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},dk={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},ck={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},fk={borderRadius:"{border.radius.sm}"},pk={padding:"{list.option.padding}"},hk={light:{chip:{focusBackground:"{surface.200}",focusColor:"{surface.800}"},dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",focusColor:"{surface.0}"},dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"}}},gk={root:ak,overlay:lk,list:sk,option:uk,optionGroup:dk,dropdown:ck,chip:fk,emptyMessage:pk,colorScheme:hk},mk={width:"2rem",height:"2rem",fontSize:"1rem",background:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},bk={size:"1rem"},vk={borderColor:"{content.background}",offset:"-0.75rem"},yk={width:"3rem",height:"3rem",fontSize:"1.5rem",icon:{size:"1.5rem"},group:{offset:"-1rem"}},wk={width:"4rem",height:"4rem",fontSize:"2rem",icon:{size:"2rem"},group:{offset:"-1.5rem"}},kk={root:mk,icon:bk,group:vk,lg:yk,xl:wk},Ck={borderRadius:"{border.radius.md}",padding:"0 0.5rem",fontSize:"0.75rem",fontWeight:"700",minWidth:"1.5rem",height:"1.5rem"},Sk={size:"0.5rem"},$k={fontSize:"0.625rem",minWidth:"1.25rem",height:"1.25rem"},xk={fontSize:"0.875rem",minWidth:"1.75rem",height:"1.75rem"},Ok={fontSize:"1rem",minWidth:"2rem",height:"2rem"},Ik={light:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.500}",color:"{surface.0}"},info:{background:"{sky.500}",color:"{surface.0}"},warn:{background:"{orange.500}",color:"{surface.0}"},danger:{background:"{red.500}",color:"{surface.0}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"{primary.color}",color:"{primary.contrast.color}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"{green.400}",color:"{green.950}"},info:{background:"{sky.400}",color:"{sky.950}"},warn:{background:"{orange.400}",color:"{orange.950}"},danger:{background:"{red.400}",color:"{red.950}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},Pk={root:Ck,dot:Sk,sm:$k,lg:xk,xl:Ok,colorScheme:Ik},Rk={borderRadius:{none:"0",xs:"2px",sm:"4px",md:"6px",lg:"8px",xl:"12px"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"}},Tk={transitionDuration:"0.2s",focusRing:{width:"1px",style:"solid",color:"{primary.color}",offset:"2px",shadow:"none"},disabledOpacity:"0.6",iconSize:"1rem",anchorGutter:"2px",primary:{50:"{emerald.50}",100:"{emerald.100}",200:"{emerald.200}",300:"{emerald.300}",400:"{emerald.400}",500:"{emerald.500}",600:"{emerald.600}",700:"{emerald.700}",800:"{emerald.800}",900:"{emerald.900}",950:"{emerald.950}"},formField:{paddingX:"0.75rem",paddingY:"0.5rem",sm:{fontSize:"0.875rem",paddingX:"0.625rem",paddingY:"0.375rem"},lg:{fontSize:"1.125rem",paddingX:"0.875rem",paddingY:"0.625rem"},borderRadius:"{border.radius.md}",focusRing:{width:"0",style:"none",color:"transparent",offset:"0",shadow:"none"},transitionDuration:"{transition.duration}"},list:{padding:"0.25rem 0.25rem",gap:"2px",header:{padding:"0.5rem 1rem 0.25rem 1rem"},option:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}"},optionGroup:{padding:"0.5rem 0.75rem",fontWeight:"600"}},content:{borderRadius:"{border.radius.md}"},mask:{transitionDuration:"0.15s"},navigation:{list:{padding:"0.25rem 0.25rem",gap:"2px"},item:{padding:"0.5rem 0.75rem",borderRadius:"{border.radius.sm}",gap:"0.5rem"},submenuLabel:{padding:"0.5rem 0.75rem",fontWeight:"600"},submenuIcon:{size:"0.875rem"}},overlay:{select:{borderRadius:"{border.radius.md}",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},popover:{borderRadius:"{border.radius.md}",padding:"0.75rem",shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"},modal:{borderRadius:"{border.radius.xl}",padding:"1.25rem",shadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},navigation:{shadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)"}},colorScheme:{light:{surface:{0:"#ffffff",50:"{slate.50}",100:"{slate.100}",200:"{slate.200}",300:"{slate.300}",400:"{slate.400}",500:"{slate.500}",600:"{slate.600}",700:"{slate.700}",800:"{slate.800}",900:"{slate.900}",950:"{slate.950}"},primary:{color:"{primary.500}",contrastColor:"#ffffff",hoverColor:"{primary.600}",activeColor:"{primary.700}"},highlight:{background:"{primary.50}",focusBackground:"{primary.100}",color:"{primary.700}",focusColor:"{primary.800}"},mask:{background:"rgba(0,0,0,0.4)",color:"{surface.200}"},formField:{background:"{surface.0}",disabledBackground:"{surface.200}",filledBackground:"{surface.50}",filledHoverBackground:"{surface.50}",filledFocusBackground:"{surface.50}",borderColor:"{surface.300}",hoverBorderColor:"{surface.400}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.400}",color:"{surface.700}",disabledColor:"{surface.500}",placeholderColor:"{surface.500}",invalidPlaceholderColor:"{red.600}",floatLabelColor:"{surface.500}",floatLabelFocusColor:"{primary.600}",floatLabelActiveColor:"{surface.500}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.700}",hoverColor:"{surface.800}",mutedColor:"{surface.500}",hoverMutedColor:"{surface.600}"},content:{background:"{surface.0}",hoverBackground:"{surface.100}",borderColor:"{surface.200}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},popover:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"},modal:{background:"{surface.0}",borderColor:"{surface.200}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.100}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.100}",activeBackground:"{surface.100}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.400}",focusColor:"{surface.500}",activeColor:"{surface.500}"}}},dark:{surface:{0:"#ffffff",50:"{zinc.50}",100:"{zinc.100}",200:"{zinc.200}",300:"{zinc.300}",400:"{zinc.400}",500:"{zinc.500}",600:"{zinc.600}",700:"{zinc.700}",800:"{zinc.800}",900:"{zinc.900}",950:"{zinc.950}"},primary:{color:"{primary.400}",contrastColor:"{surface.900}",hoverColor:"{primary.300}",activeColor:"{primary.200}"},highlight:{background:"color-mix(in srgb, {primary.400}, transparent 84%)",focusBackground:"color-mix(in srgb, {primary.400}, transparent 76%)",color:"rgba(255,255,255,.87)",focusColor:"rgba(255,255,255,.87)"},mask:{background:"rgba(0,0,0,0.6)",color:"{surface.200}"},formField:{background:"{surface.950}",disabledBackground:"{surface.700}",filledBackground:"{surface.800}",filledHoverBackground:"{surface.800}",filledFocusBackground:"{surface.800}",borderColor:"{surface.600}",hoverBorderColor:"{surface.500}",focusBorderColor:"{primary.color}",invalidBorderColor:"{red.300}",color:"{surface.0}",disabledColor:"{surface.400}",placeholderColor:"{surface.400}",invalidPlaceholderColor:"{red.400}",floatLabelColor:"{surface.400}",floatLabelFocusColor:"{primary.color}",floatLabelActiveColor:"{surface.400}",floatLabelInvalidColor:"{form.field.invalid.placeholder.color}",iconColor:"{surface.400}",shadow:"0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(18, 18, 23, 0.05)"},text:{color:"{surface.0}",hoverColor:"{surface.0}",mutedColor:"{surface.400}",hoverMutedColor:"{surface.300}"},content:{background:"{surface.900}",hoverBackground:"{surface.800}",borderColor:"{surface.700}",color:"{text.color}",hoverColor:"{text.hover.color}"},overlay:{select:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},popover:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"},modal:{background:"{surface.900}",borderColor:"{surface.700}",color:"{text.color}"}},list:{option:{focusBackground:"{surface.800}",selectedBackground:"{highlight.background}",selectedFocusBackground:"{highlight.focus.background}",color:"{text.color}",focusColor:"{text.hover.color}",selectedColor:"{highlight.color}",selectedFocusColor:"{highlight.focus.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}"}},optionGroup:{background:"transparent",color:"{text.muted.color}"}},navigation:{item:{focusBackground:"{surface.800}",activeBackground:"{surface.800}",color:"{text.color}",focusColor:"{text.hover.color}",activeColor:"{text.hover.color}",icon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}},submenuLabel:{background:"transparent",color:"{text.muted.color}"},submenuIcon:{color:"{surface.500}",focusColor:"{surface.400}",activeColor:"{surface.400}"}}}}},Bk={primitive:Rk,semantic:Tk},Mk={borderRadius:"{content.border.radius}"},Dk={root:Mk},Ek={padding:"1rem",background:"{content.background}",gap:"0.5rem",transitionDuration:"{transition.duration}"},Lk={color:"{text.muted.color}",hoverColor:"{text.color}",borderRadius:"{content.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",hoverColor:"{navigation.item.icon.focus.color}"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Fk={color:"{navigation.item.icon.color}"},Ak={root:Ek,item:Lk,separator:Fk},zk={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",gap:"0.5rem",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",iconOnlyWidth:"2.5rem",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}",iconOnlyWidth:"2rem"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}",iconOnlyWidth:"3rem"},label:{fontWeight:"500"},raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"},badgeSize:"1rem",transitionDuration:"{form.field.transition.duration}"},jk={light:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",borderColor:"{surface.100}",hoverBorderColor:"{surface.200}",activeBorderColor:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}",focusRing:{color:"{surface.600}",shadow:"none"}},info:{background:"{sky.500}",hoverBackground:"{sky.600}",activeBackground:"{sky.700}",borderColor:"{sky.500}",hoverBorderColor:"{sky.600}",activeBorderColor:"{sky.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{sky.500}",shadow:"none"}},success:{background:"{green.500}",hoverBackground:"{green.600}",activeBackground:"{green.700}",borderColor:"{green.500}",hoverBorderColor:"{green.600}",activeBorderColor:"{green.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{green.500}",shadow:"none"}},warn:{background:"{orange.500}",hoverBackground:"{orange.600}",activeBackground:"{orange.700}",borderColor:"{orange.500}",hoverBorderColor:"{orange.600}",activeBorderColor:"{orange.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{orange.500}",shadow:"none"}},help:{background:"{purple.500}",hoverBackground:"{purple.600}",activeBackground:"{purple.700}",borderColor:"{purple.500}",hoverBorderColor:"{purple.600}",activeBorderColor:"{purple.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{purple.500}",shadow:"none"}},danger:{background:"{red.500}",hoverBackground:"{red.600}",activeBackground:"{red.700}",borderColor:"{red.500}",hoverBorderColor:"{red.600}",activeBorderColor:"{red.700}",color:"#ffffff",hoverColor:"#ffffff",activeColor:"#ffffff",focusRing:{color:"{red.500}",shadow:"none"}},contrast:{background:"{surface.950}",hoverBackground:"{surface.900}",activeBackground:"{surface.800}",borderColor:"{surface.950}",hoverBorderColor:"{surface.900}",activeBorderColor:"{surface.800}",color:"{surface.0}",hoverColor:"{surface.0}",activeColor:"{surface.0}",focusRing:{color:"{surface.950}",shadow:"none"}}},outlined:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",borderColor:"{primary.200}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",borderColor:"{green.200}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",borderColor:"{sky.200}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",borderColor:"{orange.200}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",borderColor:"{purple.200}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",borderColor:"{red.200}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.700}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",borderColor:"{surface.200}",color:"{surface.700}"}},text:{primary:{hoverBackground:"{primary.50}",activeBackground:"{primary.100}",color:"{primary.color}"},secondary:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.500}"},success:{hoverBackground:"{green.50}",activeBackground:"{green.100}",color:"{green.500}"},info:{hoverBackground:"{sky.50}",activeBackground:"{sky.100}",color:"{sky.500}"},warn:{hoverBackground:"{orange.50}",activeBackground:"{orange.100}",color:"{orange.500}"},help:{hoverBackground:"{purple.50}",activeBackground:"{purple.100}",color:"{purple.500}"},danger:{hoverBackground:"{red.50}",activeBackground:"{red.100}",color:"{red.500}"},contrast:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.950}"},plain:{hoverBackground:"{surface.50}",activeBackground:"{surface.100}",color:"{surface.700}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}},dark:{root:{primary:{background:"{primary.color}",hoverBackground:"{primary.hover.color}",activeBackground:"{primary.active.color}",borderColor:"{primary.color}",hoverBorderColor:"{primary.hover.color}",activeBorderColor:"{primary.active.color}",color:"{primary.contrast.color}",hoverColor:"{primary.contrast.color}",activeColor:"{primary.contrast.color}",focusRing:{color:"{primary.color}",shadow:"none"}},secondary:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",borderColor:"{surface.800}",hoverBorderColor:"{surface.700}",activeBorderColor:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}",focusRing:{color:"{surface.300}",shadow:"none"}},info:{background:"{sky.400}",hoverBackground:"{sky.300}",activeBackground:"{sky.200}",borderColor:"{sky.400}",hoverBorderColor:"{sky.300}",activeBorderColor:"{sky.200}",color:"{sky.950}",hoverColor:"{sky.950}",activeColor:"{sky.950}",focusRing:{color:"{sky.400}",shadow:"none"}},success:{background:"{green.400}",hoverBackground:"{green.300}",activeBackground:"{green.200}",borderColor:"{green.400}",hoverBorderColor:"{green.300}",activeBorderColor:"{green.200}",color:"{green.950}",hoverColor:"{green.950}",activeColor:"{green.950}",focusRing:{color:"{green.400}",shadow:"none"}},warn:{background:"{orange.400}",hoverBackground:"{orange.300}",activeBackground:"{orange.200}",borderColor:"{orange.400}",hoverBorderColor:"{orange.300}",activeBorderColor:"{orange.200}",color:"{orange.950}",hoverColor:"{orange.950}",activeColor:"{orange.950}",focusRing:{color:"{orange.400}",shadow:"none"}},help:{background:"{purple.400}",hoverBackground:"{purple.300}",activeBackground:"{purple.200}",borderColor:"{purple.400}",hoverBorderColor:"{purple.300}",activeBorderColor:"{purple.200}",color:"{purple.950}",hoverColor:"{purple.950}",activeColor:"{purple.950}",focusRing:{color:"{purple.400}",shadow:"none"}},danger:{background:"{red.400}",hoverBackground:"{red.300}",activeBackground:"{red.200}",borderColor:"{red.400}",hoverBorderColor:"{red.300}",activeBorderColor:"{red.200}",color:"{red.950}",hoverColor:"{red.950}",activeColor:"{red.950}",focusRing:{color:"{red.400}",shadow:"none"}},contrast:{background:"{surface.0}",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{surface.0}",hoverBorderColor:"{surface.100}",activeBorderColor:"{surface.200}",color:"{surface.950}",hoverColor:"{surface.950}",activeColor:"{surface.950}",focusRing:{color:"{surface.0}",shadow:"none"}}},outlined:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",borderColor:"{primary.700}",color:"{primary.color}"},secondary:{hoverBackground:"rgba(255,255,255,0.04)",activeBackground:"rgba(255,255,255,0.16)",borderColor:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",borderColor:"{green.700}",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",borderColor:"{sky.700}",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",borderColor:"{orange.700}",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",borderColor:"{purple.700}",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",borderColor:"{red.700}",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.500}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{surface.600}",color:"{surface.0}"}},text:{primary:{hoverBackground:"color-mix(in srgb, {primary.color}, transparent 96%)",activeBackground:"color-mix(in srgb, {primary.color}, transparent 84%)",color:"{primary.color}"},secondary:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.400}"},success:{hoverBackground:"color-mix(in srgb, {green.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {green.400}, transparent 84%)",color:"{green.400}"},info:{hoverBackground:"color-mix(in srgb, {sky.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {sky.400}, transparent 84%)",color:"{sky.400}"},warn:{hoverBackground:"color-mix(in srgb, {orange.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {orange.400}, transparent 84%)",color:"{orange.400}"},help:{hoverBackground:"color-mix(in srgb, {purple.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {purple.400}, transparent 84%)",color:"{purple.400}"},danger:{hoverBackground:"color-mix(in srgb, {red.400}, transparent 96%)",activeBackground:"color-mix(in srgb, {red.400}, transparent 84%)",color:"{red.400}"},contrast:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"},plain:{hoverBackground:"{surface.800}",activeBackground:"{surface.700}",color:"{surface.0}"}},link:{color:"{primary.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"}}},Vk={root:zk,colorScheme:jk},Hk={background:"{content.background}",borderRadius:"{border.radius.xl}",color:"{content.color}",shadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},Kk={padding:"1.25rem",gap:"0.5rem"},Nk={gap:"0.5rem"},Gk={fontSize:"1.25rem",fontWeight:"500"},Uk={color:"{text.muted.color}"},Wk={root:Hk,body:Kk,caption:Nk,title:Gk,subtitle:Uk},_k={transitionDuration:"{transition.duration}"},Yk={gap:"0.25rem"},qk={padding:"1rem",gap:"0.5rem"},Zk={width:"2rem",height:"0.5rem",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},Xk={light:{indicator:{background:"{surface.200}",hoverBackground:"{surface.300}",activeBackground:"{primary.color}"}},dark:{indicator:{background:"{surface.700}",hoverBackground:"{surface.600}",activeBackground:"{primary.color}"}}},Jk={root:_k,content:Yk,indicatorList:qk,indicator:Zk,colorScheme:Xk},Qk={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},eC={width:"2.5rem",color:"{form.field.icon.color}"},tC={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},nC={padding:"{list.padding}",gap:"{list.gap}",mobileIndent:"1rem"},rC={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",icon:{color:"{list.option.icon.color}",focusColor:"{list.option.icon.focus.color}",size:"0.875rem"}},oC={color:"{form.field.icon.color}"},iC={root:Qk,dropdown:eC,overlay:tC,list:nC,option:rC,clearIcon:oC},aC={borderRadius:"{border.radius.sm}",width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},lC={size:"0.875rem",color:"{form.field.color}",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.75rem"},lg:{size:"1rem"}},sC={root:aC,icon:lC},uC={borderRadius:"16px",paddingX:"0.75rem",paddingY:"0.5rem",gap:"0.5rem",transitionDuration:"{transition.duration}"},dC={width:"2rem",height:"2rem"},cC={size:"1rem"},fC={size:"1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"}},pC={light:{root:{background:"{surface.100}",color:"{surface.800}"},icon:{color:"{surface.800}"},removeIcon:{color:"{surface.800}"}},dark:{root:{background:"{surface.800}",color:"{surface.0}"},icon:{color:"{surface.0}"},removeIcon:{color:"{surface.0}"}}},hC={root:uC,image:dC,icon:cC,removeIcon:fC,colorScheme:pC},gC={transitionDuration:"{transition.duration}"},mC={width:"1.5rem",height:"1.5rem",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},bC={shadow:"{overlay.popover.shadow}",borderRadius:"{overlay.popover.borderRadius}"},vC={light:{panel:{background:"{surface.800}",borderColor:"{surface.900}"},handle:{color:"{surface.0}"}},dark:{panel:{background:"{surface.900}",borderColor:"{surface.700}"},handle:{color:"{surface.0}"}}},yC={root:gC,preview:mC,panel:bC,colorScheme:vC},wC={size:"2rem",color:"{overlay.modal.color}"},kC={gap:"1rem"},CC={icon:wC,content:kC},SC={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},$C={padding:"{overlay.popover.padding}",gap:"1rem"},xC={size:"1.5rem",color:"{overlay.popover.color}"},OC={gap:"0.5rem",padding:"0 {overlay.popover.padding} {overlay.popover.padding} {overlay.popover.padding}"},IC={root:SC,content:$C,icon:xC,footer:OC},PC={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},RC={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},TC={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},BC={mobileIndent:"1rem"},MC={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},DC={borderColor:"{content.border.color}"},EC={root:PC,list:RC,item:TC,submenu:BC,submenuIcon:MC,separator:DC},LC={transitionDuration:"{transition.duration}"},FC={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},AC={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{datatable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},zC={fontWeight:"600"},jC={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},VC={borderColor:"{datatable.border.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},HC={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},KC={fontWeight:"600"},NC={background:"{content.background}",borderColor:"{datatable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",sm:{padding:"0.375rem 0.5rem"},lg:{padding:"1rem 1.25rem"}},GC={color:"{primary.color}"},UC={width:"0.5rem"},WC={width:"1px",color:"{primary.color}"},_C={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},YC={size:"2rem"},qC={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},ZC={inlineGap:"0.5rem",overlaySelect:{background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},overlayPopover:{background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}",gap:"0.5rem"},rule:{borderColor:"{content.border.color}"},constraintList:{padding:"{list.padding}",gap:"{list.gap}"},constraint:{focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",separator:{borderColor:"{content.border.color}"},padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"}},XC={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},JC={borderColor:"{datatable.border.color}",borderWidth:"0 0 1px 0"},QC={light:{root:{borderColor:"{content.border.color}"},row:{stripedBackground:"{surface.50}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},row:{stripedBackground:"{surface.950}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},e5={root:LC,header:FC,headerCell:AC,columnTitle:zC,row:jC,bodyCell:VC,footerCell:HC,columnFooter:KC,footer:NC,dropPoint:GC,columnResizer:UC,resizeIndicator:WC,sortIcon:_C,loadingIcon:YC,rowToggleButton:qC,filter:ZC,paginatorTop:XC,paginatorBottom:JC,colorScheme:QC},t5={borderColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0"},n5={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem",borderRadius:"0"},r5={background:"{content.background}",color:"{content.color}",borderColor:"transparent",borderWidth:"0",padding:"0",borderRadius:"0"},o5={background:"{content.background}",color:"{content.color}",borderColor:"{content.border.color}",borderWidth:"1px 0 0 0",padding:"0.75rem 1rem",borderRadius:"0"},i5={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},a5={borderColor:"{content.border.color}",borderWidth:"1px 0 0 0"},l5={root:t5,header:n5,content:r5,footer:o5,paginatorTop:i5,paginatorBottom:a5},s5={transitionDuration:"{transition.duration}"},u5={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.popover.shadow}",padding:"{overlay.popover.padding}"},d5={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",padding:"0 0 0.5rem 0"},c5={gap:"0.5rem",fontWeight:"500"},f5={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"},borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},p5={color:"{form.field.icon.color}"},h5={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},g5={hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}"},m5={borderColor:"{content.border.color}",gap:"{overlay.popover.padding}"},b5={margin:"0.5rem 0 0 0"},v5={padding:"0.25rem",fontWeight:"500",color:"{content.color}"},y5={hoverBackground:"{content.hover.background}",selectedBackground:"{primary.color}",rangeSelectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{primary.contrast.color}",rangeSelectedColor:"{highlight.color}",width:"2rem",height:"2rem",borderRadius:"50%",padding:"0.25rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},w5={margin:"0.5rem 0 0 0"},k5={padding:"0.375rem",borderRadius:"{content.border.radius}"},C5={margin:"0.5rem 0 0 0"},S5={padding:"0.375rem",borderRadius:"{content.border.radius}"},$5={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}"},x5={padding:"0.5rem 0 0 0",borderColor:"{content.border.color}",gap:"0.5rem",buttonGap:"0.25rem"},O5={light:{dropdown:{background:"{surface.100}",hoverBackground:"{surface.200}",activeBackground:"{surface.300}",color:"{surface.600}",hoverColor:"{surface.700}",activeColor:"{surface.800}"},today:{background:"{surface.200}",color:"{surface.900}"}},dark:{dropdown:{background:"{surface.800}",hoverBackground:"{surface.700}",activeBackground:"{surface.600}",color:"{surface.300}",hoverColor:"{surface.200}",activeColor:"{surface.100}"},today:{background:"{surface.700}",color:"{surface.0}"}}},I5={root:s5,panel:u5,header:d5,title:c5,dropdown:f5,inputIcon:p5,selectMonth:h5,selectYear:g5,group:m5,dayView:b5,weekDay:v5,date:y5,monthView:w5,month:k5,yearView:C5,year:S5,buttonbar:$5,timePicker:x5,colorScheme:O5},P5={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",borderRadius:"{overlay.modal.border.radius}",shadow:"{overlay.modal.shadow}"},R5={padding:"{overlay.modal.padding}",gap:"0.5rem"},T5={fontSize:"1.25rem",fontWeight:"600"},B5={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},M5={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}",gap:"0.5rem"},D5={root:P5,header:R5,title:T5,content:B5,footer:M5},E5={borderColor:"{content.border.color}"},L5={background:"{content.background}",color:"{text.color}"},F5={margin:"1rem 0",padding:"0 1rem",content:{padding:"0 0.5rem"}},A5={margin:"0 1rem",padding:"0.5rem 0",content:{padding:"0.5rem 0"}},z5={root:E5,content:L5,horizontal:F5,vertical:A5},j5={background:"rgba(255, 255, 255, 0.1)",borderColor:"rgba(255, 255, 255, 0.2)",padding:"0.5rem",borderRadius:"{border.radius.xl}"},V5={borderRadius:"{content.border.radius}",padding:"0.5rem",size:"3rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},H5={root:j5,item:V5},K5={background:"{overlay.modal.background}",borderColor:"{overlay.modal.border.color}",color:"{overlay.modal.color}",shadow:"{overlay.modal.shadow}"},N5={padding:"{overlay.modal.padding}"},G5={fontSize:"1.5rem",fontWeight:"600"},U5={padding:"0 {overlay.modal.padding} {overlay.modal.padding} {overlay.modal.padding}"},W5={padding:"{overlay.modal.padding}"},_5={root:K5,header:N5,title:G5,content:U5,footer:W5},Y5={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}"},q5={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},Z5={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}",padding:"{list.padding}"},X5={focusBackground:"{list.option.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},J5={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},Q5={toolbar:Y5,toolbarItem:q5,overlay:Z5,overlayOption:X5,content:J5},e6={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",padding:"0 1.125rem 1.125rem 1.125rem",transitionDuration:"{transition.duration}"},t6={background:"{content.background}",hoverBackground:"{content.hover.background}",color:"{content.color}",hoverColor:"{content.hover.color}",borderRadius:"{content.border.radius}",borderWidth:"1px",borderColor:"transparent",padding:"0.5rem 0.75rem",gap:"0.5rem",fontWeight:"600",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},n6={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}"},r6={padding:"0"},o6={root:e6,legend:t6,toggleIcon:n6,content:r6},i6={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},a6={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"unset",borderWidth:"0",borderRadius:"0",gap:"0.5rem"},l6={highlightBorderColor:"{primary.color}",padding:"0 1.125rem 1.125rem 1.125rem",gap:"1rem"},s6={padding:"1rem",gap:"1rem",borderColor:"{content.border.color}",info:{gap:"0.5rem"}},u6={gap:"0.5rem"},d6={height:"0.25rem"},c6={gap:"0.5rem"},f6={root:i6,header:a6,content:l6,file:s6,fileList:u6,progressbar:d6,basic:c6},p6={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",activeColor:"{form.field.float.label.active.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",positionY:"{form.field.padding.y}",fontWeight:"500",active:{fontSize:"0.75rem",fontWeight:"400"}},h6={active:{top:"-1.25rem"}},g6={input:{paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},active:{top:"{form.field.padding.y}"}},m6={borderRadius:"{border.radius.xs}",active:{background:"{form.field.background}",padding:"0 0.125rem"}},b6={root:p6,over:h6,in:g6,on:m6},v6={borderWidth:"1px",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",transitionDuration:"{transition.duration}"},y6={background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.100}",hoverColor:"{surface.0}",size:"3rem",gutter:"0.5rem",prev:{borderRadius:"50%"},next:{borderRadius:"50%"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},w6={size:"1.5rem"},k6={background:"{content.background}",padding:"1rem 0.25rem"},C6={size:"2rem",borderRadius:"{content.border.radius}",gutter:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},S6={size:"1rem"},$6={background:"rgba(0, 0, 0, 0.5)",color:"{surface.100}",padding:"1rem"},x6={gap:"0.5rem",padding:"1rem"},O6={width:"1rem",height:"1rem",activeBackground:"{primary.color}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},I6={background:"rgba(0, 0, 0, 0.5)"},P6={background:"rgba(255, 255, 255, 0.4)",hoverBackground:"rgba(255, 255, 255, 0.6)",activeBackground:"rgba(255, 255, 255, 0.9)"},R6={size:"3rem",gutter:"0.5rem",background:"rgba(255, 255, 255, 0.1)",hoverBackground:"rgba(255, 255, 255, 0.2)",color:"{surface.50}",hoverColor:"{surface.0}",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},T6={size:"1.5rem"},B6={light:{thumbnailNavButton:{hoverBackground:"{surface.100}",color:"{surface.600}",hoverColor:"{surface.700}"},indicatorButton:{background:"{surface.200}",hoverBackground:"{surface.300}"}},dark:{thumbnailNavButton:{hoverBackground:"{surface.700}",color:"{surface.400}",hoverColor:"{surface.0}"},indicatorButton:{background:"{surface.700}",hoverBackground:"{surface.600}"}}},M6={root:v6,navButton:y6,navIcon:w6,thumbnailsContent:k6,thumbnailNavButton:C6,thumbnailNavButtonIcon:S6,caption:$6,indicatorList:x6,indicatorButton:O6,insetIndicatorList:I6,insetIndicatorButton:P6,closeButton:R6,closeButtonIcon:T6,colorScheme:B6},D6={color:"{form.field.icon.color}"},E6={icon:D6},L6={color:"{form.field.float.label.color}",focusColor:"{form.field.float.label.focus.color}",invalidColor:"{form.field.float.label.invalid.color}",transitionDuration:"0.2s",positionX:"{form.field.padding.x}",top:"{form.field.padding.y}",fontSize:"0.75rem",fontWeight:"400"},F6={paddingTop:"1.5rem",paddingBottom:"{form.field.padding.y}"},A6={root:L6,input:F6},z6={transitionDuration:"{transition.duration}"},j6={icon:{size:"1.5rem"},mask:{background:"{mask.background}",color:"{mask.color}"}},V6={position:{left:"auto",right:"1rem",top:"1rem",bottom:"auto"},blur:"8px",background:"rgba(255,255,255,0.1)",borderColor:"rgba(255,255,255,0.2)",borderWidth:"1px",borderRadius:"30px",padding:".5rem",gap:"0.5rem"},H6={hoverBackground:"rgba(255,255,255,0.1)",color:"{surface.50}",hoverColor:"{surface.0}",size:"3rem",iconSize:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},K6={root:z6,preview:j6,toolbar:V6,action:H6},N6={size:"15px",hoverSize:"30px",background:"rgba(255,255,255,0.3)",hoverBackground:"rgba(255,255,255,0.3)",borderColor:"unset",hoverBorderColor:"unset",borderWidth:"0",borderRadius:"50%",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"rgba(255,255,255,0.3)",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},G6={handle:N6},U6={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",gap:"0.5rem"},W6={fontWeight:"500"},_6={size:"1rem"},Y6={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)"},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)"},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)"},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)"},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)"}}},q6={root:U6,text:W6,icon:_6,colorScheme:Y6},Z6={padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{transition.duration}"},X6={hoverBackground:"{content.hover.background}",hoverColor:"{content.hover.color}"},J6={root:Z6,display:X6},Q6={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}"},e3={borderRadius:"{border.radius.sm}"},t3={light:{chip:{focusBackground:"{surface.200}",color:"{surface.800}"}},dark:{chip:{focusBackground:"{surface.700}",color:"{surface.0}"}}},n3={root:Q6,chip:e3,colorScheme:t3},r3={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.icon.color}",borderRadius:"{form.field.border.radius}",padding:"0.5rem",minWidth:"2.5rem"},o3={addon:r3},i3={transitionDuration:"{transition.duration}"},a3={width:"2.5rem",borderRadius:"{form.field.border.radius}",verticalPadding:"{form.field.padding.y}"},l3={light:{button:{background:"transparent",hoverBackground:"{surface.100}",activeBackground:"{surface.200}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.500}",activeColor:"{surface.600}"}},dark:{button:{background:"transparent",hoverBackground:"{surface.800}",activeBackground:"{surface.700}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.border.color}",activeBorderColor:"{form.field.border.color}",color:"{surface.400}",hoverColor:"{surface.300}",activeColor:"{surface.200}"}}},s3={root:i3,button:a3,colorScheme:l3},u3={gap:"0.5rem"},d3={width:"2.5rem",sm:{width:"2rem"},lg:{width:"3rem"}},c3={root:u3,input:d3},f3={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},p3={root:f3},h3={transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},g3={background:"{primary.color}"},m3={background:"{content.border.color}"},b3={color:"{text.muted.color}"},v3={root:h3,value:g3,range:m3,text:b3},y3={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",borderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",shadow:"{form.field.shadow}",borderRadius:"{form.field.border.radius}",transitionDuration:"{form.field.transition.duration}"},w3={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},k3={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},C3={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},S3={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},$3={padding:"{list.option.padding}"},x3={light:{option:{stripedBackground:"{surface.50}"}},dark:{option:{stripedBackground:"{surface.900}"}}},O3={root:y3,list:w3,option:k3,optionGroup:C3,checkmark:S3,emptyMessage:$3,colorScheme:x3},I3={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",verticalOrientation:{padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},horizontalOrientation:{padding:"0.5rem 0.75rem",gap:"0.5rem"},transitionDuration:"{transition.duration}"},P3={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},R3={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},T3={padding:"0",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",shadow:"{overlay.navigation.shadow}",gap:"0.5rem"},B3={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},M3={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background.}",color:"{navigation.submenu.label.color}"},D3={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},E3={borderColor:"{content.border.color}"},L3={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},F3={root:I3,baseItem:P3,item:R3,overlay:T3,submenu:B3,submenuLabel:M3,submenuIcon:D3,separator:E3,mobileButton:L3},A3={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},z3={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},j3={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},V3={padding:"{navigation.submenu.label.padding}",fontWeight:"{navigation.submenu.label.font.weight}",background:"{navigation.submenu.label.background}",color:"{navigation.submenu.label.color}"},H3={borderColor:"{content.border.color}"},K3={root:A3,list:z3,item:j3,submenuLabel:V3,separator:H3},N3={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.5rem 0.75rem",transitionDuration:"{transition.duration}"},G3={borderRadius:"{content.border.radius}",padding:"{navigation.item.padding}"},U3={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},W3={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}",background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",mobileIndent:"1rem",icon:{size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"}},_3={borderColor:"{content.border.color}"},Y3={borderRadius:"50%",size:"1.75rem",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",hoverBackground:"{content.hover.background}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},q3={root:N3,baseItem:G3,item:U3,submenu:W3,separator:_3,mobileButton:Y3},Z3={borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},X3={padding:"0.5rem 0.75rem",gap:"0.5rem",sm:{padding:"0.375rem 0.625rem"},lg:{padding:"0.625rem 0.875rem"}},J3={fontSize:"1rem",fontWeight:"500",sm:{fontSize:"0.875rem"},lg:{fontSize:"1.125rem"}},Q3={size:"1.125rem",sm:{size:"1rem"},lg:{size:"1.25rem"}},e4={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},t4={size:"1rem",sm:{size:"0.875rem"},lg:{size:"1.125rem"}},n4={root:{borderWidth:"1px"}},r4={content:{padding:"0"}},o4={light:{info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}},outlined:{color:"{blue.600}",borderColor:"{blue.600}"},simple:{color:"{blue.600}"}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}},outlined:{color:"{green.600}",borderColor:"{green.600}"},simple:{color:"{green.600}"}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}},outlined:{color:"{yellow.600}",borderColor:"{yellow.600}"},simple:{color:"{yellow.600}"}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}},outlined:{color:"{red.600}",borderColor:"{red.600}"},simple:{color:"{red.600}"}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}},outlined:{color:"{surface.500}",borderColor:"{surface.500}"},simple:{color:"{surface.500}"}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}},outlined:{color:"{surface.950}",borderColor:"{surface.950}"},simple:{color:"{surface.950}"}}},dark:{info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}},outlined:{color:"{blue.500}",borderColor:"{blue.500}"},simple:{color:"{blue.500}"}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}},outlined:{color:"{green.500}",borderColor:"{green.500}"},simple:{color:"{green.500}"}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}},outlined:{color:"{yellow.500}",borderColor:"{yellow.500}"},simple:{color:"{yellow.500}"}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}},outlined:{color:"{red.500}",borderColor:"{red.500}"},simple:{color:"{red.500}"}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}},outlined:{color:"{surface.400}",borderColor:"{surface.400}"},simple:{color:"{surface.400}"}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}},outlined:{color:"{surface.0}",borderColor:"{surface.0}"},simple:{color:"{surface.0}"}}}},i4={root:Z3,content:X3,text:J3,icon:Q3,closeButton:e4,closeIcon:t4,outlined:n4,simple:r4,colorScheme:o4},a4={borderRadius:"{content.border.radius}",gap:"1rem"},l4={background:"{content.border.color}",size:"0.5rem"},s4={gap:"0.5rem"},u4={size:"0.5rem"},d4={size:"1rem"},c4={verticalGap:"0.5rem",horizontalGap:"1rem"},f4={root:a4,meters:l4,label:s4,labelMarker:u4,labelIcon:d4,labelList:c4},p4={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},h4={width:"2.5rem",color:"{form.field.icon.color}"},g4={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},m4={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},b4={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}",gap:"0.5rem"},v4={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},y4={color:"{form.field.icon.color}"},w4={borderRadius:"{border.radius.sm}"},k4={padding:"{list.option.padding}"},C4={root:p4,dropdown:h4,overlay:g4,list:m4,option:b4,optionGroup:v4,chip:w4,clearIcon:y4,emptyMessage:k4},S4={gap:"1.125rem"},$4={gap:"0.5rem"},x4={root:S4,controls:$4},O4={gutter:"0.75rem",transitionDuration:"{transition.duration}"},I4={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{content.border.color}",color:"{content.color}",selectedColor:"{highlight.color}",hoverColor:"{content.hover.color}",padding:"0.75rem 1rem",toggleablePadding:"0.75rem 1rem 1.25rem 1rem",borderRadius:"{content.border.radius}"},P4={background:"{content.background}",hoverBackground:"{content.hover.background}",borderColor:"{content.border.color}",color:"{text.muted.color}",hoverColor:"{text.color}",size:"1.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},R4={color:"{content.border.color}",borderRadius:"{content.border.radius}",height:"24px"},T4={root:O4,node:I4,nodeToggleButton:P4,connector:R4},B4={outline:{width:"2px",color:"{content.background}"}},M4={root:B4},D4={padding:"0.5rem 1rem",gap:"0.25rem",borderRadius:"{content.border.radius}",background:"{content.background}",color:"{content.color}",transitionDuration:"{transition.duration}"},E4={background:"transparent",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}",width:"2.5rem",height:"2.5rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},L4={color:"{text.muted.color}"},F4={maxWidth:"2.5rem"},A4={root:D4,navButton:E4,currentPageReport:L4,jumpToPageInput:F4},z4={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}"},j4={background:"transparent",color:"{text.color}",padding:"1.125rem",borderColor:"{content.border.color}",borderWidth:"0",borderRadius:"0"},V4={padding:"0.375rem 1.125rem"},H4={fontWeight:"600"},K4={padding:"0 1.125rem 1.125rem 1.125rem"},N4={padding:"0 1.125rem 1.125rem 1.125rem"},G4={root:z4,header:j4,toggleableHeader:V4,title:H4,content:K4,footer:N4},U4={gap:"0.5rem",transitionDuration:"{transition.duration}"},W4={background:"{content.background}",borderColor:"{content.border.color}",borderWidth:"1px",color:"{content.color}",padding:"0.25rem 0.25rem",borderRadius:"{content.border.radius}",first:{borderWidth:"1px",topBorderRadius:"{content.border.radius}"},last:{borderWidth:"1px",bottomBorderRadius:"{content.border.radius}"}},_4={focusBackground:"{navigation.item.focus.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",gap:"0.5rem",padding:"{navigation.item.padding}",borderRadius:"{content.border.radius}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}"}},Y4={indent:"1rem"},q4={color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}"},Z4={root:U4,panel:W4,item:_4,submenu:Y4,submenuIcon:q4},X4={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:".75rem"},J4={color:"{form.field.icon.color}"},Q4={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",borderRadius:"{overlay.popover.border.radius}",color:"{overlay.popover.color}",padding:"{overlay.popover.padding}",shadow:"{overlay.popover.shadow}"},e7={gap:"0.5rem"},t7={light:{strength:{weakBackground:"{red.500}",mediumBackground:"{amber.500}",strongBackground:"{green.500}"}},dark:{strength:{weakBackground:"{red.400}",mediumBackground:"{amber.400}",strongBackground:"{green.400}"}}},n7={meter:X4,icon:J4,overlay:Q4,content:e7,colorScheme:t7},r7={gap:"1.125rem"},o7={gap:"0.5rem"},i7={root:r7,controls:o7},a7={background:"{overlay.popover.background}",borderColor:"{overlay.popover.border.color}",color:"{overlay.popover.color}",borderRadius:"{overlay.popover.border.radius}",shadow:"{overlay.popover.shadow}",gutter:"10px",arrowOffset:"1.25rem"},l7={padding:"{overlay.popover.padding}"},s7={root:a7,content:l7},u7={background:"{content.border.color}",borderRadius:"{content.border.radius}",height:"1.25rem"},d7={background:"{primary.color}"},c7={color:"{primary.contrast.color}",fontSize:"0.75rem",fontWeight:"600"},f7={root:u7,value:d7,label:c7},p7={light:{root:{colorOne:"{red.500}",colorTwo:"{blue.500}",colorThree:"{green.500}",colorFour:"{yellow.500}"}},dark:{root:{colorOne:"{red.400}",colorTwo:"{blue.400}",colorThree:"{green.400}",colorFour:"{yellow.400}"}}},h7={colorScheme:p7},g7={width:"1.25rem",height:"1.25rem",background:"{form.field.background}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.border.color}",checkedBorderColor:"{primary.color}",checkedHoverBorderColor:"{primary.hover.color}",checkedFocusBorderColor:"{primary.color}",checkedDisabledBorderColor:"{form.field.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{width:"1rem",height:"1rem"},lg:{width:"1.5rem",height:"1.5rem"}},m7={size:"0.75rem",checkedColor:"{primary.contrast.color}",checkedHoverColor:"{primary.contrast.color}",disabledColor:"{form.field.disabled.color}",sm:{size:"0.5rem"},lg:{size:"1rem"}},b7={root:g7,icon:m7},v7={gap:"0.25rem",transitionDuration:"{transition.duration}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},y7={size:"1rem",color:"{text.muted.color}",hoverColor:"{primary.color}",activeColor:"{primary.color}"},w7={root:v7,icon:y7},k7={light:{root:{background:"rgba(0,0,0,0.1)"}},dark:{root:{background:"rgba(255,255,255,0.3)"}}},C7={colorScheme:k7},S7={transitionDuration:"{transition.duration}"},$7={size:"9px",borderRadius:"{border.radius.sm}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},x7={light:{bar:{background:"{surface.100}"}},dark:{bar:{background:"{surface.800}"}}},O7={root:S7,bar:$7,colorScheme:x7},I7={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},P7={width:"2.5rem",color:"{form.field.icon.color}"},R7={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},T7={padding:"{list.padding}",gap:"{list.gap}",header:{padding:"{list.header.padding}"}},B7={focusBackground:"{list.option.focus.background}",selectedBackground:"{list.option.selected.background}",selectedFocusBackground:"{list.option.selected.focus.background}",color:"{list.option.color}",focusColor:"{list.option.focus.color}",selectedColor:"{list.option.selected.color}",selectedFocusColor:"{list.option.selected.focus.color}",padding:"{list.option.padding}",borderRadius:"{list.option.border.radius}"},M7={background:"{list.option.group.background}",color:"{list.option.group.color}",fontWeight:"{list.option.group.font.weight}",padding:"{list.option.group.padding}"},D7={color:"{form.field.icon.color}"},E7={color:"{list.option.color}",gutterStart:"-0.375rem",gutterEnd:"0.375rem"},L7={padding:"{list.option.padding}"},F7={root:I7,dropdown:P7,overlay:R7,list:T7,option:B7,optionGroup:M7,clearIcon:D7,checkmark:E7,emptyMessage:L7},A7={borderRadius:"{form.field.border.radius}"},z7={light:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}},dark:{root:{invalidBorderColor:"{form.field.invalid.border.color}"}}},j7={root:A7,colorScheme:z7},V7={borderRadius:"{content.border.radius}"},H7={light:{root:{background:"{surface.200}",animationBackground:"rgba(255,255,255,0.4)"}},dark:{root:{background:"rgba(255, 255, 255, 0.06)",animationBackground:"rgba(255, 255, 255, 0.04)"}}},K7={root:V7,colorScheme:H7},N7={transitionDuration:"{transition.duration}"},G7={background:"{content.border.color}",borderRadius:"{content.border.radius}",size:"3px"},U7={background:"{primary.color}"},W7={width:"20px",height:"20px",borderRadius:"50%",background:"{content.border.color}",hoverBackground:"{content.border.color}",content:{borderRadius:"50%",hoverBackground:"{content.background}",width:"16px",height:"16px",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.08), 0px 1px 1px 0px rgba(0, 0, 0, 0.14)"},focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},_7={light:{handle:{content:{background:"{surface.0}"}}},dark:{handle:{content:{background:"{surface.950}"}}}},Y7={root:N7,track:G7,range:U7,handle:W7,colorScheme:_7},q7={gap:"0.5rem",transitionDuration:"{transition.duration}"},Z7={root:q7},X7={borderRadius:"{form.field.border.radius}",roundedBorderRadius:"2rem",raisedShadow:"0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)"},J7={root:X7},Q7={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",transitionDuration:"{transition.duration}"},eS={background:"{content.border.color}"},tS={size:"24px",background:"transparent",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},nS={root:Q7,gutter:eS,handle:tS},rS={transitionDuration:"{transition.duration}"},oS={background:"{content.border.color}",activeBackground:"{primary.color}",margin:"0 0 0 1.625rem",size:"2px"},iS={padding:"0.5rem",gap:"1rem"},aS={padding:"0",borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},lS={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},sS={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},uS={padding:"0.875rem 0.5rem 1.125rem 0.5rem"},dS={background:"{content.background}",color:"{content.color}",padding:"0",indent:"1rem"},cS={root:rS,separator:oS,step:iS,stepHeader:aS,stepTitle:lS,stepNumber:sS,steppanels:uS,steppanel:dS},fS={transitionDuration:"{transition.duration}"},pS={background:"{content.border.color}"},hS={borderRadius:"{content.border.radius}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},gap:"0.5rem"},gS={color:"{text.muted.color}",activeColor:"{primary.color}",fontWeight:"500"},mS={background:"{content.background}",activeBackground:"{content.background}",borderColor:"{content.border.color}",activeBorderColor:"{content.border.color}",color:"{text.muted.color}",activeColor:"{primary.color}",size:"2rem",fontSize:"1.143rem",fontWeight:"500",borderRadius:"50%",shadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"},bS={root:fS,separator:pS,itemLink:hS,itemLabel:gS,itemNumber:mS},vS={transitionDuration:"{transition.duration}"},yS={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},wS={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},kS={color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},CS={height:"1px",bottom:"-1px",background:"{primary.color}"},SS={root:vS,tablist:yS,item:wS,itemIcon:kS,activeBar:CS},$S={transitionDuration:"{transition.duration}"},xS={borderWidth:"0 0 1px 0",background:"{content.background}",borderColor:"{content.border.color}"},OS={background:"transparent",hoverBackground:"transparent",activeBackground:"transparent",borderWidth:"0 0 1px 0",borderColor:"{content.border.color}",hoverBorderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}",padding:"1rem 1.125rem",fontWeight:"600",margin:"0 0 -1px 0",gap:"0.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},IS={background:"{content.background}",color:"{content.color}",padding:"0.875rem 1.125rem 1.125rem 1.125rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"inset {focus.ring.shadow}"}},PS={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",width:"2.5rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},RS={height:"1px",bottom:"-1px",background:"{primary.color}"},TS={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},BS={root:$S,tablist:xS,tab:OS,tabpanel:IS,navButton:PS,activeBar:RS,colorScheme:TS},MS={transitionDuration:"{transition.duration}"},DS={background:"{content.background}",borderColor:"{content.border.color}"},ES={borderColor:"{content.border.color}",activeBorderColor:"{primary.color}",color:"{text.muted.color}",hoverColor:"{text.color}",activeColor:"{primary.color}"},LS={background:"{content.background}",color:"{content.color}"},FS={background:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}"},AS={light:{navButton:{shadow:"0px 0px 10px 50px rgba(255, 255, 255, 0.6)"}},dark:{navButton:{shadow:"0px 0px 10px 50px color-mix(in srgb, {content.background}, transparent 50%)"}}},zS={root:MS,tabList:DS,tab:ES,tabPanel:LS,navButton:FS,colorScheme:AS},jS={fontSize:"0.875rem",fontWeight:"700",padding:"0.25rem 0.5rem",gap:"0.25rem",borderRadius:"{content.border.radius}",roundedBorderRadius:"{border.radius.xl}"},VS={size:"0.75rem"},HS={light:{primary:{background:"{primary.100}",color:"{primary.700}"},secondary:{background:"{surface.100}",color:"{surface.600}"},success:{background:"{green.100}",color:"{green.700}"},info:{background:"{sky.100}",color:"{sky.700}"},warn:{background:"{orange.100}",color:"{orange.700}"},danger:{background:"{red.100}",color:"{red.700}"},contrast:{background:"{surface.950}",color:"{surface.0}"}},dark:{primary:{background:"color-mix(in srgb, {primary.500}, transparent 84%)",color:"{primary.300}"},secondary:{background:"{surface.800}",color:"{surface.300}"},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",color:"{green.300}"},info:{background:"color-mix(in srgb, {sky.500}, transparent 84%)",color:"{sky.300}"},warn:{background:"color-mix(in srgb, {orange.500}, transparent 84%)",color:"{orange.300}"},danger:{background:"color-mix(in srgb, {red.500}, transparent 84%)",color:"{red.300}"},contrast:{background:"{surface.0}",color:"{surface.950}"}}},KS={root:jS,icon:VS,colorScheme:HS},NS={background:"{form.field.background}",borderColor:"{form.field.border.color}",color:"{form.field.color}",height:"18rem",padding:"{form.field.padding.y} {form.field.padding.x}",borderRadius:"{form.field.border.radius}"},GS={gap:"0.25rem"},US={margin:"2px 0"},WS={root:NS,prompt:GS,commandResponse:US},_S={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},YS={root:_S},qS={background:"{content.background}",borderColor:"{content.border.color}",color:"{content.color}",borderRadius:"{content.border.radius}",shadow:"{overlay.navigation.shadow}",transitionDuration:"{transition.duration}"},ZS={padding:"{navigation.list.padding}",gap:"{navigation.list.gap}"},XS={focusBackground:"{navigation.item.focus.background}",activeBackground:"{navigation.item.active.background}",color:"{navigation.item.color}",focusColor:"{navigation.item.focus.color}",activeColor:"{navigation.item.active.color}",padding:"{navigation.item.padding}",borderRadius:"{navigation.item.border.radius}",gap:"{navigation.item.gap}",icon:{color:"{navigation.item.icon.color}",focusColor:"{navigation.item.icon.focus.color}",activeColor:"{navigation.item.icon.active.color}"}},JS={mobileIndent:"1rem"},QS={size:"{navigation.submenu.icon.size}",color:"{navigation.submenu.icon.color}",focusColor:"{navigation.submenu.icon.focus.color}",activeColor:"{navigation.submenu.icon.active.color}"},e9={borderColor:"{content.border.color}"},t9={root:qS,list:ZS,item:XS,submenu:JS,submenuIcon:QS,separator:e9},n9={minHeight:"5rem"},r9={eventContent:{padding:"1rem 0"}},o9={eventContent:{padding:"0 1rem"}},i9={size:"1.125rem",borderRadius:"50%",borderWidth:"2px",background:"{content.background}",borderColor:"{content.border.color}",content:{borderRadius:"50%",size:"0.375rem",background:"{primary.color}",insetShadow:"0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)"}},a9={color:"{content.border.color}",size:"2px"},l9={event:n9,horizontal:r9,vertical:o9,eventMarker:i9,eventConnector:a9},s9={width:"25rem",borderRadius:"{content.border.radius}",borderWidth:"1px",transitionDuration:"{transition.duration}"},u9={size:"1.125rem"},d9={padding:"{overlay.popover.padding}",gap:"0.5rem"},c9={gap:"0.5rem"},f9={fontWeight:"500",fontSize:"1rem"},p9={fontWeight:"500",fontSize:"0.875rem"},h9={width:"1.75rem",height:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",offset:"{focus.ring.offset}"}},g9={size:"1rem"},m9={light:{blur:"1.5px",info:{background:"color-mix(in srgb, {blue.50}, transparent 5%)",borderColor:"{blue.200}",color:"{blue.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"{blue.100}",focusRing:{color:"{blue.600}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.50}, transparent 5%)",borderColor:"{green.200}",color:"{green.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"{green.100}",focusRing:{color:"{green.600}",shadow:"none"}}},warn:{background:"color-mix(in srgb,{yellow.50}, transparent 5%)",borderColor:"{yellow.200}",color:"{yellow.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"{yellow.100}",focusRing:{color:"{yellow.600}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.50}, transparent 5%)",borderColor:"{red.200}",color:"{red.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"{red.100}",focusRing:{color:"{red.600}",shadow:"none"}}},secondary:{background:"{surface.100}",borderColor:"{surface.200}",color:"{surface.600}",detailColor:"{surface.700}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.200}",focusRing:{color:"{surface.600}",shadow:"none"}}},contrast:{background:"{surface.900}",borderColor:"{surface.950}",color:"{surface.50}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.800}",focusRing:{color:"{surface.50}",shadow:"none"}}}},dark:{blur:"10px",info:{background:"color-mix(in srgb, {blue.500}, transparent 84%)",borderColor:"color-mix(in srgb, {blue.700}, transparent 64%)",color:"{blue.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {blue.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{blue.500}",shadow:"none"}}},success:{background:"color-mix(in srgb, {green.500}, transparent 84%)",borderColor:"color-mix(in srgb, {green.700}, transparent 64%)",color:"{green.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {green.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{green.500}",shadow:"none"}}},warn:{background:"color-mix(in srgb, {yellow.500}, transparent 84%)",borderColor:"color-mix(in srgb, {yellow.700}, transparent 64%)",color:"{yellow.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {yellow.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{yellow.500}",shadow:"none"}}},error:{background:"color-mix(in srgb, {red.500}, transparent 84%)",borderColor:"color-mix(in srgb, {red.700}, transparent 64%)",color:"{red.500}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {red.500}, transparent 96%)",closeButton:{hoverBackground:"rgba(255, 255, 255, 0.05)",focusRing:{color:"{red.500}",shadow:"none"}}},secondary:{background:"{surface.800}",borderColor:"{surface.700}",color:"{surface.300}",detailColor:"{surface.0}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.500}, transparent 96%)",closeButton:{hoverBackground:"{surface.700}",focusRing:{color:"{surface.300}",shadow:"none"}}},contrast:{background:"{surface.0}",borderColor:"{surface.100}",color:"{surface.950}",detailColor:"{surface.950}",shadow:"0px 4px 8px 0px color-mix(in srgb, {surface.950}, transparent 96%)",closeButton:{hoverBackground:"{surface.100}",focusRing:{color:"{surface.950}",shadow:"none"}}}}},b9={root:s9,icon:u9,content:d9,text:c9,summary:f9,detail:p9,closeButton:h9,closeIcon:g9,colorScheme:m9},v9={padding:"0.25rem",borderRadius:"{content.border.radius}",gap:"0.5rem",fontWeight:"500",disabledBackground:"{form.field.disabled.background}",disabledBorderColor:"{form.field.disabled.background}",disabledColor:"{form.field.disabled.color}",invalidBorderColor:"{form.field.invalid.border.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",padding:"0.25rem"},lg:{fontSize:"{form.field.lg.font.size}",padding:"0.25rem"}},y9={disabledColor:"{form.field.disabled.color}"},w9={padding:"0.25rem 0.75rem",borderRadius:"{content.border.radius}",checkedShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.02), 0px 1px 2px 0px rgba(0, 0, 0, 0.04)",sm:{padding:"0.25rem 0.75rem"},lg:{padding:"0.25rem 0.75rem"}},k9={light:{root:{background:"{surface.100}",checkedBackground:"{surface.100}",hoverBackground:"{surface.100}",borderColor:"{surface.100}",color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}",checkedBorderColor:"{surface.100}"},content:{checkedBackground:"{surface.0}"},icon:{color:"{surface.500}",hoverColor:"{surface.700}",checkedColor:"{surface.900}"}},dark:{root:{background:"{surface.950}",checkedBackground:"{surface.950}",hoverBackground:"{surface.950}",borderColor:"{surface.950}",color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}",checkedBorderColor:"{surface.950}"},content:{checkedBackground:"{surface.800}"},icon:{color:"{surface.400}",hoverColor:"{surface.300}",checkedColor:"{surface.0}"}}},C9={root:v9,icon:y9,content:w9,colorScheme:k9},S9={width:"2.5rem",height:"1.5rem",borderRadius:"30px",gap:"0.25rem",shadow:"{form.field.shadow}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"},borderWidth:"1px",borderColor:"transparent",hoverBorderColor:"transparent",checkedBorderColor:"transparent",checkedHoverBorderColor:"transparent",invalidBorderColor:"{form.field.invalid.border.color}",transitionDuration:"{form.field.transition.duration}",slideDuration:"0.2s"},$9={borderRadius:"50%",size:"1rem"},x9={light:{root:{background:"{surface.300}",disabledBackground:"{form.field.disabled.background}",hoverBackground:"{surface.400}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.0}",disabledBackground:"{form.field.disabled.color}",hoverBackground:"{surface.0}",checkedBackground:"{surface.0}",checkedHoverBackground:"{surface.0}",color:"{text.muted.color}",hoverColor:"{text.color}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}},dark:{root:{background:"{surface.700}",disabledBackground:"{surface.600}",hoverBackground:"{surface.600}",checkedBackground:"{primary.color}",checkedHoverBackground:"{primary.hover.color}"},handle:{background:"{surface.400}",disabledBackground:"{surface.900}",hoverBackground:"{surface.300}",checkedBackground:"{surface.900}",checkedHoverBackground:"{surface.900}",color:"{surface.900}",hoverColor:"{surface.800}",checkedColor:"{primary.color}",checkedHoverColor:"{primary.hover.color}"}}},O9={root:S9,handle:$9,colorScheme:x9},I9={background:"{content.background}",borderColor:"{content.border.color}",borderRadius:"{content.border.radius}",color:"{content.color}",gap:"0.5rem",padding:"0.75rem"},P9={root:I9},R9={maxWidth:"12.5rem",gutter:"0.25rem",shadow:"{overlay.popover.shadow}",padding:"0.5rem 0.75rem",borderRadius:"{overlay.popover.border.radius}"},T9={light:{root:{background:"{surface.700}",color:"{surface.0}"}},dark:{root:{background:"{surface.700}",color:"{surface.0}"}}},B9={root:R9,colorScheme:T9},M9={background:"{content.background}",color:"{content.color}",padding:"1rem",gap:"2px",indent:"1rem",transitionDuration:"{transition.duration}"},D9={padding:"0.25rem 0.5rem",borderRadius:"{content.border.radius}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{text.color}",hoverColor:"{text.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"},gap:"0.25rem"},E9={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedColor:"{highlight.color}"},L9={borderRadius:"50%",size:"1.75rem",hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",selectedHoverColor:"{primary.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},F9={size:"2rem"},A9={margin:"0 0 0.5rem 0"},z9={root:M9,node:D9,nodeIcon:E9,nodeToggleButton:L9,loadingIcon:F9,filter:A9},j9={background:"{form.field.background}",disabledBackground:"{form.field.disabled.background}",filledBackground:"{form.field.filled.background}",filledHoverBackground:"{form.field.filled.hover.background}",filledFocusBackground:"{form.field.filled.focus.background}",borderColor:"{form.field.border.color}",hoverBorderColor:"{form.field.hover.border.color}",focusBorderColor:"{form.field.focus.border.color}",invalidBorderColor:"{form.field.invalid.border.color}",color:"{form.field.color}",disabledColor:"{form.field.disabled.color}",placeholderColor:"{form.field.placeholder.color}",invalidPlaceholderColor:"{form.field.invalid.placeholder.color}",shadow:"{form.field.shadow}",paddingX:"{form.field.padding.x}",paddingY:"{form.field.padding.y}",borderRadius:"{form.field.border.radius}",focusRing:{width:"{form.field.focus.ring.width}",style:"{form.field.focus.ring.style}",color:"{form.field.focus.ring.color}",offset:"{form.field.focus.ring.offset}",shadow:"{form.field.focus.ring.shadow}"},transitionDuration:"{form.field.transition.duration}",sm:{fontSize:"{form.field.sm.font.size}",paddingX:"{form.field.sm.padding.x}",paddingY:"{form.field.sm.padding.y}"},lg:{fontSize:"{form.field.lg.font.size}",paddingX:"{form.field.lg.padding.x}",paddingY:"{form.field.lg.padding.y}"}},V9={width:"2.5rem",color:"{form.field.icon.color}"},H9={background:"{overlay.select.background}",borderColor:"{overlay.select.border.color}",borderRadius:"{overlay.select.border.radius}",color:"{overlay.select.color}",shadow:"{overlay.select.shadow}"},K9={padding:"{list.padding}"},N9={padding:"{list.option.padding}"},G9={borderRadius:"{border.radius.sm}"},U9={color:"{form.field.icon.color}"},W9={root:j9,dropdown:V9,overlay:H9,tree:K9,emptyMessage:N9,chip:G9,clearIcon:U9},_9={transitionDuration:"{transition.duration}"},Y9={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},q9={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",borderColor:"{treetable.border.color}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",gap:"0.5rem",padding:"0.75rem 1rem",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},Z9={fontWeight:"600"},X9={background:"{content.background}",hoverBackground:"{content.hover.background}",selectedBackground:"{highlight.background}",color:"{content.color}",hoverColor:"{content.hover.color}",selectedColor:"{highlight.color}",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"-1px",shadow:"{focus.ring.shadow}"}},J9={borderColor:"{treetable.border.color}",padding:"0.75rem 1rem",gap:"0.5rem"},Q9={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",padding:"0.75rem 1rem"},e8={fontWeight:"600"},t8={background:"{content.background}",borderColor:"{treetable.border.color}",color:"{content.color}",borderWidth:"0 0 1px 0",padding:"0.75rem 1rem"},n8={width:"0.5rem"},r8={width:"1px",color:"{primary.color}"},o8={color:"{text.muted.color}",hoverColor:"{text.hover.muted.color}",size:"0.875rem"},i8={size:"2rem"},a8={hoverBackground:"{content.hover.background}",selectedHoverBackground:"{content.background}",color:"{text.muted.color}",hoverColor:"{text.color}",selectedHoverColor:"{primary.color}",size:"1.75rem",borderRadius:"50%",focusRing:{width:"{focus.ring.width}",style:"{focus.ring.style}",color:"{focus.ring.color}",offset:"{focus.ring.offset}",shadow:"{focus.ring.shadow}"}},l8={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},s8={borderColor:"{content.border.color}",borderWidth:"0 0 1px 0"},u8={light:{root:{borderColor:"{content.border.color}"},bodyCell:{selectedBorderColor:"{primary.100}"}},dark:{root:{borderColor:"{surface.800}"},bodyCell:{selectedBorderColor:"{primary.900}"}}},d8={root:_9,header:Y9,headerCell:q9,columnTitle:Z9,row:X9,bodyCell:J9,footerCell:Q9,columnFooter:e8,footer:t8,columnResizer:n8,resizeIndicator:r8,sortIcon:o8,loadingIcon:i8,nodeToggleButton:a8,paginatorTop:l8,paginatorBottom:s8,colorScheme:u8},c8={mask:{background:"{content.background}",color:"{text.muted.color}"},icon:{size:"2rem"}},f8={loader:c8};function yo(e){"@babel/helpers - typeof";return yo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yo(e)}function ju(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Vu(e){for(var t=1;t=10'} - - '@babel/helper-string-parser@7.25.9': - resolution: {integrity: sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==} - engines: {node: '>=6.9.0'} - - '@babel/helper-validator-identifier@7.25.9': - resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==} - engines: {node: '>=6.9.0'} - - '@babel/parser@7.26.9': - resolution: {integrity: sha512-81NWa1njQblgZbQHxWHpxxCzNsa3ZwvFqpUg7P+NNUU6f3UU2jBEg4OlF/J6rl8+PQGh1q6/zWScd001YwcA5A==} - engines: {node: '>=6.0.0'} - hasBin: true - - '@babel/types@7.26.9': - resolution: {integrity: sha512-Y3IR1cRnOxOCDvMmNiym7XpXQ93iGDDPHx+Zj+NM+rg0fBaShfQLkg+hKPaZCEvg5N/LeCo4+Rj/i3FuJsIQaw==} - engines: {node: '>=6.9.0'} - - '@esbuild/aix-ppc64@0.25.0': - resolution: {integrity: sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [aix] - - '@esbuild/android-arm64@0.25.0': - resolution: {integrity: sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==} - engines: {node: '>=18'} - cpu: [arm64] - os: [android] - - '@esbuild/android-arm@0.25.0': - resolution: {integrity: sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==} - engines: {node: '>=18'} - cpu: [arm] - os: [android] - - '@esbuild/android-x64@0.25.0': - resolution: {integrity: sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==} - engines: {node: '>=18'} - cpu: [x64] - os: [android] - - '@esbuild/darwin-arm64@0.25.0': - resolution: {integrity: sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==} - engines: {node: '>=18'} - cpu: [arm64] - os: [darwin] - - '@esbuild/darwin-x64@0.25.0': - resolution: {integrity: sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==} - engines: {node: '>=18'} - cpu: [x64] - os: [darwin] - - '@esbuild/freebsd-arm64@0.25.0': - resolution: {integrity: sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==} - engines: {node: '>=18'} - cpu: [arm64] - os: [freebsd] - - '@esbuild/freebsd-x64@0.25.0': - resolution: {integrity: sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==} - engines: {node: '>=18'} - cpu: [x64] - os: [freebsd] - - '@esbuild/linux-arm64@0.25.0': - resolution: {integrity: sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [linux] - - '@esbuild/linux-arm@0.25.0': - resolution: {integrity: sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==} - engines: {node: '>=18'} - cpu: [arm] - os: [linux] - - '@esbuild/linux-ia32@0.25.0': - resolution: {integrity: sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==} - engines: {node: '>=18'} - cpu: [ia32] - os: [linux] - - '@esbuild/linux-loong64@0.25.0': - resolution: {integrity: sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==} - engines: {node: '>=18'} - cpu: [loong64] - os: [linux] - - '@esbuild/linux-mips64el@0.25.0': - resolution: {integrity: sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==} - engines: {node: '>=18'} - cpu: [mips64el] - os: [linux] - - '@esbuild/linux-ppc64@0.25.0': - resolution: {integrity: sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [linux] - - '@esbuild/linux-riscv64@0.25.0': - resolution: {integrity: sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==} - engines: {node: '>=18'} - cpu: [riscv64] - os: [linux] - - '@esbuild/linux-s390x@0.25.0': - resolution: {integrity: sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==} - engines: {node: '>=18'} - cpu: [s390x] - os: [linux] - - '@esbuild/linux-x64@0.25.0': - resolution: {integrity: sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==} - engines: {node: '>=18'} - cpu: [x64] - os: [linux] - - '@esbuild/netbsd-arm64@0.25.0': - resolution: {integrity: sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==} - engines: {node: '>=18'} - cpu: [arm64] - os: [netbsd] - - '@esbuild/netbsd-x64@0.25.0': - resolution: {integrity: sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==} - engines: {node: '>=18'} - cpu: [x64] - os: [netbsd] - - '@esbuild/openbsd-arm64@0.25.0': - resolution: {integrity: sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==} - engines: {node: '>=18'} - cpu: [arm64] - os: [openbsd] - - '@esbuild/openbsd-x64@0.25.0': - resolution: {integrity: sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==} - engines: {node: '>=18'} - cpu: [x64] - os: [openbsd] - - '@esbuild/sunos-x64@0.25.0': - resolution: {integrity: sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==} - engines: {node: '>=18'} - cpu: [x64] - os: [sunos] - - '@esbuild/win32-arm64@0.25.0': - resolution: {integrity: sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==} - engines: {node: '>=18'} - cpu: [arm64] - os: [win32] - - '@esbuild/win32-ia32@0.25.0': - resolution: {integrity: sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==} - engines: {node: '>=18'} - cpu: [ia32] - os: [win32] - - '@esbuild/win32-x64@0.25.0': - resolution: {integrity: sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==} - engines: {node: '>=18'} - cpu: [x64] - os: [win32] - - '@isaacs/cliui@8.0.2': - resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} - engines: {node: '>=12'} - - '@jridgewell/gen-mapping@0.3.8': - resolution: {integrity: sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==} - engines: {node: '>=6.0.0'} - - '@jridgewell/resolve-uri@3.1.2': - resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} - engines: {node: '>=6.0.0'} - - '@jridgewell/set-array@1.2.1': - resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} - engines: {node: '>=6.0.0'} - - '@jridgewell/sourcemap-codec@1.5.0': - resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} - - '@jridgewell/trace-mapping@0.3.25': - resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} - - '@nodelib/fs.scandir@2.1.5': - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} - - '@nodelib/fs.stat@2.0.5': - resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} - engines: {node: '>= 8'} - - '@nodelib/fs.walk@1.2.8': - resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} - engines: {node: '>= 8'} - - '@pkgjs/parseargs@0.11.0': - resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} - engines: {node: '>=14'} - - '@primeuix/styled@0.5.0': - resolution: {integrity: sha512-k5CTQ+10cXIXxZTep7sktmYe8lJkjmUaFVDAc1OCsWTJR+bhBy/s6zWIatGljVtuf3RmTSxtlrHQeFLjPmdUNQ==} - engines: {node: '>=12.11.0'} - - '@primeuix/styles@1.0.0': - resolution: {integrity: sha512-j/TlbqihLNMP37zFNjxac5dTRaQEf5Ldrv0P7NwKigCCc/+MI5j4MddxDw1LnxkGhWCJ1Gjbt9uwyQteWtSv7A==} - - '@primeuix/themes@1.0.0': - resolution: {integrity: sha512-fxUgcAP9H6FeytbE8c4QvRt8aBnoyZJqvtnnVwHT8PHr1dNSnC1nYKGrXpebcx3SpNy9Hp9oVidGsl6u61+pXQ==} - - '@primeuix/utils@0.5.1': - resolution: {integrity: sha512-/bYirtF3gJOGrRQfQ5tUyQOLEria7wg/UCqvpIydTAxLmj/UWgWwh2kAjYVp49eldm1+2sk4+TDkbAz8XcPpew==} - engines: {node: '>=12.11.0'} - - '@primevue/core@4.3.1': - resolution: {integrity: sha512-Z2JfYk7I477qdlWHH5yiqUK0cwNe5joZJLwFtSEFkmBi/ocXvkGNAYk8XYNCz6UTDePUQSHKseKJxMkFHlfRtw==} - engines: {node: '>=12.11.0'} - peerDependencies: - vue: ^3.5.0 - - '@primevue/icons@4.3.1': - resolution: {integrity: sha512-67GFk/NdbVDuPx4tlbO01BBWujLiZTJJJSce63dvLr7082YukPfrQq4Kru+y5Qmrfkq0uaP1I3+Ut9Skr6ATfQ==} - engines: {node: '>=12.11.0'} - - '@primevue/themes@4.3.1': - resolution: {integrity: sha512-aC7V5BkMoMxEMoq7hIf+PNEaY/AS5EAgVg96Gf3bvV1JqZ36hSQ2CV1SfuNsWeEvIPF/u4L5qvjwC/LGjT4qgw==} - engines: {node: '>=12.11.0'} - deprecated: This package is deprecated. Use @primeuix/themes instead. - - '@rollup/rollup-android-arm-eabi@4.34.9': - resolution: {integrity: sha512-qZdlImWXur0CFakn2BJ2znJOdqYZKiedEPEVNTBrpfPjc/YuTGcaYZcdmNFTkUj3DU0ZM/AElcM8Ybww3xVLzA==} - cpu: [arm] - os: [android] - - '@rollup/rollup-android-arm64@4.34.9': - resolution: {integrity: sha512-4KW7P53h6HtJf5Y608T1ISKvNIYLWRKMvfnG0c44M6In4DQVU58HZFEVhWINDZKp7FZps98G3gxwC1sb0wXUUg==} - cpu: [arm64] - os: [android] - - '@rollup/rollup-darwin-arm64@4.34.9': - resolution: {integrity: sha512-0CY3/K54slrzLDjOA7TOjN1NuLKERBgk9nY5V34mhmuu673YNb+7ghaDUs6N0ujXR7fz5XaS5Aa6d2TNxZd0OQ==} - cpu: [arm64] - os: [darwin] - - '@rollup/rollup-darwin-x64@4.34.9': - resolution: {integrity: sha512-eOojSEAi/acnsJVYRxnMkPFqcxSMFfrw7r2iD9Q32SGkb/Q9FpUY1UlAu1DH9T7j++gZ0lHjnm4OyH2vCI7l7Q==} - cpu: [x64] - os: [darwin] - - '@rollup/rollup-freebsd-arm64@4.34.9': - resolution: {integrity: sha512-2lzjQPJbN5UnHm7bHIUKFMulGTQwdvOkouJDpPysJS+QFBGDJqcfh+CxxtG23Ik/9tEvnebQiylYoazFMAgrYw==} - cpu: [arm64] - os: [freebsd] - - '@rollup/rollup-freebsd-x64@4.34.9': - resolution: {integrity: sha512-SLl0hi2Ah2H7xQYd6Qaiu01kFPzQ+hqvdYSoOtHYg/zCIFs6t8sV95kaoqjzjFwuYQLtOI0RZre/Ke0nPaQV+g==} - cpu: [x64] - os: [freebsd] - - '@rollup/rollup-linux-arm-gnueabihf@4.34.9': - resolution: {integrity: sha512-88I+D3TeKItrw+Y/2ud4Tw0+3CxQ2kLgu3QvrogZ0OfkmX/DEppehus7L3TS2Q4lpB+hYyxhkQiYPJ6Mf5/dPg==} - cpu: [arm] - os: [linux] - - '@rollup/rollup-linux-arm-musleabihf@4.34.9': - resolution: {integrity: sha512-3qyfWljSFHi9zH0KgtEPG4cBXHDFhwD8kwg6xLfHQ0IWuH9crp005GfoUUh/6w9/FWGBwEHg3lxK1iHRN1MFlA==} - cpu: [arm] - os: [linux] - - '@rollup/rollup-linux-arm64-gnu@4.34.9': - resolution: {integrity: sha512-6TZjPHjKZUQKmVKMUowF3ewHxctrRR09eYyvT5eFv8w/fXarEra83A2mHTVJLA5xU91aCNOUnM+DWFMSbQ0Nxw==} - cpu: [arm64] - os: [linux] - - '@rollup/rollup-linux-arm64-musl@4.34.9': - resolution: {integrity: sha512-LD2fytxZJZ6xzOKnMbIpgzFOuIKlxVOpiMAXawsAZ2mHBPEYOnLRK5TTEsID6z4eM23DuO88X0Tq1mErHMVq0A==} - cpu: [arm64] - os: [linux] - - '@rollup/rollup-linux-loongarch64-gnu@4.34.9': - resolution: {integrity: sha512-dRAgTfDsn0TE0HI6cmo13hemKpVHOEyeciGtvlBTkpx/F65kTvShtY/EVyZEIfxFkV5JJTuQ9tP5HGBS0hfxIg==} - cpu: [loong64] - os: [linux] - - '@rollup/rollup-linux-powerpc64le-gnu@4.34.9': - resolution: {integrity: sha512-PHcNOAEhkoMSQtMf+rJofwisZqaU8iQ8EaSps58f5HYll9EAY5BSErCZ8qBDMVbq88h4UxaNPlbrKqfWP8RfJA==} - cpu: [ppc64] - os: [linux] - - '@rollup/rollup-linux-riscv64-gnu@4.34.9': - resolution: {integrity: sha512-Z2i0Uy5G96KBYKjeQFKbbsB54xFOL5/y1P5wNBsbXB8yE+At3oh0DVMjQVzCJRJSfReiB2tX8T6HUFZ2k8iaKg==} - cpu: [riscv64] - os: [linux] - - '@rollup/rollup-linux-s390x-gnu@4.34.9': - resolution: {integrity: sha512-U+5SwTMoeYXoDzJX5dhDTxRltSrIax8KWwfaaYcynuJw8mT33W7oOgz0a+AaXtGuvhzTr2tVKh5UO8GVANTxyQ==} - cpu: [s390x] - os: [linux] - - '@rollup/rollup-linux-x64-gnu@4.34.9': - resolution: {integrity: sha512-FwBHNSOjUTQLP4MG7y6rR6qbGw4MFeQnIBrMe161QGaQoBQLqSUEKlHIiVgF3g/mb3lxlxzJOpIBhaP+C+KP2A==} - cpu: [x64] - os: [linux] - - '@rollup/rollup-linux-x64-musl@4.34.9': - resolution: {integrity: sha512-cYRpV4650z2I3/s6+5/LONkjIz8MBeqrk+vPXV10ORBnshpn8S32bPqQ2Utv39jCiDcO2eJTuSlPXpnvmaIgRA==} - cpu: [x64] - os: [linux] - - '@rollup/rollup-win32-arm64-msvc@4.34.9': - resolution: {integrity: sha512-z4mQK9dAN6byRA/vsSgQiPeuO63wdiDxZ9yg9iyX2QTzKuQM7T4xlBoeUP/J8uiFkqxkcWndWi+W7bXdPbt27Q==} - cpu: [arm64] - os: [win32] - - '@rollup/rollup-win32-ia32-msvc@4.34.9': - resolution: {integrity: sha512-KB48mPtaoHy1AwDNkAJfHXvHp24H0ryZog28spEs0V48l3H1fr4i37tiyHsgKZJnCmvxsbATdZGBpbmxTE3a9w==} - cpu: [ia32] - os: [win32] - - '@rollup/rollup-win32-x64-msvc@4.34.9': - resolution: {integrity: sha512-AyleYRPU7+rgkMWbEh71fQlrzRfeP6SyMnRf9XX4fCdDPAJumdSBqYEcWPMzVQ4ScAl7E4oFfK0GUVn77xSwbw==} - cpu: [x64] - os: [win32] - - '@types/estree@1.0.6': - resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} - - '@vitejs/plugin-vue@5.2.1': - resolution: {integrity: sha512-cxh314tzaWwOLqVes2gnnCtvBDcM1UMdn+iFR+UjAn411dPT3tOmqrJjbMd7koZpMAmBM/GqeV4n9ge7JSiJJQ==} - engines: {node: ^18.0.0 || >=20.0.0} - peerDependencies: - vite: ^5.0.0 || ^6.0.0 - vue: ^3.2.25 - - '@volar/language-core@2.4.12': - resolution: {integrity: sha512-RLrFdXEaQBWfSnYGVxvR2WrO6Bub0unkdHYIdC31HzIEqATIuuhRRzYu76iGPZ6OtA4Au1SnW0ZwIqPP217YhA==} - - '@volar/source-map@2.4.12': - resolution: {integrity: sha512-bUFIKvn2U0AWojOaqf63ER0N/iHIBYZPpNGogfLPQ68F5Eet6FnLlyho7BS0y2HJ1jFhSif7AcuTx1TqsCzRzw==} - - '@volar/typescript@2.4.12': - resolution: {integrity: sha512-HJB73OTJDgPc80K30wxi3if4fSsZZAOScbj2fcicMuOPoOkcf9NNAINb33o+DzhBdF9xTKC1gnPmIRDous5S0g==} - - '@vue/compiler-core@3.5.13': - resolution: {integrity: sha512-oOdAkwqUfW1WqpwSYJce06wvt6HljgY3fGeM9NcVA1HaYOij3mZG9Rkysn0OHuyUAGMbEbARIpsG+LPVlBJ5/Q==} - - '@vue/compiler-dom@3.5.13': - resolution: {integrity: sha512-ZOJ46sMOKUjO3e94wPdCzQ6P1Lx/vhp2RSvfaab88Ajexs0AHeV0uasYhi99WPaogmBlRHNRuly8xV75cNTMDA==} - - '@vue/compiler-sfc@3.5.13': - resolution: {integrity: sha512-6VdaljMpD82w6c2749Zhf5T9u5uLBWKnVue6XWxprDobftnletJ8+oel7sexFfM3qIxNmVE7LSFGTpv6obNyaQ==} - - '@vue/compiler-ssr@3.5.13': - resolution: {integrity: sha512-wMH6vrYHxQl/IybKJagqbquvxpWCuVYpoUJfCqFZwa/JY1GdATAQ+TgVtgrwwMZ0D07QhA99rs/EAAWfvG6KpA==} - - '@vue/compiler-vue2@2.7.16': - resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==} - - '@vue/devtools-api@6.6.4': - resolution: {integrity: sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==} - - '@vue/language-core@2.2.8': - resolution: {integrity: sha512-rrzB0wPGBvcwaSNRriVWdNAbHQWSf0NlGqgKHK5mEkXpefjUlVRP62u03KvwZpvKVjRnBIQ/Lwre+Mx9N6juUQ==} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - - '@vue/reactivity@3.5.13': - resolution: {integrity: sha512-NaCwtw8o48B9I6L1zl2p41OHo/2Z4wqYGGIK1Khu5T7yxrn+ATOixn/Udn2m+6kZKB/J7cuT9DbWWhRxqixACg==} - - '@vue/runtime-core@3.5.13': - resolution: {integrity: sha512-Fj4YRQ3Az0WTZw1sFe+QDb0aXCerigEpw418pw1HBUKFtnQHWzwojaukAs2X/c9DQz4MQ4bsXTGlcpGxU/RCIw==} - - '@vue/runtime-dom@3.5.13': - resolution: {integrity: sha512-dLaj94s93NYLqjLiyFzVs9X6dWhTdAlEAciC3Moq7gzAc13VJUdCnjjRurNM6uTLFATRHexHCTu/Xp3eW6yoog==} - - '@vue/server-renderer@3.5.13': - resolution: {integrity: sha512-wAi4IRJV/2SAW3htkTlB+dHeRmpTiVIK1OGLWV1yeStVSebSQQOwGwIq0D3ZIoBj2C2qpgz5+vX9iEBkTdk5YA==} - peerDependencies: - vue: 3.5.13 - - '@vue/shared@3.5.13': - resolution: {integrity: sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ==} - - '@vue/tsconfig@0.7.0': - resolution: {integrity: sha512-ku2uNz5MaZ9IerPPUyOHzyjhXoX2kVJaVf7hL315DC17vS6IiZRmmCPfggNbU16QTvM80+uYYy3eYJB59WCtvg==} - peerDependencies: - typescript: 5.x - vue: ^3.4.0 - peerDependenciesMeta: - typescript: - optional: true - vue: - optional: true - - alien-signals@1.0.4: - resolution: {integrity: sha512-DJqqQD3XcsaQcQ1s+iE2jDUZmmQpXwHiR6fCAim/w87luaW+vmLY8fMlrdkmRwzaFXhkxf3rqPCR59tKVv1MDw==} - - ansi-regex@5.0.1: - resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} - engines: {node: '>=8'} - - ansi-regex@6.1.0: - resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==} - engines: {node: '>=12'} - - ansi-styles@4.3.0: - resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} - engines: {node: '>=8'} - - ansi-styles@6.2.1: - resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} - engines: {node: '>=12'} - - any-promise@1.3.0: - resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} - - anymatch@3.1.3: - resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} - engines: {node: '>= 8'} - - arg@5.0.2: - resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} - - autoprefixer@10.4.20: - resolution: {integrity: sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==} - engines: {node: ^10 || ^12 || >=14} - hasBin: true - peerDependencies: - postcss: ^8.1.0 - - balanced-match@1.0.2: - resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - - binary-extensions@2.3.0: - resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} - engines: {node: '>=8'} - - brace-expansion@2.0.1: - resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} - - braces@3.0.3: - resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} - engines: {node: '>=8'} - - browserslist@4.24.4: - resolution: {integrity: sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==} - engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} - hasBin: true - - camelcase-css@2.0.1: - resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} - engines: {node: '>= 6'} - - caniuse-lite@1.0.30001702: - resolution: {integrity: sha512-LoPe/D7zioC0REI5W73PeR1e1MLCipRGq/VkovJnd6Df+QVqT+vT33OXCp8QUd7kA7RZrHWxb1B36OQKI/0gOA==} - - chokidar@3.6.0: - resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} - engines: {node: '>= 8.10.0'} - - color-convert@2.0.1: - resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} - engines: {node: '>=7.0.0'} - - color-name@1.1.4: - resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} - - commander@4.1.1: - resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} - engines: {node: '>= 6'} - - cross-spawn@7.0.6: - resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} - engines: {node: '>= 8'} - - cssesc@3.0.0: - resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} - engines: {node: '>=4'} - hasBin: true - - csstype@3.1.3: - resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} - - de-indent@1.0.2: - resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==} - - didyoumean@1.2.2: - resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} - - dlv@1.1.3: - resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==} - - eastasianwidth@0.2.0: - resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - - electron-to-chromium@1.5.113: - resolution: {integrity: sha512-wjT2O4hX+wdWPJ76gWSkMhcHAV2PTMX+QetUCPYEdCIe+cxmgzzSSiGRCKW8nuh4mwKZlpv0xvoW7OF2X+wmHg==} - - emoji-regex@8.0.0: - resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - - emoji-regex@9.2.2: - resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} - - entities@4.5.0: - resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} - engines: {node: '>=0.12'} - - esbuild@0.25.0: - resolution: {integrity: sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==} - engines: {node: '>=18'} - hasBin: true - - escalade@3.2.0: - resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} - engines: {node: '>=6'} - - estree-walker@2.0.2: - resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} - - fast-glob@3.3.3: - resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==} - engines: {node: '>=8.6.0'} - - fastq@1.19.1: - resolution: {integrity: sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==} - - fill-range@7.1.1: - resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} - engines: {node: '>=8'} - - foreground-child@3.3.1: - resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==} - engines: {node: '>=14'} - - fraction.js@4.3.7: - resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==} - - fsevents@2.3.3: - resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - - function-bind@1.1.2: - resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} - - glob-parent@5.1.2: - resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} - engines: {node: '>= 6'} - - glob-parent@6.0.2: - resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} - engines: {node: '>=10.13.0'} - - glob@10.4.5: - resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} - hasBin: true - - hasown@2.0.2: - resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} - engines: {node: '>= 0.4'} - - he@1.2.0: - resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} - hasBin: true - - install@0.13.0: - resolution: {integrity: sha512-zDml/jzr2PKU9I8J/xyZBQn8rPCAY//UOYNmR01XwNwyfhEWObo2SWfSl1+0tm1u6PhxLwDnfsT/6jB7OUxqFA==} - engines: {node: '>= 0.10'} - - is-binary-path@2.1.0: - resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} - engines: {node: '>=8'} - - is-core-module@2.16.1: - resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==} - engines: {node: '>= 0.4'} - - is-extglob@2.1.1: - resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} - engines: {node: '>=0.10.0'} - - is-fullwidth-code-point@3.0.0: - resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} - engines: {node: '>=8'} - - is-glob@4.0.3: - resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} - engines: {node: '>=0.10.0'} - - is-number@7.0.0: - resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} - engines: {node: '>=0.12.0'} - - isexe@2.0.0: - resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - - jackspeak@3.4.3: - resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} - - jiti@1.21.7: - resolution: {integrity: sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==} - hasBin: true - - lilconfig@3.1.3: - resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==} - engines: {node: '>=14'} - - lines-and-columns@1.2.4: - resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - - lru-cache@10.4.3: - resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} - - magic-string@0.30.17: - resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==} - - merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} - - micromatch@4.0.8: - resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} - engines: {node: '>=8.6'} - - minimatch@9.0.5: - resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} - engines: {node: '>=16 || 14 >=14.17'} - - minipass@7.1.2: - resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} - engines: {node: '>=16 || 14 >=14.17'} - - muggle-string@0.4.1: - resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==} - - mz@2.7.0: - resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - - nanoid@3.3.9: - resolution: {integrity: sha512-SppoicMGpZvbF1l3z4x7No3OlIjP7QJvC9XR7AhZr1kL133KHnKPztkKDc+Ir4aJ/1VhTySrtKhrsycmrMQfvg==} - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true - - node-releases@2.0.19: - resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} - - normalize-path@3.0.0: - resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} - engines: {node: '>=0.10.0'} - - normalize-range@0.1.2: - resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} - engines: {node: '>=0.10.0'} - - object-assign@4.1.1: - resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} - engines: {node: '>=0.10.0'} - - object-hash@3.0.0: - resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} - engines: {node: '>= 6'} - - package-json-from-dist@1.0.1: - resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} - - path-browserify@1.0.1: - resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} - - path-key@3.1.1: - resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} - engines: {node: '>=8'} - - path-parse@1.0.7: - resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} - - path-scurry@1.11.1: - resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} - engines: {node: '>=16 || 14 >=14.18'} - - picocolors@1.1.1: - resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} - - picomatch@2.3.1: - resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} - engines: {node: '>=8.6'} - - pify@2.3.0: - resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} - engines: {node: '>=0.10.0'} - - pinia@2.3.1: - resolution: {integrity: sha512-khUlZSwt9xXCaTbbxFYBKDc/bWAGWJjOgvxETwkTN7KRm66EeT1ZdZj6i2ceh9sP2Pzqsbc704r2yngBrxBVug==} - peerDependencies: - typescript: '>=4.4.4' - vue: ^2.7.0 || ^3.5.11 - peerDependenciesMeta: - typescript: - optional: true - - pirates@4.0.6: - resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} - engines: {node: '>= 6'} - - postcss-import@15.1.0: - resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} - engines: {node: '>=14.0.0'} - peerDependencies: - postcss: ^8.0.0 - - postcss-js@4.0.1: - resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} - engines: {node: ^12 || ^14 || >= 16} - peerDependencies: - postcss: ^8.4.21 - - postcss-load-config@4.0.2: - resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==} - engines: {node: '>= 14'} - peerDependencies: - postcss: '>=8.0.9' - ts-node: '>=9.0.0' - peerDependenciesMeta: - postcss: - optional: true - ts-node: - optional: true - - postcss-nested@6.2.0: - resolution: {integrity: sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==} - engines: {node: '>=12.0'} - peerDependencies: - postcss: ^8.2.14 - - postcss-selector-parser@6.1.2: - resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==} - engines: {node: '>=4'} - - postcss-value-parser@4.2.0: - resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - - postcss@8.5.3: - resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==} - engines: {node: ^10 || ^12 || >=14} - - primeicons@7.0.0: - resolution: {integrity: sha512-jK3Et9UzwzTsd6tzl2RmwrVY/b8raJ3QZLzoDACj+oTJ0oX7L9Hy+XnVwgo4QVKlKpnP/Ur13SXV/pVh4LzaDw==} - - primevue@4.3.1: - resolution: {integrity: sha512-NSUpcWf2WpXgqOvjgXu5zQM3E5UEXoA2iXLi6xV+h1SBZ1TmgNfrjme96KRzfUY2RBsI0rTSUuPv0I+fXvtcmA==} - engines: {node: '>=12.11.0'} - - queue-microtask@1.2.3: - resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - - read-cache@1.0.0: - resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} - - readdirp@3.6.0: - resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} - engines: {node: '>=8.10.0'} - - resolve@1.22.10: - resolution: {integrity: sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==} - engines: {node: '>= 0.4'} - hasBin: true - - reusify@1.1.0: - resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==} - engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - - rollup@4.34.9: - resolution: {integrity: sha512-nF5XYqWWp9hx/LrpC8sZvvvmq0TeTjQgaZHYmAgwysT9nh8sWnZhBnM8ZyVbbJFIQBLwHDNoMqsBZBbUo4U8sQ==} - engines: {node: '>=18.0.0', npm: '>=8.0.0'} - hasBin: true - - run-parallel@1.2.0: - resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} - - shebang-command@2.0.0: - resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} - engines: {node: '>=8'} - - shebang-regex@3.0.0: - resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} - engines: {node: '>=8'} - - signal-exit@4.1.0: - resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} - engines: {node: '>=14'} - - source-map-js@1.2.1: - resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} - engines: {node: '>=0.10.0'} - - string-width@4.2.3: - resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} - engines: {node: '>=8'} - - string-width@5.1.2: - resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} - engines: {node: '>=12'} - - strip-ansi@6.0.1: - resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} - engines: {node: '>=8'} - - strip-ansi@7.1.0: - resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} - engines: {node: '>=12'} - - sucrase@3.35.0: - resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==} - engines: {node: '>=16 || 14 >=14.17'} - hasBin: true - - supports-preserve-symlinks-flag@1.0.0: - resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} - engines: {node: '>= 0.4'} - - tailwindcss@3.4.17: - resolution: {integrity: sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==} - engines: {node: '>=14.0.0'} - hasBin: true - - thenify-all@1.6.0: - resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} - engines: {node: '>=0.8'} - - thenify@3.3.1: - resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} - - to-regex-range@5.0.1: - resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} - engines: {node: '>=8.0'} - - ts-interface-checker@0.1.13: - resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - - typescript@5.6.3: - resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} - engines: {node: '>=14.17'} - hasBin: true - - update-browserslist-db@1.1.3: - resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==} - hasBin: true - peerDependencies: - browserslist: '>= 4.21.0' - - util-deprecate@1.0.2: - resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - - vite@6.2.1: - resolution: {integrity: sha512-n2GnqDb6XPhlt9B8olZPrgMD/es/Nd1RdChF6CBD/fHW6pUyUTt2sQW2fPRX5GiD9XEa6+8A6A4f2vT6pSsE7Q==} - engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} - hasBin: true - peerDependencies: - '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 - jiti: '>=1.21.0' - less: '*' - lightningcss: ^1.21.0 - sass: '*' - sass-embedded: '*' - stylus: '*' - sugarss: '*' - terser: ^5.16.0 - tsx: ^4.8.1 - yaml: ^2.4.2 - peerDependenciesMeta: - '@types/node': - optional: true - jiti: - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - sass-embedded: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - tsx: - optional: true - yaml: - optional: true - - vscode-uri@3.1.0: - resolution: {integrity: sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==} - - vue-demi@0.14.10: - resolution: {integrity: sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==} - engines: {node: '>=12'} - hasBin: true - peerDependencies: - '@vue/composition-api': ^1.0.0-rc.1 - vue: ^3.0.0-0 || ^2.6.0 - peerDependenciesMeta: - '@vue/composition-api': - optional: true - - vue-tsc@2.2.8: - resolution: {integrity: sha512-jBYKBNFADTN+L+MdesNX/TB3XuDSyaWynKMDgR+yCSln0GQ9Tfb7JS2lr46s2LiFUT1WsmfWsSvIElyxzOPqcQ==} - hasBin: true - peerDependencies: - typescript: '>=5.0.0' - - vue@3.5.13: - resolution: {integrity: sha512-wmeiSMxkZCSc+PM2w2VRsOYAZC8GdipNFRTsLSfodVqI9mbejKeXEGr8SckuLnrQPGe3oJN5c3K0vpoU9q/wCQ==} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - - which@2.0.2: - resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} - engines: {node: '>= 8'} - hasBin: true - - wrap-ansi@7.0.0: - resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} - engines: {node: '>=10'} - - wrap-ansi@8.1.0: - resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} - engines: {node: '>=12'} - - yaml@2.7.0: - resolution: {integrity: sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==} - engines: {node: '>= 14'} - hasBin: true - -snapshots: - - '@alloc/quick-lru@5.2.0': {} - - '@babel/helper-string-parser@7.25.9': {} - - '@babel/helper-validator-identifier@7.25.9': {} - - '@babel/parser@7.26.9': - dependencies: - '@babel/types': 7.26.9 - - '@babel/types@7.26.9': - dependencies: - '@babel/helper-string-parser': 7.25.9 - '@babel/helper-validator-identifier': 7.25.9 - - '@esbuild/aix-ppc64@0.25.0': - optional: true - - '@esbuild/android-arm64@0.25.0': - optional: true - - '@esbuild/android-arm@0.25.0': - optional: true - - '@esbuild/android-x64@0.25.0': - optional: true - - '@esbuild/darwin-arm64@0.25.0': - optional: true - - '@esbuild/darwin-x64@0.25.0': - optional: true - - '@esbuild/freebsd-arm64@0.25.0': - optional: true - - '@esbuild/freebsd-x64@0.25.0': - optional: true - - '@esbuild/linux-arm64@0.25.0': - optional: true - - '@esbuild/linux-arm@0.25.0': - optional: true - - '@esbuild/linux-ia32@0.25.0': - optional: true - - '@esbuild/linux-loong64@0.25.0': - optional: true - - '@esbuild/linux-mips64el@0.25.0': - optional: true - - '@esbuild/linux-ppc64@0.25.0': - optional: true - - '@esbuild/linux-riscv64@0.25.0': - optional: true - - '@esbuild/linux-s390x@0.25.0': - optional: true - - '@esbuild/linux-x64@0.25.0': - optional: true - - '@esbuild/netbsd-arm64@0.25.0': - optional: true - - '@esbuild/netbsd-x64@0.25.0': - optional: true - - '@esbuild/openbsd-arm64@0.25.0': - optional: true - - '@esbuild/openbsd-x64@0.25.0': - optional: true - - '@esbuild/sunos-x64@0.25.0': - optional: true - - '@esbuild/win32-arm64@0.25.0': - optional: true - - '@esbuild/win32-ia32@0.25.0': - optional: true - - '@esbuild/win32-x64@0.25.0': - optional: true - - '@isaacs/cliui@8.0.2': - dependencies: - string-width: 5.1.2 - string-width-cjs: string-width@4.2.3 - strip-ansi: 7.1.0 - strip-ansi-cjs: strip-ansi@6.0.1 - wrap-ansi: 8.1.0 - wrap-ansi-cjs: wrap-ansi@7.0.0 - - '@jridgewell/gen-mapping@0.3.8': - dependencies: - '@jridgewell/set-array': 1.2.1 - '@jridgewell/sourcemap-codec': 1.5.0 - '@jridgewell/trace-mapping': 0.3.25 - - '@jridgewell/resolve-uri@3.1.2': {} - - '@jridgewell/set-array@1.2.1': {} - - '@jridgewell/sourcemap-codec@1.5.0': {} - - '@jridgewell/trace-mapping@0.3.25': - dependencies: - '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.0 - - '@nodelib/fs.scandir@2.1.5': - dependencies: - '@nodelib/fs.stat': 2.0.5 - run-parallel: 1.2.0 - - '@nodelib/fs.stat@2.0.5': {} - - '@nodelib/fs.walk@1.2.8': - dependencies: - '@nodelib/fs.scandir': 2.1.5 - fastq: 1.19.1 - - '@pkgjs/parseargs@0.11.0': - optional: true - - '@primeuix/styled@0.5.0': - dependencies: - '@primeuix/utils': 0.5.1 - - '@primeuix/styles@1.0.0': - dependencies: - '@primeuix/styled': 0.5.0 - - '@primeuix/themes@1.0.0': - dependencies: - '@primeuix/styled': 0.5.0 - - '@primeuix/utils@0.5.1': {} - - '@primevue/core@4.3.1(vue@3.5.13(typescript@5.6.3))': - dependencies: - '@primeuix/styled': 0.5.0 - '@primeuix/utils': 0.5.1 - vue: 3.5.13(typescript@5.6.3) - - '@primevue/icons@4.3.1(vue@3.5.13(typescript@5.6.3))': - dependencies: - '@primeuix/utils': 0.5.1 - '@primevue/core': 4.3.1(vue@3.5.13(typescript@5.6.3)) - transitivePeerDependencies: - - vue - - '@primevue/themes@4.3.1': - dependencies: - '@primeuix/styled': 0.5.0 - '@primeuix/themes': 1.0.0 - - '@rollup/rollup-android-arm-eabi@4.34.9': - optional: true - - '@rollup/rollup-android-arm64@4.34.9': - optional: true - - '@rollup/rollup-darwin-arm64@4.34.9': - optional: true - - '@rollup/rollup-darwin-x64@4.34.9': - optional: true - - '@rollup/rollup-freebsd-arm64@4.34.9': - optional: true - - '@rollup/rollup-freebsd-x64@4.34.9': - optional: true - - '@rollup/rollup-linux-arm-gnueabihf@4.34.9': - optional: true - - '@rollup/rollup-linux-arm-musleabihf@4.34.9': - optional: true - - '@rollup/rollup-linux-arm64-gnu@4.34.9': - optional: true - - '@rollup/rollup-linux-arm64-musl@4.34.9': - optional: true - - '@rollup/rollup-linux-loongarch64-gnu@4.34.9': - optional: true - - '@rollup/rollup-linux-powerpc64le-gnu@4.34.9': - optional: true - - '@rollup/rollup-linux-riscv64-gnu@4.34.9': - optional: true - - '@rollup/rollup-linux-s390x-gnu@4.34.9': - optional: true - - '@rollup/rollup-linux-x64-gnu@4.34.9': - optional: true - - '@rollup/rollup-linux-x64-musl@4.34.9': - optional: true - - '@rollup/rollup-win32-arm64-msvc@4.34.9': - optional: true - - '@rollup/rollup-win32-ia32-msvc@4.34.9': - optional: true - - '@rollup/rollup-win32-x64-msvc@4.34.9': - optional: true - - '@types/estree@1.0.6': {} - - '@vitejs/plugin-vue@5.2.1(vite@6.2.1(jiti@1.21.7)(yaml@2.7.0))(vue@3.5.13(typescript@5.6.3))': - dependencies: - vite: 6.2.1(jiti@1.21.7)(yaml@2.7.0) - vue: 3.5.13(typescript@5.6.3) - - '@volar/language-core@2.4.12': - dependencies: - '@volar/source-map': 2.4.12 - - '@volar/source-map@2.4.12': {} - - '@volar/typescript@2.4.12': - dependencies: - '@volar/language-core': 2.4.12 - path-browserify: 1.0.1 - vscode-uri: 3.1.0 - - '@vue/compiler-core@3.5.13': - dependencies: - '@babel/parser': 7.26.9 - '@vue/shared': 3.5.13 - entities: 4.5.0 - estree-walker: 2.0.2 - source-map-js: 1.2.1 - - '@vue/compiler-dom@3.5.13': - dependencies: - '@vue/compiler-core': 3.5.13 - '@vue/shared': 3.5.13 - - '@vue/compiler-sfc@3.5.13': - dependencies: - '@babel/parser': 7.26.9 - '@vue/compiler-core': 3.5.13 - '@vue/compiler-dom': 3.5.13 - '@vue/compiler-ssr': 3.5.13 - '@vue/shared': 3.5.13 - estree-walker: 2.0.2 - magic-string: 0.30.17 - postcss: 8.5.3 - source-map-js: 1.2.1 - - '@vue/compiler-ssr@3.5.13': - dependencies: - '@vue/compiler-dom': 3.5.13 - '@vue/shared': 3.5.13 - - '@vue/compiler-vue2@2.7.16': - dependencies: - de-indent: 1.0.2 - he: 1.2.0 - - '@vue/devtools-api@6.6.4': {} - - '@vue/language-core@2.2.8(typescript@5.6.3)': - dependencies: - '@volar/language-core': 2.4.12 - '@vue/compiler-dom': 3.5.13 - '@vue/compiler-vue2': 2.7.16 - '@vue/shared': 3.5.13 - alien-signals: 1.0.4 - minimatch: 9.0.5 - muggle-string: 0.4.1 - path-browserify: 1.0.1 - optionalDependencies: - typescript: 5.6.3 - - '@vue/reactivity@3.5.13': - dependencies: - '@vue/shared': 3.5.13 - - '@vue/runtime-core@3.5.13': - dependencies: - '@vue/reactivity': 3.5.13 - '@vue/shared': 3.5.13 - - '@vue/runtime-dom@3.5.13': - dependencies: - '@vue/reactivity': 3.5.13 - '@vue/runtime-core': 3.5.13 - '@vue/shared': 3.5.13 - csstype: 3.1.3 - - '@vue/server-renderer@3.5.13(vue@3.5.13(typescript@5.6.3))': - dependencies: - '@vue/compiler-ssr': 3.5.13 - '@vue/shared': 3.5.13 - vue: 3.5.13(typescript@5.6.3) - - '@vue/shared@3.5.13': {} - - '@vue/tsconfig@0.7.0(typescript@5.6.3)(vue@3.5.13(typescript@5.6.3))': - optionalDependencies: - typescript: 5.6.3 - vue: 3.5.13(typescript@5.6.3) - - alien-signals@1.0.4: {} - - ansi-regex@5.0.1: {} - - ansi-regex@6.1.0: {} - - ansi-styles@4.3.0: - dependencies: - color-convert: 2.0.1 - - ansi-styles@6.2.1: {} - - any-promise@1.3.0: {} - - anymatch@3.1.3: - dependencies: - normalize-path: 3.0.0 - picomatch: 2.3.1 - - arg@5.0.2: {} - - autoprefixer@10.4.20(postcss@8.5.3): - dependencies: - browserslist: 4.24.4 - caniuse-lite: 1.0.30001702 - fraction.js: 4.3.7 - normalize-range: 0.1.2 - picocolors: 1.1.1 - postcss: 8.5.3 - postcss-value-parser: 4.2.0 - - balanced-match@1.0.2: {} - - binary-extensions@2.3.0: {} - - brace-expansion@2.0.1: - dependencies: - balanced-match: 1.0.2 - - braces@3.0.3: - dependencies: - fill-range: 7.1.1 - - browserslist@4.24.4: - dependencies: - caniuse-lite: 1.0.30001702 - electron-to-chromium: 1.5.113 - node-releases: 2.0.19 - update-browserslist-db: 1.1.3(browserslist@4.24.4) - - camelcase-css@2.0.1: {} - - caniuse-lite@1.0.30001702: {} - - chokidar@3.6.0: - dependencies: - anymatch: 3.1.3 - braces: 3.0.3 - glob-parent: 5.1.2 - is-binary-path: 2.1.0 - is-glob: 4.0.3 - normalize-path: 3.0.0 - readdirp: 3.6.0 - optionalDependencies: - fsevents: 2.3.3 - - color-convert@2.0.1: - dependencies: - color-name: 1.1.4 - - color-name@1.1.4: {} - - commander@4.1.1: {} - - cross-spawn@7.0.6: - dependencies: - path-key: 3.1.1 - shebang-command: 2.0.0 - which: 2.0.2 - - cssesc@3.0.0: {} - - csstype@3.1.3: {} - - de-indent@1.0.2: {} - - didyoumean@1.2.2: {} - - dlv@1.1.3: {} - - eastasianwidth@0.2.0: {} - - electron-to-chromium@1.5.113: {} - - emoji-regex@8.0.0: {} - - emoji-regex@9.2.2: {} - - entities@4.5.0: {} - - esbuild@0.25.0: - optionalDependencies: - '@esbuild/aix-ppc64': 0.25.0 - '@esbuild/android-arm': 0.25.0 - '@esbuild/android-arm64': 0.25.0 - '@esbuild/android-x64': 0.25.0 - '@esbuild/darwin-arm64': 0.25.0 - '@esbuild/darwin-x64': 0.25.0 - '@esbuild/freebsd-arm64': 0.25.0 - '@esbuild/freebsd-x64': 0.25.0 - '@esbuild/linux-arm': 0.25.0 - '@esbuild/linux-arm64': 0.25.0 - '@esbuild/linux-ia32': 0.25.0 - '@esbuild/linux-loong64': 0.25.0 - '@esbuild/linux-mips64el': 0.25.0 - '@esbuild/linux-ppc64': 0.25.0 - '@esbuild/linux-riscv64': 0.25.0 - '@esbuild/linux-s390x': 0.25.0 - '@esbuild/linux-x64': 0.25.0 - '@esbuild/netbsd-arm64': 0.25.0 - '@esbuild/netbsd-x64': 0.25.0 - '@esbuild/openbsd-arm64': 0.25.0 - '@esbuild/openbsd-x64': 0.25.0 - '@esbuild/sunos-x64': 0.25.0 - '@esbuild/win32-arm64': 0.25.0 - '@esbuild/win32-ia32': 0.25.0 - '@esbuild/win32-x64': 0.25.0 - - escalade@3.2.0: {} - - estree-walker@2.0.2: {} - - fast-glob@3.3.3: - dependencies: - '@nodelib/fs.stat': 2.0.5 - '@nodelib/fs.walk': 1.2.8 - glob-parent: 5.1.2 - merge2: 1.4.1 - micromatch: 4.0.8 - - fastq@1.19.1: - dependencies: - reusify: 1.1.0 - - fill-range@7.1.1: - dependencies: - to-regex-range: 5.0.1 - - foreground-child@3.3.1: - dependencies: - cross-spawn: 7.0.6 - signal-exit: 4.1.0 - - fraction.js@4.3.7: {} - - fsevents@2.3.3: - optional: true - - function-bind@1.1.2: {} - - glob-parent@5.1.2: - dependencies: - is-glob: 4.0.3 - - glob-parent@6.0.2: - dependencies: - is-glob: 4.0.3 - - glob@10.4.5: - dependencies: - foreground-child: 3.3.1 - jackspeak: 3.4.3 - minimatch: 9.0.5 - minipass: 7.1.2 - package-json-from-dist: 1.0.1 - path-scurry: 1.11.1 - - hasown@2.0.2: - dependencies: - function-bind: 1.1.2 - - he@1.2.0: {} - - install@0.13.0: {} - - is-binary-path@2.1.0: - dependencies: - binary-extensions: 2.3.0 - - is-core-module@2.16.1: - dependencies: - hasown: 2.0.2 - - is-extglob@2.1.1: {} - - is-fullwidth-code-point@3.0.0: {} - - is-glob@4.0.3: - dependencies: - is-extglob: 2.1.1 - - is-number@7.0.0: {} - - isexe@2.0.0: {} - - jackspeak@3.4.3: - dependencies: - '@isaacs/cliui': 8.0.2 - optionalDependencies: - '@pkgjs/parseargs': 0.11.0 - - jiti@1.21.7: {} - - lilconfig@3.1.3: {} - - lines-and-columns@1.2.4: {} - - lru-cache@10.4.3: {} - - magic-string@0.30.17: - dependencies: - '@jridgewell/sourcemap-codec': 1.5.0 - - merge2@1.4.1: {} - - micromatch@4.0.8: - dependencies: - braces: 3.0.3 - picomatch: 2.3.1 - - minimatch@9.0.5: - dependencies: - brace-expansion: 2.0.1 - - minipass@7.1.2: {} - - muggle-string@0.4.1: {} - - mz@2.7.0: - dependencies: - any-promise: 1.3.0 - object-assign: 4.1.1 - thenify-all: 1.6.0 - - nanoid@3.3.9: {} - - node-releases@2.0.19: {} - - normalize-path@3.0.0: {} - - normalize-range@0.1.2: {} - - object-assign@4.1.1: {} - - object-hash@3.0.0: {} - - package-json-from-dist@1.0.1: {} - - path-browserify@1.0.1: {} - - path-key@3.1.1: {} - - path-parse@1.0.7: {} - - path-scurry@1.11.1: - dependencies: - lru-cache: 10.4.3 - minipass: 7.1.2 - - picocolors@1.1.1: {} - - picomatch@2.3.1: {} - - pify@2.3.0: {} - - pinia@2.3.1(typescript@5.6.3)(vue@3.5.13(typescript@5.6.3)): - dependencies: - '@vue/devtools-api': 6.6.4 - vue: 3.5.13(typescript@5.6.3) - vue-demi: 0.14.10(vue@3.5.13(typescript@5.6.3)) - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - '@vue/composition-api' - - pirates@4.0.6: {} - - postcss-import@15.1.0(postcss@8.5.3): - dependencies: - postcss: 8.5.3 - postcss-value-parser: 4.2.0 - read-cache: 1.0.0 - resolve: 1.22.10 - - postcss-js@4.0.1(postcss@8.5.3): - dependencies: - camelcase-css: 2.0.1 - postcss: 8.5.3 - - postcss-load-config@4.0.2(postcss@8.5.3): - dependencies: - lilconfig: 3.1.3 - yaml: 2.7.0 - optionalDependencies: - postcss: 8.5.3 - - postcss-nested@6.2.0(postcss@8.5.3): - dependencies: - postcss: 8.5.3 - postcss-selector-parser: 6.1.2 - - postcss-selector-parser@6.1.2: - dependencies: - cssesc: 3.0.0 - util-deprecate: 1.0.2 - - postcss-value-parser@4.2.0: {} - - postcss@8.5.3: - dependencies: - nanoid: 3.3.9 - picocolors: 1.1.1 - source-map-js: 1.2.1 - - primeicons@7.0.0: {} - - primevue@4.3.1(vue@3.5.13(typescript@5.6.3)): - dependencies: - '@primeuix/styled': 0.5.0 - '@primeuix/styles': 1.0.0 - '@primeuix/utils': 0.5.1 - '@primevue/core': 4.3.1(vue@3.5.13(typescript@5.6.3)) - '@primevue/icons': 4.3.1(vue@3.5.13(typescript@5.6.3)) - transitivePeerDependencies: - - vue - - queue-microtask@1.2.3: {} - - read-cache@1.0.0: - dependencies: - pify: 2.3.0 - - readdirp@3.6.0: - dependencies: - picomatch: 2.3.1 - - resolve@1.22.10: - dependencies: - is-core-module: 2.16.1 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - - reusify@1.1.0: {} - - rollup@4.34.9: - dependencies: - '@types/estree': 1.0.6 - optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.34.9 - '@rollup/rollup-android-arm64': 4.34.9 - '@rollup/rollup-darwin-arm64': 4.34.9 - '@rollup/rollup-darwin-x64': 4.34.9 - '@rollup/rollup-freebsd-arm64': 4.34.9 - '@rollup/rollup-freebsd-x64': 4.34.9 - '@rollup/rollup-linux-arm-gnueabihf': 4.34.9 - '@rollup/rollup-linux-arm-musleabihf': 4.34.9 - '@rollup/rollup-linux-arm64-gnu': 4.34.9 - '@rollup/rollup-linux-arm64-musl': 4.34.9 - '@rollup/rollup-linux-loongarch64-gnu': 4.34.9 - '@rollup/rollup-linux-powerpc64le-gnu': 4.34.9 - '@rollup/rollup-linux-riscv64-gnu': 4.34.9 - '@rollup/rollup-linux-s390x-gnu': 4.34.9 - '@rollup/rollup-linux-x64-gnu': 4.34.9 - '@rollup/rollup-linux-x64-musl': 4.34.9 - '@rollup/rollup-win32-arm64-msvc': 4.34.9 - '@rollup/rollup-win32-ia32-msvc': 4.34.9 - '@rollup/rollup-win32-x64-msvc': 4.34.9 - fsevents: 2.3.3 - - run-parallel@1.2.0: - dependencies: - queue-microtask: 1.2.3 - - shebang-command@2.0.0: - dependencies: - shebang-regex: 3.0.0 - - shebang-regex@3.0.0: {} - - signal-exit@4.1.0: {} - - source-map-js@1.2.1: {} - - string-width@4.2.3: - dependencies: - emoji-regex: 8.0.0 - is-fullwidth-code-point: 3.0.0 - strip-ansi: 6.0.1 - - string-width@5.1.2: - dependencies: - eastasianwidth: 0.2.0 - emoji-regex: 9.2.2 - strip-ansi: 7.1.0 - - strip-ansi@6.0.1: - dependencies: - ansi-regex: 5.0.1 - - strip-ansi@7.1.0: - dependencies: - ansi-regex: 6.1.0 - - sucrase@3.35.0: - dependencies: - '@jridgewell/gen-mapping': 0.3.8 - commander: 4.1.1 - glob: 10.4.5 - lines-and-columns: 1.2.4 - mz: 2.7.0 - pirates: 4.0.6 - ts-interface-checker: 0.1.13 - - supports-preserve-symlinks-flag@1.0.0: {} - - tailwindcss@3.4.17: - dependencies: - '@alloc/quick-lru': 5.2.0 - arg: 5.0.2 - chokidar: 3.6.0 - didyoumean: 1.2.2 - dlv: 1.1.3 - fast-glob: 3.3.3 - glob-parent: 6.0.2 - is-glob: 4.0.3 - jiti: 1.21.7 - lilconfig: 3.1.3 - micromatch: 4.0.8 - normalize-path: 3.0.0 - object-hash: 3.0.0 - picocolors: 1.1.1 - postcss: 8.5.3 - postcss-import: 15.1.0(postcss@8.5.3) - postcss-js: 4.0.1(postcss@8.5.3) - postcss-load-config: 4.0.2(postcss@8.5.3) - postcss-nested: 6.2.0(postcss@8.5.3) - postcss-selector-parser: 6.1.2 - resolve: 1.22.10 - sucrase: 3.35.0 - transitivePeerDependencies: - - ts-node - - thenify-all@1.6.0: - dependencies: - thenify: 3.3.1 - - thenify@3.3.1: - dependencies: - any-promise: 1.3.0 - - to-regex-range@5.0.1: - dependencies: - is-number: 7.0.0 - - ts-interface-checker@0.1.13: {} - - typescript@5.6.3: {} - - update-browserslist-db@1.1.3(browserslist@4.24.4): - dependencies: - browserslist: 4.24.4 - escalade: 3.2.0 - picocolors: 1.1.1 - - util-deprecate@1.0.2: {} - - vite@6.2.1(jiti@1.21.7)(yaml@2.7.0): - dependencies: - esbuild: 0.25.0 - postcss: 8.5.3 - rollup: 4.34.9 - optionalDependencies: - fsevents: 2.3.3 - jiti: 1.21.7 - yaml: 2.7.0 - - vscode-uri@3.1.0: {} - - vue-demi@0.14.10(vue@3.5.13(typescript@5.6.3)): - dependencies: - vue: 3.5.13(typescript@5.6.3) - - vue-tsc@2.2.8(typescript@5.6.3): - dependencies: - '@volar/typescript': 2.4.12 - '@vue/language-core': 2.2.8(typescript@5.6.3) - typescript: 5.6.3 - - vue@3.5.13(typescript@5.6.3): - dependencies: - '@vue/compiler-dom': 3.5.13 - '@vue/compiler-sfc': 3.5.13 - '@vue/runtime-dom': 3.5.13 - '@vue/server-renderer': 3.5.13(vue@3.5.13(typescript@5.6.3)) - '@vue/shared': 3.5.13 - optionalDependencies: - typescript: 5.6.3 - - which@2.0.2: - dependencies: - isexe: 2.0.0 - - wrap-ansi@7.0.0: - dependencies: - ansi-styles: 4.3.0 - string-width: 4.2.3 - strip-ansi: 6.0.1 - - wrap-ansi@8.1.0: - dependencies: - ansi-styles: 6.2.1 - string-width: 5.1.2 - strip-ansi: 7.1.0 - - yaml@2.7.0: {} diff --git a/frontend/src/author/AuthorScheme.vue b/frontend/src/author/AuthorScheme.vue deleted file mode 100644 index 163dba0..0000000 --- a/frontend/src/author/AuthorScheme.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/frontend/src/author/author.service.ts b/frontend/src/author/author.service.ts deleted file mode 100644 index 6caba15..0000000 --- a/frontend/src/author/author.service.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { GetAll, Create, Delete, GetById, Update, Count } from "../../bindings/app/internal/services/authorservice.ts" -import type { Author } from "../../bindings/app/internal/services/models.ts" -import type { IService } from "../types/service.type.ts" - -export default class AuthorService implements IService { - async read(id: number) { - return await GetById(id) - } - - async readAll() { - return await GetAll() as Author[] - } - - async create(item: Author) { - await Create(item) - } - - async delete(id: number) { - return await Delete(id) - } - async update(item: Author) { - await Update(item) - } - async count() { - return await Count() - } -} diff --git a/node_modules/.modules.yaml b/node_modules/.modules.yaml deleted file mode 100644 index 6a3fbba..0000000 --- a/node_modules/.modules.yaml +++ /dev/null @@ -1,20 +0,0 @@ -hoistPattern: - - '*' -hoistedDependencies: {} -included: - dependencies: true - devDependencies: true - optionalDependencies: true -injectedDeps: {} -layoutVersion: 5 -nodeLinker: isolated -packageManager: pnpm@10.6.1 -pendingBuilds: [] -prunedAt: Fri, 07 Mar 2025 14:29:12 GMT -publicHoistPattern: [] -registries: - default: https://registry.npmjs.org/ -skipped: [] -storeDir: C:\Users\ckovl\AppData\Local\pnpm\store\v10 -virtualStoreDir: C:\Users\ckovl\OneDrive\Документы\boilerplate\node_modules\.pnpm -virtualStoreDirMaxLength: 60 diff --git a/node_modules/.pnpm-workspace-state.json b/node_modules/.pnpm-workspace-state.json deleted file mode 100644 index a19d7b7..0000000 --- a/node_modules/.pnpm-workspace-state.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "lastValidatedTimestamp": 1741357752976, - "projects": {}, - "pnpmfileExists": false, - "settings": { - "autoInstallPeers": true, - "dedupeDirectDeps": false, - "dedupeInjectedDeps": true, - "dedupePeerDependents": true, - "dev": true, - "excludeLinksFromLockfile": false, - "hoistPattern": [ - "*" - ], - "hoistWorkspacePackages": true, - "injectWorkspacePackages": false, - "linkWorkspacePackages": false, - "nodeLinker": "isolated", - "optional": true, - "preferWorkspacePackages": false, - "production": true, - "publicHoistPattern": [] - }, - "filteredInstall": false -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/application.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/application.js deleted file mode 100644 index a017d4a..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/application.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -const call = newRuntimeCaller(objectNames.Application); -const HideMethod = 0; -const ShowMethod = 1; -const QuitMethod = 2; -/** - * Hides a certain method by calling the HideMethod function. - */ -export function Hide() { - return call(HideMethod); -} -/** - * Calls the ShowMethod and returns the result. - */ -export function Show() { - return call(ShowMethod); -} -/** - * Calls the QuitMethod to terminate the program. - */ -export function Quit() { - return call(QuitMethod); -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/browser.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/browser.js deleted file mode 100644 index 6339890..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/browser.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -const call = newRuntimeCaller(objectNames.Browser); -const BrowserOpenURL = 0; -/** - * Open a browser window to the given URL. - * - * @param url - The URL to open - */ -export function OpenURL(url) { - return call(BrowserOpenURL, { url: url.toString() }); -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/callable.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/callable.js deleted file mode 100644 index c382735..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/callable.js +++ /dev/null @@ -1,144 +0,0 @@ -// Source: https://github.com/inspect-js/is-callable -// The MIT License (MIT) -// -// Copyright (c) 2015 Jordan Harband -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -var fnToStr = Function.prototype.toString; -var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply; -var badArrayLike; -var isCallableMarker; -if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') { - try { - badArrayLike = Object.defineProperty({}, 'length', { - get: function () { - throw isCallableMarker; - } - }); - isCallableMarker = {}; - // eslint-disable-next-line no-throw-literal - reflectApply(function () { throw 42; }, null, badArrayLike); - } - catch (_) { - if (_ !== isCallableMarker) { - reflectApply = null; - } - } -} -else { - reflectApply = null; -} -var constructorRegex = /^\s*class\b/; -var isES6ClassFn = function isES6ClassFunction(value) { - try { - var fnStr = fnToStr.call(value); - return constructorRegex.test(fnStr); - } - catch (e) { - return false; // not a function - } -}; -var tryFunctionObject = function tryFunctionToStr(value) { - try { - if (isES6ClassFn(value)) { - return false; - } - fnToStr.call(value); - return true; - } - catch (e) { - return false; - } -}; -var toStr = Object.prototype.toString; -var objectClass = '[object Object]'; -var fnClass = '[object Function]'; -var genClass = '[object GeneratorFunction]'; -var ddaClass = '[object HTMLAllCollection]'; // IE 11 -var ddaClass2 = '[object HTML document.all class]'; -var ddaClass3 = '[object HTMLCollection]'; // IE 9-10 -var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag` -var isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing -var isDDA = function isDocumentDotAll() { return false; }; -if (typeof document === 'object') { - // Firefox 3 canonicalizes DDA to undefined when it's not accessed directly - var all = document.all; - if (toStr.call(all) === toStr.call(document.all)) { - isDDA = function isDocumentDotAll(value) { - /* globals document: false */ - // in IE 6-8, typeof document.all is "object" and it's truthy - if ((isIE68 || !value) && (typeof value === 'undefined' || typeof value === 'object')) { - try { - var str = toStr.call(value); - return (str === ddaClass - || str === ddaClass2 - || str === ddaClass3 // opera 12.16 - || str === objectClass // IE 6-8 - ) && value('') == null; // eslint-disable-line eqeqeq - } - catch (e) { /**/ } - } - return false; - }; - } -} -function isCallableRefApply(value) { - if (isDDA(value)) { - return true; - } - if (!value) { - return false; - } - if (typeof value !== 'function' && typeof value !== 'object') { - return false; - } - try { - reflectApply(value, null, badArrayLike); - } - catch (e) { - if (e !== isCallableMarker) { - return false; - } - } - return !isES6ClassFn(value) && tryFunctionObject(value); -} -function isCallableNoRefApply(value) { - if (isDDA(value)) { - return true; - } - if (!value) { - return false; - } - if (typeof value !== 'function' && typeof value !== 'object') { - return false; - } - if (hasToStringTag) { - return tryFunctionObject(value); - } - if (isES6ClassFn(value)) { - return false; - } - var strClass = toStr.call(value); - if (strClass !== fnClass && strClass !== genClass && !(/^\[object HTML/).test(strClass)) { - return false; - } - return tryFunctionObject(value); -} -; -export default reflectApply ? isCallableRefApply : isCallableNoRefApply; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/calls.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/calls.js deleted file mode 100644 index a6777fa..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/calls.js +++ /dev/null @@ -1,194 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { CancellablePromise } from "./cancellable.js"; -import { newRuntimeCaller, objectNames } from "./runtime.js"; -import { nanoid } from "./nanoid.js"; -// Setup -window._wails = window._wails || {}; -window._wails.callResultHandler = resultHandler; -window._wails.callErrorHandler = errorHandler; -const call = newRuntimeCaller(objectNames.Call); -const cancelCall = newRuntimeCaller(objectNames.CancelCall); -const callResponses = new Map(); -const CallBinding = 0; -const CancelMethod = 0; -/** - * Exception class that will be thrown in case the bound method returns an error. - * The value of the {@link RuntimeError#name} property is "RuntimeError". - */ -export class RuntimeError extends Error { - /** - * Constructs a new RuntimeError instance. - * @param message - The error message. - * @param options - Options to be forwarded to the Error constructor. - */ - constructor(message, options) { - super(message, options); - this.name = "RuntimeError"; - } -} -/** - * Handles the result of a call request. - * - * @param id - The id of the request to handle the result for. - * @param data - The result data of the request. - * @param isJSON - Indicates whether the data is JSON or not. - */ -function resultHandler(id, data, isJSON) { - const resolvers = getAndDeleteResponse(id); - if (!resolvers) { - return; - } - if (!data) { - resolvers.resolve(undefined); - } - else if (!isJSON) { - resolvers.resolve(data); - } - else { - try { - resolvers.resolve(JSON.parse(data)); - } - catch (err) { - resolvers.reject(new TypeError("could not parse result: " + err.message, { cause: err })); - } - } -} -/** - * Handles the error from a call request. - * - * @param id - The id of the promise handler. - * @param data - The error data to reject the promise handler with. - * @param isJSON - Indicates whether the data is JSON or not. - */ -function errorHandler(id, data, isJSON) { - const resolvers = getAndDeleteResponse(id); - if (!resolvers) { - return; - } - if (!isJSON) { - resolvers.reject(new Error(data)); - } - else { - let error; - try { - error = JSON.parse(data); - } - catch (err) { - resolvers.reject(new TypeError("could not parse error: " + err.message, { cause: err })); - return; - } - let options = {}; - if (error.cause) { - options.cause = error.cause; - } - let exception; - switch (error.kind) { - case "ReferenceError": - exception = new ReferenceError(error.message, options); - break; - case "TypeError": - exception = new TypeError(error.message, options); - break; - case "RuntimeError": - exception = new RuntimeError(error.message, options); - break; - default: - exception = new Error(error.message, options); - break; - } - resolvers.reject(exception); - } -} -/** - * Retrieves and removes the response associated with the given ID from the callResponses map. - * - * @param id - The ID of the response to be retrieved and removed. - * @returns The response object associated with the given ID, if any. - */ -function getAndDeleteResponse(id) { - const response = callResponses.get(id); - callResponses.delete(id); - return response; -} -/** - * Generates a unique ID using the nanoid library. - * - * @returns A unique ID that does not exist in the callResponses set. - */ -function generateID() { - let result; - do { - result = nanoid(); - } while (callResponses.has(result)); - return result; -} -/** - * Call a bound method according to the given call options. - * - * In case of failure, the returned promise will reject with an exception - * among ReferenceError (unknown method), TypeError (wrong argument count or type), - * {@link RuntimeError} (method returned an error), or other (network or internal errors). - * The exception might have a "cause" field with the value returned - * by the application- or service-level error marshaling functions. - * - * @param options - A method call descriptor. - * @returns The result of the call. - */ -export function Call(options) { - const id = generateID(); - const result = CancellablePromise.withResolvers(); - callResponses.set(id, { resolve: result.resolve, reject: result.reject }); - const request = call(CallBinding, Object.assign({ "call-id": id }, options)); - let running = false; - request.then(() => { - running = true; - }, (err) => { - callResponses.delete(id); - result.reject(err); - }); - const cancel = () => { - callResponses.delete(id); - return cancelCall(CancelMethod, { "call-id": id }).catch((err) => { - console.error("Error while requesting binding call cancellation:", err); - }); - }; - result.oncancelled = () => { - if (running) { - return cancel(); - } - else { - return request.then(cancel); - } - }; - return result.promise; -} -/** - * Calls a bound method by name with the specified arguments. - * See {@link Call} for details. - * - * @param methodName - The name of the method in the format 'package.struct.method'. - * @param args - The arguments to pass to the method. - * @returns The result of the method call. - */ -export function ByName(methodName, ...args) { - return Call({ methodName, args }); -} -/** - * Calls a method by its numeric ID with the specified arguments. - * See {@link Call} for details. - * - * @param methodID - The ID of the method to call. - * @param args - The arguments to pass to the method. - * @return The result of the method call. - */ -export function ByID(methodID, ...args) { - return Call({ methodID, args }); -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/cancellable.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/cancellable.js deleted file mode 100644 index 834cb94..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/cancellable.js +++ /dev/null @@ -1,792 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -var _a; -import isCallable from "./callable.js"; -/** - * Exception class that will be used as rejection reason - * in case a {@link CancellablePromise} is cancelled successfully. - * - * The value of the {@link name} property is the string `"CancelError"`. - * The value of the {@link cause} property is the cause passed to the cancel method, if any. - */ -export class CancelError extends Error { - /** - * Constructs a new `CancelError` instance. - * @param message - The error message. - * @param options - Options to be forwarded to the Error constructor. - */ - constructor(message, options) { - super(message, options); - this.name = "CancelError"; - } -} -/** - * Exception class that will be reported as an unhandled rejection - * in case a {@link CancellablePromise} rejects after being cancelled, - * or when the `oncancelled` callback throws or rejects. - * - * The value of the {@link name} property is the string `"CancelledRejectionError"`. - * The value of the {@link cause} property is the reason the promise rejected with. - * - * Because the original promise was cancelled, - * a wrapper promise will be passed to the unhandled rejection listener instead. - * The {@link promise} property holds a reference to the original promise. - */ -export class CancelledRejectionError extends Error { - /** - * Constructs a new `CancelledRejectionError` instance. - * @param promise - The promise that caused the error originally. - * @param reason - The rejection reason. - * @param info - An optional informative message specifying the circumstances in which the error was thrown. - * Defaults to the string `"Unhandled rejection in cancelled promise."`. - */ - constructor(promise, reason, info) { - super((info !== null && info !== void 0 ? info : "Unhandled rejection in cancelled promise.") + " Reason: " + errorMessage(reason), { cause: reason }); - this.promise = promise; - this.name = "CancelledRejectionError"; - } -} -// Private field names. -const barrierSym = Symbol("barrier"); -const cancelImplSym = Symbol("cancelImpl"); -const species = (_a = Symbol.species) !== null && _a !== void 0 ? _a : Symbol("speciesPolyfill"); -/** - * A promise with an attached method for cancelling long-running operations (see {@link CancellablePromise#cancel}). - * Cancellation can optionally be bound to an {@link AbortSignal} - * for better composability (see {@link CancellablePromise#cancelOn}). - * - * Cancelling a pending promise will result in an immediate rejection - * with an instance of {@link CancelError} as reason, - * but whoever started the promise will be responsible - * for actually aborting the underlying operation. - * To this purpose, the constructor and all chaining methods - * accept optional cancellation callbacks. - * - * If a `CancellablePromise` still resolves after having been cancelled, - * the result will be discarded. If it rejects, the reason - * will be reported as an unhandled rejection, - * wrapped in a {@link CancelledRejectionError} instance. - * To facilitate the handling of cancellation requests, - * cancelled `CancellablePromise`s will _not_ report unhandled `CancelError`s - * whose `cause` field is the same as the one with which the current promise was cancelled. - * - * All usual promise methods are defined and return a `CancellablePromise` - * whose cancel method will cancel the parent operation as well, propagating the cancellation reason - * upwards through promise chains. - * Conversely, cancelling a promise will not automatically cancel dependent promises downstream: - * ```ts - * let root = new CancellablePromise((resolve, reject) => { ... }); - * let child1 = root.then(() => { ... }); - * let child2 = child1.then(() => { ... }); - * let child3 = root.catch(() => { ... }); - * child1.cancel(); // Cancels child1 and root, but not child2 or child3 - * ``` - * Cancelling a promise that has already settled is safe and has no consequence. - * - * The `cancel` method returns a promise that _always fulfills_ - * after the whole chain has processed the cancel request - * and all attached callbacks up to that moment have run. - * - * All ES2024 promise methods (static and instance) are defined on CancellablePromise, - * but actual availability may vary with OS/webview version. - * - * In line with the proposal at https://github.com/tc39/proposal-rm-builtin-subclassing, - * `CancellablePromise` does not support transparent subclassing. - * Extenders should take care to provide their own method implementations. - * This might be reconsidered in case the proposal is retired. - * - * CancellablePromise is a wrapper around the DOM Promise object - * and is compliant with the [Promises/A+ specification](https://promisesaplus.com/) - * (it passes the [compliance suite](https://github.com/promises-aplus/promises-tests)) - * if so is the underlying implementation. - */ -export class CancellablePromise extends Promise { - /** - * Creates a new `CancellablePromise`. - * - * @param executor - A callback used to initialize the promise. This callback is passed two arguments: - * a `resolve` callback used to resolve the promise with a value - * or the result of another promise (possibly cancellable), - * and a `reject` callback used to reject the promise with a provided reason or error. - * If the value provided to the `resolve` callback is a thenable _and_ cancellable object - * (it has a `then` _and_ a `cancel` method), - * cancellation requests will be forwarded to that object and the oncancelled will not be invoked anymore. - * If any one of the two callbacks is called _after_ the promise has been cancelled, - * the provided values will be cancelled and resolved as usual, - * but their results will be discarded. - * However, if the resolution process ultimately ends up in a rejection - * that is not due to cancellation, the rejection reason - * will be wrapped in a {@link CancelledRejectionError} - * and bubbled up as an unhandled rejection. - * @param oncancelled - It is the caller's responsibility to ensure that any operation - * started by the executor is properly halted upon cancellation. - * This optional callback can be used to that purpose. - * It will be called _synchronously_ with a cancellation cause - * when cancellation is requested, _after_ the promise has already rejected - * with a {@link CancelError}, but _before_ - * any {@link then}/{@link catch}/{@link finally} callback runs. - * If the callback returns a thenable, the promise returned from {@link cancel} - * will only fulfill after the former has settled. - * Unhandled exceptions or rejections from the callback will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as unhandled rejections. - * If the `resolve` callback is called before cancellation with a cancellable promise, - * cancellation requests on this promise will be diverted to that promise, - * and the original `oncancelled` callback will be discarded. - */ - constructor(executor, oncancelled) { - let resolve; - let reject; - super((res, rej) => { resolve = res; reject = rej; }); - if (this.constructor[species] !== Promise) { - throw new TypeError("CancellablePromise does not support transparent subclassing. Please refrain from overriding the [Symbol.species] static property."); - } - let promise = { - promise: this, - resolve, - reject, - get oncancelled() { return oncancelled !== null && oncancelled !== void 0 ? oncancelled : null; }, - set oncancelled(cb) { oncancelled = cb !== null && cb !== void 0 ? cb : undefined; } - }; - const state = { - get root() { return state; }, - resolving: false, - settled: false - }; - // Setup cancellation system. - void Object.defineProperties(this, { - [barrierSym]: { - configurable: false, - enumerable: false, - writable: true, - value: null - }, - [cancelImplSym]: { - configurable: false, - enumerable: false, - writable: false, - value: cancellerFor(promise, state) - } - }); - // Run the actual executor. - const rejector = rejectorFor(promise, state); - try { - executor(resolverFor(promise, state), rejector); - } - catch (err) { - if (state.resolving) { - console.log("Unhandled exception in CancellablePromise executor.", err); - } - else { - rejector(err); - } - } - } - /** - * Cancels immediately the execution of the operation associated with this promise. - * The promise rejects with a {@link CancelError} instance as reason, - * with the {@link CancelError#cause} property set to the given argument, if any. - * - * Has no effect if called after the promise has already settled; - * repeated calls in particular are safe, but only the first one - * will set the cancellation cause. - * - * The `CancelError` exception _need not_ be handled explicitly _on the promises that are being cancelled:_ - * cancelling a promise with no attached rejection handler does not trigger an unhandled rejection event. - * Therefore, the following idioms are all equally correct: - * ```ts - * new CancellablePromise((resolve, reject) => { ... }).cancel(); - * new CancellablePromise((resolve, reject) => { ... }).then(...).cancel(); - * new CancellablePromise((resolve, reject) => { ... }).then(...).catch(...).cancel(); - * ``` - * Whenever some cancelled promise in a chain rejects with a `CancelError` - * with the same cancellation cause as itself, the error will be discarded silently. - * However, the `CancelError` _will still be delivered_ to all attached rejection handlers - * added by {@link then} and related methods: - * ```ts - * let cancellable = new CancellablePromise((resolve, reject) => { ... }); - * cancellable.then(() => { ... }).catch(console.log); - * cancellable.cancel(); // A CancelError is printed to the console. - * ``` - * If the `CancelError` is not handled downstream by the time it reaches - * a _non-cancelled_ promise, it _will_ trigger an unhandled rejection event, - * just like normal rejections would: - * ```ts - * let cancellable = new CancellablePromise((resolve, reject) => { ... }); - * let chained = cancellable.then(() => { ... }).then(() => { ... }); // No catch... - * cancellable.cancel(); // Unhandled rejection event on chained! - * ``` - * Therefore, it is important to either cancel whole promise chains from their tail, - * as shown in the correct idioms above, or take care of handling errors everywhere. - * - * @returns A cancellable promise that _fulfills_ after the cancel callback (if any) - * and all handlers attached up to the call to cancel have run. - * If the cancel callback returns a thenable, the promise returned by `cancel` - * will also wait for that thenable to settle. - * This enables callers to wait for the cancelled operation to terminate - * without being forced to handle potential errors at the call site. - * ```ts - * cancellable.cancel().then(() => { - * // Cleanup finished, it's safe to do something else. - * }, (err) => { - * // Unreachable: the promise returned from cancel will never reject. - * }); - * ``` - * Note that the returned promise will _not_ handle implicitly any rejection - * that might have occurred already in the cancelled chain. - * It will just track whether registered handlers have been executed or not. - * Therefore, unhandled rejections will never be silently handled by calling cancel. - */ - cancel(cause) { - return new CancellablePromise((resolve) => { - // INVARIANT: the result of this[cancelImplSym] and the barrier do not ever reject. - // Unfortunately macOS High Sierra does not support Promise.allSettled. - Promise.all([ - this[cancelImplSym](new CancelError("Promise cancelled.", { cause })), - currentBarrier(this) - ]).then(() => resolve(), () => resolve()); - }); - } - /** - * Binds promise cancellation to the abort event of the given {@link AbortSignal}. - * If the signal has already aborted, the promise will be cancelled immediately. - * When either condition is verified, the cancellation cause will be set - * to the signal's abort reason (see {@link AbortSignal#reason}). - * - * Has no effect if called (or if the signal aborts) _after_ the promise has already settled. - * Only the first signal to abort will set the cancellation cause. - * - * For more details about the cancellation process, - * see {@link cancel} and the `CancellablePromise` constructor. - * - * This method enables `await`ing cancellable promises without having - * to store them for future cancellation, e.g.: - * ```ts - * await longRunningOperation().cancelOn(signal); - * ``` - * instead of: - * ```ts - * let promiseToBeCancelled = longRunningOperation(); - * await promiseToBeCancelled; - * ``` - * - * @returns This promise, for method chaining. - */ - cancelOn(signal) { - if (signal.aborted) { - void this.cancel(signal.reason); - } - else { - signal.addEventListener('abort', () => void this.cancel(signal.reason), { capture: true }); - } - return this; - } - /** - * Attaches callbacks for the resolution and/or rejection of the `CancellablePromise`. - * - * The optional `oncancelled` argument will be invoked when the returned promise is cancelled, - * with the same semantics as the `oncancelled` argument of the constructor. - * When the parent promise rejects or is cancelled, the `onrejected` callback will run, - * _even after the returned promise has been cancelled:_ - * in that case, should it reject or throw, the reason will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as an unhandled rejection. - * - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A `CancellablePromise` for the completion of whichever callback is executed. - * The returned promise is hooked up to propagate cancellation requests up the chain, but not down: - * - * - if the parent promise is cancelled, the `onrejected` handler will be invoked with a `CancelError` - * and the returned promise _will resolve regularly_ with its result; - * - conversely, if the returned promise is cancelled, _the parent promise is cancelled too;_ - * the `onrejected` handler will still be invoked with the parent's `CancelError`, - * but its result will be discarded - * and the returned promise will reject with a `CancelError` as well. - * - * The promise returned from {@link cancel} will fulfill only after all attached handlers - * up the entire promise chain have been run. - * - * If either callback returns a cancellable promise, - * cancellation requests will be diverted to it, - * and the specified `oncancelled` callback will be discarded. - */ - then(onfulfilled, onrejected, oncancelled) { - if (!(this instanceof CancellablePromise)) { - throw new TypeError("CancellablePromise.prototype.then called on an invalid object."); - } - // NOTE: TypeScript's built-in type for then is broken, - // as it allows specifying an arbitrary TResult1 != T even when onfulfilled is not a function. - // We cannot fix it if we want to CancellablePromise to implement PromiseLike. - if (!isCallable(onfulfilled)) { - onfulfilled = identity; - } - if (!isCallable(onrejected)) { - onrejected = thrower; - } - if (onfulfilled === identity && onrejected == thrower) { - // Shortcut for trivial arguments. - return new CancellablePromise((resolve) => resolve(this)); - } - const barrier = {}; - this[barrierSym] = barrier; - return new CancellablePromise((resolve, reject) => { - void super.then((value) => { - var _a; - if (this[barrierSym] === barrier) { - this[barrierSym] = null; - } - (_a = barrier.resolve) === null || _a === void 0 ? void 0 : _a.call(barrier); - try { - resolve(onfulfilled(value)); - } - catch (err) { - reject(err); - } - }, (reason) => { - var _a; - if (this[barrierSym] === barrier) { - this[barrierSym] = null; - } - (_a = barrier.resolve) === null || _a === void 0 ? void 0 : _a.call(barrier); - try { - resolve(onrejected(reason)); - } - catch (err) { - reject(err); - } - }); - }, async (cause) => { - //cancelled = true; - try { - return oncancelled === null || oncancelled === void 0 ? void 0 : oncancelled(cause); - } - finally { - await this.cancel(cause); - } - }); - } - /** - * Attaches a callback for only the rejection of the Promise. - * - * The optional `oncancelled` argument will be invoked when the returned promise is cancelled, - * with the same semantics as the `oncancelled` argument of the constructor. - * When the parent promise rejects or is cancelled, the `onrejected` callback will run, - * _even after the returned promise has been cancelled:_ - * in that case, should it reject or throw, the reason will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as an unhandled rejection. - * - * It is equivalent to - * ```ts - * cancellablePromise.then(undefined, onrejected, oncancelled); - * ``` - * and the same caveats apply. - * - * @returns A Promise for the completion of the callback. - * Cancellation requests on the returned promise - * will propagate up the chain to the parent promise, - * but not in the other direction. - * - * The promise returned from {@link cancel} will fulfill only after all attached handlers - * up the entire promise chain have been run. - * - * If `onrejected` returns a cancellable promise, - * cancellation requests will be diverted to it, - * and the specified `oncancelled` callback will be discarded. - * See {@link then} for more details. - */ - catch(onrejected, oncancelled) { - return this.then(undefined, onrejected, oncancelled); - } - /** - * Attaches a callback that is invoked when the CancellablePromise is settled (fulfilled or rejected). The - * resolved value cannot be accessed or modified from the callback. - * The returned promise will settle in the same state as the original one - * after the provided callback has completed execution, - * unless the callback throws or returns a rejecting promise, - * in which case the returned promise will reject as well. - * - * The optional `oncancelled` argument will be invoked when the returned promise is cancelled, - * with the same semantics as the `oncancelled` argument of the constructor. - * Once the parent promise settles, the `onfinally` callback will run, - * _even after the returned promise has been cancelled:_ - * in that case, should it reject or throw, the reason will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as an unhandled rejection. - * - * This method is implemented in terms of {@link then} and the same caveats apply. - * It is polyfilled, hence available in every OS/webview version. - * - * @returns A Promise for the completion of the callback. - * Cancellation requests on the returned promise - * will propagate up the chain to the parent promise, - * but not in the other direction. - * - * The promise returned from {@link cancel} will fulfill only after all attached handlers - * up the entire promise chain have been run. - * - * If `onfinally` returns a cancellable promise, - * cancellation requests will be diverted to it, - * and the specified `oncancelled` callback will be discarded. - * See {@link then} for more details. - */ - finally(onfinally, oncancelled) { - if (!(this instanceof CancellablePromise)) { - throw new TypeError("CancellablePromise.prototype.finally called on an invalid object."); - } - if (!isCallable(onfinally)) { - return this.then(onfinally, onfinally, oncancelled); - } - return this.then((value) => CancellablePromise.resolve(onfinally()).then(() => value), (reason) => CancellablePromise.resolve(onfinally()).then(() => { throw reason; }), oncancelled); - } - /** - * We use the `[Symbol.species]` static property, if available, - * to disable the built-in automatic subclassing features from {@link Promise}. - * It is critical for performance reasons that extenders do not override this. - * Once the proposal at https://github.com/tc39/proposal-rm-builtin-subclassing - * is either accepted or retired, this implementation will have to be revised accordingly. - * - * @ignore - * @internal - */ - static get [species]() { - return Promise; - } - static all(values) { - let collected = Array.from(values); - const promise = collected.length === 0 - ? CancellablePromise.resolve(collected) - : new CancellablePromise((resolve, reject) => { - void Promise.all(collected).then(resolve, reject); - }, (cause) => cancelAll(promise, collected, cause)); - return promise; - } - static allSettled(values) { - let collected = Array.from(values); - const promise = collected.length === 0 - ? CancellablePromise.resolve(collected) - : new CancellablePromise((resolve, reject) => { - void Promise.allSettled(collected).then(resolve, reject); - }, (cause) => cancelAll(promise, collected, cause)); - return promise; - } - static any(values) { - let collected = Array.from(values); - const promise = collected.length === 0 - ? CancellablePromise.resolve(collected) - : new CancellablePromise((resolve, reject) => { - void Promise.any(collected).then(resolve, reject); - }, (cause) => cancelAll(promise, collected, cause)); - return promise; - } - static race(values) { - let collected = Array.from(values); - const promise = new CancellablePromise((resolve, reject) => { - void Promise.race(collected).then(resolve, reject); - }, (cause) => cancelAll(promise, collected, cause)); - return promise; - } - /** - * Creates a new cancelled CancellablePromise for the provided cause. - * - * @group Static Methods - */ - static cancel(cause) { - const p = new CancellablePromise(() => { }); - p.cancel(cause); - return p; - } - /** - * Creates a new CancellablePromise that cancels - * after the specified timeout, with the provided cause. - * - * If the {@link AbortSignal.timeout} factory method is available, - * it is used to base the timeout on _active_ time rather than _elapsed_ time. - * Otherwise, `timeout` falls back to {@link setTimeout}. - * - * @group Static Methods - */ - static timeout(milliseconds, cause) { - const promise = new CancellablePromise(() => { }); - if (AbortSignal && typeof AbortSignal === 'function' && AbortSignal.timeout && typeof AbortSignal.timeout === 'function') { - AbortSignal.timeout(milliseconds).addEventListener('abort', () => void promise.cancel(cause)); - } - else { - setTimeout(() => void promise.cancel(cause), milliseconds); - } - return promise; - } - static sleep(milliseconds, value) { - return new CancellablePromise((resolve) => { - setTimeout(() => resolve(value), milliseconds); - }); - } - /** - * Creates a new rejected CancellablePromise for the provided reason. - * - * @group Static Methods - */ - static reject(reason) { - return new CancellablePromise((_, reject) => reject(reason)); - } - static resolve(value) { - if (value instanceof CancellablePromise) { - // Optimise for cancellable promises. - return value; - } - return new CancellablePromise((resolve) => resolve(value)); - } - /** - * Creates a new CancellablePromise and returns it in an object, along with its resolve and reject functions - * and a getter/setter for the cancellation callback. - * - * This method is polyfilled, hence available in every OS/webview version. - * - * @group Static Methods - */ - static withResolvers() { - let result = { oncancelled: null }; - result.promise = new CancellablePromise((resolve, reject) => { - result.resolve = resolve; - result.reject = reject; - }, (cause) => { var _a; (_a = result.oncancelled) === null || _a === void 0 ? void 0 : _a.call(result, cause); }); - return result; - } -} -/** - * Returns a callback that implements the cancellation algorithm for the given cancellable promise. - * The promise returned from the resulting function does not reject. - */ -function cancellerFor(promise, state) { - let cancellationPromise = undefined; - return (reason) => { - if (!state.settled) { - state.settled = true; - state.reason = reason; - promise.reject(reason); - // Attach an error handler that ignores this specific rejection reason and nothing else. - // In theory, a sane underlying implementation at this point - // should always reject with our cancellation reason, - // hence the handler will never throw. - void Promise.prototype.then.call(promise.promise, undefined, (err) => { - if (err !== reason) { - throw err; - } - }); - } - // If reason is not set, the promise resolved regularly, hence we must not call oncancelled. - // If oncancelled is unset, no need to go any further. - if (!state.reason || !promise.oncancelled) { - return; - } - cancellationPromise = new Promise((resolve) => { - try { - resolve(promise.oncancelled(state.reason.cause)); - } - catch (err) { - Promise.reject(new CancelledRejectionError(promise.promise, err, "Unhandled exception in oncancelled callback.")); - } - }).catch((reason) => { - Promise.reject(new CancelledRejectionError(promise.promise, reason, "Unhandled rejection in oncancelled callback.")); - }); - // Unset oncancelled to prevent repeated calls. - promise.oncancelled = null; - return cancellationPromise; - }; -} -/** - * Returns a callback that implements the resolution algorithm for the given cancellable promise. - */ -function resolverFor(promise, state) { - return (value) => { - if (state.resolving) { - return; - } - state.resolving = true; - if (value === promise.promise) { - if (state.settled) { - return; - } - state.settled = true; - promise.reject(new TypeError("A promise cannot be resolved with itself.")); - return; - } - if (value != null && (typeof value === 'object' || typeof value === 'function')) { - let then; - try { - then = value.then; - } - catch (err) { - state.settled = true; - promise.reject(err); - return; - } - if (isCallable(then)) { - try { - let cancel = value.cancel; - if (isCallable(cancel)) { - const oncancelled = (cause) => { - Reflect.apply(cancel, value, [cause]); - }; - if (state.reason) { - // If already cancelled, propagate cancellation. - // The promise returned from the canceller algorithm does not reject - // so it can be discarded safely. - void cancellerFor(Object.assign(Object.assign({}, promise), { oncancelled }), state)(state.reason); - } - else { - promise.oncancelled = oncancelled; - } - } - } - catch (_a) { } - const newState = { - root: state.root, - resolving: false, - get settled() { return this.root.settled; }, - set settled(value) { this.root.settled = value; }, - get reason() { return this.root.reason; } - }; - const rejector = rejectorFor(promise, newState); - try { - Reflect.apply(then, value, [resolverFor(promise, newState), rejector]); - } - catch (err) { - rejector(err); - } - return; // IMPORTANT! - } - } - if (state.settled) { - return; - } - state.settled = true; - promise.resolve(value); - }; -} -/** - * Returns a callback that implements the rejection algorithm for the given cancellable promise. - */ -function rejectorFor(promise, state) { - return (reason) => { - if (state.resolving) { - return; - } - state.resolving = true; - if (state.settled) { - try { - if (reason instanceof CancelError && state.reason instanceof CancelError && Object.is(reason.cause, state.reason.cause)) { - // Swallow late rejections that are CancelErrors whose cancellation cause is the same as ours. - return; - } - } - catch (_a) { } - void Promise.reject(new CancelledRejectionError(promise.promise, reason)); - } - else { - state.settled = true; - promise.reject(reason); - } - }; -} -/** - * Cancels all values in an array that look like cancellable thenables. - * Returns a promise that fulfills once all cancellation procedures for the given values have settled. - */ -function cancelAll(parent, values, cause) { - const results = []; - for (const value of values) { - let cancel; - try { - if (!isCallable(value.then)) { - continue; - } - cancel = value.cancel; - if (!isCallable(cancel)) { - continue; - } - } - catch (_a) { - continue; - } - let result; - try { - result = Reflect.apply(cancel, value, [cause]); - } - catch (err) { - Promise.reject(new CancelledRejectionError(parent, err, "Unhandled exception in cancel method.")); - continue; - } - if (!result) { - continue; - } - results.push((result instanceof Promise ? result : Promise.resolve(result)).catch((reason) => { - Promise.reject(new CancelledRejectionError(parent, reason, "Unhandled rejection in cancel method.")); - })); - } - return Promise.all(results); -} -/** - * Returns its argument. - */ -function identity(x) { - return x; -} -/** - * Throws its argument. - */ -function thrower(reason) { - throw reason; -} -/** - * Attempts various strategies to convert an error to a string. - */ -function errorMessage(err) { - try { - if (err instanceof Error || typeof err !== 'object' || err.toString !== Object.prototype.toString) { - return "" + err; - } - } - catch (_a) { } - try { - return JSON.stringify(err); - } - catch (_b) { } - try { - return Object.prototype.toString.call(err); - } - catch (_c) { } - return ""; -} -/** - * Gets the current barrier promise for the given cancellable promise. If necessary, initialises the barrier. - */ -function currentBarrier(promise) { - var _a; - let pwr = (_a = promise[barrierSym]) !== null && _a !== void 0 ? _a : {}; - if (!('promise' in pwr)) { - Object.assign(pwr, promiseWithResolvers()); - } - if (promise[barrierSym] == null) { - pwr.resolve(); - promise[barrierSym] = pwr; - } - return pwr.promise; -} -// Polyfill Promise.withResolvers. -let promiseWithResolvers = Promise.withResolvers; -if (promiseWithResolvers && typeof promiseWithResolvers === 'function') { - promiseWithResolvers = promiseWithResolvers.bind(Promise); -} -else { - promiseWithResolvers = function () { - let resolve; - let reject; - const promise = new Promise((res, rej) => { resolve = res; reject = rej; }); - return { promise, resolve, reject }; - }; -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/clipboard.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/clipboard.js deleted file mode 100644 index d579d4b..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/clipboard.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -const call = newRuntimeCaller(objectNames.Clipboard); -const ClipboardSetText = 0; -const ClipboardText = 1; -/** - * Sets the text to the Clipboard. - * - * @param text - The text to be set to the Clipboard. - * @return A Promise that resolves when the operation is successful. - */ -export function SetText(text) { - return call(ClipboardSetText, { text }); -} -/** - * Get the Clipboard text - * - * @returns A promise that resolves with the text from the Clipboard. - */ -export function Text() { - return call(ClipboardText); -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/contextmenu.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/contextmenu.js deleted file mode 100644 index 1485c3a..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/contextmenu.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -import { IsDebug } from "./system.js"; -import { eventTarget } from "./utils"; -// setup -window.addEventListener('contextmenu', contextMenuHandler); -const call = newRuntimeCaller(objectNames.ContextMenu); -const ContextMenuOpen = 0; -function openContextMenu(id, x, y, data) { - void call(ContextMenuOpen, { id, x, y, data }); -} -function contextMenuHandler(event) { - const target = eventTarget(event); - // Check for custom context menu - const customContextMenu = window.getComputedStyle(target).getPropertyValue("--custom-contextmenu").trim(); - if (customContextMenu) { - event.preventDefault(); - const data = window.getComputedStyle(target).getPropertyValue("--custom-contextmenu-data"); - openContextMenu(customContextMenu, event.clientX, event.clientY, data); - } - else { - processDefaultContextMenu(event, target); - } -} -/* ---default-contextmenu: auto; (default) will show the default context menu if contentEditable is true OR text has been selected OR element is input or textarea ---default-contextmenu: show; will always show the default context menu ---default-contextmenu: hide; will always hide the default context menu - -This rule is inherited like normal CSS rules, so nesting works as expected -*/ -function processDefaultContextMenu(event, target) { - // Debug builds always show the menu - if (IsDebug()) { - return; - } - // Process default context menu - switch (window.getComputedStyle(target).getPropertyValue("--default-contextmenu").trim()) { - case 'show': - return; - case 'hide': - event.preventDefault(); - return; - } - // Check if contentEditable is true - if (target.isContentEditable) { - return; - } - // Check if text has been selected - const selection = window.getSelection(); - const hasSelection = selection && selection.toString().length > 0; - if (hasSelection) { - for (let i = 0; i < selection.rangeCount; i++) { - const range = selection.getRangeAt(i); - const rects = range.getClientRects(); - for (let j = 0; j < rects.length; j++) { - const rect = rects[j]; - if (document.elementFromPoint(rect.left, rect.top) === target) { - return; - } - } - } - } - // Check if tag is input or textarea. - if (target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement) { - if (hasSelection || (!target.readOnly && !target.disabled)) { - return; - } - } - // hide default context menu - event.preventDefault(); -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/create.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/create.js deleted file mode 100644 index 6103625..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/create.js +++ /dev/null @@ -1,94 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -/** - * Any is a dummy creation function for simple or unknown types. - */ -export function Any(source) { - return source; -} -/** - * ByteSlice is a creation function that replaces - * null strings with empty strings. - */ -export function ByteSlice(source) { - return ((source == null) ? "" : source); -} -/** - * Array takes a creation function for an arbitrary type - * and returns an in-place creation function for an array - * whose elements are of that type. - */ -export function Array(element) { - if (element === Any) { - return (source) => (source === null ? [] : source); - } - return (source) => { - if (source === null) { - return []; - } - for (let i = 0; i < source.length; i++) { - source[i] = element(source[i]); - } - return source; - }; -} -/** - * Map takes creation functions for two arbitrary types - * and returns an in-place creation function for an object - * whose keys and values are of those types. - */ -export function Map(key, value) { - if (value === Any) { - return (source) => (source === null ? {} : source); - } - return (source) => { - if (source === null) { - return {}; - } - for (const key in source) { - source[key] = value(source[key]); - } - return source; - }; -} -/** - * Nullable takes a creation function for an arbitrary type - * and returns a creation function for a nullable value of that type. - */ -export function Nullable(element) { - if (element === Any) { - return Any; - } - return (source) => (source === null ? null : element(source)); -} -/** - * Struct takes an object mapping field names to creation functions - * and returns an in-place creation function for a struct. - */ -export function Struct(createField) { - let allAny = true; - for (const name in createField) { - if (createField[name] !== Any) { - allAny = false; - break; - } - } - if (allAny) { - return Any; - } - return (source) => { - for (const name in createField) { - if (name in source) { - source[name] = createField[name](source[name]); - } - } - return source; - }; -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/dialogs.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/dialogs.js deleted file mode 100644 index 2cfa475..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/dialogs.js +++ /dev/null @@ -1,134 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -import { nanoid } from './nanoid.js'; -// setup -window._wails = window._wails || {}; -window._wails.dialogErrorCallback = dialogErrorCallback; -window._wails.dialogResultCallback = dialogResultCallback; -const call = newRuntimeCaller(objectNames.Dialog); -const dialogResponses = new Map(); -// Define constants from the `methods` object in Title Case -const DialogInfo = 0; -const DialogWarning = 1; -const DialogError = 2; -const DialogQuestion = 3; -const DialogOpenFile = 4; -const DialogSaveFile = 5; -/** - * Handles the result of a dialog request. - * - * @param id - The id of the request to handle the result for. - * @param data - The result data of the request. - * @param isJSON - Indicates whether the data is JSON or not. - */ -function dialogResultCallback(id, data, isJSON) { - let resolvers = getAndDeleteResponse(id); - if (!resolvers) { - return; - } - if (isJSON) { - try { - resolvers.resolve(JSON.parse(data)); - } - catch (err) { - resolvers.reject(new TypeError("could not parse result: " + err.message, { cause: err })); - } - } - else { - resolvers.resolve(data); - } -} -/** - * Handles the error from a dialog request. - * - * @param id - The id of the promise handler. - * @param message - An error message. - */ -function dialogErrorCallback(id, message) { - var _a; - (_a = getAndDeleteResponse(id)) === null || _a === void 0 ? void 0 : _a.reject(new window.Error(message)); -} -/** - * Retrieves and removes the response associated with the given ID from the dialogResponses map. - * - * @param id - The ID of the response to be retrieved and removed. - * @returns The response object associated with the given ID, if any. - */ -function getAndDeleteResponse(id) { - const response = dialogResponses.get(id); - dialogResponses.delete(id); - return response; -} -/** - * Generates a unique ID using the nanoid library. - * - * @returns A unique ID that does not exist in the dialogResponses set. - */ -function generateID() { - let result; - do { - result = nanoid(); - } while (dialogResponses.has(result)); - return result; -} -/** - * Presents a dialog of specified type with the given options. - * - * @param type - Dialog type. - * @param options - Options for the dialog. - * @returns A promise that resolves with result of dialog. - */ -function dialog(type, options = {}) { - const id = generateID(); - return new Promise((resolve, reject) => { - dialogResponses.set(id, { resolve, reject }); - call(type, Object.assign({ "dialog-id": id }, options)).catch((err) => { - dialogResponses.delete(id); - reject(err); - }); - }); -} -/** - * Presents an info dialog. - * - * @param options - Dialog options - * @returns A promise that resolves with the label of the chosen button. - */ -export function Info(options) { return dialog(DialogInfo, options); } -/** - * Presents a warning dialog. - * - * @param options - Dialog options. - * @returns A promise that resolves with the label of the chosen button. - */ -export function Warning(options) { return dialog(DialogWarning, options); } -/** - * Presents an error dialog. - * - * @param options - Dialog options. - * @returns A promise that resolves with the label of the chosen button. - */ -export function Error(options) { return dialog(DialogError, options); } -/** - * Presents a question dialog. - * - * @param options - Dialog options. - * @returns A promise that resolves with the label of the chosen button. - */ -export function Question(options) { return dialog(DialogQuestion, options); } -export function OpenFile(options) { var _a; return (_a = dialog(DialogOpenFile, options)) !== null && _a !== void 0 ? _a : []; } -/** - * Presents a file selection dialog to pick a file to save. - * - * @param options - Dialog options. - * @returns Selected file, or a blank string if no file has been selected. - */ -export function SaveFile(options) { return dialog(DialogSaveFile, options); } diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/drag.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/drag.js deleted file mode 100644 index ae4ecc3..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/drag.js +++ /dev/null @@ -1,222 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { invoke, IsWindows } from "./system.js"; -import { GetFlag } from "./flags.js"; -import { canTrackButtons, eventTarget } from "./utils.js"; -// Setup -let canDrag = false; -let dragging = false; -let resizable = false; -let canResize = false; -let resizing = false; -let resizeEdge = ""; -let defaultCursor = "auto"; -let buttons = 0; -const buttonsTracked = canTrackButtons(); -window._wails = window._wails || {}; -window._wails.setResizable = (value) => { - resizable = value; - if (!resizable) { - // Stop resizing if in progress. - canResize = resizing = false; - setResize(); - } -}; -window.addEventListener('mousedown', update, { capture: true }); -window.addEventListener('mousemove', update, { capture: true }); -window.addEventListener('mouseup', update, { capture: true }); -for (const ev of ['click', 'contextmenu', 'dblclick']) { - window.addEventListener(ev, suppressEvent, { capture: true }); -} -function suppressEvent(event) { - // Suppress click events while resizing or dragging. - if (dragging || resizing) { - event.stopImmediatePropagation(); - event.stopPropagation(); - event.preventDefault(); - } -} -// Use constants to avoid comparing strings multiple times. -const MouseDown = 0; -const MouseUp = 1; -const MouseMove = 2; -function update(event) { - // Windows suppresses mouse events at the end of dragging or resizing, - // so we need to be smart and synthesize button events. - let eventType, eventButtons = event.buttons; - switch (event.type) { - case 'mousedown': - eventType = MouseDown; - if (!buttonsTracked) { - eventButtons = buttons | (1 << event.button); - } - break; - case 'mouseup': - eventType = MouseUp; - if (!buttonsTracked) { - eventButtons = buttons & ~(1 << event.button); - } - break; - default: - eventType = MouseMove; - if (!buttonsTracked) { - eventButtons = buttons; - } - break; - } - let released = buttons & ~eventButtons; - let pressed = eventButtons & ~buttons; - buttons = eventButtons; - // Synthesize a release-press sequence if we detect a press of an already pressed button. - if (eventType === MouseDown && !(pressed & event.button)) { - released |= (1 << event.button); - pressed |= (1 << event.button); - } - // Suppress all button events during dragging and resizing, - // unless this is a mouseup event that is ending a drag action. - if (eventType !== MouseMove // Fast path for mousemove - && resizing - || (dragging - && (eventType === MouseDown - || event.button !== 0))) { - event.stopImmediatePropagation(); - event.stopPropagation(); - event.preventDefault(); - } - // Handle releases - if (released & 1) { - primaryUp(event); - } - // Handle presses - if (pressed & 1) { - primaryDown(event); - } - // Handle mousemove - if (eventType === MouseMove) { - onMouseMove(event); - } - ; -} -function primaryDown(event) { - // Reset readiness state. - canDrag = false; - canResize = false; - // Ignore repeated clicks on macOS and Linux. - if (!IsWindows()) { - if (event.type === 'mousedown' && event.button === 0 && event.detail !== 1) { - return; - } - } - if (resizeEdge) { - // Ready to resize if the primary button was pressed for the first time. - canResize = true; - // Do not start drag operations when on resize edges. - return; - } - // Retrieve target element - const target = eventTarget(event); - // Ready to drag if the primary button was pressed for the first time on a draggable element. - // Ignore clicks on the scrollbar. - const style = window.getComputedStyle(target); - canDrag = (style.getPropertyValue("--wails-draggable").trim() === "drag" - && (event.offsetX - parseFloat(style.paddingLeft) < target.clientWidth - && event.offsetY - parseFloat(style.paddingTop) < target.clientHeight)); -} -function primaryUp(event) { - // Stop dragging and resizing. - canDrag = false; - dragging = false; - canResize = false; - resizing = false; -} -const cursorForEdge = Object.freeze({ - "se-resize": "nwse-resize", - "sw-resize": "nesw-resize", - "nw-resize": "nwse-resize", - "ne-resize": "nesw-resize", - "w-resize": "ew-resize", - "n-resize": "ns-resize", - "s-resize": "ns-resize", - "e-resize": "ew-resize", -}); -function setResize(edge) { - if (edge) { - if (!resizeEdge) { - defaultCursor = document.body.style.cursor; - } - document.body.style.cursor = cursorForEdge[edge]; - } - else if (!edge && resizeEdge) { - document.body.style.cursor = defaultCursor; - } - resizeEdge = edge || ""; -} -function onMouseMove(event) { - if (canResize && resizeEdge) { - // Start resizing. - resizing = true; - invoke("wails:resize:" + resizeEdge); - } - else if (canDrag) { - // Start dragging. - dragging = true; - invoke("wails:drag"); - } - if (dragging || resizing) { - // Either drag or resize is ongoing, - // reset readiness and stop processing. - canDrag = canResize = false; - return; - } - if (!resizable || !IsWindows()) { - if (resizeEdge) { - setResize(); - } - return; - } - const resizeHandleHeight = GetFlag("system.resizeHandleHeight") || 5; - const resizeHandleWidth = GetFlag("system.resizeHandleWidth") || 5; - // Extra pixels for the corner areas. - const cornerExtra = GetFlag("resizeCornerExtra") || 10; - const rightBorder = (window.outerWidth - event.clientX) < resizeHandleWidth; - const leftBorder = event.clientX < resizeHandleWidth; - const topBorder = event.clientY < resizeHandleHeight; - const bottomBorder = (window.outerHeight - event.clientY) < resizeHandleHeight; - // Adjust for corner areas. - const rightCorner = (window.outerWidth - event.clientX) < (resizeHandleWidth + cornerExtra); - const leftCorner = event.clientX < (resizeHandleWidth + cornerExtra); - const topCorner = event.clientY < (resizeHandleHeight + cornerExtra); - const bottomCorner = (window.outerHeight - event.clientY) < (resizeHandleHeight + cornerExtra); - if (!leftCorner && !topCorner && !bottomCorner && !rightCorner) { - // Optimisation: out of all corner areas implies out of borders. - setResize(); - } - // Detect corners. - else if (rightCorner && bottomCorner) - setResize("se-resize"); - else if (leftCorner && bottomCorner) - setResize("sw-resize"); - else if (leftCorner && topCorner) - setResize("nw-resize"); - else if (topCorner && rightCorner) - setResize("ne-resize"); - // Detect borders. - else if (leftBorder) - setResize("w-resize"); - else if (topBorder) - setResize("n-resize"); - else if (bottomBorder) - setResize("s-resize"); - else if (rightBorder) - setResize("e-resize"); - // Out of border area. - else - setResize(); -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/event_types.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/event_types.js deleted file mode 100644 index 6cf95d6..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/event_types.js +++ /dev/null @@ -1,229 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL -// This file is automatically generated. DO NOT EDIT -export const Types = Object.freeze({ - Windows: Object.freeze({ - APMPowerSettingChange: "windows:APMPowerSettingChange", - APMPowerStatusChange: "windows:APMPowerStatusChange", - APMResumeAutomatic: "windows:APMResumeAutomatic", - APMResumeSuspend: "windows:APMResumeSuspend", - APMSuspend: "windows:APMSuspend", - ApplicationStarted: "windows:ApplicationStarted", - SystemThemeChanged: "windows:SystemThemeChanged", - WebViewNavigationCompleted: "windows:WebViewNavigationCompleted", - WindowActive: "windows:WindowActive", - WindowBackgroundErase: "windows:WindowBackgroundErase", - WindowClickActive: "windows:WindowClickActive", - WindowClosing: "windows:WindowClosing", - WindowDidMove: "windows:WindowDidMove", - WindowDidResize: "windows:WindowDidResize", - WindowDPIChanged: "windows:WindowDPIChanged", - WindowDragDrop: "windows:WindowDragDrop", - WindowDragEnter: "windows:WindowDragEnter", - WindowDragLeave: "windows:WindowDragLeave", - WindowDragOver: "windows:WindowDragOver", - WindowEndMove: "windows:WindowEndMove", - WindowEndResize: "windows:WindowEndResize", - WindowFullscreen: "windows:WindowFullscreen", - WindowHide: "windows:WindowHide", - WindowInactive: "windows:WindowInactive", - WindowKeyDown: "windows:WindowKeyDown", - WindowKeyUp: "windows:WindowKeyUp", - WindowKillFocus: "windows:WindowKillFocus", - WindowNonClientHit: "windows:WindowNonClientHit", - WindowNonClientMouseDown: "windows:WindowNonClientMouseDown", - WindowNonClientMouseLeave: "windows:WindowNonClientMouseLeave", - WindowNonClientMouseMove: "windows:WindowNonClientMouseMove", - WindowNonClientMouseUp: "windows:WindowNonClientMouseUp", - WindowPaint: "windows:WindowPaint", - WindowRestore: "windows:WindowRestore", - WindowSetFocus: "windows:WindowSetFocus", - WindowShow: "windows:WindowShow", - WindowStartMove: "windows:WindowStartMove", - WindowStartResize: "windows:WindowStartResize", - WindowUnFullscreen: "windows:WindowUnFullscreen", - WindowZOrderChanged: "windows:WindowZOrderChanged", - WindowMinimise: "windows:WindowMinimise", - WindowUnMinimise: "windows:WindowUnMinimise", - WindowMaximise: "windows:WindowMaximise", - WindowUnMaximise: "windows:WindowUnMaximise", - }), - Mac: Object.freeze({ - ApplicationDidBecomeActive: "mac:ApplicationDidBecomeActive", - ApplicationDidChangeBackingProperties: "mac:ApplicationDidChangeBackingProperties", - ApplicationDidChangeEffectiveAppearance: "mac:ApplicationDidChangeEffectiveAppearance", - ApplicationDidChangeIcon: "mac:ApplicationDidChangeIcon", - ApplicationDidChangeOcclusionState: "mac:ApplicationDidChangeOcclusionState", - ApplicationDidChangeScreenParameters: "mac:ApplicationDidChangeScreenParameters", - ApplicationDidChangeStatusBarFrame: "mac:ApplicationDidChangeStatusBarFrame", - ApplicationDidChangeStatusBarOrientation: "mac:ApplicationDidChangeStatusBarOrientation", - ApplicationDidChangeTheme: "mac:ApplicationDidChangeTheme", - ApplicationDidFinishLaunching: "mac:ApplicationDidFinishLaunching", - ApplicationDidHide: "mac:ApplicationDidHide", - ApplicationDidResignActive: "mac:ApplicationDidResignActive", - ApplicationDidUnhide: "mac:ApplicationDidUnhide", - ApplicationDidUpdate: "mac:ApplicationDidUpdate", - ApplicationShouldHandleReopen: "mac:ApplicationShouldHandleReopen", - ApplicationWillBecomeActive: "mac:ApplicationWillBecomeActive", - ApplicationWillFinishLaunching: "mac:ApplicationWillFinishLaunching", - ApplicationWillHide: "mac:ApplicationWillHide", - ApplicationWillResignActive: "mac:ApplicationWillResignActive", - ApplicationWillTerminate: "mac:ApplicationWillTerminate", - ApplicationWillUnhide: "mac:ApplicationWillUnhide", - ApplicationWillUpdate: "mac:ApplicationWillUpdate", - MenuDidAddItem: "mac:MenuDidAddItem", - MenuDidBeginTracking: "mac:MenuDidBeginTracking", - MenuDidClose: "mac:MenuDidClose", - MenuDidDisplayItem: "mac:MenuDidDisplayItem", - MenuDidEndTracking: "mac:MenuDidEndTracking", - MenuDidHighlightItem: "mac:MenuDidHighlightItem", - MenuDidOpen: "mac:MenuDidOpen", - MenuDidPopUp: "mac:MenuDidPopUp", - MenuDidRemoveItem: "mac:MenuDidRemoveItem", - MenuDidSendAction: "mac:MenuDidSendAction", - MenuDidSendActionToItem: "mac:MenuDidSendActionToItem", - MenuDidUpdate: "mac:MenuDidUpdate", - MenuWillAddItem: "mac:MenuWillAddItem", - MenuWillBeginTracking: "mac:MenuWillBeginTracking", - MenuWillDisplayItem: "mac:MenuWillDisplayItem", - MenuWillEndTracking: "mac:MenuWillEndTracking", - MenuWillHighlightItem: "mac:MenuWillHighlightItem", - MenuWillOpen: "mac:MenuWillOpen", - MenuWillPopUp: "mac:MenuWillPopUp", - MenuWillRemoveItem: "mac:MenuWillRemoveItem", - MenuWillSendAction: "mac:MenuWillSendAction", - MenuWillSendActionToItem: "mac:MenuWillSendActionToItem", - MenuWillUpdate: "mac:MenuWillUpdate", - WebViewDidCommitNavigation: "mac:WebViewDidCommitNavigation", - WebViewDidFinishNavigation: "mac:WebViewDidFinishNavigation", - WebViewDidReceiveServerRedirectForProvisionalNavigation: "mac:WebViewDidReceiveServerRedirectForProvisionalNavigation", - WebViewDidStartProvisionalNavigation: "mac:WebViewDidStartProvisionalNavigation", - WindowDidBecomeKey: "mac:WindowDidBecomeKey", - WindowDidBecomeMain: "mac:WindowDidBecomeMain", - WindowDidBeginSheet: "mac:WindowDidBeginSheet", - WindowDidChangeAlpha: "mac:WindowDidChangeAlpha", - WindowDidChangeBackingLocation: "mac:WindowDidChangeBackingLocation", - WindowDidChangeBackingProperties: "mac:WindowDidChangeBackingProperties", - WindowDidChangeCollectionBehavior: "mac:WindowDidChangeCollectionBehavior", - WindowDidChangeEffectiveAppearance: "mac:WindowDidChangeEffectiveAppearance", - WindowDidChangeOcclusionState: "mac:WindowDidChangeOcclusionState", - WindowDidChangeOrderingMode: "mac:WindowDidChangeOrderingMode", - WindowDidChangeScreen: "mac:WindowDidChangeScreen", - WindowDidChangeScreenParameters: "mac:WindowDidChangeScreenParameters", - WindowDidChangeScreenProfile: "mac:WindowDidChangeScreenProfile", - WindowDidChangeScreenSpace: "mac:WindowDidChangeScreenSpace", - WindowDidChangeScreenSpaceProperties: "mac:WindowDidChangeScreenSpaceProperties", - WindowDidChangeSharingType: "mac:WindowDidChangeSharingType", - WindowDidChangeSpace: "mac:WindowDidChangeSpace", - WindowDidChangeSpaceOrderingMode: "mac:WindowDidChangeSpaceOrderingMode", - WindowDidChangeTitle: "mac:WindowDidChangeTitle", - WindowDidChangeToolbar: "mac:WindowDidChangeToolbar", - WindowDidDeminiaturize: "mac:WindowDidDeminiaturize", - WindowDidEndSheet: "mac:WindowDidEndSheet", - WindowDidEnterFullScreen: "mac:WindowDidEnterFullScreen", - WindowDidEnterVersionBrowser: "mac:WindowDidEnterVersionBrowser", - WindowDidExitFullScreen: "mac:WindowDidExitFullScreen", - WindowDidExitVersionBrowser: "mac:WindowDidExitVersionBrowser", - WindowDidExpose: "mac:WindowDidExpose", - WindowDidFocus: "mac:WindowDidFocus", - WindowDidMiniaturize: "mac:WindowDidMiniaturize", - WindowDidMove: "mac:WindowDidMove", - WindowDidOrderOffScreen: "mac:WindowDidOrderOffScreen", - WindowDidOrderOnScreen: "mac:WindowDidOrderOnScreen", - WindowDidResignKey: "mac:WindowDidResignKey", - WindowDidResignMain: "mac:WindowDidResignMain", - WindowDidResize: "mac:WindowDidResize", - WindowDidUpdate: "mac:WindowDidUpdate", - WindowDidUpdateAlpha: "mac:WindowDidUpdateAlpha", - WindowDidUpdateCollectionBehavior: "mac:WindowDidUpdateCollectionBehavior", - WindowDidUpdateCollectionProperties: "mac:WindowDidUpdateCollectionProperties", - WindowDidUpdateShadow: "mac:WindowDidUpdateShadow", - WindowDidUpdateTitle: "mac:WindowDidUpdateTitle", - WindowDidUpdateToolbar: "mac:WindowDidUpdateToolbar", - WindowDidZoom: "mac:WindowDidZoom", - WindowFileDraggingEntered: "mac:WindowFileDraggingEntered", - WindowFileDraggingExited: "mac:WindowFileDraggingExited", - WindowFileDraggingPerformed: "mac:WindowFileDraggingPerformed", - WindowHide: "mac:WindowHide", - WindowMaximise: "mac:WindowMaximise", - WindowUnMaximise: "mac:WindowUnMaximise", - WindowMinimise: "mac:WindowMinimise", - WindowUnMinimise: "mac:WindowUnMinimise", - WindowShouldClose: "mac:WindowShouldClose", - WindowShow: "mac:WindowShow", - WindowWillBecomeKey: "mac:WindowWillBecomeKey", - WindowWillBecomeMain: "mac:WindowWillBecomeMain", - WindowWillBeginSheet: "mac:WindowWillBeginSheet", - WindowWillChangeOrderingMode: "mac:WindowWillChangeOrderingMode", - WindowWillClose: "mac:WindowWillClose", - WindowWillDeminiaturize: "mac:WindowWillDeminiaturize", - WindowWillEnterFullScreen: "mac:WindowWillEnterFullScreen", - WindowWillEnterVersionBrowser: "mac:WindowWillEnterVersionBrowser", - WindowWillExitFullScreen: "mac:WindowWillExitFullScreen", - WindowWillExitVersionBrowser: "mac:WindowWillExitVersionBrowser", - WindowWillFocus: "mac:WindowWillFocus", - WindowWillMiniaturize: "mac:WindowWillMiniaturize", - WindowWillMove: "mac:WindowWillMove", - WindowWillOrderOffScreen: "mac:WindowWillOrderOffScreen", - WindowWillOrderOnScreen: "mac:WindowWillOrderOnScreen", - WindowWillResignMain: "mac:WindowWillResignMain", - WindowWillResize: "mac:WindowWillResize", - WindowWillUnfocus: "mac:WindowWillUnfocus", - WindowWillUpdate: "mac:WindowWillUpdate", - WindowWillUpdateAlpha: "mac:WindowWillUpdateAlpha", - WindowWillUpdateCollectionBehavior: "mac:WindowWillUpdateCollectionBehavior", - WindowWillUpdateCollectionProperties: "mac:WindowWillUpdateCollectionProperties", - WindowWillUpdateShadow: "mac:WindowWillUpdateShadow", - WindowWillUpdateTitle: "mac:WindowWillUpdateTitle", - WindowWillUpdateToolbar: "mac:WindowWillUpdateToolbar", - WindowWillUpdateVisibility: "mac:WindowWillUpdateVisibility", - WindowWillUseStandardFrame: "mac:WindowWillUseStandardFrame", - WindowZoomIn: "mac:WindowZoomIn", - WindowZoomOut: "mac:WindowZoomOut", - WindowZoomReset: "mac:WindowZoomReset", - }), - Linux: Object.freeze({ - ApplicationStartup: "linux:ApplicationStartup", - SystemThemeChanged: "linux:SystemThemeChanged", - WindowDeleteEvent: "linux:WindowDeleteEvent", - WindowDidMove: "linux:WindowDidMove", - WindowDidResize: "linux:WindowDidResize", - WindowFocusIn: "linux:WindowFocusIn", - WindowFocusOut: "linux:WindowFocusOut", - WindowLoadChanged: "linux:WindowLoadChanged", - }), - Common: Object.freeze({ - ApplicationOpenedWithFile: "common:ApplicationOpenedWithFile", - ApplicationStarted: "common:ApplicationStarted", - ThemeChanged: "common:ThemeChanged", - WindowClosing: "common:WindowClosing", - WindowDidMove: "common:WindowDidMove", - WindowDidResize: "common:WindowDidResize", - WindowDPIChanged: "common:WindowDPIChanged", - WindowFilesDropped: "common:WindowFilesDropped", - WindowFocus: "common:WindowFocus", - WindowFullscreen: "common:WindowFullscreen", - WindowHide: "common:WindowHide", - WindowLostFocus: "common:WindowLostFocus", - WindowMaximise: "common:WindowMaximise", - WindowMinimise: "common:WindowMinimise", - WindowRestore: "common:WindowRestore", - WindowRuntimeReady: "common:WindowRuntimeReady", - WindowShow: "common:WindowShow", - WindowUnFullscreen: "common:WindowUnFullscreen", - WindowUnMaximise: "common:WindowUnMaximise", - WindowUnMinimise: "common:WindowUnMinimise", - WindowZoom: "common:WindowZoom", - WindowZoomIn: "common:WindowZoomIn", - WindowZoomOut: "common:WindowZoomOut", - WindowZoomReset: "common:WindowZoomReset", - }), -}); diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/events.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/events.js deleted file mode 100644 index ba8b2d3..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/events.js +++ /dev/null @@ -1,101 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -import { eventListeners, Listener, listenerOff } from "./listener.js"; -// Setup -window._wails = window._wails || {}; -window._wails.dispatchWailsEvent = dispatchWailsEvent; -const call = newRuntimeCaller(objectNames.Events); -const EmitMethod = 0; -export { Types } from "./event_types.js"; -/** - * Represents a system event or a custom event emitted through wails-provided facilities. - */ -export class WailsEvent { - constructor(name, data = null) { - this.name = name; - this.data = data; - } -} -function dispatchWailsEvent(event) { - let listeners = eventListeners.get(event.name); - if (!listeners) { - return; - } - let wailsEvent = new WailsEvent(event.name, event.data); - if ('sender' in event) { - wailsEvent.sender = event.sender; - } - listeners = listeners.filter(listener => !listener.dispatch(wailsEvent)); - if (listeners.length === 0) { - eventListeners.delete(event.name); - } - else { - eventListeners.set(event.name, listeners); - } -} -/** - * Register a callback function to be called multiple times for a specific event. - * - * @param eventName - The name of the event to register the callback for. - * @param callback - The callback function to be called when the event is triggered. - * @param maxCallbacks - The maximum number of times the callback can be called for the event. Once the maximum number is reached, the callback will no longer be called. - * @returns A function that, when called, will unregister the callback from the event. - */ -export function OnMultiple(eventName, callback, maxCallbacks) { - let listeners = eventListeners.get(eventName) || []; - const thisListener = new Listener(eventName, callback, maxCallbacks); - listeners.push(thisListener); - eventListeners.set(eventName, listeners); - return () => listenerOff(thisListener); -} -/** - * Registers a callback function to be executed when the specified event occurs. - * - * @param eventName - The name of the event to register the callback for. - * @param callback - The callback function to be called when the event is triggered. - * @returns A function that, when called, will unregister the callback from the event. - */ -export function On(eventName, callback) { - return OnMultiple(eventName, callback, -1); -} -/** - * Registers a callback function to be executed only once for the specified event. - * - * @param eventName - The name of the event to register the callback for. - * @param callback - The callback function to be called when the event is triggered. - * @returns A function that, when called, will unregister the callback from the event. - */ -export function Once(eventName, callback) { - return OnMultiple(eventName, callback, 1); -} -/** - * Removes event listeners for the specified event names. - * - * @param eventNames - The name of the events to remove listeners for. - */ -export function Off(...eventNames) { - eventNames.forEach(eventName => eventListeners.delete(eventName)); -} -/** - * Removes all event listeners. - */ -export function OffAll() { - eventListeners.clear(); -} -/** - * Emits the given event. - * - * @param event - The name of the event to emit. - * @returns A promise that will be fulfilled once the event has been emitted. - */ -export function Emit(event) { - return call(EmitMethod, event); -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/flags.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/flags.js deleted file mode 100644 index 31071c2..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/flags.js +++ /dev/null @@ -1,23 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -/** - * Retrieves the value associated with the specified key from the flag map. - * - * @param key - The key to retrieve the value for. - * @return The value associated with the specified key. - */ -export function GetFlag(key) { - try { - return window._wails.flags[key]; - } - catch (e) { - throw new Error("Unable to retrieve flag '" + key + "': " + e, { cause: e }); - } -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/index.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/index.js deleted file mode 100644 index 34f741b..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/index.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -// Setup -window._wails = window._wails || {}; -import "./contextmenu.js"; -import "./drag.js"; -// Re-export public API -import * as Application from "./application.js"; -import * as Browser from "./browser.js"; -import * as Call from "./calls.js"; -import * as Clipboard from "./clipboard.js"; -import * as Create from "./create.js"; -import * as Dialogs from "./dialogs.js"; -import * as Events from "./events.js"; -import * as Flags from "./flags.js"; -import * as Screens from "./screens.js"; -import * as System from "./system.js"; -import Window from "./window.js"; -import * as WML from "./wml.js"; -export { Application, Browser, Call, Clipboard, Dialogs, Events, Flags, Screens, System, Window, WML }; -/** - * An internal utility consumed by the binding generator. - * - * @ignore - * @internal - */ -export { Create }; -export * from "./cancellable.js"; -// Notify backend -window._wails.invoke = System.invoke; -System.invoke("wails:runtime:ready"); diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/listener.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/listener.js deleted file mode 100644 index 9604088..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/listener.js +++ /dev/null @@ -1,44 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -// The following utilities have been factored out of ./events.ts -// for testing purposes. -export const eventListeners = new Map(); -export class Listener { - constructor(eventName, callback, maxCallbacks) { - this.eventName = eventName; - this.callback = callback; - this.maxCallbacks = maxCallbacks || -1; - } - dispatch(data) { - try { - this.callback(data); - } - catch (err) { - console.error(err); - } - if (this.maxCallbacks === -1) - return false; - this.maxCallbacks -= 1; - return this.maxCallbacks === 0; - } -} -export function listenerOff(listener) { - let listeners = eventListeners.get(listener.eventName); - if (!listeners) { - return; - } - listeners = listeners.filter(l => l !== listener); - if (listeners.length === 0) { - eventListeners.delete(listener.eventName); - } - else { - eventListeners.set(listener.eventName, listeners); - } -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/nanoid.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/nanoid.js deleted file mode 100644 index c0d5e24..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/nanoid.js +++ /dev/null @@ -1,38 +0,0 @@ -// Source: https://github.com/ai/nanoid -// The MIT License (MIT) -// -// Copyright 2017 Andrey Sitnik -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of -// this software and associated documentation files (the "Software"), to deal in -// the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do so, -// subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// This alphabet uses `A-Za-z0-9_-` symbols. -// The order of characters is optimized for better gzip and brotli compression. -// References to the same file (works both for gzip and brotli): -// `'use`, `andom`, and `rict'` -// References to the brotli default dictionary: -// `-26T`, `1983`, `40px`, `75px`, `bush`, `jack`, `mind`, `very`, and `wolf` -const urlAlphabet = 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'; -export function nanoid(size = 21) { - let id = ''; - // A compact alternative for `for (var i = 0; i < step; i++)`. - let i = size | 0; - while (i--) { - // `| 0` is more compact and faster than `Math.floor()`. - id += urlAlphabet[(Math.random() * 64) | 0]; - } - return id; -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/runtime.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/runtime.js deleted file mode 100644 index f11df1c..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/runtime.js +++ /dev/null @@ -1,63 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { nanoid } from './nanoid.js'; -const runtimeURL = window.location.origin + "/wails/runtime"; -// Object Names -export const objectNames = Object.freeze({ - Call: 0, - Clipboard: 1, - Application: 2, - Events: 3, - ContextMenu: 4, - Dialog: 5, - Window: 6, - Screens: 7, - System: 8, - Browser: 9, - CancelCall: 10, -}); -export let clientId = nanoid(); -/** - * Creates a new runtime caller with specified ID. - * - * @param object - The object to invoke the method on. - * @param windowName - The name of the window. - * @return The new runtime caller function. - */ -export function newRuntimeCaller(object, windowName = '') { - return function (method, args = null) { - return runtimeCallWithID(object, method, windowName, args); - }; -} -async function runtimeCallWithID(objectID, method, windowName, args) { - var _a, _b; - let url = new URL(runtimeURL); - url.searchParams.append("object", objectID.toString()); - url.searchParams.append("method", method.toString()); - if (args) { - url.searchParams.append("args", JSON.stringify(args)); - } - let headers = { - ["x-wails-client-id"]: clientId - }; - if (windowName) { - headers["x-wails-window-name"] = windowName; - } - let response = await fetch(url, { headers }); - if (!response.ok) { - throw new Error(await response.text()); - } - if (((_b = (_a = response.headers.get("Content-Type")) === null || _a === void 0 ? void 0 : _a.indexOf("application/json")) !== null && _b !== void 0 ? _b : -1) !== -1) { - return response.json(); - } - else { - return response.text(); - } -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/screens.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/screens.js deleted file mode 100644 index b09dc58..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/screens.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -const call = newRuntimeCaller(objectNames.Screens); -const getAll = 0; -const getPrimary = 1; -const getCurrent = 2; -/** - * Gets all screens. - * - * @returns A promise that resolves to an array of Screen objects. - */ -export function GetAll() { - return call(getAll); -} -/** - * Gets the primary screen. - * - * @returns A promise that resolves to the primary screen. - */ -export function GetPrimary() { - return call(getPrimary); -} -/** - * Gets the current active screen. - * - * @returns A promise that resolves with the current active screen. - */ -export function GetCurrent() { - return call(getCurrent); -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/system.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/system.js deleted file mode 100644 index 4d51cf8..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/system.js +++ /dev/null @@ -1,116 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -const call = newRuntimeCaller(objectNames.System); -const SystemIsDarkMode = 0; -const SystemEnvironment = 1; -const _invoke = (function () { - var _a, _b, _c, _d, _e; - try { - if ((_b = (_a = window.chrome) === null || _a === void 0 ? void 0 : _a.webview) === null || _b === void 0 ? void 0 : _b.postMessage) { - return window.chrome.webview.postMessage.bind(window.chrome.webview); - } - else if ((_e = (_d = (_c = window.webkit) === null || _c === void 0 ? void 0 : _c.messageHandlers) === null || _d === void 0 ? void 0 : _d['external']) === null || _e === void 0 ? void 0 : _e.postMessage) { - return window.webkit.messageHandlers['external'].postMessage.bind(window.webkit.messageHandlers['external']); - } - } - catch (e) { } - console.warn('\n%c⚠️ Browser Environment Detected %c\n\n%cOnly UI previews are available in the browser. For full functionality, please run the application in desktop mode.\nMore information at: https://v3.wails.io/learn/build/#using-a-browser-for-development\n', 'background: #ffffff; color: #000000; font-weight: bold; padding: 4px 8px; border-radius: 4px; border: 2px solid #000000;', 'background: transparent;', 'color: #ffffff; font-style: italic; font-weight: bold;'); - return null; -})(); -export function invoke(msg) { - _invoke === null || _invoke === void 0 ? void 0 : _invoke(msg); -} -/** - * Retrieves the system dark mode status. - * - * @returns A promise that resolves to a boolean value indicating if the system is in dark mode. - */ -export function IsDarkMode() { - return call(SystemIsDarkMode); -} -/** - * Fetches the capabilities of the application from the server. - * - * @returns A promise that resolves to an object containing the capabilities. - */ -export async function Capabilities() { - let response = await fetch("/wails/capabilities"); - if (response.ok) { - return response.json(); - } - else { - throw new Error("could not fetch capabilities: " + response.statusText); - } -} -/** - * Retrieves environment details. - * - * @returns A promise that resolves to an object containing OS and system architecture. - */ -export function Environment() { - return call(SystemEnvironment); -} -/** - * Checks if the current operating system is Windows. - * - * @return True if the operating system is Windows, otherwise false. - */ -export function IsWindows() { - return window._wails.environment.OS === "windows"; -} -/** - * Checks if the current operating system is Linux. - * - * @returns Returns true if the current operating system is Linux, false otherwise. - */ -export function IsLinux() { - return window._wails.environment.OS === "linux"; -} -/** - * Checks if the current environment is a macOS operating system. - * - * @returns True if the environment is macOS, false otherwise. - */ -export function IsMac() { - return window._wails.environment.OS === "darwin"; -} -/** - * Checks if the current environment architecture is AMD64. - * - * @returns True if the current environment architecture is AMD64, false otherwise. - */ -export function IsAMD64() { - return window._wails.environment.Arch === "amd64"; -} -/** - * Checks if the current architecture is ARM. - * - * @returns True if the current architecture is ARM, false otherwise. - */ -export function IsARM() { - return window._wails.environment.Arch === "arm"; -} -/** - * Checks if the current environment is ARM64 architecture. - * - * @returns Returns true if the environment is ARM64 architecture, otherwise returns false. - */ -export function IsARM64() { - return window._wails.environment.Arch === "arm64"; -} -/** - * Reports whether the app is being run in debug mode. - * - * @returns True if the app is being run in debug mode. - */ -export function IsDebug() { - return Boolean(window._wails.environment.Debug); -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/utils.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/utils.js deleted file mode 100644 index 4752828..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/utils.js +++ /dev/null @@ -1,95 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -/** - * Logs a message to the console with custom formatting. - * - * @param message - The message to be logged. - */ -export function debugLog(message) { - // eslint-disable-next-line - console.log('%c wails3 %c ' + message + ' ', 'background: #aa0000; color: #fff; border-radius: 3px 0px 0px 3px; padding: 1px; font-size: 0.7rem', 'background: #009900; color: #fff; border-radius: 0px 3px 3px 0px; padding: 1px; font-size: 0.7rem'); -} -/** - * Checks whether the webview supports the {@link MouseEvent#buttons} property. - * Looking at you macOS High Sierra! - */ -export function canTrackButtons() { - return (new MouseEvent('mousedown')).buttons === 0; -} -/** - * Checks whether the browser supports removing listeners by triggering an AbortSignal - * (see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#signal). - */ -export function canAbortListeners() { - if (!EventTarget || !AbortSignal || !AbortController) - return false; - let result = true; - const target = new EventTarget(); - const controller = new AbortController(); - target.addEventListener('test', () => { result = false; }, { signal: controller.signal }); - controller.abort(); - target.dispatchEvent(new CustomEvent('test')); - return result; -} -/** - * Resolves the closest HTMLElement ancestor of an event's target. - */ -export function eventTarget(event) { - var _a; - if (event.target instanceof HTMLElement) { - return event.target; - } - else if (!(event.target instanceof HTMLElement) && event.target instanceof Node) { - return (_a = event.target.parentElement) !== null && _a !== void 0 ? _a : document.body; - } - else { - return document.body; - } -} -/*** - This technique for proper load detection is taken from HTMX: - - BSD 2-Clause License - - Copyright (c) 2020, Big Sky Software - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ***/ -let isReady = false; -document.addEventListener('DOMContentLoaded', () => { isReady = true; }); -export function whenReady(callback) { - if (isReady || document.readyState === 'complete') { - callback(); - } - else { - document.addEventListener('DOMContentLoaded', callback); - } -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/window.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/window.js deleted file mode 100644 index c44d1ee..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/window.js +++ /dev/null @@ -1,438 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -const PositionMethod = 0; -const CenterMethod = 1; -const CloseMethod = 2; -const DisableSizeConstraintsMethod = 3; -const EnableSizeConstraintsMethod = 4; -const FocusMethod = 5; -const ForceReloadMethod = 6; -const FullscreenMethod = 7; -const GetScreenMethod = 8; -const GetZoomMethod = 9; -const HeightMethod = 10; -const HideMethod = 11; -const IsFocusedMethod = 12; -const IsFullscreenMethod = 13; -const IsMaximisedMethod = 14; -const IsMinimisedMethod = 15; -const MaximiseMethod = 16; -const MinimiseMethod = 17; -const NameMethod = 18; -const OpenDevToolsMethod = 19; -const RelativePositionMethod = 20; -const ReloadMethod = 21; -const ResizableMethod = 22; -const RestoreMethod = 23; -const SetPositionMethod = 24; -const SetAlwaysOnTopMethod = 25; -const SetBackgroundColourMethod = 26; -const SetFramelessMethod = 27; -const SetFullscreenButtonEnabledMethod = 28; -const SetMaxSizeMethod = 29; -const SetMinSizeMethod = 30; -const SetRelativePositionMethod = 31; -const SetResizableMethod = 32; -const SetSizeMethod = 33; -const SetTitleMethod = 34; -const SetZoomMethod = 35; -const ShowMethod = 36; -const SizeMethod = 37; -const ToggleFullscreenMethod = 38; -const ToggleMaximiseMethod = 39; -const UnFullscreenMethod = 40; -const UnMaximiseMethod = 41; -const UnMinimiseMethod = 42; -const WidthMethod = 43; -const ZoomMethod = 44; -const ZoomInMethod = 45; -const ZoomOutMethod = 46; -const ZoomResetMethod = 47; -// Private field names. -const callerSym = Symbol("caller"); -class Window { - /** - * Initialises a window object with the specified name. - * - * @private - * @param name - The name of the target window. - */ - constructor(name = '') { - this[callerSym] = newRuntimeCaller(objectNames.Window, name); - // bind instance method to make them easily usable in event handlers - for (const method of Object.getOwnPropertyNames(Window.prototype)) { - if (method !== "constructor" - && typeof this[method] === "function") { - this[method] = this[method].bind(this); - } - } - } - /** - * Gets the specified window. - * - * @param name - The name of the window to get. - * @returns The corresponding window object. - */ - Get(name) { - return new Window(name); - } - /** - * Returns the absolute position of the window. - * - * @returns The current absolute position of the window. - */ - Position() { - return this[callerSym](PositionMethod); - } - /** - * Centers the window on the screen. - */ - Center() { - return this[callerSym](CenterMethod); - } - /** - * Closes the window. - */ - Close() { - return this[callerSym](CloseMethod); - } - /** - * Disables min/max size constraints. - */ - DisableSizeConstraints() { - return this[callerSym](DisableSizeConstraintsMethod); - } - /** - * Enables min/max size constraints. - */ - EnableSizeConstraints() { - return this[callerSym](EnableSizeConstraintsMethod); - } - /** - * Focuses the window. - */ - Focus() { - return this[callerSym](FocusMethod); - } - /** - * Forces the window to reload the page assets. - */ - ForceReload() { - return this[callerSym](ForceReloadMethod); - } - /** - * Switches the window to fullscreen mode. - */ - Fullscreen() { - return this[callerSym](FullscreenMethod); - } - /** - * Returns the screen that the window is on. - * - * @returns The screen the window is currently on. - */ - GetScreen() { - return this[callerSym](GetScreenMethod); - } - /** - * Returns the current zoom level of the window. - * - * @returns The current zoom level. - */ - GetZoom() { - return this[callerSym](GetZoomMethod); - } - /** - * Returns the height of the window. - * - * @returns The current height of the window. - */ - Height() { - return this[callerSym](HeightMethod); - } - /** - * Hides the window. - */ - Hide() { - return this[callerSym](HideMethod); - } - /** - * Returns true if the window is focused. - * - * @returns Whether the window is currently focused. - */ - IsFocused() { - return this[callerSym](IsFocusedMethod); - } - /** - * Returns true if the window is fullscreen. - * - * @returns Whether the window is currently fullscreen. - */ - IsFullscreen() { - return this[callerSym](IsFullscreenMethod); - } - /** - * Returns true if the window is maximised. - * - * @returns Whether the window is currently maximised. - */ - IsMaximised() { - return this[callerSym](IsMaximisedMethod); - } - /** - * Returns true if the window is minimised. - * - * @returns Whether the window is currently minimised. - */ - IsMinimised() { - return this[callerSym](IsMinimisedMethod); - } - /** - * Maximises the window. - */ - Maximise() { - return this[callerSym](MaximiseMethod); - } - /** - * Minimises the window. - */ - Minimise() { - return this[callerSym](MinimiseMethod); - } - /** - * Returns the name of the window. - * - * @returns The name of the window. - */ - Name() { - return this[callerSym](NameMethod); - } - /** - * Opens the development tools pane. - */ - OpenDevTools() { - return this[callerSym](OpenDevToolsMethod); - } - /** - * Returns the relative position of the window to the screen. - * - * @returns The current relative position of the window. - */ - RelativePosition() { - return this[callerSym](RelativePositionMethod); - } - /** - * Reloads the page assets. - */ - Reload() { - return this[callerSym](ReloadMethod); - } - /** - * Returns true if the window is resizable. - * - * @returns Whether the window is currently resizable. - */ - Resizable() { - return this[callerSym](ResizableMethod); - } - /** - * Restores the window to its previous state if it was previously minimised, maximised or fullscreen. - */ - Restore() { - return this[callerSym](RestoreMethod); - } - /** - * Sets the absolute position of the window. - * - * @param x - The desired horizontal absolute position of the window. - * @param y - The desired vertical absolute position of the window. - */ - SetPosition(x, y) { - return this[callerSym](SetPositionMethod, { x, y }); - } - /** - * Sets the window to be always on top. - * - * @param alwaysOnTop - Whether the window should stay on top. - */ - SetAlwaysOnTop(alwaysOnTop) { - return this[callerSym](SetAlwaysOnTopMethod, { alwaysOnTop }); - } - /** - * Sets the background colour of the window. - * - * @param r - The desired red component of the window background. - * @param g - The desired green component of the window background. - * @param b - The desired blue component of the window background. - * @param a - The desired alpha component of the window background. - */ - SetBackgroundColour(r, g, b, a) { - return this[callerSym](SetBackgroundColourMethod, { r, g, b, a }); - } - /** - * Removes the window frame and title bar. - * - * @param frameless - Whether the window should be frameless. - */ - SetFrameless(frameless) { - return this[callerSym](SetFramelessMethod, { frameless }); - } - /** - * Disables the system fullscreen button. - * - * @param enabled - Whether the fullscreen button should be enabled. - */ - SetFullscreenButtonEnabled(enabled) { - return this[callerSym](SetFullscreenButtonEnabledMethod, { enabled }); - } - /** - * Sets the maximum size of the window. - * - * @param width - The desired maximum width of the window. - * @param height - The desired maximum height of the window. - */ - SetMaxSize(width, height) { - return this[callerSym](SetMaxSizeMethod, { width, height }); - } - /** - * Sets the minimum size of the window. - * - * @param width - The desired minimum width of the window. - * @param height - The desired minimum height of the window. - */ - SetMinSize(width, height) { - return this[callerSym](SetMinSizeMethod, { width, height }); - } - /** - * Sets the relative position of the window to the screen. - * - * @param x - The desired horizontal relative position of the window. - * @param y - The desired vertical relative position of the window. - */ - SetRelativePosition(x, y) { - return this[callerSym](SetRelativePositionMethod, { x, y }); - } - /** - * Sets whether the window is resizable. - * - * @param resizable - Whether the window should be resizable. - */ - SetResizable(resizable) { - return this[callerSym](SetResizableMethod, { resizable }); - } - /** - * Sets the size of the window. - * - * @param width - The desired width of the window. - * @param height - The desired height of the window. - */ - SetSize(width, height) { - return this[callerSym](SetSizeMethod, { width, height }); - } - /** - * Sets the title of the window. - * - * @param title - The desired title of the window. - */ - SetTitle(title) { - return this[callerSym](SetTitleMethod, { title }); - } - /** - * Sets the zoom level of the window. - * - * @param zoom - The desired zoom level. - */ - SetZoom(zoom) { - return this[callerSym](SetZoomMethod, { zoom }); - } - /** - * Shows the window. - */ - Show() { - return this[callerSym](ShowMethod); - } - /** - * Returns the size of the window. - * - * @returns The current size of the window. - */ - Size() { - return this[callerSym](SizeMethod); - } - /** - * Toggles the window between fullscreen and normal. - */ - ToggleFullscreen() { - return this[callerSym](ToggleFullscreenMethod); - } - /** - * Toggles the window between maximised and normal. - */ - ToggleMaximise() { - return this[callerSym](ToggleMaximiseMethod); - } - /** - * Un-fullscreens the window. - */ - UnFullscreen() { - return this[callerSym](UnFullscreenMethod); - } - /** - * Un-maximises the window. - */ - UnMaximise() { - return this[callerSym](UnMaximiseMethod); - } - /** - * Un-minimises the window. - */ - UnMinimise() { - return this[callerSym](UnMinimiseMethod); - } - /** - * Returns the width of the window. - * - * @returns The current width of the window. - */ - Width() { - return this[callerSym](WidthMethod); - } - /** - * Zooms the window. - */ - Zoom() { - return this[callerSym](ZoomMethod); - } - /** - * Increases the zoom level of the webview content. - */ - ZoomIn() { - return this[callerSym](ZoomInMethod); - } - /** - * Decreases the zoom level of the webview content. - */ - ZoomOut() { - return this[callerSym](ZoomOutMethod); - } - /** - * Resets the zoom level of the webview content. - */ - ZoomReset() { - return this[callerSym](ZoomResetMethod); - } -} -/** - * The window within which the script is running. - */ -const thisWindow = new Window(''); -export default thisWindow; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/wml.js b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/wml.js deleted file mode 100644 index 9939282..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/dist/wml.js +++ /dev/null @@ -1,179 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { OpenURL } from "./browser.js"; -import { Question } from "./dialogs.js"; -import { Emit, WailsEvent } from "./events.js"; -import { canAbortListeners, whenReady } from "./utils.js"; -import Window from "./window.js"; -/** - * Sends an event with the given name and optional data. - * - * @param eventName - - The name of the event to send. - * @param [data=null] - - Optional data to send along with the event. - */ -function sendEvent(eventName, data = null) { - Emit(new WailsEvent(eventName, data)); -} -/** - * Calls a method on a specified window. - * - * @param windowName - The name of the window to call the method on. - * @param methodName - The name of the method to call. - */ -function callWindowMethod(windowName, methodName) { - const targetWindow = Window.Get(windowName); - const method = targetWindow[methodName]; - if (typeof method !== "function") { - console.error(`Window method '${methodName}' not found`); - return; - } - try { - method.call(targetWindow); - } - catch (e) { - console.error(`Error calling window method '${methodName}': `, e); - } -} -/** - * Responds to a triggering event by running appropriate WML actions for the current target. - */ -function onWMLTriggered(ev) { - const element = ev.currentTarget; - function runEffect(choice = "Yes") { - if (choice !== "Yes") - return; - const eventType = element.getAttribute('wml-event') || element.getAttribute('data-wml-event'); - const targetWindow = element.getAttribute('wml-target-window') || element.getAttribute('data-wml-target-window') || ""; - const windowMethod = element.getAttribute('wml-window') || element.getAttribute('data-wml-window'); - const url = element.getAttribute('wml-openurl') || element.getAttribute('data-wml-openurl'); - if (eventType !== null) - sendEvent(eventType); - if (windowMethod !== null) - callWindowMethod(targetWindow, windowMethod); - if (url !== null) - void OpenURL(url); - } - const confirm = element.getAttribute('wml-confirm') || element.getAttribute('data-wml-confirm'); - if (confirm) { - Question({ - Title: "Confirm", - Message: confirm, - Detached: false, - Buttons: [ - { Label: "Yes" }, - { Label: "No", IsDefault: true } - ] - }).then(runEffect); - } - else { - runEffect(); - } -} -// Private field names. -const controllerSym = Symbol("controller"); -const triggerMapSym = Symbol("triggerMap"); -const elementCountSym = Symbol("elementCount"); -/** - * AbortControllerRegistry does not actually remember active event listeners: instead - * it ties them to an AbortSignal and uses an AbortController to remove them all at once. - */ -class AbortControllerRegistry { - constructor() { - this[controllerSym] = new AbortController(); - } - /** - * Returns an options object for addEventListener that ties the listener - * to the AbortSignal from the current AbortController. - * - * @param element - An HTML element - * @param triggers - The list of active WML trigger events for the specified elements - */ - set(element, triggers) { - return { signal: this[controllerSym].signal }; - } - /** - * Removes all registered event listeners and resets the registry. - */ - reset() { - this[controllerSym].abort(); - this[controllerSym] = new AbortController(); - } -} -/** - * WeakMapRegistry maps active trigger events to each DOM element through a WeakMap. - * This ensures that the mapping remains private to this module, while still allowing garbage - * collection of the involved elements. - */ -class WeakMapRegistry { - constructor() { - this[triggerMapSym] = new WeakMap(); - this[elementCountSym] = 0; - } - /** - * Sets active triggers for the specified element. - * - * @param element - An HTML element - * @param triggers - The list of active WML trigger events for the specified element - */ - set(element, triggers) { - if (!this[triggerMapSym].has(element)) { - this[elementCountSym]++; - } - this[triggerMapSym].set(element, triggers); - return {}; - } - /** - * Removes all registered event listeners. - */ - reset() { - if (this[elementCountSym] <= 0) - return; - for (const element of document.body.querySelectorAll('*')) { - if (this[elementCountSym] <= 0) - break; - const triggers = this[triggerMapSym].get(element); - if (triggers != null) { - this[elementCountSym]--; - } - for (const trigger of triggers || []) - element.removeEventListener(trigger, onWMLTriggered); - } - this[triggerMapSym] = new WeakMap(); - this[elementCountSym] = 0; - } -} -const triggerRegistry = canAbortListeners() ? new AbortControllerRegistry() : new WeakMapRegistry(); -/** - * Adds event listeners to the specified element. - */ -function addWMLListeners(element) { - const triggerRegExp = /\S+/g; - const triggerAttr = (element.getAttribute('wml-trigger') || element.getAttribute('data-wml-trigger') || "click"); - const triggers = []; - let match; - while ((match = triggerRegExp.exec(triggerAttr)) !== null) - triggers.push(match[0]); - const options = triggerRegistry.set(element, triggers); - for (const trigger of triggers) - element.addEventListener(trigger, onWMLTriggered, options); -} -/** - * Schedules an automatic reload of WML to be performed as soon as the document is fully loaded. - */ -export function Enable() { - whenReady(Reload); -} -/** - * Reloads the WML page by adding necessary event listeners and browser listeners. - */ -export function Reload() { - triggerRegistry.reset(); - document.body.querySelectorAll('[wml-event], [wml-window], [wml-openurl], [data-wml-event], [data-wml-window], [data-wml-openurl]').forEach(addWMLListeners); -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/package.json b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/package.json deleted file mode 100644 index 495abe2..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/package.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "name": "@wailsio/runtime", - "type": "module", - "version": "3.0.0-alpha.66", - "description": "Wails Runtime", - "types": "types/index.d.ts", - "exports": { - "types": "./types/index.d.ts", - "import": "./dist/index.js" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/wailsapp/wails.git", - "directory": "v3/internal/runtime/desktop/@wailsio/runtime" - }, - "author": "The Wails Team", - "license": "MIT", - "homepage": "https://v3.wails.io", - "bugs": { - "url": "https://github.com/wailsapp/wails/issues" - }, - "files": [ - "./dist", - "./types" - ], - "sideEffects": [ - "./dist/index.js", - "./dist/contextmenu.js", - "./dist/drag.js" - ], - "scripts": { - "check": "npx tsc --noEmit", - "test": "npx vitest run", - "clean": "npx rimraf ./dist ./docs ./types ./tsconfig.tsbuildinfo", - "generate:events": "task generate:events", - "generate": "npm run generate:events", - "prebuild": "npm run clean && npm run generate", - "build:code": "npx tsc", - "build:docs": "npx typedoc --plugin typedoc-plugin-mdn-links --plugin typedoc-plugin-missing-exports ./src/index.ts", - "build:docs:md": "npx typedoc --plugin typedoc-plugin-markdown --plugin typedoc-plugin-mdn-links --plugin typedoc-plugin-missing-exports ./src/index.ts", - "build": "npm run build:code & npm run build:docs & wait", - "prepack": "npm run build" - }, - "devDependencies": { - "happy-dom": "^17.1.1", - "promises-aplus-tests": "2.1.2", - "rimraf": "^5.0.5", - "typedoc": "^0.27.7", - "typedoc-plugin-markdown": "^4.4.2", - "typedoc-plugin-mdn-links": "^4.0.13", - "typedoc-plugin-missing-exports": "^3.1.0", - "typescript": "^5.7.3", - "vitest": "^3.0.6" - }, - "overrides": { - "promises-aplus-tests": { - "mocha": "^11.1.0", - "sinon": "^19.0.2", - "underscore": "^1.13.7" - } - } -} diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/application.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/application.d.ts deleted file mode 100644 index bfab64a..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/application.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Hides a certain method by calling the HideMethod function. - */ -export declare function Hide(): Promise; -/** - * Calls the ShowMethod and returns the result. - */ -export declare function Show(): Promise; -/** - * Calls the QuitMethod to terminate the program. - */ -export declare function Quit(): Promise; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/browser.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/browser.d.ts deleted file mode 100644 index 799a457..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/browser.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Open a browser window to the given URL. - * - * @param url - The URL to open - */ -export declare function OpenURL(url: string | URL): Promise; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/callable.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/callable.d.ts deleted file mode 100644 index 54a1c6c..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/callable.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function isCallableRefApply(value: T | unknown): value is (...args: any[]) => any; -declare const _default: typeof isCallableRefApply; -export default _default; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/calls.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/calls.d.ts deleted file mode 100644 index a96fa80..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/calls.d.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { CancellablePromise } from "./cancellable.js"; -/** - * Holds all required information for a binding call. - * May provide either a method ID or a method name, but not both. - */ -export type CallOptions = { - /** The numeric ID of the bound method to call. */ - methodID: number; - /** The fully qualified name of the bound method to call. */ - methodName?: never; - /** Arguments to be passed into the bound method. */ - args: any[]; -} | { - /** The numeric ID of the bound method to call. */ - methodID?: never; - /** The fully qualified name of the bound method to call. */ - methodName: string; - /** Arguments to be passed into the bound method. */ - args: any[]; -}; -/** - * Exception class that will be thrown in case the bound method returns an error. - * The value of the {@link RuntimeError#name} property is "RuntimeError". - */ -export declare class RuntimeError extends Error { - /** - * Constructs a new RuntimeError instance. - * @param message - The error message. - * @param options - Options to be forwarded to the Error constructor. - */ - constructor(message?: string, options?: ErrorOptions); -} -/** - * Call a bound method according to the given call options. - * - * In case of failure, the returned promise will reject with an exception - * among ReferenceError (unknown method), TypeError (wrong argument count or type), - * {@link RuntimeError} (method returned an error), or other (network or internal errors). - * The exception might have a "cause" field with the value returned - * by the application- or service-level error marshaling functions. - * - * @param options - A method call descriptor. - * @returns The result of the call. - */ -export declare function Call(options: CallOptions): CancellablePromise; -/** - * Calls a bound method by name with the specified arguments. - * See {@link Call} for details. - * - * @param methodName - The name of the method in the format 'package.struct.method'. - * @param args - The arguments to pass to the method. - * @returns The result of the method call. - */ -export declare function ByName(methodName: string, ...args: any[]): CancellablePromise; -/** - * Calls a method by its numeric ID with the specified arguments. - * See {@link Call} for details. - * - * @param methodID - The ID of the method to call. - * @param args - The arguments to pass to the method. - * @return The result of the method call. - */ -export declare function ByID(methodID: number, ...args: any[]): CancellablePromise; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/cancellable.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/cancellable.d.ts deleted file mode 100644 index a65a2ba..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/cancellable.d.ts +++ /dev/null @@ -1,434 +0,0 @@ -/** - * Exception class that will be used as rejection reason - * in case a {@link CancellablePromise} is cancelled successfully. - * - * The value of the {@link name} property is the string `"CancelError"`. - * The value of the {@link cause} property is the cause passed to the cancel method, if any. - */ -export declare class CancelError extends Error { - /** - * Constructs a new `CancelError` instance. - * @param message - The error message. - * @param options - Options to be forwarded to the Error constructor. - */ - constructor(message?: string, options?: ErrorOptions); -} -/** - * Exception class that will be reported as an unhandled rejection - * in case a {@link CancellablePromise} rejects after being cancelled, - * or when the `oncancelled` callback throws or rejects. - * - * The value of the {@link name} property is the string `"CancelledRejectionError"`. - * The value of the {@link cause} property is the reason the promise rejected with. - * - * Because the original promise was cancelled, - * a wrapper promise will be passed to the unhandled rejection listener instead. - * The {@link promise} property holds a reference to the original promise. - */ -export declare class CancelledRejectionError extends Error { - /** - * Holds a reference to the promise that was cancelled and then rejected. - */ - promise: CancellablePromise; - /** - * Constructs a new `CancelledRejectionError` instance. - * @param promise - The promise that caused the error originally. - * @param reason - The rejection reason. - * @param info - An optional informative message specifying the circumstances in which the error was thrown. - * Defaults to the string `"Unhandled rejection in cancelled promise."`. - */ - constructor(promise: CancellablePromise, reason?: any, info?: string); -} -type CancellablePromiseResolver = (value: T | PromiseLike | CancellablePromiseLike) => void; -type CancellablePromiseRejector = (reason?: any) => void; -type CancellablePromiseCanceller = (cause?: any) => void | PromiseLike; -type CancellablePromiseExecutor = (resolve: CancellablePromiseResolver, reject: CancellablePromiseRejector) => void; -export interface CancellablePromiseLike { - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike | CancellablePromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike | CancellablePromiseLike) | undefined | null): CancellablePromiseLike; - cancel(cause?: any): void | PromiseLike; -} -/** - * Wraps a cancellable promise along with its resolution methods. - * The `oncancelled` field will be null initially but may be set to provide a custom cancellation function. - */ -export interface CancellablePromiseWithResolvers { - promise: CancellablePromise; - resolve: CancellablePromiseResolver; - reject: CancellablePromiseRejector; - oncancelled: CancellablePromiseCanceller | null; -} -/** - * A promise with an attached method for cancelling long-running operations (see {@link CancellablePromise#cancel}). - * Cancellation can optionally be bound to an {@link AbortSignal} - * for better composability (see {@link CancellablePromise#cancelOn}). - * - * Cancelling a pending promise will result in an immediate rejection - * with an instance of {@link CancelError} as reason, - * but whoever started the promise will be responsible - * for actually aborting the underlying operation. - * To this purpose, the constructor and all chaining methods - * accept optional cancellation callbacks. - * - * If a `CancellablePromise` still resolves after having been cancelled, - * the result will be discarded. If it rejects, the reason - * will be reported as an unhandled rejection, - * wrapped in a {@link CancelledRejectionError} instance. - * To facilitate the handling of cancellation requests, - * cancelled `CancellablePromise`s will _not_ report unhandled `CancelError`s - * whose `cause` field is the same as the one with which the current promise was cancelled. - * - * All usual promise methods are defined and return a `CancellablePromise` - * whose cancel method will cancel the parent operation as well, propagating the cancellation reason - * upwards through promise chains. - * Conversely, cancelling a promise will not automatically cancel dependent promises downstream: - * ```ts - * let root = new CancellablePromise((resolve, reject) => { ... }); - * let child1 = root.then(() => { ... }); - * let child2 = child1.then(() => { ... }); - * let child3 = root.catch(() => { ... }); - * child1.cancel(); // Cancels child1 and root, but not child2 or child3 - * ``` - * Cancelling a promise that has already settled is safe and has no consequence. - * - * The `cancel` method returns a promise that _always fulfills_ - * after the whole chain has processed the cancel request - * and all attached callbacks up to that moment have run. - * - * All ES2024 promise methods (static and instance) are defined on CancellablePromise, - * but actual availability may vary with OS/webview version. - * - * In line with the proposal at https://github.com/tc39/proposal-rm-builtin-subclassing, - * `CancellablePromise` does not support transparent subclassing. - * Extenders should take care to provide their own method implementations. - * This might be reconsidered in case the proposal is retired. - * - * CancellablePromise is a wrapper around the DOM Promise object - * and is compliant with the [Promises/A+ specification](https://promisesaplus.com/) - * (it passes the [compliance suite](https://github.com/promises-aplus/promises-tests)) - * if so is the underlying implementation. - */ -export declare class CancellablePromise extends Promise implements PromiseLike, CancellablePromiseLike { - static [x: symbol]: PromiseConstructor; - /** - * Creates a new `CancellablePromise`. - * - * @param executor - A callback used to initialize the promise. This callback is passed two arguments: - * a `resolve` callback used to resolve the promise with a value - * or the result of another promise (possibly cancellable), - * and a `reject` callback used to reject the promise with a provided reason or error. - * If the value provided to the `resolve` callback is a thenable _and_ cancellable object - * (it has a `then` _and_ a `cancel` method), - * cancellation requests will be forwarded to that object and the oncancelled will not be invoked anymore. - * If any one of the two callbacks is called _after_ the promise has been cancelled, - * the provided values will be cancelled and resolved as usual, - * but their results will be discarded. - * However, if the resolution process ultimately ends up in a rejection - * that is not due to cancellation, the rejection reason - * will be wrapped in a {@link CancelledRejectionError} - * and bubbled up as an unhandled rejection. - * @param oncancelled - It is the caller's responsibility to ensure that any operation - * started by the executor is properly halted upon cancellation. - * This optional callback can be used to that purpose. - * It will be called _synchronously_ with a cancellation cause - * when cancellation is requested, _after_ the promise has already rejected - * with a {@link CancelError}, but _before_ - * any {@link then}/{@link catch}/{@link finally} callback runs. - * If the callback returns a thenable, the promise returned from {@link cancel} - * will only fulfill after the former has settled. - * Unhandled exceptions or rejections from the callback will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as unhandled rejections. - * If the `resolve` callback is called before cancellation with a cancellable promise, - * cancellation requests on this promise will be diverted to that promise, - * and the original `oncancelled` callback will be discarded. - */ - constructor(executor: CancellablePromiseExecutor, oncancelled?: CancellablePromiseCanceller); - /** - * Cancels immediately the execution of the operation associated with this promise. - * The promise rejects with a {@link CancelError} instance as reason, - * with the {@link CancelError#cause} property set to the given argument, if any. - * - * Has no effect if called after the promise has already settled; - * repeated calls in particular are safe, but only the first one - * will set the cancellation cause. - * - * The `CancelError` exception _need not_ be handled explicitly _on the promises that are being cancelled:_ - * cancelling a promise with no attached rejection handler does not trigger an unhandled rejection event. - * Therefore, the following idioms are all equally correct: - * ```ts - * new CancellablePromise((resolve, reject) => { ... }).cancel(); - * new CancellablePromise((resolve, reject) => { ... }).then(...).cancel(); - * new CancellablePromise((resolve, reject) => { ... }).then(...).catch(...).cancel(); - * ``` - * Whenever some cancelled promise in a chain rejects with a `CancelError` - * with the same cancellation cause as itself, the error will be discarded silently. - * However, the `CancelError` _will still be delivered_ to all attached rejection handlers - * added by {@link then} and related methods: - * ```ts - * let cancellable = new CancellablePromise((resolve, reject) => { ... }); - * cancellable.then(() => { ... }).catch(console.log); - * cancellable.cancel(); // A CancelError is printed to the console. - * ``` - * If the `CancelError` is not handled downstream by the time it reaches - * a _non-cancelled_ promise, it _will_ trigger an unhandled rejection event, - * just like normal rejections would: - * ```ts - * let cancellable = new CancellablePromise((resolve, reject) => { ... }); - * let chained = cancellable.then(() => { ... }).then(() => { ... }); // No catch... - * cancellable.cancel(); // Unhandled rejection event on chained! - * ``` - * Therefore, it is important to either cancel whole promise chains from their tail, - * as shown in the correct idioms above, or take care of handling errors everywhere. - * - * @returns A cancellable promise that _fulfills_ after the cancel callback (if any) - * and all handlers attached up to the call to cancel have run. - * If the cancel callback returns a thenable, the promise returned by `cancel` - * will also wait for that thenable to settle. - * This enables callers to wait for the cancelled operation to terminate - * without being forced to handle potential errors at the call site. - * ```ts - * cancellable.cancel().then(() => { - * // Cleanup finished, it's safe to do something else. - * }, (err) => { - * // Unreachable: the promise returned from cancel will never reject. - * }); - * ``` - * Note that the returned promise will _not_ handle implicitly any rejection - * that might have occurred already in the cancelled chain. - * It will just track whether registered handlers have been executed or not. - * Therefore, unhandled rejections will never be silently handled by calling cancel. - */ - cancel(cause?: any): CancellablePromise; - /** - * Binds promise cancellation to the abort event of the given {@link AbortSignal}. - * If the signal has already aborted, the promise will be cancelled immediately. - * When either condition is verified, the cancellation cause will be set - * to the signal's abort reason (see {@link AbortSignal#reason}). - * - * Has no effect if called (or if the signal aborts) _after_ the promise has already settled. - * Only the first signal to abort will set the cancellation cause. - * - * For more details about the cancellation process, - * see {@link cancel} and the `CancellablePromise` constructor. - * - * This method enables `await`ing cancellable promises without having - * to store them for future cancellation, e.g.: - * ```ts - * await longRunningOperation().cancelOn(signal); - * ``` - * instead of: - * ```ts - * let promiseToBeCancelled = longRunningOperation(); - * await promiseToBeCancelled; - * ``` - * - * @returns This promise, for method chaining. - */ - cancelOn(signal: AbortSignal): CancellablePromise; - /** - * Attaches callbacks for the resolution and/or rejection of the `CancellablePromise`. - * - * The optional `oncancelled` argument will be invoked when the returned promise is cancelled, - * with the same semantics as the `oncancelled` argument of the constructor. - * When the parent promise rejects or is cancelled, the `onrejected` callback will run, - * _even after the returned promise has been cancelled:_ - * in that case, should it reject or throw, the reason will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as an unhandled rejection. - * - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A `CancellablePromise` for the completion of whichever callback is executed. - * The returned promise is hooked up to propagate cancellation requests up the chain, but not down: - * - * - if the parent promise is cancelled, the `onrejected` handler will be invoked with a `CancelError` - * and the returned promise _will resolve regularly_ with its result; - * - conversely, if the returned promise is cancelled, _the parent promise is cancelled too;_ - * the `onrejected` handler will still be invoked with the parent's `CancelError`, - * but its result will be discarded - * and the returned promise will reject with a `CancelError` as well. - * - * The promise returned from {@link cancel} will fulfill only after all attached handlers - * up the entire promise chain have been run. - * - * If either callback returns a cancellable promise, - * cancellation requests will be diverted to it, - * and the specified `oncancelled` callback will be discarded. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike | CancellablePromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike | CancellablePromiseLike) | undefined | null, oncancelled?: CancellablePromiseCanceller): CancellablePromise; - /** - * Attaches a callback for only the rejection of the Promise. - * - * The optional `oncancelled` argument will be invoked when the returned promise is cancelled, - * with the same semantics as the `oncancelled` argument of the constructor. - * When the parent promise rejects or is cancelled, the `onrejected` callback will run, - * _even after the returned promise has been cancelled:_ - * in that case, should it reject or throw, the reason will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as an unhandled rejection. - * - * It is equivalent to - * ```ts - * cancellablePromise.then(undefined, onrejected, oncancelled); - * ``` - * and the same caveats apply. - * - * @returns A Promise for the completion of the callback. - * Cancellation requests on the returned promise - * will propagate up the chain to the parent promise, - * but not in the other direction. - * - * The promise returned from {@link cancel} will fulfill only after all attached handlers - * up the entire promise chain have been run. - * - * If `onrejected` returns a cancellable promise, - * cancellation requests will be diverted to it, - * and the specified `oncancelled` callback will be discarded. - * See {@link then} for more details. - */ - catch(onrejected?: ((reason: any) => (PromiseLike | TResult)) | undefined | null, oncancelled?: CancellablePromiseCanceller): CancellablePromise; - /** - * Attaches a callback that is invoked when the CancellablePromise is settled (fulfilled or rejected). The - * resolved value cannot be accessed or modified from the callback. - * The returned promise will settle in the same state as the original one - * after the provided callback has completed execution, - * unless the callback throws or returns a rejecting promise, - * in which case the returned promise will reject as well. - * - * The optional `oncancelled` argument will be invoked when the returned promise is cancelled, - * with the same semantics as the `oncancelled` argument of the constructor. - * Once the parent promise settles, the `onfinally` callback will run, - * _even after the returned promise has been cancelled:_ - * in that case, should it reject or throw, the reason will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as an unhandled rejection. - * - * This method is implemented in terms of {@link then} and the same caveats apply. - * It is polyfilled, hence available in every OS/webview version. - * - * @returns A Promise for the completion of the callback. - * Cancellation requests on the returned promise - * will propagate up the chain to the parent promise, - * but not in the other direction. - * - * The promise returned from {@link cancel} will fulfill only after all attached handlers - * up the entire promise chain have been run. - * - * If `onfinally` returns a cancellable promise, - * cancellation requests will be diverted to it, - * and the specified `oncancelled` callback will be discarded. - * See {@link then} for more details. - */ - finally(onfinally?: (() => void) | undefined | null, oncancelled?: CancellablePromiseCanceller): CancellablePromise; - /** - * Creates a CancellablePromise that is resolved with an array of results - * when all of the provided Promises resolve, or rejected when any Promise is rejected. - * - * Every one of the provided objects that is a thenable _and_ cancellable object - * will be cancelled when the returned promise is cancelled, with the same cause. - * - * @group Static Methods - */ - static all(values: Iterable>): CancellablePromise[]>; - static all(values: T): CancellablePromise<{ - -readonly [P in keyof T]: Awaited; - }>; - /** - * Creates a CancellablePromise that is resolved with an array of results - * when all of the provided Promises resolve or reject. - * - * Every one of the provided objects that is a thenable _and_ cancellable object - * will be cancelled when the returned promise is cancelled, with the same cause. - * - * @group Static Methods - */ - static allSettled(values: Iterable>): CancellablePromise>[]>; - static allSettled(values: T): CancellablePromise<{ - -readonly [P in keyof T]: PromiseSettledResult>; - }>; - /** - * The any function returns a promise that is fulfilled by the first given promise to be fulfilled, - * or rejected with an AggregateError containing an array of rejection reasons - * if all of the given promises are rejected. - * It resolves all elements of the passed iterable to promises as it runs this algorithm. - * - * Every one of the provided objects that is a thenable _and_ cancellable object - * will be cancelled when the returned promise is cancelled, with the same cause. - * - * @group Static Methods - */ - static any(values: Iterable>): CancellablePromise>; - static any(values: T): CancellablePromise>; - /** - * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved or rejected. - * - * Every one of the provided objects that is a thenable _and_ cancellable object - * will be cancelled when the returned promise is cancelled, with the same cause. - * - * @group Static Methods - */ - static race(values: Iterable>): CancellablePromise>; - static race(values: T): CancellablePromise>; - /** - * Creates a new cancelled CancellablePromise for the provided cause. - * - * @group Static Methods - */ - static cancel(cause?: any): CancellablePromise; - /** - * Creates a new CancellablePromise that cancels - * after the specified timeout, with the provided cause. - * - * If the {@link AbortSignal.timeout} factory method is available, - * it is used to base the timeout on _active_ time rather than _elapsed_ time. - * Otherwise, `timeout` falls back to {@link setTimeout}. - * - * @group Static Methods - */ - static timeout(milliseconds: number, cause?: any): CancellablePromise; - /** - * Creates a new CancellablePromise that resolves after the specified timeout. - * The returned promise can be cancelled without consequences. - * - * @group Static Methods - */ - static sleep(milliseconds: number): CancellablePromise; - /** - * Creates a new CancellablePromise that resolves after - * the specified timeout, with the provided value. - * The returned promise can be cancelled without consequences. - * - * @group Static Methods - */ - static sleep(milliseconds: number, value: T): CancellablePromise; - /** - * Creates a new rejected CancellablePromise for the provided reason. - * - * @group Static Methods - */ - static reject(reason?: any): CancellablePromise; - /** - * Creates a new resolved CancellablePromise. - * - * @group Static Methods - */ - static resolve(): CancellablePromise; - /** - * Creates a new resolved CancellablePromise for the provided value. - * - * @group Static Methods - */ - static resolve(value: T): CancellablePromise>; - /** - * Creates a new resolved CancellablePromise for the provided value. - * - * @group Static Methods - */ - static resolve(value: T | PromiseLike): CancellablePromise>; - /** - * Creates a new CancellablePromise and returns it in an object, along with its resolve and reject functions - * and a getter/setter for the cancellation callback. - * - * This method is polyfilled, hence available in every OS/webview version. - * - * @group Static Methods - */ - static withResolvers(): CancellablePromiseWithResolvers; -} -export {}; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/clipboard.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/clipboard.d.ts deleted file mode 100644 index 4d03634..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/clipboard.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Sets the text to the Clipboard. - * - * @param text - The text to be set to the Clipboard. - * @return A Promise that resolves when the operation is successful. - */ -export declare function SetText(text: string): Promise; -/** - * Get the Clipboard text - * - * @returns A promise that resolves with the text from the Clipboard. - */ -export declare function Text(): Promise; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/contextmenu.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/contextmenu.d.ts deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/contextmenu.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/create.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/create.d.ts deleted file mode 100644 index a3332a4..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/create.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Any is a dummy creation function for simple or unknown types. - */ -export declare function Any(source: any): T; -/** - * ByteSlice is a creation function that replaces - * null strings with empty strings. - */ -export declare function ByteSlice(source: any): string; -/** - * Array takes a creation function for an arbitrary type - * and returns an in-place creation function for an array - * whose elements are of that type. - */ -export declare function Array(element: (source: any) => T): (source: any) => T[]; -/** - * Map takes creation functions for two arbitrary types - * and returns an in-place creation function for an object - * whose keys and values are of those types. - */ -export declare function Map(key: (source: any) => string, value: (source: any) => V): (source: any) => Record; -/** - * Nullable takes a creation function for an arbitrary type - * and returns a creation function for a nullable value of that type. - */ -export declare function Nullable(element: (source: any) => T): (source: any) => (T | null); -/** - * Struct takes an object mapping field names to creation functions - * and returns an in-place creation function for a struct. - */ -export declare function Struct(createField: Record any>): = any>(source: any) => U; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/dialogs.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/dialogs.d.ts deleted file mode 100644 index 223d43e..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/dialogs.d.ts +++ /dev/null @@ -1,140 +0,0 @@ -export interface OpenFileDialogOptions { - /** Indicates if directories can be chosen. */ - CanChooseDirectories?: boolean; - /** Indicates if files can be chosen. */ - CanChooseFiles?: boolean; - /** Indicates if directories can be created. */ - CanCreateDirectories?: boolean; - /** Indicates if hidden files should be shown. */ - ShowHiddenFiles?: boolean; - /** Indicates if aliases should be resolved. */ - ResolvesAliases?: boolean; - /** Indicates if multiple selection is allowed. */ - AllowsMultipleSelection?: boolean; - /** Indicates if the extension should be hidden. */ - HideExtension?: boolean; - /** Indicates if hidden extensions can be selected. */ - CanSelectHiddenExtension?: boolean; - /** Indicates if file packages should be treated as directories. */ - TreatsFilePackagesAsDirectories?: boolean; - /** Indicates if other file types are allowed. */ - AllowsOtherFiletypes?: boolean; - /** Array of file filters. */ - Filters?: FileFilter[]; - /** Title of the dialog. */ - Title?: string; - /** Message to show in the dialog. */ - Message?: string; - /** Text to display on the button. */ - ButtonText?: string; - /** Directory to open in the dialog. */ - Directory?: string; - /** Indicates if the dialog should appear detached from the main window. */ - Detached?: boolean; -} -export interface SaveFileDialogOptions { - /** Default filename to use in the dialog. */ - Filename?: string; - /** Indicates if directories can be chosen. */ - CanChooseDirectories?: boolean; - /** Indicates if files can be chosen. */ - CanChooseFiles?: boolean; - /** Indicates if directories can be created. */ - CanCreateDirectories?: boolean; - /** Indicates if hidden files should be shown. */ - ShowHiddenFiles?: boolean; - /** Indicates if aliases should be resolved. */ - ResolvesAliases?: boolean; - /** Indicates if the extension should be hidden. */ - HideExtension?: boolean; - /** Indicates if hidden extensions can be selected. */ - CanSelectHiddenExtension?: boolean; - /** Indicates if file packages should be treated as directories. */ - TreatsFilePackagesAsDirectories?: boolean; - /** Indicates if other file types are allowed. */ - AllowsOtherFiletypes?: boolean; - /** Array of file filters. */ - Filters?: FileFilter[]; - /** Title of the dialog. */ - Title?: string; - /** Message to show in the dialog. */ - Message?: string; - /** Text to display on the button. */ - ButtonText?: string; - /** Directory to open in the dialog. */ - Directory?: string; - /** Indicates if the dialog should appear detached from the main window. */ - Detached?: boolean; -} -export interface MessageDialogOptions { - /** The title of the dialog window. */ - Title?: string; - /** The main message to show in the dialog. */ - Message?: string; - /** Array of button options to show in the dialog. */ - Buttons?: Button[]; - /** True if the dialog should appear detached from the main window (if applicable). */ - Detached?: boolean; -} -export interface Button { - /** Text that appears within the button. */ - Label?: string; - /** True if the button should cancel an operation when clicked. */ - IsCancel?: boolean; - /** True if the button should be the default action when the user presses enter. */ - IsDefault?: boolean; -} -export interface FileFilter { - /** Display name for the filter, it could be "Text Files", "Images" etc. */ - DisplayName?: string; - /** Pattern to match for the filter, e.g. "*.txt;*.md" for text markdown files. */ - Pattern?: string; -} -/** - * Presents an info dialog. - * - * @param options - Dialog options - * @returns A promise that resolves with the label of the chosen button. - */ -export declare function Info(options: MessageDialogOptions): Promise; -/** - * Presents a warning dialog. - * - * @param options - Dialog options. - * @returns A promise that resolves with the label of the chosen button. - */ -export declare function Warning(options: MessageDialogOptions): Promise; -/** - * Presents an error dialog. - * - * @param options - Dialog options. - * @returns A promise that resolves with the label of the chosen button. - */ -export declare function Error(options: MessageDialogOptions): Promise; -/** - * Presents a question dialog. - * - * @param options - Dialog options. - * @returns A promise that resolves with the label of the chosen button. - */ -export declare function Question(options: MessageDialogOptions): Promise; -/** - * Presents a file selection dialog to pick one or more files to open. - * - * @param options - Dialog options. - * @returns Selected file or list of files, or a blank string/empty list if no file has been selected. - */ -export declare function OpenFile(options: OpenFileDialogOptions & { - AllowsMultipleSelection: true; -}): Promise; -export declare function OpenFile(options: OpenFileDialogOptions & { - AllowsMultipleSelection?: false | undefined; -}): Promise; -export declare function OpenFile(options: OpenFileDialogOptions): Promise; -/** - * Presents a file selection dialog to pick a file to save. - * - * @param options - Dialog options. - * @returns Selected file, or a blank string if no file has been selected. - */ -export declare function SaveFile(options: SaveFileDialogOptions): Promise; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/drag.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/drag.d.ts deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/drag.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/event_types.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/event_types.d.ts deleted file mode 100644 index 382c324..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/event_types.d.ts +++ /dev/null @@ -1,218 +0,0 @@ -export declare const Types: Readonly<{ - Windows: Readonly<{ - APMPowerSettingChange: "windows:APMPowerSettingChange"; - APMPowerStatusChange: "windows:APMPowerStatusChange"; - APMResumeAutomatic: "windows:APMResumeAutomatic"; - APMResumeSuspend: "windows:APMResumeSuspend"; - APMSuspend: "windows:APMSuspend"; - ApplicationStarted: "windows:ApplicationStarted"; - SystemThemeChanged: "windows:SystemThemeChanged"; - WebViewNavigationCompleted: "windows:WebViewNavigationCompleted"; - WindowActive: "windows:WindowActive"; - WindowBackgroundErase: "windows:WindowBackgroundErase"; - WindowClickActive: "windows:WindowClickActive"; - WindowClosing: "windows:WindowClosing"; - WindowDidMove: "windows:WindowDidMove"; - WindowDidResize: "windows:WindowDidResize"; - WindowDPIChanged: "windows:WindowDPIChanged"; - WindowDragDrop: "windows:WindowDragDrop"; - WindowDragEnter: "windows:WindowDragEnter"; - WindowDragLeave: "windows:WindowDragLeave"; - WindowDragOver: "windows:WindowDragOver"; - WindowEndMove: "windows:WindowEndMove"; - WindowEndResize: "windows:WindowEndResize"; - WindowFullscreen: "windows:WindowFullscreen"; - WindowHide: "windows:WindowHide"; - WindowInactive: "windows:WindowInactive"; - WindowKeyDown: "windows:WindowKeyDown"; - WindowKeyUp: "windows:WindowKeyUp"; - WindowKillFocus: "windows:WindowKillFocus"; - WindowNonClientHit: "windows:WindowNonClientHit"; - WindowNonClientMouseDown: "windows:WindowNonClientMouseDown"; - WindowNonClientMouseLeave: "windows:WindowNonClientMouseLeave"; - WindowNonClientMouseMove: "windows:WindowNonClientMouseMove"; - WindowNonClientMouseUp: "windows:WindowNonClientMouseUp"; - WindowPaint: "windows:WindowPaint"; - WindowRestore: "windows:WindowRestore"; - WindowSetFocus: "windows:WindowSetFocus"; - WindowShow: "windows:WindowShow"; - WindowStartMove: "windows:WindowStartMove"; - WindowStartResize: "windows:WindowStartResize"; - WindowUnFullscreen: "windows:WindowUnFullscreen"; - WindowZOrderChanged: "windows:WindowZOrderChanged"; - WindowMinimise: "windows:WindowMinimise"; - WindowUnMinimise: "windows:WindowUnMinimise"; - WindowMaximise: "windows:WindowMaximise"; - WindowUnMaximise: "windows:WindowUnMaximise"; - }>; - Mac: Readonly<{ - ApplicationDidBecomeActive: "mac:ApplicationDidBecomeActive"; - ApplicationDidChangeBackingProperties: "mac:ApplicationDidChangeBackingProperties"; - ApplicationDidChangeEffectiveAppearance: "mac:ApplicationDidChangeEffectiveAppearance"; - ApplicationDidChangeIcon: "mac:ApplicationDidChangeIcon"; - ApplicationDidChangeOcclusionState: "mac:ApplicationDidChangeOcclusionState"; - ApplicationDidChangeScreenParameters: "mac:ApplicationDidChangeScreenParameters"; - ApplicationDidChangeStatusBarFrame: "mac:ApplicationDidChangeStatusBarFrame"; - ApplicationDidChangeStatusBarOrientation: "mac:ApplicationDidChangeStatusBarOrientation"; - ApplicationDidChangeTheme: "mac:ApplicationDidChangeTheme"; - ApplicationDidFinishLaunching: "mac:ApplicationDidFinishLaunching"; - ApplicationDidHide: "mac:ApplicationDidHide"; - ApplicationDidResignActive: "mac:ApplicationDidResignActive"; - ApplicationDidUnhide: "mac:ApplicationDidUnhide"; - ApplicationDidUpdate: "mac:ApplicationDidUpdate"; - ApplicationShouldHandleReopen: "mac:ApplicationShouldHandleReopen"; - ApplicationWillBecomeActive: "mac:ApplicationWillBecomeActive"; - ApplicationWillFinishLaunching: "mac:ApplicationWillFinishLaunching"; - ApplicationWillHide: "mac:ApplicationWillHide"; - ApplicationWillResignActive: "mac:ApplicationWillResignActive"; - ApplicationWillTerminate: "mac:ApplicationWillTerminate"; - ApplicationWillUnhide: "mac:ApplicationWillUnhide"; - ApplicationWillUpdate: "mac:ApplicationWillUpdate"; - MenuDidAddItem: "mac:MenuDidAddItem"; - MenuDidBeginTracking: "mac:MenuDidBeginTracking"; - MenuDidClose: "mac:MenuDidClose"; - MenuDidDisplayItem: "mac:MenuDidDisplayItem"; - MenuDidEndTracking: "mac:MenuDidEndTracking"; - MenuDidHighlightItem: "mac:MenuDidHighlightItem"; - MenuDidOpen: "mac:MenuDidOpen"; - MenuDidPopUp: "mac:MenuDidPopUp"; - MenuDidRemoveItem: "mac:MenuDidRemoveItem"; - MenuDidSendAction: "mac:MenuDidSendAction"; - MenuDidSendActionToItem: "mac:MenuDidSendActionToItem"; - MenuDidUpdate: "mac:MenuDidUpdate"; - MenuWillAddItem: "mac:MenuWillAddItem"; - MenuWillBeginTracking: "mac:MenuWillBeginTracking"; - MenuWillDisplayItem: "mac:MenuWillDisplayItem"; - MenuWillEndTracking: "mac:MenuWillEndTracking"; - MenuWillHighlightItem: "mac:MenuWillHighlightItem"; - MenuWillOpen: "mac:MenuWillOpen"; - MenuWillPopUp: "mac:MenuWillPopUp"; - MenuWillRemoveItem: "mac:MenuWillRemoveItem"; - MenuWillSendAction: "mac:MenuWillSendAction"; - MenuWillSendActionToItem: "mac:MenuWillSendActionToItem"; - MenuWillUpdate: "mac:MenuWillUpdate"; - WebViewDidCommitNavigation: "mac:WebViewDidCommitNavigation"; - WebViewDidFinishNavigation: "mac:WebViewDidFinishNavigation"; - WebViewDidReceiveServerRedirectForProvisionalNavigation: "mac:WebViewDidReceiveServerRedirectForProvisionalNavigation"; - WebViewDidStartProvisionalNavigation: "mac:WebViewDidStartProvisionalNavigation"; - WindowDidBecomeKey: "mac:WindowDidBecomeKey"; - WindowDidBecomeMain: "mac:WindowDidBecomeMain"; - WindowDidBeginSheet: "mac:WindowDidBeginSheet"; - WindowDidChangeAlpha: "mac:WindowDidChangeAlpha"; - WindowDidChangeBackingLocation: "mac:WindowDidChangeBackingLocation"; - WindowDidChangeBackingProperties: "mac:WindowDidChangeBackingProperties"; - WindowDidChangeCollectionBehavior: "mac:WindowDidChangeCollectionBehavior"; - WindowDidChangeEffectiveAppearance: "mac:WindowDidChangeEffectiveAppearance"; - WindowDidChangeOcclusionState: "mac:WindowDidChangeOcclusionState"; - WindowDidChangeOrderingMode: "mac:WindowDidChangeOrderingMode"; - WindowDidChangeScreen: "mac:WindowDidChangeScreen"; - WindowDidChangeScreenParameters: "mac:WindowDidChangeScreenParameters"; - WindowDidChangeScreenProfile: "mac:WindowDidChangeScreenProfile"; - WindowDidChangeScreenSpace: "mac:WindowDidChangeScreenSpace"; - WindowDidChangeScreenSpaceProperties: "mac:WindowDidChangeScreenSpaceProperties"; - WindowDidChangeSharingType: "mac:WindowDidChangeSharingType"; - WindowDidChangeSpace: "mac:WindowDidChangeSpace"; - WindowDidChangeSpaceOrderingMode: "mac:WindowDidChangeSpaceOrderingMode"; - WindowDidChangeTitle: "mac:WindowDidChangeTitle"; - WindowDidChangeToolbar: "mac:WindowDidChangeToolbar"; - WindowDidDeminiaturize: "mac:WindowDidDeminiaturize"; - WindowDidEndSheet: "mac:WindowDidEndSheet"; - WindowDidEnterFullScreen: "mac:WindowDidEnterFullScreen"; - WindowDidEnterVersionBrowser: "mac:WindowDidEnterVersionBrowser"; - WindowDidExitFullScreen: "mac:WindowDidExitFullScreen"; - WindowDidExitVersionBrowser: "mac:WindowDidExitVersionBrowser"; - WindowDidExpose: "mac:WindowDidExpose"; - WindowDidFocus: "mac:WindowDidFocus"; - WindowDidMiniaturize: "mac:WindowDidMiniaturize"; - WindowDidMove: "mac:WindowDidMove"; - WindowDidOrderOffScreen: "mac:WindowDidOrderOffScreen"; - WindowDidOrderOnScreen: "mac:WindowDidOrderOnScreen"; - WindowDidResignKey: "mac:WindowDidResignKey"; - WindowDidResignMain: "mac:WindowDidResignMain"; - WindowDidResize: "mac:WindowDidResize"; - WindowDidUpdate: "mac:WindowDidUpdate"; - WindowDidUpdateAlpha: "mac:WindowDidUpdateAlpha"; - WindowDidUpdateCollectionBehavior: "mac:WindowDidUpdateCollectionBehavior"; - WindowDidUpdateCollectionProperties: "mac:WindowDidUpdateCollectionProperties"; - WindowDidUpdateShadow: "mac:WindowDidUpdateShadow"; - WindowDidUpdateTitle: "mac:WindowDidUpdateTitle"; - WindowDidUpdateToolbar: "mac:WindowDidUpdateToolbar"; - WindowDidZoom: "mac:WindowDidZoom"; - WindowFileDraggingEntered: "mac:WindowFileDraggingEntered"; - WindowFileDraggingExited: "mac:WindowFileDraggingExited"; - WindowFileDraggingPerformed: "mac:WindowFileDraggingPerformed"; - WindowHide: "mac:WindowHide"; - WindowMaximise: "mac:WindowMaximise"; - WindowUnMaximise: "mac:WindowUnMaximise"; - WindowMinimise: "mac:WindowMinimise"; - WindowUnMinimise: "mac:WindowUnMinimise"; - WindowShouldClose: "mac:WindowShouldClose"; - WindowShow: "mac:WindowShow"; - WindowWillBecomeKey: "mac:WindowWillBecomeKey"; - WindowWillBecomeMain: "mac:WindowWillBecomeMain"; - WindowWillBeginSheet: "mac:WindowWillBeginSheet"; - WindowWillChangeOrderingMode: "mac:WindowWillChangeOrderingMode"; - WindowWillClose: "mac:WindowWillClose"; - WindowWillDeminiaturize: "mac:WindowWillDeminiaturize"; - WindowWillEnterFullScreen: "mac:WindowWillEnterFullScreen"; - WindowWillEnterVersionBrowser: "mac:WindowWillEnterVersionBrowser"; - WindowWillExitFullScreen: "mac:WindowWillExitFullScreen"; - WindowWillExitVersionBrowser: "mac:WindowWillExitVersionBrowser"; - WindowWillFocus: "mac:WindowWillFocus"; - WindowWillMiniaturize: "mac:WindowWillMiniaturize"; - WindowWillMove: "mac:WindowWillMove"; - WindowWillOrderOffScreen: "mac:WindowWillOrderOffScreen"; - WindowWillOrderOnScreen: "mac:WindowWillOrderOnScreen"; - WindowWillResignMain: "mac:WindowWillResignMain"; - WindowWillResize: "mac:WindowWillResize"; - WindowWillUnfocus: "mac:WindowWillUnfocus"; - WindowWillUpdate: "mac:WindowWillUpdate"; - WindowWillUpdateAlpha: "mac:WindowWillUpdateAlpha"; - WindowWillUpdateCollectionBehavior: "mac:WindowWillUpdateCollectionBehavior"; - WindowWillUpdateCollectionProperties: "mac:WindowWillUpdateCollectionProperties"; - WindowWillUpdateShadow: "mac:WindowWillUpdateShadow"; - WindowWillUpdateTitle: "mac:WindowWillUpdateTitle"; - WindowWillUpdateToolbar: "mac:WindowWillUpdateToolbar"; - WindowWillUpdateVisibility: "mac:WindowWillUpdateVisibility"; - WindowWillUseStandardFrame: "mac:WindowWillUseStandardFrame"; - WindowZoomIn: "mac:WindowZoomIn"; - WindowZoomOut: "mac:WindowZoomOut"; - WindowZoomReset: "mac:WindowZoomReset"; - }>; - Linux: Readonly<{ - ApplicationStartup: "linux:ApplicationStartup"; - SystemThemeChanged: "linux:SystemThemeChanged"; - WindowDeleteEvent: "linux:WindowDeleteEvent"; - WindowDidMove: "linux:WindowDidMove"; - WindowDidResize: "linux:WindowDidResize"; - WindowFocusIn: "linux:WindowFocusIn"; - WindowFocusOut: "linux:WindowFocusOut"; - WindowLoadChanged: "linux:WindowLoadChanged"; - }>; - Common: Readonly<{ - ApplicationOpenedWithFile: "common:ApplicationOpenedWithFile"; - ApplicationStarted: "common:ApplicationStarted"; - ThemeChanged: "common:ThemeChanged"; - WindowClosing: "common:WindowClosing"; - WindowDidMove: "common:WindowDidMove"; - WindowDidResize: "common:WindowDidResize"; - WindowDPIChanged: "common:WindowDPIChanged"; - WindowFilesDropped: "common:WindowFilesDropped"; - WindowFocus: "common:WindowFocus"; - WindowFullscreen: "common:WindowFullscreen"; - WindowHide: "common:WindowHide"; - WindowLostFocus: "common:WindowLostFocus"; - WindowMaximise: "common:WindowMaximise"; - WindowMinimise: "common:WindowMinimise"; - WindowRestore: "common:WindowRestore"; - WindowRuntimeReady: "common:WindowRuntimeReady"; - WindowShow: "common:WindowShow"; - WindowUnFullscreen: "common:WindowUnFullscreen"; - WindowUnMaximise: "common:WindowUnMaximise"; - WindowUnMinimise: "common:WindowUnMinimise"; - WindowZoom: "common:WindowZoom"; - WindowZoomIn: "common:WindowZoomIn"; - WindowZoomOut: "common:WindowZoomOut"; - WindowZoomReset: "common:WindowZoomReset"; - }>; -}>; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/events.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/events.d.ts deleted file mode 100644 index 11d03e1..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/events.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -export { Types } from "./event_types.js"; -/** - * The type of handlers for a given event. - */ -export type Callback = (ev: WailsEvent) => void; -/** - * Represents a system event or a custom event emitted through wails-provided facilities. - */ -export declare class WailsEvent { - /** - * The name of the event. - */ - name: string; - /** - * Optional data associated with the emitted event. - */ - data: any; - /** - * Name of the originating window. Omitted for application events. - * Will be overridden if set manually. - */ - sender?: string; - constructor(name: string, data?: any); -} -/** - * Register a callback function to be called multiple times for a specific event. - * - * @param eventName - The name of the event to register the callback for. - * @param callback - The callback function to be called when the event is triggered. - * @param maxCallbacks - The maximum number of times the callback can be called for the event. Once the maximum number is reached, the callback will no longer be called. - * @returns A function that, when called, will unregister the callback from the event. - */ -export declare function OnMultiple(eventName: string, callback: Callback, maxCallbacks: number): () => void; -/** - * Registers a callback function to be executed when the specified event occurs. - * - * @param eventName - The name of the event to register the callback for. - * @param callback - The callback function to be called when the event is triggered. - * @returns A function that, when called, will unregister the callback from the event. - */ -export declare function On(eventName: string, callback: Callback): () => void; -/** - * Registers a callback function to be executed only once for the specified event. - * - * @param eventName - The name of the event to register the callback for. - * @param callback - The callback function to be called when the event is triggered. - * @returns A function that, when called, will unregister the callback from the event. - */ -export declare function Once(eventName: string, callback: Callback): () => void; -/** - * Removes event listeners for the specified event names. - * - * @param eventNames - The name of the events to remove listeners for. - */ -export declare function Off(...eventNames: [string, ...string[]]): void; -/** - * Removes all event listeners. - */ -export declare function OffAll(): void; -/** - * Emits the given event. - * - * @param event - The name of the event to emit. - * @returns A promise that will be fulfilled once the event has been emitted. - */ -export declare function Emit(event: WailsEvent): Promise; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/flags.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/flags.d.ts deleted file mode 100644 index 272aa91..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/flags.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Retrieves the value associated with the specified key from the flag map. - * - * @param key - The key to retrieve the value for. - * @return The value associated with the specified key. - */ -export declare function GetFlag(key: string): any; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/index.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/index.d.ts deleted file mode 100644 index 54dca22..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/index.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import "./contextmenu.js"; -import "./drag.js"; -import * as Application from "./application.js"; -import * as Browser from "./browser.js"; -import * as Call from "./calls.js"; -import * as Clipboard from "./clipboard.js"; -import * as Create from "./create.js"; -import * as Dialogs from "./dialogs.js"; -import * as Events from "./events.js"; -import * as Flags from "./flags.js"; -import * as Screens from "./screens.js"; -import * as System from "./system.js"; -import Window from "./window.js"; -import * as WML from "./wml.js"; -export { Application, Browser, Call, Clipboard, Dialogs, Events, Flags, Screens, System, Window, WML }; -export * from "./cancellable.js"; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/listener.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/listener.d.ts deleted file mode 100644 index 75bb5c4..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/listener.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export declare const eventListeners: Map; -export declare class Listener { - eventName: string; - callback: (data: any) => void; - maxCallbacks: number; - constructor(eventName: string, callback: (data: any) => void, maxCallbacks: number); - dispatch(data: any): boolean; -} -export declare function listenerOff(listener: Listener): void; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/nanoid.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/nanoid.d.ts deleted file mode 100644 index a691510..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/nanoid.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function nanoid(size?: number): string; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/runtime.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/runtime.d.ts deleted file mode 100644 index 60f7606..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/runtime.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -export declare const objectNames: Readonly<{ - Call: 0; - Clipboard: 1; - Application: 2; - Events: 3; - ContextMenu: 4; - Dialog: 5; - Window: 6; - Screens: 7; - System: 8; - Browser: 9; - CancelCall: 10; -}>; -export declare let clientId: string; -/** - * Creates a new runtime caller with specified ID. - * - * @param object - The object to invoke the method on. - * @param windowName - The name of the window. - * @return The new runtime caller function. - */ -export declare function newRuntimeCaller(object: number, windowName?: string): (method: number, args?: any) => Promise; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/screens.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/screens.d.ts deleted file mode 100644 index b4a2f62..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/screens.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -export interface Size { - /** The width of a rectangular area. */ - Width: number; - /** The height of a rectangular area. */ - Height: number; -} -export interface Rect { - /** The X coordinate of the origin. */ - X: number; - /** The Y coordinate of the origin. */ - Y: number; - /** The width of the rectangle. */ - Width: number; - /** The height of the rectangle. */ - Height: number; -} -export interface Screen { - /** Unique identifier for the screen. */ - ID: string; - /** Human-readable name of the screen. */ - Name: string; - /** The scale factor of the screen (DPI/96). 1 = standard DPI, 2 = HiDPI (Retina), etc. */ - ScaleFactor: number; - /** The X coordinate of the screen. */ - X: number; - /** The Y coordinate of the screen. */ - Y: number; - /** Contains the width and height of the screen. */ - Size: Size; - /** Contains the bounds of the screen in terms of X, Y, Width, and Height. */ - Bounds: Rect; - /** Contains the physical bounds of the screen in terms of X, Y, Width, and Height (before scaling). */ - PhysicalBounds: Rect; - /** Contains the area of the screen that is actually usable (excluding taskbar and other system UI). */ - WorkArea: Rect; - /** Contains the physical WorkArea of the screen (before scaling). */ - PhysicalWorkArea: Rect; - /** True if this is the primary monitor selected by the user in the operating system. */ - IsPrimary: boolean; - /** The rotation of the screen. */ - Rotation: number; -} -/** - * Gets all screens. - * - * @returns A promise that resolves to an array of Screen objects. - */ -export declare function GetAll(): Promise; -/** - * Gets the primary screen. - * - * @returns A promise that resolves to the primary screen. - */ -export declare function GetPrimary(): Promise; -/** - * Gets the current active screen. - * - * @returns A promise that resolves with the current active screen. - */ -export declare function GetCurrent(): Promise; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/system.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/system.d.ts deleted file mode 100644 index 1e1924b..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/system.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -export declare function invoke(msg: any): void; -/** - * Retrieves the system dark mode status. - * - * @returns A promise that resolves to a boolean value indicating if the system is in dark mode. - */ -export declare function IsDarkMode(): Promise; -/** - * Fetches the capabilities of the application from the server. - * - * @returns A promise that resolves to an object containing the capabilities. - */ -export declare function Capabilities(): Promise>; -export interface OSInfo { - /** The branding of the OS. */ - Branding: string; - /** The ID of the OS. */ - ID: string; - /** The name of the OS. */ - Name: string; - /** The version of the OS. */ - Version: string; -} -export interface EnvironmentInfo { - /** The architecture of the system. */ - Arch: string; - /** True if the application is running in debug mode, otherwise false. */ - Debug: boolean; - /** The operating system in use. */ - OS: string; - /** Details of the operating system. */ - OSInfo: OSInfo; - /** Additional platform information. */ - PlatformInfo: Record; -} -/** - * Retrieves environment details. - * - * @returns A promise that resolves to an object containing OS and system architecture. - */ -export declare function Environment(): Promise; -/** - * Checks if the current operating system is Windows. - * - * @return True if the operating system is Windows, otherwise false. - */ -export declare function IsWindows(): boolean; -/** - * Checks if the current operating system is Linux. - * - * @returns Returns true if the current operating system is Linux, false otherwise. - */ -export declare function IsLinux(): boolean; -/** - * Checks if the current environment is a macOS operating system. - * - * @returns True if the environment is macOS, false otherwise. - */ -export declare function IsMac(): boolean; -/** - * Checks if the current environment architecture is AMD64. - * - * @returns True if the current environment architecture is AMD64, false otherwise. - */ -export declare function IsAMD64(): boolean; -/** - * Checks if the current architecture is ARM. - * - * @returns True if the current architecture is ARM, false otherwise. - */ -export declare function IsARM(): boolean; -/** - * Checks if the current environment is ARM64 architecture. - * - * @returns Returns true if the environment is ARM64 architecture, otherwise returns false. - */ -export declare function IsARM64(): boolean; -/** - * Reports whether the app is being run in debug mode. - * - * @returns True if the app is being run in debug mode. - */ -export declare function IsDebug(): boolean; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/utils.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/utils.d.ts deleted file mode 100644 index d748a04..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/utils.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Logs a message to the console with custom formatting. - * - * @param message - The message to be logged. - */ -export declare function debugLog(message: any): void; -/** - * Checks whether the webview supports the {@link MouseEvent#buttons} property. - * Looking at you macOS High Sierra! - */ -export declare function canTrackButtons(): boolean; -/** - * Checks whether the browser supports removing listeners by triggering an AbortSignal - * (see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#signal). - */ -export declare function canAbortListeners(): boolean; -/** - * Resolves the closest HTMLElement ancestor of an event's target. - */ -export declare function eventTarget(event: Event): HTMLElement; -export declare function whenReady(callback: () => void): void; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/window.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/window.d.ts deleted file mode 100644 index 3acecfb..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/window.d.ts +++ /dev/null @@ -1,292 +0,0 @@ -import type { Screen } from "./screens.js"; -/** - * A record describing the position of a window. - */ -interface Position { - /** The horizontal position of the window. */ - x: number; - /** The vertical position of the window. */ - y: number; -} -/** - * A record describing the size of a window. - */ -interface Size { - /** The width of the window. */ - width: number; - /** The height of the window. */ - height: number; -} -declare const callerSym: unique symbol; -declare class Window { - private [callerSym]; - /** - * Initialises a window object with the specified name. - * - * @private - * @param name - The name of the target window. - */ - constructor(name?: string); - /** - * Gets the specified window. - * - * @param name - The name of the window to get. - * @returns The corresponding window object. - */ - Get(name: string): Window; - /** - * Returns the absolute position of the window. - * - * @returns The current absolute position of the window. - */ - Position(): Promise; - /** - * Centers the window on the screen. - */ - Center(): Promise; - /** - * Closes the window. - */ - Close(): Promise; - /** - * Disables min/max size constraints. - */ - DisableSizeConstraints(): Promise; - /** - * Enables min/max size constraints. - */ - EnableSizeConstraints(): Promise; - /** - * Focuses the window. - */ - Focus(): Promise; - /** - * Forces the window to reload the page assets. - */ - ForceReload(): Promise; - /** - * Switches the window to fullscreen mode. - */ - Fullscreen(): Promise; - /** - * Returns the screen that the window is on. - * - * @returns The screen the window is currently on. - */ - GetScreen(): Promise; - /** - * Returns the current zoom level of the window. - * - * @returns The current zoom level. - */ - GetZoom(): Promise; - /** - * Returns the height of the window. - * - * @returns The current height of the window. - */ - Height(): Promise; - /** - * Hides the window. - */ - Hide(): Promise; - /** - * Returns true if the window is focused. - * - * @returns Whether the window is currently focused. - */ - IsFocused(): Promise; - /** - * Returns true if the window is fullscreen. - * - * @returns Whether the window is currently fullscreen. - */ - IsFullscreen(): Promise; - /** - * Returns true if the window is maximised. - * - * @returns Whether the window is currently maximised. - */ - IsMaximised(): Promise; - /** - * Returns true if the window is minimised. - * - * @returns Whether the window is currently minimised. - */ - IsMinimised(): Promise; - /** - * Maximises the window. - */ - Maximise(): Promise; - /** - * Minimises the window. - */ - Minimise(): Promise; - /** - * Returns the name of the window. - * - * @returns The name of the window. - */ - Name(): Promise; - /** - * Opens the development tools pane. - */ - OpenDevTools(): Promise; - /** - * Returns the relative position of the window to the screen. - * - * @returns The current relative position of the window. - */ - RelativePosition(): Promise; - /** - * Reloads the page assets. - */ - Reload(): Promise; - /** - * Returns true if the window is resizable. - * - * @returns Whether the window is currently resizable. - */ - Resizable(): Promise; - /** - * Restores the window to its previous state if it was previously minimised, maximised or fullscreen. - */ - Restore(): Promise; - /** - * Sets the absolute position of the window. - * - * @param x - The desired horizontal absolute position of the window. - * @param y - The desired vertical absolute position of the window. - */ - SetPosition(x: number, y: number): Promise; - /** - * Sets the window to be always on top. - * - * @param alwaysOnTop - Whether the window should stay on top. - */ - SetAlwaysOnTop(alwaysOnTop: boolean): Promise; - /** - * Sets the background colour of the window. - * - * @param r - The desired red component of the window background. - * @param g - The desired green component of the window background. - * @param b - The desired blue component of the window background. - * @param a - The desired alpha component of the window background. - */ - SetBackgroundColour(r: number, g: number, b: number, a: number): Promise; - /** - * Removes the window frame and title bar. - * - * @param frameless - Whether the window should be frameless. - */ - SetFrameless(frameless: boolean): Promise; - /** - * Disables the system fullscreen button. - * - * @param enabled - Whether the fullscreen button should be enabled. - */ - SetFullscreenButtonEnabled(enabled: boolean): Promise; - /** - * Sets the maximum size of the window. - * - * @param width - The desired maximum width of the window. - * @param height - The desired maximum height of the window. - */ - SetMaxSize(width: number, height: number): Promise; - /** - * Sets the minimum size of the window. - * - * @param width - The desired minimum width of the window. - * @param height - The desired minimum height of the window. - */ - SetMinSize(width: number, height: number): Promise; - /** - * Sets the relative position of the window to the screen. - * - * @param x - The desired horizontal relative position of the window. - * @param y - The desired vertical relative position of the window. - */ - SetRelativePosition(x: number, y: number): Promise; - /** - * Sets whether the window is resizable. - * - * @param resizable - Whether the window should be resizable. - */ - SetResizable(resizable: boolean): Promise; - /** - * Sets the size of the window. - * - * @param width - The desired width of the window. - * @param height - The desired height of the window. - */ - SetSize(width: number, height: number): Promise; - /** - * Sets the title of the window. - * - * @param title - The desired title of the window. - */ - SetTitle(title: string): Promise; - /** - * Sets the zoom level of the window. - * - * @param zoom - The desired zoom level. - */ - SetZoom(zoom: number): Promise; - /** - * Shows the window. - */ - Show(): Promise; - /** - * Returns the size of the window. - * - * @returns The current size of the window. - */ - Size(): Promise; - /** - * Toggles the window between fullscreen and normal. - */ - ToggleFullscreen(): Promise; - /** - * Toggles the window between maximised and normal. - */ - ToggleMaximise(): Promise; - /** - * Un-fullscreens the window. - */ - UnFullscreen(): Promise; - /** - * Un-maximises the window. - */ - UnMaximise(): Promise; - /** - * Un-minimises the window. - */ - UnMinimise(): Promise; - /** - * Returns the width of the window. - * - * @returns The current width of the window. - */ - Width(): Promise; - /** - * Zooms the window. - */ - Zoom(): Promise; - /** - * Increases the zoom level of the webview content. - */ - ZoomIn(): Promise; - /** - * Decreases the zoom level of the webview content. - */ - ZoomOut(): Promise; - /** - * Resets the zoom level of the webview content. - */ - ZoomReset(): Promise; -} -/** - * The window within which the script is running. - */ -declare const thisWindow: Window; -export default thisWindow; diff --git a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/wml.d.ts b/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/wml.d.ts deleted file mode 100644 index 020a3c5..0000000 --- a/node_modules/.pnpm/@wailsio+runtime@3.0.0-alpha.66/node_modules/@wailsio/runtime/types/wml.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Schedules an automatic reload of WML to be performed as soon as the document is fully loaded. - */ -export declare function Enable(): void; -/** - * Reloads the WML page by adding necessary event listeners and browser listeners. - */ -export declare function Reload(): void; diff --git a/node_modules/.pnpm/lock.yaml b/node_modules/.pnpm/lock.yaml deleted file mode 100644 index 09986c9..0000000 --- a/node_modules/.pnpm/lock.yaml +++ /dev/null @@ -1,22 +0,0 @@ -lockfileVersion: '9.0' - -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false - -importers: - - .: - dependencies: - '@wailsio/runtime': - specifier: 3.0.0-alpha.66 - version: 3.0.0-alpha.66 - -packages: - - '@wailsio/runtime@3.0.0-alpha.66': - resolution: {integrity: sha512-ENLu8rn1griL1gFHJqkq1i+BVxrrA0JPJHYneUJYuf/s54kjuQViW0RKDEe/WTDo56ABpfykrd/T8OYpPUyXUw==} - -snapshots: - - '@wailsio/runtime@3.0.0-alpha.66': {} diff --git a/node_modules/@wailsio/runtime/dist/application.js b/node_modules/@wailsio/runtime/dist/application.js deleted file mode 100644 index a017d4a..0000000 --- a/node_modules/@wailsio/runtime/dist/application.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -const call = newRuntimeCaller(objectNames.Application); -const HideMethod = 0; -const ShowMethod = 1; -const QuitMethod = 2; -/** - * Hides a certain method by calling the HideMethod function. - */ -export function Hide() { - return call(HideMethod); -} -/** - * Calls the ShowMethod and returns the result. - */ -export function Show() { - return call(ShowMethod); -} -/** - * Calls the QuitMethod to terminate the program. - */ -export function Quit() { - return call(QuitMethod); -} diff --git a/node_modules/@wailsio/runtime/dist/browser.js b/node_modules/@wailsio/runtime/dist/browser.js deleted file mode 100644 index 6339890..0000000 --- a/node_modules/@wailsio/runtime/dist/browser.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -const call = newRuntimeCaller(objectNames.Browser); -const BrowserOpenURL = 0; -/** - * Open a browser window to the given URL. - * - * @param url - The URL to open - */ -export function OpenURL(url) { - return call(BrowserOpenURL, { url: url.toString() }); -} diff --git a/node_modules/@wailsio/runtime/dist/callable.js b/node_modules/@wailsio/runtime/dist/callable.js deleted file mode 100644 index c382735..0000000 --- a/node_modules/@wailsio/runtime/dist/callable.js +++ /dev/null @@ -1,144 +0,0 @@ -// Source: https://github.com/inspect-js/is-callable -// The MIT License (MIT) -// -// Copyright (c) 2015 Jordan Harband -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. -var fnToStr = Function.prototype.toString; -var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply; -var badArrayLike; -var isCallableMarker; -if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') { - try { - badArrayLike = Object.defineProperty({}, 'length', { - get: function () { - throw isCallableMarker; - } - }); - isCallableMarker = {}; - // eslint-disable-next-line no-throw-literal - reflectApply(function () { throw 42; }, null, badArrayLike); - } - catch (_) { - if (_ !== isCallableMarker) { - reflectApply = null; - } - } -} -else { - reflectApply = null; -} -var constructorRegex = /^\s*class\b/; -var isES6ClassFn = function isES6ClassFunction(value) { - try { - var fnStr = fnToStr.call(value); - return constructorRegex.test(fnStr); - } - catch (e) { - return false; // not a function - } -}; -var tryFunctionObject = function tryFunctionToStr(value) { - try { - if (isES6ClassFn(value)) { - return false; - } - fnToStr.call(value); - return true; - } - catch (e) { - return false; - } -}; -var toStr = Object.prototype.toString; -var objectClass = '[object Object]'; -var fnClass = '[object Function]'; -var genClass = '[object GeneratorFunction]'; -var ddaClass = '[object HTMLAllCollection]'; // IE 11 -var ddaClass2 = '[object HTML document.all class]'; -var ddaClass3 = '[object HTMLCollection]'; // IE 9-10 -var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag` -var isIE68 = !(0 in [,]); // eslint-disable-line no-sparse-arrays, comma-spacing -var isDDA = function isDocumentDotAll() { return false; }; -if (typeof document === 'object') { - // Firefox 3 canonicalizes DDA to undefined when it's not accessed directly - var all = document.all; - if (toStr.call(all) === toStr.call(document.all)) { - isDDA = function isDocumentDotAll(value) { - /* globals document: false */ - // in IE 6-8, typeof document.all is "object" and it's truthy - if ((isIE68 || !value) && (typeof value === 'undefined' || typeof value === 'object')) { - try { - var str = toStr.call(value); - return (str === ddaClass - || str === ddaClass2 - || str === ddaClass3 // opera 12.16 - || str === objectClass // IE 6-8 - ) && value('') == null; // eslint-disable-line eqeqeq - } - catch (e) { /**/ } - } - return false; - }; - } -} -function isCallableRefApply(value) { - if (isDDA(value)) { - return true; - } - if (!value) { - return false; - } - if (typeof value !== 'function' && typeof value !== 'object') { - return false; - } - try { - reflectApply(value, null, badArrayLike); - } - catch (e) { - if (e !== isCallableMarker) { - return false; - } - } - return !isES6ClassFn(value) && tryFunctionObject(value); -} -function isCallableNoRefApply(value) { - if (isDDA(value)) { - return true; - } - if (!value) { - return false; - } - if (typeof value !== 'function' && typeof value !== 'object') { - return false; - } - if (hasToStringTag) { - return tryFunctionObject(value); - } - if (isES6ClassFn(value)) { - return false; - } - var strClass = toStr.call(value); - if (strClass !== fnClass && strClass !== genClass && !(/^\[object HTML/).test(strClass)) { - return false; - } - return tryFunctionObject(value); -} -; -export default reflectApply ? isCallableRefApply : isCallableNoRefApply; diff --git a/node_modules/@wailsio/runtime/dist/calls.js b/node_modules/@wailsio/runtime/dist/calls.js deleted file mode 100644 index a6777fa..0000000 --- a/node_modules/@wailsio/runtime/dist/calls.js +++ /dev/null @@ -1,194 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { CancellablePromise } from "./cancellable.js"; -import { newRuntimeCaller, objectNames } from "./runtime.js"; -import { nanoid } from "./nanoid.js"; -// Setup -window._wails = window._wails || {}; -window._wails.callResultHandler = resultHandler; -window._wails.callErrorHandler = errorHandler; -const call = newRuntimeCaller(objectNames.Call); -const cancelCall = newRuntimeCaller(objectNames.CancelCall); -const callResponses = new Map(); -const CallBinding = 0; -const CancelMethod = 0; -/** - * Exception class that will be thrown in case the bound method returns an error. - * The value of the {@link RuntimeError#name} property is "RuntimeError". - */ -export class RuntimeError extends Error { - /** - * Constructs a new RuntimeError instance. - * @param message - The error message. - * @param options - Options to be forwarded to the Error constructor. - */ - constructor(message, options) { - super(message, options); - this.name = "RuntimeError"; - } -} -/** - * Handles the result of a call request. - * - * @param id - The id of the request to handle the result for. - * @param data - The result data of the request. - * @param isJSON - Indicates whether the data is JSON or not. - */ -function resultHandler(id, data, isJSON) { - const resolvers = getAndDeleteResponse(id); - if (!resolvers) { - return; - } - if (!data) { - resolvers.resolve(undefined); - } - else if (!isJSON) { - resolvers.resolve(data); - } - else { - try { - resolvers.resolve(JSON.parse(data)); - } - catch (err) { - resolvers.reject(new TypeError("could not parse result: " + err.message, { cause: err })); - } - } -} -/** - * Handles the error from a call request. - * - * @param id - The id of the promise handler. - * @param data - The error data to reject the promise handler with. - * @param isJSON - Indicates whether the data is JSON or not. - */ -function errorHandler(id, data, isJSON) { - const resolvers = getAndDeleteResponse(id); - if (!resolvers) { - return; - } - if (!isJSON) { - resolvers.reject(new Error(data)); - } - else { - let error; - try { - error = JSON.parse(data); - } - catch (err) { - resolvers.reject(new TypeError("could not parse error: " + err.message, { cause: err })); - return; - } - let options = {}; - if (error.cause) { - options.cause = error.cause; - } - let exception; - switch (error.kind) { - case "ReferenceError": - exception = new ReferenceError(error.message, options); - break; - case "TypeError": - exception = new TypeError(error.message, options); - break; - case "RuntimeError": - exception = new RuntimeError(error.message, options); - break; - default: - exception = new Error(error.message, options); - break; - } - resolvers.reject(exception); - } -} -/** - * Retrieves and removes the response associated with the given ID from the callResponses map. - * - * @param id - The ID of the response to be retrieved and removed. - * @returns The response object associated with the given ID, if any. - */ -function getAndDeleteResponse(id) { - const response = callResponses.get(id); - callResponses.delete(id); - return response; -} -/** - * Generates a unique ID using the nanoid library. - * - * @returns A unique ID that does not exist in the callResponses set. - */ -function generateID() { - let result; - do { - result = nanoid(); - } while (callResponses.has(result)); - return result; -} -/** - * Call a bound method according to the given call options. - * - * In case of failure, the returned promise will reject with an exception - * among ReferenceError (unknown method), TypeError (wrong argument count or type), - * {@link RuntimeError} (method returned an error), or other (network or internal errors). - * The exception might have a "cause" field with the value returned - * by the application- or service-level error marshaling functions. - * - * @param options - A method call descriptor. - * @returns The result of the call. - */ -export function Call(options) { - const id = generateID(); - const result = CancellablePromise.withResolvers(); - callResponses.set(id, { resolve: result.resolve, reject: result.reject }); - const request = call(CallBinding, Object.assign({ "call-id": id }, options)); - let running = false; - request.then(() => { - running = true; - }, (err) => { - callResponses.delete(id); - result.reject(err); - }); - const cancel = () => { - callResponses.delete(id); - return cancelCall(CancelMethod, { "call-id": id }).catch((err) => { - console.error("Error while requesting binding call cancellation:", err); - }); - }; - result.oncancelled = () => { - if (running) { - return cancel(); - } - else { - return request.then(cancel); - } - }; - return result.promise; -} -/** - * Calls a bound method by name with the specified arguments. - * See {@link Call} for details. - * - * @param methodName - The name of the method in the format 'package.struct.method'. - * @param args - The arguments to pass to the method. - * @returns The result of the method call. - */ -export function ByName(methodName, ...args) { - return Call({ methodName, args }); -} -/** - * Calls a method by its numeric ID with the specified arguments. - * See {@link Call} for details. - * - * @param methodID - The ID of the method to call. - * @param args - The arguments to pass to the method. - * @return The result of the method call. - */ -export function ByID(methodID, ...args) { - return Call({ methodID, args }); -} diff --git a/node_modules/@wailsio/runtime/dist/cancellable.js b/node_modules/@wailsio/runtime/dist/cancellable.js deleted file mode 100644 index 834cb94..0000000 --- a/node_modules/@wailsio/runtime/dist/cancellable.js +++ /dev/null @@ -1,792 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -var _a; -import isCallable from "./callable.js"; -/** - * Exception class that will be used as rejection reason - * in case a {@link CancellablePromise} is cancelled successfully. - * - * The value of the {@link name} property is the string `"CancelError"`. - * The value of the {@link cause} property is the cause passed to the cancel method, if any. - */ -export class CancelError extends Error { - /** - * Constructs a new `CancelError` instance. - * @param message - The error message. - * @param options - Options to be forwarded to the Error constructor. - */ - constructor(message, options) { - super(message, options); - this.name = "CancelError"; - } -} -/** - * Exception class that will be reported as an unhandled rejection - * in case a {@link CancellablePromise} rejects after being cancelled, - * or when the `oncancelled` callback throws or rejects. - * - * The value of the {@link name} property is the string `"CancelledRejectionError"`. - * The value of the {@link cause} property is the reason the promise rejected with. - * - * Because the original promise was cancelled, - * a wrapper promise will be passed to the unhandled rejection listener instead. - * The {@link promise} property holds a reference to the original promise. - */ -export class CancelledRejectionError extends Error { - /** - * Constructs a new `CancelledRejectionError` instance. - * @param promise - The promise that caused the error originally. - * @param reason - The rejection reason. - * @param info - An optional informative message specifying the circumstances in which the error was thrown. - * Defaults to the string `"Unhandled rejection in cancelled promise."`. - */ - constructor(promise, reason, info) { - super((info !== null && info !== void 0 ? info : "Unhandled rejection in cancelled promise.") + " Reason: " + errorMessage(reason), { cause: reason }); - this.promise = promise; - this.name = "CancelledRejectionError"; - } -} -// Private field names. -const barrierSym = Symbol("barrier"); -const cancelImplSym = Symbol("cancelImpl"); -const species = (_a = Symbol.species) !== null && _a !== void 0 ? _a : Symbol("speciesPolyfill"); -/** - * A promise with an attached method for cancelling long-running operations (see {@link CancellablePromise#cancel}). - * Cancellation can optionally be bound to an {@link AbortSignal} - * for better composability (see {@link CancellablePromise#cancelOn}). - * - * Cancelling a pending promise will result in an immediate rejection - * with an instance of {@link CancelError} as reason, - * but whoever started the promise will be responsible - * for actually aborting the underlying operation. - * To this purpose, the constructor and all chaining methods - * accept optional cancellation callbacks. - * - * If a `CancellablePromise` still resolves after having been cancelled, - * the result will be discarded. If it rejects, the reason - * will be reported as an unhandled rejection, - * wrapped in a {@link CancelledRejectionError} instance. - * To facilitate the handling of cancellation requests, - * cancelled `CancellablePromise`s will _not_ report unhandled `CancelError`s - * whose `cause` field is the same as the one with which the current promise was cancelled. - * - * All usual promise methods are defined and return a `CancellablePromise` - * whose cancel method will cancel the parent operation as well, propagating the cancellation reason - * upwards through promise chains. - * Conversely, cancelling a promise will not automatically cancel dependent promises downstream: - * ```ts - * let root = new CancellablePromise((resolve, reject) => { ... }); - * let child1 = root.then(() => { ... }); - * let child2 = child1.then(() => { ... }); - * let child3 = root.catch(() => { ... }); - * child1.cancel(); // Cancels child1 and root, but not child2 or child3 - * ``` - * Cancelling a promise that has already settled is safe and has no consequence. - * - * The `cancel` method returns a promise that _always fulfills_ - * after the whole chain has processed the cancel request - * and all attached callbacks up to that moment have run. - * - * All ES2024 promise methods (static and instance) are defined on CancellablePromise, - * but actual availability may vary with OS/webview version. - * - * In line with the proposal at https://github.com/tc39/proposal-rm-builtin-subclassing, - * `CancellablePromise` does not support transparent subclassing. - * Extenders should take care to provide their own method implementations. - * This might be reconsidered in case the proposal is retired. - * - * CancellablePromise is a wrapper around the DOM Promise object - * and is compliant with the [Promises/A+ specification](https://promisesaplus.com/) - * (it passes the [compliance suite](https://github.com/promises-aplus/promises-tests)) - * if so is the underlying implementation. - */ -export class CancellablePromise extends Promise { - /** - * Creates a new `CancellablePromise`. - * - * @param executor - A callback used to initialize the promise. This callback is passed two arguments: - * a `resolve` callback used to resolve the promise with a value - * or the result of another promise (possibly cancellable), - * and a `reject` callback used to reject the promise with a provided reason or error. - * If the value provided to the `resolve` callback is a thenable _and_ cancellable object - * (it has a `then` _and_ a `cancel` method), - * cancellation requests will be forwarded to that object and the oncancelled will not be invoked anymore. - * If any one of the two callbacks is called _after_ the promise has been cancelled, - * the provided values will be cancelled and resolved as usual, - * but their results will be discarded. - * However, if the resolution process ultimately ends up in a rejection - * that is not due to cancellation, the rejection reason - * will be wrapped in a {@link CancelledRejectionError} - * and bubbled up as an unhandled rejection. - * @param oncancelled - It is the caller's responsibility to ensure that any operation - * started by the executor is properly halted upon cancellation. - * This optional callback can be used to that purpose. - * It will be called _synchronously_ with a cancellation cause - * when cancellation is requested, _after_ the promise has already rejected - * with a {@link CancelError}, but _before_ - * any {@link then}/{@link catch}/{@link finally} callback runs. - * If the callback returns a thenable, the promise returned from {@link cancel} - * will only fulfill after the former has settled. - * Unhandled exceptions or rejections from the callback will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as unhandled rejections. - * If the `resolve` callback is called before cancellation with a cancellable promise, - * cancellation requests on this promise will be diverted to that promise, - * and the original `oncancelled` callback will be discarded. - */ - constructor(executor, oncancelled) { - let resolve; - let reject; - super((res, rej) => { resolve = res; reject = rej; }); - if (this.constructor[species] !== Promise) { - throw new TypeError("CancellablePromise does not support transparent subclassing. Please refrain from overriding the [Symbol.species] static property."); - } - let promise = { - promise: this, - resolve, - reject, - get oncancelled() { return oncancelled !== null && oncancelled !== void 0 ? oncancelled : null; }, - set oncancelled(cb) { oncancelled = cb !== null && cb !== void 0 ? cb : undefined; } - }; - const state = { - get root() { return state; }, - resolving: false, - settled: false - }; - // Setup cancellation system. - void Object.defineProperties(this, { - [barrierSym]: { - configurable: false, - enumerable: false, - writable: true, - value: null - }, - [cancelImplSym]: { - configurable: false, - enumerable: false, - writable: false, - value: cancellerFor(promise, state) - } - }); - // Run the actual executor. - const rejector = rejectorFor(promise, state); - try { - executor(resolverFor(promise, state), rejector); - } - catch (err) { - if (state.resolving) { - console.log("Unhandled exception in CancellablePromise executor.", err); - } - else { - rejector(err); - } - } - } - /** - * Cancels immediately the execution of the operation associated with this promise. - * The promise rejects with a {@link CancelError} instance as reason, - * with the {@link CancelError#cause} property set to the given argument, if any. - * - * Has no effect if called after the promise has already settled; - * repeated calls in particular are safe, but only the first one - * will set the cancellation cause. - * - * The `CancelError` exception _need not_ be handled explicitly _on the promises that are being cancelled:_ - * cancelling a promise with no attached rejection handler does not trigger an unhandled rejection event. - * Therefore, the following idioms are all equally correct: - * ```ts - * new CancellablePromise((resolve, reject) => { ... }).cancel(); - * new CancellablePromise((resolve, reject) => { ... }).then(...).cancel(); - * new CancellablePromise((resolve, reject) => { ... }).then(...).catch(...).cancel(); - * ``` - * Whenever some cancelled promise in a chain rejects with a `CancelError` - * with the same cancellation cause as itself, the error will be discarded silently. - * However, the `CancelError` _will still be delivered_ to all attached rejection handlers - * added by {@link then} and related methods: - * ```ts - * let cancellable = new CancellablePromise((resolve, reject) => { ... }); - * cancellable.then(() => { ... }).catch(console.log); - * cancellable.cancel(); // A CancelError is printed to the console. - * ``` - * If the `CancelError` is not handled downstream by the time it reaches - * a _non-cancelled_ promise, it _will_ trigger an unhandled rejection event, - * just like normal rejections would: - * ```ts - * let cancellable = new CancellablePromise((resolve, reject) => { ... }); - * let chained = cancellable.then(() => { ... }).then(() => { ... }); // No catch... - * cancellable.cancel(); // Unhandled rejection event on chained! - * ``` - * Therefore, it is important to either cancel whole promise chains from their tail, - * as shown in the correct idioms above, or take care of handling errors everywhere. - * - * @returns A cancellable promise that _fulfills_ after the cancel callback (if any) - * and all handlers attached up to the call to cancel have run. - * If the cancel callback returns a thenable, the promise returned by `cancel` - * will also wait for that thenable to settle. - * This enables callers to wait for the cancelled operation to terminate - * without being forced to handle potential errors at the call site. - * ```ts - * cancellable.cancel().then(() => { - * // Cleanup finished, it's safe to do something else. - * }, (err) => { - * // Unreachable: the promise returned from cancel will never reject. - * }); - * ``` - * Note that the returned promise will _not_ handle implicitly any rejection - * that might have occurred already in the cancelled chain. - * It will just track whether registered handlers have been executed or not. - * Therefore, unhandled rejections will never be silently handled by calling cancel. - */ - cancel(cause) { - return new CancellablePromise((resolve) => { - // INVARIANT: the result of this[cancelImplSym] and the barrier do not ever reject. - // Unfortunately macOS High Sierra does not support Promise.allSettled. - Promise.all([ - this[cancelImplSym](new CancelError("Promise cancelled.", { cause })), - currentBarrier(this) - ]).then(() => resolve(), () => resolve()); - }); - } - /** - * Binds promise cancellation to the abort event of the given {@link AbortSignal}. - * If the signal has already aborted, the promise will be cancelled immediately. - * When either condition is verified, the cancellation cause will be set - * to the signal's abort reason (see {@link AbortSignal#reason}). - * - * Has no effect if called (or if the signal aborts) _after_ the promise has already settled. - * Only the first signal to abort will set the cancellation cause. - * - * For more details about the cancellation process, - * see {@link cancel} and the `CancellablePromise` constructor. - * - * This method enables `await`ing cancellable promises without having - * to store them for future cancellation, e.g.: - * ```ts - * await longRunningOperation().cancelOn(signal); - * ``` - * instead of: - * ```ts - * let promiseToBeCancelled = longRunningOperation(); - * await promiseToBeCancelled; - * ``` - * - * @returns This promise, for method chaining. - */ - cancelOn(signal) { - if (signal.aborted) { - void this.cancel(signal.reason); - } - else { - signal.addEventListener('abort', () => void this.cancel(signal.reason), { capture: true }); - } - return this; - } - /** - * Attaches callbacks for the resolution and/or rejection of the `CancellablePromise`. - * - * The optional `oncancelled` argument will be invoked when the returned promise is cancelled, - * with the same semantics as the `oncancelled` argument of the constructor. - * When the parent promise rejects or is cancelled, the `onrejected` callback will run, - * _even after the returned promise has been cancelled:_ - * in that case, should it reject or throw, the reason will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as an unhandled rejection. - * - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A `CancellablePromise` for the completion of whichever callback is executed. - * The returned promise is hooked up to propagate cancellation requests up the chain, but not down: - * - * - if the parent promise is cancelled, the `onrejected` handler will be invoked with a `CancelError` - * and the returned promise _will resolve regularly_ with its result; - * - conversely, if the returned promise is cancelled, _the parent promise is cancelled too;_ - * the `onrejected` handler will still be invoked with the parent's `CancelError`, - * but its result will be discarded - * and the returned promise will reject with a `CancelError` as well. - * - * The promise returned from {@link cancel} will fulfill only after all attached handlers - * up the entire promise chain have been run. - * - * If either callback returns a cancellable promise, - * cancellation requests will be diverted to it, - * and the specified `oncancelled` callback will be discarded. - */ - then(onfulfilled, onrejected, oncancelled) { - if (!(this instanceof CancellablePromise)) { - throw new TypeError("CancellablePromise.prototype.then called on an invalid object."); - } - // NOTE: TypeScript's built-in type for then is broken, - // as it allows specifying an arbitrary TResult1 != T even when onfulfilled is not a function. - // We cannot fix it if we want to CancellablePromise to implement PromiseLike. - if (!isCallable(onfulfilled)) { - onfulfilled = identity; - } - if (!isCallable(onrejected)) { - onrejected = thrower; - } - if (onfulfilled === identity && onrejected == thrower) { - // Shortcut for trivial arguments. - return new CancellablePromise((resolve) => resolve(this)); - } - const barrier = {}; - this[barrierSym] = barrier; - return new CancellablePromise((resolve, reject) => { - void super.then((value) => { - var _a; - if (this[barrierSym] === barrier) { - this[barrierSym] = null; - } - (_a = barrier.resolve) === null || _a === void 0 ? void 0 : _a.call(barrier); - try { - resolve(onfulfilled(value)); - } - catch (err) { - reject(err); - } - }, (reason) => { - var _a; - if (this[barrierSym] === barrier) { - this[barrierSym] = null; - } - (_a = barrier.resolve) === null || _a === void 0 ? void 0 : _a.call(barrier); - try { - resolve(onrejected(reason)); - } - catch (err) { - reject(err); - } - }); - }, async (cause) => { - //cancelled = true; - try { - return oncancelled === null || oncancelled === void 0 ? void 0 : oncancelled(cause); - } - finally { - await this.cancel(cause); - } - }); - } - /** - * Attaches a callback for only the rejection of the Promise. - * - * The optional `oncancelled` argument will be invoked when the returned promise is cancelled, - * with the same semantics as the `oncancelled` argument of the constructor. - * When the parent promise rejects or is cancelled, the `onrejected` callback will run, - * _even after the returned promise has been cancelled:_ - * in that case, should it reject or throw, the reason will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as an unhandled rejection. - * - * It is equivalent to - * ```ts - * cancellablePromise.then(undefined, onrejected, oncancelled); - * ``` - * and the same caveats apply. - * - * @returns A Promise for the completion of the callback. - * Cancellation requests on the returned promise - * will propagate up the chain to the parent promise, - * but not in the other direction. - * - * The promise returned from {@link cancel} will fulfill only after all attached handlers - * up the entire promise chain have been run. - * - * If `onrejected` returns a cancellable promise, - * cancellation requests will be diverted to it, - * and the specified `oncancelled` callback will be discarded. - * See {@link then} for more details. - */ - catch(onrejected, oncancelled) { - return this.then(undefined, onrejected, oncancelled); - } - /** - * Attaches a callback that is invoked when the CancellablePromise is settled (fulfilled or rejected). The - * resolved value cannot be accessed or modified from the callback. - * The returned promise will settle in the same state as the original one - * after the provided callback has completed execution, - * unless the callback throws or returns a rejecting promise, - * in which case the returned promise will reject as well. - * - * The optional `oncancelled` argument will be invoked when the returned promise is cancelled, - * with the same semantics as the `oncancelled` argument of the constructor. - * Once the parent promise settles, the `onfinally` callback will run, - * _even after the returned promise has been cancelled:_ - * in that case, should it reject or throw, the reason will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as an unhandled rejection. - * - * This method is implemented in terms of {@link then} and the same caveats apply. - * It is polyfilled, hence available in every OS/webview version. - * - * @returns A Promise for the completion of the callback. - * Cancellation requests on the returned promise - * will propagate up the chain to the parent promise, - * but not in the other direction. - * - * The promise returned from {@link cancel} will fulfill only after all attached handlers - * up the entire promise chain have been run. - * - * If `onfinally` returns a cancellable promise, - * cancellation requests will be diverted to it, - * and the specified `oncancelled` callback will be discarded. - * See {@link then} for more details. - */ - finally(onfinally, oncancelled) { - if (!(this instanceof CancellablePromise)) { - throw new TypeError("CancellablePromise.prototype.finally called on an invalid object."); - } - if (!isCallable(onfinally)) { - return this.then(onfinally, onfinally, oncancelled); - } - return this.then((value) => CancellablePromise.resolve(onfinally()).then(() => value), (reason) => CancellablePromise.resolve(onfinally()).then(() => { throw reason; }), oncancelled); - } - /** - * We use the `[Symbol.species]` static property, if available, - * to disable the built-in automatic subclassing features from {@link Promise}. - * It is critical for performance reasons that extenders do not override this. - * Once the proposal at https://github.com/tc39/proposal-rm-builtin-subclassing - * is either accepted or retired, this implementation will have to be revised accordingly. - * - * @ignore - * @internal - */ - static get [species]() { - return Promise; - } - static all(values) { - let collected = Array.from(values); - const promise = collected.length === 0 - ? CancellablePromise.resolve(collected) - : new CancellablePromise((resolve, reject) => { - void Promise.all(collected).then(resolve, reject); - }, (cause) => cancelAll(promise, collected, cause)); - return promise; - } - static allSettled(values) { - let collected = Array.from(values); - const promise = collected.length === 0 - ? CancellablePromise.resolve(collected) - : new CancellablePromise((resolve, reject) => { - void Promise.allSettled(collected).then(resolve, reject); - }, (cause) => cancelAll(promise, collected, cause)); - return promise; - } - static any(values) { - let collected = Array.from(values); - const promise = collected.length === 0 - ? CancellablePromise.resolve(collected) - : new CancellablePromise((resolve, reject) => { - void Promise.any(collected).then(resolve, reject); - }, (cause) => cancelAll(promise, collected, cause)); - return promise; - } - static race(values) { - let collected = Array.from(values); - const promise = new CancellablePromise((resolve, reject) => { - void Promise.race(collected).then(resolve, reject); - }, (cause) => cancelAll(promise, collected, cause)); - return promise; - } - /** - * Creates a new cancelled CancellablePromise for the provided cause. - * - * @group Static Methods - */ - static cancel(cause) { - const p = new CancellablePromise(() => { }); - p.cancel(cause); - return p; - } - /** - * Creates a new CancellablePromise that cancels - * after the specified timeout, with the provided cause. - * - * If the {@link AbortSignal.timeout} factory method is available, - * it is used to base the timeout on _active_ time rather than _elapsed_ time. - * Otherwise, `timeout` falls back to {@link setTimeout}. - * - * @group Static Methods - */ - static timeout(milliseconds, cause) { - const promise = new CancellablePromise(() => { }); - if (AbortSignal && typeof AbortSignal === 'function' && AbortSignal.timeout && typeof AbortSignal.timeout === 'function') { - AbortSignal.timeout(milliseconds).addEventListener('abort', () => void promise.cancel(cause)); - } - else { - setTimeout(() => void promise.cancel(cause), milliseconds); - } - return promise; - } - static sleep(milliseconds, value) { - return new CancellablePromise((resolve) => { - setTimeout(() => resolve(value), milliseconds); - }); - } - /** - * Creates a new rejected CancellablePromise for the provided reason. - * - * @group Static Methods - */ - static reject(reason) { - return new CancellablePromise((_, reject) => reject(reason)); - } - static resolve(value) { - if (value instanceof CancellablePromise) { - // Optimise for cancellable promises. - return value; - } - return new CancellablePromise((resolve) => resolve(value)); - } - /** - * Creates a new CancellablePromise and returns it in an object, along with its resolve and reject functions - * and a getter/setter for the cancellation callback. - * - * This method is polyfilled, hence available in every OS/webview version. - * - * @group Static Methods - */ - static withResolvers() { - let result = { oncancelled: null }; - result.promise = new CancellablePromise((resolve, reject) => { - result.resolve = resolve; - result.reject = reject; - }, (cause) => { var _a; (_a = result.oncancelled) === null || _a === void 0 ? void 0 : _a.call(result, cause); }); - return result; - } -} -/** - * Returns a callback that implements the cancellation algorithm for the given cancellable promise. - * The promise returned from the resulting function does not reject. - */ -function cancellerFor(promise, state) { - let cancellationPromise = undefined; - return (reason) => { - if (!state.settled) { - state.settled = true; - state.reason = reason; - promise.reject(reason); - // Attach an error handler that ignores this specific rejection reason and nothing else. - // In theory, a sane underlying implementation at this point - // should always reject with our cancellation reason, - // hence the handler will never throw. - void Promise.prototype.then.call(promise.promise, undefined, (err) => { - if (err !== reason) { - throw err; - } - }); - } - // If reason is not set, the promise resolved regularly, hence we must not call oncancelled. - // If oncancelled is unset, no need to go any further. - if (!state.reason || !promise.oncancelled) { - return; - } - cancellationPromise = new Promise((resolve) => { - try { - resolve(promise.oncancelled(state.reason.cause)); - } - catch (err) { - Promise.reject(new CancelledRejectionError(promise.promise, err, "Unhandled exception in oncancelled callback.")); - } - }).catch((reason) => { - Promise.reject(new CancelledRejectionError(promise.promise, reason, "Unhandled rejection in oncancelled callback.")); - }); - // Unset oncancelled to prevent repeated calls. - promise.oncancelled = null; - return cancellationPromise; - }; -} -/** - * Returns a callback that implements the resolution algorithm for the given cancellable promise. - */ -function resolverFor(promise, state) { - return (value) => { - if (state.resolving) { - return; - } - state.resolving = true; - if (value === promise.promise) { - if (state.settled) { - return; - } - state.settled = true; - promise.reject(new TypeError("A promise cannot be resolved with itself.")); - return; - } - if (value != null && (typeof value === 'object' || typeof value === 'function')) { - let then; - try { - then = value.then; - } - catch (err) { - state.settled = true; - promise.reject(err); - return; - } - if (isCallable(then)) { - try { - let cancel = value.cancel; - if (isCallable(cancel)) { - const oncancelled = (cause) => { - Reflect.apply(cancel, value, [cause]); - }; - if (state.reason) { - // If already cancelled, propagate cancellation. - // The promise returned from the canceller algorithm does not reject - // so it can be discarded safely. - void cancellerFor(Object.assign(Object.assign({}, promise), { oncancelled }), state)(state.reason); - } - else { - promise.oncancelled = oncancelled; - } - } - } - catch (_a) { } - const newState = { - root: state.root, - resolving: false, - get settled() { return this.root.settled; }, - set settled(value) { this.root.settled = value; }, - get reason() { return this.root.reason; } - }; - const rejector = rejectorFor(promise, newState); - try { - Reflect.apply(then, value, [resolverFor(promise, newState), rejector]); - } - catch (err) { - rejector(err); - } - return; // IMPORTANT! - } - } - if (state.settled) { - return; - } - state.settled = true; - promise.resolve(value); - }; -} -/** - * Returns a callback that implements the rejection algorithm for the given cancellable promise. - */ -function rejectorFor(promise, state) { - return (reason) => { - if (state.resolving) { - return; - } - state.resolving = true; - if (state.settled) { - try { - if (reason instanceof CancelError && state.reason instanceof CancelError && Object.is(reason.cause, state.reason.cause)) { - // Swallow late rejections that are CancelErrors whose cancellation cause is the same as ours. - return; - } - } - catch (_a) { } - void Promise.reject(new CancelledRejectionError(promise.promise, reason)); - } - else { - state.settled = true; - promise.reject(reason); - } - }; -} -/** - * Cancels all values in an array that look like cancellable thenables. - * Returns a promise that fulfills once all cancellation procedures for the given values have settled. - */ -function cancelAll(parent, values, cause) { - const results = []; - for (const value of values) { - let cancel; - try { - if (!isCallable(value.then)) { - continue; - } - cancel = value.cancel; - if (!isCallable(cancel)) { - continue; - } - } - catch (_a) { - continue; - } - let result; - try { - result = Reflect.apply(cancel, value, [cause]); - } - catch (err) { - Promise.reject(new CancelledRejectionError(parent, err, "Unhandled exception in cancel method.")); - continue; - } - if (!result) { - continue; - } - results.push((result instanceof Promise ? result : Promise.resolve(result)).catch((reason) => { - Promise.reject(new CancelledRejectionError(parent, reason, "Unhandled rejection in cancel method.")); - })); - } - return Promise.all(results); -} -/** - * Returns its argument. - */ -function identity(x) { - return x; -} -/** - * Throws its argument. - */ -function thrower(reason) { - throw reason; -} -/** - * Attempts various strategies to convert an error to a string. - */ -function errorMessage(err) { - try { - if (err instanceof Error || typeof err !== 'object' || err.toString !== Object.prototype.toString) { - return "" + err; - } - } - catch (_a) { } - try { - return JSON.stringify(err); - } - catch (_b) { } - try { - return Object.prototype.toString.call(err); - } - catch (_c) { } - return ""; -} -/** - * Gets the current barrier promise for the given cancellable promise. If necessary, initialises the barrier. - */ -function currentBarrier(promise) { - var _a; - let pwr = (_a = promise[barrierSym]) !== null && _a !== void 0 ? _a : {}; - if (!('promise' in pwr)) { - Object.assign(pwr, promiseWithResolvers()); - } - if (promise[barrierSym] == null) { - pwr.resolve(); - promise[barrierSym] = pwr; - } - return pwr.promise; -} -// Polyfill Promise.withResolvers. -let promiseWithResolvers = Promise.withResolvers; -if (promiseWithResolvers && typeof promiseWithResolvers === 'function') { - promiseWithResolvers = promiseWithResolvers.bind(Promise); -} -else { - promiseWithResolvers = function () { - let resolve; - let reject; - const promise = new Promise((res, rej) => { resolve = res; reject = rej; }); - return { promise, resolve, reject }; - }; -} diff --git a/node_modules/@wailsio/runtime/dist/clipboard.js b/node_modules/@wailsio/runtime/dist/clipboard.js deleted file mode 100644 index d579d4b..0000000 --- a/node_modules/@wailsio/runtime/dist/clipboard.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -const call = newRuntimeCaller(objectNames.Clipboard); -const ClipboardSetText = 0; -const ClipboardText = 1; -/** - * Sets the text to the Clipboard. - * - * @param text - The text to be set to the Clipboard. - * @return A Promise that resolves when the operation is successful. - */ -export function SetText(text) { - return call(ClipboardSetText, { text }); -} -/** - * Get the Clipboard text - * - * @returns A promise that resolves with the text from the Clipboard. - */ -export function Text() { - return call(ClipboardText); -} diff --git a/node_modules/@wailsio/runtime/dist/contextmenu.js b/node_modules/@wailsio/runtime/dist/contextmenu.js deleted file mode 100644 index 1485c3a..0000000 --- a/node_modules/@wailsio/runtime/dist/contextmenu.js +++ /dev/null @@ -1,80 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -import { IsDebug } from "./system.js"; -import { eventTarget } from "./utils"; -// setup -window.addEventListener('contextmenu', contextMenuHandler); -const call = newRuntimeCaller(objectNames.ContextMenu); -const ContextMenuOpen = 0; -function openContextMenu(id, x, y, data) { - void call(ContextMenuOpen, { id, x, y, data }); -} -function contextMenuHandler(event) { - const target = eventTarget(event); - // Check for custom context menu - const customContextMenu = window.getComputedStyle(target).getPropertyValue("--custom-contextmenu").trim(); - if (customContextMenu) { - event.preventDefault(); - const data = window.getComputedStyle(target).getPropertyValue("--custom-contextmenu-data"); - openContextMenu(customContextMenu, event.clientX, event.clientY, data); - } - else { - processDefaultContextMenu(event, target); - } -} -/* ---default-contextmenu: auto; (default) will show the default context menu if contentEditable is true OR text has been selected OR element is input or textarea ---default-contextmenu: show; will always show the default context menu ---default-contextmenu: hide; will always hide the default context menu - -This rule is inherited like normal CSS rules, so nesting works as expected -*/ -function processDefaultContextMenu(event, target) { - // Debug builds always show the menu - if (IsDebug()) { - return; - } - // Process default context menu - switch (window.getComputedStyle(target).getPropertyValue("--default-contextmenu").trim()) { - case 'show': - return; - case 'hide': - event.preventDefault(); - return; - } - // Check if contentEditable is true - if (target.isContentEditable) { - return; - } - // Check if text has been selected - const selection = window.getSelection(); - const hasSelection = selection && selection.toString().length > 0; - if (hasSelection) { - for (let i = 0; i < selection.rangeCount; i++) { - const range = selection.getRangeAt(i); - const rects = range.getClientRects(); - for (let j = 0; j < rects.length; j++) { - const rect = rects[j]; - if (document.elementFromPoint(rect.left, rect.top) === target) { - return; - } - } - } - } - // Check if tag is input or textarea. - if (target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement) { - if (hasSelection || (!target.readOnly && !target.disabled)) { - return; - } - } - // hide default context menu - event.preventDefault(); -} diff --git a/node_modules/@wailsio/runtime/dist/create.js b/node_modules/@wailsio/runtime/dist/create.js deleted file mode 100644 index 6103625..0000000 --- a/node_modules/@wailsio/runtime/dist/create.js +++ /dev/null @@ -1,94 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -/** - * Any is a dummy creation function for simple or unknown types. - */ -export function Any(source) { - return source; -} -/** - * ByteSlice is a creation function that replaces - * null strings with empty strings. - */ -export function ByteSlice(source) { - return ((source == null) ? "" : source); -} -/** - * Array takes a creation function for an arbitrary type - * and returns an in-place creation function for an array - * whose elements are of that type. - */ -export function Array(element) { - if (element === Any) { - return (source) => (source === null ? [] : source); - } - return (source) => { - if (source === null) { - return []; - } - for (let i = 0; i < source.length; i++) { - source[i] = element(source[i]); - } - return source; - }; -} -/** - * Map takes creation functions for two arbitrary types - * and returns an in-place creation function for an object - * whose keys and values are of those types. - */ -export function Map(key, value) { - if (value === Any) { - return (source) => (source === null ? {} : source); - } - return (source) => { - if (source === null) { - return {}; - } - for (const key in source) { - source[key] = value(source[key]); - } - return source; - }; -} -/** - * Nullable takes a creation function for an arbitrary type - * and returns a creation function for a nullable value of that type. - */ -export function Nullable(element) { - if (element === Any) { - return Any; - } - return (source) => (source === null ? null : element(source)); -} -/** - * Struct takes an object mapping field names to creation functions - * and returns an in-place creation function for a struct. - */ -export function Struct(createField) { - let allAny = true; - for (const name in createField) { - if (createField[name] !== Any) { - allAny = false; - break; - } - } - if (allAny) { - return Any; - } - return (source) => { - for (const name in createField) { - if (name in source) { - source[name] = createField[name](source[name]); - } - } - return source; - }; -} diff --git a/node_modules/@wailsio/runtime/dist/dialogs.js b/node_modules/@wailsio/runtime/dist/dialogs.js deleted file mode 100644 index 2cfa475..0000000 --- a/node_modules/@wailsio/runtime/dist/dialogs.js +++ /dev/null @@ -1,134 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -import { nanoid } from './nanoid.js'; -// setup -window._wails = window._wails || {}; -window._wails.dialogErrorCallback = dialogErrorCallback; -window._wails.dialogResultCallback = dialogResultCallback; -const call = newRuntimeCaller(objectNames.Dialog); -const dialogResponses = new Map(); -// Define constants from the `methods` object in Title Case -const DialogInfo = 0; -const DialogWarning = 1; -const DialogError = 2; -const DialogQuestion = 3; -const DialogOpenFile = 4; -const DialogSaveFile = 5; -/** - * Handles the result of a dialog request. - * - * @param id - The id of the request to handle the result for. - * @param data - The result data of the request. - * @param isJSON - Indicates whether the data is JSON or not. - */ -function dialogResultCallback(id, data, isJSON) { - let resolvers = getAndDeleteResponse(id); - if (!resolvers) { - return; - } - if (isJSON) { - try { - resolvers.resolve(JSON.parse(data)); - } - catch (err) { - resolvers.reject(new TypeError("could not parse result: " + err.message, { cause: err })); - } - } - else { - resolvers.resolve(data); - } -} -/** - * Handles the error from a dialog request. - * - * @param id - The id of the promise handler. - * @param message - An error message. - */ -function dialogErrorCallback(id, message) { - var _a; - (_a = getAndDeleteResponse(id)) === null || _a === void 0 ? void 0 : _a.reject(new window.Error(message)); -} -/** - * Retrieves and removes the response associated with the given ID from the dialogResponses map. - * - * @param id - The ID of the response to be retrieved and removed. - * @returns The response object associated with the given ID, if any. - */ -function getAndDeleteResponse(id) { - const response = dialogResponses.get(id); - dialogResponses.delete(id); - return response; -} -/** - * Generates a unique ID using the nanoid library. - * - * @returns A unique ID that does not exist in the dialogResponses set. - */ -function generateID() { - let result; - do { - result = nanoid(); - } while (dialogResponses.has(result)); - return result; -} -/** - * Presents a dialog of specified type with the given options. - * - * @param type - Dialog type. - * @param options - Options for the dialog. - * @returns A promise that resolves with result of dialog. - */ -function dialog(type, options = {}) { - const id = generateID(); - return new Promise((resolve, reject) => { - dialogResponses.set(id, { resolve, reject }); - call(type, Object.assign({ "dialog-id": id }, options)).catch((err) => { - dialogResponses.delete(id); - reject(err); - }); - }); -} -/** - * Presents an info dialog. - * - * @param options - Dialog options - * @returns A promise that resolves with the label of the chosen button. - */ -export function Info(options) { return dialog(DialogInfo, options); } -/** - * Presents a warning dialog. - * - * @param options - Dialog options. - * @returns A promise that resolves with the label of the chosen button. - */ -export function Warning(options) { return dialog(DialogWarning, options); } -/** - * Presents an error dialog. - * - * @param options - Dialog options. - * @returns A promise that resolves with the label of the chosen button. - */ -export function Error(options) { return dialog(DialogError, options); } -/** - * Presents a question dialog. - * - * @param options - Dialog options. - * @returns A promise that resolves with the label of the chosen button. - */ -export function Question(options) { return dialog(DialogQuestion, options); } -export function OpenFile(options) { var _a; return (_a = dialog(DialogOpenFile, options)) !== null && _a !== void 0 ? _a : []; } -/** - * Presents a file selection dialog to pick a file to save. - * - * @param options - Dialog options. - * @returns Selected file, or a blank string if no file has been selected. - */ -export function SaveFile(options) { return dialog(DialogSaveFile, options); } diff --git a/node_modules/@wailsio/runtime/dist/drag.js b/node_modules/@wailsio/runtime/dist/drag.js deleted file mode 100644 index ae4ecc3..0000000 --- a/node_modules/@wailsio/runtime/dist/drag.js +++ /dev/null @@ -1,222 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { invoke, IsWindows } from "./system.js"; -import { GetFlag } from "./flags.js"; -import { canTrackButtons, eventTarget } from "./utils.js"; -// Setup -let canDrag = false; -let dragging = false; -let resizable = false; -let canResize = false; -let resizing = false; -let resizeEdge = ""; -let defaultCursor = "auto"; -let buttons = 0; -const buttonsTracked = canTrackButtons(); -window._wails = window._wails || {}; -window._wails.setResizable = (value) => { - resizable = value; - if (!resizable) { - // Stop resizing if in progress. - canResize = resizing = false; - setResize(); - } -}; -window.addEventListener('mousedown', update, { capture: true }); -window.addEventListener('mousemove', update, { capture: true }); -window.addEventListener('mouseup', update, { capture: true }); -for (const ev of ['click', 'contextmenu', 'dblclick']) { - window.addEventListener(ev, suppressEvent, { capture: true }); -} -function suppressEvent(event) { - // Suppress click events while resizing or dragging. - if (dragging || resizing) { - event.stopImmediatePropagation(); - event.stopPropagation(); - event.preventDefault(); - } -} -// Use constants to avoid comparing strings multiple times. -const MouseDown = 0; -const MouseUp = 1; -const MouseMove = 2; -function update(event) { - // Windows suppresses mouse events at the end of dragging or resizing, - // so we need to be smart and synthesize button events. - let eventType, eventButtons = event.buttons; - switch (event.type) { - case 'mousedown': - eventType = MouseDown; - if (!buttonsTracked) { - eventButtons = buttons | (1 << event.button); - } - break; - case 'mouseup': - eventType = MouseUp; - if (!buttonsTracked) { - eventButtons = buttons & ~(1 << event.button); - } - break; - default: - eventType = MouseMove; - if (!buttonsTracked) { - eventButtons = buttons; - } - break; - } - let released = buttons & ~eventButtons; - let pressed = eventButtons & ~buttons; - buttons = eventButtons; - // Synthesize a release-press sequence if we detect a press of an already pressed button. - if (eventType === MouseDown && !(pressed & event.button)) { - released |= (1 << event.button); - pressed |= (1 << event.button); - } - // Suppress all button events during dragging and resizing, - // unless this is a mouseup event that is ending a drag action. - if (eventType !== MouseMove // Fast path for mousemove - && resizing - || (dragging - && (eventType === MouseDown - || event.button !== 0))) { - event.stopImmediatePropagation(); - event.stopPropagation(); - event.preventDefault(); - } - // Handle releases - if (released & 1) { - primaryUp(event); - } - // Handle presses - if (pressed & 1) { - primaryDown(event); - } - // Handle mousemove - if (eventType === MouseMove) { - onMouseMove(event); - } - ; -} -function primaryDown(event) { - // Reset readiness state. - canDrag = false; - canResize = false; - // Ignore repeated clicks on macOS and Linux. - if (!IsWindows()) { - if (event.type === 'mousedown' && event.button === 0 && event.detail !== 1) { - return; - } - } - if (resizeEdge) { - // Ready to resize if the primary button was pressed for the first time. - canResize = true; - // Do not start drag operations when on resize edges. - return; - } - // Retrieve target element - const target = eventTarget(event); - // Ready to drag if the primary button was pressed for the first time on a draggable element. - // Ignore clicks on the scrollbar. - const style = window.getComputedStyle(target); - canDrag = (style.getPropertyValue("--wails-draggable").trim() === "drag" - && (event.offsetX - parseFloat(style.paddingLeft) < target.clientWidth - && event.offsetY - parseFloat(style.paddingTop) < target.clientHeight)); -} -function primaryUp(event) { - // Stop dragging and resizing. - canDrag = false; - dragging = false; - canResize = false; - resizing = false; -} -const cursorForEdge = Object.freeze({ - "se-resize": "nwse-resize", - "sw-resize": "nesw-resize", - "nw-resize": "nwse-resize", - "ne-resize": "nesw-resize", - "w-resize": "ew-resize", - "n-resize": "ns-resize", - "s-resize": "ns-resize", - "e-resize": "ew-resize", -}); -function setResize(edge) { - if (edge) { - if (!resizeEdge) { - defaultCursor = document.body.style.cursor; - } - document.body.style.cursor = cursorForEdge[edge]; - } - else if (!edge && resizeEdge) { - document.body.style.cursor = defaultCursor; - } - resizeEdge = edge || ""; -} -function onMouseMove(event) { - if (canResize && resizeEdge) { - // Start resizing. - resizing = true; - invoke("wails:resize:" + resizeEdge); - } - else if (canDrag) { - // Start dragging. - dragging = true; - invoke("wails:drag"); - } - if (dragging || resizing) { - // Either drag or resize is ongoing, - // reset readiness and stop processing. - canDrag = canResize = false; - return; - } - if (!resizable || !IsWindows()) { - if (resizeEdge) { - setResize(); - } - return; - } - const resizeHandleHeight = GetFlag("system.resizeHandleHeight") || 5; - const resizeHandleWidth = GetFlag("system.resizeHandleWidth") || 5; - // Extra pixels for the corner areas. - const cornerExtra = GetFlag("resizeCornerExtra") || 10; - const rightBorder = (window.outerWidth - event.clientX) < resizeHandleWidth; - const leftBorder = event.clientX < resizeHandleWidth; - const topBorder = event.clientY < resizeHandleHeight; - const bottomBorder = (window.outerHeight - event.clientY) < resizeHandleHeight; - // Adjust for corner areas. - const rightCorner = (window.outerWidth - event.clientX) < (resizeHandleWidth + cornerExtra); - const leftCorner = event.clientX < (resizeHandleWidth + cornerExtra); - const topCorner = event.clientY < (resizeHandleHeight + cornerExtra); - const bottomCorner = (window.outerHeight - event.clientY) < (resizeHandleHeight + cornerExtra); - if (!leftCorner && !topCorner && !bottomCorner && !rightCorner) { - // Optimisation: out of all corner areas implies out of borders. - setResize(); - } - // Detect corners. - else if (rightCorner && bottomCorner) - setResize("se-resize"); - else if (leftCorner && bottomCorner) - setResize("sw-resize"); - else if (leftCorner && topCorner) - setResize("nw-resize"); - else if (topCorner && rightCorner) - setResize("ne-resize"); - // Detect borders. - else if (leftBorder) - setResize("w-resize"); - else if (topBorder) - setResize("n-resize"); - else if (bottomBorder) - setResize("s-resize"); - else if (rightBorder) - setResize("e-resize"); - // Out of border area. - else - setResize(); -} diff --git a/node_modules/@wailsio/runtime/dist/event_types.js b/node_modules/@wailsio/runtime/dist/event_types.js deleted file mode 100644 index 6cf95d6..0000000 --- a/node_modules/@wailsio/runtime/dist/event_types.js +++ /dev/null @@ -1,229 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL -// This file is automatically generated. DO NOT EDIT -export const Types = Object.freeze({ - Windows: Object.freeze({ - APMPowerSettingChange: "windows:APMPowerSettingChange", - APMPowerStatusChange: "windows:APMPowerStatusChange", - APMResumeAutomatic: "windows:APMResumeAutomatic", - APMResumeSuspend: "windows:APMResumeSuspend", - APMSuspend: "windows:APMSuspend", - ApplicationStarted: "windows:ApplicationStarted", - SystemThemeChanged: "windows:SystemThemeChanged", - WebViewNavigationCompleted: "windows:WebViewNavigationCompleted", - WindowActive: "windows:WindowActive", - WindowBackgroundErase: "windows:WindowBackgroundErase", - WindowClickActive: "windows:WindowClickActive", - WindowClosing: "windows:WindowClosing", - WindowDidMove: "windows:WindowDidMove", - WindowDidResize: "windows:WindowDidResize", - WindowDPIChanged: "windows:WindowDPIChanged", - WindowDragDrop: "windows:WindowDragDrop", - WindowDragEnter: "windows:WindowDragEnter", - WindowDragLeave: "windows:WindowDragLeave", - WindowDragOver: "windows:WindowDragOver", - WindowEndMove: "windows:WindowEndMove", - WindowEndResize: "windows:WindowEndResize", - WindowFullscreen: "windows:WindowFullscreen", - WindowHide: "windows:WindowHide", - WindowInactive: "windows:WindowInactive", - WindowKeyDown: "windows:WindowKeyDown", - WindowKeyUp: "windows:WindowKeyUp", - WindowKillFocus: "windows:WindowKillFocus", - WindowNonClientHit: "windows:WindowNonClientHit", - WindowNonClientMouseDown: "windows:WindowNonClientMouseDown", - WindowNonClientMouseLeave: "windows:WindowNonClientMouseLeave", - WindowNonClientMouseMove: "windows:WindowNonClientMouseMove", - WindowNonClientMouseUp: "windows:WindowNonClientMouseUp", - WindowPaint: "windows:WindowPaint", - WindowRestore: "windows:WindowRestore", - WindowSetFocus: "windows:WindowSetFocus", - WindowShow: "windows:WindowShow", - WindowStartMove: "windows:WindowStartMove", - WindowStartResize: "windows:WindowStartResize", - WindowUnFullscreen: "windows:WindowUnFullscreen", - WindowZOrderChanged: "windows:WindowZOrderChanged", - WindowMinimise: "windows:WindowMinimise", - WindowUnMinimise: "windows:WindowUnMinimise", - WindowMaximise: "windows:WindowMaximise", - WindowUnMaximise: "windows:WindowUnMaximise", - }), - Mac: Object.freeze({ - ApplicationDidBecomeActive: "mac:ApplicationDidBecomeActive", - ApplicationDidChangeBackingProperties: "mac:ApplicationDidChangeBackingProperties", - ApplicationDidChangeEffectiveAppearance: "mac:ApplicationDidChangeEffectiveAppearance", - ApplicationDidChangeIcon: "mac:ApplicationDidChangeIcon", - ApplicationDidChangeOcclusionState: "mac:ApplicationDidChangeOcclusionState", - ApplicationDidChangeScreenParameters: "mac:ApplicationDidChangeScreenParameters", - ApplicationDidChangeStatusBarFrame: "mac:ApplicationDidChangeStatusBarFrame", - ApplicationDidChangeStatusBarOrientation: "mac:ApplicationDidChangeStatusBarOrientation", - ApplicationDidChangeTheme: "mac:ApplicationDidChangeTheme", - ApplicationDidFinishLaunching: "mac:ApplicationDidFinishLaunching", - ApplicationDidHide: "mac:ApplicationDidHide", - ApplicationDidResignActive: "mac:ApplicationDidResignActive", - ApplicationDidUnhide: "mac:ApplicationDidUnhide", - ApplicationDidUpdate: "mac:ApplicationDidUpdate", - ApplicationShouldHandleReopen: "mac:ApplicationShouldHandleReopen", - ApplicationWillBecomeActive: "mac:ApplicationWillBecomeActive", - ApplicationWillFinishLaunching: "mac:ApplicationWillFinishLaunching", - ApplicationWillHide: "mac:ApplicationWillHide", - ApplicationWillResignActive: "mac:ApplicationWillResignActive", - ApplicationWillTerminate: "mac:ApplicationWillTerminate", - ApplicationWillUnhide: "mac:ApplicationWillUnhide", - ApplicationWillUpdate: "mac:ApplicationWillUpdate", - MenuDidAddItem: "mac:MenuDidAddItem", - MenuDidBeginTracking: "mac:MenuDidBeginTracking", - MenuDidClose: "mac:MenuDidClose", - MenuDidDisplayItem: "mac:MenuDidDisplayItem", - MenuDidEndTracking: "mac:MenuDidEndTracking", - MenuDidHighlightItem: "mac:MenuDidHighlightItem", - MenuDidOpen: "mac:MenuDidOpen", - MenuDidPopUp: "mac:MenuDidPopUp", - MenuDidRemoveItem: "mac:MenuDidRemoveItem", - MenuDidSendAction: "mac:MenuDidSendAction", - MenuDidSendActionToItem: "mac:MenuDidSendActionToItem", - MenuDidUpdate: "mac:MenuDidUpdate", - MenuWillAddItem: "mac:MenuWillAddItem", - MenuWillBeginTracking: "mac:MenuWillBeginTracking", - MenuWillDisplayItem: "mac:MenuWillDisplayItem", - MenuWillEndTracking: "mac:MenuWillEndTracking", - MenuWillHighlightItem: "mac:MenuWillHighlightItem", - MenuWillOpen: "mac:MenuWillOpen", - MenuWillPopUp: "mac:MenuWillPopUp", - MenuWillRemoveItem: "mac:MenuWillRemoveItem", - MenuWillSendAction: "mac:MenuWillSendAction", - MenuWillSendActionToItem: "mac:MenuWillSendActionToItem", - MenuWillUpdate: "mac:MenuWillUpdate", - WebViewDidCommitNavigation: "mac:WebViewDidCommitNavigation", - WebViewDidFinishNavigation: "mac:WebViewDidFinishNavigation", - WebViewDidReceiveServerRedirectForProvisionalNavigation: "mac:WebViewDidReceiveServerRedirectForProvisionalNavigation", - WebViewDidStartProvisionalNavigation: "mac:WebViewDidStartProvisionalNavigation", - WindowDidBecomeKey: "mac:WindowDidBecomeKey", - WindowDidBecomeMain: "mac:WindowDidBecomeMain", - WindowDidBeginSheet: "mac:WindowDidBeginSheet", - WindowDidChangeAlpha: "mac:WindowDidChangeAlpha", - WindowDidChangeBackingLocation: "mac:WindowDidChangeBackingLocation", - WindowDidChangeBackingProperties: "mac:WindowDidChangeBackingProperties", - WindowDidChangeCollectionBehavior: "mac:WindowDidChangeCollectionBehavior", - WindowDidChangeEffectiveAppearance: "mac:WindowDidChangeEffectiveAppearance", - WindowDidChangeOcclusionState: "mac:WindowDidChangeOcclusionState", - WindowDidChangeOrderingMode: "mac:WindowDidChangeOrderingMode", - WindowDidChangeScreen: "mac:WindowDidChangeScreen", - WindowDidChangeScreenParameters: "mac:WindowDidChangeScreenParameters", - WindowDidChangeScreenProfile: "mac:WindowDidChangeScreenProfile", - WindowDidChangeScreenSpace: "mac:WindowDidChangeScreenSpace", - WindowDidChangeScreenSpaceProperties: "mac:WindowDidChangeScreenSpaceProperties", - WindowDidChangeSharingType: "mac:WindowDidChangeSharingType", - WindowDidChangeSpace: "mac:WindowDidChangeSpace", - WindowDidChangeSpaceOrderingMode: "mac:WindowDidChangeSpaceOrderingMode", - WindowDidChangeTitle: "mac:WindowDidChangeTitle", - WindowDidChangeToolbar: "mac:WindowDidChangeToolbar", - WindowDidDeminiaturize: "mac:WindowDidDeminiaturize", - WindowDidEndSheet: "mac:WindowDidEndSheet", - WindowDidEnterFullScreen: "mac:WindowDidEnterFullScreen", - WindowDidEnterVersionBrowser: "mac:WindowDidEnterVersionBrowser", - WindowDidExitFullScreen: "mac:WindowDidExitFullScreen", - WindowDidExitVersionBrowser: "mac:WindowDidExitVersionBrowser", - WindowDidExpose: "mac:WindowDidExpose", - WindowDidFocus: "mac:WindowDidFocus", - WindowDidMiniaturize: "mac:WindowDidMiniaturize", - WindowDidMove: "mac:WindowDidMove", - WindowDidOrderOffScreen: "mac:WindowDidOrderOffScreen", - WindowDidOrderOnScreen: "mac:WindowDidOrderOnScreen", - WindowDidResignKey: "mac:WindowDidResignKey", - WindowDidResignMain: "mac:WindowDidResignMain", - WindowDidResize: "mac:WindowDidResize", - WindowDidUpdate: "mac:WindowDidUpdate", - WindowDidUpdateAlpha: "mac:WindowDidUpdateAlpha", - WindowDidUpdateCollectionBehavior: "mac:WindowDidUpdateCollectionBehavior", - WindowDidUpdateCollectionProperties: "mac:WindowDidUpdateCollectionProperties", - WindowDidUpdateShadow: "mac:WindowDidUpdateShadow", - WindowDidUpdateTitle: "mac:WindowDidUpdateTitle", - WindowDidUpdateToolbar: "mac:WindowDidUpdateToolbar", - WindowDidZoom: "mac:WindowDidZoom", - WindowFileDraggingEntered: "mac:WindowFileDraggingEntered", - WindowFileDraggingExited: "mac:WindowFileDraggingExited", - WindowFileDraggingPerformed: "mac:WindowFileDraggingPerformed", - WindowHide: "mac:WindowHide", - WindowMaximise: "mac:WindowMaximise", - WindowUnMaximise: "mac:WindowUnMaximise", - WindowMinimise: "mac:WindowMinimise", - WindowUnMinimise: "mac:WindowUnMinimise", - WindowShouldClose: "mac:WindowShouldClose", - WindowShow: "mac:WindowShow", - WindowWillBecomeKey: "mac:WindowWillBecomeKey", - WindowWillBecomeMain: "mac:WindowWillBecomeMain", - WindowWillBeginSheet: "mac:WindowWillBeginSheet", - WindowWillChangeOrderingMode: "mac:WindowWillChangeOrderingMode", - WindowWillClose: "mac:WindowWillClose", - WindowWillDeminiaturize: "mac:WindowWillDeminiaturize", - WindowWillEnterFullScreen: "mac:WindowWillEnterFullScreen", - WindowWillEnterVersionBrowser: "mac:WindowWillEnterVersionBrowser", - WindowWillExitFullScreen: "mac:WindowWillExitFullScreen", - WindowWillExitVersionBrowser: "mac:WindowWillExitVersionBrowser", - WindowWillFocus: "mac:WindowWillFocus", - WindowWillMiniaturize: "mac:WindowWillMiniaturize", - WindowWillMove: "mac:WindowWillMove", - WindowWillOrderOffScreen: "mac:WindowWillOrderOffScreen", - WindowWillOrderOnScreen: "mac:WindowWillOrderOnScreen", - WindowWillResignMain: "mac:WindowWillResignMain", - WindowWillResize: "mac:WindowWillResize", - WindowWillUnfocus: "mac:WindowWillUnfocus", - WindowWillUpdate: "mac:WindowWillUpdate", - WindowWillUpdateAlpha: "mac:WindowWillUpdateAlpha", - WindowWillUpdateCollectionBehavior: "mac:WindowWillUpdateCollectionBehavior", - WindowWillUpdateCollectionProperties: "mac:WindowWillUpdateCollectionProperties", - WindowWillUpdateShadow: "mac:WindowWillUpdateShadow", - WindowWillUpdateTitle: "mac:WindowWillUpdateTitle", - WindowWillUpdateToolbar: "mac:WindowWillUpdateToolbar", - WindowWillUpdateVisibility: "mac:WindowWillUpdateVisibility", - WindowWillUseStandardFrame: "mac:WindowWillUseStandardFrame", - WindowZoomIn: "mac:WindowZoomIn", - WindowZoomOut: "mac:WindowZoomOut", - WindowZoomReset: "mac:WindowZoomReset", - }), - Linux: Object.freeze({ - ApplicationStartup: "linux:ApplicationStartup", - SystemThemeChanged: "linux:SystemThemeChanged", - WindowDeleteEvent: "linux:WindowDeleteEvent", - WindowDidMove: "linux:WindowDidMove", - WindowDidResize: "linux:WindowDidResize", - WindowFocusIn: "linux:WindowFocusIn", - WindowFocusOut: "linux:WindowFocusOut", - WindowLoadChanged: "linux:WindowLoadChanged", - }), - Common: Object.freeze({ - ApplicationOpenedWithFile: "common:ApplicationOpenedWithFile", - ApplicationStarted: "common:ApplicationStarted", - ThemeChanged: "common:ThemeChanged", - WindowClosing: "common:WindowClosing", - WindowDidMove: "common:WindowDidMove", - WindowDidResize: "common:WindowDidResize", - WindowDPIChanged: "common:WindowDPIChanged", - WindowFilesDropped: "common:WindowFilesDropped", - WindowFocus: "common:WindowFocus", - WindowFullscreen: "common:WindowFullscreen", - WindowHide: "common:WindowHide", - WindowLostFocus: "common:WindowLostFocus", - WindowMaximise: "common:WindowMaximise", - WindowMinimise: "common:WindowMinimise", - WindowRestore: "common:WindowRestore", - WindowRuntimeReady: "common:WindowRuntimeReady", - WindowShow: "common:WindowShow", - WindowUnFullscreen: "common:WindowUnFullscreen", - WindowUnMaximise: "common:WindowUnMaximise", - WindowUnMinimise: "common:WindowUnMinimise", - WindowZoom: "common:WindowZoom", - WindowZoomIn: "common:WindowZoomIn", - WindowZoomOut: "common:WindowZoomOut", - WindowZoomReset: "common:WindowZoomReset", - }), -}); diff --git a/node_modules/@wailsio/runtime/dist/events.js b/node_modules/@wailsio/runtime/dist/events.js deleted file mode 100644 index ba8b2d3..0000000 --- a/node_modules/@wailsio/runtime/dist/events.js +++ /dev/null @@ -1,101 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -import { eventListeners, Listener, listenerOff } from "./listener.js"; -// Setup -window._wails = window._wails || {}; -window._wails.dispatchWailsEvent = dispatchWailsEvent; -const call = newRuntimeCaller(objectNames.Events); -const EmitMethod = 0; -export { Types } from "./event_types.js"; -/** - * Represents a system event or a custom event emitted through wails-provided facilities. - */ -export class WailsEvent { - constructor(name, data = null) { - this.name = name; - this.data = data; - } -} -function dispatchWailsEvent(event) { - let listeners = eventListeners.get(event.name); - if (!listeners) { - return; - } - let wailsEvent = new WailsEvent(event.name, event.data); - if ('sender' in event) { - wailsEvent.sender = event.sender; - } - listeners = listeners.filter(listener => !listener.dispatch(wailsEvent)); - if (listeners.length === 0) { - eventListeners.delete(event.name); - } - else { - eventListeners.set(event.name, listeners); - } -} -/** - * Register a callback function to be called multiple times for a specific event. - * - * @param eventName - The name of the event to register the callback for. - * @param callback - The callback function to be called when the event is triggered. - * @param maxCallbacks - The maximum number of times the callback can be called for the event. Once the maximum number is reached, the callback will no longer be called. - * @returns A function that, when called, will unregister the callback from the event. - */ -export function OnMultiple(eventName, callback, maxCallbacks) { - let listeners = eventListeners.get(eventName) || []; - const thisListener = new Listener(eventName, callback, maxCallbacks); - listeners.push(thisListener); - eventListeners.set(eventName, listeners); - return () => listenerOff(thisListener); -} -/** - * Registers a callback function to be executed when the specified event occurs. - * - * @param eventName - The name of the event to register the callback for. - * @param callback - The callback function to be called when the event is triggered. - * @returns A function that, when called, will unregister the callback from the event. - */ -export function On(eventName, callback) { - return OnMultiple(eventName, callback, -1); -} -/** - * Registers a callback function to be executed only once for the specified event. - * - * @param eventName - The name of the event to register the callback for. - * @param callback - The callback function to be called when the event is triggered. - * @returns A function that, when called, will unregister the callback from the event. - */ -export function Once(eventName, callback) { - return OnMultiple(eventName, callback, 1); -} -/** - * Removes event listeners for the specified event names. - * - * @param eventNames - The name of the events to remove listeners for. - */ -export function Off(...eventNames) { - eventNames.forEach(eventName => eventListeners.delete(eventName)); -} -/** - * Removes all event listeners. - */ -export function OffAll() { - eventListeners.clear(); -} -/** - * Emits the given event. - * - * @param event - The name of the event to emit. - * @returns A promise that will be fulfilled once the event has been emitted. - */ -export function Emit(event) { - return call(EmitMethod, event); -} diff --git a/node_modules/@wailsio/runtime/dist/flags.js b/node_modules/@wailsio/runtime/dist/flags.js deleted file mode 100644 index 31071c2..0000000 --- a/node_modules/@wailsio/runtime/dist/flags.js +++ /dev/null @@ -1,23 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -/** - * Retrieves the value associated with the specified key from the flag map. - * - * @param key - The key to retrieve the value for. - * @return The value associated with the specified key. - */ -export function GetFlag(key) { - try { - return window._wails.flags[key]; - } - catch (e) { - throw new Error("Unable to retrieve flag '" + key + "': " + e, { cause: e }); - } -} diff --git a/node_modules/@wailsio/runtime/dist/index.js b/node_modules/@wailsio/runtime/dist/index.js deleted file mode 100644 index 34f741b..0000000 --- a/node_modules/@wailsio/runtime/dist/index.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -// Setup -window._wails = window._wails || {}; -import "./contextmenu.js"; -import "./drag.js"; -// Re-export public API -import * as Application from "./application.js"; -import * as Browser from "./browser.js"; -import * as Call from "./calls.js"; -import * as Clipboard from "./clipboard.js"; -import * as Create from "./create.js"; -import * as Dialogs from "./dialogs.js"; -import * as Events from "./events.js"; -import * as Flags from "./flags.js"; -import * as Screens from "./screens.js"; -import * as System from "./system.js"; -import Window from "./window.js"; -import * as WML from "./wml.js"; -export { Application, Browser, Call, Clipboard, Dialogs, Events, Flags, Screens, System, Window, WML }; -/** - * An internal utility consumed by the binding generator. - * - * @ignore - * @internal - */ -export { Create }; -export * from "./cancellable.js"; -// Notify backend -window._wails.invoke = System.invoke; -System.invoke("wails:runtime:ready"); diff --git a/node_modules/@wailsio/runtime/dist/listener.js b/node_modules/@wailsio/runtime/dist/listener.js deleted file mode 100644 index 9604088..0000000 --- a/node_modules/@wailsio/runtime/dist/listener.js +++ /dev/null @@ -1,44 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -// The following utilities have been factored out of ./events.ts -// for testing purposes. -export const eventListeners = new Map(); -export class Listener { - constructor(eventName, callback, maxCallbacks) { - this.eventName = eventName; - this.callback = callback; - this.maxCallbacks = maxCallbacks || -1; - } - dispatch(data) { - try { - this.callback(data); - } - catch (err) { - console.error(err); - } - if (this.maxCallbacks === -1) - return false; - this.maxCallbacks -= 1; - return this.maxCallbacks === 0; - } -} -export function listenerOff(listener) { - let listeners = eventListeners.get(listener.eventName); - if (!listeners) { - return; - } - listeners = listeners.filter(l => l !== listener); - if (listeners.length === 0) { - eventListeners.delete(listener.eventName); - } - else { - eventListeners.set(listener.eventName, listeners); - } -} diff --git a/node_modules/@wailsio/runtime/dist/nanoid.js b/node_modules/@wailsio/runtime/dist/nanoid.js deleted file mode 100644 index c0d5e24..0000000 --- a/node_modules/@wailsio/runtime/dist/nanoid.js +++ /dev/null @@ -1,38 +0,0 @@ -// Source: https://github.com/ai/nanoid -// The MIT License (MIT) -// -// Copyright 2017 Andrey Sitnik -// -// Permission is hereby granted, free of charge, to any person obtaining a copy of -// this software and associated documentation files (the "Software"), to deal in -// the Software without restriction, including without limitation the rights to -// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -// the Software, and to permit persons to whom the Software is furnished to do so, -// subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// This alphabet uses `A-Za-z0-9_-` symbols. -// The order of characters is optimized for better gzip and brotli compression. -// References to the same file (works both for gzip and brotli): -// `'use`, `andom`, and `rict'` -// References to the brotli default dictionary: -// `-26T`, `1983`, `40px`, `75px`, `bush`, `jack`, `mind`, `very`, and `wolf` -const urlAlphabet = 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'; -export function nanoid(size = 21) { - let id = ''; - // A compact alternative for `for (var i = 0; i < step; i++)`. - let i = size | 0; - while (i--) { - // `| 0` is more compact and faster than `Math.floor()`. - id += urlAlphabet[(Math.random() * 64) | 0]; - } - return id; -} diff --git a/node_modules/@wailsio/runtime/dist/runtime.js b/node_modules/@wailsio/runtime/dist/runtime.js deleted file mode 100644 index f11df1c..0000000 --- a/node_modules/@wailsio/runtime/dist/runtime.js +++ /dev/null @@ -1,63 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { nanoid } from './nanoid.js'; -const runtimeURL = window.location.origin + "/wails/runtime"; -// Object Names -export const objectNames = Object.freeze({ - Call: 0, - Clipboard: 1, - Application: 2, - Events: 3, - ContextMenu: 4, - Dialog: 5, - Window: 6, - Screens: 7, - System: 8, - Browser: 9, - CancelCall: 10, -}); -export let clientId = nanoid(); -/** - * Creates a new runtime caller with specified ID. - * - * @param object - The object to invoke the method on. - * @param windowName - The name of the window. - * @return The new runtime caller function. - */ -export function newRuntimeCaller(object, windowName = '') { - return function (method, args = null) { - return runtimeCallWithID(object, method, windowName, args); - }; -} -async function runtimeCallWithID(objectID, method, windowName, args) { - var _a, _b; - let url = new URL(runtimeURL); - url.searchParams.append("object", objectID.toString()); - url.searchParams.append("method", method.toString()); - if (args) { - url.searchParams.append("args", JSON.stringify(args)); - } - let headers = { - ["x-wails-client-id"]: clientId - }; - if (windowName) { - headers["x-wails-window-name"] = windowName; - } - let response = await fetch(url, { headers }); - if (!response.ok) { - throw new Error(await response.text()); - } - if (((_b = (_a = response.headers.get("Content-Type")) === null || _a === void 0 ? void 0 : _a.indexOf("application/json")) !== null && _b !== void 0 ? _b : -1) !== -1) { - return response.json(); - } - else { - return response.text(); - } -} diff --git a/node_modules/@wailsio/runtime/dist/screens.js b/node_modules/@wailsio/runtime/dist/screens.js deleted file mode 100644 index b09dc58..0000000 --- a/node_modules/@wailsio/runtime/dist/screens.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -const call = newRuntimeCaller(objectNames.Screens); -const getAll = 0; -const getPrimary = 1; -const getCurrent = 2; -/** - * Gets all screens. - * - * @returns A promise that resolves to an array of Screen objects. - */ -export function GetAll() { - return call(getAll); -} -/** - * Gets the primary screen. - * - * @returns A promise that resolves to the primary screen. - */ -export function GetPrimary() { - return call(getPrimary); -} -/** - * Gets the current active screen. - * - * @returns A promise that resolves with the current active screen. - */ -export function GetCurrent() { - return call(getCurrent); -} diff --git a/node_modules/@wailsio/runtime/dist/system.js b/node_modules/@wailsio/runtime/dist/system.js deleted file mode 100644 index 4d51cf8..0000000 --- a/node_modules/@wailsio/runtime/dist/system.js +++ /dev/null @@ -1,116 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -const call = newRuntimeCaller(objectNames.System); -const SystemIsDarkMode = 0; -const SystemEnvironment = 1; -const _invoke = (function () { - var _a, _b, _c, _d, _e; - try { - if ((_b = (_a = window.chrome) === null || _a === void 0 ? void 0 : _a.webview) === null || _b === void 0 ? void 0 : _b.postMessage) { - return window.chrome.webview.postMessage.bind(window.chrome.webview); - } - else if ((_e = (_d = (_c = window.webkit) === null || _c === void 0 ? void 0 : _c.messageHandlers) === null || _d === void 0 ? void 0 : _d['external']) === null || _e === void 0 ? void 0 : _e.postMessage) { - return window.webkit.messageHandlers['external'].postMessage.bind(window.webkit.messageHandlers['external']); - } - } - catch (e) { } - console.warn('\n%c⚠️ Browser Environment Detected %c\n\n%cOnly UI previews are available in the browser. For full functionality, please run the application in desktop mode.\nMore information at: https://v3.wails.io/learn/build/#using-a-browser-for-development\n', 'background: #ffffff; color: #000000; font-weight: bold; padding: 4px 8px; border-radius: 4px; border: 2px solid #000000;', 'background: transparent;', 'color: #ffffff; font-style: italic; font-weight: bold;'); - return null; -})(); -export function invoke(msg) { - _invoke === null || _invoke === void 0 ? void 0 : _invoke(msg); -} -/** - * Retrieves the system dark mode status. - * - * @returns A promise that resolves to a boolean value indicating if the system is in dark mode. - */ -export function IsDarkMode() { - return call(SystemIsDarkMode); -} -/** - * Fetches the capabilities of the application from the server. - * - * @returns A promise that resolves to an object containing the capabilities. - */ -export async function Capabilities() { - let response = await fetch("/wails/capabilities"); - if (response.ok) { - return response.json(); - } - else { - throw new Error("could not fetch capabilities: " + response.statusText); - } -} -/** - * Retrieves environment details. - * - * @returns A promise that resolves to an object containing OS and system architecture. - */ -export function Environment() { - return call(SystemEnvironment); -} -/** - * Checks if the current operating system is Windows. - * - * @return True if the operating system is Windows, otherwise false. - */ -export function IsWindows() { - return window._wails.environment.OS === "windows"; -} -/** - * Checks if the current operating system is Linux. - * - * @returns Returns true if the current operating system is Linux, false otherwise. - */ -export function IsLinux() { - return window._wails.environment.OS === "linux"; -} -/** - * Checks if the current environment is a macOS operating system. - * - * @returns True if the environment is macOS, false otherwise. - */ -export function IsMac() { - return window._wails.environment.OS === "darwin"; -} -/** - * Checks if the current environment architecture is AMD64. - * - * @returns True if the current environment architecture is AMD64, false otherwise. - */ -export function IsAMD64() { - return window._wails.environment.Arch === "amd64"; -} -/** - * Checks if the current architecture is ARM. - * - * @returns True if the current architecture is ARM, false otherwise. - */ -export function IsARM() { - return window._wails.environment.Arch === "arm"; -} -/** - * Checks if the current environment is ARM64 architecture. - * - * @returns Returns true if the environment is ARM64 architecture, otherwise returns false. - */ -export function IsARM64() { - return window._wails.environment.Arch === "arm64"; -} -/** - * Reports whether the app is being run in debug mode. - * - * @returns True if the app is being run in debug mode. - */ -export function IsDebug() { - return Boolean(window._wails.environment.Debug); -} diff --git a/node_modules/@wailsio/runtime/dist/utils.js b/node_modules/@wailsio/runtime/dist/utils.js deleted file mode 100644 index 4752828..0000000 --- a/node_modules/@wailsio/runtime/dist/utils.js +++ /dev/null @@ -1,95 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -/** - * Logs a message to the console with custom formatting. - * - * @param message - The message to be logged. - */ -export function debugLog(message) { - // eslint-disable-next-line - console.log('%c wails3 %c ' + message + ' ', 'background: #aa0000; color: #fff; border-radius: 3px 0px 0px 3px; padding: 1px; font-size: 0.7rem', 'background: #009900; color: #fff; border-radius: 0px 3px 3px 0px; padding: 1px; font-size: 0.7rem'); -} -/** - * Checks whether the webview supports the {@link MouseEvent#buttons} property. - * Looking at you macOS High Sierra! - */ -export function canTrackButtons() { - return (new MouseEvent('mousedown')).buttons === 0; -} -/** - * Checks whether the browser supports removing listeners by triggering an AbortSignal - * (see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#signal). - */ -export function canAbortListeners() { - if (!EventTarget || !AbortSignal || !AbortController) - return false; - let result = true; - const target = new EventTarget(); - const controller = new AbortController(); - target.addEventListener('test', () => { result = false; }, { signal: controller.signal }); - controller.abort(); - target.dispatchEvent(new CustomEvent('test')); - return result; -} -/** - * Resolves the closest HTMLElement ancestor of an event's target. - */ -export function eventTarget(event) { - var _a; - if (event.target instanceof HTMLElement) { - return event.target; - } - else if (!(event.target instanceof HTMLElement) && event.target instanceof Node) { - return (_a = event.target.parentElement) !== null && _a !== void 0 ? _a : document.body; - } - else { - return document.body; - } -} -/*** - This technique for proper load detection is taken from HTMX: - - BSD 2-Clause License - - Copyright (c) 2020, Big Sky Software - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ***/ -let isReady = false; -document.addEventListener('DOMContentLoaded', () => { isReady = true; }); -export function whenReady(callback) { - if (isReady || document.readyState === 'complete') { - callback(); - } - else { - document.addEventListener('DOMContentLoaded', callback); - } -} diff --git a/node_modules/@wailsio/runtime/dist/window.js b/node_modules/@wailsio/runtime/dist/window.js deleted file mode 100644 index c44d1ee..0000000 --- a/node_modules/@wailsio/runtime/dist/window.js +++ /dev/null @@ -1,438 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { newRuntimeCaller, objectNames } from "./runtime.js"; -const PositionMethod = 0; -const CenterMethod = 1; -const CloseMethod = 2; -const DisableSizeConstraintsMethod = 3; -const EnableSizeConstraintsMethod = 4; -const FocusMethod = 5; -const ForceReloadMethod = 6; -const FullscreenMethod = 7; -const GetScreenMethod = 8; -const GetZoomMethod = 9; -const HeightMethod = 10; -const HideMethod = 11; -const IsFocusedMethod = 12; -const IsFullscreenMethod = 13; -const IsMaximisedMethod = 14; -const IsMinimisedMethod = 15; -const MaximiseMethod = 16; -const MinimiseMethod = 17; -const NameMethod = 18; -const OpenDevToolsMethod = 19; -const RelativePositionMethod = 20; -const ReloadMethod = 21; -const ResizableMethod = 22; -const RestoreMethod = 23; -const SetPositionMethod = 24; -const SetAlwaysOnTopMethod = 25; -const SetBackgroundColourMethod = 26; -const SetFramelessMethod = 27; -const SetFullscreenButtonEnabledMethod = 28; -const SetMaxSizeMethod = 29; -const SetMinSizeMethod = 30; -const SetRelativePositionMethod = 31; -const SetResizableMethod = 32; -const SetSizeMethod = 33; -const SetTitleMethod = 34; -const SetZoomMethod = 35; -const ShowMethod = 36; -const SizeMethod = 37; -const ToggleFullscreenMethod = 38; -const ToggleMaximiseMethod = 39; -const UnFullscreenMethod = 40; -const UnMaximiseMethod = 41; -const UnMinimiseMethod = 42; -const WidthMethod = 43; -const ZoomMethod = 44; -const ZoomInMethod = 45; -const ZoomOutMethod = 46; -const ZoomResetMethod = 47; -// Private field names. -const callerSym = Symbol("caller"); -class Window { - /** - * Initialises a window object with the specified name. - * - * @private - * @param name - The name of the target window. - */ - constructor(name = '') { - this[callerSym] = newRuntimeCaller(objectNames.Window, name); - // bind instance method to make them easily usable in event handlers - for (const method of Object.getOwnPropertyNames(Window.prototype)) { - if (method !== "constructor" - && typeof this[method] === "function") { - this[method] = this[method].bind(this); - } - } - } - /** - * Gets the specified window. - * - * @param name - The name of the window to get. - * @returns The corresponding window object. - */ - Get(name) { - return new Window(name); - } - /** - * Returns the absolute position of the window. - * - * @returns The current absolute position of the window. - */ - Position() { - return this[callerSym](PositionMethod); - } - /** - * Centers the window on the screen. - */ - Center() { - return this[callerSym](CenterMethod); - } - /** - * Closes the window. - */ - Close() { - return this[callerSym](CloseMethod); - } - /** - * Disables min/max size constraints. - */ - DisableSizeConstraints() { - return this[callerSym](DisableSizeConstraintsMethod); - } - /** - * Enables min/max size constraints. - */ - EnableSizeConstraints() { - return this[callerSym](EnableSizeConstraintsMethod); - } - /** - * Focuses the window. - */ - Focus() { - return this[callerSym](FocusMethod); - } - /** - * Forces the window to reload the page assets. - */ - ForceReload() { - return this[callerSym](ForceReloadMethod); - } - /** - * Switches the window to fullscreen mode. - */ - Fullscreen() { - return this[callerSym](FullscreenMethod); - } - /** - * Returns the screen that the window is on. - * - * @returns The screen the window is currently on. - */ - GetScreen() { - return this[callerSym](GetScreenMethod); - } - /** - * Returns the current zoom level of the window. - * - * @returns The current zoom level. - */ - GetZoom() { - return this[callerSym](GetZoomMethod); - } - /** - * Returns the height of the window. - * - * @returns The current height of the window. - */ - Height() { - return this[callerSym](HeightMethod); - } - /** - * Hides the window. - */ - Hide() { - return this[callerSym](HideMethod); - } - /** - * Returns true if the window is focused. - * - * @returns Whether the window is currently focused. - */ - IsFocused() { - return this[callerSym](IsFocusedMethod); - } - /** - * Returns true if the window is fullscreen. - * - * @returns Whether the window is currently fullscreen. - */ - IsFullscreen() { - return this[callerSym](IsFullscreenMethod); - } - /** - * Returns true if the window is maximised. - * - * @returns Whether the window is currently maximised. - */ - IsMaximised() { - return this[callerSym](IsMaximisedMethod); - } - /** - * Returns true if the window is minimised. - * - * @returns Whether the window is currently minimised. - */ - IsMinimised() { - return this[callerSym](IsMinimisedMethod); - } - /** - * Maximises the window. - */ - Maximise() { - return this[callerSym](MaximiseMethod); - } - /** - * Minimises the window. - */ - Minimise() { - return this[callerSym](MinimiseMethod); - } - /** - * Returns the name of the window. - * - * @returns The name of the window. - */ - Name() { - return this[callerSym](NameMethod); - } - /** - * Opens the development tools pane. - */ - OpenDevTools() { - return this[callerSym](OpenDevToolsMethod); - } - /** - * Returns the relative position of the window to the screen. - * - * @returns The current relative position of the window. - */ - RelativePosition() { - return this[callerSym](RelativePositionMethod); - } - /** - * Reloads the page assets. - */ - Reload() { - return this[callerSym](ReloadMethod); - } - /** - * Returns true if the window is resizable. - * - * @returns Whether the window is currently resizable. - */ - Resizable() { - return this[callerSym](ResizableMethod); - } - /** - * Restores the window to its previous state if it was previously minimised, maximised or fullscreen. - */ - Restore() { - return this[callerSym](RestoreMethod); - } - /** - * Sets the absolute position of the window. - * - * @param x - The desired horizontal absolute position of the window. - * @param y - The desired vertical absolute position of the window. - */ - SetPosition(x, y) { - return this[callerSym](SetPositionMethod, { x, y }); - } - /** - * Sets the window to be always on top. - * - * @param alwaysOnTop - Whether the window should stay on top. - */ - SetAlwaysOnTop(alwaysOnTop) { - return this[callerSym](SetAlwaysOnTopMethod, { alwaysOnTop }); - } - /** - * Sets the background colour of the window. - * - * @param r - The desired red component of the window background. - * @param g - The desired green component of the window background. - * @param b - The desired blue component of the window background. - * @param a - The desired alpha component of the window background. - */ - SetBackgroundColour(r, g, b, a) { - return this[callerSym](SetBackgroundColourMethod, { r, g, b, a }); - } - /** - * Removes the window frame and title bar. - * - * @param frameless - Whether the window should be frameless. - */ - SetFrameless(frameless) { - return this[callerSym](SetFramelessMethod, { frameless }); - } - /** - * Disables the system fullscreen button. - * - * @param enabled - Whether the fullscreen button should be enabled. - */ - SetFullscreenButtonEnabled(enabled) { - return this[callerSym](SetFullscreenButtonEnabledMethod, { enabled }); - } - /** - * Sets the maximum size of the window. - * - * @param width - The desired maximum width of the window. - * @param height - The desired maximum height of the window. - */ - SetMaxSize(width, height) { - return this[callerSym](SetMaxSizeMethod, { width, height }); - } - /** - * Sets the minimum size of the window. - * - * @param width - The desired minimum width of the window. - * @param height - The desired minimum height of the window. - */ - SetMinSize(width, height) { - return this[callerSym](SetMinSizeMethod, { width, height }); - } - /** - * Sets the relative position of the window to the screen. - * - * @param x - The desired horizontal relative position of the window. - * @param y - The desired vertical relative position of the window. - */ - SetRelativePosition(x, y) { - return this[callerSym](SetRelativePositionMethod, { x, y }); - } - /** - * Sets whether the window is resizable. - * - * @param resizable - Whether the window should be resizable. - */ - SetResizable(resizable) { - return this[callerSym](SetResizableMethod, { resizable }); - } - /** - * Sets the size of the window. - * - * @param width - The desired width of the window. - * @param height - The desired height of the window. - */ - SetSize(width, height) { - return this[callerSym](SetSizeMethod, { width, height }); - } - /** - * Sets the title of the window. - * - * @param title - The desired title of the window. - */ - SetTitle(title) { - return this[callerSym](SetTitleMethod, { title }); - } - /** - * Sets the zoom level of the window. - * - * @param zoom - The desired zoom level. - */ - SetZoom(zoom) { - return this[callerSym](SetZoomMethod, { zoom }); - } - /** - * Shows the window. - */ - Show() { - return this[callerSym](ShowMethod); - } - /** - * Returns the size of the window. - * - * @returns The current size of the window. - */ - Size() { - return this[callerSym](SizeMethod); - } - /** - * Toggles the window between fullscreen and normal. - */ - ToggleFullscreen() { - return this[callerSym](ToggleFullscreenMethod); - } - /** - * Toggles the window between maximised and normal. - */ - ToggleMaximise() { - return this[callerSym](ToggleMaximiseMethod); - } - /** - * Un-fullscreens the window. - */ - UnFullscreen() { - return this[callerSym](UnFullscreenMethod); - } - /** - * Un-maximises the window. - */ - UnMaximise() { - return this[callerSym](UnMaximiseMethod); - } - /** - * Un-minimises the window. - */ - UnMinimise() { - return this[callerSym](UnMinimiseMethod); - } - /** - * Returns the width of the window. - * - * @returns The current width of the window. - */ - Width() { - return this[callerSym](WidthMethod); - } - /** - * Zooms the window. - */ - Zoom() { - return this[callerSym](ZoomMethod); - } - /** - * Increases the zoom level of the webview content. - */ - ZoomIn() { - return this[callerSym](ZoomInMethod); - } - /** - * Decreases the zoom level of the webview content. - */ - ZoomOut() { - return this[callerSym](ZoomOutMethod); - } - /** - * Resets the zoom level of the webview content. - */ - ZoomReset() { - return this[callerSym](ZoomResetMethod); - } -} -/** - * The window within which the script is running. - */ -const thisWindow = new Window(''); -export default thisWindow; diff --git a/node_modules/@wailsio/runtime/dist/wml.js b/node_modules/@wailsio/runtime/dist/wml.js deleted file mode 100644 index 9939282..0000000 --- a/node_modules/@wailsio/runtime/dist/wml.js +++ /dev/null @@ -1,179 +0,0 @@ -/* - _ __ _ __ -| | / /___ _(_) /____ -| | /| / / __ `/ / / ___/ -| |/ |/ / /_/ / / (__ ) -|__/|__/\__,_/_/_/____/ -The electron alternative for Go -(c) Lea Anthony 2019-present -*/ -import { OpenURL } from "./browser.js"; -import { Question } from "./dialogs.js"; -import { Emit, WailsEvent } from "./events.js"; -import { canAbortListeners, whenReady } from "./utils.js"; -import Window from "./window.js"; -/** - * Sends an event with the given name and optional data. - * - * @param eventName - - The name of the event to send. - * @param [data=null] - - Optional data to send along with the event. - */ -function sendEvent(eventName, data = null) { - Emit(new WailsEvent(eventName, data)); -} -/** - * Calls a method on a specified window. - * - * @param windowName - The name of the window to call the method on. - * @param methodName - The name of the method to call. - */ -function callWindowMethod(windowName, methodName) { - const targetWindow = Window.Get(windowName); - const method = targetWindow[methodName]; - if (typeof method !== "function") { - console.error(`Window method '${methodName}' not found`); - return; - } - try { - method.call(targetWindow); - } - catch (e) { - console.error(`Error calling window method '${methodName}': `, e); - } -} -/** - * Responds to a triggering event by running appropriate WML actions for the current target. - */ -function onWMLTriggered(ev) { - const element = ev.currentTarget; - function runEffect(choice = "Yes") { - if (choice !== "Yes") - return; - const eventType = element.getAttribute('wml-event') || element.getAttribute('data-wml-event'); - const targetWindow = element.getAttribute('wml-target-window') || element.getAttribute('data-wml-target-window') || ""; - const windowMethod = element.getAttribute('wml-window') || element.getAttribute('data-wml-window'); - const url = element.getAttribute('wml-openurl') || element.getAttribute('data-wml-openurl'); - if (eventType !== null) - sendEvent(eventType); - if (windowMethod !== null) - callWindowMethod(targetWindow, windowMethod); - if (url !== null) - void OpenURL(url); - } - const confirm = element.getAttribute('wml-confirm') || element.getAttribute('data-wml-confirm'); - if (confirm) { - Question({ - Title: "Confirm", - Message: confirm, - Detached: false, - Buttons: [ - { Label: "Yes" }, - { Label: "No", IsDefault: true } - ] - }).then(runEffect); - } - else { - runEffect(); - } -} -// Private field names. -const controllerSym = Symbol("controller"); -const triggerMapSym = Symbol("triggerMap"); -const elementCountSym = Symbol("elementCount"); -/** - * AbortControllerRegistry does not actually remember active event listeners: instead - * it ties them to an AbortSignal and uses an AbortController to remove them all at once. - */ -class AbortControllerRegistry { - constructor() { - this[controllerSym] = new AbortController(); - } - /** - * Returns an options object for addEventListener that ties the listener - * to the AbortSignal from the current AbortController. - * - * @param element - An HTML element - * @param triggers - The list of active WML trigger events for the specified elements - */ - set(element, triggers) { - return { signal: this[controllerSym].signal }; - } - /** - * Removes all registered event listeners and resets the registry. - */ - reset() { - this[controllerSym].abort(); - this[controllerSym] = new AbortController(); - } -} -/** - * WeakMapRegistry maps active trigger events to each DOM element through a WeakMap. - * This ensures that the mapping remains private to this module, while still allowing garbage - * collection of the involved elements. - */ -class WeakMapRegistry { - constructor() { - this[triggerMapSym] = new WeakMap(); - this[elementCountSym] = 0; - } - /** - * Sets active triggers for the specified element. - * - * @param element - An HTML element - * @param triggers - The list of active WML trigger events for the specified element - */ - set(element, triggers) { - if (!this[triggerMapSym].has(element)) { - this[elementCountSym]++; - } - this[triggerMapSym].set(element, triggers); - return {}; - } - /** - * Removes all registered event listeners. - */ - reset() { - if (this[elementCountSym] <= 0) - return; - for (const element of document.body.querySelectorAll('*')) { - if (this[elementCountSym] <= 0) - break; - const triggers = this[triggerMapSym].get(element); - if (triggers != null) { - this[elementCountSym]--; - } - for (const trigger of triggers || []) - element.removeEventListener(trigger, onWMLTriggered); - } - this[triggerMapSym] = new WeakMap(); - this[elementCountSym] = 0; - } -} -const triggerRegistry = canAbortListeners() ? new AbortControllerRegistry() : new WeakMapRegistry(); -/** - * Adds event listeners to the specified element. - */ -function addWMLListeners(element) { - const triggerRegExp = /\S+/g; - const triggerAttr = (element.getAttribute('wml-trigger') || element.getAttribute('data-wml-trigger') || "click"); - const triggers = []; - let match; - while ((match = triggerRegExp.exec(triggerAttr)) !== null) - triggers.push(match[0]); - const options = triggerRegistry.set(element, triggers); - for (const trigger of triggers) - element.addEventListener(trigger, onWMLTriggered, options); -} -/** - * Schedules an automatic reload of WML to be performed as soon as the document is fully loaded. - */ -export function Enable() { - whenReady(Reload); -} -/** - * Reloads the WML page by adding necessary event listeners and browser listeners. - */ -export function Reload() { - triggerRegistry.reset(); - document.body.querySelectorAll('[wml-event], [wml-window], [wml-openurl], [data-wml-event], [data-wml-window], [data-wml-openurl]').forEach(addWMLListeners); -} diff --git a/node_modules/@wailsio/runtime/package.json b/node_modules/@wailsio/runtime/package.json deleted file mode 100644 index 495abe2..0000000 --- a/node_modules/@wailsio/runtime/package.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "name": "@wailsio/runtime", - "type": "module", - "version": "3.0.0-alpha.66", - "description": "Wails Runtime", - "types": "types/index.d.ts", - "exports": { - "types": "./types/index.d.ts", - "import": "./dist/index.js" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/wailsapp/wails.git", - "directory": "v3/internal/runtime/desktop/@wailsio/runtime" - }, - "author": "The Wails Team", - "license": "MIT", - "homepage": "https://v3.wails.io", - "bugs": { - "url": "https://github.com/wailsapp/wails/issues" - }, - "files": [ - "./dist", - "./types" - ], - "sideEffects": [ - "./dist/index.js", - "./dist/contextmenu.js", - "./dist/drag.js" - ], - "scripts": { - "check": "npx tsc --noEmit", - "test": "npx vitest run", - "clean": "npx rimraf ./dist ./docs ./types ./tsconfig.tsbuildinfo", - "generate:events": "task generate:events", - "generate": "npm run generate:events", - "prebuild": "npm run clean && npm run generate", - "build:code": "npx tsc", - "build:docs": "npx typedoc --plugin typedoc-plugin-mdn-links --plugin typedoc-plugin-missing-exports ./src/index.ts", - "build:docs:md": "npx typedoc --plugin typedoc-plugin-markdown --plugin typedoc-plugin-mdn-links --plugin typedoc-plugin-missing-exports ./src/index.ts", - "build": "npm run build:code & npm run build:docs & wait", - "prepack": "npm run build" - }, - "devDependencies": { - "happy-dom": "^17.1.1", - "promises-aplus-tests": "2.1.2", - "rimraf": "^5.0.5", - "typedoc": "^0.27.7", - "typedoc-plugin-markdown": "^4.4.2", - "typedoc-plugin-mdn-links": "^4.0.13", - "typedoc-plugin-missing-exports": "^3.1.0", - "typescript": "^5.7.3", - "vitest": "^3.0.6" - }, - "overrides": { - "promises-aplus-tests": { - "mocha": "^11.1.0", - "sinon": "^19.0.2", - "underscore": "^1.13.7" - } - } -} diff --git a/node_modules/@wailsio/runtime/types/application.d.ts b/node_modules/@wailsio/runtime/types/application.d.ts deleted file mode 100644 index bfab64a..0000000 --- a/node_modules/@wailsio/runtime/types/application.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Hides a certain method by calling the HideMethod function. - */ -export declare function Hide(): Promise; -/** - * Calls the ShowMethod and returns the result. - */ -export declare function Show(): Promise; -/** - * Calls the QuitMethod to terminate the program. - */ -export declare function Quit(): Promise; diff --git a/node_modules/@wailsio/runtime/types/browser.d.ts b/node_modules/@wailsio/runtime/types/browser.d.ts deleted file mode 100644 index 799a457..0000000 --- a/node_modules/@wailsio/runtime/types/browser.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/** - * Open a browser window to the given URL. - * - * @param url - The URL to open - */ -export declare function OpenURL(url: string | URL): Promise; diff --git a/node_modules/@wailsio/runtime/types/callable.d.ts b/node_modules/@wailsio/runtime/types/callable.d.ts deleted file mode 100644 index 54a1c6c..0000000 --- a/node_modules/@wailsio/runtime/types/callable.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function isCallableRefApply(value: T | unknown): value is (...args: any[]) => any; -declare const _default: typeof isCallableRefApply; -export default _default; diff --git a/node_modules/@wailsio/runtime/types/calls.d.ts b/node_modules/@wailsio/runtime/types/calls.d.ts deleted file mode 100644 index a96fa80..0000000 --- a/node_modules/@wailsio/runtime/types/calls.d.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { CancellablePromise } from "./cancellable.js"; -/** - * Holds all required information for a binding call. - * May provide either a method ID or a method name, but not both. - */ -export type CallOptions = { - /** The numeric ID of the bound method to call. */ - methodID: number; - /** The fully qualified name of the bound method to call. */ - methodName?: never; - /** Arguments to be passed into the bound method. */ - args: any[]; -} | { - /** The numeric ID of the bound method to call. */ - methodID?: never; - /** The fully qualified name of the bound method to call. */ - methodName: string; - /** Arguments to be passed into the bound method. */ - args: any[]; -}; -/** - * Exception class that will be thrown in case the bound method returns an error. - * The value of the {@link RuntimeError#name} property is "RuntimeError". - */ -export declare class RuntimeError extends Error { - /** - * Constructs a new RuntimeError instance. - * @param message - The error message. - * @param options - Options to be forwarded to the Error constructor. - */ - constructor(message?: string, options?: ErrorOptions); -} -/** - * Call a bound method according to the given call options. - * - * In case of failure, the returned promise will reject with an exception - * among ReferenceError (unknown method), TypeError (wrong argument count or type), - * {@link RuntimeError} (method returned an error), or other (network or internal errors). - * The exception might have a "cause" field with the value returned - * by the application- or service-level error marshaling functions. - * - * @param options - A method call descriptor. - * @returns The result of the call. - */ -export declare function Call(options: CallOptions): CancellablePromise; -/** - * Calls a bound method by name with the specified arguments. - * See {@link Call} for details. - * - * @param methodName - The name of the method in the format 'package.struct.method'. - * @param args - The arguments to pass to the method. - * @returns The result of the method call. - */ -export declare function ByName(methodName: string, ...args: any[]): CancellablePromise; -/** - * Calls a method by its numeric ID with the specified arguments. - * See {@link Call} for details. - * - * @param methodID - The ID of the method to call. - * @param args - The arguments to pass to the method. - * @return The result of the method call. - */ -export declare function ByID(methodID: number, ...args: any[]): CancellablePromise; diff --git a/node_modules/@wailsio/runtime/types/cancellable.d.ts b/node_modules/@wailsio/runtime/types/cancellable.d.ts deleted file mode 100644 index a65a2ba..0000000 --- a/node_modules/@wailsio/runtime/types/cancellable.d.ts +++ /dev/null @@ -1,434 +0,0 @@ -/** - * Exception class that will be used as rejection reason - * in case a {@link CancellablePromise} is cancelled successfully. - * - * The value of the {@link name} property is the string `"CancelError"`. - * The value of the {@link cause} property is the cause passed to the cancel method, if any. - */ -export declare class CancelError extends Error { - /** - * Constructs a new `CancelError` instance. - * @param message - The error message. - * @param options - Options to be forwarded to the Error constructor. - */ - constructor(message?: string, options?: ErrorOptions); -} -/** - * Exception class that will be reported as an unhandled rejection - * in case a {@link CancellablePromise} rejects after being cancelled, - * or when the `oncancelled` callback throws or rejects. - * - * The value of the {@link name} property is the string `"CancelledRejectionError"`. - * The value of the {@link cause} property is the reason the promise rejected with. - * - * Because the original promise was cancelled, - * a wrapper promise will be passed to the unhandled rejection listener instead. - * The {@link promise} property holds a reference to the original promise. - */ -export declare class CancelledRejectionError extends Error { - /** - * Holds a reference to the promise that was cancelled and then rejected. - */ - promise: CancellablePromise; - /** - * Constructs a new `CancelledRejectionError` instance. - * @param promise - The promise that caused the error originally. - * @param reason - The rejection reason. - * @param info - An optional informative message specifying the circumstances in which the error was thrown. - * Defaults to the string `"Unhandled rejection in cancelled promise."`. - */ - constructor(promise: CancellablePromise, reason?: any, info?: string); -} -type CancellablePromiseResolver = (value: T | PromiseLike | CancellablePromiseLike) => void; -type CancellablePromiseRejector = (reason?: any) => void; -type CancellablePromiseCanceller = (cause?: any) => void | PromiseLike; -type CancellablePromiseExecutor = (resolve: CancellablePromiseResolver, reject: CancellablePromiseRejector) => void; -export interface CancellablePromiseLike { - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike | CancellablePromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike | CancellablePromiseLike) | undefined | null): CancellablePromiseLike; - cancel(cause?: any): void | PromiseLike; -} -/** - * Wraps a cancellable promise along with its resolution methods. - * The `oncancelled` field will be null initially but may be set to provide a custom cancellation function. - */ -export interface CancellablePromiseWithResolvers { - promise: CancellablePromise; - resolve: CancellablePromiseResolver; - reject: CancellablePromiseRejector; - oncancelled: CancellablePromiseCanceller | null; -} -/** - * A promise with an attached method for cancelling long-running operations (see {@link CancellablePromise#cancel}). - * Cancellation can optionally be bound to an {@link AbortSignal} - * for better composability (see {@link CancellablePromise#cancelOn}). - * - * Cancelling a pending promise will result in an immediate rejection - * with an instance of {@link CancelError} as reason, - * but whoever started the promise will be responsible - * for actually aborting the underlying operation. - * To this purpose, the constructor and all chaining methods - * accept optional cancellation callbacks. - * - * If a `CancellablePromise` still resolves after having been cancelled, - * the result will be discarded. If it rejects, the reason - * will be reported as an unhandled rejection, - * wrapped in a {@link CancelledRejectionError} instance. - * To facilitate the handling of cancellation requests, - * cancelled `CancellablePromise`s will _not_ report unhandled `CancelError`s - * whose `cause` field is the same as the one with which the current promise was cancelled. - * - * All usual promise methods are defined and return a `CancellablePromise` - * whose cancel method will cancel the parent operation as well, propagating the cancellation reason - * upwards through promise chains. - * Conversely, cancelling a promise will not automatically cancel dependent promises downstream: - * ```ts - * let root = new CancellablePromise((resolve, reject) => { ... }); - * let child1 = root.then(() => { ... }); - * let child2 = child1.then(() => { ... }); - * let child3 = root.catch(() => { ... }); - * child1.cancel(); // Cancels child1 and root, but not child2 or child3 - * ``` - * Cancelling a promise that has already settled is safe and has no consequence. - * - * The `cancel` method returns a promise that _always fulfills_ - * after the whole chain has processed the cancel request - * and all attached callbacks up to that moment have run. - * - * All ES2024 promise methods (static and instance) are defined on CancellablePromise, - * but actual availability may vary with OS/webview version. - * - * In line with the proposal at https://github.com/tc39/proposal-rm-builtin-subclassing, - * `CancellablePromise` does not support transparent subclassing. - * Extenders should take care to provide their own method implementations. - * This might be reconsidered in case the proposal is retired. - * - * CancellablePromise is a wrapper around the DOM Promise object - * and is compliant with the [Promises/A+ specification](https://promisesaplus.com/) - * (it passes the [compliance suite](https://github.com/promises-aplus/promises-tests)) - * if so is the underlying implementation. - */ -export declare class CancellablePromise extends Promise implements PromiseLike, CancellablePromiseLike { - static [x: symbol]: PromiseConstructor; - /** - * Creates a new `CancellablePromise`. - * - * @param executor - A callback used to initialize the promise. This callback is passed two arguments: - * a `resolve` callback used to resolve the promise with a value - * or the result of another promise (possibly cancellable), - * and a `reject` callback used to reject the promise with a provided reason or error. - * If the value provided to the `resolve` callback is a thenable _and_ cancellable object - * (it has a `then` _and_ a `cancel` method), - * cancellation requests will be forwarded to that object and the oncancelled will not be invoked anymore. - * If any one of the two callbacks is called _after_ the promise has been cancelled, - * the provided values will be cancelled and resolved as usual, - * but their results will be discarded. - * However, if the resolution process ultimately ends up in a rejection - * that is not due to cancellation, the rejection reason - * will be wrapped in a {@link CancelledRejectionError} - * and bubbled up as an unhandled rejection. - * @param oncancelled - It is the caller's responsibility to ensure that any operation - * started by the executor is properly halted upon cancellation. - * This optional callback can be used to that purpose. - * It will be called _synchronously_ with a cancellation cause - * when cancellation is requested, _after_ the promise has already rejected - * with a {@link CancelError}, but _before_ - * any {@link then}/{@link catch}/{@link finally} callback runs. - * If the callback returns a thenable, the promise returned from {@link cancel} - * will only fulfill after the former has settled. - * Unhandled exceptions or rejections from the callback will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as unhandled rejections. - * If the `resolve` callback is called before cancellation with a cancellable promise, - * cancellation requests on this promise will be diverted to that promise, - * and the original `oncancelled` callback will be discarded. - */ - constructor(executor: CancellablePromiseExecutor, oncancelled?: CancellablePromiseCanceller); - /** - * Cancels immediately the execution of the operation associated with this promise. - * The promise rejects with a {@link CancelError} instance as reason, - * with the {@link CancelError#cause} property set to the given argument, if any. - * - * Has no effect if called after the promise has already settled; - * repeated calls in particular are safe, but only the first one - * will set the cancellation cause. - * - * The `CancelError` exception _need not_ be handled explicitly _on the promises that are being cancelled:_ - * cancelling a promise with no attached rejection handler does not trigger an unhandled rejection event. - * Therefore, the following idioms are all equally correct: - * ```ts - * new CancellablePromise((resolve, reject) => { ... }).cancel(); - * new CancellablePromise((resolve, reject) => { ... }).then(...).cancel(); - * new CancellablePromise((resolve, reject) => { ... }).then(...).catch(...).cancel(); - * ``` - * Whenever some cancelled promise in a chain rejects with a `CancelError` - * with the same cancellation cause as itself, the error will be discarded silently. - * However, the `CancelError` _will still be delivered_ to all attached rejection handlers - * added by {@link then} and related methods: - * ```ts - * let cancellable = new CancellablePromise((resolve, reject) => { ... }); - * cancellable.then(() => { ... }).catch(console.log); - * cancellable.cancel(); // A CancelError is printed to the console. - * ``` - * If the `CancelError` is not handled downstream by the time it reaches - * a _non-cancelled_ promise, it _will_ trigger an unhandled rejection event, - * just like normal rejections would: - * ```ts - * let cancellable = new CancellablePromise((resolve, reject) => { ... }); - * let chained = cancellable.then(() => { ... }).then(() => { ... }); // No catch... - * cancellable.cancel(); // Unhandled rejection event on chained! - * ``` - * Therefore, it is important to either cancel whole promise chains from their tail, - * as shown in the correct idioms above, or take care of handling errors everywhere. - * - * @returns A cancellable promise that _fulfills_ after the cancel callback (if any) - * and all handlers attached up to the call to cancel have run. - * If the cancel callback returns a thenable, the promise returned by `cancel` - * will also wait for that thenable to settle. - * This enables callers to wait for the cancelled operation to terminate - * without being forced to handle potential errors at the call site. - * ```ts - * cancellable.cancel().then(() => { - * // Cleanup finished, it's safe to do something else. - * }, (err) => { - * // Unreachable: the promise returned from cancel will never reject. - * }); - * ``` - * Note that the returned promise will _not_ handle implicitly any rejection - * that might have occurred already in the cancelled chain. - * It will just track whether registered handlers have been executed or not. - * Therefore, unhandled rejections will never be silently handled by calling cancel. - */ - cancel(cause?: any): CancellablePromise; - /** - * Binds promise cancellation to the abort event of the given {@link AbortSignal}. - * If the signal has already aborted, the promise will be cancelled immediately. - * When either condition is verified, the cancellation cause will be set - * to the signal's abort reason (see {@link AbortSignal#reason}). - * - * Has no effect if called (or if the signal aborts) _after_ the promise has already settled. - * Only the first signal to abort will set the cancellation cause. - * - * For more details about the cancellation process, - * see {@link cancel} and the `CancellablePromise` constructor. - * - * This method enables `await`ing cancellable promises without having - * to store them for future cancellation, e.g.: - * ```ts - * await longRunningOperation().cancelOn(signal); - * ``` - * instead of: - * ```ts - * let promiseToBeCancelled = longRunningOperation(); - * await promiseToBeCancelled; - * ``` - * - * @returns This promise, for method chaining. - */ - cancelOn(signal: AbortSignal): CancellablePromise; - /** - * Attaches callbacks for the resolution and/or rejection of the `CancellablePromise`. - * - * The optional `oncancelled` argument will be invoked when the returned promise is cancelled, - * with the same semantics as the `oncancelled` argument of the constructor. - * When the parent promise rejects or is cancelled, the `onrejected` callback will run, - * _even after the returned promise has been cancelled:_ - * in that case, should it reject or throw, the reason will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as an unhandled rejection. - * - * @param onfulfilled The callback to execute when the Promise is resolved. - * @param onrejected The callback to execute when the Promise is rejected. - * @returns A `CancellablePromise` for the completion of whichever callback is executed. - * The returned promise is hooked up to propagate cancellation requests up the chain, but not down: - * - * - if the parent promise is cancelled, the `onrejected` handler will be invoked with a `CancelError` - * and the returned promise _will resolve regularly_ with its result; - * - conversely, if the returned promise is cancelled, _the parent promise is cancelled too;_ - * the `onrejected` handler will still be invoked with the parent's `CancelError`, - * but its result will be discarded - * and the returned promise will reject with a `CancelError` as well. - * - * The promise returned from {@link cancel} will fulfill only after all attached handlers - * up the entire promise chain have been run. - * - * If either callback returns a cancellable promise, - * cancellation requests will be diverted to it, - * and the specified `oncancelled` callback will be discarded. - */ - then(onfulfilled?: ((value: T) => TResult1 | PromiseLike | CancellablePromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike | CancellablePromiseLike) | undefined | null, oncancelled?: CancellablePromiseCanceller): CancellablePromise; - /** - * Attaches a callback for only the rejection of the Promise. - * - * The optional `oncancelled` argument will be invoked when the returned promise is cancelled, - * with the same semantics as the `oncancelled` argument of the constructor. - * When the parent promise rejects or is cancelled, the `onrejected` callback will run, - * _even after the returned promise has been cancelled:_ - * in that case, should it reject or throw, the reason will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as an unhandled rejection. - * - * It is equivalent to - * ```ts - * cancellablePromise.then(undefined, onrejected, oncancelled); - * ``` - * and the same caveats apply. - * - * @returns A Promise for the completion of the callback. - * Cancellation requests on the returned promise - * will propagate up the chain to the parent promise, - * but not in the other direction. - * - * The promise returned from {@link cancel} will fulfill only after all attached handlers - * up the entire promise chain have been run. - * - * If `onrejected` returns a cancellable promise, - * cancellation requests will be diverted to it, - * and the specified `oncancelled` callback will be discarded. - * See {@link then} for more details. - */ - catch(onrejected?: ((reason: any) => (PromiseLike | TResult)) | undefined | null, oncancelled?: CancellablePromiseCanceller): CancellablePromise; - /** - * Attaches a callback that is invoked when the CancellablePromise is settled (fulfilled or rejected). The - * resolved value cannot be accessed or modified from the callback. - * The returned promise will settle in the same state as the original one - * after the provided callback has completed execution, - * unless the callback throws or returns a rejecting promise, - * in which case the returned promise will reject as well. - * - * The optional `oncancelled` argument will be invoked when the returned promise is cancelled, - * with the same semantics as the `oncancelled` argument of the constructor. - * Once the parent promise settles, the `onfinally` callback will run, - * _even after the returned promise has been cancelled:_ - * in that case, should it reject or throw, the reason will be wrapped - * in a {@link CancelledRejectionError} and bubbled up as an unhandled rejection. - * - * This method is implemented in terms of {@link then} and the same caveats apply. - * It is polyfilled, hence available in every OS/webview version. - * - * @returns A Promise for the completion of the callback. - * Cancellation requests on the returned promise - * will propagate up the chain to the parent promise, - * but not in the other direction. - * - * The promise returned from {@link cancel} will fulfill only after all attached handlers - * up the entire promise chain have been run. - * - * If `onfinally` returns a cancellable promise, - * cancellation requests will be diverted to it, - * and the specified `oncancelled` callback will be discarded. - * See {@link then} for more details. - */ - finally(onfinally?: (() => void) | undefined | null, oncancelled?: CancellablePromiseCanceller): CancellablePromise; - /** - * Creates a CancellablePromise that is resolved with an array of results - * when all of the provided Promises resolve, or rejected when any Promise is rejected. - * - * Every one of the provided objects that is a thenable _and_ cancellable object - * will be cancelled when the returned promise is cancelled, with the same cause. - * - * @group Static Methods - */ - static all(values: Iterable>): CancellablePromise[]>; - static all(values: T): CancellablePromise<{ - -readonly [P in keyof T]: Awaited; - }>; - /** - * Creates a CancellablePromise that is resolved with an array of results - * when all of the provided Promises resolve or reject. - * - * Every one of the provided objects that is a thenable _and_ cancellable object - * will be cancelled when the returned promise is cancelled, with the same cause. - * - * @group Static Methods - */ - static allSettled(values: Iterable>): CancellablePromise>[]>; - static allSettled(values: T): CancellablePromise<{ - -readonly [P in keyof T]: PromiseSettledResult>; - }>; - /** - * The any function returns a promise that is fulfilled by the first given promise to be fulfilled, - * or rejected with an AggregateError containing an array of rejection reasons - * if all of the given promises are rejected. - * It resolves all elements of the passed iterable to promises as it runs this algorithm. - * - * Every one of the provided objects that is a thenable _and_ cancellable object - * will be cancelled when the returned promise is cancelled, with the same cause. - * - * @group Static Methods - */ - static any(values: Iterable>): CancellablePromise>; - static any(values: T): CancellablePromise>; - /** - * Creates a Promise that is resolved or rejected when any of the provided Promises are resolved or rejected. - * - * Every one of the provided objects that is a thenable _and_ cancellable object - * will be cancelled when the returned promise is cancelled, with the same cause. - * - * @group Static Methods - */ - static race(values: Iterable>): CancellablePromise>; - static race(values: T): CancellablePromise>; - /** - * Creates a new cancelled CancellablePromise for the provided cause. - * - * @group Static Methods - */ - static cancel(cause?: any): CancellablePromise; - /** - * Creates a new CancellablePromise that cancels - * after the specified timeout, with the provided cause. - * - * If the {@link AbortSignal.timeout} factory method is available, - * it is used to base the timeout on _active_ time rather than _elapsed_ time. - * Otherwise, `timeout` falls back to {@link setTimeout}. - * - * @group Static Methods - */ - static timeout(milliseconds: number, cause?: any): CancellablePromise; - /** - * Creates a new CancellablePromise that resolves after the specified timeout. - * The returned promise can be cancelled without consequences. - * - * @group Static Methods - */ - static sleep(milliseconds: number): CancellablePromise; - /** - * Creates a new CancellablePromise that resolves after - * the specified timeout, with the provided value. - * The returned promise can be cancelled without consequences. - * - * @group Static Methods - */ - static sleep(milliseconds: number, value: T): CancellablePromise; - /** - * Creates a new rejected CancellablePromise for the provided reason. - * - * @group Static Methods - */ - static reject(reason?: any): CancellablePromise; - /** - * Creates a new resolved CancellablePromise. - * - * @group Static Methods - */ - static resolve(): CancellablePromise; - /** - * Creates a new resolved CancellablePromise for the provided value. - * - * @group Static Methods - */ - static resolve(value: T): CancellablePromise>; - /** - * Creates a new resolved CancellablePromise for the provided value. - * - * @group Static Methods - */ - static resolve(value: T | PromiseLike): CancellablePromise>; - /** - * Creates a new CancellablePromise and returns it in an object, along with its resolve and reject functions - * and a getter/setter for the cancellation callback. - * - * This method is polyfilled, hence available in every OS/webview version. - * - * @group Static Methods - */ - static withResolvers(): CancellablePromiseWithResolvers; -} -export {}; diff --git a/node_modules/@wailsio/runtime/types/clipboard.d.ts b/node_modules/@wailsio/runtime/types/clipboard.d.ts deleted file mode 100644 index 4d03634..0000000 --- a/node_modules/@wailsio/runtime/types/clipboard.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Sets the text to the Clipboard. - * - * @param text - The text to be set to the Clipboard. - * @return A Promise that resolves when the operation is successful. - */ -export declare function SetText(text: string): Promise; -/** - * Get the Clipboard text - * - * @returns A promise that resolves with the text from the Clipboard. - */ -export declare function Text(): Promise; diff --git a/node_modules/@wailsio/runtime/types/contextmenu.d.ts b/node_modules/@wailsio/runtime/types/contextmenu.d.ts deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@wailsio/runtime/types/contextmenu.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@wailsio/runtime/types/create.d.ts b/node_modules/@wailsio/runtime/types/create.d.ts deleted file mode 100644 index a3332a4..0000000 --- a/node_modules/@wailsio/runtime/types/create.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Any is a dummy creation function for simple or unknown types. - */ -export declare function Any(source: any): T; -/** - * ByteSlice is a creation function that replaces - * null strings with empty strings. - */ -export declare function ByteSlice(source: any): string; -/** - * Array takes a creation function for an arbitrary type - * and returns an in-place creation function for an array - * whose elements are of that type. - */ -export declare function Array(element: (source: any) => T): (source: any) => T[]; -/** - * Map takes creation functions for two arbitrary types - * and returns an in-place creation function for an object - * whose keys and values are of those types. - */ -export declare function Map(key: (source: any) => string, value: (source: any) => V): (source: any) => Record; -/** - * Nullable takes a creation function for an arbitrary type - * and returns a creation function for a nullable value of that type. - */ -export declare function Nullable(element: (source: any) => T): (source: any) => (T | null); -/** - * Struct takes an object mapping field names to creation functions - * and returns an in-place creation function for a struct. - */ -export declare function Struct(createField: Record any>): = any>(source: any) => U; diff --git a/node_modules/@wailsio/runtime/types/dialogs.d.ts b/node_modules/@wailsio/runtime/types/dialogs.d.ts deleted file mode 100644 index 223d43e..0000000 --- a/node_modules/@wailsio/runtime/types/dialogs.d.ts +++ /dev/null @@ -1,140 +0,0 @@ -export interface OpenFileDialogOptions { - /** Indicates if directories can be chosen. */ - CanChooseDirectories?: boolean; - /** Indicates if files can be chosen. */ - CanChooseFiles?: boolean; - /** Indicates if directories can be created. */ - CanCreateDirectories?: boolean; - /** Indicates if hidden files should be shown. */ - ShowHiddenFiles?: boolean; - /** Indicates if aliases should be resolved. */ - ResolvesAliases?: boolean; - /** Indicates if multiple selection is allowed. */ - AllowsMultipleSelection?: boolean; - /** Indicates if the extension should be hidden. */ - HideExtension?: boolean; - /** Indicates if hidden extensions can be selected. */ - CanSelectHiddenExtension?: boolean; - /** Indicates if file packages should be treated as directories. */ - TreatsFilePackagesAsDirectories?: boolean; - /** Indicates if other file types are allowed. */ - AllowsOtherFiletypes?: boolean; - /** Array of file filters. */ - Filters?: FileFilter[]; - /** Title of the dialog. */ - Title?: string; - /** Message to show in the dialog. */ - Message?: string; - /** Text to display on the button. */ - ButtonText?: string; - /** Directory to open in the dialog. */ - Directory?: string; - /** Indicates if the dialog should appear detached from the main window. */ - Detached?: boolean; -} -export interface SaveFileDialogOptions { - /** Default filename to use in the dialog. */ - Filename?: string; - /** Indicates if directories can be chosen. */ - CanChooseDirectories?: boolean; - /** Indicates if files can be chosen. */ - CanChooseFiles?: boolean; - /** Indicates if directories can be created. */ - CanCreateDirectories?: boolean; - /** Indicates if hidden files should be shown. */ - ShowHiddenFiles?: boolean; - /** Indicates if aliases should be resolved. */ - ResolvesAliases?: boolean; - /** Indicates if the extension should be hidden. */ - HideExtension?: boolean; - /** Indicates if hidden extensions can be selected. */ - CanSelectHiddenExtension?: boolean; - /** Indicates if file packages should be treated as directories. */ - TreatsFilePackagesAsDirectories?: boolean; - /** Indicates if other file types are allowed. */ - AllowsOtherFiletypes?: boolean; - /** Array of file filters. */ - Filters?: FileFilter[]; - /** Title of the dialog. */ - Title?: string; - /** Message to show in the dialog. */ - Message?: string; - /** Text to display on the button. */ - ButtonText?: string; - /** Directory to open in the dialog. */ - Directory?: string; - /** Indicates if the dialog should appear detached from the main window. */ - Detached?: boolean; -} -export interface MessageDialogOptions { - /** The title of the dialog window. */ - Title?: string; - /** The main message to show in the dialog. */ - Message?: string; - /** Array of button options to show in the dialog. */ - Buttons?: Button[]; - /** True if the dialog should appear detached from the main window (if applicable). */ - Detached?: boolean; -} -export interface Button { - /** Text that appears within the button. */ - Label?: string; - /** True if the button should cancel an operation when clicked. */ - IsCancel?: boolean; - /** True if the button should be the default action when the user presses enter. */ - IsDefault?: boolean; -} -export interface FileFilter { - /** Display name for the filter, it could be "Text Files", "Images" etc. */ - DisplayName?: string; - /** Pattern to match for the filter, e.g. "*.txt;*.md" for text markdown files. */ - Pattern?: string; -} -/** - * Presents an info dialog. - * - * @param options - Dialog options - * @returns A promise that resolves with the label of the chosen button. - */ -export declare function Info(options: MessageDialogOptions): Promise; -/** - * Presents a warning dialog. - * - * @param options - Dialog options. - * @returns A promise that resolves with the label of the chosen button. - */ -export declare function Warning(options: MessageDialogOptions): Promise; -/** - * Presents an error dialog. - * - * @param options - Dialog options. - * @returns A promise that resolves with the label of the chosen button. - */ -export declare function Error(options: MessageDialogOptions): Promise; -/** - * Presents a question dialog. - * - * @param options - Dialog options. - * @returns A promise that resolves with the label of the chosen button. - */ -export declare function Question(options: MessageDialogOptions): Promise; -/** - * Presents a file selection dialog to pick one or more files to open. - * - * @param options - Dialog options. - * @returns Selected file or list of files, or a blank string/empty list if no file has been selected. - */ -export declare function OpenFile(options: OpenFileDialogOptions & { - AllowsMultipleSelection: true; -}): Promise; -export declare function OpenFile(options: OpenFileDialogOptions & { - AllowsMultipleSelection?: false | undefined; -}): Promise; -export declare function OpenFile(options: OpenFileDialogOptions): Promise; -/** - * Presents a file selection dialog to pick a file to save. - * - * @param options - Dialog options. - * @returns Selected file, or a blank string if no file has been selected. - */ -export declare function SaveFile(options: SaveFileDialogOptions): Promise; diff --git a/node_modules/@wailsio/runtime/types/drag.d.ts b/node_modules/@wailsio/runtime/types/drag.d.ts deleted file mode 100644 index cb0ff5c..0000000 --- a/node_modules/@wailsio/runtime/types/drag.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/@wailsio/runtime/types/event_types.d.ts b/node_modules/@wailsio/runtime/types/event_types.d.ts deleted file mode 100644 index 382c324..0000000 --- a/node_modules/@wailsio/runtime/types/event_types.d.ts +++ /dev/null @@ -1,218 +0,0 @@ -export declare const Types: Readonly<{ - Windows: Readonly<{ - APMPowerSettingChange: "windows:APMPowerSettingChange"; - APMPowerStatusChange: "windows:APMPowerStatusChange"; - APMResumeAutomatic: "windows:APMResumeAutomatic"; - APMResumeSuspend: "windows:APMResumeSuspend"; - APMSuspend: "windows:APMSuspend"; - ApplicationStarted: "windows:ApplicationStarted"; - SystemThemeChanged: "windows:SystemThemeChanged"; - WebViewNavigationCompleted: "windows:WebViewNavigationCompleted"; - WindowActive: "windows:WindowActive"; - WindowBackgroundErase: "windows:WindowBackgroundErase"; - WindowClickActive: "windows:WindowClickActive"; - WindowClosing: "windows:WindowClosing"; - WindowDidMove: "windows:WindowDidMove"; - WindowDidResize: "windows:WindowDidResize"; - WindowDPIChanged: "windows:WindowDPIChanged"; - WindowDragDrop: "windows:WindowDragDrop"; - WindowDragEnter: "windows:WindowDragEnter"; - WindowDragLeave: "windows:WindowDragLeave"; - WindowDragOver: "windows:WindowDragOver"; - WindowEndMove: "windows:WindowEndMove"; - WindowEndResize: "windows:WindowEndResize"; - WindowFullscreen: "windows:WindowFullscreen"; - WindowHide: "windows:WindowHide"; - WindowInactive: "windows:WindowInactive"; - WindowKeyDown: "windows:WindowKeyDown"; - WindowKeyUp: "windows:WindowKeyUp"; - WindowKillFocus: "windows:WindowKillFocus"; - WindowNonClientHit: "windows:WindowNonClientHit"; - WindowNonClientMouseDown: "windows:WindowNonClientMouseDown"; - WindowNonClientMouseLeave: "windows:WindowNonClientMouseLeave"; - WindowNonClientMouseMove: "windows:WindowNonClientMouseMove"; - WindowNonClientMouseUp: "windows:WindowNonClientMouseUp"; - WindowPaint: "windows:WindowPaint"; - WindowRestore: "windows:WindowRestore"; - WindowSetFocus: "windows:WindowSetFocus"; - WindowShow: "windows:WindowShow"; - WindowStartMove: "windows:WindowStartMove"; - WindowStartResize: "windows:WindowStartResize"; - WindowUnFullscreen: "windows:WindowUnFullscreen"; - WindowZOrderChanged: "windows:WindowZOrderChanged"; - WindowMinimise: "windows:WindowMinimise"; - WindowUnMinimise: "windows:WindowUnMinimise"; - WindowMaximise: "windows:WindowMaximise"; - WindowUnMaximise: "windows:WindowUnMaximise"; - }>; - Mac: Readonly<{ - ApplicationDidBecomeActive: "mac:ApplicationDidBecomeActive"; - ApplicationDidChangeBackingProperties: "mac:ApplicationDidChangeBackingProperties"; - ApplicationDidChangeEffectiveAppearance: "mac:ApplicationDidChangeEffectiveAppearance"; - ApplicationDidChangeIcon: "mac:ApplicationDidChangeIcon"; - ApplicationDidChangeOcclusionState: "mac:ApplicationDidChangeOcclusionState"; - ApplicationDidChangeScreenParameters: "mac:ApplicationDidChangeScreenParameters"; - ApplicationDidChangeStatusBarFrame: "mac:ApplicationDidChangeStatusBarFrame"; - ApplicationDidChangeStatusBarOrientation: "mac:ApplicationDidChangeStatusBarOrientation"; - ApplicationDidChangeTheme: "mac:ApplicationDidChangeTheme"; - ApplicationDidFinishLaunching: "mac:ApplicationDidFinishLaunching"; - ApplicationDidHide: "mac:ApplicationDidHide"; - ApplicationDidResignActive: "mac:ApplicationDidResignActive"; - ApplicationDidUnhide: "mac:ApplicationDidUnhide"; - ApplicationDidUpdate: "mac:ApplicationDidUpdate"; - ApplicationShouldHandleReopen: "mac:ApplicationShouldHandleReopen"; - ApplicationWillBecomeActive: "mac:ApplicationWillBecomeActive"; - ApplicationWillFinishLaunching: "mac:ApplicationWillFinishLaunching"; - ApplicationWillHide: "mac:ApplicationWillHide"; - ApplicationWillResignActive: "mac:ApplicationWillResignActive"; - ApplicationWillTerminate: "mac:ApplicationWillTerminate"; - ApplicationWillUnhide: "mac:ApplicationWillUnhide"; - ApplicationWillUpdate: "mac:ApplicationWillUpdate"; - MenuDidAddItem: "mac:MenuDidAddItem"; - MenuDidBeginTracking: "mac:MenuDidBeginTracking"; - MenuDidClose: "mac:MenuDidClose"; - MenuDidDisplayItem: "mac:MenuDidDisplayItem"; - MenuDidEndTracking: "mac:MenuDidEndTracking"; - MenuDidHighlightItem: "mac:MenuDidHighlightItem"; - MenuDidOpen: "mac:MenuDidOpen"; - MenuDidPopUp: "mac:MenuDidPopUp"; - MenuDidRemoveItem: "mac:MenuDidRemoveItem"; - MenuDidSendAction: "mac:MenuDidSendAction"; - MenuDidSendActionToItem: "mac:MenuDidSendActionToItem"; - MenuDidUpdate: "mac:MenuDidUpdate"; - MenuWillAddItem: "mac:MenuWillAddItem"; - MenuWillBeginTracking: "mac:MenuWillBeginTracking"; - MenuWillDisplayItem: "mac:MenuWillDisplayItem"; - MenuWillEndTracking: "mac:MenuWillEndTracking"; - MenuWillHighlightItem: "mac:MenuWillHighlightItem"; - MenuWillOpen: "mac:MenuWillOpen"; - MenuWillPopUp: "mac:MenuWillPopUp"; - MenuWillRemoveItem: "mac:MenuWillRemoveItem"; - MenuWillSendAction: "mac:MenuWillSendAction"; - MenuWillSendActionToItem: "mac:MenuWillSendActionToItem"; - MenuWillUpdate: "mac:MenuWillUpdate"; - WebViewDidCommitNavigation: "mac:WebViewDidCommitNavigation"; - WebViewDidFinishNavigation: "mac:WebViewDidFinishNavigation"; - WebViewDidReceiveServerRedirectForProvisionalNavigation: "mac:WebViewDidReceiveServerRedirectForProvisionalNavigation"; - WebViewDidStartProvisionalNavigation: "mac:WebViewDidStartProvisionalNavigation"; - WindowDidBecomeKey: "mac:WindowDidBecomeKey"; - WindowDidBecomeMain: "mac:WindowDidBecomeMain"; - WindowDidBeginSheet: "mac:WindowDidBeginSheet"; - WindowDidChangeAlpha: "mac:WindowDidChangeAlpha"; - WindowDidChangeBackingLocation: "mac:WindowDidChangeBackingLocation"; - WindowDidChangeBackingProperties: "mac:WindowDidChangeBackingProperties"; - WindowDidChangeCollectionBehavior: "mac:WindowDidChangeCollectionBehavior"; - WindowDidChangeEffectiveAppearance: "mac:WindowDidChangeEffectiveAppearance"; - WindowDidChangeOcclusionState: "mac:WindowDidChangeOcclusionState"; - WindowDidChangeOrderingMode: "mac:WindowDidChangeOrderingMode"; - WindowDidChangeScreen: "mac:WindowDidChangeScreen"; - WindowDidChangeScreenParameters: "mac:WindowDidChangeScreenParameters"; - WindowDidChangeScreenProfile: "mac:WindowDidChangeScreenProfile"; - WindowDidChangeScreenSpace: "mac:WindowDidChangeScreenSpace"; - WindowDidChangeScreenSpaceProperties: "mac:WindowDidChangeScreenSpaceProperties"; - WindowDidChangeSharingType: "mac:WindowDidChangeSharingType"; - WindowDidChangeSpace: "mac:WindowDidChangeSpace"; - WindowDidChangeSpaceOrderingMode: "mac:WindowDidChangeSpaceOrderingMode"; - WindowDidChangeTitle: "mac:WindowDidChangeTitle"; - WindowDidChangeToolbar: "mac:WindowDidChangeToolbar"; - WindowDidDeminiaturize: "mac:WindowDidDeminiaturize"; - WindowDidEndSheet: "mac:WindowDidEndSheet"; - WindowDidEnterFullScreen: "mac:WindowDidEnterFullScreen"; - WindowDidEnterVersionBrowser: "mac:WindowDidEnterVersionBrowser"; - WindowDidExitFullScreen: "mac:WindowDidExitFullScreen"; - WindowDidExitVersionBrowser: "mac:WindowDidExitVersionBrowser"; - WindowDidExpose: "mac:WindowDidExpose"; - WindowDidFocus: "mac:WindowDidFocus"; - WindowDidMiniaturize: "mac:WindowDidMiniaturize"; - WindowDidMove: "mac:WindowDidMove"; - WindowDidOrderOffScreen: "mac:WindowDidOrderOffScreen"; - WindowDidOrderOnScreen: "mac:WindowDidOrderOnScreen"; - WindowDidResignKey: "mac:WindowDidResignKey"; - WindowDidResignMain: "mac:WindowDidResignMain"; - WindowDidResize: "mac:WindowDidResize"; - WindowDidUpdate: "mac:WindowDidUpdate"; - WindowDidUpdateAlpha: "mac:WindowDidUpdateAlpha"; - WindowDidUpdateCollectionBehavior: "mac:WindowDidUpdateCollectionBehavior"; - WindowDidUpdateCollectionProperties: "mac:WindowDidUpdateCollectionProperties"; - WindowDidUpdateShadow: "mac:WindowDidUpdateShadow"; - WindowDidUpdateTitle: "mac:WindowDidUpdateTitle"; - WindowDidUpdateToolbar: "mac:WindowDidUpdateToolbar"; - WindowDidZoom: "mac:WindowDidZoom"; - WindowFileDraggingEntered: "mac:WindowFileDraggingEntered"; - WindowFileDraggingExited: "mac:WindowFileDraggingExited"; - WindowFileDraggingPerformed: "mac:WindowFileDraggingPerformed"; - WindowHide: "mac:WindowHide"; - WindowMaximise: "mac:WindowMaximise"; - WindowUnMaximise: "mac:WindowUnMaximise"; - WindowMinimise: "mac:WindowMinimise"; - WindowUnMinimise: "mac:WindowUnMinimise"; - WindowShouldClose: "mac:WindowShouldClose"; - WindowShow: "mac:WindowShow"; - WindowWillBecomeKey: "mac:WindowWillBecomeKey"; - WindowWillBecomeMain: "mac:WindowWillBecomeMain"; - WindowWillBeginSheet: "mac:WindowWillBeginSheet"; - WindowWillChangeOrderingMode: "mac:WindowWillChangeOrderingMode"; - WindowWillClose: "mac:WindowWillClose"; - WindowWillDeminiaturize: "mac:WindowWillDeminiaturize"; - WindowWillEnterFullScreen: "mac:WindowWillEnterFullScreen"; - WindowWillEnterVersionBrowser: "mac:WindowWillEnterVersionBrowser"; - WindowWillExitFullScreen: "mac:WindowWillExitFullScreen"; - WindowWillExitVersionBrowser: "mac:WindowWillExitVersionBrowser"; - WindowWillFocus: "mac:WindowWillFocus"; - WindowWillMiniaturize: "mac:WindowWillMiniaturize"; - WindowWillMove: "mac:WindowWillMove"; - WindowWillOrderOffScreen: "mac:WindowWillOrderOffScreen"; - WindowWillOrderOnScreen: "mac:WindowWillOrderOnScreen"; - WindowWillResignMain: "mac:WindowWillResignMain"; - WindowWillResize: "mac:WindowWillResize"; - WindowWillUnfocus: "mac:WindowWillUnfocus"; - WindowWillUpdate: "mac:WindowWillUpdate"; - WindowWillUpdateAlpha: "mac:WindowWillUpdateAlpha"; - WindowWillUpdateCollectionBehavior: "mac:WindowWillUpdateCollectionBehavior"; - WindowWillUpdateCollectionProperties: "mac:WindowWillUpdateCollectionProperties"; - WindowWillUpdateShadow: "mac:WindowWillUpdateShadow"; - WindowWillUpdateTitle: "mac:WindowWillUpdateTitle"; - WindowWillUpdateToolbar: "mac:WindowWillUpdateToolbar"; - WindowWillUpdateVisibility: "mac:WindowWillUpdateVisibility"; - WindowWillUseStandardFrame: "mac:WindowWillUseStandardFrame"; - WindowZoomIn: "mac:WindowZoomIn"; - WindowZoomOut: "mac:WindowZoomOut"; - WindowZoomReset: "mac:WindowZoomReset"; - }>; - Linux: Readonly<{ - ApplicationStartup: "linux:ApplicationStartup"; - SystemThemeChanged: "linux:SystemThemeChanged"; - WindowDeleteEvent: "linux:WindowDeleteEvent"; - WindowDidMove: "linux:WindowDidMove"; - WindowDidResize: "linux:WindowDidResize"; - WindowFocusIn: "linux:WindowFocusIn"; - WindowFocusOut: "linux:WindowFocusOut"; - WindowLoadChanged: "linux:WindowLoadChanged"; - }>; - Common: Readonly<{ - ApplicationOpenedWithFile: "common:ApplicationOpenedWithFile"; - ApplicationStarted: "common:ApplicationStarted"; - ThemeChanged: "common:ThemeChanged"; - WindowClosing: "common:WindowClosing"; - WindowDidMove: "common:WindowDidMove"; - WindowDidResize: "common:WindowDidResize"; - WindowDPIChanged: "common:WindowDPIChanged"; - WindowFilesDropped: "common:WindowFilesDropped"; - WindowFocus: "common:WindowFocus"; - WindowFullscreen: "common:WindowFullscreen"; - WindowHide: "common:WindowHide"; - WindowLostFocus: "common:WindowLostFocus"; - WindowMaximise: "common:WindowMaximise"; - WindowMinimise: "common:WindowMinimise"; - WindowRestore: "common:WindowRestore"; - WindowRuntimeReady: "common:WindowRuntimeReady"; - WindowShow: "common:WindowShow"; - WindowUnFullscreen: "common:WindowUnFullscreen"; - WindowUnMaximise: "common:WindowUnMaximise"; - WindowUnMinimise: "common:WindowUnMinimise"; - WindowZoom: "common:WindowZoom"; - WindowZoomIn: "common:WindowZoomIn"; - WindowZoomOut: "common:WindowZoomOut"; - WindowZoomReset: "common:WindowZoomReset"; - }>; -}>; diff --git a/node_modules/@wailsio/runtime/types/events.d.ts b/node_modules/@wailsio/runtime/types/events.d.ts deleted file mode 100644 index 11d03e1..0000000 --- a/node_modules/@wailsio/runtime/types/events.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -export { Types } from "./event_types.js"; -/** - * The type of handlers for a given event. - */ -export type Callback = (ev: WailsEvent) => void; -/** - * Represents a system event or a custom event emitted through wails-provided facilities. - */ -export declare class WailsEvent { - /** - * The name of the event. - */ - name: string; - /** - * Optional data associated with the emitted event. - */ - data: any; - /** - * Name of the originating window. Omitted for application events. - * Will be overridden if set manually. - */ - sender?: string; - constructor(name: string, data?: any); -} -/** - * Register a callback function to be called multiple times for a specific event. - * - * @param eventName - The name of the event to register the callback for. - * @param callback - The callback function to be called when the event is triggered. - * @param maxCallbacks - The maximum number of times the callback can be called for the event. Once the maximum number is reached, the callback will no longer be called. - * @returns A function that, when called, will unregister the callback from the event. - */ -export declare function OnMultiple(eventName: string, callback: Callback, maxCallbacks: number): () => void; -/** - * Registers a callback function to be executed when the specified event occurs. - * - * @param eventName - The name of the event to register the callback for. - * @param callback - The callback function to be called when the event is triggered. - * @returns A function that, when called, will unregister the callback from the event. - */ -export declare function On(eventName: string, callback: Callback): () => void; -/** - * Registers a callback function to be executed only once for the specified event. - * - * @param eventName - The name of the event to register the callback for. - * @param callback - The callback function to be called when the event is triggered. - * @returns A function that, when called, will unregister the callback from the event. - */ -export declare function Once(eventName: string, callback: Callback): () => void; -/** - * Removes event listeners for the specified event names. - * - * @param eventNames - The name of the events to remove listeners for. - */ -export declare function Off(...eventNames: [string, ...string[]]): void; -/** - * Removes all event listeners. - */ -export declare function OffAll(): void; -/** - * Emits the given event. - * - * @param event - The name of the event to emit. - * @returns A promise that will be fulfilled once the event has been emitted. - */ -export declare function Emit(event: WailsEvent): Promise; diff --git a/node_modules/@wailsio/runtime/types/flags.d.ts b/node_modules/@wailsio/runtime/types/flags.d.ts deleted file mode 100644 index 272aa91..0000000 --- a/node_modules/@wailsio/runtime/types/flags.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Retrieves the value associated with the specified key from the flag map. - * - * @param key - The key to retrieve the value for. - * @return The value associated with the specified key. - */ -export declare function GetFlag(key: string): any; diff --git a/node_modules/@wailsio/runtime/types/index.d.ts b/node_modules/@wailsio/runtime/types/index.d.ts deleted file mode 100644 index 54dca22..0000000 --- a/node_modules/@wailsio/runtime/types/index.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import "./contextmenu.js"; -import "./drag.js"; -import * as Application from "./application.js"; -import * as Browser from "./browser.js"; -import * as Call from "./calls.js"; -import * as Clipboard from "./clipboard.js"; -import * as Create from "./create.js"; -import * as Dialogs from "./dialogs.js"; -import * as Events from "./events.js"; -import * as Flags from "./flags.js"; -import * as Screens from "./screens.js"; -import * as System from "./system.js"; -import Window from "./window.js"; -import * as WML from "./wml.js"; -export { Application, Browser, Call, Clipboard, Dialogs, Events, Flags, Screens, System, Window, WML }; -export * from "./cancellable.js"; diff --git a/node_modules/@wailsio/runtime/types/listener.d.ts b/node_modules/@wailsio/runtime/types/listener.d.ts deleted file mode 100644 index 75bb5c4..0000000 --- a/node_modules/@wailsio/runtime/types/listener.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -export declare const eventListeners: Map; -export declare class Listener { - eventName: string; - callback: (data: any) => void; - maxCallbacks: number; - constructor(eventName: string, callback: (data: any) => void, maxCallbacks: number); - dispatch(data: any): boolean; -} -export declare function listenerOff(listener: Listener): void; diff --git a/node_modules/@wailsio/runtime/types/nanoid.d.ts b/node_modules/@wailsio/runtime/types/nanoid.d.ts deleted file mode 100644 index a691510..0000000 --- a/node_modules/@wailsio/runtime/types/nanoid.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function nanoid(size?: number): string; diff --git a/node_modules/@wailsio/runtime/types/runtime.d.ts b/node_modules/@wailsio/runtime/types/runtime.d.ts deleted file mode 100644 index 60f7606..0000000 --- a/node_modules/@wailsio/runtime/types/runtime.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -export declare const objectNames: Readonly<{ - Call: 0; - Clipboard: 1; - Application: 2; - Events: 3; - ContextMenu: 4; - Dialog: 5; - Window: 6; - Screens: 7; - System: 8; - Browser: 9; - CancelCall: 10; -}>; -export declare let clientId: string; -/** - * Creates a new runtime caller with specified ID. - * - * @param object - The object to invoke the method on. - * @param windowName - The name of the window. - * @return The new runtime caller function. - */ -export declare function newRuntimeCaller(object: number, windowName?: string): (method: number, args?: any) => Promise; diff --git a/node_modules/@wailsio/runtime/types/screens.d.ts b/node_modules/@wailsio/runtime/types/screens.d.ts deleted file mode 100644 index b4a2f62..0000000 --- a/node_modules/@wailsio/runtime/types/screens.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -export interface Size { - /** The width of a rectangular area. */ - Width: number; - /** The height of a rectangular area. */ - Height: number; -} -export interface Rect { - /** The X coordinate of the origin. */ - X: number; - /** The Y coordinate of the origin. */ - Y: number; - /** The width of the rectangle. */ - Width: number; - /** The height of the rectangle. */ - Height: number; -} -export interface Screen { - /** Unique identifier for the screen. */ - ID: string; - /** Human-readable name of the screen. */ - Name: string; - /** The scale factor of the screen (DPI/96). 1 = standard DPI, 2 = HiDPI (Retina), etc. */ - ScaleFactor: number; - /** The X coordinate of the screen. */ - X: number; - /** The Y coordinate of the screen. */ - Y: number; - /** Contains the width and height of the screen. */ - Size: Size; - /** Contains the bounds of the screen in terms of X, Y, Width, and Height. */ - Bounds: Rect; - /** Contains the physical bounds of the screen in terms of X, Y, Width, and Height (before scaling). */ - PhysicalBounds: Rect; - /** Contains the area of the screen that is actually usable (excluding taskbar and other system UI). */ - WorkArea: Rect; - /** Contains the physical WorkArea of the screen (before scaling). */ - PhysicalWorkArea: Rect; - /** True if this is the primary monitor selected by the user in the operating system. */ - IsPrimary: boolean; - /** The rotation of the screen. */ - Rotation: number; -} -/** - * Gets all screens. - * - * @returns A promise that resolves to an array of Screen objects. - */ -export declare function GetAll(): Promise; -/** - * Gets the primary screen. - * - * @returns A promise that resolves to the primary screen. - */ -export declare function GetPrimary(): Promise; -/** - * Gets the current active screen. - * - * @returns A promise that resolves with the current active screen. - */ -export declare function GetCurrent(): Promise; diff --git a/node_modules/@wailsio/runtime/types/system.d.ts b/node_modules/@wailsio/runtime/types/system.d.ts deleted file mode 100644 index 1e1924b..0000000 --- a/node_modules/@wailsio/runtime/types/system.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -export declare function invoke(msg: any): void; -/** - * Retrieves the system dark mode status. - * - * @returns A promise that resolves to a boolean value indicating if the system is in dark mode. - */ -export declare function IsDarkMode(): Promise; -/** - * Fetches the capabilities of the application from the server. - * - * @returns A promise that resolves to an object containing the capabilities. - */ -export declare function Capabilities(): Promise>; -export interface OSInfo { - /** The branding of the OS. */ - Branding: string; - /** The ID of the OS. */ - ID: string; - /** The name of the OS. */ - Name: string; - /** The version of the OS. */ - Version: string; -} -export interface EnvironmentInfo { - /** The architecture of the system. */ - Arch: string; - /** True if the application is running in debug mode, otherwise false. */ - Debug: boolean; - /** The operating system in use. */ - OS: string; - /** Details of the operating system. */ - OSInfo: OSInfo; - /** Additional platform information. */ - PlatformInfo: Record; -} -/** - * Retrieves environment details. - * - * @returns A promise that resolves to an object containing OS and system architecture. - */ -export declare function Environment(): Promise; -/** - * Checks if the current operating system is Windows. - * - * @return True if the operating system is Windows, otherwise false. - */ -export declare function IsWindows(): boolean; -/** - * Checks if the current operating system is Linux. - * - * @returns Returns true if the current operating system is Linux, false otherwise. - */ -export declare function IsLinux(): boolean; -/** - * Checks if the current environment is a macOS operating system. - * - * @returns True if the environment is macOS, false otherwise. - */ -export declare function IsMac(): boolean; -/** - * Checks if the current environment architecture is AMD64. - * - * @returns True if the current environment architecture is AMD64, false otherwise. - */ -export declare function IsAMD64(): boolean; -/** - * Checks if the current architecture is ARM. - * - * @returns True if the current architecture is ARM, false otherwise. - */ -export declare function IsARM(): boolean; -/** - * Checks if the current environment is ARM64 architecture. - * - * @returns Returns true if the environment is ARM64 architecture, otherwise returns false. - */ -export declare function IsARM64(): boolean; -/** - * Reports whether the app is being run in debug mode. - * - * @returns True if the app is being run in debug mode. - */ -export declare function IsDebug(): boolean; diff --git a/node_modules/@wailsio/runtime/types/utils.d.ts b/node_modules/@wailsio/runtime/types/utils.d.ts deleted file mode 100644 index d748a04..0000000 --- a/node_modules/@wailsio/runtime/types/utils.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Logs a message to the console with custom formatting. - * - * @param message - The message to be logged. - */ -export declare function debugLog(message: any): void; -/** - * Checks whether the webview supports the {@link MouseEvent#buttons} property. - * Looking at you macOS High Sierra! - */ -export declare function canTrackButtons(): boolean; -/** - * Checks whether the browser supports removing listeners by triggering an AbortSignal - * (see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#signal). - */ -export declare function canAbortListeners(): boolean; -/** - * Resolves the closest HTMLElement ancestor of an event's target. - */ -export declare function eventTarget(event: Event): HTMLElement; -export declare function whenReady(callback: () => void): void; diff --git a/node_modules/@wailsio/runtime/types/window.d.ts b/node_modules/@wailsio/runtime/types/window.d.ts deleted file mode 100644 index 3acecfb..0000000 --- a/node_modules/@wailsio/runtime/types/window.d.ts +++ /dev/null @@ -1,292 +0,0 @@ -import type { Screen } from "./screens.js"; -/** - * A record describing the position of a window. - */ -interface Position { - /** The horizontal position of the window. */ - x: number; - /** The vertical position of the window. */ - y: number; -} -/** - * A record describing the size of a window. - */ -interface Size { - /** The width of the window. */ - width: number; - /** The height of the window. */ - height: number; -} -declare const callerSym: unique symbol; -declare class Window { - private [callerSym]; - /** - * Initialises a window object with the specified name. - * - * @private - * @param name - The name of the target window. - */ - constructor(name?: string); - /** - * Gets the specified window. - * - * @param name - The name of the window to get. - * @returns The corresponding window object. - */ - Get(name: string): Window; - /** - * Returns the absolute position of the window. - * - * @returns The current absolute position of the window. - */ - Position(): Promise; - /** - * Centers the window on the screen. - */ - Center(): Promise; - /** - * Closes the window. - */ - Close(): Promise; - /** - * Disables min/max size constraints. - */ - DisableSizeConstraints(): Promise; - /** - * Enables min/max size constraints. - */ - EnableSizeConstraints(): Promise; - /** - * Focuses the window. - */ - Focus(): Promise; - /** - * Forces the window to reload the page assets. - */ - ForceReload(): Promise; - /** - * Switches the window to fullscreen mode. - */ - Fullscreen(): Promise; - /** - * Returns the screen that the window is on. - * - * @returns The screen the window is currently on. - */ - GetScreen(): Promise; - /** - * Returns the current zoom level of the window. - * - * @returns The current zoom level. - */ - GetZoom(): Promise; - /** - * Returns the height of the window. - * - * @returns The current height of the window. - */ - Height(): Promise; - /** - * Hides the window. - */ - Hide(): Promise; - /** - * Returns true if the window is focused. - * - * @returns Whether the window is currently focused. - */ - IsFocused(): Promise; - /** - * Returns true if the window is fullscreen. - * - * @returns Whether the window is currently fullscreen. - */ - IsFullscreen(): Promise; - /** - * Returns true if the window is maximised. - * - * @returns Whether the window is currently maximised. - */ - IsMaximised(): Promise; - /** - * Returns true if the window is minimised. - * - * @returns Whether the window is currently minimised. - */ - IsMinimised(): Promise; - /** - * Maximises the window. - */ - Maximise(): Promise; - /** - * Minimises the window. - */ - Minimise(): Promise; - /** - * Returns the name of the window. - * - * @returns The name of the window. - */ - Name(): Promise; - /** - * Opens the development tools pane. - */ - OpenDevTools(): Promise; - /** - * Returns the relative position of the window to the screen. - * - * @returns The current relative position of the window. - */ - RelativePosition(): Promise; - /** - * Reloads the page assets. - */ - Reload(): Promise; - /** - * Returns true if the window is resizable. - * - * @returns Whether the window is currently resizable. - */ - Resizable(): Promise; - /** - * Restores the window to its previous state if it was previously minimised, maximised or fullscreen. - */ - Restore(): Promise; - /** - * Sets the absolute position of the window. - * - * @param x - The desired horizontal absolute position of the window. - * @param y - The desired vertical absolute position of the window. - */ - SetPosition(x: number, y: number): Promise; - /** - * Sets the window to be always on top. - * - * @param alwaysOnTop - Whether the window should stay on top. - */ - SetAlwaysOnTop(alwaysOnTop: boolean): Promise; - /** - * Sets the background colour of the window. - * - * @param r - The desired red component of the window background. - * @param g - The desired green component of the window background. - * @param b - The desired blue component of the window background. - * @param a - The desired alpha component of the window background. - */ - SetBackgroundColour(r: number, g: number, b: number, a: number): Promise; - /** - * Removes the window frame and title bar. - * - * @param frameless - Whether the window should be frameless. - */ - SetFrameless(frameless: boolean): Promise; - /** - * Disables the system fullscreen button. - * - * @param enabled - Whether the fullscreen button should be enabled. - */ - SetFullscreenButtonEnabled(enabled: boolean): Promise; - /** - * Sets the maximum size of the window. - * - * @param width - The desired maximum width of the window. - * @param height - The desired maximum height of the window. - */ - SetMaxSize(width: number, height: number): Promise; - /** - * Sets the minimum size of the window. - * - * @param width - The desired minimum width of the window. - * @param height - The desired minimum height of the window. - */ - SetMinSize(width: number, height: number): Promise; - /** - * Sets the relative position of the window to the screen. - * - * @param x - The desired horizontal relative position of the window. - * @param y - The desired vertical relative position of the window. - */ - SetRelativePosition(x: number, y: number): Promise; - /** - * Sets whether the window is resizable. - * - * @param resizable - Whether the window should be resizable. - */ - SetResizable(resizable: boolean): Promise; - /** - * Sets the size of the window. - * - * @param width - The desired width of the window. - * @param height - The desired height of the window. - */ - SetSize(width: number, height: number): Promise; - /** - * Sets the title of the window. - * - * @param title - The desired title of the window. - */ - SetTitle(title: string): Promise; - /** - * Sets the zoom level of the window. - * - * @param zoom - The desired zoom level. - */ - SetZoom(zoom: number): Promise; - /** - * Shows the window. - */ - Show(): Promise; - /** - * Returns the size of the window. - * - * @returns The current size of the window. - */ - Size(): Promise; - /** - * Toggles the window between fullscreen and normal. - */ - ToggleFullscreen(): Promise; - /** - * Toggles the window between maximised and normal. - */ - ToggleMaximise(): Promise; - /** - * Un-fullscreens the window. - */ - UnFullscreen(): Promise; - /** - * Un-maximises the window. - */ - UnMaximise(): Promise; - /** - * Un-minimises the window. - */ - UnMinimise(): Promise; - /** - * Returns the width of the window. - * - * @returns The current width of the window. - */ - Width(): Promise; - /** - * Zooms the window. - */ - Zoom(): Promise; - /** - * Increases the zoom level of the webview content. - */ - ZoomIn(): Promise; - /** - * Decreases the zoom level of the webview content. - */ - ZoomOut(): Promise; - /** - * Resets the zoom level of the webview content. - */ - ZoomReset(): Promise; -} -/** - * The window within which the script is running. - */ -declare const thisWindow: Window; -export default thisWindow; diff --git a/node_modules/@wailsio/runtime/types/wml.d.ts b/node_modules/@wailsio/runtime/types/wml.d.ts deleted file mode 100644 index 020a3c5..0000000 --- a/node_modules/@wailsio/runtime/types/wml.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Schedules an automatic reload of WML to be performed as soon as the document is fully loaded. - */ -export declare function Enable(): void; -/** - * Reloads the WML page by adding necessary event listeners and browser listeners. - */ -export declare function Reload(): void;