diff --git a/assets/Finalists_announced.713515b6.png b/assets/Finalists_announced.713515b6.png new file mode 100644 index 0000000..65b3fe2 Binary files /dev/null and b/assets/Finalists_announced.713515b6.png differ diff --git a/assets/Finals.afe4aa43.png b/assets/Finals.afe4aa43.png new file mode 100644 index 0000000..e3b6afc Binary files /dev/null and b/assets/Finals.afe4aa43.png differ diff --git a/assets/Madushika1.f5230778.jpeg b/assets/Madushika1.f5230778.jpeg new file mode 100644 index 0000000..0596006 Binary files /dev/null and b/assets/Madushika1.f5230778.jpeg differ diff --git a/assets/Madushika2.02ab254f.jpeg b/assets/Madushika2.02ab254f.jpeg new file mode 100644 index 0000000..45643de Binary files /dev/null and b/assets/Madushika2.02ab254f.jpeg differ diff --git a/assets/Madushika3.141f14db.jpeg b/assets/Madushika3.141f14db.jpeg new file mode 100644 index 0000000..e0ed107 Binary files /dev/null and b/assets/Madushika3.141f14db.jpeg differ diff --git a/assets/Madushika_portrait.06e37194.jpg b/assets/Madushika_portrait.06e37194.jpg new file mode 100644 index 0000000..300afe8 Binary files /dev/null and b/assets/Madushika_portrait.06e37194.jpg differ diff --git a/assets/Madushika_title.513b2914.png b/assets/Madushika_title.513b2914.png new file mode 100644 index 0000000..ea28078 Binary files /dev/null and b/assets/Madushika_title.513b2914.png differ diff --git a/assets/Niru_Champ_story.4a711f64.png b/assets/Niru_Champ_story.4a711f64.png new file mode 100644 index 0000000..e6c5d9f Binary files /dev/null and b/assets/Niru_Champ_story.4a711f64.png differ diff --git a/assets/Niru_profile_img.196b6fb2.png b/assets/Niru_profile_img.196b6fb2.png new file mode 100644 index 0000000..56637fb Binary files /dev/null and b/assets/Niru_profile_img.196b6fb2.png differ diff --git a/assets/Prelis.d9c15bd6.png b/assets/Prelis.d9c15bd6.png new file mode 100644 index 0000000..e284f0d Binary files /dev/null and b/assets/Prelis.d9c15bd6.png differ diff --git a/assets/Registrations_open.4a799416.png b/assets/Registrations_open.4a799416.png new file mode 100644 index 0000000..2f8d2c9 Binary files /dev/null and b/assets/Registrations_open.4a799416.png differ diff --git a/assets/Semi_Finalists_announced.d6807d0f.png b/assets/Semi_Finalists_announced.d6807d0f.png new file mode 100644 index 0000000..1981f36 Binary files /dev/null and b/assets/Semi_Finalists_announced.d6807d0f.png differ diff --git a/assets/Semi_Finals.d4eb4357.png b/assets/Semi_Finals.d4eb4357.png new file mode 100644 index 0000000..fb68dc7 Binary files /dev/null and b/assets/Semi_Finals.d4eb4357.png differ diff --git a/assets/browser.004c23ae.js b/assets/browser.4973c2c2.js similarity index 86% rename from assets/browser.004c23ae.js rename to assets/browser.4973c2c2.js index 8c11949..3ee09fa 100644 --- a/assets/browser.004c23ae.js +++ b/assets/browser.4973c2c2.js @@ -1 +1 @@ -import{e as a}from"./index.4ac3f5c2.js";function c(t,s){for(var o=0;oe[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=a.exports.EventSourcePolyfill;const l=c({__proto__:null,default:f},[f]);export{l as b}; +import{e as a}from"./index.7fd47b8b.js";function c(t,s){for(var o=0;oe[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=a.exports.EventSourcePolyfill;const l=c({__proto__:null,default:f},[f]);export{l as b}; diff --git a/assets/index.6ca4f55b.css b/assets/index.221f5ebc.css similarity index 85% rename from assets/index.6ca4f55b.css rename to assets/index.221f5ebc.css index 5ba9971..bcc6214 100644 --- a/assets/index.6ca4f55b.css +++ b/assets/index.221f5ebc.css @@ -1,4 +1,4 @@ -.footer-menu-title[data-v-f41384af]{font-weight:600;font-size:1.2em}.svg-inline--fa[data-v-f41384af]:hover{color:var(--vt-c-indigo)}.icon-color[data-v-f41384af]{color:var(--color-text)}.footer-link[data-v-f41384af]{color:var(--color-text);text-decoration:none;font-style:italic}.app-footer[data-v-f41384af]{margin-top:auto}.logo[data-v-44e29e01]{-o-object-fit:cover;object-fit:cover}ul{list-style:none;margin-left:20px;padding-left:20px}li{margin-bottom:5px}.carousel[data-v-6864259c]{margin-bottom:4rem}.carousel-caption[data-v-6864259c]{bottom:3rem;z-index:10}.carousel-item[data-v-6864259c]{height:32rem}.carousel-item>img[data-v-6864259c]{-o-object-fit:cover;object-fit:cover;min-width:100%;height:30rem;z-index:-1}@media (max-width: 62em){.carousel[data-v-6864259c]{margin-bottom:0}.carousel-item[data-v-6864259c]{height:100%;width:100%}.carousel-item>img[data-v-6864259c]{height:100%;width:100%}}@media (min-width: 40em){.carousel-caption p[data-v-6864259c]{margin-bottom:1.25rem;font-size:1.25rem;line-height:1.4}}.img-modal[data-v-f9178ee9]{background-color:#00000080;width:100%;height:100vh;position:fixed;top:0;left:0;z-index:10}.img-modal img[data-v-f9178ee9]{max-height:75%;max-width:75%;-o-object-fit:contain;object-fit:contain;opacity:1!important}.img-modal button[data-v-f9178ee9]{position:absolute;height:3rem;width:3rem;font-size:2rem;top:5vh;right:0;transform:translate(-50%,50%);z-index:10}.overlay[data-v-f9178ee9]{opacity:0;background-color:#00000080;color:#fff;position:absolute;height:calc(100% - 10px);width:calc(100% - 10px);z-index:2;text-align:center}.overlay[data-v-f9178ee9]:hover{opacity:1;cursor:pointer}.img-container[data-v-f9178ee9]{display:flex;justify-content:center;align-items:center;width:25%;padding:10px;transition-delay:calc(.2s * var(--order))!important;position:relative}.btn-close[data-v-f9178ee9]{border:none;color:#fff;cursor:pointer}.btn-close[data-v-f9178ee9]:hover{background-color:#555}.link-container[data-v-f9178ee9]{padding:10px 5px;display:flex;align-items:center;justify-content:center}.gallery-link[data-v-f9178ee9]{font-weight:700;font-size:1.2rem;color:var(--color-text);text-decoration:none}.gallery-link[data-v-f9178ee9]:hover{color:var(--vt-c-indigo)}img[data-v-f9178ee9]{width:100%;-o-object-fit:cover;object-fit:cover;aspect-ratio:1/1}@media (max-width: 992px){.img-container[data-v-f9178ee9]{padding:10px 5px;min-height:20vh;transition-delay:0ms!important;width:100%}img[data-v-f9178ee9]{width:100%;opacity:1}}.bd-placeholder-img[data-v-d44cddf0]{font-size:1.125rem;text-anchor:middle;-webkit-user-select:none;-moz-user-select:none;user-select:none}.read-more[data-v-d44cddf0]{text-transform:uppercase}@media (min-width: 768px){.bd-placeholder-img-lg[data-v-d44cddf0]{font-size:3.5rem}}h2[data-v-d44cddf0]{font-weight:400}.featurette-divider[data-v-d44cddf0]{margin:5rem 0}.featurette-heading[data-v-d44cddf0]{font-weight:300;line-height:1;letter-spacing:-.05rem;font-size:30px}@media (min-width: 40em){.featurette-heading[data-v-d44cddf0]{font-size:50px}}@media (min-width: 62em){.featurette-heading[data-v-d44cddf0]{margin-top:7rem}}@media (max-width: 62em){.featurette-heading[data-v-d44cddf0]{padding-top:2rem;font-weight:700}.featurette-divider[data-v-d44cddf0]{margin:2rem 0}}.testimonial-card[data-v-aefe8af5]{background-color:var(--color-background-transparent);border:solid 1px var(--color-border-hover)}.testimonial-card-heading[data-v-aefe8af5]{color:var(--color-heading)}.testimonial-card-body[data-v-aefe8af5]{color:var(--color-text)}.testimonial-card-img[data-v-aefe8af5]{height:100px;width:100px;border-radius:50px}#doodle[data-v-bce26b0a]{position:fixed;right:2%;top:10%;bottom:5%;margin:auto;z-index:-1;opacity:.125}#doodle svg[data-v-bce26b0a]{height:100%;width:auto;-o-object-fit:contain;object-fit:contain}@media (max-width: 992px){#doodle[data-v-bce26b0a]{left:2%!important;bottom:1%}#doodle svg[data-v-bce26b0a]{width:120%;height:auto}}.content{display:flex;flex-direction:column;margin:0 auto;max-width:72em}h1{text-align:center}h6{color:#aaa;padding:1em}.image-container{position:relative;overflow:hidden;transition:transform .3s ease-in-out}.image-container:hover{transform:scale(1.05)}.image-expanded{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000e6;display:flex;justify-content:center;align-items:center;z-index:999}.image-expanded img{max-width:90%;max-height:90%}.button-container[data-v-4c34397e]{text-align:center}.button[data-v-4c34397e]{border:3px solid #ff9d00;color:#ff9d00;font-size:xx-large;padding:10px 20px;border-radius:4px;text-decoration:none;transition:background-color .3s,color .3s}.button[data-v-4c34397e]:hover{background-color:#ff8000;color:#fff}.button[data-v-4c34397e]:focus{outline:none}.featurette-heading[data-v-4c34397e]{font-weight:300;line-height:1;letter-spacing:-.05rem}.hidden[data-v-4c34397e]{display:none!important}.list-move[data-v-4c34397e],.list-enter-active[data-v-4c34397e],.list-leave-active[data-v-4c34397e]{transition:all .5s ease}.list-enter-from[data-v-4c34397e],.list-leave-to[data-v-4c34397e]{opacity:0}.list-leave-active[data-v-4c34397e]{position:absolute}.featurette-heading[data-v-4c34397e]{font-size:30px}@media (min-width: 40em){.featurette-heading[data-v-4c34397e]{font-size:50px}}@media (min-width: 62em){.featurette-heading[data-v-4c34397e]{margin-top:7rem}}@media (max-width: 62em){.featurette-heading[data-v-4c34397e]{padding-top:2rem;font-weight:700}.app-testimonial-card[data-v-4c34397e]{transition-delay:0s}}.app-testimonial-card[data-v-4c34397e]{transition-delay:calc(.2s * var(--order))}.featurette-divider[data-v-4c34397e]{margin:5rem 0}.article-container{display:flex;justify-content:center}.article{font-size:1.125rem}.article-img{width:100%;height:auto;-o-object-fit:cover;object-fit:cover;background-color:gray;margin-bottom:1rem;margin-top:1rem}.box{background-color:var(--color-background-mute);padding:1rem;text-align:center;font-style:italic}.first-letter:first-letter{font-size:250%;line-height:100%}@media (min-width: 768px){.article{width:70%}.hero h4{font-size:1.25em}.article-img-resize{width:50%;margin-left:25%}}.lb-phone{display:none}.hero-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;color:var(--vt-c-white)}.hero{text-align:center}.hero-img{z-index:-1;-o-object-fit:cover;object-fit:cover;width:100%;height:450px}@media (max-width: 768px){.hero-text h4{font-size:1.125em}.lb-phone{display:block}.hero-text{top:25%;left:1%;right:1%;transform:translateY(-50%)}.hero-img{width:100%;height:auto}}.interviewee[data-v-fb599a6a]{align-items:center;padding:0 1rem 1rem 0}.interviewee-img[data-v-fb599a6a]{height:100px;width:100px;border-radius:50%;background-color:gray}.interview-name[data-v-fb599a6a]{margin-left:1rem}@media (max-width: 768px){.hero h4[data-v-fb599a6a]{font-size:1.25em}}.box-img[data-v-623dd1e5]{height:200px;aspect-ratio:1/1;background-color:gray}main[data-v-73f113eb]{font-size:2rem}main[data-v-fef776be]{font-size:2rem}main[data-v-147157fb]{font-size:2rem}ul{list-style:none;margin:0;padding:0}li{border:1px solid black;padding:10px}h2{margin-top:0}img{width:100px}.content[data-v-6d6f3ccc]{display:flex;flex-direction:column;margin:0 auto;max-width:72em}h1[data-v-6d6f3ccc]{text-align:center}h6[data-v-6d6f3ccc]{color:#aaa;padding:1em}.image-container[data-v-6d6f3ccc]{position:relative;overflow:hidden;transition:transform .3s ease-in-out}.image-container[data-v-6d6f3ccc]:hover{transform:scale(1.05)}.image-expanded[data-v-6d6f3ccc]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000e6;display:flex;justify-content:center;align-items:center;z-index:999}.image-expanded img[data-v-6d6f3ccc]{max-width:90%;max-height:90%}@keyframes typing-ad93f312{0%{width:0}}.image[data-v-ad93f312]{width:150px;margin-left:20px}.typed[data-v-ad93f312]{display:inline-block;overflow:hidden;white-space:nowrap;animation:typing-ad93f312 3s steps(40,end),blink-caret-ad93f312 .75s step-end infinite alternate}@keyframes blink-caret-ad93f312{to{border-right-color:transparent}}.fade-enter-active[data-v-ad93f312],.fade-leave-active[data-v-ad93f312]{transition:opacity 2s ease}.fade-enter[data-v-ad93f312],.fade-leave-to[data-v-ad93f312]{opacity:0}.slide-fade-enter-active[data-v-ad93f312]{transition:all .1s ease-out}.slide-fade-leave-active[data-v-ad93f312]{transition:all 2s cubic-bezier(1,.5,.8,1)}.slide-fade-enter-from[data-v-ad93f312],.slide-fade-leave-to[data-v-ad93f312]{transform:translate(20px);opacity:0}.bounce-enter-active[data-v-ad93f312]{animation:bounce-in-ad93f312 .5s}.bounce-leave-active[data-v-ad93f312]{animation:bounce-in-ad93f312 .5s reverse}.bon-enter-active[data-v-ad93f312]{animation:bounce-in-ad93f312 .1s}.bon-leave-active[data-v-ad93f312]{animation:bounce-in-ad93f312 .1s reverse}@keyframes bounce-in-ad93f312{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}@keyframes typing-87712438{0%{width:0}}.image[data-v-87712438]{width:10rem;height:15rem;margin-left:20px}.typed[data-v-87712438]{display:inline-block;overflow:hidden;white-space:nowrap;animation:typing-87712438 3s steps(40,end),blink-caret-87712438 .75s step-end infinite alternate}@keyframes blink-caret-87712438{to{border-right-color:transparent}}.fade-enter-active[data-v-87712438],.fade-leave-active[data-v-87712438]{transition:opacity 2s ease}.fade-enter[data-v-87712438],.fade-leave-to[data-v-87712438]{opacity:0}.slide-fade-enter-active[data-v-87712438]{transition:all .1s ease-out}.slide-fade-leave-active[data-v-87712438]{transition:all 2s cubic-bezier(1,.5,.8,1)}.slide-fade-enter-from[data-v-87712438],.slide-fade-leave-to[data-v-87712438]{transform:translate(20px);opacity:0}.bounce-enter-active[data-v-87712438]{animation:bounce-in-87712438 .5s}.bounce-leave-active[data-v-87712438]{animation:bounce-in-87712438 .5s reverse}.bon-enter-active[data-v-87712438]{animation:bounce-in-87712438 .1s}.bon-leave-active[data-v-87712438]{animation:bounce-in-87712438 .1s reverse}@keyframes bounce-in-87712438{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.overlay[data-v-87712438]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;align-items:center;justify-content:center}.modal-content[data-v-87712438]{background-color:#fff;padding:20px;border-radius:5px;box-shadow:0 0 10px #0003}:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-white-transparent: rgba(221, 221, 221, .72);--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-black-transparent: rgba(30, 30, 30, .88);--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-background-transparent: var(--vt-c-white-transparent);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-background-transparent: var(--vt-c-black-transparent);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-1)}}*,*:before,*:after{box-sizing:border-box;margin:0;position:relative;font-weight:400}@media (prefers-color-scheme: light){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-background-transparent: var(--vt-c-black-transparent);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-1)}}body{min-height:100vh;color:var(--color-text);background:var(--color-background);transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{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,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}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-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;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[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]{display:none}*,: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: }::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: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0px}.left-0{left:0px}.left-1\/2{left:50%}.right-0{right:0px}.right-2{right:.5rem}.top-0{top:0px}.top-1\/3{top:33.333333%}.top-2{top:.5rem}.z-50{z-index:50}.order-first{order:-9999}.order-last{order:9999}.m-2{margin:.5rem}.m-3{margin:.75rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.mr-2{margin-right:.5rem}.mt-0{margin-top:0}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-16{height:4rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-auto{height:auto}.h-full{height:100%}.max-h-96{max-height:24rem}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-16{width:4rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-32{width:8rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-screen-lg{max-width:1024px}.max-w-sm{max-width:24rem}.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219 / var(--tw-divide-opacity))}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.bg-amber-200{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}.bg-amber-300{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.bg-amber-600{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.bg-amber-800{--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.bg-pink-900{--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-5{--tw-bg-opacity: .05}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-black{--tw-gradient-from: #000 var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-zinc-900{--tw-gradient-from: #18181b var(--tw-gradient-from-position);--tw-gradient-to: rgb(24 24 27 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.to-zinc-800{--tw-gradient-to: #27272a var(--tw-gradient-to-position)}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pr-14{padding-right:3.5rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-green-300{--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-zinc-800{--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-1{outline-width:1px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#app{width:100%;height:100%;min-height:100vh;margin:0 auto;display:flex;flex-direction:column;font-weight:400}.hidden{opacity:0;transform:translate(-25%);transition:all 1s}.animated-show{opacity:1;transform:translate(0)}.center{top:50%;left:50%;transform:translate(-50%,-50%)}.hover\:bg-amber-300:hover{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.hover\:bg-amber-600:hover{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.hover\:bg-amber-700:hover{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-orange-700:hover{--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:text-amber-600:hover{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}.hover\:text-gray-300:hover{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.hover\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.focus\:border-gray-500:focus{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.focus\:bg-gray-900:focus{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-amber-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(245 158 11 / var(--tw-ring-opacity))}.focus\:ring-amber-800:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(146 64 14 / var(--tw-ring-opacity))}.focus\:ring-opacity-50:focus{--tw-ring-opacity: .5}@media (min-width: 640px){.sm\:w-1\/2,.sm\:w-\[50\%\]{width:50%}}@media (min-width: 768px){.md\:left-0{left:0px}.md\:left-1\/2{left:50%}.md\:top-0{top:0px}.md\:top-1\/3{top:33.333333%}.md\:block{display:block}.md\:hidden{display:none}.md\:h-8{height:2rem}.md\:w-1\/2{width:50%}.md\:w-20{width:5rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! +.footer-menu-title[data-v-f41384af]{font-weight:600;font-size:1.2em}.svg-inline--fa[data-v-f41384af]:hover{color:var(--vt-c-indigo)}.icon-color[data-v-f41384af]{color:var(--color-text)}.footer-link[data-v-f41384af]{color:var(--color-text);text-decoration:none;font-style:italic}.app-footer[data-v-f41384af]{margin-top:auto}.logo[data-v-44e29e01]{-o-object-fit:cover;object-fit:cover}ul{list-style:none;margin-left:20px;padding-left:20px}li{margin-bottom:5px}.carousel[data-v-6864259c]{margin-bottom:4rem}.carousel-caption[data-v-6864259c]{bottom:3rem;z-index:10}.carousel-item[data-v-6864259c]{height:32rem}.carousel-item>img[data-v-6864259c]{-o-object-fit:cover;object-fit:cover;min-width:100%;height:30rem;z-index:-1}@media (max-width: 62em){.carousel[data-v-6864259c]{margin-bottom:0}.carousel-item[data-v-6864259c]{height:100%;width:100%}.carousel-item>img[data-v-6864259c]{height:100%;width:100%}}@media (min-width: 40em){.carousel-caption p[data-v-6864259c]{margin-bottom:1.25rem;font-size:1.25rem;line-height:1.4}}.img-modal[data-v-f9178ee9]{background-color:#00000080;width:100%;height:100vh;position:fixed;top:0;left:0;z-index:10}.img-modal img[data-v-f9178ee9]{max-height:75%;max-width:75%;-o-object-fit:contain;object-fit:contain;opacity:1!important}.img-modal button[data-v-f9178ee9]{position:absolute;height:3rem;width:3rem;font-size:2rem;top:5vh;right:0;transform:translate(-50%,50%);z-index:10}.overlay[data-v-f9178ee9]{opacity:0;background-color:#00000080;color:#fff;position:absolute;height:calc(100% - 10px);width:calc(100% - 10px);z-index:2;text-align:center}.overlay[data-v-f9178ee9]:hover{opacity:1;cursor:pointer}.img-container[data-v-f9178ee9]{display:flex;justify-content:center;align-items:center;width:25%;padding:10px;transition-delay:calc(.2s * var(--order))!important;position:relative}.btn-close[data-v-f9178ee9]{border:none;color:#fff;cursor:pointer}.btn-close[data-v-f9178ee9]:hover{background-color:#555}.link-container[data-v-f9178ee9]{padding:10px 5px;display:flex;align-items:center;justify-content:center}.gallery-link[data-v-f9178ee9]{font-weight:700;font-size:1.2rem;color:var(--color-text);text-decoration:none}.gallery-link[data-v-f9178ee9]:hover{color:var(--vt-c-indigo)}img[data-v-f9178ee9]{width:100%;-o-object-fit:cover;object-fit:cover;aspect-ratio:1/1}@media (max-width: 992px){.img-container[data-v-f9178ee9]{padding:10px 5px;min-height:20vh;transition-delay:0ms!important;width:100%}img[data-v-f9178ee9]{width:100%;opacity:1}}.bd-placeholder-img[data-v-d44cddf0]{font-size:1.125rem;text-anchor:middle;-webkit-user-select:none;-moz-user-select:none;user-select:none}.read-more[data-v-d44cddf0]{text-transform:uppercase}@media (min-width: 768px){.bd-placeholder-img-lg[data-v-d44cddf0]{font-size:3.5rem}}h2[data-v-d44cddf0]{font-weight:400}.featurette-divider[data-v-d44cddf0]{margin:5rem 0}.featurette-heading[data-v-d44cddf0]{font-weight:300;line-height:1;letter-spacing:-.05rem;font-size:30px}@media (min-width: 40em){.featurette-heading[data-v-d44cddf0]{font-size:50px}}@media (min-width: 62em){.featurette-heading[data-v-d44cddf0]{margin-top:7rem}}@media (max-width: 62em){.featurette-heading[data-v-d44cddf0]{padding-top:2rem;font-weight:700}.featurette-divider[data-v-d44cddf0]{margin:2rem 0}}.testimonial-card[data-v-aefe8af5]{background-color:var(--color-background-transparent);border:solid 1px var(--color-border-hover)}.testimonial-card-heading[data-v-aefe8af5]{color:var(--color-heading)}.testimonial-card-body[data-v-aefe8af5]{color:var(--color-text)}.testimonial-card-img[data-v-aefe8af5]{height:100px;width:100px;border-radius:50px}#doodle[data-v-bce26b0a]{position:fixed;right:2%;top:10%;bottom:5%;margin:auto;z-index:-1;opacity:.125}#doodle svg[data-v-bce26b0a]{height:100%;width:auto;-o-object-fit:contain;object-fit:contain}@media (max-width: 992px){#doodle[data-v-bce26b0a]{left:2%!important;bottom:1%}#doodle svg[data-v-bce26b0a]{width:120%;height:auto}}.fade-in[data-v-6d51e802]{opacity:0;transform:translateY(20px);transition:opacity .5s ease,transform .5s ease}.fade-in.show[data-v-6d51e802]{opacity:1;transform:translateY(0)}.timeline[data-v-6d51e802]{display:flex;flex-direction:column;align-items:center}.timeline-item[data-v-6d51e802]{display:flex;width:80%;margin:20px 0}.timeline-center[data-v-6d51e802]{display:flex;width:100%;height:20px}.timeline-item.left[data-v-6d51e802]{justify-content:flex-start;text-align:left}.timeline-item.right[data-v-6d51e802]{justify-content:flex-end;text-align:right}.timeline-center.center[data-v-6d51e802]{height:20px;justify-content:center;text-align:center}.timeline-content[data-v-6d51e802]{padding:20px;border-radius:5px}.animate-elementR[data-v-6d51e802]{opacity:0;transform:translate(50px);transition:opacity 2s ease,transform 2s ease}.animate-elementL[data-v-6d51e802]{opacity:0;transform:translate(-50px);transition:opacity 2s ease,transform 2s ease}.animate-fade-in[data-v-6d51e802]{opacity:1;transform:translate(0)}.gradient-overlay[data-v-6d51e802]{position:relative;display:inline-block}.gradient-overlay[data-v-6d51e802]:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.5));pointer-events:none}.content{display:flex;flex-direction:column;margin:0 auto;max-width:72em}h1{text-align:center}h6{color:#aaa;padding:1em}.image-container{position:relative;overflow:hidden;transition:transform .3s ease-in-out}.image-container:hover{transform:scale(1.05)}.image-expanded{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000e6;display:flex;justify-content:center;align-items:center;z-index:999}.image-expanded img{max-width:90%;max-height:90%}ul{margin-left:20px;padding-left:20px}p{text-indent:1em;line-height:1.5;padding-bottom:1em}li{margin-bottom:5px}.article-container{display:flex;justify-content:center}.article{font-size:1.125rem}.article-img{width:100%;height:auto;-o-object-fit:cover;object-fit:cover;background-color:gray;margin-bottom:1rem;margin-top:1rem}.box{background-color:var(--color-background-mute);padding:1rem;text-align:center;font-style:italic}.first-letter:first-letter{font-size:250%;line-height:100%}@media (min-width: 768px){.article{width:70%}.hero h4{font-size:1.25em}.article-img-resize{width:50%;margin-left:25%}}.lb-phone{display:none}.hero-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;color:var(--vt-c-white)}.hero{text-align:center}.hero-img{z-index:-1;-o-object-fit:cover;object-fit:cover;width:100%;height:450px}@media (max-width: 768px){.hero-text h4{font-size:1.125em}.lb-phone{display:block}.hero-text{top:25%;left:1%;right:1%;transform:translateY(-50%)}.hero-img{width:100%;height:auto}}.interviewee[data-v-fb599a6a]{align-items:center;padding:0 1rem 1rem 0}.interviewee-img[data-v-fb599a6a]{height:100px;width:100px;border-radius:50%;background-color:gray}.interview-name[data-v-fb599a6a]{margin-left:1rem}@media (max-width: 768px){.hero h4[data-v-fb599a6a]{font-size:1.25em}}.box-img[data-v-0840bbaa]{height:200px;aspect-ratio:1/1;background-color:gray}ul[data-v-2735c5fb]{list-style:none;margin-left:20px;padding-left:20px}li[data-v-2735c5fb]{margin-bottom:5px}.yt[data-v-2735c5fb]{width:100%;height:500px}@media only screen and (max-width: 767px){.yt[data-v-2735c5fb]{width:100%;height:220px}}body,html{margin:0;padding:0}.yt{width:100%;height:500px}.custom-background2{background:linear-gradient(to bottom,rgba(255,240,200,.8),rgba(255,240,200,.2),rgba(255,140,0,.2),rgba(255,99,71,.8))}.featurette-heading{font-size:30px}@media (min-width: 40em){.featurette-heading{font-size:50px}}@media (min-width: 62em){.featurette-heading{margin-top:7rem}}@media (max-width: 62em){.featurette-heading{padding-top:2rem;font-weight:700}}.button-container[data-v-daf28f36]{text-align:center}.button[data-v-daf28f36]{border:3px solid #ff9d00;color:#ff9d00;font-size:xx-large;padding:10px 20px;border-radius:4px;text-decoration:none;transition:background-color .3s,color .3s}.button[data-v-daf28f36]:hover{background-color:#ff8000;color:#fff}.button[data-v-daf28f36]:focus{outline:none}.featurette-heading[data-v-daf28f36]{font-weight:300;line-height:1;letter-spacing:-.05rem}.hidden[data-v-daf28f36]{display:none!important}.list-move[data-v-daf28f36],.list-enter-active[data-v-daf28f36],.list-leave-active[data-v-daf28f36]{transition:all .5s ease}.list-enter-from[data-v-daf28f36],.list-leave-to[data-v-daf28f36]{opacity:0}.list-leave-active[data-v-daf28f36]{position:absolute}.featurette-heading[data-v-daf28f36]{font-size:30px}@media (min-width: 40em){.featurette-heading[data-v-daf28f36]{font-size:50px}}@media (min-width: 62em){.featurette-heading[data-v-daf28f36]{margin-top:7rem}}@media (max-width: 62em){.featurette-heading[data-v-daf28f36]{padding-top:2rem;font-weight:700}.app-testimonial-card[data-v-daf28f36]{transition-delay:0s}}.app-testimonial-card[data-v-daf28f36]{transition-delay:calc(.2s * var(--order))}.featurette-divider[data-v-daf28f36]{margin:5rem 0}.gradient-overlay[data-v-daf28f36]{position:relative;display:inline-block}.gradient-overlay[data-v-daf28f36]:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.5));pointer-events:none}.box-img[data-v-623dd1e5]{height:200px;aspect-ratio:1/1;background-color:gray}main[data-v-73f113eb]{font-size:2rem}main[data-v-fef776be]{font-size:2rem}main[data-v-147157fb]{font-size:2rem}ul{list-style:none;margin:0;padding:0}li{border:1px solid black;padding:10px}h2{margin-top:0}img{width:100px}.content[data-v-6d6f3ccc]{display:flex;flex-direction:column;margin:0 auto;max-width:72em}h1[data-v-6d6f3ccc]{text-align:center}h6[data-v-6d6f3ccc]{color:#aaa;padding:1em}.image-container[data-v-6d6f3ccc]{position:relative;overflow:hidden;transition:transform .3s ease-in-out}.image-container[data-v-6d6f3ccc]:hover{transform:scale(1.05)}.image-expanded[data-v-6d6f3ccc]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000e6;display:flex;justify-content:center;align-items:center;z-index:999}.image-expanded img[data-v-6d6f3ccc]{max-width:90%;max-height:90%}@keyframes typing-ad93f312{0%{width:0}}.image[data-v-ad93f312]{width:150px;margin-left:20px}.typed[data-v-ad93f312]{display:inline-block;overflow:hidden;white-space:nowrap;animation:typing-ad93f312 3s steps(40,end),blink-caret-ad93f312 .75s step-end infinite alternate}@keyframes blink-caret-ad93f312{to{border-right-color:transparent}}.fade-enter-active[data-v-ad93f312],.fade-leave-active[data-v-ad93f312]{transition:opacity 2s ease}.fade-enter[data-v-ad93f312],.fade-leave-to[data-v-ad93f312]{opacity:0}.slide-fade-enter-active[data-v-ad93f312]{transition:all .1s ease-out}.slide-fade-leave-active[data-v-ad93f312]{transition:all 2s cubic-bezier(1,.5,.8,1)}.slide-fade-enter-from[data-v-ad93f312],.slide-fade-leave-to[data-v-ad93f312]{transform:translate(20px);opacity:0}.bounce-enter-active[data-v-ad93f312]{animation:bounce-in-ad93f312 .5s}.bounce-leave-active[data-v-ad93f312]{animation:bounce-in-ad93f312 .5s reverse}.bon-enter-active[data-v-ad93f312]{animation:bounce-in-ad93f312 .1s}.bon-leave-active[data-v-ad93f312]{animation:bounce-in-ad93f312 .1s reverse}@keyframes bounce-in-ad93f312{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}@keyframes typing-87712438{0%{width:0}}.image[data-v-87712438]{width:10rem;height:15rem;margin-left:20px}.typed[data-v-87712438]{display:inline-block;overflow:hidden;white-space:nowrap;animation:typing-87712438 3s steps(40,end),blink-caret-87712438 .75s step-end infinite alternate}@keyframes blink-caret-87712438{to{border-right-color:transparent}}.fade-enter-active[data-v-87712438],.fade-leave-active[data-v-87712438]{transition:opacity 2s ease}.fade-enter[data-v-87712438],.fade-leave-to[data-v-87712438]{opacity:0}.slide-fade-enter-active[data-v-87712438]{transition:all .1s ease-out}.slide-fade-leave-active[data-v-87712438]{transition:all 2s cubic-bezier(1,.5,.8,1)}.slide-fade-enter-from[data-v-87712438],.slide-fade-leave-to[data-v-87712438]{transform:translate(20px);opacity:0}.bounce-enter-active[data-v-87712438]{animation:bounce-in-87712438 .5s}.bounce-leave-active[data-v-87712438]{animation:bounce-in-87712438 .5s reverse}.bon-enter-active[data-v-87712438]{animation:bounce-in-87712438 .1s}.bon-leave-active[data-v-87712438]{animation:bounce-in-87712438 .1s reverse}@keyframes bounce-in-87712438{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.overlay[data-v-87712438]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;align-items:center;justify-content:center}.modal-content[data-v-87712438]{background-color:#fff;padding:20px;border-radius:5px;box-shadow:0 0 10px #0003}.carousel-container[data-v-1326735f]{position:relative;overflow:hidden}.carousel[data-v-1326735f]{display:flex;transition:transform .3s ease}.carousel-item[data-v-1326735f]{flex:0 0 auto;margin-right:20px}.carousel-button[data-v-1326735f]{position:absolute;top:50%;transform:translateY(-50%);padding:10px;background-color:#00000080;color:#fff;border:none;cursor:pointer}.carousel-button.prev[data-v-1326735f]{left:0}.carousel-button.next[data-v-1326735f]{right:0}.loading[data-v-a730c343]{text-align:center;margin:20px;font-size:18px}:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-white-transparent: rgba(221, 221, 221, .72);--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-black-transparent: rgba(30, 30, 30, .88);--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-background-transparent: var(--vt-c-white-transparent);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-background-transparent: var(--vt-c-black-transparent);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-1)}}*,*:before,*:after{box-sizing:border-box;margin:0;position:relative;font-weight:400}@media (prefers-color-scheme: light){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-background-transparent: var(--vt-c-black-transparent);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-1)}}body{min-height:100vh;color:var(--color-text);background:var(--color-background);transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{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,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}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-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;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[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]{display:none}*,: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: }::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: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0px}.left-0{left:0px}.left-1\/2{left:50%}.right-0{right:0px}.right-2{right:.5rem}.top-0{top:0px}.top-1\/3{top:33.333333%}.top-2{top:.5rem}.z-50{z-index:50}.order-first{order:-9999}.order-last{order:9999}.m-2{margin:.5rem}.m-3{margin:.75rem}.m-4{margin:1rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.mr-2{margin-right:.5rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-16{height:4rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-auto{height:auto}.h-full{height:100%}.max-h-96{max-height:24rem}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-16{width:4rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-32{width:8rem}.w-36{width:9rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-screen-lg{max-width:1024px}.max-w-sm{max-width:24rem}.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-300>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(209 213 219 / var(--tw-divide-opacity))}.overflow-x-auto{overflow-x:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b-2{border-bottom-width:2px}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity))}.border-zinc-500{--tw-border-opacity: 1;border-color:rgb(113 113 122 / var(--tw-border-opacity))}.bg-amber-200{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}.bg-amber-300{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.bg-amber-600{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.bg-amber-800{--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-orange-300{--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}.bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.bg-orange-900{--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}.bg-pink-900{--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-yellow-600{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-5{--tw-bg-opacity: .05}.bg-opacity-80{--tw-bg-opacity: .8}.bg-opacity-90{--tw-bg-opacity: .9}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-amber-100{--tw-gradient-from: #fef3c7 var(--tw-gradient-from-position);--tw-gradient-to: rgb(254 243 199 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-amber-200{--tw-gradient-from: #fde68a var(--tw-gradient-from-position);--tw-gradient-to: rgb(253 230 138 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-amber-300{--tw-gradient-from: #fcd34d var(--tw-gradient-from-position);--tw-gradient-to: rgb(252 211 77 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-amber-400{--tw-gradient-from: #fbbf24 var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 191 36 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-amber-50{--tw-gradient-from: #fffbeb var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 251 235 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-amber-600{--tw-gradient-from: #d97706 var(--tw-gradient-from-position);--tw-gradient-to: rgb(217 119 6 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-black{--tw-gradient-from: #000 var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-zinc-100{--tw-gradient-from: #f4f4f5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(244 244 245 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-zinc-900{--tw-gradient-from: #18181b var(--tw-gradient-from-position);--tw-gradient-to: rgb(24 24 27 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-amber-100{--tw-gradient-to: rgb(254 243 199 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #fef3c7 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-amber-200{--tw-gradient-to: rgb(253 230 138 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #fde68a var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-amber-300{--tw-gradient-to: rgb(252 211 77 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #fcd34d var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-amber-400{--tw-gradient-to: rgb(251 191 36 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #fbbf24 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-amber-500{--tw-gradient-to: rgb(245 158 11 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #f59e0b var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-amber-600{--tw-gradient-to: rgb(217 119 6 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #d97706 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-zinc-200{--tw-gradient-to: rgb(228 228 231 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #e4e4e7 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-amber-100{--tw-gradient-to: #fef3c7 var(--tw-gradient-to-position)}.to-amber-200{--tw-gradient-to: #fde68a var(--tw-gradient-to-position)}.to-amber-300{--tw-gradient-to: #fcd34d var(--tw-gradient-to-position)}.to-amber-400{--tw-gradient-to: #fbbf24 var(--tw-gradient-to-position)}.to-amber-500{--tw-gradient-to: #f59e0b var(--tw-gradient-to-position)}.to-amber-600{--tw-gradient-to: #d97706 var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.to-zinc-300{--tw-gradient-to: #d4d4d8 var(--tw-gradient-to-position)}.to-zinc-800{--tw-gradient-to: #27272a var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-2{padding-bottom:.5rem}.pb-4{padding-bottom:1rem}.pr-14{padding-right:3.5rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.text-amber-100{--tw-text-opacity: 1;color:rgb(254 243 199 / var(--tw-text-opacity))}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-green-300{--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-zinc-800{--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-1{outline-width:1px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#app{width:100%;height:100%;min-height:100vh;margin:0 auto;display:flex;flex-direction:column;font-weight:400}.hidden{opacity:0;transform:translate(-25%);transition:all 1s}.animated-show{opacity:1;transform:translate(0)}.center{top:50%;left:50%;transform:translate(-50%,-50%)}.hover\:bg-amber-300:hover{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.hover\:bg-amber-600:hover{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.hover\:bg-amber-700:hover{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-orange-700:hover{--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:bg-opacity-100:hover{--tw-bg-opacity: 1}.hover\:text-amber-600:hover{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}.hover\:text-gray-300:hover{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.hover\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.focus\:border-gray-500:focus{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.focus\:bg-gray-900:focus{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-amber-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(245 158 11 / var(--tw-ring-opacity))}.focus\:ring-amber-800:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(146 64 14 / var(--tw-ring-opacity))}.focus\:ring-opacity-50:focus{--tw-ring-opacity: .5}@media (min-width: 640px){.sm\:w-1\/2,.sm\:w-\[50\%\]{width:50%}}@media (min-width: 768px){.md\:left-0{left:0px}.md\:left-1\/2{left:50%}.md\:top-0{top:0px}.md\:top-1\/3{top:33.333333%}.md\:my-0{margin-top:0;margin-bottom:0}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-8{height:2rem}.md\:w-1\/2{width:50%}.md\:w-1\/3{width:33.333333%}.md\:w-2\/3{width:66.666667%}.md\:w-20{width:5rem}.md\:w-4\/6{width:66.666667%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:justify-center{justify-content:center}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}.bg-black{background-color:#000!important;color:#fff!important}.bg-white{background-color:#fff!important;color:#000!important}.bg-transparent{background-color:transparent!important;color:currentColor!important}.bg-red{background-color:#f44336!important;color:#fff!important}.bg-red-lighten-5{background-color:#ffebee!important;color:#000!important}.bg-red-lighten-4{background-color:#ffcdd2!important;color:#000!important}.bg-red-lighten-3{background-color:#ef9a9a!important;color:#000!important}.bg-red-lighten-2{background-color:#e57373!important;color:#fff!important}.bg-red-lighten-1{background-color:#ef5350!important;color:#fff!important}.bg-red-darken-1{background-color:#e53935!important;color:#fff!important}.bg-red-darken-2{background-color:#d32f2f!important;color:#fff!important}.bg-red-darken-3{background-color:#c62828!important;color:#fff!important}.bg-red-darken-4{background-color:#b71c1c!important;color:#fff!important}.bg-red-accent-1{background-color:#ff8a80!important;color:#000!important}.bg-red-accent-2{background-color:#ff5252!important;color:#fff!important}.bg-red-accent-3{background-color:#ff1744!important;color:#fff!important}.bg-red-accent-4{background-color:#d50000!important;color:#fff!important}.bg-pink{background-color:#e91e63!important;color:#fff!important}.bg-pink-lighten-5{background-color:#fce4ec!important;color:#000!important}.bg-pink-lighten-4{background-color:#f8bbd0!important;color:#000!important}.bg-pink-lighten-3{background-color:#f48fb1!important;color:#000!important}.bg-pink-lighten-2{background-color:#f06292!important;color:#fff!important}.bg-pink-lighten-1{background-color:#ec407a!important;color:#fff!important}.bg-pink-darken-1{background-color:#d81b60!important;color:#fff!important}.bg-pink-darken-2{background-color:#c2185b!important;color:#fff!important}.bg-pink-darken-3{background-color:#ad1457!important;color:#fff!important}.bg-pink-darken-4{background-color:#880e4f!important;color:#fff!important}.bg-pink-accent-1{background-color:#ff80ab!important;color:#fff!important}.bg-pink-accent-2{background-color:#ff4081!important;color:#fff!important}.bg-pink-accent-3{background-color:#f50057!important;color:#fff!important}.bg-pink-accent-4{background-color:#c51162!important;color:#fff!important}.bg-purple{background-color:#9c27b0!important;color:#fff!important}.bg-purple-lighten-5{background-color:#f3e5f5!important;color:#000!important}.bg-purple-lighten-4{background-color:#e1bee7!important;color:#000!important}.bg-purple-lighten-3{background-color:#ce93d8!important;color:#fff!important}.bg-purple-lighten-2{background-color:#ba68c8!important;color:#fff!important}.bg-purple-lighten-1{background-color:#ab47bc!important;color:#fff!important}.bg-purple-darken-1{background-color:#8e24aa!important;color:#fff!important}.bg-purple-darken-2{background-color:#7b1fa2!important;color:#fff!important}.bg-purple-darken-3{background-color:#6a1b9a!important;color:#fff!important}.bg-purple-darken-4{background-color:#4a148c!important;color:#fff!important}.bg-purple-accent-1{background-color:#ea80fc!important;color:#fff!important}.bg-purple-accent-2{background-color:#e040fb!important;color:#fff!important}.bg-purple-accent-3{background-color:#d500f9!important;color:#fff!important}.bg-purple-accent-4{background-color:#a0f!important;color:#fff!important}.bg-deep-purple{background-color:#673ab7!important;color:#fff!important}.bg-deep-purple-lighten-5{background-color:#ede7f6!important;color:#000!important}.bg-deep-purple-lighten-4{background-color:#d1c4e9!important;color:#000!important}.bg-deep-purple-lighten-3{background-color:#b39ddb!important;color:#fff!important}.bg-deep-purple-lighten-2{background-color:#9575cd!important;color:#fff!important}.bg-deep-purple-lighten-1{background-color:#7e57c2!important;color:#fff!important}.bg-deep-purple-darken-1{background-color:#5e35b1!important;color:#fff!important}.bg-deep-purple-darken-2{background-color:#512da8!important;color:#fff!important}.bg-deep-purple-darken-3{background-color:#4527a0!important;color:#fff!important}.bg-deep-purple-darken-4{background-color:#311b92!important;color:#fff!important}.bg-deep-purple-accent-1{background-color:#b388ff!important;color:#fff!important}.bg-deep-purple-accent-2{background-color:#7c4dff!important;color:#fff!important}.bg-deep-purple-accent-3{background-color:#651fff!important;color:#fff!important}.bg-deep-purple-accent-4{background-color:#6200ea!important;color:#fff!important}.bg-indigo{background-color:#3f51b5!important;color:#fff!important}.bg-indigo-lighten-5{background-color:#e8eaf6!important;color:#000!important}.bg-indigo-lighten-4{background-color:#c5cae9!important;color:#000!important}.bg-indigo-lighten-3{background-color:#9fa8da!important;color:#fff!important}.bg-indigo-lighten-2{background-color:#7986cb!important;color:#fff!important}.bg-indigo-lighten-1{background-color:#5c6bc0!important;color:#fff!important}.bg-indigo-darken-1{background-color:#3949ab!important;color:#fff!important}.bg-indigo-darken-2{background-color:#303f9f!important;color:#fff!important}.bg-indigo-darken-3{background-color:#283593!important;color:#fff!important}.bg-indigo-darken-4{background-color:#1a237e!important;color:#fff!important}.bg-indigo-accent-1{background-color:#8c9eff!important;color:#fff!important}.bg-indigo-accent-2{background-color:#536dfe!important;color:#fff!important}.bg-indigo-accent-3{background-color:#3d5afe!important;color:#fff!important}.bg-indigo-accent-4{background-color:#304ffe!important;color:#fff!important}.bg-blue{background-color:#2196f3!important;color:#fff!important}.bg-blue-lighten-5{background-color:#e3f2fd!important;color:#000!important}.bg-blue-lighten-4{background-color:#bbdefb!important;color:#000!important}.bg-blue-lighten-3{background-color:#90caf9!important;color:#000!important}.bg-blue-lighten-2{background-color:#64b5f6!important;color:#000!important}.bg-blue-lighten-1{background-color:#42a5f5!important;color:#fff!important}.bg-blue-darken-1{background-color:#1e88e5!important;color:#fff!important}.bg-blue-darken-2{background-color:#1976d2!important;color:#fff!important}.bg-blue-darken-3{background-color:#1565c0!important;color:#fff!important}.bg-blue-darken-4{background-color:#0d47a1!important;color:#fff!important}.bg-blue-accent-1{background-color:#82b1ff!important;color:#000!important}.bg-blue-accent-2{background-color:#448aff!important;color:#fff!important}.bg-blue-accent-3{background-color:#2979ff!important;color:#fff!important}.bg-blue-accent-4{background-color:#2962ff!important;color:#fff!important}.bg-light-blue{background-color:#03a9f4!important;color:#fff!important}.bg-light-blue-lighten-5{background-color:#e1f5fe!important;color:#000!important}.bg-light-blue-lighten-4{background-color:#b3e5fc!important;color:#000!important}.bg-light-blue-lighten-3{background-color:#81d4fa!important;color:#000!important}.bg-light-blue-lighten-2{background-color:#4fc3f7!important;color:#000!important}.bg-light-blue-lighten-1{background-color:#29b6f6!important;color:#000!important}.bg-light-blue-darken-1{background-color:#039be5!important;color:#fff!important}.bg-light-blue-darken-2{background-color:#0288d1!important;color:#fff!important}.bg-light-blue-darken-3{background-color:#0277bd!important;color:#fff!important}.bg-light-blue-darken-4{background-color:#01579b!important;color:#fff!important}.bg-light-blue-accent-1{background-color:#80d8ff!important;color:#000!important}.bg-light-blue-accent-2{background-color:#40c4ff!important;color:#000!important}.bg-light-blue-accent-3{background-color:#00b0ff!important;color:#fff!important}.bg-light-blue-accent-4{background-color:#0091ea!important;color:#fff!important}.bg-cyan{background-color:#00bcd4!important;color:#000!important}.bg-cyan-lighten-5{background-color:#e0f7fa!important;color:#000!important}.bg-cyan-lighten-4{background-color:#b2ebf2!important;color:#000!important}.bg-cyan-lighten-3{background-color:#80deea!important;color:#000!important}.bg-cyan-lighten-2{background-color:#4dd0e1!important;color:#000!important}.bg-cyan-lighten-1{background-color:#26c6da!important;color:#000!important}.bg-cyan-darken-1{background-color:#00acc1!important;color:#fff!important}.bg-cyan-darken-2{background-color:#0097a7!important;color:#fff!important}.bg-cyan-darken-3{background-color:#00838f!important;color:#fff!important}.bg-cyan-darken-4{background-color:#006064!important;color:#fff!important}.bg-cyan-accent-1{background-color:#84ffff!important;color:#000!important}.bg-cyan-accent-2{background-color:#18ffff!important;color:#000!important}.bg-cyan-accent-3{background-color:#00e5ff!important;color:#000!important}.bg-cyan-accent-4{background-color:#00b8d4!important;color:#fff!important}.bg-teal{background-color:#009688!important;color:#fff!important}.bg-teal-lighten-5{background-color:#e0f2f1!important;color:#000!important}.bg-teal-lighten-4{background-color:#b2dfdb!important;color:#000!important}.bg-teal-lighten-3{background-color:#80cbc4!important;color:#000!important}.bg-teal-lighten-2{background-color:#4db6ac!important;color:#fff!important}.bg-teal-lighten-1{background-color:#26a69a!important;color:#fff!important}.bg-teal-darken-1{background-color:#00897b!important;color:#fff!important}.bg-teal-darken-2{background-color:#00796b!important;color:#fff!important}.bg-teal-darken-3{background-color:#00695c!important;color:#fff!important}.bg-teal-darken-4{background-color:#004d40!important;color:#fff!important}.bg-teal-accent-1{background-color:#a7ffeb!important;color:#000!important}.bg-teal-accent-2{background-color:#64ffda!important;color:#000!important}.bg-teal-accent-3{background-color:#1de9b6!important;color:#000!important}.bg-teal-accent-4{background-color:#00bfa5!important;color:#fff!important}.bg-green{background-color:#4caf50!important;color:#fff!important}.bg-green-lighten-5{background-color:#e8f5e9!important;color:#000!important}.bg-green-lighten-4{background-color:#c8e6c9!important;color:#000!important}.bg-green-lighten-3{background-color:#a5d6a7!important;color:#000!important}.bg-green-lighten-2{background-color:#81c784!important;color:#000!important}.bg-green-lighten-1{background-color:#66bb6a!important;color:#fff!important}.bg-green-darken-1{background-color:#43a047!important;color:#fff!important}.bg-green-darken-2{background-color:#388e3c!important;color:#fff!important}.bg-green-darken-3{background-color:#2e7d32!important;color:#fff!important}.bg-green-darken-4{background-color:#1b5e20!important;color:#fff!important}.bg-green-accent-1{background-color:#b9f6ca!important;color:#000!important}.bg-green-accent-2{background-color:#69f0ae!important;color:#000!important}.bg-green-accent-3{background-color:#00e676!important;color:#000!important}.bg-green-accent-4{background-color:#00c853!important;color:#000!important}.bg-light-green{background-color:#8bc34a!important;color:#000!important}.bg-light-green-lighten-5{background-color:#f1f8e9!important;color:#000!important}.bg-light-green-lighten-4{background-color:#dcedc8!important;color:#000!important}.bg-light-green-lighten-3{background-color:#c5e1a5!important;color:#000!important}.bg-light-green-lighten-2{background-color:#aed581!important;color:#000!important}.bg-light-green-lighten-1{background-color:#9ccc65!important;color:#000!important}.bg-light-green-darken-1{background-color:#7cb342!important;color:#fff!important}.bg-light-green-darken-2{background-color:#689f38!important;color:#fff!important}.bg-light-green-darken-3{background-color:#558b2f!important;color:#fff!important}.bg-light-green-darken-4{background-color:#33691e!important;color:#fff!important}.bg-light-green-accent-1{background-color:#ccff90!important;color:#000!important}.bg-light-green-accent-2{background-color:#b2ff59!important;color:#000!important}.bg-light-green-accent-3{background-color:#76ff03!important;color:#000!important}.bg-light-green-accent-4{background-color:#64dd17!important;color:#000!important}.bg-lime{background-color:#cddc39!important;color:#000!important}.bg-lime-lighten-5{background-color:#f9fbe7!important;color:#000!important}.bg-lime-lighten-4{background-color:#f0f4c3!important;color:#000!important}.bg-lime-lighten-3{background-color:#e6ee9c!important;color:#000!important}.bg-lime-lighten-2{background-color:#dce775!important;color:#000!important}.bg-lime-lighten-1{background-color:#d4e157!important;color:#000!important}.bg-lime-darken-1{background-color:#c0ca33!important;color:#000!important}.bg-lime-darken-2{background-color:#afb42b!important;color:#000!important}.bg-lime-darken-3{background-color:#9e9d24!important;color:#fff!important}.bg-lime-darken-4{background-color:#827717!important;color:#fff!important}.bg-lime-accent-1{background-color:#f4ff81!important;color:#000!important}.bg-lime-accent-2{background-color:#eeff41!important;color:#000!important}.bg-lime-accent-3{background-color:#c6ff00!important;color:#000!important}.bg-lime-accent-4{background-color:#aeea00!important;color:#000!important}.bg-yellow{background-color:#ffeb3b!important;color:#000!important}.bg-yellow-lighten-5{background-color:#fffde7!important;color:#000!important}.bg-yellow-lighten-4{background-color:#fff9c4!important;color:#000!important}.bg-yellow-lighten-3{background-color:#fff59d!important;color:#000!important}.bg-yellow-lighten-2{background-color:#fff176!important;color:#000!important}.bg-yellow-lighten-1{background-color:#ffee58!important;color:#000!important}.bg-yellow-darken-1{background-color:#fdd835!important;color:#000!important}.bg-yellow-darken-2{background-color:#fbc02d!important;color:#000!important}.bg-yellow-darken-3{background-color:#f9a825!important;color:#000!important}.bg-yellow-darken-4{background-color:#f57f17!important;color:#fff!important}.bg-yellow-accent-1{background-color:#ffff8d!important;color:#000!important}.bg-yellow-accent-2{background-color:#ff0!important;color:#000!important}.bg-yellow-accent-3{background-color:#ffea00!important;color:#000!important}.bg-yellow-accent-4{background-color:#ffd600!important;color:#000!important}.bg-amber{background-color:#ffc107!important;color:#000!important}.bg-amber-lighten-5{background-color:#fff8e1!important;color:#000!important}.bg-amber-lighten-4{background-color:#ffecb3!important;color:#000!important}.bg-amber-lighten-3{background-color:#ffe082!important;color:#000!important}.bg-amber-lighten-2{background-color:#ffd54f!important;color:#000!important}.bg-amber-lighten-1{background-color:#ffca28!important;color:#000!important}.bg-amber-darken-1{background-color:#ffb300!important;color:#000!important}.bg-amber-darken-2{background-color:#ffa000!important;color:#000!important}.bg-amber-darken-3{background-color:#ff8f00!important;color:#000!important}.bg-amber-darken-4{background-color:#ff6f00!important;color:#fff!important}.bg-amber-accent-1{background-color:#ffe57f!important;color:#000!important}.bg-amber-accent-2{background-color:#ffd740!important;color:#000!important}.bg-amber-accent-3{background-color:#ffc400!important;color:#000!important}.bg-amber-accent-4{background-color:#ffab00!important;color:#000!important}.bg-orange{background-color:#ff9800!important;color:#000!important}.bg-orange-lighten-5{background-color:#fff3e0!important;color:#000!important}.bg-orange-lighten-4{background-color:#ffe0b2!important;color:#000!important}.bg-orange-lighten-3{background-color:#ffcc80!important;color:#000!important}.bg-orange-lighten-2{background-color:#ffb74d!important;color:#000!important}.bg-orange-lighten-1{background-color:#ffa726!important;color:#000!important}.bg-orange-darken-1{background-color:#fb8c00!important;color:#fff!important}.bg-orange-darken-2{background-color:#f57c00!important;color:#fff!important}.bg-orange-darken-3{background-color:#ef6c00!important;color:#fff!important}.bg-orange-darken-4{background-color:#e65100!important;color:#fff!important}.bg-orange-accent-1{background-color:#ffd180!important;color:#000!important}.bg-orange-accent-2{background-color:#ffab40!important;color:#000!important}.bg-orange-accent-3{background-color:#ff9100!important;color:#000!important}.bg-orange-accent-4{background-color:#ff6d00!important;color:#fff!important}.bg-deep-orange{background-color:#ff5722!important;color:#fff!important}.bg-deep-orange-lighten-5{background-color:#fbe9e7!important;color:#000!important}.bg-deep-orange-lighten-4{background-color:#ffccbc!important;color:#000!important}.bg-deep-orange-lighten-3{background-color:#ffab91!important;color:#000!important}.bg-deep-orange-lighten-2{background-color:#ff8a65!important;color:#000!important}.bg-deep-orange-lighten-1{background-color:#ff7043!important;color:#fff!important}.bg-deep-orange-darken-1{background-color:#f4511e!important;color:#fff!important}.bg-deep-orange-darken-2{background-color:#e64a19!important;color:#fff!important}.bg-deep-orange-darken-3{background-color:#d84315!important;color:#fff!important}.bg-deep-orange-darken-4{background-color:#bf360c!important;color:#fff!important}.bg-deep-orange-accent-1{background-color:#ff9e80!important;color:#000!important}.bg-deep-orange-accent-2{background-color:#ff6e40!important;color:#fff!important}.bg-deep-orange-accent-3{background-color:#ff3d00!important;color:#fff!important}.bg-deep-orange-accent-4{background-color:#dd2c00!important;color:#fff!important}.bg-brown{background-color:#795548!important;color:#fff!important}.bg-brown-lighten-5{background-color:#efebe9!important;color:#000!important}.bg-brown-lighten-4{background-color:#d7ccc8!important;color:#000!important}.bg-brown-lighten-3{background-color:#bcaaa4!important;color:#000!important}.bg-brown-lighten-2{background-color:#a1887f!important;color:#fff!important}.bg-brown-lighten-1{background-color:#8d6e63!important;color:#fff!important}.bg-brown-darken-1{background-color:#6d4c41!important;color:#fff!important}.bg-brown-darken-2{background-color:#5d4037!important;color:#fff!important}.bg-brown-darken-3{background-color:#4e342e!important;color:#fff!important}.bg-brown-darken-4{background-color:#3e2723!important;color:#fff!important}.bg-blue-grey{background-color:#607d8b!important;color:#fff!important}.bg-blue-grey-lighten-5{background-color:#eceff1!important;color:#000!important}.bg-blue-grey-lighten-4{background-color:#cfd8dc!important;color:#000!important}.bg-blue-grey-lighten-3{background-color:#b0bec5!important;color:#000!important}.bg-blue-grey-lighten-2{background-color:#90a4ae!important;color:#fff!important}.bg-blue-grey-lighten-1{background-color:#78909c!important;color:#fff!important}.bg-blue-grey-darken-1{background-color:#546e7a!important;color:#fff!important}.bg-blue-grey-darken-2{background-color:#455a64!important;color:#fff!important}.bg-blue-grey-darken-3{background-color:#37474f!important;color:#fff!important}.bg-blue-grey-darken-4{background-color:#263238!important;color:#fff!important}.bg-grey{background-color:#9e9e9e!important;color:#fff!important}.bg-grey-lighten-5{background-color:#fafafa!important;color:#000!important}.bg-grey-lighten-4{background-color:#f5f5f5!important;color:#000!important}.bg-grey-lighten-3{background-color:#eee!important;color:#000!important}.bg-grey-lighten-2{background-color:#e0e0e0!important;color:#000!important}.bg-grey-lighten-1{background-color:#bdbdbd!important;color:#000!important}.bg-grey-darken-1{background-color:#757575!important;color:#fff!important}.bg-grey-darken-2{background-color:#616161!important;color:#fff!important}.bg-grey-darken-3{background-color:#424242!important;color:#fff!important}.bg-grey-darken-4{background-color:#212121!important;color:#fff!important}.bg-shades-black{background-color:#000!important;color:#fff!important}.bg-shades-white{background-color:#fff!important;color:#000!important}.bg-shades-transparent{background-color:transparent!important;color:currentColor!important}.text-black{color:#000!important}.text-white{color:#fff!important}.text-transparent{color:transparent!important}.text-red{color:#f44336!important}.text-red-lighten-5{color:#ffebee!important}.text-red-lighten-4{color:#ffcdd2!important}.text-red-lighten-3{color:#ef9a9a!important}.text-red-lighten-2{color:#e57373!important}.text-red-lighten-1{color:#ef5350!important}.text-red-darken-1{color:#e53935!important}.text-red-darken-2{color:#d32f2f!important}.text-red-darken-3{color:#c62828!important}.text-red-darken-4{color:#b71c1c!important}.text-red-accent-1{color:#ff8a80!important}.text-red-accent-2{color:#ff5252!important}.text-red-accent-3{color:#ff1744!important}.text-red-accent-4{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-lighten-5{color:#fce4ec!important}.text-pink-lighten-4{color:#f8bbd0!important}.text-pink-lighten-3{color:#f48fb1!important}.text-pink-lighten-2{color:#f06292!important}.text-pink-lighten-1{color:#ec407a!important}.text-pink-darken-1{color:#d81b60!important}.text-pink-darken-2{color:#c2185b!important}.text-pink-darken-3{color:#ad1457!important}.text-pink-darken-4{color:#880e4f!important}.text-pink-accent-1{color:#ff80ab!important}.text-pink-accent-2{color:#ff4081!important}.text-pink-accent-3{color:#f50057!important}.text-pink-accent-4{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-lighten-5{color:#f3e5f5!important}.text-purple-lighten-4{color:#e1bee7!important}.text-purple-lighten-3{color:#ce93d8!important}.text-purple-lighten-2{color:#ba68c8!important}.text-purple-lighten-1{color:#ab47bc!important}.text-purple-darken-1{color:#8e24aa!important}.text-purple-darken-2{color:#7b1fa2!important}.text-purple-darken-3{color:#6a1b9a!important}.text-purple-darken-4{color:#4a148c!important}.text-purple-accent-1{color:#ea80fc!important}.text-purple-accent-2{color:#e040fb!important}.text-purple-accent-3{color:#d500f9!important}.text-purple-accent-4{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-lighten-5{color:#ede7f6!important}.text-deep-purple-lighten-4{color:#d1c4e9!important}.text-deep-purple-lighten-3{color:#b39ddb!important}.text-deep-purple-lighten-2{color:#9575cd!important}.text-deep-purple-lighten-1{color:#7e57c2!important}.text-deep-purple-darken-1{color:#5e35b1!important}.text-deep-purple-darken-2{color:#512da8!important}.text-deep-purple-darken-3{color:#4527a0!important}.text-deep-purple-darken-4{color:#311b92!important}.text-deep-purple-accent-1{color:#b388ff!important}.text-deep-purple-accent-2{color:#7c4dff!important}.text-deep-purple-accent-3{color:#651fff!important}.text-deep-purple-accent-4{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-lighten-5{color:#e8eaf6!important}.text-indigo-lighten-4{color:#c5cae9!important}.text-indigo-lighten-3{color:#9fa8da!important}.text-indigo-lighten-2{color:#7986cb!important}.text-indigo-lighten-1{color:#5c6bc0!important}.text-indigo-darken-1{color:#3949ab!important}.text-indigo-darken-2{color:#303f9f!important}.text-indigo-darken-3{color:#283593!important}.text-indigo-darken-4{color:#1a237e!important}.text-indigo-accent-1{color:#8c9eff!important}.text-indigo-accent-2{color:#536dfe!important}.text-indigo-accent-3{color:#3d5afe!important}.text-indigo-accent-4{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-lighten-5{color:#e3f2fd!important}.text-blue-lighten-4{color:#bbdefb!important}.text-blue-lighten-3{color:#90caf9!important}.text-blue-lighten-2{color:#64b5f6!important}.text-blue-lighten-1{color:#42a5f5!important}.text-blue-darken-1{color:#1e88e5!important}.text-blue-darken-2{color:#1976d2!important}.text-blue-darken-3{color:#1565c0!important}.text-blue-darken-4{color:#0d47a1!important}.text-blue-accent-1{color:#82b1ff!important}.text-blue-accent-2{color:#448aff!important}.text-blue-accent-3{color:#2979ff!important}.text-blue-accent-4{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-lighten-5{color:#e1f5fe!important}.text-light-blue-lighten-4{color:#b3e5fc!important}.text-light-blue-lighten-3{color:#81d4fa!important}.text-light-blue-lighten-2{color:#4fc3f7!important}.text-light-blue-lighten-1{color:#29b6f6!important}.text-light-blue-darken-1{color:#039be5!important}.text-light-blue-darken-2{color:#0288d1!important}.text-light-blue-darken-3{color:#0277bd!important}.text-light-blue-darken-4{color:#01579b!important}.text-light-blue-accent-1{color:#80d8ff!important}.text-light-blue-accent-2{color:#40c4ff!important}.text-light-blue-accent-3{color:#00b0ff!important}.text-light-blue-accent-4{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-lighten-5{color:#e0f7fa!important}.text-cyan-lighten-4{color:#b2ebf2!important}.text-cyan-lighten-3{color:#80deea!important}.text-cyan-lighten-2{color:#4dd0e1!important}.text-cyan-lighten-1{color:#26c6da!important}.text-cyan-darken-1{color:#00acc1!important}.text-cyan-darken-2{color:#0097a7!important}.text-cyan-darken-3{color:#00838f!important}.text-cyan-darken-4{color:#006064!important}.text-cyan-accent-1{color:#84ffff!important}.text-cyan-accent-2{color:#18ffff!important}.text-cyan-accent-3{color:#00e5ff!important}.text-cyan-accent-4{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-lighten-5{color:#e0f2f1!important}.text-teal-lighten-4{color:#b2dfdb!important}.text-teal-lighten-3{color:#80cbc4!important}.text-teal-lighten-2{color:#4db6ac!important}.text-teal-lighten-1{color:#26a69a!important}.text-teal-darken-1{color:#00897b!important}.text-teal-darken-2{color:#00796b!important}.text-teal-darken-3{color:#00695c!important}.text-teal-darken-4{color:#004d40!important}.text-teal-accent-1{color:#a7ffeb!important}.text-teal-accent-2{color:#64ffda!important}.text-teal-accent-3{color:#1de9b6!important}.text-teal-accent-4{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-lighten-5{color:#e8f5e9!important}.text-green-lighten-4{color:#c8e6c9!important}.text-green-lighten-3{color:#a5d6a7!important}.text-green-lighten-2{color:#81c784!important}.text-green-lighten-1{color:#66bb6a!important}.text-green-darken-1{color:#43a047!important}.text-green-darken-2{color:#388e3c!important}.text-green-darken-3{color:#2e7d32!important}.text-green-darken-4{color:#1b5e20!important}.text-green-accent-1{color:#b9f6ca!important}.text-green-accent-2{color:#69f0ae!important}.text-green-accent-3{color:#00e676!important}.text-green-accent-4{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-lighten-5{color:#f1f8e9!important}.text-light-green-lighten-4{color:#dcedc8!important}.text-light-green-lighten-3{color:#c5e1a5!important}.text-light-green-lighten-2{color:#aed581!important}.text-light-green-lighten-1{color:#9ccc65!important}.text-light-green-darken-1{color:#7cb342!important}.text-light-green-darken-2{color:#689f38!important}.text-light-green-darken-3{color:#558b2f!important}.text-light-green-darken-4{color:#33691e!important}.text-light-green-accent-1{color:#ccff90!important}.text-light-green-accent-2{color:#b2ff59!important}.text-light-green-accent-3{color:#76ff03!important}.text-light-green-accent-4{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-lighten-5{color:#f9fbe7!important}.text-lime-lighten-4{color:#f0f4c3!important}.text-lime-lighten-3{color:#e6ee9c!important}.text-lime-lighten-2{color:#dce775!important}.text-lime-lighten-1{color:#d4e157!important}.text-lime-darken-1{color:#c0ca33!important}.text-lime-darken-2{color:#afb42b!important}.text-lime-darken-3{color:#9e9d24!important}.text-lime-darken-4{color:#827717!important}.text-lime-accent-1{color:#f4ff81!important}.text-lime-accent-2{color:#eeff41!important}.text-lime-accent-3{color:#c6ff00!important}.text-lime-accent-4{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-lighten-5{color:#fffde7!important}.text-yellow-lighten-4{color:#fff9c4!important}.text-yellow-lighten-3{color:#fff59d!important}.text-yellow-lighten-2{color:#fff176!important}.text-yellow-lighten-1{color:#ffee58!important}.text-yellow-darken-1{color:#fdd835!important}.text-yellow-darken-2{color:#fbc02d!important}.text-yellow-darken-3{color:#f9a825!important}.text-yellow-darken-4{color:#f57f17!important}.text-yellow-accent-1{color:#ffff8d!important}.text-yellow-accent-2{color:#ff0!important}.text-yellow-accent-3{color:#ffea00!important}.text-yellow-accent-4{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-lighten-5{color:#fff8e1!important}.text-amber-lighten-4{color:#ffecb3!important}.text-amber-lighten-3{color:#ffe082!important}.text-amber-lighten-2{color:#ffd54f!important}.text-amber-lighten-1{color:#ffca28!important}.text-amber-darken-1{color:#ffb300!important}.text-amber-darken-2{color:#ffa000!important}.text-amber-darken-3{color:#ff8f00!important}.text-amber-darken-4{color:#ff6f00!important}.text-amber-accent-1{color:#ffe57f!important}.text-amber-accent-2{color:#ffd740!important}.text-amber-accent-3{color:#ffc400!important}.text-amber-accent-4{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-lighten-5{color:#fff3e0!important}.text-orange-lighten-4{color:#ffe0b2!important}.text-orange-lighten-3{color:#ffcc80!important}.text-orange-lighten-2{color:#ffb74d!important}.text-orange-lighten-1{color:#ffa726!important}.text-orange-darken-1{color:#fb8c00!important}.text-orange-darken-2{color:#f57c00!important}.text-orange-darken-3{color:#ef6c00!important}.text-orange-darken-4{color:#e65100!important}.text-orange-accent-1{color:#ffd180!important}.text-orange-accent-2{color:#ffab40!important}.text-orange-accent-3{color:#ff9100!important}.text-orange-accent-4{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-lighten-5{color:#fbe9e7!important}.text-deep-orange-lighten-4{color:#ffccbc!important}.text-deep-orange-lighten-3{color:#ffab91!important}.text-deep-orange-lighten-2{color:#ff8a65!important}.text-deep-orange-lighten-1{color:#ff7043!important}.text-deep-orange-darken-1{color:#f4511e!important}.text-deep-orange-darken-2{color:#e64a19!important}.text-deep-orange-darken-3{color:#d84315!important}.text-deep-orange-darken-4{color:#bf360c!important}.text-deep-orange-accent-1{color:#ff9e80!important}.text-deep-orange-accent-2{color:#ff6e40!important}.text-deep-orange-accent-3{color:#ff3d00!important}.text-deep-orange-accent-4{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-lighten-5{color:#efebe9!important}.text-brown-lighten-4{color:#d7ccc8!important}.text-brown-lighten-3{color:#bcaaa4!important}.text-brown-lighten-2{color:#a1887f!important}.text-brown-lighten-1{color:#8d6e63!important}.text-brown-darken-1{color:#6d4c41!important}.text-brown-darken-2{color:#5d4037!important}.text-brown-darken-3{color:#4e342e!important}.text-brown-darken-4{color:#3e2723!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-lighten-5{color:#eceff1!important}.text-blue-grey-lighten-4{color:#cfd8dc!important}.text-blue-grey-lighten-3{color:#b0bec5!important}.text-blue-grey-lighten-2{color:#90a4ae!important}.text-blue-grey-lighten-1{color:#78909c!important}.text-blue-grey-darken-1{color:#546e7a!important}.text-blue-grey-darken-2{color:#455a64!important}.text-blue-grey-darken-3{color:#37474f!important}.text-blue-grey-darken-4{color:#263238!important}.text-grey{color:#9e9e9e!important}.text-grey-lighten-5{color:#fafafa!important}.text-grey-lighten-4{color:#f5f5f5!important}.text-grey-lighten-3{color:#eee!important}.text-grey-lighten-2{color:#e0e0e0!important}.text-grey-lighten-1{color:#bdbdbd!important}.text-grey-darken-1{color:#757575!important}.text-grey-darken-2{color:#616161!important}.text-grey-darken-3{color:#424242!important}.text-grey-darken-4{color:#212121!important}.text-shades-black{color:#000!important}.text-shades-white{color:#fff!important}.text-shades-transparent{color:transparent!important}/*! * ress.css • v2.0.4 * MIT License * github.com/filipelinhares/ress diff --git a/assets/index.4ac3f5c2.js b/assets/index.4ac3f5c2.js deleted file mode 100644 index e1af2fd..0000000 --- a/assets/index.4ac3f5c2.js +++ /dev/null @@ -1,2701 +0,0 @@ -const iP=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 a of i)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerpolicy&&(a.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?a.credentials="include":i.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}};iP();function Og(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const aP="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",sP=Og(aP);function M1(e){return!!e||e===""}function _o(e){if($e(e)){const t={};for(let n=0;n{if(n){const r=n.split(lP);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Pt(e){let t="";if(Bt(e))t=e;else if($e(e))for(let n=0;nef(n,t))}const Xe=e=>Bt(e)?e:e==null?"":$e(e)||$t(e)&&(e.toString===N1||!Ge(e.toString))?JSON.stringify(e,D1,2):String(e),D1=(e,t)=>t&&t.__v_isRef?D1(e,t.value):Xs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:nf(t)?{[`Set(${t.size})`]:[...t.values()]}:$t(t)&&!$e(t)&&!F1(t)?String(t):t,pt={},Ys=[],Lr=()=>{},fP=()=>!1,hP=/^on[^a-z]/,tf=e=>hP.test(e),Mg=e=>e.startsWith("onUpdate:"),sn=Object.assign,Dg=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},mP=Object.prototype.hasOwnProperty,at=(e,t)=>mP.call(e,t),$e=Array.isArray,Xs=e=>mu(e)==="[object Map]",nf=e=>mu(e)==="[object Set]",Mb=e=>mu(e)==="[object Date]",Ge=e=>typeof e=="function",Bt=e=>typeof e=="string",kl=e=>typeof e=="symbol",$t=e=>e!==null&&typeof e=="object",$1=e=>$t(e)&&Ge(e.then)&&Ge(e.catch),N1=Object.prototype.toString,mu=e=>N1.call(e),vP=e=>mu(e).slice(8,-1),F1=e=>mu(e)==="[object Object]",$g=e=>Bt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Sc=Og(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),rf=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},gP=/-(\w)/g,br=rf(e=>e.replace(gP,(t,n)=>n?n.toUpperCase():"")),pP=/\B([A-Z])/g,ds=rf(e=>e.replace(pP,"-$1").toLowerCase()),Vi=rf(e=>e.charAt(0).toUpperCase()+e.slice(1)),Nh=rf(e=>e?`on${Vi(e)}`:""),Pl=(e,t)=>!Object.is(e,t),Cc=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Vl=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Db;const yP=()=>Db||(Db=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let cr;class L1{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&cr&&(this.parent=cr,this.index=(cr.scopes||(cr.scopes=[])).push(this)-1)}run(t){if(this.active){const n=cr;try{return cr=this,t()}finally{cr=n}}}on(){cr=this}off(){cr=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},B1=e=>(e.w&aa)>0,j1=e=>(e.n&aa)>0,_P=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=r)&&o.push(l)});else switch(n!==void 0&&o.push(s.get(n)),t){case"add":$e(e)?$g(n)&&o.push(s.get("length")):(o.push(s.get(Ya)),Xs(e)&&o.push(s.get(Dm)));break;case"delete":$e(e)||(o.push(s.get(Ya)),Xs(e)&&o.push(s.get(Dm)));break;case"set":Xs(e)&&o.push(s.get(Ya));break}if(o.length===1)o[0]&&$m(o[0]);else{const l=[];for(const u of o)u&&l.push(...u);$m(Fg(l))}}function $m(e,t){const n=$e(e)?e:[...e];for(const r of n)r.computed&&Nb(r);for(const r of n)r.computed||Nb(r)}function Nb(e,t){(e!==Rr||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const SP=Og("__proto__,__v_isRef,__isVue"),H1=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(kl)),CP=Bg(),xP=Bg(!1,!0),EP=Bg(!0),Fb=TP();function TP(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ke(this);for(let a=0,s=this.length;a{e[t]=function(...n){fs();const r=Ke(this)[t].apply(this,n);return hs(),r}}),e}function Bg(e=!1,t=!1){return function(r,i,a){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&a===(e?t?UP:Y1:t?K1:G1).get(r))return r;const s=$e(r);if(!e&&s&&at(Fb,i))return Reflect.get(Fb,i,a);const o=Reflect.get(r,i,a);return(kl(i)?H1.has(i):SP(i))||(e||er(r,"get",i),t)?o:Ot(o)?s&&$g(i)?o:o.value:$t(o)?e?vu(o):Ln(o):o}}const IP=q1(),AP=q1(!0);function q1(e=!1){return function(n,r,i,a){let s=n[r];if(Rl(s)&&Ot(s)&&!Ot(i))return!1;if(!e&&!Rl(i)&&(Nm(i)||(i=Ke(i),s=Ke(s)),!$e(n)&&Ot(s)&&!Ot(i)))return s.value=i,!0;const o=$e(n)&&$g(r)?Number(r)e,af=e=>Reflect.getPrototypeOf(e);function Qu(e,t,n=!1,r=!1){e=e.__v_raw;const i=Ke(e),a=Ke(t);n||(t!==a&&er(i,"get",t),er(i,"get",a));const{has:s}=af(i),o=r?jg:n?Hg:Ol;if(s.call(i,t))return o(e.get(t));if(s.call(i,a))return o(e.get(a));e!==i&&e.get(t)}function Ju(e,t=!1){const n=this.__v_raw,r=Ke(n),i=Ke(e);return t||(e!==i&&er(r,"has",e),er(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Zu(e,t=!1){return e=e.__v_raw,!t&&er(Ke(e),"iterate",Ya),Reflect.get(e,"size",e)}function Lb(e){e=Ke(e);const t=Ke(this);return af(t).has.call(t,e)||(t.add(e),bi(t,"add",e,e)),this}function Bb(e,t){t=Ke(t);const n=Ke(this),{has:r,get:i}=af(n);let a=r.call(n,e);a||(e=Ke(e),a=r.call(n,e));const s=i.call(n,e);return n.set(e,t),a?Pl(t,s)&&bi(n,"set",e,t):bi(n,"add",e,t),this}function jb(e){const t=Ke(this),{has:n,get:r}=af(t);let i=n.call(t,e);i||(e=Ke(e),i=n.call(t,e)),r&&r.call(t,e);const a=t.delete(e);return i&&bi(t,"delete",e,void 0),a}function Ub(){const e=Ke(this),t=e.size!==0,n=e.clear();return t&&bi(e,"clear",void 0,void 0),n}function ec(e,t){return function(r,i){const a=this,s=a.__v_raw,o=Ke(s),l=t?jg:e?Hg:Ol;return!e&&er(o,"iterate",Ya),s.forEach((u,c)=>r.call(i,l(u),l(c),a))}}function tc(e,t,n){return function(...r){const i=this.__v_raw,a=Ke(i),s=Xs(a),o=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=i[e](...r),c=n?jg:t?Hg:Ol;return!t&&er(a,"iterate",l?Dm:Ya),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:o?[c(d[0]),c(d[1])]:c(d),done:f}},[Symbol.iterator](){return this}}}}function Bi(e){return function(...t){return e==="delete"?!1:this}}function MP(){const e={get(a){return Qu(this,a)},get size(){return Zu(this)},has:Ju,add:Lb,set:Bb,delete:jb,clear:Ub,forEach:ec(!1,!1)},t={get(a){return Qu(this,a,!1,!0)},get size(){return Zu(this)},has:Ju,add:Lb,set:Bb,delete:jb,clear:Ub,forEach:ec(!1,!0)},n={get(a){return Qu(this,a,!0)},get size(){return Zu(this,!0)},has(a){return Ju.call(this,a,!0)},add:Bi("add"),set:Bi("set"),delete:Bi("delete"),clear:Bi("clear"),forEach:ec(!0,!1)},r={get(a){return Qu(this,a,!0,!0)},get size(){return Zu(this,!0)},has(a){return Ju.call(this,a,!0)},add:Bi("add"),set:Bi("set"),delete:Bi("delete"),clear:Bi("clear"),forEach:ec(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=tc(a,!1,!1),n[a]=tc(a,!0,!1),t[a]=tc(a,!1,!0),r[a]=tc(a,!0,!0)}),[e,n,t,r]}const[DP,$P,NP,FP]=MP();function Ug(e,t){const n=t?e?FP:NP:e?$P:DP;return(r,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(at(n,i)&&i in r?n:r,i,a)}const LP={get:Ug(!1,!1)},BP={get:Ug(!1,!0)},jP={get:Ug(!0,!1)},G1=new WeakMap,K1=new WeakMap,Y1=new WeakMap,UP=new WeakMap;function zP(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function HP(e){return e.__v_skip||!Object.isExtensible(e)?0:zP(vP(e))}function Ln(e){return Rl(e)?e:zg(e,!1,W1,LP,G1)}function qP(e){return zg(e,!1,OP,BP,K1)}function vu(e){return zg(e,!0,RP,jP,Y1)}function zg(e,t,n,r,i){if(!$t(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const s=HP(e);if(s===0)return e;const o=new Proxy(e,s===2?r:n);return i.set(e,o),o}function Qs(e){return Rl(e)?Qs(e.__v_raw):!!(e&&e.__v_isReactive)}function Rl(e){return!!(e&&e.__v_isReadonly)}function Nm(e){return!!(e&&e.__v_isShallow)}function X1(e){return Qs(e)||Rl(e)}function Ke(e){const t=e&&e.__v_raw;return t?Ke(t):e}function Q1(e){return Jc(e,"__v_skip",!0),e}const Ol=e=>$t(e)?Ln(e):e,Hg=e=>$t(e)?vu(e):e;function J1(e){ea&&Rr&&(e=Ke(e),z1(e.dep||(e.dep=Fg())))}function Z1(e,t){e=Ke(e),e.dep&&$m(e.dep)}function Ot(e){return!!(e&&e.__v_isRef===!0)}function ve(e){return eS(e,!1)}function _e(e){return eS(e,!0)}function eS(e,t){return Ot(e)?e:new WP(e,t)}class WP{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ke(t),this._value=n?t:Ol(t)}get value(){return J1(this),this._value}set value(t){t=this.__v_isShallow?t:Ke(t),Pl(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Ol(t),Z1(this))}}function Jn(e){return Ot(e)?e.value:e}const GP={get:(e,t,n)=>Jn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Ot(i)&&!Ot(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function tS(e){return Qs(e)?e:new Proxy(e,GP)}function qg(e){const t=$e(e)?new Array(e.length):{};for(const n in e)t[n]=ie(e,n);return t}class KP{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function ie(e,t,n){const r=e[t];return Ot(r)?r:new KP(e,t,n)}class YP{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Lg(t,()=>{this._dirty||(this._dirty=!0,Z1(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=Ke(this);return J1(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function XP(e,t,n=!1){let r,i;const a=Ge(e);return a?(r=e,i=Lr):(r=e.get,i=e.set),new YP(r,i,a||!i,n)}const ul=[];function sf(e,...t){fs();const n=ul.length?ul[ul.length-1].component:null,r=n&&n.appContext.config.warnHandler,i=QP();if(r)gi(r,n,11,[e+t.join(""),n&&n.proxy,i.map(({vnode:a})=>`at <${NS(n,a.type)}>`).join(` -`),i]);else{const a=[`[Vue warn]: ${e}`,...t];i.length&&a.push(` -`,...JP(i)),console.warn(...a)}hs()}function QP(){let e=ul[ul.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function JP(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[` -`],...ZP(n))}),t}function ZP({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,i=` at <${NS(e.component,e.type,r)}`,a=">"+n;return e.props?[i,...eV(e.props),a]:[i+a]}function eV(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...nS(r,e[r]))}),n.length>3&&t.push(" ..."),t}function nS(e,t,n){return Bt(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ot(t)?(t=nS(e,Ke(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Ge(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ke(t),n?t:[`${e}=`,t])}function gi(e,t,n,r){let i;try{i=r?e(...r):e()}catch(a){of(a,t,n)}return i}function vr(e,t,n,r){if(Ge(e)){const a=gi(e,t,n,r);return a&&$1(a)&&a.catch(s=>{of(s,t,n)}),a}const i=[];for(let a=0;a>>1;Ml(Xn[r])hi&&Xn.splice(t,1)}function sS(e,t,n,r){$e(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),aS()}function iV(e){sS(e,Qo,cl,$s)}function aV(e){sS(e,Hi,dl,Ns)}function lf(e,t=null){if(cl.length){for(Lm=t,Qo=[...new Set(cl)],cl.length=0,$s=0;$sMl(n)-Ml(r)),Ns=0;Nse.id==null?1/0:e.id;function lS(e){Fm=!1,Zc=!0,lf(e),Xn.sort((n,r)=>Ml(n)-Ml(r));const t=Lr;try{for(hi=0;hih.trim())),d&&(i=n.map(Vl))}let o,l=r[o=Nh(t)]||r[o=Nh(br(t))];!l&&a&&(l=r[o=Nh(ds(t))]),l&&vr(l,e,6,i);const u=r[o+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,vr(u,e,6,i)}}function uS(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const a=e.emits;let s={},o=!1;if(!Ge(e)){const l=u=>{const c=uS(u,t,!0);c&&(o=!0,sn(s,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!o?(r.set(e,null),null):($e(a)?a.forEach(l=>s[l]=null):sn(s,a),r.set(e,s),s)}function uf(e,t){return!e||!tf(t)?!1:(t=t.slice(2).replace(/Once$/,""),at(e,t[0].toLowerCase()+t.slice(1))||at(e,ds(t))||at(e,t))}let xn=null,cf=null;function ed(e){const t=xn;return xn=e,cf=e&&e.type.__scopeId||null,t}function oi(e){cf=e}function li(){cf=null}function Wn(e,t=xn,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&e_(-1);const a=ed(t),s=e(...i);return ed(a),r._d&&e_(1),s};return r._n=!0,r._c=!0,r._d=!0,r}function Fh(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:a,propsOptions:[s],slots:o,attrs:l,emit:u,render:c,renderCache:d,data:f,setupState:h,ctx:v,inheritAttrs:g}=e;let y,p;const b=ed(e);try{if(n.shapeFlag&4){const T=i||r;y=Gr(c.call(T,T,d,a,h,f,v)),p=l}else{const T=t;y=Gr(T.length>1?T(a,{attrs:l,slots:o,emit:u}):T(a,null)),p=t.props?l:oV(l)}}catch(T){ml.length=0,of(T,e,1),y=m(gr)}let S=y;if(p&&g!==!1){const T=Object.keys(p),{shapeFlag:V}=S;T.length&&V&7&&(s&&T.some(Mg)&&(p=lV(p,s)),S=_i(S,p))}return n.dirs&&(S=_i(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),y=S,ed(b),y}const oV=e=>{let t;for(const n in e)(n==="class"||n==="style"||tf(n))&&((t||(t={}))[n]=e[n]);return t},lV=(e,t)=>{const n={};for(const r in e)(!Mg(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function uV(e,t,n){const{props:r,children:i,component:a}=e,{props:s,children:o,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?zb(r,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense;function fV(e,t){t&&t.pendingBranch?$e(e)?t.effects.push(...e):t.effects.push(e):aV(e)}function Rt(e,t){if(an){let n=an.provides;const r=an.parent&&an.parent.provides;r===n&&(n=an.provides=Object.create(r)),n[e]=t}}function ft(e,t,n=!1){const r=an||xn;if(r){const i=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Ge(t)?t.call(r.proxy):t}}function nr(e,t){return Gg(e,null,t)}const Hb={};function we(e,t,n){return Gg(e,t,n)}function Gg(e,t,{immediate:n,deep:r,flush:i,onTrack:a,onTrigger:s}=pt){const o=an;let l,u=!1,c=!1;if(Ot(e)?(l=()=>e.value,u=Nm(e)):Qs(e)?(l=()=>e,r=!0):$e(e)?(c=!0,u=e.some(p=>Qs(p)||Nm(p)),l=()=>e.map(p=>{if(Ot(p))return p.value;if(Qs(p))return Ua(p);if(Ge(p))return gi(p,o,2)})):Ge(e)?t?l=()=>gi(e,o,2):l=()=>{if(!(o&&o.isUnmounted))return d&&d(),vr(e,o,3,[f])}:l=Lr,t&&r){const p=l;l=()=>Ua(p())}let d,f=p=>{d=y.onStop=()=>{gi(p,o,4)}};if(Fl)return f=Lr,t?n&&vr(t,o,3,[l(),c?[]:void 0,f]):l(),Lr;let h=c?[]:Hb;const v=()=>{if(!!y.active)if(t){const p=y.run();(r||u||(c?p.some((b,S)=>Pl(b,h[S])):Pl(p,h)))&&(d&&d(),vr(t,o,3,[p,h===Hb?void 0:h,f]),h=p)}else y.run()};v.allowRecurse=!!t;let g;i==="sync"?g=v:i==="post"?g=()=>qn(v,o&&o.suspense):g=()=>iV(v);const y=new Lg(l,g);return t?n?v():h=y.run():i==="post"?qn(y.run.bind(y),o&&o.suspense):y.run(),()=>{y.stop(),o&&o.scope&&Dg(o.scope.effects,y)}}function hV(e,t,n){const r=this.proxy,i=Bt(e)?e.includes(".")?cS(r,e):()=>r[e]:e.bind(r,r);let a;Ge(t)?a=t:(a=t.handler,n=t);const s=an;so(this);const o=Gg(i,a.bind(r),n);return s?so(s):Xa(),o}function cS(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{Ua(n,t)});else if(F1(e))for(const n in e)Ua(e[n],t);return e}function dS(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return On(()=>{e.isMounted=!0}),Un(()=>{e.isUnmounting=!0}),e}const lr=[Function,Array],mV={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:lr,onEnter:lr,onAfterEnter:lr,onEnterCancelled:lr,onBeforeLeave:lr,onLeave:lr,onAfterLeave:lr,onLeaveCancelled:lr,onBeforeAppear:lr,onAppear:lr,onAfterAppear:lr,onAppearCancelled:lr},setup(e,{slots:t}){const n=pf(),r=dS();let i;return()=>{const a=t.default&&Kg(t.default(),!0);if(!a||!a.length)return;let s=a[0];if(a.length>1){for(const g of a)if(g.type!==gr){s=g;break}}const o=Ke(e),{mode:l}=o;if(r.isLeaving)return Lh(s);const u=qb(s);if(!u)return Lh(s);const c=Dl(u,o,r,n);$l(u,c);const d=n.subTree,f=d&&qb(d);let h=!1;const{getTransitionKey:v}=u.type;if(v){const g=v();i===void 0?i=g:g!==i&&(i=g,h=!0)}if(f&&f.type!==gr&&(!La(u,f)||h)){const g=Dl(f,o,r,n);if($l(f,g),l==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update()},Lh(s);l==="in-out"&&u.type!==gr&&(g.delayLeave=(y,p,b)=>{const S=hS(r,f);S[String(f.key)]=f,y._leaveCb=()=>{p(),y._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=b})}return s}}},fS=mV;function hS(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 Dl(e,t,n,r){const{appear:i,mode:a,persisted:s=!1,onBeforeEnter:o,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:v,onBeforeAppear:g,onAppear:y,onAfterAppear:p,onAppearCancelled:b}=t,S=String(e.key),T=hS(n,e),V=(I,x)=>{I&&vr(I,r,9,x)},O=(I,x)=>{const $=x[1];V(I,x),$e(I)?I.every(E=>E.length<=1)&&$():I.length<=1&&$()},N={mode:a,persisted:s,beforeEnter(I){let x=o;if(!n.isMounted)if(i)x=g||o;else return;I._leaveCb&&I._leaveCb(!0);const $=T[S];$&&La(e,$)&&$.el._leaveCb&&$.el._leaveCb(),V(x,[I])},enter(I){let x=l,$=u,E=c;if(!n.isMounted)if(i)x=y||l,$=p||u,E=b||c;else return;let w=!1;const A=I._enterCb=M=>{w||(w=!0,M?V(E,[I]):V($,[I]),N.delayedLeave&&N.delayedLeave(),I._enterCb=void 0)};x?O(x,[I,A]):A()},leave(I,x){const $=String(e.key);if(I._enterCb&&I._enterCb(!0),n.isUnmounting)return x();V(d,[I]);let E=!1;const w=I._leaveCb=A=>{E||(E=!0,x(),A?V(v,[I]):V(h,[I]),I._leaveCb=void 0,T[$]===e&&delete T[$])};T[$]=e,f?O(f,[I,w]):w()},clone(I){return Dl(I,t,n,r)}};return N}function Lh(e){if(df(e))return e=_i(e),e.children=null,e}function qb(e){return df(e)?e.children?e.children[0]:void 0:e}function $l(e,t){e.shapeFlag&6&&e.component?$l(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 Kg(e,t=!1,n){let r=[],i=0;for(let a=0;a1)for(let a=0;a!!e.type.__asyncLoader,df=e=>e.type.__isKeepAlive;function mS(e,t){gS(e,"a",t)}function vS(e,t){gS(e,"da",t)}function gS(e,t,n=an){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(ff(t,r,n),n){let i=n.parent;for(;i&&i.parent;)df(i.parent.vnode)&&vV(r,t,n,i),i=i.parent}}function vV(e,t,n,r){const i=ff(t,e,r,!0);bS(()=>{Dg(r[t],i)},n)}function ff(e,t,n=an,r=!1){if(n){const i=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;fs(),so(n);const o=vr(t,n,e,s);return Xa(),hs(),o});return r?i.unshift(a):i.push(a),a}}const Ri=e=>(t,n=an)=>(!Fl||e==="sp")&&ff(e,t,n),hf=Ri("bm"),On=Ri("m"),pS=Ri("bu"),yS=Ri("u"),Un=Ri("bum"),bS=Ri("um"),gV=Ri("sp"),pV=Ri("rtg"),yV=Ri("rtc");function bV(e,t=an){ff("ec",e,t)}function Je(e,t){const n=xn;if(n===null)return e;const r=yf(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let a=0;at(s,o,void 0,a&&a[o]));else{const s=Object.keys(e);i=new Array(s.length);for(let o=0,l=s.length;ord(t)?!(t.type===gr||t.type===Ee&&!CS(t.children)):!0)?e:null}const Bm=e=>e?MS(e)?yf(e)||e.proxy:Bm(e.parent):null,td=sn(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=>Bm(e.parent),$root:e=>Bm(e.root),$emit:e=>e.emit,$options:e=>ES(e),$forceUpdate:e=>e.f||(e.f=()=>iS(e.update)),$nextTick:e=>e.n||(e.n=yt.bind(e.proxy)),$watch:e=>hV.bind(e)}),wV={get({_:e},t){const{ctx:n,setupState:r,data:i,props:a,accessCache:s,type:o,appContext:l}=e;let u;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else{if(r!==pt&&at(r,t))return s[t]=1,r[t];if(i!==pt&&at(i,t))return s[t]=2,i[t];if((u=e.propsOptions[0])&&at(u,t))return s[t]=3,a[t];if(n!==pt&&at(n,t))return s[t]=4,n[t];jm&&(s[t]=0)}}const c=td[t];let d,f;if(c)return t==="$attrs"&&er(e,"get",t),c(e);if((d=o.__cssModules)&&(d=d[t]))return d;if(n!==pt&&at(n,t))return s[t]=4,n[t];if(f=l.config.globalProperties,at(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:a}=e;return i!==pt&&at(i,t)?(i[t]=n,!0):r!==pt&&at(r,t)?(r[t]=n,!0):at(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:a}},s){let o;return!!n[s]||e!==pt&&at(e,s)||t!==pt&&at(t,s)||(o=a[0])&&at(o,s)||at(r,s)||at(td,s)||at(i.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:at(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let jm=!0;function SV(e){const t=ES(e),n=e.proxy,r=e.ctx;jm=!1,t.beforeCreate&&Gb(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:s,watch:o,provide:l,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:h,updated:v,activated:g,deactivated:y,beforeDestroy:p,beforeUnmount:b,destroyed:S,unmounted:T,render:V,renderTracked:O,renderTriggered:N,errorCaptured:I,serverPrefetch:x,expose:$,inheritAttrs:E,components:w,directives:A,filters:M}=t;if(u&&CV(u,r,null,e.appContext.config.unwrapInjectedRef),s)for(const j in s){const B=s[j];Ge(B)&&(r[j]=B.bind(n))}if(i){const j=i.call(n,n);$t(j)&&(e.data=Ln(j))}if(jm=!0,a)for(const j in a){const B=a[j],Q=Ge(B)?B.bind(n,n):Ge(B.get)?B.get.bind(n,n):Lr,ee=!Ge(B)&&Ge(B.set)?B.set.bind(n):Lr,re=_({get:Q,set:ee});Object.defineProperty(r,j,{enumerable:!0,configurable:!0,get:()=>re.value,set:me=>re.value=me})}if(o)for(const j in o)xS(o[j],r,n,j);if(l){const j=Ge(l)?l.call(n):l;Reflect.ownKeys(j).forEach(B=>{Rt(B,j[B])})}c&&Gb(c,e,"c");function G(j,B){$e(B)?B.forEach(Q=>j(Q.bind(n))):B&&j(B.bind(n))}if(G(hf,d),G(On,f),G(pS,h),G(yS,v),G(mS,g),G(vS,y),G(bV,I),G(yV,O),G(pV,N),G(Un,b),G(bS,T),G(gV,x),$e($))if($.length){const j=e.exposed||(e.exposed={});$.forEach(B=>{Object.defineProperty(j,B,{get:()=>n[B],set:Q=>n[B]=Q})})}else e.exposed||(e.exposed={});V&&e.render===Lr&&(e.render=V),E!=null&&(e.inheritAttrs=E),w&&(e.components=w),A&&(e.directives=A)}function CV(e,t,n=Lr,r=!1){$e(e)&&(e=Um(e));for(const i in e){const a=e[i];let s;$t(a)?"default"in a?s=ft(a.from||i,a.default,!0):s=ft(a.from||i):s=ft(a),Ot(s)&&r?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[i]=s}}function Gb(e,t,n){vr($e(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function xS(e,t,n,r){const i=r.includes(".")?cS(n,r):()=>n[r];if(Bt(e)){const a=t[e];Ge(a)&&we(i,a)}else if(Ge(e))we(i,e.bind(n));else if($t(e))if($e(e))e.forEach(a=>xS(a,t,n,r));else{const a=Ge(e.handler)?e.handler.bind(n):t[e.handler];Ge(a)&&we(i,a,e)}}function ES(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,o=a.get(t);let l;return o?l=o:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>nd(l,u,s,!0)),nd(l,t,s)),a.set(t,l),l}function nd(e,t,n,r=!1){const{mixins:i,extends:a}=t;a&&nd(e,a,n,!0),i&&i.forEach(s=>nd(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const o=xV[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const xV={data:Kb,props:ka,emits:ka,methods:ka,computed:ka,beforeCreate:Fn,created:Fn,beforeMount:Fn,mounted:Fn,beforeUpdate:Fn,updated:Fn,beforeDestroy:Fn,beforeUnmount:Fn,destroyed:Fn,unmounted:Fn,activated:Fn,deactivated:Fn,errorCaptured:Fn,serverPrefetch:Fn,components:ka,directives:ka,watch:TV,provide:Kb,inject:EV};function Kb(e,t){return t?e?function(){return sn(Ge(e)?e.call(this,this):e,Ge(t)?t.call(this,this):t)}:t:e}function EV(e,t){return ka(Um(e),Um(t))}function Um(e){if($e(e)){const t={};for(let n=0;n0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,h]=IS(d,t,!0);sn(s,f),h&&o.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!l)return r.set(e,Ys),Ys;if($e(a))for(let c=0;c-1,h[1]=g<0||v-1||at(h,"default"))&&o.push(d)}}}const u=[s,o];return r.set(e,u),u}function Yb(e){return e[0]!=="$"}function Xb(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Qb(e,t){return Xb(e)===Xb(t)}function Jb(e,t){return $e(t)?t.findIndex(n=>Qb(n,e)):Ge(t)&&Qb(t,e)?0:-1}const AS=e=>e[0]==="_"||e==="$stable",Qg=e=>$e(e)?e.map(Gr):[Gr(e)],kV=(e,t,n)=>{if(t._n)return t;const r=Wn((...i)=>Qg(t(...i)),n);return r._c=!1,r},kS=(e,t,n)=>{const r=e._ctx;for(const i in e){if(AS(i))continue;const a=e[i];if(Ge(a))t[i]=kV(i,a,r);else if(a!=null){const s=Qg(a);t[i]=()=>s}}},PS=(e,t)=>{const n=Qg(t);e.slots.default=()=>n},PV=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ke(t),Jc(t,"_",n)):kS(t,e.slots={})}else e.slots={},t&&PS(e,t);Jc(e.slots,vf,1)},VV=(e,t,n)=>{const{vnode:r,slots:i}=e;let a=!0,s=pt;if(r.shapeFlag&32){const o=t._;o?n&&o===1?a=!1:(sn(i,t),!n&&o===1&&delete i._):(a=!t.$stable,kS(t,i)),s=t}else t&&(PS(e,t),s={default:1});if(a)for(const o in i)!AS(o)&&!(o in s)&&delete i[o]};function VS(){return{app:null,config:{isNativeTag:fP,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let RV=0;function OV(e,t){return function(r,i=null){Ge(r)||(r=Object.assign({},r)),i!=null&&!$t(i)&&(i=null);const a=VS(),s=new Set;let o=!1;const l=a.app={_uid:RV++,_component:r,_props:i,_container:null,_context:a,_instance:null,version:eR,get config(){return a.config},set config(u){},use(u,...c){return s.has(u)||(u&&Ge(u.install)?(s.add(u),u.install(l,...c)):Ge(u)&&(s.add(u),u(l,...c))),l},mixin(u){return a.mixins.includes(u)||a.mixins.push(u),l},component(u,c){return c?(a.components[u]=c,l):a.components[u]},directive(u,c){return c?(a.directives[u]=c,l):a.directives[u]},mount(u,c,d){if(!o){const f=m(r,i);return f.appContext=a,c&&t?t(f,u):e(f,u,d),o=!0,l._container=u,u.__vue_app__=l,yf(f.component)||f.component.proxy}},unmount(){o&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return a.provides[u]=c,l}};return l}}function Hm(e,t,n,r,i=!1){if($e(e)){e.forEach((f,h)=>Hm(f,t&&($e(t)?t[h]:t),n,r,i));return}if(fl(r)&&!i)return;const a=r.shapeFlag&4?yf(r.component)||r.component.proxy:r.el,s=i?null:a,{i:o,r:l}=e,u=t&&t.r,c=o.refs===pt?o.refs={}:o.refs,d=o.setupState;if(u!=null&&u!==l&&(Bt(u)?(c[u]=null,at(d,u)&&(d[u]=null)):Ot(u)&&(u.value=null)),Ge(l))gi(l,o,12,[s,c]);else{const f=Bt(l),h=Ot(l);if(f||h){const v=()=>{if(e.f){const g=f?c[l]:l.value;i?$e(g)&&Dg(g,a):$e(g)?g.includes(a)||g.push(a):f?(c[l]=[a],at(d,l)&&(d[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else f?(c[l]=s,at(d,l)&&(d[l]=s)):h&&(l.value=s,e.k&&(c[e.k]=s))};s?(v.id=-1,qn(v,n)):v()}}}const qn=fV;function MV(e){return DV(e)}function DV(e,t){const n=yP();n.__VUE__=!0;const{insert:r,remove:i,patchProp:a,createElement:s,createText:o,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:f,setScopeId:h=Lr,cloneNode:v,insertStaticContent:g}=e,y=(k,D,U,R=null,F=null,z=null,H=!1,q=null,Y=!!D.dynamicChildren)=>{if(k===D)return;k&&!La(k,D)&&(R=Be(k),de(k,F,z,!0),k=null),D.patchFlag===-2&&(Y=!1,D.dynamicChildren=null);const{type:W,ref:ue,shapeFlag:ae}=D;switch(W){case mf:p(k,D,U,R);break;case gr:b(k,D,U,R);break;case xc:k==null&&S(D,U,R,H);break;case Ee:A(k,D,U,R,F,z,H,q,Y);break;default:ae&1?O(k,D,U,R,F,z,H,q,Y):ae&6?M(k,D,U,R,F,z,H,q,Y):(ae&64||ae&128)&&W.process(k,D,U,R,F,z,H,q,Y,ge)}ue!=null&&F&&Hm(ue,k&&k.ref,z,D||k,!D)},p=(k,D,U,R)=>{if(k==null)r(D.el=o(D.children),U,R);else{const F=D.el=k.el;D.children!==k.children&&u(F,D.children)}},b=(k,D,U,R)=>{k==null?r(D.el=l(D.children||""),U,R):D.el=k.el},S=(k,D,U,R)=>{[k.el,k.anchor]=g(k.children,D,U,R,k.el,k.anchor)},T=({el:k,anchor:D},U,R)=>{let F;for(;k&&k!==D;)F=f(k),r(k,U,R),k=F;r(D,U,R)},V=({el:k,anchor:D})=>{let U;for(;k&&k!==D;)U=f(k),i(k),k=U;i(D)},O=(k,D,U,R,F,z,H,q,Y)=>{H=H||D.type==="svg",k==null?N(D,U,R,F,z,H,q,Y):$(k,D,F,z,H,q,Y)},N=(k,D,U,R,F,z,H,q)=>{let Y,W;const{type:ue,props:ae,shapeFlag:fe,transition:be,patchFlag:pe,dirs:Ae}=k;if(k.el&&v!==void 0&&pe===-1)Y=k.el=v(k.el);else{if(Y=k.el=s(k.type,z,ae&&ae.is,ae),fe&8?c(Y,k.children):fe&16&&x(k.children,Y,null,R,F,z&&ue!=="foreignObject",H,q),Ae&&Ca(k,null,R,"created"),ae){for(const Ze in ae)Ze!=="value"&&!Sc(Ze)&&a(Y,Ze,null,ae[Ze],z,k.children,R,F,Re);"value"in ae&&a(Y,"value",null,ae.value),(W=ae.onVnodeBeforeMount)&&Wr(W,R,k)}I(Y,k,k.scopeId,H,R)}Ae&&Ca(k,null,R,"beforeMount");const je=(!F||F&&!F.pendingBranch)&&be&&!be.persisted;je&&be.beforeEnter(Y),r(Y,D,U),((W=ae&&ae.onVnodeMounted)||je||Ae)&&qn(()=>{W&&Wr(W,R,k),je&&be.enter(Y),Ae&&Ca(k,null,R,"mounted")},F)},I=(k,D,U,R,F)=>{if(U&&h(k,U),R)for(let z=0;z{for(let W=Y;W{const q=D.el=k.el;let{patchFlag:Y,dynamicChildren:W,dirs:ue}=D;Y|=k.patchFlag&16;const ae=k.props||pt,fe=D.props||pt;let be;U&&xa(U,!1),(be=fe.onVnodeBeforeUpdate)&&Wr(be,U,D,k),ue&&Ca(D,k,U,"beforeUpdate"),U&&xa(U,!0);const pe=F&&D.type!=="foreignObject";if(W?E(k.dynamicChildren,W,q,U,R,pe,z):H||Q(k,D,q,null,U,R,pe,z,!1),Y>0){if(Y&16)w(q,D,ae,fe,U,R,F);else if(Y&2&&ae.class!==fe.class&&a(q,"class",null,fe.class,F),Y&4&&a(q,"style",ae.style,fe.style,F),Y&8){const Ae=D.dynamicProps;for(let je=0;je{be&&Wr(be,U,D,k),ue&&Ca(D,k,U,"updated")},R)},E=(k,D,U,R,F,z,H)=>{for(let q=0;q{if(U!==R){for(const q in R){if(Sc(q))continue;const Y=R[q],W=U[q];Y!==W&&q!=="value"&&a(k,q,W,Y,H,D.children,F,z,Re)}if(U!==pt)for(const q in U)!Sc(q)&&!(q in R)&&a(k,q,U[q],null,H,D.children,F,z,Re);"value"in R&&a(k,"value",U.value,R.value)}},A=(k,D,U,R,F,z,H,q,Y)=>{const W=D.el=k?k.el:o(""),ue=D.anchor=k?k.anchor:o("");let{patchFlag:ae,dynamicChildren:fe,slotScopeIds:be}=D;be&&(q=q?q.concat(be):be),k==null?(r(W,U,R),r(ue,U,R),x(D.children,U,ue,F,z,H,q,Y)):ae>0&&ae&64&&fe&&k.dynamicChildren?(E(k.dynamicChildren,fe,U,F,z,H,q),(D.key!=null||F&&D===F.subTree)&&Jg(k,D,!0)):Q(k,D,U,ue,F,z,H,q,Y)},M=(k,D,U,R,F,z,H,q,Y)=>{D.slotScopeIds=q,k==null?D.shapeFlag&512?F.ctx.activate(D,U,R,H,Y):J(D,U,R,F,z,H,Y):G(k,D,Y)},J=(k,D,U,R,F,z,H)=>{const q=k.component=WV(k,R,F);if(df(k)&&(q.ctx.renderer=ge),GV(q),q.asyncDep){if(F&&F.registerDep(q,j),!k.el){const Y=q.subTree=m(gr);b(null,Y,D,U)}return}j(q,k,D,U,F,z,H)},G=(k,D,U)=>{const R=D.component=k.component;if(uV(k,D,U))if(R.asyncDep&&!R.asyncResolved){B(R,D,U);return}else R.next=D,rV(R.update),R.update();else D.el=k.el,R.vnode=D},j=(k,D,U,R,F,z,H)=>{const q=()=>{if(k.isMounted){let{next:ue,bu:ae,u:fe,parent:be,vnode:pe}=k,Ae=ue,je;xa(k,!1),ue?(ue.el=pe.el,B(k,ue,H)):ue=pe,ae&&Cc(ae),(je=ue.props&&ue.props.onVnodeBeforeUpdate)&&Wr(je,be,ue,pe),xa(k,!0);const Ze=Fh(k),mt=k.subTree;k.subTree=Ze,y(mt,Ze,d(mt.el),Be(mt),k,F,z),ue.el=Ze.el,Ae===null&&cV(k,Ze.el),fe&&qn(fe,F),(je=ue.props&&ue.props.onVnodeUpdated)&&qn(()=>Wr(je,be,ue,pe),F)}else{let ue;const{el:ae,props:fe}=D,{bm:be,m:pe,parent:Ae}=k,je=fl(D);if(xa(k,!1),be&&Cc(be),!je&&(ue=fe&&fe.onVnodeBeforeMount)&&Wr(ue,Ae,D),xa(k,!0),ae&&ne){const Ze=()=>{k.subTree=Fh(k),ne(ae,k.subTree,k,F,null)};je?D.type.__asyncLoader().then(()=>!k.isUnmounted&&Ze()):Ze()}else{const Ze=k.subTree=Fh(k);y(null,Ze,U,R,k,F,z),D.el=Ze.el}if(pe&&qn(pe,F),!je&&(ue=fe&&fe.onVnodeMounted)){const Ze=D;qn(()=>Wr(ue,Ae,Ze),F)}(D.shapeFlag&256||Ae&&fl(Ae.vnode)&&Ae.vnode.shapeFlag&256)&&k.a&&qn(k.a,F),k.isMounted=!0,D=U=R=null}},Y=k.effect=new Lg(q,()=>iS(W),k.scope),W=k.update=()=>Y.run();W.id=k.uid,xa(k,!0),W()},B=(k,D,U)=>{D.component=k;const R=k.vnode.props;k.vnode=D,k.next=null,AV(k,D.props,R,U),VV(k,D.children,U),fs(),lf(void 0,k.update),hs()},Q=(k,D,U,R,F,z,H,q,Y=!1)=>{const W=k&&k.children,ue=k?k.shapeFlag:0,ae=D.children,{patchFlag:fe,shapeFlag:be}=D;if(fe>0){if(fe&128){re(W,ae,U,R,F,z,H,q,Y);return}else if(fe&256){ee(W,ae,U,R,F,z,H,q,Y);return}}be&8?(ue&16&&Re(W,F,z),ae!==W&&c(U,ae)):ue&16?be&16?re(W,ae,U,R,F,z,H,q,Y):Re(W,F,z,!0):(ue&8&&c(U,""),be&16&&x(ae,U,R,F,z,H,q,Y))},ee=(k,D,U,R,F,z,H,q,Y)=>{k=k||Ys,D=D||Ys;const W=k.length,ue=D.length,ae=Math.min(W,ue);let fe;for(fe=0;feue?Re(k,F,z,!0,!1,ae):x(D,U,R,F,z,H,q,Y,ae)},re=(k,D,U,R,F,z,H,q,Y)=>{let W=0;const ue=D.length;let ae=k.length-1,fe=ue-1;for(;W<=ae&&W<=fe;){const be=k[W],pe=D[W]=Y?Ki(D[W]):Gr(D[W]);if(La(be,pe))y(be,pe,U,null,F,z,H,q,Y);else break;W++}for(;W<=ae&&W<=fe;){const be=k[ae],pe=D[fe]=Y?Ki(D[fe]):Gr(D[fe]);if(La(be,pe))y(be,pe,U,null,F,z,H,q,Y);else break;ae--,fe--}if(W>ae){if(W<=fe){const be=fe+1,pe=befe)for(;W<=ae;)de(k[W],F,z,!0),W++;else{const be=W,pe=W,Ae=new Map;for(W=pe;W<=fe;W++){const st=D[W]=Y?Ki(D[W]):Gr(D[W]);st.key!=null&&Ae.set(st.key,W)}let je,Ze=0;const mt=fe-pe+1;let St=!1,fn=0;const zn=new Array(mt);for(W=0;W=mt){de(st,F,z,!0);continue}let jt;if(st.key!=null)jt=Ae.get(st.key);else for(je=pe;je<=fe;je++)if(zn[je-pe]===0&&La(st,D[je])){jt=je;break}jt===void 0?de(st,F,z,!0):(zn[jt-pe]=W+1,jt>=fn?fn=jt:St=!0,y(st,D[jt],U,null,F,z,H,q,Y),Ze++)}const ci=St?$V(zn):Ys;for(je=ci.length-1,W=mt-1;W>=0;W--){const st=pe+W,jt=D[st],Ut=st+1{const{el:z,type:H,transition:q,children:Y,shapeFlag:W}=k;if(W&6){me(k.component.subTree,D,U,R);return}if(W&128){k.suspense.move(D,U,R);return}if(W&64){H.move(k,D,U,ge);return}if(H===Ee){r(z,D,U);for(let ae=0;aeq.enter(z),F);else{const{leave:ae,delayLeave:fe,afterLeave:be}=q,pe=()=>r(z,D,U),Ae=()=>{ae(z,()=>{pe(),be&&be()})};fe?fe(z,pe,Ae):Ae()}else r(z,D,U)},de=(k,D,U,R=!1,F=!1)=>{const{type:z,props:H,ref:q,children:Y,dynamicChildren:W,shapeFlag:ue,patchFlag:ae,dirs:fe}=k;if(q!=null&&Hm(q,null,U,k,!0),ue&256){D.ctx.deactivate(k);return}const be=ue&1&&fe,pe=!fl(k);let Ae;if(pe&&(Ae=H&&H.onVnodeBeforeUnmount)&&Wr(Ae,D,k),ue&6)Z(k.component,U,R);else{if(ue&128){k.suspense.unmount(U,R);return}be&&Ca(k,null,D,"beforeUnmount"),ue&64?k.type.remove(k,D,U,F,ge,R):W&&(z!==Ee||ae>0&&ae&64)?Re(W,D,U,!1,!0):(z===Ee&&ae&384||!F&&ue&16)&&Re(Y,D,U),R&&ke(k)}(pe&&(Ae=H&&H.onVnodeUnmounted)||be)&&qn(()=>{Ae&&Wr(Ae,D,k),be&&Ca(k,null,D,"unmounted")},U)},ke=k=>{const{type:D,el:U,anchor:R,transition:F}=k;if(D===Ee){Ne(U,R);return}if(D===xc){V(k);return}const z=()=>{i(U),F&&!F.persisted&&F.afterLeave&&F.afterLeave()};if(k.shapeFlag&1&&F&&!F.persisted){const{leave:H,delayLeave:q}=F,Y=()=>H(U,z);q?q(k.el,z,Y):Y()}else z()},Ne=(k,D)=>{let U;for(;k!==D;)U=f(k),i(k),k=U;i(D)},Z=(k,D,U)=>{const{bum:R,scope:F,update:z,subTree:H,um:q}=k;R&&Cc(R),F.stop(),z&&(z.active=!1,de(H,k,D,U)),q&&qn(q,D),qn(()=>{k.isUnmounted=!0},D),D&&D.pendingBranch&&!D.isUnmounted&&k.asyncDep&&!k.asyncResolved&&k.suspenseId===D.pendingId&&(D.deps--,D.deps===0&&D.resolve())},Re=(k,D,U,R=!1,F=!1,z=0)=>{for(let H=z;Hk.shapeFlag&6?Be(k.component.subTree):k.shapeFlag&128?k.suspense.next():f(k.anchor||k.el),ut=(k,D,U)=>{k==null?D._vnode&&de(D._vnode,null,null,!0):y(D._vnode||null,k,D,null,null,null,U),oS(),D._vnode=k},ge={p:y,um:de,m:me,r:ke,mt:J,mc:x,pc:Q,pbc:E,n:Be,o:e};let Ve,ne;return t&&([Ve,ne]=t(ge)),{render:ut,hydrate:Ve,createApp:OV(ut,Ve)}}function xa({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Jg(e,t,n=!1){const r=e.children,i=t.children;if($e(r)&&$e(i))for(let a=0;a>1,e[n[o]]0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,s=n[a-1];a-- >0;)n[a]=s,s=t[s];return n}const NV=e=>e.__isTeleport,hl=e=>e&&(e.disabled||e.disabled===""),Zb=e=>typeof SVGElement<"u"&&e instanceof SVGElement,qm=(e,t)=>{const n=e&&e.to;return Bt(n)?t?t(n):null:n},FV={__isTeleport:!0,process(e,t,n,r,i,a,s,o,l,u){const{mc:c,pc:d,pbc:f,o:{insert:h,querySelector:v,createText:g,createComment:y}}=u,p=hl(t.props);let{shapeFlag:b,children:S,dynamicChildren:T}=t;if(e==null){const V=t.el=g(""),O=t.anchor=g("");h(V,n,r),h(O,n,r);const N=t.target=qm(t.props,v),I=t.targetAnchor=g("");N&&(h(I,N),s=s||Zb(N));const x=($,E)=>{b&16&&c(S,$,E,i,a,s,o,l)};p?x(n,O):N&&x(N,I)}else{t.el=e.el;const V=t.anchor=e.anchor,O=t.target=e.target,N=t.targetAnchor=e.targetAnchor,I=hl(e.props),x=I?n:O,$=I?V:N;if(s=s||Zb(O),T?(f(e.dynamicChildren,T,x,i,a,s,o),Jg(e,t,!0)):l||d(e,t,x,$,i,a,s,o,!1),p)I||nc(t,n,V,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const E=t.target=qm(t.props,v);E&&nc(t,E,null,u,0)}else I&&nc(t,O,N,u,1)}},remove(e,t,n,r,{um:i,o:{remove:a}},s){const{shapeFlag:o,children:l,anchor:u,targetAnchor:c,target:d,props:f}=e;if(d&&a(c),(s||!hl(f))&&(a(u),o&16))for(let h=0;h0?Mr||Ys:null,jV(),Nl>0&&Mr&&Mr.push(e),e}function ce(e,t,n,r,i,a){return RS(C(e,t,n,r,i,a,!0))}function pu(e,t,n,r,i){return RS(m(e,t,n,r,i,!0))}function rd(e){return e?e.__v_isVNode===!0:!1}function La(e,t){return e.type===t.type&&e.key===t.key}const vf="__vInternal",OS=({key:e})=>e!=null?e:null,Ec=({ref:e,ref_key:t,ref_for:n})=>e!=null?Bt(e)||Ot(e)||Ge(e)?{i:xn,r:e,k:t,f:!!n}:e:null;function C(e,t=null,n=null,r=0,i=null,a=e===Ee?0:1,s=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&OS(t),ref:t&&Ec(t),scopeId:cf,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null};return o?(Zg(l,n),a&128&&e.normalize(l)):n&&(l.shapeFlag|=Bt(n)?8:16),Nl>0&&!s&&Mr&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Mr.push(l),l}const m=UV;function UV(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===_S)&&(e=gr),rd(e)){const o=_i(e,t,!0);return n&&Zg(o,n),Nl>0&&!a&&Mr&&(o.shapeFlag&6?Mr[Mr.indexOf(e)]=o:Mr.push(o)),o.patchFlag|=-2,o}if(ZV(e)&&(e=e.__vccOpts),t){t=zV(t);let{class:o,style:l}=t;o&&!Bt(o)&&(t.class=Pt(o)),$t(l)&&(X1(l)&&!$e(l)&&(l=sn({},l)),t.style=_o(l))}const s=Bt(e)?1:dV(e)?128:NV(e)?64:$t(e)?4:Ge(e)?2:0;return C(e,t,n,r,i,s,a,!0)}function zV(e){return e?X1(e)||vf in e?sn({},e):e:null}function _i(e,t,n=!1){const{props:r,ref:i,patchFlag:a,children:s}=e,o=t?ye(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&OS(o),ref:t&&t.ref?n&&i?$e(i)?i.concat(Ec(t)):[i,Ec(t)]:Ec(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_i(e.ssContent),ssFallback:e.ssFallback&&_i(e.ssFallback),el:e.el,anchor:e.anchor}}function Gn(e=" ",t=0){return m(mf,null,e,t)}function gf(e,t){const n=m(xc,null,e);return n.staticCount=t,n}function We(e="",t=!1){return t?(se(),pu(gr,null,e)):m(gr,null,e)}function Gr(e){return e==null||typeof e=="boolean"?m(gr):$e(e)?m(Ee,null,e.slice()):typeof e=="object"?Ki(e):m(mf,null,String(e))}function Ki(e){return e.el===null||e.memo?e:_i(e)}function Zg(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if($e(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),Zg(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(vf in t)?t._ctx=xn:i===3&&xn&&(xn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ge(t)?(t={default:t,_ctx:xn},n=32):(t=String(t),r&64?(n=16,t=[Gn(t)]):n=8);e.children=t,e.shapeFlag|=n}function ye(...e){const t={};for(let n=0;nan||xn,so=e=>{an=e,e.scope.on()},Xa=()=>{an&&an.scope.off(),an=null};function MS(e){return e.vnode.shapeFlag&4}let Fl=!1;function GV(e,t=!1){Fl=t;const{props:n,children:r}=e.vnode,i=MS(e);IV(e,n,i,t),PV(e,r);const a=i?KV(e,t):void 0;return Fl=!1,a}function KV(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Q1(new Proxy(e.ctx,wV));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?XV(e):null;so(e),fs();const a=gi(r,e,0,[e.props,i]);if(hs(),Xa(),$1(a)){if(a.then(Xa,Xa),t)return a.then(s=>{t_(e,s,t)}).catch(s=>{of(s,e,0)});e.asyncDep=a}else t_(e,a,t)}else DS(e,t)}function t_(e,t,n){Ge(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:$t(t)&&(e.setupState=tS(t)),DS(e,n)}let n_;function DS(e,t,n){const r=e.type;if(!e.render){if(!t&&n_&&!r.render){const i=r.template;if(i){const{isCustomElement:a,compilerOptions:s}=e.appContext.config,{delimiters:o,compilerOptions:l}=r,u=sn(sn({isCustomElement:a,delimiters:o},s),l);r.render=n_(i,u)}}e.render=r.render||Lr}so(e),fs(),SV(e),hs(),Xa()}function YV(e){return new Proxy(e.attrs,{get(t,n){return er(e,"get","$attrs"),t[n]}})}function XV(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=YV(e))},slots:e.slots,emit:e.emit,expose:t}}function yf(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(tS(Q1(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in td)return td[n](e)}}))}const QV=/(?:^|[-_])(\w)/g,JV=e=>e.replace(QV,t=>t.toUpperCase()).replace(/[-_]/g,"");function $S(e,t=!0){return Ge(e)?e.displayName||e.name:e.name||t&&e.__name}function NS(e,t,n=!1){let r=$S(t);if(!r&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(r=i[1])}if(!r&&e&&e.parent){const i=a=>{for(const s in a)if(a[s]===t)return s};r=i(e.components||e.parent.type.components)||i(e.appContext.components)}return r?JV(r):n?"App":"Anonymous"}function ZV(e){return Ge(e)&&"__vccOpts"in e}const _=(e,t)=>XP(e,t,Fl);function Wt(e,t,n){const r=arguments.length;return r===2?$t(t)&&!$e(t)?rd(t)?m(e,null,[t]):m(e,t):m(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&rd(n)&&(n=[n]),m(e,t,n))}const eR="3.2.37",tR="http://www.w3.org/2000/svg",Ba=typeof document<"u"?document:null,r_=Ba&&Ba.createElement("template"),nR={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?Ba.createElementNS(tR,e):Ba.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Ba.createTextNode(e),createComment:e=>Ba.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ba.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,i,a){const s=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{r_.innerHTML=r?`${e}`:e;const o=r_.content;if(r){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}t.insertBefore(o,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function rR(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function iR(e,t,n){const r=e.style,i=Bt(n);if(n&&!i){for(const a in n)Wm(r,a,n[a]);if(t&&!Bt(t))for(const a in t)n[a]==null&&Wm(r,a,"")}else{const a=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=a)}}const i_=/\s*!important$/;function Wm(e,t,n){if($e(n))n.forEach(r=>Wm(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=aR(e,t);i_.test(n)?e.setProperty(ds(r),n.replace(i_,""),"important"):e[r]=n}}const a_=["Webkit","Moz","ms"],Bh={};function aR(e,t){const n=Bh[t];if(n)return n;let r=br(t);if(r!=="filter"&&r in e)return Bh[t]=r;r=Vi(r);for(let i=0;i{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Gm=0;const uR=Promise.resolve(),cR=()=>{Gm=0},dR=()=>Gm||(uR.then(cR),Gm=FS());function ja(e,t,n,r){e.addEventListener(t,n,r)}function fR(e,t,n,r){e.removeEventListener(t,n,r)}function hR(e,t,n,r,i=null){const a=e._vei||(e._vei={}),s=a[t];if(r&&s)s.value=r;else{const[o,l]=mR(t);if(r){const u=a[t]=vR(r,i);ja(e,o,u,l)}else s&&(fR(e,o,s,l),a[t]=void 0)}}const o_=/(?:Once|Passive|Capture)$/;function mR(e){let t;if(o_.test(e)){t={};let n;for(;n=e.match(o_);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[ds(e.slice(2)),t]}function vR(e,t){const n=r=>{const i=r.timeStamp||FS();(lR||i>=n.attached-1)&&vr(gR(r,n.value),t,5,[r])};return n.value=e,n.attached=dR(),n}function gR(e,t){if($e(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 l_=/^on[a-z]/,pR=(e,t,n,r,i=!1,a,s,o,l)=>{t==="class"?rR(e,r,i):t==="style"?iR(e,n,r):tf(t)?Mg(t)||hR(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):yR(e,t,r,i))?oR(e,t,r,a,s,o,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),sR(e,t,r,i))};function yR(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&l_.test(t)&&Ge(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||l_.test(t)&&Bt(n)?!1:t in e}const ji="transition",zo="animation",In=(e,{slots:t})=>Wt(fS,BS(e),t);In.displayName="Transition";const LS={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},bR=In.props=sn({},fS.props,LS),Ea=(e,t=[])=>{$e(e)?e.forEach(n=>n(...t)):e&&e(...t)},u_=e=>e?$e(e)?e.some(t=>t.length>1):e.length>1:!1;function BS(e){const t={};for(const w in e)w in LS||(t[w]=e[w]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:o=`${n}-enter-to`,appearFromClass:l=a,appearActiveClass:u=s,appearToClass:c=o,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,v=_R(i),g=v&&v[0],y=v&&v[1],{onBeforeEnter:p,onEnter:b,onEnterCancelled:S,onLeave:T,onLeaveCancelled:V,onBeforeAppear:O=p,onAppear:N=b,onAppearCancelled:I=S}=t,x=(w,A,M)=>{qi(w,A?c:o),qi(w,A?u:s),M&&M()},$=(w,A)=>{w._isLeaving=!1,qi(w,d),qi(w,h),qi(w,f),A&&A()},E=w=>(A,M)=>{const J=w?N:b,G=()=>x(A,w,M);Ea(J,[A,G]),c_(()=>{qi(A,w?l:a),fi(A,w?c:o),u_(J)||d_(A,r,g,G)})};return sn(t,{onBeforeEnter(w){Ea(p,[w]),fi(w,a),fi(w,s)},onBeforeAppear(w){Ea(O,[w]),fi(w,l),fi(w,u)},onEnter:E(!1),onAppear:E(!0),onLeave(w,A){w._isLeaving=!0;const M=()=>$(w,A);fi(w,d),US(),fi(w,f),c_(()=>{!w._isLeaving||(qi(w,d),fi(w,h),u_(T)||d_(w,r,y,M))}),Ea(T,[w,M])},onEnterCancelled(w){x(w,!1),Ea(S,[w])},onAppearCancelled(w){x(w,!0),Ea(I,[w])},onLeaveCancelled(w){$(w),Ea(V,[w])}})}function _R(e){if(e==null)return null;if($t(e))return[jh(e.enter),jh(e.leave)];{const t=jh(e);return[t,t]}}function jh(e){return Vl(e)}function fi(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function qi(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function c_(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let wR=0;function d_(e,t,n,r){const i=e._endId=++wR,a=()=>{i===e._endId&&r()};if(n)return setTimeout(a,n);const{type:s,timeout:o,propCount:l}=jS(e,t);if(!s)return r();const u=s+"end";let c=0;const d=()=>{e.removeEventListener(u,f),a()},f=h=>{h.target===e&&++c>=l&&d()};setTimeout(()=>{c(n[v]||"").split(", "),i=r(ji+"Delay"),a=r(ji+"Duration"),s=f_(i,a),o=r(zo+"Delay"),l=r(zo+"Duration"),u=f_(o,l);let c=null,d=0,f=0;t===ji?s>0&&(c=ji,d=s,f=a.length):t===zo?u>0&&(c=zo,d=u,f=l.length):(d=Math.max(s,u),c=d>0?s>u?ji:zo:null,f=c?c===ji?a.length:l.length:0);const h=c===ji&&/\b(transform|all)(,|$)/.test(n[ji+"Property"]);return{type:c,timeout:d,propCount:f,hasTransform:h}}function f_(e,t){for(;e.lengthh_(n)+h_(e[r])))}function h_(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function US(){return document.body.offsetHeight}const zS=new WeakMap,HS=new WeakMap,SR={name:"TransitionGroup",props:sn({},bR,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=pf(),r=dS();let i,a;return yS(()=>{if(!i.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!TR(i[0].el,n.vnode.el,s))return;i.forEach(CR),i.forEach(xR);const o=i.filter(ER);US(),o.forEach(l=>{const u=l.el,c=u.style;fi(u,s),c.transform=c.webkitTransform=c.transitionDuration="";const d=u._moveCb=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",d),u._moveCb=null,qi(u,s))};u.addEventListener("transitionend",d)})}),()=>{const s=Ke(e),o=BS(s);let l=s.tag||Ee;i=a,a=t.default?Kg(t.default()):[];for(let u=0;u{s.split(/\s+/).forEach(o=>o&&r.classList.remove(o))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:a}=jS(r);return i.removeChild(r),a}const id=e=>{const t=e.props["onUpdate:modelValue"]||!1;return $e(t)?n=>Cc(t,n):t};function IR(e){e.target.composing=!0}function m_(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const dr={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e._assign=id(i);const a=r||i.props&&i.props.type==="number";ja(e,t?"change":"input",s=>{if(s.target.composing)return;let o=e.value;n&&(o=o.trim()),a&&(o=Vl(o)),e._assign(o)}),n&&ja(e,"change",()=>{e.value=e.value.trim()}),t||(ja(e,"compositionstart",IR),ja(e,"compositionend",m_),ja(e,"change",m_))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},a){if(e._assign=id(a),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(i||e.type==="number")&&Vl(e.value)===t))return;const s=t==null?"":t;e.value!==s&&(e.value=s)}},ad={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=nf(t);ja(e,"change",()=>{const a=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>n?Vl(sd(s)):sd(s));e._assign(e.multiple?i?new Set(a):a:a[0])}),e._assign=id(r)},mounted(e,{value:t}){v_(e,t)},beforeUpdate(e,t,n){e._assign=id(n)},updated(e,{value:t}){v_(e,t)}};function v_(e,t){const n=e.multiple;if(!(n&&!$e(t)&&!nf(t))){for(let r=0,i=e.options.length;r-1:a.selected=t.has(s);else if(ef(sd(a),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function sd(e){return"_value"in e?e._value:e.value}const AR={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Kr=(e,t)=>n=>{if(!("key"in n))return;const r=ds(n.key);if(t.some(i=>i===r||AR[i]===r))return e(n)},zr={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ho(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),Ho(e,!0),r.enter(e)):r.leave(e,()=>{Ho(e,!1)}):Ho(e,t))},beforeUnmount(e,{value:t}){Ho(e,t)}};function Ho(e,t){e.style.display=t?e._vod:"none"}const kR=sn({patchProp:pR},nR);let g_;function PR(){return g_||(g_=MV(kR))}const VR=(...e)=>{const t=PR().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=RR(r);if(!i)return;const a=t._component;!Ge(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";const s=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},t};function RR(e){return Bt(e)?document.querySelector(e):e}const OR="/assets/gavel_logo.992bca02.png",wt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},MR={data(){return{logo:{filename:OR,alt:"Gavel Logo"}}}},DR=["src","alt"];function $R(e,t,n,r,i,a){return se(),ce("img",{src:i.logo.filename,alt:i.logo.alt,height:"120",width:"120"},null,8,DR)}const NR=wt(MR,[["render",$R]]);/*! - * Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com - * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) - * Copyright 2022 Fonticons, Inc. - */function p_(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 Te(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1;i--){var a=n[i],s=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=a)}return Et.head.insertBefore(t,r),e}}var cO="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ll(){for(var e=12,t="";e-- >0;)t+=cO[Math.random()*62|0];return t}function wo(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function ap(e){return e.classList?wo(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function iC(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function dO(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(iC(e[n]),'" ')},"").trim()}function _f(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function sp(e){return e.size!==Xr.size||e.x!==Xr.x||e.y!==Xr.y||e.rotate!==Xr.rotate||e.flipX||e.flipY}function fO(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(t.x*32,", ").concat(t.y*32,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),o="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(a," ").concat(s," ").concat(o)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:u}}function hO(e){var t=e.transform,n=e.width,r=n===void 0?Ym:n,i=e.height,a=i===void 0?Ym:i,s=e.startCentered,o=s===void 0?!1:s,l="";return o&&XS?l+="translate(".concat(t.x/Ui-r/2,"em, ").concat(t.y/Ui-a/2,"em) "):o?l+="translate(calc(-50% + ".concat(t.x/Ui,"em), calc(-50% + ").concat(t.y/Ui,"em)) "):l+="translate(".concat(t.x/Ui,"em, ").concat(t.y/Ui,"em) "),l+="scale(".concat(t.size/Ui*(t.flipX?-1:1),", ").concat(t.size/Ui*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var mO=`:root, :host { - --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid"; - --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular"; - --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light"; - --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin"; - --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; - --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; -} - -svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { - overflow: visible; - box-sizing: content-box; -} - -.svg-inline--fa { - display: var(--fa-display, inline-block); - height: 1em; - overflow: visible; - vertical-align: -0.125em; -} -.svg-inline--fa.fa-2xs { - vertical-align: 0.1em; -} -.svg-inline--fa.fa-xs { - vertical-align: 0em; -} -.svg-inline--fa.fa-sm { - vertical-align: -0.0714285705em; -} -.svg-inline--fa.fa-lg { - vertical-align: -0.2em; -} -.svg-inline--fa.fa-xl { - vertical-align: -0.25em; -} -.svg-inline--fa.fa-2xl { - vertical-align: -0.3125em; -} -.svg-inline--fa.fa-pull-left { - margin-right: var(--fa-pull-margin, 0.3em); - width: auto; -} -.svg-inline--fa.fa-pull-right { - margin-left: var(--fa-pull-margin, 0.3em); - width: auto; -} -.svg-inline--fa.fa-li { - width: var(--fa-li-width, 2em); - top: 0.25em; -} -.svg-inline--fa.fa-fw { - width: var(--fa-fw-width, 1.25em); -} - -.fa-layers svg.svg-inline--fa { - bottom: 0; - left: 0; - margin: auto; - position: absolute; - right: 0; - top: 0; -} - -.fa-layers-counter, .fa-layers-text { - display: inline-block; - position: absolute; - text-align: center; -} - -.fa-layers { - display: inline-block; - height: 1em; - position: relative; - text-align: center; - vertical-align: -0.125em; - width: 1em; -} -.fa-layers svg.svg-inline--fa { - -webkit-transform-origin: center center; - transform-origin: center center; -} - -.fa-layers-text { - left: 50%; - top: 50%; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - -webkit-transform-origin: center center; - transform-origin: center center; -} - -.fa-layers-counter { - background-color: var(--fa-counter-background-color, #ff253a); - border-radius: var(--fa-counter-border-radius, 1em); - box-sizing: border-box; - color: var(--fa-inverse, #fff); - line-height: var(--fa-counter-line-height, 1); - max-width: var(--fa-counter-max-width, 5em); - min-width: var(--fa-counter-min-width, 1.5em); - overflow: hidden; - padding: var(--fa-counter-padding, 0.25em 0.5em); - right: var(--fa-right, 0); - text-overflow: ellipsis; - top: var(--fa-top, 0); - -webkit-transform: scale(var(--fa-counter-scale, 0.25)); - transform: scale(var(--fa-counter-scale, 0.25)); - -webkit-transform-origin: top right; - transform-origin: top right; -} - -.fa-layers-bottom-right { - bottom: var(--fa-bottom, 0); - right: var(--fa-right, 0); - top: auto; - -webkit-transform: scale(var(--fa-layers-scale, 0.25)); - transform: scale(var(--fa-layers-scale, 0.25)); - -webkit-transform-origin: bottom right; - transform-origin: bottom right; -} - -.fa-layers-bottom-left { - bottom: var(--fa-bottom, 0); - left: var(--fa-left, 0); - right: auto; - top: auto; - -webkit-transform: scale(var(--fa-layers-scale, 0.25)); - transform: scale(var(--fa-layers-scale, 0.25)); - -webkit-transform-origin: bottom left; - transform-origin: bottom left; -} - -.fa-layers-top-right { - top: var(--fa-top, 0); - right: var(--fa-right, 0); - -webkit-transform: scale(var(--fa-layers-scale, 0.25)); - transform: scale(var(--fa-layers-scale, 0.25)); - -webkit-transform-origin: top right; - transform-origin: top right; -} - -.fa-layers-top-left { - left: var(--fa-left, 0); - right: auto; - top: var(--fa-top, 0); - -webkit-transform: scale(var(--fa-layers-scale, 0.25)); - transform: scale(var(--fa-layers-scale, 0.25)); - -webkit-transform-origin: top left; - transform-origin: top left; -} - -.fa-1x { - font-size: 1em; -} - -.fa-2x { - font-size: 2em; -} - -.fa-3x { - font-size: 3em; -} - -.fa-4x { - font-size: 4em; -} - -.fa-5x { - font-size: 5em; -} - -.fa-6x { - font-size: 6em; -} - -.fa-7x { - font-size: 7em; -} - -.fa-8x { - font-size: 8em; -} - -.fa-9x { - font-size: 9em; -} - -.fa-10x { - font-size: 10em; -} - -.fa-2xs { - font-size: 0.625em; - line-height: 0.1em; - vertical-align: 0.225em; -} - -.fa-xs { - font-size: 0.75em; - line-height: 0.0833333337em; - vertical-align: 0.125em; -} - -.fa-sm { - font-size: 0.875em; - line-height: 0.0714285718em; - vertical-align: 0.0535714295em; -} - -.fa-lg { - font-size: 1.25em; - line-height: 0.05em; - vertical-align: -0.075em; -} - -.fa-xl { - font-size: 1.5em; - line-height: 0.0416666682em; - vertical-align: -0.125em; -} - -.fa-2xl { - font-size: 2em; - line-height: 0.03125em; - vertical-align: -0.1875em; -} - -.fa-fw { - text-align: center; - width: 1.25em; -} - -.fa-ul { - list-style-type: none; - margin-left: var(--fa-li-margin, 2.5em); - padding-left: 0; -} -.fa-ul > li { - position: relative; -} - -.fa-li { - left: calc(var(--fa-li-width, 2em) * -1); - position: absolute; - text-align: center; - width: var(--fa-li-width, 2em); - line-height: inherit; -} - -.fa-border { - border-color: var(--fa-border-color, #eee); - border-radius: var(--fa-border-radius, 0.1em); - border-style: var(--fa-border-style, solid); - border-width: var(--fa-border-width, 0.08em); - padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); -} - -.fa-pull-left { - float: left; - margin-right: var(--fa-pull-margin, 0.3em); -} - -.fa-pull-right { - float: right; - margin-left: var(--fa-pull-margin, 0.3em); -} - -.fa-beat { - -webkit-animation-name: fa-beat; - animation-name: fa-beat; - -webkit-animation-delay: var(--fa-animation-delay, 0); - animation-delay: var(--fa-animation-delay, 0); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); - animation-timing-function: var(--fa-animation-timing, ease-in-out); -} - -.fa-bounce { - -webkit-animation-name: fa-bounce; - animation-name: fa-bounce; - -webkit-animation-delay: var(--fa-animation-delay, 0); - animation-delay: var(--fa-animation-delay, 0); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); -} - -.fa-fade { - -webkit-animation-name: fa-fade; - animation-name: fa-fade; - -webkit-animation-delay: var(--fa-animation-delay, 0); - animation-delay: var(--fa-animation-delay, 0); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); -} - -.fa-beat-fade { - -webkit-animation-name: fa-beat-fade; - animation-name: fa-beat-fade; - -webkit-animation-delay: var(--fa-animation-delay, 0); - animation-delay: var(--fa-animation-delay, 0); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); -} - -.fa-flip { - -webkit-animation-name: fa-flip; - animation-name: fa-flip; - -webkit-animation-delay: var(--fa-animation-delay, 0); - animation-delay: var(--fa-animation-delay, 0); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); - animation-timing-function: var(--fa-animation-timing, ease-in-out); -} - -.fa-shake { - -webkit-animation-name: fa-shake; - animation-name: fa-shake; - -webkit-animation-delay: var(--fa-animation-delay, 0); - animation-delay: var(--fa-animation-delay, 0); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, linear); - animation-timing-function: var(--fa-animation-timing, linear); -} - -.fa-spin { - -webkit-animation-name: fa-spin; - animation-name: fa-spin; - -webkit-animation-delay: var(--fa-animation-delay, 0); - animation-delay: var(--fa-animation-delay, 0); - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 2s); - animation-duration: var(--fa-animation-duration, 2s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, linear); - animation-timing-function: var(--fa-animation-timing, linear); -} - -.fa-spin-reverse { - --fa-animation-direction: reverse; -} - -.fa-pulse, -.fa-spin-pulse { - -webkit-animation-name: fa-spin; - animation-name: fa-spin; - -webkit-animation-direction: var(--fa-animation-direction, normal); - animation-direction: var(--fa-animation-direction, normal); - -webkit-animation-duration: var(--fa-animation-duration, 1s); - animation-duration: var(--fa-animation-duration, 1s); - -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - -webkit-animation-timing-function: var(--fa-animation-timing, steps(8)); - animation-timing-function: var(--fa-animation-timing, steps(8)); -} - -@media (prefers-reduced-motion: reduce) { - .fa-beat, -.fa-bounce, -.fa-fade, -.fa-beat-fade, -.fa-flip, -.fa-pulse, -.fa-shake, -.fa-spin, -.fa-spin-pulse { - -webkit-animation-delay: -1ms; - animation-delay: -1ms; - -webkit-animation-duration: 1ms; - animation-duration: 1ms; - -webkit-animation-iteration-count: 1; - animation-iteration-count: 1; - transition-delay: 0s; - transition-duration: 0s; - } -} -@-webkit-keyframes fa-beat { - 0%, 90% { - -webkit-transform: scale(1); - transform: scale(1); - } - 45% { - -webkit-transform: scale(var(--fa-beat-scale, 1.25)); - transform: scale(var(--fa-beat-scale, 1.25)); - } -} -@keyframes fa-beat { - 0%, 90% { - -webkit-transform: scale(1); - transform: scale(1); - } - 45% { - -webkit-transform: scale(var(--fa-beat-scale, 1.25)); - transform: scale(var(--fa-beat-scale, 1.25)); - } -} -@-webkit-keyframes fa-bounce { - 0% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } - 10% { - -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - } - 30% { - -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - } - 50% { - -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - } - 57% { - -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - } - 64% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } - 100% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } -} -@keyframes fa-bounce { - 0% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } - 10% { - -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - } - 30% { - -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - } - 50% { - -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - } - 57% { - -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - } - 64% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } - 100% { - -webkit-transform: scale(1, 1) translateY(0); - transform: scale(1, 1) translateY(0); - } -} -@-webkit-keyframes fa-fade { - 50% { - opacity: var(--fa-fade-opacity, 0.4); - } -} -@keyframes fa-fade { - 50% { - opacity: var(--fa-fade-opacity, 0.4); - } -} -@-webkit-keyframes fa-beat-fade { - 0%, 100% { - opacity: var(--fa-beat-fade-opacity, 0.4); - -webkit-transform: scale(1); - transform: scale(1); - } - 50% { - opacity: 1; - -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); - transform: scale(var(--fa-beat-fade-scale, 1.125)); - } -} -@keyframes fa-beat-fade { - 0%, 100% { - opacity: var(--fa-beat-fade-opacity, 0.4); - -webkit-transform: scale(1); - transform: scale(1); - } - 50% { - opacity: 1; - -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); - transform: scale(var(--fa-beat-fade-scale, 1.125)); - } -} -@-webkit-keyframes fa-flip { - 50% { - -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - } -} -@keyframes fa-flip { - 50% { - -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - } -} -@-webkit-keyframes fa-shake { - 0% { - -webkit-transform: rotate(-15deg); - transform: rotate(-15deg); - } - 4% { - -webkit-transform: rotate(15deg); - transform: rotate(15deg); - } - 8%, 24% { - -webkit-transform: rotate(-18deg); - transform: rotate(-18deg); - } - 12%, 28% { - -webkit-transform: rotate(18deg); - transform: rotate(18deg); - } - 16% { - -webkit-transform: rotate(-22deg); - transform: rotate(-22deg); - } - 20% { - -webkit-transform: rotate(22deg); - transform: rotate(22deg); - } - 32% { - -webkit-transform: rotate(-12deg); - transform: rotate(-12deg); - } - 36% { - -webkit-transform: rotate(12deg); - transform: rotate(12deg); - } - 40%, 100% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } -} -@keyframes fa-shake { - 0% { - -webkit-transform: rotate(-15deg); - transform: rotate(-15deg); - } - 4% { - -webkit-transform: rotate(15deg); - transform: rotate(15deg); - } - 8%, 24% { - -webkit-transform: rotate(-18deg); - transform: rotate(-18deg); - } - 12%, 28% { - -webkit-transform: rotate(18deg); - transform: rotate(18deg); - } - 16% { - -webkit-transform: rotate(-22deg); - transform: rotate(-22deg); - } - 20% { - -webkit-transform: rotate(22deg); - transform: rotate(22deg); - } - 32% { - -webkit-transform: rotate(-12deg); - transform: rotate(-12deg); - } - 36% { - -webkit-transform: rotate(12deg); - transform: rotate(12deg); - } - 40%, 100% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } -} -@-webkit-keyframes fa-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -@keyframes fa-spin { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -.fa-rotate-90 { - -webkit-transform: rotate(90deg); - transform: rotate(90deg); -} - -.fa-rotate-180 { - -webkit-transform: rotate(180deg); - transform: rotate(180deg); -} - -.fa-rotate-270 { - -webkit-transform: rotate(270deg); - transform: rotate(270deg); -} - -.fa-flip-horizontal { - -webkit-transform: scale(-1, 1); - transform: scale(-1, 1); -} - -.fa-flip-vertical { - -webkit-transform: scale(1, -1); - transform: scale(1, -1); -} - -.fa-flip-both, -.fa-flip-horizontal.fa-flip-vertical { - -webkit-transform: scale(-1, -1); - transform: scale(-1, -1); -} - -.fa-rotate-by { - -webkit-transform: rotate(var(--fa-rotate-angle, none)); - transform: rotate(var(--fa-rotate-angle, none)); -} - -.fa-stack { - display: inline-block; - vertical-align: middle; - height: 2em; - position: relative; - width: 2.5em; -} - -.fa-stack-1x, -.fa-stack-2x { - bottom: 0; - left: 0; - margin: auto; - position: absolute; - right: 0; - top: 0; - z-index: var(--fa-stack-z-index, auto); -} - -.svg-inline--fa.fa-stack-1x { - height: 1em; - width: 1.25em; -} -.svg-inline--fa.fa-stack-2x { - height: 2em; - width: 2.5em; -} - -.fa-inverse { - color: var(--fa-inverse, #fff); -} - -.sr-only, -.fa-sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.sr-only-focusable:not(:focus), -.fa-sr-only-focusable:not(:focus) { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.svg-inline--fa .fa-primary { - fill: var(--fa-primary-color, currentColor); - opacity: var(--fa-primary-opacity, 1); -} - -.svg-inline--fa .fa-secondary { - fill: var(--fa-secondary-color, currentColor); - opacity: var(--fa-secondary-opacity, 0.4); -} - -.svg-inline--fa.fa-swap-opacity .fa-primary { - opacity: var(--fa-secondary-opacity, 0.4); -} - -.svg-inline--fa.fa-swap-opacity .fa-secondary { - opacity: var(--fa-primary-opacity, 1); -} - -.svg-inline--fa mask .fa-primary, -.svg-inline--fa mask .fa-secondary { - fill: black; -} - -.fad.fa-inverse, -.fa-duotone.fa-inverse { - color: var(--fa-inverse, #fff); -}`;function aC(){var e=QS,t=JS,n=Me.familyPrefix,r=Me.replacementClass,i=mO;if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),o=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(o,".".concat(r))}return i}var x_=!1;function Uh(){Me.autoAddCss&&!x_&&(uO(aC()),x_=!0)}var vO={mixout:function(){return{dom:{css:aC,insertCss:Uh}}},hooks:function(){return{beforeDOMElementCreation:function(){Uh()},beforeI2svg:function(){Uh()}}}},Si=sa||{};Si[wi]||(Si[wi]={});Si[wi].styles||(Si[wi].styles={});Si[wi].hooks||(Si[wi].hooks={});Si[wi].shims||(Si[wi].shims=[]);var Dr=Si[wi],sC=[],gO=function e(){Et.removeEventListener("DOMContentLoaded",e),ud=1,sC.map(function(t){return t()})},ud=!1;Oi&&(ud=(Et.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Et.readyState),ud||Et.addEventListener("DOMContentLoaded",gO));function pO(e){!Oi||(ud?setTimeout(e,0):sC.push(e))}function yu(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,a=i===void 0?[]:i;return typeof e=="string"?iC(e):"<".concat(t," ").concat(dO(r),">").concat(a.map(yu).join(""),"")}function E_(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var yO=function(t,n){return function(r,i,a,s){return t.call(n,r,i,a,s)}},zh=function(t,n,r,i){var a=Object.keys(t),s=a.length,o=i!==void 0?yO(n,i):n,l,u,c;for(r===void 0?(l=1,c=t[a[0]]):(l=0,c=r);l=55296&&i<=56319&&n=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function T_(e){return Object.keys(e).reduce(function(t,n){var r=e[n],i=!!r.icon;return i?t[r.iconName]=r.icon:t[n]=r,t},{})}function Jm(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,a=T_(t);typeof Dr.hooks.addPack=="function"&&!i?Dr.hooks.addPack(e,T_(t)):Dr.styles[e]=Te(Te({},Dr.styles[e]||{}),a),e==="fas"&&Jm("fa",t)}var gl=Dr.styles,wO=Dr.shims,SO=Object.values(eC),op=null,oC={},lC={},uC={},cC={},dC={},CO=Object.keys(ip);function xO(e){return~rO.indexOf(e)}function EO(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!xO(i)?i:null}var fC=function(){var t=function(a){return zh(gl,function(s,o,l){return s[l]=zh(o,a,{}),s},{})};oC=t(function(i,a,s){if(a[3]&&(i[a[3]]=s),a[2]){var o=a[2].filter(function(l){return typeof l=="number"});o.forEach(function(l){i[l.toString(16)]=s})}return i}),lC=t(function(i,a,s){if(i[s]=s,a[2]){var o=a[2].filter(function(l){return typeof l=="string"});o.forEach(function(l){i[l]=s})}return i}),dC=t(function(i,a,s){var o=a[2];return i[s]=s,o.forEach(function(l){i[l]=s}),i});var n="far"in gl||Me.autoFetchSvg,r=zh(wO,function(i,a){var s=a[0],o=a[1],l=a[2];return o==="far"&&!n&&(o="fas"),typeof s=="string"&&(i.names[s]={prefix:o,iconName:l}),typeof s=="number"&&(i.unicodes[s.toString(16)]={prefix:o,iconName:l}),i},{names:{},unicodes:{}});uC=r.names,cC=r.unicodes,op=wf(Me.styleDefault)};lO(function(e){op=wf(e.styleDefault)});fC();function lp(e,t){return(oC[e]||{})[t]}function TO(e,t){return(lC[e]||{})[t]}function Hs(e,t){return(dC[e]||{})[t]}function hC(e){return uC[e]||{prefix:null,iconName:null}}function IO(e){var t=cC[e],n=lp("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function oa(){return op}var up=function(){return{prefix:null,iconName:null,rest:[]}};function wf(e){var t=ip[e],n=ld[e]||ld[t],r=e in Dr.styles?e:null;return n||r||null}function Sf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.skipLookups,r=n===void 0?!1:n,i=null,a=e.reduce(function(s,o){var l=EO(Me.familyPrefix,o);if(gl[o]?(o=SO.includes(o)?QR[o]:o,i=o,s.prefix=o):CO.indexOf(o)>-1?(i=o,s.prefix=wf(o)):l?s.iconName=l:o!==Me.replacementClass&&s.rest.push(o),!r&&s.prefix&&s.iconName){var u=i==="fa"?hC(s.iconName):{},c=Hs(s.prefix,s.iconName);u.prefix&&(i=null),s.iconName=u.iconName||c||s.iconName,s.prefix=u.prefix||s.prefix,s.prefix==="far"&&!gl.far&&gl.fas&&!Me.autoFetchSvg&&(s.prefix="fas")}return s},up());return(a.prefix==="fa"||i==="fa")&&(a.prefix=oa()||"fas"),a}var AO=function(){function e(){FR(this,e),this.definitions={}}return LR(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),a=0;a0&&c.forEach(function(d){typeof d=="string"&&(n[o][d]=u)}),n[o][l]=u}),n}}]),e}(),I_=[],qs={},Js={},kO=Object.keys(Js);function PO(e,t){var n=t.mixoutsTo;return I_=e,qs={},Object.keys(Js).forEach(function(r){kO.indexOf(r)===-1&&delete Js[r]}),I_.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(s){typeof i[s]=="function"&&(n[s]=i[s]),od(i[s])==="object"&&Object.keys(i[s]).forEach(function(o){n[s]||(n[s]={}),n[s][o]=i[s][o]})}),r.hooks){var a=r.hooks();Object.keys(a).forEach(function(s){qs[s]||(qs[s]=[]),qs[s].push(a[s])})}r.provides&&r.provides(Js)}),n}function Zm(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i1?t-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return Oi?(ts("beforeI2svg",t),Ci("pseudoElements2svg",t),Ci("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;Me.autoReplaceSvg===!1&&(Me.autoReplaceSvg=!0),Me.observeMutations=!0,pO(function(){MO({autoReplaceSvgRoot:n}),ts("watch",t)})}},OO={icon:function(t){if(t===null)return null;if(od(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Hs(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=wf(t[0]);return{prefix:r,iconName:Hs(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(Me.familyPrefix,"-"))>-1||t.match(JR))){var i=Sf(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||oa(),iconName:Hs(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=oa();return{prefix:a,iconName:Hs(a,t)||t}}}},ir={noAuto:VO,config:Me,dom:RO,parse:OO,library:mC,findIconDefinition:ev,toHtml:yu},MO=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?Et:n;(Object.keys(Dr.styles).length>0||Me.autoFetchSvg)&&Oi&&Me.autoReplaceSvg&&ir.dom.i2svg({node:r})};function Cf(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return yu(r)})}}),Object.defineProperty(e,"node",{get:function(){if(!!Oi){var r=Et.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function DO(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,s=e.transform;if(sp(s)&&n.found&&!r.found){var o=n.width,l=n.height,u={x:o/l/2,y:.5};i.style=_f(Te(Te({},a),{},{"transform-origin":"".concat(u.x+s.x/16,"em ").concat(u.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function $O(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,s=a===!0?"".concat(t,"-").concat(Me.familyPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Te(Te({},i),{},{id:s}),children:r}]}]}function cp(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,s=e.transform,o=e.symbol,l=e.title,u=e.maskId,c=e.titleId,d=e.extra,f=e.watchable,h=f===void 0?!1:f,v=r.found?r:n,g=v.width,y=v.height,p=i==="fak",b=[Me.replacementClass,a?"".concat(Me.familyPrefix,"-").concat(a):""].filter(function(x){return d.classes.indexOf(x)===-1}).filter(function(x){return x!==""||!!x}).concat(d.classes).join(" "),S={children:[],attributes:Te(Te({},d.attributes),{},{"data-prefix":i,"data-icon":a,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(y)})},T=p&&!~d.classes.indexOf("fa-fw")?{width:"".concat(g/y*16*.0625,"em")}:{};h&&(S.attributes[es]=""),l&&(S.children.push({tag:"title",attributes:{id:S.attributes["aria-labelledby"]||"title-".concat(c||Ll())},children:[l]}),delete S.attributes.title);var V=Te(Te({},S),{},{prefix:i,iconName:a,main:n,mask:r,maskId:u,transform:s,symbol:o,styles:Te(Te({},T),d.styles)}),O=r.found&&n.found?Ci("generateAbstractMask",V)||{children:[],attributes:{}}:Ci("generateAbstractIcon",V)||{children:[],attributes:{}},N=O.children,I=O.attributes;return V.children=N,V.attributes=I,o?$O(V):DO(V)}function A_(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.title,s=e.extra,o=e.watchable,l=o===void 0?!1:o,u=Te(Te(Te({},s.attributes),a?{title:a}:{}),{},{class:s.classes.join(" ")});l&&(u[es]="");var c=Te({},s.styles);sp(i)&&(c.transform=hO({transform:i,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);var d=_f(c);d.length>0&&(u.style=d);var f=[];return f.push({tag:"span",attributes:u,children:[t]}),a&&f.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),f}function NO(e){var t=e.content,n=e.title,r=e.extra,i=Te(Te(Te({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=_f(r.styles);a.length>0&&(i.style=a);var s=[];return s.push({tag:"span",attributes:i,children:[t]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var Hh=Dr.styles;function tv(e){var t=e[0],n=e[1],r=e.slice(4),i=ep(r,1),a=i[0],s=null;return Array.isArray(a)?s={tag:"g",attributes:{class:"".concat(Me.familyPrefix,"-").concat(za.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Me.familyPrefix,"-").concat(za.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(Me.familyPrefix,"-").concat(za.PRIMARY),fill:"currentColor",d:a[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:s}}var FO={found:!1,width:512,height:512};function LO(e,t){!ZS&&!Me.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function nv(e,t){var n=t;return t==="fa"&&Me.styleDefault!==null&&(t=oa()),new Promise(function(r,i){if(Ci("missingIconAbstract"),n==="fa"){var a=hC(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&Hh[t]&&Hh[t][e]){var s=Hh[t][e];return r(tv(s))}LO(e,t),r(Te(Te({},FO),{},{icon:Me.showMissingIcons&&e?Ci("missingIconAbstract")||{}:{}}))})}var k_=function(){},rv=Me.measurePerformance&&rc&&rc.mark&&rc.measure?rc:{mark:k_,measure:k_},Jo='FA "6.1.2"',BO=function(t){return rv.mark("".concat(Jo," ").concat(t," begins")),function(){return vC(t)}},vC=function(t){rv.mark("".concat(Jo," ").concat(t," ends")),rv.measure("".concat(Jo," ").concat(t),"".concat(Jo," ").concat(t," begins"),"".concat(Jo," ").concat(t," ends"))},dp={begin:BO,end:vC},Ic=function(){};function P_(e){var t=e.getAttribute?e.getAttribute(es):null;return typeof t=="string"}function jO(e){var t=e.getAttribute?e.getAttribute(np):null,n=e.getAttribute?e.getAttribute(rp):null;return t&&n}function UO(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Me.replacementClass)}function zO(){if(Me.autoReplaceSvg===!0)return Ac.replace;var e=Ac[Me.autoReplaceSvg];return e||Ac.replace}function HO(e){return Et.createElementNS("http://www.w3.org/2000/svg",e)}function qO(e){return Et.createElement(e)}function gC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?HO:qO:n;if(typeof e=="string")return Et.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(s){i.setAttribute(s,e.attributes[s])});var a=e.children||[];return a.forEach(function(s){i.appendChild(gC(s,{ceFn:r}))}),i}function WO(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Ac={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(gC(i),n)}),n.getAttribute(es)===null&&Me.keepOriginalSource){var r=Et.createComment(WO(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~ap(n).indexOf(Me.replacementClass))return Ac.replace(t);var i=new RegExp("".concat(Me.familyPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var a=r[0].attributes.class.split(" ").reduce(function(o,l){return l===Me.replacementClass||l.match(i)?o.toSvg.push(l):o.toNode.push(l),o},{toNode:[],toSvg:[]});r[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",a.toNode.join(" "))}var s=r.map(function(o){return yu(o)}).join(` -`);n.setAttribute(es,""),n.innerHTML=s}};function V_(e){e()}function pC(e,t){var n=typeof t=="function"?t:Ic;if(e.length===0)n();else{var r=V_;Me.mutateApproach===YR&&(r=sa.requestAnimationFrame||V_),r(function(){var i=zO(),a=dp.begin("mutate");e.map(i),a(),n()})}}var fp=!1;function yC(){fp=!0}function iv(){fp=!1}var cd=null;function R_(e){if(!!S_&&!!Me.observeMutations){var t=e.treeCallback,n=t===void 0?Ic:t,r=e.nodeCallback,i=r===void 0?Ic:r,a=e.pseudoElementsCallback,s=a===void 0?Ic:a,o=e.observeMutationsRoot,l=o===void 0?Et:o;cd=new S_(function(u){if(!fp){var c=oa();wo(u).forEach(function(d){if(d.type==="childList"&&d.addedNodes.length>0&&!P_(d.addedNodes[0])&&(Me.searchPseudoElements&&s(d.target),n(d.target)),d.type==="attributes"&&d.target.parentNode&&Me.searchPseudoElements&&s(d.target.parentNode),d.type==="attributes"&&P_(d.target)&&~nO.indexOf(d.attributeName))if(d.attributeName==="class"&&jO(d.target)){var f=Sf(ap(d.target)),h=f.prefix,v=f.iconName;d.target.setAttribute(np,h||c),v&&d.target.setAttribute(rp,v)}else UO(d.target)&&i(d.target)})}}),Oi&&cd.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function GO(){!cd||cd.disconnect()}function KO(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,i){var a=i.split(":"),s=a[0],o=a.slice(1);return s&&o.length>0&&(r[s]=o.join(":").trim()),r},{})),n}function YO(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=Sf(ap(e));return i.prefix||(i.prefix=oa()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=TO(i.prefix,e.innerText)||lp(i.prefix,Qm(e.innerText))),!i.iconName&&Me.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function XO(e){var t=wo(e.attributes).reduce(function(i,a){return i.name!=="class"&&i.name!=="style"&&(i[a.name]=a.value),i},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Me.autoA11y&&(n?t["aria-labelledby"]="".concat(Me.replacementClass,"-title-").concat(r||Ll()):(t["aria-hidden"]="true",t.focusable="false")),t}function QO(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Xr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function O_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=YO(e),r=n.iconName,i=n.prefix,a=n.rest,s=XO(e),o=Zm("parseNodeAttributes",{},e),l=t.styleParser?KO(e):[];return Te({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Xr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:s}},o)}var JO=Dr.styles;function bC(e){var t=Me.autoReplaceSvg==="nest"?O_(e,{styleParser:!1}):O_(e);return~t.extra.classes.indexOf(tC)?Ci("generateLayersText",e,t):Ci("generateSvgReplacementMutation",e,t)}function M_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Oi)return Promise.resolve();var n=Et.documentElement.classList,r=function(d){return n.add("".concat(C_,"-").concat(d))},i=function(d){return n.remove("".concat(C_,"-").concat(d))},a=Me.autoFetchSvg?Object.keys(ip):Object.keys(JO);a.includes("fa")||a.push("fa");var s=[".".concat(tC,":not([").concat(es,"])")].concat(a.map(function(c){return".".concat(c,":not([").concat(es,"])")})).join(", ");if(s.length===0)return Promise.resolve();var o=[];try{o=wo(e.querySelectorAll(s))}catch{}if(o.length>0)r("pending"),i("complete");else return Promise.resolve();var l=dp.begin("onTree"),u=o.reduce(function(c,d){try{var f=bC(d);f&&c.push(f)}catch(h){ZS||h.name==="MissingIcon"&&console.error(h)}return c},[]);return new Promise(function(c,d){Promise.all(u).then(function(f){pC(f,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),c()})}).catch(function(f){l(),d(f)})})}function ZO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;bC(e).then(function(n){n&&pC([n],t)})}function e4(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:ev(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:ev(i||{})),e(r,Te(Te({},n),{},{mask:i}))}}var t4=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?Xr:r,a=n.symbol,s=a===void 0?!1:a,o=n.mask,l=o===void 0?null:o,u=n.maskId,c=u===void 0?null:u,d=n.title,f=d===void 0?null:d,h=n.titleId,v=h===void 0?null:h,g=n.classes,y=g===void 0?[]:g,p=n.attributes,b=p===void 0?{}:p,S=n.styles,T=S===void 0?{}:S;if(!!t){var V=t.prefix,O=t.iconName,N=t.icon;return Cf(Te({type:"icon"},t),function(){return ts("beforeDOMElementCreation",{iconDefinition:t,params:n}),Me.autoA11y&&(f?b["aria-labelledby"]="".concat(Me.replacementClass,"-title-").concat(v||Ll()):(b["aria-hidden"]="true",b.focusable="false")),cp({icons:{main:tv(N),mask:l?tv(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:V,iconName:O,transform:Te(Te({},Xr),i),symbol:s,title:f,maskId:c,titleId:v,extra:{attributes:b,styles:T,classes:y}})})}},n4={mixout:function(){return{icon:e4(t4)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=M_,n.nodeCallback=ZO,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?Et:r,a=n.callback,s=a===void 0?function(){}:a;return M_(i,s)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,a=r.title,s=r.titleId,o=r.prefix,l=r.transform,u=r.symbol,c=r.mask,d=r.maskId,f=r.extra;return new Promise(function(h,v){Promise.all([nv(i,o),c.iconName?nv(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(g){var y=ep(g,2),p=y[0],b=y[1];h([n,cp({icons:{main:p,mask:b},prefix:o,iconName:i,transform:l,symbol:u,maskId:d,title:a,titleId:s,extra:f,watchable:!0})])}).catch(v)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,a=n.main,s=n.transform,o=n.styles,l=_f(o);l.length>0&&(i.style=l);var u;return sp(s)&&(u=Ci("generateAbstractTransformGrouping",{main:a,transform:s,containerWidth:a.width,iconWidth:a.width})),r.push(u||a.icon),{children:r,attributes:i}}}},r4={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,a=i===void 0?[]:i;return Cf({type:"layer"},function(){ts("beforeDOMElementCreation",{assembler:n,params:r});var s=[];return n(function(o){Array.isArray(o)?o.map(function(l){s=s.concat(l.abstract)}):s=s.concat(o.abstract)}),[{tag:"span",attributes:{class:["".concat(Me.familyPrefix,"-layers")].concat(bf(a)).join(" ")},children:s}]})}}}},i4={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.title,a=i===void 0?null:i,s=r.classes,o=s===void 0?[]:s,l=r.attributes,u=l===void 0?{}:l,c=r.styles,d=c===void 0?{}:c;return Cf({type:"counter",content:n},function(){return ts("beforeDOMElementCreation",{content:n,params:r}),NO({content:n.toString(),title:a,extra:{attributes:u,styles:d,classes:["".concat(Me.familyPrefix,"-layers-counter")].concat(bf(o))}})})}}}},a4={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,a=i===void 0?Xr:i,s=r.title,o=s===void 0?null:s,l=r.classes,u=l===void 0?[]:l,c=r.attributes,d=c===void 0?{}:c,f=r.styles,h=f===void 0?{}:f;return Cf({type:"text",content:n},function(){return ts("beforeDOMElementCreation",{content:n,params:r}),A_({content:n,transform:Te(Te({},Xr),a),title:o,extra:{attributes:d,styles:h,classes:["".concat(Me.familyPrefix,"-layers-text")].concat(bf(u))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,a=r.transform,s=r.extra,o=null,l=null;if(XS){var u=parseInt(getComputedStyle(n).fontSize,10),c=n.getBoundingClientRect();o=c.width/u,l=c.height/u}return Me.autoA11y&&!i&&(s.attributes["aria-hidden"]="true"),Promise.resolve([n,A_({content:n.innerHTML,width:o,height:l,transform:a,title:i,extra:s,watchable:!0})])}}},s4=new RegExp('"',"ug"),D_=[1105920,1112319];function o4(e){var t=e.replace(s4,""),n=_O(t,0),r=n>=D_[0]&&n<=D_[1],i=t.length===2?t[0]===t[1]:!1;return{value:Qm(i?t[0]:t),isSecondary:r||i}}function $_(e,t){var n="".concat(KR).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=wo(e.children),s=a.filter(function(O){return O.getAttribute(Xm)===t})[0],o=sa.getComputedStyle(e,t),l=o.getPropertyValue("font-family").match(ZR),u=o.getPropertyValue("font-weight"),c=o.getPropertyValue("content");if(s&&!l)return e.removeChild(s),r();if(l&&c!=="none"&&c!==""){var d=o.getPropertyValue("content"),f=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?ld[l[2].toLowerCase()]:eO[u],h=o4(d),v=h.value,g=h.isSecondary,y=l[0].startsWith("FontAwesome"),p=lp(f,v),b=p;if(y){var S=IO(v);S.iconName&&S.prefix&&(p=S.iconName,f=S.prefix)}if(p&&!g&&(!s||s.getAttribute(np)!==f||s.getAttribute(rp)!==b)){e.setAttribute(n,b),s&&e.removeChild(s);var T=QO(),V=T.extra;V.attributes[Xm]=t,nv(p,f).then(function(O){var N=cp(Te(Te({},T),{},{icons:{main:O,mask:up()},prefix:f,iconName:b,extra:V,watchable:!0})),I=Et.createElement("svg");t==="::before"?e.insertBefore(I,e.firstChild):e.appendChild(I),I.outerHTML=N.map(function(x){return yu(x)}).join(` -`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function l4(e){return Promise.all([$_(e,"::before"),$_(e,"::after")])}function u4(e){return e.parentNode!==document.head&&!~XR.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Xm)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function N_(e){if(!!Oi)return new Promise(function(t,n){var r=wo(e.querySelectorAll("*")).filter(u4).map(l4),i=dp.begin("searchPseudoElements");yC(),Promise.all(r).then(function(){i(),iv(),t()}).catch(function(){i(),iv(),n()})})}var c4={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=N_,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?Et:r;Me.searchPseudoElements&&N_(i)}}},F_=!1,d4={mixout:function(){return{dom:{unwatch:function(){yC(),F_=!0}}}},hooks:function(){return{bootstrap:function(){R_(Zm("mutationObserverCallbacks",{}))},noAuto:function(){GO()},watch:function(n){var r=n.observeMutationsRoot;F_?iv():R_(Zm("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},L_=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,i){var a=i.toLowerCase().split("-"),s=a[0],o=a.slice(1).join("-");if(s&&o==="h")return r.flipX=!0,r;if(s&&o==="v")return r.flipY=!0,r;if(o=parseFloat(o),isNaN(o))return r;switch(s){case"grow":r.size=r.size+o;break;case"shrink":r.size=r.size-o;break;case"left":r.x=r.x-o;break;case"right":r.x=r.x+o;break;case"up":r.y=r.y-o;break;case"down":r.y=r.y+o;break;case"rotate":r.rotate=r.rotate+o;break}return r},n)},f4={mixout:function(){return{parse:{transform:function(n){return L_(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=L_(i)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,a=n.containerWidth,s=n.iconWidth,o={transform:"translate(".concat(a/2," 256)")},l="translate(".concat(i.x*32,", ").concat(i.y*32,") "),u="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),c="rotate(".concat(i.rotate," 0 0)"),d={transform:"".concat(l," ").concat(u," ").concat(c)},f={transform:"translate(".concat(s/2*-1," -256)")},h={outer:o,inner:d,path:f};return{tag:"g",attributes:Te({},h.outer),children:[{tag:"g",attributes:Te({},h.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Te(Te({},r.icon.attributes),h.path)}]}]}}}},qh={x:0,y:0,width:"100%",height:"100%"};function B_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function h4(e){return e.tag==="g"?e.children:[e]}var m4={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),a=i?Sf(i.split(" ").map(function(s){return s.trim()})):up();return a.prefix||(a.prefix=oa()),n.mask=a,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,i=n.attributes,a=n.main,s=n.mask,o=n.maskId,l=n.transform,u=a.width,c=a.icon,d=s.width,f=s.icon,h=fO({transform:l,containerWidth:d,iconWidth:u}),v={tag:"rect",attributes:Te(Te({},qh),{},{fill:"white"})},g=c.children?{children:c.children.map(B_)}:{},y={tag:"g",attributes:Te({},h.inner),children:[B_(Te({tag:c.tag,attributes:Te(Te({},c.attributes),h.path)},g))]},p={tag:"g",attributes:Te({},h.outer),children:[y]},b="mask-".concat(o||Ll()),S="clip-".concat(o||Ll()),T={tag:"mask",attributes:Te(Te({},qh),{},{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[v,p]},V={tag:"defs",children:[{tag:"clipPath",attributes:{id:S},children:h4(f)},T]};return r.push(V,{tag:"rect",attributes:Te({fill:"currentColor","clip-path":"url(#".concat(S,")"),mask:"url(#".concat(b,")")},qh)}),{children:r,attributes:i}}}},v4={provides:function(t){var n=!1;sa.matchMedia&&(n=sa.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:Te(Te({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=Te(Te({},a),{},{attributeName:"opacity"}),o={tag:"circle",attributes:Te(Te({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||o.children.push({tag:"animate",attributes:Te(Te({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Te(Te({},s),{},{values:"1;0;1;1;0;1;"})}),r.push(o),r.push({tag:"path",attributes:Te(Te({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:Te(Te({},s),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:Te(Te({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Te(Te({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},g4={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-symbol"),a=i===null?!1:i===""?!0:i;return n.symbol=a,n}}}},p4=[vO,n4,r4,i4,a4,c4,d4,f4,m4,v4,g4];PO(p4,{mixoutsTo:ir});ir.noAuto;var _C=ir.config,y4=ir.library;ir.dom;var dd=ir.parse;ir.findIconDefinition;ir.toHtml;var b4=ir.icon;ir.layer;var _4=ir.text;ir.counter;function j_(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 Or(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function S4(e,t){if(e==null)return{};var n=w4(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function av(e){return C4(e)||x4(e)||E4(e)||T4()}function C4(e){if(Array.isArray(e))return sv(e)}function x4(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function E4(e,t){if(!!e){if(typeof e=="string")return sv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sv(e,t)}}function sv(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var r=(e.children||[]).map(function(l){return hp(l)}),i=Object.keys(e.attributes||{}).reduce(function(l,u){var c=e.attributes[u];switch(u){case"class":l.class=V4(c);break;case"style":l.style=P4(c);break;default:l.attrs[u]=c}return l},{attrs:{},class:{},style:{}});n.class;var a=n.style,s=a===void 0?{}:a,o=S4(n,k4);return Wt(e.tag,Or(Or(Or({},t),{},{class:i.class,style:Or(Or({},i.style),s)},i.attrs),o),r)}var SC=!1;try{SC=!0}catch{}function R4(){if(!SC&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function pl(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Hn({},e,t):{}}function O4(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},Hn(t,"fa-".concat(e.size),e.size!==null),Hn(t,"fa-rotate-".concat(e.rotation),e.rotation!==null),Hn(t,"fa-pull-".concat(e.pull),e.pull!==null),Hn(t,"fa-swap-opacity",e.swapOpacity),Hn(t,"fa-bounce",e.bounce),Hn(t,"fa-shake",e.shake),Hn(t,"fa-beat",e.beat),Hn(t,"fa-fade",e.fade),Hn(t,"fa-beat-fade",e.beatFade),Hn(t,"fa-flash",e.flash),Hn(t,"fa-spin-pulse",e.spinPulse),Hn(t,"fa-spin-reverse",e.spinReverse),t);return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}function U_(e){if(e&&fd(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(dd.icon)return dd.icon(e);if(e===null)return null;if(fd(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var M4=gu({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(t,n){var r=n.attrs,i=_(function(){return U_(t.icon)}),a=_(function(){return pl("classes",O4(t))}),s=_(function(){return pl("transform",typeof t.transform=="string"?dd.transform(t.transform):t.transform)}),o=_(function(){return pl("mask",U_(t.mask))}),l=_(function(){return b4(i.value,Or(Or(Or(Or({},a.value),s.value),o.value),{},{symbol:t.symbol,title:t.title}))});we(l,function(c){if(!c)return R4("Could not find one or more icon(s)",i.value,o.value)},{immediate:!0});var u=_(function(){return l.value?hp(l.value.abstract[0],{},r):null});return function(){return u.value}}});gu({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,n){var r=n.slots,i=_C.familyPrefix,a=_(function(){return["".concat(i,"-layers")].concat(av(t.fixedWidth?["".concat(i,"-fw")]:[]))});return function(){return Wt("div",{class:a.value},r.default?r.default():[])}}});gu({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,n){var r=n.attrs,i=_C.familyPrefix,a=_(function(){return pl("classes",[].concat(av(t.counter?["".concat(i,"-layers-counter")]:[]),av(t.position?["".concat(i,"-layers-").concat(t.position)]:[])))}),s=_(function(){return pl("transform",typeof t.transform=="string"?dd.transform(t.transform):t.transform)}),o=_(function(){var u=_4(t.value.toString(),Or(Or({},s.value),a.value)),c=u.abstract;return t.counter&&(c[0].attributes.class=c[0].attributes.class.replace("fa-layers-text","")),c[0]}),l=_(function(){return hp(o.value,{},r)});return function(){return l.value}}});/*! - * Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com - * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) - * Copyright 2022 Fonticons, Inc. - */var CC={prefix:"fab",iconName:"facebook",icon:[512,512,[62e3],"f09a","M504 256C504 119 393 8 256 8S8 119 8 256c0 123.8 90.69 226.4 209.3 245V327.7h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.3 482.4 504 379.8 504 256z"]},xC={prefix:"fab",iconName:"instagram",icon:[448,512,[],"f16d","M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]},EC={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},D4={prefix:"fab",iconName:"wordpress",icon:[512,512,[],"f19a","M61.7 169.4l101.5 278C92.2 413 43.3 340.2 43.3 256c0-30.9 6.6-60.1 18.4-86.6zm337.9 75.9c0-26.3-9.4-44.5-17.5-58.7-10.8-17.5-20.9-32.4-20.9-49.9 0-19.6 14.8-37.8 35.7-37.8 .9 0 1.8 .1 2.8 .2-37.9-34.7-88.3-55.9-143.7-55.9-74.3 0-139.7 38.1-177.8 95.9 5 .2 9.7 .3 13.7 .3 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l77.5 230.4L249.8 247l-33.1-90.8c-11.5-.7-22.3-2-22.3-2-11.5-.7-10.1-18.2 1.3-17.5 0 0 35.1 2.7 56 2.7 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l76.9 228.7 21.2-70.9c9-29.4 16-50.5 16-68.7zm-139.9 29.3l-63.8 185.5c19.1 5.6 39.2 8.7 60.1 8.7 24.8 0 48.5-4.3 70.6-12.1-.6-.9-1.1-1.9-1.5-2.9l-65.4-179.2zm183-120.7c.9 6.8 1.4 14 1.4 21.9 0 21.6-4 45.8-16.2 76.2l-65 187.9C426.2 403 468.7 334.5 468.7 256c0-37-9.4-71.8-26-102.1zM504 256c0 136.8-111.3 248-248 248C119.2 504 8 392.7 8 256 8 119.2 119.2 8 256 8c136.7 0 248 111.2 248 248zm-11.4 0c0-130.5-106.2-236.6-236.6-236.6C125.5 19.4 19.4 125.5 19.4 256S125.6 492.6 256 492.6c130.5 0 236.6-106.1 236.6-236.6z"]};y4.add(xC,CC,EC);const $4={components:{GavelLogo:NR,FontAwesomeIcon:M4},data(){return{footer_menus:[{title:"Contact",links:[{text:"Chemini Mallikarachchi : +94 70 159 6603",href:"tel: +94 70 159 6603"},{text:"Ameera Weerasuriya : +94 71 135 6855",href:"tel: +94 71 135 6855"},{text:"Email : speecholympiadxvi@gmail.com",href:"mailto: speecholympiadxvi@gmail.com"}]}],social_media_profiles:[{profile:"instagram",icon:xC,link:"https://www.instagram.com/gavelmora_"},{profile:"facebook",icon:CC,link:"https://www.facebook.com/gavelmora/"},{profile:"linkedin",icon:EC,link:"https://www.linkedin.com/company/gavel-club-of-university-of-moratuwa/"},{profile:"Website",icon:D4,link:"http://gavel.mrt.ac.lk/"}]}}},mp=e=>(oi("data-v-f41384af"),e=e(),li(),e),N4={class:"container-fluid app-footer"},F4={class:"row"},L4={class:"col-12 col-md-3 d-flex align-items-center justify-content-center justify-content-md-start my-md-0 my-4"},B4={class:"col-12 col-md-9"},j4={class:"row justify-content-end"},U4={class:"col-md-4 col-12 text-center text-md-start"},z4={class:"footer-menu-title mt-2 mb-1"},H4={class:"row"},q4={class:"col-12"},W4=["href"],G4={class:""},K4=mp(()=>C("div",{class:"row"},[C("div",{class:"col"},[C("hr")])],-1)),Y4={class:"row"},X4=mp(()=>C("div",{class:"col-md-4 col-12 d-flex justify-content-center justify-content-md-start align-items-center order-last order-md-first my-2 my-lg-0"},[C("span",null,"\xA9 Speech Olympiad 2023")],-1)),Q4={class:"col-md-8 col-12 order-first order-md-last"},J4={class:"row"},Z4=mp(()=>C("div",{class:"col-12 col-md-6 my-2 my-md-0 d-flex justify-content-center justify-content-md-end align-items-center"},[C("span",null,"Follow us on")],-1)),eM={class:"col my-2 my-md-0 d-flex justify-content-center"},tM=["href"];function nM(e,t,n,r,i,a){const s=bt("GavelLogo"),o=bt("FontAwesomeIcon");return se(),ce("div",N4,[C("div",F4,[C("div",L4,[m(s)]),C("div",B4,[C("div",j4,[(se(!0),ce(Ee,null,Br(i.footer_menus,l=>(se(),ce("div",U4,[C("div",z4,Xe(l.title),1),C("div",H4,[(se(!0),ce(Ee,null,Br(l.links,u=>(se(),ce("div",q4,[C("a",{href:u.href,class:"footer-link"},[C("span",G4,Xe(u.text),1)],8,W4)]))),256))])]))),256))])])]),K4,C("div",Y4,[X4,C("div",Q4,[C("div",J4,[Z4,(se(!0),ce(Ee,null,Br(i.social_media_profiles,l=>(se(),ce("div",eM,[C("a",{href:l.link},[m(o,{icon:l.icon,size:"2x",class:"icon-color"},null,8,["icon"])],8,tM)]))),256))])])])])}const rM=wt($4,[["render",nM],["__scopeId","data-v-f41384af"]]),z_=()=>{let e=window.location.hash.slice(1);return["","about","champions-story","technical-tips"].indexOf(e)},iM={data(){return{items:[{name:"Home",url:"#",newTab:!1},{name:"About",url:"#about",newTab:!1},{name:"Champion's Story",url:"#champions-story",newTab:!1},{name:"Technical Tips",url:"#technical-tips",newTab:!1},{name:"Gallery",url:"#gallery",newTab:!1},{name:"Rules & Regulations",url:"#rules",newTab:!0},{name:"Blogs",url:"#blogs",newTab:!1},{name:"Register",url:"#register",newTab:!1}],activeItem:z_()}},methods:{clickHandler(e){window.matchMedia("(max-width: 768px)").matches&&document.querySelector(".navbar-toggler").click()}},mounted(){window.addEventListener("hashchange",()=>{window.location.hash.slice(1),this.activeItem=z_()})}},aM=["onClick"],sM=["href","target"];function oM(e,t,n,r,i,a){return se(!0),ce(Ee,null,Br(i.items,(s,o)=>(se(),ce("li",{class:"nav-item",key:o,style:{padding:"1px",border:"none"}},[C("div",{onClick:l=>a.clickHandler(o),class:Pt({"font-bold text-gray-400":o===i.activeItem})},[C("a",{class:Pt(s.name==="Register"?"nav-link text-amber-500 hover:text-amber-600":"nav-link"),href:s.url,target:s.newTab?"_blank":""},Xe(s.name),11,sM)],10,aM)]))),128)}const lM=wt(iM,[["render",oM]]),Bl="/assets/new_logo.f8800419.png";const uM={data(){return{logo:{filename:Bl,alt:"Speech Olympiad Logo"}}}},cM=["src","alt"];function dM(e,t,n,r,i,a){return se(),ce("img",{src:i.logo.filename,alt:i.logo.alt,class:"logo"},null,8,cM)}const TC=wt(uM,[["render",dM],["__scopeId","data-v-44e29e01"]]);const fM={components:{AppHeaderMenu:lM,SOLogo:TC},data(){return{mobileNavOpen:!1}}},IC=e=>(oi("data-v-784a87dc"),e=e(),li(),e),hM={class:"headerbar"},mM={class:"bg-dark"},vM={class:"container mx-auto px-4 py-2"},gM={class:"flex items-start justify-between"},pM={id:"logo",class:"w-8 h-8 md:w-20 md:h-8"},yM={class:"navbar-brand",href:"/#"},bM=IC(()=>C("span",{class:"sr-only"},"Toggle navigation",-1)),_M=IC(()=>C("svg",{class:"h-6 w-6",fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24",stroke:"currentColor"},[C("path",{d:"M4 6h16M4 12h16m-7 6h7"})],-1)),wM=[bM,_M],SM={class:"hidden md:block"},CM={class:"flex space-x-4"},xM={class:"px-2 pt-2 pb-4 space-y-2"};function EM(e,t,n,r,i,a){const s=bt("SOLogo"),o=bt("AppHeaderMenu");return se(),ce("div",hM,[C("nav",mM,[C("div",vM,[C("div",gM,[C("div",pM,[C("a",yM,[m(s,{class:"w-full h-full"})])]),C("button",{class:"block md:hidden text-white hover:text-gray-300 focus:outline-none",type:"button",onClick:t[0]||(t[0]=l=>i.mobileNavOpen=!i.mobileNavOpen)},wM),C("div",SM,[C("ul",CM,[m(o)])])])]),C("div",{class:Pt(["md:hidden bg-dark",{block:i.mobileNavOpen,hidden:!i.mobileNavOpen}])},[C("ul",xM,[m(o)])],2)])])}const TM=wt(fM,[["render",EM],["__scopeId","data-v-784a87dc"]]);const IM={name:"SpeechContestRules",component:{SOLogo:TC},methods:{download(){window.location.href="https://bit.ly/45vWx1K"}}},AM={class:"container mx-auto py-8 bg-gray-100 text-zinc-800"},kM=gf('

Speech Olympiad XVI

Intra-University Speech Competition - University of Moratuwa

Contest Rules: Preliminaries


1. Eligibility

The contestant should be an undergraduate studying in any of the following faculties of University of Moratuwa to be eligible to participate in Speech Olympiad XVI:

  • Faculty of Engineering
  • Faculty of Architecture
  • Faculty of Information Technology
  • Faculty of Business
  • Faculty of Medicine

2. Language

All speeches must be given in English. (Dialogues or any phrases expressed in other languages i.e., Sinhala, Tamil etc. should be minimal and such phrases should be immediately translated to English.)

3. Speech Rounds

There will be 3 rounds i.e., the Preliminary round, the Semi-final round, and the Final round. All 3 rounds will be held physically at the University Premises. The same speech or different speeches can be used to compete in all three rounds.

4. Competition Procedure

  • The preliminaries will be happening on the 1st of October at the University Premises. For verification purposes, all contestants must bring their University ID or the Student Record Book.
  • Prior to the contest, each speaker will be allocated a time slot at which the contestant must deliver the speech.
  • Each contestant must arrive at least 30 minutes prior to the allocated time slot. If any contestant does not arrive at the allocated time without at least a 30-minute prior notice, the contestant will be disqualified.
  • Each speaker will be introduced by the \u201CContestant Number\u201D. The Contestant Number will be determined and notified prior to the event.
  • Upon being introduced, the contestant shall proceed immediately to the speaking position.

5. Speech Timings

  • Timing will begin with the contestant\u2019s first definite verbal or nonverbal communication with the audience. This usually will be the first word uttered by the contestant, but would include any other communication such as sound effects, a staged act by another person, etc.
  • Each participant will have to give a prepared speech of 5 minutes \u2013 7 minutes on a topic of his/her choice. A contestant will be disqualified from the contest if the speech is less than 4 minutes 30 seconds or more than 7 minutes 30 seconds.
  • Timers will provide signals to the contestants, which will be as follows:
    • A green card will be displayed at five minutes and remain displayed for one minute.
    • An amber card will be displayed at six minutes and remain displayed for one minute.
    • A red card will be displayed at seven minutes and remain on until the conclusion of the speech.
    • No signal shall be given for the overtime period.

6. Use of Electronic Devices

The use of electronic aids including visuals, slide projectors, and charts will not be permitted. Contestants are allowed to use other props.

7. Speech Topics

Contestants are free to choose any topic of their choice subjected to the following conditions:

  • The topics must not be offensive in Sri Lankan context or against the laws of the land.
  • It must not aim to insult any particular person, groups of persons, or organization. (Your speech must not insult or discriminate anyone based on their religious or political beliefs, gender, or sexual orientations)
  • It must not be politically biased.
  • All speeches must be original. Any quoted material must be identified.

8. Dress Code

Formal attire is recommended.

9. Speech Evaluation Criteria

Speeches will be evaluated on the following criteria:

  • Content (50%) - Speech Development, Effectiveness, and Speech value
  • Delivery (30%) - Body language, Voice, and Manner
  • Language (20%) - Appropriateness and Correctness (cannot include phrases or dialogues from languages other than English)

10. Judges' Decision

The decision of the judges will be final.

11. Certificates

All participants who complete the speech without being disqualified will receive certificates of participation.

12. Contact Information

If the contestant has any issue or requires further details with the given procedure, please contact:

  • Udula Abeysinghe +94 76 601 1227 (Co-Chair - SO XVI)
  • Gavin Senaratne +94 77 962 3063 (Education Pillar Head - SO XVI)

',16),PM=C("svg",{class:"w-6 h-6 inline-block mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[C("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1),VM=Gn(" Download "),RM=[PM,VM];function OM(e,t,n,r,i,a){const s=bt("SOLogo");return se(),ce("div",AM,[m(s,{class:"w-full h-full"}),kM,C("button",{class:"bg-amber-500 hover:bg-amber-600 text-black font-bold py-2 px-4 rounded-full focus:outline-none focus:shadow-outline",onClick:t[0]||(t[0]=(...o)=>a.download&&a.download(...o))},RM)])}const AC=wt(IM,[["render",OM]]),MM="/assets/HomePage_carousel1_mobile.b250e0bf.jpg",DM="/assets/HomePage_carousel1_desktop.6fe11346.jpg",$M="/assets/HomePage_carousel2_mobile.5a549734.jpg",NM="/assets/HomePage_carousel2_desktop.9c0240ca.jpg",FM="/assets/HomePage_carousel3_mobile.3d2d3625.jpg",LM="/assets/carousel_image_new.cffee730.jpg";const BM={data(){return{HomePage_carousel1_mobile:MM,HomePage_carousel1_desktop:DM,HomePage_carousel2_mobile:$M,HomePage_carousel2_desktop:NM,HomePage_carousel3_mobile:FM,HomePage_carousel3_desktop:LM}},computed:{isMobile(){return window.matchMedia("(max-width: 768px)").matches}}},jM=e=>(oi("data-v-6864259c"),e=e(),li(),e),UM={id:"myCarousel",class:"carousel slide","data-bs-ride":"carousel"},zM=jM(()=>C("div",{class:"carousel-indicators"},[C("button",{type:"button","data-bs-target":"#myCarousel","data-bs-slide-to":"0",class:"active","aria-current":"true","aria-label":"Slide 1"}),C("button",{type:"button","data-bs-target":"#myCarousel","data-bs-slide-to":"1","aria-label":"Slide 2"}),C("button",{type:"button","data-bs-target":"#myCarousel","data-bs-slide-to":"2","aria-label":"Slide 3"})],-1)),HM={class:"carousel-inner"},qM={class:"carousel-item active"},WM=["src"],GM={class:"carousel-item"},KM=["src"],YM={class:"carousel-item"},XM=["src"],QM=gf('',2);function JM(e,t,n,r,i,a){return se(),ce("div",UM,[zM,C("div",HM,[C("div",qM,[C("img",{src:a.isMobile?i.HomePage_carousel1_mobile:i.HomePage_carousel1_desktop,alt:"","aria-hidden":"true",loading:"eager"},null,8,WM)]),C("div",GM,[C("img",{src:a.isMobile?i.HomePage_carousel2_mobile:i.HomePage_carousel2_desktop,alt:"","aria-hidden":"true",loading:"lazy"},null,8,KM)]),C("div",YM,[C("img",{src:a.isMobile?i.HomePage_carousel3_mobile:i.HomePage_carousel3_desktop,alt:"","aria-hidden":"true",loading:"lazy"},null,8,XM)])]),QM])}const ZM=wt(BM,[["render",JM],["__scopeId","data-v-6864259c"]]);const e3=4,t3={name:"AppGallery",props:{galleryName:String,images:Array,showLink:Boolean},data(){return{currentImage:""}},computed:{previewImage(){return this.currentImage!==""?this.currentImage:""},isShowModal(){return this.currentImage!==""}},mounted(){},methods:{closeModal(e){e.target.tagName!=="IMG"&&this._setCurrentImage("")},getImages(){return console.log(this.images),this.images},preview(e){this._setCurrentImage(e)},getShowLink(){return console.log(this.showLink),this.showLink==null?!1:this.showLink},getOrder(e){return"--order:"+e%e3+";"},_setCurrentImage(e){this.currentImage=e}}},kC=e=>(oi("data-v-f9178ee9"),e=e(),li(),e),n3={class:"row gallery mx-1"},r3=["onClick"],i3=kC(()=>C("h5",{class:"center"},"See full image",-1)),a3=[i3],s3=["src"],o3={key:0,class:"col-sm-12 col-md-3 link-container"},l3=kC(()=>C("a",{class:"gallery-link",href:"#gallery"},"View Gallery",-1)),u3=[l3],c3={class:"img-modal"},d3=["src"];function f3(e,t,n,r,i,a){return se(),ce(Ee,null,[C("div",n3,[(se(!0),ce(Ee,null,Br(a.getImages(),(s,o)=>(se(),ce("div",{class:"img-container",style:_o(a.getOrder(o)),key:o},[C("div",{onClick:l=>a.preview(s),class:"overlay"},a3,8,r3),C("img",{src:s,class:"center",alt:"",loading:"lazy"},null,8,s3)],4))),128)),a.getShowLink()?(se(),ce("div",o3,u3)):We("",!0)]),Je(C("div",c3,[C("button",{onClick:t[0]||(t[0]=(...s)=>a.closeModal&&a.closeModal(...s)),type:"button",class:"btn-close","aria-label":"Close"}," \u2715 "),C("img",{src:a.previewImage,class:"center",loading:"lazy"},null,8,d3)],512),[[zr,a.isShowModal]])],64)}const PC=wt(t3,[["render",f3],["__scopeId","data-v-f9178ee9"]]);const h3={name:"AppFeaturette",props:{index:Number,heading:String,headingEnd:String,text:String,image:String,urlString:String},methods:{getOrder(e,t){return e%2===0&&t===0||e%2===1&&t===1?"order-md-first":"order-md-last"}}},m3=e=>(oi("data-v-d44cddf0"),e=e(),li(),e),v3={class:"row featurette"},g3={class:"featurette-heading"},p3={class:"nav-link"},y3={class:"text-muted"},b3={class:"lead"},_3=["href"],w3=["src"],S3=m3(()=>C("hr",{class:"featurette-divider"},null,-1));function C3(e,t,n,r,i,a){return se(),ce(Ee,null,[C("div",v3,[C("div",{class:Pt("col-md-7 "+a.getOrder(n.index,0))},[C("h2",g3,[C("div",p3,[Gn(Xe(n.heading)+" ",1),C("span",y3,Xe(n.headingEnd),1)])]),C("p",b3,Xe(n.text),1),C("div",null,[C("a",{class:"read-more btn btn-secondary bg-amber-600 hover:bg-amber-700 mb-3",href:n.urlString},"Read more",8,_3)])],2),C("div",{class:Pt("col-md-5 "+a.getOrder(n.index,1))},[C("img",{class:"bd-placeholder-img bd-placeholder-img-lg featurette-image img-fluid mx-auto w-1/2",src:n.image,alt:"",loading:"lazy"},null,8,w3)],2)]),S3],64)}const VC=wt(h3,[["render",C3],["__scopeId","data-v-d44cddf0"]]);const x3={name:"TestimonialCard",props:{imageSrc:String,title:String,subtitle:String,body:String}},E3={class:"card testimonial-card mb-3 md-lg-0"},T3={class:"row mt-3"},I3={class:"col d-flex justify-content-center my-4"},A3=["src"],k3={class:"card-body"},P3={class:"card-title text-left testimonial-card-heading"},V3={class:"card-subtitle mb-2 text-muted"},R3={class:"card-text text-left testimonial-card-body"};function O3(e,t,n,r,i,a){return se(),ce("div",E3,[C("div",T3,[C("div",I3,[C("img",{alt:"",src:n.imageSrc,class:"testimonial-card-img",loading:"lazy"},null,8,A3)])]),C("div",k3,[C("h5",P3,Xe(this.title),1),C("h6",V3,Xe(this.subtitle),1),C("p",R3,'"'+Xe(this.body)+'"',1)])])}const RC=wt(x3,[["render",O3],["__scopeId","data-v-aefe8af5"]]);let M3={name:"Doodle",mounted(){this.setColorScheme(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{this.colorScheme=e.matches?"dark":"light"}),this.paths=this.$el.querySelectorAll("path"),this.paths.forEach(e=>{this.setPathStrokeColor(e),this.drawPath(e)})},watch:{colorScheme(){this.paths.forEach(e=>this.setPathStrokeColor(e))}},data(){return{colorScheme:null,paths:[]}},methods:{setColorScheme:function(){this.colorScheme="dark"},setPathStrokeColor:function(e){e.style.stroke=this.colorScheme==="dark"?"gold":"black"},drawPath:function(e){let t=e.getTotalLength();e.style.strokeDasharray=t,e.style.strokeDashoffset=t,window.addEventListener("scroll",function(n){let r=(document.documentElement.scrollTop+document.body.scrollTop)/(document.documentElement.scrollHeight-document.documentElement.clientHeight),i=t*r;e.style.strokeDashoffset=t-i,r>=.99?e.style.strokeDasharray=0:e.style.strokeDasharray=t})}}};const D3=M3,$3={id:"doodle"},N3=gf('',1),F3=[N3];function L3(e,t,n,r,i,a){return se(),ce("div",$3,F3)}const B3=wt(D3,[["render",L3],["__scopeId","data-v-bce26b0a"]]),j3="/assets/What is SO - Home page .fc5ad15c.png",U3="/assets/HomePage_testimonial_sirimevan.c43b09f7.jpg",z3="/assets/HomePage_testimonial_malindi.518dfdf3.jpeg",H3="/assets/HomePage_testimonial_amaya.3226fc94.jpg",q3="/assets/HomePage_testimonial_asitha.589462e3.jpg",OC="/assets/1.71d36c46.png",MC="/assets/3.2b5edd0b.jpg",DC="/assets/8.20c55bdf.jpg",W3={data:()=>({years:[{title:"Registrations Open",color:"amber-lighten-4",date:""},{title:"Registrations Closing",color:"amber-lighten-3",date:""},{title:"Preliminary Round",color:"amber-lighten-2",date:""},{title:"Announcing Semi Finalists",color:"amber-lighten-1",date:""},{title:"Semi Finals",color:"amber-darken-1",date:""},{title:"Announcing Finalists",color:"amber-darken-2",date:""},{title:"Finals",color:"amber-darken-3",date:""},{title:"Announcing Winners",color:"amber-darken-4",date:""}]}),methods:{handleClick(e){switch(e){case"Registrations Open":const n=window.location.href.split("#")[0]+"#register";window.location.href=n;break}}}},G3={class:"w-full justify-center flex items-center bg-gradient-to-br to-transparent from-zinc-900"},K3={class:"md:w-1/2 w-full py-4 px-5"},Y3=["onClick"],X3={class:"justify-center items-center"},Q3=["textContent"];function J3(e,t,n,r,i,a){const s=bt("v-timeline-item"),o=bt("v-timeline");return se(),ce("div",G3,[C("div",K3,[m(o,{align:"start"},{default:Wn(()=>[(se(!0),ce(Ee,null,Br(e.years,(l,u)=>(se(),pu(s,{key:u,"dot-color":l.color,size:"small"},{opposite:Wn(()=>[C("h2",{class:Pt(`mt-n1 text-xl cursor-pointer headline font-weight-light mb-4 text-${l.color}`),onClick:c=>a.handleClick(l.title)},Xe(l.title),11,Y3)]),default:Wn(()=>[C("div",X3,[C("div",{class:Pt("pt-1 headline font-weight-bold text-blue-grey-lighten-5 "),textContent:Xe(l.date)},null,8,Q3)])]),_:2},1032,["dot-color"]))),128))]),_:1})])])}const Z3=wt(W3,[["render",J3]]);function eD(e){const t=new IntersectionObserver(r=>{r.forEach(i=>{i.isIntersecting?i.target.classList.add("animated-show"):i.target.classList.remove("animated-show")})});document.querySelectorAll(e).forEach(r=>t.observe(r))}const tD="modulepreload",nD=function(e){return"/"+e},H_={},rD=function(t,n,r){return!n||n.length===0?t():Promise.all(n.map(i=>{if(i=nD(i),i in H_)return;H_[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${s}`))return;const o=document.createElement("link");if(o.rel=a?"stylesheet":tD,a||(o.as="script",o.crossOrigin=""),o.href=i,document.head.appendChild(o),a)return new Promise((l,u)=>{o.addEventListener("load",l),o.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())},iD=typeof navigator>"u"?!1:navigator.product==="ReactNative",$C={timeout:iD?6e4:12e4},aD=function(t){const n={...$C,...typeof t=="string"?{url:t}:t},{searchParams:r}=new URL(n.url,"http://localhost");if(n.timeout=NC(n.timeout),n.query){for(const[s,o]of Object.entries(n.query))if(o!==void 0)if(Array.isArray(o))for(const l of o)r.append(s,l);else r.append(s,o)}const[i]=n.url.split("?"),a=r.toString();return a&&(n.url="".concat(i,"?").concat(a)),n.method=n.body&&!n.method?"POST":(n.method||"GET").toUpperCase(),n};function NC(e){if(e===!1||e===0)return!1;if(e.connect||e.socket)return e;const t=Number(e);return isNaN(t)?NC($C.timeout):{connect:t,socket:t}}const sD=/^https?:\/\//i,oD=function(t){if(!sD.test(t.url))throw new Error('"'.concat(t.url,'" is not a valid URL'))};var En=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Wh=function(e){return e.replace(/^\s+|\s+$/g,"")},lD=function(e){return Object.prototype.toString.call(e)==="[object Array]"},FC=function(e){if(!e)return{};for(var t={},n=Wh(e).split(` -`),r=0;r"u"?t[s]=o:lD(t[s])?t[s].push(o):t[s]=[t[s],o]}return t};const uD=e=>function(n,r){const i=n==="onError";let a=r;for(var s=arguments.length,o=new Array(s>2?s-2:0),l=2;l(a[s]=a[s]||[],a),{processOptions:[aD],validateOptions:[oD]});function i(a){const s=(v,g,y)=>{let p=v,b=g;if(!p)try{b=l("onResponse",g,y)}catch(S){b=null,p=S}p=p&&l("onError",p,y),p?o.error.publish(p):b&&o.response.publish(b)},o=dD.reduce((v,g)=>(v[g]=cD(),v),{}),l=uD(r),u=l("processOptions",a);l("validateOptions",u);const c={options:u,channels:o,applyMiddleware:l};let d;const f=o.request.subscribe(v=>{d=t(v,(g,y)=>s(g,y,v))});o.abort.subscribe(()=>{f(),d&&d.abort()});const h=l("onReturn",o,c);return h===o&&o.request.publish(c),h}return i.use=function(s){if(!s)throw new Error("Tried to add middleware that resolved to falsey value");if(typeof s=="function")throw new Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(s.onReturn&&r.onReturn.length>0)throw new Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return q_.forEach(o=>{s[o]&&r[o].push(s[o])}),n.push(s),i},i.clone=()=>LC(n,t),e.forEach(i.use),i}var fD=Object.defineProperty,hD=(e,t,n)=>t in e?fD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pr=(e,t,n)=>(hD(e,typeof t!="symbol"?t+"":t,n),n),BC=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},ur=(e,t,n)=>(BC(e,t,"read from private field"),n?n.call(e):t.get(e)),Ta=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},zi=(e,t,n,r)=>(BC(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),kc,Pc,Fs,Vc,Wi,Rc,Oc;class jC{constructor(){Pr(this,"onabort"),Pr(this,"onerror"),Pr(this,"onreadystatechange"),Pr(this,"ontimeout"),Pr(this,"readyState",0),Pr(this,"response"),Pr(this,"responseText"),Pr(this,"responseType",""),Pr(this,"status"),Pr(this,"statusText"),Pr(this,"withCredentials"),Ta(this,kc,void 0),Ta(this,Pc,void 0),Ta(this,Fs,void 0),Ta(this,Vc,{}),Ta(this,Wi,void 0),Ta(this,Rc,{}),Ta(this,Oc,void 0)}open(t,n,r){zi(this,kc,t),zi(this,Pc,n),zi(this,Fs,""),this.readyState=1,this.onreadystatechange(),zi(this,Wi,void 0)}abort(){ur(this,Wi)&&ur(this,Wi).abort()}getAllResponseHeaders(){return ur(this,Fs)}setRequestHeader(t,n){ur(this,Vc)[t]=n}setInit(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;zi(this,Rc,t),zi(this,Oc,n)}send(t){const n=this.responseType!=="arraybuffer",r={...ur(this,Rc),method:ur(this,kc),headers:ur(this,Vc),body:t};typeof AbortController=="function"&&ur(this,Oc)&&(zi(this,Wi,new AbortController),typeof EventTarget<"u"&&ur(this,Wi).signal instanceof EventTarget&&(r.signal=ur(this,Wi).signal)),typeof document<"u"&&(r.credentials=this.withCredentials?"include":"omit"),fetch(ur(this,Pc),r).then(i=>(i.headers.forEach((a,s)=>{zi(this,Fs,ur(this,Fs)+"".concat(s,": ").concat(a,`\r -`))}),this.status=i.status,this.statusText=i.statusText,this.readyState=3,n?i.text():i.arrayBuffer())).then(i=>{typeof i=="string"?this.responseText=i:this.response=i,this.readyState=4,this.onreadystatechange()}).catch(i=>{var a;if(i.name==="AbortError"){this.onabort();return}(a=this.onerror)==null||a.call(this,i)})}}kc=new WeakMap;Pc=new WeakMap;Fs=new WeakMap;Vc=new WeakMap;Wi=new WeakMap;Rc=new WeakMap;Oc=new WeakMap;const ov=typeof XMLHttpRequest=="function"?"xhr":"fetch",mD=ov==="xhr"?XMLHttpRequest:jC,vD=(e,t)=>{var n;const r=e.options,i=e.applyMiddleware("finalizeOptions",r),a={},s=e.applyMiddleware("interceptRequest",void 0,{adapter:ov,context:e});if(s){const T=setTimeout(t,0,null,s);return{abort:()=>clearTimeout(T)}}let o=new mD;o instanceof jC&&typeof i.fetch=="object"&&o.setInit(i.fetch,(n=i.useAbortSignal)!=null?n:!0);const l=i.headers,u=i.timeout;let c=!1,d=!1,f=!1;if(o.onerror=T=>{p(new Error("Request error while attempting to reach ".concat(i.url).concat(T.lengthComputable?"(".concat(T.loaded," of ").concat(T.total," bytes transferred)"):"")))},o.ontimeout=T=>{p(new Error("Request timeout while attempting to reach ".concat(i.url).concat(T.lengthComputable?"(".concat(T.loaded," of ").concat(T.total," bytes transferred)"):"")))},o.onabort=()=>{y(!0),c=!0},o.onreadystatechange=()=>{g(),!(c||o.readyState!==4)&&o.status!==0&&S()},o.open(i.method,i.url,!0),o.withCredentials=!!i.withCredentials,l&&o.setRequestHeader)for(const T in l)l.hasOwnProperty(T)&&o.setRequestHeader(T,l[T]);return i.rawBody&&(o.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:i,adapter:ov,request:o,context:e}),o.send(i.body||null),u&&(a.connect=setTimeout(()=>v("ETIMEDOUT"),u.connect)),{abort:h};function h(){c=!0,o&&o.abort()}function v(T){f=!0,o.abort();const V=new Error(T==="ESOCKETTIMEDOUT"?"Socket timed out on request to ".concat(i.url):"Connection timed out on request to ".concat(i.url));V.code=T,e.channels.error.publish(V)}function g(){!u||(y(),a.socket=setTimeout(()=>v("ESOCKETTIMEDOUT"),u.socket))}function y(T){(T||c||o.readyState>=2&&a.connect)&&clearTimeout(a.connect),a.socket&&clearTimeout(a.socket)}function p(T){if(d)return;y(!0),d=!0,o=null;const V=T||new Error("Network error while attempting to reach ".concat(i.url));V.isNetworkError=!0,V.request=i,t(V)}function b(){return{body:o.response||(o.responseType===""||o.responseType==="text"?o.responseText:""),url:i.url,method:i.method,headers:FC(o.getAllResponseHeaders()),statusCode:o.status,statusMessage:o.statusText}}function S(){if(!(c||d||f)){if(o.status===0){p(new Error("Unknown XHR error"));return}y(),d=!0,t(null,b())}}},gD=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:vD;return LC(e,t)};var W_={exports:{}},Gh,G_;function pD(){if(G_)return Gh;G_=1;var e=1e3,t=e*60,n=t*60,r=n*24,i=r*7,a=r*365.25;Gh=function(c,d){d=d||{};var f=typeof c;if(f==="string"&&c.length>0)return s(c);if(f==="number"&&isFinite(c))return d.long?l(c):o(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function s(c){if(c=String(c),!(c.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(!!d){var f=parseFloat(d[1]),h=(d[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return f*a;case"weeks":case"week":case"w":return f*i;case"days":case"day":case"d":return f*r;case"hours":case"hour":case"hrs":case"hr":case"h":return f*n;case"minutes":case"minute":case"mins":case"min":case"m":return f*t;case"seconds":case"second":case"secs":case"sec":case"s":return f*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return f;default:return}}}}function o(c){var d=Math.abs(c);return d>=r?Math.round(c/r)+"d":d>=n?Math.round(c/n)+"h":d>=t?Math.round(c/t)+"m":d>=e?Math.round(c/e)+"s":c+"ms"}function l(c){var d=Math.abs(c);return d>=r?u(c,d,r,"day"):d>=n?u(c,d,n,"hour"):d>=t?u(c,d,t,"minute"):d>=e?u(c,d,e,"second"):c+" ms"}function u(c,d,f,h){var v=d>=f*1.5;return Math.round(c/f)+" "+h+(v?"s":"")}return Gh}function yD(e){n.debug=n,n.default=n,n.coerce=l,n.disable=a,n.enable=i,n.enabled=s,n.humanize=pD(),n.destroy=u,Object.keys(e).forEach(c=>{n[c]=e[c]}),n.names=[],n.skips=[],n.formatters={};function t(c){let d=0;for(let f=0;f{if(O==="%%")return"%";T++;const I=n.formatters[N];if(typeof I=="function"){const x=y[T];O=I.call(p,x),y.splice(T,1),T--}return O}),n.formatArgs.call(p,y),(p.log||n.log).apply(p,y)}return g.namespace=c,g.useColors=n.useColors(),g.color=n.selectColor(c),g.extend=r,g.destroy=n.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(h!==n.namespaces&&(h=n.namespaces,v=n.enabled(c)),v),set:y=>{f=y}}),typeof n.init=="function"&&n.init(g),g}function r(c,d){const f=n(this.namespace+(typeof d>"u"?":":d)+c);return f.log=this.log,f}function i(c){n.save(c),n.namespaces=c,n.names=[],n.skips=[];let d;const f=(typeof c=="string"?c:"").split(/[\s,]+/),h=f.length;for(d=0;d"-"+d)].join(",");return n.enable(""),c}function s(c){if(c[c.length-1]==="*")return!0;let d,f;for(d=0,f=n.skips.length;d{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;l.splice(1,0,u,"color: inherit");let c=0,d=0;l[0].replace(/%[a-zA-Z%]/g,f=>{f!=="%%"&&(c++,f==="%c"&&(d=c))}),l.splice(d,0,u)}t.log=console.debug||console.log||(()=>{});function i(l){try{l?t.storage.setItem("debug",l):t.storage.removeItem("debug")}catch{}}function a(){let l;try{l=t.storage.getItem("debug")}catch{}return!l&&typeof process<"u"&&"env"in process&&(l=process.env.DEBUG),l}function s(){try{return localStorage}catch{}}e.exports=bD(t);const{formatters:o}=e.exports;o.j=function(l){try{return JSON.stringify(l)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}})(W_,W_.exports);/*! - * is-plain-object - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */function K_(e){return Object.prototype.toString.call(e)==="[object Object]"}function _D(e){var t,n;return K_(e)===!1?!1:(t=e.constructor,t===void 0?!0:(n=t.prototype,!(K_(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)))}const wD=typeof Buffer>"u"?()=>!1:e=>Buffer.isBuffer(e),SD=["boolean","string","number"];function CD(){return{processOptions:e=>{const t=e.body;return!t||!(!(typeof t.pipe=="function")&&!wD(t)&&(SD.indexOf(typeof t)!==-1||Array.isArray(t)||_D(t)))?e:Object.assign({},e,{body:JSON.stringify(e.body),headers:Object.assign({},e.headers,{"Content-Type":"application/json"})})}}}function xD(e){return{onResponse:n=>{const r=n.headers["content-type"]||"",i=e&&e.force||r.indexOf("application/json")!==-1;return!n.body||!r||!i?n:Object.assign({},n,{body:t(n.body)})},processOptions:n=>Object.assign({},n,{headers:Object.assign({Accept:"application/json"},n.headers)})};function t(n){try{return JSON.parse(n)}catch(r){throw r.message="Failed to parsed response body as JSON: ".concat(r.message),r}}}let Zo={};typeof globalThis<"u"?Zo=globalThis:typeof window<"u"?Zo=window:typeof global<"u"?Zo=global:typeof self<"u"&&(Zo=self);var ED=Zo;function TD(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).implementation||ED.Observable;if(!t)throw new Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:(n,r)=>new t(i=>(n.error.subscribe(a=>i.error(a)),n.progress.subscribe(a=>i.next(Object.assign({type:"progress"},a))),n.response.subscribe(a=>{i.next(Object.assign({type:"response"},a)),i.complete()}),n.request.publish(r),()=>n.abort.publish()))}}function ID(){return{onRequest:e=>{if(e.adapter!=="xhr")return;const t=e.request,n=e.context;"upload"in t&&"onprogress"in t.upload&&(t.upload.onprogress=r("upload")),"onprogress"in t&&(t.onprogress=r("download"));function r(i){return a=>{const s=a.lengthComputable?a.loaded/a.total*100:-1;n.channels.progress.publish({stage:i,percent:s,total:a.total,loaded:a.loaded,lengthComputable:a.lengthComputable})}}}}}var AD=Object.defineProperty,kD=(e,t,n)=>t in e?AD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jl=(e,t,n)=>(kD(e,typeof t!="symbol"?t+"":t,n),n);class PD{constructor(t){jl(this,"__CANCEL__",!0),jl(this,"message"),this.message=t}toString(){return"Cancel".concat(this.message?": ".concat(this.message):"")}}const Y_=class{constructor(t){if(jl(this,"promise"),jl(this,"reason"),typeof t!="function")throw new TypeError("executor must be a function.");let n=null;this.promise=new Promise(r=>{n=r}),t(r=>{this.reason||(this.reason=new PD(r),n(this.reason))})}};jl(Y_,"source",()=>{let e;return{token:new Y_(n=>{e=n}),cancel:e}});var UC=(e,t,n)=>n.method!=="GET"&&n.method!=="HEAD"?!1:e.isNetworkError||!1;const VD=e=>e!==null&&typeof e=="object"&&typeof e.pipe=="function";var RD=e=>{const t=e.maxRetries||5,n=e.retryDelay||OD,r=e.shouldRetry;return{onError:(i,a)=>{const s=a.options,o=s.maxRetries||t,l=s.shouldRetry||r,u=s.attemptNumber||0;if(VD(s.body)||!l(i,u,s)||u>=o)return i;const c=Object.assign({},a,{options:Object.assign({},s,{attemptNumber:u+1})});return setTimeout(()=>a.channels.request.publish(c),n(u)),null}}};function OD(e){return 100*Math.pow(2,e)+Math.random()*100}const vp=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return RD({shouldRetry:UC,...e})};vp.shouldRetry=UC;var lv=function(e,t){return lv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},lv(e,t)};function gp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");lv(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function X_(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function hd(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(o){s={error:o}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return a}function md(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;rt in e?YD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xi=(e,t,n)=>(XD(e,typeof t!="symbol"?t+"":t,n),n);const Xh=5;class QD extends Error{constructor(t){const n=GC(t);super(n.message),Xi(this,"response"),Xi(this,"statusCode",400),Xi(this,"responseBody"),Xi(this,"details"),Object.assign(this,n)}}class JD extends Error{constructor(t){const n=GC(t);super(n.message),Xi(this,"response"),Xi(this,"statusCode",500),Xi(this,"responseBody"),Xi(this,"details"),Object.assign(this,n)}}function GC(e){const t=e.body,n={response:e,statusCode:e.statusCode,responseBody:t$(t,e),message:"",details:void 0};if(t.error&&t.message)return n.message="".concat(t.error," - ").concat(t.message),n;if(ZD(t)){const r=t.error.items||[],i=r.slice(0,Xh).map(s=>{var o;return(o=s.error)==null?void 0:o.description}).filter(Boolean);let a=i.length?`: -- `.concat(i.join(` -- `)):"";return r.length>Xh&&(a+=` -...and `.concat(r.length-Xh," more")),n.message="".concat(t.error.description).concat(a),n.details=t.error,n}return t.error&&t.error.description?(n.message=t.error.description,n.details=t.error,n):(n.message=t.error||t.message||e$(e),n)}function ZD(e){return t0(e)&&t0(e.error)&&e.error.type==="mutationError"&&typeof e.error.description=="string"}function t0(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function e$(e){const t=e.statusMessage?" ".concat(e.statusMessage):"";return"".concat(e.method,"-request to ").concat(e.url," resulted in HTTP ").concat(e.statusCode).concat(t)}function t$(e,t){return(t.headers["content-type"]||"").toLowerCase().indexOf("application/json")!==-1?JSON.stringify(e,null,2):e}const n$={onResponse:e=>{if(e.statusCode>=500)throw new JD(e);if(e.statusCode>=400)throw new QD(e);return e}},r$={onResponse:e=>{const t=e.headers["x-sanity-warning"];return(Array.isArray(t)?t:[t]).filter(Boolean).forEach(r=>console.warn(r)),e}};function i$(e,t){let{maxRetries:n=5,retryDelay:r}=t;const i=gD([n>0?vp({retryDelay:r,maxRetries:n,shouldRetry:a$}):{},...e,r$,CD(),xD(),ID(),n$,TD({implementation:Ul})]);function a(s){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:i)({maxRedirects:0,...s})}return a.defaultRequester=i,a}function a$(e,t,n){const r=n.method==="GET"||n.method==="HEAD",a=(n.uri||n.url).startsWith("/data/query"),s=e.response&&(e.response.statusCode===429||e.response.statusCode===502||e.response.statusCode===503);return(r||a)&&s?!0:vp.shouldRetry(e,t,n)}const s$="https://www.sanity.io/help/";function _p(e){return s$+e}const n0=["image","file"],r0=["before","after","replace"],KC=e=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(e))throw new Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},o$=e=>{if(!/^[-a-z0-9]+$/i.test(e))throw new Error("`projectId` can only contain only a-z, 0-9 and dashes")},l$=e=>{if(n0.indexOf(e)===-1)throw new Error("Invalid asset type: ".concat(e,". Must be one of ").concat(n0.join(", ")))},yl=(e,t)=>{if(t===null||typeof t!="object"||Array.isArray(t))throw new Error("".concat(e,"() takes an object of properties"))},YC=(e,t)=>{if(typeof t!="string"||!/^[a-z0-9_][a-z0-9_.-]{0,127}$/i.test(t)||t.includes(".."))throw new Error("".concat(e,'(): "').concat(t,'" is not a valid document ID'))},vd=(e,t)=>{if(!t._id)throw new Error("".concat(e,'() requires that the document contains an ID ("_id" property)'));YC(e,t._id)},u$=(e,t,n)=>{const r="insert(at, selector, items)";if(r0.indexOf(e)===-1){const i=r0.map(a=>'"'.concat(a,'"')).join(", ");throw new Error("".concat(r,' takes an "at"-argument which is one of: ').concat(i))}if(typeof t!="string")throw new Error("".concat(r,' takes a "selector"-argument which must be a string'));if(!Array.isArray(n))throw new Error("".concat(r,' takes an "items"-argument which must be an array'))},XC=e=>{if(!e.dataset)throw new Error("`dataset` must be provided to perform queries");return e.dataset||""},QC=e=>{if(typeof e!="string"||!/^[a-z0-9._-]{1,75}$/i.test(e))throw new Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return e};function c$(e){let t=!1,n;return function(){return t||(n=e(...arguments),t=!0),n}}const _u=e=>c$(function(){for(var t=arguments.length,n=new Array(t),r=0;rp$.indexOf(e)!==-1,b$=function(t){if(t==="1"||t==="X")return;const n=new Date(t);if(!(/^\d{4}-\d{2}-\d{2}$/.test(t)&&n instanceof Date&&n.getTime()>0))throw new Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")},JC=function(t){switch(t){case"previewDrafts":case"published":case"raw":return;default:throw new TypeError("Invalid API perspective string, expected `published`, `previewDrafts` or `raw`")}},ZC=(e,t)=>{const n=Object.assign({},t,e);n.apiVersion||m$();const r=Object.assign({},gd,n),i=r.useProjectHostname;if(typeof Promise>"u"){const d=_p("js-client-promise-polyfill");throw new Error("No native Promise-implementation found, polyfill needed - see ".concat(d))}if(i&&!r.projectId)throw new Error("Configuration must contain `projectId`");if(typeof r.perspective=="string"&&JC(r.perspective),"encodeSourceMapAtPath"in r||"encodeSourceMap"in r||"studioUrl"in r||"logger"in r)throw new Error("It looks like you're using options meant for '@sanity/preview-kit/client', such as 'encodeSourceMapAtPath', 'encodeSourceMap', 'studioUrl' and 'logger'. Make sure you're using the right import.");const a=typeof window<"u"&&window.location&&window.location.hostname,s=a&&y$(window.location.hostname);a&&s&&r.token&&r.ignoreBrowserTokenWarning!==!0?h$():typeof r.useCdn>"u"&&d$(),i&&o$(r.projectId),r.dataset&&KC(r.dataset),"requestTagPrefix"in r&&(r.requestTagPrefix=r.requestTagPrefix?QC(r.requestTagPrefix).replace(/\.+$/,""):void 0),r.apiVersion="".concat(r.apiVersion).replace(/^v/,""),r.isDefaultApi=r.apiHost===gd.apiHost,r.useCdn=r.useCdn!==!1&&!r.withCredentials,b$(r.apiVersion);const o=r.apiHost.split("://",2),l=o[0],u=o[1],c=r.isDefaultApi?g$:u;return r.useProjectHostname?(r.url="".concat(l,"://").concat(r.projectId,".").concat(u,"/v").concat(r.apiVersion),r.cdnUrl="".concat(l,"://").concat(r.projectId,".").concat(c,"/v").concat(r.apiVersion)):(r.url="".concat(r.apiHost,"/v").concat(r.apiVersion),r.cdnUrl=r.url),r},_$="X-Sanity-Project-ID";function w$(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n={},r=t.token||e.token;r&&(n.Authorization="Bearer ".concat(r)),!t.useGlobalApi&&!e.useProjectHostname&&e.projectId&&(n[_$]=e.projectId);const i=Boolean(typeof t.withCredentials>"u"?e.token||e.withCredentials:t.withCredentials),a=typeof t.timeout>"u"?e.timeout:t.timeout;return Object.assign({},t,{headers:Object.assign({},n,t.headers||{}),timeout:typeof a>"u"?5*60*1e3:a,proxy:t.proxy||e.proxy,json:!0,withCredentials:i,fetch:typeof t.fetch=="object"&&typeof e.fetch=="object"?{...e.fetch,...t.fetch}:t.fetch||e.fetch})}function ex(e){if(typeof e=="string"||Array.isArray(e))return{id:e};if(typeof e=="object"&&e!==null&&"query"in e&&typeof e.query=="string")return"params"in e&&typeof e.params=="object"&&e.params!==null?{query:e.query,params:e.params}:{query:e.query};const t=["* Document ID ()","* Array of document IDs","* Object containing `query`"].join(` -`);throw new Error(`Unknown selection - must be one of: - -`.concat(t))}const tx=e=>{let{query:t,params:n={},options:r={}}=e;const i=new URLSearchParams,{tag:a,...s}=r;a&&i.append("tag",a),i.append("query",t);for(const[o,l]of Object.entries(n))i.append("$".concat(o),JSON.stringify(l));for(const[o,l]of Object.entries(s))l&&i.append(o,"".concat(l));return"?".concat(i)};var S$=Object.defineProperty,C$=(e,t,n)=>t in e?S$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,i0=(e,t,n)=>(C$(e,typeof t!="symbol"?t+"":t,n),n),nx=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Zs=(e,t,n)=>(nx(e,t,"read from private field"),n?n.call(e):t.get(e)),rx=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},ix=(e,t,n,r)=>(nx(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ls,Bs;class ax{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};i0(this,"selection"),i0(this,"operations"),this.selection=t,this.operations=n}set(t){return this._assign("set",t)}setIfMissing(t){return this._assign("setIfMissing",t)}diffMatchPatch(t){return yl("diffMatchPatch",t),this._assign("diffMatchPatch",t)}unset(t){if(!Array.isArray(t))throw new Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:t}),this}inc(t){return this._assign("inc",t)}dec(t){return this._assign("dec",t)}insert(t,n,r){return u$(t,n,r),this._assign("insert",{[t]:n,items:r})}append(t,n){return this.insert("after","".concat(t,"[-1]"),n)}prepend(t,n){return this.insert("before","".concat(t,"[0]"),n)}splice(t,n,r,i){const a=typeof r>"u"||r===-1,s=n<0?n-1:n,o=a?-1:Math.max(0,n+r),l=s<0&&o>=0?"":o,u="".concat(t,"[").concat(s,":").concat(l,"]");return this.insert("replace",u,i||[])}ifRevisionId(t){return this.operations.ifRevisionID=t,this}serialize(){return{...ex(this.selection),...this.operations}}toJSON(){return this.serialize()}reset(){return this.operations={},this}_assign(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return yl(t,n),this.operations=Object.assign({},this.operations,{[t]:Object.assign({},r&&this.operations[t]||{},n)}),this}_set(t,n){return this._assign(t,n,!1)}}const x$=class sx extends ax{constructor(t,n,r){super(t,n),rx(this,Ls,void 0),ix(this,Ls,r)}clone(){return new sx(this.selection,{...this.operations},Zs(this,Ls))}commit(t){if(!Zs(this,Ls))throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");const n=typeof this.selection=="string",r=Object.assign({returnFirst:n,returnDocuments:!0},t);return Zs(this,Ls).mutate({patch:this.serialize()},r)}};Ls=new WeakMap;let bl=x$;const E$=class ox extends ax{constructor(t,n,r){super(t,n),rx(this,Bs,void 0),ix(this,Bs,r)}clone(){return new ox(this.selection,{...this.operations},Zs(this,Bs))}commit(t){if(!Zs(this,Bs))throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");const n=typeof this.selection=="string",r=Object.assign({returnFirst:n,returnDocuments:!0},t);return Zs(this,Bs).mutate({patch:this.serialize()},r)}};Bs=new WeakMap;let _l=E$;var T$=Object.defineProperty,I$=(e,t,n)=>t in e?T$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,a0=(e,t,n)=>(I$(e,typeof t!="symbol"?t+"":t,n),n),lx=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Qi=(e,t,n)=>(lx(e,t,"read from private field"),n?n.call(e):t.get(e)),ux=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},cx=(e,t,n,r)=>(lx(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Pa,Va;const dx={returnDocuments:!1};class fx{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;a0(this,"operations"),a0(this,"trxId"),this.operations=t,this.trxId=n}create(t){return yl("create",t),this._add({create:t})}createIfNotExists(t){const n="createIfNotExists";return yl(n,t),vd(n,t),this._add({[n]:t})}createOrReplace(t){const n="createOrReplace";return yl(n,t),vd(n,t),this._add({[n]:t})}delete(t){return YC("delete",t),this._add({delete:{id:t}})}transactionId(t){return t?(this.trxId=t,this):this.trxId}serialize(){return[...this.operations]}toJSON(){return this.serialize()}reset(){return this.operations=[],this}_add(t){return this.operations.push(t),this}}const A$=class hx extends fx{constructor(t,n,r){super(t,r),ux(this,Pa,void 0),cx(this,Pa,n)}clone(){return new hx([...this.operations],Qi(this,Pa),this.trxId)}commit(t){if(!Qi(this,Pa))throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return Qi(this,Pa).mutate(this.serialize(),Object.assign({transactionId:this.trxId},dx,t||{}))}patch(t,n){const r=typeof n=="function";if(typeof t!="string"&&t instanceof _l)return this._add({patch:t.serialize()});if(r){const a=n(new _l(t,{},Qi(this,Pa)));if(!(a instanceof _l))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:a.serialize()})}return this._add({patch:{id:t,...n}})}};Pa=new WeakMap;let mx=A$;const k$=class vx extends fx{constructor(t,n,r){super(t,r),ux(this,Va,void 0),cx(this,Va,n)}clone(){return new vx([...this.operations],Qi(this,Va),this.trxId)}commit(t){if(!Qi(this,Va))throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return Qi(this,Va).mutate(this.serialize(),Object.assign({transactionId:this.trxId},dx,t||{}))}patch(t,n){const r=typeof n=="function";if(typeof t!="string"&&t instanceof bl)return this._add({patch:t.serialize()});if(r){const a=n(new bl(t,{},Qi(this,Va)));if(!(a instanceof bl))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:a.serialize()})}return this._add({patch:{id:t,...n}})}};Va=new WeakMap;let gx=k$;const P$=(e,t)=>e===!1?void 0:typeof e>"u"?t:e,V$=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{dryRun:e.dryRun,returnIds:!0,returnDocuments:P$(e.returnDocuments,!0),visibility:e.visibility||"sync",autoGenerateArrayKeys:e.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:e.skipCrossDatasetReferenceValidation}},wp=e=>e.type==="response",R$=e=>e.body,O$=(e,t)=>e.reduce((n,r)=>(n[t(r)]=r,n),Object.create(null)),M$=11264;function px(e,t,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};const a=i.filterResponse===!1?c=>c:c=>c.result,{cache:s,next:o,...l}={useAbortSignal:typeof i.signal<"u",...i},u=typeof s<"u"||typeof o<"u"?{...l,fetch:{cache:s,next:o}}:l;return wu(e,t,"query",{query:n,params:r},u).pipe(ns(a))}function yx(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i={uri:So(e,"doc",n),json:!0,tag:r.tag};return Su(e,t,i).pipe(bu(wp),ns(a=>a.body.documents&&a.body.documents[0]))}function bx(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i={uri:So(e,"doc",n.join(",")),json:!0,tag:r.tag};return Su(e,t,i).pipe(bu(wp),ns(a=>{const s=O$(a.body.documents||[],o=>o._id);return n.map(o=>s[o]||null)}))}function _x(e,t,n,r){return vd("createIfNotExists",n),xf(e,t,n,"createIfNotExists",r)}function wx(e,t,n,r){return vd("createOrReplace",n),xf(e,t,n,"createOrReplace",r)}function Sx(e,t,n,r){return wu(e,t,"mutate",{mutations:[{delete:ex(n)}]},r)}function Cx(e,t,n,r){let i;n instanceof _l||n instanceof bl?i={patch:n.serialize()}:n instanceof mx||n instanceof gx?i=n.serialize():i=n;const a=Array.isArray(i)?i:[i],s=r&&r.transactionId||void 0;return wu(e,t,"mutate",{mutations:a,transactionId:s},r)}function wu(e,t,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};const a=n==="mutate",s=n==="query",o=a?"":tx(r),l=!a&&o.length{if(!a)return p;const b=p.results||[];if(i.returnDocuments)return c?b[0]&&b[0].document:b.map(V=>V.document);const S=c?"documentId":"documentIds",T=c?b[0]&&b[0].id:b.map(V=>V.id);return{transactionId:p.transactionId,results:b,[S]:T}}))}function xf(e,t,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};const a={[r]:n},s=Object.assign({returnFirst:!0,returnDocuments:!0},i);return wu(e,t,"mutate",{mutations:[a]},s)}function Su(e,t,n){var r;const i=n.url||n.uri,a=e.config(),s=typeof n.canUseCdn>"u"?["GET","HEAD"].indexOf(n.method||"GET")>=0&&i.indexOf("/data/")===0:n.canUseCdn;let o=a.useCdn&&s;const l=n.tag&&a.requestTagPrefix?[a.requestTagPrefix,n.tag].join("."):n.tag||a.requestTagPrefix;if(l&&(n.query={tag:QC(l),...n.query}),["GET","HEAD","POST"].indexOf(n.method||"GET")>=0&&i.indexOf("/data/query/")===0){((r=n.resultSourceMap)!=null?r:a.resultSourceMap)&&(n.query={resultSourceMap:!0,...n.query});const d=n.perspective||a.perspective;typeof d=="string"&&d!=="raw"&&(JC(d),n.query={perspective:d,...n.query},d==="previewDrafts"&&o&&(o=!1,f$()))}const u=w$(a,Object.assign({},n,{url:Sp(e,i,o)})),c=new Ul(d=>t(u,a.requester).subscribe(d));return n.signal?c.pipe(D$(n.signal)):c}function jr(e,t,n){return Su(e,t,n).pipe(bu(i=>i.type==="response"),ns(i=>i.body))}function So(e,t,n){const r=e.config(),i=XC(r),a="/".concat(t,"/").concat(i),s=n?"".concat(a,"/").concat(n):a;return"/data".concat(s).replace(/\/($|\?)/,"$1")}function Sp(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{url:r,cdnUrl:i}=e.config(),a=n?i:r;return"".concat(a,"/").concat(t.replace(/^\//,""))}function D$(e){return t=>new Ul(n=>{const r=()=>n.error(N$(e));if(e&&e.aborted){r();return}const i=t.subscribe(n);return e.addEventListener("abort",r),()=>{e.removeEventListener("abort",r),i.unsubscribe()}})}const $$=Boolean(globalThis.DOMException);function N$(e){var t,n;if($$)return new DOMException((t=e==null?void 0:e.reason)!=null?t:"The operation was aborted.","AbortError");const r=new Error((n=e==null?void 0:e.reason)!=null?n:"The operation was aborted.");return r.name="AbortError",r}var xx=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},pd=(e,t,n)=>(xx(e,t,"read from private field"),n?n.call(e):t.get(e)),yd=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},bd=(e,t,n,r)=>(xx(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Mc,Dc,$c,Nc;class F${constructor(t,n){yd(this,Mc,void 0),yd(this,Dc,void 0),bd(this,Mc,t),bd(this,Dc,n)}upload(t,n,r){return Ex(pd(this,Mc),pd(this,Dc),t,n,r)}}Mc=new WeakMap;Dc=new WeakMap;class L${constructor(t,n){yd(this,$c,void 0),yd(this,Nc,void 0),bd(this,$c,t),bd(this,Nc,n)}upload(t,n,r){const i=Ex(pd(this,$c),pd(this,Nc),t,n,r);return nn(i.pipe(bu(a=>a.type==="response"),ns(a=>a.body.document)))}}$c=new WeakMap;Nc=new WeakMap;function Ex(e,t,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};l$(n);let a=i.extract||void 0;a&&!a.length&&(a=["none"]);const s=XC(e.config()),o=n==="image"?"images":"files",l=B$(i,r),{tag:u,label:c,title:d,description:f,creditLine:h,filename:v,source:g}=l,y={label:c,title:d,description:f,filename:v,meta:a,creditLine:h};return g&&(y.sourceId=g.id,y.sourceName=g.name,y.sourceUrl=g.url),Su(e,t,{tag:u,method:"POST",timeout:l.timeout||0,uri:"/assets/".concat(o,"/").concat(s),headers:l.contentType?{"Content-Type":l.contentType}:{},query:y,body:r})}function B$(e,t){return typeof File>"u"||!(t instanceof File)?e:Object.assign({filename:e.preserveFilename===!1?void 0:t.name,contentType:t.type},e)}var j$=(e,t)=>Object.keys(t).concat(Object.keys(e)).reduce((n,r)=>(n[r]=typeof e[r]>"u"?t[r]:e[r],n),{});const U$=(e,t)=>t.reduce((n,r)=>(typeof e[r]>"u"||(n[r]=e[r]),n),{}),z$=16e3-1200,H$=["includePreviousRevision","includeResult","visibility","effectFormat","tag"],q$={includeResult:!0};function Tx(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{url:r,token:i,withCredentials:a,requestTagPrefix:s}=this.config(),o=n.tag&&s?[s,n.tag].join("."):n.tag,l={...j$(n,q$),tag:o},u=U$(l,H$),c=tx({query:e,params:t,options:{tag:o,...u}}),d="".concat(r).concat(So(this,"listen",c));if(d.length>z$)return new Ul(g=>g.error(new Error("Query too large for listener")));const f=l.events?l.events:["mutation"],h=f.indexOf("reconnect")!==-1,v={};return(i||a)&&(v.withCredentials=!0),i&&(v.headers={Authorization:"Bearer ".concat(i)}),new Ul(g=>{let y;x().then(w=>{y=w}).catch(w=>{g.error(w),E()});let p,b=!1;function S(){b||(I(),!b&&y.readyState===y.CLOSED&&(N(),clearTimeout(p),p=setTimeout($,100)))}function T(w){g.error(W$(w))}function V(w){const A=Ix(w);return A instanceof Error?g.error(A):g.next(A)}function O(){b=!0,N(),g.complete()}function N(){!y||(y.removeEventListener("error",S),y.removeEventListener("channelError",T),y.removeEventListener("disconnect",O),f.forEach(w=>y.removeEventListener(w,V)),y.close())}function I(){h&&g.next({type:"reconnect"})}async function x(){const{default:w}=await rD(()=>import("./browser.004c23ae.js").then(M=>M.b),[]),A=new w(d,v);return A.addEventListener("error",S),A.addEventListener("channelError",T),A.addEventListener("disconnect",O),f.forEach(M=>A.addEventListener(M,V)),A}function $(){x().then(w=>{y=w}).catch(w=>{g.error(w),E()})}function E(){b=!0,N()}return E})}function Ix(e){try{const t=e.data&&JSON.parse(e.data)||{};return Object.assign({type:e.type},t)}catch(t){return t}}function W$(e){if(e instanceof Error)return e;const t=Ix(e);return t instanceof Error?t:new Error(G$(t))}function G$(e){return e.error?e.error.description?e.error.description:typeof e.error=="string"?e.error:JSON.stringify(e.error,null,2):e.message||"Unknown listener error"}var Ax=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},bn=(e,t,n)=>(Ax(e,t,"read from private field"),n?n.call(e):t.get(e)),_d=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},wd=(e,t,n,r)=>(Ax(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ra,Oa,Ma,Da;class K${constructor(t,n){_d(this,Ra,void 0),_d(this,Oa,void 0),wd(this,Ra,t),wd(this,Oa,n)}create(t,n){return eo(bn(this,Ra),bn(this,Oa),"PUT",t,n)}edit(t,n){return eo(bn(this,Ra),bn(this,Oa),"PATCH",t,n)}delete(t){return eo(bn(this,Ra),bn(this,Oa),"DELETE",t)}list(){return jr(bn(this,Ra),bn(this,Oa),{uri:"/datasets"})}}Ra=new WeakMap;Oa=new WeakMap;class Y${constructor(t,n){_d(this,Ma,void 0),_d(this,Da,void 0),wd(this,Ma,t),wd(this,Da,n)}create(t,n){return nn(eo(bn(this,Ma),bn(this,Da),"PUT",t,n))}edit(t,n){return nn(eo(bn(this,Ma),bn(this,Da),"PATCH",t,n))}delete(t){return nn(eo(bn(this,Ma),bn(this,Da),"DELETE",t))}list(){return nn(jr(bn(this,Ma),bn(this,Da),{uri:"/datasets"}))}}Ma=new WeakMap;Da=new WeakMap;function eo(e,t,n,r,i){return KC(r),jr(e,t,{method:n,uri:"/datasets/".concat(r),body:i})}var kx=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Ji=(e,t,n)=>(kx(e,t,"read from private field"),n?n.call(e):t.get(e)),Sd=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Cd=(e,t,n,r)=>(kx(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),el,tl,nl,rl;class X${constructor(t,n){Sd(this,el,void 0),Sd(this,tl,void 0),Cd(this,el,t),Cd(this,tl,n)}list(t){const n=(t==null?void 0:t.includeMembers)===!1?"/projects?includeMembers=false":"/projects";return jr(Ji(this,el),Ji(this,tl),{uri:n})}getById(t){return jr(Ji(this,el),Ji(this,tl),{uri:"/projects/".concat(t)})}}el=new WeakMap;tl=new WeakMap;class Q${constructor(t,n){Sd(this,nl,void 0),Sd(this,rl,void 0),Cd(this,nl,t),Cd(this,rl,n)}list(t){const n=(t==null?void 0:t.includeMembers)===!1?"/projects?includeMembers=false":"/projects";return nn(jr(Ji(this,nl),Ji(this,rl),{uri:n}))}getById(t){return nn(jr(Ji(this,nl),Ji(this,rl),{uri:"/projects/".concat(t)}))}}nl=new WeakMap;rl=new WeakMap;var Px=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},xd=(e,t,n)=>(Px(e,t,"read from private field"),n?n.call(e):t.get(e)),Ed=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Td=(e,t,n,r)=>(Px(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Fc,Lc,Bc,jc;class J${constructor(t,n){Ed(this,Fc,void 0),Ed(this,Lc,void 0),Td(this,Fc,t),Td(this,Lc,n)}getById(t){return jr(xd(this,Fc),xd(this,Lc),{uri:"/users/".concat(t)})}}Fc=new WeakMap;Lc=new WeakMap;class Z${constructor(t,n){Ed(this,Bc,void 0),Ed(this,jc,void 0),Td(this,Bc,t),Td(this,jc,n)}getById(t){return nn(jr(xd(this,Bc),xd(this,jc),{uri:"/users/".concat(t)}))}}Bc=new WeakMap;jc=new WeakMap;var e5=Object.defineProperty,t5=(e,t,n)=>t in e?e5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Vr=(e,t,n)=>(t5(e,typeof t!="symbol"?t+"":t,n),n),Vx=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Qe=(e,t,n)=>(Vx(e,t,"read from private field"),n?n.call(e):t.get(e)),Id=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Ad=(e,t,n,r)=>(Vx(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),$a,tn,Na,Xt;const n5=class dv{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gd;Vr(this,"assets"),Vr(this,"datasets"),Vr(this,"projects"),Vr(this,"users"),Id(this,$a,void 0),Id(this,tn,void 0),Vr(this,"listen",Tx),this.config(n),Ad(this,tn,t),this.assets=new F$(this,Qe(this,tn)),this.datasets=new K$(this,Qe(this,tn)),this.projects=new X$(this,Qe(this,tn)),this.users=new J$(this,Qe(this,tn))}clone(){return new dv(Qe(this,tn),this.config())}config(t){if(t===void 0)return{...Qe(this,$a)};if(Qe(this,$a)&&Qe(this,$a).allowReconfigure===!1)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return Ad(this,$a,ZC(t,Qe(this,$a)||{})),this}withConfig(t){return new dv(Qe(this,tn),{...this.config(),...t})}fetch(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return px(this,Qe(this,tn),t,n,r)}getDocument(t,n){return yx(this,Qe(this,tn),t,n)}getDocuments(t,n){return bx(this,Qe(this,tn),t,n)}create(t,n){return xf(this,Qe(this,tn),t,"create",n)}createIfNotExists(t,n){return _x(this,Qe(this,tn),t,n)}createOrReplace(t,n){return wx(this,Qe(this,tn),t,n)}delete(t,n){return Sx(this,Qe(this,tn),t,n)}mutate(t,n){return Cx(this,Qe(this,tn),t,n)}patch(t,n){return new bl(t,n,this)}transaction(t){return new gx(t,this)}request(t){return jr(this,Qe(this,tn),t)}getUrl(t,n){return Sp(this,t,n)}getDataUrl(t,n){return So(this,t,n)}};$a=new WeakMap;tn=new WeakMap;let r5=n5;const i5=class fv{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gd;Vr(this,"assets"),Vr(this,"datasets"),Vr(this,"projects"),Vr(this,"users"),Vr(this,"observable"),Id(this,Na,void 0),Id(this,Xt,void 0),Vr(this,"listen",Tx),this.config(n),Ad(this,Xt,t),this.assets=new L$(this,Qe(this,Xt)),this.datasets=new Y$(this,Qe(this,Xt)),this.projects=new Q$(this,Qe(this,Xt)),this.users=new Z$(this,Qe(this,Xt)),this.observable=new r5(t,n)}clone(){return new fv(Qe(this,Xt),this.config())}config(t){if(t===void 0)return{...Qe(this,Na)};if(Qe(this,Na)&&Qe(this,Na).allowReconfigure===!1)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.observable&&this.observable.config(t),Ad(this,Na,ZC(t,Qe(this,Na)||{})),this}withConfig(t){return new fv(Qe(this,Xt),{...this.config(),...t})}fetch(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return nn(px(this,Qe(this,Xt),t,n,r))}getDocument(t,n){return nn(yx(this,Qe(this,Xt),t,n))}getDocuments(t,n){return nn(bx(this,Qe(this,Xt),t,n))}create(t,n){return nn(xf(this,Qe(this,Xt),t,"create",n))}createIfNotExists(t,n){return nn(_x(this,Qe(this,Xt),t,n))}createOrReplace(t,n){return nn(wx(this,Qe(this,Xt),t,n))}delete(t,n){return nn(Sx(this,Qe(this,Xt),t,n))}mutate(t,n){return nn(Cx(this,Qe(this,Xt),t,n))}patch(t,n){return new _l(t,n,this)}transaction(t){return new mx(t,this)}request(t){return nn(jr(this,Qe(this,Xt),t))}dataRequest(t,n,r){return nn(wu(this,Qe(this,Xt),t,n,r))}getUrl(t,n){return Sp(this,t,n)}getDataUrl(t,n){return So(this,t,n)}};Na=new WeakMap;Xt=new WeakMap;let a5=i5;const Rx=i$(KD,{});Rx.defaultRequester;function s5(e){return v$(),new a5(Rx,e)}const kd=s5({projectId:"i32b0q2c",dataset:"production",useCdn:!0,apiVersion:"2021-03-25"});var hv={exports:{}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,a=16,s=9007199254740991,o="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",d="[object Date]",f="[object Error]",h="[object Function]",v="[object GeneratorFunction]",g="[object Map]",y="[object Number]",p="[object Null]",b="[object Object]",S="[object Proxy]",T="[object RegExp]",V="[object Set]",O="[object String]",N="[object Undefined]",I="[object WeakMap]",x="[object ArrayBuffer]",$="[object DataView]",E="[object Float32Array]",w="[object Float64Array]",A="[object Int8Array]",M="[object Int16Array]",J="[object Int32Array]",G="[object Uint8Array]",j="[object Uint8ClampedArray]",B="[object Uint16Array]",Q="[object Uint32Array]",ee=/[\\^$.*+?()[\]{}|]/g,re=/^\[object .+?Constructor\]$/,me=/^(?:0|[1-9]\d*)$/,de={};de[E]=de[w]=de[A]=de[M]=de[J]=de[G]=de[j]=de[B]=de[Q]=!0,de[o]=de[l]=de[x]=de[c]=de[$]=de[d]=de[f]=de[h]=de[g]=de[y]=de[b]=de[T]=de[V]=de[O]=de[I]=!1;var ke=typeof En=="object"&&En&&En.Object===Object&&En,Ne=typeof self=="object"&&self&&self.Object===Object&&self,Z=ke||Ne||Function("return this")(),Re=t&&!t.nodeType&&t,Be=Re&&!0&&e&&!e.nodeType&&e,ut=Be&&Be.exports===Re,ge=ut&&ke.process,Ve=function(){try{var P=Be&&Be.require&&Be.require("util").types;return P||ge&&ge.binding&&ge.binding("util")}catch{}}(),ne=Ve&&Ve.isTypedArray;function k(P,L,X){switch(X.length){case 0:return P.call(L);case 1:return P.call(L,X[0]);case 2:return P.call(L,X[0],X[1]);case 3:return P.call(L,X[0],X[1],X[2])}return P.apply(L,X)}function D(P,L){for(var X=-1,Ie=Array(P);++X-1}function mk(P,L){var X=this.__data__,Ie=Gu(X,P);return Ie<0?(++this.size,X.push([P,L])):X[Ie][1]=L,this}Ct.prototype.clear=Yt,Ct.prototype.delete=Ar,Ct.prototype.get=kr,Ct.prototype.has=Li,Ct.prototype.set=mk;function Ts(P){var L=-1,X=P==null?0:P.length;for(this.clear();++L1?X[rt-1]:void 0,At=rt>2?X[2]:void 0;for(gt=P.length>3&&typeof gt=="function"?(rt--,gt):void 0,At&&zk(X[0],X[1],At)&&(gt=rt<3?void 0:gt,rt=1),L=Object(L);++Ie-1&&P%1==0&&P0){if(++L>=i)return arguments[0]}else L=0;return P.apply(void 0,arguments)}}function Qk(P){if(P!=null){try{return W.call(P)}catch{}try{return P+""}catch{}}return""}function Xu(P,L){return P===L||P!==P&&L!==L}var Vh=xb(function(){return arguments}())?xb:function(P){return jo(P)&&ue.call(P,"callee")&&!zn.call(P,"callee")},Rh=Array.isArray;function Oh(P){return P!=null&&kb(P.length)&&!Mh(P)}function Jk(P){return jo(P)&&Oh(P)}var Ab=Ut||rP;function Mh(P){if(!Sa(P))return!1;var L=Ku(P);return L==h||L==v||L==u||L==S}function kb(P){return typeof P=="number"&&P>-1&&P%1==0&&P<=s}function Sa(P){var L=typeof P;return P!=null&&(L=="object"||L=="function")}function jo(P){return P!=null&&typeof P=="object"}function Zk(P){if(!jo(P)||Ku(P)!=b)return!1;var L=St(P);if(L===null)return!0;var X=ue.call(L,"constructor")&&L.constructor;return typeof X=="function"&&X instanceof X&&W.call(X)==be}var Pb=ne?U(ne):kk;function eP(P){return Fk(P,Vb(P))}function Vb(P){return Oh(P)?Ek(P,!0):Pk(P)}var tP=Lk(function(P,L,X){Eb(P,L,X)});function nP(P){return function(){return P}}function Rb(P){return P}function rP(){return!1}e.exports=tP})(hv,hv.exports);const o5=hv.exports;/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */function l5(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0)&&!(i=r.next()).done;)a.push(i.value)}catch(o){s={error:o}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return a}function u5(e,t){for(var n=0,r=t.length,i=e.length;n1;)n.splice(r,0,t.hardBreak());return n},Uc=function(e,t,n,r){var i=Ox(t),a=i[0],s=i.slice(1);if(!a)return f5(e.text,n);var o=a in n.marks?{_type:a,_key:""}:r.find(function(c){return c._key===a}),l=o?n.marks[o._type]:"span";if($x(l)){var u=mv(o);return Wt(l,u,function(){return Uc(e,s,n,r)})}return typeof l=="function"?l(o||{},Uc(e,s,n,r)):Wt(l,mv(o),Uc(e,s,n,r))},Nx=function(e,t,n){var r=["em","strong","code"],i=u5([],Ox(e.marks)).sort(function(a,s){return r.includes(a)?1:r.includes(s)?-1:0});return Uc(e,i,t,n)},h5=function(e,t){var n=e.children.flatMap(function(r){return Nx(r,t,e.markDefs)});return Mx(e,t,n)},m5=function(e,t){return Wt("span",{style:"text-decoration: underline;"},t)},v5=function(e,t){return Wt("a",{href:e.href,target:e.newtab?"_blank":void 0},t)},g5=function(e,t){var n=e.listItem==="number"?"ol":"ul";return Wt(n,{},Cp(e.children,t,e.level))},p5=function(e,t){var n=Cp(e.children,t,e.level),r=e.style&&e.style!=="normal";return Wt("li",{},r?Mx(e,t,n):n)},mv=function(e){if(e){e._key,e._type;var t=l5(e,["_key","_type"]);return t}return{}},y5=function(e,t){var n=d5(e,t);if(!n)return null;if($x(n)){var r=mv(e);return Wt(n,r)}return typeof n=="function"?Dx(e)?n(e,t,[]):n(e,t):Wt(n,{})},s0=function(e){return{_type:"list",_key:e._key+"-parent",level:e.level,listItem:e.listItem,children:[e]}},b5=function(e,t){t===void 0&&(t=0);var n=function(a){return"level"in a},r=function(a){return a&&"children"in a},i=[];return e.forEach(function(a){if(!n(a)){i.push(a);return}var s=i[i.length-1];if(a.level===t){i.push(a);return}a.level&&a.level>t&&(!r(s)||!n(s)||s.level&&s.level>a.level||s.level===a.level&&s.listItem!==a.listItem?i.push(s0(a)):s.children.push(a))}),i},Cp=function(e,t,n){n===void 0&&(n=0);var r=b5(e,n);return r.map(function(i){return y5(i,t)}).filter(c5)},_5={types:{image:"image",block:h5},marks:{strong:"strong",em:"em",link:v5,underline:m5},styles:{h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",normal:"p"},hardBreak:function(){return Wt("br")},span:Nx,list:g5,listItem:p5},w5=gu({functional:!0,props:{blocks:{type:Array,default:function(){return[]}},serializers:{type:Object,default:function(){return{}}}},setup:function(e){var t=o5({},_5,e.serializers);return function(){return Cp(e.blocks,t)}}}),Fx={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(En,function(){function n(){return n=Object.assign||function(E){for(var w=1;wE.length)&&(w=E.length);for(var A=0,M=new Array(w);A=E.length?{done:!0}:{done:!1,value:E[M++]}}}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 s="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function o(E){var w=E.split("-"),A=w[1],M=w[2],J=w[3];if(!A||!M||!J)throw new Error("Malformed asset _ref '"+E+`'. Expected an id like "`+s+'".');var G=M.split("x"),j=G[0],B=G[1],Q=+j,ee=+B,re=isFinite(Q)&&isFinite(ee);if(!re)throw new Error("Malformed asset _ref '"+E+`'. Expected an id like "`+s+'".');return{id:A,width:Q,height:ee,format:J}}var l=function(w){var A=w;return A?typeof A._ref=="string":!1},u=function(w){var A=w;return A?typeof A._id=="string":!1},c=function(w){var A=w;return A&&A.asset?typeof A.asset.url=="string":!1};function d(E){if(!E)return null;var w;if(typeof E=="string"&&f(E))w={asset:{_ref:h(E)}};else if(typeof E=="string")w={asset:{_ref:E}};else if(l(E))w={asset:E};else if(u(E))w={asset:{_ref:E._id||""}};else if(c(E))w={asset:{_ref:h(E.asset.url)}};else if(typeof E.asset=="object")w=n({},E);else return null;var A=E;return A.crop&&(w.crop=A.crop),A.hotspot&&(w.hotspot=A.hotspot),v(w)}function f(E){return/^https?:\/\//.test(""+E)}function h(E){var w=E.split("/").slice(-1);return("image-"+w[0]).replace(/\.([a-z]+)$/,"-$1")}function v(E){if(E.crop&&E.hotspot)return E;var w=n({},E);return w.crop||(w.crop={left:0,top:0,bottom:0,right:0}),w.hotspot||(w.hotspot={x:.5,y:.5,height:1,width:1}),w}var g=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"]];function y(E){var w=n({},E||{}),A=w.source;delete w.source;var M=d(A);if(!M)throw new Error("Unable to resolve image URL from source ("+JSON.stringify(A)+")");var J=M.asset._ref||M.asset._id||"",G=o(J),j=Math.round(M.crop.left*G.width),B=Math.round(M.crop.top*G.height),Q={left:j,top:B,width:Math.round(G.width-M.crop.right*G.width-j),height:Math.round(G.height-M.crop.bottom*G.height-B)},ee=M.hotspot.height*G.height/2,re=M.hotspot.width*G.width/2,me=M.hotspot.x*G.width,de=M.hotspot.y*G.height,ke={left:me-re,top:de-ee,right:me+re,bottom:de+ee};return w.rect||w.focalPoint||w.ignoreImageParams||w.crop||(w=n({},w,b({crop:Q,hotspot:ke},w))),p(n({},w,{asset:G}))}function p(E){var w=(E.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),A=E.asset.id+"-"+E.asset.width+"x"+E.asset.height+"."+E.asset.format,M=w+"/images/"+E.projectId+"/"+E.dataset+"/"+A,J=[];if(E.rect){var G=E.rect,j=G.left,B=G.top,Q=G.width,ee=G.height,re=j!==0||B!==0||ee!==E.asset.height||Q!==E.asset.width;re&&J.push("rect="+j+","+B+","+Q+","+ee)}E.bg&&J.push("bg="+E.bg),E.focalPoint&&(J.push("fp-x="+E.focalPoint.x),J.push("fp-y="+E.focalPoint.y));var me=[E.flipHorizontal&&"h",E.flipVertical&&"v"].filter(Boolean).join("");return me&&J.push("flip="+me),g.forEach(function(de){var ke=de[0],Ne=de[1];typeof E[ke]<"u"?J.push(Ne+"="+encodeURIComponent(E[ke])):typeof E[Ne]<"u"&&J.push(Ne+"="+encodeURIComponent(E[Ne]))}),J.length===0?M:M+"?"+J.join("&")}function b(E,w){var A,M=w.width,J=w.height;if(!(M&&J))return{width:M,height:J,rect:E.crop};var G=E.crop,j=E.hotspot,B=M/J,Q=G.width/G.height;if(Q>B){var ee=Math.round(G.height),re=Math.round(ee*B),me=Math.max(0,Math.round(G.top)),de=Math.round((j.right-j.left)/2+j.left),ke=Math.max(0,Math.round(de-re/2));keG.left+G.width&&(ke=G.left+G.width-re),A={left:ke,top:me,width:re,height:ee}}else{var Ne=G.width,Z=Math.round(Ne/B),Re=Math.max(0,Math.round(G.left)),Be=Math.round((j.bottom-j.top)/2+j.top),ut=Math.max(0,Math.round(Be-Z/2));utG.top+G.height&&(ut=G.top+G.height-Z),A={left:Re,top:ut,width:Ne,height:Z}}return{width:M,height:J,rect:A}}var S=["clip","crop","fill","fillmax","max","scale","min"],T=["top","bottom","left","right","center","focalpoint","entropy"],V=["format"];function O(E){return E&&"config"in E?typeof E.config=="function":!1}function N(E){return E&&"clientConfig"in E?typeof E.clientConfig=="object":!1}function I(E){for(var w=g,A=a(w),M;!(M=A()).done;){var J=M.value,G=J[0],j=J[1];if(E===G||E===j)return G}return E}function x(E){if(O(E)){var w=E.config(),A=w.apiHost,M=w.projectId,J=w.dataset,G=A||"https://api.sanity.io";return new $(null,{baseUrl:G.replace(/^https:\/\/api\./,"https://cdn."),projectId:M,dataset:J})}var j=E;if(N(j)){var B=j.clientConfig,Q=B.apiHost,ee=B.projectId,re=B.dataset,me=Q||"https://api.sanity.io";return new $(null,{baseUrl:me.replace(/^https:\/\/api\./,"https://cdn."),projectId:ee,dataset:re})}return new $(null,E)}var $=function(){function E(A,M){this.options=void 0,this.options=A?n({},A.options||{},M||{}):n({},M||{})}var w=E.prototype;return w.withOptions=function(M){var J=M.baseUrl||this.options.baseUrl,G={baseUrl:J};for(var j in M)if(M.hasOwnProperty(j)){var B=I(j);G[B]=M[j]}return new E(this,n({baseUrl:J},G))},w.image=function(M){return this.withOptions({source:M})},w.dataset=function(M){return this.withOptions({dataset:M})},w.projectId=function(M){return this.withOptions({projectId:M})},w.bg=function(M){return this.withOptions({bg:M})},w.dpr=function(M){return this.withOptions(M&&M!==1?{dpr:M}:{})},w.width=function(M){return this.withOptions({width:M})},w.height=function(M){return this.withOptions({height:M})},w.focalPoint=function(M,J){return this.withOptions({focalPoint:{x:M,y:J}})},w.maxWidth=function(M){return this.withOptions({maxWidth:M})},w.minWidth=function(M){return this.withOptions({minWidth:M})},w.maxHeight=function(M){return this.withOptions({maxHeight:M})},w.minHeight=function(M){return this.withOptions({minHeight:M})},w.size=function(M,J){return this.withOptions({width:M,height:J})},w.blur=function(M){return this.withOptions({blur:M})},w.sharpen=function(M){return this.withOptions({sharpen:M})},w.rect=function(M,J,G,j){return this.withOptions({rect:{left:M,top:J,width:G,height:j}})},w.format=function(M){return this.withOptions({format:M})},w.invert=function(M){return this.withOptions({invert:M})},w.orientation=function(M){return this.withOptions({orientation:M})},w.quality=function(M){return this.withOptions({quality:M})},w.forceDownload=function(M){return this.withOptions({download:M})},w.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},w.flipVertical=function(){return this.withOptions({flipVertical:!0})},w.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},w.fit=function(M){if(S.indexOf(M)===-1)throw new Error('Invalid fit mode "'+M+'"');return this.withOptions({fit:M})},w.crop=function(M){if(T.indexOf(M)===-1)throw new Error('Invalid crop mode "'+M+'"');return this.withOptions({crop:M})},w.saturation=function(M){return this.withOptions({saturation:M})},w.auto=function(M){if(V.indexOf(M)===-1)throw new Error('Invalid auto mode "'+M+'"');return this.withOptions({auto:M})},w.pad=function(M){return this.withOptions({pad:M})},w.url=function(){return y(this.options)},w.toString=function(){return this.url()},E}();return x})})(Fx);const xp=Fx.exports;const S5=xp(kd),C5={name:"Blogs",props:{limit:{type:Number,default:50}},data(){return{loading:!0,loading2:!0,loadBlog:!0,slug:"",posts:[],post:[],blocks:[],showModal:!1,modalImageUrl:""}},created(){this.fetchData()},components:{AppTestimonialCard:RC,AppFeaturette:VC,SanityBlocks:w5},methods:{imageUrlFor(e){return S5.image(e)},showImageModal(e){this.modalImageUrl=e,this.showModal=!0},closeImageModal(){this.modalImageUrl="",this.showModal=!1},convertImageUrl(e){let t=e.replace("image-","");return t=t.replace("-jpg",".jpg"),t=t.replace("-png",".png"),console.log("https://cdn.sanity.io/images/i32b0q2c/production/"+t),"https://cdn.sanity.io/images/i32b0q2c/production/"+t},closePost(){console.log("clicked"),this.slug=null,this.loadBlog=!0,this.post=null},handleReadmore(e){console.log("button clicked"+e),console.log(e);const t=`*[slug.current == $slug] { - _id, - title, - slug, - body, - "image": mainImage{ - asset->{ - _id, - url - } - }, - "coverImage": coverImage{ - asset->{ - _id, - url - } - }, - "name":author->name, - images, - "authorImage":author->image - }[0] - `;this.slug=e,this.loadBlog=!1,kd.fetch(t,{slug:this.slug}).then(n=>{this.loading2=!1,this.post=n,this.blocks=n.body,console.log(n.images[1].image.asset._ref)},n=>{this.error=n})},fetchData(){let e=`*[_type == "post"]{ - _id, - title, - slug, - description, - "image": mainImage{ - asset->{ - _id, - url - } -}, - -"name":author->name, - - excerpt - }[0..${this.limit}]`;console.log(this.limit),this.error=this.post=null,this.loading=!0,kd.fetch(e).then(t=>{this.loading=!1,this.posts=t,console.log(t)},t=>{this.error=t})}}},x5={class:"home"},E5=C("br",null,null,-1),T5={key:0},I5={key:0,class:"loading"},A5={key:1,class:"error"},k5={key:2,class:"content px-4 py-4"},P5=C("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",viewBox:"0 0 20 20",fill:"currentColor"},[C("path",{"fill-rule":"evenodd",d:"M9.293 5.293a1 1 0 011.414 1.414L7.414 10l3.293 3.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 010 1.414z","clip-rule":"evenodd"})],-1),V5=[P5],R5=["src"],O5=C("br",null,null,-1),M5={class:"text-5xl"},D5=C("br",null,null,-1),$5={class:"flex items-center"},N5=["src"],F5=C("h2",{class:"text-2xl py-4"},"Blog Photos",-1),L5={class:"grid grid-cols-3 md:grid-cols-3 lg:grid-cols-3 gap-4"},B5=["onClick","src"],j5={key:1,class:"fixed inset-0 flex items-center justify-center z-50"},U5=C("div",{class:"modal-overlay fixed inset-0 bg-black opacity-50"},null,-1),z5={class:"modal-container bg-transparent mx-auto rounded-lg p-4 max-w-screen-lg"},H5=C("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[C("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1),q5=[H5],W5=["src"],G5={key:1,class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-2 px-4 w-full"},K5={class:"max-w-sm border mt-4 border-gray-200 rounded-lg shadow bg-gray-800 bg-opacity-25 border-gray-700"},Y5={href:"#"},X5=["src"],Q5={class:"p-2"},J5={href:"#"},Z5={class:"mb-2 text-2xl font-bold tracking-tight text-white"},eN={class:"mb-3 font-normal text-gray-400"},tN=["onClick"],nN=Gn(" Read more "),rN=C("svg",{class:"w-3.5 h-3.5 ml-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 10"},[C("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M1 5h12m0 0L9 1m4 4L9 9"})],-1),iN=[nN,rN];function aN(e,t,n,r,i,a){const s=bt("SanityBlocks");return se(),ce("div",x5,[E5,i.slug?(se(),ce("div",T5,[i.loading2?(se(),ce("div",I5,"Loading...")):We("",!0),e.error?(se(),ce("div",A5,Xe(e.error),1)):We("",!0),i.post?(se(),ce("div",k5,[C("button",{onClick:t[0]||(t[0]=(...o)=>a.closePost&&a.closePost(...o)),class:"bg-gray-800 text-white p-4 rounded-full hover:bg-amber-700 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:ring-opacity-50"},V5),i.post.coverImage?(se(),ce("img",{key:0,src:a.imageUrlFor(i.post.coverImage),class:"w-full h-auto"},null,8,R5)):We("",!0),O5,C("h1",M5,Xe(i.post.title),1),D5,m(s,{blocks:i.blocks},null,8,["blocks"]),C("h6",$5,[Gn(" By: "+Xe(i.post.name)+" ",1),i.post.authorImage?(se(),ce("img",{key:0,src:a.imageUrlFor(i.post.authorImage),class:"w-16 h-16 rounded-full ml-2"},null,8,N5)):We("",!0)]),F5,C("div",L5,[(se(!0),ce(Ee,null,Br(i.post.images,(o,l)=>(se(),ce("div",{key:l,class:"image-container"},[C("img",{onClick:u=>a.showImageModal(a.convertImageUrl(o.image.asset._ref)),src:a.convertImageUrl(o.image.asset._ref),class:"w-full h-auto rounded cursor-pointer"},null,8,B5)]))),128))]),i.showModal?(se(),ce("div",j5,[U5,C("div",z5,[C("button",{onClick:t[1]||(t[1]=(...o)=>a.closeImageModal&&a.closeImageModal(...o)),class:"bg-amber-800 text-white p-2 m-2 rounded-full hover:bg-orange-700 hover:text-gray-800"},q5),C("img",{src:i.modalImageUrl,class:"w-full max-h-96 mx-auto"},null,8,W5)])])):We("",!0)])):We("",!0)])):We("",!0),i.loadBlog?(se(),ce("div",G5,[(se(!0),ce(Ee,null,Br(i.posts,o=>(se(),ce("div",{key:o._id,class:"post-item"},[C("div",K5,[C("a",Y5,[C("img",{class:"w-full h-auto",src:a.imageUrlFor(o.image),alt:""},null,8,X5)]),C("div",Q5,[C("a",J5,[C("h5",Z5,Xe(o.title),1)]),C("p",eN,Xe(o.description),1),C("a",{onClick:l=>a.handleReadmore(o.slug.current),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-center text-white rounded-lg focus:ring-4 focus:outline-none bg-amber-600 hover:bg-amber-700 focus:ring-amber-800"},iN,8,tN)])])]))),128))])):We("",!0)])}const Lx=wt(C5,[["render",aN]]);const sN={components:{AppFeaturette:VC,AppTestimonialCard:RC,AppCarousel:ZM,Doodle:B3,AppGallery:PC,Blogs:Lx,timeline:Z3},mounted(){var e=null;eD(".hidden"),window.matchMedia("(max-width: 768px)").matches||(e=this.$data.testimonials.pop(),setInterval(()=>{let n=e;e=this.$data.testimonials.shift(),this.$data.testimonials.push(n)},1e4))},data(){return{galleryImages:[OC,MC,DC],featurettes:[{heading:"What is Speech Olympiad?",headingEnd:"",text:"Speech Olympiad stands as the flagship occasion hosted by the Gavel Club at the University of Moratuwa. As the sole English language speech competition within the university...",image:j3,urlString:"#about"}],testimonials:[{key:"1",imageSrc:U3,title:"Sirimevan Jayasundera",subtitle:"Champion - SOVI",body:"Speech Olympiad is more than a mere speaking contest, it is a culmination of people, experiences and exposure. I cherish to this date, every moment of the competition which was a gateway to self-reflection that enhanced my capabilities in the corporate world and beyond."},{key:"2",imageSrc:z3,title:"Malindi Jayathunga",subtitle:"1st Runner-Up and Best Prepared Speaker - SOXI",body:"My Speech Olympiad experience has enabled me to become the storyteller I am today. I work in advertising where I get to present new ideas and unique concepts to both my team and clients on a daily basis. I developed my presenting skills thanks to the support and knowledge I got from Speech Olympiad and the Gavel Club of University of Moratuwa."},{key:"3",imageSrc:q3,title:"Asitha Rathnayake",subtitle:"Champion \u2013 SOXII",body:"Speech Olympiad is a good place to win, but more than that, it is a great place to lose. The Gavel Mora family helped me a lot to improve myself as a speaker and a leader during the course of three Speech Olympiads, which helped me become the overall champion at Speech Olympiad XII."},{key:"4",imageSrc:H3,title:"Amaya Dharmasiri",subtitle:"1st Runner-Up and Best Impromptu Speaker \u2013 SOXII",body:"I was not new to the stage, but I was new to public speaking when I took part in Speech Olympiad. Everyone at the Gavel Club was willing to help us become the best version of ourselves. Not only did I become more confident in communicating in English, but I also learnt about my capabilities and understood myself better, thanks to Speech Olympiad."}]}}},Ef=e=>(oi("data-v-4c34397e"),e=e(),li(),e),oN={class:"container marketing"},lN=gf('

Didn't register yet?


Register \u2192

Past Experiences

',5),uN=Ef(()=>C("br",null,null,-1)),cN=Ef(()=>C("br",null,null,-1)),dN={class:"row mb-5"},fN=Ef(()=>C("div",{class:"col-12 mb-2"},[C("h1",{class:"featurette-heading mt-0 mb-4"},"Testimonials")],-1)),hN={class:"col-12 mb-2"},mN={class:"row mb-5"},vN=Ef(()=>C("div",{class:"col-12 mb-2"},[C("h1",{class:"featurette-heading mt-0 mb-4"},"Gallery")],-1)),gN={class:"col-12 mb-2"};function pN(e,t,n,r,i,a){const s=bt("AppCarousel"),o=bt("Doodle"),l=bt("AppFeaturette"),u=bt("Blogs"),c=bt("AppTestimonialCard"),d=bt("AppGallery");return se(),ce("main",null,[m(s),C("div",oN,[m(o),(se(!0),ce(Ee,null,Br(i.featurettes,(f,h)=>(se(),pu(l,{index:h,key:h,heading:f.heading,"heading-end":f.headingEnd,text:f.text,image:f.image,urlString:f.urlString},null,8,["index","heading","heading-end","text","image","urlString"]))),128)),lN,m(u,{limit:2}),uN,cN,C("div",dN,[fN,C("div",hN,[m(qS,{name:"list",tag:"div",class:"row"},{default:Wn(()=>[(se(!0),ce(Ee,null,Br(i.testimonials,f=>(se(),ce("div",{class:"col-lg-4 d-flex justify-content-center",key:"testimonial"+f.key},[m(c,{title:f.title,imageSrc:f.imageSrc,body:f.body,subtitle:f.subtitle},null,8,["title","imageSrc","body","subtitle"])]))),128))]),_:1})])]),C("div",mN,[vN,C("div",gN,[m(d,{images:i.galleryImages,showLink:!0},null,8,["images"])])])])])}const yN=wt(sN,[["render",pN],["__scopeId","data-v-4c34397e"]]);const bN={name:"AppArticle"},_N={class:"container-fluid article-container"},wN={class:"article column pb-2"};function SN(e,t,n,r,i,a){return se(),ce("div",_N,[C("div",wN,[SS(e.$slots,"default")])])}const Ep=wt(bN,[["render",SN]]);const CN={name:"AppHeroSection",props:{heading:String,subHeading:String,imagePath:String,imageMobile:String}},xN={class:"hero"},EN=["src"];function TN(e,t,n,r,i,a){return se(),ce("div",xN,[SS(e.$slots,"default"),C("img",{class:"hero-img",src:n.imagePath,alt:"",loading:"lazy"},null,8,EN)])}const Tp=wt(CN,[["render",TN]]),IN="/assets/About_title_mobile.47b061e3.jpg",AN="/assets/About_title_desktop.5f93421a.jpg",kN="/assets/trophy_4.49aa5912.jpg",PN={data(){return{About_title_mobile:IN,About_title_desktop:AN}},components:{AppArticle:Ep,AppHeroSection:Tp},computed:{isMobile(){return window.matchMedia("(max-width: 768px)").matches}}},VN=C("p",{class:"mt-3 first-letter"}," Speech Olympiad stands as the flagship occasion hosted by the Gavel Club of University of Moratuwa. As the sole English language speech competition within the university, it garners participants from all five faculties. Since its establishment in 2005, this event has progressively gained momentum, evolving into one of the most highly anticipated phenomenon on the university calendar. In an era where effective communication is paramount in any industry, The Speech Olympiad championship has become a coveted goal pursued by all young undergraduates. The enthusiasm instilled by faculty members to engage their students in this competition has led to a consistent rise in participation from all academic departments. While the Speech Olympiad championship certainly holds prestige, it transcends above a title. It provides a platform for personal growth and the potential to ignite transformative change not only within oneself but also among peers. ",-1),RN=C("p",null,[C("br")],-1),ON=C("p",null," Throughout the span of the last 15 years, there has been a consistent demonstration of the event\u2019s ability to unveil hidden talents within the university\u2019s undergraduates. The recipients of awards and those who reach the final stages encompass a broad spectrum of backgrounds, highlighting the event\u2019s widespread appeal through all academic disciplines. Countless participants of Speech Olympiad have then proceeded to dominate the National and International stages throughout the past decade, emerging as well-rounded impactful speakers who touch the hearts of many. ",-1),MN=C("img",{class:"article-img",alt:"",src:kN,loading:"lazy"},null,-1);function DN(e,t,n,r,i,a){const s=bt("AppHeroSection"),o=bt("AppArticle");return se(),ce("main",null,[m(s,{imagePath:a.isMobile?i.About_title_mobile:i.About_title_desktop},null,8,["imagePath"]),m(o,null,{default:Wn(()=>[VN,RN,ON,MN]),_:1})])}const $N=wt(PN,[["render",DN]]);const NN={name:"ArticleInterview",props:{authorName:String,intervieweeName:String,intervieweeImg:String}},FN=e=>(oi("data-v-fb599a6a"),e=e(),li(),e),LN=FN(()=>C("p",null,"Words by",-1)),BN={class:"interviewee d-flex"},jN={class:"interviewee-img"},UN=["src"],zN={class:"interview-name"};function HN(e,t,n,r,i,a){return se(),ce(Ee,null,[LN,C("div",BN,[C("div",jN,[C("img",{src:n.intervieweeImg,alt:"",loading:"lazy",class:"interviewee-img"},null,8,UN)]),C("div",zN,Xe(n.intervieweeName),1)]),C("p",null,"Compiled by "+Xe(n.authorName),1)],64)}const Bx=wt(NN,[["render",HN],["__scopeId","data-v-fb599a6a"]]),qN="/assets/TechnicalTips_title_mobile.4777a012.jpg",WN="/assets/Technical_Tips.512ebdd4.png",GN="/assets/TechnicalTips_portrait.b97eb5b2.jpeg",KN="/assets/TechnicalTips_StageMovement.7c954d74.jpg",YN="/assets/TechnicalTips_Humor.a1907cb5.jpg",XN="/assets/TechnicalTips_Confidence.20cb5fc8.jpg";const QN={data(){return{TechnicalTips_title_mobile:qN,TechnicalTips_title_desktop:WN,TechnicalTips_portrait:GN}},components:{AppArticle:Ep,AppHeroSection:Tp,ArticleInterview:Bx},computed:{isMobile(){return window.matchMedia("(max-width: 768px)").matches}}},Kt=e=>(oi("data-v-623dd1e5"),e=e(),li(),e),JN=Kt(()=>C("p",{class:"mt-3 first-letter"}," A single voice has the power to create a massive impact, it just needs the right opportunity. Speech Olympiad is a stage where revolutionary leaders and revolutionary speakers are discovered. To help you embark on this sensational journey of discovery, we got into conversation with a prestigious and eloquent past champion of Speech Olympiad, who shared some invaluable tips with us. ",-1)),ZN=Kt(()=>C("div",{class:"row mb-3 border"},[C("div",{class:"col d-flex text-center"},[C("p",null," Dr. Samadhi Poornima, the Champion of Speech Olympiad IX generously joined us for an interview despite her busy schedule working as a Computer Vision Algorithm Researcher at Zebra Technologies. As the crowned champion in 2015 along with the public speaking experience she has accumulated over the years, we are most certain that up-and-coming speakers will definitely have a lot to take home from the answers of Dr. Poornima. ")])],-1)),eF=Kt(()=>C("h3",null,"1. What are the key points to focus on when crafting a speech?",-1)),tF=Kt(()=>C("ul",null,[C("li",null,[C("b",null,"Take home message")]),C("p",null," The message that the speaker is trying to convey is a crucial aspect of a speech. It adds value to the words you speak and the effort you put in. "),C("li",null,[C("b",null,"Structure of the speech")]),C("p",null," You can structure your speech in several different ways and be creative with it. You can break down your speech into parts and use the stage appropriately for each part. But the most important thing is that your speech is clear and concise. A well-structured speech is easy to follow for the audience and makes it easier to deliver for the speaker. "),C("li",null,[C("b",null,"Stage movements")]),C("img",{class:"article-img article-img-resize",alt:"",src:KN,loading:"lazy"}),C("p",null," Stage movements keep your speech alive. For example, if you are talking about two friends you divide the stage into two, left and right for each one. "),C("li",null,[C("b",null,"Humour")]),C("img",{class:"article-img article-img-resize",alt:"",src:YN,loading:"lazy"}),C("p",null," Humour is what keeps your audience entertained and engaged. It is one of the best things to include in a speech. To bring out some humour does not mean you need to make your audience roll on the floor laughing. A simple smile is enough to make a difference. "),C("li",null,[C("b",null,"Gestures and vocal variations")]),C("p",null," These make your speech livelier. It shows the speaker is confident and adds some colour to your speech. One of the easiest ways to bring out some natural variations is by adding some dialogues to your speech. ")],-1)),nF=Kt(()=>C("h3",null,"2. How should one decide on what he/she is going to speak on?",-1)),rF=Kt(()=>C("p",null," One of the best ways to come up with a good speech is to speak about your own experiences. Especially if you learnt something out of it, it certainly is worth sharing. This has three advantages ",-1)),iF=Kt(()=>C("ul",null,[C("li",null,"You will never forget what you are going to say."),C("li",null,"You can say it the best. After all, it is your story!"),C("li",null," You are the only one in the whole world who has gone through it. And it is worth sharing. ")],-1)),aF=Kt(()=>C("p",null," Another classic approach to a good speech is to talk about something relatable, something universal. The audience would find this quite interesting and feel more connected to you. You don\u2019t need extraordinary facts or stories to make an interesting story. Simplicity itself can be quite attractive ",-1)),sF=Kt(()=>C("h3",null,"3. How important is it to use stories in our speeches?",-1)),oF=Kt(()=>C("p",null," Stories can be interesting to add to a speech. We all love to hear stories. But it does not mean that you need to narrate lengthy tales. Something you saw on your way to university when put into the right words can be an interesting story. ",-1)),lF=Kt(()=>C("h3",null,"4. Can you give some tips on impromptu speaking?",-1)),uF=Kt(()=>C("p",null," Impromptu speaking requires a lot of practice and experience. You need to have 3 qualities mastered when doing an impromptu speech. ",-1)),cF=Kt(()=>C("ul",null,[C("li",null,[C("b",null,"Time management")]),C("p",null," Practise how to deliver some message within the given time. Time management is something you can achieve with enough practice. A well-practised speaker will have an idea of what 1-minute feels like. "),C("li",null,[C("b",null,"Confidence")]),C("img",{class:"article-img article-img-resize",alt:"",src:XN,loading:"lazy"}),C("p",null," Impromptu speakers require a lot of confidence. If you are nervous you might not be able to bring out the best speech you can. And through practice, you build up meaningful confidence. In this practice, you need to put yourself into a real situation instead of being flexible and relaxed. "),C("li",null,[C("b",null,"Thinking on the stage")]),C("p",null," Practically, you might not be able to work out all the details of your speech before going on to the stage. So it is likely that you might have to figure out certain things while you are speaking. Figure out a few things you can do to buy some thinking time on the stage. A couple of things I did was purposeful repetition and asking a question from the audience. Meaningful repetition can be used at any point in your speech. For example, if you are talking about how your parents wanted you to be a doctor you can say something like "),C("ul",null,[C("li",null,"\u2018The girl next door was a doctor\u2019"),C("li",null,"\u2018The girl next next door was a doctor\u2019"),C("li",null,"\u2018The girl next next next door was a doctor\u2019"),C("li",null,"\u2018So my mama wanted me to be a doctor\u2019")]),C("p",null," Instead of simply saying \u2018my mama wanted me to be a doctor\u2019, when you use a simple phrase and repeat it, it gives you time to think without making the audience feel you are struggling. And when you ask a question, the general practice is you give a few seconds for the audience to react. When you ask a rhetorical question, you don\u2019t need to respond to their reaction. Instead, you can take this time to think and focus on what you are going to say next. ")],-1)),dF=Kt(()=>C("h3",null,"5. Do you have any tips on practising a speech?",-1)),fF=Kt(()=>C("p",null," Practice is key for both prepared speeches and impromptu speeches. You need to practise until you feel at home on a stage. Practice is what brings you confidence. For prepared speeches, it is good if you first have a basic structure of the speech organised and then practise with words that come to you naturally. In this way, you would be more comfortable with the language you use for your speech. ",-1)),hF=Kt(()=>C("p",null,"A couple of things you can do to fine-tune a prepared speech are,",-1)),mF=Kt(()=>C("ul",null,[C("li",null,[C("b",null,"Remove repetitions")]),C("p",null," Think carefully of each sentence, and each phrase. Think what value it would add to the speech. And think if the same thing is being repeated (not purposeful repetition) somewhere else in the speech unintentionally. "),C("li",null,[C("b",null,"Balance your speech")]),C("p",null," Add a balance to your speech with a bit of humour and a bit of seriousness. Even if the speech is about a sad story, it is good to have some appropriate humour at least once. And even if the speech is a humorous speech, it is great if there is an important take-home message. "),C("li",null,[C("b",null,"Make it simple, clear and concise")]),C("p",null," In a prepared speech it is very important to have a clear structure to your speech. It should be easy-to-follow and meaningful to what you say. Something I personally followed for practising a prepared speech was to watch some world championship speeches. When I say watch it, I mean \u2018watch it watch it\u2019 where you notice the structure, notice the way they start, take transitions and bring out the message. ")],-1)),vF=Kt(()=>C("p",null," Practising an impromptu speech can be a bit tricky. Because even if you practise 1000 speeches, the next one could be an entirely different experience. These are some ways of practising impromptu speeches that I personally followed. ",-1)),gF=Kt(()=>C("ul",null,[C("li",null," Have some generic stories ready. These could be targeted for some common impromptu topics such as never giving up, little things matter in life and being true to yourself etc. "),C("li",null," Have some facts ready. It is good to have some general knowledge facts ready when you are practising for an impromptu speech. You don\u2019t need to memorise a whole list but 5 key facts from different areas can be helpful if you can\u2019t think of a story related to the topic you got. This could be about areas like economy, education or some great sayings etc. "),C("li",null," Be ready to think of something entirely new then and there. This is an example I heard from someone when I was practising. So this guy has got the topic \u2018Michael Jordan\u2019 as the title for his impromptu speech. He started the speech with \u201CI don\u2019t know who Michael Jordan is but I know a guy named Michael and another guy named Jordan\u201D, and went on to deliver a very interesting speech which was completely unexpected. "),C("li",null," Practise coming up with an impromptu speech response within 2 minutes. And if you could not, just deliver whatever that you manage to come up with then and there. Experience how you work under pressure. With each practice, you will improve. And once you feel confident, try lowering this time, now try to come up with an impromptu speech in 1 and half minutes. And next, try 1 minute. When you practice like this, even if nothing comes to your mind in the first minute, you would still be able to remain calm and think clearly because you know you can come up with something successful even in the last few seconds. "),C("li",null," It is okay to practise on the same topic several times. No need to have a new topic each time you practise. But practise facing completely unheard of topics as well, just to broaden your thinking. "),C("li",null," No need to practise for long hours. So do not exhaust yourself. You might get tired and lose interest. ")],-1)),pF=Kt(()=>C("p",null," From deciding on what to speak, crafting your speech, practising your speech, to finally delivering your speech, each and every aspect needed for a good public speaker was insightfully addressed in detail by Dr. Poornima Take in and practise what you have learnt. Showcase your progress at Speech Olympiad. Get onto that stage and speak your heart out, because the speech you deliver today can be the reason for a changed world tomorrow. ",-1));function yF(e,t,n,r,i,a){const s=bt("AppHeroSection"),o=bt("ArticleInterview"),l=bt("AppArticle");return se(),ce("main",null,[m(s,{imagePath:a.isMobile?i.TechnicalTips_title_mobile:i.TechnicalTips_title_desktop},null,8,["imagePath"]),m(l,null,{default:Wn(()=>[JN,ZN,eF,tF,nF,rF,iF,aF,sF,oF,lF,uF,cF,dF,fF,hF,mF,vF,gF,pF,m(o,{"author-name":"Udesh Dangalla","interviewee-name":"Dr. Samadhi Poornima",intervieweeImg:i.TechnicalTips_portrait},null,8,["intervieweeImg"])]),_:1})])}const bF=wt(QN,[["render",yF],["__scopeId","data-v-623dd1e5"]]);const _F="/assets/prelis9.3f3d09cb.jpg",wF="/assets/trophies.f2d7e4dc.jpg",SF="/assets/2.df6e2d70.png",CF="/assets/4.862e50db.jpg",xF="/assets/5.982bd086.jpg",EF="/assets/6.01410bc8.jpg",TF="/assets/7.49dfbf66.jpg",IF="/assets/9.98820b43.jpg",AF="/assets/10.1df2a73d.jpg";const kF={components:{AppGallery:PC},data(){return{images:[OC,SF,MC,CF,wF,EF,TF,DC,_F,IF,AF,xF]}}},PF={class:"container"},VF={class:"row mb-5 p-2"};function RF(e,t,n,r,i,a){const s=bt("AppGallery");return se(),ce("main",null,[C("div",PF,[C("div",VF,[m(s,{images:i.images},null,8,["images"])])])])}const OF=wt(kF,[["render",RF],["__scopeId","data-v-fef776be"]]);const MF={};function DF(e,t){return se(),ce("main",null,"Page Not Found")}const $F=wt(MF,[["render",DF],["__scopeId","data-v-147157fb"]]),o0="/assets/Champion's_story.0cdba308.png",NF="/assets/PathOfChampion_image1_mobile.f116adc3.jpg",FF="/assets/PathOfChampion_image1_desktop.5eb979c0.jpg",LF="/assets/PathOfChampion_image2_mobile.8d1c7b14.jpg",BF="/assets/PathOfChampion_image2_desktop.ead73ac0.jpg",jF="/assets/PathOfChampion_portrait.adc4344f.jpg",UF={data(){return{PathOfChampion_title_mobile:o0,PathOfChampion_title_desktop:o0,PathOfChampion_image1_mobile:NF,PathOfChampion_image1_desktop:FF,PathOfChampion_image2_mobile:LF,PathOfChampion_image2_desktop:BF,PathOfChampion_portrait:jF}},components:{AppArticle:Ep,AppHeroSection:Tp,ArticleInterview:Bx},computed:{isMobile(){return window.matchMedia("(max-width: 768px)").matches}}},zF=C("p",{class:"mt-3 first-letter"}," Walking the journey through the shadows of my past, during my school days, just like most students, I was always reluctant to opt in speech contests. Perturbed by the fear of failure and embarrassment, I never wanted to perform before an audience. I remember being forced to do a speech in grade 11 at the assembly which surprisingly turned out well. That was when I realized that I had a potential towards public speaking. Thus, I started my public speaking journey. Following this, I grabbed a few chances to compere at school functions and gradually established myself as a decent public speaker. ",-1),HF=C("p",null," I geared my public speaking drive during the twilight of my school career, but I did not have many opportunities to explore. Right from the moment I joined university, I told the inner me that I am going to try as many extracurricular activities as possible. Taking part in a speech contest was the ultimate challenge since delivering a speech under pressure was a monumental task. The very minute I stepped into my university life, I eagerly joined Speech Olympiad, embarking on a quest to expand my comfort zone. ",-1),qF=["src"],WF=C("p",null," I was excited for my very first experience at Speech Olympiad which was also the first speech contest I took part in. I was, however, under-prepared with a very short speech lasting merely 2 minutes, not to mention getting tongue-tied somewhere mid-speech as well. ",-1),GF=C("p",null," Leaving the hall, I realized that I needed help from someone who was experienced and proficient in public speaking, which was my driving intention to join the Gavel Club. ",-1),KF=C("p",null,[Gn(" The following year was all about learning the basics of public speaking, getting the exposure and being mentored by senior Gaveliers. With their guidance, I came up with a solid speech for the following Speech Olympiad, and with a huge effort put in from my end, I emerged as the "),C("b",null,"first runner-up"),Gn(". ")],-1),YF=["src"],XF=C("p",null," Motivated by the success of that year\u2019s competition, I wanted to compete in the upcoming competition as well. But along with being a past winner and the experience gained through Gavel, I became overconfident in myself and my abilities. I prioritized other commitments over Speech Olympiad practices and mentoring sessions with the belief that I would be able to manage on my own. It was only after emerging second runner-up that year, I realized the fault in my approach. ",-1),QF=C("p",null," The final Speech Olympiad during my undergraduate life was the last shot at giving my best. I went back to square one and started my journey once again. This time, I reinforced myself with past Gavel experiences along with the understanding that I will always be able to improve with others' help. ",-1),JF=C("p",{class:"box"},[Gn(" Similar to my second Speech Olympiad experience, I worked hard, carefully focusing on the specifics such as time management and coming up with the best approach for table topics while sharpening my speaking skills and refining my speech with the help of practice and impactful mentoring sessions; which finally made me the "),C("b",null,[C("br"),Gn("Champion of Speech Olympiad VIII in 2014")]),Gn(". ")],-1),ZF=C("p",null," The surreal moment when I emerged as the champion is something I will cherish forever! I will never forget the warm big proud smiles my parents, friends and my Gavel family were projecting at me from the audience. Engulfing the feelings of this successful achievement was the appreciation I had towards my mentors who guided me to this achievement; some of whom had even gone beyond their university life but still showed up to support me and all my fellow Gaveliers. ",-1),eL=C("p",null," Unfortunately, till then I did not have a long-sighted personality that focused on developing leadership qualities, rather I was only improving my public speaking skills through the Gavel Club. On that day, I promised myself to become a better team player and that was the vibrant rainbow that coloured the path for me to become a Toastmaster. Currently working as the Assistant Division Director of Toastmaster District 82 - Division F, I am very proud to say that I have taken what I learnt from Gavel, through to Toastmasters, not only in becoming a sound Toastmaster, but perhaps in nurturing myself as an encouraging mentor as well. ",-1),tL=C("p",null," I believe that regardless of where you stand, if you are passionate about something, it is important to expose and challenge yourself to grow as an individual. Speech Olympiad taught me that compering and delivering a speech are not the same thing, especially when it comes to a contest where the delivery is done under a lot of pressure. Some core lessons I learnt were that commitment, along with self-evaluation, learning from others and being humble, goes a long way. Reflecting on my voyage of public speaking, the moral is to remind oneself to never shy away from opportunities. It is not necessarily about winning or losing, but the experience and exposure you gain by pushing your limits to become better at what you do and the way you define yourself. ",-1),nL=C("p",{class:"box"}," Being a champion does not only mean that you will be celebrating, but rather exploring the deep end and investing in yourself more. Grow up to every dawn of sunrise and bloom wherever life plants you, for enjoying what you do matters the most. I cherish the journey, not the end result. ",-1);function rL(e,t,n,r,i,a){const s=bt("AppHeroSection"),o=bt("ArticleInterview"),l=bt("AppArticle");return se(),ce("main",null,[m(s,{imagePath:a.isMobile?i.PathOfChampion_title_mobile:i.PathOfChampion_title_desktop},null,8,["imagePath"]),m(l,null,{default:Wn(()=>[zF,HF,C("img",{class:"article-img",alt:"",src:a.isMobile?i.PathOfChampion_image1_mobile:i.PathOfChampion_image1_desktop,loading:"lazy"},null,8,qF),WF,GF,KF,C("img",{class:"article-img",src:a.isMobile?i.PathOfChampion_image2_mobile:i.PathOfChampion_image2_desktop,loading:"lazy"},null,8,YF),XF,QF,JF,ZF,eL,tL,nL,m(o,{"author-name":"Chemini Mallikarachchi","interviewee-name":"Mohamed Yasir",intervieweeImg:i.PathOfChampion_portrait},null,8,["intervieweeImg"])]),_:1})])}const iL=wt(UF,[["render",rL]]);/* -object-assign -(c) Sindre Sorhus -@license MIT -*/var l0=Object.getOwnPropertySymbols,aL=Object.prototype.hasOwnProperty,sL=Object.prototype.propertyIsEnumerable;function oL(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function lL(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(a){return t[a]});if(r.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(a){i[a]=a}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var ln=lL()?Object.assign:function(e,t){for(var n,r=oL(e),i,a=1;a)","* Array of document IDs","* Object containing `query`"].join(` -`);throw new Error(`Unknown selection - must be one of: - -`.concat(n))},ha={};(function(e){function t(i){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t(i)}var n=["image","file"],r=["before","after","replace"];e.dataset=function(i){if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(i))throw new Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},e.projectId=function(i){if(!/^[-a-z0-9]+$/i.test(i))throw new Error("`projectId` can only contain only a-z, 0-9 and dashes")},e.validateAssetType=function(i){if(n.indexOf(i)===-1)throw new Error("Invalid asset type: ".concat(i,". Must be one of ").concat(n.join(", ")))},e.validateObject=function(i,a){if(a===null||t(a)!=="object"||Array.isArray(a))throw new Error("".concat(i,"() takes an object of properties"))},e.requireDocumentId=function(i,a){if(!a._id)throw new Error("".concat(i,'() requires that the document contains an ID ("_id" property)'));e.validateDocumentId(i,a._id)},e.validateDocumentId=function(i,a){if(typeof a!="string"||!/^[a-z0-9_.-]+$/i.test(a))throw new Error("".concat(i,'(): "').concat(a,'" is not a valid document ID'))},e.validateInsert=function(i,a,s){var o="insert(at, selector, items)";if(r.indexOf(i)===-1){var l=r.map(function(u){return'"'.concat(u,'"')}).join(", ");throw new Error("".concat(o,' takes an "at"-argument which is one of: ').concat(l))}if(typeof a!="string")throw new Error("".concat(o,' takes a "selector"-argument which must be a string'));if(!Array.isArray(s))throw new Error("".concat(o,' takes an "items"-argument which must be an array'))},e.hasDataset=function(i){if(!i.dataset)throw new Error("`dataset` must be provided to perform queries");return i.dataset||""},e.requestTag=function(i){if(typeof i!="string"||!/^[a-z0-9._-]{1,75}$/i.test(i))throw new Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return i}})(ha);function Zh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gi=ln,KL=qx,Wx=ha,em=Wx.validateObject,YL=Wx.validateInsert;function pv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.selection=e,this.operations=Gi({},t),this.client=n}Gi(pv.prototype,{clone:function(){return new pv(this.selection,Gi({},this.operations),this.client)},set:function(t){return this._assign("set",t)},diffMatchPatch:function(t){return em("diffMatchPatch",t),this._assign("diffMatchPatch",t)},unset:function(t){if(!Array.isArray(t))throw new Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Gi({},this.operations,{unset:t}),this},setIfMissing:function(t){return this._assign("setIfMissing",t)},replace:function(t){return em("replace",t),this._set("set",{$:t})},inc:function(t){return this._assign("inc",t)},dec:function(t){return this._assign("dec",t)},insert:function(t,n,r){var i;return YL(t,n,r),this._assign("insert",(i={},Zh(i,t,n),Zh(i,"items",r),i))},append:function(t,n){return this.insert("after","".concat(t,"[-1]"),n)},prepend:function(t,n){return this.insert("before","".concat(t,"[0]"),n)},splice:function(t,n,r,i){var a=typeof r>"u"||r===-1,s=n<0?n-1:n,o=a?-1:Math.max(0,n+r),l=s<0&&o>=0?"":o,u="".concat(t,"[").concat(s,":").concat(l,"]");return this.insert("replace",u,i||[])},ifRevisionId:function(t){return this.operations.ifRevisionID=t,this},serialize:function(){return Gi(KL(this.selection),this.operations)},toJSON:function(){return this.serialize()},commit:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.client)throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");var n=typeof this.selection=="string",r=Gi({returnFirst:n,returnDocuments:!0},t);return this.client.mutate({patch:this.serialize()},r)},reset:function(){return this.operations={},this},_set:function(t,n){return this._assign(t,n,!1)},_assign:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return em(t,n),this.operations=Gi({},this.operations,Zh({},t,Gi({},r&&this.operations[t]||{},n))),this}});var Fp=pv;function h0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tm=ln,ks=ha,nm=Fp,XL={returnDocuments:!1};function yv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;this.trxId=n,this.operations=e,this.client=t}tm(yv.prototype,{clone:function(){return new yv(this.operations.slice(0),this.client,this.trxId)},create:function(t){return ks.validateObject("create",t),this._add({create:t})},createIfNotExists:function(t){var n="createIfNotExists";return ks.validateObject(n,t),ks.requireDocumentId(n,t),this._add(h0({},n,t))},createOrReplace:function(t){var n="createOrReplace";return ks.validateObject(n,t),ks.requireDocumentId(n,t),this._add(h0({},n,t))},delete:function(t){return ks.validateDocumentId("delete",t),this._add({delete:{id:t}})},patch:function(t,n){var r=typeof n=="function",i=t instanceof nm;if(i)return this._add({patch:t.serialize()});if(r){var a=n(new nm(t,{},this.client));if(!(a instanceof nm))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:a.serialize()})}return this._add({patch:tm({id:t},n)})},transactionId:function(t){return t?(this.trxId=t,this):this.trxId},serialize:function(){return this.operations.slice()},toJSON:function(){return this.serialize()},commit:function(t){if(!this.client)throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.client.mutate(this.serialize(),tm({transactionId:this.trxId},XL,t||{}))},reset:function(){return this.operations=[],this},_add:function(t){return this.operations.push(t),this}});var Gx=yv,QL=["tag"];function JL(e,t){if(e==null)return{};var n=ZL(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function ZL(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a=0)&&(n[i]=e[i]);return n}var Ps=encodeURIComponent,Kx=function(e){var t=e.query,n=e.params,r=n===void 0?{}:n,i=e.options,a=i===void 0?{}:i,s=a.tag,o=JL(a,QL),l="query=".concat(Ps(t)),u=s?"?tag=".concat(Ps(s),"&").concat(l):"?".concat(l),c=Object.keys(r).reduce(function(d,f){return"".concat(d,"&").concat(Ps("$".concat(f)),"=").concat(Ps(JSON.stringify(r[f])))},u);return Object.keys(o).reduce(function(d,f){return a[f]?"".concat(d,"&").concat(Ps(f),"=").concat(Ps(a[f])):d},c)},bv={exports:{}};/** @license - * eventsource.js - * Available under MIT License (MIT) - * https://github.com/Yaffle/EventSource/ - */(function(e,t){(function(n){var r=n.setTimeout,i=n.clearTimeout,a=n.XMLHttpRequest,s=n.XDomainRequest,o=n.ActiveXObject,l=n.EventSource,u=n.document,c=n.Promise,d=n.fetch,f=n.Response,h=n.TextDecoder,v=n.TextEncoder,g=n.AbortController;if(typeof window<"u"&&typeof u<"u"&&!("readyState"in u)&&u.body==null&&(u.readyState="loading",window.addEventListener("load",function(R){u.readyState="complete"},!1)),a==null&&o!=null&&(a=function(){return new o("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(R){function F(){}return F.prototype=R,new F}),Date.now||(Date.now=function(){return new Date().getTime()}),g==null){var y=d;d=function(R,F){var z=F.signal;return y(R,{headers:F.headers,credentials:F.credentials,cache:F.cache}).then(function(H){var q=H.body.getReader();return z._reader=q,z._aborted&&z._reader.cancel(),{status:H.status,statusText:H.statusText,headers:H.headers,body:{getReader:function(){return q}}}})},g=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function p(){this.bitsNeeded=0,this.codePoint=0}p.prototype.decode=function(R){function F(fe,be,pe){if(pe===1)return fe>=128>>be&&fe<=2048>>be&&fe<=57344>>be&&fe<=65536>>be&&fe<>6>15?3:be>31?2:1;if(fe===6*2)return be>15?3:2;if(fe===6*3)return 3;throw new Error}for(var H=65533,q="",Y=this.bitsNeeded,W=this.codePoint,ue=0;ue191||!F(W<<6|ae&63,Y-6,z(Y,W)))&&(Y=0,W=H,q+=String.fromCharCode(W)),Y===0?(ae>=0&&ae<=127?(Y=0,W=ae):ae>=192&&ae<=223?(Y=6*1,W=ae&31):ae>=224&&ae<=239?(Y=6*2,W=ae&15):ae>=240&&ae<=247?(Y=6*3,W=ae&7):(Y=0,W=H),Y!==0&&!F(W,Y,z(Y,W))&&(Y=0,W=H)):(Y-=6,W=W<<6|ae&63),Y===0&&(W<=65535?q+=String.fromCharCode(W):(q+=String.fromCharCode(55296+(W-65535-1>>10)),q+=String.fromCharCode(56320+(W-65535-1&1023))))}return this.bitsNeeded=Y,this.codePoint=W,q};var b=function(){try{return new h().decode(new v().encode("test"),{stream:!0})==="test"}catch(R){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+R)}return!1};(h==null||v==null||!b())&&(h=p);var S=function(){};function T(R){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=S,this.onload=S,this.onerror=S,this.onreadystatechange=S,this._contentType="",this._xhr=R,this._sendTimeout=0,this._abort=S}T.prototype.open=function(R,F){this._abort(!0);var z=this,H=this._xhr,q=1,Y=0;this._abort=function(pe){z._sendTimeout!==0&&(i(z._sendTimeout),z._sendTimeout=0),(q===1||q===2||q===3)&&(q=4,H.onload=S,H.onerror=S,H.onabort=S,H.onprogress=S,H.onreadystatechange=S,H.abort(),Y!==0&&(i(Y),Y=0),pe||(z.readyState=4,z.onabort(null),z.onreadystatechange())),q=0};var W=function(){if(q===1){var pe=0,Ae="",je=void 0;if("contentType"in H)pe=200,Ae="OK",je=H.contentType;else try{pe=H.status,Ae=H.statusText,je=H.getResponseHeader("Content-Type")}catch{pe=0,Ae="",je=void 0}pe!==0&&(q=2,z.readyState=2,z.status=pe,z.statusText=Ae,z._contentType=je,z.onreadystatechange())}},ue=function(){if(W(),q===2||q===3){q=3;var pe="";try{pe=H.responseText}catch{}z.readyState=3,z.responseText=pe,z.onprogress()}},ae=function(pe,Ae){if((Ae==null||Ae.preventDefault==null)&&(Ae={preventDefault:S}),ue(),q===1||q===2||q===3){if(q=4,Y!==0&&(i(Y),Y=0),z.readyState=4,pe==="load")z.onload(Ae);else if(pe==="error")z.onerror(Ae);else if(pe==="abort")z.onabort(Ae);else throw new TypeError;z.onreadystatechange()}},fe=function(pe){H!=null&&(H.readyState===4?(!("onload"in H)||!("onerror"in H)||!("onabort"in H))&&ae(H.responseText===""?"error":"load",pe):H.readyState===3?"onprogress"in H||ue():H.readyState===2&&W())},be=function(){Y=r(function(){be()},500),H.readyState===3&&ue()};"onload"in H&&(H.onload=function(pe){ae("load",pe)}),"onerror"in H&&(H.onerror=function(pe){ae("error",pe)}),"onabort"in H&&(H.onabort=function(pe){ae("abort",pe)}),"onprogress"in H&&(H.onprogress=ue),"onreadystatechange"in H&&(H.onreadystatechange=function(pe){fe(pe)}),("contentType"in H||!("ontimeout"in a.prototype))&&(F+=(F.indexOf("?")===-1?"?":"&")+"padding=true"),H.open(R,F,!0),"readyState"in H&&(Y=r(function(){be()},0))},T.prototype.abort=function(){this._abort(!1)},T.prototype.getResponseHeader=function(R){return this._contentType},T.prototype.setRequestHeader=function(R,F){var z=this._xhr;"setRequestHeader"in z&&z.setRequestHeader(R,F)},T.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},T.prototype.send=function(){if((!("ontimeout"in a.prototype)||!("sendAsBinary"in a.prototype)&&!("mozAnon"in a.prototype))&&u!=null&&u.readyState!=null&&u.readyState!=="complete"){var R=this;R._sendTimeout=r(function(){R._sendTimeout=0,R.send()},4);return}var F=this._xhr;"withCredentials"in F&&(F.withCredentials=this.withCredentials);try{F.send(void 0)}catch(z){throw z}};function V(R){return R.replace(/[A-Z]/g,function(F){return String.fromCharCode(F.charCodeAt(0)+32)})}function O(R){for(var F=Object.create(null),z=R.split(`\r -`),H=0;H"u"?typeof window<"u"?window:typeof self<"u"?self:En:globalThis)})(bv,bv.exports);var e6=bv.exports.EventSourcePolyfill,t6=function(e,t){return t.reduce(function(n,r){return typeof e[r]>"u"||(n[r]=e[r]),n},{})},n6=function(e,t){return Object.keys(t).concat(Object.keys(e)).reduce(function(n,r){return n[r]=typeof e[r]>"u"?t[r]:e[r],n},{})};function m0(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 v0(e){for(var t=1;t2&&arguments[2]!==void 0?arguments[2]:{},i=this.clientConfig,a=i.url,s=i.token,o=i.withCredentials,l=i.requestTagPrefix,u=r.tag&&l?[l,r.tag].join("."):r.tag,c=v0(v0({},l6(r,f6)),{},{tag:u}),d=o6(c,d6),f=u6({query:t,params:n,options:d,tag:u}),h="".concat(a).concat(this.getDataUrl("listen",f));if(h.length>c6)return new g0(function(p){return p.error(new Error("Query too large for listener"))});var v=c.events?c.events:["mutation"],g=v.indexOf("reconnect")!==-1,y={};return(s||o)&&(y.withCredentials=!0),s&&(y.headers={Authorization:"Bearer ".concat(s)}),new g0(function(p){var b=E(),S,T=!1;function V(){T||($(),!T&&b.readyState===p0.CLOSED&&(x(),clearTimeout(S),S=setTimeout(w,100)))}function O(M){p.error(m6(M))}function N(M){var J=Yx(M);return J instanceof Error?p.error(J):p.next(J)}function I(M){T=!0,x(),p.complete()}function x(){b.removeEventListener("error",V,!1),b.removeEventListener("channelError",O,!1),b.removeEventListener("disconnect",I,!1),v.forEach(function(M){return b.removeEventListener(M,N,!1)}),b.close()}function $(){g&&p.next({type:"reconnect"})}function E(){var M=new p0(h,y);return M.addEventListener("error",V,!1),M.addEventListener("channelError",O,!1),M.addEventListener("disconnect",I,!1),v.forEach(function(J){return M.addEventListener(J,N,!1)}),M}function w(){b=E()}function A(){T=!0,x()}return A})};function Yx(e){try{var t=e.data&&JSON.parse(e.data)||{};return i6({type:e.type},t)}catch(n){return n}}function m6(e){if(e instanceof Error)return e;var t=Yx(e);return t instanceof Error?t:new Error(v6(t))}function v6(e){return e.error?e.error.description?e.error.description:typeof e.error=="string"?e.error:JSON.stringify(e.error,null,2):e.message||"Unknown listener error"}function y0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g6=ln,Xx=xu,qo=Xx.map,rm=Xx.filter,im=ha,p6=qx,y6=Kx,b0=Gx,_0=Fp,b6=h6,_6=function(t,n){var r=typeof t>"u"?n:t;return t===!1?void 0:r},w6=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{dryRun:t.dryRun,returnIds:!0,returnDocuments:_6(t.returnDocuments,!0),visibility:t.visibility||"sync",autoGenerateArrayKeys:t.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:t.skipCrossDatasetReferenceValidation}},am=function(t){return t.type==="response"},S6=function(t){return t.body},C6=function(t,n){return t.reduce(function(r,i){return r[n(i)]=i,r},Object.create(null))},oc=function(t){return t.toPromise()},x6=11264,E6={listen:b6,getDataUrl:function(t,n){var r=this.clientConfig,i=im.hasDataset(r),a="/".concat(t,"/").concat(i),s=n?"".concat(a,"/").concat(n):a;return"/data".concat(s).replace(/\/($|\?)/,"$1")},fetch:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=r.filterResponse===!1?function(s){return s}:function(s){return s.result},a=this._dataRequest("query",{query:t,params:n},r).pipe(qo(i));return this.isPromiseAPI()?oc(a):a},getDocument:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r={uri:this.getDataUrl("doc",t),json:!0,tag:n.tag},i=this._requestObservable(r).pipe(rm(am),qo(function(a){return a.body.documents&&a.body.documents[0]}));return this.isPromiseAPI()?oc(i):i},getDocuments:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r={uri:this.getDataUrl("doc",t.join(",")),json:!0,tag:n.tag},i=this._requestObservable(r).pipe(rm(am),qo(function(a){var s=C6(a.body.documents||[],function(o){return o._id});return t.map(function(o){return s[o]||null})}));return this.isPromiseAPI()?oc(i):i},create:function(t,n){return this._create(t,"create",n)},createIfNotExists:function(t,n){return im.requireDocumentId("createIfNotExists",t),this._create(t,"createIfNotExists",n)},createOrReplace:function(t,n){return im.requireDocumentId("createOrReplace",t),this._create(t,"createOrReplace",n)},patch:function(t,n){return new _0(t,n,this)},delete:function(t,n){return this.dataRequest("mutate",{mutations:[{delete:p6(t)}]},n)},mutate:function(t,n){var r=t instanceof _0||t instanceof b0?t.serialize():t,i=Array.isArray(r)?r:[r],a=n&&n.transactionId;return this.dataRequest("mutate",{mutations:i,transactionId:a},n)},transaction:function(t){return new b0(t,this)},dataRequest:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=this._dataRequest(t,n,r);return this.isPromiseAPI()?oc(i):i},_dataRequest:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=t==="mutate",a=t==="query",s=!i&&y6(n),o=!i&&s.length2&&arguments[2]!==void 0?arguments[2]:{},i=y0({},n,t),a=g6({returnFirst:!0,returnDocuments:!0},r);return this.dataRequest("mutate",{mutations:[i]},a)}},T6=ln,I6=ha;function Qx(e){this.request=e.request.bind(e)}T6(Qx.prototype,{create:function(t,n){return this._modify("PUT",t,n)},edit:function(t,n){return this._modify("PATCH",t,n)},delete:function(t){return this._modify("DELETE",t)},list:function(){return this.request({uri:"/datasets"})},_modify:function(t,n,r){return I6.dataset(n),this.request({method:t,uri:"/datasets/".concat(n),body:r})}});var A6=Qx,k6=ln;function Jx(e){this.client=e}k6(Jx.prototype,{list:function(){return this.client.request({uri:"/projects"})},getById:function(t){return this.client.request({uri:"/projects/".concat(t)})}});var P6=Jx,V6=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push("".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(e[n])));return t.length>0?"?".concat(t.join("&")):""};function R6(e,t){return $6(e)||D6(e,t)||M6(e,t)||O6()}function O6(){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 M6(e,t){if(!!e){if(typeof e=="string")return w0(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w0(e,t)}}function w0(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u"||!(t instanceof window.File)?e:Zx({filename:e.preserveFilename===!1?void 0:t.name,contentType:t.type},e)}Zx(tE.prototype,{upload:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};lc.validateAssetType(t);var i=r.extract||void 0;i&&!i.length&&(i=["none"]);var a=lc.hasDataset(this.client.clientConfig),s=t==="image"?"images":"files",o=B6(r,n),l=o.tag,u=o.label,c=o.title,d=o.description,f=o.creditLine,h=o.filename,v=o.source,g={label:u,title:c,description:d,filename:h,meta:i,creditLine:f};v&&(g.sourceId=v.id,g.sourceName=v.name,g.sourceUrl=v.url);var y=this.client._requestObservable({tag:l,method:"POST",timeout:o.timeout||0,uri:"/assets/".concat(s,"/").concat(a),headers:o.contentType?{"Content-Type":o.contentType}:{},query:g,body:n});return this.client.isPromiseAPI()?y.pipe(F6(function(p){return p.type==="response"}),N6(function(p){return p.body.document})).toPromise():y},delete:function(t,n){console.warn("client.assets.delete() is deprecated, please use client.delete()");var r=n||"";return/^(image|file)-/.test(r)?t._id&&(r=t._id):r="".concat(t,"-").concat(r),lc.hasDataset(this.client.clientConfig),this.client.delete(r)},getImageUrl:function(t,n){var r=t._ref||t;if(typeof r!="string")throw new Error("getImageUrl() needs either an object with a _ref, or a string with an asset document ID");if(!/^image-[A-Za-z0-9_]+-\d+x\d+-[a-z]{1,5}$/.test(r))throw new Error('Unsupported asset ID "'.concat(r,'". URL generation only works for auto-generated IDs.'));var i=r.split("-"),a=R6(i,4),s=a[1],o=a[2],l=a[3];lc.hasDataset(this.client.clientConfig);var u=this.client.clientConfig,c=u.projectId,d=u.dataset,f=n?L6(n):"";return"https://cdn.sanity.io/images/".concat(c,"/").concat(d,"/").concat(s,"-").concat(o,".").concat(l).concat(f)}});var j6=tE,U6=ln;function nE(e){this.client=e}U6(nE.prototype,{getById:function(t){return this.client.request({uri:"/users/".concat(t)})}});var z6=nE,H6=ln;function rE(e){this.client=e}H6(rE.prototype,{getLoginProviders:function(){return this.client.request({uri:"/auth/providers"})},logout:function(){return this.client.request({uri:"/auth/logout",method:"POST"})}});var q6=rE,iE={exports:{}},W6=function(){var t=[];return{subscribe:n,publish:r};function n(i){return t.push(i),function(){var s=t.indexOf(i);s>-1&&t.splice(s,1)}}function r(){for(var i=0;i2?o-2:0),u=2;u=2&&(o=o.slice(2)):ei(r)?o=n[4]:r?i&&(o=o.slice(2)):s>=2&&ei(t.protocol)&&(o=n[4]),{protocol:r,slashes:i||ei(r),slashesCount:s,rest:o}}function r9(e,t){if(e==="")return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,i=n[r-1],a=!1,s=0;r--;)n[r]==="."?n.splice(r,1):n[r]===".."?(n.splice(r,1),s++):s&&(r===0&&(a=!0),n.splice(r,1),s--);return a&&n.unshift(""),(i==="."||i==="..")&&n.push(""),n.join("/")}function ri(e,t,n){if(e=Bp(e),e=e.replace(sE,""),!(this instanceof ri))return new ri(e,t,n);var r,i,a,s,o,l,u=_v.slice(),c=typeof t,d=this,f=0;for(c!=="object"&&c!=="string"&&(n=t,t=null),n&&typeof n!="function"&&(n=Vf.parse),t=lE(t),i=uE(e||"",t),r=!i.protocol&&!i.slashes,d.slashes=i.slashes||r&&t.slashes,d.protocol=i.protocol||t.protocol||"",e=i.rest,(i.protocol==="file:"&&(i.slashesCount!==2||n9.test(e))||!i.slashes&&(i.protocol||i.slashesCount<2||!ei(d.protocol)))&&(u[3]=[/(.*)/,"pathname"]);f"u"?!1:navigator.product==="ReactNative",u9=Object.prototype.hasOwnProperty,wv={timeout:l9?6e4:12e4},c9=function(e){var t=typeof e=="string"?sm({url:e},wv):sm({},wv,e),n=o9(t.url,{},!0);return t.timeout=cE(t.timeout),t.query&&(n.query=sm({},n.query,f9(t.query))),t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t.url=n.toString(d9),t};function d9(e){var t=[];for(var n in e)u9.call(e,n)&&r(n,e[n]);return t.length?t.join("&"):"";function r(i,a){Array.isArray(a)?a.forEach(function(s){return r(i,s)}):t.push([i,a].map(encodeURIComponent).join("="))}}function cE(e){if(e===!1||e===0)return!1;if(e.connect||e.socket)return e;var t=Number(e);return isNaN(t)?cE(wv.timeout):{connect:t,socket:t}}function f9(e){var t={};for(var n in e)e[n]!==void 0&&(t[n]=e[n]);return t}var h9=/^https?:\/\//i,m9=function(e){if(!h9.test(e.url))throw new Error('"'.concat(e.url,'" is not a valid URL'))},dE={exports:{}},E0=/^(?:(?:(?:([^:\/#\?]+:)?(?:(?:\/\/)((?:((?:[^:@\/#\?]+)(?:\:(?:[^:@\/#\?]+))?)@)?(([^:\/#\?\]\[]+|\[[^\/\]@#?]+\])(?:\:([0-9]+))?))?)?)?((?:\/?(?:[^\/\?#]+\/+)*)(?:[^\?#]*)))?(\?[^#]+)?)(#.*)?/,v9={regex:E0,parse:function(e){var t=E0.exec(e);return t?{protocol:(t[1]||"").toLowerCase()||void 0,hostname:(t[5]||"").toLowerCase()||void 0,port:t[6]||void 0}:{}}},T0=v9,g9=function(e,t,n){if(e===t)return!0;var r=T0.parse(e,!1,!0),i=T0.parse(t,!1,!0),a=r.port|0||(r.protocol==="https"?443:80),s=i.port|0||(i.protocol==="https"?443:80),o={proto:r.protocol===i.protocol,hostname:r.hostname===i.hostname,port:a===s};return o.proto&&o.hostname&&(o.port||n)};function Co(){this.readyState=0}Co.prototype.open=function(e,t){this._method=e,this._url=t,this._resHeaders="",this.readyState=1,this.onreadystatechange()};Co.prototype.abort=function(){this._controller&&this._controller.abort()};Co.prototype.getAllResponseHeaders=function(){return this._resHeaders};Co.prototype.setRequestHeader=function(e,t){this._headers=this._headers||{},this._headers[e]=t};Co.prototype.send=function(e){var t=this,n=this._controller=typeof AbortController=="function"&&new AbortController,r=this.responseType!=="arraybuffer",i={method:this._method,headers:this._headers,signal:n&&n.signal,body:e};typeof window<"u"&&(i.credentials=this.withCredentials?"include":"omit"),fetch(this._url,i).then(function(a){return a.headers.forEach(function(s,o){t._resHeaders+="".concat(o,": ").concat(s,`\r -`)}),t.status=a.status,t.statusText=a.statusText,t.readyState=3,r?a.text():a.arrayBuffer()}).then(function(a){r?t.responseText=a:t.response=a,t.readyState=4,t.onreadystatechange()}).catch(function(a){if(a.name==="AbortError"){t.onabort();return}t.onerror(a)})};var p9=Co,y9=g9,b9=FC,I0=p9,_9=function(){},Yi=typeof window>"u"?void 0:window,A0=Yi?"xhr":"fetch",Rf=typeof XMLHttpRequest=="function"?XMLHttpRequest:_9,w9="withCredentials"in new Rf,S9=typeof XDomainRequest>"u"?void 0:XDomainRequest,fE=w9?Rf:S9;Yi||(Rf=I0,fE=I0);var C9=function(e,t){var n=e.options,r=e.applyMiddleware("finalizeOptions",n),i={},a=Yi&&Yi.location&&!y9(Yi.location.href,r.url),s=e.applyMiddleware("interceptRequest",void 0,{adapter:A0,context:e});if(s){var o=setTimeout(t,0,null,s),l=function(){return clearTimeout(o)};return{abort:l}}var u=a?new fE:new Rf,c=Yi&&Yi.XDomainRequest&&u instanceof Yi.XDomainRequest,d=r.headers,f=r.timeout,h=!1,v=!1,g=!1;u.onerror=O,u.ontimeout=O,u.onabort=function(){V(!0),h=!0},u.onprogress=function(){};var y=c?"onload":"onreadystatechange";if(u[y]=function(){T(),!(h||u.readyState!==4&&!c)&&u.status!==0&&I()},u.open(r.method,r.url,!0),u.withCredentials=!!r.withCredentials,d&&u.setRequestHeader)for(var p in d)d.hasOwnProperty(p)&&u.setRequestHeader(p,d[p]);else if(d&&c)throw new Error("Headers cannot be set on an XDomainRequest object");return r.rawBody&&(u.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:r,adapter:A0,request:u,context:e}),u.send(r.body||null),f&&(i.connect=setTimeout(function(){return S("ETIMEDOUT")},f.connect)),{abort:b};function b(){h=!0,u&&u.abort()}function S(x){g=!0,u.abort();var $=new Error(x==="ESOCKETTIMEDOUT"?"Socket timed out on request to ".concat(r.url):"Connection timed out on request to ".concat(r.url));$.code=x,e.channels.error.publish($)}function T(){!f||(V(),i.socket=setTimeout(function(){return S("ESOCKETTIMEDOUT")},f.socket))}function V(x){(x||h||u.readyState>=2&&i.connect)&&clearTimeout(i.connect),i.socket&&clearTimeout(i.socket)}function O(x){if(!v){V(!0),v=!0,u=null;var $=x||new Error("Network error while attempting to reach ".concat(r.url));$.isNetworkError=!0,$.request=r,t($)}}function N(){var x=u.status,$=u.statusText;if(c&&x===void 0)x=200;else{if(x>12e3&&x<12156)return O();x=u.status===1223?204:u.status,$=u.status===1223?"No Content":$}return{body:u.response||u.responseText,url:r.url,method:r.method,headers:c?{}:b9(u.getAllResponseHeaders()),statusCode:x,statusMessage:$}}function I(){if(!(h||v||g)){if(u.status===0){O(new Error("Unknown XHR error"));return}V(),v=!0,t(null,N())}}};(function(e){e.exports=C9})(dE);var x9=W6,E9=G6,T9=c9,I9=m9,A9=dE.exports,k9=["request","response","progress","error","abort"],k0=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"],P9=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:A9,r=[],i=k0.reduce(function(s,o){return s[o]=s[o]||[],s},{processOptions:[T9],validateOptions:[I9]});function a(s){var o=k9.reduce(function(g,y){return g[y]=x9(),g},{}),l=E9(i),u=l("processOptions",s);l("validateOptions",u);var c={options:u,channels:o,applyMiddleware:l},d=null,f=o.request.subscribe(function(g){d=n(g,function(y,p){return v(y,p,g)})});o.abort.subscribe(function(){f(),d&&d.abort()});var h=l("onReturn",o,c);return h===o&&o.request.publish(c),h;function v(g,y,p){var b=g,S=y;if(!b)try{S=l("onResponse",y,p)}catch(T){S=null,b=T}b=b&&l("onError",b,p),b?o.error.publish(b):S&&o.response.publish(S)}}return a.use=function(o){if(!o)throw new Error("Tried to add middleware that resolved to falsey value");if(typeof o=="function")throw new Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(o.onReturn&&i.onReturn.length>0)throw new Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return k0.forEach(function(l){o[l]&&i[l].push(o[l])}),r.push(o),a},a.clone=function(){return e(r)},t.forEach(a.use),a};(function(e){e.exports=P9})(iE);var js={exports:{}};typeof globalThis<"u"?js.exports=globalThis:typeof window<"u"?js.exports=window:typeof En<"u"?js.exports=En:typeof self<"u"?js.exports=self:js.exports={};var V9=js.exports,P0=ln,R9=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.implementation||V9.Observable;if(!t)throw new Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:function(r,i){return new t(function(a){return r.error.subscribe(function(s){return a.error(s)}),r.progress.subscribe(function(s){return a.next(P0({type:"progress"},s))}),r.response.subscribe(function(s){a.next(P0({type:"response"},s)),a.complete()}),r.request.publish(i),function(){return r.abort.publish()}})}}};/*! - * isobject - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */var O9=function(t){return t!=null&&typeof t=="object"&&Array.isArray(t)===!1};/*! - * is-plain-object - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */var M9=O9;function V0(e){return M9(e)===!0&&Object.prototype.toString.call(e)==="[object Object]"}var D9=function(t){var n,r;return!(V0(t)===!1||(n=t.constructor,typeof n!="function")||(r=n.prototype,V0(r)===!1)||r.hasOwnProperty("isPrototypeOf")===!1)};function Sv(e){return Sv=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},Sv(e)}var R0=ln,$9=D9,N9=["boolean","string","number"],F9=function(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)},L9=function(){return{processOptions:function(t){var n=t.body;if(!n)return t;var r=typeof n.pipe=="function",i=!r&&!F9(n)&&(N9.indexOf(Sv(n))!==-1||Array.isArray(n)||$9(n));return i?R0({},t,{body:JSON.stringify(t.body),headers:R0({},t.headers,{"Content-Type":"application/json"})}):t}}},om=ln,B9=function(e){return{onResponse:function(n){var r=n.headers["content-type"]||"",i=e&&e.force||r.indexOf("application/json")!==-1;return!n.body||!r||!i?n:om({},n,{body:j9(n.body)})},processOptions:function(n){return om({},n,{headers:om({Accept:"application/json"},n.headers)})}}};function j9(e){try{return JSON.parse(e)}catch(t){throw t.message="Failed to parsed response body as JSON: ".concat(t.message),t}}var hE={exports:{}},U9=function(){return{onRequest:function(t){if(t.adapter!=="xhr")return;var n=t.request,r=t.context;"upload"in n&&"onprogress"in n.upload&&(n.upload.onprogress=i("upload")),"onprogress"in n&&(n.onprogress=i("download"));function i(a){return function(s){var o=s.lengthComputable?s.loaded/s.total*100:-1;r.channels.progress.publish({stage:a,percent:o,total:s.total,loaded:s.loaded,lengthComputable:s.lengthComputable})}}}}};(function(e){e.exports=U9})(hE);var jp={},Cv={exports:{}};(function(e,t){var n=typeof Reflect<"u"?Reflect.construct:void 0,r=Object.defineProperty,i=Error.captureStackTrace;i===void 0&&(i=function(u){var c=new Error;r(u,"stack",{configurable:!0,get:function(){var f=c.stack;return r(this,"stack",{configurable:!0,value:f,writable:!0}),f},set:function(f){r(u,"stack",{configurable:!0,value:f,writable:!0})}})});function a(l){l!==void 0&&r(this,"message",{configurable:!0,value:l,writable:!0});var u=this.constructor.name;u!==void 0&&u!==this.name&&r(this,"name",{configurable:!0,value:u,writable:!0}),i(this,this.constructor)}a.prototype=Object.create(Error.prototype,{constructor:{configurable:!0,value:a,writable:!0}});var s=function(){function l(c,d){return r(c,"name",{configurable:!0,value:d})}try{var u=function(){};if(l(u,"foo"),u.name==="foo")return l}catch{}}();function o(l,u){if(u==null||u===Error)u=a;else if(typeof u!="function")throw new TypeError("super_ should be a function");var c;if(typeof l=="string")c=l,l=n!==void 0?function(){return n(u,arguments,this.constructor)}:function(){u.apply(this,arguments)},s!==void 0&&(s(l,c),c=void 0);else if(typeof l!="function")throw new TypeError("constructor should be either a string or a function");l.super_=l.super=u;var d={constructor:{configurable:!0,value:l,writable:!0}};return c!==void 0&&(d.name={configurable:!0,value:c,writable:!0}),l.prototype=Object.create(u.prototype,d),l}t=e.exports=o,t.BaseError=a})(Cv,Cv.exports);var mE=Cv.exports,vE=ln;function Up(e){var t=gE(e);Up.super.call(this,t.message),vE(this,t)}function zp(e){var t=gE(e);zp.super.call(this,t.message),vE(this,t)}function gE(e){var t=e.body,n={response:e,statusCode:e.statusCode,responseBody:H9(t,e)};return t.error&&t.message?(n.message="".concat(t.error," - ").concat(t.message),n):t.error&&t.error.description?(n.message=t.error.description,n.details=t.error,n):(n.message=t.error||t.message||z9(e),n)}function z9(e){var t=e.statusMessage?" ".concat(e.statusMessage):"";return"".concat(e.method,"-request to ").concat(e.url," resulted in HTTP ").concat(e.statusCode).concat(t)}function H9(e,t){var n=(t.headers["content-type"]||"").toLowerCase(),r=n.indexOf("application/json")!==-1;return r?JSON.stringify(e,null,2):e}mE(Up);mE(zp);jp.ClientError=Up;jp.ServerError=zp;var q9=[],W9=iE.exports,G9=ln,K9=R9,Y9=L9,X9=B9,Q9=hE.exports,J9=xu,Z9=J9.Observable,pE=jp,yE=pE.ClientError,bE=pE.ServerError,eB={onResponse:function(t){if(t.statusCode>=500)throw new bE(t);if(t.statusCode>=400)throw new yE(t);return t}},tB={onResponse:function(t){var n=t.headers["x-sanity-warning"],r=Array.isArray(n)?n:[n];return r.filter(Boolean).forEach(function(i){return console.warn(i)}),t}},nB=q9,rB=nB.concat([tB,Y9(),X9(),Q9(),eB,K9({implementation:Z9})]),_E=W9(rB);function Of(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_E;return t(G9({maxRedirects:0},e))}Of.defaultRequester=_E;Of.ClientError=yE;Of.ServerError=bE;var iB=Of,O0=ln,aB="X-Sanity-Project-ID",sB=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n={},r=t.token||e.token;r&&(n.Authorization="Bearer ".concat(r)),!t.useGlobalApi&&!e.useProjectHostname&&e.projectId&&(n[aB]=e.projectId);var i=Boolean(typeof t.withCredentials>"u"?e.token||e.withCredentials:t.withCredentials),a=typeof t.timeout>"u"?e.timeout:t.timeout;return O0({},t,{headers:O0({},n,t.headers||{}),timeout:typeof a>"u"?5*60*1e3:a,proxy:t.proxy||e.proxy,json:!0,withCredentials:i})},wE={},oB="https://docs.sanity.io/help/",SE=function(t){return oB+t},Mf={},lB=function(e){var t=!1,n;return function(){return t||(n=e.apply(void 0,arguments),t=!0),n}},Hp=SE,uB=lB,qp=function(t){return uB(function(){for(var n,r=arguments.length,i=new Array(r),a=0;a"u"){var v=n("js-client-promise-polyfill");throw new Error("No native Promise-implementation found, polyfill needed - see ".concat(v))}if(h&&!f.projectId)throw new Error("Configuration must contain `projectId`");var g=typeof window<"u"&&window.location&&window.location.hostname,y=g&&l(window.location.hostname);g&&y&&f.token&&f.ignoreBrowserTokenWarning!==!0?i.printBrowserTokenWarning():typeof f.useCdn>"u"&&i.printCdnWarning(),h&&r.projectId(f.projectId),f.dataset&&r.dataset(f.dataset),"requestTagPrefix"in f&&(f.requestTagPrefix=f.requestTagPrefix?r.requestTag(f.requestTagPrefix).replace(/\.+$/,""):void 0),f.apiVersion="".concat(f.apiVersion).replace(/^v/,""),f.isDefaultApi=f.apiHost===s.apiHost,f.useCdn=Boolean(f.useCdn)&&!f.withCredentials,e.validateApiVersion(f.apiVersion);var p=f.apiHost.split("://",2),b=p[0],S=p[1],T=f.isDefaultApi?a:S;return f.useProjectHostname?(f.url="".concat(b,"://").concat(f.projectId,".").concat(S,"/v").concat(f.apiVersion),f.cdnUrl="".concat(b,"://").concat(f.projectId,".").concat(T,"/v").concat(f.apiVersion)):(f.url="".concat(f.apiHost,"/v").concat(f.apiVersion),f.cdnUrl=f.url),f},e.validateApiVersion=function(c){if(!(c==="1"||c==="X")){var d=new Date(c),f=/^\d{4}-\d{2}-\d{2}$/.test(c)&&d instanceof Date&&d.getTime()>0;if(!f)throw new Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}}})(wE);function M0(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 lm(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:CB;if(!(this instanceof Zn))return new Zn(e);if(this.config(e),this.assets=new bB(this),this.datasets=new pB(this),this.projects=new yB(this),this.users=new _B(this),this.auth=new wB(this),this.clientConfig.isPromiseAPI){var t=Ws({},this.clientConfig,{isPromiseAPI:!1});this.observable=new Zn(t)}}Ws(Zn.prototype,gB);Ws(Zn.prototype,{clone:function(){return new Zn(this.config())},config:function(t){if(typeof t>"u")return Ws({},this.clientConfig);if(this.clientConfig&&this.clientConfig.allowReconfigure===!1)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");if(this.observable){var n=Ws({},t,{isPromiseAPI:!1});this.observable.config(n)}return this.clientConfig=xB(t,this.clientConfig||{}),this},withConfig:function(t){return new Zn(lm(lm({},this.config()),t))},getUrl:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=n?this.clientConfig.cdnUrl:this.clientConfig.url;return"".concat(r,"/").concat(t.replace(/^\//,""))},isPromiseAPI:function(){return this.clientConfig.isPromiseAPI},_requestObservable:function(t){var n=this,r=t.url||t.uri,i=typeof t.canUseCdn>"u"?["GET","HEAD"].indexOf(t.method||"GET")>=0&&r.indexOf("/data/")===0:t.canUseCdn,a=this.clientConfig.useCdn&&i,s=t.tag&&this.clientConfig.requestTagPrefix?[this.clientConfig.requestTagPrefix,t.tag].join("."):t.tag||this.clientConfig.requestTagPrefix;s&&(t.query=lm({tag:EB.requestTag(s)},t.query));var o=SB(this.clientConfig,Ws({},t,{url:this.getUrl(r,a)}));return new dB(function(l){return Df(o,n.clientConfig.requester).subscribe(l)})},request:function(t){var n=this._requestObservable(t).pipe(hB(function(r){return r.type==="response"}),fB(function(r){return r.body}));return this.isPromiseAPI()?TB(n):n}});Zn.Patch=mB;Zn.Transaction=vB;Zn.ClientError=Df.ClientError;Zn.ServerError=Df.ServerError;Zn.requester=Df.defaultRequester;var D0=Zn;Ln({});function IB(){const e=pf();if(!e)throw new Error("You must call this from within a component");return e.proxy}const AB=Symbol("Sanity image URL builder"),kB=Symbol("Sanity client"),PB=Symbol("Sanity client for previews"),VB=Symbol("Default query options");function RB(e,t=!1,n={}){IB();const r=D0(e),i=xp(e);if(Rt(kB,r),Rt(AB,i),Rt(VB,n),t){const a=D0({...e,useCdn:!1,token:void 0,withCredentials:!0});Rt(PB,a)}}xp(kd);const xE="/assets/dragon1-2.de430711.png",EE="/assets/dragon2-2.3980c55e.png",TE="/assets/gavelium.8176a793.jpg";/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - *//** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const IE=function(e){const t=[];let n=0;for(let r=0;r>6|192,t[n++]=i&63|128):(i&64512)===55296&&r+1>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=i&63|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=i&63|128)}return t},OB=function(e){const t=[];let n=0,r=0;for(;n191&&i<224){const a=e[n++];t[r++]=String.fromCharCode((i&31)<<6|a&63)}else if(i>239&&i<365){const a=e[n++],s=e[n++],o=e[n++],l=((i&7)<<18|(a&63)<<12|(s&63)<<6|o&63)-65536;t[r++]=String.fromCharCode(55296+(l>>10)),t[r++]=String.fromCharCode(56320+(l&1023))}else{const a=e[n++],s=e[n++];t[r++]=String.fromCharCode((i&15)<<12|(a&63)<<6|s&63)}}return t.join("")},AE={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let i=0;i>2,d=(a&3)<<4|o>>4;let f=(o&15)<<2|u>>6,h=u&63;l||(h=64,s||(f=64)),r.push(n[c],n[d],n[f],n[h])}return r.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(IE(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):OB(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let i=0;i>4;if(r.push(f),u!==64){const h=o<<4&240|u>>2;if(r.push(h),d!==64){const v=u<<6&192|d;r.push(v)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};class MB extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const DB=function(e){const t=IE(e);return AE.encodeByteArray(t,!0)},Pd=function(e){return DB(e).replace(/\./g,"")},$B=function(e){try{return AE.decodeString(e,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};/** - * @license - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function NB(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}/** - * @license - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const FB=()=>NB().__FIREBASE_DEFAULTS__,LB=()=>{if(typeof process>"u"||typeof process.env>"u")return;const e=process.env.__FIREBASE_DEFAULTS__;if(e)return JSON.parse(e)},BB=()=>{if(typeof document>"u")return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const t=e&&$B(e[1]);return t&&JSON.parse(t)},kE=()=>{try{return FB()||LB()||BB()}catch(e){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);return}},jB=e=>{var t,n;return(n=(t=kE())===null||t===void 0?void 0:t.emulatorHosts)===null||n===void 0?void 0:n[e]},UB=e=>{const t=jB(e);if(!t)return;const n=t.lastIndexOf(":");if(n<=0||n+1===t.length)throw new Error(`Invalid host ${t} with no separate hostname and port!`);const r=parseInt(t.substring(n+1),10);return t[0]==="["?[t.substring(1,n-1),r]:[t.substring(0,n),r]},PE=()=>{var e;return(e=kE())===null||e===void 0?void 0:e.config};/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class zB{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}wrapCallback(t){return(n,r)=>{n?this.reject(n):this.resolve(r),typeof t=="function"&&(this.promise.catch(()=>{}),t.length===1?t(n):t(n,r))}}}/** - * @license - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function HB(e,t){if(e.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const n={alg:"none",type:"JWT"},r=t||"demo-project",i=e.iat||0,a=e.sub||e.user_id;if(!a)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const s=Object.assign({iss:`https://securetoken.google.com/${r}`,aud:r,iat:i,exp:i+3600,auth_time:i,sub:a,user_id:a,firebase:{sign_in_provider:"custom",identities:{}}},e),o="";return[Pd(JSON.stringify(n)),Pd(JSON.stringify(s)),o].join(".")}function qB(){try{return typeof indexedDB=="object"}catch{return!1}}function WB(){return new Promise((e,t)=>{try{let n=!0;const r="validate-browser-context-for-indexeddb-analytics-module",i=self.indexedDB.open(r);i.onsuccess=()=>{i.result.close(),n||self.indexedDB.deleteDatabase(r),e(!0)},i.onupgradeneeded=()=>{n=!1},i.onerror=()=>{var a;t(((a=i.error)===null||a===void 0?void 0:a.message)||"")}}catch(n){t(n)}})}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const GB="FirebaseError";class xo extends Error{constructor(t,n,r){super(n),this.code=t,this.customData=r,this.name=GB,Object.setPrototypeOf(this,xo.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,VE.prototype.create)}}class VE{constructor(t,n,r){this.service=t,this.serviceName=n,this.errors=r}create(t,...n){const r=n[0]||{},i=`${this.service}/${t}`,a=this.errors[t],s=a?KB(a,r):"Error",o=`${this.serviceName}: ${s} (${i}).`;return new xo(i,o,r)}}function KB(e,t){return e.replace(YB,(n,r)=>{const i=t[r];return i!=null?String(i):`<${r}?>`})}const YB=/\{\$([^}]+)}/g;function xv(e,t){if(e===t)return!0;const n=Object.keys(e),r=Object.keys(t);for(const i of n){if(!r.includes(i))return!1;const a=e[i],s=t[i];if($0(a)&&$0(s)){if(!xv(a,s))return!1}else if(a!==s)return!1}for(const i of r)if(!n.includes(i))return!1;return!0}function $0(e){return e!==null&&typeof e=="object"}/** - * @license - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function zl(e){return e&&e._delegate?e._delegate:e}class Hl{constructor(t,n,r){this.name=t,this.instanceFactory=n,this.type=r,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const Fa="[DEFAULT]";/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class XB{constructor(t,n){this.name=t,this.container=n,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(t){const n=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(n)){const r=new zB;if(this.instancesDeferred.set(n,r),this.isInitialized(n)||this.shouldAutoInitialize())try{const i=this.getOrInitializeService({instanceIdentifier:n});i&&r.resolve(i)}catch{}}return this.instancesDeferred.get(n).promise}getImmediate(t){var n;const r=this.normalizeInstanceIdentifier(t==null?void 0:t.identifier),i=(n=t==null?void 0:t.optional)!==null&&n!==void 0?n:!1;if(this.isInitialized(r)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:r})}catch(a){if(i)return null;throw a}else{if(i)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(t){if(t.name!==this.name)throw Error(`Mismatching Component ${t.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=t,!!this.shouldAutoInitialize()){if(JB(t))try{this.getOrInitializeService({instanceIdentifier:Fa})}catch{}for(const[n,r]of this.instancesDeferred.entries()){const i=this.normalizeInstanceIdentifier(n);try{const a=this.getOrInitializeService({instanceIdentifier:i});r.resolve(a)}catch{}}}}clearInstance(t=Fa){this.instancesDeferred.delete(t),this.instancesOptions.delete(t),this.instances.delete(t)}async delete(){const t=Array.from(this.instances.values());await Promise.all([...t.filter(n=>"INTERNAL"in n).map(n=>n.INTERNAL.delete()),...t.filter(n=>"_delete"in n).map(n=>n._delete())])}isComponentSet(){return this.component!=null}isInitialized(t=Fa){return this.instances.has(t)}getOptions(t=Fa){return this.instancesOptions.get(t)||{}}initialize(t={}){const{options:n={}}=t,r=this.normalizeInstanceIdentifier(t.instanceIdentifier);if(this.isInitialized(r))throw Error(`${this.name}(${r}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const i=this.getOrInitializeService({instanceIdentifier:r,options:n});for(const[a,s]of this.instancesDeferred.entries()){const o=this.normalizeInstanceIdentifier(a);r===o&&s.resolve(i)}return i}onInit(t,n){var r;const i=this.normalizeInstanceIdentifier(n),a=(r=this.onInitCallbacks.get(i))!==null&&r!==void 0?r:new Set;a.add(t),this.onInitCallbacks.set(i,a);const s=this.instances.get(i);return s&&t(s,i),()=>{a.delete(t)}}invokeOnInitCallbacks(t,n){const r=this.onInitCallbacks.get(n);if(!!r)for(const i of r)try{i(t,n)}catch{}}getOrInitializeService({instanceIdentifier:t,options:n={}}){let r=this.instances.get(t);if(!r&&this.component&&(r=this.component.instanceFactory(this.container,{instanceIdentifier:QB(t),options:n}),this.instances.set(t,r),this.instancesOptions.set(t,n),this.invokeOnInitCallbacks(r,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,r)}catch{}return r||null}normalizeInstanceIdentifier(t=Fa){return this.component?this.component.multipleInstances?t:Fa:t}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}}function QB(e){return e===Fa?void 0:e}function JB(e){return e.instantiationMode==="EAGER"}/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class ZB{constructor(t){this.name=t,this.providers=new Map}addComponent(t){const n=this.getProvider(t.name);if(n.isComponentSet())throw new Error(`Component ${t.name} has already been registered with ${this.name}`);n.setComponent(t)}addOrOverwriteComponent(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)}getProvider(t){if(this.providers.has(t))return this.providers.get(t);const n=new XB(t,this);return this.providers.set(t,n),n}getProviders(){return Array.from(this.providers.values())}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */var ct;(function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"})(ct||(ct={}));const e7={debug:ct.DEBUG,verbose:ct.VERBOSE,info:ct.INFO,warn:ct.WARN,error:ct.ERROR,silent:ct.SILENT},t7=ct.INFO,n7={[ct.DEBUG]:"log",[ct.VERBOSE]:"log",[ct.INFO]:"info",[ct.WARN]:"warn",[ct.ERROR]:"error"},r7=(e,t,...n)=>{if(tt.some(n=>e instanceof n);let N0,F0;function a7(){return N0||(N0=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function s7(){return F0||(F0=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const OE=new WeakMap,Ev=new WeakMap,ME=new WeakMap,um=new WeakMap,Gp=new WeakMap;function o7(e){const t=new Promise((n,r)=>{const i=()=>{e.removeEventListener("success",a),e.removeEventListener("error",s)},a=()=>{n(ta(e.result)),i()},s=()=>{r(e.error),i()};e.addEventListener("success",a),e.addEventListener("error",s)});return t.then(n=>{n instanceof IDBCursor&&OE.set(n,e)}).catch(()=>{}),Gp.set(t,e),t}function l7(e){if(Ev.has(e))return;const t=new Promise((n,r)=>{const i=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",s),e.removeEventListener("abort",s)},a=()=>{n(),i()},s=()=>{r(e.error||new DOMException("AbortError","AbortError")),i()};e.addEventListener("complete",a),e.addEventListener("error",s),e.addEventListener("abort",s)});Ev.set(e,t)}let Tv={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return Ev.get(e);if(t==="objectStoreNames")return e.objectStoreNames||ME.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return ta(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function u7(e){Tv=e(Tv)}function c7(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const r=e.call(cm(this),t,...n);return ME.set(r,t.sort?t.sort():[t]),ta(r)}:s7().includes(e)?function(...t){return e.apply(cm(this),t),ta(OE.get(this))}:function(...t){return ta(e.apply(cm(this),t))}}function d7(e){return typeof e=="function"?c7(e):(e instanceof IDBTransaction&&l7(e),i7(e,a7())?new Proxy(e,Tv):e)}function ta(e){if(e instanceof IDBRequest)return o7(e);if(um.has(e))return um.get(e);const t=d7(e);return t!==e&&(um.set(e,t),Gp.set(t,e)),t}const cm=e=>Gp.get(e);function f7(e,t,{blocked:n,upgrade:r,blocking:i,terminated:a}={}){const s=indexedDB.open(e,t),o=ta(s);return r&&s.addEventListener("upgradeneeded",l=>{r(ta(s.result),l.oldVersion,l.newVersion,ta(s.transaction),l)}),n&&s.addEventListener("blocked",l=>n(l.oldVersion,l.newVersion,l)),o.then(l=>{a&&l.addEventListener("close",()=>a()),i&&l.addEventListener("versionchange",u=>i(u.oldVersion,u.newVersion,u))}).catch(()=>{}),o}const h7=["get","getKey","getAll","getAllKeys","count"],m7=["put","add","delete","clear"],dm=new Map;function L0(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(dm.get(t))return dm.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,i=m7.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(i||h7.includes(n)))return;const a=async function(s,...o){const l=this.transaction(s,i?"readwrite":"readonly");let u=l.store;return r&&(u=u.index(o.shift())),(await Promise.all([u[n](...o),i&&l.done]))[0]};return dm.set(t,a),a}u7(e=>({...e,get:(t,n,r)=>L0(t,n)||e.get(t,n,r),has:(t,n)=>!!L0(t,n)||e.has(t,n)}));/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class v7{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(n=>{if(g7(n)){const r=n.getImmediate();return`${r.library}/${r.version}`}else return null}).filter(n=>n).join(" ")}}function g7(e){const t=e.getComponent();return(t==null?void 0:t.type)==="VERSION"}const Iv="@firebase/app",B0="0.9.17";/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const rs=new RE("@firebase/app"),p7="@firebase/app-compat",y7="@firebase/analytics-compat",b7="@firebase/analytics",_7="@firebase/app-check-compat",w7="@firebase/app-check",S7="@firebase/auth",C7="@firebase/auth-compat",x7="@firebase/database",E7="@firebase/database-compat",T7="@firebase/functions",I7="@firebase/functions-compat",A7="@firebase/installations",k7="@firebase/installations-compat",P7="@firebase/messaging",V7="@firebase/messaging-compat",R7="@firebase/performance",O7="@firebase/performance-compat",M7="@firebase/remote-config",D7="@firebase/remote-config-compat",$7="@firebase/storage",N7="@firebase/storage-compat",F7="@firebase/firestore",L7="@firebase/firestore-compat",B7="firebase",j7="10.3.0";/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const Av="[DEFAULT]",U7={[Iv]:"fire-core",[p7]:"fire-core-compat",[b7]:"fire-analytics",[y7]:"fire-analytics-compat",[w7]:"fire-app-check",[_7]:"fire-app-check-compat",[S7]:"fire-auth",[C7]:"fire-auth-compat",[x7]:"fire-rtdb",[E7]:"fire-rtdb-compat",[T7]:"fire-fn",[I7]:"fire-fn-compat",[A7]:"fire-iid",[k7]:"fire-iid-compat",[P7]:"fire-fcm",[V7]:"fire-fcm-compat",[R7]:"fire-perf",[O7]:"fire-perf-compat",[M7]:"fire-rc",[D7]:"fire-rc-compat",[$7]:"fire-gcs",[N7]:"fire-gcs-compat",[F7]:"fire-fst",[L7]:"fire-fst-compat","fire-js":"fire-js",[B7]:"fire-js-all"};/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const Vd=new Map,kv=new Map;function z7(e,t){try{e.container.addComponent(t)}catch(n){rs.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,n)}}function Rd(e){const t=e.name;if(kv.has(t))return rs.debug(`There were multiple attempts to register component ${t}.`),!1;kv.set(t,e);for(const n of Vd.values())z7(n,e);return!0}function H7(e,t){const n=e.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),e.container.getProvider(t)}/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const q7={["no-app"]:"No Firebase App '{$appName}' has been created - call initializeApp() first",["bad-app-name"]:"Illegal App name: '{$appName}",["duplicate-app"]:"Firebase App named '{$appName}' already exists with different options or config",["app-deleted"]:"Firebase App named '{$appName}' already deleted",["no-options"]:"Need to provide options, when not being deployed to hosting via source.",["invalid-app-argument"]:"firebase.{$appName}() takes either no argument or a Firebase App instance.",["invalid-log-argument"]:"First argument to `onLog` must be null or a function.",["idb-open"]:"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.",["idb-get"]:"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.",["idb-set"]:"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.",["idb-delete"]:"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."},na=new VE("app","Firebase",q7);/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class W7{constructor(t,n,r){this._isDeleted=!1,this._options=Object.assign({},t),this._config=Object.assign({},n),this._name=n.name,this._automaticDataCollectionEnabled=n.automaticDataCollectionEnabled,this._container=r,this.container.addComponent(new Hl("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(t){this.checkDestroyed(),this._automaticDataCollectionEnabled=t}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}checkDestroyed(){if(this.isDeleted)throw na.create("app-deleted",{appName:this._name})}}/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const G7=j7;function $f(e,t={}){let n=e;typeof t!="object"&&(t={name:t});const r=Object.assign({name:Av,automaticDataCollectionEnabled:!1},t),i=r.name;if(typeof i!="string"||!i)throw na.create("bad-app-name",{appName:String(i)});if(n||(n=PE()),!n)throw na.create("no-options");const a=Vd.get(i);if(a){if(xv(n,a.options)&&xv(r,a.config))return a;throw na.create("duplicate-app",{appName:i})}const s=new ZB(i);for(const l of kv.values())s.addComponent(l);const o=new W7(n,r,s);return Vd.set(i,o),o}function K7(e=Av){const t=Vd.get(e);if(!t&&e===Av&&PE())return $f();if(!t)throw na.create("no-app",{appName:e});return t}function to(e,t,n){var r;let i=(r=U7[e])!==null&&r!==void 0?r:e;n&&(i+=`-${n}`);const a=i.match(/\s|\//),s=t.match(/\s|\//);if(a||s){const o=[`Unable to register library "${i}" with version "${t}":`];a&&o.push(`library name "${i}" contains illegal characters (whitespace or "/")`),a&&s&&o.push("and"),s&&o.push(`version name "${t}" contains illegal characters (whitespace or "/")`),rs.warn(o.join(" "));return}Rd(new Hl(`${i}-version`,()=>({library:i,version:t}),"VERSION"))}/** - * @license - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const Y7="firebase-heartbeat-database",X7=1,ql="firebase-heartbeat-store";let fm=null;function DE(){return fm||(fm=f7(Y7,X7,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(ql)}}}).catch(e=>{throw na.create("idb-open",{originalErrorMessage:e.message})})),fm}async function Q7(e){try{return await(await DE()).transaction(ql).objectStore(ql).get($E(e))}catch(t){if(t instanceof xo)rs.warn(t.message);else{const n=na.create("idb-get",{originalErrorMessage:t==null?void 0:t.message});rs.warn(n.message)}}}async function j0(e,t){try{const r=(await DE()).transaction(ql,"readwrite");await r.objectStore(ql).put(t,$E(e)),await r.done}catch(n){if(n instanceof xo)rs.warn(n.message);else{const r=na.create("idb-set",{originalErrorMessage:n==null?void 0:n.message});rs.warn(r.message)}}}function $E(e){return`${e.name}!${e.options.appId}`}/** - * @license - * Copyright 2021 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const J7=1024,Z7=30*24*60*60*1e3;class ej{constructor(t){this.container=t,this._heartbeatsCache=null;const n=this.container.getProvider("app").getImmediate();this._storage=new nj(n),this._heartbeatsCachePromise=this._storage.read().then(r=>(this._heartbeatsCache=r,r))}async triggerHeartbeat(){const n=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),r=U0();if(this._heartbeatsCache===null&&(this._heartbeatsCache=await this._heartbeatsCachePromise),!(this._heartbeatsCache.lastSentHeartbeatDate===r||this._heartbeatsCache.heartbeats.some(i=>i.date===r)))return this._heartbeatsCache.heartbeats.push({date:r,agent:n}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(i=>{const a=new Date(i.date).valueOf();return Date.now()-a<=Z7}),this._storage.overwrite(this._heartbeatsCache)}async getHeartbeatsHeader(){if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,this._heartbeatsCache===null||this._heartbeatsCache.heartbeats.length===0)return"";const t=U0(),{heartbeatsToSend:n,unsentEntries:r}=tj(this._heartbeatsCache.heartbeats),i=Pd(JSON.stringify({version:2,heartbeats:n}));return this._heartbeatsCache.lastSentHeartbeatDate=t,r.length>0?(this._heartbeatsCache.heartbeats=r,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),i}}function U0(){return new Date().toISOString().substring(0,10)}function tj(e,t=J7){const n=[];let r=e.slice();for(const i of e){const a=n.find(s=>s.agent===i.agent);if(a){if(a.dates.push(i.date),z0(n)>t){a.dates.pop();break}}else if(n.push({agent:i.agent,dates:[i.date]}),z0(n)>t){n.pop();break}r=r.slice(1)}return{heartbeatsToSend:n,unsentEntries:r}}class nj{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return qB()?WB().then(()=>!0).catch(()=>!1):!1}async read(){return await this._canUseIndexedDBPromise?await Q7(this.app)||{heartbeats:[]}:{heartbeats:[]}}async overwrite(t){var n;if(await this._canUseIndexedDBPromise){const i=await this.read();return j0(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:i.lastSentHeartbeatDate,heartbeats:t.heartbeats})}else return}async add(t){var n;if(await this._canUseIndexedDBPromise){const i=await this.read();return j0(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:i.lastSentHeartbeatDate,heartbeats:[...i.heartbeats,...t.heartbeats]})}else return}}function z0(e){return Pd(JSON.stringify({version:2,heartbeats:e})).length}/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function rj(e){Rd(new Hl("platform-logger",t=>new v7(t),"PRIVATE")),Rd(new Hl("heartbeat",t=>new ej(t),"PRIVATE")),to(Iv,B0,e),to(Iv,B0,"esm2017"),to("fire-js","")}rj("");var ij="firebase",aj="10.3.0";/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */to(ij,aj,"app");var sj=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ce,Kp=Kp||{},Ue=sj||self;function Nf(e){var t=typeof e;return t=t!="object"?t:e?Array.isArray(e)?"array":t:"null",t=="array"||t=="object"&&typeof e.length=="number"}function Eu(e){var t=typeof e;return t=="object"&&e!=null||t=="function"}function oj(e){return Object.prototype.hasOwnProperty.call(e,hm)&&e[hm]||(e[hm]=++lj)}var hm="closure_uid_"+(1e9*Math.random()>>>0),lj=0;function uj(e,t,n){return e.call.apply(e.bind,arguments)}function cj(e,t,n){if(!e)throw Error();if(2{},t),Ue.removeEventListener("test",()=>{},t)}catch{}return e}();function Wl(e){return/^[\s\xa0]*$/.test(e)}function Ff(){var e=Ue.navigator;return e&&(e=e.userAgent)?e:""}function Yr(e){return Ff().indexOf(e)!=-1}function Xp(e){return Xp[" "](e),e}Xp[" "]=function(){};function hj(e,t){var n=a8;return Object.prototype.hasOwnProperty.call(n,e)?n[e]:n[e]=t(e)}var mj=Yr("Opera"),oo=Yr("Trident")||Yr("MSIE"),FE=Yr("Edge"),Pv=FE||oo,LE=Yr("Gecko")&&!(Ff().toLowerCase().indexOf("webkit")!=-1&&!Yr("Edge"))&&!(Yr("Trident")||Yr("MSIE"))&&!Yr("Edge"),vj=Ff().toLowerCase().indexOf("webkit")!=-1&&!Yr("Edge");function BE(){var e=Ue.document;return e?e.documentMode:void 0}var Vv;e:{var mm="",vm=function(){var e=Ff();if(LE)return/rv:([^\);]+)(\)|;)/.exec(e);if(FE)return/Edge\/([\d\.]+)/.exec(e);if(oo)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(e);if(vj)return/WebKit\/(\S+)/.exec(e);if(mj)return/(?:Version)[ \/]?(\S+)/.exec(e)}();if(vm&&(mm=vm?vm[1]:""),oo){var gm=BE();if(gm!=null&&gm>parseFloat(mm)){Vv=String(gm);break e}}Vv=mm}var Rv;if(Ue.document&&oo){var q0=BE();Rv=q0||parseInt(Vv,10)||void 0}else Rv=void 0;var gj=Rv;function Gl(e,t){if(kn.call(this,e?e.type:""),this.relatedTarget=this.g=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.i=null,e){var n=this.type=e.type,r=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:null;if(this.target=e.target||e.srcElement,this.g=t,t=e.relatedTarget){if(LE){e:{try{Xp(t.nodeName);var i=!0;break e}catch{}i=!1}i||(t=null)}}else n=="mouseover"?t=e.fromElement:n=="mouseout"&&(t=e.toElement);this.relatedTarget=t,r?(this.clientX=r.clientX!==void 0?r.clientX:r.pageX,this.clientY=r.clientY!==void 0?r.clientY:r.pageY,this.screenX=r.screenX||0,this.screenY=r.screenY||0):(this.clientX=e.clientX!==void 0?e.clientX:e.pageX,this.clientY=e.clientY!==void 0?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0),this.button=e.button,this.key=e.key||"",this.ctrlKey=e.ctrlKey,this.altKey=e.altKey,this.shiftKey=e.shiftKey,this.metaKey=e.metaKey,this.pointerId=e.pointerId||0,this.pointerType=typeof e.pointerType=="string"?e.pointerType:pj[e.pointerType]||"",this.state=e.state,this.i=e,e.defaultPrevented&&Gl.$.h.call(this)}}un(Gl,kn);var pj={2:"touch",3:"pen",4:"mouse"};Gl.prototype.h=function(){Gl.$.h.call(this);var e=this.i;e.preventDefault?e.preventDefault():e.returnValue=!1};var Tu="closure_listenable_"+(1e6*Math.random()|0),yj=0;function bj(e,t,n,r,i){this.listener=e,this.proxy=null,this.src=t,this.type=n,this.capture=!!r,this.la=i,this.key=++yj,this.fa=this.ia=!1}function Lf(e){e.fa=!0,e.listener=null,e.proxy=null,e.src=null,e.la=null}function Qp(e,t,n){for(const r in e)t.call(n,e[r],r,e)}function _j(e,t){for(const n in e)t.call(void 0,e[n],n,e)}function jE(e){const t={};for(const n in e)t[n]=e[n];return t}const W0="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function UE(e,t){let n,r;for(let i=1;i>>0);function ty(e){return typeof e=="function"?e:(e[ym]||(e[ym]=function(t){return e.handleEvent(t)}),e[ym])}function on(){ma.call(this),this.i=new Bf(this),this.S=this,this.J=null}un(on,ma);on.prototype[Tu]=!0;on.prototype.removeEventListener=function(e,t,n,r){WE(this,e,t,n,r)};function vn(e,t){var n,r=e.J;if(r)for(n=[];r;r=r.J)n.push(r);if(e=e.S,r=t.type||t,typeof t=="string")t=new kn(t,e);else if(t instanceof kn)t.target=t.target||e;else{var i=t;t=new kn(r,e),UE(t,i)}if(i=!0,n)for(var a=n.length-1;0<=a;a--){var s=t.g=n[a];i=cc(s,r,!0,t)&&i}if(s=t.g=e,i=cc(s,r,!0,t)&&i,i=cc(s,r,!1,t)&&i,n)for(a=0;anew Tj,e=>e.reset());class Tj{constructor(){this.next=this.g=this.h=null}set(t,n){this.h=t,this.g=n,this.next=null}reset(){this.next=this.g=this.h=null}}function Ij(e){var t=1;e=e.split(":");const n=[];for(;0{throw e},0)}let Kl,Yl=!1,ry=new Ej,YE=()=>{const e=Ue.Promise.resolve(void 0);Kl=()=>{e.then(kj)}};var kj=()=>{for(var e;e=xj();){try{e.h.call(e.g)}catch(n){Aj(n)}var t=KE;t.j(e),100>t.h&&(t.h++,e.next=t.g,t.g=e)}Yl=!1};function jf(e,t){on.call(this),this.h=e||1,this.g=t||Ue,this.j=An(this.qb,this),this.l=Date.now()}un(jf,on);Ce=jf.prototype;Ce.ga=!1;Ce.T=null;Ce.qb=function(){if(this.ga){var e=Date.now()-this.l;0{e.g=null,e.i&&(e.i=!1,XE(e))},e.j);const t=e.h;e.h=null,e.m.apply(null,t)}class Pj extends ma{constructor(t,n){super(),this.m=t,this.j=n,this.h=null,this.i=!1,this.g=null}l(t){this.h=arguments,this.g?this.i=!0:XE(this)}N(){super.N(),this.g&&(Ue.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)}}function Xl(e){ma.call(this),this.h=e,this.g={}}un(Xl,ma);var G0=[];function QE(e,t,n,r){Array.isArray(n)||(n&&(G0[0]=n.toString()),n=G0);for(var i=0;ir.length)){var i=r[1];if(Array.isArray(i)&&!(1>i.length)){var a=i[0];if(a!="noop"&&a!="stop"&&a!="close")for(var s=1;sc)&&(c!=3||Pv||this.g&&(this.h.h||this.g.ja()||Z0(this.g)))){this.J||c!=4||t==7||(t==8||0>=d?Ql(3):Ql(2)),Wf(this);var n=this.g.da();this.ca=n;t:if(sT(this)){var r=Z0(this.g);e="";var i=r.length,a=Qr(this.g)==4;if(!this.h.i){if(typeof TextDecoder>"u"){Ha(this),wl(this);var s="";break t}this.h.i=new Ue.TextDecoder}for(t=0;tt.length?Od:(t=t.slice(r,r+n),e.C=r+n,t)))}Ce.cancel=function(){this.J=!0,Ha(this)};function Pu(e){e.Y=Date.now()+e.P,lT(e,e.P)}function lT(e,t){if(e.B!=null)throw Error("WatchDog timer not null");e.B=Iu(An(e.lb,e),t)}function Wf(e){e.B&&(Ue.clearTimeout(e.B),e.B=null)}Ce.lb=function(){this.B=null;const e=Date.now();0<=e-this.Y?(Oj(this.j,this.A),this.L!=2&&(Ql(),jn(17)),Ha(this),this.o=2,wl(this)):lT(this,this.Y-e)};function wl(e){e.l.H==0||e.J||PT(e.l,e)}function Ha(e){Wf(e);var t=e.M;t&&typeof t.sa=="function"&&t.sa(),e.M=null,iy(e.V),JE(e.U),e.g&&(t=e.g,e.g=null,t.abort(),t.sa())}function Fv(e,t){try{var n=e.l;if(n.H!=0&&(n.g==e||Lv(n.i,e))){if(!e.K&&Lv(n.i,e)&&n.H==3){try{var r=n.Ja.g.parse(t)}catch{r=null}if(Array.isArray(r)&&r.length==3){var i=r;if(i[0]==0){e:if(!n.u){if(n.g)if(n.g.G+3e3i[2]&&n.G&&n.A==0&&!n.v&&(n.v=Iu(An(n.ib,n),6e3));if(1>=gT(n.i)&&n.oa){try{n.oa()}catch{}n.oa=void 0}}else qa(n,11)}else if((e.K||n.g==e)&&$d(n),!Wl(t))for(i=n.Ja.g.parse(t),t=0;tt)throw Error("Bad port number "+t);e.m=t}else e.m=null}function X0(e,t,n){t instanceof Jl?(e.i=t,qj(e.i,e.h)):(n||(t=al(t,zj)),e.i=new Jl(t,e.h))}function xt(e,t,n){e.i.set(t,n)}function Gf(e){return xt(e,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)),e}function il(e,t){return e?t?decodeURI(e.replace(/%25/g,"%2525")):decodeURIComponent(e):""}function al(e,t,n){return typeof e=="string"?(e=encodeURI(e).replace(t,Bj),n&&(e=e.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e):null}function Bj(e){return e=e.charCodeAt(0),"%"+(e>>4&15).toString(16)+(e&15).toString(16)}var Q0=/[#\/\?@]/g,jj=/[#\?:]/g,Uj=/[#\?]/g,zj=/[#\?@]/g,Hj=/#/g;function Jl(e,t){this.h=this.g=null,this.i=e||null,this.j=!!t}function va(e){e.g||(e.g=new Map,e.h=0,e.i&&Lj(e.i,function(t,n){e.add(decodeURIComponent(t.replace(/\+/g," ")),n)}))}Ce=Jl.prototype;Ce.add=function(e,t){va(this),this.i=null,e=Eo(this,e);var n=this.g.get(e);return n||this.g.set(e,n=[]),n.push(t),this.h+=1,this};function dT(e,t){va(e),t=Eo(e,t),e.g.has(t)&&(e.i=null,e.h-=e.g.get(t).length,e.g.delete(t))}function fT(e,t){return va(e),t=Eo(e,t),e.g.has(t)}Ce.forEach=function(e,t){va(this),this.g.forEach(function(n,r){n.forEach(function(i){e.call(t,i,r,this)},this)},this)};Ce.ta=function(){va(this);const e=Array.from(this.g.values()),t=Array.from(this.g.keys()),n=[];for(let r=0;r=e.j:!1}function gT(e){return e.h?1:e.g?e.g.size:0}function Lv(e,t){return e.h?e.h==t:e.g?e.g.has(t):!1}function uy(e,t){e.g?e.g.add(t):e.h=t}function pT(e,t){e.h&&e.h==t?e.h=null:e.g&&e.g.has(t)&&e.g.delete(t)}mT.prototype.cancel=function(){if(this.i=yT(this),this.h)this.h.cancel(),this.h=null;else if(this.g&&this.g.size!==0){for(const e of this.g.values())e.cancel();this.g.clear()}};function yT(e){if(e.h!=null)return e.i.concat(e.h.F);if(e.g!=null&&e.g.size!==0){let t=e.i;for(const n of e.g.values())t=t.concat(n.F);return t}return Yp(e.i)}var Kj=class{stringify(e){return Ue.JSON.stringify(e,void 0)}parse(e){return Ue.JSON.parse(e,void 0)}};function Yj(){this.g=new Kj}function Xj(e,t,n){const r=n||"";try{uT(e,function(i,a){let s=i;Eu(i)&&(s=ny(i)),t.push(r+a+"="+encodeURIComponent(s))})}catch(i){throw t.push(r+"type="+encodeURIComponent("_badmap")),i}}function Qj(e,t){const n=new Uf;if(Ue.Image){const r=new Image;r.onload=uc(dc,n,r,"TestLoadImage: loaded",!0,t),r.onerror=uc(dc,n,r,"TestLoadImage: error",!1,t),r.onabort=uc(dc,n,r,"TestLoadImage: abort",!1,t),r.ontimeout=uc(dc,n,r,"TestLoadImage: timeout",!1,t),Ue.setTimeout(function(){r.ontimeout&&r.ontimeout()},1e4),r.src=e}else t(!1)}function dc(e,t,n,r,i){try{t.onload=null,t.onerror=null,t.onabort=null,t.ontimeout=null,i(r)}catch{}}function Kf(e){this.l=e.fc||null,this.j=e.ob||!1}un(Kf,sy);Kf.prototype.g=function(){return new Yf(this.l,this.j)};Kf.prototype.i=function(e){return function(){return e}}({});function Yf(e,t){on.call(this),this.F=e,this.u=t,this.m=void 0,this.readyState=cy,this.status=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.v=new Headers,this.h=null,this.C="GET",this.B="",this.g=!1,this.A=this.j=this.l=null}un(Yf,on);var cy=0;Ce=Yf.prototype;Ce.open=function(e,t){if(this.readyState!=cy)throw this.abort(),Error("Error reopening a connection");this.C=e,this.B=t,this.readyState=1,Zl(this)};Ce.send=function(e){if(this.readyState!=1)throw this.abort(),Error("need to call open() first. ");this.g=!0;const t={headers:this.v,method:this.C,credentials:this.m,cache:void 0};e&&(t.body=e),(this.F||Ue).fetch(new Request(this.B,t)).then(this.$a.bind(this),this.ka.bind(this))};Ce.abort=function(){this.response=this.responseText="",this.v=new Headers,this.status=0,this.j&&this.j.cancel("Request was aborted.").catch(()=>{}),1<=this.readyState&&this.g&&this.readyState!=4&&(this.g=!1,Vu(this)),this.readyState=cy};Ce.$a=function(e){if(this.g&&(this.l=e,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=e.headers,this.readyState=2,Zl(this)),this.g&&(this.readyState=3,Zl(this),this.g)))if(this.responseType==="arraybuffer")e.arrayBuffer().then(this.Ya.bind(this),this.ka.bind(this));else if(typeof Ue.ReadableStream<"u"&&"body"in e){if(this.j=e.body.getReader(),this.u){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.A=new TextDecoder;bT(this)}else e.text().then(this.Za.bind(this),this.ka.bind(this))};function bT(e){e.j.read().then(e.Xa.bind(e)).catch(e.ka.bind(e))}Ce.Xa=function(e){if(this.g){if(this.u&&e.value)this.response.push(e.value);else if(!this.u){var t=e.value?e.value:new Uint8Array(0);(t=this.A.decode(t,{stream:!e.done}))&&(this.response=this.responseText+=t)}e.done?Vu(this):Zl(this),this.readyState==3&&bT(this)}};Ce.Za=function(e){this.g&&(this.response=this.responseText=e,Vu(this))};Ce.Ya=function(e){this.g&&(this.response=e,Vu(this))};Ce.ka=function(){this.g&&Vu(this)};function Vu(e){e.readyState=4,e.l=null,e.j=null,e.A=null,Zl(e)}Ce.setRequestHeader=function(e,t){this.v.append(e,t)};Ce.getResponseHeader=function(e){return this.h&&this.h.get(e.toLowerCase())||""};Ce.getAllResponseHeaders=function(){if(!this.h)return"";const e=[],t=this.h.entries();for(var n=t.next();!n.done;)n=n.value,e.push(n[0]+": "+n[1]),n=t.next();return e.join(`\r -`)};function Zl(e){e.onreadystatechange&&e.onreadystatechange.call(e)}Object.defineProperty(Yf.prototype,"withCredentials",{get:function(){return this.m==="include"},set:function(e){this.m=e?"include":"same-origin"}});var Jj=Ue.JSON.parse;function Nt(e){on.call(this),this.headers=new Map,this.u=e||null,this.h=!1,this.C=this.g=null,this.I="",this.m=0,this.j="",this.l=this.G=this.v=this.F=!1,this.B=0,this.A=null,this.K=_T,this.L=this.M=!1}un(Nt,on);var _T="",Zj=/^https?$/i,e8=["POST","PUT"];Ce=Nt.prototype;Ce.Oa=function(e){this.M=e};Ce.ha=function(e,t,n,r){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.I+"; newUri="+e);t=t?t.toUpperCase():"GET",this.I=e,this.j="",this.m=0,this.F=!1,this.h=!0,this.g=this.u?this.u.g():Dv.g(),this.C=this.u?Y0(this.u):Y0(Dv),this.g.onreadystatechange=An(this.La,this);try{this.G=!0,this.g.open(t,String(e),!0),this.G=!1}catch(a){J0(this,a);return}if(e=n||"",n=new Map(this.headers),r)if(Object.getPrototypeOf(r)===Object.prototype)for(var i in r)n.set(i,r[i]);else if(typeof r.keys=="function"&&typeof r.get=="function")for(const a of r.keys())n.set(a,r.get(a));else throw Error("Unknown input type for opt_headers: "+String(r));r=Array.from(n.keys()).find(a=>a.toLowerCase()=="content-type"),i=Ue.FormData&&e instanceof Ue.FormData,!(0<=NE(e8,t))||r||i||n.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const[a,s]of n)this.g.setRequestHeader(a,s);this.K&&(this.g.responseType=this.K),"withCredentials"in this.g&&this.g.withCredentials!==this.M&&(this.g.withCredentials=this.M);try{CT(this),0{}:null;e.g=null,e.C=null,t||vn(e,"ready");try{n.onreadystatechange=r}catch{}}}function CT(e){e.g&&e.L&&(e.g.ontimeout=null),e.A&&(Ue.clearTimeout(e.A),e.A=null)}Ce.isActive=function(){return!!this.g};function Qr(e){return e.g?e.g.readyState:0}Ce.da=function(){try{return 2=e.i.j-(e.m?1:0)?!1:e.m?(e.j=t.F.concat(e.j),!0):e.H==1||e.H==2||e.C>=(e.cb?0:e.eb)?!1:(e.m=Iu(An(e.Na,e,t),VT(e,e.C)),e.C++,!0)}Ce.Na=function(e){if(this.m)if(this.m=null,this.H==1){if(!e){this.W=Math.floor(1e5*Math.random()),e=this.W++;const i=new ku(this,this.l,e);let a=this.s;if(this.U&&(a?(a=jE(a),UE(a,this.U)):a=this.U),this.o!==null||this.O||(i.I=a,a=null),this.P)e:{for(var t=0,n=0;nu)a=Math.max(0,i[l].g-100),o=!1;else try{Xj(c,s,"req"+u+"_")}catch{r&&r(c)}}if(o){r=s.join("&");break e}}}return e=e.j.splice(0,n),t.F=e,r}function AT(e){if(!e.g&&!e.u){e.ba=1;var t=e.Ma;Kl||YE(),Yl||(Kl(),Yl=!0),ry.add(t,e),e.A=0}}function hy(e){return e.g||e.u||3<=e.A?!1:(e.ba++,e.u=Iu(An(e.Ma,e),VT(e,e.A)),e.A++,!0)}Ce.Ma=function(){if(this.u=null,kT(this),this.ca&&!(this.M||this.g==null||0>=this.S)){var e=2*this.S;this.l.info("BP detection timer enabled: "+e),this.B=Iu(An(this.jb,this),e)}};Ce.jb=function(){this.B&&(this.B=null,this.l.info("BP detection timeout reached."),this.l.info("Buffering proxy detected and switch to long-polling!"),this.G=!1,this.M=!0,jn(10),Qf(this),kT(this))};function my(e){e.B!=null&&(Ue.clearTimeout(e.B),e.B=null)}function kT(e){e.g=new ku(e,e.l,"rpc",e.ba),e.o===null&&(e.g.I=e.s),e.g.O=0;var t=xi(e.wa);xt(t,"RID","rpc"),xt(t,"SID",e.K),xt(t,"AID",e.V),xt(t,"CI",e.G?"0":"1"),!e.G&&e.qa&&xt(t,"TO",e.qa),xt(t,"TYPE","xmlhttp"),Ru(e,t),e.o&&e.s&&dy(t,e.o,e.s),e.L&&e.g.setTimeout(e.L);var n=e.g;e=e.pa,n.L=1,n.v=Gf(xi(t)),n.s=null,n.S=!0,aT(n,e)}Ce.ib=function(){this.v!=null&&(this.v=null,Qf(this),hy(this),jn(19))};function $d(e){e.v!=null&&(Ue.clearTimeout(e.v),e.v=null)}function PT(e,t){var n=null;if(e.g==t){$d(e),my(e),e.g=null;var r=2}else if(Lv(e.i,t))n=t.F,pT(e.i,t),r=1;else return;if(e.H!=0){if(t.i)if(r==1){n=t.s?t.s.length:0,t=Date.now()-t.G;var i=e.C;r=zf(),vn(r,new tT(r,n)),Jf(e)}else AT(e);else if(i=t.o,i==3||i==0&&0i;++i)r[i]=t.charCodeAt(n++)|t.charCodeAt(n++)<<8|t.charCodeAt(n++)<<16|t.charCodeAt(n++)<<24;else for(i=0;16>i;++i)r[i]=t[n++]|t[n++]<<8|t[n++]<<16|t[n++]<<24;t=e.g[0],n=e.g[1],i=e.g[2];var a=e.g[3],s=t+(a^n&(i^a))+r[0]+3614090360&4294967295;t=n+(s<<7&4294967295|s>>>25),s=a+(i^t&(n^i))+r[1]+3905402710&4294967295,a=t+(s<<12&4294967295|s>>>20),s=i+(n^a&(t^n))+r[2]+606105819&4294967295,i=a+(s<<17&4294967295|s>>>15),s=n+(t^i&(a^t))+r[3]+3250441966&4294967295,n=i+(s<<22&4294967295|s>>>10),s=t+(a^n&(i^a))+r[4]+4118548399&4294967295,t=n+(s<<7&4294967295|s>>>25),s=a+(i^t&(n^i))+r[5]+1200080426&4294967295,a=t+(s<<12&4294967295|s>>>20),s=i+(n^a&(t^n))+r[6]+2821735955&4294967295,i=a+(s<<17&4294967295|s>>>15),s=n+(t^i&(a^t))+r[7]+4249261313&4294967295,n=i+(s<<22&4294967295|s>>>10),s=t+(a^n&(i^a))+r[8]+1770035416&4294967295,t=n+(s<<7&4294967295|s>>>25),s=a+(i^t&(n^i))+r[9]+2336552879&4294967295,a=t+(s<<12&4294967295|s>>>20),s=i+(n^a&(t^n))+r[10]+4294925233&4294967295,i=a+(s<<17&4294967295|s>>>15),s=n+(t^i&(a^t))+r[11]+2304563134&4294967295,n=i+(s<<22&4294967295|s>>>10),s=t+(a^n&(i^a))+r[12]+1804603682&4294967295,t=n+(s<<7&4294967295|s>>>25),s=a+(i^t&(n^i))+r[13]+4254626195&4294967295,a=t+(s<<12&4294967295|s>>>20),s=i+(n^a&(t^n))+r[14]+2792965006&4294967295,i=a+(s<<17&4294967295|s>>>15),s=n+(t^i&(a^t))+r[15]+1236535329&4294967295,n=i+(s<<22&4294967295|s>>>10),s=t+(i^a&(n^i))+r[1]+4129170786&4294967295,t=n+(s<<5&4294967295|s>>>27),s=a+(n^i&(t^n))+r[6]+3225465664&4294967295,a=t+(s<<9&4294967295|s>>>23),s=i+(t^n&(a^t))+r[11]+643717713&4294967295,i=a+(s<<14&4294967295|s>>>18),s=n+(a^t&(i^a))+r[0]+3921069994&4294967295,n=i+(s<<20&4294967295|s>>>12),s=t+(i^a&(n^i))+r[5]+3593408605&4294967295,t=n+(s<<5&4294967295|s>>>27),s=a+(n^i&(t^n))+r[10]+38016083&4294967295,a=t+(s<<9&4294967295|s>>>23),s=i+(t^n&(a^t))+r[15]+3634488961&4294967295,i=a+(s<<14&4294967295|s>>>18),s=n+(a^t&(i^a))+r[4]+3889429448&4294967295,n=i+(s<<20&4294967295|s>>>12),s=t+(i^a&(n^i))+r[9]+568446438&4294967295,t=n+(s<<5&4294967295|s>>>27),s=a+(n^i&(t^n))+r[14]+3275163606&4294967295,a=t+(s<<9&4294967295|s>>>23),s=i+(t^n&(a^t))+r[3]+4107603335&4294967295,i=a+(s<<14&4294967295|s>>>18),s=n+(a^t&(i^a))+r[8]+1163531501&4294967295,n=i+(s<<20&4294967295|s>>>12),s=t+(i^a&(n^i))+r[13]+2850285829&4294967295,t=n+(s<<5&4294967295|s>>>27),s=a+(n^i&(t^n))+r[2]+4243563512&4294967295,a=t+(s<<9&4294967295|s>>>23),s=i+(t^n&(a^t))+r[7]+1735328473&4294967295,i=a+(s<<14&4294967295|s>>>18),s=n+(a^t&(i^a))+r[12]+2368359562&4294967295,n=i+(s<<20&4294967295|s>>>12),s=t+(n^i^a)+r[5]+4294588738&4294967295,t=n+(s<<4&4294967295|s>>>28),s=a+(t^n^i)+r[8]+2272392833&4294967295,a=t+(s<<11&4294967295|s>>>21),s=i+(a^t^n)+r[11]+1839030562&4294967295,i=a+(s<<16&4294967295|s>>>16),s=n+(i^a^t)+r[14]+4259657740&4294967295,n=i+(s<<23&4294967295|s>>>9),s=t+(n^i^a)+r[1]+2763975236&4294967295,t=n+(s<<4&4294967295|s>>>28),s=a+(t^n^i)+r[4]+1272893353&4294967295,a=t+(s<<11&4294967295|s>>>21),s=i+(a^t^n)+r[7]+4139469664&4294967295,i=a+(s<<16&4294967295|s>>>16),s=n+(i^a^t)+r[10]+3200236656&4294967295,n=i+(s<<23&4294967295|s>>>9),s=t+(n^i^a)+r[13]+681279174&4294967295,t=n+(s<<4&4294967295|s>>>28),s=a+(t^n^i)+r[0]+3936430074&4294967295,a=t+(s<<11&4294967295|s>>>21),s=i+(a^t^n)+r[3]+3572445317&4294967295,i=a+(s<<16&4294967295|s>>>16),s=n+(i^a^t)+r[6]+76029189&4294967295,n=i+(s<<23&4294967295|s>>>9),s=t+(n^i^a)+r[9]+3654602809&4294967295,t=n+(s<<4&4294967295|s>>>28),s=a+(t^n^i)+r[12]+3873151461&4294967295,a=t+(s<<11&4294967295|s>>>21),s=i+(a^t^n)+r[15]+530742520&4294967295,i=a+(s<<16&4294967295|s>>>16),s=n+(i^a^t)+r[2]+3299628645&4294967295,n=i+(s<<23&4294967295|s>>>9),s=t+(i^(n|~a))+r[0]+4096336452&4294967295,t=n+(s<<6&4294967295|s>>>26),s=a+(n^(t|~i))+r[7]+1126891415&4294967295,a=t+(s<<10&4294967295|s>>>22),s=i+(t^(a|~n))+r[14]+2878612391&4294967295,i=a+(s<<15&4294967295|s>>>17),s=n+(a^(i|~t))+r[5]+4237533241&4294967295,n=i+(s<<21&4294967295|s>>>11),s=t+(i^(n|~a))+r[12]+1700485571&4294967295,t=n+(s<<6&4294967295|s>>>26),s=a+(n^(t|~i))+r[3]+2399980690&4294967295,a=t+(s<<10&4294967295|s>>>22),s=i+(t^(a|~n))+r[10]+4293915773&4294967295,i=a+(s<<15&4294967295|s>>>17),s=n+(a^(i|~t))+r[1]+2240044497&4294967295,n=i+(s<<21&4294967295|s>>>11),s=t+(i^(n|~a))+r[8]+1873313359&4294967295,t=n+(s<<6&4294967295|s>>>26),s=a+(n^(t|~i))+r[15]+4264355552&4294967295,a=t+(s<<10&4294967295|s>>>22),s=i+(t^(a|~n))+r[6]+2734768916&4294967295,i=a+(s<<15&4294967295|s>>>17),s=n+(a^(i|~t))+r[13]+1309151649&4294967295,n=i+(s<<21&4294967295|s>>>11),s=t+(i^(n|~a))+r[4]+4149444226&4294967295,t=n+(s<<6&4294967295|s>>>26),s=a+(n^(t|~i))+r[11]+3174756917&4294967295,a=t+(s<<10&4294967295|s>>>22),s=i+(t^(a|~n))+r[2]+718787259&4294967295,i=a+(s<<15&4294967295|s>>>17),s=n+(a^(i|~t))+r[9]+3951481745&4294967295,e.g[0]=e.g[0]+t&4294967295,e.g[1]=e.g[1]+(i+(s<<21&4294967295|s>>>11))&4294967295,e.g[2]=e.g[2]+i&4294967295,e.g[3]=e.g[3]+a&4294967295}Ur.prototype.j=function(e,t){t===void 0&&(t=e.length);for(var n=t-this.blockSize,r=this.m,i=this.h,a=0;athis.h?this.blockSize:2*this.blockSize)-this.h);e[0]=128;for(var t=1;tt;++t)for(var r=0;32>r;r+=8)e[n++]=this.g[t]>>>r&255;return e};function ht(e,t){this.h=t;for(var n=[],r=!0,i=e.length-1;0<=i;i--){var a=e[i]|0;r&&a==t||(n[i]=a,r=!1)}this.g=n}var a8={};function vy(e){return-128<=e&&128>e?hj(e,function(t){return new ht([t|0],0>t?-1:0)}):new ht([e|0],0>e?-1:0)}function Jr(e){if(isNaN(e)||!isFinite(e))return no;if(0>e)return mn(Jr(-e));for(var t=[],n=1,r=0;e>=n;r++)t[r]=e/n|0,n*=Bv;return new ht(t,0)}function FT(e,t){if(e.length==0)throw Error("number format error: empty string");if(t=t||10,2>t||36a?(a=Jr(Math.pow(t,a)),r=r.R(a).add(Jr(s))):(r=r.R(n),r=r.add(Jr(s)))}return r}var Bv=4294967296,no=vy(0),jv=vy(1),tw=vy(16777216);Ce=ht.prototype;Ce.ea=function(){if(fr(this))return-mn(this).ea();for(var e=0,t=1,n=0;ne||36>>0).toString(e);if(n=i,mi(n))return a+r;for(;6>a.length;)a="0"+a;r=a+r}};Ce.D=function(e){return 0>e?0:e>>16)+(this.D(i)>>>16)+(e.D(i)>>>16);r=s>>>16,a&=65535,s&=65535,n[i]=s<<16|a}return new ht(n,n[n.length-1]&-2147483648?-1:0)};function Fd(e,t){return e.add(mn(t))}Ce.R=function(e){if(mi(this)||mi(e))return no;if(fr(this))return fr(e)?mn(this).R(mn(e)):mn(mn(this).R(e));if(fr(e))return mn(this.R(mn(e)));if(0>this.X(tw)&&0>e.X(tw))return Jr(this.ea()*e.ea());for(var t=this.g.length+e.g.length,n=[],r=0;r<2*t;r++)n[r]=0;for(r=0;r>>16,s=this.D(r)&65535,o=e.D(i)>>>16,l=e.D(i)&65535;n[2*r+2*i]+=s*l,fc(n,2*r+2*i),n[2*r+2*i+1]+=a*l,fc(n,2*r+2*i+1),n[2*r+2*i+1]+=s*o,fc(n,2*r+2*i+1),n[2*r+2*i+2]+=a*o,fc(n,2*r+2*i+2)}for(r=0;r>>16,e[t]&=65535,t++}function Go(e,t){this.g=e,this.h=t}function Ld(e,t){if(mi(t))throw Error("division by zero");if(mi(e))return new Go(no,no);if(fr(e))return t=Ld(mn(e),t),new Go(mn(t.g),mn(t.h));if(fr(t))return t=Ld(e,mn(t)),new Go(mn(t.g),t.h);if(30=r.X(e);)n=nw(n),r=nw(r);var i=Vs(n,1),a=Vs(r,1);for(r=Vs(r,2),n=Vs(n,2);!mi(r);){var s=a.add(r);0>=s.X(e)&&(i=i.add(n),a=s),r=Vs(r,1),n=Vs(n,1)}return t=Fd(e,i.R(t)),new Go(i,t)}for(i=no;0<=e.X(t);){for(n=Math.max(1,Math.floor(e.ea()/t.ea())),r=Math.ceil(Math.log(n)/Math.LN2),r=48>=r?1:Math.pow(2,r-48),a=Jr(n),s=a.R(t);fr(s)||0>>31;return new ht(n,e.h)}function Vs(e,t){var n=t>>5;t%=32;for(var r=e.g.length-n,i=[],a=0;a>>t|e.D(a+n+1)<<32-t:e.D(a+n);return new ht(i,e.h)}Nd.prototype.createWebChannel=Nd.prototype.g;tr.prototype.send=tr.prototype.u;tr.prototype.open=tr.prototype.m;tr.prototype.close=tr.prototype.close;Hf.NO_ERROR=0;Hf.TIMEOUT=8;Hf.HTTP_ERROR=6;nT.COMPLETE="complete";rT.EventType=Au;Au.OPEN="a";Au.CLOSE="b";Au.ERROR="c";Au.MESSAGE="d";on.prototype.listen=on.prototype.O;Nt.prototype.listenOnce=Nt.prototype.P;Nt.prototype.getLastError=Nt.prototype.Sa;Nt.prototype.getLastErrorCode=Nt.prototype.Ia;Nt.prototype.getStatus=Nt.prototype.da;Nt.prototype.getResponseJson=Nt.prototype.Wa;Nt.prototype.getResponseText=Nt.prototype.ja;Nt.prototype.send=Nt.prototype.ha;Nt.prototype.setWithCredentials=Nt.prototype.Oa;Ur.prototype.digest=Ur.prototype.l;Ur.prototype.reset=Ur.prototype.reset;Ur.prototype.update=Ur.prototype.j;ht.prototype.add=ht.prototype.add;ht.prototype.multiply=ht.prototype.R;ht.prototype.modulo=ht.prototype.gb;ht.prototype.compare=ht.prototype.X;ht.prototype.toNumber=ht.prototype.ea;ht.prototype.toString=ht.prototype.toString;ht.prototype.getBits=ht.prototype.D;ht.fromNumber=Jr;ht.fromString=FT;var s8=function(){return new Nd},o8=function(){return zf()},_m=Hf,l8=nT,u8=vs,rw={xb:0,Ab:1,Bb:2,Ub:3,Zb:4,Wb:5,Xb:6,Vb:7,Tb:8,Yb:9,PROXY:10,NOPROXY:11,Rb:12,Nb:13,Ob:14,Mb:15,Pb:16,Qb:17,tb:18,sb:19,ub:20},hc=rT,c8=Nt,d8=Ur,ro=ht;const iw="@firebase/firestore";/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class _n{constructor(t){this.uid=t}isAuthenticated(){return this.uid!=null}toKey(){return this.isAuthenticated()?"uid:"+this.uid:"anonymous-user"}isEqual(t){return t.uid===this.uid}}_n.UNAUTHENTICATED=new _n(null),_n.GOOGLE_CREDENTIALS=new _n("google-credentials-uid"),_n.FIRST_PARTY=new _n("first-party-uid"),_n.MOCK_USER=new _n("mock-user");/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */let Io="10.3.0";/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const is=new RE("@firebase/firestore");function aw(){return is.logLevel}function Pe(e,...t){if(is.logLevel<=ct.DEBUG){const n=t.map(gy);is.debug(`Firestore (${Io}): ${e}`,...n)}}function Ei(e,...t){if(is.logLevel<=ct.ERROR){const n=t.map(gy);is.error(`Firestore (${Io}): ${e}`,...n)}}function lo(e,...t){if(is.logLevel<=ct.WARN){const n=t.map(gy);is.warn(`Firestore (${Io}): ${e}`,...n)}}function gy(e){if(typeof e=="string")return e;try{/** -* @license -* Copyright 2020 Google LLC -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/return function(n){return JSON.stringify(n)}(e)}catch{return e}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function Fe(e="Unexpected state"){const t=`FIRESTORE (${Io}) INTERNAL ASSERTION FAILED: `+e;throw Ei(t),new Error(t)}function Tt(e,t){e||Fe()}function Ye(e,t){return e}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const le={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class Oe extends xo{constructor(t,n){super(t,n),this.code=t,this.message=n,this.toString=()=>`${this.name}: [code=${this.code}]: ${this.message}`}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class ra{constructor(){this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class LT{constructor(t,n){this.user=n,this.type="OAuth",this.headers=new Map,this.headers.set("Authorization",`Bearer ${t}`)}}class f8{getToken(){return Promise.resolve(null)}invalidateToken(){}start(t,n){t.enqueueRetryable(()=>n(_n.UNAUTHENTICATED))}shutdown(){}}class h8{constructor(t){this.token=t,this.changeListener=null}getToken(){return Promise.resolve(this.token)}invalidateToken(){}start(t,n){this.changeListener=n,t.enqueueRetryable(()=>n(this.token.user))}shutdown(){this.changeListener=null}}class m8{constructor(t){this.t=t,this.currentUser=_n.UNAUTHENTICATED,this.i=0,this.forceRefresh=!1,this.auth=null}start(t,n){let r=this.i;const i=l=>this.i!==r?(r=this.i,n(l)):Promise.resolve();let a=new ra;this.o=()=>{this.i++,this.currentUser=this.u(),a.resolve(),a=new ra,t.enqueueRetryable(()=>i(this.currentUser))};const s=()=>{const l=a;t.enqueueRetryable(async()=>{await l.promise,await i(this.currentUser)})},o=l=>{Pe("FirebaseAuthCredentialsProvider","Auth detected"),this.auth=l,this.auth.addAuthTokenListener(this.o),s()};this.t.onInit(l=>o(l)),setTimeout(()=>{if(!this.auth){const l=this.t.getImmediate({optional:!0});l?o(l):(Pe("FirebaseAuthCredentialsProvider","Auth not yet detected"),a.resolve(),a=new ra)}},0),s()}getToken(){const t=this.i,n=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(n).then(r=>this.i!==t?(Pe("FirebaseAuthCredentialsProvider","getToken aborted due to token change."),this.getToken()):r?(Tt(typeof r.accessToken=="string"),new LT(r.accessToken,this.currentUser)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.auth&&this.auth.removeAuthTokenListener(this.o)}u(){const t=this.auth&&this.auth.getUid();return Tt(t===null||typeof t=="string"),new _n(t)}}class v8{constructor(t,n,r){this.l=t,this.h=n,this.P=r,this.type="FirstParty",this.user=_n.FIRST_PARTY,this.I=new Map}T(){return this.P?this.P():null}get headers(){this.I.set("X-Goog-AuthUser",this.l);const t=this.T();return t&&this.I.set("Authorization",t),this.h&&this.I.set("X-Goog-Iam-Authorization-Token",this.h),this.I}}class g8{constructor(t,n,r){this.l=t,this.h=n,this.P=r}getToken(){return Promise.resolve(new v8(this.l,this.h,this.P))}start(t,n){t.enqueueRetryable(()=>n(_n.FIRST_PARTY))}shutdown(){}invalidateToken(){}}class p8{constructor(t){this.value=t,this.type="AppCheck",this.headers=new Map,t&&t.length>0&&this.headers.set("x-firebase-appcheck",this.value)}}class y8{constructor(t){this.A=t,this.forceRefresh=!1,this.appCheck=null,this.R=null}start(t,n){const r=a=>{a.error!=null&&Pe("FirebaseAppCheckTokenProvider",`Error getting App Check token; using placeholder token instead. Error: ${a.error.message}`);const s=a.token!==this.R;return this.R=a.token,Pe("FirebaseAppCheckTokenProvider",`Received ${s?"new":"existing"} token.`),s?n(a.token):Promise.resolve()};this.o=a=>{t.enqueueRetryable(()=>r(a))};const i=a=>{Pe("FirebaseAppCheckTokenProvider","AppCheck detected"),this.appCheck=a,this.appCheck.addTokenListener(this.o)};this.A.onInit(a=>i(a)),setTimeout(()=>{if(!this.appCheck){const a=this.A.getImmediate({optional:!0});a?i(a):Pe("FirebaseAppCheckTokenProvider","AppCheck not yet detected")}},0)}getToken(){const t=this.forceRefresh;return this.forceRefresh=!1,this.appCheck?this.appCheck.getToken(t).then(n=>n?(Tt(typeof n.token=="string"),this.R=n.token,new p8(n.token)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.appCheck&&this.appCheck.removeTokenListener(this.o)}}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function b8(e){const t=typeof self<"u"&&(self.crypto||self.msCrypto),n=new Uint8Array(e);if(t&&typeof t.getRandomValues=="function")t.getRandomValues(n);else for(let r=0;rt?1:0}function uo(e,t,n){return e.length===t.length&&e.every((r,i)=>n(r,t[i]))}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Jt{constructor(t,n){if(this.seconds=t,this.nanoseconds=n,n<0)throw new Oe(le.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+n);if(n>=1e9)throw new Oe(le.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+n);if(t<-62135596800)throw new Oe(le.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t);if(t>=253402300800)throw new Oe(le.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t)}static now(){return Jt.fromMillis(Date.now())}static fromDate(t){return Jt.fromMillis(t.getTime())}static fromMillis(t){const n=Math.floor(t/1e3),r=Math.floor(1e6*(t-1e3*n));return new Jt(n,r)}toDate(){return new Date(this.toMillis())}toMillis(){return 1e3*this.seconds+this.nanoseconds/1e6}_compareTo(t){return this.seconds===t.seconds?ot(this.nanoseconds,t.nanoseconds):ot(this.seconds,t.seconds)}isEqual(t){return t.seconds===this.seconds&&t.nanoseconds===this.nanoseconds}toString(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"}toJSON(){return{seconds:this.seconds,nanoseconds:this.nanoseconds}}valueOf(){const t=this.seconds- -62135596800;return String(t).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class He{constructor(t){this.timestamp=t}static fromTimestamp(t){return new He(t)}static min(){return new He(new Jt(0,0))}static max(){return new He(new Jt(253402300799,999999999))}compareTo(t){return this.timestamp._compareTo(t.timestamp)}isEqual(t){return this.timestamp.isEqual(t.timestamp)}toMicroseconds(){return 1e6*this.timestamp.seconds+this.timestamp.nanoseconds/1e3}toString(){return"SnapshotVersion("+this.timestamp.toString()+")"}toTimestamp(){return this.timestamp}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class eu{constructor(t,n,r){n===void 0?n=0:n>t.length&&Fe(),r===void 0?r=t.length-n:r>t.length-n&&Fe(),this.segments=t,this.offset=n,this.len=r}get length(){return this.len}isEqual(t){return eu.comparator(this,t)===0}child(t){const n=this.segments.slice(this.offset,this.limit());return t instanceof eu?t.forEach(r=>{n.push(r)}):n.push(t),this.construct(n)}limit(){return this.offset+this.length}popFirst(t){return t=t===void 0?1:t,this.construct(this.segments,this.offset+t,this.length-t)}popLast(){return this.construct(this.segments,this.offset,this.length-1)}firstSegment(){return this.segments[this.offset]}lastSegment(){return this.get(this.length-1)}get(t){return this.segments[this.offset+t]}isEmpty(){return this.length===0}isPrefixOf(t){if(t.lengths)return 1}return t.lengthn.length?1:0}}class Vt extends eu{construct(t,n,r){return new Vt(t,n,r)}canonicalString(){return this.toArray().join("/")}toString(){return this.canonicalString()}static fromString(...t){const n=[];for(const r of t){if(r.indexOf("//")>=0)throw new Oe(le.INVALID_ARGUMENT,`Invalid segment (${r}). Paths must not contain // in them.`);n.push(...r.split("/").filter(i=>i.length>0))}return new Vt(n)}static emptyPath(){return new Vt([])}}const _8=/^[_a-zA-Z][_a-zA-Z0-9]*$/;class Sn extends eu{construct(t,n,r){return new Sn(t,n,r)}static isValidIdentifier(t){return _8.test(t)}canonicalString(){return this.toArray().map(t=>(t=t.replace(/\\/g,"\\\\").replace(/`/g,"\\`"),Sn.isValidIdentifier(t)||(t="`"+t+"`"),t)).join(".")}toString(){return this.canonicalString()}isKeyField(){return this.length===1&&this.get(0)==="__name__"}static keyField(){return new Sn(["__name__"])}static fromServerFormat(t){const n=[];let r="",i=0;const a=()=>{if(r.length===0)throw new Oe(le.INVALID_ARGUMENT,`Invalid field path (${t}). Paths must not be empty, begin with '.', end with '.', or contain '..'`);n.push(r),r=""};let s=!1;for(;i=2&&this.path.get(this.path.length-2)===t}getCollectionGroup(){return this.path.get(this.path.length-2)}getCollectionPath(){return this.path.popLast()}isEqual(t){return t!==null&&Vt.comparator(this.path,t.path)===0}toString(){return this.path.toString()}static comparator(t,n){return Vt.comparator(t.path,n.path)}static isDocumentKey(t){return t.length%2==0}static fromSegments(t){return new De(new Vt(t.slice()))}}function w8(e,t){const n=e.toTimestamp().seconds,r=e.toTimestamp().nanoseconds+1,i=He.fromTimestamp(r===1e9?new Jt(n+1,0):new Jt(n,r));return new la(i,De.empty(),t)}function S8(e){return new la(e.readTime,e.key,-1)}class la{constructor(t,n,r){this.readTime=t,this.documentKey=n,this.largestBatchId=r}static min(){return new la(He.min(),De.empty(),-1)}static max(){return new la(He.max(),De.empty(),-1)}}function C8(e,t){let n=e.readTime.compareTo(t.readTime);return n!==0?n:(n=De.comparator(e.documentKey,t.documentKey),n!==0?n:ot(e.largestBatchId,t.largestBatchId))}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const x8="The current tab is not in the required state to perform this operation. It might be necessary to refresh the browser tab.";class E8{constructor(){this.onCommittedListeners=[]}addOnCommittedListener(t){this.onCommittedListeners.push(t)}raiseOnCommittedEvent(){this.onCommittedListeners.forEach(t=>t())}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */async function Ou(e){if(e.code!==le.FAILED_PRECONDITION||e.message!==x8)throw e;Pe("LocalStore","Unexpectedly lost primary lease")}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class he{constructor(t){this.nextCallback=null,this.catchCallback=null,this.result=void 0,this.error=void 0,this.isDone=!1,this.callbackAttached=!1,t(n=>{this.isDone=!0,this.result=n,this.nextCallback&&this.nextCallback(n)},n=>{this.isDone=!0,this.error=n,this.catchCallback&&this.catchCallback(n)})}catch(t){return this.next(void 0,t)}next(t,n){return this.callbackAttached&&Fe(),this.callbackAttached=!0,this.isDone?this.error?this.wrapFailure(n,this.error):this.wrapSuccess(t,this.result):new he((r,i)=>{this.nextCallback=a=>{this.wrapSuccess(t,a).next(r,i)},this.catchCallback=a=>{this.wrapFailure(n,a).next(r,i)}})}toPromise(){return new Promise((t,n)=>{this.next(t,n)})}wrapUserFunction(t){try{const n=t();return n instanceof he?n:he.resolve(n)}catch(n){return he.reject(n)}}wrapSuccess(t,n){return t?this.wrapUserFunction(()=>t(n)):he.resolve(n)}wrapFailure(t,n){return t?this.wrapUserFunction(()=>t(n)):he.reject(n)}static resolve(t){return new he((n,r)=>{n(t)})}static reject(t){return new he((n,r)=>{r(t)})}static waitFor(t){return new he((n,r)=>{let i=0,a=0,s=!1;t.forEach(o=>{++i,o.next(()=>{++a,s&&a===i&&n()},l=>r(l))}),s=!0,a===i&&n()})}static or(t){let n=he.resolve(!1);for(const r of t)n=n.next(i=>i?he.resolve(i):r());return n}static forEach(t,n){const r=[];return t.forEach((i,a)=>{r.push(n.call(this,i,a))}),this.waitFor(r)}static mapArray(t,n){return new he((r,i)=>{const a=t.length,s=new Array(a);let o=0;for(let l=0;l{s[u]=c,++o,o===a&&r(s)},c=>i(c))}})}static doWhile(t,n){return new he((r,i)=>{const a=()=>{t()===!0?n().next(()=>{a()},i):r()};a()})}}function Mu(e){return e.name==="IndexedDbTransactionError"}/** - * @license - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class py{constructor(t,n){this.previousValue=t,n&&(n.sequenceNumberHandler=r=>this.oe(r),this._e=r=>n.writeSequenceNumber(r))}oe(t){return this.previousValue=Math.max(t,this.previousValue),this.previousValue}next(){const t=++this.previousValue;return this._e&&this._e(t),t}}py.ae=-1;function Zf(e){return e==null}function Bd(e){return e===0&&1/e==-1/0}function T8(e){return typeof e=="number"&&Number.isInteger(e)&&!Bd(e)&&e<=Number.MAX_SAFE_INTEGER&&e>=Number.MIN_SAFE_INTEGER}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function sw(e){let t=0;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}function Ao(e,t){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t(n,e[n])}function jT(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Mt{constructor(t,n){this.comparator=t,this.root=n||hn.EMPTY}insert(t,n){return new Mt(this.comparator,this.root.insert(t,n,this.comparator).copy(null,null,hn.BLACK,null,null))}remove(t){return new Mt(this.comparator,this.root.remove(t,this.comparator).copy(null,null,hn.BLACK,null,null))}get(t){let n=this.root;for(;!n.isEmpty();){const r=this.comparator(t,n.key);if(r===0)return n.value;r<0?n=n.left:r>0&&(n=n.right)}return null}indexOf(t){let n=0,r=this.root;for(;!r.isEmpty();){const i=this.comparator(t,r.key);if(i===0)return n+r.left.size;i<0?r=r.left:(n+=r.left.size+1,r=r.right)}return-1}isEmpty(){return this.root.isEmpty()}get size(){return this.root.size}minKey(){return this.root.minKey()}maxKey(){return this.root.maxKey()}inorderTraversal(t){return this.root.inorderTraversal(t)}forEach(t){this.inorderTraversal((n,r)=>(t(n,r),!1))}toString(){const t=[];return this.inorderTraversal((n,r)=>(t.push(`${n}:${r}`),!1)),`{${t.join(", ")}}`}reverseTraversal(t){return this.root.reverseTraversal(t)}getIterator(){return new mc(this.root,null,this.comparator,!1)}getIteratorFrom(t){return new mc(this.root,t,this.comparator,!1)}getReverseIterator(){return new mc(this.root,null,this.comparator,!0)}getReverseIteratorFrom(t){return new mc(this.root,t,this.comparator,!0)}}class mc{constructor(t,n,r,i){this.isReverse=i,this.nodeStack=[];let a=1;for(;!t.isEmpty();)if(a=n?r(t.key,n):1,n&&i&&(a*=-1),a<0)t=this.isReverse?t.left:t.right;else{if(a===0){this.nodeStack.push(t);break}this.nodeStack.push(t),t=this.isReverse?t.right:t.left}}getNext(){let t=this.nodeStack.pop();const n={key:t.key,value:t.value};if(this.isReverse)for(t=t.left;!t.isEmpty();)this.nodeStack.push(t),t=t.right;else for(t=t.right;!t.isEmpty();)this.nodeStack.push(t),t=t.left;return n}hasNext(){return this.nodeStack.length>0}peek(){if(this.nodeStack.length===0)return null;const t=this.nodeStack[this.nodeStack.length-1];return{key:t.key,value:t.value}}}class hn{constructor(t,n,r,i,a){this.key=t,this.value=n,this.color=r!=null?r:hn.RED,this.left=i!=null?i:hn.EMPTY,this.right=a!=null?a:hn.EMPTY,this.size=this.left.size+1+this.right.size}copy(t,n,r,i,a){return new hn(t!=null?t:this.key,n!=null?n:this.value,r!=null?r:this.color,i!=null?i:this.left,a!=null?a:this.right)}isEmpty(){return!1}inorderTraversal(t){return this.left.inorderTraversal(t)||t(this.key,this.value)||this.right.inorderTraversal(t)}reverseTraversal(t){return this.right.reverseTraversal(t)||t(this.key,this.value)||this.left.reverseTraversal(t)}min(){return this.left.isEmpty()?this:this.left.min()}minKey(){return this.min().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(t,n,r){let i=this;const a=r(t,i.key);return i=a<0?i.copy(null,null,null,i.left.insert(t,n,r),null):a===0?i.copy(null,n,null,null,null):i.copy(null,null,null,null,i.right.insert(t,n,r)),i.fixUp()}removeMin(){if(this.left.isEmpty())return hn.EMPTY;let t=this;return t.left.isRed()||t.left.left.isRed()||(t=t.moveRedLeft()),t=t.copy(null,null,null,t.left.removeMin(),null),t.fixUp()}remove(t,n){let r,i=this;if(n(t,i.key)<0)i.left.isEmpty()||i.left.isRed()||i.left.left.isRed()||(i=i.moveRedLeft()),i=i.copy(null,null,null,i.left.remove(t,n),null);else{if(i.left.isRed()&&(i=i.rotateRight()),i.right.isEmpty()||i.right.isRed()||i.right.left.isRed()||(i=i.moveRedRight()),n(t,i.key)===0){if(i.right.isEmpty())return hn.EMPTY;r=i.right.min(),i=i.copy(r.key,r.value,null,null,i.right.removeMin())}i=i.copy(null,null,null,null,i.right.remove(t,n))}return i.fixUp()}isRed(){return this.color}fixUp(){let t=this;return t.right.isRed()&&!t.left.isRed()&&(t=t.rotateLeft()),t.left.isRed()&&t.left.left.isRed()&&(t=t.rotateRight()),t.left.isRed()&&t.right.isRed()&&(t=t.colorFlip()),t}moveRedLeft(){let t=this.colorFlip();return t.right.left.isRed()&&(t=t.copy(null,null,null,null,t.right.rotateRight()),t=t.rotateLeft(),t=t.colorFlip()),t}moveRedRight(){let t=this.colorFlip();return t.left.left.isRed()&&(t=t.rotateRight(),t=t.colorFlip()),t}rotateLeft(){const t=this.copy(null,null,hn.RED,null,this.right.left);return this.right.copy(null,null,this.color,t,null)}rotateRight(){const t=this.copy(null,null,hn.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,t)}colorFlip(){const t=this.left.copy(null,null,!this.left.color,null,null),n=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,t,n)}checkMaxDepth(){const t=this.check();return Math.pow(2,t)<=this.size+1}check(){if(this.isRed()&&this.left.isRed()||this.right.isRed())throw Fe();const t=this.left.check();if(t!==this.right.check())throw Fe();return t+(this.isRed()?0:1)}}hn.EMPTY=null,hn.RED=!0,hn.BLACK=!1;hn.EMPTY=new class{constructor(){this.size=0}get key(){throw Fe()}get value(){throw Fe()}get color(){throw Fe()}get left(){throw Fe()}get right(){throw Fe()}copy(t,n,r,i,a){return this}insert(t,n,r){return new hn(t,n)}remove(t,n){return this}isEmpty(){return!0}inorderTraversal(t){return!1}reverseTraversal(t){return!1}minKey(){return null}maxKey(){return null}isRed(){return!1}checkMaxDepth(){return!0}check(){return 0}};/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Pn{constructor(t){this.comparator=t,this.data=new Mt(this.comparator)}has(t){return this.data.get(t)!==null}first(){return this.data.minKey()}last(){return this.data.maxKey()}get size(){return this.data.size}indexOf(t){return this.data.indexOf(t)}forEach(t){this.data.inorderTraversal((n,r)=>(t(n),!1))}forEachInRange(t,n){const r=this.data.getIteratorFrom(t[0]);for(;r.hasNext();){const i=r.getNext();if(this.comparator(i.key,t[1])>=0)return;n(i.key)}}forEachWhile(t,n){let r;for(r=n!==void 0?this.data.getIteratorFrom(n):this.data.getIterator();r.hasNext();)if(!t(r.getNext().key))return}firstAfterOrEqual(t){const n=this.data.getIteratorFrom(t);return n.hasNext()?n.getNext().key:null}getIterator(){return new ow(this.data.getIterator())}getIteratorFrom(t){return new ow(this.data.getIteratorFrom(t))}add(t){return this.copy(this.data.remove(t).insert(t,!0))}delete(t){return this.has(t)?this.copy(this.data.remove(t)):this}isEmpty(){return this.data.isEmpty()}unionWith(t){let n=this;return n.size{n=n.add(r)}),n}isEqual(t){if(!(t instanceof Pn)||this.size!==t.size)return!1;const n=this.data.getIterator(),r=t.data.getIterator();for(;n.hasNext();){const i=n.getNext().key,a=r.getNext().key;if(this.comparator(i,a)!==0)return!1}return!0}toArray(){const t=[];return this.forEach(n=>{t.push(n)}),t}toString(){const t=[];return this.forEach(n=>t.push(n)),"SortedSet("+t.toString()+")"}copy(t){const n=new Pn(this.comparator);return n.data=t,n}}class ow{constructor(t){this.iter=t}getNext(){return this.iter.getNext().key}hasNext(){return this.iter.hasNext()}}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class $r{constructor(t){this.fields=t,t.sort(Sn.comparator)}static empty(){return new $r([])}unionWith(t){let n=new Pn(Sn.comparator);for(const r of this.fields)n=n.add(r);for(const r of t)n=n.add(r);return new $r(n.toArray())}covers(t){for(const n of this.fields)if(n.isPrefixOf(t))return!0;return!1}isEqual(t){return uo(this.fields,t.fields,(n,r)=>n.isEqual(r))}}/** - * @license - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class UT extends Error{constructor(){super(...arguments),this.name="Base64DecodeError"}}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Vn{constructor(t){this.binaryString=t}static fromBase64String(t){const n=function(i){try{return atob(i)}catch(a){throw typeof DOMException<"u"&&a instanceof DOMException?new UT("Invalid base64 string: "+a):a}}(t);return new Vn(n)}static fromUint8Array(t){const n=function(i){let a="";for(let s=0;stii(n,t))!==void 0}function co(e,t){if(e===t)return 0;const n=ss(e),r=ss(t);if(n!==r)return ot(n,r);switch(n){case 0:case 9007199254740991:return 0;case 1:return ot(e.booleanValue,t.booleanValue);case 2:return function(a,s){const o=qt(a.integerValue||a.doubleValue),l=qt(s.integerValue||s.doubleValue);return ol?1:o===l?0:isNaN(o)?isNaN(l)?0:-1:1}(e,t);case 3:return lw(e.timestampValue,t.timestampValue);case 4:return lw(tu(e),tu(t));case 5:return ot(e.stringValue,t.stringValue);case 6:return function(a,s){const o=as(a),l=as(s);return o.compareTo(l)}(e.bytesValue,t.bytesValue);case 7:return function(a,s){const o=a.split("/"),l=s.split("/");for(let u=0;ut.mapValue.fields[n]=Sl(r)),t}if(e.arrayValue){const t={arrayValue:{values:[]}};for(let n=0;n<(e.arrayValue.values||[]).length;++n)t.arrayValue.values[n]=Sl(e.arrayValue.values[n]);return t}return Object.assign({},e)}function k8(e){return(((e.mapValue||{}).fields||{}).__type__||{}).stringValue==="__max__"}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class hr{constructor(t){this.value=t}static empty(){return new hr({mapValue:{}})}field(t){if(t.isEmpty())return this.value;{let n=this.value;for(let r=0;r{if(!n.isImmediateParentOf(o)){const l=this.getFieldsMap(n);this.applyChanges(l,r,i),r={},i=[],n=o.popLast()}s?r[o.lastSegment()]=Sl(s):i.push(o.lastSegment())});const a=this.getFieldsMap(n);this.applyChanges(a,r,i)}delete(t){const n=this.field(t.popLast());qc(n)&&n.mapValue.fields&&delete n.mapValue.fields[t.lastSegment()]}isEqual(t){return ii(this.value,t.value)}getFieldsMap(t){let n=this.value;n.mapValue.fields||(n.mapValue={fields:{}});for(let r=0;rt[i]=a);for(const i of r)delete t[i]}clone(){return new hr(Sl(this.value))}}function zT(e){const t=[];return Ao(e.fields,(n,r)=>{const i=new Sn([n]);if(qc(r)){const a=zT(r.mapValue).fields;if(a.length===0)t.push(i);else for(const s of a)t.push(i.child(s))}else t.push(i)}),new $r(t)}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class wn{constructor(t,n,r,i,a,s,o){this.key=t,this.documentType=n,this.version=r,this.readTime=i,this.createTime=a,this.data=s,this.documentState=o}static newInvalidDocument(t){return new wn(t,0,He.min(),He.min(),He.min(),hr.empty(),0)}static newFoundDocument(t,n,r,i){return new wn(t,1,n,He.min(),r,i,0)}static newNoDocument(t,n){return new wn(t,2,n,He.min(),He.min(),hr.empty(),0)}static newUnknownDocument(t,n){return new wn(t,3,n,He.min(),He.min(),hr.empty(),2)}convertToFoundDocument(t,n){return!this.createTime.isEqual(He.min())||this.documentType!==2&&this.documentType!==0||(this.createTime=t),this.version=t,this.documentType=1,this.data=n,this.documentState=0,this}convertToNoDocument(t){return this.version=t,this.documentType=2,this.data=hr.empty(),this.documentState=0,this}convertToUnknownDocument(t){return this.version=t,this.documentType=3,this.data=hr.empty(),this.documentState=2,this}setHasCommittedMutations(){return this.documentState=2,this}setHasLocalMutations(){return this.documentState=1,this.version=He.min(),this}setReadTime(t){return this.readTime=t,this}get hasLocalMutations(){return this.documentState===1}get hasCommittedMutations(){return this.documentState===2}get hasPendingWrites(){return this.hasLocalMutations||this.hasCommittedMutations}isValidDocument(){return this.documentType!==0}isFoundDocument(){return this.documentType===1}isNoDocument(){return this.documentType===2}isUnknownDocument(){return this.documentType===3}isEqual(t){return t instanceof wn&&this.key.isEqual(t.key)&&this.version.isEqual(t.version)&&this.documentType===t.documentType&&this.documentState===t.documentState&&this.data.isEqual(t.data)}mutableCopy(){return new wn(this.key,this.documentType,this.version,this.readTime,this.createTime,this.data.clone(),this.documentState)}toString(){return`Document(${this.key}, ${this.version}, ${JSON.stringify(this.data.value)}, {createTime: ${this.createTime}}), {documentType: ${this.documentType}}), {documentState: ${this.documentState}})`}}/** - * @license - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class jd{constructor(t,n){this.position=t,this.inclusive=n}}function dw(e,t,n){let r=0;for(let i=0;i":return t>0;case">=":return t>=0;default:return Fe()}}isInequality(){return["<","<=",">",">=","!=","not-in"].indexOf(this.op)>=0}getFlattenedFilters(){return[this]}getFilters(){return[this]}getFirstInequalityField(){return this.isInequality()?this.field:null}}class ai extends HT{constructor(t,n){super(),this.filters=t,this.op=n,this.ce=null}static create(t,n){return new ai(t,n)}matches(t){return qT(this)?this.filters.find(n=>!n.matches(t))===void 0:this.filters.find(n=>n.matches(t))!==void 0}getFlattenedFilters(){return this.ce!==null||(this.ce=this.filters.reduce((t,n)=>t.concat(n.getFlattenedFilters()),[])),this.ce}getFilters(){return Object.assign([],this.filters)}getFirstInequalityField(){const t=this.le(n=>n.isInequality());return t!==null?t.field:null}le(t){for(const n of this.getFlattenedFilters())if(t(n))return n;return null}}function qT(e){return e.op==="and"}function WT(e){return V8(e)&&qT(e)}function V8(e){for(const t of e.filters)if(t instanceof ai)return!1;return!0}function Hv(e){if(e instanceof Qt)return e.field.canonicalString()+e.op.toString()+fo(e.value);if(WT(e))return e.filters.map(t=>Hv(t)).join(",");{const t=e.filters.map(n=>Hv(n)).join(",");return`${e.op}(${t})`}}function GT(e,t){return e instanceof Qt?function(r,i){return i instanceof Qt&&r.op===i.op&&r.field.isEqual(i.field)&&ii(r.value,i.value)}(e,t):e instanceof ai?function(r,i){return i instanceof ai&&r.op===i.op&&r.filters.length===i.filters.length?r.filters.reduce((a,s,o)=>a&>(s,i.filters[o]),!0):!1}(e,t):void Fe()}function KT(e){return e instanceof Qt?function(n){return`${n.field.canonicalString()} ${n.op} ${fo(n.value)}`}(e):e instanceof ai?function(n){return n.op.toString()+" {"+n.getFilters().map(KT).join(" ,")+"}"}(e):"Filter"}class R8 extends Qt{constructor(t,n,r){super(t,n,r),this.key=De.fromName(r.referenceValue)}matches(t){const n=De.comparator(t.key,this.key);return this.matchesComparison(n)}}class O8 extends Qt{constructor(t,n){super(t,"in",n),this.keys=YT("in",n)}matches(t){return this.keys.some(n=>n.isEqual(t.key))}}class M8 extends Qt{constructor(t,n){super(t,"not-in",n),this.keys=YT("not-in",n)}matches(t){return!this.keys.some(n=>n.isEqual(t.key))}}function YT(e,t){var n;return(((n=t.arrayValue)===null||n===void 0?void 0:n.values)||[]).map(r=>De.fromName(r.referenceValue))}class D8 extends Qt{constructor(t,n){super(t,"array-contains",n)}matches(t){const n=t.data.field(this.field);return _y(n)&&ru(n.arrayValue,this.value)}}class $8 extends Qt{constructor(t,n){super(t,"in",n)}matches(t){const n=t.data.field(this.field);return n!==null&&ru(this.value.arrayValue,n)}}class N8 extends Qt{constructor(t,n){super(t,"not-in",n)}matches(t){if(ru(this.value.arrayValue,{nullValue:"NULL_VALUE"}))return!1;const n=t.data.field(this.field);return n!==null&&!ru(this.value.arrayValue,n)}}class F8 extends Qt{constructor(t,n){super(t,"array-contains-any",n)}matches(t){const n=t.data.field(this.field);return!(!_y(n)||!n.arrayValue.values)&&n.arrayValue.values.some(r=>ru(this.value.arrayValue,r))}}/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class L8{constructor(t,n=null,r=[],i=[],a=null,s=null,o=null){this.path=t,this.collectionGroup=n,this.orderBy=r,this.filters=i,this.limit=a,this.startAt=s,this.endAt=o,this.he=null}}function hw(e,t=null,n=[],r=[],i=null,a=null,s=null){return new L8(e,t,n,r,i,a,s)}function wy(e){const t=Ye(e);if(t.he===null){let n=t.path.canonicalString();t.collectionGroup!==null&&(n+="|cg:"+t.collectionGroup),n+="|f:",n+=t.filters.map(r=>Hv(r)).join(","),n+="|ob:",n+=t.orderBy.map(r=>function(a){return a.field.canonicalString()+a.dir}(r)).join(","),Zf(t.limit)||(n+="|l:",n+=t.limit),t.startAt&&(n+="|lb:",n+=t.startAt.inclusive?"b:":"a:",n+=t.startAt.position.map(r=>fo(r)).join(",")),t.endAt&&(n+="|ub:",n+=t.endAt.inclusive?"a:":"b:",n+=t.endAt.position.map(r=>fo(r)).join(",")),t.he=n}return t.he}function Sy(e,t){if(e.limit!==t.limit||e.orderBy.length!==t.orderBy.length)return!1;for(let n=0;n0?e.explicitOrderBy[0].field:null}function U8(e){for(const t of e.filters){const n=t.getFirstInequalityField();if(n!==null)return n}return null}function z8(e){return e.collectionGroup!==null}function xl(e){const t=Ye(e);if(t.Pe===null){t.Pe=[];const n=U8(t),r=j8(t);if(n!==null&&r===null)n.isKeyField()||t.Pe.push(new Cl(n)),t.Pe.push(new Cl(Sn.keyField(),"asc"));else{let i=!1;for(const a of t.explicitOrderBy)t.Pe.push(a),a.field.isKeyField()&&(i=!0);if(!i){const a=t.explicitOrderBy.length>0?t.explicitOrderBy[t.explicitOrderBy.length-1].dir:"asc";t.Pe.push(new Cl(Sn.keyField(),a))}}}return t.Pe}function Ti(e){const t=Ye(e);return t.Ie||(t.Ie=H8(t,xl(e))),t.Ie}function H8(e,t){if(e.limitType==="F")return hw(e.path,e.collectionGroup,t,e.filters,e.limit,e.startAt,e.endAt);{t=t.map(i=>{const a=i.dir==="desc"?"asc":"desc";return new Cl(i.field,a)});const n=e.endAt?new jd(e.endAt.position,e.endAt.inclusive):null,r=e.startAt?new jd(e.startAt.position,e.startAt.inclusive):null;return hw(e.path,e.collectionGroup,t,e.filters,e.limit,n,r)}}function Wv(e,t,n){return new eh(e.path,e.collectionGroup,e.explicitOrderBy.slice(),e.filters.slice(),t,n,e.startAt,e.endAt)}function th(e,t){return Sy(Ti(e),Ti(t))&&e.limitType===t.limitType}function QT(e){return`${wy(Ti(e))}|lt:${e.limitType}`}function Gv(e){return`Query(target=${function(n){let r=n.path.canonicalString();return n.collectionGroup!==null&&(r+=" collectionGroup="+n.collectionGroup),n.filters.length>0&&(r+=`, filters: [${n.filters.map(i=>KT(i)).join(", ")}]`),Zf(n.limit)||(r+=", limit: "+n.limit),n.orderBy.length>0&&(r+=`, orderBy: [${n.orderBy.map(i=>function(s){return`${s.field.canonicalString()} (${s.dir})`}(i)).join(", ")}]`),n.startAt&&(r+=", startAt: ",r+=n.startAt.inclusive?"b:":"a:",r+=n.startAt.position.map(i=>fo(i)).join(",")),n.endAt&&(r+=", endAt: ",r+=n.endAt.inclusive?"a:":"b:",r+=n.endAt.position.map(i=>fo(i)).join(",")),`Target(${r})`}(Ti(e))}; limitType=${e.limitType})`}function nh(e,t){return t.isFoundDocument()&&function(r,i){const a=i.key.path;return r.collectionGroup!==null?i.key.hasCollectionId(r.collectionGroup)&&r.path.isPrefixOf(a):De.isDocumentKey(r.path)?r.path.isEqual(a):r.path.isImmediateParentOf(a)}(e,t)&&function(r,i){for(const a of xl(r))if(!a.field.isKeyField()&&i.data.field(a.field)===null)return!1;return!0}(e,t)&&function(r,i){for(const a of r.filters)if(!a.matches(i))return!1;return!0}(e,t)&&function(r,i){return!(r.startAt&&!function(s,o,l){const u=dw(s,o,l);return s.inclusive?u<=0:u<0}(r.startAt,xl(r),i)||r.endAt&&!function(s,o,l){const u=dw(s,o,l);return s.inclusive?u>=0:u>0}(r.endAt,xl(r),i))}(e,t)}function q8(e){return e.collectionGroup||(e.path.length%2==1?e.path.lastSegment():e.path.get(e.path.length-2))}function JT(e){return(t,n)=>{let r=!1;for(const i of xl(e)){const a=W8(i,t,n);if(a!==0)return a;r=r||i.field.isKeyField()}return 0}}function W8(e,t,n){const r=e.field.isKeyField()?De.comparator(t.key,n.key):function(a,s,o){const l=s.data.field(a),u=o.data.field(a);return l!==null&&u!==null?co(l,u):Fe()}(e.field,t,n);switch(e.dir){case"asc":return r;case"desc":return-1*r;default:return Fe()}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class ko{constructor(t,n){this.mapKeyFn=t,this.equalsFn=n,this.inner={},this.innerSize=0}get(t){const n=this.mapKeyFn(t),r=this.inner[n];if(r!==void 0){for(const[i,a]of r)if(this.equalsFn(i,t))return a}}has(t){return this.get(t)!==void 0}set(t,n){const r=this.mapKeyFn(t),i=this.inner[r];if(i===void 0)return this.inner[r]=[[t,n]],void this.innerSize++;for(let a=0;a{for(const[i,a]of r)t(i,a)})}isEmpty(){return jT(this.inner)}size(){return this.innerSize}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const G8=new Mt(De.comparator);function Ii(){return G8}const ZT=new Mt(De.comparator);function sl(...e){let t=ZT;for(const n of e)t=t.insert(n.key,n);return t}function eI(e){let t=ZT;return e.forEach((n,r)=>t=t.insert(n,r.overlayedDocument)),t}function Wa(){return El()}function tI(){return El()}function El(){return new ko(e=>e.toString(),(e,t)=>e.isEqual(t))}const K8=new Mt(De.comparator),Y8=new Pn(De.comparator);function et(...e){let t=Y8;for(const n of e)t=t.add(n);return t}const X8=new Pn(ot);function Q8(){return X8}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function nI(e,t){if(e.useProto3Json){if(isNaN(t))return{doubleValue:"NaN"};if(t===1/0)return{doubleValue:"Infinity"};if(t===-1/0)return{doubleValue:"-Infinity"}}return{doubleValue:Bd(t)?"-0":t}}function rI(e){return{integerValue:""+e}}function J8(e,t){return T8(t)?rI(t):nI(e,t)}/** - * @license - * Copyright 2018 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class rh{constructor(){this._=void 0}}function Z8(e,t,n){return e instanceof Ud?function(i,a){const s={fields:{__type__:{stringValue:"server_timestamp"},__local_write_time__:{timestampValue:{seconds:i.seconds,nanos:i.nanoseconds}}}};return a&&yy(a)&&(a=by(a)),a&&(s.fields.__previous_value__=a),{mapValue:s}}(n,t):e instanceof iu?aI(e,t):e instanceof au?sI(e,t):function(i,a){const s=iI(i,a),o=vw(s)+vw(i.Ee);return zv(s)&&zv(i.Ee)?rI(o):nI(i.serializer,o)}(e,t)}function eU(e,t,n){return e instanceof iu?aI(e,t):e instanceof au?sI(e,t):n}function iI(e,t){return e instanceof zd?function(r){return zv(r)||function(a){return!!a&&"doubleValue"in a}(r)}(t)?t:{integerValue:0}:null}class Ud extends rh{}class iu extends rh{constructor(t){super(),this.elements=t}}function aI(e,t){const n=oI(t);for(const r of e.elements)n.some(i=>ii(i,r))||n.push(r);return{arrayValue:{values:n}}}class au extends rh{constructor(t){super(),this.elements=t}}function sI(e,t){let n=oI(t);for(const r of e.elements)n=n.filter(i=>!ii(i,r));return{arrayValue:{values:n}}}class zd extends rh{constructor(t,n){super(),this.serializer=t,this.Ee=n}}function vw(e){return qt(e.integerValue||e.doubleValue)}function oI(e){return _y(e)&&e.arrayValue.values?e.arrayValue.values.slice():[]}function tU(e,t){return e.field.isEqual(t.field)&&function(r,i){return r instanceof iu&&i instanceof iu||r instanceof au&&i instanceof au?uo(r.elements,i.elements,ii):r instanceof zd&&i instanceof zd?ii(r.Ee,i.Ee):r instanceof Ud&&i instanceof Ud}(e.transform,t.transform)}class nU{constructor(t,n){this.version=t,this.transformResults=n}}class pi{constructor(t,n){this.updateTime=t,this.exists=n}static none(){return new pi}static exists(t){return new pi(void 0,t)}static updateTime(t){return new pi(t)}get isNone(){return this.updateTime===void 0&&this.exists===void 0}isEqual(t){return this.exists===t.exists&&(this.updateTime?!!t.updateTime&&this.updateTime.isEqual(t.updateTime):!t.updateTime)}}function Wc(e,t){return e.updateTime!==void 0?t.isFoundDocument()&&t.version.isEqual(e.updateTime):e.exists===void 0||e.exists===t.isFoundDocument()}class ih{}function lI(e,t){if(!e.hasLocalMutations||t&&t.fields.length===0)return null;if(t===null)return e.isNoDocument()?new cI(e.key,pi.none()):new Du(e.key,e.data,pi.none());{const n=e.data,r=hr.empty();let i=new Pn(Sn.comparator);for(let a of t.fields)if(!i.has(a)){let s=n.field(a);s===null&&a.length>1&&(a=a.popLast(),s=n.field(a)),s===null?r.delete(a):r.set(a,s),i=i.add(a)}return new gs(e.key,r,new $r(i.toArray()),pi.none())}}function rU(e,t,n){e instanceof Du?function(i,a,s){const o=i.value.clone(),l=pw(i.fieldTransforms,a,s.transformResults);o.setAll(l),a.convertToFoundDocument(s.version,o).setHasCommittedMutations()}(e,t,n):e instanceof gs?function(i,a,s){if(!Wc(i.precondition,a))return void a.convertToUnknownDocument(s.version);const o=pw(i.fieldTransforms,a,s.transformResults),l=a.data;l.setAll(uI(i)),l.setAll(o),a.convertToFoundDocument(s.version,l).setHasCommittedMutations()}(e,t,n):function(i,a,s){a.convertToNoDocument(s.version).setHasCommittedMutations()}(0,t,n)}function Tl(e,t,n,r){return e instanceof Du?function(a,s,o,l){if(!Wc(a.precondition,s))return o;const u=a.value.clone(),c=yw(a.fieldTransforms,l,s);return u.setAll(c),s.convertToFoundDocument(s.version,u).setHasLocalMutations(),null}(e,t,n,r):e instanceof gs?function(a,s,o,l){if(!Wc(a.precondition,s))return o;const u=yw(a.fieldTransforms,l,s),c=s.data;return c.setAll(uI(a)),c.setAll(u),s.convertToFoundDocument(s.version,c).setHasLocalMutations(),o===null?null:o.unionWith(a.fieldMask.fields).unionWith(a.fieldTransforms.map(d=>d.field))}(e,t,n,r):function(a,s,o){return Wc(a.precondition,s)?(s.convertToNoDocument(s.version).setHasLocalMutations(),null):o}(e,t,n)}function iU(e,t){let n=null;for(const r of e.fieldTransforms){const i=t.data.field(r.field),a=iI(r.transform,i||null);a!=null&&(n===null&&(n=hr.empty()),n.set(r.field,a))}return n||null}function gw(e,t){return e.type===t.type&&!!e.key.isEqual(t.key)&&!!e.precondition.isEqual(t.precondition)&&!!function(r,i){return r===void 0&&i===void 0||!(!r||!i)&&uo(r,i,(a,s)=>tU(a,s))}(e.fieldTransforms,t.fieldTransforms)&&(e.type===0?e.value.isEqual(t.value):e.type!==1||e.data.isEqual(t.data)&&e.fieldMask.isEqual(t.fieldMask))}class Du extends ih{constructor(t,n,r,i=[]){super(),this.key=t,this.value=n,this.precondition=r,this.fieldTransforms=i,this.type=0}getFieldMask(){return null}}class gs extends ih{constructor(t,n,r,i,a=[]){super(),this.key=t,this.data=n,this.fieldMask=r,this.precondition=i,this.fieldTransforms=a,this.type=1}getFieldMask(){return this.fieldMask}}function uI(e){const t=new Map;return e.fieldMask.fields.forEach(n=>{if(!n.isEmpty()){const r=e.data.field(n);t.set(n,r)}}),t}function pw(e,t,n){const r=new Map;Tt(e.length===n.length);for(let i=0;i{const a=t.get(i.key),s=a.overlayedDocument;let o=this.applyToLocalView(s,a.mutatedFields);o=n.has(i.key)?null:o;const l=lI(s,o);l!==null&&r.set(i.key,l),s.isValidDocument()||s.convertToNoDocument(He.min())}),r}keys(){return this.mutations.reduce((t,n)=>t.add(n.key),et())}isEqual(t){return this.batchId===t.batchId&&uo(this.mutations,t.mutations,(n,r)=>gw(n,r))&&uo(this.baseMutations,t.baseMutations,(n,r)=>gw(n,r))}}class Cy{constructor(t,n,r,i){this.batch=t,this.commitVersion=n,this.mutationResults=r,this.docVersions=i}static from(t,n,r){Tt(t.mutations.length===r.length);let i=function(){return K8}();const a=t.mutations;for(let s=0;s=8)throw new ol(`Invalid padding: ${n}`);if(r<0)throw new ol(`Invalid hash count: ${r}`);if(t.length>0&&this.hashCount===0)throw new ol(`Invalid hash count: ${r}`);if(t.length===0&&n!==0)throw new ol(`Invalid padding when bitmap length is 0: ${n}`);this.Ae=8*t.length-n,this.Re=ro.fromNumber(this.Ae)}Ve(t,n,r){let i=t.add(n.multiply(ro.fromNumber(r)));return i.compare(dU)===1&&(i=new ro([i.getBits(0),i.getBits(1)],0)),i.modulo(this.Re).toNumber()}me(t){return(this.bitmap[Math.floor(t/8)]&1<s.insert(o)),s}insert(t){if(this.Ae===0)return;const n=bw(t),[r,i]=_w(n);for(let a=0;a0&&(this.ve=!0,this.be=t)}xe(){let t=et(),n=et(),r=et();return this.Se.forEach((i,a)=>{switch(a){case 0:t=t.add(i);break;case 2:n=n.add(i);break;case 1:r=r.add(i);break;default:Fe()}}),new $u(this.be,this.De,t,n,r)}Oe(){this.ve=!1,this.Se=Cw()}Ne(t,n){this.ve=!0,this.Se=this.Se.insert(t,n)}Be(t){this.ve=!0,this.Se=this.Se.remove(t)}Le(){this.we+=1}ke(){this.we-=1}qe(){this.ve=!0,this.De=!0}}class fU{constructor(t){this.Qe=t,this.Ke=new Map,this.$e=Ii(),this.Ue=Sw(),this.We=new Mt(ot)}Ge(t){for(const n of t.ge)t.pe&&t.pe.isFoundDocument()?this.ze(n,t.pe):this.je(n,t.key,t.pe);for(const n of t.removedTargetIds)this.je(n,t.key,t.pe)}He(t){this.forEachTarget(t,n=>{const r=this.Je(n);switch(t.state){case 0:this.Ye(n)&&r.Me(t.resumeToken);break;case 1:r.ke(),r.Ce||r.Oe(),r.Me(t.resumeToken);break;case 2:r.ke(),r.Ce||this.removeTarget(n);break;case 3:this.Ye(n)&&(r.qe(),r.Me(t.resumeToken));break;case 4:this.Ye(n)&&(this.Ze(n),r.Me(t.resumeToken));break;default:Fe()}})}forEachTarget(t,n){t.targetIds.length>0?t.targetIds.forEach(n):this.Ke.forEach((r,i)=>{this.Ye(i)&&n(i)})}Xe(t){const n=t.targetId,r=t.ye.count,i=this.et(n);if(i){const a=i.target;if(qv(a))if(r===0){const s=new De(a.path);this.je(n,s,wn.newNoDocument(s,He.min()))}else Tt(r===1);else{const s=this.tt(n);if(s!==r){const o=this.nt(t),l=o?this.rt(o,t,s):1;if(l!==0){this.Ze(n);const u=l===2?"TargetPurposeExistenceFilterMismatchBloom":"TargetPurposeExistenceFilterMismatch";this.We=this.We.insert(n,u)}}}}}nt(t){const n=t.ye.unchangedNames;if(!n||!n.bits)return null;const{bits:{bitmap:r="",padding:i=0},hashCount:a=0}=n;let s,o;try{s=as(r).toUint8Array()}catch(l){if(l instanceof UT)return lo("Decoding the base64 bloom filter in existence filter failed ("+l.message+"); ignoring the bloom filter and falling back to full re-query."),null;throw l}try{o=new xy(s,i,a)}catch(l){return lo(l instanceof ol?"BloomFilter error: ":"Applying bloom filter failed: ",l),null}return o.Ae===0?null:o}rt(t,n,r){return n.ye.count===r-this.ot(t,n.targetId)?0:2}ot(t,n){const r=this.Qe.getRemoteKeysForTarget(n);let i=0;return r.forEach(a=>{const s=this.Qe.st(),o=`projects/${s.projectId}/databases/${s.database}/documents/${a.path.canonicalString()}`;t.mightContain(o)||(this.je(n,a,null),i++)}),i}_t(t){const n=new Map;this.Ke.forEach((a,s)=>{const o=this.et(s);if(o){if(a.current&&qv(o.target)){const l=new De(o.target.path);this.$e.get(l)!==null||this.ut(s,l)||this.je(s,l,wn.newNoDocument(l,t))}a.Fe&&(n.set(s,a.xe()),a.Oe())}});let r=et();this.Ue.forEach((a,s)=>{let o=!0;s.forEachWhile(l=>{const u=this.et(l);return!u||u.purpose==="TargetPurposeLimboResolution"||(o=!1,!1)}),o&&(r=r.add(a))}),this.$e.forEach((a,s)=>s.setReadTime(t));const i=new ah(t,n,this.We,this.$e,r);return this.$e=Ii(),this.Ue=Sw(),this.We=new Mt(ot),i}ze(t,n){if(!this.Ye(t))return;const r=this.ut(t,n.key)?2:0;this.Je(t).Ne(n.key,r),this.$e=this.$e.insert(n.key,n),this.Ue=this.Ue.insert(n.key,this.ct(n.key).add(t))}je(t,n,r){if(!this.Ye(t))return;const i=this.Je(t);this.ut(t,n)?i.Ne(n,1):i.Be(n),this.Ue=this.Ue.insert(n,this.ct(n).delete(t)),r&&(this.$e=this.$e.insert(n,r))}removeTarget(t){this.Ke.delete(t)}tt(t){const n=this.Je(t).xe();return this.Qe.getRemoteKeysForTarget(t).size+n.addedDocuments.size-n.removedDocuments.size}Le(t){this.Je(t).Le()}Je(t){let n=this.Ke.get(t);return n||(n=new ww,this.Ke.set(t,n)),n}ct(t){let n=this.Ue.get(t);return n||(n=new Pn(ot),this.Ue=this.Ue.insert(t,n)),n}Ye(t){const n=this.et(t)!==null;return n||Pe("WatchChangeAggregator","Detected inactive target",t),n}et(t){const n=this.Ke.get(t);return n&&n.Ce?null:this.Qe.lt(t)}Ze(t){this.Ke.set(t,new ww),this.Qe.getRemoteKeysForTarget(t).forEach(n=>{this.je(t,n,null)})}ut(t,n){return this.Qe.getRemoteKeysForTarget(t).has(n)}}function Sw(){return new Mt(De.comparator)}function Cw(){return new Mt(De.comparator)}const hU=(()=>({asc:"ASCENDING",desc:"DESCENDING"}))(),mU=(()=>({"<":"LESS_THAN","<=":"LESS_THAN_OR_EQUAL",">":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","==":"EQUAL","!=":"NOT_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"}))(),vU=(()=>({and:"AND",or:"OR"}))();class gU{constructor(t,n){this.databaseId=t,this.useProto3Json=n}}function Kv(e,t){return e.useProto3Json||Zf(t)?t:{value:t}}function Hd(e,t){return e.useProto3Json?`${new Date(1e3*t.seconds).toISOString().replace(/\.\d*/,"").replace("Z","")}.${("000000000"+t.nanoseconds).slice(-9)}Z`:{seconds:""+t.seconds,nanos:t.nanoseconds}}function mI(e,t){return e.useProto3Json?t.toBase64():t.toUint8Array()}function pU(e,t){return Hd(e,t.toTimestamp())}function ti(e){return Tt(!!e),He.fromTimestamp(function(n){const r=ua(n);return new Jt(r.seconds,r.nanos)}(e))}function Ey(e,t){return function(r){return new Vt(["projects",r.projectId,"databases",r.database])}(e).child("documents").child(t).canonicalString()}function vI(e){const t=Vt.fromString(e);return Tt(bI(t)),t}function Yv(e,t){return Ey(e.databaseId,t.path)}function wm(e,t){const n=vI(t);if(n.get(1)!==e.databaseId.projectId)throw new Oe(le.INVALID_ARGUMENT,"Tried to deserialize key from different project: "+n.get(1)+" vs "+e.databaseId.projectId);if(n.get(3)!==e.databaseId.database)throw new Oe(le.INVALID_ARGUMENT,"Tried to deserialize key from different database: "+n.get(3)+" vs "+e.databaseId.database);return new De(gI(n))}function Xv(e,t){return Ey(e.databaseId,t)}function yU(e){const t=vI(e);return t.length===4?Vt.emptyPath():gI(t)}function Qv(e){return new Vt(["projects",e.databaseId.projectId,"databases",e.databaseId.database]).canonicalString()}function gI(e){return Tt(e.length>4&&e.get(4)==="documents"),e.popFirst(5)}function xw(e,t,n){return{name:Yv(e,t),fields:n.value.mapValue.fields}}function bU(e,t){let n;if("targetChange"in t){t.targetChange;const r=function(u){return u==="NO_CHANGE"?0:u==="ADD"?1:u==="REMOVE"?2:u==="CURRENT"?3:u==="RESET"?4:Fe()}(t.targetChange.targetChangeType||"NO_CHANGE"),i=t.targetChange.targetIds||[],a=function(u,c){return u.useProto3Json?(Tt(c===void 0||typeof c=="string"),Vn.fromBase64String(c||"")):(Tt(c===void 0||c instanceof Uint8Array),Vn.fromUint8Array(c||new Uint8Array))}(e,t.targetChange.resumeToken),s=t.targetChange.cause,o=s&&function(u){const c=u.code===void 0?le.UNKNOWN:dI(u.code);return new Oe(c,u.message||"")}(s);n=new hI(r,i,a,o||null)}else if("documentChange"in t){t.documentChange;const r=t.documentChange;r.document,r.document.name,r.document.updateTime;const i=wm(e,r.document.name),a=ti(r.document.updateTime),s=r.document.createTime?ti(r.document.createTime):He.min(),o=new hr({mapValue:{fields:r.document.fields}}),l=wn.newFoundDocument(i,a,s,o),u=r.targetIds||[],c=r.removedTargetIds||[];n=new Gc(u,c,l.key,l)}else if("documentDelete"in t){t.documentDelete;const r=t.documentDelete;r.document;const i=wm(e,r.document),a=r.readTime?ti(r.readTime):He.min(),s=wn.newNoDocument(i,a),o=r.removedTargetIds||[];n=new Gc([],o,s.key,s)}else if("documentRemove"in t){t.documentRemove;const r=t.documentRemove;r.document;const i=wm(e,r.document),a=r.removedTargetIds||[];n=new Gc([],a,i,null)}else{if(!("filter"in t))return Fe();{t.filter;const r=t.filter;r.targetId;const{count:i=0,unchangedNames:a}=r,s=new lU(i,a),o=r.targetId;n=new fI(o,s)}}return n}function _U(e,t){let n;if(t instanceof Du)n={update:xw(e,t.key,t.value)};else if(t instanceof cI)n={delete:Yv(e,t.key)};else if(t instanceof gs)n={update:xw(e,t.key,t.data),updateMask:kU(t.fieldMask)};else{if(!(t instanceof aU))return Fe();n={verify:Yv(e,t.key)}}return t.fieldTransforms.length>0&&(n.updateTransforms=t.fieldTransforms.map(r=>function(a,s){const o=s.transform;if(o instanceof Ud)return{fieldPath:s.field.canonicalString(),setToServerValue:"REQUEST_TIME"};if(o instanceof iu)return{fieldPath:s.field.canonicalString(),appendMissingElements:{values:o.elements}};if(o instanceof au)return{fieldPath:s.field.canonicalString(),removeAllFromArray:{values:o.elements}};if(o instanceof zd)return{fieldPath:s.field.canonicalString(),increment:o.Ee};throw Fe()}(0,r))),t.precondition.isNone||(n.currentDocument=function(i,a){return a.updateTime!==void 0?{updateTime:pU(i,a.updateTime)}:a.exists!==void 0?{exists:a.exists}:Fe()}(e,t.precondition)),n}function wU(e,t){return e&&e.length>0?(Tt(t!==void 0),e.map(n=>function(i,a){let s=i.updateTime?ti(i.updateTime):ti(a);return s.isEqual(He.min())&&(s=ti(a)),new nU(s,i.transformResults||[])}(n,t))):[]}function SU(e,t){return{documents:[Xv(e,t.path)]}}function CU(e,t){const n={structuredQuery:{}},r=t.path;t.collectionGroup!==null?(n.parent=Xv(e,r),n.structuredQuery.from=[{collectionId:t.collectionGroup,allDescendants:!0}]):(n.parent=Xv(e,r.popLast()),n.structuredQuery.from=[{collectionId:r.lastSegment()}]);const i=function(l){if(l.length!==0)return yI(ai.create(l,"and"))}(t.filters);i&&(n.structuredQuery.where=i);const a=function(l){if(l.length!==0)return l.map(u=>function(d){return{field:Us(d.field),direction:TU(d.dir)}}(u))}(t.orderBy);a&&(n.structuredQuery.orderBy=a);const s=Kv(e,t.limit);return s!==null&&(n.structuredQuery.limit=s),t.startAt&&(n.structuredQuery.startAt=function(l){return{before:l.inclusive,values:l.position}}(t.startAt)),t.endAt&&(n.structuredQuery.endAt=function(l){return{before:!l.inclusive,values:l.position}}(t.endAt)),n}function xU(e){let t=yU(e.parent);const n=e.structuredQuery,r=n.from?n.from.length:0;let i=null;if(r>0){Tt(r===1);const c=n.from[0];c.allDescendants?i=c.collectionId:t=t.child(c.collectionId)}let a=[];n.where&&(a=function(d){const f=pI(d);return f instanceof ai&&WT(f)?f.getFilters():[f]}(n.where));let s=[];n.orderBy&&(s=function(d){return d.map(f=>function(v){return new Cl(zs(v.field),function(y){switch(y){case"ASCENDING":return"asc";case"DESCENDING":return"desc";default:return}}(v.direction))}(f))}(n.orderBy));let o=null;n.limit&&(o=function(d){let f;return f=typeof d=="object"?d.value:d,Zf(f)?null:f}(n.limit));let l=null;n.startAt&&(l=function(d){const f=!!d.before,h=d.values||[];return new jd(h,f)}(n.startAt));let u=null;return n.endAt&&(u=function(d){const f=!d.before,h=d.values||[];return new jd(h,f)}(n.endAt)),B8(t,i,s,a,o,"F",l,u)}function EU(e,t){const n=function(i){switch(i){case"TargetPurposeListen":return null;case"TargetPurposeExistenceFilterMismatch":return"existence-filter-mismatch";case"TargetPurposeExistenceFilterMismatchBloom":return"existence-filter-mismatch-bloom";case"TargetPurposeLimboResolution":return"limbo-document";default:return Fe()}}(t.purpose);return n==null?null:{"goog-listen-tags":n}}function pI(e){return e.unaryFilter!==void 0?function(n){switch(n.unaryFilter.op){case"IS_NAN":const r=zs(n.unaryFilter.field);return Qt.create(r,"==",{doubleValue:NaN});case"IS_NULL":const i=zs(n.unaryFilter.field);return Qt.create(i,"==",{nullValue:"NULL_VALUE"});case"IS_NOT_NAN":const a=zs(n.unaryFilter.field);return Qt.create(a,"!=",{doubleValue:NaN});case"IS_NOT_NULL":const s=zs(n.unaryFilter.field);return Qt.create(s,"!=",{nullValue:"NULL_VALUE"});default:return Fe()}}(e):e.fieldFilter!==void 0?function(n){return Qt.create(zs(n.fieldFilter.field),function(i){switch(i){case"EQUAL":return"==";case"NOT_EQUAL":return"!=";case"GREATER_THAN":return">";case"GREATER_THAN_OR_EQUAL":return">=";case"LESS_THAN":return"<";case"LESS_THAN_OR_EQUAL":return"<=";case"ARRAY_CONTAINS":return"array-contains";case"IN":return"in";case"NOT_IN":return"not-in";case"ARRAY_CONTAINS_ANY":return"array-contains-any";default:return Fe()}}(n.fieldFilter.op),n.fieldFilter.value)}(e):e.compositeFilter!==void 0?function(n){return ai.create(n.compositeFilter.filters.map(r=>pI(r)),function(i){switch(i){case"AND":return"and";case"OR":return"or";default:return Fe()}}(n.compositeFilter.op))}(e):Fe()}function TU(e){return hU[e]}function IU(e){return mU[e]}function AU(e){return vU[e]}function Us(e){return{fieldPath:e.canonicalString()}}function zs(e){return Sn.fromServerFormat(e.fieldPath)}function yI(e){return e instanceof Qt?function(n){if(n.op==="=="){if(cw(n.value))return{unaryFilter:{field:Us(n.field),op:"IS_NAN"}};if(uw(n.value))return{unaryFilter:{field:Us(n.field),op:"IS_NULL"}}}else if(n.op==="!="){if(cw(n.value))return{unaryFilter:{field:Us(n.field),op:"IS_NOT_NAN"}};if(uw(n.value))return{unaryFilter:{field:Us(n.field),op:"IS_NOT_NULL"}}}return{fieldFilter:{field:Us(n.field),op:IU(n.op),value:n.value}}}(e):e instanceof ai?function(n){const r=n.getFilters().map(i=>yI(i));return r.length===1?r[0]:{compositeFilter:{op:AU(n.op),filters:r}}}(e):Fe()}function kU(e){const t=[];return e.fields.forEach(n=>t.push(n.canonicalString())),{fieldPaths:t}}function bI(e){return e.length>=4&&e.get(0)==="projects"&&e.get(2)==="databases"}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Zi{constructor(t,n,r,i,a=He.min(),s=He.min(),o=Vn.EMPTY_BYTE_STRING,l=null){this.target=t,this.targetId=n,this.purpose=r,this.sequenceNumber=i,this.snapshotVersion=a,this.lastLimboFreeSnapshotVersion=s,this.resumeToken=o,this.expectedCount=l}withSequenceNumber(t){return new Zi(this.target,this.targetId,this.purpose,t,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,this.expectedCount)}withResumeToken(t,n){return new Zi(this.target,this.targetId,this.purpose,this.sequenceNumber,n,this.lastLimboFreeSnapshotVersion,t,null)}withExpectedCount(t){return new Zi(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,t)}withLastLimboFreeSnapshotVersion(t){return new Zi(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,t,this.resumeToken,this.expectedCount)}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class PU{constructor(t){this.ht=t}}function VU(e){const t=xU({parent:e.parent,structuredQuery:e.structuredQuery});return e.limitType==="LAST"?Wv(t,t.limit,"L"):t}/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class RU{constructor(){this._n=new OU}addToCollectionParentIndex(t,n){return this._n.add(n),he.resolve()}getCollectionParents(t,n){return he.resolve(this._n.getEntries(n))}addFieldIndex(t,n){return he.resolve()}deleteFieldIndex(t,n){return he.resolve()}getDocumentsMatchingTarget(t,n){return he.resolve(null)}getIndexType(t,n){return he.resolve(0)}getFieldIndexes(t,n){return he.resolve([])}getNextCollectionGroupToUpdate(t){return he.resolve(null)}getMinOffset(t,n){return he.resolve(la.min())}getMinOffsetFromCollectionGroup(t,n){return he.resolve(la.min())}updateCollectionGroup(t,n,r){return he.resolve()}updateIndexEntries(t,n){return he.resolve()}}class OU{constructor(){this.index={}}add(t){const n=t.lastSegment(),r=t.popLast(),i=this.index[n]||new Pn(Vt.comparator),a=!i.has(r);return this.index[n]=i.add(r),a}has(t){const n=t.lastSegment(),r=t.popLast(),i=this.index[n];return i&&i.has(r)}getEntries(t){return(this.index[t]||new Pn(Vt.comparator)).toArray()}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class ho{constructor(t){this.On=t}next(){return this.On+=2,this.On}static Nn(){return new ho(0)}static Bn(){return new ho(-1)}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class MU{constructor(){this.changes=new ko(t=>t.toString(),(t,n)=>t.isEqual(n)),this.changesApplied=!1}addEntry(t){this.assertNotApplied(),this.changes.set(t.key,t)}removeEntry(t,n){this.assertNotApplied(),this.changes.set(t,wn.newInvalidDocument(t).setReadTime(n))}getEntry(t,n){this.assertNotApplied();const r=this.changes.get(n);return r!==void 0?he.resolve(r):this.getFromCache(t,n)}getEntries(t,n){return this.getAllFromCache(t,n)}apply(t){return this.assertNotApplied(),this.changesApplied=!0,this.applyChanges(t)}assertNotApplied(){}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - *//** - * @license - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class DU{constructor(t,n){this.overlayedDocument=t,this.mutatedFields=n}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class $U{constructor(t,n,r,i){this.remoteDocumentCache=t,this.mutationQueue=n,this.documentOverlayCache=r,this.indexManager=i}getDocument(t,n){let r=null;return this.documentOverlayCache.getOverlay(t,n).next(i=>(r=i,this.remoteDocumentCache.getEntry(t,n))).next(i=>(r!==null&&Tl(r.mutation,i,$r.empty(),Jt.now()),i))}getDocuments(t,n){return this.remoteDocumentCache.getEntries(t,n).next(r=>this.getLocalViewOfDocuments(t,r,et()).next(()=>r))}getLocalViewOfDocuments(t,n,r=et()){const i=Wa();return this.populateOverlays(t,i,n).next(()=>this.computeViews(t,n,i,r).next(a=>{let s=sl();return a.forEach((o,l)=>{s=s.insert(o,l.overlayedDocument)}),s}))}getOverlayedDocuments(t,n){const r=Wa();return this.populateOverlays(t,r,n).next(()=>this.computeViews(t,n,r,et()))}populateOverlays(t,n,r){const i=[];return r.forEach(a=>{n.has(a)||i.push(a)}),this.documentOverlayCache.getOverlays(t,i).next(a=>{a.forEach((s,o)=>{n.set(s,o)})})}computeViews(t,n,r,i){let a=Ii();const s=El(),o=function(){return El()}();return n.forEach((l,u)=>{const c=r.get(u.key);i.has(u.key)&&(c===void 0||c.mutation instanceof gs)?a=a.insert(u.key,u):c!==void 0?(s.set(u.key,c.mutation.getFieldMask()),Tl(c.mutation,u,c.mutation.getFieldMask(),Jt.now())):s.set(u.key,$r.empty())}),this.recalculateAndSaveOverlays(t,a).next(l=>(l.forEach((u,c)=>s.set(u,c)),n.forEach((u,c)=>{var d;return o.set(u,new DU(c,(d=s.get(u))!==null&&d!==void 0?d:null))}),o))}recalculateAndSaveOverlays(t,n){const r=El();let i=new Mt((s,o)=>s-o),a=et();return this.mutationQueue.getAllMutationBatchesAffectingDocumentKeys(t,n).next(s=>{for(const o of s)o.keys().forEach(l=>{const u=n.get(l);if(u===null)return;let c=r.get(l)||$r.empty();c=o.applyToLocalView(u,c),r.set(l,c);const d=(i.get(o.batchId)||et()).add(l);i=i.insert(o.batchId,d)})}).next(()=>{const s=[],o=i.getReverseIterator();for(;o.hasNext();){const l=o.getNext(),u=l.key,c=l.value,d=tI();c.forEach(f=>{if(!a.has(f)){const h=lI(n.get(f),r.get(f));h!==null&&d.set(f,h),a=a.add(f)}}),s.push(this.documentOverlayCache.saveOverlays(t,u,d))}return he.waitFor(s)}).next(()=>r)}recalculateAndSaveOverlaysForDocumentKeys(t,n){return this.remoteDocumentCache.getEntries(t,n).next(r=>this.recalculateAndSaveOverlays(t,r))}getDocumentsMatchingQuery(t,n,r){return function(a){return De.isDocumentKey(a.path)&&a.collectionGroup===null&&a.filters.length===0}(n)?this.getDocumentsMatchingDocumentQuery(t,n.path):z8(n)?this.getDocumentsMatchingCollectionGroupQuery(t,n,r):this.getDocumentsMatchingCollectionQuery(t,n,r)}getNextDocuments(t,n,r,i){return this.remoteDocumentCache.getAllFromCollectionGroup(t,n,r,i).next(a=>{const s=i-a.size>0?this.documentOverlayCache.getOverlaysForCollectionGroup(t,n,r.largestBatchId,i-a.size):he.resolve(Wa());let o=-1,l=a;return s.next(u=>he.forEach(u,(c,d)=>(o{l=l.insert(c,f)}))).next(()=>this.populateOverlays(t,u,a)).next(()=>this.computeViews(t,l,u,et())).next(c=>({batchId:o,changes:eI(c)})))})}getDocumentsMatchingDocumentQuery(t,n){return this.getDocument(t,new De(n)).next(r=>{let i=sl();return r.isFoundDocument()&&(i=i.insert(r.key,r)),i})}getDocumentsMatchingCollectionGroupQuery(t,n,r){const i=n.collectionGroup;let a=sl();return this.indexManager.getCollectionParents(t,i).next(s=>he.forEach(s,o=>{const l=function(c,d){return new eh(d,null,c.explicitOrderBy.slice(),c.filters.slice(),c.limit,c.limitType,c.startAt,c.endAt)}(n,o.child(i));return this.getDocumentsMatchingCollectionQuery(t,l,r).next(u=>{u.forEach((c,d)=>{a=a.insert(c,d)})})}).next(()=>a))}getDocumentsMatchingCollectionQuery(t,n,r){let i;return this.documentOverlayCache.getOverlaysForCollection(t,n.path,r.largestBatchId).next(a=>(i=a,this.remoteDocumentCache.getDocumentsMatchingQuery(t,n,r,i))).next(a=>{i.forEach((o,l)=>{const u=l.getKey();a.get(u)===null&&(a=a.insert(u,wn.newInvalidDocument(u)))});let s=sl();return a.forEach((o,l)=>{const u=i.get(o);u!==void 0&&Tl(u.mutation,l,$r.empty(),Jt.now()),nh(n,l)&&(s=s.insert(o,l))}),s})}}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class NU{constructor(t){this.serializer=t,this.cr=new Map,this.lr=new Map}getBundleMetadata(t,n){return he.resolve(this.cr.get(n))}saveBundleMetadata(t,n){return this.cr.set(n.id,function(i){return{id:i.id,version:i.version,createTime:ti(i.createTime)}}(n)),he.resolve()}getNamedQuery(t,n){return he.resolve(this.lr.get(n))}saveNamedQuery(t,n){return this.lr.set(n.name,function(i){return{name:i.name,query:VU(i.bundledQuery),readTime:ti(i.readTime)}}(n)),he.resolve()}}/** - * @license - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class FU{constructor(){this.overlays=new Mt(De.comparator),this.hr=new Map}getOverlay(t,n){return he.resolve(this.overlays.get(n))}getOverlays(t,n){const r=Wa();return he.forEach(n,i=>this.getOverlay(t,i).next(a=>{a!==null&&r.set(i,a)})).next(()=>r)}saveOverlays(t,n,r){return r.forEach((i,a)=>{this.It(t,n,a)}),he.resolve()}removeOverlaysForBatchId(t,n,r){const i=this.hr.get(r);return i!==void 0&&(i.forEach(a=>this.overlays=this.overlays.remove(a)),this.hr.delete(r)),he.resolve()}getOverlaysForCollection(t,n,r){const i=Wa(),a=n.length+1,s=new De(n.child("")),o=this.overlays.getIteratorFrom(s);for(;o.hasNext();){const l=o.getNext().value,u=l.getKey();if(!n.isPrefixOf(u.path))break;u.path.length===a&&l.largestBatchId>r&&i.set(l.getKey(),l)}return he.resolve(i)}getOverlaysForCollectionGroup(t,n,r,i){let a=new Mt((u,c)=>u-c);const s=this.overlays.getIterator();for(;s.hasNext();){const u=s.getNext().value;if(u.getKey().getCollectionGroup()===n&&u.largestBatchId>r){let c=a.get(u.largestBatchId);c===null&&(c=Wa(),a=a.insert(u.largestBatchId,c)),c.set(u.getKey(),u)}}const o=Wa(),l=a.getIterator();for(;l.hasNext()&&(l.getNext().value.forEach((u,c)=>o.set(u,c)),!(o.size()>=i)););return he.resolve(o)}It(t,n,r){const i=this.overlays.get(r.key);if(i!==null){const s=this.hr.get(i.largestBatchId).delete(r.key);this.hr.set(i.largestBatchId,s)}this.overlays=this.overlays.insert(r.key,new oU(n,r));let a=this.hr.get(n);a===void 0&&(a=et(),this.hr.set(n,a)),this.hr.set(n,a.add(r.key))}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Ty{constructor(){this.Pr=new Pn(rn.Ir),this.Tr=new Pn(rn.Er)}isEmpty(){return this.Pr.isEmpty()}addReference(t,n){const r=new rn(t,n);this.Pr=this.Pr.add(r),this.Tr=this.Tr.add(r)}dr(t,n){t.forEach(r=>this.addReference(r,n))}removeReference(t,n){this.Ar(new rn(t,n))}Rr(t,n){t.forEach(r=>this.removeReference(r,n))}Vr(t){const n=new De(new Vt([])),r=new rn(n,t),i=new rn(n,t+1),a=[];return this.Tr.forEachInRange([r,i],s=>{this.Ar(s),a.push(s.key)}),a}mr(){this.Pr.forEach(t=>this.Ar(t))}Ar(t){this.Pr=this.Pr.delete(t),this.Tr=this.Tr.delete(t)}gr(t){const n=new De(new Vt([])),r=new rn(n,t),i=new rn(n,t+1);let a=et();return this.Tr.forEachInRange([r,i],s=>{a=a.add(s.key)}),a}containsKey(t){const n=new rn(t,0),r=this.Pr.firstAfterOrEqual(n);return r!==null&&t.isEqual(r.key)}}class rn{constructor(t,n){this.key=t,this.pr=n}static Ir(t,n){return De.comparator(t.key,n.key)||ot(t.pr,n.pr)}static Er(t,n){return ot(t.pr,n.pr)||De.comparator(t.key,n.key)}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class LU{constructor(t,n){this.indexManager=t,this.referenceDelegate=n,this.mutationQueue=[],this.yr=1,this.wr=new Pn(rn.Ir)}checkEmpty(t){return he.resolve(this.mutationQueue.length===0)}addMutationBatch(t,n,r,i){const a=this.yr;this.yr++,this.mutationQueue.length>0&&this.mutationQueue[this.mutationQueue.length-1];const s=new sU(a,n,r,i);this.mutationQueue.push(s);for(const o of i)this.wr=this.wr.add(new rn(o.key,a)),this.indexManager.addToCollectionParentIndex(t,o.key.path.popLast());return he.resolve(s)}lookupMutationBatch(t,n){return he.resolve(this.Sr(n))}getNextMutationBatchAfterBatchId(t,n){const r=n+1,i=this.br(r),a=i<0?0:i;return he.resolve(this.mutationQueue.length>a?this.mutationQueue[a]:null)}getHighestUnacknowledgedBatchId(){return he.resolve(this.mutationQueue.length===0?-1:this.yr-1)}getAllMutationBatches(t){return he.resolve(this.mutationQueue.slice())}getAllMutationBatchesAffectingDocumentKey(t,n){const r=new rn(n,0),i=new rn(n,Number.POSITIVE_INFINITY),a=[];return this.wr.forEachInRange([r,i],s=>{const o=this.Sr(s.pr);a.push(o)}),he.resolve(a)}getAllMutationBatchesAffectingDocumentKeys(t,n){let r=new Pn(ot);return n.forEach(i=>{const a=new rn(i,0),s=new rn(i,Number.POSITIVE_INFINITY);this.wr.forEachInRange([a,s],o=>{r=r.add(o.pr)})}),he.resolve(this.Dr(r))}getAllMutationBatchesAffectingQuery(t,n){const r=n.path,i=r.length+1;let a=r;De.isDocumentKey(a)||(a=a.child(""));const s=new rn(new De(a),0);let o=new Pn(ot);return this.wr.forEachWhile(l=>{const u=l.key.path;return!!r.isPrefixOf(u)&&(u.length===i&&(o=o.add(l.pr)),!0)},s),he.resolve(this.Dr(o))}Dr(t){const n=[];return t.forEach(r=>{const i=this.Sr(r);i!==null&&n.push(i)}),n}removeMutationBatch(t,n){Tt(this.vr(n.batchId,"removed")===0),this.mutationQueue.shift();let r=this.wr;return he.forEach(n.mutations,i=>{const a=new rn(i.key,n.batchId);return r=r.delete(a),this.referenceDelegate.markPotentiallyOrphaned(t,i.key)}).next(()=>{this.wr=r})}Mn(t){}containsKey(t,n){const r=new rn(n,0),i=this.wr.firstAfterOrEqual(r);return he.resolve(n.isEqual(i&&i.key))}performConsistencyCheck(t){return this.mutationQueue.length,he.resolve()}vr(t,n){return this.br(t)}br(t){return this.mutationQueue.length===0?0:t-this.mutationQueue[0].batchId}Sr(t){const n=this.br(t);return n<0||n>=this.mutationQueue.length?null:this.mutationQueue[n]}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class BU{constructor(t){this.Cr=t,this.docs=function(){return new Mt(De.comparator)}(),this.size=0}setIndexManager(t){this.indexManager=t}addEntry(t,n){const r=n.key,i=this.docs.get(r),a=i?i.size:0,s=this.Cr(n);return this.docs=this.docs.insert(r,{document:n.mutableCopy(),size:s}),this.size+=s-a,this.indexManager.addToCollectionParentIndex(t,r.path.popLast())}removeEntry(t){const n=this.docs.get(t);n&&(this.docs=this.docs.remove(t),this.size-=n.size)}getEntry(t,n){const r=this.docs.get(n);return he.resolve(r?r.document.mutableCopy():wn.newInvalidDocument(n))}getEntries(t,n){let r=Ii();return n.forEach(i=>{const a=this.docs.get(i);r=r.insert(i,a?a.document.mutableCopy():wn.newInvalidDocument(i))}),he.resolve(r)}getDocumentsMatchingQuery(t,n,r,i){let a=Ii();const s=n.path,o=new De(s.child("")),l=this.docs.getIteratorFrom(o);for(;l.hasNext();){const{key:u,value:{document:c}}=l.getNext();if(!s.isPrefixOf(u.path))break;u.path.length>s.length+1||C8(S8(c),r)<=0||(i.has(c.key)||nh(n,c))&&(a=a.insert(c.key,c.mutableCopy()))}return he.resolve(a)}getAllFromCollectionGroup(t,n,r,i){Fe()}Fr(t,n){return he.forEach(this.docs,r=>n(r))}newChangeBuffer(t){return new jU(this)}getSize(t){return he.resolve(this.size)}}class jU extends MU{constructor(t){super(),this.ar=t}applyChanges(t){const n=[];return this.changes.forEach((r,i)=>{i.isValidDocument()?n.push(this.ar.addEntry(t,i)):this.ar.removeEntry(r)}),he.waitFor(n)}getFromCache(t,n){return this.ar.getEntry(t,n)}getAllFromCache(t,n){return this.ar.getEntries(t,n)}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class UU{constructor(t){this.persistence=t,this.Mr=new ko(n=>wy(n),Sy),this.lastRemoteSnapshotVersion=He.min(),this.highestTargetId=0,this.Or=0,this.Nr=new Ty,this.targetCount=0,this.Br=ho.Nn()}forEachTarget(t,n){return this.Mr.forEach((r,i)=>n(i)),he.resolve()}getLastRemoteSnapshotVersion(t){return he.resolve(this.lastRemoteSnapshotVersion)}getHighestSequenceNumber(t){return he.resolve(this.Or)}allocateTargetId(t){return this.highestTargetId=this.Br.next(),he.resolve(this.highestTargetId)}setTargetsMetadata(t,n,r){return r&&(this.lastRemoteSnapshotVersion=r),n>this.Or&&(this.Or=n),he.resolve()}qn(t){this.Mr.set(t.target,t);const n=t.targetId;n>this.highestTargetId&&(this.Br=new ho(n),this.highestTargetId=n),t.sequenceNumber>this.Or&&(this.Or=t.sequenceNumber)}addTargetData(t,n){return this.qn(n),this.targetCount+=1,he.resolve()}updateTargetData(t,n){return this.qn(n),he.resolve()}removeTargetData(t,n){return this.Mr.delete(n.target),this.Nr.Vr(n.targetId),this.targetCount-=1,he.resolve()}removeTargets(t,n,r){let i=0;const a=[];return this.Mr.forEach((s,o)=>{o.sequenceNumber<=n&&r.get(o.targetId)===null&&(this.Mr.delete(s),a.push(this.removeMatchingKeysForTargetId(t,o.targetId)),i++)}),he.waitFor(a).next(()=>i)}getTargetCount(t){return he.resolve(this.targetCount)}getTargetData(t,n){const r=this.Mr.get(n)||null;return he.resolve(r)}addMatchingKeys(t,n,r){return this.Nr.dr(n,r),he.resolve()}removeMatchingKeys(t,n,r){this.Nr.Rr(n,r);const i=this.persistence.referenceDelegate,a=[];return i&&n.forEach(s=>{a.push(i.markPotentiallyOrphaned(t,s))}),he.waitFor(a)}removeMatchingKeysForTargetId(t,n){return this.Nr.Vr(n),he.resolve()}getMatchingKeysForTargetId(t,n){const r=this.Nr.gr(n);return he.resolve(r)}containsKey(t,n){return he.resolve(this.Nr.containsKey(n))}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class zU{constructor(t,n){this.Lr={},this.overlays={},this.kr=new py(0),this.qr=!1,this.qr=!0,this.referenceDelegate=t(this),this.Qr=new UU(this),this.indexManager=new RU,this.remoteDocumentCache=function(i){return new BU(i)}(r=>this.referenceDelegate.Kr(r)),this.serializer=new PU(n),this.$r=new NU(this.serializer)}start(){return Promise.resolve()}shutdown(){return this.qr=!1,Promise.resolve()}get started(){return this.qr}setDatabaseDeletedListener(){}setNetworkEnabled(){}getIndexManager(t){return this.indexManager}getDocumentOverlayCache(t){let n=this.overlays[t.toKey()];return n||(n=new FU,this.overlays[t.toKey()]=n),n}getMutationQueue(t,n){let r=this.Lr[t.toKey()];return r||(r=new LU(n,this.referenceDelegate),this.Lr[t.toKey()]=r),r}getTargetCache(){return this.Qr}getRemoteDocumentCache(){return this.remoteDocumentCache}getBundleCache(){return this.$r}runTransaction(t,n,r){Pe("MemoryPersistence","Starting transaction:",t);const i=new HU(this.kr.next());return this.referenceDelegate.Ur(),r(i).next(a=>this.referenceDelegate.Wr(i).next(()=>a)).toPromise().then(a=>(i.raiseOnCommittedEvent(),a))}Gr(t,n){return he.or(Object.values(this.Lr).map(r=>()=>r.containsKey(t,n)))}}class HU extends E8{constructor(t){super(),this.currentSequenceNumber=t}}class Iy{constructor(t){this.persistence=t,this.zr=new Ty,this.jr=null}static Hr(t){return new Iy(t)}get Jr(){if(this.jr)return this.jr;throw Fe()}addReference(t,n,r){return this.zr.addReference(r,n),this.Jr.delete(r.toString()),he.resolve()}removeReference(t,n,r){return this.zr.removeReference(r,n),this.Jr.add(r.toString()),he.resolve()}markPotentiallyOrphaned(t,n){return this.Jr.add(n.toString()),he.resolve()}removeTarget(t,n){this.zr.Vr(n.targetId).forEach(i=>this.Jr.add(i.toString()));const r=this.persistence.getTargetCache();return r.getMatchingKeysForTargetId(t,n.targetId).next(i=>{i.forEach(a=>this.Jr.add(a.toString()))}).next(()=>r.removeTargetData(t,n))}Ur(){this.jr=new Set}Wr(t){const n=this.persistence.getRemoteDocumentCache().newChangeBuffer();return he.forEach(this.Jr,r=>{const i=De.fromPath(r);return this.Yr(t,i).next(a=>{a||n.removeEntry(i,He.min())})}).next(()=>(this.jr=null,n.apply(t)))}updateLimboDocument(t,n){return this.Yr(t,n).next(r=>{r?this.Jr.delete(n.toString()):this.Jr.add(n.toString())})}Kr(t){return 0}Yr(t,n){return he.or([()=>he.resolve(this.zr.containsKey(n)),()=>this.persistence.getTargetCache().containsKey(t,n),()=>this.persistence.Gr(t,n)])}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Ay{constructor(t,n,r,i){this.targetId=t,this.fromCache=n,this.qi=r,this.Qi=i}static Ki(t,n){let r=et(),i=et();for(const a of n.docChanges)switch(a.type){case 0:r=r.add(a.doc.key);break;case 1:i=i.add(a.doc.key)}return new Ay(t,n.fromCache,r,i)}}/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class qU{constructor(){this.$i=!1}initialize(t,n){this.Ui=t,this.indexManager=n,this.$i=!0}getDocumentsMatchingQuery(t,n,r,i){return this.Wi(t,n).next(a=>a||this.Gi(t,n,i,r)).next(a=>a||this.zi(t,n))}Wi(t,n){if(mw(n))return he.resolve(null);let r=Ti(n);return this.indexManager.getIndexType(t,r).next(i=>i===0?null:(n.limit!==null&&i===1&&(n=Wv(n,null,"F"),r=Ti(n)),this.indexManager.getDocumentsMatchingTarget(t,r).next(a=>{const s=et(...a);return this.Ui.getDocuments(t,s).next(o=>this.indexManager.getMinOffset(t,r).next(l=>{const u=this.ji(n,o);return this.Hi(n,u,s,l.readTime)?this.Wi(t,Wv(n,null,"F")):this.Ji(t,u,n,l)}))})))}Gi(t,n,r,i){return mw(n)||i.isEqual(He.min())?this.zi(t,n):this.Ui.getDocuments(t,r).next(a=>{const s=this.ji(n,a);return this.Hi(n,s,r,i)?this.zi(t,n):(aw()<=ct.DEBUG&&Pe("QueryEngine","Re-using previous result from %s to execute query: %s",i.toString(),Gv(n)),this.Ji(t,s,n,w8(i,-1)))})}ji(t,n){let r=new Pn(JT(t));return n.forEach((i,a)=>{nh(t,a)&&(r=r.add(a))}),r}Hi(t,n,r,i){if(t.limit===null)return!1;if(r.size!==n.size)return!0;const a=t.limitType==="F"?n.last():n.first();return!!a&&(a.hasPendingWrites||a.version.compareTo(i)>0)}zi(t,n){return aw()<=ct.DEBUG&&Pe("QueryEngine","Using full collection scan to execute query:",Gv(n)),this.Ui.getDocumentsMatchingQuery(t,n,la.min())}Ji(t,n,r,i){return this.Ui.getDocumentsMatchingQuery(t,r,i).next(a=>(n.forEach(s=>{a=a.insert(s.key,s)}),a))}}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class WU{constructor(t,n,r,i){this.persistence=t,this.Yi=n,this.serializer=i,this.Zi=new Mt(ot),this.Xi=new ko(a=>wy(a),Sy),this.es=new Map,this.ts=t.getRemoteDocumentCache(),this.Qr=t.getTargetCache(),this.$r=t.getBundleCache(),this.ns(r)}ns(t){this.documentOverlayCache=this.persistence.getDocumentOverlayCache(t),this.indexManager=this.persistence.getIndexManager(t),this.mutationQueue=this.persistence.getMutationQueue(t,this.indexManager),this.localDocuments=new $U(this.ts,this.mutationQueue,this.documentOverlayCache,this.indexManager),this.ts.setIndexManager(this.indexManager),this.Yi.initialize(this.localDocuments,this.indexManager)}collectGarbage(t){return this.persistence.runTransaction("Collect garbage","readwrite-primary",n=>t.collect(n,this.Zi))}}function GU(e,t,n,r){return new WU(e,t,n,r)}async function _I(e,t){const n=Ye(e);return await n.persistence.runTransaction("Handle user change","readonly",r=>{let i;return n.mutationQueue.getAllMutationBatches(r).next(a=>(i=a,n.ns(t),n.mutationQueue.getAllMutationBatches(r))).next(a=>{const s=[],o=[];let l=et();for(const u of i){s.push(u.batchId);for(const c of u.mutations)l=l.add(c.key)}for(const u of a){o.push(u.batchId);for(const c of u.mutations)l=l.add(c.key)}return n.localDocuments.getDocuments(r,l).next(u=>({rs:u,removedBatchIds:s,addedBatchIds:o}))})})}function KU(e,t){const n=Ye(e);return n.persistence.runTransaction("Acknowledge batch","readwrite-primary",r=>{const i=t.batch.keys(),a=n.ts.newChangeBuffer({trackRemovals:!0});return function(o,l,u,c){const d=u.batch,f=d.keys();let h=he.resolve();return f.forEach(v=>{h=h.next(()=>c.getEntry(l,v)).next(g=>{const y=u.docVersions.get(v);Tt(y!==null),g.version.compareTo(y)<0&&(d.applyToRemoteDocument(g,u),g.isValidDocument()&&(g.setReadTime(u.commitVersion),c.addEntry(g)))})}),h.next(()=>o.mutationQueue.removeMutationBatch(l,d))}(n,r,t,a).next(()=>a.apply(r)).next(()=>n.mutationQueue.performConsistencyCheck(r)).next(()=>n.documentOverlayCache.removeOverlaysForBatchId(r,i,t.batch.batchId)).next(()=>n.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(r,function(o){let l=et();for(let u=0;u0&&(l=l.add(o.batch.mutations[u].key));return l}(t))).next(()=>n.localDocuments.getDocuments(r,i))})}function wI(e){const t=Ye(e);return t.persistence.runTransaction("Get last remote snapshot version","readonly",n=>t.Qr.getLastRemoteSnapshotVersion(n))}function YU(e,t){const n=Ye(e),r=t.snapshotVersion;let i=n.Zi;return n.persistence.runTransaction("Apply remote event","readwrite-primary",a=>{const s=n.ts.newChangeBuffer({trackRemovals:!0});i=n.Zi;const o=[];t.targetChanges.forEach((c,d)=>{const f=i.get(d);if(!f)return;o.push(n.Qr.removeMatchingKeys(a,c.removedDocuments,d).next(()=>n.Qr.addMatchingKeys(a,c.addedDocuments,d)));let h=f.withSequenceNumber(a.currentSequenceNumber);t.targetMismatches.get(d)!==null?h=h.withResumeToken(Vn.EMPTY_BYTE_STRING,He.min()).withLastLimboFreeSnapshotVersion(He.min()):c.resumeToken.approximateByteSize()>0&&(h=h.withResumeToken(c.resumeToken,r)),i=i.insert(d,h),function(g,y,p){return g.resumeToken.approximateByteSize()===0||y.snapshotVersion.toMicroseconds()-g.snapshotVersion.toMicroseconds()>=3e8?!0:p.addedDocuments.size+p.modifiedDocuments.size+p.removedDocuments.size>0}(f,h,c)&&o.push(n.Qr.updateTargetData(a,h))});let l=Ii(),u=et();if(t.documentUpdates.forEach(c=>{t.resolvedLimboDocuments.has(c)&&o.push(n.persistence.referenceDelegate.updateLimboDocument(a,c))}),o.push(XU(a,s,t.documentUpdates).next(c=>{l=c.ss,u=c.os})),!r.isEqual(He.min())){const c=n.Qr.getLastRemoteSnapshotVersion(a).next(d=>n.Qr.setTargetsMetadata(a,a.currentSequenceNumber,r));o.push(c)}return he.waitFor(o).next(()=>s.apply(a)).next(()=>n.localDocuments.getLocalViewOfDocuments(a,l,u)).next(()=>l)}).then(a=>(n.Zi=i,a))}function XU(e,t,n){let r=et(),i=et();return n.forEach(a=>r=r.add(a)),t.getEntries(e,r).next(a=>{let s=Ii();return n.forEach((o,l)=>{const u=a.get(o);l.isFoundDocument()!==u.isFoundDocument()&&(i=i.add(o)),l.isNoDocument()&&l.version.isEqual(He.min())?(t.removeEntry(o,l.readTime),s=s.insert(o,l)):!u.isValidDocument()||l.version.compareTo(u.version)>0||l.version.compareTo(u.version)===0&&u.hasPendingWrites?(t.addEntry(l),s=s.insert(o,l)):Pe("LocalStore","Ignoring outdated watch update for ",o,". Current version:",u.version," Watch version:",l.version)}),{ss:s,os:i}})}function QU(e,t){const n=Ye(e);return n.persistence.runTransaction("Get next mutation batch","readonly",r=>(t===void 0&&(t=-1),n.mutationQueue.getNextMutationBatchAfterBatchId(r,t)))}function JU(e,t){const n=Ye(e);return n.persistence.runTransaction("Allocate target","readwrite",r=>{let i;return n.Qr.getTargetData(r,t).next(a=>a?(i=a,he.resolve(i)):n.Qr.allocateTargetId(r).next(s=>(i=new Zi(t,s,"TargetPurposeListen",r.currentSequenceNumber),n.Qr.addTargetData(r,i).next(()=>i))))}).then(r=>{const i=n.Zi.get(r.targetId);return(i===null||r.snapshotVersion.compareTo(i.snapshotVersion)>0)&&(n.Zi=n.Zi.insert(r.targetId,r),n.Xi.set(t,r.targetId)),r})}async function Jv(e,t,n){const r=Ye(e),i=r.Zi.get(t),a=n?"readwrite":"readwrite-primary";try{n||await r.persistence.runTransaction("Release target",a,s=>r.persistence.referenceDelegate.removeTarget(s,i))}catch(s){if(!Mu(s))throw s;Pe("LocalStore",`Failed to update sequence numbers for target ${t}: ${s}`)}r.Zi=r.Zi.remove(t),r.Xi.delete(i.target)}function Ew(e,t,n){const r=Ye(e);let i=He.min(),a=et();return r.persistence.runTransaction("Execute query","readonly",s=>function(l,u,c){const d=Ye(l),f=d.Xi.get(c);return f!==void 0?he.resolve(d.Zi.get(f)):d.Qr.getTargetData(u,c)}(r,s,Ti(t)).next(o=>{if(o)return i=o.lastLimboFreeSnapshotVersion,r.Qr.getMatchingKeysForTargetId(s,o.targetId).next(l=>{a=l})}).next(()=>r.Yi.getDocumentsMatchingQuery(s,t,n?i:He.min(),n?a:et())).next(o=>(ZU(r,q8(t),o),{documents:o,_s:a})))}function ZU(e,t,n){let r=e.es.get(t)||He.min();n.forEach((i,a)=>{a.readTime.compareTo(r)>0&&(r=a.readTime)}),e.es.set(t,r)}class Tw{constructor(){this.activeTargetIds=Q8()}Is(t){this.activeTargetIds=this.activeTargetIds.add(t)}Ts(t){this.activeTargetIds=this.activeTargetIds.delete(t)}Ps(){const t={activeTargetIds:this.activeTargetIds.toArray(),updateTimeMs:Date.now()};return JSON.stringify(t)}}class ez{constructor(){this.Ys=new Tw,this.Zs={},this.onlineStateHandler=null,this.sequenceNumberHandler=null}addPendingMutation(t){}updateMutationState(t,n,r){}addLocalQueryTarget(t){return this.Ys.Is(t),this.Zs[t]||"not-current"}updateQueryState(t,n,r){this.Zs[t]=n}removeLocalQueryTarget(t){this.Ys.Ts(t)}isLocalQueryTarget(t){return this.Ys.activeTargetIds.has(t)}clearQueryState(t){delete this.Zs[t]}getAllActiveQueryTargets(){return this.Ys.activeTargetIds}isActiveQueryTarget(t){return this.Ys.activeTargetIds.has(t)}start(){return this.Ys=new Tw,Promise.resolve()}handleUserChange(t,n,r){}setOnlineState(t){}shutdown(){}writeSequenceNumber(t){}notifyBundleLoaded(t){}}/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class tz{Xs(t){}shutdown(){}}/** - * @license - * Copyright 2019 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Iw{constructor(){this.eo=()=>this.no(),this.ro=()=>this.io(),this.so=[],this.oo()}Xs(t){this.so.push(t)}shutdown(){window.removeEventListener("online",this.eo),window.removeEventListener("offline",this.ro)}oo(){window.addEventListener("online",this.eo),window.addEventListener("offline",this.ro)}no(){Pe("ConnectivityMonitor","Network connectivity changed: AVAILABLE");for(const t of this.so)t(0)}io(){Pe("ConnectivityMonitor","Network connectivity changed: UNAVAILABLE");for(const t of this.so)t(1)}static v(){return typeof window<"u"&&window.addEventListener!==void 0&&window.removeEventListener!==void 0}}/** - * @license - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */let gc=null;function Sm(){return gc===null?gc=function(){return 268435456+Math.round(2147483648*Math.random())}():gc++,"0x"+gc.toString(16)}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const nz={BatchGetDocuments:"batchGet",Commit:"commit",RunQuery:"runQuery",RunAggregationQuery:"runAggregationQuery"};/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class rz{constructor(t){this._o=t._o,this.ao=t.ao}uo(t){this.co=t}lo(t){this.ho=t}onMessage(t){this.Po=t}close(){this.ao()}send(t){this._o(t)}Io(){this.co()}To(t){this.ho(t)}Eo(t){this.Po(t)}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const yn="WebChannelConnection";class iz extends class{constructor(n){this.databaseInfo=n,this.databaseId=n.databaseId;const r=n.ssl?"https":"http",i=encodeURIComponent(this.databaseId.projectId),a=encodeURIComponent(this.databaseId.database);this.Ao=r+"://"+n.host,this.Ro=`projects/${i}/databases/${a}`,this.Vo=this.databaseId.database==="(default)"?`project_id=${i}`:`project_id=${i}&database_id=${a}`}get mo(){return!1}fo(n,r,i,a,s){const o=Sm(),l=this.po(n,r);Pe("RestConnection",`Sending RPC '${n}' ${o}:`,l,i);const u={"google-cloud-resource-prefix":this.Ro,"x-goog-request-params":this.Vo};return this.yo(u,a,s),this.wo(n,l,u,i).then(c=>(Pe("RestConnection",`Received RPC '${n}' ${o}: `,c),c),c=>{throw lo("RestConnection",`RPC '${n}' ${o} failed with error: `,c,"url: ",l,"request:",i),c})}So(n,r,i,a,s,o){return this.fo(n,r,i,a,s)}yo(n,r,i){n["X-Goog-Api-Client"]=function(){return"gl-js/ fire/"+Io}(),n["Content-Type"]="text/plain",this.databaseInfo.appId&&(n["X-Firebase-GMPID"]=this.databaseInfo.appId),r&&r.headers.forEach((a,s)=>n[s]=a),i&&i.headers.forEach((a,s)=>n[s]=a)}po(n,r){const i=nz[n];return`${this.Ao}/v1/${r}:${i}`}}{constructor(t){super(t),this.forceLongPolling=t.forceLongPolling,this.autoDetectLongPolling=t.autoDetectLongPolling,this.useFetchStreams=t.useFetchStreams,this.longPollingOptions=t.longPollingOptions}wo(t,n,r,i){const a=Sm();return new Promise((s,o)=>{const l=new c8;l.setWithCredentials(!0),l.listenOnce(l8.COMPLETE,()=>{try{switch(l.getLastErrorCode()){case _m.NO_ERROR:const c=l.getResponseJson();Pe(yn,`XHR for RPC '${t}' ${a} received:`,JSON.stringify(c)),s(c);break;case _m.TIMEOUT:Pe(yn,`RPC '${t}' ${a} timed out`),o(new Oe(le.DEADLINE_EXCEEDED,"Request time out"));break;case _m.HTTP_ERROR:const d=l.getStatus();if(Pe(yn,`RPC '${t}' ${a} failed with status:`,d,"response text:",l.getResponseText()),d>0){let f=l.getResponseJson();Array.isArray(f)&&(f=f[0]);const h=f==null?void 0:f.error;if(h&&h.status&&h.message){const v=function(y){const p=y.toLowerCase().replace(/_/g,"-");return Object.values(le).indexOf(p)>=0?p:le.UNKNOWN}(h.status);o(new Oe(v,h.message))}else o(new Oe(le.UNKNOWN,"Server responded with status "+l.getStatus()))}else o(new Oe(le.UNAVAILABLE,"Connection failed."));break;default:Fe()}}finally{Pe(yn,`RPC '${t}' ${a} completed.`)}});const u=JSON.stringify(i);Pe(yn,`RPC '${t}' ${a} sending request:`,i),l.send(n,"POST",u,r,15)})}bo(t,n,r){const i=Sm(),a=[this.Ao,"/","google.firestore.v1.Firestore","/",t,"/channel"],s=s8(),o=o8(),l={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:`projects/${this.databaseId.projectId}/databases/${this.databaseId.database}`},sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.autoDetectLongPolling},u=this.longPollingOptions.timeoutSeconds;u!==void 0&&(l.longPollingTimeout=Math.round(1e3*u)),this.useFetchStreams&&(l.useFetchStreams=!0),this.yo(l.initMessageHeaders,n,r),l.encodeInitMessageHeaders=!0;const c=a.join("");Pe(yn,`Creating RPC '${t}' stream ${i}: ${c}`,l);const d=s.createWebChannel(c,l);let f=!1,h=!1;const v=new rz({_o:y=>{h?Pe(yn,`Not sending because RPC '${t}' stream ${i} is closed:`,y):(f||(Pe(yn,`Opening RPC '${t}' stream ${i} transport.`),d.open(),f=!0),Pe(yn,`RPC '${t}' stream ${i} sending:`,y),d.send(y))},ao:()=>d.close()}),g=(y,p,b)=>{y.listen(p,S=>{try{b(S)}catch(T){setTimeout(()=>{throw T},0)}})};return g(d,hc.EventType.OPEN,()=>{h||Pe(yn,`RPC '${t}' stream ${i} transport opened.`)}),g(d,hc.EventType.CLOSE,()=>{h||(h=!0,Pe(yn,`RPC '${t}' stream ${i} transport closed`),v.To())}),g(d,hc.EventType.ERROR,y=>{h||(h=!0,lo(yn,`RPC '${t}' stream ${i} transport errored:`,y),v.To(new Oe(le.UNAVAILABLE,"The operation could not be completed")))}),g(d,hc.EventType.MESSAGE,y=>{var p;if(!h){const b=y.data[0];Tt(!!b);const S=b,T=S.error||((p=S[0])===null||p===void 0?void 0:p.error);if(T){Pe(yn,`RPC '${t}' stream ${i} received error:`,T);const V=T.status;let O=function(x){const $=Ht[x];if($!==void 0)return dI($)}(V),N=T.message;O===void 0&&(O=le.INTERNAL,N="Unknown error status: "+V+" with message "+T.message),h=!0,v.To(new Oe(O,N)),d.close()}else Pe(yn,`RPC '${t}' stream ${i} received:`,b),v.Eo(b)}}),g(o,u8.STAT_EVENT,y=>{y.stat===rw.PROXY?Pe(yn,`RPC '${t}' stream ${i} detected buffering proxy`):y.stat===rw.NOPROXY&&Pe(yn,`RPC '${t}' stream ${i} detected no buffering proxy`)}),setTimeout(()=>{v.Io()},0),v}}function Cm(){return typeof document<"u"?document:null}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function sh(e){return new gU(e,!0)}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class SI{constructor(t,n,r=1e3,i=1.5,a=6e4){this.oi=t,this.timerId=n,this.Do=r,this.vo=i,this.Co=a,this.Fo=0,this.Mo=null,this.xo=Date.now(),this.reset()}reset(){this.Fo=0}Oo(){this.Fo=this.Co}No(t){this.cancel();const n=Math.floor(this.Fo+this.Bo()),r=Math.max(0,Date.now()-this.xo),i=Math.max(0,n-r);i>0&&Pe("ExponentialBackoff",`Backing off for ${i} ms (base delay: ${this.Fo} ms, delay with jitter: ${n} ms, last attempt: ${r} ms ago)`),this.Mo=this.oi.enqueueAfterDelay(this.timerId,i,()=>(this.xo=Date.now(),t())),this.Fo*=this.vo,this.Fothis.Co&&(this.Fo=this.Co)}Lo(){this.Mo!==null&&(this.Mo.skipDelay(),this.Mo=null)}cancel(){this.Mo!==null&&(this.Mo.cancel(),this.Mo=null)}Bo(){return(Math.random()-.5)*this.Fo}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class CI{constructor(t,n,r,i,a,s,o,l){this.oi=t,this.ko=r,this.qo=i,this.connection=a,this.authCredentialsProvider=s,this.appCheckCredentialsProvider=o,this.listener=l,this.state=0,this.Qo=0,this.Ko=null,this.$o=null,this.stream=null,this.Uo=new SI(t,n)}Wo(){return this.state===1||this.state===5||this.Go()}Go(){return this.state===2||this.state===3}start(){this.state!==4?this.auth():this.zo()}async stop(){this.Wo()&&await this.close(0)}jo(){this.state=0,this.Uo.reset()}Ho(){this.Go()&&this.Ko===null&&(this.Ko=this.oi.enqueueAfterDelay(this.ko,6e4,()=>this.Jo()))}Yo(t){this.Zo(),this.stream.send(t)}async Jo(){if(this.Go())return this.close(0)}Zo(){this.Ko&&(this.Ko.cancel(),this.Ko=null)}Xo(){this.$o&&(this.$o.cancel(),this.$o=null)}async close(t,n){this.Zo(),this.Xo(),this.Uo.cancel(),this.Qo++,t!==4?this.Uo.reset():n&&n.code===le.RESOURCE_EXHAUSTED?(Ei(n.toString()),Ei("Using maximum backoff delay to prevent overloading the backend."),this.Uo.Oo()):n&&n.code===le.UNAUTHENTICATED&&this.state!==3&&(this.authCredentialsProvider.invalidateToken(),this.appCheckCredentialsProvider.invalidateToken()),this.stream!==null&&(this.e_(),this.stream.close(),this.stream=null),this.state=t,await this.listener.lo(n)}e_(){}auth(){this.state=1;const t=this.t_(this.Qo),n=this.Qo;Promise.all([this.authCredentialsProvider.getToken(),this.appCheckCredentialsProvider.getToken()]).then(([r,i])=>{this.Qo===n&&this.n_(r,i)},r=>{t(()=>{const i=new Oe(le.UNKNOWN,"Fetching auth token failed: "+r.message);return this.r_(i)})})}n_(t,n){const r=this.t_(this.Qo);this.stream=this.i_(t,n),this.stream.uo(()=>{r(()=>(this.state=2,this.$o=this.oi.enqueueAfterDelay(this.qo,1e4,()=>(this.Go()&&(this.state=3),Promise.resolve())),this.listener.uo()))}),this.stream.lo(i=>{r(()=>this.r_(i))}),this.stream.onMessage(i=>{r(()=>this.onMessage(i))})}zo(){this.state=5,this.Uo.No(async()=>{this.state=0,this.start()})}r_(t){return Pe("PersistentStream",`close with error: ${t}`),this.stream=null,this.close(4,t)}t_(t){return n=>{this.oi.enqueueAndForget(()=>this.Qo===t?n():(Pe("PersistentStream","stream callback skipped by getCloseGuardedDispatcher."),Promise.resolve()))}}}class az extends CI{constructor(t,n,r,i,a,s){super(t,"listen_stream_connection_backoff","listen_stream_idle","health_check_timeout",n,r,i,s),this.serializer=a}i_(t,n){return this.connection.bo("Listen",t,n)}onMessage(t){this.Uo.reset();const n=bU(this.serializer,t),r=function(a){if(!("targetChange"in a))return He.min();const s=a.targetChange;return s.targetIds&&s.targetIds.length?He.min():s.readTime?ti(s.readTime):He.min()}(t);return this.listener.s_(n,r)}o_(t){const n={};n.database=Qv(this.serializer),n.addTarget=function(a,s){let o;const l=s.target;if(o=qv(l)?{documents:SU(a,l)}:{query:CU(a,l)},o.targetId=s.targetId,s.resumeToken.approximateByteSize()>0){o.resumeToken=mI(a,s.resumeToken);const u=Kv(a,s.expectedCount);u!==null&&(o.expectedCount=u)}else if(s.snapshotVersion.compareTo(He.min())>0){o.readTime=Hd(a,s.snapshotVersion.toTimestamp());const u=Kv(a,s.expectedCount);u!==null&&(o.expectedCount=u)}return o}(this.serializer,t);const r=EU(this.serializer,t);r&&(n.labels=r),this.Yo(n)}__(t){const n={};n.database=Qv(this.serializer),n.removeTarget=t,this.Yo(n)}}class sz extends CI{constructor(t,n,r,i,a,s){super(t,"write_stream_connection_backoff","write_stream_idle","health_check_timeout",n,r,i,s),this.serializer=a,this.a_=!1}get u_(){return this.a_}start(){this.a_=!1,this.lastStreamToken=void 0,super.start()}e_(){this.a_&&this.c_([])}i_(t,n){return this.connection.bo("Write",t,n)}onMessage(t){if(Tt(!!t.streamToken),this.lastStreamToken=t.streamToken,this.a_){this.Uo.reset();const n=wU(t.writeResults,t.commitTime),r=ti(t.commitTime);return this.listener.l_(r,n)}return Tt(!t.writeResults||t.writeResults.length===0),this.a_=!0,this.listener.h_()}P_(){const t={};t.database=Qv(this.serializer),this.Yo(t)}c_(t){const n={streamToken:this.lastStreamToken,writes:t.map(r=>_U(this.serializer,r))};this.Yo(n)}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class oz extends class{}{constructor(t,n,r,i){super(),this.authCredentials=t,this.appCheckCredentials=n,this.connection=r,this.serializer=i,this.I_=!1}T_(){if(this.I_)throw new Oe(le.FAILED_PRECONDITION,"The client has already been terminated.")}fo(t,n,r){return this.T_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then(([i,a])=>this.connection.fo(t,n,r,i,a)).catch(i=>{throw i.name==="FirebaseError"?(i.code===le.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),i):new Oe(le.UNKNOWN,i.toString())})}So(t,n,r,i){return this.T_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then(([a,s])=>this.connection.So(t,n,r,a,s,i)).catch(a=>{throw a.name==="FirebaseError"?(a.code===le.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),a):new Oe(le.UNKNOWN,a.toString())})}terminate(){this.I_=!0}}class lz{constructor(t,n){this.asyncQueue=t,this.onlineStateHandler=n,this.state="Unknown",this.d_=0,this.A_=null,this.R_=!0}V_(){this.d_===0&&(this.m_("Unknown"),this.A_=this.asyncQueue.enqueueAfterDelay("online_state_timeout",1e4,()=>(this.A_=null,this.f_("Backend didn't respond within 10 seconds."),this.m_("Offline"),Promise.resolve())))}g_(t){this.state==="Online"?this.m_("Unknown"):(this.d_++,this.d_>=1&&(this.p_(),this.f_(`Connection failed 1 times. Most recent error: ${t.toString()}`),this.m_("Offline")))}set(t){this.p_(),this.d_=0,t==="Online"&&(this.R_=!1),this.m_(t)}m_(t){t!==this.state&&(this.state=t,this.onlineStateHandler(t))}f_(t){const n=`Could not reach Cloud Firestore backend. ${t} -This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.`;this.R_?(Ei(n),this.R_=!1):Pe("OnlineStateTracker",n)}p_(){this.A_!==null&&(this.A_.cancel(),this.A_=null)}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class uz{constructor(t,n,r,i,a){this.localStore=t,this.datastore=n,this.asyncQueue=r,this.remoteSyncer={},this.y_=[],this.w_=new Map,this.S_=new Set,this.b_=[],this.D_=a,this.D_.Xs(s=>{r.enqueueAndForget(async()=>{ps(this)&&(Pe("RemoteStore","Restarting streams for network reachability change."),await async function(l){const u=Ye(l);u.S_.add(4),await Nu(u),u.v_.set("Unknown"),u.S_.delete(4),await oh(u)}(this))})}),this.v_=new lz(r,i)}}async function oh(e){if(ps(e))for(const t of e.b_)await t(!0)}async function Nu(e){for(const t of e.b_)await t(!1)}function xI(e,t){const n=Ye(e);n.w_.has(t.targetId)||(n.w_.set(t.targetId,t),Vy(n)?Py(n):Po(n).Go()&&ky(n,t))}function EI(e,t){const n=Ye(e),r=Po(n);n.w_.delete(t),r.Go()&&TI(n,t),n.w_.size===0&&(r.Go()?r.Ho():ps(n)&&n.v_.set("Unknown"))}function ky(e,t){if(e.C_.Le(t.targetId),t.resumeToken.approximateByteSize()>0||t.snapshotVersion.compareTo(He.min())>0){const n=e.remoteSyncer.getRemoteKeysForTarget(t.targetId).size;t=t.withExpectedCount(n)}Po(e).o_(t)}function TI(e,t){e.C_.Le(t),Po(e).__(t)}function Py(e){e.C_=new fU({getRemoteKeysForTarget:t=>e.remoteSyncer.getRemoteKeysForTarget(t),lt:t=>e.w_.get(t)||null,st:()=>e.datastore.serializer.databaseId}),Po(e).start(),e.v_.V_()}function Vy(e){return ps(e)&&!Po(e).Wo()&&e.w_.size>0}function ps(e){return Ye(e).S_.size===0}function II(e){e.C_=void 0}async function cz(e){e.w_.forEach((t,n)=>{ky(e,t)})}async function dz(e,t){II(e),Vy(e)?(e.v_.g_(t),Py(e)):e.v_.set("Unknown")}async function fz(e,t,n){if(e.v_.set("Online"),t instanceof hI&&t.state===2&&t.cause)try{await async function(i,a){const s=a.cause;for(const o of a.targetIds)i.w_.has(o)&&(await i.remoteSyncer.rejectListen(o,s),i.w_.delete(o),i.C_.removeTarget(o))}(e,t)}catch(r){Pe("RemoteStore","Failed to remove targets %s: %s ",t.targetIds.join(","),r),await qd(e,r)}else if(t instanceof Gc?e.C_.Ge(t):t instanceof fI?e.C_.Xe(t):e.C_.He(t),!n.isEqual(He.min()))try{const r=await wI(e.localStore);n.compareTo(r)>=0&&await function(a,s){const o=a.C_._t(s);return o.targetChanges.forEach((l,u)=>{if(l.resumeToken.approximateByteSize()>0){const c=a.w_.get(u);c&&a.w_.set(u,c.withResumeToken(l.resumeToken,s))}}),o.targetMismatches.forEach((l,u)=>{const c=a.w_.get(l);if(!c)return;a.w_.set(l,c.withResumeToken(Vn.EMPTY_BYTE_STRING,c.snapshotVersion)),TI(a,l);const d=new Zi(c.target,l,u,c.sequenceNumber);ky(a,d)}),a.remoteSyncer.applyRemoteEvent(o)}(e,n)}catch(r){Pe("RemoteStore","Failed to raise snapshot:",r),await qd(e,r)}}async function qd(e,t,n){if(!Mu(t))throw t;e.S_.add(1),await Nu(e),e.v_.set("Offline"),n||(n=()=>wI(e.localStore)),e.asyncQueue.enqueueRetryable(async()=>{Pe("RemoteStore","Retrying IndexedDB access"),await n(),e.S_.delete(1),await oh(e)})}function AI(e,t){return t().catch(n=>qd(e,n,t))}async function lh(e){const t=Ye(e),n=ca(t);let r=t.y_.length>0?t.y_[t.y_.length-1].batchId:-1;for(;hz(t);)try{const i=await QU(t.localStore,r);if(i===null){t.y_.length===0&&n.Ho();break}r=i.batchId,mz(t,i)}catch(i){await qd(t,i)}kI(t)&&PI(t)}function hz(e){return ps(e)&&e.y_.length<10}function mz(e,t){e.y_.push(t);const n=ca(e);n.Go()&&n.u_&&n.c_(t.mutations)}function kI(e){return ps(e)&&!ca(e).Wo()&&e.y_.length>0}function PI(e){ca(e).start()}async function vz(e){ca(e).P_()}async function gz(e){const t=ca(e);for(const n of e.y_)t.c_(n.mutations)}async function pz(e,t,n){const r=e.y_.shift(),i=Cy.from(r,t,n);await AI(e,()=>e.remoteSyncer.applySuccessfulWrite(i)),await lh(e)}async function yz(e,t){t&&ca(e).u_&&await async function(r,i){if(function(s){return uU(s)&&s!==le.ABORTED}(i.code)){const a=r.y_.shift();ca(r).jo(),await AI(r,()=>r.remoteSyncer.rejectFailedWrite(a.batchId,i)),await lh(r)}}(e,t),kI(e)&&PI(e)}async function Aw(e,t){const n=Ye(e);n.asyncQueue.verifyOperationInProgress(),Pe("RemoteStore","RemoteStore received new credentials");const r=ps(n);n.S_.add(3),await Nu(n),r&&n.v_.set("Unknown"),await n.remoteSyncer.handleCredentialChange(t),n.S_.delete(3),await oh(n)}async function bz(e,t){const n=Ye(e);t?(n.S_.delete(2),await oh(n)):t||(n.S_.add(2),await Nu(n),n.v_.set("Unknown"))}function Po(e){return e.F_||(e.F_=function(n,r,i){const a=Ye(n);return a.T_(),new az(r,a.connection,a.authCredentials,a.appCheckCredentials,a.serializer,i)}(e.datastore,e.asyncQueue,{uo:cz.bind(null,e),lo:dz.bind(null,e),s_:fz.bind(null,e)}),e.b_.push(async t=>{t?(e.F_.jo(),Vy(e)?Py(e):e.v_.set("Unknown")):(await e.F_.stop(),II(e))})),e.F_}function ca(e){return e.M_||(e.M_=function(n,r,i){const a=Ye(n);return a.T_(),new sz(r,a.connection,a.authCredentials,a.appCheckCredentials,a.serializer,i)}(e.datastore,e.asyncQueue,{uo:vz.bind(null,e),lo:yz.bind(null,e),h_:gz.bind(null,e),l_:pz.bind(null,e)}),e.b_.push(async t=>{t?(e.M_.jo(),await lh(e)):(await e.M_.stop(),e.y_.length>0&&(Pe("RemoteStore",`Stopping write stream with ${e.y_.length} pending writes`),e.y_=[]))})),e.M_}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Ry{constructor(t,n,r,i,a){this.asyncQueue=t,this.timerId=n,this.targetTimeMs=r,this.op=i,this.removalCallback=a,this.deferred=new ra,this.then=this.deferred.promise.then.bind(this.deferred.promise),this.deferred.promise.catch(s=>{})}static createAndSchedule(t,n,r,i,a){const s=Date.now()+r,o=new Ry(t,n,s,i,a);return o.start(r),o}start(t){this.timerHandle=setTimeout(()=>this.handleDelayElapsed(),t)}skipDelay(){return this.handleDelayElapsed()}cancel(t){this.timerHandle!==null&&(this.clearTimeout(),this.deferred.reject(new Oe(le.CANCELLED,"Operation cancelled"+(t?": "+t:""))))}handleDelayElapsed(){this.asyncQueue.enqueueAndForget(()=>this.timerHandle!==null?(this.clearTimeout(),this.op().then(t=>this.deferred.resolve(t))):Promise.resolve())}clearTimeout(){this.timerHandle!==null&&(this.removalCallback(this),clearTimeout(this.timerHandle),this.timerHandle=null)}}function Oy(e,t){if(Ei("AsyncQueue",`${t}: ${e}`),Mu(e))return new Oe(le.UNAVAILABLE,`${t}: ${e}`);throw e}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class io{constructor(t){this.comparator=t?(n,r)=>t(n,r)||De.comparator(n.key,r.key):(n,r)=>De.comparator(n.key,r.key),this.keyedMap=sl(),this.sortedSet=new Mt(this.comparator)}static emptySet(t){return new io(t.comparator)}has(t){return this.keyedMap.get(t)!=null}get(t){return this.keyedMap.get(t)}first(){return this.sortedSet.minKey()}last(){return this.sortedSet.maxKey()}isEmpty(){return this.sortedSet.isEmpty()}indexOf(t){const n=this.keyedMap.get(t);return n?this.sortedSet.indexOf(n):-1}get size(){return this.sortedSet.size}forEach(t){this.sortedSet.inorderTraversal((n,r)=>(t(n),!1))}add(t){const n=this.delete(t.key);return n.copy(n.keyedMap.insert(t.key,t),n.sortedSet.insert(t,null))}delete(t){const n=this.get(t);return n?this.copy(this.keyedMap.remove(t),this.sortedSet.remove(n)):this}isEqual(t){if(!(t instanceof io)||this.size!==t.size)return!1;const n=this.sortedSet.getIterator(),r=t.sortedSet.getIterator();for(;n.hasNext();){const i=n.getNext().key,a=r.getNext().key;if(!i.isEqual(a))return!1}return!0}toString(){const t=[];return this.forEach(n=>{t.push(n.toString())}),t.length===0?"DocumentSet ()":`DocumentSet ( - `+t.join(` -`)+` -)`}copy(t,n){const r=new io;return r.comparator=this.comparator,r.keyedMap=t,r.sortedSet=n,r}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class kw{constructor(){this.x_=new Mt(De.comparator)}track(t){const n=t.doc.key,r=this.x_.get(n);r?t.type!==0&&r.type===3?this.x_=this.x_.insert(n,t):t.type===3&&r.type!==1?this.x_=this.x_.insert(n,{type:r.type,doc:t.doc}):t.type===2&&r.type===2?this.x_=this.x_.insert(n,{type:2,doc:t.doc}):t.type===2&&r.type===0?this.x_=this.x_.insert(n,{type:0,doc:t.doc}):t.type===1&&r.type===0?this.x_=this.x_.remove(n):t.type===1&&r.type===2?this.x_=this.x_.insert(n,{type:1,doc:r.doc}):t.type===0&&r.type===1?this.x_=this.x_.insert(n,{type:2,doc:t.doc}):Fe():this.x_=this.x_.insert(n,t)}O_(){const t=[];return this.x_.inorderTraversal((n,r)=>{t.push(r)}),t}}class mo{constructor(t,n,r,i,a,s,o,l,u){this.query=t,this.docs=n,this.oldDocs=r,this.docChanges=i,this.mutatedKeys=a,this.fromCache=s,this.syncStateChanged=o,this.excludesMetadataChanges=l,this.hasCachedResults=u}static fromInitialDocuments(t,n,r,i,a){const s=[];return n.forEach(o=>{s.push({type:0,doc:o})}),new mo(t,n,io.emptySet(n),s,r,i,!0,!1,a)}get hasPendingWrites(){return!this.mutatedKeys.isEmpty()}isEqual(t){if(!(this.fromCache===t.fromCache&&this.hasCachedResults===t.hasCachedResults&&this.syncStateChanged===t.syncStateChanged&&this.mutatedKeys.isEqual(t.mutatedKeys)&&th(this.query,t.query)&&this.docs.isEqual(t.docs)&&this.oldDocs.isEqual(t.oldDocs)))return!1;const n=this.docChanges,r=t.docChanges;if(n.length!==r.length)return!1;for(let i=0;iQT(t),th),this.onlineState="Unknown",this.B_=new Set}}async function Sz(e,t){const n=Ye(e),r=t.query;let i=!1,a=n.queries.get(r);if(a||(i=!0,a=new _z),i)try{a.N_=await n.onListen(r)}catch(s){const o=Oy(s,`Initialization of query '${Gv(t.query)}' failed`);return void t.onError(o)}n.queries.set(r,a),a.listeners.push(t),t.L_(n.onlineState),a.N_&&t.k_(a.N_)&&My(n)}async function Cz(e,t){const n=Ye(e),r=t.query;let i=!1;const a=n.queries.get(r);if(a){const s=a.listeners.indexOf(t);s>=0&&(a.listeners.splice(s,1),i=a.listeners.length===0)}if(i)return n.queries.delete(r),n.onUnlisten(r)}function xz(e,t){const n=Ye(e);let r=!1;for(const i of t){const a=i.query,s=n.queries.get(a);if(s){for(const o of s.listeners)o.k_(i)&&(r=!0);s.N_=i}}r&&My(n)}function Ez(e,t,n){const r=Ye(e),i=r.queries.get(t);if(i)for(const a of i.listeners)a.onError(n);r.queries.delete(t)}function My(e){e.B_.forEach(t=>{t.next()})}class Tz{constructor(t,n,r){this.query=t,this.q_=n,this.Q_=!1,this.K_=null,this.onlineState="Unknown",this.options=r||{}}k_(t){if(!this.options.includeMetadataChanges){const r=[];for(const i of t.docChanges)i.type!==3&&r.push(i);t=new mo(t.query,t.docs,t.oldDocs,r,t.mutatedKeys,t.fromCache,t.syncStateChanged,!0,t.hasCachedResults)}let n=!1;return this.Q_?this.U_(t)&&(this.q_.next(t),n=!0):this.W_(t,this.onlineState)&&(this.G_(t),n=!0),this.K_=t,n}onError(t){this.q_.error(t)}L_(t){this.onlineState=t;let n=!1;return this.K_&&!this.Q_&&this.W_(this.K_,t)&&(this.G_(this.K_),n=!0),n}W_(t,n){if(!t.fromCache)return!0;const r=n!=="Offline";return(!this.options.z_||!r)&&(!t.docs.isEmpty()||t.hasCachedResults||n==="Offline")}U_(t){if(t.docChanges.length>0)return!0;const n=this.K_&&this.K_.hasPendingWrites!==t.hasPendingWrites;return!(!t.syncStateChanged&&!n)&&this.options.includeMetadataChanges===!0}G_(t){t=mo.fromInitialDocuments(t.query,t.docs,t.mutatedKeys,t.fromCache,t.hasCachedResults),this.Q_=!0,this.q_.next(t)}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class VI{constructor(t){this.key=t}}class RI{constructor(t){this.key=t}}class Iz{constructor(t,n){this.query=t,this.ta=n,this.na=null,this.hasCachedResults=!1,this.current=!1,this.ra=et(),this.mutatedKeys=et(),this.ia=JT(t),this.sa=new io(this.ia)}get oa(){return this.ta}_a(t,n){const r=n?n.aa:new kw,i=n?n.sa:this.sa;let a=n?n.mutatedKeys:this.mutatedKeys,s=i,o=!1;const l=this.query.limitType==="F"&&i.size===this.query.limit?i.last():null,u=this.query.limitType==="L"&&i.size===this.query.limit?i.first():null;if(t.inorderTraversal((c,d)=>{const f=i.get(c),h=nh(this.query,d)?d:null,v=!!f&&this.mutatedKeys.has(f.key),g=!!h&&(h.hasLocalMutations||this.mutatedKeys.has(h.key)&&h.hasCommittedMutations);let y=!1;f&&h?f.data.isEqual(h.data)?v!==g&&(r.track({type:3,doc:h}),y=!0):this.ua(f,h)||(r.track({type:2,doc:h}),y=!0,(l&&this.ia(h,l)>0||u&&this.ia(h,u)<0)&&(o=!0)):!f&&h?(r.track({type:0,doc:h}),y=!0):f&&!h&&(r.track({type:1,doc:f}),y=!0,(l||u)&&(o=!0)),y&&(h?(s=s.add(h),a=g?a.add(c):a.delete(c)):(s=s.delete(c),a=a.delete(c)))}),this.query.limit!==null)for(;s.size>this.query.limit;){const c=this.query.limitType==="F"?s.last():s.first();s=s.delete(c.key),a=a.delete(c.key),r.track({type:1,doc:c})}return{sa:s,aa:r,Hi:o,mutatedKeys:a}}ua(t,n){return t.hasLocalMutations&&n.hasCommittedMutations&&!n.hasLocalMutations}applyChanges(t,n,r){const i=this.sa;this.sa=t.sa,this.mutatedKeys=t.mutatedKeys;const a=t.aa.O_();a.sort((u,c)=>function(f,h){const v=g=>{switch(g){case 0:return 1;case 2:case 3:return 2;case 1:return 0;default:return Fe()}};return v(f)-v(h)}(u.type,c.type)||this.ia(u.doc,c.doc)),this.ca(r);const s=n?this.la():[],o=this.ra.size===0&&this.current?1:0,l=o!==this.na;return this.na=o,a.length!==0||l?{snapshot:new mo(this.query,t.sa,i,a,t.mutatedKeys,o===0,l,!1,!!r&&r.resumeToken.approximateByteSize()>0),ha:s}:{ha:s}}L_(t){return this.current&&t==="Offline"?(this.current=!1,this.applyChanges({sa:this.sa,aa:new kw,mutatedKeys:this.mutatedKeys,Hi:!1},!1)):{ha:[]}}Pa(t){return!this.ta.has(t)&&!!this.sa.has(t)&&!this.sa.get(t).hasLocalMutations}ca(t){t&&(t.addedDocuments.forEach(n=>this.ta=this.ta.add(n)),t.modifiedDocuments.forEach(n=>{}),t.removedDocuments.forEach(n=>this.ta=this.ta.delete(n)),this.current=t.current)}la(){if(!this.current)return[];const t=this.ra;this.ra=et(),this.sa.forEach(r=>{this.Pa(r.key)&&(this.ra=this.ra.add(r.key))});const n=[];return t.forEach(r=>{this.ra.has(r)||n.push(new RI(r))}),this.ra.forEach(r=>{t.has(r)||n.push(new VI(r))}),n}Ia(t){this.ta=t._s,this.ra=et();const n=this._a(t.documents);return this.applyChanges(n,!0)}Ta(){return mo.fromInitialDocuments(this.query,this.sa,this.mutatedKeys,this.na===0,this.hasCachedResults)}}class Az{constructor(t,n,r){this.query=t,this.targetId=n,this.view=r}}class kz{constructor(t){this.key=t,this.Ea=!1}}class Pz{constructor(t,n,r,i,a,s){this.localStore=t,this.remoteStore=n,this.eventManager=r,this.sharedClientState=i,this.currentUser=a,this.maxConcurrentLimboResolutions=s,this.da={},this.Aa=new ko(o=>QT(o),th),this.Ra=new Map,this.Va=new Set,this.ma=new Mt(De.comparator),this.fa=new Map,this.ga=new Ty,this.pa={},this.ya=new Map,this.wa=ho.Bn(),this.onlineState="Unknown",this.Sa=void 0}get isPrimaryClient(){return this.Sa===!0}}async function Vz(e,t){const n=jz(e);let r,i;const a=n.Aa.get(t);if(a)r=a.targetId,n.sharedClientState.addLocalQueryTarget(r),i=a.view.Ta();else{const s=await JU(n.localStore,Ti(t)),o=n.sharedClientState.addLocalQueryTarget(s.targetId);r=s.targetId,i=await Rz(n,t,r,o==="current",s.resumeToken),n.isPrimaryClient&&xI(n.remoteStore,s)}return i}async function Rz(e,t,n,r,i){e.ba=(d,f,h)=>async function(g,y,p,b){let S=y.view._a(p);S.Hi&&(S=await Ew(g.localStore,y.query,!1).then(({documents:O})=>y.view._a(O,S)));const T=b&&b.targetChanges.get(y.targetId),V=y.view.applyChanges(S,g.isPrimaryClient,T);return Vw(g,y.targetId,V.ha),V.snapshot}(e,d,f,h);const a=await Ew(e.localStore,t,!0),s=new Iz(t,a._s),o=s._a(a.documents),l=$u.createSynthesizedTargetChangeForCurrentChange(n,r&&e.onlineState!=="Offline",i),u=s.applyChanges(o,e.isPrimaryClient,l);Vw(e,n,u.ha);const c=new Az(t,n,s);return e.Aa.set(t,c),e.Ra.has(n)?e.Ra.get(n).push(t):e.Ra.set(n,[t]),u.snapshot}async function Oz(e,t){const n=Ye(e),r=n.Aa.get(t),i=n.Ra.get(r.targetId);if(i.length>1)return n.Ra.set(r.targetId,i.filter(a=>!th(a,t))),void n.Aa.delete(t);n.isPrimaryClient?(n.sharedClientState.removeLocalQueryTarget(r.targetId),n.sharedClientState.isActiveQueryTarget(r.targetId)||await Jv(n.localStore,r.targetId,!1).then(()=>{n.sharedClientState.clearQueryState(r.targetId),EI(n.remoteStore,r.targetId),Zv(n,r.targetId)}).catch(Ou)):(Zv(n,r.targetId),await Jv(n.localStore,r.targetId,!0))}async function Mz(e,t,n){const r=Uz(e);try{const i=await function(s,o){const l=Ye(s),u=Jt.now(),c=o.reduce((h,v)=>h.add(v.key),et());let d,f;return l.persistence.runTransaction("Locally write mutations","readwrite",h=>{let v=Ii(),g=et();return l.ts.getEntries(h,c).next(y=>{v=y,v.forEach((p,b)=>{b.isValidDocument()||(g=g.add(p))})}).next(()=>l.localDocuments.getOverlayedDocuments(h,v)).next(y=>{d=y;const p=[];for(const b of o){const S=iU(b,d.get(b.key).overlayedDocument);S!=null&&p.push(new gs(b.key,S,zT(S.value.mapValue),pi.exists(!0)))}return l.mutationQueue.addMutationBatch(h,u,p,o)}).next(y=>{f=y;const p=y.applyToLocalDocumentSet(d,g);return l.documentOverlayCache.saveOverlays(h,y.batchId,p)})}).then(()=>({batchId:f.batchId,changes:eI(d)}))}(r.localStore,t);r.sharedClientState.addPendingMutation(i.batchId),function(s,o,l){let u=s.pa[s.currentUser.toKey()];u||(u=new Mt(ot)),u=u.insert(o,l),s.pa[s.currentUser.toKey()]=u}(r,i.batchId,n),await Fu(r,i.changes),await lh(r.remoteStore)}catch(i){const a=Oy(i,"Failed to persist write");n.reject(a)}}async function OI(e,t){const n=Ye(e);try{const r=await YU(n.localStore,t);t.targetChanges.forEach((i,a)=>{const s=n.fa.get(a);s&&(Tt(i.addedDocuments.size+i.modifiedDocuments.size+i.removedDocuments.size<=1),i.addedDocuments.size>0?s.Ea=!0:i.modifiedDocuments.size>0?Tt(s.Ea):i.removedDocuments.size>0&&(Tt(s.Ea),s.Ea=!1))}),await Fu(n,r,t)}catch(r){await Ou(r)}}function Pw(e,t,n){const r=Ye(e);if(r.isPrimaryClient&&n===0||!r.isPrimaryClient&&n===1){const i=[];r.Aa.forEach((a,s)=>{const o=s.view.L_(t);o.snapshot&&i.push(o.snapshot)}),function(s,o){const l=Ye(s);l.onlineState=o;let u=!1;l.queries.forEach((c,d)=>{for(const f of d.listeners)f.L_(o)&&(u=!0)}),u&&My(l)}(r.eventManager,t),i.length&&r.da.s_(i),r.onlineState=t,r.isPrimaryClient&&r.sharedClientState.setOnlineState(t)}}async function Dz(e,t,n){const r=Ye(e);r.sharedClientState.updateQueryState(t,"rejected",n);const i=r.fa.get(t),a=i&&i.key;if(a){let s=new Mt(De.comparator);s=s.insert(a,wn.newNoDocument(a,He.min()));const o=et().add(a),l=new ah(He.min(),new Map,new Mt(ot),s,o);await OI(r,l),r.ma=r.ma.remove(a),r.fa.delete(t),Dy(r)}else await Jv(r.localStore,t,!1).then(()=>Zv(r,t,n)).catch(Ou)}async function $z(e,t){const n=Ye(e),r=t.batch.batchId;try{const i=await KU(n.localStore,t);DI(n,r,null),MI(n,r),n.sharedClientState.updateMutationState(r,"acknowledged"),await Fu(n,i)}catch(i){await Ou(i)}}async function Nz(e,t,n){const r=Ye(e);try{const i=await function(s,o){const l=Ye(s);return l.persistence.runTransaction("Reject batch","readwrite-primary",u=>{let c;return l.mutationQueue.lookupMutationBatch(u,o).next(d=>(Tt(d!==null),c=d.keys(),l.mutationQueue.removeMutationBatch(u,d))).next(()=>l.mutationQueue.performConsistencyCheck(u)).next(()=>l.documentOverlayCache.removeOverlaysForBatchId(u,c,o)).next(()=>l.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(u,c)).next(()=>l.localDocuments.getDocuments(u,c))})}(r.localStore,t);DI(r,t,n),MI(r,t),r.sharedClientState.updateMutationState(t,"rejected",n),await Fu(r,i)}catch(i){await Ou(i)}}function MI(e,t){(e.ya.get(t)||[]).forEach(n=>{n.resolve()}),e.ya.delete(t)}function DI(e,t,n){const r=Ye(e);let i=r.pa[r.currentUser.toKey()];if(i){const a=i.get(t);a&&(n?a.reject(n):a.resolve(),i=i.remove(t)),r.pa[r.currentUser.toKey()]=i}}function Zv(e,t,n=null){e.sharedClientState.removeLocalQueryTarget(t);for(const r of e.Ra.get(t))e.Aa.delete(r),n&&e.da.Da(r,n);e.Ra.delete(t),e.isPrimaryClient&&e.ga.Vr(t).forEach(r=>{e.ga.containsKey(r)||$I(e,r)})}function $I(e,t){e.Va.delete(t.path.canonicalString());const n=e.ma.get(t);n!==null&&(EI(e.remoteStore,n),e.ma=e.ma.remove(t),e.fa.delete(n),Dy(e))}function Vw(e,t,n){for(const r of n)r instanceof VI?(e.ga.addReference(r.key,t),Fz(e,r)):r instanceof RI?(Pe("SyncEngine","Document no longer in limbo: "+r.key),e.ga.removeReference(r.key,t),e.ga.containsKey(r.key)||$I(e,r.key)):Fe()}function Fz(e,t){const n=t.key,r=n.path.canonicalString();e.ma.get(n)||e.Va.has(r)||(Pe("SyncEngine","New document in limbo: "+n),e.Va.add(r),Dy(e))}function Dy(e){for(;e.Va.size>0&&e.ma.size{s.push(r.ba(l,t,n).then(u=>{if((u||n)&&r.isPrimaryClient&&r.sharedClientState.updateQueryState(l.targetId,u!=null&&u.fromCache?"not-current":"current"),u){i.push(u);const c=Ay.Ki(l.targetId,u);a.push(c)}}))}),await Promise.all(s),r.da.s_(i),await async function(l,u){const c=Ye(l);try{await c.persistence.runTransaction("notifyLocalViewChanges","readwrite",d=>he.forEach(u,f=>he.forEach(f.qi,h=>c.persistence.referenceDelegate.addReference(d,f.targetId,h)).next(()=>he.forEach(f.Qi,h=>c.persistence.referenceDelegate.removeReference(d,f.targetId,h)))))}catch(d){if(!Mu(d))throw d;Pe("LocalStore","Failed to update sequence numbers: "+d)}for(const d of u){const f=d.targetId;if(!d.fromCache){const h=c.Zi.get(f),v=h.snapshotVersion,g=h.withLastLimboFreeSnapshotVersion(v);c.Zi=c.Zi.insert(f,g)}}}(r.localStore,a))}async function Lz(e,t){const n=Ye(e);if(!n.currentUser.isEqual(t)){Pe("SyncEngine","User change. New user:",t.toKey());const r=await _I(n.localStore,t);n.currentUser=t,function(a,s){a.ya.forEach(o=>{o.forEach(l=>{l.reject(new Oe(le.CANCELLED,s))})}),a.ya.clear()}(n,"'waitForPendingWrites' promise is rejected due to a user change."),n.sharedClientState.handleUserChange(t,r.removedBatchIds,r.addedBatchIds),await Fu(n,r.rs)}}function Bz(e,t){const n=Ye(e),r=n.fa.get(t);if(r&&r.Ea)return et().add(r.key);{let i=et();const a=n.Ra.get(t);if(!a)return i;for(const s of a){const o=n.Aa.get(s);i=i.unionWith(o.view.oa)}return i}}function jz(e){const t=Ye(e);return t.remoteStore.remoteSyncer.applyRemoteEvent=OI.bind(null,t),t.remoteStore.remoteSyncer.getRemoteKeysForTarget=Bz.bind(null,t),t.remoteStore.remoteSyncer.rejectListen=Dz.bind(null,t),t.da.s_=xz.bind(null,t.eventManager),t.da.Da=Ez.bind(null,t.eventManager),t}function Uz(e){const t=Ye(e);return t.remoteStore.remoteSyncer.applySuccessfulWrite=$z.bind(null,t),t.remoteStore.remoteSyncer.rejectFailedWrite=Nz.bind(null,t),t}class Rw{constructor(){this.synchronizeTabs=!1}async initialize(t){this.serializer=sh(t.databaseInfo.databaseId),this.sharedClientState=this.createSharedClientState(t),this.persistence=this.createPersistence(t),await this.persistence.start(),this.localStore=this.createLocalStore(t),this.gcScheduler=this.createGarbageCollectionScheduler(t,this.localStore),this.indexBackfillerScheduler=this.createIndexBackfillerScheduler(t,this.localStore)}createGarbageCollectionScheduler(t,n){return null}createIndexBackfillerScheduler(t,n){return null}createLocalStore(t){return GU(this.persistence,new qU,t.initialUser,this.serializer)}createPersistence(t){return new zU(Iy.Hr,this.serializer)}createSharedClientState(t){return new ez}async terminate(){this.gcScheduler&&this.gcScheduler.stop(),await this.sharedClientState.shutdown(),await this.persistence.shutdown()}}class zz{async initialize(t,n){this.localStore||(this.localStore=t.localStore,this.sharedClientState=t.sharedClientState,this.datastore=this.createDatastore(n),this.remoteStore=this.createRemoteStore(n),this.eventManager=this.createEventManager(n),this.syncEngine=this.createSyncEngine(n,!t.synchronizeTabs),this.sharedClientState.onlineStateHandler=r=>Pw(this.syncEngine,r,1),this.remoteStore.remoteSyncer.handleCredentialChange=Lz.bind(null,this.syncEngine),await bz(this.remoteStore,this.syncEngine.isPrimaryClient))}createEventManager(t){return function(){return new wz}()}createDatastore(t){const n=sh(t.databaseInfo.databaseId),r=function(a){return new iz(a)}(t.databaseInfo);return function(a,s,o,l){return new oz(a,s,o,l)}(t.authCredentials,t.appCheckCredentials,r,n)}createRemoteStore(t){return function(r,i,a,s,o){return new uz(r,i,a,s,o)}(this.localStore,this.datastore,t.asyncQueue,n=>Pw(this.syncEngine,n,0),function(){return Iw.v()?new Iw:new tz}())}createSyncEngine(t,n){return function(i,a,s,o,l,u,c){const d=new Pz(i,a,s,o,l,u);return c&&(d.Sa=!0),d}(this.localStore,this.remoteStore,this.eventManager,this.sharedClientState,t.initialUser,t.maxConcurrentLimboResolutions,n)}terminate(){return async function(n){const r=Ye(n);Pe("RemoteStore","RemoteStore shutting down."),r.S_.add(5),await Nu(r),r.D_.shutdown(),r.v_.set("Unknown")}(this.remoteStore)}}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - *//** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Hz{constructor(t){this.observer=t,this.muted=!1}next(t){this.observer.next&&this.Fa(this.observer.next,t)}error(t){this.observer.error?this.Fa(this.observer.error,t):Ei("Uncaught Error in snapshot listener:",t.toString())}Ma(){this.muted=!0}Fa(t,n){this.muted||setTimeout(()=>{this.muted||t(n)},0)}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class qz{constructor(t,n,r,i){this.authCredentials=t,this.appCheckCredentials=n,this.asyncQueue=r,this.databaseInfo=i,this.user=_n.UNAUTHENTICATED,this.clientId=BT.V(),this.authCredentialListener=()=>Promise.resolve(),this.appCheckCredentialListener=()=>Promise.resolve(),this.authCredentials.start(r,async a=>{Pe("FirestoreClient","Received user=",a.uid),await this.authCredentialListener(a),this.user=a}),this.appCheckCredentials.start(r,a=>(Pe("FirestoreClient","Received new app check token=",a),this.appCheckCredentialListener(a,this.user)))}async getConfiguration(){return{asyncQueue:this.asyncQueue,databaseInfo:this.databaseInfo,clientId:this.clientId,authCredentials:this.authCredentials,appCheckCredentials:this.appCheckCredentials,initialUser:this.user,maxConcurrentLimboResolutions:100}}setCredentialChangeListener(t){this.authCredentialListener=t}setAppCheckTokenChangeListener(t){this.appCheckCredentialListener=t}verifyNotTerminated(){if(this.asyncQueue.isShuttingDown)throw new Oe(le.FAILED_PRECONDITION,"The client has already been terminated.")}terminate(){this.asyncQueue.enterRestrictedMode();const t=new ra;return this.asyncQueue.enqueueAndForgetEvenWhileRestricted(async()=>{try{this._onlineComponents&&await this._onlineComponents.terminate(),this._offlineComponents&&await this._offlineComponents.terminate(),this.authCredentials.shutdown(),this.appCheckCredentials.shutdown(),t.resolve()}catch(n){const r=Oy(n,"Failed to shutdown persistence");t.reject(r)}}),t.promise}}async function xm(e,t){e.asyncQueue.verifyOperationInProgress(),Pe("FirestoreClient","Initializing OfflineComponentProvider");const n=await e.getConfiguration();await t.initialize(n);let r=n.initialUser;e.setCredentialChangeListener(async i=>{r.isEqual(i)||(await _I(t.localStore,i),r=i)}),t.persistence.setDatabaseDeletedListener(()=>e.terminate()),e._offlineComponents=t}async function Ow(e,t){e.asyncQueue.verifyOperationInProgress();const n=await Gz(e);Pe("FirestoreClient","Initializing OnlineComponentProvider");const r=await e.getConfiguration();await t.initialize(n,r),e.setCredentialChangeListener(i=>Aw(t.remoteStore,i)),e.setAppCheckTokenChangeListener((i,a)=>Aw(t.remoteStore,a)),e._onlineComponents=t}function Wz(e){return e.name==="FirebaseError"?e.code===le.FAILED_PRECONDITION||e.code===le.UNIMPLEMENTED:!(typeof DOMException<"u"&&e instanceof DOMException)||e.code===22||e.code===20||e.code===11}async function Gz(e){if(!e._offlineComponents)if(e._uninitializedComponentsProvider){Pe("FirestoreClient","Using user provided OfflineComponentProvider");try{await xm(e,e._uninitializedComponentsProvider._offline)}catch(t){const n=t;if(!Wz(n))throw n;lo("Error using user provided cache. Falling back to memory cache: "+n),await xm(e,new Rw)}}else Pe("FirestoreClient","Using default OfflineComponentProvider"),await xm(e,new Rw);return e._offlineComponents}async function NI(e){return e._onlineComponents||(e._uninitializedComponentsProvider?(Pe("FirestoreClient","Using user provided OnlineComponentProvider"),await Ow(e,e._uninitializedComponentsProvider._online)):(Pe("FirestoreClient","Using default OnlineComponentProvider"),await Ow(e,new zz))),e._onlineComponents}function Kz(e){return NI(e).then(t=>t.syncEngine)}async function Yz(e){const t=await NI(e),n=t.eventManager;return n.onListen=Vz.bind(null,t.syncEngine),n.onUnlisten=Oz.bind(null,t.syncEngine),n}function Xz(e,t,n={}){const r=new ra;return e.asyncQueue.enqueueAndForget(async()=>function(a,s,o,l,u){const c=new Hz({next:f=>{s.enqueueAndForget(()=>Cz(a,d)),f.fromCache&&l.source==="server"?u.reject(new Oe(le.UNAVAILABLE,'Failed to get documents from server. (However, these documents may exist in the local cache. Run again without setting source to "server" to retrieve the cached documents.)')):u.resolve(f)},error:f=>u.reject(f)}),d=new Tz(o,c,{includeMetadataChanges:!0,z_:!0});return Sz(a,d)}(await Yz(e),e.asyncQueue,t,n,r)),r.promise}/** - * @license - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function FI(e){const t={};return e.timeoutSeconds!==void 0&&(t.timeoutSeconds=e.timeoutSeconds),t}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const Mw=new Map;/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function LI(e,t,n){if(!n)throw new Oe(le.INVALID_ARGUMENT,`Function ${e}() cannot be called with an empty ${t}.`)}function Qz(e,t,n,r){if(t===!0&&r===!0)throw new Oe(le.INVALID_ARGUMENT,`${e} and ${n} cannot be used together.`)}function Dw(e){if(!De.isDocumentKey(e))throw new Oe(le.INVALID_ARGUMENT,`Invalid document reference. Document references must have an even number of segments, but ${e} has ${e.length}.`)}function $w(e){if(De.isDocumentKey(e))throw new Oe(le.INVALID_ARGUMENT,`Invalid collection reference. Collection references must have an odd number of segments, but ${e} has ${e.length}.`)}function $y(e){if(e===void 0)return"undefined";if(e===null)return"null";if(typeof e=="string")return e.length>20&&(e=`${e.substring(0,20)}...`),JSON.stringify(e);if(typeof e=="number"||typeof e=="boolean")return""+e;if(typeof e=="object"){if(e instanceof Array)return"an array";{const t=function(r){return r.constructor?r.constructor.name:null}(e);return t?`a custom ${t} object`:"an object"}}return typeof e=="function"?"a function":Fe()}function su(e,t){if("_delegate"in e&&(e=e._delegate),!(e instanceof t)){if(t.name===e.constructor.name)throw new Oe(le.INVALID_ARGUMENT,"Type does not match the expected instance. Did you pass a reference from a different Firestore SDK?");{const n=$y(e);throw new Oe(le.INVALID_ARGUMENT,`Expected type '${t.name}', but it was: ${n}`)}}return e}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Nw{constructor(t){var n,r;if(t.host===void 0){if(t.ssl!==void 0)throw new Oe(le.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host="firestore.googleapis.com",this.ssl=!0}else this.host=t.host,this.ssl=(n=t.ssl)===null||n===void 0||n;if(this.credentials=t.credentials,this.ignoreUndefinedProperties=!!t.ignoreUndefinedProperties,this.localCache=t.localCache,t.cacheSizeBytes===void 0)this.cacheSizeBytes=41943040;else{if(t.cacheSizeBytes!==-1&&t.cacheSizeBytes<1048576)throw new Oe(le.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=t.cacheSizeBytes}Qz("experimentalForceLongPolling",t.experimentalForceLongPolling,"experimentalAutoDetectLongPolling",t.experimentalAutoDetectLongPolling),this.experimentalForceLongPolling=!!t.experimentalForceLongPolling,this.experimentalForceLongPolling?this.experimentalAutoDetectLongPolling=!1:t.experimentalAutoDetectLongPolling===void 0?this.experimentalAutoDetectLongPolling=!0:this.experimentalAutoDetectLongPolling=!!t.experimentalAutoDetectLongPolling,this.experimentalLongPollingOptions=FI((r=t.experimentalLongPollingOptions)!==null&&r!==void 0?r:{}),function(a){if(a.timeoutSeconds!==void 0){if(isNaN(a.timeoutSeconds))throw new Oe(le.INVALID_ARGUMENT,`invalid long polling timeout: ${a.timeoutSeconds} (must not be NaN)`);if(a.timeoutSeconds<5)throw new Oe(le.INVALID_ARGUMENT,`invalid long polling timeout: ${a.timeoutSeconds} (minimum allowed value is 5)`);if(a.timeoutSeconds>30)throw new Oe(le.INVALID_ARGUMENT,`invalid long polling timeout: ${a.timeoutSeconds} (maximum allowed value is 30)`)}}(this.experimentalLongPollingOptions),this.useFetchStreams=!!t.useFetchStreams}isEqual(t){return this.host===t.host&&this.ssl===t.ssl&&this.credentials===t.credentials&&this.cacheSizeBytes===t.cacheSizeBytes&&this.experimentalForceLongPolling===t.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===t.experimentalAutoDetectLongPolling&&function(r,i){return r.timeoutSeconds===i.timeoutSeconds}(this.experimentalLongPollingOptions,t.experimentalLongPollingOptions)&&this.ignoreUndefinedProperties===t.ignoreUndefinedProperties&&this.useFetchStreams===t.useFetchStreams}}class uh{constructor(t,n,r,i){this._authCredentials=t,this._appCheckCredentials=n,this._databaseId=r,this._app=i,this.type="firestore-lite",this._persistenceKey="(lite)",this._settings=new Nw({}),this._settingsFrozen=!1}get app(){if(!this._app)throw new Oe(le.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._app}get _initialized(){return this._settingsFrozen}get _terminated(){return this._terminateTask!==void 0}_setSettings(t){if(this._settingsFrozen)throw new Oe(le.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this._settings=new Nw(t),t.credentials!==void 0&&(this._authCredentials=function(r){if(!r)return new f8;switch(r.type){case"firstParty":return new g8(r.sessionIndex||"0",r.iamToken||null,r.authTokenFactory||null);case"provider":return r.client;default:throw new Oe(le.INVALID_ARGUMENT,"makeAuthCredentialsProvider failed due to invalid credential type")}}(t.credentials))}_getSettings(){return this._settings}_freezeSettings(){return this._settingsFrozen=!0,this._settings}_delete(){return this._terminateTask||(this._terminateTask=this._terminate()),this._terminateTask}toJSON(){return{app:this._app,databaseId:this._databaseId,settings:this._settings}}_terminate(){return function(n){const r=Mw.get(n);r&&(Pe("ComponentProvider","Removing Datastore"),Mw.delete(n),r.terminate())}(this),Promise.resolve()}}function Jz(e,t,n,r={}){var i;const a=(e=su(e,uh))._getSettings(),s=`${t}:${n}`;if(a.host!=="firestore.googleapis.com"&&a.host!==s&&lo("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used."),e._setSettings(Object.assign(Object.assign({},a),{host:s,ssl:!1})),r.mockUserToken){let o,l;if(typeof r.mockUserToken=="string")o=r.mockUserToken,l=_n.MOCK_USER;else{o=HB(r.mockUserToken,(i=e._app)===null||i===void 0?void 0:i.options.projectId);const u=r.mockUserToken.sub||r.mockUserToken.user_id;if(!u)throw new Oe(le.INVALID_ARGUMENT,"mockUserToken must contain 'sub' or 'user_id' field!");l=new _n(u)}e._authCredentials=new h8(new LT(o,l))}}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class ch{constructor(t,n,r){this.converter=n,this._query=r,this.type="query",this.firestore=t}withConverter(t){return new ch(this.firestore,t,this._query)}}class pr{constructor(t,n,r){this.converter=n,this._key=r,this.type="document",this.firestore=t}get _path(){return this._key.path}get id(){return this._key.path.lastSegment()}get path(){return this._key.path.canonicalString()}get parent(){return new ia(this.firestore,this.converter,this._key.path.popLast())}withConverter(t){return new pr(this.firestore,t,this._key)}}class ia extends ch{constructor(t,n,r){super(t,n,XT(r)),this._path=r,this.type="collection"}get id(){return this._query.path.lastSegment()}get path(){return this._query.path.canonicalString()}get parent(){const t=this._path.popLast();return t.isEmpty()?null:new pr(this.firestore,null,new De(t))}withConverter(t){return new ia(this.firestore,t,this._path)}}function Ny(e,t,...n){if(e=zl(e),LI("collection","path",t),e instanceof uh){const r=Vt.fromString(t,...n);return $w(r),new ia(e,null,r)}{if(!(e instanceof pr||e instanceof ia))throw new Oe(le.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const r=e._path.child(Vt.fromString(t,...n));return $w(r),new ia(e.firestore,null,r)}}function BI(e,t,...n){if(e=zl(e),arguments.length===1&&(t=BT.V()),LI("doc","path",t),e instanceof uh){const r=Vt.fromString(t,...n);return Dw(r),new pr(e,null,new De(r))}{if(!(e instanceof pr||e instanceof ia))throw new Oe(le.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const r=e._path.child(Vt.fromString(t,...n));return Dw(r),new pr(e.firestore,e instanceof ia?e.converter:null,new De(r))}}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class Zz{constructor(){this.za=Promise.resolve(),this.ja=[],this.Ha=!1,this.Ja=[],this.Ya=null,this.Za=!1,this.Xa=!1,this.eu=[],this.Uo=new SI(this,"async_queue_retry"),this.tu=()=>{const n=Cm();n&&Pe("AsyncQueue","Visibility state changed to "+n.visibilityState),this.Uo.Lo()};const t=Cm();t&&typeof t.addEventListener=="function"&&t.addEventListener("visibilitychange",this.tu)}get isShuttingDown(){return this.Ha}enqueueAndForget(t){this.enqueue(t)}enqueueAndForgetEvenWhileRestricted(t){this.nu(),this.ru(t)}enterRestrictedMode(t){if(!this.Ha){this.Ha=!0,this.Xa=t||!1;const n=Cm();n&&typeof n.removeEventListener=="function"&&n.removeEventListener("visibilitychange",this.tu)}}enqueue(t){if(this.nu(),this.Ha)return new Promise(()=>{});const n=new ra;return this.ru(()=>this.Ha&&this.Xa?Promise.resolve():(t().then(n.resolve,n.reject),n.promise)).then(()=>n.promise)}enqueueRetryable(t){this.enqueueAndForget(()=>(this.ja.push(t),this.iu()))}async iu(){if(this.ja.length!==0){try{await this.ja[0](),this.ja.shift(),this.Uo.reset()}catch(t){if(!Mu(t))throw t;Pe("AsyncQueue","Operation failed with retryable error: "+t)}this.ja.length>0&&this.Uo.No(()=>this.iu())}}ru(t){const n=this.za.then(()=>(this.Za=!0,t().catch(r=>{this.Ya=r,this.Za=!1;const i=function(s){let o=s.message||"";return s.stack&&(o=s.stack.includes(s.message)?s.stack:s.message+` -`+s.stack),o}(r);throw Ei("INTERNAL UNHANDLED ERROR: ",i),r}).then(r=>(this.Za=!1,r))));return this.za=n,n}enqueueAfterDelay(t,n,r){this.nu(),this.eu.indexOf(t)>-1&&(n=0);const i=Ry.createAndSchedule(this,t,n,r,a=>this.su(a));return this.Ja.push(i),i}nu(){this.Ya&&Fe()}verifyOperationInProgress(){}async ou(){let t;do t=this.za,await t;while(t!==this.za)}_u(t){for(const n of this.Ja)if(n.timerId===t)return!0;return!1}au(t){return this.ou().then(()=>{this.Ja.sort((n,r)=>n.targetTimeMs-r.targetTimeMs);for(const n of this.Ja)if(n.skipDelay(),t!=="all"&&n.timerId===t)break;return this.ou()})}uu(t){this.eu.push(t)}su(t){const n=this.Ja.indexOf(t);this.Ja.splice(n,1)}}class Fy extends uh{constructor(t,n,r,i){super(t,n,r,i),this.type="firestore",this._queue=function(){return new Zz}(),this._persistenceKey=(i==null?void 0:i.name)||"[DEFAULT]"}_terminate(){return this._firestoreClient||UI(this),this._firestoreClient.terminate()}}function Ly(e,t){const n=typeof e=="object"?e:K7(),r=typeof e=="string"?e:t||"(default)",i=H7(n,"firestore").getImmediate({identifier:r});if(!i._initialized){const a=UB("firestore");a&&Jz(i,...a)}return i}function jI(e){return e._firestoreClient||UI(e),e._firestoreClient.verifyNotTerminated(),e._firestoreClient}function UI(e){var t,n,r;const i=e._freezeSettings(),a=function(o,l,u,c){return new A8(o,l,u,c.host,c.ssl,c.experimentalForceLongPolling,c.experimentalAutoDetectLongPolling,FI(c.experimentalLongPollingOptions),c.useFetchStreams)}(e._databaseId,((t=e._app)===null||t===void 0?void 0:t.options.appId)||"",e._persistenceKey,i);e._firestoreClient=new qz(e._authCredentials,e._appCheckCredentials,e._queue,a),((n=i.localCache)===null||n===void 0?void 0:n._offlineComponentProvider)&&((r=i.localCache)===null||r===void 0?void 0:r._onlineComponentProvider)&&(e._firestoreClient._uninitializedComponentsProvider={_offlineKind:i.localCache.kind,_offline:i.localCache._offlineComponentProvider,_online:i.localCache._onlineComponentProvider})}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class vo{constructor(t){this._byteString=t}static fromBase64String(t){try{return new vo(Vn.fromBase64String(t))}catch(n){throw new Oe(le.INVALID_ARGUMENT,"Failed to construct data from Base64 string: "+n)}}static fromUint8Array(t){return new vo(Vn.fromUint8Array(t))}toBase64(){return this._byteString.toBase64()}toUint8Array(){return this._byteString.toUint8Array()}toString(){return"Bytes(base64: "+this.toBase64()+")"}isEqual(t){return this._byteString.isEqual(t._byteString)}}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class By{constructor(...t){for(let n=0;n90)throw new Oe(le.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+t);if(!isFinite(n)||n<-180||n>180)throw new Oe(le.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+n);this._lat=t,this._long=n}get latitude(){return this._lat}get longitude(){return this._long}isEqual(t){return this._lat===t._lat&&this._long===t._long}toJSON(){return{latitude:this._lat,longitude:this._long}}_compareTo(t){return ot(this._lat,t._lat)||ot(this._long,t._long)}}/** - * @license - * Copyright 2017 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */const eH=/^__.*__$/;class tH{constructor(t,n,r){this.data=t,this.fieldMask=n,this.fieldTransforms=r}toMutation(t,n){return this.fieldMask!==null?new gs(t,this.data,this.fieldMask,n,this.fieldTransforms):new Du(t,this.data,n,this.fieldTransforms)}}function HI(e){switch(e){case 0:case 2:case 1:return!0;case 3:case 4:return!1;default:throw Fe()}}class Uy{constructor(t,n,r,i,a,s){this.settings=t,this.databaseId=n,this.serializer=r,this.ignoreUndefinedProperties=i,a===void 0&&this.cu(),this.fieldTransforms=a||[],this.fieldMask=s||[]}get path(){return this.settings.path}get lu(){return this.settings.lu}hu(t){return new Uy(Object.assign(Object.assign({},this.settings),t),this.databaseId,this.serializer,this.ignoreUndefinedProperties,this.fieldTransforms,this.fieldMask)}Pu(t){var n;const r=(n=this.path)===null||n===void 0?void 0:n.child(t),i=this.hu({path:r,Iu:!1});return i.Tu(t),i}Eu(t){var n;const r=(n=this.path)===null||n===void 0?void 0:n.child(t),i=this.hu({path:r,Iu:!1});return i.cu(),i}du(t){return this.hu({path:void 0,Iu:!0})}Au(t){return Wd(t,this.settings.methodName,this.settings.Ru||!1,this.path,this.settings.Vu)}contains(t){return this.fieldMask.find(n=>t.isPrefixOf(n))!==void 0||this.fieldTransforms.find(n=>t.isPrefixOf(n.field))!==void 0}cu(){if(this.path)for(let t=0;tl.covers(d.field))}else l=null,u=s.fieldTransforms;return new tH(new hr(o),l,u)}function qI(e,t){if(GI(e=zl(e)))return KI("Unsupported field value:",t,e),WI(e,t);if(e instanceof zI)return function(r,i){if(!HI(i.lu))throw i.Au(`${r._methodName}() can only be used with update() and set()`);if(!i.path)throw i.Au(`${r._methodName}() is not currently supported inside arrays`);const a=r._toFieldTransform(i);a&&i.fieldTransforms.push(a)}(e,t),null;if(e===void 0&&t.ignoreUndefinedProperties)return null;if(t.path&&t.fieldMask.push(t.path),e instanceof Array){if(t.settings.Iu&&t.lu!==4)throw t.Au("Nested arrays are not supported");return function(r,i){const a=[];let s=0;for(const o of r){let l=qI(o,i.du(s));l==null&&(l={nullValue:"NULL_VALUE"}),a.push(l),s++}return{arrayValue:{values:a}}}(e,t)}return function(r,i){if((r=zl(r))===null)return{nullValue:"NULL_VALUE"};if(typeof r=="number")return J8(i.serializer,r);if(typeof r=="boolean")return{booleanValue:r};if(typeof r=="string")return{stringValue:r};if(r instanceof Date){const a=Jt.fromDate(r);return{timestampValue:Hd(i.serializer,a)}}if(r instanceof Jt){const a=new Jt(r.seconds,1e3*Math.floor(r.nanoseconds/1e3));return{timestampValue:Hd(i.serializer,a)}}if(r instanceof jy)return{geoPointValue:{latitude:r.latitude,longitude:r.longitude}};if(r instanceof vo)return{bytesValue:mI(i.serializer,r._byteString)};if(r instanceof pr){const a=i.databaseId,s=r.firestore._databaseId;if(!s.isEqual(a))throw i.Au(`Document reference is for database ${s.projectId}/${s.database} but should be for database ${a.projectId}/${a.database}`);return{referenceValue:Ey(r.firestore._databaseId||i.databaseId,r._key.path)}}throw i.Au(`Unsupported field value: ${$y(r)}`)}(e,t)}function WI(e,t){const n={};return jT(e)?t.path&&t.path.length>0&&t.fieldMask.push(t.path):Ao(e,(r,i)=>{const a=qI(i,t.Pu(r));a!=null&&(n[r]=a)}),{mapValue:{fields:n}}}function GI(e){return!(typeof e!="object"||e===null||e instanceof Array||e instanceof Date||e instanceof Jt||e instanceof jy||e instanceof vo||e instanceof pr||e instanceof zI)}function KI(e,t,n){if(!GI(n)||!function(i){return typeof i=="object"&&i!==null&&(Object.getPrototypeOf(i)===Object.prototype||Object.getPrototypeOf(i)===null)}(n)){const r=$y(n);throw r==="an object"?t.Au(e+" a custom object"):t.Au(e+" "+r)}}function aH(e,t,n){if((t=zl(t))instanceof By)return t._internalPath;if(typeof t=="string")return YI(e,t);throw Wd("Field path arguments must be of type string or ",e,!1,void 0,n)}const sH=new RegExp("[~\\*/\\[\\]]");function YI(e,t,n){if(t.search(sH)>=0)throw Wd(`Invalid field path (${t}). Paths must not contain '~', '*', '/', '[', or ']'`,e,!1,void 0,n);try{return new By(...t.split("."))._internalPath}catch{throw Wd(`Invalid field path (${t}). Paths must not be empty, begin with '.', end with '.', or contain '..'`,e,!1,void 0,n)}}function Wd(e,t,n,r,i){const a=r&&!r.isEmpty(),s=i!==void 0;let o=`Function ${t}() called with invalid data`;n&&(o+=" (via `toFirestore()`)"),o+=". ";let l="";return(a||s)&&(l+=" (found",a&&(l+=` in field ${r}`),s&&(l+=` in document ${i}`),l+=")"),new Oe(le.INVALID_ARGUMENT,o+e+l)}function oH(e,t){return e.some(n=>n.isEqual(t))}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class XI{constructor(t,n,r,i,a){this._firestore=t,this._userDataWriter=n,this._key=r,this._document=i,this._converter=a}get id(){return this._key.path.lastSegment()}get ref(){return new pr(this._firestore,this._converter,this._key)}exists(){return this._document!==null}data(){if(this._document){if(this._converter){const t=new lH(this._firestore,this._userDataWriter,this._key,this._document,null);return this._converter.fromFirestore(t)}return this._userDataWriter.convertValue(this._document.data.value)}}get(t){if(this._document){const n=this._document.data.field(QI("DocumentSnapshot.get",t));if(n!==null)return this._userDataWriter.convertValue(n)}}}class lH extends XI{data(){return super.data()}}function QI(e,t){return typeof t=="string"?YI(e,t):t instanceof By?t._internalPath:t._delegate._internalPath}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function uH(e){if(e.limitType==="L"&&e.explicitOrderBy.length===0)throw new Oe(le.UNIMPLEMENTED,"limitToLast() queries require specifying at least one orderBy() clause")}class cH{convertValue(t,n="none"){switch(ss(t)){case 0:return null;case 1:return t.booleanValue;case 2:return qt(t.integerValue||t.doubleValue);case 3:return this.convertTimestamp(t.timestampValue);case 4:return this.convertServerTimestamp(t,n);case 5:return t.stringValue;case 6:return this.convertBytes(as(t.bytesValue));case 7:return this.convertReference(t.referenceValue);case 8:return this.convertGeoPoint(t.geoPointValue);case 9:return this.convertArray(t.arrayValue,n);case 10:return this.convertObject(t.mapValue,n);default:throw Fe()}}convertObject(t,n){return this.convertObjectMap(t.fields,n)}convertObjectMap(t,n="none"){const r={};return Ao(t,(i,a)=>{r[i]=this.convertValue(a,n)}),r}convertGeoPoint(t){return new jy(qt(t.latitude),qt(t.longitude))}convertArray(t,n){return(t.values||[]).map(r=>this.convertValue(r,n))}convertServerTimestamp(t,n){switch(n){case"previous":const r=by(t);return r==null?null:this.convertValue(r,n);case"estimate":return this.convertTimestamp(tu(t));default:return null}}convertTimestamp(t){const n=ua(t);return new Jt(n.seconds,n.nanos)}convertDocumentKey(t,n){const r=Vt.fromString(t);Tt(bI(r));const i=new nu(r.get(1),r.get(3)),a=new De(r.popFirst(5));return i.isEqual(n)||Ei(`Document ${a} contains a document reference within a different database (${i.projectId}/${i.database}) which is not supported. It will be treated as a reference in the current database (${n.projectId}/${n.database}) instead.`),a}}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */function dH(e,t,n){let r;return r=e?n&&(n.merge||n.mergeFields)?e.toFirestore(t,n):e.toFirestore(t):t,r}/** - * @license - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */class pc{constructor(t,n){this.hasPendingWrites=t,this.fromCache=n}isEqual(t){return this.hasPendingWrites===t.hasPendingWrites&&this.fromCache===t.fromCache}}class fH extends XI{constructor(t,n,r,i,a,s){super(t,n,r,i,s),this._firestore=t,this._firestoreImpl=t,this.metadata=a}exists(){return super.exists()}data(t={}){if(this._document){if(this._converter){const n=new Kc(this._firestore,this._userDataWriter,this._key,this._document,this.metadata,null);return this._converter.fromFirestore(n,t)}return this._userDataWriter.convertValue(this._document.data.value,t.serverTimestamps)}}get(t,n={}){if(this._document){const r=this._document.data.field(QI("DocumentSnapshot.get",t));if(r!==null)return this._userDataWriter.convertValue(r,n.serverTimestamps)}}}class Kc extends fH{data(t={}){return super.data(t)}}class hH{constructor(t,n,r,i){this._firestore=t,this._userDataWriter=n,this._snapshot=i,this.metadata=new pc(i.hasPendingWrites,i.fromCache),this.query=r}get docs(){const t=[];return this.forEach(n=>t.push(n)),t}get size(){return this._snapshot.docs.size}get empty(){return this.size===0}forEach(t,n){this._snapshot.docs.forEach(r=>{t.call(n,new Kc(this._firestore,this._userDataWriter,r.key,r,new pc(this._snapshot.mutatedKeys.has(r.key),this._snapshot.fromCache),this.query.converter))})}docChanges(t={}){const n=!!t.includeMetadataChanges;if(n&&this._snapshot.excludesMetadataChanges)throw new Oe(le.INVALID_ARGUMENT,"To include metadata changes with your document changes, you must also pass { includeMetadataChanges:true } to onSnapshot().");return this._cachedChanges&&this._cachedChangesIncludeMetadataChanges===n||(this._cachedChanges=function(i,a){if(i._snapshot.oldDocs.isEmpty()){let s=0;return i._snapshot.docChanges.map(o=>{const l=new Kc(i._firestore,i._userDataWriter,o.doc.key,o.doc,new pc(i._snapshot.mutatedKeys.has(o.doc.key),i._snapshot.fromCache),i.query.converter);return o.doc,{type:"added",doc:l,oldIndex:-1,newIndex:s++}})}{let s=i._snapshot.oldDocs;return i._snapshot.docChanges.filter(o=>a||o.type!==3).map(o=>{const l=new Kc(i._firestore,i._userDataWriter,o.doc.key,o.doc,new pc(i._snapshot.mutatedKeys.has(o.doc.key),i._snapshot.fromCache),i.query.converter);let u=-1,c=-1;return o.type!==0&&(u=s.indexOf(o.doc.key),s=s.delete(o.doc.key)),o.type!==1&&(s=s.add(o.doc),c=s.indexOf(o.doc.key)),{type:mH(o.type),doc:l,oldIndex:u,newIndex:c}})}}(this,n),this._cachedChangesIncludeMetadataChanges=n),this._cachedChanges}}function mH(e){switch(e){case 0:return"added";case 2:case 3:return"modified";case 1:return"removed";default:return Fe()}}class vH extends cH{constructor(t){super(),this.firestore=t}convertBytes(t){return new vo(t)}convertReference(t){const n=this.convertDocumentKey(t,this.firestore._databaseId);return new pr(this.firestore,null,n)}}function gH(e){e=su(e,ch);const t=su(e.firestore,Fy),n=jI(t),r=new vH(t);return uH(e._query),Xz(n,e._query).then(i=>new hH(t,r,e,i))}function JI(e,t,n){e=su(e,pr);const r=su(e.firestore,Fy),i=dH(e.converter,t,n);return pH(r,[iH(rH(r),"setDoc",e._key,i,e.converter!==null,n).toMutation(e._key,pi.none())])}function pH(e,t){return function(r,i){const a=new ra;return r.asyncQueue.enqueueAndForget(async()=>Mz(await Kz(r),i,a)),a.promise}(jI(e),t)}(function(t,n=!0){(function(i){Io=i})(G7),Rd(new Hl("firestore",(r,{instanceIdentifier:i,options:a})=>{const s=r.getProvider("app").getImmediate(),o=new Fy(new m8(r.getProvider("auth-internal")),new y8(r.getProvider("app-check-internal")),function(u,c){if(!Object.prototype.hasOwnProperty.apply(u.options,["projectId"]))throw new Oe(le.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new nu(u.options.projectId,c)}(s,i),s);return a=Object.assign({useFetchStreams:n},a),o._setSettings(a),o},"PUBLIC").setMultipleInstances(!0)),to(iw,"4.1.2",t),to(iw,"4.1.2","esm2017")})();const yH={name:"AnimatedText",components:{},data(){return{Background:{filename:TE,alt:"Alt Text for Image"},firstV:!0,secondV:!1,thirdV:!1,fourthV:!1,fifthV:!1,sixthV:!1,seventhV:!1,eightV:!1,fullName:"",universityId:"",phoneNumber:"",email:"",faculty:"",department:"",batch:"",errorMsg:"",error:!1,success:!0,showMessage:!1,fadeAnimation:!1,currentImage:xE,sologo:Bl,first:{typedText:"",fullText:"Hi Contestant \u{1F44B}
What is your full name?",currentIndex:0},second:{typedText:"",fullText:"Hi, what is your university id? ",currentIndex:0},third:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},fourth:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},fifth:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},sixth:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},seventh:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},eight:{typedText:"",fullText:"Your journey is about to begin \u{1F973}",currentIndex:0}}},methods:{typeText(e){e.currentIndex<=e.fullText.length&&(e.typedText=e.fullText.slice(0,e.currentIndex),e.currentIndex++,setTimeout(()=>this.typeText(e),20))},verifyMobileNumber(e){return/^(0|\+94)[0-9+]{9,}$/.test(e)},isValidEmail(e){return/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.test(e)},closeMessage(){this.showMessage=!1},firstB(e){switch(e){case 2:this.error=!1,this.fullName.split(" ")[1]?(this.firstV=!1,this.secondV=!0,this.second.fullText=this.fullName.split(" ")[1]+", What is your University ID ? \u{1F393}",this.typeText(this.second)):(this.error=!0,this.errorMsg="You must enter your full name");break;case 3:this.error=!1,this.universityId?(this.secondV=!1,this.thirdV=!0,this.third.fullText=this.fullName.split(" ")[1]+", We need your phone number \u260E\uFE0F
(whatsapp preferred)",this.typeText(this.third)):(this.error=!0,this.errorMsg="You must enter your university ID");break;case 4:this.error=!1,this.phoneNumber?this.verifyMobileNumber(this.phoneNumber)?(this.thirdV=!1,this.fourthV=!0,this.fourth.fullText=" What is your Email \u{1F4E7} ?",this.typeText(this.fourth)):(this.error=!0,this.errorMsg="You must enter a valid MobileNumber"):(this.error=!0,this.errorMsg="You must enter your MobileNumber");break;case 5:this.error=!1,this.email?this.isValidEmail(this.email)?(this.fourthV=!1,this.fifthV=!0,this.fifth.fullText=this.fullName.split(" ")[1]+", In which faculty do you study ?",this.typeText(this.fifth)):(this.error=!0,this.errorMsg="You must enter a valid Email"):(this.error=!0,this.errorMsg="You must enter your Email");break;case 6:this.error=!1,this.faculty?(this.fifthV=!1,this.sixthV=!0,this.sixth.fullText="What is your department ?",this.typeText(this.sixth)):(this.error=!0,this.errorMsg="Don't skip buddy select your faculty");break;case 7:this.sixthV=!1,this.seventhV=!0,this.seventh.fullText="Select your batch",this.typeText(this.seventh);break;case 8:this.seventhV=!1,this.eightV=!0,this.typeText(this.eight),this.switchImage(),setTimeout(()=>{this.fadeAnimation=!0,this.eight.fullText="Your journey is about to begin \u{1F973}",this.sologo=Bl},1500),setTimeout(()=>{this.success=!0},2500)}},finish(){this.seventhV=!1,this.submitForm(),this.firstB(8)},async submitForm(){console.log("formRan"),$f({apiKey:"AIzaSyBMOiTpc_PPERG4ZhPbTQIZ8uAHnNzsKos",authDomain:"speech-olympiad.firebaseapp.com",projectId:"speech-olympiad",storageBucket:"speech-olympiad.appspot.com",messagingSenderId:"718732602589",appId:"1:718732602589:web:d2b3a682106d06fc773f34",measurementId:"G-T1D958J5EE"});const t=Ly(),n=BI(Ny(t,"registrations")),r={fullName:this.fullName,universityId:this.universityId,phoneNumber:this.phoneNumber,email:this.email,faculty:this.faculty,department:this.department,batch:this.batch,time:new Date};console.log("efewf"),await JI(n,r),console.log("efewf");try{this.fullName="",this.universityId="",this.phoneNumber="",this.email="",this.faculty="",this.department="",this.batch="",this.showMessage=!0}catch(i){console.error("Error adding document: ",i)}console.log("efewf")},switchImage(){setTimeout(()=>{this.currentImage=EE},1500)}},mounted(){this.typeText(this.first)}},Mi=e=>(oi("data-v-ad93f312"),e=e(),li(),e),bH={class:"relative min-h-screen bg-zinc-950"},_H=["src","alt"],wH=["src"],SH={class:"flex flex-col items-center justify-center ml-4 w-1/2"},CH=["innerHTML","hidden"],xH=["src","hidden"],EH={key:0,class:"text-sm text-green-300 p-1"},TH={key:0,class:"absolute md:top-1/3 i top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},IH=["innerHTML"],AH={class:"relative flex items-center mt-4"},kH={key:0,class:"text-lg text-red-400 p-1"},PH={key:1,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},VH=["innerHTML"],RH={class:"relative flex items-center mt-4"},OH={key:0,class:"text-lg text-red-400 p-1"},MH={key:2,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},DH=["innerHTML"],$H={class:"relative flex items-center mt-4"},NH={key:0,class:"text-lg text-red-400 p-1"},FH={key:3,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},LH=["innerHTML"],BH={class:"relative flex items-center mt-4"},jH={key:0,class:"text-lg text-red-400 p-1"},UH={key:4,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},zH=["innerHTML"],HH={class:"relative flex items-center mt-4"},qH=Mi(()=>C("option",null,"Faculty of Engineering",-1)),WH=Mi(()=>C("option",null,"Faculty of Information Technology",-1)),GH=Mi(()=>C("option",null,"Faculty of Architecture",-1)),KH=Mi(()=>C("option",null,"Faculty of Business",-1)),YH=Mi(()=>C("option",null,"Faculty of Medicine",-1)),XH=[qH,WH,GH,KH,YH],QH={key:0,class:"text-lg text-red-400 p-1"},JH={key:5,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},ZH=["innerHTML"],eq={class:"relative flex items-center mt-4"},tq={key:0,class:"text-lg text-red-400 p-1"},nq={key:6,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},rq=["innerHTML"],iq={class:"relative flex items-center mt-4"},aq=Mi(()=>C("option",null,"2019",-1)),sq=Mi(()=>C("option",null,"2020",-1)),oq=Mi(()=>C("option",null,"2021",-1)),lq=Mi(()=>C("option",null,"2022",-1)),uq=[aq,sq,oq,lq],cq={key:0,class:"text-lg text-red-400 p-1"};function dq(e,t,n,r,i,a){return se(),ce("div",bH,[C("img",{src:i.Background.filename,alt:i.Background.alt,class:"w-full sm:w-1/2 mx-auto"},null,8,_H),C("div",{class:"absolute md:top-1/3 i top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center flex",style:_o({display:i.eightV?"":"none"})},[m(In,{name:"bon",mode:"out-in"},{default:Wn(()=>[(se(),ce("img",{src:i.currentImage,key:i.currentImage,class:"image"},null,8,wH))]),_:1}),C("div",SH,[m(In,{name:"bounce",mode:"out-in"},{default:Wn(()=>[(se(),ce("p",{class:"text-white text-3xl ml-2",innerHTML:i.eight.fullText,key:i.fadeAnimation,hidden:!i.fadeAnimation},null,8,CH))]),_:1}),m(In,{name:"slide-fade",mode:"out-in"},{default:Wn(()=>[(se(),ce("img",{src:i.sologo,class:"w-32",key:i.fadeAnimation,hidden:!i.fadeAnimation},null,8,xH))]),_:1}),i.success?(se(),ce("p",EH,"You have registered successfully")):We("",!0)])],4),i.firstV?(se(),ce("div",TH,[C("p",{class:"text-3xl text-gray-200 bg-transparent",innerHTML:i.first.typedText},null,8,IH),C("div",AH,[Je(C("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"text",placeholder:"Enter your full name here","onUpdate:modelValue":t[0]||(t[0]=s=>i.fullName=s),onKeyup:t[1]||(t[1]=Kr(s=>a.firstB(2),["enter"]))},null,544),[[dr,i.fullName]]),C("button",{class:Pt({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[2]||(t[2]=s=>a.firstB(2))}," \u2192 ",2)]),i.error?(se(),ce("p",kH,Xe(i.errorMsg),1)):We("",!0)])):We("",!0),i.secondV?(se(),ce("div",PH,[C("p",{class:"text-3xl text-gray-200 bg-transparent",innerHTML:i.second.typedText},null,8,VH),C("div",RH,[Je(C("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"text",placeholder:"Enter your Uni id here","onUpdate:modelValue":t[3]||(t[3]=s=>i.universityId=s),onKeyup:t[4]||(t[4]=Kr(s=>a.firstB(3),["enter"]))},null,544),[[dr,i.universityId]]),C("button",{class:Pt({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[5]||(t[5]=s=>a.firstB(3))}," \u2192 ",2)]),i.error?(se(),ce("p",OH,Xe(i.errorMsg),1)):We("",!0)])):We("",!0),i.thirdV?(se(),ce("div",MH,[C("p",{class:"text-3xl text-gray-200 bg-transparent",innerHTML:i.third.typedText},null,8,DH),C("div",$H,[Je(C("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"mobile",placeholder:"Enter your mobile number","onUpdate:modelValue":t[6]||(t[6]=s=>i.phoneNumber=s),onKeyup:t[7]||(t[7]=Kr(s=>a.firstB(4),["enter"]))},null,544),[[dr,i.phoneNumber]]),C("button",{class:Pt({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[8]||(t[8]=s=>a.firstB(4))}," \u2192 ",2)]),i.error?(se(),ce("p",NH,Xe(i.errorMsg),1)):We("",!0)])):We("",!0),i.fourthV?(se(),ce("div",FH,[C("p",{class:"text-3xl text-gray-200 bg-transparent",innerHTML:i.fourth.typedText},null,8,LH),C("div",BH,[Je(C("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"email",placeholder:"Enter your email","onUpdate:modelValue":t[9]||(t[9]=s=>i.email=s),onKeyup:t[10]||(t[10]=Kr(s=>a.firstB(5),["enter"]))},null,544),[[dr,i.email]]),C("button",{class:Pt({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[11]||(t[11]=s=>a.firstB(5))}," \u2192 ",2)]),i.error?(se(),ce("p",jH,Xe(i.errorMsg),1)):We("",!0)])):We("",!0),i.fifthV?(se(),ce("div",UH,[C("p",{class:"text-3xl text-gray-200 bg-transparent",innerHTML:i.fifth.typedText},null,8,zH),C("div",HH,[Je(C("select",{"onUpdate:modelValue":t[12]||(t[12]=s=>i.faculty=s),class:"block appearance-none w-full border border-gray-200 py-3 px-4 leading-tight focus:outline-none focus:bg-gray-900 focus:border-gray-500 placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14",id:"grid-state"},XH,512),[[ad,i.faculty]]),C("button",{class:Pt({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[13]||(t[13]=s=>a.firstB(6))}," \u2192 ",2)]),i.error?(se(),ce("p",QH,Xe(i.errorMsg),1)):We("",!0)])):We("",!0),i.sixthV?(se(),ce("div",JH,[C("p",{class:"text-3xl text-gray-200 bg-transparent",innerHTML:i.sixth.typedText},null,8,ZH),C("div",eq,[Je(C("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"email",placeholder:"Ex : CSE","onUpdate:modelValue":t[14]||(t[14]=s=>i.department=s),onKeyup:t[15]||(t[15]=Kr(s=>a.firstB(7),["enter"]))},null,544),[[dr,i.department]]),C("button",{class:Pt({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[16]||(t[16]=s=>a.firstB(7))}," \u2192 ",2)]),i.error?(se(),ce("p",tq,Xe(i.errorMsg),1)):We("",!0)])):We("",!0),i.seventhV?(se(),ce("div",nq,[C("p",{class:"text-3xl text-gray-200 bg-transparent",innerHTML:i.seventh.typedText},null,8,rq),C("div",iq,[Je(C("select",{"onUpdate:modelValue":t[17]||(t[17]=s=>i.batch=s),class:"block appearance-none w-full border border-gray-200 py-3 px-4 leading-tight focus:outline-none focus:bg-gray-900 focus:border-gray-500 placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14",id:"grid-state"},uq,512),[[ad,i.batch]]),C("button",{class:Pt({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[18]||(t[18]=(...s)=>a.finish&&a.finish(...s))}," \u2192 ",2)]),i.error?(se(),ce("p",cq,Xe(i.errorMsg),1)):We("",!0)])):We("",!0)])}const fq=wt(yH,[["render",dq],["__scopeId","data-v-ad93f312"]]),hq={data(){return{registrations:[],password:"",admin:!1}},computed:{sortedRegistrationsD(e){return this.registrations.slice().sort((t,n)=>n.time-t.time)},sortedRegistrationsA(e){return this.registrations.slice().sort((t,n)=>t.time-n.time)}},methods:{login(){this.password=="Speechsoso"&&(this.admin=!0)},downloadCsvFile(){let e="RegistrationData.csv",t=this.convertJsonToCsv(this.sortedRegistrationsA);const n=new Blob([t],{type:"text/csv"}),r=URL.createObjectURL(n),i=document.createElement("a");i.href=r,i.download=e,i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(r)},convertJsonToCsv(e){const t=",",n=Object.keys(e[0]).join(t),r=e.map(a=>Object.values(a).map(s=>typeof s=="string"&&s.includes(t)?`"${s}"`:s).join(t));return[n,...r].join(` -`)}},async mounted(){$f({apiKey:"AIzaSyBMOiTpc_PPERG4ZhPbTQIZ8uAHnNzsKos",authDomain:"speech-olympiad.firebaseapp.com",projectId:"speech-olympiad",storageBucket:"speech-olympiad.appspot.com",messagingSenderId:"718732602589",appId:"1:718732602589:web:d2b3a682106d06fc773f34",measurementId:"G-T1D958J5EE"});const t=Ly(),n=await gH(Ny(t,"registrations"));this.registrations=n.docs.map(r=>{const i=r.data();return{fullName:i.fullName,universityId:i.universityId,phoneNumber:i.phoneNumber,email:i.email,faculty:i.faculty,department:i.department,batch:i.batch,time:i.time.toDate()}})}},mq={key:0,class:"mb-4 p-6"},vq=C("label",{class:"block text-gray-700 text-sm font-bold mb-2",for:"password"}," Password ",-1),gq={class:"mb-4"},pq={key:1},yq=C("h1",{class:"text-2xl font-semibold mb-4"},"Registrations",-1),bq={class:"overflow-x-auto"},_q=C("p",null,"Latest First",-1),wq={class:"min-w-full border divide-y divide-gray-300"},Sq=C("thead",{class:"bg-gray-100 text-black"},[C("tr",null,[C("th",{class:"py-2 px-4"},"Full Name"),C("th",{class:"py-2 px-4"},"University ID"),C("th",{class:"py-2 px-4"},"Email"),C("th",{class:"py-2 px-4"},"Faculty"),C("th",{class:"py-2 px-4"},"Department"),C("th",{class:"py-2 px-4"},"Batch"),C("th",{class:"py-2 px-4"},"Phone Number"),C("th",{class:"py-2 px-4"},"Time")])],-1),Cq={class:"py-2 px-4"},xq={class:"py-2 px-4"},Eq={class:"py-2 px-4"},Tq={class:"py-2 px-4"},Iq={class:"py-2 px-4"},Aq={class:"py-2 px-4"},kq={class:"py-2 px-4"},Pq={class:"py-2 px-4"};function Vq(e,t,n,r,i,a){return se(),ce(Ee,null,[i.admin?We("",!0):(se(),ce("div",mq,[vq,Je(C("input",{class:"shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline",id:"password",type:"password",placeholder:"Enter your password","onUpdate:modelValue":t[0]||(t[0]=s=>i.password=s)},null,512),[[dr,i.password]]),C("div",gq,[C("button",{class:"bg-transparent text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline",onClick:t[1]||(t[1]=(...s)=>a.login&&a.login(...s))}," Get In \u2192 ")])])),i.admin?(se(),ce("div",pq,[yq,C("button",{class:"bg-gray-500 w-64 m-3 hover:bg-gray-600 text-gray-300 border-gray-200 font-bold py-2 px-4 outline-1 rounded focus:outline-none focus:shadow-outline",onClick:t[2]||(t[2]=(...s)=>a.downloadCsvFile&&a.downloadCsvFile(...s))}," Download Data "),C("div",bq,[_q,C("table",wq,[Sq,C("tbody",null,[(se(!0),ce(Ee,null,Br(a.sortedRegistrationsD,s=>(se(),ce("tr",{key:s.id},[C("td",Cq,Xe(s.fullName),1),C("td",xq,Xe(s.universityId),1),C("td",Eq,Xe(s.email),1),C("td",Tq,Xe(s.faculty),1),C("td",Iq,Xe(s.department),1),C("td",Aq,Xe(s.batch),1),C("td",kq,Xe(s.phoneNumber),1),C("td",Pq,Xe(s.time),1)]))),128))])])])])):We("",!0)],64)}const Rq=wt(hq,[["render",Vq]]);const Oq={name:"AnimatedText",components:{PageRules:AC},data(){return{Background:{filename:TE,alt:"Alt Text for Image"},firstV:!0,secondV:!1,thirdV:!1,fourthV:!1,fifthV:!1,sixthV:!1,seventhV:!1,eightV:!1,fullName:"",universityId:"",phoneNumber:"",email:"",faculty:"",department:"",batch:"",errorMsg:"",error:!1,success:!1,showMessage:!1,showRulesModal:!0,fadeAnimation:!1,currentImage:xE,sologo:Bl,first:{typedText:"",fullText:"Greetings contestant! Congratulations on taking your first step towards Speech Olympiad XVI. Let's proceed!
Please provide your full name.",currentIndex:0},second:{typedText:"",fullText:"Hi, what is your university id? ",currentIndex:0},third:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},fourth:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},fifth:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},sixth:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},seventh:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},eight:{typedText:"",fullText:"Thankyou & Good luck on your journey! \u{1F973}",currentIndex:0}}},methods:{typeText(e){e.currentIndex<=e.fullText.length&&(e.typedText=e.fullText.slice(0,e.currentIndex),e.currentIndex++,setTimeout(()=>this.typeText(e),20))},verifyMobileNumber(e){return/^(0|\+94)[0-9+]{9,}$/.test(e)},isValidEmail(e){return/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.test(e)},closeMessage(){this.showMessage=!1},firstB(e){switch(e){case 2:this.error=!1,this.fullName.split(" ")[0]?(this.firstV=!1,this.secondV=!0,this.second.fullText=this.fullName.split(" ")[0]+", kindly enter your university index number.",this.typeText(this.second)):(this.error=!0,this.errorMsg="You must enter your full name");break;case 3:this.error=!1,this.universityId?(this.secondV=!1,this.thirdV=!0,this.third.fullText="2 down 5 to go!
Could you please provide your phone number, preferably your WhatsApp contact number?",this.typeText(this.third)):(this.error=!0,this.errorMsg="You must enter your university ID");break;case 4:this.error=!1,this.phoneNumber?this.verifyMobileNumber(this.phoneNumber)?(this.thirdV=!1,this.fourthV=!0,this.fourth.fullText="May we kindly request your email address?",this.typeText(this.fourth)):(this.error=!0,this.errorMsg="You must enter a valid MobileNumber"):(this.error=!0,this.errorMsg="You must enter your MobileNumber");break;case 5:this.error=!1,this.email?this.isValidEmail(this.email)?(this.fourthV=!1,this.fifthV=!0,this.fifth.fullText="Great! You're almost there.
In which faculty are you currently enrolled?",this.typeText(this.fifth)):(this.error=!0,this.errorMsg="You must enter a valid Email"):(this.error=!0,this.errorMsg="You must enter your Email");break;case 6:this.error=!1,this.faculty?(this.fifthV=!1,this.sixthV=!0,this.sixth.fullText=this.fullName.split(" ")[0]+", please mention your department.",this.typeText(this.sixth)):(this.error=!0,this.errorMsg="you must select your faculty");break;case 7:this.sixthV=!1,this.seventhV=!0,this.seventh.fullText="Final Question!
Which batch are you from?",this.typeText(this.seventh);break;case 8:this.seventhV=!1,this.eightV=!0,this.typeText(this.eight),this.switchImage(),setTimeout(()=>{this.fadeAnimation=!0,this.eight.fullText="Thank you & Good luck on your journey!",this.sologo=Bl},1500),setTimeout(()=>{this.success=!0},4e3);break}},finish(){this.seventhV=!1,this.submitForm(),this.firstB(8)},async submitForm(){console.log("formRan"),$f({apiKey:"AIzaSyBMOiTpc_PPERG4ZhPbTQIZ8uAHnNzsKos",authDomain:"speech-olympiad.firebaseapp.com",projectId:"speech-olympiad",storageBucket:"speech-olympiad.appspot.com",messagingSenderId:"718732602589",appId:"1:718732602589:web:d2b3a682106d06fc773f34",measurementId:"G-T1D958J5EE"});const t=Ly(),n=BI(Ny(t,"registrations")),r={fullName:this.fullName,universityId:this.universityId,phoneNumber:this.phoneNumber,email:this.email,faculty:this.faculty,department:this.department,batch:this.batch,time:new Date};console.log("efewf"),await JI(n,r),console.log("efewf");try{this.fullName="",this.universityId="",this.phoneNumber="",this.email="",this.faculty="",this.department="",this.batch="",this.showMessage=!0}catch(i){console.error("Error adding document: ",i)}console.log("efewf")},switchImage(){setTimeout(()=>{this.currentImage=EE},1500)},openRulesModal(){this.showRulesModal=!0},closeRulesModal(){this.showRulesModal=!1}},mounted(){this.typeText(this.first)}},ui=e=>(oi("data-v-87712438"),e=e(),li(),e),Mq={class:"relative bg-zinc-950"},Dq=["src","alt"],$q=["src"],Nq={class:"flex flex-col items-center justify-center ml-4 w-1/2"},Fq=["innerHTML","hidden"],Lq=["src","hidden"],Bq={key:0,class:"text-sm text-green-300 p-1"},jq={key:0,class:"absolute md:top-1/3 i top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},Uq=["innerHTML"],zq={class:"relative flex items-center mt-4"},Hq={key:0,class:"text-lg text-red-400 p-1"},qq={key:1,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},Wq=["innerHTML"],Gq={class:"relative flex items-center mt-4"},Kq={key:0,class:"text-lg text-red-400 p-1"},Yq={key:2,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},Xq=["innerHTML"],Qq={class:"relative flex items-center mt-4"},Jq={key:0,class:"text-lg text-red-400 p-1"},Zq={key:3,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},eW=["innerHTML"],tW={class:"relative flex items-center mt-4"},nW={key:0,class:"text-lg text-red-400 p-1"},rW={key:4,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},iW=["innerHTML"],aW={class:"relative flex items-center mt-4"},sW=ui(()=>C("option",null,"Faculty of Engineering",-1)),oW=ui(()=>C("option",null,"Faculty of Information Technology",-1)),lW=ui(()=>C("option",null,"Faculty of Architecture",-1)),uW=ui(()=>C("option",null,"Faculty of Business",-1)),cW=ui(()=>C("option",null,"Faculty of Medicine",-1)),dW=[sW,oW,lW,uW,cW],fW={key:0,class:"text-lg text-red-400 p-1"},hW={key:5,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},mW=["innerHTML"],vW={class:"relative flex items-center mt-4"},gW={key:0,class:"text-lg text-red-400 p-1"},pW={key:6,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},yW=["innerHTML"],bW={class:"relative flex items-center mt-4"},_W=ui(()=>C("option",null,"19",-1)),wW=ui(()=>C("option",null,"20",-1)),SW=ui(()=>C("option",null,"21",-1)),CW=ui(()=>C("option",null,"22",-1)),xW=[_W,wW,SW,CW],EW={key:0,class:"text-lg text-red-400 p-1"},TW={key:7,class:"absolute md:top-0 top-0 md:left-0 left-0 bg-zinc-700 w-full h-full rounded-lg p-6 shadow-md",style:{overflow:"auto"}},IW=ui(()=>C("p",null,"Upon signing up for the competition, you are expected to adhere to the regulations and guidelines associated with Speech Olympiad XVI. Please review the rules and proceed.",-1));function AW(e,t,n,r,i,a){const s=bt("PageRules");return se(),ce("div",Mq,[C("img",{src:i.Background.filename,alt:i.Background.alt,class:"w-full sm:w-1/2 mx-auto"},null,8,Dq),C("div",{class:"absolute md:top-1/3 i top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center flex",style:_o({display:i.eightV?"":"none"})},[m(In,{name:"bon",mode:"out-in"},{default:Wn(()=>[(se(),ce("img",{src:i.currentImage,key:i.currentImage,class:"image"},null,8,$q))]),_:1}),C("div",Nq,[m(In,{name:"bounce",mode:"out-in"},{default:Wn(()=>[(se(),ce("p",{class:"text-white p-3 text-3xl ml-2",innerHTML:i.eight.fullText,key:i.fadeAnimation,hidden:!i.fadeAnimation},null,8,Fq))]),_:1}),m(In,{name:"slide-fade",mode:"out-in"},{default:Wn(()=>[(se(),ce("img",{src:i.sologo,class:"w-32",key:i.fadeAnimation,hidden:!i.fadeAnimation},null,8,Lq))]),_:1}),i.success?(se(),ce("p",Bq,"You have registered successfully")):We("",!0)])],4),i.firstV?(se(),ce("div",jq,[C("p",{class:"text-2xl p-3 text-gray-200 bg-transparent",innerHTML:i.first.typedText},null,8,Uq),C("div",zq,[Je(C("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"text",placeholder:"Ex : John Perera","onUpdate:modelValue":t[0]||(t[0]=o=>i.fullName=o),onKeyup:t[1]||(t[1]=Kr(o=>a.firstB(2),["enter"]))},null,544),[[dr,i.fullName]]),C("button",{class:Pt({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[2]||(t[2]=o=>a.firstB(2))}," \u2192 ",2)]),i.error?(se(),ce("p",Hq,Xe(i.errorMsg),1)):We("",!0)])):We("",!0),i.secondV?(se(),ce("div",qq,[C("p",{class:"text-3xl p-3 text-gray-200 bg-transparent",innerHTML:i.second.typedText},null,8,Wq),C("div",Gq,[Je(C("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"text",placeholder:"Enter your University index number here","onUpdate:modelValue":t[3]||(t[3]=o=>i.universityId=o),onKeyup:t[4]||(t[4]=Kr(o=>a.firstB(3),["enter"]))},null,544),[[dr,i.universityId]]),C("button",{class:Pt({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[5]||(t[5]=o=>a.firstB(3))}," \u2192 ",2)]),i.error?(se(),ce("p",Kq,Xe(i.errorMsg),1)):We("",!0)])):We("",!0),i.thirdV?(se(),ce("div",Yq,[C("p",{class:"text-3xl p-3 text-gray-200 bg-transparent",innerHTML:i.third.typedText},null,8,Xq),C("div",Qq,[Je(C("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"mobile",placeholder:"Enter your mobile number","onUpdate:modelValue":t[6]||(t[6]=o=>i.phoneNumber=o),onKeyup:t[7]||(t[7]=Kr(o=>a.firstB(4),["enter"]))},null,544),[[dr,i.phoneNumber]]),C("button",{class:Pt({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[8]||(t[8]=o=>a.firstB(4))}," \u2192 ",2)]),i.error?(se(),ce("p",Jq,Xe(i.errorMsg),1)):We("",!0)])):We("",!0),i.fourthV?(se(),ce("div",Zq,[C("p",{class:"text-3xl p-3 text-gray-200 bg-transparent",innerHTML:i.fourth.typedText},null,8,eW),C("div",tW,[Je(C("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"email",placeholder:"Enter your email","onUpdate:modelValue":t[9]||(t[9]=o=>i.email=o),onKeyup:t[10]||(t[10]=Kr(o=>a.firstB(5),["enter"]))},null,544),[[dr,i.email]]),C("button",{class:Pt({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[11]||(t[11]=o=>a.firstB(5))}," \u2192 ",2)]),i.error?(se(),ce("p",nW,Xe(i.errorMsg),1)):We("",!0)])):We("",!0),i.fifthV?(se(),ce("div",rW,[C("p",{class:"text-3xl p-3 text-gray-200 bg-transparent",innerHTML:i.fifth.typedText},null,8,iW),C("div",aW,[Je(C("select",{"onUpdate:modelValue":t[12]||(t[12]=o=>i.faculty=o),class:"block appearance-none w-full border border-gray-200 py-3 px-4 leading-tight focus:outline-none focus:bg-gray-900 focus:border-gray-500 placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14",id:"grid-state"},dW,512),[[ad,i.faculty]]),C("button",{class:Pt({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[13]||(t[13]=o=>a.firstB(6))}," \u2192 ",2)]),i.error?(se(),ce("p",fW,Xe(i.errorMsg),1)):We("",!0)])):We("",!0),i.sixthV?(se(),ce("div",hW,[C("p",{class:"text-3xl p-3 text-gray-200 bg-transparent",innerHTML:i.sixth.typedText},null,8,mW),C("div",vW,[Je(C("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"email",placeholder:"Ex : CSE","onUpdate:modelValue":t[14]||(t[14]=o=>i.department=o),onKeyup:t[15]||(t[15]=Kr(o=>a.firstB(7),["enter"]))},null,544),[[dr,i.department]]),C("button",{class:Pt({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[16]||(t[16]=o=>a.firstB(7))}," \u2192 ",2)]),i.error?(se(),ce("p",gW,Xe(i.errorMsg),1)):We("",!0)])):We("",!0),i.seventhV?(se(),ce("div",pW,[C("p",{class:"text-3xl p-3 text-gray-200 bg-transparent",innerHTML:i.seventh.typedText},null,8,yW),C("div",bW,[Je(C("select",{"onUpdate:modelValue":t[17]||(t[17]=o=>i.batch=o),class:"block appearance-none w-full border border-gray-200 py-3 px-4 leading-tight focus:outline-none focus:bg-gray-900 focus:border-gray-500 placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14",id:"grid-state"},xW,512),[[ad,i.batch]]),C("button",{class:Pt({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[18]||(t[18]=(...o)=>a.finish&&a.finish(...o))}," \u2192 ",2)]),i.error?(se(),ce("p",EW,Xe(i.errorMsg),1)):We("",!0)])):We("",!0),i.showRulesModal?(se(),ce("div",TW,[C("button",{onClick:t[19]||(t[19]=(...o)=>a.closeRulesModal&&a.closeRulesModal(...o)),class:"bg-amber-600 text-white p-2 m-2 border-radius-50 hover:bg-orange-700 hover:text-gray-800"}," I Agree \u2192 "),IW,m(s)])):We("",!0)])}const kW=wt(Oq,[["render",AW],["__scopeId","data-v-87712438"]]),PW={"/":yN,"/about":$N,"/champions-story":iL,"/technical-tips":bF,"/gallery":OF,"/blogs":Lx,"/form":fq,"/admin":Rq,"/register":kW,"/rules":AC},VW={data(){return{currentPath:window.location.hash}},components:{AppHeader:TM,AppFooter:rM},computed:{currentView(){return window.scrollTo({top:0,behavior:"auto"}),PW["/"+this.currentPath.slice(1)]||$F}},mounted(){window.addEventListener("hashchange",()=>{this.currentPath=window.location.hash})},setup(){RB({projectId:"i32b0q2c",dataset:"production",useCdn:!0},!0)}};function RW(e,t,n,r,i,a){const s=bt("AppHeader"),o=bt("AppFooter");return se(),ce(Ee,null,[m(s),(se(),pu(wS(a.currentView))),m(o)],64)}const OW=wt(VW,[["render",RW]]);const _t=typeof window<"u",zy=_t&&"IntersectionObserver"in window,MW=_t&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function Fw(e,t,n){DW(e,t),t.set(e,n)}function DW(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $W(e,t,n){var r=ZI(e,t,"set");return NW(e,r,n),n}function NW(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function Ia(e,t){var n=ZI(e,t,"get");return FW(e,n)}function ZI(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function FW(e,t){return t.get?t.get.call(e):t.value}function eA(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let i=0;iys(e[r],t[r]))}function eg(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),eA(e,t.split("."),n))}function Cn(e,t,n){if(t==null)return e===void 0?n:e;if(e!==Object(e)){if(typeof t!="function")return n;const i=t(e,n);return typeof i>"u"?n:i}if(typeof t=="string")return eg(e,t,n);if(Array.isArray(t))return eA(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function vi(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function xe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function tg(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function ng(e){return e&&"$el"in e?e.$el:e}const Lw=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),rg=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function tA(e){return Object.keys(e)}function Ga(e,t){return t.every(n=>e.hasOwnProperty(n))}function os(e,t,n){const r=Object.create(null),i=Object.create(null);for(const a in e)t.some(s=>s instanceof RegExp?s.test(a):s===a)&&!(n!=null&&n.some(s=>s===a))?r[a]=e[a]:i[a]=e[a];return[r,i]}function _r(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}const nA=/^on[^a-z]/,Hy=e=>nA.test(e),LW=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function bs(e){const[t,n]=os(e,[nA]),r=_r(t,LW),[i,a]=os(n,["class","style","id",/^data-/]);return Object.assign(i,t),Object.assign(a,r),[i,a]}function yr(e){return e==null?[]:Array.isArray(e)?e:[e]}function Tn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function Bw(e){const t=e.toString().trim();return t.includes(".")?t.length-t.indexOf(".")-1:0}function jw(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function BW(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r1&&arguments[1]!==void 0?arguments[1]:1e3;if(e=t&&r0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const i in e)r[i]=e[i];for(const i in t){const a=e[i],s=t[i];if(tg(a)&&tg(s)){r[i]=mr(a,s,n);continue}if(Array.isArray(a)&&Array.isArray(s)&&n){r[i]=n(a,s);continue}r[i]=s}return r}function rA(e){return e.map(t=>t.type===Ee?rA(t.children):t).flat()}function Ja(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(Ja.cache.has(e))return Ja.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return Ja.cache.set(e,t),t}Ja.cache=new Map;function Il(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Il(e,n)).flat(1);if(Array.isArray(t.children))return t.children.map(n=>Il(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return Il(e,t.component.subTree).flat(1)}return[]}var yc=new WeakMap,Rs=new WeakMap;class jW{constructor(t){Fw(this,yc,{writable:!0,value:[]}),Fw(this,Rs,{writable:!0,value:0}),this.size=t}push(t){Ia(this,yc)[Ia(this,Rs)]=t,$W(this,Rs,(Ia(this,Rs)+1)%this.size)}values(){return Ia(this,yc).slice(Ia(this,Rs)).concat(Ia(this,yc).slice(0,Ia(this,Rs)))}}function UW(e){return"touches"in e?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}}function qy(e){const t=Ln({}),n=_(e);return nr(()=>{for(const r in n.value)t[r]=n.value[r]},{flush:"sync"}),qg(t)}function Gd(e,t){return e.includes(t)}function iA(e){return e[2].toLowerCase()+e.slice(3)}const ni=()=>[Function,Array];function zw(e,t){return t="on"+Vi(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function Wy(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(r=>`${r}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(n)]}function aA(e,t,n){var s;let r,i=e.indexOf(document.activeElement);const a=t==="next"?1:-1;do i+=a,r=e[i];while((!r||r.offsetParent==null||!((s=n==null?void 0:n(r))==null||s))&&i=0);return r}function Kd(e,t){var r,i,a,s;const n=ou(e);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((r=n[0])==null||r.focus());else if(t==="first")(i=n[0])==null||i.focus();else if(t==="last")(a=n.at(-1))==null||a.focus();else if(typeof t=="number")(s=n[t])==null||s.focus();else{const o=aA(n,t);o?o.focus():Kd(e,t==="next"?"first":"last")}}function sA(){}function go(e,t){if(!(_t&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}const oA=["top","bottom"],zW=["start","end","left","right"];function ig(e,t){let[n,r]=e.split(" ");return r||(r=Gd(oA,n)?"start":Gd(zW,n)?"top":"center"),{side:ag(n,t),align:ag(r,t)}}function ag(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function Em(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function Tm(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function Hw(e){return{side:e.align,align:e.side}}function qw(e){return Gd(oA,e.side)?"y":"x"}class ao{constructor(t){let{x:n,y:r,width:i,height:a}=t;this.x=n,this.y=r,this.width=i,this.height=a}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function Ww(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function Gy(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),r=n.transform;if(r){let i,a,s,o,l;if(r.startsWith("matrix3d("))i=r.slice(9,-1).split(/, /),a=+i[0],s=+i[5],o=+i[12],l=+i[13];else if(r.startsWith("matrix("))i=r.slice(7,-1).split(/, /),a=+i[0],s=+i[3],o=+i[4],l=+i[5];else return new ao(t);const u=n.transformOrigin,c=t.x-o-(1-a)*parseFloat(u),d=t.y-l-(1-s)*parseFloat(u.slice(u.indexOf(" ")+1)),f=a?t.width/a:e.offsetWidth+1,h=s?t.height/s:e.offsetHeight+1;return new ao({x:c,y:d,width:f,height:h})}else return new ao(t)}function Ka(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let r;try{r=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof r.finished>"u"&&(r.finished=new Promise(i=>{r.onfinish=()=>{i(r)}})),r}const Yc=new WeakMap;function HW(e,t){Object.keys(t).forEach(n=>{if(Hy(n)){const r=iA(n),i=Yc.get(e);if(t[n]==null)i==null||i.forEach(a=>{const[s,o]=a;s===r&&(e.removeEventListener(r,o),i.delete(a))});else if(!i||![...i].some(a=>a[0]===r&&a[1]===t[n])){e.addEventListener(r,t[n]);const a=i||new Set;a.add([r,t[n]]),Yc.has(e)||Yc.set(e,a)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function qW(e,t){Object.keys(t).forEach(n=>{if(Hy(n)){const r=iA(n),i=Yc.get(e);i==null||i.forEach(a=>{const[s,o]=a;s===r&&(e.removeEventListener(r,o),i.delete(a))})}else e.removeAttribute(n)})}const Os=2.4,Gw=.2126729,Kw=.7151522,Yw=.072175,WW=.55,GW=.58,KW=.57,YW=.62,bc=.03,Xw=1.45,XW=5e-4,QW=1.25,JW=1.25,Qw=.078,Jw=12.82051282051282,_c=.06,Zw=.001;function e1(e,t){const n=(e.r/255)**Os,r=(e.g/255)**Os,i=(e.b/255)**Os,a=(t.r/255)**Os,s=(t.g/255)**Os,o=(t.b/255)**Os;let l=n*Gw+r*Kw+i*Yw,u=a*Gw+s*Kw+o*Yw;if(l<=bc&&(l+=(bc-l)**Xw),u<=bc&&(u+=(bc-u)**Xw),Math.abs(u-l)l){const d=(u**WW-l**GW)*QW;c=d-Zw?0:d>-Qw?d-d*Jw*_c:d+_c}return c*100}function yi(e){sf(`Vuetify: ${e}`)}function sg(e){sf(`Vuetify error: ${e}`)}function ZW(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`,sf(`[Vuetify UPGRADE] '${e}' is deprecated, use ${t} instead.`)}const Yd=.20689655172413793,eG=e=>e>Yd**3?Math.cbrt(e):e/(3*Yd**2)+4/29,tG=e=>e>Yd?e**3:3*Yd**2*(e-4/29);function lA(e){const t=eG,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function uA(e){const t=tG,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const nG=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],rG=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,iG=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],aG=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function cA(e){const t=Array(3),n=rG,r=nG;for(let i=0;i<3;++i)t[i]=Math.round(Tn(n(r[i][0]*e[0]+r[i][1]*e[1]+r[i][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function Ky(e){let{r:t,g:n,b:r}=e;const i=[0,0,0],a=aG,s=iG;t=a(t/255),n=a(n/255),r=a(r/255);for(let o=0;o<3;++o)i[o]=s[o][0]*t+s[o][1]*n+s[o][2]*r;return i}function t1(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}const n1=/^(?(?:rgb|hsl)a?)\((?.+)\)/,sG={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>r1({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>r1({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>Ai({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>Ai({h:e,s:t,v:n,a:r})};function Nr(e){if(typeof e=="number")return(isNaN(e)||e<0||e>16777215)&&yi(`'${e}' is not a valid hex color`),{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&n1.test(e)){const{groups:t}=e.match(n1),{fn:n,values:r}=t,i=r.split(/,\s*/).map(a=>a.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(a)/100:parseFloat(a));return sG[n](...i)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;[3,4].includes(t.length)?t=t.split("").map(r=>r+r).join(""):[6,8].includes(t.length)||yi(`'${e}' is not a valid hex(a) color`);const n=parseInt(t,16);return(isNaN(n)||n<0||n>4294967295)&&yi(`'${e}' is not a valid hex(a) color`),vA(t)}else if(typeof e=="object"){if(Ga(e,["r","g","b"]))return e;if(Ga(e,["h","s","l"]))return Ai(Yy(e));if(Ga(e,["h","s","v"]))return Ai(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Ai(e){const{h:t,s:n,v:r,a:i}=e,a=o=>{const l=(o+t/60)%6;return r-r*n*Math.max(Math.min(l,4-l,1),0)},s=[a(5),a(3),a(1)].map(o=>Math.round(o*255));return{r:s[0],g:s[1],b:s[2],a:i}}function r1(e){return Ai(Yy(e))}function dh(e){if(!e)return{h:0,s:1,v:1,a:1};const t=e.r/255,n=e.g/255,r=e.b/255,i=Math.max(t,n,r),a=Math.min(t,n,r);let s=0;i!==a&&(i===t?s=60*(0+(n-r)/(i-a)):i===n?s=60*(2+(r-t)/(i-a)):i===r&&(s=60*(4+(t-n)/(i-a)))),s<0&&(s=s+360);const o=i===0?0:(i-a)/i,l=[s,o,i];return{h:l[0],s:l[1],v:l[2],a:e.a}}function dA(e){const{h:t,s:n,v:r,a:i}=e,a=r-r*n/2,s=a===1||a===0?0:(r-a)/Math.min(a,1-a);return{h:t,s,l:a,a:i}}function Yy(e){const{h:t,s:n,l:r,a:i}=e,a=r+n*Math.min(r,1-r),s=a===0?0:2-2*r/a;return{h:t,s,v:a,a:i}}function fA(e){let{r:t,g:n,b:r,a:i}=e;return i===void 0?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${i})`}function hA(e){return fA(Ai(e))}function wc(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function mA(e){let{r:t,g:n,b:r,a:i}=e;return`#${[wc(t),wc(n),wc(r),i!==void 0?wc(Math.round(i*255)):""].join("")}`}function vA(e){e=lG(e);let[t,n,r,i]=BW(e,2).map(a=>parseInt(a,16));return i=i===void 0?i:i/255,{r:t,g:n,b:r,a:i}}function oG(e){const t=vA(e);return dh(t)}function gA(e){return mA(Ai(e))}function lG(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=jw(jw(e,6),8,"F")),e}function uG(e,t){const n=lA(Ky(e));return n[0]=n[0]+t*10,cA(uA(n))}function cG(e,t){const n=lA(Ky(e));return n[0]=n[0]-t*10,cA(uA(n))}function og(e){const t=Nr(e);return Ky(t)[1]}function dG(e,t){const n=og(e),r=og(t),i=Math.max(n,r),a=Math.min(n,r);return(i+.05)/(a+.05)}function pA(e){const t=Math.abs(e1(Nr(0),Nr(e)));return Math.abs(e1(Nr(16777215),Nr(e)))>Math.min(t,50)?"#fff":"#000"}function K(e,t){return n=>Object.keys(e).reduce((r,i)=>{const s=typeof e[i]=="object"&&e[i]!=null&&!Array.isArray(e[i])?e[i]:{type:e[i]};return n&&i in n?r[i]={...s,default:n[i]}:r[i]=s,t&&!r[i].source&&(r[i].source=t),r},{})}const Se=K({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function wr(e){var t,n;if(e._setup=(t=e._setup)!=null?t:e.setup,!e.name)return yi("The component is missing an explicit name, unable to generate default prop value"),e;if(e._setup){e.props=K((n=e.props)!=null?n:{},e.name)();const r=Object.keys(e.props);e.filterProps=function(a){return os(a,r,["class","style"])},e.props._as=String,e.setup=function(a,s){var d;const o=Jy();if(!o.value)return e._setup(a,s);const{props:l,provideSubDefaults:u}=bG(a,(d=a._as)!=null?d:e.name,o),c=e._setup(l,s);return u(),c}}return e}function te(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?wr:gu)(t)}function Hr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return te()({name:n!=null?n:Vi(br(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...Se()},setup(r,i){let{slots:a}=i;return()=>{var s;return Wt(r.tag,{class:[e,r.class],style:r.style},(s=a.default)==null?void 0:s.call(a))}}})}function yA(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const lu="cubic-bezier(0.4, 0, 0.2, 1)",fG="cubic-bezier(0.0, 0, 0.2, 1)",hG="cubic-bezier(0.4, 0, 1, 1)";function cn(e,t){const n=pf();if(!n)throw new Error(`[Vuetify] ${e} ${t||"must be called from inside a setup function"}`);return n}function Di(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=cn(e).type;return Ja((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let bA=0,Xc=new WeakMap;function Mn(){const e=cn("getUid");if(Xc.has(e))return Xc.get(e);{const t=bA++;return Xc.set(e,t),t}}Mn.reset=()=>{bA=0,Xc=new WeakMap};function Xy(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?mG(e):Qy(e))return e;e=e.parentElement}return document.scrollingElement}function Xd(e,t){const n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(Qy(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function Qy(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function mG(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function vG(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:cn("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}function gG(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function oe(e){const t=cn("useRender");t.render=e}const po=Symbol.for("vuetify:defaults");function pG(e){return ve(e)}function Jy(){const e=ft(po);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function Gt(e,t){const n=Jy(),r=ve(e),i=_(()=>{if(Jn(t==null?void 0:t.disabled))return n.value;const s=Jn(t==null?void 0:t.scoped),o=Jn(t==null?void 0:t.reset),l=Jn(t==null?void 0:t.root);if(r.value==null&&!(s||o||l))return n.value;let u=mr(r.value,{prev:n.value});if(s)return u;if(o||l){const c=Number(o||1/0);for(let d=0;d<=c&&!(!u||!("prev"in u));d++)u=u.prev;return u&&typeof l=="string"&&l in u&&(u=mr(mr(u,{prev:u}),u[l])),u}return u.prev?mr(u.prev,u):u});return Rt(po,i),i}function yG(e,t){var n,r;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((r=e.props)==null?void 0:r[Ja(t)])<"u"}function bG(){var l;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Jy();const r=cn("useDefaults");if(t=(l=t!=null?t:r.type.name)!=null?l:r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const i=_(()=>{var u,c;return(c=n.value)==null?void 0:c[(u=e._as)!=null?u:t]}),a=new Proxy(e,{get(u,c){var f,h,v,g,y,p;const d=Reflect.get(u,c);return c==="class"||c==="style"?[(f=i.value)==null?void 0:f[c],d].filter(b=>b!=null):typeof c=="string"&&!yG(r.vnode,c)&&(p=(y=(h=i.value)==null?void 0:h[c])!=null?y:(g=(v=n.value)==null?void 0:v.global)==null?void 0:g[c])!=null?p:d}}),s=_e();nr(()=>{if(i.value){const u=Object.entries(i.value).filter(c=>{let[d]=c;return d.startsWith(d[0].toUpperCase())});s.value=u.length?Object.fromEntries(u):void 0}else s.value=void 0});function o(){const u=vG(po,r);Rt(po,_(()=>{var c;return s.value?mr((c=u==null?void 0:u.value)!=null?c:{},s.value):u==null?void 0:u.value}))}return{props:a,provideSubDefaults:o}}const fh=["sm","md","lg","xl","xxl"],lg=Symbol.for("vuetify:display"),i1={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},_G=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i1;return mr(i1,e)};function a1(e){return _t&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function s1(e){return _t&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function o1(e){const t=_t&&!e?window.navigator.userAgent:"ssr";function n(v){return Boolean(t.match(v))}const r=n(/android/i),i=n(/iphone|ipad|ipod/i),a=n(/cordova/i),s=n(/electron/i),o=n(/chrome/i),l=n(/edge/i),u=n(/firefox/i),c=n(/opera/i),d=n(/win/i),f=n(/mac/i),h=n(/linux/i);return{android:r,ios:i,cordova:a,electron:s,chrome:o,edge:l,firefox:u,opera:c,win:d,mac:f,linux:h,touch:MW,ssr:t==="ssr"}}function wG(e,t){const{thresholds:n,mobileBreakpoint:r}=_G(e),i=_e(s1(t)),a=_e(o1(t)),s=Ln({}),o=_e(a1(t));function l(){i.value=s1(),o.value=a1()}function u(){l(),a.value=o1()}return nr(()=>{const c=o.value=n.xxl,y=c?"xs":d?"sm":f?"md":h?"lg":v?"xl":"xxl",p=typeof r=="number"?r:n[r],b=o.valueWt(eb,{...e,class:"mdi"})},Le=[String,Function,Object,Array],ug=Symbol.for("vuetify:icons"),hh=K({icon:{type:Le},tag:{type:String,required:!0}},"icon"),cg=te()({name:"VComponentIcon",props:hh(),setup(e,t){let{slots:n}=t;return()=>{const r=e.icon;return m(e.tag,null,{default:()=>{var i;return[e.icon?m(r,null,null):(i=n.default)==null?void 0:i.call(n)]}})}}}),Zy=wr({name:"VSvgIcon",inheritAttrs:!1,props:hh(),setup(e,t){let{attrs:n}=t;return()=>m(e.tag,ye(n,{style:null}),{default:()=>[m("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(r=>Array.isArray(r)?m("path",{d:r[0],"fill-opacity":r[1]},null):m("path",{d:r},null)):m("path",{d:e.icon},null)])]})}}),xG=wr({name:"VLigatureIcon",props:hh(),setup(e){return()=>m(e.tag,null,{default:()=>[e.icon]})}}),eb=wr({name:"VClassIcon",props:hh(),setup(e){return()=>m(e.tag,{class:e.icon},null)}}),EG={svg:{component:Zy},class:{component:eb}};function TG(e){return mr({defaultSet:"mdi",sets:{...EG,mdi:CG},aliases:{...SG,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},e)}const IG=e=>{const t=ft(ug);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:_(()=>{var l;const r=Jn(e);if(!r)return{component:cg};let i=r;if(typeof i=="string"&&(i=i.trim(),i.startsWith("$")&&(i=(l=t.aliases)==null?void 0:l[i.slice(1)])),!i)throw new Error(`Could not find aliased icon "${r}"`);if(Array.isArray(i))return{component:Zy,icon:i};if(typeof i!="string")return{component:cg,icon:i};const a=Object.keys(t.sets).find(u=>typeof i=="string"&&i.startsWith(`${u}:`)),s=a?i.slice(a.length+1):i;return{component:t.sets[a!=null?a:t.defaultSet].component,icon:s}})}},AG={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},kG={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function da(e,t){let n;function r(){n=Ng(),n.run(()=>t.length?t(()=>{n==null||n.stop(),r()}):t())}we(e,i=>{i&&!n?r():i||(n==null||n.stop(),n=void 0)},{immediate:!0}),Kn(()=>{n==null||n.stop()})}function ze(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:d=>d,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:d=>d;const a=cn("useProxiedModel"),s=ve(e[t]!==void 0?e[t]:n),o=Ja(t),u=_(o!==t?()=>{var d,f,h,v;return e[t],!!((((d=a.vnode.props)==null?void 0:d.hasOwnProperty(t))||((f=a.vnode.props)==null?void 0:f.hasOwnProperty(o)))&&(((h=a.vnode.props)==null?void 0:h.hasOwnProperty(`onUpdate:${t}`))||((v=a.vnode.props)==null?void 0:v.hasOwnProperty(`onUpdate:${o}`))))}:()=>{var d,f;return e[t],!!(((d=a.vnode.props)==null?void 0:d.hasOwnProperty(t))&&((f=a.vnode.props)==null?void 0:f.hasOwnProperty(`onUpdate:${t}`)))});da(()=>!u.value,()=>{we(()=>e[t],d=>{s.value=d})});const c=_({get(){const d=e[t];return r(u.value?d:s.value)},set(d){const f=i(d),h=Ke(u.value?e[t]:s.value);h===f||r(h)===d||(s.value=f,a==null||a.emit(`update:${t}`,f))}});return Object.defineProperty(c,"externalValue",{get:()=>u.value?e[t]:s.value}),c}const l1="$vuetify.",u1=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[+r])),_A=(e,t,n)=>function(r){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;snew Intl.NumberFormat([e.value,t.value],r).format(n)}function Im(e,t,n){var i,a;const r=ze(e,t,(i=e[t])!=null?i:n.value);return r.value=(a=e[t])!=null?a:n.value,we(n,s=>{e[t]==null&&(r.value=n.value)}),r}function SA(e){return t=>{const n=Im(t,"locale",e.current),r=Im(t,"fallback",e.fallback),i=Im(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:i,t:_A(n,r,i),n:wA(n,r),provide:SA({current:n,fallback:r,messages:i})}}}function PG(e){var i,a;const t=_e((i=e==null?void 0:e.locale)!=null?i:"en"),n=_e((a=e==null?void 0:e.fallback)!=null?a:"en"),r=ve({en:AG,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:r,t:_A(t,n,r),n:wA(t,n),provide:SA({current:t,fallback:n,messages:r})}}const yo=Symbol.for("vuetify:locale");function VG(e){return e.name!=null}function RG(e){const t=(e==null?void 0:e.adapter)&&VG(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:PG(e),n=MG(t,e);return{...t,...n}}function Sr(){const e=ft(yo);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function OG(e){const t=ft(yo);if(!t)throw new Error("[Vuetify] Could not find injected locale instance");const n=t.provide(e),r=DG(n,t.rtl,e),i={...n,...r};return Rt(yo,i),i}function MG(e,t){var i;const n=ve((i=t==null?void 0:t.rtl)!=null?i:kG),r=_(()=>{var a;return(a=n.value[e.current.value])!=null?a:!1});return{isRtl:r,rtl:n,rtlClasses:_(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function DG(e,t,n){const r=_(()=>{var i,a;return(a=(i=n.rtl)!=null?i:t.value[e.current.value])!=null?a:!1});return{isRtl:r,rtl:t,rtlClasses:_(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function dn(){const e=ft(yo);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const uu=Symbol.for("vuetify:theme"),nt=K({theme:String},"theme"),Ko={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function $G(){var n,r,i;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ko;if(!e)return{...Ko,isDisabled:!0};const t={};for(const[a,s]of Object.entries((n=e.themes)!=null?n:{})){const o=s.dark||a==="dark"?(r=Ko.themes)==null?void 0:r.dark:(i=Ko.themes)==null?void 0:i.light;t[a]=mr(o,s)}return mr(Ko,{...e,themes:t})}function NG(e){const t=$G(e),n=ve(t.defaultTheme),r=ve(t.themes),i=_(()=>{const c={};for(const[d,f]of Object.entries(r.value)){const h=c[d]={...f,colors:{...f.colors}};if(t.variations)for(const v of t.variations.colors){const g=h.colors[v];if(!!g)for(const y of["lighten","darken"]){const p=y==="lighten"?uG:cG;for(const b of vi(t.variations[y],1))h.colors[`${v}-${y}-${b}`]=mA(p(Nr(g),b))}}for(const v of Object.keys(h.colors)){if(/^on-[a-z]/.test(v)||h.colors[`on-${v}`])continue;const g=`on-${v}`,y=Nr(h.colors[v]);h.colors[g]=pA(y)}}return c}),a=_(()=>i.value[n.value]),s=_(()=>{const c=[];a.value.dark&&Aa(c,":root",["color-scheme: dark"]),Aa(c,":root",c1(a.value));for(const[v,g]of Object.entries(i.value))Aa(c,`.v-theme--${v}`,[`color-scheme: ${g.dark?"dark":"normal"}`,...c1(g)]);const d=[],f=[],h=new Set(Object.values(i.value).flatMap(v=>Object.keys(v.colors)));for(const v of h)/^on-[a-z]/.test(v)?Aa(f,`.${v}`,[`color: rgb(var(--v-theme-${v})) !important`]):(Aa(d,`.bg-${v}`,[`--v-theme-overlay-multiplier: var(--v-theme-${v}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${v})) !important`,`color: rgb(var(--v-theme-on-${v})) !important`]),Aa(f,`.text-${v}`,[`color: rgb(var(--v-theme-${v})) !important`]),Aa(f,`.border-${v}`,[`--v-border-color: var(--v-theme-${v})`]));return c.push(...d,...f),c.map((v,g)=>g===0?v:` ${v}`).join("")});function o(){return{style:[{children:s.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function l(c){if(t.isDisabled)return;const d=c._context.provides.usehead;if(d)if(d.push){const f=d.push(o);_t&&we(s,()=>{f.patch(o)})}else _t?(d.addHeadObjs(_(o)),nr(()=>d.updateDOM())):d.addHeadObjs(o());else{let h=function(){if(typeof document<"u"&&!f){const v=document.createElement("style");v.type="text/css",v.id="vuetify-theme-stylesheet",t.cspNonce&&v.setAttribute("nonce",t.cspNonce),f=v,document.head.appendChild(f)}f&&(f.innerHTML=s.value)},f=_t?document.getElementById("vuetify-theme-stylesheet"):null;_t?we(s,h,{immediate:!0}):h()}}const u=_(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:l,isDisabled:t.isDisabled,name:n,themes:r,current:a,computedThemes:i,themeClasses:u,styles:s,global:{name:n,current:a}}}function lt(e){cn("provideTheme");const t=ft(uu,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=_(()=>{var s;return(s=e.theme)!=null?s:t.name.value}),r=_(()=>t.themes.value[n.value]),i=_(()=>t.isDisabled?void 0:`v-theme--${n.value}`),a={...t,name:n,current:r,themeClasses:i};return Rt(uu,a),a}function CA(){cn("useTheme");const e=ft(uu,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function Aa(e,t,n){e.push(`${t} { -`,...n.map(r=>` ${r}; -`),`} -`)}function c1(e){const t=e.dark?2:1,n=e.dark?1:2,r=[];for(const[i,a]of Object.entries(e.colors)){const s=Nr(a);r.push(`--v-theme-${i}: ${s.r},${s.g},${s.b}`),i.startsWith("on-")||r.push(`--v-theme-${i}-overlay-multiplier: ${og(a)>.18?t:n}`)}for(const[i,a]of Object.entries(e.variables)){const s=typeof a=="string"&&a.startsWith("#")?Nr(a):void 0,o=s?`${s.r}, ${s.g}, ${s.b}`:void 0;r.push(`--v-${i}: ${o!=null?o:a}`)}return r}const dg={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function FG(e,t){const n=[];let r=[];const i=xA(e),a=EA(e),s=i.getDay()-dg[t.slice(-2).toUpperCase()],o=a.getDay()-dg[t.slice(-2).toUpperCase()];for(let l=0;l{const r=new Date(d1);return r.setDate(d1.getDate()+t+n),new Intl.DateTimeFormat(e,{weekday:"narrow"}).format(r)})}function zG(e,t,n){const r=new Date(e);let i={};switch(t){case"fullDateWithWeekday":i={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":i={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":i={};break;case"monthAndDate":i={month:"long",day:"numeric"};break;case"monthAndYear":i={month:"long",year:"numeric"};break;case"dayOfMonth":i={day:"numeric"};break;default:i={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,i).format(r)}function HG(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function qG(e,t){const n=new Date(e);return n.setMonth(n.getMonth()+t),n}function WG(e){return e.getFullYear()}function GG(e){return e.getMonth()}function KG(e){return new Date(e.getFullYear(),0,1)}function YG(e){return new Date(e.getFullYear(),11,31)}function XG(e,t){return fg(e,t[0])&&JG(e,t[1])}function QG(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function fg(e,t){return e.getTime()>t.getTime()}function JG(e,t){return e.getTime()1&&arguments[1]!==void 0?arguments[1]:"content";const n=ve(),r=ve();if(_t){const i=new ResizeObserver(a=>{e==null||e(a,i),a.length&&(t==="content"?r.value=a[0].contentRect:r.value=a[0].target.getBoundingClientRect())});Un(()=>{i.disconnect()}),we(n,(a,s)=>{s&&(i.unobserve(ng(s)),r.value=void 0),a&&i.observe(ng(a))},{flush:"post"})}return{resizeRef:n,contentRect:vu(r)}}const Qd=Symbol.for("vuetify:layout"),TA=Symbol.for("vuetify:layout-item"),m1=1e3,IA=K({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),Vo=K({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function aK(){const e=ft(Qd);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Ro(e){var o;const t=ft(Qd);if(!t)throw new Error("[Vuetify] Could not find injected layout");const n=(o=e.id)!=null?o:`layout-item-${Mn()}`,r=cn("useLayoutItem");Rt(TA,{id:n});const i=_e(!1);vS(()=>i.value=!0),mS(()=>i.value=!1);const{layoutItemStyles:a,layoutItemScrimStyles:s}=t.register(r,{...e,active:_(()=>i.value?!1:e.active.value),id:n});return Un(()=>t.unregister(n)),{layoutItemStyles:a,layoutRect:t.layoutRect,layoutItemScrimStyles:s}}const sK=(e,t,n,r)=>{let i={top:0,left:0,right:0,bottom:0};const a=[{id:"",layer:{...i}}];for(const s of e){const o=t.get(s),l=n.get(s),u=r.get(s);if(!o||!l||!u)continue;const c={...i,[o.value]:parseInt(i[o.value],10)+(u.value?parseInt(l.value,10):0)};a.push({id:s,layer:c}),i=c}return a};function AA(e){const t=ft(Qd,null),n=_(()=>t?t.rootZIndex.value-100:m1),r=ve([]),i=Ln(new Map),a=Ln(new Map),s=Ln(new Map),o=Ln(new Map),l=Ln(new Map),{resizeRef:u,contentRect:c}=si(),d=_(()=>{var I;const O=new Map,N=(I=e.overlaps)!=null?I:[];for(const x of N.filter($=>$.includes(":"))){const[$,E]=x.split(":");if(!r.value.includes($)||!r.value.includes(E))continue;const w=i.get($),A=i.get(E),M=a.get($),J=a.get(E);!w||!A||!M||!J||(O.set(E,{position:w.value,amount:parseInt(M.value,10)}),O.set($,{position:A.value,amount:-parseInt(J.value,10)}))}return O}),f=_(()=>{const O=[...new Set([...s.values()].map(I=>I.value))].sort((I,x)=>I-x),N=[];for(const I of O){const x=r.value.filter($=>{var E;return((E=s.get($))==null?void 0:E.value)===I});N.push(...x)}return sK(N,i,a,o)}),h=_(()=>!Array.from(l.values()).some(O=>O.value)),v=_(()=>f.value[f.value.length-1].layer),g=_(()=>({"--v-layout-left":xe(v.value.left),"--v-layout-right":xe(v.value.right),"--v-layout-top":xe(v.value.top),"--v-layout-bottom":xe(v.value.bottom),...h.value?void 0:{transition:"none"}})),y=_(()=>f.value.slice(1).map((O,N)=>{let{id:I}=O;const{layer:x}=f.value[N],$=a.get(I),E=i.get(I);return{id:I,...x,size:Number($.value),position:E.value}})),p=O=>y.value.find(N=>N.id===O),b=cn("createLayout"),S=_e(!1);On(()=>{S.value=!0}),Rt(Qd,{register:(O,N)=>{let{id:I,order:x,position:$,layoutSize:E,elementSize:w,active:A,disableTransitions:M,absolute:J}=N;s.set(I,x),i.set(I,$),a.set(I,E),o.set(I,A),M&&l.set(I,M);const j=Il(TA,b==null?void 0:b.vnode).indexOf(O);j>-1?r.value.splice(j,0,I):r.value.push(I);const B=_(()=>y.value.findIndex(me=>me.id===I)),Q=_(()=>n.value+f.value.length*2-B.value*2),ee=_(()=>{const me=$.value==="left"||$.value==="right",de=$.value==="right",ke=$.value==="bottom",Ne={[$.value]:0,zIndex:Q.value,transform:`translate${me?"X":"Y"}(${(A.value?0:-110)*(de||ke?-1:1)}%)`,position:J.value||n.value!==m1?"absolute":"fixed",...h.value?void 0:{transition:"none"}};if(!S.value)return Ne;const Z=y.value[B.value];if(!Z)throw new Error(`[Vuetify] Could not find layout item "${I}"`);const Re=d.value.get(I);return Re&&(Z[Re.position]+=Re.amount),{...Ne,height:me?`calc(100% - ${Z.top}px - ${Z.bottom}px)`:w.value?`${w.value}px`:void 0,left:de?void 0:`${Z.left}px`,right:de?`${Z.right}px`:void 0,top:$.value!=="bottom"?`${Z.top}px`:void 0,bottom:$.value!=="top"?`${Z.bottom}px`:void 0,width:me?w.value?`${w.value}px`:void 0:`calc(100% - ${Z.left}px - ${Z.right}px)`}}),re=_(()=>({zIndex:Q.value-1}));return{layoutItemStyles:ee,layoutItemScrimStyles:re,zIndex:Q}},unregister:O=>{s.delete(O),i.delete(O),a.delete(O),o.delete(O),l.delete(O),r.value=r.value.filter(N=>N!==O)},mainRect:v,mainStyles:g,getLayoutItem:p,items:y,layoutRect:c,rootZIndex:n});const T=_(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),V=_(()=>({zIndex:n.value,position:t?"relative":void 0,overflow:t?"hidden":void 0}));return{layoutClasses:T,layoutStyles:V,getLayoutItem:p,items:y,layoutRect:c,layoutRef:u}}function kA(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,r=mr(t,n),{aliases:i={},components:a={},directives:s={}}=r,o=pG(r.defaults),l=wG(r.display,r.ssr),u=NG(r.theme),c=TG(r.icons),d=RG(r.locale),f=iK(r.date);return{install:v=>{for(const g in s)v.directive(g,s[g]);for(const g in a)v.component(g,a[g]);for(const g in i)v.component(g,wr({...i[g],name:g,aliasName:i[g].name}));if(u.install(v),v.provide(po,o),v.provide(lg,l),v.provide(uu,u),v.provide(ug,c),v.provide(yo,d),v.provide(h1,f),_t&&r.ssr)if(v.$nuxt)v.$nuxt.hook("app:suspense:resolve",()=>{l.update()});else{const{mount:g}=v;v.mount=function(){const y=g(...arguments);return yt(()=>l.update()),v.mount=g,y}}Mn.reset(),v.mixin({computed:{$vuetify(){return Ln({defaults:Ms.call(this,po),display:Ms.call(this,lg),theme:Ms.call(this,uu),icons:Ms.call(this,ug),locale:Ms.call(this,yo),date:Ms.call(this,h1)})}}})},defaults:o,display:l,theme:u,icons:c,locale:d,date:f}}const oK="3.3.15";kA.version=oK;function Ms(e){var r,i,a;const t=this.$,n=(a=(r=t.parent)==null?void 0:r.provides)!=null?a:(i=t.vnode.appContext)==null?void 0:i.provides;if(n&&e in n)return n[e]}const lK=K({...Se(),...IA({fullHeight:!0}),...nt()},"VApp"),uK=te()({name:"VApp",props:lK(),setup(e,t){let{slots:n}=t;const r=lt(e),{layoutClasses:i,layoutStyles:a,getLayoutItem:s,items:o,layoutRef:l}=AA(e),{rtlClasses:u}=dn();return oe(()=>{var c;return m("div",{ref:l,class:["v-application",r.themeClasses.value,i.value,u.value,e.class],style:[a.value,e.style]},[m("div",{class:"v-application__wrap"},[(c=n.default)==null?void 0:c.call(n)])])}),{getLayoutItem:s,items:o,theme:r}}});const qe=K({tag:{type:String,default:"div"}},"tag"),PA=K({text:String,...Se(),...qe()},"VToolbarTitle"),tb=te()({name:"VToolbarTitle",props:PA(),setup(e,t){let{slots:n}=t;return oe(()=>{const r=!!(n.default||n.text||e.text);return m(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var i;return[r&&m("div",{class:"v-toolbar-title__placeholder"},[n.text?n.text():e.text,(i=n.default)==null?void 0:i.call(n)])]}})}),{}}}),cK=K({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function ar(e,t,n){return te()({name:e,props:cK({mode:n,origin:t}),setup(r,i){let{slots:a}=i;const s={onBeforeEnter(o){r.origin&&(o.style.transformOrigin=r.origin)},onLeave(o){if(r.leaveAbsolute){const{offsetTop:l,offsetLeft:u,offsetWidth:c,offsetHeight:d}=o;o._transitionInitialStyles={position:o.style.position,top:o.style.top,left:o.style.left,width:o.style.width,height:o.style.height},o.style.position="absolute",o.style.top=`${l}px`,o.style.left=`${u}px`,o.style.width=`${c}px`,o.style.height=`${d}px`}r.hideOnLeave&&o.style.setProperty("display","none","important")},onAfterLeave(o){if(r.leaveAbsolute&&(o==null?void 0:o._transitionInitialStyles)){const{position:l,top:u,left:c,width:d,height:f}=o._transitionInitialStyles;delete o._transitionInitialStyles,o.style.position=l||"",o.style.top=u||"",o.style.left=c||"",o.style.width=d||"",o.style.height=f||""}}};return()=>{const o=r.group?qS:In;return Wt(o,{name:r.disabled?"":e,css:!r.disabled,...r.group?void 0:{mode:r.mode},...r.disabled?{}:s},a.default)}}})}function VA(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return te()({name:e,props:{mode:{type:String,default:n},disabled:Boolean},setup(r,i){let{slots:a}=i;return()=>Wt(In,{name:r.disabled?"":e,css:!r.disabled,...r.disabled?{}:t},a.default)}})}function RA(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",r=br(`offset-${n}`);return{onBeforeEnter(s){s._parent=s.parentNode,s._initialStyle={transition:s.style.transition,overflow:s.style.overflow,[n]:s.style[n]}},onEnter(s){const o=s._initialStyle;s.style.setProperty("transition","none","important"),s.style.overflow="hidden";const l=`${s[r]}px`;s.style[n]="0",s.offsetHeight,s.style.transition=o.transition,e&&s._parent&&s._parent.classList.add(e),requestAnimationFrame(()=>{s.style[n]=l})},onAfterEnter:a,onEnterCancelled:a,onLeave(s){s._initialStyle={transition:"",overflow:s.style.overflow,[n]:s.style[n]},s.style.overflow="hidden",s.style[n]=`${s[r]}px`,s.offsetHeight,requestAnimationFrame(()=>s.style[n]="0")},onAfterLeave:i,onLeaveCancelled:i};function i(s){e&&s._parent&&s._parent.classList.remove(e),a(s)}function a(s){const o=s._initialStyle[n];s.style.overflow=s._initialStyle.overflow,o!=null&&(s.style[n]=o),delete s._initialStyle}}const dK=K({target:Object},"v-dialog-transition"),mh=te()({name:"VDialogTransition",props:dK(),setup(e,t){let{slots:n}=t;const r={onBeforeEnter(i){i.style.pointerEvents="none",i.style.visibility="hidden"},async onEnter(i,a){var f;await new Promise(h=>requestAnimationFrame(h)),await new Promise(h=>requestAnimationFrame(h)),i.style.visibility="";const{x:s,y:o,sx:l,sy:u,speed:c}=g1(e.target,i),d=Ka(i,[{transform:`translate(${s}px, ${o}px) scale(${l}, ${u})`,opacity:0},{}],{duration:225*c,easing:fG});(f=v1(i))==null||f.forEach(h=>{Ka(h,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*c,easing:lu})}),d.finished.then(()=>a())},onAfterEnter(i){i.style.removeProperty("pointer-events")},onBeforeLeave(i){i.style.pointerEvents="none"},async onLeave(i,a){var f;await new Promise(h=>requestAnimationFrame(h));const{x:s,y:o,sx:l,sy:u,speed:c}=g1(e.target,i);Ka(i,[{},{transform:`translate(${s}px, ${o}px) scale(${l}, ${u})`,opacity:0}],{duration:125*c,easing:hG}).finished.then(()=>a()),(f=v1(i))==null||f.forEach(h=>{Ka(h,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*c,easing:lu})})},onAfterLeave(i){i.style.removeProperty("pointer-events")}};return()=>e.target?m(In,ye({name:"dialog-transition"},r,{css:!1}),n):m(In,{name:"dialog-transition"},n)}});function v1(e){var n;const t=(n=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:n.children;return t&&[...t]}function g1(e,t){const n=e.getBoundingClientRect(),r=Gy(t),[i,a]=getComputedStyle(t).transformOrigin.split(" ").map(p=>parseFloat(p)),[s,o]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let l=n.left+n.width/2;s==="left"||o==="left"?l-=n.width/2:(s==="right"||o==="right")&&(l+=n.width/2);let u=n.top+n.height/2;s==="top"||o==="top"?u-=n.height/2:(s==="bottom"||o==="bottom")&&(u+=n.height/2);const c=n.width/r.width,d=n.height/r.height,f=Math.max(1,c,d),h=c/f||0,v=d/f||0,g=r.width*r.height/(window.innerWidth*window.innerHeight),y=g>.12?Math.min(1.5,(g-.12)*10+1):1;return{x:l-(i+r.left),y:u-(a+r.top),sx:h,sy:v,speed:y}}const fK=ar("fab-transition","center center","out-in"),hK=ar("dialog-bottom-transition"),mK=ar("dialog-top-transition"),hg=ar("fade-transition"),nb=ar("scale-transition"),vK=ar("scroll-x-transition"),gK=ar("scroll-x-reverse-transition"),pK=ar("scroll-y-transition"),yK=ar("scroll-y-reverse-transition"),bK=ar("slide-x-transition"),_K=ar("slide-x-reverse-transition"),rb=ar("slide-y-transition"),wK=ar("slide-y-reverse-transition"),vh=VA("expand-transition",RA()),ib=VA("expand-x-transition",RA("",!0)),SK=K({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),dt=te(!1)({name:"VDefaultsProvider",props:SK(),setup(e,t){let{slots:n}=t;const{defaults:r,disabled:i,reset:a,root:s,scoped:o}=qg(e);return Gt(r,{reset:a,root:s,scoped:o,disabled:i}),()=>{var l;return(l=n.default)==null?void 0:l.call(n)}}});const Cr=K({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function xr(e){return{dimensionStyles:_(()=>({height:xe(e.height),maxHeight:xe(e.maxHeight),maxWidth:xe(e.maxWidth),minHeight:xe(e.minHeight),minWidth:xe(e.minWidth),width:xe(e.width)}))}}function CK(e){return{aspectStyles:_(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const OA=K({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...Se(),...Cr()},"VResponsive"),mg=te()({name:"VResponsive",props:OA(),setup(e,t){let{slots:n}=t;const{aspectStyles:r}=CK(e),{dimensionStyles:i}=xr(e);return oe(()=>{var a;return m("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[i.value,e.style]},[m("div",{class:"v-responsive__sizer",style:r.value},null),(a=n.additional)==null?void 0:a.call(n),n.default&&m("div",{class:["v-responsive__content",e.contentClass]},[n.default()])])}),{}}}),$i=K({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),Fr=(e,t)=>{let{slots:n}=t;const{transition:r,disabled:i,...a}=e,{component:s=In,...o}=typeof r=="object"?r:{};return Wt(s,ye(typeof r=="string"?{name:i?"":r}:o,a,{disabled:i}),n)};function xK(e,t){if(!zy)return;const n=t.modifiers||{},r=t.value,{handler:i,options:a}=typeof r=="object"?r:{handler:r,options:{}},s=new IntersectionObserver(function(){var d;let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const u=(d=e._observe)==null?void 0:d[t.instance.$.uid];if(!u)return;const c=o.some(f=>f.isIntersecting);i&&(!n.quiet||u.init)&&(!n.once||c||u.init)&&i(c,o,l),c&&n.once?MA(e,t):u.init=!0},a);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:s},s.observe(e)}function MA(e,t){var r;const n=(r=e._observe)==null?void 0:r[t.instance.$.uid];!n||(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const Lu={mounted:xK,unmounted:MA},DA=K({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...OA(),...Se(),...$i()},"VImg"),ls=te()({name:"VImg",directives:{intersect:Lu},props:DA(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:r}=t;const i=_e(""),a=ve(),s=_e(e.eager?"loading":"idle"),o=_e(),l=_e(),u=_(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),c=_(()=>u.value.aspect||o.value/l.value||0);we(()=>e.src,()=>{d(s.value!=="idle")}),we(c,(I,x)=>{!I&&x&&a.value&&y(a.value)}),hf(()=>d());function d(I){if(!(e.eager&&I)&&!(zy&&!I&&!e.eager)){if(s.value="loading",u.value.lazySrc){const x=new Image;x.src=u.value.lazySrc,y(x,null)}!u.value.src||yt(()=>{var x,$;if(n("loadstart",((x=a.value)==null?void 0:x.currentSrc)||u.value.src),($=a.value)!=null&&$.complete){if(a.value.naturalWidth||h(),s.value==="error")return;c.value||y(a.value,null),f()}else c.value||y(a.value),v()})}}function f(){var I;v(),s.value="loaded",n("load",((I=a.value)==null?void 0:I.currentSrc)||u.value.src)}function h(){var I;s.value="error",n("error",((I=a.value)==null?void 0:I.currentSrc)||u.value.src)}function v(){const I=a.value;I&&(i.value=I.currentSrc||I.src)}let g=-1;function y(I){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const $=()=>{clearTimeout(g);const{naturalHeight:E,naturalWidth:w}=I;E||w?(o.value=w,l.value=E):!I.complete&&s.value==="loading"&&x!=null?g=window.setTimeout($,x):(I.currentSrc.endsWith(".svg")||I.currentSrc.startsWith("data:image/svg+xml"))&&(o.value=1,l.value=1)};$()}const p=_(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),b=()=>{var $;if(!u.value.src||s.value==="idle")return null;const I=m("img",{class:["v-img__img",p.value],src:u.value.src,srcset:u.value.srcset,alt:e.alt,sizes:e.sizes,ref:a,onLoad:f,onError:h},null),x=($=r.sources)==null?void 0:$.call(r);return m(Fr,{transition:e.transition,appear:!0},{default:()=>[Je(x?m("picture",{class:"v-img__picture"},[x,I]):I,[[zr,s.value==="loaded"]])]})},S=()=>m(Fr,{transition:e.transition},{default:()=>[u.value.lazySrc&&s.value!=="loaded"&&m("img",{class:["v-img__img","v-img__img--preload",p.value],src:u.value.lazySrc,alt:e.alt},null)]}),T=()=>r.placeholder?m(Fr,{transition:e.transition,appear:!0},{default:()=>[(s.value==="loading"||s.value==="error"&&!r.error)&&m("div",{class:"v-img__placeholder"},[r.placeholder()])]}):null,V=()=>r.error?m(Fr,{transition:e.transition,appear:!0},{default:()=>[s.value==="error"&&m("div",{class:"v-img__error"},[r.error()])]}):null,O=()=>e.gradient?m("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,N=_e(!1);{const I=we(c,x=>{x&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{N.value=!0})}),I())})}return oe(()=>{const[I]=mg.filterProps(e);return Je(m(mg,ye({class:["v-img",{"v-img--booting":!N.value},e.class],style:[{width:xe(e.width==="auto"?o.value:e.width)},e.style]},I,{aspectRatio:c.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>m(Ee,null,[m(b,null,null),m(S,null,null),m(O,null,null),m(T,null,null),m(V,null,null)]),default:r.default}),[[rr("intersect"),{handler:d,options:e.options},null,{once:!0}]])}),{currentSrc:i,image:a,state:s,naturalWidth:o,naturalHeight:l}}}),sr=K({border:[Boolean,Number,String]},"border");function Er(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Di();return{borderClasses:_(()=>{const r=Ot(e)?e.value:e.border,i=[];if(r===!0||r==="")i.push(`${t}--border`);else if(typeof r=="string"||r===0)for(const a of String(r).split(" "))i.push(`border-${a}`);return i})}}function ab(e){return qy(()=>{const t=[],n={};if(e.value.background)if(t1(e.value.background)){if(n.backgroundColor=e.value.background,!e.value.text){const r=pA(n.backgroundColor);n.color=r,n.caretColor=r}}else t.push(`bg-${e.value.background}`);return e.value.text&&(t1(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function Rn(e,t){const n=_(()=>({text:Ot(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:i}=ab(n);return{textColorClasses:r,textColorStyles:i}}function Ft(e,t){const n=_(()=>({background:Ot(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:i}=ab(n);return{backgroundColorClasses:r,backgroundColorStyles:i}}const Zt=K({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function pn(e){return{elevationClasses:_(()=>{const n=Ot(e)?e.value:e.elevation,r=[];return n==null||r.push(`elevation-${n}`),r})}}const It=K({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Dt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Di();return{roundedClasses:_(()=>{const r=Ot(e)?e.value:e.rounded,i=[];if(r===!0||r==="")i.push(`${t}--rounded`);else if(typeof r=="string"||r===0)for(const a of String(r).split(" "))i.push(`rounded-${a}`);return i})}}const EK=[null,"prominent","default","comfortable","compact"],$A=K({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>EK.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...sr(),...Se(),...Zt(),...It(),...qe({tag:"header"}),...nt()},"VToolbar"),vg=te()({name:"VToolbar",props:$A(),setup(e,t){var h;let{slots:n}=t;const{backgroundColorClasses:r,backgroundColorStyles:i}=Ft(ie(e,"color")),{borderClasses:a}=Er(e),{elevationClasses:s}=pn(e),{roundedClasses:o}=Dt(e),{themeClasses:l}=lt(e),{rtlClasses:u}=dn(),c=_e(!!(e.extended||((h=n.extension)==null?void 0:h.call(n)))),d=_(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),f=_(()=>c.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return Gt({VBtn:{variant:"text"}}),oe(()=>{var p;const v=!!(e.title||n.title),g=!!(n.image||e.image),y=(p=n.extension)==null?void 0:p.call(n);return c.value=!!(e.extended||y),m(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},r.value,a.value,s.value,o.value,l.value,u.value,e.class],style:[i.value,e.style]},{default:()=>[g&&m("div",{key:"image",class:"v-toolbar__image"},[n.image?m(dt,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},n.image):m(ls,{key:"image-img",cover:!0,src:e.image},null)]),m(dt,{defaults:{VTabs:{height:xe(d.value)}}},{default:()=>{var b,S,T;return[m("div",{class:"v-toolbar__content",style:{height:xe(d.value)}},[n.prepend&&m("div",{class:"v-toolbar__prepend"},[(b=n.prepend)==null?void 0:b.call(n)]),v&&m(tb,{key:"title",text:e.title},{text:n.title}),(S=n.default)==null?void 0:S.call(n),n.append&&m("div",{class:"v-toolbar__append"},[(T=n.append)==null?void 0:T.call(n)])])]}}),m(dt,{defaults:{VTabs:{height:xe(f.value)}}},{default:()=>[m(vh,null,{default:()=>[c.value&&m("div",{class:"v-toolbar__extension",style:{height:xe(f.value)}},[y])]})]})]})}),{contentHeight:d,extensionHeight:f}}}),TK=K({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function IK(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:n}=t;let r=0;const i=ve(null),a=_e(0),s=_e(0),o=_e(0),l=_e(!1),u=_e(!1),c=_(()=>Number(e.scrollThreshold)),d=_(()=>Tn((c.value-a.value)/c.value||0)),f=()=>{const h=i.value;!h||n&&!n.value||(r=a.value,a.value="window"in h?h.pageYOffset:h.scrollTop,u.value=a.value{s.value=s.value||a.value}),we(l,()=>{s.value=0}),On(()=>{we(()=>e.scrollTarget,h=>{var g;const v=h?document.querySelector(h):window;if(!v){yi(`Unable to locate element with identifier ${h}`);return}v!==i.value&&((g=i.value)==null||g.removeEventListener("scroll",f),i.value=v,i.value.addEventListener("scroll",f,{passive:!0}))},{immediate:!0})}),Un(()=>{var h;(h=i.value)==null||h.removeEventListener("scroll",f)}),n&&we(n,f,{immediate:!0}),{scrollThreshold:c,currentScroll:a,currentThreshold:o,isScrollActive:l,scrollRatio:d,isScrollingUp:u,savedScroll:s}}function ws(){const e=_e(!1);return On(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:_(()=>e.value?void 0:{transition:"none !important"}),isBooted:vu(e)}}const AK=K({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...$A(),...Vo(),...TK(),height:{type:[Number,String],default:64}},"VAppBar"),kK=te()({name:"VAppBar",props:AK(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=ve(),i=ze(e,"modelValue"),a=_(()=>{var b,S;const p=new Set((S=(b=e.scrollBehavior)==null?void 0:b.split(" "))!=null?S:[]);return{hide:p.has("hide"),inverted:p.has("inverted"),collapse:p.has("collapse"),elevate:p.has("elevate"),fadeImage:p.has("fade-image")}}),s=_(()=>{const p=a.value;return p.hide||p.inverted||p.collapse||p.elevate||p.fadeImage||!i.value}),{currentScroll:o,scrollThreshold:l,isScrollingUp:u,scrollRatio:c}=IK(e,{canScroll:s}),d=_(()=>e.collapse||a.value.collapse&&(a.value.inverted?c.value>0:c.value===0)),f=_(()=>e.flat||a.value.elevate&&(a.value.inverted?o.value>0:o.value===0)),h=_(()=>a.value.fadeImage?a.value.inverted?1-c.value:c.value:void 0),v=_(()=>{var S,T,V,O;if(a.value.hide&&a.value.inverted)return 0;const p=(T=(S=r.value)==null?void 0:S.contentHeight)!=null?T:0,b=(O=(V=r.value)==null?void 0:V.extensionHeight)!=null?O:0;return p+b});da(_(()=>!!e.scrollBehavior),()=>{nr(()=>{a.value.hide?a.value.inverted?i.value=o.value>l.value:i.value=u.value||o.valueparseInt(e.order,10)),position:ie(e,"location"),layoutSize:v,elementSize:_e(void 0),active:i,absolute:ie(e,"absolute")});return oe(()=>{const[p]=vg.filterProps(e);return m(vg,ye({ref:r,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...y.value,"--v-toolbar-image-opacity":h.value,height:void 0,...g.value},e.style]},p,{collapse:d.value,flat:f.value}),n)}),{}}});const PK=[null,"default","comfortable","compact"],en=K({density:{type:String,default:"default",validator:e=>PK.includes(e)}},"density");function Dn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Di();return{densityClasses:_(()=>`${t}--density-${e.density}`)}}const VK=["elevated","flat","tonal","outlined","text","plain"];function Ss(e,t){return m(Ee,null,[e&&m("span",{key:"overlay",class:`${t}__overlay`},null),m("span",{key:"underlay",class:`${t}__underlay`},null)])}const Tr=K({color:String,variant:{type:String,default:"elevated",validator:e=>VK.includes(e)}},"variant");function Cs(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Di();const n=_(()=>{const{variant:a}=Jn(e);return`${t}--variant-${a}`}),{colorClasses:r,colorStyles:i}=ab(_(()=>{const{variant:a,color:s}=Jn(e);return{[["elevated","flat"].includes(a)?"background":"text"]:s}}));return{colorClasses:r,colorStyles:i,variantClasses:n}}const NA=K({divided:Boolean,...sr(),...Se(),...en(),...Zt(),...It(),...qe(),...nt(),...Tr()},"VBtnGroup"),gg=te()({name:"VBtnGroup",props:NA(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=lt(e),{densityClasses:i}=Dn(e),{borderClasses:a}=Er(e),{elevationClasses:s}=pn(e),{roundedClasses:o}=Dt(e);Gt({VBtn:{height:"auto",color:ie(e,"color"),density:ie(e,"density"),flat:!0,variant:ie(e,"variant")}}),oe(()=>m(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},r.value,a.value,i.value,s.value,o.value,e.class],style:e.style},n))}}),Oo=K({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Mo=K({value:null,disabled:Boolean,selectedClass:String},"group-item");function Do(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const r=cn("useGroupItem");if(!r)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const i=Mn();Rt(Symbol.for(`${t.description}:id`),i);const a=ft(t,null);if(!a){if(!n)return a;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const s=ie(e,"value"),o=_(()=>!!(a.disabled.value||e.disabled));a.register({id:i,value:s,disabled:o},r),Un(()=>{a.unregister(i)});const l=_(()=>a.isSelected(i)),u=_(()=>l.value&&[a.selectedClass.value,e.selectedClass]);return we(l,c=>{r.emit("group:selected",{value:c})}),{id:i,isSelected:l,toggle:()=>a.select(i,!l.value),select:c=>a.select(i,c),selectedClass:u,value:s,disabled:o,group:a}}function xs(e,t){let n=!1;const r=Ln([]),i=ze(e,"modelValue",[],f=>f==null?[]:FA(r,yr(f)),f=>{const h=OK(r,f);return e.multiple?h:h[0]}),a=cn("useGroup");function s(f,h){const v=f,g=Symbol.for(`${t.description}:id`),p=Il(g,a==null?void 0:a.vnode).indexOf(h);p>-1?r.splice(p,0,v):r.push(v)}function o(f){if(n)return;l();const h=r.findIndex(v=>v.id===f);r.splice(h,1)}function l(){const f=r.find(h=>!h.disabled);f&&e.mandatory==="force"&&!i.value.length&&(i.value=[f.id])}On(()=>{l()}),Un(()=>{n=!0});function u(f,h){const v=r.find(g=>g.id===f);if(!(h&&(v==null?void 0:v.disabled)))if(e.multiple){const g=i.value.slice(),y=g.findIndex(b=>b===f),p=~y;if(h=h!=null?h:!p,p&&e.mandatory&&g.length<=1||!p&&e.max!=null&&g.length+1>e.max)return;y<0&&h?g.push(f):y>=0&&!h&&g.splice(y,1),i.value=g}else{const g=i.value.includes(f);if(e.mandatory&&g)return;i.value=(h!=null?h:!g)?[f]:[]}}function c(f){if(e.multiple&&yi('This method is not supported when using "multiple" prop'),i.value.length){const h=i.value[0],v=r.findIndex(p=>p.id===h);let g=(v+f)%r.length,y=r[g];for(;y.disabled&&g!==v;)g=(g+f)%r.length,y=r[g];if(y.disabled)return;i.value=[r[g].id]}else{const h=r.find(v=>!v.disabled);h&&(i.value=[h.id])}}const d={register:s,unregister:o,selected:i,select:u,disabled:ie(e,"disabled"),prev:()=>c(r.length-1),next:()=>c(1),isSelected:f=>i.value.includes(f),selectedClass:_(()=>e.selectedClass),items:_(()=>r),getItemIndex:f=>RK(r,f)};return Rt(t,d),d}function RK(e,t){const n=FA(e,[t]);return n.length?e.findIndex(r=>r.id===n[0]):-1}function FA(e,t){const n=[];return t.forEach(r=>{const i=e.find(s=>ys(r,s.value)),a=e[r];(i==null?void 0:i.value)!=null?n.push(i.id):a!=null&&n.push(a.id)}),n}function OK(e,t){const n=[];return t.forEach(r=>{const i=e.findIndex(a=>a.id===r);if(~i){const a=e[i];n.push(a.value!=null?a.value:i)}}),n}const sb=Symbol.for("vuetify:v-btn-toggle"),MK=K({...NA(),...Oo()},"VBtnToggle"),DK=te()({name:"VBtnToggle",props:MK(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:r,next:i,prev:a,select:s,selected:o}=xs(e,sb);return oe(()=>{const[l]=gg.filterProps(e);return m(gg,ye({class:["v-btn-toggle",e.class]},l,{style:e.style}),{default:()=>{var u;return[(u=n.default)==null?void 0:u.call(n,{isSelected:r,next:i,prev:a,select:s,selected:o})]}})}),{next:i,prev:a,select:s}}});const $K=["x-small","small","default","large","x-large"],Ni=K({size:{type:[String,Number],default:"default"}},"size");function $o(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Di();return qy(()=>{let n,r;return Gd($K,e.size)?n=`${t}--size-${e.size}`:e.size&&(r={width:xe(e.size),height:xe(e.size)}),{sizeClasses:n,sizeStyles:r}})}const NK=K({color:String,start:Boolean,end:Boolean,icon:Le,...Se(),...Ni(),...qe({tag:"i"}),...nt()},"VIcon"),vt=te()({name:"VIcon",props:NK(),setup(e,t){let{attrs:n,slots:r}=t;const i=ve(),{themeClasses:a}=lt(e),{iconData:s}=IG(_(()=>i.value||e.icon)),{sizeClasses:o}=$o(e),{textColorClasses:l,textColorStyles:u}=Rn(ie(e,"color"));return oe(()=>{var d,f;const c=(d=r.default)==null?void 0:d.call(r);return c&&(i.value=(f=rA(c).filter(h=>h.type===mf&&h.children&&typeof h.children=="string")[0])==null?void 0:f.children),m(s.value.component,{tag:e.tag,icon:s.value.icon,class:["v-icon","notranslate",a.value,o.value,l.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[o.value?void 0:{fontSize:xe(e.size),height:xe(e.size),width:xe(e.size)},u.value,e.style],role:n.onClick?"button":void 0,"aria-hidden":!n.onClick},{default:()=>[c]})}),{}}});function ob(e,t){const n=ve(),r=_e(!1);if(zy){const i=new IntersectionObserver(a=>{e==null||e(a,i),r.value=!!a.find(s=>s.isIntersecting)},t);Un(()=>{i.disconnect()}),we(n,(a,s)=>{s&&(i.unobserve(s),r.value=!1),a&&i.observe(a)},{flush:"post"})}return{intersectionRef:n,isIntersecting:r}}const FK=K({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...Se(),...Ni(),...qe({tag:"div"}),...nt()},"VProgressCircular"),lb=te()({name:"VProgressCircular",props:FK(),setup(e,t){let{slots:n}=t;const r=20,i=2*Math.PI*r,a=ve(),{themeClasses:s}=lt(e),{sizeClasses:o,sizeStyles:l}=$o(e),{textColorClasses:u,textColorStyles:c}=Rn(ie(e,"color")),{textColorClasses:d,textColorStyles:f}=Rn(ie(e,"bgColor")),{intersectionRef:h,isIntersecting:v}=ob(),{resizeRef:g,contentRect:y}=si(),p=_(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),b=_(()=>Number(e.width)),S=_(()=>l.value?Number(e.size):y.value?y.value.width:Math.max(b.value,32)),T=_(()=>r/(1-b.value/S.value)*2),V=_(()=>b.value/S.value*T.value),O=_(()=>xe((100-p.value)/100*i));return nr(()=>{h.value=a.value,g.value=a.value}),oe(()=>m(e.tag,{ref:a,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":v.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},s.value,o.value,u.value,e.class],style:[l.value,c.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:p.value},{default:()=>[m("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${T.value} ${T.value}`},[m("circle",{class:["v-progress-circular__underlay",d.value],style:f.value,fill:"transparent",cx:"50%",cy:"50%",r,"stroke-width":V.value,"stroke-dasharray":i,"stroke-dashoffset":0},null),m("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r,"stroke-width":V.value,"stroke-dasharray":i,"stroke-dashoffset":O.value},null)]),n.default&&m("div",{class:"v-progress-circular__content"},[n.default({value:p.value})])]})),{}}});const p1={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},ga=K({location:String},"location");function pa(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:r}=dn();return{locationStyles:_(()=>{if(!e.location)return{};const{side:a,align:s}=ig(e.location.split(" ").length>1?e.location:`${e.location} center`,r.value);function o(u){return n?n(u):0}const l={};return a!=="center"&&(t?l[p1[a]]=`calc(100% - ${o(a)}px)`:l[a]=0),s!=="center"?t?l[p1[s]]=`calc(100% - ${o(s)}px)`:l[s]=0:(a==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[a]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[a]),l})}}const LK=K({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...Se(),...ga({location:"top"}),...It(),...qe(),...nt()},"VProgressLinear"),ub=te()({name:"VProgressLinear",props:LK(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=ze(e,"modelValue"),{isRtl:i,rtlClasses:a}=dn(),{themeClasses:s}=lt(e),{locationStyles:o}=pa(e),{textColorClasses:l,textColorStyles:u}=Rn(e,"color"),{backgroundColorClasses:c,backgroundColorStyles:d}=Ft(_(()=>e.bgColor||e.color)),{backgroundColorClasses:f,backgroundColorStyles:h}=Ft(e,"color"),{roundedClasses:v}=Dt(e),{intersectionRef:g,isIntersecting:y}=ob(),p=_(()=>parseInt(e.max,10)),b=_(()=>parseInt(e.height,10)),S=_(()=>parseFloat(e.bufferValue)/p.value*100),T=_(()=>parseFloat(r.value)/p.value*100),V=_(()=>i.value!==e.reverse),O=_(()=>e.indeterminate?"fade-transition":"slide-x-transition"),N=_(()=>e.bgOpacity==null?e.bgOpacity:parseFloat(e.bgOpacity));function I(x){if(!g.value)return;const{left:$,right:E,width:w}=g.value.getBoundingClientRect(),A=V.value?w-x.clientX+(E-w):x.clientX-$;r.value=Math.round(A/w*p.value)}return oe(()=>m(e.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&y.value,"v-progress-linear--reverse":V.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},v.value,s.value,a.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?xe(b.value):0,"--v-progress-linear-height":xe(b.value),...o.value},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:T.value,onClick:e.clickable&&I},{default:()=>[e.stream&&m("div",{key:"stream",class:["v-progress-linear__stream",l.value],style:{...u.value,[V.value?"left":"right"]:xe(-b.value),borderTop:`${xe(b.value/2)} dotted`,opacity:N.value,top:`calc(50% - ${xe(b.value/4)})`,width:xe(100-S.value,"%"),"--v-progress-linear-stream-to":xe(b.value*(V.value?1:-1))}},null),m("div",{class:["v-progress-linear__background",c.value],style:[d.value,{opacity:N.value,width:xe(e.stream?S.value:100,"%")}]},null),m(In,{name:O.value},{default:()=>[e.indeterminate?m("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(x=>m("div",{key:x,class:["v-progress-linear__indeterminate",x,f.value],style:h.value},null))]):m("div",{class:["v-progress-linear__determinate",f.value],style:[h.value,{width:xe(T.value,"%")}]},null)]}),n.default&&m("div",{class:"v-progress-linear__content"},[n.default({value:T.value,buffer:S.value})])]})),{}}}),cb=K({loading:[Boolean,String]},"loader");function gh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Di();return{loaderClasses:_(()=>({[`${t}--loading`]:e.loading}))}}function db(e,t){var r;let{slots:n}=t;return m("div",{class:`${e.name}__loader`},[((r=n.default)==null?void 0:r.call(n,{color:e.color,isActive:e.active}))||m(ub,{active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const BK=["static","relative","fixed","absolute","sticky"],No=K({position:{type:String,validator:e=>BK.includes(e)}},"position");function Fo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Di();return{positionClasses:_(()=>e.position?`${t}--${e.position}`:void 0)}}function LA(){var e,t;return(t=(e=cn("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function Bu(e,t){const n=wS("RouterLink"),r=_(()=>!!(e.href||e.to)),i=_(()=>(r==null?void 0:r.value)||zw(t,"click")||zw(e,"click"));if(typeof n=="string")return{isLink:r,isClickable:i,href:ie(e,"href")};const a=e.to?n.useLink(e):void 0;return{isLink:r,isClickable:i,route:a==null?void 0:a.route,navigate:a==null?void 0:a.navigate,isActive:a&&_(()=>{var s,o;return e.exact?(s=a.isExactActive)==null?void 0:s.value:(o=a.isActive)==null?void 0:o.value}),href:_(()=>e.to?a==null?void 0:a.route.value.href:e.href)}}const ju=K({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let Am=!1;function jK(e,t){let n=!1,r,i;_t&&(yt(()=>{window.addEventListener("popstate",a),r=e==null?void 0:e.beforeEach((s,o,l)=>{Am?n?t(l):l():setTimeout(()=>n?t(l):l()),Am=!0}),i=e==null?void 0:e.afterEach(()=>{Am=!1})}),Kn(()=>{window.removeEventListener("popstate",a),r==null||r(),i==null||i()}));function a(s){var o;(o=s.state)!=null&&o.replaced||(n=!0,setTimeout(()=>n=!1))}}function UK(e,t){we(()=>{var n;return(n=e.isActive)==null?void 0:n.value},n=>{e.isLink.value&&n&&t&&yt(()=>{t(!0)})},{immediate:!0})}const pg=Symbol("rippleStop"),zK=80;function y1(e,t){e.style.transform=t,e.style.webkitTransform=t}function yg(e){return e.constructor.name==="TouchEvent"}function BA(e){return e.constructor.name==="KeyboardEvent"}const HK=function(e,t){var d;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=0,i=0;if(!BA(e)){const f=t.getBoundingClientRect(),h=yg(e)?e.touches[e.touches.length-1]:e;r=h.clientX-f.left,i=h.clientY-f.top}let a=0,s=.3;(d=t._ripple)!=null&&d.circle?(s=.15,a=t.clientWidth/2,a=n.center?a:a+Math.sqrt((r-a)**2+(i-a)**2)/4):a=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const o=`${(t.clientWidth-a*2)/2}px`,l=`${(t.clientHeight-a*2)/2}px`,u=n.center?o:`${r-a}px`,c=n.center?l:`${i-a}px`;return{radius:a,scale:s,x:u,y:c,centerX:o,centerY:l}},Jd={show(e,t){var h;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((h=t==null?void 0:t._ripple)!=null&&h.enabled))return;const r=document.createElement("span"),i=document.createElement("span");r.appendChild(i),r.className="v-ripple__container",n.class&&(r.className+=` ${n.class}`);const{radius:a,scale:s,x:o,y:l,centerX:u,centerY:c}=HK(e,t,n),d=`${a*2}px`;i.className="v-ripple__animation",i.style.width=d,i.style.height=d,t.appendChild(r);const f=window.getComputedStyle(t);f&&f.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),y1(i,`translate(${o}, ${l}) scale3d(${s},${s},${s})`),i.dataset.activated=String(performance.now()),setTimeout(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),y1(i,`translate(${u}, ${c}) scale3d(1,1,1)`)},0)},hide(e){var a;if(!((a=e==null?void 0:e._ripple)!=null&&a.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const r=performance.now()-Number(n.dataset.activated),i=Math.max(250-r,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var o;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((o=n.parentNode)==null?void 0:o.parentNode)===e&&e.removeChild(n.parentNode)},300)},i)}};function jA(e){return typeof e>"u"||!!e}function cu(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[pg])){if(e[pg]=!0,yg(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||BA(e),n._ripple.class&&(t.class=n._ripple.class),yg(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Jd.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var r;(r=n==null?void 0:n._ripple)!=null&&r.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},zK)}else Jd.show(e,n,t)}}function b1(e){e[pg]=!0}function Qn(e){const t=e.currentTarget;if(!!(t!=null&&t._ripple)){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{Qn(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),Jd.hide(t)}}function UA(e){const t=e.currentTarget;!(t!=null&&t._ripple)||(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let du=!1;function zA(e){!du&&(e.keyCode===Lw.enter||e.keyCode===Lw.space)&&(du=!0,cu(e))}function HA(e){du=!1,Qn(e)}function qA(e){du&&(du=!1,Qn(e))}function WA(e,t,n){var s;const{value:r,modifiers:i}=t,a=jA(r);if(a||Jd.hide(e),e._ripple=(s=e._ripple)!=null?s:{},e._ripple.enabled=a,e._ripple.centered=i.center,e._ripple.circle=i.circle,tg(r)&&r.class&&(e._ripple.class=r.class),a&&!n){if(i.stop){e.addEventListener("touchstart",b1,{passive:!0}),e.addEventListener("mousedown",b1);return}e.addEventListener("touchstart",cu,{passive:!0}),e.addEventListener("touchend",Qn,{passive:!0}),e.addEventListener("touchmove",UA,{passive:!0}),e.addEventListener("touchcancel",Qn),e.addEventListener("mousedown",cu),e.addEventListener("mouseup",Qn),e.addEventListener("mouseleave",Qn),e.addEventListener("keydown",zA),e.addEventListener("keyup",HA),e.addEventListener("blur",qA),e.addEventListener("dragstart",Qn,{passive:!0})}else!a&&n&&GA(e)}function GA(e){e.removeEventListener("mousedown",cu),e.removeEventListener("touchstart",cu),e.removeEventListener("touchend",Qn),e.removeEventListener("touchmove",UA),e.removeEventListener("touchcancel",Qn),e.removeEventListener("mouseup",Qn),e.removeEventListener("mouseleave",Qn),e.removeEventListener("keydown",zA),e.removeEventListener("keyup",HA),e.removeEventListener("dragstart",Qn),e.removeEventListener("blur",qA)}function qK(e,t){WA(e,t,!1)}function WK(e){delete e._ripple,GA(e)}function GK(e,t){if(t.value===t.oldValue)return;const n=jA(t.oldValue);WA(e,t,n)}const ya={mounted:qK,unmounted:WK,updated:GK},fb=K({active:{type:Boolean,default:void 0},symbol:{type:null,default:sb},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:Le,appendIcon:Le,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...sr(),...Se(),...en(),...Cr(),...Zt(),...Mo(),...cb(),...ga(),...No(),...It(),...ju(),...Ni(),...qe({tag:"button"}),...nt(),...Tr({variant:"elevated"})},"VBtn"),Bn=te()({name:"VBtn",directives:{Ripple:ya},props:fb(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:i}=lt(e),{borderClasses:a}=Er(e),{colorClasses:s,colorStyles:o,variantClasses:l}=Cs(e),{densityClasses:u}=Dn(e),{dimensionStyles:c}=xr(e),{elevationClasses:d}=pn(e),{loaderClasses:f}=gh(e),{locationStyles:h}=pa(e),{positionClasses:v}=Fo(e),{roundedClasses:g}=Dt(e),{sizeClasses:y,sizeStyles:p}=$o(e),b=Do(e,e.symbol,!1),S=Bu(e,n),T=_(()=>{var x;return e.active!==void 0?e.active:S.isLink.value?(x=S.isActive)==null?void 0:x.value:b==null?void 0:b.isSelected.value}),V=_(()=>(b==null?void 0:b.disabled.value)||e.disabled),O=_(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),N=_(()=>{if(e.value!==void 0)return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function I(x){var $;V.value||S.isLink.value&&(x.metaKey||x.ctrlKey||x.shiftKey||x.button!==0||n.target==="_blank")||(($=S.navigate)==null||$.call(S,x),b==null||b.toggle())}return UK(S,b==null?void 0:b.select),oe(()=>{var M,J;const x=S.isLink.value?"a":e.tag,$=!!(e.prependIcon||r.prepend),E=!!(e.appendIcon||r.append),w=!!(e.icon&&e.icon!==!0),A=(b==null?void 0:b.isSelected.value)&&(!S.isLink.value||((M=S.isActive)==null?void 0:M.value))||!b||((J=S.isActive)==null?void 0:J.value);return Je(m(x,{type:x==="a"?void 0:"button",class:["v-btn",b==null?void 0:b.selectedClass.value,{"v-btn--active":T.value,"v-btn--block":e.block,"v-btn--disabled":V.value,"v-btn--elevated":O.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--stacked":e.stacked},i.value,a.value,A?s.value:void 0,u.value,d.value,f.value,v.value,g.value,y.value,l.value,e.class],style:[A?o.value:void 0,c.value,h.value,p.value,e.style],disabled:V.value||void 0,href:S.href.value,onClick:I,value:N.value},{default:()=>{var G,j;return[Ss(!0,"v-btn"),!e.icon&&$&&m("span",{key:"prepend",class:"v-btn__prepend"},[r.prepend?m(dt,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},r.prepend):m(vt,{key:"prepend-icon",icon:e.prependIcon},null)]),m("span",{class:"v-btn__content","data-no-activator":""},[!r.default&&w?m(vt,{key:"content-icon",icon:e.icon},null):m(dt,{key:"content-defaults",disabled:!w,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var B,Q;return[(Q=(B=r.default)==null?void 0:B.call(r))!=null?Q:e.text]}})]),!e.icon&&E&&m("span",{key:"append",class:"v-btn__append"},[r.append?m(dt,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},r.append):m(vt,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&m("span",{key:"loader",class:"v-btn__loader"},[(j=(G=r.loader)==null?void 0:G.call(r))!=null?j:m(lb,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[rr("ripple"),!V.value&&e.ripple,null]])}),{}}}),KK=K({...fb({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),YK=te()({name:"VAppBarNavIcon",props:KK(),setup(e,t){let{slots:n}=t;return oe(()=>m(Bn,ye(e,{class:["v-app-bar-nav-icon"]}),n)),{}}}),XK=te()({name:"VAppBarTitle",props:PA(),setup(e,t){let{slots:n}=t;return oe(()=>m(tb,ye(e,{class:"v-app-bar-title"}),n)),{}}});const KA=Hr("v-alert-title"),QK=["success","info","warning","error"],JK=K({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:Le,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>QK.includes(e)},...Se(),...en(),...Cr(),...Zt(),...ga(),...No(),...It(),...qe(),...nt(),...Tr({variant:"flat"})},"VAlert"),ZK=te()({name:"VAlert",props:JK(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{emit:n,slots:r}=t;const i=ze(e,"modelValue"),a=_(()=>{var V;if(e.icon!==!1)return e.type?(V=e.icon)!=null?V:`$${e.type}`:e.icon}),s=_(()=>{var V;return{color:(V=e.color)!=null?V:e.type,variant:e.variant}}),{themeClasses:o}=lt(e),{colorClasses:l,colorStyles:u,variantClasses:c}=Cs(s),{densityClasses:d}=Dn(e),{dimensionStyles:f}=xr(e),{elevationClasses:h}=pn(e),{locationStyles:v}=pa(e),{positionClasses:g}=Fo(e),{roundedClasses:y}=Dt(e),{textColorClasses:p,textColorStyles:b}=Rn(ie(e,"borderColor")),{t:S}=Sr(),T=_(()=>({"aria-label":S(e.closeLabel),onClick(V){i.value=!1,n("click:close",V)}}));return()=>{const V=!!(r.prepend||a.value),O=!!(r.title||e.title),N=!!(r.close||e.closable);return i.value&&m(e.tag,{class:["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},o.value,l.value,d.value,h.value,g.value,y.value,c.value,e.class],style:[u.value,f.value,v.value,e.style],role:"alert"},{default:()=>{var I,x,$;return[Ss(!1,"v-alert"),e.border&&m("div",{key:"border",class:["v-alert__border",p.value],style:b.value},null),V&&m("div",{key:"prepend",class:"v-alert__prepend"},[r.prepend?m(dt,{key:"prepend-defaults",disabled:!a.value,defaults:{VIcon:{density:e.density,icon:a.value,size:e.prominent?44:28}}},r.prepend):m(vt,{key:"prepend-icon",density:e.density,icon:a.value,size:e.prominent?44:28},null)]),m("div",{class:"v-alert__content"},[O&&m(KA,{key:"title"},{default:()=>{var E,w;return[(w=(E=r.title)==null?void 0:E.call(r))!=null?w:e.title]}}),(x=(I=r.text)==null?void 0:I.call(r))!=null?x:e.text,($=r.default)==null?void 0:$.call(r)]),r.append&&m("div",{key:"append",class:"v-alert__append"},[r.append()]),N&&m("div",{key:"close",class:"v-alert__close"},[r.close?m(dt,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var E;return[(E=r.close)==null?void 0:E.call(r,{props:T.value})]}}):m(Bn,ye({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},T.value),null)])]}})}}});const eY=K({text:String,clickable:Boolean,...Se(),...nt()},"VLabel"),Lo=te()({name:"VLabel",props:eY(),setup(e,t){let{slots:n}=t;return oe(()=>{var r;return m("label",{class:["v-label",{"v-label--clickable":e.clickable},e.class],style:e.style},[e.text,(r=n.default)==null?void 0:r.call(n)])}),{}}});const YA=Symbol.for("vuetify:selection-control-group"),hb=K({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:Le,trueIcon:Le,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:ys},...Se(),...en(),...nt()},"SelectionControlGroup"),tY=K({...hb({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),XA=te()({name:"VSelectionControlGroup",props:tY(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=ze(e,"modelValue"),i=Mn(),a=_(()=>e.id||`v-selection-control-group-${i}`),s=_(()=>e.name||a.value),o=new Set;return Rt(YA,{modelValue:r,forceUpdate:()=>{o.forEach(l=>l())},onForceUpdate:l=>{o.add(l),Kn(()=>{o.delete(l)})}}),Gt({[e.defaultsTarget]:{color:ie(e,"color"),disabled:ie(e,"disabled"),density:ie(e,"density"),error:ie(e,"error"),inline:ie(e,"inline"),modelValue:r,multiple:_(()=>!!e.multiple||e.multiple==null&&Array.isArray(r.value)),name:s,falseIcon:ie(e,"falseIcon"),trueIcon:ie(e,"trueIcon"),readonly:ie(e,"readonly"),ripple:ie(e,"ripple"),type:ie(e,"type"),valueComparator:ie(e,"valueComparator")}}),oe(()=>{var l;return m("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:e.type==="radio"?"radiogroup":void 0},[(l=n.default)==null?void 0:l.call(n)])}),{}}}),ph=K({label:String,trueValue:null,falseValue:null,value:null,...Se(),...hb()},"VSelectionControl");function nY(e){const t=ft(YA,void 0),{densityClasses:n}=Dn(e),r=ze(e,"modelValue"),i=_(()=>e.trueValue!==void 0?e.trueValue:e.value!==void 0?e.value:!0),a=_(()=>e.falseValue!==void 0?e.falseValue:!1),s=_(()=>!!e.multiple||e.multiple==null&&Array.isArray(r.value)),o=_({get(){const h=t?t.modelValue.value:r.value;return s.value?h.some(v=>e.valueComparator(v,i.value)):e.valueComparator(h,i.value)},set(h){if(e.readonly)return;const v=h?i.value:a.value;let g=v;s.value&&(g=h?[...yr(r.value),v]:yr(r.value).filter(y=>!e.valueComparator(y,i.value))),t?t.modelValue.value=g:r.value=g}}),{textColorClasses:l,textColorStyles:u}=Rn(_(()=>o.value&&!e.error&&!e.disabled?e.color:void 0)),{backgroundColorClasses:c,backgroundColorStyles:d}=Ft(_(()=>o.value&&!e.error&&!e.disabled?e.color:void 0)),f=_(()=>o.value?e.trueIcon:e.falseIcon);return{group:t,densityClasses:n,trueValue:i,falseValue:a,model:o,textColorClasses:l,textColorStyles:u,backgroundColorClasses:c,backgroundColorStyles:d,icon:f}}const us=te()({name:"VSelectionControl",directives:{Ripple:ya},inheritAttrs:!1,props:ph(),emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{group:i,densityClasses:a,icon:s,model:o,textColorClasses:l,textColorStyles:u,backgroundColorClasses:c,backgroundColorStyles:d,trueValue:f}=nY(e),h=Mn(),v=_(()=>e.id||`input-${h}`),g=_e(!1),y=_e(!1),p=ve();i==null||i.onForceUpdate(()=>{p.value&&(p.value.checked=o.value)});function b(V){g.value=!0,go(V.target,":focus-visible")!==!1&&(y.value=!0)}function S(){g.value=!1,y.value=!1}function T(V){e.readonly&&i&&yt(()=>i.forceUpdate()),o.value=V.target.checked}return oe(()=>{var x,$,E;const V=r.label?r.label({label:e.label,props:{for:v.value}}):e.label,[O,N]=bs(n),I=m("input",ye({ref:p,checked:o.value,disabled:!!(e.readonly||e.disabled),id:v.value,onBlur:S,onFocus:b,onInput:T,"aria-disabled":!!(e.readonly||e.disabled),type:e.type,value:f.value,name:e.name,"aria-checked":e.type==="checkbox"?o.value:void 0},N),null);return m("div",ye({class:["v-selection-control",{"v-selection-control--dirty":o.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":g.value,"v-selection-control--focus-visible":y.value,"v-selection-control--inline":e.inline},a.value,e.class]},O,{style:e.style}),[m("div",{class:["v-selection-control__wrapper",l.value],style:u.value},[(x=r.default)==null?void 0:x.call(r,{backgroundColorClasses:c,backgroundColorStyles:d}),Je(m("div",{class:["v-selection-control__input"]},[(E=($=r.input)==null?void 0:$.call(r,{model:o,textColorClasses:l,textColorStyles:u,backgroundColorClasses:c,backgroundColorStyles:d,inputNode:I,icon:s.value,props:{onFocus:b,onBlur:S,id:v.value}}))!=null?E:m(Ee,null,[s.value&&m(vt,{key:"icon",icon:s.value},null),I])]),[[rr("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),V&&m(Lo,{for:v.value,clickable:!0,onClick:w=>w.stopPropagation()},{default:()=>[V]})])}),{isFocused:g,input:p}}}),QA=K({indeterminate:Boolean,indeterminateIcon:{type:Le,default:"$checkboxIndeterminate"},...ph({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),bo=te()({name:"VCheckboxBtn",props:QA(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,t){let{slots:n}=t;const r=ze(e,"indeterminate"),i=ze(e,"modelValue");function a(l){r.value&&(r.value=!1)}const s=_(()=>r.value?e.indeterminateIcon:e.falseIcon),o=_(()=>r.value?e.indeterminateIcon:e.trueIcon);return oe(()=>{const l=_r(us.filterProps(e)[0],["modelValue"]);return m(us,ye(l,{modelValue:i.value,"onUpdate:modelValue":[u=>i.value=u,a],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:s.value,trueIcon:o.value,"aria-checked":r.value?"mixed":void 0}),n)}),{}}});function JA(e){const{t}=Sr();function n(r){var l;let{name:i}=r;const a={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[i],s=e[`onClick:${i}`],o=s&&a?t(`$vuetify.input.${a}`,(l=e.label)!=null?l:""):void 0;return m(vt,{icon:e[`${i}Icon`],"aria-label":o,onClick:s},null)}return{InputIcon:n}}const rY=K({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...Se(),...$i({transition:{component:rb,leaveAbsolute:!0,group:!0}})},"VMessages"),ZA=te()({name:"VMessages",props:rY(),setup(e,t){let{slots:n}=t;const r=_(()=>yr(e.messages)),{textColorClasses:i,textColorStyles:a}=Rn(_(()=>e.color));return oe(()=>m(Fr,{transition:e.transition,tag:"div",class:["v-messages",i.value,e.class],style:[a.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&r.value.map((s,o)=>m("div",{class:"v-messages__message",key:`${o}-${r.value}`},[n.message?n.message({message:s}):s]))]})),{}}}),yh=K({focused:Boolean,"onUpdate:focused":ni()},"focus");function ba(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Di();const n=ze(e,"focused"),r=_(()=>({[`${t}--focused`]:n.value}));function i(){n.value=!0}function a(){n.value=!1}return{focusClasses:r,isFocused:n,focus:i,blur:a}}const e2=Symbol.for("vuetify:form"),iY=K({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function aY(e){const t=ze(e,"modelValue"),n=_(()=>e.disabled),r=_(()=>e.readonly),i=_e(!1),a=ve([]),s=ve([]);async function o(){const c=[];let d=!0;s.value=[],i.value=!0;for(const f of a.value){const h=await f.validate();if(h.length>0&&(d=!1,c.push({id:f.id,errorMessages:h})),!d&&e.fastFail)break}return s.value=c,i.value=!1,{valid:d,errors:s.value}}function l(){a.value.forEach(c=>c.reset())}function u(){a.value.forEach(c=>c.resetValidation())}return we(a,()=>{let c=0,d=0;const f=[];for(const h of a.value)h.isValid===!1?(d++,f.push({id:h.id,errorMessages:h.errorMessages})):h.isValid===!0&&c++;s.value=f,t.value=d>0?!1:c===a.value.length?!0:null},{deep:!0}),Rt(e2,{register:c=>{let{id:d,validate:f,reset:h,resetValidation:v}=c;a.value.some(g=>g.id===d)&&yi(`Duplicate input name "${d}"`),a.value.push({id:d,validate:f,reset:h,resetValidation:v,isValid:null,errorMessages:[]})},unregister:c=>{a.value=a.value.filter(d=>d.id!==c)},update:(c,d,f)=>{const h=a.value.find(v=>v.id===c);!h||(h.isValid=d,h.errorMessages=f)},isDisabled:n,isReadonly:r,isValidating:i,isValid:t,items:a,validateOn:ie(e,"validateOn")}),{errors:s,isDisabled:n,isReadonly:r,isValidating:i,isValid:t,items:a,validate:o,reset:l,resetValidation:u}}function bh(){return ft(e2,null)}const t2=K({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...yh()},"validation");function n2(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Di(),n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Mn();const r=ze(e,"modelValue"),i=_(()=>e.validationValue===void 0?r.value:e.validationValue),a=bh(),s=ve([]),o=_e(!0),l=_(()=>!!(yr(r.value===""?null:r.value).length||yr(i.value===""?null:i.value).length)),u=_(()=>{var T;return!!((T=e.disabled)!=null?T:a==null?void 0:a.isDisabled.value)}),c=_(()=>{var T;return!!((T=e.readonly)!=null?T:a==null?void 0:a.isReadonly.value)}),d=_(()=>e.errorMessages.length?yr(e.errorMessages).slice(0,Math.max(0,+e.maxErrors)):s.value),f=_(()=>{var O,N;let T=((O=e.validateOn)!=null?O:a==null?void 0:a.validateOn.value)||"input";T==="lazy"&&(T="input lazy");const V=new Set((N=T==null?void 0:T.split(" "))!=null?N:[]);return{blur:V.has("blur")||V.has("input"),input:V.has("input"),submit:V.has("submit"),lazy:V.has("lazy")}}),h=_(()=>e.error||e.errorMessages.length?!1:e.rules.length?o.value?s.value.length||f.value.lazy?null:!0:!s.value.length:!0),v=_e(!1),g=_(()=>({[`${t}--error`]:h.value===!1,[`${t}--dirty`]:l.value,[`${t}--disabled`]:u.value,[`${t}--readonly`]:c.value})),y=_(()=>{var T;return(T=e.name)!=null?T:Jn(n)});hf(()=>{a==null||a.register({id:y.value,validate:S,reset:p,resetValidation:b})}),Un(()=>{a==null||a.unregister(y.value)}),On(async()=>{f.value.lazy||await S(!0),a==null||a.update(y.value,h.value,d.value)}),da(()=>f.value.input,()=>{we(i,()=>{if(i.value!=null)S();else if(e.focused){const T=we(()=>e.focused,V=>{V||S(),T()})}})}),da(()=>f.value.blur,()=>{we(()=>e.focused,T=>{T||S()})}),we(h,()=>{a==null||a.update(y.value,h.value,d.value)});function p(){r.value=null,yt(b)}function b(){o.value=!0,f.value.lazy?s.value=[]:S(!0)}async function S(){var O;let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const V=[];v.value=!0;for(const N of e.rules){if(V.length>=+((O=e.maxErrors)!=null?O:1))break;const x=await(typeof N=="function"?N:()=>N)(i.value);if(x!==!0){if(x!==!1&&typeof x!="string"){console.warn(`${x} is not a valid value. Rule functions must return boolean true or a string.`);continue}V.push(x||"")}}return s.value=V,v.value=!1,o.value=T,s.value}return{errorMessages:d,isDirty:l,isDisabled:u,isReadonly:c,isPristine:o,isValid:h,isValidating:v,reset:p,resetValidation:b,validate:S,validationClasses:g}}const Fi=K({id:String,appendIcon:Le,centerAffix:{type:Boolean,default:!0},prependIcon:Le,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":ni(),"onClick:append":ni(),...Se(),...en(),...t2()},"VInput"),gn=te()({name:"VInput",props:{...Fi()},emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:r,emit:i}=t;const{densityClasses:a}=Dn(e),{rtlClasses:s}=dn(),{InputIcon:o}=JA(e),l=Mn(),u=_(()=>e.id||`input-${l}`),c=_(()=>`${u.value}-messages`),{errorMessages:d,isDirty:f,isDisabled:h,isReadonly:v,isPristine:g,isValid:y,isValidating:p,reset:b,resetValidation:S,validate:T,validationClasses:V}=n2(e,"v-input",u),O=_(()=>({id:u,messagesId:c,isDirty:f,isDisabled:h,isReadonly:v,isPristine:g,isValid:y,isValidating:p,reset:b,resetValidation:S,validate:T})),N=_(()=>{var I;return((I=e.errorMessages)==null?void 0:I.length)||!g.value&&d.value.length?d.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return oe(()=>{var w,A,M,J;const I=!!(r.prepend||e.prependIcon),x=!!(r.append||e.appendIcon),$=N.value.length>0,E=!e.hideDetails||e.hideDetails==="auto"&&($||!!r.details);return m("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix},a.value,s.value,V.value,e.class],style:e.style},[I&&m("div",{key:"prepend",class:"v-input__prepend"},[(w=r.prepend)==null?void 0:w.call(r,O.value),e.prependIcon&&m(o,{key:"prepend-icon",name:"prepend"},null)]),r.default&&m("div",{class:"v-input__control"},[(A=r.default)==null?void 0:A.call(r,O.value)]),x&&m("div",{key:"append",class:"v-input__append"},[e.appendIcon&&m(o,{key:"append-icon",name:"append"},null),(M=r.append)==null?void 0:M.call(r,O.value)]),E&&m("div",{class:"v-input__details"},[m(ZA,{id:c.value,active:$,messages:N.value},{message:r.message}),(J=r.details)==null?void 0:J.call(r,O.value)])])}),{reset:b,resetValidation:S,validate:T}}}),sY=K({...Fi(),..._r(QA(),["inline"])},"VCheckbox"),oY=te()({name:"VCheckbox",inheritAttrs:!1,props:sY(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const i=ze(e,"modelValue"),{isFocused:a,focus:s,blur:o}=ba(e),l=Mn(),u=_(()=>e.id||`checkbox-${l}`);return oe(()=>{const[c,d]=bs(n),[f,h]=gn.filterProps(e),[v,g]=bo.filterProps(e);return m(gn,ye({class:["v-checkbox",e.class]},c,f,{modelValue:i.value,"onUpdate:modelValue":y=>i.value=y,id:u.value,focused:a.value,style:e.style}),{...r,default:y=>{let{id:p,messagesId:b,isDisabled:S,isReadonly:T}=y;return m(bo,ye(v,{id:p.value,"aria-describedby":b.value,disabled:S.value,readonly:T.value},d,{modelValue:i.value,"onUpdate:modelValue":V=>i.value=V,onFocus:s,onBlur:o}),r)}})}),{}}});const lY=K({start:Boolean,end:Boolean,icon:Le,image:String,...Se(),...en(),...It(),...Ni(),...qe(),...nt(),...Tr({variant:"flat"})},"VAvatar"),fa=te()({name:"VAvatar",props:lY(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=lt(e),{colorClasses:i,colorStyles:a,variantClasses:s}=Cs(e),{densityClasses:o}=Dn(e),{roundedClasses:l}=Dt(e),{sizeClasses:u,sizeStyles:c}=$o(e);return oe(()=>m(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},r.value,i.value,o.value,l.value,u.value,s.value,e.class],style:[a.value,c.value,e.style]},{default:()=>{var d;return[e.image?m(ls,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?m(vt,{key:"icon",icon:e.icon},null):(d=n.default)==null?void 0:d.call(n),Ss(!1,"v-avatar")]}})),{}}});const r2=Symbol.for("vuetify:v-chip-group"),uY=K({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:ys},...Se(),...Oo({selectedClass:"v-chip--selected"}),...qe(),...nt(),...Tr({variant:"tonal"})},"VChipGroup"),cY=te()({name:"VChipGroup",props:uY(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=lt(e),{isSelected:i,select:a,next:s,prev:o,selected:l}=xs(e,r2);return Gt({VChip:{color:ie(e,"color"),disabled:ie(e,"disabled"),filter:ie(e,"filter"),variant:ie(e,"variant")}}),oe(()=>m(e.tag,{class:["v-chip-group",{"v-chip-group--column":e.column},r.value,e.class],style:e.style},{default:()=>{var u;return[(u=n.default)==null?void 0:u.call(n,{isSelected:i,select:a,next:s,prev:o,selected:l.value})]}})),{}}}),dY=K({activeClass:String,appendAvatar:String,appendIcon:Le,closable:Boolean,closeIcon:{type:Le,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:Le,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:ni(),onClickOnce:ni(),...sr(),...Se(),...en(),...Zt(),...Mo(),...It(),...ju(),...Ni(),...qe({tag:"span"}),...nt(),...Tr({variant:"tonal"})},"VChip"),Uu=te()({name:"VChip",directives:{Ripple:ya},props:dY(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const{t:a}=Sr(),{borderClasses:s}=Er(e),{colorClasses:o,colorStyles:l,variantClasses:u}=Cs(e),{densityClasses:c}=Dn(e),{elevationClasses:d}=pn(e),{roundedClasses:f}=Dt(e),{sizeClasses:h}=$o(e),{themeClasses:v}=lt(e),g=ze(e,"modelValue"),y=Do(e,r2,!1),p=Bu(e,n),b=_(()=>e.link!==!1&&p.isLink.value),S=_(()=>!e.disabled&&e.link!==!1&&(!!y||e.link||p.isClickable.value)),T=_(()=>({"aria-label":a(e.closeLabel),onClick(N){N.stopPropagation(),g.value=!1,r("click:close",N)}}));function V(N){var I;r("click",N),S.value&&((I=p.navigate)==null||I.call(p,N),y==null||y.toggle())}function O(N){(N.key==="Enter"||N.key===" ")&&(N.preventDefault(),V(N))}return()=>{const N=p.isLink.value?"a":e.tag,I=!!(e.appendIcon||e.appendAvatar),x=!!(I||i.append),$=!!(i.close||e.closable),E=!!(i.filter||e.filter)&&y,w=!!(e.prependIcon||e.prependAvatar),A=!!(w||i.prepend),M=!y||y.isSelected.value;return g.value&&Je(m(N,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":S.value,"v-chip--filter":E,"v-chip--pill":e.pill},v.value,s.value,M?o.value:void 0,c.value,d.value,f.value,h.value,u.value,y==null?void 0:y.selectedClass.value,e.class],style:[M?l.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:p.href.value,tabindex:S.value?0:void 0,onClick:V,onKeydown:S.value&&!b.value&&O},{default:()=>{var J,G;return[Ss(S.value,"v-chip"),E&&m(ib,{key:"filter"},{default:()=>[Je(m("div",{class:"v-chip__filter"},[i.filter?m(dt,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},i.filter):m(vt,{key:"filter-icon",icon:e.filterIcon},null)]),[[zr,y.isSelected.value]])]}),A&&m("div",{key:"prepend",class:"v-chip__prepend"},[i.prepend?m(dt,{key:"prepend-defaults",disabled:!w,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},i.prepend):m(Ee,null,[e.prependIcon&&m(vt,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&m(fa,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),m("div",{class:"v-chip__content"},[(G=(J=i.default)==null?void 0:J.call(i,{isSelected:y==null?void 0:y.isSelected.value,selectedClass:y==null?void 0:y.selectedClass.value,select:y==null?void 0:y.select,toggle:y==null?void 0:y.toggle,value:y==null?void 0:y.value.value,disabled:e.disabled}))!=null?G:e.text]),x&&m("div",{key:"append",class:"v-chip__append"},[i.append?m(dt,{key:"append-defaults",disabled:!I,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},i.append):m(Ee,null,[e.appendIcon&&m(vt,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&m(fa,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),$&&m("div",ye({key:"close",class:"v-chip__close"},T.value),[i.close?m(dt,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},i.close):m(vt,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[rr("ripple"),S.value&&e.ripple,null]])}}});const bg=Symbol.for("vuetify:list");function i2(){const e=ft(bg,{hasPrepend:_e(!1),updateHasPrepend:()=>null}),t={hasPrepend:_e(!1),updateHasPrepend:n=>{n&&(t.hasPrepend.value=n)}};return Rt(bg,t),e}function a2(){return ft(bg,null)}const fY={open:e=>{let{id:t,value:n,opened:r,parents:i}=e;if(n){const a=new Set;a.add(t);let s=i.get(t);for(;s!=null;)a.add(s),s=i.get(s);return a}else return r.delete(t),r},select:()=>null},s2={open:e=>{let{id:t,value:n,opened:r,parents:i}=e;if(n){let a=i.get(t);for(r.add(t);a!=null&&a!==t;)r.add(a),a=i.get(a);return r}else r.delete(t);return r},select:()=>null},hY={open:s2.open,select:e=>{let{id:t,value:n,opened:r,parents:i}=e;if(!n)return r;const a=[];let s=i.get(t);for(;s!=null;)a.push(s),s=i.get(s);return new Set(a)}},mb=e=>{const t={select:n=>{let{id:r,value:i,selected:a}=n;if(r=Ke(r),e&&!i){const s=Array.from(a.entries()).reduce((o,l)=>{let[u,c]=l;return c==="on"?[...o,u]:o},[]);if(s.length===1&&s[0]===r)return a}return a.set(r,i?"on":"off"),a},in:(n,r,i)=>{let a=new Map;for(const s of n||[])a=t.select({id:s,value:!0,selected:new Map(a),children:r,parents:i});return a},out:n=>{const r=[];for(const[i,a]of n.entries())a==="on"&&r.push(i);return r}};return t},o2=e=>{const t=mb(e);return{select:r=>{let{selected:i,id:a,...s}=r;a=Ke(a);const o=i.has(a)?new Map([[a,i.get(a)]]):new Map;return t.select({...s,id:a,selected:o})},in:(r,i,a)=>{let s=new Map;return r!=null&&r.length&&(s=t.in(r.slice(0,1),i,a)),s},out:(r,i,a)=>t.out(r,i,a)}},mY=e=>{const t=mb(e);return{select:r=>{let{id:i,selected:a,children:s,...o}=r;return i=Ke(i),s.has(i)?a:t.select({id:i,selected:a,children:s,...o})},in:t.in,out:t.out}},vY=e=>{const t=o2(e);return{select:r=>{let{id:i,selected:a,children:s,...o}=r;return i=Ke(i),s.has(i)?a:t.select({id:i,selected:a,children:s,...o})},in:t.in,out:t.out}},gY=e=>{const t={select:n=>{let{id:r,value:i,selected:a,children:s,parents:o}=n;r=Ke(r);const l=new Map(a),u=[r];for(;u.length;){const d=u.shift();a.set(d,i?"on":"off"),s.has(d)&&u.push(...s.get(d))}let c=o.get(r);for(;c;){const d=s.get(c),f=d.every(v=>a.get(v)==="on"),h=d.every(v=>!a.has(v)||a.get(v)==="off");a.set(c,f?"on":h?"off":"indeterminate"),c=o.get(c)}return e&&!i&&Array.from(a.entries()).reduce((f,h)=>{let[v,g]=h;return g==="on"?[...f,v]:f},[]).length===0?l:a},in:(n,r,i)=>{let a=new Map;for(const s of n||[])a=t.select({id:s,value:!0,selected:new Map(a),children:r,parents:i});return a},out:(n,r)=>{const i=[];for(const[a,s]of n.entries())s==="on"&&!r.has(a)&&i.push(a);return i}};return t},fu=Symbol.for("vuetify:nested"),l2={id:_e(),root:{register:()=>null,unregister:()=>null,parents:ve(new Map),children:ve(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:ve(new Set),selected:ve(new Map),selectedValues:ve([])}},pY=K({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),yY=e=>{let t=!1;const n=ve(new Map),r=ve(new Map),i=ze(e,"opened",e.opened,d=>new Set(d),d=>[...d.values()]),a=_(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single-leaf":return vY(e.mandatory);case"leaf":return mY(e.mandatory);case"independent":return mb(e.mandatory);case"single-independent":return o2(e.mandatory);case"classic":default:return gY(e.mandatory)}}),s=_(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return hY;case"single":return fY;case"multiple":default:return s2}}),o=ze(e,"selected",e.selected,d=>a.value.in(d,n.value,r.value),d=>a.value.out(d,n.value,r.value));Un(()=>{t=!0});function l(d){const f=[];let h=d;for(;h!=null;)f.unshift(h),h=r.value.get(h);return f}const u=cn("nested"),c={id:_e(),root:{opened:i,selected:o,selectedValues:_(()=>{const d=[];for(const[f,h]of o.value.entries())h==="on"&&d.push(f);return d}),register:(d,f,h)=>{f&&d!==f&&r.value.set(d,f),h&&n.value.set(d,[]),f!=null&&n.value.set(f,[...n.value.get(f)||[],d])},unregister:d=>{var h;if(t)return;n.value.delete(d);const f=r.value.get(d);if(f){const v=(h=n.value.get(f))!=null?h:[];n.value.set(f,v.filter(g=>g!==d))}r.value.delete(d),i.value.delete(d)},open:(d,f,h)=>{u.emit("click:open",{id:d,value:f,path:l(d),event:h});const v=s.value.open({id:d,value:f,opened:new Set(i.value),children:n.value,parents:r.value,event:h});v&&(i.value=v)},openOnSelect:(d,f,h)=>{const v=s.value.select({id:d,value:f,selected:new Map(o.value),opened:new Set(i.value),children:n.value,parents:r.value,event:h});v&&(i.value=v)},select:(d,f,h)=>{u.emit("click:select",{id:d,value:f,path:l(d),event:h});const v=a.value.select({id:d,value:f,selected:new Map(o.value),children:n.value,parents:r.value,event:h});v&&(o.value=v),c.root.openOnSelect(d,f,h)},children:n,parents:r}};return Rt(fu,c),c.root},u2=(e,t)=>{const n=ft(fu,l2),r=Symbol(Mn()),i=_(()=>e.value!==void 0?e.value:r),a={...n,id:i,open:(s,o)=>n.root.open(i.value,s,o),openOnSelect:(s,o)=>n.root.openOnSelect(i.value,s,o),isOpen:_(()=>n.root.opened.value.has(i.value)),parent:_(()=>n.root.parents.value.get(i.value)),select:(s,o)=>n.root.select(i.value,s,o),isSelected:_(()=>n.root.selected.value.get(Ke(i.value))==="on"),isIndeterminate:_(()=>n.root.selected.value.get(i.value)==="indeterminate"),isLeaf:_(()=>!n.root.children.value.get(i.value)),isGroupActivator:n.isGroupActivator};return!n.isGroupActivator&&n.root.register(i.value,n.id.value,t),Un(()=>{!n.isGroupActivator&&n.root.unregister(i.value)}),t&&Rt(fu,a),a},bY=()=>{const e=ft(fu,l2);Rt(fu,{...e,isGroupActivator:!0})},_Y=wr({name:"VListGroupActivator",setup(e,t){let{slots:n}=t;return bY(),()=>{var r;return(r=n.default)==null?void 0:r.call(n)}}}),wY=K({activeColor:String,baseColor:String,color:String,collapseIcon:{type:Le,default:"$collapse"},expandIcon:{type:Le,default:"$expand"},prependIcon:Le,appendIcon:Le,fluid:Boolean,subgroup:Boolean,title:String,value:null,...Se(),...qe()},"VListGroup"),_g=te()({name:"VListGroup",props:wY(),setup(e,t){let{slots:n}=t;const{isOpen:r,open:i,id:a}=u2(ie(e,"value"),!0),s=_(()=>`v-list-group--id-${String(a.value)}`),o=a2(),{isBooted:l}=ws();function u(h){i(!r.value,h)}const c=_(()=>({onClick:u,class:"v-list-group__header",id:s.value})),d=_(()=>r.value?e.collapseIcon:e.expandIcon),f=_(()=>({VListItem:{active:r.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&d.value,appendIcon:e.appendIcon||!e.subgroup&&d.value,title:e.title,value:e.value}}));return oe(()=>m(e.tag,{class:["v-list-group",{"v-list-group--prepend":o==null?void 0:o.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":r.value},e.class],style:e.style},{default:()=>[n.activator&&m(dt,{defaults:f.value},{default:()=>[m(_Y,null,{default:()=>[n.activator({props:c.value,isOpen:r.value})]})]}),m(Fr,{transition:{component:vh},disabled:!l.value},{default:()=>{var h;return[Je(m("div",{class:"v-list-group__items",role:"group","aria-labelledby":s.value},[(h=n.default)==null?void 0:h.call(n)]),[[zr,r.value]])]}})]})),{}}});const c2=Hr("v-list-item-subtitle"),d2=Hr("v-list-item-title"),SY=K({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:Le,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:Le,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:ni(),onClickOnce:ni(),...sr(),...Se(),...en(),...Cr(),...Zt(),...It(),...ju(),...qe(),...nt(),...Tr({variant:"text"})},"VListItem"),ki=te()({name:"VListItem",directives:{Ripple:ya},props:SY(),emits:{click:e=>!0},setup(e,t){let{attrs:n,slots:r,emit:i}=t;const a=Bu(e,n),s=_(()=>e.value===void 0?a.href.value:e.value),{select:o,isSelected:l,isIndeterminate:u,isGroupActivator:c,root:d,parent:f,openOnSelect:h}=u2(s,!1),v=a2(),g=_(()=>{var B;return e.active!==!1&&(e.active||((B=a.isActive)==null?void 0:B.value)||l.value)}),y=_(()=>e.link!==!1&&a.isLink.value),p=_(()=>!e.disabled&&e.link!==!1&&(e.link||a.isClickable.value||e.value!=null&&!!v)),b=_(()=>e.rounded||e.nav),S=_(()=>{var B;return(B=e.color)!=null?B:e.activeColor}),T=_(()=>{var B;return{color:g.value&&(B=S.value)!=null?B:e.baseColor,variant:e.variant}});we(()=>{var B;return(B=a.isActive)==null?void 0:B.value},B=>{B&&f.value!=null&&d.open(f.value,!0),B&&h(B)},{immediate:!0});const{themeClasses:V}=lt(e),{borderClasses:O}=Er(e),{colorClasses:N,colorStyles:I,variantClasses:x}=Cs(T),{densityClasses:$}=Dn(e),{dimensionStyles:E}=xr(e),{elevationClasses:w}=pn(e),{roundedClasses:A}=Dt(b),M=_(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),J=_(()=>({isActive:g.value,select:o,isSelected:l.value,isIndeterminate:u.value}));function G(B){var Q;i("click",B),!(c||!p.value)&&((Q=a.navigate)==null||Q.call(a,B),e.value!=null&&o(!l.value,B))}function j(B){(B.key==="Enter"||B.key===" ")&&(B.preventDefault(),G(B))}return oe(()=>{const B=y.value?"a":e.tag,Q=r.title||e.title,ee=r.subtitle||e.subtitle,re=!!(e.appendAvatar||e.appendIcon),me=!!(re||r.append),de=!!(e.prependAvatar||e.prependIcon),ke=!!(de||r.prepend);return v==null||v.updateHasPrepend(ke),e.activeColor&&ZW("active-color",["color","base-color"]),Je(m(B,{class:["v-list-item",{"v-list-item--active":g.value,"v-list-item--disabled":e.disabled,"v-list-item--link":p.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!ke&&(v==null?void 0:v.hasPrepend.value),[`${e.activeClass}`]:e.activeClass&&g.value},V.value,O.value,N.value,$.value,w.value,M.value,A.value,x.value,e.class],style:[I.value,E.value,e.style],href:a.href.value,tabindex:p.value?v?-2:0:void 0,onClick:G,onKeydown:p.value&&!y.value&&j},{default:()=>{var Ne;return[Ss(p.value||g.value,"v-list-item"),ke&&m("div",{key:"prepend",class:"v-list-item__prepend"},[r.prepend?m(dt,{key:"prepend-defaults",disabled:!de,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var Z;return[(Z=r.prepend)==null?void 0:Z.call(r,J.value)]}}):m(Ee,null,[e.prependAvatar&&m(fa,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&m(vt,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),m("div",{class:"v-list-item__spacer"},null)]),m("div",{class:"v-list-item__content","data-no-activator":""},[Q&&m(d2,{key:"title"},{default:()=>{var Z,Re;return[(Re=(Z=r.title)==null?void 0:Z.call(r,{title:e.title}))!=null?Re:e.title]}}),ee&&m(c2,{key:"subtitle"},{default:()=>{var Z,Re;return[(Re=(Z=r.subtitle)==null?void 0:Z.call(r,{subtitle:e.subtitle}))!=null?Re:e.subtitle]}}),(Ne=r.default)==null?void 0:Ne.call(r,J.value)]),me&&m("div",{key:"append",class:"v-list-item__append"},[r.append?m(dt,{key:"append-defaults",disabled:!re,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var Z;return[(Z=r.append)==null?void 0:Z.call(r,J.value)]}}):m(Ee,null,[e.appendIcon&&m(vt,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&m(fa,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),m("div",{class:"v-list-item__spacer"},null)])]}}),[[rr("ripple"),p.value&&e.ripple]])}),{}}}),CY=K({color:String,inset:Boolean,sticky:Boolean,title:String,...Se(),...qe()},"VListSubheader"),f2=te()({name:"VListSubheader",props:CY(),setup(e,t){let{slots:n}=t;const{textColorClasses:r,textColorStyles:i}=Rn(ie(e,"color"));return oe(()=>{const a=!!(n.default||e.title);return m(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},r.value,e.class],style:[{textColorStyles:i},e.style]},{default:()=>{var s,o;return[a&&m("div",{class:"v-list-subheader__text"},[(o=(s=n.default)==null?void 0:s.call(n))!=null?o:e.title])]}})}),{}}});const xY=K({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...Se(),...nt()},"VDivider"),h2=te()({name:"VDivider",props:xY(),setup(e,t){let{attrs:n}=t;const{themeClasses:r}=lt(e),{textColorClasses:i,textColorStyles:a}=Rn(ie(e,"color")),s=_(()=>{const o={};return e.length&&(o[e.vertical?"maxHeight":"maxWidth"]=xe(e.length)),e.thickness&&(o[e.vertical?"borderRightWidth":"borderTopWidth"]=xe(e.thickness)),o});return oe(()=>m("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},r.value,i.value,e.class],style:[s.value,a.value,e.style],"aria-orientation":!n.role||n.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${n.role||"separator"}`},null)),{}}}),EY=K({items:Array},"VListChildren"),m2=te()({name:"VListChildren",props:EY(),setup(e,t){let{slots:n}=t;return i2(),()=>{var r,i,a;return(a=(r=n.default)==null?void 0:r.call(n))!=null?a:(i=e.items)==null?void 0:i.map(s=>{var v,g,y,p;let{children:o,props:l,type:u,raw:c}=s;if(u==="divider")return(g=(v=n.divider)==null?void 0:v.call(n,{props:l}))!=null?g:m(h2,l,null);if(u==="subheader")return(p=(y=n.subheader)==null?void 0:y.call(n,{props:l}))!=null?p:m(f2,l,null);const d={subtitle:n.subtitle?b=>{var S;return(S=n.subtitle)==null?void 0:S.call(n,{...b,item:c})}:void 0,prepend:n.prepend?b=>{var S;return(S=n.prepend)==null?void 0:S.call(n,{...b,item:c})}:void 0,append:n.append?b=>{var S;return(S=n.append)==null?void 0:S.call(n,{...b,item:c})}:void 0,title:n.title?b=>{var S;return(S=n.title)==null?void 0:S.call(n,{...b,item:c})}:void 0},[f,h]=_g.filterProps(l);return o?m(_g,ye({value:l==null?void 0:l.value},f),{activator:b=>{let{props:S}=b;return n.header?n.header({props:{...l,...S}}):m(ki,ye(l,S),d)},default:()=>m(m2,{items:o},n)}):n.item?n.item({props:l}):m(ki,l,d)})}}}),v2=K({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean},"list-items");function Ks(e,t){var o;const n=Cn(t,e.itemTitle,t),r=e.returnObject?t:Cn(t,e.itemValue,n),i=Cn(t,e.itemChildren),a=e.itemProps===!0?typeof t=="object"&&t!=null&&!Array.isArray(t)?"children"in t?os(t,["children"])[1]:t:void 0:Cn(t,e.itemProps),s={title:n,value:r,...a};return{title:String((o=s.title)!=null?o:""),value:s.value,props:s,children:Array.isArray(i)?g2(e,i):void 0,raw:t}}function g2(e,t){const n=[];for(const r of t)n.push(Ks(e,r));return n}function vb(e){const t=_(()=>g2(e,e.items));return TY(t,n=>Ks(e,n))}function TY(e,t){function n(i){return i.filter(a=>a!==null||e.value.some(s=>s.value===null)).map(a=>{const s=e.value.find(o=>ys(a,o.value));return s!=null?s:t(a)})}function r(i){return i.map(a=>{let{value:s}=a;return s})}return{items:e,transformIn:n,transformOut:r}}function IY(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function AY(e,t){const n=Cn(t,e.itemType,"item"),r=IY(t)?t:Cn(t,e.itemTitle),i=Cn(t,e.itemValue,void 0),a=Cn(t,e.itemChildren),s=e.itemProps===!0?os(t,["children"])[1]:Cn(t,e.itemProps),o={title:r,value:i,...s};return{type:n,title:o.title,value:o.value,props:o,children:n==="item"&&a?p2(e,a):void 0,raw:t}}function p2(e,t){const n=[];for(const r of t)n.push(AY(e,r));return n}function kY(e){return{items:_(()=>p2(e,e.items))}}const PY=K({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...pY({selectStrategy:"single-leaf",openStrategy:"list"}),...sr(),...Se(),...en(),...Cr(),...Zt(),itemType:{type:String,default:"type"},...v2(),...It(),...qe(),...nt(),...Tr({variant:"text"})},"VList"),_h=te()({name:"VList",props:PY(),emits:{"update:selected":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:select":e=>!0},setup(e,t){let{slots:n}=t;const{items:r}=kY(e),{themeClasses:i}=lt(e),{backgroundColorClasses:a,backgroundColorStyles:s}=Ft(ie(e,"bgColor")),{borderClasses:o}=Er(e),{densityClasses:l}=Dn(e),{dimensionStyles:u}=xr(e),{elevationClasses:c}=pn(e),{roundedClasses:d}=Dt(e),{open:f,select:h}=yY(e),v=_(()=>e.lines?`v-list--${e.lines}-line`:void 0),g=ie(e,"activeColor"),y=ie(e,"baseColor"),p=ie(e,"color");i2(),Gt({VListGroup:{activeColor:g,baseColor:y,color:p},VListItem:{activeClass:ie(e,"activeClass"),activeColor:g,baseColor:y,color:p,density:ie(e,"density"),disabled:ie(e,"disabled"),lines:ie(e,"lines"),nav:ie(e,"nav"),variant:ie(e,"variant")}});const b=_e(!1),S=ve();function T(x){b.value=!0}function V(x){b.value=!1}function O(x){var $;!b.value&&!(x.relatedTarget&&(($=S.value)==null?void 0:$.contains(x.relatedTarget)))&&I()}function N(x){if(!!S.value){if(x.key==="ArrowDown")I("next");else if(x.key==="ArrowUp")I("prev");else if(x.key==="Home")I("first");else if(x.key==="End")I("last");else return;x.preventDefault()}}function I(x){if(S.value)return Kd(S.value,x)}return oe(()=>m(e.tag,{ref:S,class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav},i.value,a.value,o.value,l.value,c.value,v.value,d.value,e.class],style:[s.value,u.value,e.style],tabindex:e.disabled||b.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:T,onFocusout:V,onFocus:O,onKeydown:N},{default:()=>[m(m2,{items:r.value},n)]})),{open:f,select:h,focus:I}}}),VY=Hr("v-list-img"),RY=K({start:Boolean,end:Boolean,...Se(),...qe()},"VListItemAction"),OY=te()({name:"VListItemAction",props:RY(),setup(e,t){let{slots:n}=t;return oe(()=>m(e.tag,{class:["v-list-item-action",{"v-list-item-action--start":e.start,"v-list-item-action--end":e.end},e.class],style:e.style},n)),{}}}),MY=K({start:Boolean,end:Boolean,...Se(),...qe()},"VListItemMedia"),DY=te()({name:"VListItemMedia",props:MY(),setup(e,t){let{slots:n}=t;return oe(()=>m(e.tag,{class:["v-list-item-media",{"v-list-item-media--start":e.start,"v-list-item-media--end":e.end},e.class],style:e.style},n)),{}}});function km(e,t){return{x:e.x+t.x,y:e.y+t.y}}function $Y(e,t){return{x:e.x-t.x,y:e.y-t.y}}function _1(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:r}=e,i=r==="left"?0:r==="center"?t.width/2:r==="right"?t.width:r,a=n==="top"?0:n==="bottom"?t.height:n;return km({x:i,y:a},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:r}=e,i=n==="left"?0:n==="right"?t.width:n,a=r==="top"?0:r==="center"?t.height/2:r==="bottom"?t.height:r;return km({x:i,y:a},t)}return km({x:t.width/2,y:t.height/2},t)}const y2={static:LY,connected:jY},NY=K({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in y2},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function FY(e,t){const n=ve({}),r=ve();_t&&(da(()=>!!(t.isActive.value&&e.locationStrategy),a=>{var s,o;we(()=>e.locationStrategy,a),Kn(()=>{r.value=void 0}),typeof e.locationStrategy=="function"?r.value=(s=e.locationStrategy(t,e,n))==null?void 0:s.updateLocation:r.value=(o=y2[e.locationStrategy](t,e,n))==null?void 0:o.updateLocation}),window.addEventListener("resize",i,{passive:!0}),Kn(()=>{window.removeEventListener("resize",i),r.value=void 0}));function i(a){var s;(s=r.value)==null||s.call(r,a)}return{contentStyles:n,updateLocation:r}}function LY(){}function BY(e,t){t?e.style.removeProperty("left"):e.style.removeProperty("right");const n=Gy(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function jY(e,t,n){gG(e.activatorEl.value)&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:i,preferredOrigin:a}=qy(()=>{const v=ig(t.location,e.isRtl.value),g=t.origin==="overlap"?v:t.origin==="auto"?Em(v):ig(t.origin,e.isRtl.value);return v.side===g.side&&v.align===Tm(g).align?{preferredAnchor:Hw(v),preferredOrigin:Hw(g)}:{preferredAnchor:v,preferredOrigin:g}}),[s,o,l,u]=["minWidth","minHeight","maxWidth","maxHeight"].map(v=>_(()=>{const g=parseFloat(t[v]);return isNaN(g)?1/0:g})),c=_(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const v=t.offset.split(" ").map(parseFloat);return v.length<2&&v.push(0),v}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let d=!1;const f=new ResizeObserver(()=>{d&&h()});we([e.activatorEl,e.contentEl],(v,g)=>{let[y,p]=v,[b,S]=g;b&&f.unobserve(b),y&&f.observe(y),S&&f.unobserve(S),p&&f.observe(p)},{immediate:!0}),Kn(()=>{f.disconnect()});function h(){if(d=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>d=!0)}),!e.activatorEl.value||!e.contentEl.value)return;const v=e.activatorEl.value.getBoundingClientRect(),g=BY(e.contentEl.value,e.isRtl.value),y=Xd(e.contentEl.value),p=12;y.length||(y.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(g.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),g.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const b=y.reduce((E,w)=>{const A=w.getBoundingClientRect(),M=new ao({x:w===document.documentElement?0:A.x,y:w===document.documentElement?0:A.y,width:w.clientWidth,height:w.clientHeight});return E?new ao({x:Math.max(E.left,M.left),y:Math.max(E.top,M.top),width:Math.min(E.right,M.right)-Math.max(E.left,M.left),height:Math.min(E.bottom,M.bottom)-Math.max(E.top,M.top)}):M},void 0);b.x+=p,b.y+=p,b.width-=p*2,b.height-=p*2;let S={anchor:i.value,origin:a.value};function T(E){const w=new ao(g),A=_1(E.anchor,v),M=_1(E.origin,w);let{x:J,y:G}=$Y(A,M);switch(E.anchor.side){case"top":G-=c.value[0];break;case"bottom":G+=c.value[0];break;case"left":J-=c.value[0];break;case"right":J+=c.value[0];break}switch(E.anchor.align){case"top":G-=c.value[1];break;case"bottom":G+=c.value[1];break;case"left":J-=c.value[1];break;case"right":J+=c.value[1];break}return w.x+=J,w.y+=G,w.width=Math.min(w.width,l.value),w.height=Math.min(w.height,u.value),{overflows:Ww(w,b),x:J,y:G}}let V=0,O=0;const N={x:0,y:0},I={x:!1,y:!1};let x=-1;for(;;){if(x++>10){sg("Infinite loop detected in connectedLocationStrategy");break}const{x:E,y:w,overflows:A}=T(S);V+=E,O+=w,g.x+=E,g.y+=w;{const M=qw(S.anchor),J=A.x.before||A.x.after,G=A.y.before||A.y.after;let j=!1;if(["x","y"].forEach(B=>{if(B==="x"&&J&&!I.x||B==="y"&&G&&!I.y){const Q={anchor:{...S.anchor},origin:{...S.origin}},ee=B==="x"?M==="y"?Tm:Em:M==="y"?Em:Tm;Q.anchor=ee(Q.anchor),Q.origin=ee(Q.origin);const{overflows:re}=T(Q);(re[B].before<=A[B].before&&re[B].after<=A[B].after||re[B].before+re[B].after<(A[B].before+A[B].after)/2)&&(S=Q,j=I[B]=!0)}}),j)continue}A.x.before&&(V+=A.x.before,g.x+=A.x.before),A.x.after&&(V-=A.x.after,g.x-=A.x.after),A.y.before&&(O+=A.y.before,g.y+=A.y.before),A.y.after&&(O-=A.y.after,g.y-=A.y.after);{const M=Ww(g,b);N.x=b.width-M.x.before-M.x.after,N.y=b.height-M.y.before-M.y.after,V+=M.x.before,g.x+=M.x.before,O+=M.y.before,g.y+=M.y.before}break}const $=qw(S.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${S.anchor.side} ${S.anchor.align}`,transformOrigin:`${S.origin.side} ${S.origin.align}`,top:xe(Pm(O)),left:e.isRtl.value?void 0:xe(Pm(V)),right:e.isRtl.value?xe(Pm(-V)):void 0,minWidth:xe($==="y"?Math.min(s.value,v.width):s.value),maxWidth:xe(w1(Tn(N.x,s.value===1/0?0:s.value,l.value))),maxHeight:xe(w1(Tn(N.y,o.value===1/0?0:o.value,u.value)))}),{available:N,contentBox:g}}return we(()=>[i.value,a.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>h()),yt(()=>{const v=h();if(!v)return;const{available:g,contentBox:y}=v;y.height>g.y&&requestAnimationFrame(()=>{h(),requestAnimationFrame(()=>{h()})})}),{updateLocation:h}}function Pm(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function w1(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let wg=!0;const Zd=[];function UY(e){!wg||Zd.length?(Zd.push(e),Sg()):(wg=!1,e(),Sg())}let S1=-1;function Sg(){cancelAnimationFrame(S1),S1=requestAnimationFrame(()=>{const e=Zd.shift();e&&e(),Zd.length?Sg():wg=!0})}const Qc={none:null,close:qY,block:WY,reposition:GY},zY=K({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in Qc}},"VOverlay-scroll-strategies");function HY(e,t){if(!_t)return;let n;nr(async()=>{n==null||n.stop(),t.isActive.value&&e.scrollStrategy&&(n=Ng(),await yt(),n.active&&n.run(()=>{var r;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):(r=Qc[e.scrollStrategy])==null||r.call(Qc,t,e,n)}))}),Kn(()=>{n==null||n.stop()})}function qY(e){var n;function t(r){e.isActive.value=!1}b2((n=e.activatorEl.value)!=null?n:e.contentEl.value,t)}function WY(e,t){var s;const n=(s=e.root.value)==null?void 0:s.offsetParent,r=[...new Set([...Xd(e.activatorEl.value,t.contained?n:void 0),...Xd(e.contentEl.value,t.contained?n:void 0)])].filter(o=>!o.classList.contains("v-overlay-scroll-blocked")),i=window.innerWidth-document.documentElement.offsetWidth,a=(o=>Qy(o)&&o)(n||document.documentElement);a&&e.root.value.classList.add("v-overlay--scroll-blocked"),r.forEach((o,l)=>{o.style.setProperty("--v-body-scroll-x",xe(-o.scrollLeft)),o.style.setProperty("--v-body-scroll-y",xe(-o.scrollTop)),o!==document.documentElement&&o.style.setProperty("--v-scrollbar-offset",xe(i)),o.classList.add("v-overlay-scroll-blocked")}),Kn(()=>{r.forEach((o,l)=>{const u=parseFloat(o.style.getPropertyValue("--v-body-scroll-x")),c=parseFloat(o.style.getPropertyValue("--v-body-scroll-y"));o.style.removeProperty("--v-body-scroll-x"),o.style.removeProperty("--v-body-scroll-y"),o.style.removeProperty("--v-scrollbar-offset"),o.classList.remove("v-overlay-scroll-blocked"),o.scrollLeft=-u,o.scrollTop=-c}),a&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function GY(e,t,n){let r=!1,i=-1,a=-1;function s(o){UY(()=>{var c,d;const l=performance.now();(d=(c=e.updateLocation).value)==null||d.call(c,o),r=(performance.now()-l)/(1e3/60)>2})}a=(typeof requestIdleCallback>"u"?o=>o():requestIdleCallback)(()=>{n.run(()=>{var o;b2((o=e.activatorEl.value)!=null?o:e.contentEl.value,l=>{r?(cancelAnimationFrame(i),i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{s(l)})})):s(l)})})}),Kn(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(a),cancelAnimationFrame(i)})}function b2(e,t){const n=[document,...Xd(e)];n.forEach(r=>{r.addEventListener("scroll",t,{passive:!0})}),Kn(()=>{n.forEach(r=>{r.removeEventListener("scroll",t)})})}const Cg=Symbol.for("vuetify:v-menu"),_2=K({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function w2(e,t){const n={},r=i=>()=>{if(!_t)return Promise.resolve(!0);const a=i==="openDelay";return n.closeDelay&&window.clearTimeout(n.closeDelay),delete n.closeDelay,n.openDelay&&window.clearTimeout(n.openDelay),delete n.openDelay,new Promise(s=>{var l;const o=parseInt((l=e[i])!=null?l:0,10);n[i]=window.setTimeout(()=>{t==null||t(a),s(a)},o)})};return{runCloseDelay:r("closeDelay"),runOpenDelay:r("openDelay")}}const KY=K({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,..._2()},"VOverlay-activator");function YY(e,t){let{isActive:n,isTop:r}=t;const i=ve();let a=!1,s=!1,o=!0;const l=_(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),u=_(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!l.value),{runOpenDelay:c,runCloseDelay:d}=w2(e,S=>{S===(e.openOnHover&&a||l.value&&s)&&!(e.openOnHover&&n.value&&!r.value)&&(n.value!==S&&(o=!0),n.value=S)}),f={onClick:S=>{S.stopPropagation(),i.value=S.currentTarget||S.target,n.value=!n.value},onMouseenter:S=>{var T;(T=S.sourceCapabilities)!=null&&T.firesTouchEvents||(a=!0,i.value=S.currentTarget||S.target,c())},onMouseleave:S=>{a=!1,d()},onFocus:S=>{go(S.target,":focus-visible")!==!1&&(s=!0,S.stopPropagation(),i.value=S.currentTarget||S.target,c())},onBlur:S=>{s=!1,S.stopPropagation(),d()}},h=_(()=>{const S={};return u.value&&(S.onClick=f.onClick),e.openOnHover&&(S.onMouseenter=f.onMouseenter,S.onMouseleave=f.onMouseleave),l.value&&(S.onFocus=f.onFocus,S.onBlur=f.onBlur),S}),v=_(()=>{const S={};if(e.openOnHover&&(S.onMouseenter=()=>{a=!0,c()},S.onMouseleave=()=>{a=!1,d()}),l.value&&(S.onFocusin=()=>{s=!0,c()},S.onFocusout=()=>{s=!1,d()}),e.closeOnContentClick){const T=ft(Cg,null);S.onClick=()=>{n.value=!1,T==null||T.closeParents()}}return S}),g=_(()=>{const S={};return e.openOnHover&&(S.onMouseenter=()=>{o&&(a=!0,o=!1,c())},S.onMouseleave=()=>{a=!1,d()}),S});we(r,S=>{S&&(e.openOnHover&&!a&&(!l.value||!s)||l.value&&!s&&(!e.openOnHover||!a))&&(n.value=!1)});const y=ve();nr(()=>{!y.value||yt(()=>{i.value=ng(y.value)})});const p=cn("useActivator");let b;return we(()=>!!e.activator,S=>{S&&_t?(b=Ng(),b.run(()=>{XY(e,p,{activatorEl:i,activatorEvents:h})})):b&&b.stop()},{flush:"post",immediate:!0}),Kn(()=>{b==null||b.stop()}),{activatorEl:i,activatorRef:y,activatorEvents:h,contentEvents:v,scrimEvents:g}}function XY(e,t,n){let{activatorEl:r,activatorEvents:i}=n;we(()=>e.activator,(l,u)=>{if(u&&l!==u){const c=o(u);c&&s(c)}l&&yt(()=>a())},{immediate:!0}),we(()=>e.activatorProps,()=>{a()}),Kn(()=>{s()});function a(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o(),u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;!l||HW(l,ye(i.value,u))}function s(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o(),u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;!l||qW(l,ye(i.value,u))}function o(){var c,d;let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator,u;if(l)if(l==="parent"){let f=(d=(c=t==null?void 0:t.proxy)==null?void 0:c.$el)==null?void 0:d.parentNode;for(;f!=null&&f.hasAttribute("data-no-activator");)f=f.parentNode;u=f}else typeof l=="string"?u=document.querySelector(l):"$el"in l?u=l.$el:u=l;return r.value=(u==null?void 0:u.nodeType)===Node.ELEMENT_NODE?u:null,r.value}}function S2(){if(!_t)return _e(!1);const{ssr:e}=_s();if(e){const t=_e(!1);return On(()=>{t.value=!0}),t}else return _e(!0)}const wh=K({eager:Boolean},"lazy");function gb(e,t){const n=_e(!1),r=_(()=>n.value||e.eager||t.value);we(t,()=>n.value=!0);function i(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:r,onAfterLeave:i}}function Bo(){const t=cn("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const C1=Symbol.for("vuetify:stack"),Yo=Ln([]);function QY(e,t,n){const r=cn("useStack"),i=!n,a=ft(C1,void 0),s=Ln({activeChildren:new Set});Rt(C1,s);const o=_e(+t.value);da(e,()=>{var d;const c=(d=Yo.at(-1))==null?void 0:d[1];o.value=c?c+10:+t.value,i&&Yo.push([r.uid,o.value]),a==null||a.activeChildren.add(r.uid),Kn(()=>{if(i){const f=Ke(Yo).findIndex(h=>h[0]===r.uid);Yo.splice(f,1)}a==null||a.activeChildren.delete(r.uid)})});const l=_e(!0);i&&nr(()=>{var d;const c=((d=Yo.at(-1))==null?void 0:d[0])===r.uid;setTimeout(()=>l.value=c)});const u=_(()=>!s.activeChildren.size);return{globalTop:vu(l),localTop:u,stackStyles:_(()=>({zIndex:o.value}))}}function JY(e){return{teleportTarget:_(()=>{const n=e.value;if(n===!0||!_t)return;const r=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(r==null){sf(`Unable to locate target ${n}`);return}let i=r.querySelector(":scope > .v-overlay-container");return i||(i=document.createElement("div"),i.className="v-overlay-container",r.appendChild(i)),i})}}function ZY(){return!0}function C2(e,t,n){if(!e||x2(e,n)===!1)return!1;const r=yA(t);if(typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&r.host===e.target)return!1;const i=(typeof n.value=="object"&&n.value.include||(()=>[]))();return i.push(t),!i.some(a=>a==null?void 0:a.contains(e.target))}function x2(e,t){return(typeof t.value=="object"&&t.value.closeConditional||ZY)(e)}function eX(e,t,n){const r=typeof n.value=="function"?n.value:n.value.handler;t._clickOutside.lastMousedownWasOutside&&C2(e,t,n)&&setTimeout(()=>{x2(e,n)&&r&&r(e)},0)}function x1(e,t){const n=yA(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const E2={mounted(e,t){const n=i=>eX(i,e,t),r=i=>{e._clickOutside.lastMousedownWasOutside=C2(i,e,t)};x1(e,i=>{i.addEventListener("click",n,!0),i.addEventListener("mousedown",r,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:r}},unmounted(e,t){!e._clickOutside||(x1(e,n=>{var a;if(!n||!((a=e._clickOutside)!=null&&a[t.instance.$.uid]))return;const{onClick:r,onMousedown:i}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",r,!0),n.removeEventListener("mousedown",i,!0)}),delete e._clickOutside[t.instance.$.uid])}};function tX(e){const{modelValue:t,color:n,...r}=e;return m(In,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&m("div",ye({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},r),null)]})}const zu=K({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...KY(),...Se(),...Cr(),...wh(),...NY(),...zY(),...nt(),...$i()},"VOverlay"),Pi=te()({name:"VOverlay",directives:{ClickOutside:E2},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...zu()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:r,emit:i}=t;const a=ze(e,"modelValue"),s=_({get:()=>a.value,set:Q=>{Q&&e.disabled||(a.value=Q)}}),{teleportTarget:o}=JY(_(()=>e.attach||e.contained)),{themeClasses:l}=lt(e),{rtlClasses:u,isRtl:c}=dn(),{hasContent:d,onAfterLeave:f}=gb(e,s),h=Ft(_(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:v,localTop:g,stackStyles:y}=QY(s,ie(e,"zIndex"),e._disableGlobalStack),{activatorEl:p,activatorRef:b,activatorEvents:S,contentEvents:T,scrimEvents:V}=YY(e,{isActive:s,isTop:g}),{dimensionStyles:O}=xr(e),N=S2(),{scopeId:I}=Bo();we(()=>e.disabled,Q=>{Q&&(s.value=!1)});const x=ve(),$=ve(),{contentStyles:E,updateLocation:w}=FY(e,{isRtl:c,contentEl:$,activatorEl:p,isActive:s});HY(e,{root:x,contentEl:$,activatorEl:p,isActive:s,updateLocation:w});function A(Q){i("click:outside",Q),e.persistent?B():s.value=!1}function M(){return s.value&&v.value}_t&&we(s,Q=>{Q?window.addEventListener("keydown",J):window.removeEventListener("keydown",J)},{immediate:!0});function J(Q){var ee,re;Q.key==="Escape"&&v.value&&(e.persistent?B():(s.value=!1,(ee=$.value)!=null&&ee.contains(document.activeElement)&&((re=p.value)==null||re.focus())))}const G=LA();da(()=>e.closeOnBack,()=>{jK(G,Q=>{v.value&&s.value?(Q(!1),e.persistent?B():s.value=!1):Q()})});const j=ve();we(()=>s.value&&(e.absolute||e.contained)&&o.value==null,Q=>{if(Q){const ee=Xy(x.value);ee&&ee!==document.scrollingElement&&(j.value=ee.scrollTop)}});function B(){e.noClickAnimation||$.value&&Ka($.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:lu})}return oe(()=>{var Q;return m(Ee,null,[(Q=n.activator)==null?void 0:Q.call(n,{isActive:s.value,props:ye({ref:b},S.value,e.activatorProps)}),N.value&&d.value&&m(BV,{disabled:!o.value,to:o.value},{default:()=>[m("div",ye({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":s.value,"v-overlay--contained":e.contained},l.value,u.value,e.class],style:[y.value,{top:xe(j.value)},e.style],ref:x},I,r),[m(tX,ye({color:h,modelValue:s.value&&!!e.scrim},V.value),null),m(Fr,{appear:!0,persisted:!0,transition:e.transition,target:p.value,onAfterLeave:()=>{f(),i("afterLeave")}},{default:()=>{var ee;return[Je(m("div",ye({ref:$,class:["v-overlay__content",e.contentClass],style:[O.value,E.value]},T.value,e.contentProps),[(ee=n.default)==null?void 0:ee.call(n,{isActive:s})]),[[zr,s.value],[rr("click-outside"),{handler:A,closeConditional:M,include:()=>[p.value]}]])]}})])]})])}),{activatorEl:p,animateClick:B,contentEl:$,globalTop:v,localTop:g,updateLocation:w}}}),Vm=Symbol("Forwarded refs");function Rm(e,t){let n=e;for(;n;){const r=Reflect.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function qr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r!0},setup(e,t){let{slots:n}=t;const r=ze(e,"modelValue"),{scopeId:i}=Bo(),a=Mn(),s=_(()=>e.id||`v-menu-${a}`),o=ve(),l=ft(Cg,null),u=_e(0);Rt(Cg,{register(){++u.value},unregister(){--u.value},closeParents(){setTimeout(()=>{u.value||(r.value=!1,l==null||l.closeParents())},40)}});async function c(g){var b,S,T;const y=g.relatedTarget,p=g.target;await yt(),r.value&&y!==p&&((b=o.value)==null?void 0:b.contentEl)&&((S=o.value)==null?void 0:S.globalTop)&&![document,o.value.contentEl].includes(p)&&!o.value.contentEl.contains(p)&&((T=ou(o.value.contentEl)[0])==null||T.focus())}we(r,g=>{g?(l==null||l.register(),document.addEventListener("focusin",c,{once:!0})):(l==null||l.unregister(),document.removeEventListener("focusin",c))});function d(){l==null||l.closeParents()}function f(g){var y,p,b;e.disabled||g.key==="Tab"&&(aA(ou((y=o.value)==null?void 0:y.contentEl,!1),g.shiftKey?"prev":"next",T=>T.tabIndex>=0)||(r.value=!1,(b=(p=o.value)==null?void 0:p.activatorEl)==null||b.focus()))}function h(g){var p;if(e.disabled)return;const y=(p=o.value)==null?void 0:p.contentEl;y&&r.value?g.key==="ArrowDown"?(g.preventDefault(),Kd(y,"next")):g.key==="ArrowUp"&&(g.preventDefault(),Kd(y,"prev")):["ArrowDown","ArrowUp"].includes(g.key)&&(r.value=!0,g.preventDefault(),setTimeout(()=>setTimeout(()=>h(g))))}const v=_(()=>ye({"aria-haspopup":"menu","aria-expanded":String(r.value),"aria-owns":s.value,onKeydown:h},e.activatorProps));return oe(()=>{const[g]=Pi.filterProps(e);return m(Pi,ye({ref:o,class:["v-menu",e.class],style:e.style},g,{modelValue:r.value,"onUpdate:modelValue":y=>r.value=y,absolute:!0,activatorProps:v.value,"onClick:outside":d,onKeydown:f},i),{activator:n.activator,default:function(){for(var y=arguments.length,p=new Array(y),b=0;b{var S;return[(S=n.default)==null?void 0:S.call(n,...p)]}})}})}),qr({id:s,\u03A8openChildren:u},o)}});const rX=K({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...Se(),...$i({transition:{component:rb}})},"VCounter"),Ch=te()({name:"VCounter",functional:!0,props:rX(),setup(e,t){let{slots:n}=t;const r=_(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return oe(()=>m(Fr,{transition:e.transition},{default:()=>[Je(m("div",{class:["v-counter",e.class],style:e.style},[n.default?n.default({counter:r.value,max:e.max,value:e.value}):r.value]),[[zr,e.active]])]})),{}}});const iX=K({floating:Boolean,...Se()},"VFieldLabel"),ll=te()({name:"VFieldLabel",props:iX(),setup(e,t){let{slots:n}=t;return oe(()=>m(Lo,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},n)),{}}}),aX=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],xh=K({appendInnerIcon:Le,bgColor:String,clearable:Boolean,clearIcon:{type:Le,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:Le,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>aX.includes(e)},"onClick:clear":ni(),"onClick:appendInner":ni(),"onClick:prependInner":ni(),...Se(),...cb(),...It(),...nt()},"VField"),Hu=te()({name:"VField",inheritAttrs:!1,props:{id:String,...yh(),...xh()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const{themeClasses:a}=lt(e),{loaderClasses:s}=gh(e),{focusClasses:o,isFocused:l,focus:u,blur:c}=ba(e),{InputIcon:d}=JA(e),{roundedClasses:f}=Dt(e),{rtlClasses:h}=dn(),v=_(()=>e.dirty||e.active),g=_(()=>!e.singleLine&&!!(e.label||i.label)),y=Mn(),p=_(()=>e.id||`input-${y}`),b=_(()=>`${p.value}-messages`),S=ve(),T=ve(),V=ve(),O=_(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:N,backgroundColorStyles:I}=Ft(ie(e,"bgColor")),{textColorClasses:x,textColorStyles:$}=Rn(_(()=>e.error||e.disabled?void 0:v.value&&l.value?e.color:e.baseColor));we(v,A=>{if(g.value){const M=S.value.$el,J=T.value.$el;requestAnimationFrame(()=>{const G=Gy(M),j=J.getBoundingClientRect(),B=j.x-G.x,Q=j.y-G.y-(G.height/2-j.height/2),ee=j.width/.75,re=Math.abs(ee-G.width)>1?{maxWidth:xe(ee)}:void 0,me=getComputedStyle(M),de=getComputedStyle(J),ke=parseFloat(me.transitionDuration)*1e3||150,Ne=parseFloat(de.getPropertyValue("--v-field-label-scale")),Z=de.getPropertyValue("color");M.style.visibility="visible",J.style.visibility="hidden",Ka(M,{transform:`translate(${B}px, ${Q}px) scale(${Ne})`,color:Z,...re},{duration:ke,easing:lu,direction:A?"normal":"reverse"}).finished.then(()=>{M.style.removeProperty("visibility"),J.style.removeProperty("visibility")})})}},{flush:"post"});const E=_(()=>({isActive:v,isFocused:l,controlRef:V,blur:c,focus:u}));function w(A){A.target!==document.activeElement&&A.preventDefault()}return oe(()=>{var B,Q,ee,re;const A=e.variant==="outlined",M=i["prepend-inner"]||e.prependInnerIcon,J=!!(e.clearable||i.clear),G=!!(i["append-inner"]||e.appendInnerIcon||J),j=i.label?i.label({...E.value,label:e.label,props:{for:p.value}}):e.label;return m("div",ye({class:["v-field",{"v-field--active":v.value,"v-field--appended":G,"v-field--center-affix":(B=e.centerAffix)!=null?B:!O.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":M,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!j,[`v-field--variant-${e.variant}`]:!0},a.value,N.value,o.value,s.value,f.value,h.value,e.class],style:[I.value,e.style],onClick:w},n),[m("div",{class:"v-field__overlay"},null),m(db,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:i.loader}),M&&m("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&m(d,{key:"prepend-icon",name:"prependInner"},null),(Q=i["prepend-inner"])==null?void 0:Q.call(i,E.value)]),m("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&g.value&&m(ll,{key:"floating-label",ref:T,class:[x.value],floating:!0,for:p.value,style:$.value},{default:()=>[j]}),m(ll,{ref:S,for:p.value},{default:()=>[j]}),(ee=i.default)==null?void 0:ee.call(i,{...E.value,props:{id:p.value,class:"v-field__input","aria-describedby":b.value},focus:u,blur:c})]),J&&m(ib,{key:"clear"},{default:()=>[Je(m("div",{class:"v-field__clearable",onMousedown:me=>{me.preventDefault(),me.stopPropagation()}},[i.clear?i.clear():m(d,{name:"clear"},null)]),[[zr,e.dirty]])]}),G&&m("div",{key:"append",class:"v-field__append-inner"},[(re=i["append-inner"])==null?void 0:re.call(i,E.value),e.appendInnerIcon&&m(d,{key:"append-icon",name:"appendInner"},null)]),m("div",{class:["v-field__outline",x.value],style:$.value},[A&&m(Ee,null,[m("div",{class:"v-field__outline__start"},null),g.value&&m("div",{class:"v-field__outline__notch"},[m(ll,{ref:T,floating:!0,for:p.value},{default:()=>[j]})]),m("div",{class:"v-field__outline__end"},null)]),O.value&&g.value&&m(ll,{ref:T,floating:!0,for:p.value},{default:()=>[j]})])])}),{controlRef:V}}});function pb(e){const t=Object.keys(Hu.props).filter(n=>!Hy(n)&&n!=="class"&&n!=="style");return os(e,t)}const sX=["color","file","time","date","datetime-local","week","month"],Eh=K({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...Fi(),...xh()},"VTextField"),cs=te()({name:"VTextField",directives:{Intersect:Lu},inheritAttrs:!1,props:Eh(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const a=ze(e,"modelValue"),{isFocused:s,focus:o,blur:l}=ba(e),u=_(()=>{var O;return typeof e.counterValue=="function"?e.counterValue(a.value):((O=a.value)!=null?O:"").toString().length}),c=_(()=>{if(n.maxlength)return n.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),d=_(()=>["plain","underlined"].includes(e.variant));function f(O,N){var I,x;!e.autofocus||!O||(x=(I=N[0].target)==null?void 0:I.focus)==null||x.call(I)}const h=ve(),v=ve(),g=ve(),y=_(()=>sX.includes(e.type)||e.persistentPlaceholder||s.value||e.active);function p(){var O;g.value!==document.activeElement&&((O=g.value)==null||O.focus()),s.value||o()}function b(O){r("mousedown:control",O),O.target!==g.value&&(p(),O.preventDefault())}function S(O){p(),r("click:control",O)}function T(O){O.stopPropagation(),p(),yt(()=>{a.value=null,Wy(e["onClick:clear"],O)})}function V(O){var I;const N=O.target;if(a.value=N.value,((I=e.modelModifiers)==null?void 0:I.trim)&&["text","search","password","tel","url"].includes(e.type)){const x=[N.selectionStart,N.selectionEnd];yt(()=>{N.selectionStart=x[0],N.selectionEnd=x[1]})}}return oe(()=>{const O=!!(i.counter||e.counter||e.counterValue),N=!!(O||i.details),[I,x]=bs(n),[{modelValue:$,...E}]=gn.filterProps(e),[w]=pb(e);return m(gn,ye({ref:h,modelValue:a.value,"onUpdate:modelValue":A=>a.value=A,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(e.variant)},e.class],style:e.style},I,E,{centerAffix:!d.value,focused:s.value}),{...i,default:A=>{let{id:M,isDisabled:J,isDirty:G,isReadonly:j,isValid:B}=A;return m(Hu,ye({ref:v,onMousedown:b,onClick:S,"onClick:clear":T,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},w,{id:M.value,active:y.value||G.value,dirty:G.value||e.dirty,disabled:J.value,focused:s.value,error:B.value===!1}),{...i,default:Q=>{let{props:{class:ee,...re}}=Q;const me=Je(m("input",ye({ref:g,value:a.value,onInput:V,autofocus:e.autofocus,readonly:j.value,disabled:J.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:p,onBlur:l},re,x),null),[[rr("intersect"),{handler:f},null,{once:!0}]]);return m(Ee,null,[e.prefix&&m("span",{class:"v-text-field__prefix"},[m("span",{class:"v-text-field__prefix__text"},[e.prefix])]),i.default?m("div",{class:ee,"data-no-activator":""},[i.default(),me]):_i(me,{class:ee}),e.suffix&&m("span",{class:"v-text-field__suffix"},[m("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:N?A=>{var M;return m(Ee,null,[(M=i.details)==null?void 0:M.call(i,A),O&&m(Ee,null,[m("span",null,null),m(Ch,{active:e.persistentCounter||s.value,value:u.value,max:c.value},i.counter)])])}:void 0})}),qr({},h,v,g)}});const oX=K({renderless:Boolean,...Se()},"VVirtualScrollItem"),lX=te()({name:"VVirtualScrollItem",inheritAttrs:!1,props:oX(),emits:{"update:height":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const{resizeRef:a,contentRect:s}=si(void 0,"border");we(()=>{var o;return(o=s.value)==null?void 0:o.height},o=>{o!=null&&r("update:height",o)}),oe(()=>{var o,l;return e.renderless?m(Ee,null,[(o=i.default)==null?void 0:o.call(i,{itemRef:a})]):m("div",ye({ref:a,class:["v-virtual-scroll__item",e.class],style:e.style},n),[(l=i.default)==null?void 0:l.call(i)])})}}),E1=-1,T1=1,uX=K({itemHeight:{type:[Number,String],default:48}},"virtual");function cX(e,t,n){const r=_e(0),i=_e(e.itemHeight),a=_({get:()=>{var N;return parseInt((N=i.value)!=null?N:0,10)},set(N){i.value=N}}),s=ve(),{resizeRef:o,contentRect:l}=si();nr(()=>{o.value=s.value});const u=_s(),c=new Map;let d=Array.from({length:t.value.length});const f=_(()=>{var I;const N=(!l.value||s.value===document.documentElement?u.height.value:l.value.height)-((I=n==null?void 0:n.value)!=null?I:0);return Math.ceil(N/a.value*1.7+1)});function h(N,I){a.value=Math.max(a.value,I),d[N]=I,c.set(t.value[N],I)}function v(N){return d.slice(0,N).reduce((I,x)=>I+(x||a.value),0)}function g(N){const I=t.value.length;let x=0,$=0;for(;$=A&&(r.value=Tn(w,0,t.value.length-f.value)),y=I}function b(N){if(!s.value)return;const I=v(N);s.value.scrollTop=I}const S=_(()=>Math.min(t.value.length,r.value+f.value)),T=_(()=>t.value.slice(r.value,S.value).map((N,I)=>({raw:N,index:I+r.value}))),V=_(()=>v(r.value)),O=_(()=>v(t.value.length)-v(S.value));return we(()=>t.value.length,()=>{d=vi(t.value.length).map(()=>a.value),c.forEach((N,I)=>{const x=t.value.indexOf(I);x===-1?c.delete(I):d[x]=N})}),{containerRef:s,computedItems:T,itemHeight:a,paddingTop:V,paddingBottom:O,scrollToIndex:b,handleScroll:p,handleItemResize:h}}const dX=K({items:{type:Array,default:()=>[]},renderless:Boolean,...uX(),...Se(),...Cr()},"VVirtualScroll"),Th=te()({name:"VVirtualScroll",props:dX(),setup(e,t){let{slots:n}=t;const r=cn("VVirtualScroll"),{dimensionStyles:i}=xr(e),{containerRef:a,handleScroll:s,handleItemResize:o,scrollToIndex:l,paddingTop:u,paddingBottom:c,computedItems:d}=cX(e,ie(e,"items"));return da(()=>e.renderless,()=>{On(()=>{var f;a.value=Xy(r.vnode.el,!0),(f=a.value)==null||f.addEventListener("scroll",s)}),Kn(()=>{var f;(f=a.value)==null||f.removeEventListener("scroll",s)})}),oe(()=>{const f=d.value.map(h=>m(lX,{key:h.index,renderless:e.renderless,"onUpdate:height":v=>o(h.index,v)},{default:v=>{var g;return(g=n.default)==null?void 0:g.call(n,{item:h.raw,index:h.index,...v})}}));return e.renderless?m(Ee,null,[m("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:xe(u.value)}},null),f,m("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:xe(c.value)}},null)]):m("div",{ref:a,class:["v-virtual-scroll",e.class],onScroll:s,style:[i.value,e.style]},[m("div",{class:"v-virtual-scroll__container",style:{paddingTop:xe(u.value),paddingBottom:xe(c.value)}},[f])])}),{scrollToIndex:l}}});function yb(e,t){const n=_e(!1);let r;function i(o){cancelAnimationFrame(r),n.value=!0,r=requestAnimationFrame(()=>{r=requestAnimationFrame(()=>{n.value=!1})})}async function a(){await new Promise(o=>requestAnimationFrame(o)),await new Promise(o=>requestAnimationFrame(o)),await new Promise(o=>requestAnimationFrame(o)),await new Promise(o=>{if(n.value){const l=we(n,()=>{l(),o()})}else o()})}async function s(o){var c,d;if(o.key==="Tab"&&((c=t.value)==null||c.focus()),!["PageDown","PageUp","Home","End"].includes(o.key))return;const l=(d=e.value)==null?void 0:d.$el;if(!l)return;(o.key==="Home"||o.key==="End")&&l.scrollTo({top:o.key==="Home"?0:l.scrollHeight,behavior:"smooth"}),await a();const u=l.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(o.key==="PageDown"||o.key==="Home"){const f=l.getBoundingClientRect().top;for(const h of u)if(h.getBoundingClientRect().top>=f){h.focus();break}}else{const f=l.getBoundingClientRect().bottom;for(const h of[...u].reverse())if(h.getBoundingClientRect().bottom<=f){h.focus();break}}}return{onListScroll:i,onListKeydown:s}}const bb=K({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:Le,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,valueComparator:{type:Function,default:ys},itemColor:String,...v2({itemChildren:!1})},"Select"),fX=K({...bb(),..._r(Eh({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...$i({transition:{component:mh}})},"VSelect"),hX=te()({name:"VSelect",props:fX(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{slots:n}=t;const{t:r}=Sr(),i=ve(),a=ve(),s=ve(),o=ze(e,"menu"),l=_({get:()=>o.value,set:j=>{var B;o.value&&!j&&((B=a.value)==null?void 0:B.\u03A8openChildren)||(o.value=j)}}),{items:u,transformIn:c,transformOut:d}=vb(e),f=ze(e,"modelValue",[],j=>c(j===null?[null]:yr(j)),j=>{var Q;const B=d(j);return e.multiple?B:(Q=B[0])!=null?Q:null}),h=bh(),v=_(()=>f.value.map(j=>u.value.find(B=>{const Q=Cn(B.raw,e.itemValue),ee=Cn(j.raw,e.itemValue);return Q===void 0||ee===void 0?!1:e.returnObject?e.valueComparator(Q,ee):e.valueComparator(B.value,j.value)})||j)),g=_(()=>v.value.map(j=>j.props.value)),y=_e(!1),p=_(()=>l.value?e.closeText:e.openText);let b="",S;const T=_(()=>e.hideSelected?u.value.filter(j=>!v.value.some(B=>B===j)):u.value),V=_(()=>e.hideNoData&&!u.value.length||e.readonly||(h==null?void 0:h.isReadonly.value)),O=ve(),{onListScroll:N,onListKeydown:I}=yb(O,i);function x(j){e.openOnClear&&(l.value=!0)}function $(){V.value||(l.value=!l.value)}function E(j){var me,de;if(!j.key||e.readonly||(h==null?void 0:h.isReadonly.value))return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(j.key)&&j.preventDefault(),["Enter","ArrowDown"," "].includes(j.key)&&(l.value=!0),["Escape","Tab"].includes(j.key)&&(l.value=!1),j.key==="Home"?(me=O.value)==null||me.focus("first"):j.key==="End"&&((de=O.value)==null||de.focus("last"));const B=1e3;function Q(ke){const Ne=ke.key.length===1,Z=!ke.ctrlKey&&!ke.metaKey&&!ke.altKey;return Ne&&Z}if(e.multiple||!Q(j))return;const ee=performance.now();ee-S>B&&(b=""),b+=j.key.toLowerCase(),S=ee;const re=u.value.find(ke=>ke.title.toLowerCase().startsWith(b));re!==void 0&&(f.value=[re])}function w(j){if(e.multiple){const B=g.value.findIndex(Q=>e.valueComparator(Q,j.value));if(B===-1)f.value=[...f.value,j];else{const Q=[...f.value];Q.splice(B,1),f.value=Q}}else f.value=[j],l.value=!1}function A(j){var B;(B=O.value)!=null&&B.$el.contains(j.relatedTarget)||(l.value=!1)}function M(){var j;y.value&&((j=i.value)==null||j.focus())}function J(j){y.value=!0}function G(j){if(j==null)f.value=[];else if(go(i.value,":autofill")||go(i.value,":-webkit-autofill")){const B=u.value.find(Q=>Q.title===j);B&&w(B)}else i.value&&(i.value.value="")}return we(l,()=>{if(!e.hideSelected&&l.value&&v.value.length){const j=T.value.findIndex(B=>v.value.some(Q=>B.value===Q.value));_t&&window.requestAnimationFrame(()=>{var B;j>=0&&((B=s.value)==null||B.scrollToIndex(j))})}}),oe(()=>{const j=!!(e.chips||n.chip),B=!!(!e.hideNoData||T.value.length||n["prepend-item"]||n["append-item"]||n["no-data"]),Q=f.value.length>0,[ee]=cs.filterProps(e),re=Q||!y.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return m(cs,ye({ref:i},ee,{modelValue:f.value.map(me=>me.props.value).join(", "),"onUpdate:modelValue":G,focused:y.value,"onUpdate:focused":me=>y.value=me,validationValue:f.externalValue,dirty:Q,class:["v-select",{"v-select--active-menu":l.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":f.value.length,"v-select--selection-slot":!!n.selection},e.class],style:e.style,inputmode:"none",placeholder:re,"onClick:clear":x,"onMousedown:control":$,onBlur:A,onKeydown:E,"aria-label":r(p.value),title:r(p.value)}),{...n,default:()=>m(Ee,null,[m(Sh,ye({ref:a,modelValue:l.value,"onUpdate:modelValue":me=>l.value=me,activator:"parent",contentClass:"v-select__content",disabled:V.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:M},e.menuProps),{default:()=>{var me;return[B&&m(_h,{ref:O,selected:g.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:de=>de.preventDefault(),onKeydown:I,onFocusin:J,onScrollPassive:N,tabindex:"-1",color:(me=e.itemColor)!=null?me:e.color},{default:()=>{var de,ke,Ne,Z;return[(de=n["prepend-item"])==null?void 0:de.call(n),!T.value.length&&!e.hideNoData&&((Ne=(ke=n["no-data"])==null?void 0:ke.call(n))!=null?Ne:m(ki,{title:r(e.noDataText)},null)),m(Th,{ref:s,renderless:!0,items:T.value},{default:Re=>{var ne,k;let{item:Be,index:ut,itemRef:ge}=Re;const Ve=ye(Be.props,{ref:ge,key:ut,onClick:()=>w(Be)});return(k=(ne=n.item)==null?void 0:ne.call(n,{item:Be,index:ut,props:Ve}))!=null?k:m(ki,Ve,{prepend:D=>{let{isSelected:U}=D;return m(Ee,null,[e.multiple&&!e.hideSelected?m(bo,{key:Be.value,modelValue:U,ripple:!1,tabindex:"-1"},null):void 0,Be.props.prependIcon&&m(vt,{icon:Be.props.prependIcon},null)])}})}}),(Z=n["append-item"])==null?void 0:Z.call(n)]}})]}}),v.value.map((me,de)=>{var Z,Re;function ke(Be){Be.stopPropagation(),Be.preventDefault(),w(me)}const Ne={"onClick:close":ke,onMousedown(Be){Be.preventDefault(),Be.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return m("div",{key:me.value,class:"v-select__selection"},[j?n.chip?m(dt,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:me.title}}},{default:()=>{var Be;return[(Be=n.chip)==null?void 0:Be.call(n,{item:me,index:de,props:Ne})]}}):m(Uu,ye({key:"chip",closable:e.closableChips,size:"small",text:me.title},Ne),null):(Re=(Z=n.selection)==null?void 0:Z.call(n,{item:me,index:de}))!=null?Re:m("span",{class:"v-select__selection-text"},[me.title,e.multiple&&dee==null||t==null?-1:e.toString().toLocaleLowerCase().indexOf(t.toString().toLocaleLowerCase()),T2=K({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function vX(e,t,n){var o,l,u;const r=[],i=(o=n==null?void 0:n.default)!=null?o:mX,a=n!=null&&n.filterKeys?yr(n.filterKeys):!1,s=Object.keys((l=n==null?void 0:n.customKeyFilter)!=null?l:{}).length;if(!(e!=null&&e.length))return r;e:for(let c=0;cr!=null&&r.transform?Jn(t).map(r==null?void 0:r.transform):Jn(t));nr(()=>{const l=typeof n=="function"?n():Jn(n),u=typeof l!="string"&&typeof l!="number"?"":String(l),c=vX(s.value,u,{customKeyFilter:e.customKeyFilter,default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),d=Jn(t),f=[],h=new Map;c.forEach(v=>{let{index:g,matches:y}=v;const p=d[g];f.push(p),h.set(p.value,y)}),i.value=f,a.value=h});function o(l){return a.value.get(l.value)}return{filteredItems:i,filteredMatches:a,getMatches:o}}function gX(e,t,n){if(t==null)return e;if(Array.isArray(t))throw new Error("Multiple matches is not implemented");return typeof t=="number"&&~t?m(Ee,null,[m("span",{class:"v-autocomplete__unmask"},[e.substr(0,t)]),m("span",{class:"v-autocomplete__mask"},[e.substr(t,n)]),m("span",{class:"v-autocomplete__unmask"},[e.substr(t+n)])]):e}const pX=K({autoSelectFirst:{type:[Boolean,String]},search:String,...T2({filterKeys:["title"]}),...bb(),..._r(Eh({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...$i({transition:!1})},"VAutocomplete"),yX=te()({name:"VAutocomplete",props:pX(),emits:{"update:focused":e=>!0,"update:search":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{slots:n}=t;const{t:r}=Sr(),i=ve(),a=_e(!1),s=_e(!0),o=_e(!1),l=ve(),u=ve(),c=ze(e,"menu"),d=_({get:()=>c.value,set:ge=>{var Ve;c.value&&!ge&&((Ve=l.value)==null?void 0:Ve.\u03A8openChildren)||(c.value=ge)}}),f=_e(-1),h=_(()=>{var ge;return(ge=i.value)==null?void 0:ge.color}),v=_(()=>d.value?e.closeText:e.openText),{items:g,transformIn:y,transformOut:p}=vb(e),{textColorClasses:b,textColorStyles:S}=Rn(h),T=ze(e,"search",""),V=ze(e,"modelValue",[],ge=>y(ge===null?[null]:yr(ge)),ge=>{var ne;const Ve=p(ge);return e.multiple?Ve:(ne=Ve[0])!=null?ne:null}),O=bh(),{filteredItems:N,getMatches:I}=I2(e,g,()=>s.value?"":T.value),x=_(()=>V.value.map(ge=>g.value.find(Ve=>{const ne=Cn(Ve.raw,e.itemValue),k=Cn(ge.raw,e.itemValue);return ne===void 0||k===void 0?!1:e.returnObject?e.valueComparator(ne,k):e.valueComparator(Ve.value,ge.value)})||ge)),$=_(()=>e.hideSelected?N.value.filter(ge=>!x.value.some(Ve=>Ve.value===ge.value)):N.value),E=_(()=>x.value.map(ge=>ge.props.value)),w=_(()=>x.value[f.value]),A=_(()=>{var Ve;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&T.value===((Ve=$.value[0])==null?void 0:Ve.title))&&$.value.length>0&&!s.value&&!o.value}),M=_(()=>e.hideNoData&&!g.value.length||e.readonly||(O==null?void 0:O.isReadonly.value)),J=ve(),{onListScroll:G,onListKeydown:j}=yb(J,i);function B(ge){e.openOnClear&&(d.value=!0),T.value=""}function Q(){M.value||(d.value=!0)}function ee(ge){M.value||(a.value&&(ge.preventDefault(),ge.stopPropagation()),d.value=!d.value)}function re(ge){var k,D,U;if(e.readonly||(O==null?void 0:O.isReadonly.value))return;const Ve=i.value.selectionStart,ne=E.value.length;if((f.value>-1||["Enter","ArrowDown","ArrowUp"].includes(ge.key))&&ge.preventDefault(),["Enter","ArrowDown"].includes(ge.key)&&(d.value=!0),["Escape"].includes(ge.key)&&(d.value=!1),A.value&&["Enter","Tab"].includes(ge.key)&&ut($.value[0]),ge.key==="ArrowDown"&&A.value&&((k=J.value)==null||k.focus("next")),!!e.multiple){if(["Backspace","Delete"].includes(ge.key)){if(f.value<0){ge.key==="Backspace"&&!T.value&&(f.value=ne-1);return}const R=f.value;w.value&&ut(w.value),f.value=R>=ne-1?ne-2:R}if(ge.key==="ArrowLeft"){if(f.value<0&&Ve>0)return;const R=f.value>-1?f.value-1:ne-1;x.value[R]?f.value=R:(f.value=-1,i.value.setSelectionRange((D=T.value)==null?void 0:D.length,(U=T.value)==null?void 0:U.length))}if(ge.key==="ArrowRight"){if(f.value<0)return;const R=f.value+1;x.value[R]?f.value=R:(f.value=-1,i.value.setSelectionRange(0,0))}}}function me(ge){T.value=ge.target.value}function de(ge){if(go(i.value,":autofill")||go(i.value,":-webkit-autofill")){const Ve=g.value.find(ne=>ne.title===ge.target.value);Ve&&ut(Ve)}}function ke(){var ge;a.value&&(s.value=!0,(ge=i.value)==null||ge.focus())}function Ne(ge){a.value=!0,setTimeout(()=>{o.value=!0})}function Z(ge){o.value=!1}function Re(ge){(ge==null||ge===""&&!e.multiple)&&(V.value=[])}const Be=_e(!1);function ut(ge){if(e.multiple){const Ve=E.value.findIndex(ne=>e.valueComparator(ne,ge.value));if(Ve===-1)V.value=[...V.value,ge];else{const ne=[...V.value];ne.splice(Ve,1),V.value=ne}}else V.value=[ge],Be.value=!0,T.value=ge.title,d.value=!1,s.value=!0,yt(()=>Be.value=!1)}return we(a,(ge,Ve)=>{var ne,k;ge!==Ve&&(ge?(Be.value=!0,T.value=e.multiple?"":String((k=(ne=x.value.at(-1))==null?void 0:ne.props.title)!=null?k:""),s.value=!0,yt(()=>Be.value=!1)):(!e.multiple&&!T.value?V.value=[]:A.value&&!o.value&&!x.value.some(D=>{let{value:U}=D;return U===$.value[0].value})&&ut($.value[0]),d.value=!1,T.value="",f.value=-1))}),we(T,ge=>{!a.value||Be.value||(ge&&(d.value=!0),s.value=!ge)}),we(d,()=>{if(!e.hideSelected&&d.value&&x.value.length){const ge=$.value.findIndex(Ve=>x.value.some(ne=>Ve.value===ne.value));_t&&window.requestAnimationFrame(()=>{var Ve;ge>=0&&((Ve=u.value)==null||Ve.scrollToIndex(ge))})}}),oe(()=>{const ge=!!(e.chips||n.chip),Ve=!!(!e.hideNoData||$.value.length||n["prepend-item"]||n["append-item"]||n["no-data"]),ne=V.value.length>0,[k]=cs.filterProps(e);return m(cs,ye({ref:i},k,{modelValue:T.value,"onUpdate:modelValue":Re,focused:a.value,"onUpdate:focused":D=>a.value=D,validationValue:V.externalValue,dirty:ne,onInput:me,onChange:de,class:["v-autocomplete",`v-autocomplete--${e.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":d.value,"v-autocomplete--chips":!!e.chips,"v-autocomplete--selection-slot":!!n.selection,"v-autocomplete--selecting-index":f.value>-1},e.class],style:e.style,readonly:e.readonly,placeholder:ne?void 0:e.placeholder,"onClick:clear":B,"onMousedown:control":Q,onKeydown:re}),{...n,default:()=>m(Ee,null,[m(Sh,ye({ref:l,modelValue:d.value,"onUpdate:modelValue":D=>d.value=D,activator:"parent",contentClass:"v-autocomplete__content",disabled:M.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:ke},e.menuProps),{default:()=>{var D;return[Ve&&m(_h,{ref:J,selected:E.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:U=>U.preventDefault(),onKeydown:j,onFocusin:Ne,onFocusout:Z,onScrollPassive:G,tabindex:"-1",color:(D=e.itemColor)!=null?D:e.color},{default:()=>{var U,R,F,z;return[(U=n["prepend-item"])==null?void 0:U.call(n),!$.value.length&&!e.hideNoData&&((F=(R=n["no-data"])==null?void 0:R.call(n))!=null?F:m(ki,{title:r(e.noDataText)},null)),m(Th,{ref:u,renderless:!0,items:$.value},{default:H=>{var ae,fe;let{item:q,index:Y,itemRef:W}=H;const ue=ye(q.props,{ref:W,key:Y,active:A.value&&Y===0?!0:void 0,onClick:()=>ut(q)});return(fe=(ae=n.item)==null?void 0:ae.call(n,{item:q,index:Y,props:ue}))!=null?fe:m(ki,ue,{prepend:be=>{let{isSelected:pe}=be;return m(Ee,null,[e.multiple&&!e.hideSelected?m(bo,{key:q.value,modelValue:pe,ripple:!1,tabindex:"-1"},null):void 0,q.props.prependIcon&&m(vt,{icon:q.props.prependIcon},null)])},title:()=>{var be,pe,Ae;return s.value?q.title:gX(q.title,(be=I(q))==null?void 0:be.title,(Ae=(pe=T.value)==null?void 0:pe.length)!=null?Ae:0)}})}}),(z=n["append-item"])==null?void 0:z.call(n)]}})]}}),x.value.map((D,U)=>{var z,H;function R(q){q.stopPropagation(),q.preventDefault(),ut(D)}const F={"onClick:close":R,onMousedown(q){q.preventDefault(),q.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return m("div",{key:D.value,class:["v-autocomplete__selection",U===f.value&&["v-autocomplete__selection--selected",b.value]],style:U===f.value?S.value:{}},[ge?n.chip?m(dt,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:D.title}}},{default:()=>{var q;return[(q=n.chip)==null?void 0:q.call(n,{item:D,index:U,props:F})]}}):m(Uu,ye({key:"chip",closable:e.closableChips,size:"small",text:D.title},F),null):(H=(z=n.selection)==null?void 0:z.call(n,{item:D,index:U}))!=null?H:m("span",{class:"v-autocomplete__selection-text"},[D.title,e.multiple&&U{var f,h;return(e.floating?e.dot?2:4:e.dot?8:12)+(["top","bottom"].includes(c)?+((f=e.offsetY)!=null?f:0):["left","right"].includes(c)?+((h=e.offsetX)!=null?h:0):0)});return oe(()=>{const c=Number(e.content),d=!e.max||isNaN(c)?e.content:c<=+e.max?c:`${e.max}+`,[f,h]=os(t.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return m(e.tag,ye({class:["v-badge",{"v-badge--bordered":e.bordered,"v-badge--dot":e.dot,"v-badge--floating":e.floating,"v-badge--inline":e.inline},e.class]},h,{style:e.style}),{default:()=>{var v,g;return[m("div",{class:"v-badge__wrapper"},[(g=(v=t.slots).default)==null?void 0:g.call(v),m(Fr,{transition:e.transition},{default:()=>{var y,p;return[Je(m("span",ye({class:["v-badge__badge",l.value,n.value,i.value,s.value],style:[r.value,o.value,e.inline?{}:u.value],"aria-atomic":"true","aria-label":a(e.label,c),"aria-live":"polite",role:"status"},f),[e.dot?void 0:t.slots.badge?(p=(y=t.slots).badge)==null?void 0:p.call(y):e.icon?m(vt,{icon:e.icon},null):d]),[[zr,e.modelValue]])]}})])]}})}),{}}});const wX=K({color:String,density:String,...Se()},"VBannerActions"),A2=te()({name:"VBannerActions",props:wX(),setup(e,t){let{slots:n}=t;return Gt({VBtn:{color:e.color,density:e.density,variant:"text"}}),oe(()=>{var r;return m("div",{class:["v-banner-actions",e.class],style:e.style},[(r=n.default)==null?void 0:r.call(n)])}),{}}}),k2=Hr("v-banner-text"),SX=K({avatar:String,color:String,icon:Le,lines:String,stacked:Boolean,sticky:Boolean,text:String,...sr(),...Se(),...en(),...Cr(),...Zt(),...ga(),...No(),...It(),...qe(),...nt()},"VBanner"),CX=te()({name:"VBanner",props:SX(),setup(e,t){let{slots:n}=t;const{borderClasses:r}=Er(e),{densityClasses:i}=Dn(e),{mobile:a}=_s(),{dimensionStyles:s}=xr(e),{elevationClasses:o}=pn(e),{locationStyles:l}=pa(e),{positionClasses:u}=Fo(e),{roundedClasses:c}=Dt(e),{themeClasses:d}=lt(e),f=ie(e,"color"),h=ie(e,"density");Gt({VBannerActions:{color:f,density:h}}),oe(()=>{const v=!!(e.text||n.text),g=!!(e.avatar||e.icon),y=!!(g||n.prepend);return m(e.tag,{class:["v-banner",{"v-banner--stacked":e.stacked||a.value,"v-banner--sticky":e.sticky,[`v-banner--${e.lines}-line`]:!!e.lines},r.value,i.value,o.value,u.value,c.value,d.value,e.class],style:[s.value,l.value,e.style],role:"banner"},{default:()=>{var p;return[y&&m("div",{key:"prepend",class:"v-banner__prepend"},[n.prepend?m(dt,{key:"prepend-defaults",disabled:!g,defaults:{VAvatar:{color:f.value,density:h.value,icon:e.icon,image:e.avatar}}},n.prepend):m(fa,{key:"prepend-avatar",color:f.value,density:h.value,icon:e.icon,image:e.avatar},null)]),m("div",{class:"v-banner__content"},[v&&m(k2,{key:"text"},{default:()=>{var b,S;return[(S=(b=n.text)==null?void 0:b.call(n))!=null?S:e.text]}}),(p=n.default)==null?void 0:p.call(n)]),n.actions&&m(A2,{key:"actions"},n.actions)]}})})}});const xX=K({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:e=>!e||["horizontal","shift"].includes(e)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...sr(),...Se(),...en(),...Zt(),...It(),...Vo({name:"bottom-navigation"}),...qe({tag:"header"}),...Oo({modelValue:!0,selectedClass:"v-btn--selected"}),...nt()},"VBottomNavigation"),EX=te()({name:"VBottomNavigation",props:xX(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=CA(),{borderClasses:i}=Er(e),{backgroundColorClasses:a,backgroundColorStyles:s}=Ft(ie(e,"bgColor")),{densityClasses:o}=Dn(e),{elevationClasses:l}=pn(e),{roundedClasses:u}=Dt(e),{ssrBootStyles:c}=ws(),d=_(()=>Number(e.height)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0)),f=ie(e,"active"),{layoutItemStyles:h}=Ro({id:e.name,order:_(()=>parseInt(e.order,10)),position:_(()=>"bottom"),layoutSize:_(()=>f.value?d.value:0),elementSize:d,active:f,absolute:ie(e,"absolute")});return xs(e,sb),Gt({VBtn:{color:ie(e,"color"),density:ie(e,"density"),stacked:_(()=>e.mode!=="horizontal"),variant:"text"}},{scoped:!0}),oe(()=>m(e.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":f.value,"v-bottom-navigation--grow":e.grow,"v-bottom-navigation--shift":e.mode==="shift"},r.value,a.value,i.value,o.value,l.value,u.value,e.class],style:[s.value,h.value,{height:xe(d.value),transform:`translateY(${xe(f.value?0:100,"%")})`},c.value,e.style]},{default:()=>[n.default&&m("div",{class:"v-bottom-navigation__content"},[n.default()])]})),{}}});const TX=K({divider:[Number,String],...Se()},"VBreadcrumbsDivider"),P2=te()({name:"VBreadcrumbsDivider",props:TX(),setup(e,t){let{slots:n}=t;return oe(()=>{var r,i;return m("li",{class:["v-breadcrumbs-divider",e.class],style:e.style},[(i=(r=n==null?void 0:n.default)==null?void 0:r.call(n))!=null?i:e.divider])}),{}}}),IX=K({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...Se(),...ju(),...qe({tag:"li"})},"VBreadcrumbsItem"),V2=te()({name:"VBreadcrumbsItem",props:IX(),setup(e,t){let{slots:n,attrs:r}=t;const i=Bu(e,r),a=_(()=>{var u;return e.active||((u=i.isActive)==null?void 0:u.value)}),s=_(()=>a.value?e.activeColor:e.color),{textColorClasses:o,textColorStyles:l}=Rn(s);return oe(()=>m(e.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":a.value,"v-breadcrumbs-item--disabled":e.disabled,[`${e.activeClass}`]:a.value&&e.activeClass},o.value,e.class],style:[l.value,e.style],"aria-current":a.value?"page":void 0},{default:()=>{var u,c,d,f;return[i.isLink.value?m("a",{class:"v-breadcrumbs-item--link",href:i.href.value,"aria-current":a.value?"page":void 0,onClick:i.navigate},[(f=(d=n.default)==null?void 0:d.call(n))!=null?f:e.title]):(c=(u=n.default)==null?void 0:u.call(n))!=null?c:e.title]}})),{}}}),AX=K({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:Le,items:{type:Array,default:()=>[]},...Se(),...en(),...It(),...qe({tag:"ul"})},"VBreadcrumbs"),kX=te()({name:"VBreadcrumbs",props:AX(),setup(e,t){let{slots:n}=t;const{backgroundColorClasses:r,backgroundColorStyles:i}=Ft(ie(e,"bgColor")),{densityClasses:a}=Dn(e),{roundedClasses:s}=Dt(e);Gt({VBreadcrumbsDivider:{divider:ie(e,"divider")},VBreadcrumbsItem:{activeClass:ie(e,"activeClass"),activeColor:ie(e,"activeColor"),color:ie(e,"color"),disabled:ie(e,"disabled")}});const o=_(()=>e.items.map(l=>typeof l=="string"?{item:{title:l},raw:l}:{item:l,raw:l}));return oe(()=>{const l=!!(n.prepend||e.icon);return m(e.tag,{class:["v-breadcrumbs",r.value,a.value,s.value,e.class],style:[i.value,e.style]},{default:()=>{var u;return[l&&m("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[n.prepend?m(dt,{key:"prepend-defaults",disabled:!e.icon,defaults:{VIcon:{icon:e.icon,start:!0}}},n.prepend):m(vt,{key:"prepend-icon",start:!0,icon:e.icon},null)]),o.value.map((c,d,f)=>{let{item:h,raw:v}=c;return m(Ee,null,[m(V2,ye({key:h.title,disabled:d>=f.length-1},h),{default:n.title?()=>{var g;return(g=n.title)==null?void 0:g.call(n,{item:v,index:d})}:void 0}),d{var g;return(g=n.divider)==null?void 0:g.call(n,{item:v,index:d})}:void 0})])}),(u=n.default)==null?void 0:u.call(n)]}})}),{}}});const R2=te()({name:"VCardActions",props:Se(),setup(e,t){let{slots:n}=t;return Gt({VBtn:{variant:"text"}}),oe(()=>{var r;return m("div",{class:["v-card-actions",e.class],style:e.style},[(r=n.default)==null?void 0:r.call(n)])}),{}}}),O2=Hr("v-card-subtitle"),M2=Hr("v-card-title"),PX=K({appendAvatar:String,appendIcon:Le,prependAvatar:String,prependIcon:Le,subtitle:String,title:String,...Se(),...en()},"VCardItem"),D2=te()({name:"VCardItem",props:PX(),setup(e,t){let{slots:n}=t;return oe(()=>{var u;const r=!!(e.prependAvatar||e.prependIcon),i=!!(r||n.prepend),a=!!(e.appendAvatar||e.appendIcon),s=!!(a||n.append),o=!!(e.title||n.title),l=!!(e.subtitle||n.subtitle);return m("div",{class:["v-card-item",e.class],style:e.style},[i&&m("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?m(dt,{key:"prepend-defaults",disabled:!r,defaults:{VAvatar:{density:e.density,icon:e.prependIcon,image:e.prependAvatar}}},n.prepend):r&&m(fa,{key:"prepend-avatar",density:e.density,icon:e.prependIcon,image:e.prependAvatar},null)]),m("div",{class:"v-card-item__content"},[o&&m(M2,{key:"title"},{default:()=>{var c,d;return[(d=(c=n.title)==null?void 0:c.call(n))!=null?d:e.title]}}),l&&m(O2,{key:"subtitle"},{default:()=>{var c,d;return[(d=(c=n.subtitle)==null?void 0:c.call(n))!=null?d:e.subtitle]}}),(u=n.default)==null?void 0:u.call(n)]),s&&m("div",{key:"append",class:"v-card-item__append"},[n.append?m(dt,{key:"append-defaults",disabled:!a,defaults:{VAvatar:{density:e.density,icon:e.appendIcon,image:e.appendAvatar}}},n.append):a&&m(fa,{key:"append-avatar",density:e.density,icon:e.appendIcon,image:e.appendAvatar},null)])])}),{}}}),$2=Hr("v-card-text"),VX=K({appendAvatar:String,appendIcon:Le,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:Le,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...sr(),...Se(),...en(),...Cr(),...Zt(),...cb(),...ga(),...No(),...It(),...ju(),...qe(),...nt(),...Tr({variant:"elevated"})},"VCard"),RX=te()({name:"VCard",directives:{Ripple:ya},props:VX(),setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:i}=lt(e),{borderClasses:a}=Er(e),{colorClasses:s,colorStyles:o,variantClasses:l}=Cs(e),{densityClasses:u}=Dn(e),{dimensionStyles:c}=xr(e),{elevationClasses:d}=pn(e),{loaderClasses:f}=gh(e),{locationStyles:h}=pa(e),{positionClasses:v}=Fo(e),{roundedClasses:g}=Dt(e),y=Bu(e,n),p=_(()=>e.link!==!1&&y.isLink.value),b=_(()=>!e.disabled&&e.link!==!1&&(e.link||y.isClickable.value));return oe(()=>{const S=p.value?"a":e.tag,T=!!(r.title||e.title),V=!!(r.subtitle||e.subtitle),O=T||V,N=!!(r.append||e.appendAvatar||e.appendIcon),I=!!(r.prepend||e.prependAvatar||e.prependIcon),x=!!(r.image||e.image),$=O||I||N,E=!!(r.text||e.text);return Je(m(S,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":b.value},i.value,a.value,s.value,u.value,d.value,f.value,v.value,g.value,l.value,e.class],style:[o.value,c.value,h.value,e.style],href:y.href.value,onClick:b.value&&y.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var w;return[x&&m("div",{key:"image",class:"v-card__image"},[r.image?m(dt,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},r.image):m(ls,{key:"image-img",cover:!0,src:e.image},null)]),m(db,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:r.loader}),$&&m(D2,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:r.item,prepend:r.prepend,title:r.title,subtitle:r.subtitle,append:r.append}),E&&m($2,{key:"text"},{default:()=>{var A,M;return[(M=(A=r.text)==null?void 0:A.call(r))!=null?M:e.text]}}),(w=r.default)==null?void 0:w.call(r),r.actions&&m(R2,null,{default:r.actions}),Ss(b.value,"v-card")]}}),[[rr("ripple"),b.value&&e.ripple]])}),{}}});const OX=e=>{const{touchstartX:t,touchendX:n,touchstartY:r,touchendY:i}=e,a=.5,s=16;e.offsetX=n-t,e.offsetY=i-r,Math.abs(e.offsetY)t+s&&e.right(e)),Math.abs(e.offsetX)r+s&&e.down(e))};function MX(e,t){var r;const n=e.changedTouches[0];t.touchstartX=n.clientX,t.touchstartY=n.clientY,(r=t.start)==null||r.call(t,{originalEvent:e,...t})}function DX(e,t){var r;const n=e.changedTouches[0];t.touchendX=n.clientX,t.touchendY=n.clientY,(r=t.end)==null||r.call(t,{originalEvent:e,...t}),OX(t)}function $X(e,t){var r;const n=e.changedTouches[0];t.touchmoveX=n.clientX,t.touchmoveY=n.clientY,(r=t.move)==null||r.call(t,{originalEvent:e,...t})}function NX(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:n=>MX(n,t),touchend:n=>DX(n,t),touchmove:n=>$X(n,t)}}function FX(e,t){var o,l,u;const n=t.value,r=n!=null&&n.parent?e.parentElement:e,i=(o=n==null?void 0:n.options)!=null?o:{passive:!0},a=(l=t.instance)==null?void 0:l.$.uid;if(!r||!a)return;const s=NX(t.value);r._touchHandlers=(u=r._touchHandlers)!=null?u:Object.create(null),r._touchHandlers[a]=s,tA(s).forEach(c=>{r.addEventListener(c,s[c],i)})}function LX(e,t){var a,s;const n=(a=t.value)!=null&&a.parent?e.parentElement:e,r=(s=t.instance)==null?void 0:s.$.uid;if(!(n!=null&&n._touchHandlers)||!r)return;const i=n._touchHandlers[r];tA(i).forEach(o=>{n.removeEventListener(o,i[o])}),delete n._touchHandlers[r]}const _b={mounted:FX,unmounted:LX},N2=Symbol.for("vuetify:v-window"),F2=Symbol.for("vuetify:v-window-group"),L2=K({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...Se(),...qe(),...nt()},"VWindow"),xg=te()({name:"VWindow",directives:{Touch:_b},props:L2(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=lt(e),{isRtl:i}=dn(),{t:a}=Sr(),s=xs(e,F2),o=ve(),l=_(()=>i.value?!e.reverse:e.reverse),u=_e(!1),c=_(()=>{const T=e.direction==="vertical"?"y":"x",O=(l.value?!u.value:u.value)?"-reverse":"";return`v-window-${T}${O}-transition`}),d=_e(0),f=ve(void 0),h=_(()=>s.items.value.findIndex(T=>s.selected.value.includes(T.id)));we(h,(T,V)=>{const O=s.items.value.length,N=O-1;O<=2?u.value=Te.continuous||h.value!==0),g=_(()=>e.continuous||h.value!==s.items.value.length-1);function y(){v.value&&s.prev()}function p(){g.value&&s.next()}const b=_(()=>{const T=[],V={icon:i.value?e.nextIcon:e.prevIcon,class:`v-window__${l.value?"right":"left"}`,onClick:s.prev,ariaLabel:a("$vuetify.carousel.prev")};T.push(v.value?n.prev?n.prev({props:V}):m(Bn,V,null):m("div",null,null));const O={icon:i.value?e.prevIcon:e.nextIcon,class:`v-window__${l.value?"left":"right"}`,onClick:s.next,ariaLabel:a("$vuetify.carousel.next")};return T.push(g.value?n.next?n.next({props:O}):m(Bn,O,null):m("div",null,null)),T}),S=_(()=>e.touch===!1?e.touch:{...{left:()=>{l.value?y():p()},right:()=>{l.value?p():y()},start:V=>{let{originalEvent:O}=V;O.stopPropagation()}},...e.touch===!0?{}:e.touch});return oe(()=>Je(m(e.tag,{ref:o,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},r.value,e.class],style:e.style},{default:()=>{var T,V;return[m("div",{class:"v-window__container",style:{height:f.value}},[(T=n.default)==null?void 0:T.call(n,{group:s}),e.showArrows!==!1&&m("div",{class:"v-window__controls"},[b.value])]),(V=n.additional)==null?void 0:V.call(n,{group:s})]}}),[[rr("touch"),S.value]])),{group:s}}}),BX=K({color:String,cycle:Boolean,delimiterIcon:{type:Le,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:e=>Number(e)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],...L2({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),jX=te()({name:"VCarousel",props:BX(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=ze(e,"modelValue"),{t:i}=Sr(),a=ve();let s=-1;we(r,l),we(()=>e.interval,l),we(()=>e.cycle,u=>{u?l():window.clearTimeout(s)}),On(o);function o(){!e.cycle||!a.value||(s=window.setTimeout(a.value.group.next,+e.interval>0?+e.interval:6e3))}function l(){window.clearTimeout(s),window.requestAnimationFrame(o)}return oe(()=>{const[u]=xg.filterProps(e);return m(xg,ye({ref:a},u,{modelValue:r.value,"onUpdate:modelValue":c=>r.value=c,class:["v-carousel",{"v-carousel--hide-delimiter-background":e.hideDelimiterBackground,"v-carousel--vertical-delimiters":e.verticalDelimiters},e.class],style:[{height:xe(e.height)},e.style]}),{default:n.default,additional:c=>{let{group:d}=c;return m(Ee,null,[!e.hideDelimiters&&m("div",{class:"v-carousel__controls",style:{left:e.verticalDelimiters==="left"&&e.verticalDelimiters?0:"auto",right:e.verticalDelimiters==="right"?0:"auto"}},[d.items.value.length>0&&m(dt,{defaults:{VBtn:{color:e.color,icon:e.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[d.items.value.map((f,h)=>{const v={id:`carousel-item-${f.id}`,"aria-label":i("$vuetify.carousel.ariaLabel.delimiter",h+1,d.items.value.length),class:[d.isSelected(f.id)&&"v-btn--active"],onClick:()=>d.select(f.id,!0)};return n.item?n.item({props:v,item:f}):m(Bn,ye(f,v),null)})]})]),e.progress&&m(ub,{class:"v-carousel__progress",color:typeof e.progress=="string"?e.progress:void 0,modelValue:(d.getItemIndex(r.value)+1)/d.items.value.length*100},null)])},prev:n.prev,next:n.next})}),{}}}),B2=K({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...Se(),...Mo(),...wh()},"VWindowItem"),Eg=te()({name:"VWindowItem",directives:{Touch:_b},props:B2(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const r=ft(N2),i=Do(e,F2),{isBooted:a}=ws();if(!r||!i)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const s=_e(!1),o=_(()=>a.value&&(r.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function l(){!s.value||!r||(s.value=!1,r.transitionCount.value>0&&(r.transitionCount.value-=1,r.transitionCount.value===0&&(r.transitionHeight.value=void 0)))}function u(){var v;s.value||!r||(s.value=!0,r.transitionCount.value===0&&(r.transitionHeight.value=xe((v=r.rootRef.value)==null?void 0:v.clientHeight)),r.transitionCount.value+=1)}function c(){l()}function d(v){!s.value||yt(()=>{!o.value||!s.value||!r||(r.transitionHeight.value=xe(v.clientHeight))})}const f=_(()=>{const v=r.isReversed.value?e.reverseTransition:e.transition;return o.value?{name:typeof v!="string"?r.transition.value:v,onBeforeEnter:u,onAfterEnter:l,onEnterCancelled:c,onBeforeLeave:u,onAfterLeave:l,onLeaveCancelled:c,onEnter:d}:!1}),{hasContent:h}=gb(e,i.isSelected);return oe(()=>m(Fr,{transition:f.value,disabled:!a.value},{default:()=>{var v;return[Je(m("div",{class:["v-window-item",i.selectedClass.value,e.class],style:e.style},[h.value&&((v=n.default)==null?void 0:v.call(n))]),[[zr,i.isSelected.value]])]}})),{groupItem:i}}}),UX=K({...DA(),...B2()},"VCarouselItem"),zX=te()({name:"VCarouselItem",inheritAttrs:!1,props:UX(),setup(e,t){let{slots:n,attrs:r}=t;oe(()=>{const[i]=ls.filterProps(e),[a]=Eg.filterProps(e);return m(Eg,ye({class:"v-carousel-item"},a),{default:()=>[m(ls,ye(r,i),n)]})})}});const HX=Hr("v-code");const qX=K({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...Se()},"VColorPickerCanvas"),WX=wr({name:"VColorPickerCanvas",props:qX(),emits:{"update:color":e=>!0,"update:position":e=>!0},setup(e,t){let{emit:n}=t;const r=_e(!1),i=_e(!1),a=ve({x:0,y:0}),s=_(()=>{const{x:p,y:b}=a.value,S=parseInt(e.dotSize,10)/2;return{width:xe(e.dotSize),height:xe(e.dotSize),transform:`translate(${xe(p-S)}, ${xe(b-S)})`}}),o=ve(),l=_e(parseFloat(e.width)),u=_e(parseFloat(e.height)),{resizeRef:c}=si(p=>{var T;if(!((T=c.value)!=null&&T.offsetParent))return;const{width:b,height:S}=p[0].contentRect;l.value=b,u.value=S});function d(p,b,S){const{left:T,top:V,width:O,height:N}=S;a.value={x:Tn(p-T,0,O),y:Tn(b-V,0,N)}}function f(p){e.disabled||!o.value||d(p.clientX,p.clientY,o.value.getBoundingClientRect())}function h(p){p.preventDefault(),!e.disabled&&(r.value=!0,window.addEventListener("mousemove",v),window.addEventListener("mouseup",g),window.addEventListener("touchmove",v),window.addEventListener("touchend",g))}function v(p){if(e.disabled||!o.value)return;r.value=!0;const b=UW(p);d(b.clientX,b.clientY,o.value.getBoundingClientRect())}function g(){window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",g),window.removeEventListener("touchmove",v),window.removeEventListener("touchend",g)}we(a,()=>{var S,T,V,O;if(i.value){i.value=!1;return}if(!o.value)return;const{x:p,y:b}=a.value;n("update:color",{h:(T=(S=e.color)==null?void 0:S.h)!=null?T:0,s:Tn(p,0,l.value)/l.value,v:1-Tn(b,0,u.value)/u.value,a:(O=(V=e.color)==null?void 0:V.a)!=null?O:1})});function y(){var V,O;if(!o.value)return;const p=o.value,b=p.getContext("2d");if(!b)return;const S=b.createLinearGradient(0,0,p.width,0);S.addColorStop(0,"hsla(0, 0%, 100%, 1)"),S.addColorStop(1,`hsla(${(O=(V=e.color)==null?void 0:V.h)!=null?O:0}, 100%, 50%, 1)`),b.fillStyle=S,b.fillRect(0,0,p.width,p.height);const T=b.createLinearGradient(0,0,0,p.height);T.addColorStop(0,"hsla(0, 0%, 100%, 0)"),T.addColorStop(1,"hsla(0, 0%, 0%, 1)"),b.fillStyle=T,b.fillRect(0,0,p.width,p.height)}return we(()=>{var p;return(p=e.color)==null?void 0:p.h},y,{immediate:!0}),we(()=>[l.value,u.value],(p,b)=>{y(),a.value={x:a.value.x*p[0]/b[0],y:a.value.y*p[1]/b[1]}},{flush:"post"}),we(()=>e.color,()=>{if(r.value){r.value=!1;return}i.value=!0,a.value=e.color?{x:e.color.s*l.value,y:(1-e.color.v)*u.value}:{x:0,y:0}},{deep:!0,immediate:!0}),On(()=>y()),oe(()=>m("div",{ref:c,class:["v-color-picker-canvas",e.class],style:e.style,onClick:f,onMousedown:h,onTouchstart:h},[m("canvas",{ref:o,width:l.value,height:u.value},null),e.color&&m("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":e.disabled}],style:s.value},null)])),{}}});function GX(e,t){if(t){const{a:n,...r}=e;return r}return e}function KX(e,t){if(t==null||typeof t=="string"){const n=gA(e);return e.a===1?n.slice(0,7):n}if(typeof t=="object"){let n;return Ga(t,["r","g","b"])?n=Ai(e):Ga(t,["h","s","l"])?n=dA(e):Ga(t,["h","s","v"])&&(n=e),GX(n,!Ga(t,["a"])&&e.a===1)}return e}const Al={h:0,s:0,v:1,a:1},Tg={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:e=>Math.round(e.r),getColor:(e,t)=>({...e,r:Number(t)})},{label:"G",max:255,step:1,getValue:e=>Math.round(e.g),getColor:(e,t)=>({...e,g:Number(t)})},{label:"B",max:255,step:1,getValue:e=>Math.round(e.b),getColor:(e,t)=>({...e,b:Number(t)})},{label:"A",max:1,step:.01,getValue:e=>{let{a:t}=e;return t!=null?Math.round(t*100)/100:1},getColor:(e,t)=>({...e,a:Number(t)})}],to:Ai,from:dh};var O1;const YX={...Tg,inputs:(O1=Tg.inputs)==null?void 0:O1.slice(0,3)},Ig={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:e=>Math.round(e.h),getColor:(e,t)=>({...e,h:Number(t)})},{label:"S",max:1,step:.01,getValue:e=>Math.round(e.s*100)/100,getColor:(e,t)=>({...e,s:Number(t)})},{label:"L",max:1,step:.01,getValue:e=>Math.round(e.l*100)/100,getColor:(e,t)=>({...e,l:Number(t)})},{label:"A",max:1,step:.01,getValue:e=>{let{a:t}=e;return t!=null?Math.round(t*100)/100:1},getColor:(e,t)=>({...e,a:Number(t)})}],to:dA,from:Yy},XX={...Ig,inputs:Ig.inputs.slice(0,3)},j2={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:e=>e,getColor:(e,t)=>t}],to:gA,from:oG},QX={...j2,inputs:[{label:"HEX",getValue:e=>e.slice(0,7),getColor:(e,t)=>t}]},Za={rgb:YX,rgba:Tg,hsl:XX,hsla:Ig,hex:QX,hexa:j2},JX=e=>{let{label:t,...n}=e;return m("div",{class:"v-color-picker-edit__input"},[m("input",n,null),m("span",null,[t])])},ZX=K({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(Za).includes(e)},modes:{type:Array,default:()=>Object.keys(Za),validator:e=>Array.isArray(e)&&e.every(t=>Object.keys(Za).includes(t))},...Se()},"VColorPickerEdit"),eQ=wr({name:"VColorPickerEdit",props:ZX(),emits:{"update:color":e=>!0,"update:mode":e=>!0},setup(e,t){let{emit:n}=t;const r=_(()=>e.modes.map(a=>({...Za[a],name:a}))),i=_(()=>{var o;const a=r.value.find(l=>l.name===e.mode);if(!a)return[];const s=e.color?a.to(e.color):null;return(o=a.inputs)==null?void 0:o.map(l=>{let{getValue:u,getColor:c,...d}=l;return{...a.inputProps,...d,disabled:e.disabled,value:s&&u(s),onChange:f=>{const h=f.target;!h||n("update:color",a.from(c(s!=null?s:Al,h.value)))}}})});return oe(()=>{var a;return m("div",{class:["v-color-picker-edit",e.class],style:e.style},[(a=i.value)==null?void 0:a.map(s=>m(JX,s,null)),r.value.length>1&&m(Bn,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const s=r.value.findIndex(o=>o.name===e.mode);n("update:mode",r.value[(s+1)%r.value.length].name)}},null)])}),{}}});const wb=Symbol.for("vuetify:v-slider");function Ag(e,t,n){const r=n==="vertical",i=t.getBoundingClientRect(),a="touches"in e?e.touches[0]:e;return r?a.clientY-(i.top+i.height/2):a.clientX-(i.left+i.width/2)}function tQ(e,t){return"touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t]}const U2=K({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>typeof e=="boolean"||e==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>typeof e=="boolean"||e==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...It(),...Zt({elevation:2})},"Slider"),z2=e=>{const t=_(()=>parseFloat(e.min)),n=_(()=>parseFloat(e.max)),r=_(()=>+e.step>0?parseFloat(e.step):0),i=_(()=>Math.max(Bw(r.value),Bw(t.value)));function a(s){if(s=parseFloat(s),r.value<=0)return s;const o=Tn(s,t.value,n.value),l=t.value%r.value,u=Math.round((o-l)/r.value)*r.value+l;return parseFloat(Math.min(u,n.value).toFixed(i.value))}return{min:t,max:n,step:r,decimals:i,roundValue:a}},H2=e=>{let{props:t,steps:n,onSliderStart:r,onSliderMove:i,onSliderEnd:a,getActiveThumb:s}=e;const{isRtl:o}=dn(),l=ie(t,"reverse"),u=_(()=>{let Z=o.value?"rtl":"ltr";return t.reverse&&(Z=Z==="rtl"?"ltr":"rtl"),Z}),{min:c,max:d,step:f,decimals:h,roundValue:v}=n,g=_(()=>parseInt(t.thumbSize,10)),y=_(()=>parseInt(t.tickSize,10)),p=_(()=>parseInt(t.trackSize,10)),b=_(()=>(d.value-c.value)/f.value),S=ie(t,"disabled"),T=_(()=>t.direction==="vertical"),V=_(()=>{var Z;return t.error||t.disabled?void 0:(Z=t.thumbColor)!=null?Z:t.color}),O=_(()=>{var Z;return t.error||t.disabled?void 0:(Z=t.trackColor)!=null?Z:t.color}),N=_(()=>{var Z;return t.error||t.disabled?void 0:(Z=t.trackFillColor)!=null?Z:t.color}),I=_e(!1),x=_e(0),$=ve(),E=ve();function w(Z){var U;const Re=t.direction==="vertical",Be=Re?"top":"left",ut=Re?"height":"width",ge=Re?"clientY":"clientX",{[Be]:Ve,[ut]:ne}=(U=$.value)==null?void 0:U.$el.getBoundingClientRect(),k=tQ(Z,ge);let D=Math.min(Math.max((k-Ve-x.value)/ne,0),1)||0;return(Re||u.value==="rtl")&&(D=1-D),v(c.value+D*(d.value-c.value))}const A=Z=>{a({value:w(Z)}),I.value=!1,x.value=0},M=Z=>{E.value=s(Z),E.value&&(E.value.focus(),I.value=!0,E.value.contains(Z.target)?x.value=Ag(Z,E.value,t.direction):(x.value=0,i({value:w(Z)})),r({value:w(Z)}))},J={passive:!0,capture:!0};function G(Z){i({value:w(Z)})}function j(Z){Z.stopPropagation(),Z.preventDefault(),A(Z),window.removeEventListener("mousemove",G,J),window.removeEventListener("mouseup",j)}function B(Z){var Re;A(Z),window.removeEventListener("touchmove",G,J),(Re=Z.target)==null||Re.removeEventListener("touchend",B)}function Q(Z){var Re;M(Z),window.addEventListener("touchmove",G,J),(Re=Z.target)==null||Re.addEventListener("touchend",B,{passive:!1})}function ee(Z){Z.preventDefault(),M(Z),window.addEventListener("mousemove",G,J),window.addEventListener("mouseup",j,{passive:!1})}const re=Z=>{const Re=(Z-c.value)/(d.value-c.value)*100;return Tn(isNaN(Re)?0:Re,0,100)},me=ie(t,"showTicks"),de=_(()=>me.value?t.ticks?Array.isArray(t.ticks)?t.ticks.map(Z=>({value:Z,position:re(Z),label:Z.toString()})):Object.keys(t.ticks).map(Z=>({value:parseFloat(Z),position:re(parseFloat(Z)),label:t.ticks[Z]})):b.value!==1/0?vi(b.value+1).map(Z=>{const Re=c.value+Z*f.value;return{value:Re,position:re(Re)}}):[]:[]),ke=_(()=>de.value.some(Z=>{let{label:Re}=Z;return!!Re})),Ne={activeThumbRef:E,color:ie(t,"color"),decimals:h,disabled:S,direction:ie(t,"direction"),elevation:ie(t,"elevation"),hasLabels:ke,horizontalDirection:u,isReversed:l,min:c,max:d,mousePressed:I,numTicks:b,onSliderMousedown:ee,onSliderTouchstart:Q,parsedTicks:de,parseMouseMove:w,position:re,readonly:ie(t,"readonly"),rounded:ie(t,"rounded"),roundValue:v,showTicks:me,startOffset:x,step:f,thumbSize:g,thumbColor:V,thumbLabel:ie(t,"thumbLabel"),ticks:ie(t,"ticks"),tickSize:y,trackColor:O,trackContainerRef:$,trackFillColor:N,trackSize:p,vertical:T};return Rt(wb,Ne),Ne},nQ=K({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...Se()},"VSliderThumb"),kg=te()({name:"VSliderThumb",directives:{Ripple:ya},props:nQ(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n,emit:r}=t;const i=ft(wb),{rtlClasses:a}=dn();if(!i)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:s,step:o,vertical:l,disabled:u,thumbSize:c,thumbLabel:d,direction:f,readonly:h,elevation:v,isReversed:g,horizontalDirection:y,mousePressed:p,decimals:b}=i,{textColorClasses:S,textColorStyles:T}=Rn(s),{pageup:V,pagedown:O,end:N,home:I,left:x,right:$,down:E,up:w}=rg,A=[V,O,N,I,x,$,E,w],M=_(()=>o.value?[1,2,3]:[1,5,10]);function J(j,B){if(!A.includes(j.key))return;j.preventDefault();const Q=o.value||.1,ee=(e.max-e.min)/Q;if([x,$,E,w].includes(j.key)){const me=(y.value==="rtl"?[x,w]:[$,w]).includes(j.key)?1:-1,de=j.shiftKey?2:j.ctrlKey?1:0;B=B+me*Q*M.value[de]}else if(j.key===I)B=e.min;else if(j.key===N)B=e.max;else{const re=j.key===O?1:-1;B=B-re*Q*(ee>100?ee/10:10)}return Math.max(e.min,Math.min(e.max,B))}function G(j){const B=J(j,e.modelValue);B!=null&&r("update:modelValue",B)}return oe(()=>{const j=xe(l.value||g.value?100-e.position:e.position,"%"),{elevationClasses:B}=pn(_(()=>u.value?void 0:v.value));return m("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&p.value},e.class,a.value],style:[{"--v-slider-thumb-position":j,"--v-slider-thumb-size":xe(c.value)},e.style],role:"slider",tabindex:u.value?-1:0,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!h.value,"aria-orientation":f.value,onKeydown:h.value?void 0:G},[m("div",{class:["v-slider-thumb__surface",S.value,B.value],style:{...T.value}},null),Je(m("div",{class:["v-slider-thumb__ripple",S.value],style:T.value},null),[[rr("ripple"),e.ripple,null,{circle:!0,center:!0}]]),m(nb,{origin:"bottom center"},{default:()=>{var Q,ee;return[Je(m("div",{class:"v-slider-thumb__label-container"},[m("div",{class:["v-slider-thumb__label"]},[m("div",null,[(ee=(Q=n["thumb-label"])==null?void 0:Q.call(n,{modelValue:e.modelValue}))!=null?ee:e.modelValue.toFixed(o.value?b.value:1)])])]),[[zr,d.value&&e.focused||d.value==="always"]])]}})])}),{}}});const rQ=K({start:{type:Number,required:!0},stop:{type:Number,required:!0},...Se()},"VSliderTrack"),q2=te()({name:"VSliderTrack",props:rQ(),emits:{},setup(e,t){let{slots:n}=t;const r=ft(wb);if(!r)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:i,horizontalDirection:a,parsedTicks:s,rounded:o,showTicks:l,tickSize:u,trackColor:c,trackFillColor:d,trackSize:f,vertical:h,min:v,max:g}=r,{roundedClasses:y}=Dt(o),{backgroundColorClasses:p,backgroundColorStyles:b}=Ft(d),{backgroundColorClasses:S,backgroundColorStyles:T}=Ft(c),V=_(()=>`inset-${h.value?"block-end":"inline-start"}`),O=_(()=>h.value?"height":"width"),N=_(()=>({[V.value]:"0%",[O.value]:"100%"})),I=_(()=>e.stop-e.start),x=_(()=>({[V.value]:xe(e.start,"%"),[O.value]:xe(I.value,"%")})),$=_(()=>l.value?(h.value?s.value.slice().reverse():s.value).map((w,A)=>{var G,j;const M=h.value?"bottom":"margin-inline-start",J=w.value!==v.value&&w.value!==g.value?xe(w.position,"%"):void 0;return m("div",{key:w.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":w.position>=e.start&&w.position<=e.stop,"v-slider-track__tick--first":w.value===v.value,"v-slider-track__tick--last":w.value===g.value}],style:{[M]:J}},[(w.label||n["tick-label"])&&m("div",{class:"v-slider-track__tick-label"},[(j=(G=n["tick-label"])==null?void 0:G.call(n,{tick:w,index:A}))!=null?j:w.label])])}):[]);return oe(()=>m("div",{class:["v-slider-track",y.value,e.class],style:[{"--v-slider-track-size":xe(f.value),"--v-slider-tick-size":xe(u.value),direction:h.value?void 0:a.value},e.style]},[m("div",{class:["v-slider-track__background",S.value,{"v-slider-track__background--opacity":!!i.value||!d.value}],style:{...N.value,...T.value}},null),m("div",{class:["v-slider-track__fill",p.value],style:{...x.value,...b.value}},null),l.value&&m("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":l.value==="always"}]},[$.value])])),{}}}),iQ=K({...yh(),...U2(),...Fi(),modelValue:{type:[Number,String],default:0}},"VSlider"),Pg=te()({name:"VSlider",props:iQ(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const i=ve(),{rtlClasses:a}=dn(),s=z2(e),o=ze(e,"modelValue",void 0,O=>s.roundValue(O==null?s.min.value:O)),{min:l,max:u,mousePressed:c,roundValue:d,onSliderMousedown:f,onSliderTouchstart:h,trackContainerRef:v,position:g,hasLabels:y,readonly:p}=H2({props:e,steps:s,onSliderStart:()=>{r("start",o.value)},onSliderEnd:O=>{let{value:N}=O;const I=d(N);o.value=I,r("end",I)},onSliderMove:O=>{let{value:N}=O;return o.value=d(N)},getActiveThumb:()=>{var O;return(O=i.value)==null?void 0:O.$el}}),{isFocused:b,focus:S,blur:T}=ba(e),V=_(()=>g(o.value));return oe(()=>{const[O,N]=gn.filterProps(e),I=!!(e.label||n.label||n.prepend);return m(gn,ye({class:["v-slider",{"v-slider--has-labels":!!n["tick-label"]||y.value,"v-slider--focused":b.value,"v-slider--pressed":c.value,"v-slider--disabled":e.disabled},a.value,e.class],style:e.style},O,{focused:b.value}),{...n,prepend:I?x=>{var $,E,w;return m(Ee,null,[((E=($=n.label)==null?void 0:$.call(n,x))!=null?E:e.label)?m(Lo,{id:x.id.value,class:"v-slider__label",text:e.label},null):void 0,(w=n.prepend)==null?void 0:w.call(n,x)])}:void 0,default:x=>{let{id:$,messagesId:E}=x;return m("div",{class:"v-slider__container",onMousedown:p.value?void 0:f,onTouchstartPassive:p.value?void 0:h},[m("input",{id:$.value,name:e.name||$.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:o.value},null),m(q2,{ref:v,start:0,stop:V.value},{"tick-label":n["tick-label"]}),m(kg,{ref:i,"aria-describedby":E.value,focused:b.value,min:l.value,max:u.value,modelValue:o.value,"onUpdate:modelValue":w=>o.value=w,position:V.value,elevation:e.elevation,onFocus:S,onBlur:T},{"thumb-label":n["thumb-label"]})])}})}),{}}}),aQ=K({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...Se()},"VColorPickerPreview"),sQ=wr({name:"VColorPickerPreview",props:aQ(),emits:{"update:color":e=>!0},setup(e,t){let{emit:n}=t;return oe(()=>{var r,i,a,s;return m("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":e.hideAlpha},e.class],style:e.style},[m("div",{class:"v-color-picker-preview__dot"},[m("div",{style:{background:hA((r=e.color)!=null?r:Al)}},null)]),m("div",{class:"v-color-picker-preview__sliders"},[m(Pg,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(i=e.color)==null?void 0:i.h,"onUpdate:modelValue":o=>{var l;return n("update:color",{...(l=e.color)!=null?l:Al,h:o})},step:0,min:0,max:360,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!e.hideAlpha&&m(Pg,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:(s=(a=e.color)==null?void 0:a.a)!=null?s:1,"onUpdate:modelValue":o=>{var l;return n("update:color",{...(l=e.color)!=null?l:Al,a:o})},step:1/256,min:0,max:1,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}});const oQ=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),lQ=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),uQ=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),cQ=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),dQ=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),fQ=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),hQ=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),mQ=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),vQ=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),gQ=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),pQ=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),yQ=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),bQ=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),_Q=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),wQ=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),SQ=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),CQ=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),xQ=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),EQ=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),TQ=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"}),IQ=Object.freeze({red:oQ,pink:lQ,purple:uQ,deepPurple:cQ,indigo:dQ,blue:fQ,lightBlue:hQ,cyan:mQ,teal:vQ,green:gQ,lightGreen:pQ,lime:yQ,yellow:bQ,amber:_Q,orange:wQ,deepOrange:SQ,brown:CQ,blueGrey:xQ,grey:EQ,shades:TQ}),AQ=K({swatches:{type:Array,default:()=>kQ(IQ)},disabled:Boolean,color:Object,maxHeight:[Number,String],...Se()},"VColorPickerSwatches");function kQ(e){return Object.keys(e).map(t=>{const n=e[t];return n.base?[n.base,n.darken4,n.darken3,n.darken2,n.darken1,n.lighten1,n.lighten2,n.lighten3,n.lighten4,n.lighten5]:[n.black,n.white,n.transparent]})}const PQ=wr({name:"VColorPickerSwatches",props:AQ(),emits:{"update:color":e=>!0},setup(e,t){let{emit:n}=t;return oe(()=>m("div",{class:["v-color-picker-swatches",e.class],style:[{maxHeight:xe(e.maxHeight)},e.style]},[m("div",null,[e.swatches.map(r=>m("div",{class:"v-color-picker-swatches__swatch"},[r.map(i=>{const a=Nr(i),s=dh(a),o=fA(a);return m("div",{class:"v-color-picker-swatches__color",onClick:()=>s&&n("update:color",s)},[m("div",{style:{background:o}},[e.color&&ys(e.color,s)?m(vt,{size:"x-small",icon:"$success",color:dG(i,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}});const W2=K({color:String,...sr(),...Se(),...Cr(),...Zt(),...ga(),...No(),...It(),...qe(),...nt()},"VSheet"),Vg=te()({name:"VSheet",props:W2(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=lt(e),{backgroundColorClasses:i,backgroundColorStyles:a}=Ft(ie(e,"color")),{borderClasses:s}=Er(e),{dimensionStyles:o}=xr(e),{elevationClasses:l}=pn(e),{locationStyles:u}=pa(e),{positionClasses:c}=Fo(e),{roundedClasses:d}=Dt(e);return oe(()=>m(e.tag,{class:["v-sheet",r.value,i.value,s.value,l.value,c.value,d.value,e.class],style:[a.value,o.value,u.value,e.style]},n)),{}}}),VQ=K({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(Za).includes(e)},modes:{type:Array,default:()=>Object.keys(Za),validator:e=>Array.isArray(e)&&e.every(t=>Object.keys(Za).includes(t))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},..._r(W2({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),RQ=wr({name:"VColorPicker",props:VQ(),emits:{"update:modelValue":e=>!0,"update:mode":e=>!0},setup(e){const t=ze(e,"mode"),n=ve(null),r=ze(e,"modelValue",void 0,s=>{if(s==null||s==="")return null;let o;try{o=dh(Nr(s))}catch(l){return yi(l),null}return n.value&&(o={...o,h:n.value.h},n.value=null),o},s=>s?KX(s,e.modelValue):null),{rtlClasses:i}=dn(),a=s=>{r.value=s,n.value=s};return On(()=>{e.modes.includes(t.value)||(t.value=e.modes[0])}),Gt({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),oe(()=>{var o;const[s]=Vg.filterProps(e);return m(Vg,ye({rounded:e.rounded,elevation:e.elevation,theme:e.theme,class:["v-color-picker",i.value,e.class],style:[{"--v-color-picker-color-hsv":hA({...(o=r.value)!=null?o:Al,a:1})},e.style]},s,{maxWidth:e.width}),{default:()=>[!e.hideCanvas&&m(WX,{key:"canvas",color:r.value,"onUpdate:color":a,disabled:e.disabled,dotSize:e.dotSize,width:e.width,height:e.canvasHeight},null),(!e.hideSliders||!e.hideInputs)&&m("div",{key:"controls",class:"v-color-picker__controls"},[!e.hideSliders&&m(sQ,{key:"preview",color:r.value,"onUpdate:color":a,hideAlpha:!t.value.endsWith("a"),disabled:e.disabled},null),!e.hideInputs&&m(eQ,{key:"edit",modes:e.modes,mode:t.value,"onUpdate:mode":l=>t.value=l,color:r.value,"onUpdate:color":a,disabled:e.disabled},null)]),e.showSwatches&&m(PQ,{key:"swatches",color:r.value,"onUpdate:color":a,maxHeight:e.swatchesMaxHeight,swatches:e.swatches,disabled:e.disabled},null)]})}),{}}});function OQ(e,t,n){if(t==null)return e;if(Array.isArray(t))throw new Error("Multiple matches is not implemented");return typeof t=="number"&&~t?m(Ee,null,[m("span",{class:"v-combobox__unmask"},[e.substr(0,t)]),m("span",{class:"v-combobox__mask"},[e.substr(t,n)]),m("span",{class:"v-combobox__unmask"},[e.substr(t+n)])]):e}const MQ=K({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...T2({filterKeys:["title"]}),...bb({hideNoData:!0,returnObject:!0}),..._r(Eh({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...$i({transition:!1})},"VCombobox"),DQ=te()({name:"VCombobox",props:MQ(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:search":e=>!0,"update:menu":e=>!0},setup(e,t){var ge,Ve;let{emit:n,slots:r}=t;const{t:i}=Sr(),a=ve(),s=_e(!1),o=_e(!0),l=_e(!1),u=ve(),c=ve(),d=ze(e,"menu"),f=_({get:()=>d.value,set:ne=>{var k;d.value&&!ne&&((k=u.value)==null?void 0:k.\u03A8openChildren)||(d.value=ne)}}),h=_e(-1);let v=!1;const g=_(()=>{var ne;return(ne=a.value)==null?void 0:ne.color}),y=_(()=>f.value?e.closeText:e.openText),{items:p,transformIn:b,transformOut:S}=vb(e),{textColorClasses:T,textColorStyles:V}=Rn(g),O=ze(e,"modelValue",[],ne=>b(yr(ne)),ne=>{var D;const k=S(ne);return e.multiple?k:(D=k[0])!=null?D:null}),N=bh(),I=_e(e.multiple?"":(Ve=(ge=O.value[0])==null?void 0:ge.title)!=null?Ve:""),x=_({get:()=>I.value,set:ne=>{var k;if(I.value=ne,e.multiple||(O.value=[Ks(e,ne)]),ne&&e.multiple&&((k=e.delimiters)==null?void 0:k.length)){const D=ne.split(new RegExp(`(?:${e.delimiters.join("|")})+`));D.length>1&&(D.forEach(U=>{U=U.trim(),U&&Z(Ks(e,U))}),I.value="")}ne||(h.value=-1),o.value=!ne}});we(I,ne=>{v?yt(()=>v=!1):s.value&&!f.value&&(f.value=!0),n("update:search",ne)}),we(O,ne=>{var k,D;e.multiple||(I.value=(D=(k=ne[0])==null?void 0:k.title)!=null?D:"")});const{filteredItems:$,getMatches:E}=I2(e,p,()=>o.value?"":x.value),w=_(()=>O.value.map(ne=>p.value.find(k=>{const D=Cn(k.raw,e.itemValue),U=Cn(ne.raw,e.itemValue);return D===void 0||U===void 0?!1:e.returnObject?e.valueComparator(D,U):e.valueComparator(k.value,ne.value)})||ne)),A=_(()=>e.hideSelected?$.value.filter(ne=>!w.value.some(k=>k.value===ne.value)):$.value),M=_(()=>w.value.map(ne=>ne.props.value)),J=_(()=>w.value[h.value]),G=_(()=>{var k;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&x.value===((k=A.value[0])==null?void 0:k.title))&&A.value.length>0&&!o.value&&!l.value}),j=_(()=>e.hideNoData&&!p.value.length||e.readonly||(N==null?void 0:N.isReadonly.value)),B=ve(),{onListScroll:Q,onListKeydown:ee}=yb(B,a);function re(ne){v=!0,e.openOnClear&&(f.value=!0)}function me(){j.value||(f.value=!0)}function de(ne){j.value||(s.value&&(ne.preventDefault(),ne.stopPropagation()),f.value=!f.value)}function ke(ne){var U;if(e.readonly||(N==null?void 0:N.isReadonly.value))return;const k=a.value.selectionStart,D=M.value.length;if((h.value>-1||["Enter","ArrowDown","ArrowUp"].includes(ne.key))&&ne.preventDefault(),["Enter","ArrowDown"].includes(ne.key)&&(f.value=!0),["Escape"].includes(ne.key)&&(f.value=!1),["Enter","Escape","Tab"].includes(ne.key)&&(G.value&&["Enter","Tab"].includes(ne.key)&&Z($.value[0]),o.value=!0),ne.key==="ArrowDown"&&G.value&&((U=B.value)==null||U.focus("next")),!!e.multiple){if(["Backspace","Delete"].includes(ne.key)){if(h.value<0){ne.key==="Backspace"&&!x.value&&(h.value=D-1);return}const R=h.value;J.value&&Z(J.value),h.value=R>=D-1?D-2:R}if(ne.key==="ArrowLeft"){if(h.value<0&&k>0)return;const R=h.value>-1?h.value-1:D-1;w.value[R]?h.value=R:(h.value=-1,a.value.setSelectionRange(x.value.length,x.value.length))}if(ne.key==="ArrowRight"){if(h.value<0)return;const R=h.value+1;w.value[R]?h.value=R:(h.value=-1,a.value.setSelectionRange(0,0))}ne.key==="Enter"&&x.value&&(Z(Ks(e,x.value)),x.value="")}}function Ne(){var ne;s.value&&(o.value=!0,(ne=a.value)==null||ne.focus())}function Z(ne){if(e.multiple){const k=M.value.findIndex(D=>e.valueComparator(D,ne.value));if(k===-1)O.value=[...O.value,ne];else{const D=[...O.value];D.splice(k,1),O.value=D}x.value=""}else O.value=[ne],I.value=ne.title,yt(()=>{f.value=!1,o.value=!0})}function Re(ne){s.value=!0,setTimeout(()=>{l.value=!0})}function Be(ne){l.value=!1}function ut(ne){(ne==null||ne===""&&!e.multiple)&&(O.value=[])}return we($,ne=>{!ne.length&&e.hideNoData&&(f.value=!1)}),we(s,(ne,k)=>{ne||ne===k||(h.value=-1,f.value=!1,G.value&&!l.value&&!w.value.some(D=>{let{value:U}=D;return U===A.value[0].value})?Z(A.value[0]):e.multiple&&x.value&&(O.value=[...O.value,Ks(e,x.value)],x.value=""))}),we(f,()=>{if(!e.hideSelected&&f.value&&w.value.length){const ne=A.value.findIndex(k=>w.value.some(D=>k.value===D.value));_t&&window.requestAnimationFrame(()=>{var k;ne>=0&&((k=c.value)==null||k.scrollToIndex(ne))})}}),oe(()=>{const ne=!!(e.chips||r.chip),k=!!(!e.hideNoData||A.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),D=O.value.length>0,[U]=cs.filterProps(e);return m(cs,ye({ref:a},U,{modelValue:x.value,"onUpdate:modelValue":[R=>x.value=R,ut],focused:s.value,"onUpdate:focused":R=>s.value=R,validationValue:O.externalValue,dirty:D,class:["v-combobox",{"v-combobox--active-menu":f.value,"v-combobox--chips":!!e.chips,"v-combobox--selection-slot":!!r.selection,"v-combobox--selecting-index":h.value>-1,[`v-combobox--${e.multiple?"multiple":"single"}`]:!0},e.class],style:e.style,readonly:e.readonly,placeholder:D?void 0:e.placeholder,"onClick:clear":re,"onMousedown:control":me,onKeydown:ke}),{...r,default:()=>m(Ee,null,[m(Sh,ye({ref:u,modelValue:f.value,"onUpdate:modelValue":R=>f.value=R,activator:"parent",contentClass:"v-combobox__content",disabled:j.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:Ne},e.menuProps),{default:()=>{var R;return[k&&m(_h,{ref:B,selected:M.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:F=>F.preventDefault(),onKeydown:ee,onFocusin:Re,onFocusout:Be,onScrollPassive:Q,tabindex:"-1",color:(R=e.itemColor)!=null?R:e.color},{default:()=>{var F,z,H,q;return[(F=r["prepend-item"])==null?void 0:F.call(r),!A.value.length&&!e.hideNoData&&((H=(z=r["no-data"])==null?void 0:z.call(r))!=null?H:m(ki,{title:i(e.noDataText)},null)),m(Th,{ref:c,renderless:!0,items:A.value},{default:Y=>{var be,pe;let{item:W,index:ue,itemRef:ae}=Y;const fe=ye(W.props,{ref:ae,key:ue,active:G.value&&ue===0?!0:void 0,onClick:()=>Z(W)});return(pe=(be=r.item)==null?void 0:be.call(r,{item:W,index:ue,props:fe}))!=null?pe:m(ki,fe,{prepend:Ae=>{let{isSelected:je}=Ae;return m(Ee,null,[e.multiple&&!e.hideSelected?m(bo,{key:W.value,modelValue:je,ripple:!1,tabindex:"-1"},null):void 0,W.props.prependIcon&&m(vt,{icon:W.props.prependIcon},null)])},title:()=>{var Ae,je,Ze;return o.value?W.title:OQ(W.title,(Ae=E(W))==null?void 0:Ae.title,(Ze=(je=x.value)==null?void 0:je.length)!=null?Ze:0)}})}}),(q=r["append-item"])==null?void 0:q.call(r)]}})]}}),w.value.map((R,F)=>{var q,Y;function z(W){W.stopPropagation(),W.preventDefault(),Z(R)}const H={"onClick:close":z,onMousedown(W){W.preventDefault(),W.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return m("div",{key:R.value,class:["v-combobox__selection",F===h.value&&["v-combobox__selection--selected",T.value]],style:F===h.value?V.value:{}},[ne?r.chip?m(dt,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:R.title}}},{default:()=>{var W;return[(W=r.chip)==null?void 0:W.call(r,{item:R,index:F,props:H})]}}):m(Uu,ye({key:"chip",closable:e.closableChips,size:"small",text:R.title},H),null):(Y=(q=r.selection)==null?void 0:q.call(r,{item:R,index:F}))!=null?Y:m("span",{class:"v-combobox__selection-text"},[R.title,e.multiple&&F!0},setup(e,t){let{slots:n}=t;const r=ze(e,"modelValue"),{scopeId:i}=Bo(),a=ve();function s(l){var d,f;const u=l.relatedTarget,c=l.target;if(u!==c&&((d=a.value)==null?void 0:d.contentEl)&&((f=a.value)==null?void 0:f.globalTop)&&![document,a.value.contentEl].includes(c)&&!a.value.contentEl.contains(c)){const h=ou(a.value.contentEl);if(!h.length)return;const v=h[0],g=h[h.length-1];u===v?g.focus():v.focus()}}_t&&we(()=>r.value&&e.retainFocus,l=>{l?document.addEventListener("focusin",s):document.removeEventListener("focusin",s)},{immediate:!0}),we(r,async l=>{var u,c;await yt(),l?(u=a.value.contentEl)==null||u.focus({preventScroll:!0}):(c=a.value.activatorEl)==null||c.focus({preventScroll:!0})});const o=_(()=>ye({"aria-haspopup":"dialog","aria-expanded":String(r.value)},e.activatorProps));return oe(()=>{const[l]=Pi.filterProps(e);return m(Pi,ye({ref:a,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},l,{modelValue:r.value,"onUpdate:modelValue":u=>r.value=u,"aria-modal":"true",activatorProps:o.value,role:"dialog"},i),{activator:n.activator,default:function(){for(var u=arguments.length,c=new Array(u),d=0;d{var f;return[(f=n.default)==null?void 0:f.call(n,...c)]}})}})}),qr({},a)}});const hu=Symbol.for("vuetify:v-expansion-panel"),FQ=["default","accordion","inset","popout"],LQ=K({color:String,variant:{type:String,default:"default",validator:e=>FQ.includes(e)},readonly:Boolean,...Se(),...Oo(),...qe(),...nt()},"VExpansionPanels"),BQ=te()({name:"VExpansionPanels",props:LQ(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;xs(e,hu);const{themeClasses:r}=lt(e),i=_(()=>e.variant&&`v-expansion-panels--variant-${e.variant}`);return Gt({VExpansionPanel:{color:ie(e,"color")},VExpansionPanelTitle:{readonly:ie(e,"readonly")}}),oe(()=>m(e.tag,{class:["v-expansion-panels",r.value,i.value,e.class],style:e.style},n)),{}}}),jQ=K({...Se(),...wh()},"VExpansionPanelText"),G2=te()({name:"VExpansionPanelText",props:jQ(),setup(e,t){let{slots:n}=t;const r=ft(hu);if(!r)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:i,onAfterLeave:a}=gb(e,r.isSelected);return oe(()=>m(vh,{onAfterLeave:a},{default:()=>{var s;return[Je(m("div",{class:["v-expansion-panel-text",e.class],style:e.style},[n.default&&i.value&&m("div",{class:"v-expansion-panel-text__wrapper"},[(s=n.default)==null?void 0:s.call(n)])]),[[zr,r.isSelected.value]])]}})),{}}}),K2=K({color:String,expandIcon:{type:Le,default:"$expand"},collapseIcon:{type:Le,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...Se()},"VExpansionPanelTitle"),Y2=te()({name:"VExpansionPanelTitle",directives:{Ripple:ya},props:K2(),setup(e,t){let{slots:n}=t;const r=ft(hu);if(!r)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:i,backgroundColorStyles:a}=Ft(e,"color"),s=_(()=>({collapseIcon:e.collapseIcon,disabled:r.disabled.value,expanded:r.isSelected.value,expandIcon:e.expandIcon,readonly:e.readonly}));return oe(()=>{var o;return Je(m("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":r.isSelected.value},i.value,e.class],style:[a.value,e.style],type:"button",tabindex:r.disabled.value?-1:void 0,disabled:r.disabled.value,"aria-expanded":r.isSelected.value,onClick:e.readonly?void 0:r.toggle},[m("span",{class:"v-expansion-panel-title__overlay"},null),(o=n.default)==null?void 0:o.call(n,s.value),!e.hideActions&&m("span",{class:"v-expansion-panel-title__icon"},[n.actions?n.actions(s.value):m(vt,{icon:r.isSelected.value?e.collapseIcon:e.expandIcon},null)])]),[[rr("ripple"),e.ripple]])}),{}}}),UQ=K({title:String,text:String,bgColor:String,...Se(),...Zt(),...Mo(),...wh(),...It(),...qe(),...K2()},"VExpansionPanel"),zQ=te()({name:"VExpansionPanel",props:UQ(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const r=Do(e,hu),{backgroundColorClasses:i,backgroundColorStyles:a}=Ft(e,"bgColor"),{elevationClasses:s}=pn(e),{roundedClasses:o}=Dt(e),l=_(()=>(r==null?void 0:r.disabled.value)||e.disabled),u=_(()=>r.group.items.value.reduce((f,h,v)=>(r.group.selected.value.includes(h.id)&&f.push(v),f),[])),c=_(()=>{const f=r.group.items.value.findIndex(h=>h.id===r.id);return!r.isSelected.value&&u.value.some(h=>h-f===1)}),d=_(()=>{const f=r.group.items.value.findIndex(h=>h.id===r.id);return!r.isSelected.value&&u.value.some(h=>h-f===-1)});return Rt(hu,r),Gt({VExpansionPanelText:{eager:ie(e,"eager")}}),oe(()=>{const f=!!(n.text||e.text),h=!!(n.title||e.title);return m(e.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":r.isSelected.value,"v-expansion-panel--before-active":c.value,"v-expansion-panel--after-active":d.value,"v-expansion-panel--disabled":l.value},o.value,i.value,e.class],style:[a.value,e.style]},{default:()=>{var v;return[m("div",{class:["v-expansion-panel__shadow",...s.value]},null),h&&m(Y2,{key:"title",collapseIcon:e.collapseIcon,color:e.color,expandIcon:e.expandIcon,hideActions:e.hideActions,ripple:e.ripple},{default:()=>[n.title?n.title():e.title]}),f&&m(G2,{key:"text"},{default:()=>[n.text?n.text():e.text]}),(v=n.default)==null?void 0:v.call(n)]}})}),{}}});const HQ=K({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:e=>typeof e=="boolean"||[1e3,1024].includes(e)},...Fi({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:e=>yr(e).every(t=>t!=null&&typeof t=="object")},...xh({clearable:!0})},"VFileInput"),qQ=te()({name:"VFileInput",inheritAttrs:!1,props:HQ(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const{t:a}=Sr(),s=ze(e,"modelValue"),{isFocused:o,focus:l,blur:u}=ba(e),c=_(()=>typeof e.showSize!="boolean"?e.showSize:void 0),d=_(()=>{var x;return((x=s.value)!=null?x:[]).reduce(($,E)=>{let{size:w=0}=E;return $+w},0)}),f=_(()=>Uw(d.value,c.value)),h=_(()=>{var x;return((x=s.value)!=null?x:[]).map($=>{const{name:E="",size:w=0}=$;return e.showSize?`${E} (${Uw(w,c.value)})`:E})}),v=_(()=>{var $,E;const x=(E=($=s.value)==null?void 0:$.length)!=null?E:0;return e.showSize?a(e.counterSizeString,x,f.value):a(e.counterString,x)}),g=ve(),y=ve(),p=ve(),b=_(()=>o.value||e.active),S=_(()=>["plain","underlined"].includes(e.variant));function T(){var x;p.value!==document.activeElement&&((x=p.value)==null||x.focus()),o.value||l()}function V(x){N(x)}function O(x){r("mousedown:control",x)}function N(x){var $;($=p.value)==null||$.click(),r("click:control",x)}function I(x){x.stopPropagation(),T(),yt(()=>{s.value=[],Wy(e["onClick:clear"],x)})}return we(s,x=>{(!Array.isArray(x)||!x.length)&&p.value&&(p.value.value="")}),oe(()=>{const x=!!(i.counter||e.counter),$=!!(x||i.details),[E,w]=bs(n),[{modelValue:A,...M}]=gn.filterProps(e),[J]=pb(e);return m(gn,ye({ref:g,modelValue:s.value,"onUpdate:modelValue":G=>s.value=G,class:["v-file-input",{"v-text-field--plain-underlined":S.value},e.class],style:e.style,"onClick:prepend":V},E,M,{centerAffix:!S.value,focused:o.value}),{...i,default:G=>{let{id:j,isDisabled:B,isDirty:Q,isReadonly:ee,isValid:re}=G;return m(Hu,ye({ref:y,"prepend-icon":e.prependIcon,onMousedown:O,onClick:N,"onClick:clear":I,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},J,{id:j.value,active:b.value||Q.value,dirty:Q.value,disabled:B.value,focused:o.value,error:re.value===!1}),{...i,default:me=>{var Ne;let{props:{class:de,...ke}}=me;return m(Ee,null,[m("input",ye({ref:p,type:"file",readonly:ee.value,disabled:B.value,multiple:e.multiple,name:e.name,onClick:Z=>{Z.stopPropagation(),ee.value&&Z.preventDefault(),T()},onChange:Z=>{var Be;if(!Z.target)return;const Re=Z.target;s.value=[...(Be=Re.files)!=null?Be:[]]},onFocus:T,onBlur:u},ke,w),null),m("div",{class:de},[!!((Ne=s.value)!=null&&Ne.length)&&(i.selection?i.selection({fileNames:h.value,totalBytes:d.value,totalBytesReadable:f.value}):e.chips?h.value.map(Z=>m(Uu,{key:Z,size:"small",color:e.color},{default:()=>[Z]})):h.value.join(", "))])])}})},details:$?G=>{var j,B;return m(Ee,null,[(j=i.details)==null?void 0:j.call(i,G),x&&m(Ee,null,[m("span",null,null),m(Ch,{active:!!((B=s.value)!=null&&B.length),value:v.value},i.counter)])])}:void 0})}),qr({},g,y,p)}});const WQ=K({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...sr(),...Se(),...Zt(),...Vo(),...It(),...qe({tag:"footer"}),...nt()},"VFooter"),GQ=te()({name:"VFooter",props:WQ(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=lt(e),{backgroundColorClasses:i,backgroundColorStyles:a}=Ft(ie(e,"color")),{borderClasses:s}=Er(e),{elevationClasses:o}=pn(e),{roundedClasses:l}=Dt(e),u=_e(32),{resizeRef:c}=si(h=>{!h.length||(u.value=h[0].target.clientHeight)}),d=_(()=>e.height==="auto"?u.value:parseInt(e.height,10)),{layoutItemStyles:f}=Ro({id:e.name,order:_(()=>parseInt(e.order,10)),position:_(()=>"bottom"),layoutSize:d,elementSize:_(()=>e.height==="auto"?void 0:d.value),active:_(()=>e.app),absolute:ie(e,"absolute")});return oe(()=>m(e.tag,{ref:c,class:["v-footer",r.value,i.value,s.value,o.value,l.value,e.class],style:[a.value,e.app?f.value:{height:xe(e.height)},e.style]},n)),{}}}),KQ=K({...Se(),...iY()},"VForm"),YQ=te()({name:"VForm",props:KQ(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const i=aY(e),a=ve();function s(l){l.preventDefault(),i.reset()}function o(l){const u=l,c=i.validate();u.then=c.then.bind(c),u.catch=c.catch.bind(c),u.finally=c.finally.bind(c),r("submit",u),u.defaultPrevented||c.then(d=>{var h;let{valid:f}=d;f&&((h=a.value)==null||h.submit())}),u.preventDefault()}return oe(()=>{var l;return m("form",{ref:a,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:s,onSubmit:o},[(l=n.default)==null?void 0:l.call(n,i)])}),qr(i,a)}});const XQ=K({fluid:{type:Boolean,default:!1},...Se(),...qe()},"VContainer"),QQ=te()({name:"VContainer",props:XQ(),setup(e,t){let{slots:n}=t;const{rtlClasses:r}=dn();return oe(()=>m(e.tag,{class:["v-container",{"v-container--fluid":e.fluid},r.value,e.class],style:e.style},n)),{}}}),X2=(()=>fh.reduce((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e),{}))(),Q2=(()=>fh.reduce((e,t)=>{const n="offset"+Vi(t);return e[n]={type:[String,Number],default:null},e},{}))(),J2=(()=>fh.reduce((e,t)=>{const n="order"+Vi(t);return e[n]={type:[String,Number],default:null},e},{}))(),I1={col:Object.keys(X2),offset:Object.keys(Q2),order:Object.keys(J2)};function JQ(e,t,n){let r=e;if(!(n==null||n===!1))return t&&(r+=`-${t.replace(e,"")}`),e==="col"&&(r="v-"+r),e==="col"&&(n===""||n===!0)||(r+=`-${n}`),r.toLowerCase()}const ZQ=["auto","start","end","center","baseline","stretch"],eJ=K({cols:{type:[Boolean,String,Number],default:!1},...X2,offset:{type:[String,Number],default:null},...Q2,order:{type:[String,Number],default:null},...J2,alignSelf:{type:String,default:null,validator:e=>ZQ.includes(e)},...Se(),...qe()},"VCol"),tJ=te()({name:"VCol",props:eJ(),setup(e,t){let{slots:n}=t;const r=_(()=>{const i=[];let a;for(a in I1)I1[a].forEach(o=>{const l=e[o],u=JQ(a,o,l);u&&i.push(u)});const s=i.some(o=>o.startsWith("v-col-"));return i.push({"v-col":!s||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),i});return()=>{var i;return Wt(e.tag,{class:[r.value,e.class],style:e.style},(i=n.default)==null?void 0:i.call(n))}}}),Sb=["start","end","center"],Z2=["space-between","space-around","space-evenly"];function Cb(e,t){return fh.reduce((n,r)=>{const i=e+Vi(r);return n[i]=t(),n},{})}const nJ=[...Sb,"baseline","stretch"],ek=e=>nJ.includes(e),tk=Cb("align",()=>({type:String,default:null,validator:ek})),rJ=[...Sb,...Z2],nk=e=>rJ.includes(e),rk=Cb("justify",()=>({type:String,default:null,validator:nk})),iJ=[...Sb,...Z2,"stretch"],ik=e=>iJ.includes(e),ak=Cb("alignContent",()=>({type:String,default:null,validator:ik})),A1={align:Object.keys(tk),justify:Object.keys(rk),alignContent:Object.keys(ak)},aJ={align:"align",justify:"justify",alignContent:"align-content"};function sJ(e,t,n){let r=aJ[e];if(n!=null)return t&&(r+=`-${t.replace(e,"")}`),r+=`-${n}`,r.toLowerCase()}const oJ=K({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:ek},...tk,justify:{type:String,default:null,validator:nk},...rk,alignContent:{type:String,default:null,validator:ik},...ak,...Se(),...qe()},"VRow"),lJ=te()({name:"VRow",props:oJ(),setup(e,t){let{slots:n}=t;const r=_(()=>{const i=[];let a;for(a in A1)A1[a].forEach(s=>{const o=e[s],l=sJ(a,s,o);l&&i.push(l)});return i.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),i});return()=>{var i;return Wt(e.tag,{class:["v-row",r.value,e.class],style:e.style},(i=n.default)==null?void 0:i.call(n))}}}),uJ=Hr("v-spacer","div","VSpacer"),cJ=K({disabled:Boolean,modelValue:{type:Boolean,default:void 0},..._2()},"VHover"),dJ=te()({name:"VHover",props:cJ(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=ze(e,"modelValue"),{runOpenDelay:i,runCloseDelay:a}=w2(e,s=>!e.disabled&&(r.value=s));return()=>{var s;return(s=n.default)==null?void 0:s.call(n,{isHovering:r.value,props:{onMouseenter:i,onMouseleave:a}})}}});const sk=Symbol.for("vuetify:v-item-group"),fJ=K({...Se(),...Oo({selectedClass:"v-item--selected"}),...qe(),...nt()},"VItemGroup"),hJ=te()({name:"VItemGroup",props:fJ(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=lt(e),{isSelected:i,select:a,next:s,prev:o,selected:l}=xs(e,sk);return()=>m(e.tag,{class:["v-item-group",r.value,e.class],style:e.style},{default:()=>{var u;return[(u=n.default)==null?void 0:u.call(n,{isSelected:i,select:a,next:s,prev:o,selected:l.value})]}})}}),mJ=te()({name:"VItem",props:Mo(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:r,select:i,toggle:a,selectedClass:s,value:o,disabled:l}=Do(e,sk);return()=>{var u;return(u=n.default)==null?void 0:u.call(n,{isSelected:r.value,selectedClass:s.value,select:i,toggle:a,value:o.value,disabled:l.value})}}});const vJ=Hr("v-kbd");const gJ=K({...Se(),...IA()},"VLayout"),pJ=te()({name:"VLayout",props:gJ(),setup(e,t){let{slots:n}=t;const{layoutClasses:r,layoutStyles:i,getLayoutItem:a,items:s,layoutRef:o}=AA(e);return oe(()=>{var l;return m("div",{ref:o,class:[r.value,e.class],style:[i.value,e.style]},[(l=n.default)==null?void 0:l.call(n)])}),{getLayoutItem:a,items:s}}});const yJ=K({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...Se(),...Vo()},"VLayoutItem"),bJ=te()({name:"VLayoutItem",props:yJ(),setup(e,t){let{slots:n}=t;const{layoutItemStyles:r}=Ro({id:e.name,order:_(()=>parseInt(e.order,10)),position:ie(e,"position"),elementSize:ie(e,"size"),layoutSize:ie(e,"size"),active:ie(e,"modelValue"),absolute:ie(e,"absolute")});return()=>{var i;return m("div",{class:["v-layout-item",e.class],style:[r.value,e.style]},[(i=n.default)==null?void 0:i.call(n)])}}}),_J=K({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...Se(),...Cr(),...qe(),...$i({transition:"fade-transition"})},"VLazy"),wJ=te()({name:"VLazy",directives:{intersect:Lu},props:_J(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{dimensionStyles:r}=xr(e),i=ze(e,"modelValue");function a(s){i.value||(i.value=s)}return oe(()=>Je(m(e.tag,{class:["v-lazy",e.class],style:[r.value,e.style]},{default:()=>[i.value&&m(Fr,{transition:e.transition,appear:!0},{default:()=>{var s;return[(s=n.default)==null?void 0:s.call(n)]}})]}),[[rr("intersect"),{handler:a,options:e.options},null]])),{}}});const SJ=K({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...Se()},"VLocaleProvider"),CJ=te()({name:"VLocaleProvider",props:SJ(),setup(e,t){let{slots:n}=t;const{rtlClasses:r}=OG(e);return oe(()=>{var i;return m("div",{class:["v-locale-provider",r.value,e.class],style:e.style},[(i=n.default)==null?void 0:i.call(n)])}),{}}});const xJ=K({scrollable:Boolean,...Se(),...qe({tag:"main"})},"VMain"),EJ=te()({name:"VMain",props:xJ(),setup(e,t){let{slots:n}=t;const{mainStyles:r}=aK(),{ssrBootStyles:i}=ws();return oe(()=>m(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[r.value,i.value,e.style]},{default:()=>{var a,s;return[e.scrollable?m("div",{class:"v-main__scroller"},[(a=n.default)==null?void 0:a.call(n)]):(s=n.default)==null?void 0:s.call(n)]}})),{}}});function TJ(e){let{rootEl:t,isSticky:n,layoutItemStyles:r}=e;const i=_e(!1),a=_e(0),s=_(()=>{const u=typeof i.value=="boolean"?"top":i.value;return[n.value?{top:"auto",bottom:"auto",height:void 0}:void 0,i.value?{[u]:xe(a.value)}:{top:r.value.top}]});On(()=>{we(n,u=>{u?window.addEventListener("scroll",l,{passive:!0}):window.removeEventListener("scroll",l)},{immediate:!0})}),Un(()=>{window.removeEventListener("scroll",l)});let o=0;function l(){var g;const u=o>window.scrollY?"up":"down",c=t.value.getBoundingClientRect(),d=parseFloat((g=r.value.top)!=null?g:0),f=window.scrollY-Math.max(0,a.value-d),h=c.height+Math.max(a.value,d)-window.scrollY-window.innerHeight,v=parseFloat(getComputedStyle(t.value).getPropertyValue("--v-body-scroll-y"))||0;c.height0;n--){if(e[n].t===e[n-1].t)continue;const r=k1(t),i=(e[n].d-e[n-1].d)/(e[n].t-e[n-1].t);t+=(i-r)*Math.abs(i),n===e.length-1&&(t*=.5)}return k1(t)*1e3}function kJ(){const e={};function t(i){Array.from(i.changedTouches).forEach(a=>{var o;((o=e[a.identifier])!=null?o:e[a.identifier]=new jW(AJ)).push([i.timeStamp,a])})}function n(i){Array.from(i.changedTouches).forEach(a=>{delete e[a.identifier]})}function r(i){var u;const a=(u=e[i])==null?void 0:u.values().reverse();if(!a)throw new Error(`No samples for touch id ${i}`);const s=a[0],o=[],l=[];for(const c of a){if(s[0]-c[0]>IJ)break;o.push({t:c[0],d:c[1].clientX}),l.push({t:c[0],d:c[1].clientY})}return{x:P1(o),y:P1(l),get direction(){const{x:c,y:d}=this,[f,h]=[Math.abs(c),Math.abs(d)];return f>h&&c>=0?"right":f>h&&c<=0?"left":h>f&&d>=0?"down":h>f&&d<=0?"up":PJ()}}}return{addMovement:t,endTouch:n,getVelocity:r}}function PJ(){throw new Error}function VJ(e){let{isActive:t,isTemporary:n,width:r,touchless:i,position:a}=e;On(()=>{window.addEventListener("touchstart",p,{passive:!0}),window.addEventListener("touchmove",b,{passive:!1}),window.addEventListener("touchend",S,{passive:!0})}),Un(()=>{window.removeEventListener("touchstart",p),window.removeEventListener("touchmove",b),window.removeEventListener("touchend",S)});const s=_(()=>["left","right"].includes(a.value)),{addMovement:o,endTouch:l,getVelocity:u}=kJ();let c=!1;const d=_e(!1),f=_e(0),h=_e(0);let v;function g(V,O){return(a.value==="left"?V:a.value==="right"?document.documentElement.clientWidth-V:a.value==="top"?V:a.value==="bottom"?document.documentElement.clientHeight-V:Ds())-(O?r.value:0)}function y(V){let O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const N=a.value==="left"?(V-h.value)/r.value:a.value==="right"?(document.documentElement.clientWidth-V-h.value)/r.value:a.value==="top"?(V-h.value)/r.value:a.value==="bottom"?(document.documentElement.clientHeight-V-h.value)/r.value:Ds();return O?Math.max(0,Math.min(1,N)):N}function p(V){if(i.value)return;const O=V.changedTouches[0].clientX,N=V.changedTouches[0].clientY,I=25,x=a.value==="left"?Odocument.documentElement.clientWidth-I:a.value==="top"?Ndocument.documentElement.clientHeight-I:Ds(),$=t.value&&(a.value==="left"?Odocument.documentElement.clientWidth-r.value:a.value==="top"?Ndocument.documentElement.clientHeight-r.value:Ds());(x||$||t.value&&n.value)&&(c=!0,v=[O,N],h.value=g(s.value?O:N,t.value),f.value=y(s.value?O:N),l(V),o(V))}function b(V){const O=V.changedTouches[0].clientX,N=V.changedTouches[0].clientY;if(c){if(!V.cancelable){c=!1;return}const x=Math.abs(O-v[0]),$=Math.abs(N-v[1]);(s.value?x>$&&x>3:$>x&&$>3)?(d.value=!0,c=!1):(s.value?$:x)>3&&(c=!1)}if(!d.value)return;V.preventDefault(),o(V);const I=y(s.value?O:N,!1);f.value=Math.max(0,Math.min(1,I)),I>1?h.value=g(s.value?O:N,!0):I<0&&(h.value=g(s.value?O:N,!1))}function S(V){if(c=!1,!d.value)return;o(V),d.value=!1;const O=u(V.changedTouches[0].identifier),N=Math.abs(O.x),I=Math.abs(O.y);(s.value?N>I&&N>400:I>N&&I>3)?t.value=O.direction===({left:"right",right:"left",top:"down",bottom:"up"}[a.value]||Ds()):t.value=f.value>.5}const T=_(()=>d.value?{transform:a.value==="left"?`translateX(calc(-100% + ${f.value*r.value}px))`:a.value==="right"?`translateX(calc(100% - ${f.value*r.value}px))`:a.value==="top"?`translateY(calc(-100% + ${f.value*r.value}px))`:a.value==="bottom"?`translateY(calc(100% - ${f.value*r.value}px))`:Ds(),transition:"none"}:void 0);return{isDragging:d,dragProgress:f,dragStyles:T}}function Ds(){throw new Error}const RJ=["start","end","left","right","top","bottom"],OJ=K({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>RJ.includes(e)},sticky:Boolean,...sr(),...Se(),...Zt(),...Vo(),...It(),...qe({tag:"nav"}),...nt()},"VNavigationDrawer"),MJ=te()({name:"VNavigationDrawer",props:OJ(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const{isRtl:a}=dn(),{themeClasses:s}=lt(e),{borderClasses:o}=Er(e),{backgroundColorClasses:l,backgroundColorStyles:u}=Ft(ie(e,"color")),{elevationClasses:c}=pn(e),{mobile:d}=_s(),{roundedClasses:f}=Dt(e),h=LA(),v=ze(e,"modelValue",null,Q=>!!Q),{ssrBootStyles:g}=ws(),{scopeId:y}=Bo(),p=ve(),b=_e(!1),S=_(()=>e.rail&&e.expandOnHover&&b.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),T=_(()=>ag(e.location,a.value)),V=_(()=>!e.permanent&&(d.value||e.temporary)),O=_(()=>e.sticky&&!V.value&&T.value!=="bottom");e.expandOnHover&&e.rail!=null&&we(b,Q=>r("update:rail",!Q)),e.disableResizeWatcher||we(V,Q=>!e.permanent&&yt(()=>v.value=!Q)),!e.disableRouteWatcher&&h&&we(h.currentRoute,()=>V.value&&(v.value=!1)),we(()=>e.permanent,Q=>{Q&&(v.value=!0)}),hf(()=>{e.modelValue!=null||V.value||(v.value=e.permanent||!d.value)});const{isDragging:N,dragProgress:I,dragStyles:x}=VJ({isActive:v,isTemporary:V,width:S,touchless:ie(e,"touchless"),position:T}),$=_(()=>{const Q=V.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):S.value;return N.value?Q*I.value:Q}),{layoutItemStyles:E,layoutItemScrimStyles:w}=Ro({id:e.name,order:_(()=>parseInt(e.order,10)),position:T,layoutSize:$,elementSize:S,active:_(()=>v.value||N.value),disableTransitions:_(()=>N.value),absolute:_(()=>e.absolute||O.value&&typeof A.value!="string")}),{isStuck:A,stickyStyles:M}=TJ({rootEl:p,isSticky:O,layoutItemStyles:E}),J=Ft(_(()=>typeof e.scrim=="string"?e.scrim:null)),G=_(()=>({...N.value?{opacity:I.value*.2,transition:"none"}:void 0,...w.value}));Gt({VList:{bgColor:"transparent"}});function j(){b.value=!0}function B(){b.value=!1}return oe(()=>{const Q=i.image||e.image;return m(Ee,null,[m(e.tag,ye({ref:p,onMouseenter:j,onMouseleave:B,class:["v-navigation-drawer",`v-navigation-drawer--${T.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":b.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":V.value,"v-navigation-drawer--active":v.value,"v-navigation-drawer--sticky":O.value},s.value,l.value,o.value,c.value,f.value,e.class],style:[u.value,E.value,x.value,g.value,M.value,e.style]},y,n),{default:()=>{var ee,re,me,de;return[Q&&m("div",{key:"image",class:"v-navigation-drawer__img"},[i.image?(ee=i.image)==null?void 0:ee.call(i,{image:e.image}):m("img",{src:e.image,alt:""},null)]),i.prepend&&m("div",{class:"v-navigation-drawer__prepend"},[(re=i.prepend)==null?void 0:re.call(i)]),m("div",{class:"v-navigation-drawer__content"},[(me=i.default)==null?void 0:me.call(i)]),i.append&&m("div",{class:"v-navigation-drawer__append"},[(de=i.append)==null?void 0:de.call(i)])]}}),m(In,{name:"fade-transition"},{default:()=>[V.value&&(N.value||v.value)&&!!e.scrim&&m("div",ye({class:["v-navigation-drawer__scrim",J.backgroundColorClasses.value],style:[G.value,J.backgroundColorStyles.value],onClick:()=>v.value=!1},y),null)]})])}),{isStuck:A}}}),DJ=wr({name:"VNoSsr",setup(e,t){let{slots:n}=t;const r=S2();return()=>{var i;return r.value&&((i=n.default)==null?void 0:i.call(n))}}});function $J(){const e=ve([]);pS(()=>e.value=[]);function t(n,r){e.value[r]=n}return{refs:e,updateRef:t}}const NJ=K({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:e=>e.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:e=>e%1===0},totalVisible:[Number,String],firstIcon:{type:Le,default:"$first"},prevIcon:{type:Le,default:"$prev"},nextIcon:{type:Le,default:"$next"},lastIcon:{type:Le,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...sr(),...Se(),...en(),...Zt(),...It(),...Ni(),...qe({tag:"nav"}),...nt(),...Tr({variant:"text"})},"VPagination"),FJ=te()({name:"VPagination",props:NJ(),emits:{"update:modelValue":e=>!0,first:e=>!0,prev:e=>!0,next:e=>!0,last:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const i=ze(e,"modelValue"),{t:a,n:s}=Sr(),{isRtl:o}=dn(),{themeClasses:l}=lt(e),{width:u}=_s(),c=_e(-1);Gt(void 0,{scoped:!0});const{resizeRef:d}=si(I=>{if(!I.length)return;const{target:x,contentRect:$}=I[0],E=x.querySelector(".v-pagination__list > *");if(!E)return;const w=$.width,A=E.offsetWidth+parseFloat(getComputedStyle(E).marginRight)*2;c.value=g(w,A)}),f=_(()=>parseInt(e.length,10)),h=_(()=>parseInt(e.start,10)),v=_(()=>e.totalVisible?parseInt(e.totalVisible,10):c.value>=0?c.value:g(u.value,58));function g(I,x){const $=e.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((I-x*$)/x).toFixed(2)))}const y=_(()=>{if(f.value<=0||isNaN(f.value)||f.value>Number.MAX_SAFE_INTEGER)return[];if(v.value<=1)return[i.value];if(f.value<=v.value)return vi(f.value,h.value);const I=v.value%2===0,x=I?v.value/2:Math.floor(v.value/2),$=I?x:x+1,E=f.value-x;if($-i.value>=0)return[...vi(Math.max(1,v.value-1),h.value),e.ellipsis,f.value];if(i.value-E>=(I?1:0)){const w=v.value-1,A=f.value-w+h.value;return[h.value,e.ellipsis,...vi(w,A)]}else{const w=Math.max(1,v.value-3),A=w===1?i.value:i.value-Math.ceil(w/2)+h.value;return[h.value,e.ellipsis,...vi(w,A),e.ellipsis,f.value]}});function p(I,x,$){I.preventDefault(),i.value=x,$&&r($,x)}const{refs:b,updateRef:S}=$J();Gt({VPaginationBtn:{color:ie(e,"color"),border:ie(e,"border"),density:ie(e,"density"),size:ie(e,"size"),variant:ie(e,"variant"),rounded:ie(e,"rounded"),elevation:ie(e,"elevation")}});const T=_(()=>y.value.map((I,x)=>{const $=E=>S(E,x);if(typeof I=="string")return{isActive:!1,key:`ellipsis-${x}`,page:I,props:{ref:$,ellipsis:!0,icon:!0,disabled:!0}};{const E=I===i.value;return{isActive:E,key:I,page:s(I),props:{ref:$,ellipsis:!1,icon:!0,disabled:!!e.disabled||+e.length<2,color:E?e.activeColor:e.color,ariaCurrent:E,ariaLabel:a(E?e.currentPageAriaLabel:e.pageAriaLabel,I),onClick:w=>p(w,I)}}}})),V=_(()=>{const I=!!e.disabled||i.value<=h.value,x=!!e.disabled||i.value>=h.value+f.value-1;return{first:e.showFirstLastPage?{icon:o.value?e.lastIcon:e.firstIcon,onClick:$=>p($,h.value,"first"),disabled:I,ariaLabel:a(e.firstAriaLabel),ariaDisabled:I}:void 0,prev:{icon:o.value?e.nextIcon:e.prevIcon,onClick:$=>p($,i.value-1,"prev"),disabled:I,ariaLabel:a(e.previousAriaLabel),ariaDisabled:I},next:{icon:o.value?e.prevIcon:e.nextIcon,onClick:$=>p($,i.value+1,"next"),disabled:x,ariaLabel:a(e.nextAriaLabel),ariaDisabled:x},last:e.showFirstLastPage?{icon:o.value?e.firstIcon:e.lastIcon,onClick:$=>p($,h.value+f.value-1,"last"),disabled:x,ariaLabel:a(e.lastAriaLabel),ariaDisabled:x}:void 0}});function O(){var x;const I=i.value-h.value;(x=b.value[I])==null||x.$el.focus()}function N(I){I.key===rg.left&&!e.disabled&&i.value>+e.start?(i.value=i.value-1,yt(O)):I.key===rg.right&&!e.disabled&&i.valuem(e.tag,{ref:d,class:["v-pagination",l.value,e.class],style:e.style,role:"navigation","aria-label":a(e.ariaLabel),onKeydown:N,"data-test":"v-pagination-root"},{default:()=>[m("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&m("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[n.first?n.first(V.value.first):m(Bn,ye({_as:"VPaginationBtn"},V.value.first),null)]),m("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[n.prev?n.prev(V.value.prev):m(Bn,ye({_as:"VPaginationBtn"},V.value.prev),null)]),T.value.map((I,x)=>m("li",{key:I.key,class:["v-pagination__item",{"v-pagination__item--is-active":I.isActive}],"data-test":"v-pagination-item"},[n.item?n.item(I):m(Bn,ye({_as:"VPaginationBtn"},I.props),{default:()=>[I.page]})])),m("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[n.next?n.next(V.value.next):m(Bn,ye({_as:"VPaginationBtn"},V.value.next),null)]),e.showFirstLastPage&&m("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[n.last?n.last(V.value.last):m(Bn,ye({_as:"VPaginationBtn"},V.value.last),null)])])]})),{}}});function LJ(e){return Math.floor(Math.abs(e))*Math.sign(e)}const BJ=K({scale:{type:[Number,String],default:.5},...Se()},"VParallax"),jJ=te()({name:"VParallax",props:BJ(),setup(e,t){let{slots:n}=t;const{intersectionRef:r,isIntersecting:i}=ob(),{resizeRef:a,contentRect:s}=si(),{height:o}=_s(),l=ve();nr(()=>{var h;r.value=a.value=(h=l.value)==null?void 0:h.$el});let u;we(i,h=>{h?(u=Xy(r.value),u=u===document.scrollingElement?document:u,u.addEventListener("scroll",f,{passive:!0}),f()):u.removeEventListener("scroll",f)}),Un(()=>{u==null||u.removeEventListener("scroll",f)}),we(o,f),we(()=>{var h;return(h=s.value)==null?void 0:h.height},f);const c=_(()=>1-Tn(+e.scale));let d=-1;function f(){!i.value||(cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var V;const h=((V=l.value)==null?void 0:V.$el).querySelector(".v-img__img");if(!h)return;const v=u instanceof Document?document.documentElement.clientHeight:u.clientHeight,g=u instanceof Document?window.scrollY:u.scrollTop,y=r.value.getBoundingClientRect().top+g,p=s.value.height,b=y+(p-v)/2,S=LJ((g-b)*c.value),T=Math.max(1,(c.value*(v-p)+p)/p);h.style.setProperty("transform",`translateY(${S}px) scale(${T})`)}))}return oe(()=>m(ls,{class:["v-parallax",{"v-parallax--active":i.value},e.class],style:e.style,ref:l,cover:!0,onLoadstart:f,onLoad:f},n)),{}}}),UJ=K({...ph({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),zJ=te()({name:"VRadio",props:UJ(),setup(e,t){let{slots:n}=t;return oe(()=>m(us,ye(e,{class:["v-radio",e.class],style:e.style,type:"radio"}),n)),{}}});const HJ=K({height:{type:[Number,String],default:"auto"},...Fi(),..._r(hb(),["multiple"]),trueIcon:{type:Le,default:"$radioOn"},falseIcon:{type:Le,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),qJ=te()({name:"VRadioGroup",inheritAttrs:!1,props:HJ(),emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const i=Mn(),a=_(()=>e.id||`radio-group-${i}`),s=ze(e,"modelValue");return oe(()=>{const[o,l]=bs(n),[u,c]=gn.filterProps(e),[d,f]=us.filterProps(e),h=r.label?r.label({label:e.label,props:{for:a.value}}):e.label;return m(gn,ye({class:["v-radio-group",e.class],style:e.style},o,u,{modelValue:s.value,"onUpdate:modelValue":v=>s.value=v,id:a.value}),{...r,default:v=>{let{id:g,messagesId:y,isDisabled:p,isReadonly:b}=v;return m(Ee,null,[h&&m(Lo,{id:g.value},{default:()=>[h]}),m(XA,ye(d,{id:g.value,"aria-describedby":y.value,defaultsTarget:"VRadio",trueIcon:e.trueIcon,falseIcon:e.falseIcon,type:e.type,disabled:p.value,readonly:b.value,"aria-labelledby":h?g.value:void 0,multiple:!1},l,{modelValue:s.value,"onUpdate:modelValue":S=>s.value=S}),r)])}})}),{}}}),WJ=K({...yh(),...Fi(),...U2(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),GJ=te()({name:"VRangeSlider",props:WJ(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,end:e=>!0,start:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const i=ve(),a=ve(),s=ve(),{rtlClasses:o}=dn();function l(x){if(!i.value||!a.value)return;const $=Ag(x,i.value.$el,e.direction),E=Ag(x,a.value.$el,e.direction),w=Math.abs($),A=Math.abs(E);return wx!=null&&x.length?x.map($=>u.roundValue($)):[0,0]),{activeThumbRef:d,hasLabels:f,max:h,min:v,mousePressed:g,onSliderMousedown:y,onSliderTouchstart:p,position:b,trackContainerRef:S}=H2({props:e,steps:u,onSliderStart:()=>{r("start",c.value)},onSliderEnd:x=>{var w;let{value:$}=x;const E=d.value===((w=i.value)==null?void 0:w.$el)?[$,c.value[1]]:[c.value[0],$];!e.strict&&E[0]{var A,M,J,G;let{value:$}=x;const[E,w]=c.value;!e.strict&&E===w&&E!==v.value&&(d.value=$>E?(A=a.value)==null?void 0:A.$el:(M=i.value)==null?void 0:M.$el,(J=d.value)==null||J.focus()),d.value===((G=i.value)==null?void 0:G.$el)?c.value=[Math.min($,w),w]:c.value=[E,Math.max(E,$)]},getActiveThumb:l}),{isFocused:T,focus:V,blur:O}=ba(e),N=_(()=>b(c.value[0])),I=_(()=>b(c.value[1]));return oe(()=>{const[x,$]=gn.filterProps(e),E=!!(e.label||n.label||n.prepend);return m(gn,ye({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!n["tick-label"]||f.value,"v-slider--focused":T.value,"v-slider--pressed":g.value,"v-slider--disabled":e.disabled},o.value,e.class],style:e.style,ref:s},x,{focused:T.value}),{...n,prepend:E?w=>{var A,M,J;return m(Ee,null,[((M=(A=n.label)==null?void 0:A.call(n,w))!=null?M:e.label)?m(Lo,{class:"v-slider__label",text:e.label},null):void 0,(J=n.prepend)==null?void 0:J.call(n,w)])}:void 0,default:w=>{var J,G;let{id:A,messagesId:M}=w;return m("div",{class:"v-slider__container",onMousedown:y,onTouchstartPassive:p},[m("input",{id:`${A.value}_start`,name:e.name||A.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:c.value[0]},null),m("input",{id:`${A.value}_stop`,name:e.name||A.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:c.value[1]},null),m(q2,{ref:S,start:N.value,stop:I.value},{"tick-label":n["tick-label"]}),m(kg,{ref:i,"aria-describedby":M.value,focused:T&&d.value===((J=i.value)==null?void 0:J.$el),modelValue:c.value[0],"onUpdate:modelValue":j=>c.value=[j,c.value[1]],onFocus:j=>{var B,Q,ee,re;V(),d.value=(B=i.value)==null?void 0:B.$el,c.value[0]===c.value[1]&&c.value[1]===v.value&&j.relatedTarget!==((Q=a.value)==null?void 0:Q.$el)&&((ee=i.value)==null||ee.$el.blur(),(re=a.value)==null||re.$el.focus())},onBlur:()=>{O(),d.value=void 0},min:v.value,max:c.value[1],position:N.value},{"thumb-label":n["thumb-label"]}),m(kg,{ref:a,"aria-describedby":M.value,focused:T&&d.value===((G=a.value)==null?void 0:G.$el),modelValue:c.value[1],"onUpdate:modelValue":j=>c.value=[c.value[0],j],onFocus:j=>{var B,Q,ee,re;V(),d.value=(B=a.value)==null?void 0:B.$el,c.value[0]===c.value[1]&&c.value[0]===h.value&&j.relatedTarget!==((Q=i.value)==null?void 0:Q.$el)&&((ee=a.value)==null||ee.$el.blur(),(re=i.value)==null||re.$el.focus())},onBlur:()=>{O(),d.value=void 0},min:c.value[0],max:h.value,position:I.value},{"thumb-label":n["thumb-label"]})])}})}),{}}});const KJ=K({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:Le,default:"$ratingEmpty"},fullIcon:{type:Le,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},ripple:Boolean,...Se(),...en(),...Ni(),...qe(),...nt()},"VRating"),YJ=te()({name:"VRating",props:KJ(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{t:r}=Sr(),{themeClasses:i}=lt(e),a=ze(e,"modelValue"),s=_(()=>Tn(parseFloat(a.value),0,+e.length)),o=_(()=>vi(Number(e.length),1)),l=_(()=>o.value.flatMap(g=>e.halfIncrements?[g-.5,g]:[g])),u=_e(-1),c=_(()=>l.value.map(g=>{var N;const y=e.hover&&u.value>-1,p=s.value>=g,b=u.value>=g,T=(y?b:p)?e.fullIcon:e.emptyIcon,V=(N=e.activeColor)!=null?N:e.color,O=p||b?V:e.color;return{isFilled:p,isHovered:b,icon:T,color:O}})),d=_(()=>[0,...l.value].map(g=>{function y(){u.value=g}function p(){u.value=-1}function b(){e.disabled||e.readonly||(a.value=s.value===g&&e.clearable?0:g)}return{onMouseenter:e.hover?y:void 0,onMouseleave:e.hover?p:void 0,onClick:b}})),f=_(()=>{var g;return(g=e.name)!=null?g:`v-rating-${Mn()}`});function h(g){var I,x;let{value:y,index:p,showStar:b=!0}=g;const{onMouseenter:S,onMouseleave:T,onClick:V}=d.value[p+1],O=`${f.value}-${String(y).replace(".","-")}`,N={color:(I=c.value[p])==null?void 0:I.color,density:e.density,disabled:e.disabled,icon:(x=c.value[p])==null?void 0:x.icon,ripple:e.ripple,size:e.size,variant:"plain"};return m(Ee,null,[m("label",{for:O,class:{"v-rating__item--half":e.halfIncrements&&y%1>0,"v-rating__item--full":e.halfIncrements&&y%1===0},onMouseenter:S,onMouseleave:T,onClick:V},[m("span",{class:"v-rating__hidden"},[r(e.itemAriaLabel,y,e.length)]),b?n.item?n.item({...c.value[p],props:N,value:y,index:p,rating:s.value}):m(Bn,ye({"aria-label":r(e.itemAriaLabel,y,e.length)},N),null):void 0]),m("input",{class:"v-rating__hidden",name:f.value,id:O,type:"radio",value:y,checked:s.value===y,tabindex:-1,readonly:e.readonly,disabled:e.disabled},null)])}function v(g){return n["item-label"]?n["item-label"](g):g.label?m("span",null,[g.label]):m("span",null,[Gn("\xA0")])}return oe(()=>{var y;const g=!!((y=e.itemLabels)!=null&&y.length)||n["item-label"];return m(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},i.value,e.class],style:e.style},{default:()=>[m(h,{value:0,index:-1,showStar:!1},null),o.value.map((p,b)=>{var S,T;return m("div",{class:"v-rating__wrapper"},[g&&e.itemLabelPosition==="top"?v({value:p,index:b,label:(S=e.itemLabels)==null?void 0:S[b]}):void 0,m("div",{class:"v-rating__item"},[e.halfIncrements?m(Ee,null,[m(h,{value:p-.5,index:b*2},null),m(h,{value:p,index:b*2+1},null)]):m(h,{value:p,index:b},null)]),g&&e.itemLabelPosition==="bottom"?v({value:p,index:b,label:(T=e.itemLabels)==null?void 0:T[b]}):void 0])})]})}),{}}});function V1(e){const n=Math.abs(e);return Math.sign(e)*(n/((1/.501-2)*(1-n)+1))}function R1(e){let{selectedElement:t,containerSize:n,contentSize:r,isRtl:i,currentScrollOffset:a,isHorizontal:s}=e;const o=s?t.clientWidth:t.clientHeight,l=s?t.offsetLeft:t.offsetTop,u=i&&s?r-l-o:l,c=n+a,d=o+u,f=o*.4;return u<=a?a=Math.max(u-f,0):c<=d&&(a=Math.min(a-(c-d-f),r-n)),a}function XJ(e){let{selectedElement:t,containerSize:n,contentSize:r,isRtl:i,isHorizontal:a}=e;const s=a?t.clientWidth:t.clientHeight,o=a?t.offsetLeft:t.offsetTop,l=i&&a?r-o-s/2-n/2:o+s/2-n/2;return Math.min(r-n,Math.max(0,l))}const ok=Symbol.for("vuetify:v-slide-group"),lk=K({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:ok},nextIcon:{type:Le,default:"$next"},prevIcon:{type:Le,default:"$prev"},showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["always","desktop","mobile"].includes(e)},...Se(),...qe(),...Oo({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),Rg=te()({name:"VSlideGroup",props:lk(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isRtl:r}=dn(),{mobile:i}=_s(),a=xs(e,e.symbol),s=_e(!1),o=_e(0),l=_e(0),u=_e(0),c=_(()=>e.direction==="horizontal"),{resizeRef:d,contentRect:f}=si(),{resizeRef:h,contentRect:v}=si(),g=_(()=>a.selected.value.length?a.items.value.findIndex(ee=>ee.id===a.selected.value[0]):-1),y=_(()=>a.selected.value.length?a.items.value.findIndex(ee=>ee.id===a.selected.value[a.selected.value.length-1]):-1);if(_t){let ee=-1;we(()=>[a.selected.value,f.value,v.value,c.value],()=>{cancelAnimationFrame(ee),ee=requestAnimationFrame(()=>{if(f.value&&v.value){const re=c.value?"width":"height";l.value=f.value[re],u.value=v.value[re],s.value=l.value+1=0&&h.value){const re=h.value.children[y.value];g.value===0||!s.value?o.value=0:e.centerActive?o.value=XJ({selectedElement:re,containerSize:l.value,contentSize:u.value,isRtl:r.value,isHorizontal:c.value}):s.value&&(o.value=R1({selectedElement:re,containerSize:l.value,contentSize:u.value,isRtl:r.value,currentScrollOffset:o.value,isHorizontal:c.value}))}})})}const p=_e(!1);let b=0,S=0;function T(ee){const re=c.value?"clientX":"clientY";S=(r.value&&c.value?-1:1)*o.value,b=ee.touches[0][re],p.value=!0}function V(ee){if(!s.value)return;const re=c.value?"clientX":"clientY",me=r.value&&c.value?-1:1;o.value=me*(S+b-ee.touches[0][re])}function O(ee){const re=u.value-l.value;o.value<0||!s.value?o.value=0:o.value>=re&&(o.value=re),p.value=!1}function N(){!d.value||(d.value[c.value?"scrollLeft":"scrollTop"]=0)}const I=_e(!1);function x(ee){if(I.value=!0,!(!s.value||!h.value)){for(const re of ee.composedPath())for(const me of h.value.children)if(me===re){o.value=R1({selectedElement:me,containerSize:l.value,contentSize:u.value,isRtl:r.value,currentScrollOffset:o.value,isHorizontal:c.value});return}}}function $(ee){I.value=!1}function E(ee){var re;!I.value&&!(ee.relatedTarget&&((re=h.value)==null?void 0:re.contains(ee.relatedTarget)))&&A()}function w(ee){!h.value||(c.value?ee.key==="ArrowRight"?A(r.value?"prev":"next"):ee.key==="ArrowLeft"&&A(r.value?"next":"prev"):ee.key==="ArrowDown"?A("next"):ee.key==="ArrowUp"&&A("prev"),ee.key==="Home"?A("first"):ee.key==="End"&&A("last"))}function A(ee){var re,me,de,ke,Ne;if(!!h.value)if(!ee)(re=ou(h.value)[0])==null||re.focus();else if(ee==="next"){const Z=(me=h.value.querySelector(":focus"))==null?void 0:me.nextElementSibling;Z?Z.focus():A("first")}else if(ee==="prev"){const Z=(de=h.value.querySelector(":focus"))==null?void 0:de.previousElementSibling;Z?Z.focus():A("last")}else ee==="first"?(ke=h.value.firstElementChild)==null||ke.focus():ee==="last"&&((Ne=h.value.lastElementChild)==null||Ne.focus())}function M(ee){const re=o.value+(ee==="prev"?-1:1)*l.value;o.value=Tn(re,0,u.value-l.value)}const J=_(()=>{let ee=o.value>u.value-l.value?-(u.value-l.value)+V1(u.value-l.value-o.value):-o.value;o.value<=0&&(ee=V1(-o.value));const re=r.value&&c.value?-1:1;return{transform:`translate${c.value?"X":"Y"}(${re*ee}px)`,transition:p.value?"none":"",willChange:p.value?"transform":""}}),G=_(()=>({next:a.next,prev:a.prev,select:a.select,isSelected:a.isSelected})),j=_(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!i.value;case!0:return s.value||Math.abs(o.value)>0;case"mobile":return i.value||s.value||Math.abs(o.value)>0;default:return!i.value&&(s.value||Math.abs(o.value)>0)}}),B=_(()=>Math.abs(o.value)>0),Q=_(()=>u.value>Math.abs(o.value)+l.value);return oe(()=>m(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!c.value,"v-slide-group--has-affixes":j.value,"v-slide-group--is-overflowing":s.value},e.class],style:e.style,tabindex:I.value||a.selected.value.length?-1:0,onFocus:E},{default:()=>{var ee,re,me,de,ke;return[j.value&&m("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!B.value}],onClick:()=>M("prev")},[(re=(ee=n.prev)==null?void 0:ee.call(n,G.value))!=null?re:m(hg,null,{default:()=>[m(vt,{icon:r.value?e.nextIcon:e.prevIcon},null)]})]),m("div",{key:"container",ref:d,class:"v-slide-group__container",onScroll:N},[m("div",{ref:h,class:"v-slide-group__content",style:J.value,onTouchstartPassive:T,onTouchmovePassive:V,onTouchendPassive:O,onFocusin:x,onFocusout:$,onKeydown:w},[(me=n.default)==null?void 0:me.call(n,G.value)])]),j.value&&m("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!Q.value}],onClick:()=>M("next")},[(ke=(de=n.next)==null?void 0:de.call(n,G.value))!=null?ke:m(hg,null,{default:()=>[m(vt,{icon:r.value?e.prevIcon:e.nextIcon},null)]})])]}})),{selected:a.selected,scrollTo:M,scrollOffset:o,focus:A}}}),QJ=te()({name:"VSlideGroupItem",props:Mo(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const r=Do(e,ok);return()=>{var i;return(i=n.default)==null?void 0:i.call(n,{isSelected:r.isSelected.value,select:r.select,toggle:r.toggle,selectedClass:r.selectedClass.value})}}});const JJ=K({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,...ga({location:"bottom"}),...No(),...It(),...Tr(),...nt(),..._r(zu({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),ZJ=te()({name:"VSnackbar",props:JJ(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=ze(e,"modelValue"),{locationStyles:i}=pa(e),{positionClasses:a}=Fo(e),{scopeId:s}=Bo(),{themeClasses:o}=lt(e),{colorClasses:l,colorStyles:u,variantClasses:c}=Cs(e),{roundedClasses:d}=Dt(e),f=ve();we(r,v),we(()=>e.timeout,v),On(()=>{r.value&&v()});let h=-1;function v(){window.clearTimeout(h);const y=Number(e.timeout);!r.value||y===-1||(h=window.setTimeout(()=>{r.value=!1},y))}function g(){window.clearTimeout(h)}return oe(()=>{const[y]=Pi.filterProps(e);return m(Pi,ye({ref:f,class:["v-snackbar",{"v-snackbar--active":r.value,"v-snackbar--multi-line":e.multiLine&&!e.vertical,"v-snackbar--vertical":e.vertical},a.value,e.class],style:e.style},y,{modelValue:r.value,"onUpdate:modelValue":p=>r.value=p,contentProps:ye({class:["v-snackbar__wrapper",o.value,l.value,d.value,c.value],style:[i.value,u.value],onPointerenter:g,onPointerleave:v},y.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},s),{default:()=>[Ss(!1,"v-snackbar"),n.default&&m("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[n.default()]),n.actions&&m(dt,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[m("div",{class:"v-snackbar__actions"},[n.actions()])]})],activator:n.activator})}),qr({},f)}});const eZ=K({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...Fi(),...ph()},"VSwitch"),tZ=te()({name:"VSwitch",inheritAttrs:!1,props:eZ(),emits:{"update:focused":e=>!0,"update:modelValue":()=>!0,"update:indeterminate":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const i=ze(e,"indeterminate"),a=ze(e,"modelValue"),{loaderClasses:s}=gh(e),{isFocused:o,focus:l,blur:u}=ba(e),c=ve(),d=_(()=>typeof e.loading=="string"&&e.loading!==""?e.loading:e.color),f=Mn(),h=_(()=>e.id||`switch-${f}`);function v(){i.value&&(i.value=!1)}function g(y){var p,b;y.stopPropagation(),y.preventDefault(),(b=(p=c.value)==null?void 0:p.input)==null||b.click()}return oe(()=>{const[y,p]=bs(n),[b,S]=gn.filterProps(e),[T,V]=us.filterProps(e);return m(gn,ye({class:["v-switch",{"v-switch--inset":e.inset},{"v-switch--indeterminate":i.value},s.value,e.class],style:e.style},y,b,{id:h.value,focused:o.value}),{...r,default:O=>{let{id:N,messagesId:I,isDisabled:x,isReadonly:$,isValid:E}=O;return m(us,ye({ref:c},T,{modelValue:a.value,"onUpdate:modelValue":[w=>a.value=w,v],id:N.value,"aria-describedby":I.value,type:"checkbox","aria-checked":i.value?"mixed":void 0,disabled:x.value,readonly:$.value,onFocus:l,onBlur:u},p),{...r,default:w=>{let{backgroundColorClasses:A,backgroundColorStyles:M}=w;return m("div",{class:["v-switch__track",...A.value],style:M.value,onClick:g},null)},input:w=>{let{inputNode:A,icon:M,backgroundColorClasses:J,backgroundColorStyles:G}=w;return m(Ee,null,[A,m("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":M||e.loading},e.inset?void 0:J.value],style:e.inset?void 0:G.value},[m(nb,null,{default:()=>[e.loading?m(db,{name:"v-switch",active:!0,color:E.value===!1?void 0:d.value},{default:j=>r.loader?r.loader(j):m(lb,{active:j.isActive,color:j.color,indeterminate:!0,size:"16",width:"2"},null)}):M&&m(vt,{key:M,icon:M,size:"x-small"},null)]})])])}})}})}),{}}});const nZ=K({color:String,height:[Number,String],window:Boolean,...Se(),...Zt(),...Vo(),...It(),...qe(),...nt()},"VSystemBar"),rZ=te()({name:"VSystemBar",props:nZ(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=lt(e),{backgroundColorClasses:i,backgroundColorStyles:a}=Ft(ie(e,"color")),{elevationClasses:s}=pn(e),{roundedClasses:o}=Dt(e),{ssrBootStyles:l}=ws(),u=_(()=>{var d;return(d=e.height)!=null?d:e.window?32:24}),{layoutItemStyles:c}=Ro({id:e.name,order:_(()=>parseInt(e.order,10)),position:_e("top"),layoutSize:u,elementSize:u,active:_(()=>!0),absolute:ie(e,"absolute")});return oe(()=>m(e.tag,{class:["v-system-bar",{"v-system-bar--window":e.window},r.value,i.value,s.value,o.value,e.class],style:[a.value,c.value,l.value,e.style]},n)),{}}});const uk=Symbol.for("vuetify:v-tabs"),iZ=K({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},..._r(fb({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),ck=te()({name:"VTab",props:iZ(),setup(e,t){let{slots:n,attrs:r}=t;const{textColorClasses:i,textColorStyles:a}=Rn(e,"sliderColor"),s=_(()=>e.direction==="horizontal"),o=_e(!1),l=ve(),u=ve();function c(d){var h,v;let{value:f}=d;if(o.value=f,f){const g=(v=(h=l.value)==null?void 0:h.$el.parentElement)==null?void 0:v.querySelector(".v-tab--selected .v-tab__slider"),y=u.value;if(!g||!y)return;const p=getComputedStyle(g).color,b=g.getBoundingClientRect(),S=y.getBoundingClientRect(),T=s.value?"x":"y",V=s.value?"X":"Y",O=s.value?"right":"bottom",N=s.value?"width":"height",I=b[T],x=S[T],$=I>x?b[O]-S[O]:b[T]-S[T],E=Math.sign($)>0?s.value?"right":"bottom":Math.sign($)<0?s.value?"left":"top":"center",A=(Math.abs($)+(Math.sign($)<0?b[N]:S[N]))/Math.max(b[N],S[N])||0,M=b[N]/S[N]||0,J=1.5;Ka(y,{backgroundColor:[p,"currentcolor"],transform:[`translate${V}(${$}px) scale${V}(${M})`,`translate${V}(${$/J}px) scale${V}(${(A-1)/J+1})`,"none"],transformOrigin:Array(3).fill(E)},{duration:225,easing:lu})}}return oe(()=>{const[d]=Bn.filterProps(e);return m(Bn,ye({symbol:uk,ref:l,class:["v-tab",e.class],style:e.style,tabindex:o.value?0:-1,role:"tab","aria-selected":String(o.value),active:!1,block:e.fixed,maxWidth:e.fixed?300:void 0,rounded:0},d,r,{"onGroup:selected":c}),{default:()=>{var f,h;return[(h=(f=n.default)==null?void 0:f.call(n))!=null?h:e.text,!e.hideSlider&&m("div",{ref:u,class:["v-tab__slider",i.value],style:a.value},null)]}})}),{}}});function aZ(e){return e?e.map(t=>typeof t=="string"?{title:t,value:t}:t):[]}const sZ=K({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...lk({mandatory:"force"}),...en(),...qe()},"VTabs"),oZ=te()({name:"VTabs",props:sZ(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=ze(e,"modelValue"),i=_(()=>aZ(e.items)),{densityClasses:a}=Dn(e),{backgroundColorClasses:s,backgroundColorStyles:o}=Ft(ie(e,"bgColor"));return Gt({VTab:{color:ie(e,"color"),direction:ie(e,"direction"),stacked:ie(e,"stacked"),fixed:ie(e,"fixedTabs"),sliderColor:ie(e,"sliderColor"),hideSlider:ie(e,"hideSlider")}}),oe(()=>{const[l]=Rg.filterProps(e);return m(Rg,ye(l,{modelValue:r.value,"onUpdate:modelValue":u=>r.value=u,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},a.value,s.value,e.class],style:[{"--v-tabs-height":xe(e.height)},o.value,e.style],role:"tablist",symbol:uk}),{default:()=>[n.default?n.default():i.value.map(u=>m(ck,ye(u,{key:u.title}),null))]})}),{}}});const lZ=K({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...Se(),...en(),...qe(),...nt()},"VTable"),uZ=te()({name:"VTable",props:lZ(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=lt(e),{densityClasses:i}=Dn(e);return oe(()=>m(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!n.top,"v-table--has-bottom":!!n.bottom,"v-table--hover":e.hover},r.value,i.value,e.class],style:e.style},{default:()=>{var a,s,o;return[(a=n.top)==null?void 0:a.call(n),n.default?m("div",{class:"v-table__wrapper",style:{height:xe(e.height)}},[m("table",null,[n.default()])]):(s=n.wrapper)==null?void 0:s.call(n),(o=n.bottom)==null?void 0:o.call(n)]}})),{}}});const cZ=K({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,modelModifiers:Object,...Fi(),...xh()},"VTextarea"),dZ=te()({name:"VTextarea",directives:{Intersect:Lu},inheritAttrs:!1,props:cZ(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const a=ze(e,"modelValue"),{isFocused:s,focus:o,blur:l}=ba(e),u=_(()=>typeof e.counterValue=="function"?e.counterValue(a.value):(a.value||"").toString().length),c=_(()=>{if(n.maxlength)return n.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter});function d(E,w){var A,M;!e.autofocus||!E||(M=(A=w[0].target)==null?void 0:A.focus)==null||M.call(A)}const f=ve(),h=ve(),v=_e(""),g=ve(),y=_(()=>e.persistentPlaceholder||s.value||e.active);function p(){var E;g.value!==document.activeElement&&((E=g.value)==null||E.focus()),s.value||o()}function b(E){p(),r("click:control",E)}function S(E){r("mousedown:control",E)}function T(E){E.stopPropagation(),p(),yt(()=>{a.value="",Wy(e["onClick:clear"],E)})}function V(E){var A;const w=E.target;if(a.value=w.value,(A=e.modelModifiers)!=null&&A.trim){const M=[w.selectionStart,w.selectionEnd];yt(()=>{w.selectionStart=M[0],w.selectionEnd=M[1]})}}const O=ve(),N=ve(+e.rows),I=_(()=>["plain","underlined"].includes(e.variant));nr(()=>{e.autoGrow||(N.value=+e.rows)});function x(){!e.autoGrow||yt(()=>{if(!O.value||!h.value)return;const E=getComputedStyle(O.value),w=getComputedStyle(h.value.$el),A=parseFloat(E.getPropertyValue("--v-field-padding-top"))+parseFloat(E.getPropertyValue("--v-input-padding-top"))+parseFloat(E.getPropertyValue("--v-field-padding-bottom")),M=O.value.scrollHeight,J=parseFloat(E.lineHeight),G=Math.max(parseFloat(e.rows)*J+A,parseFloat(w.getPropertyValue("--v-input-control-height"))),j=parseFloat(e.maxRows)*J+A||1/0,B=Tn(M!=null?M:0,G,j);N.value=Math.floor((B-A)/J),v.value=xe(B)})}On(x),we(a,x),we(()=>e.rows,x),we(()=>e.maxRows,x),we(()=>e.density,x);let $;return we(O,E=>{E?($=new ResizeObserver(x),$.observe(O.value)):$==null||$.disconnect()}),Un(()=>{$==null||$.disconnect()}),oe(()=>{const E=!!(i.counter||e.counter||e.counterValue),w=!!(E||i.details),[A,M]=bs(n),[{modelValue:J,...G}]=gn.filterProps(e),[j]=pb(e);return m(gn,ye({ref:f,modelValue:a.value,"onUpdate:modelValue":B=>a.value=B,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-text-field--plain-underlined":I.value},e.class],style:e.style},A,G,{centerAffix:N.value===1&&!I.value,focused:s.value}),{...i,default:B=>{let{isDisabled:Q,isDirty:ee,isReadonly:re,isValid:me}=B;return m(Hu,ye({ref:h,style:{"--v-textarea-control-height":v.value},onClick:b,onMousedown:S,"onClick:clear":T,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},j,{active:y.value||ee.value,centerAffix:N.value===1&&!I.value,dirty:ee.value||e.dirty,disabled:Q.value,focused:s.value,error:me.value===!1}),{...i,default:de=>{let{props:{class:ke,...Ne}}=de;return m(Ee,null,[e.prefix&&m("span",{class:"v-text-field__prefix"},[e.prefix]),Je(m("textarea",ye({ref:g,class:ke,value:a.value,onInput:V,autofocus:e.autofocus,readonly:re.value,disabled:Q.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:p,onBlur:l},Ne,M),null),[[rr("intersect"),{handler:d},null,{once:!0}]]),e.autoGrow&&Je(m("textarea",{class:[ke,"v-textarea__sizer"],id:`${Ne.id}-sizer`,"onUpdate:modelValue":Z=>a.value=Z,ref:O,readonly:!0,"aria-hidden":"true"},null),[[dr,a.value]]),e.suffix&&m("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:w?B=>{var Q;return m(Ee,null,[(Q=i.details)==null?void 0:Q.call(i,B),E&&m(Ee,null,[m("span",null,null),m(Ch,{active:e.persistentCounter||s.value,value:u.value,max:c.value},i.counter)])])}:void 0})}),qr({},f,h,g)}});const fZ=K({withBackground:Boolean,...Se(),...nt(),...qe()},"VThemeProvider"),hZ=te()({name:"VThemeProvider",props:fZ(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=lt(e);return()=>{var i;return e.withBackground?m(e.tag,{class:["v-theme-provider",r.value,e.class],style:e.style},{default:()=>{var a;return[(a=n.default)==null?void 0:a.call(n)]}}):(i=n.default)==null?void 0:i.call(n)}}});const mZ=K({align:{type:String,default:"center",validator:e=>["center","start"].includes(e)},direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},justify:{type:String,default:"auto",validator:e=>["auto","center"].includes(e)},side:{type:String,validator:e=>e==null||["start","end"].includes(e)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:e=>["start","end","both"].includes(e)},...Se(),...en(),...qe(),...nt()},"VTimeline"),vZ=te()({name:"VTimeline",props:mZ(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=lt(e),{densityClasses:i}=Dn(e),{rtlClasses:a}=dn();Gt({VTimelineDivider:{lineColor:ie(e,"lineColor")},VTimelineItem:{density:ie(e,"density"),lineInset:ie(e,"lineInset")}});const s=_(()=>{const l=e.side?e.side:e.density!=="default"?"end":null;return l&&`v-timeline--side-${l}`}),o=_(()=>{const l=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(e.truncateLine){case"both":return l;case"start":return l[0];case"end":return l[1];default:return null}});return oe(()=>m(e.tag,{class:["v-timeline",`v-timeline--${e.direction}`,`v-timeline--align-${e.align}`,`v-timeline--justify-${e.justify}`,o.value,{"v-timeline--inset-line":!!e.lineInset},r.value,i.value,s.value,a.value,e.class],style:[{"--v-timeline-line-thickness":xe(e.lineThickness)},e.style]},n)),{}}}),gZ=K({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:Le,iconColor:String,lineColor:String,...Se(),...It(),...Ni(),...Zt()},"VTimelineDivider"),pZ=te()({name:"VTimelineDivider",props:gZ(),setup(e,t){let{slots:n}=t;const{sizeClasses:r,sizeStyles:i}=$o(e,"v-timeline-divider__dot"),{backgroundColorStyles:a,backgroundColorClasses:s}=Ft(ie(e,"dotColor")),{roundedClasses:o}=Dt(e,"v-timeline-divider__dot"),{elevationClasses:l}=pn(e),{backgroundColorClasses:u,backgroundColorStyles:c}=Ft(ie(e,"lineColor"));return oe(()=>m("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":e.fillDot},e.class],style:e.style},[m("div",{class:["v-timeline-divider__before",u.value],style:c.value},null),!e.hideDot&&m("div",{key:"dot",class:["v-timeline-divider__dot",l.value,o.value,r.value],style:i.value},[m("div",{class:["v-timeline-divider__inner-dot",s.value,o.value],style:a.value},[n.default?m(dt,{key:"icon-defaults",disabled:!e.icon,defaults:{VIcon:{color:e.iconColor,icon:e.icon,size:e.size}}},n.default):m(vt,{key:"icon",color:e.iconColor,icon:e.icon,size:e.size},null)])]),m("div",{class:["v-timeline-divider__after",u.value],style:c.value},null)])),{}}}),yZ=K({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:Le,iconColor:String,lineInset:[Number,String],...Se(),...Cr(),...Zt(),...It(),...Ni(),...qe()},"VTimelineItem"),bZ=te()({name:"VTimelineItem",props:yZ(),setup(e,t){let{slots:n}=t;const{dimensionStyles:r}=xr(e),i=_e(0),a=ve();return we(a,s=>{var o,l;!s||(i.value=(l=(o=s.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:o.getBoundingClientRect().width)!=null?l:0)},{flush:"post"}),oe(()=>{var s,o;return m("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":e.fillDot},e.class],style:[{"--v-timeline-dot-size":xe(i.value),"--v-timeline-line-inset":e.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${xe(e.lineInset)})`:xe(0)},e.style]},[m("div",{class:"v-timeline-item__body",style:r.value},[(s=n.default)==null?void 0:s.call(n)]),m(pZ,{ref:a,hideDot:e.hideDot,icon:e.icon,iconColor:e.iconColor,size:e.size,elevation:e.elevation,dotColor:e.dotColor,fillDot:e.fillDot,rounded:e.rounded},{default:n.icon}),e.density!=="compact"&&m("div",{class:"v-timeline-item__opposite"},[!e.hideOpposite&&((o=n.opposite)==null?void 0:o.call(n))])])}),{}}}),_Z=K({...Se(),...Tr({variant:"text"})},"VToolbarItems"),wZ=te()({name:"VToolbarItems",props:_Z(),setup(e,t){let{slots:n}=t;return Gt({VBtn:{color:ie(e,"color"),height:"inherit",variant:ie(e,"variant")}}),oe(()=>{var r;return m("div",{class:["v-toolbar-items",e.class],style:e.style},[(r=n.default)==null?void 0:r.call(n)])}),{}}});const SZ=K({id:String,text:String,..._r(zu({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),CZ=te()({name:"VTooltip",props:SZ(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=ze(e,"modelValue"),{scopeId:i}=Bo(),a=Mn(),s=_(()=>e.id||`v-tooltip-${a}`),o=ve(),l=_(()=>e.location.split(" ").length>1?e.location:e.location+" center"),u=_(()=>e.origin==="auto"||e.origin==="overlap"||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center"),c=_(()=>e.transition?e.transition:r.value?"scale-transition":"fade-transition"),d=_(()=>ye({"aria-describedby":s.value},e.activatorProps));return oe(()=>{const[f]=Pi.filterProps(e);return m(Pi,ye({ref:o,class:["v-tooltip",e.class],style:e.style,id:s.value},f,{modelValue:r.value,"onUpdate:modelValue":h=>r.value=h,transition:c.value,absolute:!0,location:l.value,origin:u.value,persistent:!0,role:"tooltip",activatorProps:d.value,_disableGlobalStack:!0},i),{activator:n.activator,default:function(){var y,p;for(var h=arguments.length,v=new Array(h),g=0;g!0},setup(e,t){let{slots:n}=t;const r=n2(e,"validation");return()=>{var i;return(i=n.default)==null?void 0:i.call(n,r)}}}),EZ=Object.freeze(Object.defineProperty({__proto__:null,VApp:uK,VAppBar:kK,VAppBarNavIcon:YK,VAppBarTitle:XK,VAlert:ZK,VAlertTitle:KA,VAutocomplete:yX,VAvatar:fa,VBadge:_X,VBanner:CX,VBannerActions:A2,VBannerText:k2,VBottomNavigation:EX,VBreadcrumbs:kX,VBreadcrumbsItem:V2,VBreadcrumbsDivider:P2,VBtn:Bn,VBtnGroup:gg,VBtnToggle:DK,VCard:RX,VCardActions:R2,VCardItem:D2,VCardSubtitle:O2,VCardText:$2,VCardTitle:M2,VCarousel:jX,VCarouselItem:zX,VCheckbox:oY,VCheckboxBtn:bo,VChip:Uu,VChipGroup:cY,VCode:HX,VColorPicker:RQ,VCombobox:DQ,VCounter:Ch,VDefaultsProvider:dt,VDialog:NQ,VDivider:h2,VExpansionPanels:BQ,VExpansionPanel:zQ,VExpansionPanelText:G2,VExpansionPanelTitle:Y2,VField:Hu,VFieldLabel:ll,VFileInput:qQ,VFooter:GQ,VForm:YQ,VContainer:QQ,VCol:tJ,VRow:lJ,VSpacer:uJ,VHover:dJ,VIcon:vt,VComponentIcon:cg,VSvgIcon:Zy,VLigatureIcon:xG,VClassIcon:eb,VImg:ls,VInput:gn,VItemGroup:hJ,VItem:mJ,VKbd:vJ,VLabel:Lo,VLayout:pJ,VLayoutItem:bJ,VLazy:wJ,VList:_h,VListGroup:_g,VListImg:VY,VListItem:ki,VListItemAction:OY,VListItemMedia:DY,VListItemSubtitle:c2,VListItemTitle:d2,VListSubheader:f2,VLocaleProvider:CJ,VMain:EJ,VMenu:Sh,VMessages:ZA,VNavigationDrawer:MJ,VNoSsr:DJ,VOverlay:Pi,VPagination:FJ,VParallax:jJ,VProgressCircular:lb,VProgressLinear:ub,VRadio:zJ,VRadioGroup:qJ,VRangeSlider:GJ,VRating:YJ,VResponsive:mg,VSelect:hX,VSelectionControl:us,VSelectionControlGroup:XA,VSheet:Vg,VSlideGroup:Rg,VSlideGroupItem:QJ,VSlider:Pg,VSnackbar:ZJ,VSwitch:tZ,VSystemBar:rZ,VTabs:oZ,VTab:ck,VTable:uZ,VTextarea:dZ,VTextField:cs,VThemeProvider:hZ,VTimeline:vZ,VTimelineItem:bZ,VToolbar:vg,VToolbarTitle:tb,VToolbarItems:wZ,VTooltip:CZ,VValidation:xZ,VVirtualScroll:Th,VWindow:xg,VWindowItem:Eg,VDialogTransition:mh,VFabTransition:fK,VDialogBottomTransition:hK,VDialogTopTransition:mK,VFadeTransition:hg,VScaleTransition:nb,VScrollXTransition:vK,VScrollXReverseTransition:gK,VScrollYTransition:pK,VScrollYReverseTransition:yK,VSlideXTransition:bK,VSlideXReverseTransition:_K,VSlideYTransition:rb,VSlideYReverseTransition:wK,VExpandTransition:vh,VExpandXTransition:ib},Symbol.toStringTag,{value:"Module"}));function TZ(e,t){var d,f,h,v;const n=t.modifiers||{},r=t.value,{once:i,immediate:a,...s}=n,o=!Object.keys(s).length,{handler:l,options:u}=typeof r=="object"?r:{handler:r,options:{attributes:(d=s==null?void 0:s.attr)!=null?d:o,characterData:(f=s==null?void 0:s.char)!=null?f:o,childList:(h=s==null?void 0:s.child)!=null?h:o,subtree:(v=s==null?void 0:s.sub)!=null?v:o}},c=new MutationObserver(function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],y=arguments.length>1?arguments[1]:void 0;l==null||l(g,y),i&&dk(e,t)});a&&(l==null||l([],c)),e._mutate=Object(e._mutate),e._mutate[t.instance.$.uid]={observer:c},c.observe(e,u)}function dk(e,t){var n;!((n=e._mutate)!=null&&n[t.instance.$.uid])||(e._mutate[t.instance.$.uid].observer.disconnect(),delete e._mutate[t.instance.$.uid])}const IZ={mounted:TZ,unmounted:dk};function AZ(e,t){var i,a;const n=t.value,r={passive:!((i=t.modifiers)!=null&&i.active)};window.addEventListener("resize",n,r),e._onResize=Object(e._onResize),e._onResize[t.instance.$.uid]={handler:n,options:r},(a=t.modifiers)!=null&&a.quiet||n()}function kZ(e,t){var i;if(!((i=e._onResize)!=null&&i[t.instance.$.uid]))return;const{handler:n,options:r}=e._onResize[t.instance.$.uid];window.removeEventListener("resize",n,r),delete e._onResize[t.instance.$.uid]}const PZ={mounted:AZ,unmounted:kZ};function fk(e,t){var o;const{self:n=!1}=(o=t.modifiers)!=null?o:{},r=t.value,i=typeof r=="object"&&r.options||{passive:!0},a=typeof r=="function"||"handleEvent"in r?r:r.handler,s=n?e:t.arg?document.querySelector(t.arg):window;!s||(s.addEventListener("scroll",a,i),e._onScroll=Object(e._onScroll),e._onScroll[t.instance.$.uid]={handler:a,options:i,target:n?void 0:s})}function hk(e,t){var a;if(!((a=e._onScroll)!=null&&a[t.instance.$.uid]))return;const{handler:n,options:r,target:i=e}=e._onScroll[t.instance.$.uid];i.removeEventListener("scroll",n,r),delete e._onScroll[t.instance.$.uid]}function VZ(e,t){t.value!==t.oldValue&&(hk(e,t),fk(e,t))}const RZ={mounted:fk,unmounted:hk,updated:VZ},OZ=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:E2,Intersect:Lu,Mutate:IZ,Resize:PZ,Ripple:ya,Scroll:RZ,Touch:_b},Symbol.toStringTag,{value:"Module"})),MZ=kA({components:EZ,directives:OZ});VR(OW).use(MZ).mount("#app");export{bv as e}; diff --git a/assets/index.7fd47b8b.js b/assets/index.7fd47b8b.js new file mode 100644 index 0000000..e661537 --- /dev/null +++ b/assets/index.7fd47b8b.js @@ -0,0 +1,2714 @@ +const A4=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 s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerpolicy&&(s.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?s.credentials="include":i.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}};A4();function Of(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const P4="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",V4=Of(P4);function iS(e){return!!e||e===""}function Po(e){if(Fe(e)){const t={};for(let n=0;n{if(n){const r=n.split(R4);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ut(e){let t="";if(Ut(e))t=e;else if(Fe(e))for(let n=0;nRf(n,t))}const Ve=e=>Ut(e)?e:e==null?"":Fe(e)||Nt(e)&&(e.toString===oS||!Ye(e.toString))?JSON.stringify(e,sS,2):String(e),sS=(e,t)=>t&&t.__v_isRef?sS(e,t.value):so(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:Df(t)?{[`Set(${t.size})`]:[...t.values()]}:Nt(t)&&!Fe(t)&&!lS(t)?String(t):t,wt={},io=[],Wr=()=>{},L4=()=>!1,B4=/^on[^a-z]/,Mf=e=>B4.test(e),Vp=e=>e.startsWith("onUpdate:"),dn=Object.assign,Op=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},j4=Object.prototype.hasOwnProperty,ot=(e,t)=>j4.call(e,t),Fe=Array.isArray,so=e=>Vu(e)==="[object Map]",Df=e=>Vu(e)==="[object Set]",H0=e=>Vu(e)==="[object Date]",Ye=e=>typeof e=="function",Ut=e=>typeof e=="string",Hl=e=>typeof e=="symbol",Nt=e=>e!==null&&typeof e=="object",aS=e=>Nt(e)&&Ye(e.then)&&Ye(e.catch),oS=Object.prototype.toString,Vu=e=>oS.call(e),z4=e=>Vu(e).slice(8,-1),lS=e=>Vu(e)==="[object Object]",Rp=e=>Ut(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Gc=Of(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$f=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},U4=/-(\w)/g,Sr=$f(e=>e.replace(U4,(t,n)=>n?n.toUpperCase():"")),H4=/\B([A-Z])/g,ba=$f(e=>e.replace(H4,"-$1").toLowerCase()),Di=$f(e=>e.charAt(0).toUpperCase()+e.slice(1)),pm=$f(e=>e?`on${Di(e)}`:""),ql=(e,t)=>!Object.is(e,t),Kc=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Wl=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let q0;const q4=()=>q0||(q0=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let tr;class uS{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&tr&&(this.parent=tr,this.index=(tr.scopes||(tr.scopes=[])).push(this)-1)}run(t){if(this.active){const n=tr;try{return tr=this,t()}finally{tr=n}}}on(){tr=this}off(){tr=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},cS=e=>(e.w&cs)>0,dS=e=>(e.n&cs)>0,K4=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=r)&&o.push(l)});else switch(n!==void 0&&o.push(a.get(n)),t){case"add":Fe(e)?Rp(n)&&o.push(a.get("length")):(o.push(a.get(ra)),so(e)&&o.push(a.get(Sv)));break;case"delete":Fe(e)||(o.push(a.get(ra)),so(e)&&o.push(a.get(Sv)));break;case"set":so(e)&&o.push(a.get(ra));break}if(o.length===1)o[0]&&Cv(o[0]);else{const l=[];for(const u of o)u&&l.push(...u);Cv(Dp(l))}}function Cv(e,t){const n=Fe(e)?e:[...e];for(const r of n)r.computed&&G0(r);for(const r of n)r.computed||G0(r)}function G0(e,t){(e!==Lr||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const X4=Of("__proto__,__v_isRef,__isVue"),mS=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Hl)),Q4=Fp(),J4=Fp(!1,!0),Z4=Fp(!0),K0=eO();function eO(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Xe(this);for(let s=0,a=this.length;s{e[t]=function(...n){_a();const r=Xe(this)[t].apply(this,n);return wa(),r}}),e}function Fp(e=!1,t=!1){return function(r,i,s){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&s===(e?t?gO:bS:t?yS:pS).get(r))return r;const a=Fe(r);if(!e&&a&&ot(K0,i))return Reflect.get(K0,i,s);const o=Reflect.get(r,i,s);return(Hl(i)?mS.has(i):X4(i))||(e||sr(r,"get",i),t)?o:Dt(o)?a&&Rp(i)?o:o.value:Nt(o)?e?Ou(o):en(o):o}}const tO=vS(),nO=vS(!0);function vS(e=!1){return function(n,r,i,s){let a=n[r];if(Gl(a)&&Dt(a)&&!Dt(i))return!1;if(!e&&!Gl(i)&&(Tv(i)||(i=Xe(i),a=Xe(a)),!Fe(n)&&Dt(a)&&!Dt(i)))return a.value=i,!0;const o=Fe(n)&&Rp(r)?Number(r)e,Ff=e=>Reflect.getPrototypeOf(e);function _c(e,t,n=!1,r=!1){e=e.__v_raw;const i=Xe(e),s=Xe(t);n||(t!==s&&sr(i,"get",t),sr(i,"get",s));const{has:a}=Ff(i),o=r?Np:n?jp:Kl;if(a.call(i,t))return o(e.get(t));if(a.call(i,s))return o(e.get(s));e!==i&&e.get(t)}function wc(e,t=!1){const n=this.__v_raw,r=Xe(n),i=Xe(e);return t||(e!==i&&sr(r,"has",e),sr(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function xc(e,t=!1){return e=e.__v_raw,!t&&sr(Xe(e),"iterate",ra),Reflect.get(e,"size",e)}function Y0(e){e=Xe(e);const t=Xe(this);return Ff(t).has.call(t,e)||(t.add(e),Si(t,"add",e,e)),this}function X0(e,t){t=Xe(t);const n=Xe(this),{has:r,get:i}=Ff(n);let s=r.call(n,e);s||(e=Xe(e),s=r.call(n,e));const a=i.call(n,e);return n.set(e,t),s?ql(t,a)&&Si(n,"set",e,t):Si(n,"add",e,t),this}function Q0(e){const t=Xe(this),{has:n,get:r}=Ff(t);let i=n.call(t,e);i||(e=Xe(e),i=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return i&&Si(t,"delete",e,void 0),s}function J0(){const e=Xe(this),t=e.size!==0,n=e.clear();return t&&Si(e,"clear",void 0,void 0),n}function Sc(e,t){return function(r,i){const s=this,a=s.__v_raw,o=Xe(a),l=t?Np:e?jp:Kl;return!e&&sr(o,"iterate",ra),a.forEach((u,c)=>r.call(i,l(u),l(c),s))}}function Cc(e,t,n){return function(...r){const i=this.__v_raw,s=Xe(i),a=so(s),o=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=i[e](...r),c=n?Np:t?jp:Kl;return!t&&sr(s,"iterate",l?Sv:ra),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:o?[c(d[0]),c(d[1])]:c(d),done:f}},[Symbol.iterator](){return this}}}}function Hi(e){return function(...t){return e==="delete"?!1:this}}function lO(){const e={get(s){return _c(this,s)},get size(){return xc(this)},has:wc,add:Y0,set:X0,delete:Q0,clear:J0,forEach:Sc(!1,!1)},t={get(s){return _c(this,s,!1,!0)},get size(){return xc(this)},has:wc,add:Y0,set:X0,delete:Q0,clear:J0,forEach:Sc(!1,!0)},n={get(s){return _c(this,s,!0)},get size(){return xc(this,!0)},has(s){return wc.call(this,s,!0)},add:Hi("add"),set:Hi("set"),delete:Hi("delete"),clear:Hi("clear"),forEach:Sc(!0,!1)},r={get(s){return _c(this,s,!0,!0)},get size(){return xc(this,!0)},has(s){return wc.call(this,s,!0)},add:Hi("add"),set:Hi("set"),delete:Hi("delete"),clear:Hi("clear"),forEach:Sc(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Cc(s,!1,!1),n[s]=Cc(s,!0,!1),t[s]=Cc(s,!1,!0),r[s]=Cc(s,!0,!0)}),[e,n,t,r]}const[uO,cO,dO,fO]=lO();function Lp(e,t){const n=t?e?fO:dO:e?cO:uO;return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(ot(n,i)&&i in r?n:r,i,s)}const hO={get:Lp(!1,!1)},mO={get:Lp(!1,!0)},vO={get:Lp(!0,!1)},pS=new WeakMap,yS=new WeakMap,bS=new WeakMap,gO=new WeakMap;function pO(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yO(e){return e.__v_skip||!Object.isExtensible(e)?0:pO(z4(e))}function en(e){return Gl(e)?e:Bp(e,!1,gS,hO,pS)}function bO(e){return Bp(e,!1,oO,mO,yS)}function Ou(e){return Bp(e,!0,aO,vO,bS)}function Bp(e,t,n,r,i){if(!Nt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const a=yO(e);if(a===0)return e;const o=new Proxy(e,a===2?r:n);return i.set(e,o),o}function ao(e){return Gl(e)?ao(e.__v_raw):!!(e&&e.__v_isReactive)}function Gl(e){return!!(e&&e.__v_isReadonly)}function Tv(e){return!!(e&&e.__v_isShallow)}function _S(e){return ao(e)||Gl(e)}function Xe(e){const t=e&&e.__v_raw;return t?Xe(t):e}function wS(e){return Ed(e,"__v_skip",!0),e}const Kl=e=>Nt(e)?en(e):e,jp=e=>Nt(e)?Ou(e):e;function xS(e){ss&&Lr&&(e=Xe(e),hS(e.dep||(e.dep=Dp())))}function SS(e,t){e=Xe(e),e.dep&&Cv(e.dep)}function Dt(e){return!!(e&&e.__v_isRef===!0)}function le(e){return CS(e,!1)}function we(e){return CS(e,!0)}function CS(e,t){return Dt(e)?e:new _O(e,t)}class _O{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Xe(t),this._value=n?t:Kl(t)}get value(){return xS(this),this._value}set value(t){t=this.__v_isShallow?t:Xe(t),ql(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Kl(t),SS(this))}}function Yt(e){return Dt(e)?e.value:e}const wO={get:(e,t,n)=>Yt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Dt(i)&&!Dt(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function TS(e){return ao(e)?e:new Proxy(e,wO)}function zp(e){const t=Fe(e)?new Array(e.length):{};for(const n in e)t[n]=ae(e,n);return t}class xO{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function ae(e,t,n){const r=e[t];return Dt(r)?r:new xO(e,t,n)}class SO{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new $p(t,()=>{this._dirty||(this._dirty=!0,SS(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=Xe(this);return xS(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function CO(e,t,n=!1){let r,i;const s=Ye(e);return s?(r=e,i=Wr):(r=e.get,i=e.set),new SO(r,i,s||!i,n)}const _l=[];function Nf(e,...t){_a();const n=_l.length?_l[_l.length-1].component:null,r=n&&n.appContext.config.warnHandler,i=TO();if(r)_i(r,n,11,[e+t.join(""),n&&n.proxy,i.map(({vnode:s})=>`at <${aC(n,s.type)}>`).join(` +`),i]);else{const s=[`[Vue warn]: ${e}`,...t];i.length&&s.push(` +`,...EO(i)),console.warn(...s)}wa()}function TO(){let e=_l[_l.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function EO(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[` +`],...IO(n))}),t}function IO({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,i=` at <${aC(e.component,e.type,r)}`,s=">"+n;return e.props?[i,...kO(e.props),s]:[i+s]}function kO(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...ES(r,e[r]))}),n.length>3&&t.push(" ..."),t}function ES(e,t,n){return Ut(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Dt(t)?(t=ES(e,Xe(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Ye(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Xe(t),n?t:[`${e}=`,t])}function _i(e,t,n,r){let i;try{i=r?e(...r):e()}catch(s){Lf(s,t,n)}return i}function br(e,t,n,r){if(Ye(e)){const s=_i(e,t,n,r);return s&&aS(s)&&s.catch(a=>{Lf(a,t,n)}),s}const i=[];for(let s=0;s>>1;Yl(nr[r])pi&&nr.splice(t,1)}function PS(e,t,n,r){Fe(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),AS()}function OO(e){PS(e,ll,wl,qa)}function RO(e){PS(e,Ki,xl,Wa)}function Bf(e,t=null){if(wl.length){for(Iv=t,ll=[...new Set(wl)],wl.length=0,qa=0;qaYl(n)-Yl(r)),Wa=0;Wae.id==null?1/0:e.id;function OS(e){Ev=!1,Id=!0,Bf(e),nr.sort((n,r)=>Yl(n)-Yl(r));const t=Wr;try{for(pi=0;pih.trim())),d&&(i=n.map(Wl))}let o,l=r[o=pm(t)]||r[o=pm(Sr(t))];!l&&s&&(l=r[o=pm(ba(t))]),l&&br(l,e,6,i);const u=r[o+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,br(u,e,6,i)}}function RS(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let a={},o=!1;if(!Ye(e)){const l=u=>{const c=RS(u,t,!0);c&&(o=!0,dn(a,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!o?(r.set(e,null),null):(Fe(s)?s.forEach(l=>a[l]=null):dn(a,s),r.set(e,a),a)}function jf(e,t){return!e||!Mf(t)?!1:(t=t.slice(2).replace(/Once$/,""),ot(e,t[0].toLowerCase()+t.slice(1))||ot(e,ba(t))||ot(e,t))}let Pn=null,zf=null;function kd(e){const t=Pn;return Pn=e,zf=e&&e.type.__scopeId||null,t}function Cr(e){zf=e}function Tr(){zf=null}function cn(e,t=Pn,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&c_(-1);const s=kd(t),a=e(...i);return kd(s),r._d&&c_(1),a};return r._n=!0,r._c=!0,r._d=!0,r}function ym(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:s,propsOptions:[a],slots:o,attrs:l,emit:u,render:c,renderCache:d,data:f,setupState:h,ctx:v,inheritAttrs:g}=e;let b,p;const _=kd(e);try{if(n.shapeFlag&4){const C=i||r;b=Zr(c.call(C,C,d,s,h,f,v)),p=l}else{const C=t;b=Zr(C.length>1?C(s,{attrs:l,slots:o,emit:u}):C(s,null)),p=t.props?l:DO(l)}}catch(C){Tl.length=0,Lf(C,e,1),b=m(_r)}let w=b;if(p&&g!==!1){const C=Object.keys(p),{shapeFlag:I}=w;C.length&&I&7&&(a&&C.some(Vp)&&(p=$O(p,a)),w=Ci(w,p))}return n.dirs&&(w=Ci(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),b=w,kd(_),b}const DO=e=>{let t;for(const n in e)(n==="class"||n==="style"||Mf(n))&&((t||(t={}))[n]=e[n]);return t},$O=(e,t)=>{const n={};for(const r in e)(!Vp(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function FO(e,t,n){const{props:r,children:i,component:s}=e,{props:a,children:o,patchFlag:l}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Z0(r,a,u):!!a;if(l&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense;function BO(e,t){t&&t.pendingBranch?Fe(e)?t.effects.push(...e):t.effects.push(e):RO(e)}function Mt(e,t){if(un){let n=un.provides;const r=un.parent&&un.parent.provides;r===n&&(n=un.provides=Object.create(r)),n[e]=t}}function gt(e,t,n=!1){const r=un||Pn;if(r){const i=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Ye(t)?t.call(r.proxy):t}}function or(e,t){return Hp(e,null,t)}const e_={};function ve(e,t,n){return Hp(e,t,n)}function Hp(e,t,{immediate:n,deep:r,flush:i,onTrack:s,onTrigger:a}=wt){const o=un;let l,u=!1,c=!1;if(Dt(e)?(l=()=>e.value,u=Tv(e)):ao(e)?(l=()=>e,r=!0):Fe(e)?(c=!0,u=e.some(p=>ao(p)||Tv(p)),l=()=>e.map(p=>{if(Dt(p))return p.value;if(ao(p))return Ys(p);if(Ye(p))return _i(p,o,2)})):Ye(e)?t?l=()=>_i(e,o,2):l=()=>{if(!(o&&o.isUnmounted))return d&&d(),br(e,o,3,[f])}:l=Wr,t&&r){const p=l;l=()=>Ys(p())}let d,f=p=>{d=b.onStop=()=>{_i(p,o,4)}};if(Zl)return f=Wr,t?n&&br(t,o,3,[l(),c?[]:void 0,f]):l(),Wr;let h=c?[]:e_;const v=()=>{if(!!b.active)if(t){const p=b.run();(r||u||(c?p.some((_,w)=>ql(_,h[w])):ql(p,h)))&&(d&&d(),br(t,o,3,[p,h===e_?void 0:h,f]),h=p)}else b.run()};v.allowRecurse=!!t;let g;i==="sync"?g=v:i==="post"?g=()=>Qn(v,o&&o.suspense):g=()=>OO(v);const b=new $p(l,g);return t?n?v():h=b.run():i==="post"?Qn(b.run.bind(b),o&&o.suspense):b.run(),()=>{b.stop(),o&&o.scope&&Op(o.scope.effects,b)}}function jO(e,t,n){const r=this.proxy,i=Ut(e)?e.includes(".")?MS(r,e):()=>r[e]:e.bind(r,r);let s;Ye(t)?s=t:(s=t.handler,n=t);const a=un;po(this);const o=Hp(i,s.bind(r),n);return a?po(a):ia(),o}function MS(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{Ys(n,t)});else if(lS(e))for(const n in e)Ys(e[n],t);return e}function DS(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xn(()=>{e.isMounted=!0}),Kn(()=>{e.isUnmounting=!0}),e}const hr=[Function,Array],zO={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:hr,onEnter:hr,onAfterEnter:hr,onEnterCancelled:hr,onBeforeLeave:hr,onLeave:hr,onAfterLeave:hr,onLeaveCancelled:hr,onBeforeAppear:hr,onAppear:hr,onAfterAppear:hr,onAppearCancelled:hr},setup(e,{slots:t}){const n=xa(),r=DS();let i;return()=>{const s=t.default&&qp(t.default(),!0);if(!s||!s.length)return;let a=s[0];if(s.length>1){for(const g of s)if(g.type!==_r){a=g;break}}const o=Xe(e),{mode:l}=o;if(r.isLeaving)return bm(a);const u=t_(a);if(!u)return bm(a);const c=Xl(u,o,r,n);Ql(u,c);const d=n.subTree,f=d&&t_(d);let h=!1;const{getTransitionKey:v}=u.type;if(v){const g=v();i===void 0?i=g:g!==i&&(i=g,h=!0)}if(f&&f.type!==_r&&(!Ws(u,f)||h)){const g=Xl(f,o,r,n);if(Ql(f,g),l==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update()},bm(a);l==="in-out"&&u.type!==_r&&(g.delayLeave=(b,p,_)=>{const w=FS(r,f);w[String(f.key)]=f,b._leaveCb=()=>{p(),b._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=_})}return a}}},$S=zO;function FS(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 Xl(e,t,n,r){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:o,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:v,onBeforeAppear:g,onAppear:b,onAfterAppear:p,onAppearCancelled:_}=t,w=String(e.key),C=FS(n,e),I=(k,T)=>{k&&br(k,r,9,T)},A=(k,T)=>{const D=T[1];I(k,T),Fe(k)?k.every(E=>E.length<=1)&&D():k.length<=1&&D()},$={mode:s,persisted:a,beforeEnter(k){let T=o;if(!n.isMounted)if(i)T=g||o;else return;k._leaveCb&&k._leaveCb(!0);const D=C[w];D&&Ws(e,D)&&D.el._leaveCb&&D.el._leaveCb(),I(T,[k])},enter(k){let T=l,D=u,E=c;if(!n.isMounted)if(i)T=b||l,D=p||u,E=_||c;else return;let S=!1;const P=k._enterCb=M=>{S||(S=!0,M?I(E,[k]):I(D,[k]),$.delayedLeave&&$.delayedLeave(),k._enterCb=void 0)};T?A(T,[k,P]):P()},leave(k,T){const D=String(e.key);if(k._enterCb&&k._enterCb(!0),n.isUnmounting)return T();I(d,[k]);let E=!1;const S=k._leaveCb=P=>{E||(E=!0,T(),P?I(v,[k]):I(h,[k]),k._leaveCb=void 0,C[D]===e&&delete C[D])};C[D]=e,f?A(f,[k,S]):S()},clone(k){return Xl(k,t,n,r)}};return $}function bm(e){if(Uf(e))return e=Ci(e),e.children=null,e}function t_(e){return Uf(e)?e.children?e.children[0]:void 0:e}function Ql(e,t){e.shapeFlag&6&&e.component?Ql(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 qp(e,t=!1,n){let r=[],i=0;for(let s=0;s1)for(let s=0;s!!e.type.__asyncLoader,Uf=e=>e.type.__isKeepAlive;function NS(e,t){BS(e,"a",t)}function LS(e,t){BS(e,"da",t)}function BS(e,t,n=un){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Hf(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Uf(i.parent.vnode)&&UO(r,t,n,i),i=i.parent}}function UO(e,t,n,r){const i=Hf(t,e,r,!0);Gp(()=>{Op(r[t],i)},n)}function Hf(e,t,n=un,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;_a(),po(n);const o=br(t,n,e,a);return ia(),wa(),o});return r?i.unshift(s):i.push(s),s}}const $i=e=>(t,n=un)=>(!Zl||e==="sp")&&Hf(e,t,n),qf=$i("bm"),xn=$i("m"),jS=$i("bu"),Wp=$i("u"),Kn=$i("bum"),Gp=$i("um"),HO=$i("sp"),qO=$i("rtg"),WO=$i("rtc");function GO(e,t=un){Hf("ec",e,t)}function et(e,t){const n=Pn;if(n===null)return e;const r=Yf(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let s=0;st(a,o,void 0,s&&s[o]));else{const a=Object.keys(e);i=new Array(a.length);for(let o=0,l=a.length;oVd(t)?!(t.type===_r||t.type===Se&&!qS(t.children)):!0)?e:null}const kv=e=>e?nC(e)?Yf(e)||e.proxy:kv(e.parent):null,Ad=dn(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=>kv(e.parent),$root:e=>kv(e.root),$emit:e=>e.emit,$options:e=>GS(e),$forceUpdate:e=>e.f||(e.f=()=>kS(e.update)),$nextTick:e=>e.n||(e.n=xt.bind(e.proxy)),$watch:e=>jO.bind(e)}),YO={get({_:e},t){const{ctx:n,setupState:r,data:i,props:s,accessCache:a,type:o,appContext:l}=e;let u;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(r!==wt&&ot(r,t))return a[t]=1,r[t];if(i!==wt&&ot(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&ot(u,t))return a[t]=3,s[t];if(n!==wt&&ot(n,t))return a[t]=4,n[t];Av&&(a[t]=0)}}const c=Ad[t];let d,f;if(c)return t==="$attrs"&&sr(e,"get",t),c(e);if((d=o.__cssModules)&&(d=d[t]))return d;if(n!==wt&&ot(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,ot(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return i!==wt&&ot(i,t)?(i[t]=n,!0):r!==wt&&ot(r,t)?(r[t]=n,!0):ot(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},a){let o;return!!n[a]||e!==wt&&ot(e,a)||t!==wt&&ot(t,a)||(o=s[0])&&ot(o,a)||ot(r,a)||ot(Ad,a)||ot(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ot(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Av=!0;function XO(e){const t=GS(e),n=e.proxy,r=e.ctx;Av=!1,t.beforeCreate&&r_(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:a,watch:o,provide:l,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:h,updated:v,activated:g,deactivated:b,beforeDestroy:p,beforeUnmount:_,destroyed:w,unmounted:C,render:I,renderTracked:A,renderTriggered:$,errorCaptured:k,serverPrefetch:T,expose:D,inheritAttrs:E,components:S,directives:P,filters:M}=t;if(u&&QO(u,r,null,e.appContext.config.unwrapInjectedRef),a)for(const j in a){const B=a[j];Ye(B)&&(r[j]=B.bind(n))}if(i){const j=i.call(n,n);Nt(j)&&(e.data=en(j))}if(Av=!0,s)for(const j in s){const B=s[j],J=Ye(B)?B.bind(n,n):Ye(B.get)?B.get.bind(n,n):Wr,ee=!Ye(B)&&Ye(B.set)?B.set.bind(n):Wr,se=x({get:J,set:ee});Object.defineProperty(r,j,{enumerable:!0,configurable:!0,get:()=>se.value,set:ge=>se.value=ge})}if(o)for(const j in o)WS(o[j],r,n,j);if(l){const j=Ye(l)?l.call(n):l;Reflect.ownKeys(j).forEach(B=>{Mt(B,j[B])})}c&&r_(c,e,"c");function G(j,B){Fe(B)?B.forEach(J=>j(J.bind(n))):B&&j(B.bind(n))}if(G(qf,d),G(xn,f),G(jS,h),G(Wp,v),G(NS,g),G(LS,b),G(GO,k),G(WO,A),G(qO,$),G(Kn,_),G(Gp,C),G(HO,T),Fe(D))if(D.length){const j=e.exposed||(e.exposed={});D.forEach(B=>{Object.defineProperty(j,B,{get:()=>n[B],set:J=>n[B]=J})})}else e.exposed||(e.exposed={});I&&e.render===Wr&&(e.render=I),E!=null&&(e.inheritAttrs=E),S&&(e.components=S),P&&(e.directives=P)}function QO(e,t,n=Wr,r=!1){Fe(e)&&(e=Pv(e));for(const i in e){const s=e[i];let a;Nt(s)?"default"in s?a=gt(s.from||i,s.default,!0):a=gt(s.from||i):a=gt(s),Dt(a)&&r?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>a.value,set:o=>a.value=o}):t[i]=a}}function r_(e,t,n){br(Fe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function WS(e,t,n,r){const i=r.includes(".")?MS(n,r):()=>n[r];if(Ut(e)){const s=t[e];Ye(s)&&ve(i,s)}else if(Ye(e))ve(i,e.bind(n));else if(Nt(e))if(Fe(e))e.forEach(s=>WS(s,t,n,r));else{const s=Ye(e.handler)?e.handler.bind(n):t[e.handler];Ye(s)&&ve(i,s,e)}}function GS(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,o=s.get(t);let l;return o?l=o:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>Pd(l,u,a,!0)),Pd(l,t,a)),s.set(t,l),l}function Pd(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&Pd(e,s,n,!0),i&&i.forEach(a=>Pd(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const o=JO[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const JO={data:i_,props:$s,emits:$s,methods:$s,computed:$s,beforeCreate:Un,created:Un,beforeMount:Un,mounted:Un,beforeUpdate:Un,updated:Un,beforeDestroy:Un,beforeUnmount:Un,destroyed:Un,unmounted:Un,activated:Un,deactivated:Un,errorCaptured:Un,serverPrefetch:Un,components:$s,directives:$s,watch:eR,provide:i_,inject:ZO};function i_(e,t){return t?e?function(){return dn(Ye(e)?e.call(this,this):e,Ye(t)?t.call(this,this):t)}:t:e}function ZO(e,t){return $s(Pv(e),Pv(t))}function Pv(e){if(Fe(e)){const t={};for(let n=0;n0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,h]=YS(d,t,!0);dn(a,f),h&&o.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!l)return r.set(e,io),io;if(Fe(s))for(let c=0;c-1,h[1]=g<0||v-1||ot(h,"default"))&&o.push(d)}}}const u=[a,o];return r.set(e,u),u}function s_(e){return e[0]!=="$"}function a_(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function o_(e,t){return a_(e)===a_(t)}function l_(e,t){return Fe(t)?t.findIndex(n=>o_(n,e)):Ye(t)&&o_(t,e)?0:-1}const XS=e=>e[0]==="_"||e==="$stable",Xp=e=>Fe(e)?e.map(Zr):[Zr(e)],rR=(e,t,n)=>{if(t._n)return t;const r=cn((...i)=>Xp(t(...i)),n);return r._c=!1,r},QS=(e,t,n)=>{const r=e._ctx;for(const i in e){if(XS(i))continue;const s=e[i];if(Ye(s))t[i]=rR(i,s,r);else if(s!=null){const a=Xp(s);t[i]=()=>a}}},JS=(e,t)=>{const n=Xp(t);e.slots.default=()=>n},iR=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Xe(t),Ed(t,"_",n)):QS(t,e.slots={})}else e.slots={},t&&JS(e,t);Ed(e.slots,Gf,1)},sR=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,a=wt;if(r.shapeFlag&32){const o=t._;o?n&&o===1?s=!1:(dn(i,t),!n&&o===1&&delete i._):(s=!t.$stable,QS(t,i)),a=t}else t&&(JS(e,t),a={default:1});if(s)for(const o in i)!XS(o)&&!(o in a)&&delete i[o]};function ZS(){return{app:null,config:{isNativeTag:L4,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let aR=0;function oR(e,t){return function(r,i=null){Ye(r)||(r=Object.assign({},r)),i!=null&&!Nt(i)&&(i=null);const s=ZS(),a=new Set;let o=!1;const l=s.app={_uid:aR++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:AR,get config(){return s.config},set config(u){},use(u,...c){return a.has(u)||(u&&Ye(u.install)?(a.add(u),u.install(l,...c)):Ye(u)&&(a.add(u),u(l,...c))),l},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),l},component(u,c){return c?(s.components[u]=c,l):s.components[u]},directive(u,c){return c?(s.directives[u]=c,l):s.directives[u]},mount(u,c,d){if(!o){const f=m(r,i);return f.appContext=s,c&&t?t(f,u):e(f,u,d),o=!0,l._container=u,u.__vue_app__=l,Yf(f.component)||f.component.proxy}},unmount(){o&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return s.provides[u]=c,l}};return l}}function Ov(e,t,n,r,i=!1){if(Fe(e)){e.forEach((f,h)=>Ov(f,t&&(Fe(t)?t[h]:t),n,r,i));return}if(Sl(r)&&!i)return;const s=r.shapeFlag&4?Yf(r.component)||r.component.proxy:r.el,a=i?null:s,{i:o,r:l}=e,u=t&&t.r,c=o.refs===wt?o.refs={}:o.refs,d=o.setupState;if(u!=null&&u!==l&&(Ut(u)?(c[u]=null,ot(d,u)&&(d[u]=null)):Dt(u)&&(u.value=null)),Ye(l))_i(l,o,12,[a,c]);else{const f=Ut(l),h=Dt(l);if(f||h){const v=()=>{if(e.f){const g=f?c[l]:l.value;i?Fe(g)&&Op(g,s):Fe(g)?g.includes(s)||g.push(s):f?(c[l]=[s],ot(d,l)&&(d[l]=c[l])):(l.value=[s],e.k&&(c[e.k]=l.value))}else f?(c[l]=a,ot(d,l)&&(d[l]=a)):h&&(l.value=a,e.k&&(c[e.k]=a))};a?(v.id=-1,Qn(v,n)):v()}}}const Qn=BO;function lR(e){return uR(e)}function uR(e,t){const n=q4();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:a,createText:o,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:f,setScopeId:h=Wr,cloneNode:v,insertStaticContent:g}=e,b=(V,F,z,R=null,N=null,U=null,H=!1,q=null,Y=!!F.dynamicChildren)=>{if(V===F)return;V&&!Ws(V,F)&&(R=ze(V),fe(V,N,U,!0),V=null),F.patchFlag===-2&&(Y=!1,F.dynamicChildren=null);const{type:W,ref:de,shapeFlag:oe}=F;switch(W){case Wf:p(V,F,z,R);break;case _r:_(V,F,z,R);break;case Yc:V==null&&w(F,z,R,H);break;case Se:P(V,F,z,R,N,U,H,q,Y);break;default:oe&1?A(V,F,z,R,N,U,H,q,Y):oe&6?M(V,F,z,R,N,U,H,q,Y):(oe&64||oe&128)&&W.process(V,F,z,R,N,U,H,q,Y,pe)}de!=null&&N&&Ov(de,V&&V.ref,U,F||V,!F)},p=(V,F,z,R)=>{if(V==null)r(F.el=o(F.children),z,R);else{const N=F.el=V.el;F.children!==V.children&&u(N,F.children)}},_=(V,F,z,R)=>{V==null?r(F.el=l(F.children||""),z,R):F.el=V.el},w=(V,F,z,R)=>{[V.el,V.anchor]=g(V.children,F,z,R,V.el,V.anchor)},C=({el:V,anchor:F},z,R)=>{let N;for(;V&&V!==F;)N=f(V),r(V,z,R),V=N;r(F,z,R)},I=({el:V,anchor:F})=>{let z;for(;V&&V!==F;)z=f(V),i(V),V=z;i(F)},A=(V,F,z,R,N,U,H,q,Y)=>{H=H||F.type==="svg",V==null?$(F,z,R,N,U,H,q,Y):D(V,F,N,U,H,q,Y)},$=(V,F,z,R,N,U,H,q)=>{let Y,W;const{type:de,props:oe,shapeFlag:he,transition:_e,patchFlag:ye,dirs:ke}=V;if(V.el&&v!==void 0&&ye===-1)Y=V.el=v(V.el);else{if(Y=V.el=a(V.type,U,oe&&oe.is,oe),he&8?c(Y,V.children):he&16&&T(V.children,Y,null,R,N,U&&de!=="foreignObject",H,q),ke&&ks(V,null,R,"created"),oe){for(const tt in oe)tt!=="value"&&!Gc(tt)&&s(Y,tt,null,oe[tt],U,V.children,R,N,Re);"value"in oe&&s(Y,"value",null,oe.value),(W=oe.onVnodeBeforeMount)&&Jr(W,R,V)}k(Y,V,V.scopeId,H,R)}ke&&ks(V,null,R,"beforeMount");const Ue=(!N||N&&!N.pendingBranch)&&_e&&!_e.persisted;Ue&&_e.beforeEnter(Y),r(Y,F,z),((W=oe&&oe.onVnodeMounted)||Ue||ke)&&Qn(()=>{W&&Jr(W,R,V),Ue&&_e.enter(Y),ke&&ks(V,null,R,"mounted")},N)},k=(V,F,z,R,N)=>{if(z&&h(V,z),R)for(let U=0;U{for(let W=Y;W{const q=F.el=V.el;let{patchFlag:Y,dynamicChildren:W,dirs:de}=F;Y|=V.patchFlag&16;const oe=V.props||wt,he=F.props||wt;let _e;z&&As(z,!1),(_e=he.onVnodeBeforeUpdate)&&Jr(_e,z,F,V),de&&ks(F,V,z,"beforeUpdate"),z&&As(z,!0);const ye=N&&F.type!=="foreignObject";if(W?E(V.dynamicChildren,W,q,z,R,ye,U):H||J(V,F,q,null,z,R,ye,U,!1),Y>0){if(Y&16)S(q,F,oe,he,z,R,N);else if(Y&2&&oe.class!==he.class&&s(q,"class",null,he.class,N),Y&4&&s(q,"style",oe.style,he.style,N),Y&8){const ke=F.dynamicProps;for(let Ue=0;Ue{_e&&Jr(_e,z,F,V),de&&ks(F,V,z,"updated")},R)},E=(V,F,z,R,N,U,H)=>{for(let q=0;q{if(z!==R){for(const q in R){if(Gc(q))continue;const Y=R[q],W=z[q];Y!==W&&q!=="value"&&s(V,q,W,Y,H,F.children,N,U,Re)}if(z!==wt)for(const q in z)!Gc(q)&&!(q in R)&&s(V,q,z[q],null,H,F.children,N,U,Re);"value"in R&&s(V,"value",z.value,R.value)}},P=(V,F,z,R,N,U,H,q,Y)=>{const W=F.el=V?V.el:o(""),de=F.anchor=V?V.anchor:o("");let{patchFlag:oe,dynamicChildren:he,slotScopeIds:_e}=F;_e&&(q=q?q.concat(_e):_e),V==null?(r(W,z,R),r(de,z,R),T(F.children,z,de,N,U,H,q,Y)):oe>0&&oe&64&&he&&V.dynamicChildren?(E(V.dynamicChildren,he,z,N,U,H,q),(F.key!=null||N&&F===N.subTree)&&Qp(V,F,!0)):J(V,F,z,de,N,U,H,q,Y)},M=(V,F,z,R,N,U,H,q,Y)=>{F.slotScopeIds=q,V==null?F.shapeFlag&512?N.ctx.activate(F,z,R,H,Y):Q(F,z,R,N,U,H,Y):G(V,F,Y)},Q=(V,F,z,R,N,U,H)=>{const q=V.component=_R(V,R,N);if(Uf(V)&&(q.ctx.renderer=pe),wR(q),q.asyncDep){if(N&&N.registerDep(q,j),!V.el){const Y=q.subTree=m(_r);_(null,Y,F,z)}return}j(q,V,F,z,N,U,H)},G=(V,F,z)=>{const R=F.component=V.component;if(FO(V,F,z))if(R.asyncDep&&!R.asyncResolved){B(R,F,z);return}else R.next=F,VO(R.update),R.update();else F.el=V.el,R.vnode=F},j=(V,F,z,R,N,U,H)=>{const q=()=>{if(V.isMounted){let{next:de,bu:oe,u:he,parent:_e,vnode:ye}=V,ke=de,Ue;As(V,!1),de?(de.el=ye.el,B(V,de,H)):de=ye,oe&&Kc(oe),(Ue=de.props&&de.props.onVnodeBeforeUpdate)&&Jr(Ue,_e,de,ye),As(V,!0);const tt=ym(V),yt=V.subTree;V.subTree=tt,b(yt,tt,d(yt.el),ze(yt),V,N,U),de.el=tt.el,ke===null&&NO(V,tt.el),he&&Qn(he,N),(Ue=de.props&&de.props.onVnodeUpdated)&&Qn(()=>Jr(Ue,_e,de,ye),N)}else{let de;const{el:oe,props:he}=F,{bm:_e,m:ye,parent:ke}=V,Ue=Sl(F);if(As(V,!1),_e&&Kc(_e),!Ue&&(de=he&&he.onVnodeBeforeMount)&&Jr(de,ke,F),As(V,!0),oe&&ie){const tt=()=>{V.subTree=ym(V),ie(oe,V.subTree,V,N,null)};Ue?F.type.__asyncLoader().then(()=>!V.isUnmounted&&tt()):tt()}else{const tt=V.subTree=ym(V);b(null,tt,z,R,V,N,U),F.el=tt.el}if(ye&&Qn(ye,N),!Ue&&(de=he&&he.onVnodeMounted)){const tt=F;Qn(()=>Jr(de,ke,tt),N)}(F.shapeFlag&256||ke&&Sl(ke.vnode)&&ke.vnode.shapeFlag&256)&&V.a&&Qn(V.a,N),V.isMounted=!0,F=z=R=null}},Y=V.effect=new $p(q,()=>kS(W),V.scope),W=V.update=()=>Y.run();W.id=V.uid,As(V,!0),W()},B=(V,F,z)=>{F.component=V;const R=V.vnode.props;V.vnode=F,V.next=null,nR(V,F.props,R,z),sR(V,F.children,z),_a(),Bf(void 0,V.update),wa()},J=(V,F,z,R,N,U,H,q,Y=!1)=>{const W=V&&V.children,de=V?V.shapeFlag:0,oe=F.children,{patchFlag:he,shapeFlag:_e}=F;if(he>0){if(he&128){se(W,oe,z,R,N,U,H,q,Y);return}else if(he&256){ee(W,oe,z,R,N,U,H,q,Y);return}}_e&8?(de&16&&Re(W,N,U),oe!==W&&c(z,oe)):de&16?_e&16?se(W,oe,z,R,N,U,H,q,Y):Re(W,N,U,!0):(de&8&&c(z,""),_e&16&&T(oe,z,R,N,U,H,q,Y))},ee=(V,F,z,R,N,U,H,q,Y)=>{V=V||io,F=F||io;const W=V.length,de=F.length,oe=Math.min(W,de);let he;for(he=0;hede?Re(V,N,U,!0,!1,oe):T(F,z,R,N,U,H,q,Y,oe)},se=(V,F,z,R,N,U,H,q,Y)=>{let W=0;const de=F.length;let oe=V.length-1,he=de-1;for(;W<=oe&&W<=he;){const _e=V[W],ye=F[W]=Y?Ji(F[W]):Zr(F[W]);if(Ws(_e,ye))b(_e,ye,z,null,N,U,H,q,Y);else break;W++}for(;W<=oe&&W<=he;){const _e=V[oe],ye=F[he]=Y?Ji(F[he]):Zr(F[he]);if(Ws(_e,ye))b(_e,ye,z,null,N,U,H,q,Y);else break;oe--,he--}if(W>oe){if(W<=he){const _e=he+1,ye=_ehe)for(;W<=oe;)fe(V[W],N,U,!0),W++;else{const _e=W,ye=W,ke=new Map;for(W=ye;W<=he;W++){const ct=F[W]=Y?Ji(F[W]):Zr(F[W]);ct.key!=null&&ke.set(ct.key,W)}let Ue,tt=0;const yt=he-ye+1;let Tt=!1,pn=0;const Yn=new Array(yt);for(W=0;W=yt){fe(ct,N,U,!0);continue}let Ht;if(ct.key!=null)Ht=ke.get(ct.key);else for(Ue=ye;Ue<=he;Ue++)if(Yn[Ue-ye]===0&&Ws(ct,F[Ue])){Ht=Ue;break}Ht===void 0?fe(ct,N,U,!0):(Yn[Ht-ye]=W+1,Ht>=pn?pn=Ht:Tt=!0,b(ct,F[Ht],z,null,N,U,H,q,Y),tt++)}const mi=Tt?cR(Yn):io;for(Ue=mi.length-1,W=yt-1;W>=0;W--){const ct=ye+W,Ht=F[ct],qt=ct+1{const{el:U,type:H,transition:q,children:Y,shapeFlag:W}=V;if(W&6){ge(V.component.subTree,F,z,R);return}if(W&128){V.suspense.move(F,z,R);return}if(W&64){H.move(V,F,z,pe);return}if(H===Se){r(U,F,z);for(let oe=0;oeq.enter(U),N);else{const{leave:oe,delayLeave:he,afterLeave:_e}=q,ye=()=>r(U,F,z),ke=()=>{oe(U,()=>{ye(),_e&&_e()})};he?he(U,ye,ke):ke()}else r(U,F,z)},fe=(V,F,z,R=!1,N=!1)=>{const{type:U,props:H,ref:q,children:Y,dynamicChildren:W,shapeFlag:de,patchFlag:oe,dirs:he}=V;if(q!=null&&Ov(q,null,z,V,!0),de&256){F.ctx.deactivate(V);return}const _e=de&1&&he,ye=!Sl(V);let ke;if(ye&&(ke=H&&H.onVnodeBeforeUnmount)&&Jr(ke,F,V),de&6)Z(V.component,z,R);else{if(de&128){V.suspense.unmount(z,R);return}_e&&ks(V,null,F,"beforeUnmount"),de&64?V.type.remove(V,F,z,N,pe,R):W&&(U!==Se||oe>0&&oe&64)?Re(W,F,z,!1,!0):(U===Se&&oe&384||!N&&de&16)&&Re(Y,F,z),R&&Ae(V)}(ye&&(ke=H&&H.onVnodeUnmounted)||_e)&&Qn(()=>{ke&&Jr(ke,F,V),_e&&ks(V,null,F,"unmounted")},z)},Ae=V=>{const{type:F,el:z,anchor:R,transition:N}=V;if(F===Se){Ne(z,R);return}if(F===Yc){I(V);return}const U=()=>{i(z),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(V.shapeFlag&1&&N&&!N.persisted){const{leave:H,delayLeave:q}=N,Y=()=>H(z,U);q?q(V.el,U,Y):Y()}else U()},Ne=(V,F)=>{let z;for(;V!==F;)z=f(V),i(V),V=z;i(F)},Z=(V,F,z)=>{const{bum:R,scope:N,update:U,subTree:H,um:q}=V;R&&Kc(R),N.stop(),U&&(U.active=!1,fe(H,V,F,z)),q&&Qn(q,F),Qn(()=>{V.isUnmounted=!0},F),F&&F.pendingBranch&&!F.isUnmounted&&V.asyncDep&&!V.asyncResolved&&V.suspenseId===F.pendingId&&(F.deps--,F.deps===0&&F.resolve())},Re=(V,F,z,R=!1,N=!1,U=0)=>{for(let H=U;HV.shapeFlag&6?ze(V.component.subTree):V.shapeFlag&128?V.suspense.next():f(V.anchor||V.el),ht=(V,F,z)=>{V==null?F._vnode&&fe(F._vnode,null,null,!0):b(F._vnode||null,V,F,null,null,null,z),VS(),F._vnode=V},pe={p:b,um:fe,m:ge,r:Ae,mt:Q,mc:T,pc:J,pbc:E,n:ze,o:e};let Oe,ie;return t&&([Oe,ie]=t(pe)),{render:ht,hydrate:Oe,createApp:oR(ht,Oe)}}function As({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Qp(e,t,n=!1){const r=e.children,i=t.children;if(Fe(r)&&Fe(i))for(let s=0;s>1,e[n[o]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,a=n[s-1];s-- >0;)n[s]=a,a=t[a];return n}const dR=e=>e.__isTeleport,Cl=e=>e&&(e.disabled||e.disabled===""),u_=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Rv=(e,t)=>{const n=e&&e.to;return Ut(n)?t?t(n):null:n},fR={__isTeleport:!0,process(e,t,n,r,i,s,a,o,l,u){const{mc:c,pc:d,pbc:f,o:{insert:h,querySelector:v,createText:g,createComment:b}}=u,p=Cl(t.props);let{shapeFlag:_,children:w,dynamicChildren:C}=t;if(e==null){const I=t.el=g(""),A=t.anchor=g("");h(I,n,r),h(A,n,r);const $=t.target=Rv(t.props,v),k=t.targetAnchor=g("");$&&(h(k,$),a=a||u_($));const T=(D,E)=>{_&16&&c(w,D,E,i,s,a,o,l)};p?T(n,A):$&&T($,k)}else{t.el=e.el;const I=t.anchor=e.anchor,A=t.target=e.target,$=t.targetAnchor=e.targetAnchor,k=Cl(e.props),T=k?n:A,D=k?I:$;if(a=a||u_(A),C?(f(e.dynamicChildren,C,T,i,s,a,o),Qp(e,t,!0)):l||d(e,t,T,D,i,s,a,o,!1),p)k||Tc(t,n,I,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const E=t.target=Rv(t.props,v);E&&Tc(t,E,null,u,0)}else k&&Tc(t,A,$,u,1)}},remove(e,t,n,r,{um:i,o:{remove:s}},a){const{shapeFlag:o,children:l,anchor:u,targetAnchor:c,target:d,props:f}=e;if(d&&s(c),(a||!Cl(f))&&(s(u),o&16))for(let h=0;h0?jr||io:null,vR(),Jl>0&&jr&&jr.push(e),e}function ne(e,t,n,r,i,s){return eC(y(e,t,n,r,i,s,!0))}function Ru(e,t,n,r,i){return eC(m(e,t,n,r,i,!0))}function Vd(e){return e?e.__v_isVNode===!0:!1}function Ws(e,t){return e.type===t.type&&e.key===t.key}const Gf="__vInternal",tC=({key:e})=>e!=null?e:null,Xc=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ut(e)||Dt(e)||Ye(e)?{i:Pn,r:e,k:t,f:!!n}:e:null;function y(e,t=null,n=null,r=0,i=null,s=e===Se?0:1,a=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&tC(t),ref:t&&Xc(t),scopeId:zf,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null};return o?(Jp(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ut(n)?8:16),Jl>0&&!a&&jr&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&jr.push(l),l}const m=gR;function gR(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===zS)&&(e=_r),Vd(e)){const o=Ci(e,t,!0);return n&&Jp(o,n),Jl>0&&!s&&jr&&(o.shapeFlag&6?jr[jr.indexOf(e)]=o:jr.push(o)),o.patchFlag|=-2,o}if(ER(e)&&(e=e.__vccOpts),t){t=pR(t);let{class:o,style:l}=t;o&&!Ut(o)&&(t.class=ut(o)),Nt(l)&&(_S(l)&&!Fe(l)&&(l=dn({},l)),t.style=Po(l))}const a=Ut(e)?1:LO(e)?128:dR(e)?64:Nt(e)?4:Ye(e)?2:0;return y(e,t,n,r,i,a,s,!0)}function pR(e){return e?_S(e)||Gf in e?dn({},e):e:null}function Ci(e,t,n=!1){const{props:r,ref:i,patchFlag:s,children:a}=e,o=t?be(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&tC(o),ref:t&&t.ref?n&&i?Fe(i)?i.concat(Xc(t)):[i,Xc(t)]:Xc(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ci(e.ssContent),ssFallback:e.ssFallback&&Ci(e.ssFallback),el:e.el,anchor:e.anchor}}function St(e=" ",t=0){return m(Wf,null,e,t)}function Kf(e,t){const n=m(Yc,null,e);return n.staticCount=t,n}function Le(e="",t=!1){return t?(te(),Ru(_r,null,e)):m(_r,null,e)}function Zr(e){return e==null||typeof e=="boolean"?m(_r):Fe(e)?m(Se,null,e.slice()):typeof e=="object"?Ji(e):m(Wf,null,String(e))}function Ji(e){return e.el===null||e.memo?e:Ci(e)}function Jp(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Fe(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),Jp(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(Gf in t)?t._ctx=Pn:i===3&&Pn&&(Pn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ye(t)?(t={default:t,_ctx:Pn},n=32):(t=String(t),r&64?(n=16,t=[St(t)]):n=8);e.children=t,e.shapeFlag|=n}function be(...e){const t={};for(let n=0;nun||Pn,po=e=>{un=e,e.scope.on()},ia=()=>{un&&un.scope.off(),un=null};function nC(e){return e.vnode.shapeFlag&4}let Zl=!1;function wR(e,t=!1){Zl=t;const{props:n,children:r}=e.vnode,i=nC(e);tR(e,n,i,t),iR(e,r);const s=i?xR(e,t):void 0;return Zl=!1,s}function xR(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=wS(new Proxy(e.ctx,YO));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?iC(e):null;po(e),_a();const s=_i(r,e,0,[e.props,i]);if(wa(),ia(),aS(s)){if(s.then(ia,ia),t)return s.then(a=>{d_(e,a,t)}).catch(a=>{Lf(a,e,0)});e.asyncDep=s}else d_(e,s,t)}else rC(e,t)}function d_(e,t,n){Ye(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Nt(t)&&(e.setupState=TS(t)),rC(e,n)}let f_;function rC(e,t,n){const r=e.type;if(!e.render){if(!t&&f_&&!r.render){const i=r.template;if(i){const{isCustomElement:s,compilerOptions:a}=e.appContext.config,{delimiters:o,compilerOptions:l}=r,u=dn(dn({isCustomElement:s,delimiters:o},a),l);r.render=f_(i,u)}}e.render=r.render||Wr}po(e),_a(),XO(e),wa(),ia()}function SR(e){return new Proxy(e.attrs,{get(t,n){return sr(e,"get","$attrs"),t[n]}})}function iC(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=SR(e))},slots:e.slots,emit:e.emit,expose:t}}function Yf(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(TS(wS(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ad)return Ad[n](e)}}))}const CR=/(?:^|[-_])(\w)/g,TR=e=>e.replace(CR,t=>t.toUpperCase()).replace(/[-_]/g,"");function sC(e,t=!0){return Ye(e)?e.displayName||e.name:e.name||t&&e.__name}function aC(e,t,n=!1){let r=sC(t);if(!r&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(r=i[1])}if(!r&&e&&e.parent){const i=s=>{for(const a in s)if(s[a]===t)return a};r=i(e.components||e.parent.type.components)||i(e.appContext.components)}return r?TR(r):n?"App":"Anonymous"}function ER(e){return Ye(e)&&"__vccOpts"in e}const x=(e,t)=>CO(e,t,Zl);function IR(){return kR().slots}function kR(){const e=xa();return e.setupContext||(e.setupContext=iC(e))}function Lt(e,t,n){const r=arguments.length;return r===2?Nt(t)&&!Fe(t)?Vd(t)?m(e,null,[t]):m(e,t):m(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Vd(n)&&(n=[n]),m(e,t,n))}const AR="3.2.37",PR="http://www.w3.org/2000/svg",Gs=typeof document<"u"?document:null,h_=Gs&&Gs.createElement("template"),VR={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?Gs.createElementNS(PR,e):Gs.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Gs.createTextNode(e),createComment:e=>Gs.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Gs.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,i,s){const a=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{h_.innerHTML=r?`${e}`:e;const o=h_.content;if(r){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}t.insertBefore(o,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function OR(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function RR(e,t,n){const r=e.style,i=Ut(n);if(n&&!i){for(const s in n)Mv(r,s,n[s]);if(t&&!Ut(t))for(const s in t)n[s]==null&&Mv(r,s,"")}else{const s=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const m_=/\s*!important$/;function Mv(e,t,n){if(Fe(n))n.forEach(r=>Mv(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=MR(e,t);m_.test(n)?e.setProperty(ba(r),n.replace(m_,""),"important"):e[r]=n}}const v_=["Webkit","Moz","ms"],_m={};function MR(e,t){const n=_m[t];if(n)return n;let r=Sr(t);if(r!=="filter"&&r in e)return _m[t]=r;r=Di(r);for(let i=0;i{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let Dv=0;const NR=Promise.resolve(),LR=()=>{Dv=0},BR=()=>Dv||(NR.then(LR),Dv=oC());function Ks(e,t,n,r){e.addEventListener(t,n,r)}function jR(e,t,n,r){e.removeEventListener(t,n,r)}function zR(e,t,n,r,i=null){const s=e._vei||(e._vei={}),a=s[t];if(r&&a)a.value=r;else{const[o,l]=UR(t);if(r){const u=s[t]=HR(r,i);Ks(e,o,u,l)}else a&&(jR(e,o,a,l),s[t]=void 0)}}const p_=/(?:Once|Passive|Capture)$/;function UR(e){let t;if(p_.test(e)){t={};let n;for(;n=e.match(p_);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[ba(e.slice(2)),t]}function HR(e,t){const n=r=>{const i=r.timeStamp||oC();(FR||i>=n.attached-1)&&br(qR(r,n.value),t,5,[r])};return n.value=e,n.attached=BR(),n}function qR(e,t){if(Fe(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 y_=/^on[a-z]/,WR=(e,t,n,r,i=!1,s,a,o,l)=>{t==="class"?OR(e,r,i):t==="style"?RR(e,n,r):Mf(t)?Vp(t)||zR(e,t,n,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):GR(e,t,r,i))?$R(e,t,r,s,a,o,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),DR(e,t,r,i))};function GR(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&y_.test(t)&&Ye(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||y_.test(t)&&Ut(n)?!1:t in e}const qi="transition",el="animation",Rn=(e,{slots:t})=>Lt($S,uC(e),t);Rn.displayName="Transition";const lC={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},KR=Rn.props=dn({},$S.props,lC),Ps=(e,t=[])=>{Fe(e)?e.forEach(n=>n(...t)):e&&e(...t)},b_=e=>e?Fe(e)?e.some(t=>t.length>1):e.length>1:!1;function uC(e){const t={};for(const S in e)S in lC||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:o=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=a,appearToClass:c=o,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,v=YR(i),g=v&&v[0],b=v&&v[1],{onBeforeEnter:p,onEnter:_,onEnterCancelled:w,onLeave:C,onLeaveCancelled:I,onBeforeAppear:A=p,onAppear:$=_,onAppearCancelled:k=w}=t,T=(S,P,M)=>{Yi(S,P?c:o),Yi(S,P?u:a),M&&M()},D=(S,P)=>{S._isLeaving=!1,Yi(S,d),Yi(S,h),Yi(S,f),P&&P()},E=S=>(P,M)=>{const Q=S?$:_,G=()=>T(P,S,M);Ps(Q,[P,G]),__(()=>{Yi(P,S?l:s),gi(P,S?c:o),b_(Q)||w_(P,r,g,G)})};return dn(t,{onBeforeEnter(S){Ps(p,[S]),gi(S,s),gi(S,a)},onBeforeAppear(S){Ps(A,[S]),gi(S,l),gi(S,u)},onEnter:E(!1),onAppear:E(!0),onLeave(S,P){S._isLeaving=!0;const M=()=>D(S,P);gi(S,d),dC(),gi(S,f),__(()=>{!S._isLeaving||(Yi(S,d),gi(S,h),b_(C)||w_(S,r,b,M))}),Ps(C,[S,M])},onEnterCancelled(S){T(S,!1),Ps(w,[S])},onAppearCancelled(S){T(S,!0),Ps(k,[S])},onLeaveCancelled(S){D(S),Ps(I,[S])}})}function YR(e){if(e==null)return null;if(Nt(e))return[wm(e.enter),wm(e.leave)];{const t=wm(e);return[t,t]}}function wm(e){return Wl(e)}function gi(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Yi(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function __(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let XR=0;function w_(e,t,n,r){const i=e._endId=++XR,s=()=>{i===e._endId&&r()};if(n)return setTimeout(s,n);const{type:a,timeout:o,propCount:l}=cC(e,t);if(!a)return r();const u=a+"end";let c=0;const d=()=>{e.removeEventListener(u,f),s()},f=h=>{h.target===e&&++c>=l&&d()};setTimeout(()=>{c(n[v]||"").split(", "),i=r(qi+"Delay"),s=r(qi+"Duration"),a=x_(i,s),o=r(el+"Delay"),l=r(el+"Duration"),u=x_(o,l);let c=null,d=0,f=0;t===qi?a>0&&(c=qi,d=a,f=s.length):t===el?u>0&&(c=el,d=u,f=l.length):(d=Math.max(a,u),c=d>0?a>u?qi:el:null,f=c?c===qi?s.length:l.length:0);const h=c===qi&&/\b(transform|all)(,|$)/.test(n[qi+"Property"]);return{type:c,timeout:d,propCount:f,hasTransform:h}}function x_(e,t){for(;e.lengthS_(n)+S_(e[r])))}function S_(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function dC(){return document.body.offsetHeight}const fC=new WeakMap,hC=new WeakMap,QR={name:"TransitionGroup",props:dn({},KR,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xa(),r=DS();let i,s;return Wp(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!t3(i[0].el,n.vnode.el,a))return;i.forEach(JR),i.forEach(ZR);const o=i.filter(e3);dC(),o.forEach(l=>{const u=l.el,c=u.style;gi(u,a),c.transform=c.webkitTransform=c.transitionDuration="";const d=u._moveCb=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",d),u._moveCb=null,Yi(u,a))};u.addEventListener("transitionend",d)})}),()=>{const a=Xe(e),o=uC(a);let l=a.tag||Se;i=s,s=t.default?qp(t.default()):[];for(let u=0;u{a.split(/\s+/).forEach(o=>o&&r.classList.remove(o))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=cC(r);return i.removeChild(r),s}const Od=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Fe(t)?n=>Kc(t,n):t};function n3(e){e.target.composing=!0}function C_(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const vr={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e._assign=Od(i);const s=r||i.props&&i.props.type==="number";Ks(e,t?"change":"input",a=>{if(a.target.composing)return;let o=e.value;n&&(o=o.trim()),s&&(o=Wl(o)),e._assign(o)}),n&&Ks(e,"change",()=>{e.value=e.value.trim()}),t||(Ks(e,"compositionstart",n3),Ks(e,"compositionend",C_),Ks(e,"change",C_))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},s){if(e._assign=Od(s),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(i||e.type==="number")&&Wl(e.value)===t))return;const a=t==null?"":t;e.value!==a&&(e.value=a)}},Rd={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=Df(t);Ks(e,"change",()=>{const s=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Wl(Md(a)):Md(a));e._assign(e.multiple?i?new Set(s):s:s[0])}),e._assign=Od(r)},mounted(e,{value:t}){T_(e,t)},beforeUpdate(e,t,n){e._assign=Od(n)},updated(e,{value:t}){T_(e,t)}};function T_(e,t){const n=e.multiple;if(!(n&&!Fe(t)&&!Df(t))){for(let r=0,i=e.options.length;r-1:s.selected=t.has(a);else if(Rf(Md(s),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Md(e){return"_value"in e?e._value:e.value}const r3={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ei=(e,t)=>n=>{if(!("key"in n))return;const r=ba(n.key);if(t.some(i=>i===r||r3[i]===r))return e(n)},Yr={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):tl(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),tl(e,!0),r.enter(e)):r.leave(e,()=>{tl(e,!1)}):tl(e,t))},beforeUnmount(e,{value:t}){tl(e,t)}};function tl(e,t){e.style.display=t?e._vod:"none"}const i3=dn({patchProp:WR},VR);let E_;function s3(){return E_||(E_=lR(i3))}const a3=(...e)=>{const t=s3().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=o3(r);if(!i)return;const s=t._component;!Ye(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const a=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t};function o3(e){return Ut(e)?document.querySelector(e):e}const l3="/assets/gavel_logo.992bca02.png",lt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},u3={data(){return{logo:{filename:l3,alt:"Gavel Logo"}}}},c3=["src","alt"];function d3(e,t,n,r,i,s){return te(),ne("img",{src:i.logo.filename,alt:i.logo.alt,height:"120",width:"120"},null,8,c3)}const f3=lt(u3,[["render",d3]]);/*! + * Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2022 Fonticons, Inc. + */function I_(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 Ee(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1;i--){var s=n[i],a=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=s)}return kt.head.insertBefore(t,r),e}}var L3="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function eu(){for(var e=12,t="";e-- >0;)t+=L3[Math.random()*62|0];return t}function Oo(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function iy(e){return e.classList?Oo(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function EC(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function B3(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(EC(e[n]),'" ')},"").trim()}function Jf(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function sy(e){return e.size!==ni.size||e.x!==ni.x||e.y!==ni.y||e.rotate!==ni.rotate||e.flipX||e.flipY}function j3(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},s="translate(".concat(t.x*32,", ").concat(t.y*32,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),o="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(s," ").concat(a," ").concat(o)},u={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:u}}function z3(e){var t=e.transform,n=e.width,r=n===void 0?Fv:n,i=e.height,s=i===void 0?Fv:i,a=e.startCentered,o=a===void 0?!1:a,l="";return o&&yC?l+="translate(".concat(t.x/Wi-r/2,"em, ").concat(t.y/Wi-s/2,"em) "):o?l+="translate(calc(-50% + ".concat(t.x/Wi,"em), calc(-50% + ").concat(t.y/Wi,"em)) "):l+="translate(".concat(t.x/Wi,"em, ").concat(t.y/Wi,"em) "),l+="scale(".concat(t.size/Wi*(t.flipX?-1:1),", ").concat(t.size/Wi*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var U3=`:root, :host { + --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid"; + --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular"; + --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light"; + --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin"; + --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; + --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; +} + +svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { + overflow: visible; + box-sizing: content-box; +} + +.svg-inline--fa { + display: var(--fa-display, inline-block); + height: 1em; + overflow: visible; + vertical-align: -0.125em; +} +.svg-inline--fa.fa-2xs { + vertical-align: 0.1em; +} +.svg-inline--fa.fa-xs { + vertical-align: 0em; +} +.svg-inline--fa.fa-sm { + vertical-align: -0.0714285705em; +} +.svg-inline--fa.fa-lg { + vertical-align: -0.2em; +} +.svg-inline--fa.fa-xl { + vertical-align: -0.25em; +} +.svg-inline--fa.fa-2xl { + vertical-align: -0.3125em; +} +.svg-inline--fa.fa-pull-left { + margin-right: var(--fa-pull-margin, 0.3em); + width: auto; +} +.svg-inline--fa.fa-pull-right { + margin-left: var(--fa-pull-margin, 0.3em); + width: auto; +} +.svg-inline--fa.fa-li { + width: var(--fa-li-width, 2em); + top: 0.25em; +} +.svg-inline--fa.fa-fw { + width: var(--fa-fw-width, 1.25em); +} + +.fa-layers svg.svg-inline--fa { + bottom: 0; + left: 0; + margin: auto; + position: absolute; + right: 0; + top: 0; +} + +.fa-layers-counter, .fa-layers-text { + display: inline-block; + position: absolute; + text-align: center; +} + +.fa-layers { + display: inline-block; + height: 1em; + position: relative; + text-align: center; + vertical-align: -0.125em; + width: 1em; +} +.fa-layers svg.svg-inline--fa { + -webkit-transform-origin: center center; + transform-origin: center center; +} + +.fa-layers-text { + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + -webkit-transform-origin: center center; + transform-origin: center center; +} + +.fa-layers-counter { + background-color: var(--fa-counter-background-color, #ff253a); + border-radius: var(--fa-counter-border-radius, 1em); + box-sizing: border-box; + color: var(--fa-inverse, #fff); + line-height: var(--fa-counter-line-height, 1); + max-width: var(--fa-counter-max-width, 5em); + min-width: var(--fa-counter-min-width, 1.5em); + overflow: hidden; + padding: var(--fa-counter-padding, 0.25em 0.5em); + right: var(--fa-right, 0); + text-overflow: ellipsis; + top: var(--fa-top, 0); + -webkit-transform: scale(var(--fa-counter-scale, 0.25)); + transform: scale(var(--fa-counter-scale, 0.25)); + -webkit-transform-origin: top right; + transform-origin: top right; +} + +.fa-layers-bottom-right { + bottom: var(--fa-bottom, 0); + right: var(--fa-right, 0); + top: auto; + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: bottom right; + transform-origin: bottom right; +} + +.fa-layers-bottom-left { + bottom: var(--fa-bottom, 0); + left: var(--fa-left, 0); + right: auto; + top: auto; + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: bottom left; + transform-origin: bottom left; +} + +.fa-layers-top-right { + top: var(--fa-top, 0); + right: var(--fa-right, 0); + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: top right; + transform-origin: top right; +} + +.fa-layers-top-left { + left: var(--fa-left, 0); + right: auto; + top: var(--fa-top, 0); + -webkit-transform: scale(var(--fa-layers-scale, 0.25)); + transform: scale(var(--fa-layers-scale, 0.25)); + -webkit-transform-origin: top left; + transform-origin: top left; +} + +.fa-1x { + font-size: 1em; +} + +.fa-2x { + font-size: 2em; +} + +.fa-3x { + font-size: 3em; +} + +.fa-4x { + font-size: 4em; +} + +.fa-5x { + font-size: 5em; +} + +.fa-6x { + font-size: 6em; +} + +.fa-7x { + font-size: 7em; +} + +.fa-8x { + font-size: 8em; +} + +.fa-9x { + font-size: 9em; +} + +.fa-10x { + font-size: 10em; +} + +.fa-2xs { + font-size: 0.625em; + line-height: 0.1em; + vertical-align: 0.225em; +} + +.fa-xs { + font-size: 0.75em; + line-height: 0.0833333337em; + vertical-align: 0.125em; +} + +.fa-sm { + font-size: 0.875em; + line-height: 0.0714285718em; + vertical-align: 0.0535714295em; +} + +.fa-lg { + font-size: 1.25em; + line-height: 0.05em; + vertical-align: -0.075em; +} + +.fa-xl { + font-size: 1.5em; + line-height: 0.0416666682em; + vertical-align: -0.125em; +} + +.fa-2xl { + font-size: 2em; + line-height: 0.03125em; + vertical-align: -0.1875em; +} + +.fa-fw { + text-align: center; + width: 1.25em; +} + +.fa-ul { + list-style-type: none; + margin-left: var(--fa-li-margin, 2.5em); + padding-left: 0; +} +.fa-ul > li { + position: relative; +} + +.fa-li { + left: calc(var(--fa-li-width, 2em) * -1); + position: absolute; + text-align: center; + width: var(--fa-li-width, 2em); + line-height: inherit; +} + +.fa-border { + border-color: var(--fa-border-color, #eee); + border-radius: var(--fa-border-radius, 0.1em); + border-style: var(--fa-border-style, solid); + border-width: var(--fa-border-width, 0.08em); + padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); +} + +.fa-pull-left { + float: left; + margin-right: var(--fa-pull-margin, 0.3em); +} + +.fa-pull-right { + float: right; + margin-left: var(--fa-pull-margin, 0.3em); +} + +.fa-beat { + -webkit-animation-name: fa-beat; + animation-name: fa-beat; + -webkit-animation-delay: var(--fa-animation-delay, 0); + animation-delay: var(--fa-animation-delay, 0); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-bounce { + -webkit-animation-name: fa-bounce; + animation-name: fa-bounce; + -webkit-animation-delay: var(--fa-animation-delay, 0); + animation-delay: var(--fa-animation-delay, 0); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); +} + +.fa-fade { + -webkit-animation-name: fa-fade; + animation-name: fa-fade; + -webkit-animation-delay: var(--fa-animation-delay, 0); + animation-delay: var(--fa-animation-delay, 0); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-beat-fade { + -webkit-animation-name: fa-beat-fade; + animation-name: fa-beat-fade; + -webkit-animation-delay: var(--fa-animation-delay, 0); + animation-delay: var(--fa-animation-delay, 0); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); + animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); +} + +.fa-flip { + -webkit-animation-name: fa-flip; + animation-name: fa-flip; + -webkit-animation-delay: var(--fa-animation-delay, 0); + animation-delay: var(--fa-animation-delay, 0); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out); + animation-timing-function: var(--fa-animation-timing, ease-in-out); +} + +.fa-shake { + -webkit-animation-name: fa-shake; + animation-name: fa-shake; + -webkit-animation-delay: var(--fa-animation-delay, 0); + animation-delay: var(--fa-animation-delay, 0); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, linear); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin { + -webkit-animation-name: fa-spin; + animation-name: fa-spin; + -webkit-animation-delay: var(--fa-animation-delay, 0); + animation-delay: var(--fa-animation-delay, 0); + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 2s); + animation-duration: var(--fa-animation-duration, 2s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, linear); + animation-timing-function: var(--fa-animation-timing, linear); +} + +.fa-spin-reverse { + --fa-animation-direction: reverse; +} + +.fa-pulse, +.fa-spin-pulse { + -webkit-animation-name: fa-spin; + animation-name: fa-spin; + -webkit-animation-direction: var(--fa-animation-direction, normal); + animation-direction: var(--fa-animation-direction, normal); + -webkit-animation-duration: var(--fa-animation-duration, 1s); + animation-duration: var(--fa-animation-duration, 1s); + -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite); + animation-iteration-count: var(--fa-animation-iteration-count, infinite); + -webkit-animation-timing-function: var(--fa-animation-timing, steps(8)); + animation-timing-function: var(--fa-animation-timing, steps(8)); +} + +@media (prefers-reduced-motion: reduce) { + .fa-beat, +.fa-bounce, +.fa-fade, +.fa-beat-fade, +.fa-flip, +.fa-pulse, +.fa-shake, +.fa-spin, +.fa-spin-pulse { + -webkit-animation-delay: -1ms; + animation-delay: -1ms; + -webkit-animation-duration: 1ms; + animation-duration: 1ms; + -webkit-animation-iteration-count: 1; + animation-iteration-count: 1; + transition-delay: 0s; + transition-duration: 0s; + } +} +@-webkit-keyframes fa-beat { + 0%, 90% { + -webkit-transform: scale(1); + transform: scale(1); + } + 45% { + -webkit-transform: scale(var(--fa-beat-scale, 1.25)); + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@keyframes fa-beat { + 0%, 90% { + -webkit-transform: scale(1); + transform: scale(1); + } + 45% { + -webkit-transform: scale(var(--fa-beat-scale, 1.25)); + transform: scale(var(--fa-beat-scale, 1.25)); + } +} +@-webkit-keyframes fa-bounce { + 0% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 10% { + -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + } + 50% { + -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 100% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } +} +@keyframes fa-bounce { + 0% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 10% { + -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); + } + 30% { + -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); + } + 50% { + -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); + } + 57% { + -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); + } + 64% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } + 100% { + -webkit-transform: scale(1, 1) translateY(0); + transform: scale(1, 1) translateY(0); + } +} +@-webkit-keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@keyframes fa-fade { + 50% { + opacity: var(--fa-fade-opacity, 0.4); + } +} +@-webkit-keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + -webkit-transform: scale(1); + transform: scale(1); + } + 50% { + opacity: 1; + -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@keyframes fa-beat-fade { + 0%, 100% { + opacity: var(--fa-beat-fade-opacity, 0.4); + -webkit-transform: scale(1); + transform: scale(1); + } + 50% { + opacity: 1; + -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125)); + transform: scale(var(--fa-beat-fade-scale, 1.125)); + } +} +@-webkit-keyframes fa-flip { + 50% { + -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@keyframes fa-flip { + 50% { + -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); + } +} +@-webkit-keyframes fa-shake { + 0% { + -webkit-transform: rotate(-15deg); + transform: rotate(-15deg); + } + 4% { + -webkit-transform: rotate(15deg); + transform: rotate(15deg); + } + 8%, 24% { + -webkit-transform: rotate(-18deg); + transform: rotate(-18deg); + } + 12%, 28% { + -webkit-transform: rotate(18deg); + transform: rotate(18deg); + } + 16% { + -webkit-transform: rotate(-22deg); + transform: rotate(-22deg); + } + 20% { + -webkit-transform: rotate(22deg); + transform: rotate(22deg); + } + 32% { + -webkit-transform: rotate(-12deg); + transform: rotate(-12deg); + } + 36% { + -webkit-transform: rotate(12deg); + transform: rotate(12deg); + } + 40%, 100% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } +} +@keyframes fa-shake { + 0% { + -webkit-transform: rotate(-15deg); + transform: rotate(-15deg); + } + 4% { + -webkit-transform: rotate(15deg); + transform: rotate(15deg); + } + 8%, 24% { + -webkit-transform: rotate(-18deg); + transform: rotate(-18deg); + } + 12%, 28% { + -webkit-transform: rotate(18deg); + transform: rotate(18deg); + } + 16% { + -webkit-transform: rotate(-22deg); + transform: rotate(-22deg); + } + 20% { + -webkit-transform: rotate(22deg); + transform: rotate(22deg); + } + 32% { + -webkit-transform: rotate(-12deg); + transform: rotate(-12deg); + } + 36% { + -webkit-transform: rotate(12deg); + transform: rotate(12deg); + } + 40%, 100% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } +} +@-webkit-keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +@keyframes fa-spin { + 0% { + -webkit-transform: rotate(0deg); + transform: rotate(0deg); + } + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +.fa-rotate-90 { + -webkit-transform: rotate(90deg); + transform: rotate(90deg); +} + +.fa-rotate-180 { + -webkit-transform: rotate(180deg); + transform: rotate(180deg); +} + +.fa-rotate-270 { + -webkit-transform: rotate(270deg); + transform: rotate(270deg); +} + +.fa-flip-horizontal { + -webkit-transform: scale(-1, 1); + transform: scale(-1, 1); +} + +.fa-flip-vertical { + -webkit-transform: scale(1, -1); + transform: scale(1, -1); +} + +.fa-flip-both, +.fa-flip-horizontal.fa-flip-vertical { + -webkit-transform: scale(-1, -1); + transform: scale(-1, -1); +} + +.fa-rotate-by { + -webkit-transform: rotate(var(--fa-rotate-angle, none)); + transform: rotate(var(--fa-rotate-angle, none)); +} + +.fa-stack { + display: inline-block; + vertical-align: middle; + height: 2em; + position: relative; + width: 2.5em; +} + +.fa-stack-1x, +.fa-stack-2x { + bottom: 0; + left: 0; + margin: auto; + position: absolute; + right: 0; + top: 0; + z-index: var(--fa-stack-z-index, auto); +} + +.svg-inline--fa.fa-stack-1x { + height: 1em; + width: 1.25em; +} +.svg-inline--fa.fa-stack-2x { + height: 2em; + width: 2.5em; +} + +.fa-inverse { + color: var(--fa-inverse, #fff); +} + +.sr-only, +.fa-sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} + +.sr-only-focusable:not(:focus), +.fa-sr-only-focusable:not(:focus) { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} + +.svg-inline--fa .fa-primary { + fill: var(--fa-primary-color, currentColor); + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa .fa-secondary { + fill: var(--fa-secondary-color, currentColor); + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-primary { + opacity: var(--fa-secondary-opacity, 0.4); +} + +.svg-inline--fa.fa-swap-opacity .fa-secondary { + opacity: var(--fa-primary-opacity, 1); +} + +.svg-inline--fa mask .fa-primary, +.svg-inline--fa mask .fa-secondary { + fill: black; +} + +.fad.fa-inverse, +.fa-duotone.fa-inverse { + color: var(--fa-inverse, #fff); +}`;function IC(){var e=bC,t=_C,n=De.familyPrefix,r=De.replacementClass,i=U3;if(n!==e||r!==t){var s=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),o=new RegExp("\\.".concat(t),"g");i=i.replace(s,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(o,".".concat(r))}return i}var M_=!1;function xm(){De.autoAddCss&&!M_&&(N3(IC()),M_=!0)}var H3={mixout:function(){return{dom:{css:IC,insertCss:xm}}},hooks:function(){return{beforeDOMElementCreation:function(){xm()},beforeI2svg:function(){xm()}}}},Ei=ds||{};Ei[Ti]||(Ei[Ti]={});Ei[Ti].styles||(Ei[Ti].styles={});Ei[Ti].hooks||(Ei[Ti].hooks={});Ei[Ti].shims||(Ei[Ti].shims=[]);var zr=Ei[Ti],kC=[],q3=function e(){kt.removeEventListener("DOMContentLoaded",e),Fd=1,kC.map(function(t){return t()})},Fd=!1;Fi&&(Fd=(kt.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(kt.readyState),Fd||kt.addEventListener("DOMContentLoaded",q3));function W3(e){!Fi||(Fd?setTimeout(e,0):kC.push(e))}function Mu(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,s=i===void 0?[]:i;return typeof e=="string"?EC(e):"<".concat(t," ").concat(B3(r),">").concat(s.map(Mu).join(""),"")}function D_(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var G3=function(t,n){return function(r,i,s,a){return t.call(n,r,i,s,a)}},Sm=function(t,n,r,i){var s=Object.keys(t),a=s.length,o=i!==void 0?G3(n,i):n,l,u,c;for(r===void 0?(l=1,c=t[s[0]]):(l=0,c=r);l=55296&&i<=56319&&n=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function $_(e){return Object.keys(e).reduce(function(t,n){var r=e[n],i=!!r.icon;return i?t[r.iconName]=r.icon:t[n]=r,t},{})}function Bv(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,s=$_(t);typeof zr.hooks.addPack=="function"&&!i?zr.hooks.addPack(e,$_(t)):zr.styles[e]=Ee(Ee({},zr.styles[e]||{}),s),e==="fas"&&Bv("fa",t)}var Il=zr.styles,X3=zr.shims,Q3=Object.values(xC),ay=null,AC={},PC={},VC={},OC={},RC={},J3=Object.keys(ry);function Z3(e){return~O3.indexOf(e)}function eM(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!Z3(i)?i:null}var MC=function(){var t=function(s){return Sm(Il,function(a,o,l){return a[l]=Sm(o,s,{}),a},{})};AC=t(function(i,s,a){if(s[3]&&(i[s[3]]=a),s[2]){var o=s[2].filter(function(l){return typeof l=="number"});o.forEach(function(l){i[l.toString(16)]=a})}return i}),PC=t(function(i,s,a){if(i[a]=a,s[2]){var o=s[2].filter(function(l){return typeof l=="string"});o.forEach(function(l){i[l]=a})}return i}),RC=t(function(i,s,a){var o=s[2];return i[a]=a,o.forEach(function(l){i[l]=a}),i});var n="far"in Il||De.autoFetchSvg,r=Sm(X3,function(i,s){var a=s[0],o=s[1],l=s[2];return o==="far"&&!n&&(o="fas"),typeof a=="string"&&(i.names[a]={prefix:o,iconName:l}),typeof a=="number"&&(i.unicodes[a.toString(16)]={prefix:o,iconName:l}),i},{names:{},unicodes:{}});VC=r.names,OC=r.unicodes,ay=Zf(De.styleDefault)};F3(function(e){ay=Zf(e.styleDefault)});MC();function oy(e,t){return(AC[e]||{})[t]}function tM(e,t){return(PC[e]||{})[t]}function Za(e,t){return(RC[e]||{})[t]}function DC(e){return VC[e]||{prefix:null,iconName:null}}function nM(e){var t=OC[e],n=oy("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function fs(){return ay}var ly=function(){return{prefix:null,iconName:null,rest:[]}};function Zf(e){var t=ry[e],n=$d[e]||$d[t],r=e in zr.styles?e:null;return n||r||null}function eh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.skipLookups,r=n===void 0?!1:n,i=null,s=e.reduce(function(a,o){var l=eM(De.familyPrefix,o);if(Il[o]?(o=Q3.includes(o)?E3[o]:o,i=o,a.prefix=o):J3.indexOf(o)>-1?(i=o,a.prefix=Zf(o)):l?a.iconName=l:o!==De.replacementClass&&a.rest.push(o),!r&&a.prefix&&a.iconName){var u=i==="fa"?DC(a.iconName):{},c=Za(a.prefix,a.iconName);u.prefix&&(i=null),a.iconName=u.iconName||c||a.iconName,a.prefix=u.prefix||a.prefix,a.prefix==="far"&&!Il.far&&Il.fas&&!De.autoFetchSvg&&(a.prefix="fas")}return a},ly());return(s.prefix==="fa"||i==="fa")&&(s.prefix=fs()||"fas"),s}var rM=function(){function e(){h3(this,e),this.definitions={}}return m3(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),s=0;s0&&c.forEach(function(d){typeof d=="string"&&(n[o][d]=u)}),n[o][l]=u}),n}}]),e}(),F_=[],eo={},oo={},iM=Object.keys(oo);function sM(e,t){var n=t.mixoutsTo;return F_=e,eo={},Object.keys(oo).forEach(function(r){iM.indexOf(r)===-1&&delete oo[r]}),F_.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(a){typeof i[a]=="function"&&(n[a]=i[a]),Dd(i[a])==="object"&&Object.keys(i[a]).forEach(function(o){n[a]||(n[a]={}),n[a][o]=i[a][o]})}),r.hooks){var s=r.hooks();Object.keys(s).forEach(function(a){eo[a]||(eo[a]=[]),eo[a].push(s[a])})}r.provides&&r.provides(oo)}),n}function jv(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i1?t-1:0),r=1;r0&&arguments[0]!==void 0?arguments[0]:{};return Fi?(ua("beforeI2svg",t),Ii("pseudoElements2svg",t),Ii("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;De.autoReplaceSvg===!1&&(De.autoReplaceSvg=!0),De.observeMutations=!0,W3(function(){uM({autoReplaceSvgRoot:n}),ua("watch",t)})}},lM={icon:function(t){if(t===null)return null;if(Dd(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Za(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=Zf(t[0]);return{prefix:r,iconName:Za(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(De.familyPrefix,"-"))>-1||t.match(I3))){var i=eh(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||fs(),iconName:Za(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var s=fs();return{prefix:s,iconName:Za(s,t)||t}}}},ur={noAuto:aM,config:De,dom:oM,parse:lM,library:$C,findIconDefinition:zv,toHtml:Mu},uM=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?kt:n;(Object.keys(zr.styles).length>0||De.autoFetchSvg)&&Fi&&De.autoReplaceSvg&&ur.dom.i2svg({node:r})};function th(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return Mu(r)})}}),Object.defineProperty(e,"node",{get:function(){if(!!Fi){var r=kt.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function cM(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,s=e.styles,a=e.transform;if(sy(a)&&n.found&&!r.found){var o=n.width,l=n.height,u={x:o/l/2,y:.5};i.style=Jf(Ee(Ee({},s),{},{"transform-origin":"".concat(u.x+a.x/16,"em ").concat(u.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function dM(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,s=e.symbol,a=s===!0?"".concat(t,"-").concat(De.familyPrefix,"-").concat(n):s;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Ee(Ee({},i),{},{id:a}),children:r}]}]}function uy(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,s=e.iconName,a=e.transform,o=e.symbol,l=e.title,u=e.maskId,c=e.titleId,d=e.extra,f=e.watchable,h=f===void 0?!1:f,v=r.found?r:n,g=v.width,b=v.height,p=i==="fak",_=[De.replacementClass,s?"".concat(De.familyPrefix,"-").concat(s):""].filter(function(T){return d.classes.indexOf(T)===-1}).filter(function(T){return T!==""||!!T}).concat(d.classes).join(" "),w={children:[],attributes:Ee(Ee({},d.attributes),{},{"data-prefix":i,"data-icon":s,class:_,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(b)})},C=p&&!~d.classes.indexOf("fa-fw")?{width:"".concat(g/b*16*.0625,"em")}:{};h&&(w.attributes[la]=""),l&&(w.children.push({tag:"title",attributes:{id:w.attributes["aria-labelledby"]||"title-".concat(c||eu())},children:[l]}),delete w.attributes.title);var I=Ee(Ee({},w),{},{prefix:i,iconName:s,main:n,mask:r,maskId:u,transform:a,symbol:o,styles:Ee(Ee({},C),d.styles)}),A=r.found&&n.found?Ii("generateAbstractMask",I)||{children:[],attributes:{}}:Ii("generateAbstractIcon",I)||{children:[],attributes:{}},$=A.children,k=A.attributes;return I.children=$,I.attributes=k,o?dM(I):cM(I)}function N_(e){var t=e.content,n=e.width,r=e.height,i=e.transform,s=e.title,a=e.extra,o=e.watchable,l=o===void 0?!1:o,u=Ee(Ee(Ee({},a.attributes),s?{title:s}:{}),{},{class:a.classes.join(" ")});l&&(u[la]="");var c=Ee({},a.styles);sy(i)&&(c.transform=z3({transform:i,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);var d=Jf(c);d.length>0&&(u.style=d);var f=[];return f.push({tag:"span",attributes:u,children:[t]}),s&&f.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),f}function fM(e){var t=e.content,n=e.title,r=e.extra,i=Ee(Ee(Ee({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),s=Jf(r.styles);s.length>0&&(i.style=s);var a=[];return a.push({tag:"span",attributes:i,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}var Cm=zr.styles;function Uv(e){var t=e[0],n=e[1],r=e.slice(4),i=Zp(r,1),s=i[0],a=null;return Array.isArray(s)?a={tag:"g",attributes:{class:"".concat(De.familyPrefix,"-").concat(Xs.GROUP)},children:[{tag:"path",attributes:{class:"".concat(De.familyPrefix,"-").concat(Xs.SECONDARY),fill:"currentColor",d:s[0]}},{tag:"path",attributes:{class:"".concat(De.familyPrefix,"-").concat(Xs.PRIMARY),fill:"currentColor",d:s[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:s}},{found:!0,width:t,height:n,icon:a}}var hM={found:!1,width:512,height:512};function mM(e,t){!wC&&!De.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Hv(e,t){var n=t;return t==="fa"&&De.styleDefault!==null&&(t=fs()),new Promise(function(r,i){if(Ii("missingIconAbstract"),n==="fa"){var s=DC(e)||{};e=s.iconName||e,t=s.prefix||t}if(e&&t&&Cm[t]&&Cm[t][e]){var a=Cm[t][e];return r(Uv(a))}mM(e,t),r(Ee(Ee({},hM),{},{icon:De.showMissingIcons&&e?Ii("missingIconAbstract")||{}:{}}))})}var L_=function(){},qv=De.measurePerformance&&Ec&&Ec.mark&&Ec.measure?Ec:{mark:L_,measure:L_},ul='FA "6.1.2"',vM=function(t){return qv.mark("".concat(ul," ").concat(t," begins")),function(){return FC(t)}},FC=function(t){qv.mark("".concat(ul," ").concat(t," ends")),qv.measure("".concat(ul," ").concat(t),"".concat(ul," ").concat(t," begins"),"".concat(ul," ").concat(t," ends"))},cy={begin:vM,end:FC},Jc=function(){};function B_(e){var t=e.getAttribute?e.getAttribute(la):null;return typeof t=="string"}function gM(e){var t=e.getAttribute?e.getAttribute(ty):null,n=e.getAttribute?e.getAttribute(ny):null;return t&&n}function pM(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(De.replacementClass)}function yM(){if(De.autoReplaceSvg===!0)return Zc.replace;var e=Zc[De.autoReplaceSvg];return e||Zc.replace}function bM(e){return kt.createElementNS("http://www.w3.org/2000/svg",e)}function _M(e){return kt.createElement(e)}function NC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?bM:_M:n;if(typeof e=="string")return kt.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(a){i.setAttribute(a,e.attributes[a])});var s=e.children||[];return s.forEach(function(a){i.appendChild(NC(a,{ceFn:r}))}),i}function wM(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var Zc={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(NC(i),n)}),n.getAttribute(la)===null&&De.keepOriginalSource){var r=kt.createComment(wM(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~iy(n).indexOf(De.replacementClass))return Zc.replace(t);var i=new RegExp("".concat(De.familyPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var s=r[0].attributes.class.split(" ").reduce(function(o,l){return l===De.replacementClass||l.match(i)?o.toSvg.push(l):o.toNode.push(l),o},{toNode:[],toSvg:[]});r[0].attributes.class=s.toSvg.join(" "),s.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",s.toNode.join(" "))}var a=r.map(function(o){return Mu(o)}).join(` +`);n.setAttribute(la,""),n.innerHTML=a}};function j_(e){e()}function LC(e,t){var n=typeof t=="function"?t:Jc;if(e.length===0)n();else{var r=j_;De.mutateApproach===C3&&(r=ds.requestAnimationFrame||j_),r(function(){var i=yM(),s=cy.begin("mutate");e.map(i),s(),n()})}}var dy=!1;function BC(){dy=!0}function Wv(){dy=!1}var Nd=null;function z_(e){if(!!O_&&!!De.observeMutations){var t=e.treeCallback,n=t===void 0?Jc:t,r=e.nodeCallback,i=r===void 0?Jc:r,s=e.pseudoElementsCallback,a=s===void 0?Jc:s,o=e.observeMutationsRoot,l=o===void 0?kt:o;Nd=new O_(function(u){if(!dy){var c=fs();Oo(u).forEach(function(d){if(d.type==="childList"&&d.addedNodes.length>0&&!B_(d.addedNodes[0])&&(De.searchPseudoElements&&a(d.target),n(d.target)),d.type==="attributes"&&d.target.parentNode&&De.searchPseudoElements&&a(d.target.parentNode),d.type==="attributes"&&B_(d.target)&&~V3.indexOf(d.attributeName))if(d.attributeName==="class"&&gM(d.target)){var f=eh(iy(d.target)),h=f.prefix,v=f.iconName;d.target.setAttribute(ty,h||c),v&&d.target.setAttribute(ny,v)}else pM(d.target)&&i(d.target)})}}),Fi&&Nd.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function xM(){!Nd||Nd.disconnect()}function SM(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,i){var s=i.split(":"),a=s[0],o=s.slice(1);return a&&o.length>0&&(r[a]=o.join(":").trim()),r},{})),n}function CM(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=eh(iy(e));return i.prefix||(i.prefix=fs()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=tM(i.prefix,e.innerText)||oy(i.prefix,Lv(e.innerText))),!i.iconName&&De.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function TM(e){var t=Oo(e.attributes).reduce(function(i,s){return i.name!=="class"&&i.name!=="style"&&(i[s.name]=s.value),i},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return De.autoA11y&&(n?t["aria-labelledby"]="".concat(De.replacementClass,"-title-").concat(r||eu()):(t["aria-hidden"]="true",t.focusable="false")),t}function EM(){return{iconName:null,title:null,titleId:null,prefix:null,transform:ni,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function U_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=CM(e),r=n.iconName,i=n.prefix,s=n.rest,a=TM(e),o=jv("parseNodeAttributes",{},e),l=t.styleParser?SM(e):[];return Ee({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:ni,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:s,styles:l,attributes:a}},o)}var IM=zr.styles;function jC(e){var t=De.autoReplaceSvg==="nest"?U_(e,{styleParser:!1}):U_(e);return~t.extra.classes.indexOf(SC)?Ii("generateLayersText",e,t):Ii("generateSvgReplacementMutation",e,t)}function H_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Fi)return Promise.resolve();var n=kt.documentElement.classList,r=function(d){return n.add("".concat(R_,"-").concat(d))},i=function(d){return n.remove("".concat(R_,"-").concat(d))},s=De.autoFetchSvg?Object.keys(ry):Object.keys(IM);s.includes("fa")||s.push("fa");var a=[".".concat(SC,":not([").concat(la,"])")].concat(s.map(function(c){return".".concat(c,":not([").concat(la,"])")})).join(", ");if(a.length===0)return Promise.resolve();var o=[];try{o=Oo(e.querySelectorAll(a))}catch{}if(o.length>0)r("pending"),i("complete");else return Promise.resolve();var l=cy.begin("onTree"),u=o.reduce(function(c,d){try{var f=jC(d);f&&c.push(f)}catch(h){wC||h.name==="MissingIcon"&&console.error(h)}return c},[]);return new Promise(function(c,d){Promise.all(u).then(function(f){LC(f,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),c()})}).catch(function(f){l(),d(f)})})}function kM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;jC(e).then(function(n){n&&LC([n],t)})}function AM(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:zv(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:zv(i||{})),e(r,Ee(Ee({},n),{},{mask:i}))}}var PM=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?ni:r,s=n.symbol,a=s===void 0?!1:s,o=n.mask,l=o===void 0?null:o,u=n.maskId,c=u===void 0?null:u,d=n.title,f=d===void 0?null:d,h=n.titleId,v=h===void 0?null:h,g=n.classes,b=g===void 0?[]:g,p=n.attributes,_=p===void 0?{}:p,w=n.styles,C=w===void 0?{}:w;if(!!t){var I=t.prefix,A=t.iconName,$=t.icon;return th(Ee({type:"icon"},t),function(){return ua("beforeDOMElementCreation",{iconDefinition:t,params:n}),De.autoA11y&&(f?_["aria-labelledby"]="".concat(De.replacementClass,"-title-").concat(v||eu()):(_["aria-hidden"]="true",_.focusable="false")),uy({icons:{main:Uv($),mask:l?Uv(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:I,iconName:A,transform:Ee(Ee({},ni),i),symbol:a,title:f,maskId:c,titleId:v,extra:{attributes:_,styles:C,classes:b}})})}},VM={mixout:function(){return{icon:AM(PM)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=H_,n.nodeCallback=kM,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?kt:r,s=n.callback,a=s===void 0?function(){}:s;return H_(i,a)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,s=r.title,a=r.titleId,o=r.prefix,l=r.transform,u=r.symbol,c=r.mask,d=r.maskId,f=r.extra;return new Promise(function(h,v){Promise.all([Hv(i,o),c.iconName?Hv(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(g){var b=Zp(g,2),p=b[0],_=b[1];h([n,uy({icons:{main:p,mask:_},prefix:o,iconName:i,transform:l,symbol:u,maskId:d,title:s,titleId:a,extra:f,watchable:!0})])}).catch(v)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,s=n.main,a=n.transform,o=n.styles,l=Jf(o);l.length>0&&(i.style=l);var u;return sy(a)&&(u=Ii("generateAbstractTransformGrouping",{main:s,transform:a,containerWidth:s.width,iconWidth:s.width})),r.push(u||s.icon),{children:r,attributes:i}}}},OM={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,s=i===void 0?[]:i;return th({type:"layer"},function(){ua("beforeDOMElementCreation",{assembler:n,params:r});var a=[];return n(function(o){Array.isArray(o)?o.map(function(l){a=a.concat(l.abstract)}):a=a.concat(o.abstract)}),[{tag:"span",attributes:{class:["".concat(De.familyPrefix,"-layers")].concat(Qf(s)).join(" ")},children:a}]})}}}},RM={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.title,s=i===void 0?null:i,a=r.classes,o=a===void 0?[]:a,l=r.attributes,u=l===void 0?{}:l,c=r.styles,d=c===void 0?{}:c;return th({type:"counter",content:n},function(){return ua("beforeDOMElementCreation",{content:n,params:r}),fM({content:n.toString(),title:s,extra:{attributes:u,styles:d,classes:["".concat(De.familyPrefix,"-layers-counter")].concat(Qf(o))}})})}}}},MM={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,s=i===void 0?ni:i,a=r.title,o=a===void 0?null:a,l=r.classes,u=l===void 0?[]:l,c=r.attributes,d=c===void 0?{}:c,f=r.styles,h=f===void 0?{}:f;return th({type:"text",content:n},function(){return ua("beforeDOMElementCreation",{content:n,params:r}),N_({content:n,transform:Ee(Ee({},ni),s),title:o,extra:{attributes:d,styles:h,classes:["".concat(De.familyPrefix,"-layers-text")].concat(Qf(u))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,s=r.transform,a=r.extra,o=null,l=null;if(yC){var u=parseInt(getComputedStyle(n).fontSize,10),c=n.getBoundingClientRect();o=c.width/u,l=c.height/u}return De.autoA11y&&!i&&(a.attributes["aria-hidden"]="true"),Promise.resolve([n,N_({content:n.innerHTML,width:o,height:l,transform:s,title:i,extra:a,watchable:!0})])}}},DM=new RegExp('"',"ug"),q_=[1105920,1112319];function $M(e){var t=e.replace(DM,""),n=Y3(t,0),r=n>=q_[0]&&n<=q_[1],i=t.length===2?t[0]===t[1]:!1;return{value:Lv(i?t[0]:t),isSecondary:r||i}}function W_(e,t){var n="".concat(S3).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var s=Oo(e.children),a=s.filter(function(A){return A.getAttribute(Nv)===t})[0],o=ds.getComputedStyle(e,t),l=o.getPropertyValue("font-family").match(k3),u=o.getPropertyValue("font-weight"),c=o.getPropertyValue("content");if(a&&!l)return e.removeChild(a),r();if(l&&c!=="none"&&c!==""){var d=o.getPropertyValue("content"),f=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?$d[l[2].toLowerCase()]:A3[u],h=$M(d),v=h.value,g=h.isSecondary,b=l[0].startsWith("FontAwesome"),p=oy(f,v),_=p;if(b){var w=nM(v);w.iconName&&w.prefix&&(p=w.iconName,f=w.prefix)}if(p&&!g&&(!a||a.getAttribute(ty)!==f||a.getAttribute(ny)!==_)){e.setAttribute(n,_),a&&e.removeChild(a);var C=EM(),I=C.extra;I.attributes[Nv]=t,Hv(p,f).then(function(A){var $=uy(Ee(Ee({},C),{},{icons:{main:A,mask:ly()},prefix:f,iconName:_,extra:I,watchable:!0})),k=kt.createElement("svg");t==="::before"?e.insertBefore(k,e.firstChild):e.appendChild(k),k.outerHTML=$.map(function(T){return Mu(T)}).join(` +`),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function FM(e){return Promise.all([W_(e,"::before"),W_(e,"::after")])}function NM(e){return e.parentNode!==document.head&&!~T3.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Nv)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function G_(e){if(!!Fi)return new Promise(function(t,n){var r=Oo(e.querySelectorAll("*")).filter(NM).map(FM),i=cy.begin("searchPseudoElements");BC(),Promise.all(r).then(function(){i(),Wv(),t()}).catch(function(){i(),Wv(),n()})})}var LM={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=G_,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?kt:r;De.searchPseudoElements&&G_(i)}}},K_=!1,BM={mixout:function(){return{dom:{unwatch:function(){BC(),K_=!0}}}},hooks:function(){return{bootstrap:function(){z_(jv("mutationObserverCallbacks",{}))},noAuto:function(){xM()},watch:function(n){var r=n.observeMutationsRoot;K_?Wv():z_(jv("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},Y_=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,i){var s=i.toLowerCase().split("-"),a=s[0],o=s.slice(1).join("-");if(a&&o==="h")return r.flipX=!0,r;if(a&&o==="v")return r.flipY=!0,r;if(o=parseFloat(o),isNaN(o))return r;switch(a){case"grow":r.size=r.size+o;break;case"shrink":r.size=r.size-o;break;case"left":r.x=r.x-o;break;case"right":r.x=r.x+o;break;case"up":r.y=r.y-o;break;case"down":r.y=r.y+o;break;case"rotate":r.rotate=r.rotate+o;break}return r},n)},jM={mixout:function(){return{parse:{transform:function(n){return Y_(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=Y_(i)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,s=n.containerWidth,a=n.iconWidth,o={transform:"translate(".concat(s/2," 256)")},l="translate(".concat(i.x*32,", ").concat(i.y*32,") "),u="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),c="rotate(".concat(i.rotate," 0 0)"),d={transform:"".concat(l," ").concat(u," ").concat(c)},f={transform:"translate(".concat(a/2*-1," -256)")},h={outer:o,inner:d,path:f};return{tag:"g",attributes:Ee({},h.outer),children:[{tag:"g",attributes:Ee({},h.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Ee(Ee({},r.icon.attributes),h.path)}]}]}}}},Tm={x:0,y:0,width:"100%",height:"100%"};function X_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function zM(e){return e.tag==="g"?e.children:[e]}var UM={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),s=i?eh(i.split(" ").map(function(a){return a.trim()})):ly();return s.prefix||(s.prefix=fs()),n.mask=s,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,i=n.attributes,s=n.main,a=n.mask,o=n.maskId,l=n.transform,u=s.width,c=s.icon,d=a.width,f=a.icon,h=j3({transform:l,containerWidth:d,iconWidth:u}),v={tag:"rect",attributes:Ee(Ee({},Tm),{},{fill:"white"})},g=c.children?{children:c.children.map(X_)}:{},b={tag:"g",attributes:Ee({},h.inner),children:[X_(Ee({tag:c.tag,attributes:Ee(Ee({},c.attributes),h.path)},g))]},p={tag:"g",attributes:Ee({},h.outer),children:[b]},_="mask-".concat(o||eu()),w="clip-".concat(o||eu()),C={tag:"mask",attributes:Ee(Ee({},Tm),{},{id:_,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[v,p]},I={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:zM(f)},C]};return r.push(I,{tag:"rect",attributes:Ee({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(_,")")},Tm)}),{children:r,attributes:i}}}},HM={provides:function(t){var n=!1;ds.matchMedia&&(n=ds.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},s={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:Ee(Ee({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=Ee(Ee({},s),{},{attributeName:"opacity"}),o={tag:"circle",attributes:Ee(Ee({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||o.children.push({tag:"animate",attributes:Ee(Ee({},s),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Ee(Ee({},a),{},{values:"1;0;1;1;0;1;"})}),r.push(o),r.push({tag:"path",attributes:Ee(Ee({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:Ee(Ee({},a),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:Ee(Ee({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Ee(Ee({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},qM={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-symbol"),s=i===null?!1:i===""?!0:i;return n.symbol=s,n}}}},WM=[H3,VM,OM,RM,MM,LM,BM,jM,UM,HM,qM];sM(WM,{mixoutsTo:ur});ur.noAuto;var zC=ur.config,GM=ur.library;ur.dom;var Ld=ur.parse;ur.findIconDefinition;ur.toHtml;var KM=ur.icon;ur.layer;var YM=ur.text;ur.counter;function Q_(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 Br(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function QM(e,t){if(e==null)return{};var n=XM(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function Gv(e){return JM(e)||ZM(e)||eD(e)||tD()}function JM(e){if(Array.isArray(e))return Kv(e)}function ZM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function eD(e,t){if(!!e){if(typeof e=="string")return Kv(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Kv(e,t)}}function Kv(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof e=="string")return e;var r=(e.children||[]).map(function(l){return fy(l)}),i=Object.keys(e.attributes||{}).reduce(function(l,u){var c=e.attributes[u];switch(u){case"class":l.class=aD(c);break;case"style":l.style=sD(c);break;default:l.attrs[u]=c}return l},{attrs:{},class:{},style:{}});n.class;var s=n.style,a=s===void 0?{}:s,o=QM(n,iD);return Lt(e.tag,Br(Br(Br({},t),{},{class:i.class,style:Br(Br({},i.style),a)},i.attrs),o),r)}var HC=!1;try{HC=!0}catch{}function oD(){if(!HC&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function kl(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Xn({},e,t):{}}function lD(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":e.flip===!0,"fa-flip-horizontal":e.flip==="horizontal"||e.flip==="both","fa-flip-vertical":e.flip==="vertical"||e.flip==="both"},Xn(t,"fa-".concat(e.size),e.size!==null),Xn(t,"fa-rotate-".concat(e.rotation),e.rotation!==null),Xn(t,"fa-pull-".concat(e.pull),e.pull!==null),Xn(t,"fa-swap-opacity",e.swapOpacity),Xn(t,"fa-bounce",e.bounce),Xn(t,"fa-shake",e.shake),Xn(t,"fa-beat",e.beat),Xn(t,"fa-fade",e.fade),Xn(t,"fa-beat-fade",e.beatFade),Xn(t,"fa-flash",e.flash),Xn(t,"fa-spin-pulse",e.spinPulse),Xn(t,"fa-spin-reverse",e.spinReverse),t);return Object.keys(n).map(function(r){return n[r]?r:null}).filter(function(r){return r})}function J_(e){if(e&&Bd(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Ld.icon)return Ld.icon(e);if(e===null)return null;if(Bd(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}var uD=Vo({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(t){return[!0,!1,"horizontal","vertical","both"].indexOf(t)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(t){return["right","left"].indexOf(t)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(t){return[90,180,270].indexOf(Number.parseInt(t,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(t){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(t)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(t,n){var r=n.attrs,i=x(function(){return J_(t.icon)}),s=x(function(){return kl("classes",lD(t))}),a=x(function(){return kl("transform",typeof t.transform=="string"?Ld.transform(t.transform):t.transform)}),o=x(function(){return kl("mask",J_(t.mask))}),l=x(function(){return KM(i.value,Br(Br(Br(Br({},s.value),a.value),o.value),{},{symbol:t.symbol,title:t.title}))});ve(l,function(c){if(!c)return oD("Could not find one or more icon(s)",i.value,o.value)},{immediate:!0});var u=x(function(){return l.value?fy(l.value.abstract[0],{},r):null});return function(){return u.value}}});Vo({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(t,n){var r=n.slots,i=zC.familyPrefix,s=x(function(){return["".concat(i,"-layers")].concat(Gv(t.fixedWidth?["".concat(i,"-fw")]:[]))});return function(){return Lt("div",{class:s.value},r.default?r.default():[])}}});Vo({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(t){return["bottom-left","bottom-right","top-left","top-right"].indexOf(t)>-1}}},setup:function(t,n){var r=n.attrs,i=zC.familyPrefix,s=x(function(){return kl("classes",[].concat(Gv(t.counter?["".concat(i,"-layers-counter")]:[]),Gv(t.position?["".concat(i,"-layers-").concat(t.position)]:[])))}),a=x(function(){return kl("transform",typeof t.transform=="string"?Ld.transform(t.transform):t.transform)}),o=x(function(){var u=YM(t.value.toString(),Br(Br({},a.value),s.value)),c=u.abstract;return t.counter&&(c[0].attributes.class=c[0].attributes.class.replace("fa-layers-text","")),c[0]}),l=x(function(){return fy(o.value,{},r)});return function(){return l.value}}});/*! + * Font Awesome Free 6.1.2 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + * Copyright 2022 Fonticons, Inc. + */var qC={prefix:"fab",iconName:"facebook",icon:[512,512,[62e3],"f09a","M504 256C504 119 393 8 256 8S8 119 8 256c0 123.8 90.69 226.4 209.3 245V327.7h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.3 482.4 504 379.8 504 256z"]},WC={prefix:"fab",iconName:"instagram",icon:[448,512,[],"f16d","M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]},GC={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},cD={prefix:"fab",iconName:"wordpress",icon:[512,512,[],"f19a","M61.7 169.4l101.5 278C92.2 413 43.3 340.2 43.3 256c0-30.9 6.6-60.1 18.4-86.6zm337.9 75.9c0-26.3-9.4-44.5-17.5-58.7-10.8-17.5-20.9-32.4-20.9-49.9 0-19.6 14.8-37.8 35.7-37.8 .9 0 1.8 .1 2.8 .2-37.9-34.7-88.3-55.9-143.7-55.9-74.3 0-139.7 38.1-177.8 95.9 5 .2 9.7 .3 13.7 .3 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l77.5 230.4L249.8 247l-33.1-90.8c-11.5-.7-22.3-2-22.3-2-11.5-.7-10.1-18.2 1.3-17.5 0 0 35.1 2.7 56 2.7 22.2 0 56.7-2.7 56.7-2.7 11.5-.7 12.8 16.2 1.4 17.5 0 0-11.5 1.3-24.3 2l76.9 228.7 21.2-70.9c9-29.4 16-50.5 16-68.7zm-139.9 29.3l-63.8 185.5c19.1 5.6 39.2 8.7 60.1 8.7 24.8 0 48.5-4.3 70.6-12.1-.6-.9-1.1-1.9-1.5-2.9l-65.4-179.2zm183-120.7c.9 6.8 1.4 14 1.4 21.9 0 21.6-4 45.8-16.2 76.2l-65 187.9C426.2 403 468.7 334.5 468.7 256c0-37-9.4-71.8-26-102.1zM504 256c0 136.8-111.3 248-248 248C119.2 504 8 392.7 8 256 8 119.2 119.2 8 256 8c136.7 0 248 111.2 248 248zm-11.4 0c0-130.5-106.2-236.6-236.6-236.6C125.5 19.4 19.4 125.5 19.4 256S125.6 492.6 256 492.6c130.5 0 236.6-106.1 236.6-236.6z"]};GM.add(WC,qC,GC);const dD={components:{GavelLogo:f3,FontAwesomeIcon:uD},data(){return{footer_menus:[{title:"Contact",links:[{text:"Chemini Mallikarachchi : +94 70 159 6603",href:"tel: +94 70 159 6603"},{text:"Ameera Weerasuriya : +94 71 135 6855",href:"tel: +94 71 135 6855"},{text:"Email : speecholympiadxvi@gmail.com",href:"mailto: speecholympiadxvi@gmail.com"}]}],social_media_profiles:[{profile:"instagram",icon:WC,link:"https://www.instagram.com/gavelmora_"},{profile:"facebook",icon:qC,link:"https://www.facebook.com/gavelmora/"},{profile:"linkedin",icon:GC,link:"https://www.linkedin.com/company/gavel-club-of-university-of-moratuwa/"},{profile:"Website",icon:cD,link:"http://gavel.mrt.ac.lk/"}]}}},hy=e=>(Cr("data-v-f41384af"),e=e(),Tr(),e),fD={class:"container-fluid app-footer"},hD={class:"row"},mD={class:"col-12 col-md-3 d-flex align-items-center justify-content-center justify-content-md-start my-md-0 my-4"},vD={class:"col-12 col-md-9"},gD={class:"row justify-content-end"},pD={class:"col-md-4 col-12 text-center text-md-start"},yD={class:"footer-menu-title mt-2 mb-1"},bD={class:"row"},_D={class:"col-12"},wD=["href"],xD={class:""},SD=hy(()=>y("div",{class:"row"},[y("div",{class:"col"},[y("hr")])],-1)),CD={class:"row"},TD=hy(()=>y("div",{class:"col-md-4 col-12 d-flex justify-content-center justify-content-md-start align-items-center order-last order-md-first my-2 my-lg-0"},[y("span",null,"\xA9 Speech Olympiad 2023")],-1)),ED={class:"col-md-8 col-12 order-first order-md-last"},ID={class:"row"},kD=hy(()=>y("div",{class:"col-12 col-md-6 my-2 my-md-0 d-flex justify-content-center justify-content-md-end align-items-center"},[y("span",null,"Follow us on")],-1)),AD={class:"col my-2 my-md-0 d-flex justify-content-center"},PD=["href"];function VD(e,t,n,r,i,s){const a=Ke("GavelLogo"),o=Ke("FontAwesomeIcon");return te(),ne("div",fD,[y("div",hD,[y("div",mD,[m(a)]),y("div",vD,[y("div",gD,[(te(!0),ne(Se,null,Wn(i.footer_menus,l=>(te(),ne("div",pD,[y("div",yD,Ve(l.title),1),y("div",bD,[(te(!0),ne(Se,null,Wn(l.links,u=>(te(),ne("div",_D,[y("a",{href:u.href,class:"footer-link"},[y("span",xD,Ve(u.text),1)],8,wD)]))),256))])]))),256))])])]),SD,y("div",CD,[TD,y("div",ED,[y("div",ID,[kD,(te(!0),ne(Se,null,Wn(i.social_media_profiles,l=>(te(),ne("div",AD,[y("a",{href:l.link},[m(o,{icon:l.icon,size:"2x",class:"icon-color"},null,8,["icon"])],8,PD)]))),256))])])])])}const OD=lt(dD,[["render",VD],["__scopeId","data-v-f41384af"]]),Z_=()=>{let e=window.location.hash.slice(1);return["","about","champions-story","technical-tips"].indexOf(e)},RD={data(){return{items:[{name:"Home",url:"#",newTab:!1},{name:"About",url:"#about",newTab:!1},{name:"Champion's Story",url:"#champions-story",newTab:!1},{name:"Technical Tips",url:"#technical-tips",newTab:!1},{name:"Gallery",url:"#gallery",newTab:!1},{name:"Rules & Regulations",url:"#rules",newTab:!0},{name:"Blogs",url:"#blogs",newTab:!1},{name:"Register",url:"#register",newTab:!1}],activeItem:Z_()}},methods:{clickHandler(e){window.matchMedia("(max-width: 768px)").matches&&document.querySelector(".navbar-toggler").click()}},mounted(){window.addEventListener("hashchange",()=>{window.location.hash.slice(1),this.activeItem=Z_()})}},MD=["onClick"],DD=["href","target"];function $D(e,t,n,r,i,s){return te(!0),ne(Se,null,Wn(i.items,(a,o)=>(te(),ne("li",{class:"nav-item",key:o,style:{padding:"1px",border:"none"}},[y("div",{onClick:l=>s.clickHandler(o),class:ut({"font-bold text-gray-400":o===i.activeItem})},[y("a",{class:ut(a.name==="Register"?"nav-link text-amber-500 hover:text-amber-600":"nav-link"),href:a.url,target:a.newTab?"_blank":""},Ve(a.name),11,DD)],10,MD)]))),128)}const FD=lt(RD,[["render",$D]]),tu="/assets/new_logo.f8800419.png";const ND={data(){return{logo:{filename:tu,alt:"Speech Olympiad Logo"}}}},LD=["src","alt"];function BD(e,t,n,r,i,s){return te(),ne("img",{src:i.logo.filename,alt:i.logo.alt,class:"logo"},null,8,LD)}const KC=lt(ND,[["render",BD],["__scopeId","data-v-44e29e01"]]);const jD={components:{AppHeaderMenu:FD,SOLogo:KC},data(){return{mobileNavOpen:!1}}},YC=e=>(Cr("data-v-784a87dc"),e=e(),Tr(),e),zD={class:"headerbar"},UD={class:"bg-dark"},HD={class:"container mx-auto px-4 py-2"},qD={class:"flex items-start justify-between"},WD={id:"logo",class:"w-8 h-8 md:w-20 md:h-8"},GD={class:"navbar-brand",href:"/#"},KD=YC(()=>y("span",{class:"sr-only"},"Toggle navigation",-1)),YD=YC(()=>y("svg",{class:"h-6 w-6",fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24",stroke:"currentColor"},[y("path",{d:"M4 6h16M4 12h16m-7 6h7"})],-1)),XD=[KD,YD],QD={class:"hidden md:block"},JD={class:"flex space-x-4"},ZD={class:"px-2 pt-2 pb-4 space-y-2"};function e$(e,t,n,r,i,s){const a=Ke("SOLogo"),o=Ke("AppHeaderMenu");return te(),ne("div",zD,[y("nav",UD,[y("div",HD,[y("div",qD,[y("div",WD,[y("a",GD,[m(a,{class:"w-full h-full"})])]),y("button",{class:"block md:hidden text-white hover:text-gray-300 focus:outline-none",type:"button",onClick:t[0]||(t[0]=l=>i.mobileNavOpen=!i.mobileNavOpen)},XD),y("div",QD,[y("ul",JD,[m(o)])])])]),y("div",{class:ut(["md:hidden bg-dark",{block:i.mobileNavOpen,hidden:!i.mobileNavOpen}])},[y("ul",ZD,[m(o)])],2)])])}const t$=lt(jD,[["render",e$],["__scopeId","data-v-784a87dc"]]);const n$={name:"SpeechContestRules",component:{SOLogo:KC},methods:{download(){window.location.href="https://bit.ly/45vWx1K"}}},r$={class:"container mx-auto py-8 bg-gray-100 text-zinc-800"},i$=Kf('

Speech Olympiad XVI

Intra-University Speech Competition - University of Moratuwa

Contest Rules: Preliminaries


1. Eligibility

The contestant should be an undergraduate studying in any of the following faculties of University of Moratuwa to be eligible to participate in Speech Olympiad XVI:

  • Faculty of Engineering
  • Faculty of Architecture
  • Faculty of Information Technology
  • Faculty of Business
  • Faculty of Medicine

2. Language

All speeches must be given in English. (Dialogues or any phrases expressed in other languages i.e., Sinhala, Tamil etc. should be minimal and such phrases should be immediately translated to English.)

3. Speech Rounds

There will be 3 rounds i.e., the Preliminary round, the Semi-final round, and the Final round. All 3 rounds will be held physically at the University Premises. The same speech or different speeches can be used to compete in all three rounds.

4. Competition Procedure

  • The preliminaries will be happening on the 1st of October at the University Premises. For verification purposes, all contestants must bring their University ID or the Student Record Book.
  • Prior to the contest, each speaker will be allocated a time slot at which the contestant must deliver the speech.
  • Each contestant must arrive at least 30 minutes prior to the allocated time slot. If any contestant does not arrive at the allocated time without at least a 30-minute prior notice, the contestant will be disqualified.
  • Each speaker will be introduced by the \u201CContestant Number\u201D. The Contestant Number will be determined and notified prior to the event.
  • Upon being introduced, the contestant shall proceed immediately to the speaking position.

5. Speech Timings

  • Timing will begin with the contestant\u2019s first definite verbal or nonverbal communication with the audience. This usually will be the first word uttered by the contestant, but would include any other communication such as sound effects, a staged act by another person, etc.
  • Each participant will have to give a prepared speech of 5 minutes \u2013 7 minutes on a topic of his/her choice. A contestant will be disqualified from the contest if the speech is less than 4 minutes 30 seconds or more than 7 minutes 30 seconds.
  • Timers will provide signals to the contestants, which will be as follows:
    • A green card will be displayed at five minutes and remain displayed for one minute.
    • An amber card will be displayed at six minutes and remain displayed for one minute.
    • A red card will be displayed at seven minutes and remain on until the conclusion of the speech.
    • No signal shall be given for the overtime period.

6. Use of Electronic Devices

The use of electronic aids including visuals, slide projectors, and charts will not be permitted. Contestants are allowed to use other props.

7. Speech Topics

Contestants are free to choose any topic of their choice subjected to the following conditions:

  • The topics must not be offensive in Sri Lankan context or against the laws of the land.
  • It must not aim to insult any particular person, groups of persons, or organization. (Your speech must not insult or discriminate anyone based on their religious or political beliefs, gender, or sexual orientations)
  • It must not be politically biased.
  • All speeches must be original. Any quoted material must be identified.

8. Dress Code

Formal attire is recommended.

9. Speech Evaluation Criteria

Speeches will be evaluated on the following criteria:

  • Content (50%) - Speech Development, Effectiveness, and Speech value
  • Delivery (30%) - Body language, Voice, and Manner
  • Language (20%) - Appropriateness and Correctness (cannot include phrases or dialogues from languages other than English)

10. Judges' Decision

The decision of the judges will be final.

11. Certificates

All participants who complete the speech without being disqualified will receive certificates of participation.

12. Contact Information

If the contestant has any issue or requires further details with the given procedure, please contact:

  • Udula Abeysinghe +94 76 601 1227 (Co-Chair - SO XVI)
  • Gavin Senaratne +94 77 962 3063 (Education Pillar Head - SO XVI)

',16),s$=y("svg",{class:"w-6 h-6 inline-block mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1),a$=St(" Download "),o$=[s$,a$];function l$(e,t,n,r,i,s){const a=Ke("SOLogo");return te(),ne("div",r$,[m(a,{class:"w-full h-full"}),i$,y("button",{class:"bg-amber-500 hover:bg-amber-600 text-black font-bold py-2 px-4 rounded-full focus:outline-none focus:shadow-outline",onClick:t[0]||(t[0]=(...o)=>s.download&&s.download(...o))},o$)])}const XC=lt(n$,[["render",l$]]),u$="/assets/HomePage_carousel1_mobile.b250e0bf.jpg",c$="/assets/HomePage_carousel1_desktop.6fe11346.jpg",d$="/assets/HomePage_carousel2_mobile.5a549734.jpg",f$="/assets/HomePage_carousel2_desktop.9c0240ca.jpg",h$="/assets/HomePage_carousel3_mobile.3d2d3625.jpg",m$="/assets/carousel_image_new.cffee730.jpg";const v$={data(){return{HomePage_carousel1_mobile:u$,HomePage_carousel1_desktop:c$,HomePage_carousel2_mobile:d$,HomePage_carousel2_desktop:f$,HomePage_carousel3_mobile:h$,HomePage_carousel3_desktop:m$}},computed:{isMobile(){return window.matchMedia("(max-width: 768px)").matches}}},g$=e=>(Cr("data-v-6864259c"),e=e(),Tr(),e),p$={id:"myCarousel",class:"carousel slide","data-bs-ride":"carousel"},y$=g$(()=>y("div",{class:"carousel-indicators"},[y("button",{type:"button","data-bs-target":"#myCarousel","data-bs-slide-to":"0",class:"active","aria-current":"true","aria-label":"Slide 1"}),y("button",{type:"button","data-bs-target":"#myCarousel","data-bs-slide-to":"1","aria-label":"Slide 2"}),y("button",{type:"button","data-bs-target":"#myCarousel","data-bs-slide-to":"2","aria-label":"Slide 3"})],-1)),b$={class:"carousel-inner"},_$={class:"carousel-item active"},w$=["src"],x$={class:"carousel-item"},S$=["src"],C$={class:"carousel-item"},T$=["src"],E$=Kf('',2);function I$(e,t,n,r,i,s){return te(),ne("div",p$,[y$,y("div",b$,[y("div",_$,[y("img",{src:s.isMobile?i.HomePage_carousel1_mobile:i.HomePage_carousel1_desktop,alt:"","aria-hidden":"true",loading:"eager"},null,8,w$)]),y("div",x$,[y("img",{src:s.isMobile?i.HomePage_carousel2_mobile:i.HomePage_carousel2_desktop,alt:"","aria-hidden":"true",loading:"lazy"},null,8,S$)]),y("div",C$,[y("img",{src:s.isMobile?i.HomePage_carousel3_mobile:i.HomePage_carousel3_desktop,alt:"","aria-hidden":"true",loading:"lazy"},null,8,T$)])]),E$])}const k$=lt(v$,[["render",I$],["__scopeId","data-v-6864259c"]]);const A$=4,P$={name:"AppGallery",props:{galleryName:String,images:Array,showLink:Boolean},data(){return{currentImage:""}},computed:{previewImage(){return this.currentImage!==""?this.currentImage:""},isShowModal(){return this.currentImage!==""}},mounted(){},methods:{closeModal(e){e.target.tagName!=="IMG"&&this._setCurrentImage("")},getImages(){return console.log(this.images),this.images},preview(e){this._setCurrentImage(e)},getShowLink(){return console.log(this.showLink),this.showLink==null?!1:this.showLink},getOrder(e){return"--order:"+e%A$+";"},_setCurrentImage(e){this.currentImage=e}}},QC=e=>(Cr("data-v-f9178ee9"),e=e(),Tr(),e),V$={class:"row gallery mx-1"},O$=["onClick"],R$=QC(()=>y("h5",{class:"center"},"See full image",-1)),M$=[R$],D$=["src"],$$={key:0,class:"col-sm-12 col-md-3 link-container"},F$=QC(()=>y("a",{class:"gallery-link",href:"#gallery"},"View Gallery",-1)),N$=[F$],L$={class:"img-modal"},B$=["src"];function j$(e,t,n,r,i,s){return te(),ne(Se,null,[y("div",V$,[(te(!0),ne(Se,null,Wn(s.getImages(),(a,o)=>(te(),ne("div",{class:"img-container",style:Po(s.getOrder(o)),key:o},[y("div",{onClick:l=>s.preview(a),class:"overlay"},M$,8,O$),y("img",{src:a,class:"center",alt:"",loading:"lazy"},null,8,D$)],4))),128)),s.getShowLink()?(te(),ne("div",$$,N$)):Le("",!0)]),et(y("div",L$,[y("button",{onClick:t[0]||(t[0]=(...a)=>s.closeModal&&s.closeModal(...a)),type:"button",class:"btn-close","aria-label":"Close"}," \u2715 "),y("img",{src:s.previewImage,class:"center",loading:"lazy"},null,8,B$)],512),[[Yr,s.isShowModal]])],64)}const JC=lt(P$,[["render",j$],["__scopeId","data-v-f9178ee9"]]);const z$={name:"AppFeaturette",props:{index:Number,heading:String,headingEnd:String,text:String,image:String,urlString:String},methods:{getOrder(e,t){return e%2===0&&t===0||e%2===1&&t===1?"order-md-first":"order-md-last"}}},U$=e=>(Cr("data-v-d44cddf0"),e=e(),Tr(),e),H$={class:"row featurette"},q$={class:"featurette-heading"},W$={class:"nav-link"},G$={class:"text-muted"},K$={class:"lead"},Y$=["href"],X$=["src"],Q$=U$(()=>y("hr",{class:"featurette-divider"},null,-1));function J$(e,t,n,r,i,s){return te(),ne(Se,null,[y("div",H$,[y("div",{class:ut("col-md-7 "+s.getOrder(n.index,0))},[y("h2",q$,[y("div",W$,[St(Ve(n.heading)+" ",1),y("span",G$,Ve(n.headingEnd),1)])]),y("p",K$,Ve(n.text),1),y("div",null,[y("a",{class:"read-more btn btn-secondary bg-amber-600 hover:bg-amber-700 mb-3",href:n.urlString},"Read more",8,Y$)])],2),y("div",{class:ut("col-md-5 "+s.getOrder(n.index,1))},[y("img",{class:"bd-placeholder-img bd-placeholder-img-lg featurette-image img-fluid mx-auto w-1/2",src:n.image,alt:"",loading:"lazy"},null,8,X$)],2)]),Q$],64)}const ZC=lt(z$,[["render",J$],["__scopeId","data-v-d44cddf0"]]);const Z$={name:"TestimonialCard",props:{imageSrc:String,title:String,subtitle:String,body:String}},e5={class:"card testimonial-card mb-3 md-lg-0"},t5={class:"row mt-3"},n5={class:"col d-flex justify-content-center my-4"},r5=["src"],i5={class:"card-body"},s5={class:"card-title text-left testimonial-card-heading"},a5={class:"card-subtitle mb-2 text-muted"},o5={class:"card-text text-left testimonial-card-body"};function l5(e,t,n,r,i,s){return te(),ne("div",e5,[y("div",t5,[y("div",n5,[y("img",{alt:"",src:n.imageSrc,class:"testimonial-card-img",loading:"lazy"},null,8,r5)])]),y("div",i5,[y("h5",s5,Ve(this.title),1),y("h6",a5,Ve(this.subtitle),1),y("p",o5,'"'+Ve(this.body)+'"',1)])])}const eT=lt(Z$,[["render",l5],["__scopeId","data-v-aefe8af5"]]);let u5={name:"Doodle",mounted(){this.setColorScheme(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{this.colorScheme=e.matches?"dark":"light"}),this.paths=this.$el.querySelectorAll("path"),this.paths.forEach(e=>{this.setPathStrokeColor(e),this.drawPath(e)})},watch:{colorScheme(){this.paths.forEach(e=>this.setPathStrokeColor(e))}},data(){return{colorScheme:null,paths:[]}},methods:{setColorScheme:function(){this.colorScheme="dark"},setPathStrokeColor:function(e){e.style.stroke=this.colorScheme==="dark"?"gold":"black"},drawPath:function(e){let t=e.getTotalLength();e.style.strokeDasharray=t,e.style.strokeDashoffset=t,window.addEventListener("scroll",function(n){let r=(document.documentElement.scrollTop+document.body.scrollTop)/(document.documentElement.scrollHeight-document.documentElement.clientHeight),i=t*r;e.style.strokeDashoffset=t-i,r>=.99?e.style.strokeDasharray=0:e.style.strokeDasharray=t})}}};const c5=u5,d5={id:"doodle"},f5=Kf('',1),h5=[f5];function m5(e,t,n,r,i,s){return te(),ne("div",d5,h5)}const v5=lt(c5,[["render",m5],["__scopeId","data-v-bce26b0a"]]),g5="/assets/What is SO - Home page .fc5ad15c.png",p5={props:{targetDate:{type:String,required:!0}},data(){return{intervalId:null,countdown:"Calculating..."}},methods:{updateCountdown(){const e=new Date(this.targetDate).getTime(),t=new Date().getTime(),n=e-t;if(n>0){const r=Math.floor(n/864e5),i=Math.floor(n%(1e3*60*60*24)/(1e3*60*60)),s=Math.floor(n%(1e3*60*60)/(1e3*60)),a=Math.floor(n%(1e3*60)/1e3);this.countdown=`${r}D ${i}H ${s}M ${a}S`}else this.countdown="Concluded",clearInterval(this.intervalId)}},mounted(){this.intervalId=setInterval(this.updateCountdown,1e3),this.updateCountdown()},beforeDestroy(){clearInterval(this.intervalId)}},y5={class:"text-xl antialiased tracking-tight italic bg-clip-text bg-gradient-to-r from-zinc-100 via-zinc-200 to-zinc-300"};function b5(e,t,n,r,i,s){return te(),ne("h1",y5,Ve(i.countdown),1)}const _5=lt(p5,[["render",b5]]),tT="/assets/Registrations_open.4a799416.png",nT="/assets/Prelis.d9c15bd6.png",rT="/assets/Semi_Finalists_announced.d6807d0f.png",iT="/assets/Semi_Finals.d4eb4357.png",sT="/assets/Finalists_announced.713515b6.png",aT="/assets/Finals.afe4aa43.png",oT="/assets/winners_announced.d8113b16.png";const w5={components:{CountdownTimer:_5},methods:{handleScroll(){const t=this.$el.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight,r=n/2;t.top+this.ele2.height+r{if(this.$refs.ele1&&this.$refs.ele2&&this.$refs.ele3&&this.$refs.ele4&&this.$refs.ele5&&this.$refs.ele6&&this.$refs.ele7){this.ele1.height=this.$refs.ele1.offsetHeight,this.ele2.height=this.$refs.ele2.offsetHeight,this.ele3.height=this.$refs.ele3.offsetHeight,this.ele4.height=this.$refs.ele4.offsetHeight,this.ele5.height=this.$refs.ele5.offsetHeight,this.ele6.height=this.$refs.ele6.offsetHeight,this.ele7.height=this.$refs.ele7.offsetHeight;const e=window.innerHeight||document.documentElement.clientHeight;console.log("Element height:",this.ele1.height,this.ele7.height,e)}window.addEventListener("scroll",this.handleScroll)},100)},beforeUnmount(){window.removeEventListener("scroll",this.handleScroll)},data(){return{registrationsOpen:tT,prelis:nT,announcingSemi:rT,semiFinal:iT,finalistsAnounced:sT,finals:aT,winners:oT,shouldAnimate:!1,ele1:{view:!1,height:100},ele2:{view:!1,height:100},ele3:{view:!1,height:100},ele4:{view:!1,height:100},ele5:{view:!1,height:100},ele6:{view:!1,height:100},ele7:{view:!1,height:100}}}},Zn=e=>(Cr("data-v-6d51e802"),e=e(),Tr(),e),x5={class:"flex justify-center mt-7"},S5={class:"timeline md:w-4/6 w-full"},C5={class:"timeline-content"},T5=["src"],E5=Zn(()=>y("h3",{class:"text-4xl opacity-60 text-transparent bg-clip-text bg-gradient-to-r from-amber-50 via-amber-100 to-amber-100"}," Registrations Opened",-1)),I5=Zn(()=>y("p",{class:"text-2xl mt-1 text-transparent bg-clip-text bg-gradient-to-r from-amber-100 via-amber-100 to-amber-200"},[St(" 1"),y("sup",{class:"text-lg mt-1 text-transparent bg-clip-text bg-gradient-to-r from-amber-100 via-amber-100 to-amber-200"},"st"),St(" September 2023 ")],-1)),k5={class:"w-full flex justify-start"},A5={class:"timeline-content relative"},P5={class:"w-full flex justify-end"},V5=["src"],O5={class:"text-right"},R5=Zn(()=>y("h3",{class:"text-4xl text-transparent bg-clip-text bg-gradient-to-r from-amber-50 via-amber-100 to-amber-200"}," Preliminary Round ",-1)),M5=Zn(()=>y("p",{class:"text-2xl mt-1 text-transparent bg-clip-text bg-gradient-to-r from-amber-100 via-amber-100 to-amber-200"},[St(" 1"),y("sup",{class:"text-lg mt-1 text-transparent bg-clip-text bg-gradient-to-r from-amber-100 via-amber-100 to-amber-200"},"st"),St(" October 2023 ")],-1)),D5={class:"w-full flex justify-end"},$5={class:"timeline-content"},F5=["src"],N5=Zn(()=>y("h3",{class:"text-4xl text-transparent bg-clip-text bg-gradient-to-r from-amber-100 via-amber-200 to-amber-300"}," Announcing Semi Finalists",-1)),L5=Zn(()=>y("p",{class:"text-2xl mt-1 text-transparent bg-clip-text bg-gradient-to-r from-amber-100 via-amber-100 to-amber-200"},[St(" 1"),y("sup",{class:"text-lg mt-1 text-transparent bg-clip-text bg-gradient-to-r from-amber-100 via-amber-100 to-amber-200"},"st"),St(" October 2023 ")],-1)),B5={class:"w-full flex justify-start"},j5={class:"timeline-content"},z5={class:"w-full flex justify-end"},U5=["src"],H5=Zn(()=>y("h3",{class:"text-4xl text-transparent bg-clip-text bg-gradient-to-r from-amber-200 via-amber-300 to-amber-400"}," Semi Finals",-1)),q5=Zn(()=>y("p",{class:"text-2xl mt-1 text-transparent bg-clip-text bg-gradient-to-r from-amber-100 via-amber-100 to-amber-200"},[St(" 15"),y("sup",{class:"text-lg mt-1 text-transparent bg-clip-text bg-gradient-to-r from-amber-100 via-amber-100 to-amber-200"},"th"),St(" October 2023 ")],-1)),W5={class:"w-full flex justify-end"},G5={class:"timeline-content"},K5=["src"],Y5=Zn(()=>y("h3",{class:"text-4xl text-transparent bg-clip-text bg-gradient-to-r from-amber-300 via-amber-400 to-amber-500"}," Announcing Finalists ",-1)),X5=Zn(()=>y("p",{class:"text-2xl mt-1 text-transparent bg-clip-text bg-gradient-to-r from-amber-100 via-amber-100 to-amber-200"},[St(" 15"),y("sup",{class:"text-lg mt-1 text-transparent bg-clip-text bg-gradient-to-r from-amber-100 via-amber-100 to-amber-200"},"th"),St(" October 2023 ")],-1)),Q5={class:"w-full flex justify-start"},J5={class:"timeline-content"},Z5={class:"w-full flex justify-end"},eF=["src"],tF=Zn(()=>y("h3",{class:"mt-1 text-4xl text-transparent bg-clip-text bg-gradient-to-r from-amber-400 via-amber-500 to-amber-600"}," Finals",-1)),nF=Zn(()=>y("p",{class:"text-2xl mt-1 text-transparent bg-clip-text bg-gradient-to-r from-amber-400 via-amber-500 to-amber-600"}," TBD",-1)),rF={class:"timeline-content"},iF=["src"],sF=Zn(()=>y("h3",{class:"mt-1 text-4xl text-transparent bg-clip-text bg-gradient-to-r from-amber-600 via-amber-600 to-amber-500"}," Winners Announced ",-1)),aF=Zn(()=>y("p",{class:"text-2xl mt-1 text-transparent bg-clip-text bg-gradient-to-r from-amber-600 via-amber-600 to-amber-500"}," TBD",-1));function oF(e,t,n,r,i,s){const a=Ke("countdown-timer");return te(),ne("div",x5,[y("div",S5,[y("div",{class:ut(["timeline-item left animate-elementL",{"animate-fade-in":i.ele1.view}]),ref:"ele1",onClick:t[0]||(t[0]=o=>s.handleClick(1))},[y("div",C5,[y("img",{src:i.registrationsOpen,alt:"registration open",class:"w-1/2 image-to-overlay"},null,8,T5),E5,I5,y("div",k5,[m(a,{targetDate:"2023-09-01"})])])],2),y("div",{class:ut(["timeline-item right animate-elementR",{"animate-fade-in":i.ele2.view}]),ref:"ele2"},[y("div",A5,[y("div",P5,[y("img",{src:i.prelis,alt:"registration open",class:"w-1/2"},null,8,V5)]),y("div",O5,[R5,M5,y("div",D5,[m(a,{targetDate:"2023-10-01"})])])])],2),y("div",{class:ut(["timeline-item left animate-elementL",{"animate-fade-in":i.ele3.view}]),ref:"ele3"},[y("div",$5,[y("img",{src:i.announcingSemi,alt:"registration open",class:"w-1/2 image-to-overlay"},null,8,F5),N5,L5,y("div",B5,[m(a,{targetDate:"2023-10-01"})])])],2),y("div",{class:ut(["timeline-item right animate-elementR",{"animate-fade-in":i.ele4.view}]),ref:"ele4"},[y("div",j5,[y("div",z5,[y("img",{src:i.semiFinal,alt:"registration open",class:"w-1/2"},null,8,U5)]),H5,q5,y("div",W5,[m(a,{targetDate:"2023-10-15"})])])],2),y("div",{class:ut(["timeline-item left animate-elementL",{"animate-fade-in":i.ele5.view}]),ref:"ele5"},[y("div",G5,[y("img",{src:i.finalistsAnounced,alt:"registration open",class:"w-1/2 image-to-overlay"},null,8,K5),Y5,X5,y("div",Q5,[m(a,{targetDate:"2023-10-15"})])])],2),y("div",{class:ut(["timeline-item right animate-elementR",{"animate-fade-in":i.ele6.view}]),ref:"ele6"},[y("div",J5,[y("div",Z5,[y("img",{src:i.finals,alt:"registration open",class:"w-1/2"},null,8,eF)]),tF,nF])],2),y("div",{class:ut(["timeline-item left animate-elementL",{"animate-fade-in":i.ele7.view}]),ref:"ele7"},[y("div",rF,[y("img",{src:i.winners,alt:"registration open",class:"w-1/2 image-to-overlay"},null,8,iF),sF,aF])],2)])])}const lF=lt(w5,[["render",oF],["__scopeId","data-v-6d51e802"]]),uF="/assets/HomePage_testimonial_sirimevan.c43b09f7.jpg",cF="/assets/HomePage_testimonial_malindi.518dfdf3.jpeg",dF="/assets/HomePage_testimonial_amaya.3226fc94.jpg",fF="/assets/HomePage_testimonial_asitha.589462e3.jpg",lT="/assets/1.71d36c46.png",uT="/assets/3.2b5edd0b.jpg",cT="/assets/8.20c55bdf.jpg",hF={data:()=>({years:[{title:"Registrations Open",color:"amber-lighten-4",date:""},{title:"Registrations Closing",color:"amber-lighten-3",date:""},{title:"Preliminary Round",color:"amber-lighten-2",date:""},{title:"Announcing Semi Finalists",color:"amber-lighten-1",date:""},{title:"Semi Finals",color:"amber-darken-1",date:""},{title:"Announcing Finalists",color:"amber-darken-2",date:""},{title:"Finals",color:"amber-darken-3",date:""},{title:"Announcing Winners",color:"amber-darken-4",date:""}]}),methods:{handleClick(e){switch(e){case"Registrations Open":const n=window.location.href.split("#")[0]+"#register";window.location.href=n;break}}}},mF={class:"w-full justify-center flex items-center bg-gradient-to-br to-transparent from-zinc-900"},vF={class:"md:w-1/2 w-full py-4 px-5"},gF=["onClick"],pF={class:"justify-center items-center"},yF=["textContent"];function bF(e,t,n,r,i,s){const a=Ke("v-timeline-item"),o=Ke("v-timeline");return te(),ne("div",mF,[y("div",vF,[m(o,{align:"start"},{default:cn(()=>[(te(!0),ne(Se,null,Wn(e.years,(l,u)=>(te(),Ru(a,{key:u,"dot-color":l.color,size:"small"},{opposite:cn(()=>[y("h2",{class:ut(`mt-n1 text-xl cursor-pointer headline font-weight-light mb-4 text-${l.color}`),onClick:c=>s.handleClick(l.title)},Ve(l.title),11,gF)]),default:cn(()=>[y("div",pF,[y("div",{class:ut("pt-1 headline font-weight-bold text-blue-grey-lighten-5 "),textContent:Ve(l.date)},null,8,yF)])]),_:2},1032,["dot-color"]))),128))]),_:1})])])}const _F=lt(hF,[["render",bF]]);function wF(e){const t=new IntersectionObserver(r=>{r.forEach(i=>{i.isIntersecting?i.target.classList.add("animated-show"):i.target.classList.remove("animated-show")})});document.querySelectorAll(e).forEach(r=>t.observe(r))}const xF="modulepreload",SF=function(e){return"/"+e},e1={},CF=function(t,n,r){return!n||n.length===0?t():Promise.all(n.map(i=>{if(i=SF(i),i in e1)return;e1[i]=!0;const s=i.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${a}`))return;const o=document.createElement("link");if(o.rel=s?"stylesheet":xF,s||(o.as="script",o.crossOrigin=""),o.href=i,document.head.appendChild(o),s)return new Promise((l,u)=>{o.addEventListener("load",l),o.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())},TF=typeof navigator>"u"?!1:navigator.product==="ReactNative",dT={timeout:TF?6e4:12e4},EF=function(t){const n={...dT,...typeof t=="string"?{url:t}:t},{searchParams:r}=new URL(n.url,"http://localhost");if(n.timeout=fT(n.timeout),n.query){for(const[a,o]of Object.entries(n.query))if(o!==void 0)if(Array.isArray(o))for(const l of o)r.append(a,l);else r.append(a,o)}const[i]=n.url.split("?"),s=r.toString();return s&&(n.url="".concat(i,"?").concat(s)),n.method=n.body&&!n.method?"POST":(n.method||"GET").toUpperCase(),n};function fT(e){if(e===!1||e===0)return!1;if(e.connect||e.socket)return e;const t=Number(e);return isNaN(t)?fT(dT.timeout):{connect:t,socket:t}}const IF=/^https?:\/\//i,kF=function(t){if(!IF.test(t.url))throw new Error('"'.concat(t.url,'" is not a valid URL'))};var Vn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Em=function(e){return e.replace(/^\s+|\s+$/g,"")},AF=function(e){return Object.prototype.toString.call(e)==="[object Array]"},hT=function(e){if(!e)return{};for(var t={},n=Em(e).split(` +`),r=0;r"u"?t[a]=o:AF(t[a])?t[a].push(o):t[a]=[t[a],o]}return t};const PF=e=>function(n,r){const i=n==="onError";let s=r;for(var a=arguments.length,o=new Array(a>2?a-2:0),l=2;l(s[a]=s[a]||[],s),{processOptions:[EF],validateOptions:[kF]});function i(s){const a=(v,g,b)=>{let p=v,_=g;if(!p)try{_=l("onResponse",g,b)}catch(w){_=null,p=w}p=p&&l("onError",p,b),p?o.error.publish(p):_&&o.response.publish(_)},o=OF.reduce((v,g)=>(v[g]=VF(),v),{}),l=PF(r),u=l("processOptions",s);l("validateOptions",u);const c={options:u,channels:o,applyMiddleware:l};let d;const f=o.request.subscribe(v=>{d=t(v,(g,b)=>a(g,b,v))});o.abort.subscribe(()=>{f(),d&&d.abort()});const h=l("onReturn",o,c);return h===o&&o.request.publish(c),h}return i.use=function(a){if(!a)throw new Error("Tried to add middleware that resolved to falsey value");if(typeof a=="function")throw new Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(a.onReturn&&r.onReturn.length>0)throw new Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return t1.forEach(o=>{a[o]&&r[o].push(a[o])}),n.push(a),i},i.clone=()=>mT(n,t),e.forEach(i.use),i}var RF=Object.defineProperty,MF=(e,t,n)=>t in e?RF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$r=(e,t,n)=>(MF(e,typeof t!="symbol"?t+"":t,n),n),vT=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},mr=(e,t,n)=>(vT(e,t,"read from private field"),n?n.call(e):t.get(e)),Vs=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Gi=(e,t,n,r)=>(vT(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),ed,td,Ga,nd,Xi,rd,id;class gT{constructor(){$r(this,"onabort"),$r(this,"onerror"),$r(this,"onreadystatechange"),$r(this,"ontimeout"),$r(this,"readyState",0),$r(this,"response"),$r(this,"responseText"),$r(this,"responseType",""),$r(this,"status"),$r(this,"statusText"),$r(this,"withCredentials"),Vs(this,ed,void 0),Vs(this,td,void 0),Vs(this,Ga,void 0),Vs(this,nd,{}),Vs(this,Xi,void 0),Vs(this,rd,{}),Vs(this,id,void 0)}open(t,n,r){Gi(this,ed,t),Gi(this,td,n),Gi(this,Ga,""),this.readyState=1,this.onreadystatechange(),Gi(this,Xi,void 0)}abort(){mr(this,Xi)&&mr(this,Xi).abort()}getAllResponseHeaders(){return mr(this,Ga)}setRequestHeader(t,n){mr(this,nd)[t]=n}setInit(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Gi(this,rd,t),Gi(this,id,n)}send(t){const n=this.responseType!=="arraybuffer",r={...mr(this,rd),method:mr(this,ed),headers:mr(this,nd),body:t};typeof AbortController=="function"&&mr(this,id)&&(Gi(this,Xi,new AbortController),typeof EventTarget<"u"&&mr(this,Xi).signal instanceof EventTarget&&(r.signal=mr(this,Xi).signal)),typeof document<"u"&&(r.credentials=this.withCredentials?"include":"omit"),fetch(mr(this,td),r).then(i=>(i.headers.forEach((s,a)=>{Gi(this,Ga,mr(this,Ga)+"".concat(a,": ").concat(s,`\r +`))}),this.status=i.status,this.statusText=i.statusText,this.readyState=3,n?i.text():i.arrayBuffer())).then(i=>{typeof i=="string"?this.responseText=i:this.response=i,this.readyState=4,this.onreadystatechange()}).catch(i=>{var s;if(i.name==="AbortError"){this.onabort();return}(s=this.onerror)==null||s.call(this,i)})}}ed=new WeakMap;td=new WeakMap;Ga=new WeakMap;nd=new WeakMap;Xi=new WeakMap;rd=new WeakMap;id=new WeakMap;const Yv=typeof XMLHttpRequest=="function"?"xhr":"fetch",DF=Yv==="xhr"?XMLHttpRequest:gT,$F=(e,t)=>{var n;const r=e.options,i=e.applyMiddleware("finalizeOptions",r),s={},a=e.applyMiddleware("interceptRequest",void 0,{adapter:Yv,context:e});if(a){const C=setTimeout(t,0,null,a);return{abort:()=>clearTimeout(C)}}let o=new DF;o instanceof gT&&typeof i.fetch=="object"&&o.setInit(i.fetch,(n=i.useAbortSignal)!=null?n:!0);const l=i.headers,u=i.timeout;let c=!1,d=!1,f=!1;if(o.onerror=C=>{p(new Error("Request error while attempting to reach ".concat(i.url).concat(C.lengthComputable?"(".concat(C.loaded," of ").concat(C.total," bytes transferred)"):"")))},o.ontimeout=C=>{p(new Error("Request timeout while attempting to reach ".concat(i.url).concat(C.lengthComputable?"(".concat(C.loaded," of ").concat(C.total," bytes transferred)"):"")))},o.onabort=()=>{b(!0),c=!0},o.onreadystatechange=()=>{g(),!(c||o.readyState!==4)&&o.status!==0&&w()},o.open(i.method,i.url,!0),o.withCredentials=!!i.withCredentials,l&&o.setRequestHeader)for(const C in l)l.hasOwnProperty(C)&&o.setRequestHeader(C,l[C]);return i.rawBody&&(o.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:i,adapter:Yv,request:o,context:e}),o.send(i.body||null),u&&(s.connect=setTimeout(()=>v("ETIMEDOUT"),u.connect)),{abort:h};function h(){c=!0,o&&o.abort()}function v(C){f=!0,o.abort();const I=new Error(C==="ESOCKETTIMEDOUT"?"Socket timed out on request to ".concat(i.url):"Connection timed out on request to ".concat(i.url));I.code=C,e.channels.error.publish(I)}function g(){!u||(b(),s.socket=setTimeout(()=>v("ESOCKETTIMEDOUT"),u.socket))}function b(C){(C||c||o.readyState>=2&&s.connect)&&clearTimeout(s.connect),s.socket&&clearTimeout(s.socket)}function p(C){if(d)return;b(!0),d=!0,o=null;const I=C||new Error("Network error while attempting to reach ".concat(i.url));I.isNetworkError=!0,I.request=i,t(I)}function _(){return{body:o.response||(o.responseType===""||o.responseType==="text"?o.responseText:""),url:i.url,method:i.method,headers:hT(o.getAllResponseHeaders()),statusCode:o.status,statusMessage:o.statusText}}function w(){if(!(c||d||f)){if(o.status===0){p(new Error("Unknown XHR error"));return}b(),d=!0,t(null,_())}}},FF=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$F;return mT(e,t)};var n1={exports:{}},Im,r1;function NF(){if(r1)return Im;r1=1;var e=1e3,t=e*60,n=t*60,r=n*24,i=r*7,s=r*365.25;Im=function(c,d){d=d||{};var f=typeof c;if(f==="string"&&c.length>0)return a(c);if(f==="number"&&isFinite(c))return d.long?l(c):o(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function a(c){if(c=String(c),!(c.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(!!d){var f=parseFloat(d[1]),h=(d[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return f*s;case"weeks":case"week":case"w":return f*i;case"days":case"day":case"d":return f*r;case"hours":case"hour":case"hrs":case"hr":case"h":return f*n;case"minutes":case"minute":case"mins":case"min":case"m":return f*t;case"seconds":case"second":case"secs":case"sec":case"s":return f*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return f;default:return}}}}function o(c){var d=Math.abs(c);return d>=r?Math.round(c/r)+"d":d>=n?Math.round(c/n)+"h":d>=t?Math.round(c/t)+"m":d>=e?Math.round(c/e)+"s":c+"ms"}function l(c){var d=Math.abs(c);return d>=r?u(c,d,r,"day"):d>=n?u(c,d,n,"hour"):d>=t?u(c,d,t,"minute"):d>=e?u(c,d,e,"second"):c+" ms"}function u(c,d,f,h){var v=d>=f*1.5;return Math.round(c/f)+" "+h+(v?"s":"")}return Im}function LF(e){n.debug=n,n.default=n,n.coerce=l,n.disable=s,n.enable=i,n.enabled=a,n.humanize=NF(),n.destroy=u,Object.keys(e).forEach(c=>{n[c]=e[c]}),n.names=[],n.skips=[],n.formatters={};function t(c){let d=0;for(let f=0;f{if(A==="%%")return"%";C++;const k=n.formatters[$];if(typeof k=="function"){const T=b[C];A=k.call(p,T),b.splice(C,1),C--}return A}),n.formatArgs.call(p,b),(p.log||n.log).apply(p,b)}return g.namespace=c,g.useColors=n.useColors(),g.color=n.selectColor(c),g.extend=r,g.destroy=n.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(h!==n.namespaces&&(h=n.namespaces,v=n.enabled(c)),v),set:b=>{f=b}}),typeof n.init=="function"&&n.init(g),g}function r(c,d){const f=n(this.namespace+(typeof d>"u"?":":d)+c);return f.log=this.log,f}function i(c){n.save(c),n.namespaces=c,n.names=[],n.skips=[];let d;const f=(typeof c=="string"?c:"").split(/[\s,]+/),h=f.length;for(d=0;d"-"+d)].join(",");return n.enable(""),c}function a(c){if(c[c.length-1]==="*")return!0;let d,f;for(d=0,f=n.skips.length;d{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;l.splice(1,0,u,"color: inherit");let c=0,d=0;l[0].replace(/%[a-zA-Z%]/g,f=>{f!=="%%"&&(c++,f==="%c"&&(d=c))}),l.splice(d,0,u)}t.log=console.debug||console.log||(()=>{});function i(l){try{l?t.storage.setItem("debug",l):t.storage.removeItem("debug")}catch{}}function s(){let l;try{l=t.storage.getItem("debug")}catch{}return!l&&typeof process<"u"&&"env"in process&&(l=process.env.DEBUG),l}function a(){try{return localStorage}catch{}}e.exports=BF(t);const{formatters:o}=e.exports;o.j=function(l){try{return JSON.stringify(l)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}})(n1,n1.exports);/*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */function i1(e){return Object.prototype.toString.call(e)==="[object Object]"}function jF(e){var t,n;return i1(e)===!1?!1:(t=e.constructor,t===void 0?!0:(n=t.prototype,!(i1(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)))}const zF=typeof Buffer>"u"?()=>!1:e=>Buffer.isBuffer(e),UF=["boolean","string","number"];function HF(){return{processOptions:e=>{const t=e.body;return!t||!(!(typeof t.pipe=="function")&&!zF(t)&&(UF.indexOf(typeof t)!==-1||Array.isArray(t)||jF(t)))?e:Object.assign({},e,{body:JSON.stringify(e.body),headers:Object.assign({},e.headers,{"Content-Type":"application/json"})})}}}function qF(e){return{onResponse:n=>{const r=n.headers["content-type"]||"",i=e&&e.force||r.indexOf("application/json")!==-1;return!n.body||!r||!i?n:Object.assign({},n,{body:t(n.body)})},processOptions:n=>Object.assign({},n,{headers:Object.assign({Accept:"application/json"},n.headers)})};function t(n){try{return JSON.parse(n)}catch(r){throw r.message="Failed to parsed response body as JSON: ".concat(r.message),r}}}let cl={};typeof globalThis<"u"?cl=globalThis:typeof window<"u"?cl=window:typeof global<"u"?cl=global:typeof self<"u"&&(cl=self);var WF=cl;function GF(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).implementation||WF.Observable;if(!t)throw new Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:(n,r)=>new t(i=>(n.error.subscribe(s=>i.error(s)),n.progress.subscribe(s=>i.next(Object.assign({type:"progress"},s))),n.response.subscribe(s=>{i.next(Object.assign({type:"response"},s)),i.complete()}),n.request.publish(r),()=>n.abort.publish()))}}function KF(){return{onRequest:e=>{if(e.adapter!=="xhr")return;const t=e.request,n=e.context;"upload"in t&&"onprogress"in t.upload&&(t.upload.onprogress=r("upload")),"onprogress"in t&&(t.onprogress=r("download"));function r(i){return s=>{const a=s.lengthComputable?s.loaded/s.total*100:-1;n.channels.progress.publish({stage:i,percent:a,total:s.total,loaded:s.loaded,lengthComputable:s.lengthComputable})}}}}}var YF=Object.defineProperty,XF=(e,t,n)=>t in e?YF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,nu=(e,t,n)=>(XF(e,typeof t!="symbol"?t+"":t,n),n);class QF{constructor(t){nu(this,"__CANCEL__",!0),nu(this,"message"),this.message=t}toString(){return"Cancel".concat(this.message?": ".concat(this.message):"")}}const s1=class{constructor(t){if(nu(this,"promise"),nu(this,"reason"),typeof t!="function")throw new TypeError("executor must be a function.");let n=null;this.promise=new Promise(r=>{n=r}),t(r=>{this.reason||(this.reason=new QF(r),n(this.reason))})}};nu(s1,"source",()=>{let e;return{token:new s1(n=>{e=n}),cancel:e}});var pT=(e,t,n)=>n.method!=="GET"&&n.method!=="HEAD"?!1:e.isNetworkError||!1;const JF=e=>e!==null&&typeof e=="object"&&typeof e.pipe=="function";var ZF=e=>{const t=e.maxRetries||5,n=e.retryDelay||eN,r=e.shouldRetry;return{onError:(i,s)=>{const a=s.options,o=a.maxRetries||t,l=a.shouldRetry||r,u=a.attemptNumber||0;if(JF(a.body)||!l(i,u,a)||u>=o)return i;const c=Object.assign({},s,{options:Object.assign({},a,{attemptNumber:u+1})});return setTimeout(()=>s.channels.request.publish(c),n(u)),null}}};function eN(e){return 100*Math.pow(2,e)+Math.random()*100}const my=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ZF({shouldRetry:pT,...e})};my.shouldRetry=pT;var Xv=function(e,t){return Xv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Xv(e,t)};function vy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Xv(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function a1(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function jd(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,s=[],a;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(o){a={error:o}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return s}function zd(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;rt in e?gN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,es=(e,t,n)=>(pN(e,typeof t!="symbol"?t+"":t,n),n);const Pm=5;class yN extends Error{constructor(t){const n=xT(t);super(n.message),es(this,"response"),es(this,"statusCode",400),es(this,"responseBody"),es(this,"details"),Object.assign(this,n)}}class bN extends Error{constructor(t){const n=xT(t);super(n.message),es(this,"response"),es(this,"statusCode",500),es(this,"responseBody"),es(this,"details"),Object.assign(this,n)}}function xT(e){const t=e.body,n={response:e,statusCode:e.statusCode,responseBody:xN(t,e),message:"",details:void 0};if(t.error&&t.message)return n.message="".concat(t.error," - ").concat(t.message),n;if(_N(t)){const r=t.error.items||[],i=r.slice(0,Pm).map(a=>{var o;return(o=a.error)==null?void 0:o.description}).filter(Boolean);let s=i.length?`: +- `.concat(i.join(` +- `)):"";return r.length>Pm&&(s+=` +...and `.concat(r.length-Pm," more")),n.message="".concat(t.error.description).concat(s),n.details=t.error,n}return t.error&&t.error.description?(n.message=t.error.description,n.details=t.error,n):(n.message=t.error||t.message||wN(e),n)}function _N(e){return d1(e)&&d1(e.error)&&e.error.type==="mutationError"&&typeof e.error.description=="string"}function d1(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function wN(e){const t=e.statusMessage?" ".concat(e.statusMessage):"";return"".concat(e.method,"-request to ").concat(e.url," resulted in HTTP ").concat(e.statusCode).concat(t)}function xN(e,t){return(t.headers["content-type"]||"").toLowerCase().indexOf("application/json")!==-1?JSON.stringify(e,null,2):e}const SN={onResponse:e=>{if(e.statusCode>=500)throw new bN(e);if(e.statusCode>=400)throw new yN(e);return e}},CN={onResponse:e=>{const t=e.headers["x-sanity-warning"];return(Array.isArray(t)?t:[t]).filter(Boolean).forEach(r=>console.warn(r)),e}};function TN(e,t){let{maxRetries:n=5,retryDelay:r}=t;const i=FF([n>0?my({retryDelay:r,maxRetries:n,shouldRetry:EN}):{},...e,CN,HF(),qF(),KF(),SN,GF({implementation:ru})]);function s(a){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:i)({maxRedirects:0,...a})}return s.defaultRequester=i,s}function EN(e,t,n){const r=n.method==="GET"||n.method==="HEAD",s=(n.uri||n.url).startsWith("/data/query"),a=e.response&&(e.response.statusCode===429||e.response.statusCode===502||e.response.statusCode===503);return(r||s)&&a?!0:my.shouldRetry(e,t,n)}const IN="https://www.sanity.io/help/";function by(e){return IN+e}const f1=["image","file"],h1=["before","after","replace"],ST=e=>{if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(e))throw new Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},kN=e=>{if(!/^[-a-z0-9]+$/i.test(e))throw new Error("`projectId` can only contain only a-z, 0-9 and dashes")},AN=e=>{if(f1.indexOf(e)===-1)throw new Error("Invalid asset type: ".concat(e,". Must be one of ").concat(f1.join(", ")))},Al=(e,t)=>{if(t===null||typeof t!="object"||Array.isArray(t))throw new Error("".concat(e,"() takes an object of properties"))},CT=(e,t)=>{if(typeof t!="string"||!/^[a-z0-9_][a-z0-9_.-]{0,127}$/i.test(t)||t.includes(".."))throw new Error("".concat(e,'(): "').concat(t,'" is not a valid document ID'))},Ud=(e,t)=>{if(!t._id)throw new Error("".concat(e,'() requires that the document contains an ID ("_id" property)'));CT(e,t._id)},PN=(e,t,n)=>{const r="insert(at, selector, items)";if(h1.indexOf(e)===-1){const i=h1.map(s=>'"'.concat(s,'"')).join(", ");throw new Error("".concat(r,' takes an "at"-argument which is one of: ').concat(i))}if(typeof t!="string")throw new Error("".concat(r,' takes a "selector"-argument which must be a string'));if(!Array.isArray(n))throw new Error("".concat(r,' takes an "items"-argument which must be an array'))},TT=e=>{if(!e.dataset)throw new Error("`dataset` must be provided to perform queries");return e.dataset||""},ET=e=>{if(typeof e!="string"||!/^[a-z0-9._-]{1,75}$/i.test(e))throw new Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return e};function VN(e){let t=!1,n;return function(){return t||(n=e(...arguments),t=!0),n}}const $u=e=>VN(function(){for(var t=arguments.length,n=new Array(t),r=0;rNN.indexOf(e)!==-1,BN=function(t){if(t==="1"||t==="X")return;const n=new Date(t);if(!(/^\d{4}-\d{2}-\d{2}$/.test(t)&&n instanceof Date&&n.getTime()>0))throw new Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")},IT=function(t){switch(t){case"previewDrafts":case"published":case"raw":return;default:throw new TypeError("Invalid API perspective string, expected `published`, `previewDrafts` or `raw`")}},kT=(e,t)=>{const n=Object.assign({},t,e);n.apiVersion||DN();const r=Object.assign({},Hd,n),i=r.useProjectHostname;if(typeof Promise>"u"){const d=by("js-client-promise-polyfill");throw new Error("No native Promise-implementation found, polyfill needed - see ".concat(d))}if(i&&!r.projectId)throw new Error("Configuration must contain `projectId`");if(typeof r.perspective=="string"&&IT(r.perspective),"encodeSourceMapAtPath"in r||"encodeSourceMap"in r||"studioUrl"in r||"logger"in r)throw new Error("It looks like you're using options meant for '@sanity/preview-kit/client', such as 'encodeSourceMapAtPath', 'encodeSourceMap', 'studioUrl' and 'logger'. Make sure you're using the right import.");const s=typeof window<"u"&&window.location&&window.location.hostname,a=s&&LN(window.location.hostname);s&&a&&r.token&&r.ignoreBrowserTokenWarning!==!0?MN():typeof r.useCdn>"u"&&ON(),i&&kN(r.projectId),r.dataset&&ST(r.dataset),"requestTagPrefix"in r&&(r.requestTagPrefix=r.requestTagPrefix?ET(r.requestTagPrefix).replace(/\.+$/,""):void 0),r.apiVersion="".concat(r.apiVersion).replace(/^v/,""),r.isDefaultApi=r.apiHost===Hd.apiHost,r.useCdn=r.useCdn!==!1&&!r.withCredentials,BN(r.apiVersion);const o=r.apiHost.split("://",2),l=o[0],u=o[1],c=r.isDefaultApi?FN:u;return r.useProjectHostname?(r.url="".concat(l,"://").concat(r.projectId,".").concat(u,"/v").concat(r.apiVersion),r.cdnUrl="".concat(l,"://").concat(r.projectId,".").concat(c,"/v").concat(r.apiVersion)):(r.url="".concat(r.apiHost,"/v").concat(r.apiVersion),r.cdnUrl=r.url),r},jN="X-Sanity-Project-ID";function zN(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n={},r=t.token||e.token;r&&(n.Authorization="Bearer ".concat(r)),!t.useGlobalApi&&!e.useProjectHostname&&e.projectId&&(n[jN]=e.projectId);const i=Boolean(typeof t.withCredentials>"u"?e.token||e.withCredentials:t.withCredentials),s=typeof t.timeout>"u"?e.timeout:t.timeout;return Object.assign({},t,{headers:Object.assign({},n,t.headers||{}),timeout:typeof s>"u"?5*60*1e3:s,proxy:t.proxy||e.proxy,json:!0,withCredentials:i,fetch:typeof t.fetch=="object"&&typeof e.fetch=="object"?{...e.fetch,...t.fetch}:t.fetch||e.fetch})}function AT(e){if(typeof e=="string"||Array.isArray(e))return{id:e};if(typeof e=="object"&&e!==null&&"query"in e&&typeof e.query=="string")return"params"in e&&typeof e.params=="object"&&e.params!==null?{query:e.query,params:e.params}:{query:e.query};const t=["* Document ID ()","* Array of document IDs","* Object containing `query`"].join(` +`);throw new Error(`Unknown selection - must be one of: + +`.concat(t))}const PT=e=>{let{query:t,params:n={},options:r={}}=e;const i=new URLSearchParams,{tag:s,...a}=r;s&&i.append("tag",s),i.append("query",t);for(const[o,l]of Object.entries(n))i.append("$".concat(o),JSON.stringify(l));for(const[o,l]of Object.entries(a))l&&i.append(o,"".concat(l));return"?".concat(i)};var UN=Object.defineProperty,HN=(e,t,n)=>t in e?UN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m1=(e,t,n)=>(HN(e,typeof t!="symbol"?t+"":t,n),n),VT=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},lo=(e,t,n)=>(VT(e,t,"read from private field"),n?n.call(e):t.get(e)),OT=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},RT=(e,t,n,r)=>(VT(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ka,Ya;class MT{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};m1(this,"selection"),m1(this,"operations"),this.selection=t,this.operations=n}set(t){return this._assign("set",t)}setIfMissing(t){return this._assign("setIfMissing",t)}diffMatchPatch(t){return Al("diffMatchPatch",t),this._assign("diffMatchPatch",t)}unset(t){if(!Array.isArray(t))throw new Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Object.assign({},this.operations,{unset:t}),this}inc(t){return this._assign("inc",t)}dec(t){return this._assign("dec",t)}insert(t,n,r){return PN(t,n,r),this._assign("insert",{[t]:n,items:r})}append(t,n){return this.insert("after","".concat(t,"[-1]"),n)}prepend(t,n){return this.insert("before","".concat(t,"[0]"),n)}splice(t,n,r,i){const s=typeof r>"u"||r===-1,a=n<0?n-1:n,o=s?-1:Math.max(0,n+r),l=a<0&&o>=0?"":o,u="".concat(t,"[").concat(a,":").concat(l,"]");return this.insert("replace",u,i||[])}ifRevisionId(t){return this.operations.ifRevisionID=t,this}serialize(){return{...AT(this.selection),...this.operations}}toJSON(){return this.serialize()}reset(){return this.operations={},this}_assign(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Al(t,n),this.operations=Object.assign({},this.operations,{[t]:Object.assign({},r&&this.operations[t]||{},n)}),this}_set(t,n){return this._assign(t,n,!1)}}const qN=class DT extends MT{constructor(t,n,r){super(t,n),OT(this,Ka,void 0),RT(this,Ka,r)}clone(){return new DT(this.selection,{...this.operations},lo(this,Ka))}commit(t){if(!lo(this,Ka))throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");const n=typeof this.selection=="string",r=Object.assign({returnFirst:n,returnDocuments:!0},t);return lo(this,Ka).mutate({patch:this.serialize()},r)}};Ka=new WeakMap;let Pl=qN;const WN=class $T extends MT{constructor(t,n,r){super(t,n),OT(this,Ya,void 0),RT(this,Ya,r)}clone(){return new $T(this.selection,{...this.operations},lo(this,Ya))}commit(t){if(!lo(this,Ya))throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");const n=typeof this.selection=="string",r=Object.assign({returnFirst:n,returnDocuments:!0},t);return lo(this,Ya).mutate({patch:this.serialize()},r)}};Ya=new WeakMap;let Vl=WN;var GN=Object.defineProperty,KN=(e,t,n)=>t in e?GN(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,v1=(e,t,n)=>(KN(e,typeof t!="symbol"?t+"":t,n),n),FT=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},ts=(e,t,n)=>(FT(e,t,"read from private field"),n?n.call(e):t.get(e)),NT=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},LT=(e,t,n,r)=>(FT(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Fs,Ns;const BT={returnDocuments:!1};class jT{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;v1(this,"operations"),v1(this,"trxId"),this.operations=t,this.trxId=n}create(t){return Al("create",t),this._add({create:t})}createIfNotExists(t){const n="createIfNotExists";return Al(n,t),Ud(n,t),this._add({[n]:t})}createOrReplace(t){const n="createOrReplace";return Al(n,t),Ud(n,t),this._add({[n]:t})}delete(t){return CT("delete",t),this._add({delete:{id:t}})}transactionId(t){return t?(this.trxId=t,this):this.trxId}serialize(){return[...this.operations]}toJSON(){return this.serialize()}reset(){return this.operations=[],this}_add(t){return this.operations.push(t),this}}const YN=class zT extends jT{constructor(t,n,r){super(t,r),NT(this,Fs,void 0),LT(this,Fs,n)}clone(){return new zT([...this.operations],ts(this,Fs),this.trxId)}commit(t){if(!ts(this,Fs))throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return ts(this,Fs).mutate(this.serialize(),Object.assign({transactionId:this.trxId},BT,t||{}))}patch(t,n){const r=typeof n=="function";if(typeof t!="string"&&t instanceof Vl)return this._add({patch:t.serialize()});if(r){const s=n(new Vl(t,{},ts(this,Fs)));if(!(s instanceof Vl))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:s.serialize()})}return this._add({patch:{id:t,...n}})}};Fs=new WeakMap;let UT=YN;const XN=class HT extends jT{constructor(t,n,r){super(t,r),NT(this,Ns,void 0),LT(this,Ns,n)}clone(){return new HT([...this.operations],ts(this,Ns),this.trxId)}commit(t){if(!ts(this,Ns))throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return ts(this,Ns).mutate(this.serialize(),Object.assign({transactionId:this.trxId},BT,t||{}))}patch(t,n){const r=typeof n=="function";if(typeof t!="string"&&t instanceof Pl)return this._add({patch:t.serialize()});if(r){const s=n(new Pl(t,{},ts(this,Ns)));if(!(s instanceof Pl))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:s.serialize()})}return this._add({patch:{id:t,...n}})}};Ns=new WeakMap;let qT=XN;const QN=(e,t)=>e===!1?void 0:typeof e>"u"?t:e,JN=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{dryRun:e.dryRun,returnIds:!0,returnDocuments:QN(e.returnDocuments,!0),visibility:e.visibility||"sync",autoGenerateArrayKeys:e.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:e.skipCrossDatasetReferenceValidation}},_y=e=>e.type==="response",ZN=e=>e.body,eL=(e,t)=>e.reduce((n,r)=>(n[t(r)]=r,n),Object.create(null)),tL=11264;function WT(e,t,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};const s=i.filterResponse===!1?c=>c:c=>c.result,{cache:a,next:o,...l}={useAbortSignal:typeof i.signal<"u",...i},u=typeof a<"u"||typeof o<"u"?{...l,fetch:{cache:a,next:o}}:l;return Fu(e,t,"query",{query:n,params:r},u).pipe(ca(s))}function GT(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i={uri:Ro(e,"doc",n),json:!0,tag:r.tag};return Nu(e,t,i).pipe(Du(_y),ca(s=>s.body.documents&&s.body.documents[0]))}function KT(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i={uri:Ro(e,"doc",n.join(",")),json:!0,tag:r.tag};return Nu(e,t,i).pipe(Du(_y),ca(s=>{const a=eL(s.body.documents||[],o=>o._id);return n.map(o=>a[o]||null)}))}function YT(e,t,n,r){return Ud("createIfNotExists",n),nh(e,t,n,"createIfNotExists",r)}function XT(e,t,n,r){return Ud("createOrReplace",n),nh(e,t,n,"createOrReplace",r)}function QT(e,t,n,r){return Fu(e,t,"mutate",{mutations:[{delete:AT(n)}]},r)}function JT(e,t,n,r){let i;n instanceof Vl||n instanceof Pl?i={patch:n.serialize()}:n instanceof UT||n instanceof qT?i=n.serialize():i=n;const s=Array.isArray(i)?i:[i],a=r&&r.transactionId||void 0;return Fu(e,t,"mutate",{mutations:s,transactionId:a},r)}function Fu(e,t,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};const s=n==="mutate",a=n==="query",o=s?"":PT(r),l=!s&&o.length{if(!s)return p;const _=p.results||[];if(i.returnDocuments)return c?_[0]&&_[0].document:_.map(I=>I.document);const w=c?"documentId":"documentIds",C=c?_[0]&&_[0].id:_.map(I=>I.id);return{transactionId:p.transactionId,results:_,[w]:C}}))}function nh(e,t,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};const s={[r]:n},a=Object.assign({returnFirst:!0,returnDocuments:!0},i);return Fu(e,t,"mutate",{mutations:[s]},a)}function Nu(e,t,n){var r;const i=n.url||n.uri,s=e.config(),a=typeof n.canUseCdn>"u"?["GET","HEAD"].indexOf(n.method||"GET")>=0&&i.indexOf("/data/")===0:n.canUseCdn;let o=s.useCdn&&a;const l=n.tag&&s.requestTagPrefix?[s.requestTagPrefix,n.tag].join("."):n.tag||s.requestTagPrefix;if(l&&(n.query={tag:ET(l),...n.query}),["GET","HEAD","POST"].indexOf(n.method||"GET")>=0&&i.indexOf("/data/query/")===0){((r=n.resultSourceMap)!=null?r:s.resultSourceMap)&&(n.query={resultSourceMap:!0,...n.query});const d=n.perspective||s.perspective;typeof d=="string"&&d!=="raw"&&(IT(d),n.query={perspective:d,...n.query},d==="previewDrafts"&&o&&(o=!1,RN()))}const u=zN(s,Object.assign({},n,{url:wy(e,i,o)})),c=new ru(d=>t(u,s.requester).subscribe(d));return n.signal?c.pipe(nL(n.signal)):c}function Gr(e,t,n){return Nu(e,t,n).pipe(Du(i=>i.type==="response"),ca(i=>i.body))}function Ro(e,t,n){const r=e.config(),i=TT(r),s="/".concat(t,"/").concat(i),a=n?"".concat(s,"/").concat(n):s;return"/data".concat(a).replace(/\/($|\?)/,"$1")}function wy(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{url:r,cdnUrl:i}=e.config(),s=n?i:r;return"".concat(s,"/").concat(t.replace(/^\//,""))}function nL(e){return t=>new ru(n=>{const r=()=>n.error(iL(e));if(e&&e.aborted){r();return}const i=t.subscribe(n);return e.addEventListener("abort",r),()=>{e.removeEventListener("abort",r),i.unsubscribe()}})}const rL=Boolean(globalThis.DOMException);function iL(e){var t,n;if(rL)return new DOMException((t=e==null?void 0:e.reason)!=null?t:"The operation was aborted.","AbortError");const r=new Error((n=e==null?void 0:e.reason)!=null?n:"The operation was aborted.");return r.name="AbortError",r}var ZT=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},qd=(e,t,n)=>(ZT(e,t,"read from private field"),n?n.call(e):t.get(e)),Wd=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Gd=(e,t,n,r)=>(ZT(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),sd,ad,od,ld;class sL{constructor(t,n){Wd(this,sd,void 0),Wd(this,ad,void 0),Gd(this,sd,t),Gd(this,ad,n)}upload(t,n,r){return eE(qd(this,sd),qd(this,ad),t,n,r)}}sd=new WeakMap;ad=new WeakMap;class aL{constructor(t,n){Wd(this,od,void 0),Wd(this,ld,void 0),Gd(this,od,t),Gd(this,ld,n)}upload(t,n,r){const i=eE(qd(this,od),qd(this,ld),t,n,r);return on(i.pipe(Du(s=>s.type==="response"),ca(s=>s.body.document)))}}od=new WeakMap;ld=new WeakMap;function eE(e,t,n,r){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};AN(n);let s=i.extract||void 0;s&&!s.length&&(s=["none"]);const a=TT(e.config()),o=n==="image"?"images":"files",l=oL(i,r),{tag:u,label:c,title:d,description:f,creditLine:h,filename:v,source:g}=l,b={label:c,title:d,description:f,filename:v,meta:s,creditLine:h};return g&&(b.sourceId=g.id,b.sourceName=g.name,b.sourceUrl=g.url),Nu(e,t,{tag:u,method:"POST",timeout:l.timeout||0,uri:"/assets/".concat(o,"/").concat(a),headers:l.contentType?{"Content-Type":l.contentType}:{},query:b,body:r})}function oL(e,t){return typeof File>"u"||!(t instanceof File)?e:Object.assign({filename:e.preserveFilename===!1?void 0:t.name,contentType:t.type},e)}var lL=(e,t)=>Object.keys(t).concat(Object.keys(e)).reduce((n,r)=>(n[r]=typeof e[r]>"u"?t[r]:e[r],n),{});const uL=(e,t)=>t.reduce((n,r)=>(typeof e[r]>"u"||(n[r]=e[r]),n),{}),cL=16e3-1200,dL=["includePreviousRevision","includeResult","visibility","effectFormat","tag"],fL={includeResult:!0};function tE(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{url:r,token:i,withCredentials:s,requestTagPrefix:a}=this.config(),o=n.tag&&a?[a,n.tag].join("."):n.tag,l={...lL(n,fL),tag:o},u=uL(l,dL),c=PT({query:e,params:t,options:{tag:o,...u}}),d="".concat(r).concat(Ro(this,"listen",c));if(d.length>cL)return new ru(g=>g.error(new Error("Query too large for listener")));const f=l.events?l.events:["mutation"],h=f.indexOf("reconnect")!==-1,v={};return(i||s)&&(v.withCredentials=!0),i&&(v.headers={Authorization:"Bearer ".concat(i)}),new ru(g=>{let b;T().then(S=>{b=S}).catch(S=>{g.error(S),E()});let p,_=!1;function w(){_||(k(),!_&&b.readyState===b.CLOSED&&($(),clearTimeout(p),p=setTimeout(D,100)))}function C(S){g.error(hL(S))}function I(S){const P=nE(S);return P instanceof Error?g.error(P):g.next(P)}function A(){_=!0,$(),g.complete()}function $(){!b||(b.removeEventListener("error",w),b.removeEventListener("channelError",C),b.removeEventListener("disconnect",A),f.forEach(S=>b.removeEventListener(S,I)),b.close())}function k(){h&&g.next({type:"reconnect"})}async function T(){const{default:S}=await CF(()=>import("./browser.4973c2c2.js").then(M=>M.b),[]),P=new S(d,v);return P.addEventListener("error",w),P.addEventListener("channelError",C),P.addEventListener("disconnect",A),f.forEach(M=>P.addEventListener(M,I)),P}function D(){T().then(S=>{b=S}).catch(S=>{g.error(S),E()})}function E(){_=!0,$()}return E})}function nE(e){try{const t=e.data&&JSON.parse(e.data)||{};return Object.assign({type:e.type},t)}catch(t){return t}}function hL(e){if(e instanceof Error)return e;const t=nE(e);return t instanceof Error?t:new Error(mL(t))}function mL(e){return e.error?e.error.description?e.error.description:typeof e.error=="string"?e.error:JSON.stringify(e.error,null,2):e.message||"Unknown listener error"}var rE=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Tn=(e,t,n)=>(rE(e,t,"read from private field"),n?n.call(e):t.get(e)),Kd=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Yd=(e,t,n,r)=>(rE(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ls,Bs,js,zs;class vL{constructor(t,n){Kd(this,Ls,void 0),Kd(this,Bs,void 0),Yd(this,Ls,t),Yd(this,Bs,n)}create(t,n){return uo(Tn(this,Ls),Tn(this,Bs),"PUT",t,n)}edit(t,n){return uo(Tn(this,Ls),Tn(this,Bs),"PATCH",t,n)}delete(t){return uo(Tn(this,Ls),Tn(this,Bs),"DELETE",t)}list(){return Gr(Tn(this,Ls),Tn(this,Bs),{uri:"/datasets"})}}Ls=new WeakMap;Bs=new WeakMap;class gL{constructor(t,n){Kd(this,js,void 0),Kd(this,zs,void 0),Yd(this,js,t),Yd(this,zs,n)}create(t,n){return on(uo(Tn(this,js),Tn(this,zs),"PUT",t,n))}edit(t,n){return on(uo(Tn(this,js),Tn(this,zs),"PATCH",t,n))}delete(t){return on(uo(Tn(this,js),Tn(this,zs),"DELETE",t))}list(){return on(Gr(Tn(this,js),Tn(this,zs),{uri:"/datasets"}))}}js=new WeakMap;zs=new WeakMap;function uo(e,t,n,r,i){return ST(r),Gr(e,t,{method:n,uri:"/datasets/".concat(r),body:i})}var iE=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},ns=(e,t,n)=>(iE(e,t,"read from private field"),n?n.call(e):t.get(e)),Xd=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Qd=(e,t,n,r)=>(iE(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),dl,fl,hl,ml;class pL{constructor(t,n){Xd(this,dl,void 0),Xd(this,fl,void 0),Qd(this,dl,t),Qd(this,fl,n)}list(t){const n=(t==null?void 0:t.includeMembers)===!1?"/projects?includeMembers=false":"/projects";return Gr(ns(this,dl),ns(this,fl),{uri:n})}getById(t){return Gr(ns(this,dl),ns(this,fl),{uri:"/projects/".concat(t)})}}dl=new WeakMap;fl=new WeakMap;class yL{constructor(t,n){Xd(this,hl,void 0),Xd(this,ml,void 0),Qd(this,hl,t),Qd(this,ml,n)}list(t){const n=(t==null?void 0:t.includeMembers)===!1?"/projects?includeMembers=false":"/projects";return on(Gr(ns(this,hl),ns(this,ml),{uri:n}))}getById(t){return on(Gr(ns(this,hl),ns(this,ml),{uri:"/projects/".concat(t)}))}}hl=new WeakMap;ml=new WeakMap;var sE=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Jd=(e,t,n)=>(sE(e,t,"read from private field"),n?n.call(e):t.get(e)),Zd=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},ef=(e,t,n,r)=>(sE(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),ud,cd,dd,fd;class bL{constructor(t,n){Zd(this,ud,void 0),Zd(this,cd,void 0),ef(this,ud,t),ef(this,cd,n)}getById(t){return Gr(Jd(this,ud),Jd(this,cd),{uri:"/users/".concat(t)})}}ud=new WeakMap;cd=new WeakMap;class _L{constructor(t,n){Zd(this,dd,void 0),Zd(this,fd,void 0),ef(this,dd,t),ef(this,fd,n)}getById(t){return on(Gr(Jd(this,dd),Jd(this,fd),{uri:"/users/".concat(t)}))}}dd=new WeakMap;fd=new WeakMap;var wL=Object.defineProperty,xL=(e,t,n)=>t in e?wL(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Nr=(e,t,n)=>(xL(e,typeof t!="symbol"?t+"":t,n),n),aE=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Ze=(e,t,n)=>(aE(e,t,"read from private field"),n?n.call(e):t.get(e)),tf=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},nf=(e,t,n,r)=>(aE(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Us,an,Hs,Zt;const SL=class Zv{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Hd;Nr(this,"assets"),Nr(this,"datasets"),Nr(this,"projects"),Nr(this,"users"),tf(this,Us,void 0),tf(this,an,void 0),Nr(this,"listen",tE),this.config(n),nf(this,an,t),this.assets=new sL(this,Ze(this,an)),this.datasets=new vL(this,Ze(this,an)),this.projects=new pL(this,Ze(this,an)),this.users=new bL(this,Ze(this,an))}clone(){return new Zv(Ze(this,an),this.config())}config(t){if(t===void 0)return{...Ze(this,Us)};if(Ze(this,Us)&&Ze(this,Us).allowReconfigure===!1)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return nf(this,Us,kT(t,Ze(this,Us)||{})),this}withConfig(t){return new Zv(Ze(this,an),{...this.config(),...t})}fetch(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return WT(this,Ze(this,an),t,n,r)}getDocument(t,n){return GT(this,Ze(this,an),t,n)}getDocuments(t,n){return KT(this,Ze(this,an),t,n)}create(t,n){return nh(this,Ze(this,an),t,"create",n)}createIfNotExists(t,n){return YT(this,Ze(this,an),t,n)}createOrReplace(t,n){return XT(this,Ze(this,an),t,n)}delete(t,n){return QT(this,Ze(this,an),t,n)}mutate(t,n){return JT(this,Ze(this,an),t,n)}patch(t,n){return new Pl(t,n,this)}transaction(t){return new qT(t,this)}request(t){return Gr(this,Ze(this,an),t)}getUrl(t,n){return wy(this,t,n)}getDataUrl(t,n){return Ro(this,t,n)}};Us=new WeakMap;an=new WeakMap;let CL=SL;const TL=class eg{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Hd;Nr(this,"assets"),Nr(this,"datasets"),Nr(this,"projects"),Nr(this,"users"),Nr(this,"observable"),tf(this,Hs,void 0),tf(this,Zt,void 0),Nr(this,"listen",tE),this.config(n),nf(this,Zt,t),this.assets=new aL(this,Ze(this,Zt)),this.datasets=new gL(this,Ze(this,Zt)),this.projects=new yL(this,Ze(this,Zt)),this.users=new _L(this,Ze(this,Zt)),this.observable=new CL(t,n)}clone(){return new eg(Ze(this,Zt),this.config())}config(t){if(t===void 0)return{...Ze(this,Hs)};if(Ze(this,Hs)&&Ze(this,Hs).allowReconfigure===!1)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");return this.observable&&this.observable.config(t),nf(this,Hs,kT(t,Ze(this,Hs)||{})),this}withConfig(t){return new eg(Ze(this,Zt),{...this.config(),...t})}fetch(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return on(WT(this,Ze(this,Zt),t,n,r))}getDocument(t,n){return on(GT(this,Ze(this,Zt),t,n))}getDocuments(t,n){return on(KT(this,Ze(this,Zt),t,n))}create(t,n){return on(nh(this,Ze(this,Zt),t,"create",n))}createIfNotExists(t,n){return on(YT(this,Ze(this,Zt),t,n))}createOrReplace(t,n){return on(XT(this,Ze(this,Zt),t,n))}delete(t,n){return on(QT(this,Ze(this,Zt),t,n))}mutate(t,n){return on(JT(this,Ze(this,Zt),t,n))}patch(t,n){return new Vl(t,n,this)}transaction(t){return new UT(t,this)}request(t){return on(Gr(this,Ze(this,Zt),t))}dataRequest(t,n,r){return on(Fu(this,Ze(this,Zt),t,n,r))}getUrl(t,n){return wy(this,t,n)}getDataUrl(t,n){return Ro(this,t,n)}};Hs=new WeakMap;Zt=new WeakMap;let EL=TL;const oE=TN(vN,{});oE.defaultRequester;function IL(e){return $N(),new EL(oE,e)}const rf=IL({projectId:"i32b0q2c",dataset:"production",useCdn:!0,apiVersion:"2021-03-25"});var tg={exports:{}};(function(e,t){var n=200,r="__lodash_hash_undefined__",i=800,s=16,a=9007199254740991,o="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",d="[object Date]",f="[object Error]",h="[object Function]",v="[object GeneratorFunction]",g="[object Map]",b="[object Number]",p="[object Null]",_="[object Object]",w="[object Proxy]",C="[object RegExp]",I="[object Set]",A="[object String]",$="[object Undefined]",k="[object WeakMap]",T="[object ArrayBuffer]",D="[object DataView]",E="[object Float32Array]",S="[object Float64Array]",P="[object Int8Array]",M="[object Int16Array]",Q="[object Int32Array]",G="[object Uint8Array]",j="[object Uint8ClampedArray]",B="[object Uint16Array]",J="[object Uint32Array]",ee=/[\\^$.*+?()[\]{}|]/g,se=/^\[object .+?Constructor\]$/,ge=/^(?:0|[1-9]\d*)$/,fe={};fe[E]=fe[S]=fe[P]=fe[M]=fe[Q]=fe[G]=fe[j]=fe[B]=fe[J]=!0,fe[o]=fe[l]=fe[T]=fe[c]=fe[D]=fe[d]=fe[f]=fe[h]=fe[g]=fe[b]=fe[_]=fe[C]=fe[I]=fe[A]=fe[k]=!1;var Ae=typeof Vn=="object"&&Vn&&Vn.Object===Object&&Vn,Ne=typeof self=="object"&&self&&self.Object===Object&&self,Z=Ae||Ne||Function("return this")(),Re=t&&!t.nodeType&&t,ze=Re&&!0&&e&&!e.nodeType&&e,ht=ze&&ze.exports===Re,pe=ht&&Ae.process,Oe=function(){try{var O=ze&&ze.require&&ze.require("util").types;return O||pe&&pe.binding&&pe.binding("util")}catch{}}(),ie=Oe&&Oe.isTypedArray;function V(O,L,X){switch(X.length){case 0:return O.call(L);case 1:return O.call(L,X[0]);case 2:return O.call(L,X[0],X[1]);case 3:return O.call(L,X[0],X[1],X[2])}return O.apply(L,X)}function F(O,L){for(var X=-1,Ie=Array(O);++X-1}function LV(O,L){var X=this.__data__,Ie=gc(X,O);return Ie<0?(++this.size,X.push([O,L])):X[Ie][1]=L,this}Et.prototype.clear=Jt,Et.prototype.delete=Mr,Et.prototype.get=Dr,Et.prototype.has=Ui,Et.prototype.set=LV;function Da(O){var L=-1,X=O==null?0:O.length;for(this.clear();++L1?X[st-1]:void 0,Vt=st>2?X[2]:void 0;for(_t=O.length>3&&typeof _t=="function"?(st--,_t):void 0,Vt&&m4(X[0],X[1],Vt)&&(_t=st<3?void 0:_t,st=1),L=Object(L);++Ie-1&&O%1==0&&O0){if(++L>=i)return arguments[0]}else L=0;return O.apply(void 0,arguments)}}function x4(O){if(O!=null){try{return W.call(O)}catch{}try{return O+""}catch{}}return""}function bc(O,L){return O===L||O!==O&&L!==L}var dm=M0(function(){return arguments}())?M0:function(O){return Jo(O)&&de.call(O,"callee")&&!Yn.call(O,"callee")},fm=Array.isArray;function hm(O){return O!=null&&L0(O.length)&&!mm(O)}function S4(O){return Jo(O)&&hm(O)}var N0=qt||k4;function mm(O){if(!Is(O))return!1;var L=pc(O);return L==h||L==v||L==u||L==w}function L0(O){return typeof O=="number"&&O>-1&&O%1==0&&O<=a}function Is(O){var L=typeof O;return O!=null&&(L=="object"||L=="function")}function Jo(O){return O!=null&&typeof O=="object"}function C4(O){if(!Jo(O)||pc(O)!=_)return!1;var L=Tt(O);if(L===null)return!0;var X=de.call(L,"constructor")&&L.constructor;return typeof X=="function"&&X instanceof X&&W.call(X)==_e}var B0=ie?z(ie):e4;function T4(O){return u4(O,j0(O))}function j0(O){return hm(O)?XV(O,!0):t4(O)}var E4=c4(function(O,L,X){D0(O,L,X)});function I4(O){return function(){return O}}function z0(O){return O}function k4(){return!1}e.exports=E4})(tg,tg.exports);const kL=tg.exports;/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */function AL(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i0)&&!(i=r.next()).done;)s.push(i.value)}catch(o){a={error:o}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return s}function PL(e,t){for(var n=0,r=t.length,i=e.length;n1;)n.splice(r,0,t.hardBreak());return n},hd=function(e,t,n,r){var i=lE(t),s=i[0],a=i.slice(1);if(!s)return RL(e.text,n);var o=s in n.marks?{_type:s,_key:""}:r.find(function(c){return c._key===s}),l=o?n.marks[o._type]:"span";if(dE(l)){var u=ng(o);return Lt(l,u,function(){return hd(e,a,n,r)})}return typeof l=="function"?l(o||{},hd(e,a,n,r)):Lt(l,ng(o),hd(e,a,n,r))},fE=function(e,t,n){var r=["em","strong","code"],i=PL([],lE(e.marks)).sort(function(s,a){return r.includes(s)?1:r.includes(a)?-1:0});return hd(e,i,t,n)},ML=function(e,t){var n=e.children.flatMap(function(r){return fE(r,t,e.markDefs)});return uE(e,t,n)},DL=function(e,t){return Lt("span",{style:"text-decoration: underline;"},t)},$L=function(e,t){return Lt("a",{href:e.href,target:e.newtab?"_blank":void 0},t)},FL=function(e,t){var n=e.listItem==="number"?"ol":"ul";return Lt(n,{},xy(e.children,t,e.level))},NL=function(e,t){var n=xy(e.children,t,e.level),r=e.style&&e.style!=="normal";return Lt("li",{},r?uE(e,t,n):n)},ng=function(e){if(e){e._key,e._type;var t=AL(e,["_key","_type"]);return t}return{}},LL=function(e,t){var n=OL(e,t);if(!n)return null;if(dE(n)){var r=ng(e);return Lt(n,r)}return typeof n=="function"?cE(e)?n(e,t,[]):n(e,t):Lt(n,{})},g1=function(e){return{_type:"list",_key:e._key+"-parent",level:e.level,listItem:e.listItem,children:[e]}},BL=function(e,t){t===void 0&&(t=0);var n=function(s){return"level"in s},r=function(s){return s&&"children"in s},i=[];return e.forEach(function(s){if(!n(s)){i.push(s);return}var a=i[i.length-1];if(s.level===t){i.push(s);return}s.level&&s.level>t&&(!r(a)||!n(a)||a.level&&a.level>s.level||a.level===s.level&&a.listItem!==s.listItem?i.push(g1(s)):a.children.push(s))}),i},xy=function(e,t,n){n===void 0&&(n=0);var r=BL(e,n);return r.map(function(i){return LL(i,t)}).filter(VL)},jL={types:{image:"image",block:ML},marks:{strong:"strong",em:"em",link:$L,underline:DL},styles:{h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",normal:"p"},hardBreak:function(){return Lt("br")},span:fE,list:FL,listItem:NL},zL=Vo({functional:!0,props:{blocks:{type:Array,default:function(){return[]}},serializers:{type:Object,default:function(){return{}}}},setup:function(e){var t=kL({},jL,e.serializers);return function(){return xy(e.blocks,t)}}}),hE={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Vn,function(){function n(){return n=Object.assign||function(E){for(var S=1;SE.length)&&(S=E.length);for(var P=0,M=new Array(S);P=E.length?{done:!0}:{done:!1,value:E[M++]}}}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 a="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function o(E){var S=E.split("-"),P=S[1],M=S[2],Q=S[3];if(!P||!M||!Q)throw new Error("Malformed asset _ref '"+E+`'. Expected an id like "`+a+'".');var G=M.split("x"),j=G[0],B=G[1],J=+j,ee=+B,se=isFinite(J)&&isFinite(ee);if(!se)throw new Error("Malformed asset _ref '"+E+`'. Expected an id like "`+a+'".');return{id:P,width:J,height:ee,format:Q}}var l=function(S){var P=S;return P?typeof P._ref=="string":!1},u=function(S){var P=S;return P?typeof P._id=="string":!1},c=function(S){var P=S;return P&&P.asset?typeof P.asset.url=="string":!1};function d(E){if(!E)return null;var S;if(typeof E=="string"&&f(E))S={asset:{_ref:h(E)}};else if(typeof E=="string")S={asset:{_ref:E}};else if(l(E))S={asset:E};else if(u(E))S={asset:{_ref:E._id||""}};else if(c(E))S={asset:{_ref:h(E.asset.url)}};else if(typeof E.asset=="object")S=n({},E);else return null;var P=E;return P.crop&&(S.crop=P.crop),P.hotspot&&(S.hotspot=P.hotspot),v(S)}function f(E){return/^https?:\/\//.test(""+E)}function h(E){var S=E.split("/").slice(-1);return("image-"+S[0]).replace(/\.([a-z]+)$/,"-$1")}function v(E){if(E.crop&&E.hotspot)return E;var S=n({},E);return S.crop||(S.crop={left:0,top:0,bottom:0,right:0}),S.hotspot||(S.hotspot={x:.5,y:.5,height:1,width:1}),S}var g=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"]];function b(E){var S=n({},E||{}),P=S.source;delete S.source;var M=d(P);if(!M)throw new Error("Unable to resolve image URL from source ("+JSON.stringify(P)+")");var Q=M.asset._ref||M.asset._id||"",G=o(Q),j=Math.round(M.crop.left*G.width),B=Math.round(M.crop.top*G.height),J={left:j,top:B,width:Math.round(G.width-M.crop.right*G.width-j),height:Math.round(G.height-M.crop.bottom*G.height-B)},ee=M.hotspot.height*G.height/2,se=M.hotspot.width*G.width/2,ge=M.hotspot.x*G.width,fe=M.hotspot.y*G.height,Ae={left:ge-se,top:fe-ee,right:ge+se,bottom:fe+ee};return S.rect||S.focalPoint||S.ignoreImageParams||S.crop||(S=n({},S,_({crop:J,hotspot:Ae},S))),p(n({},S,{asset:G}))}function p(E){var S=(E.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),P=E.asset.id+"-"+E.asset.width+"x"+E.asset.height+"."+E.asset.format,M=S+"/images/"+E.projectId+"/"+E.dataset+"/"+P,Q=[];if(E.rect){var G=E.rect,j=G.left,B=G.top,J=G.width,ee=G.height,se=j!==0||B!==0||ee!==E.asset.height||J!==E.asset.width;se&&Q.push("rect="+j+","+B+","+J+","+ee)}E.bg&&Q.push("bg="+E.bg),E.focalPoint&&(Q.push("fp-x="+E.focalPoint.x),Q.push("fp-y="+E.focalPoint.y));var ge=[E.flipHorizontal&&"h",E.flipVertical&&"v"].filter(Boolean).join("");return ge&&Q.push("flip="+ge),g.forEach(function(fe){var Ae=fe[0],Ne=fe[1];typeof E[Ae]<"u"?Q.push(Ne+"="+encodeURIComponent(E[Ae])):typeof E[Ne]<"u"&&Q.push(Ne+"="+encodeURIComponent(E[Ne]))}),Q.length===0?M:M+"?"+Q.join("&")}function _(E,S){var P,M=S.width,Q=S.height;if(!(M&&Q))return{width:M,height:Q,rect:E.crop};var G=E.crop,j=E.hotspot,B=M/Q,J=G.width/G.height;if(J>B){var ee=Math.round(G.height),se=Math.round(ee*B),ge=Math.max(0,Math.round(G.top)),fe=Math.round((j.right-j.left)/2+j.left),Ae=Math.max(0,Math.round(fe-se/2));AeG.left+G.width&&(Ae=G.left+G.width-se),P={left:Ae,top:ge,width:se,height:ee}}else{var Ne=G.width,Z=Math.round(Ne/B),Re=Math.max(0,Math.round(G.left)),ze=Math.round((j.bottom-j.top)/2+j.top),ht=Math.max(0,Math.round(ze-Z/2));htG.top+G.height&&(ht=G.top+G.height-Z),P={left:Re,top:ht,width:Ne,height:Z}}return{width:M,height:Q,rect:P}}var w=["clip","crop","fill","fillmax","max","scale","min"],C=["top","bottom","left","right","center","focalpoint","entropy"],I=["format"];function A(E){return E&&"config"in E?typeof E.config=="function":!1}function $(E){return E&&"clientConfig"in E?typeof E.clientConfig=="object":!1}function k(E){for(var S=g,P=s(S),M;!(M=P()).done;){var Q=M.value,G=Q[0],j=Q[1];if(E===G||E===j)return G}return E}function T(E){if(A(E)){var S=E.config(),P=S.apiHost,M=S.projectId,Q=S.dataset,G=P||"https://api.sanity.io";return new D(null,{baseUrl:G.replace(/^https:\/\/api\./,"https://cdn."),projectId:M,dataset:Q})}var j=E;if($(j)){var B=j.clientConfig,J=B.apiHost,ee=B.projectId,se=B.dataset,ge=J||"https://api.sanity.io";return new D(null,{baseUrl:ge.replace(/^https:\/\/api\./,"https://cdn."),projectId:ee,dataset:se})}return new D(null,E)}var D=function(){function E(P,M){this.options=void 0,this.options=P?n({},P.options||{},M||{}):n({},M||{})}var S=E.prototype;return S.withOptions=function(M){var Q=M.baseUrl||this.options.baseUrl,G={baseUrl:Q};for(var j in M)if(M.hasOwnProperty(j)){var B=k(j);G[B]=M[j]}return new E(this,n({baseUrl:Q},G))},S.image=function(M){return this.withOptions({source:M})},S.dataset=function(M){return this.withOptions({dataset:M})},S.projectId=function(M){return this.withOptions({projectId:M})},S.bg=function(M){return this.withOptions({bg:M})},S.dpr=function(M){return this.withOptions(M&&M!==1?{dpr:M}:{})},S.width=function(M){return this.withOptions({width:M})},S.height=function(M){return this.withOptions({height:M})},S.focalPoint=function(M,Q){return this.withOptions({focalPoint:{x:M,y:Q}})},S.maxWidth=function(M){return this.withOptions({maxWidth:M})},S.minWidth=function(M){return this.withOptions({minWidth:M})},S.maxHeight=function(M){return this.withOptions({maxHeight:M})},S.minHeight=function(M){return this.withOptions({minHeight:M})},S.size=function(M,Q){return this.withOptions({width:M,height:Q})},S.blur=function(M){return this.withOptions({blur:M})},S.sharpen=function(M){return this.withOptions({sharpen:M})},S.rect=function(M,Q,G,j){return this.withOptions({rect:{left:M,top:Q,width:G,height:j}})},S.format=function(M){return this.withOptions({format:M})},S.invert=function(M){return this.withOptions({invert:M})},S.orientation=function(M){return this.withOptions({orientation:M})},S.quality=function(M){return this.withOptions({quality:M})},S.forceDownload=function(M){return this.withOptions({download:M})},S.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},S.flipVertical=function(){return this.withOptions({flipVertical:!0})},S.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},S.fit=function(M){if(w.indexOf(M)===-1)throw new Error('Invalid fit mode "'+M+'"');return this.withOptions({fit:M})},S.crop=function(M){if(C.indexOf(M)===-1)throw new Error('Invalid crop mode "'+M+'"');return this.withOptions({crop:M})},S.saturation=function(M){return this.withOptions({saturation:M})},S.auto=function(M){if(I.indexOf(M)===-1)throw new Error('Invalid auto mode "'+M+'"');return this.withOptions({auto:M})},S.pad=function(M){return this.withOptions({pad:M})},S.url=function(){return b(this.options)},S.toString=function(){return this.url()},E}();return T})})(hE);const Sy=hE.exports;const UL=Sy(rf),HL={name:"Blogs",props:{limit:{type:Number,default:50}},data(){return{loading:!0,loading2:!0,loadBlog:!0,slug:"",posts:[],post:[],blocks:[],showModal:!1,modalImageUrl:""}},created(){this.fetchData()},components:{AppTestimonialCard:eT,AppFeaturette:ZC,SanityBlocks:zL},methods:{imageUrlFor(e){return UL.image(e)},showImageModal(e){this.modalImageUrl=e,this.showModal=!0},closeImageModal(){this.modalImageUrl="",this.showModal=!1},convertImageUrl(e){let t=e.replace("image-","");return t=t.replace("-jpg",".jpg"),t=t.replace("-png",".png"),console.log("https://cdn.sanity.io/images/i32b0q2c/production/"+t),"https://cdn.sanity.io/images/i32b0q2c/production/"+t},closePost(){console.log("clicked"),this.slug=null,this.loadBlog=!0,this.post=null},handleReadmore(e){console.log("button clicked"+e),console.log(e);const t=`*[slug.current == $slug] { + _id, + title, + slug, + body, + "image": mainImage{ + asset->{ + _id, + url + } + }, + "coverImage": coverImage{ + asset->{ + _id, + url + } + }, + "name":author->name, + images, + "authorImage":author->image + }[0] + `;this.slug=e,this.loadBlog=!1,rf.fetch(t,{slug:this.slug}).then(n=>{this.loading2=!1,this.post=n,this.blocks=n.body,console.log(n.images[1].image.asset._ref)},n=>{this.error=n})},fetchData(){let e="";this.limit==2?e=` *[_type == "post" && (slug.current == "so-xv-the-grand-finale" || slug.current == "the-preliminary-round-of-speech-olympiad-xv" || slug.current == "speech-olympiad-xv-the-semi-final-round" )] { + _id, + title, + slug, + description, + "image": mainImage { + asset-> { + _id, + url + } + }, + "name": author->name, + excerpt + } `:e=`*[_type == "post"]{ + _id, + title, + slug, + description, + "image": mainImage{ + asset->{ + _id, + url + } +}, + +"name":author->name, + + excerpt + }[0..${this.limit}]`,console.log(this.limit),this.error=this.post=null,this.loading=!0,rf.fetch(e).then(t=>{this.loading=!1,this.posts=t,console.log(t)},t=>{this.error=t})}}},qL={class:"home"},WL=y("br",null,null,-1),GL={key:0},KL={key:0,class:"loading"},YL={key:1,class:"error"},XL={key:2,class:"content px-4 py-4 w-full md:w-1/2"},QL=y("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",viewBox:"0 0 20 20",fill:"currentColor"},[y("path",{"fill-rule":"evenodd",d:"M9.293 5.293a1 1 0 011.414 1.414L7.414 10l3.293 3.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 010 1.414z","clip-rule":"evenodd"})],-1),JL=[QL],ZL=["src"],e6=y("br",null,null,-1),t6={class:"text-5xl"},n6=y("br",null,null,-1),r6={class:"flex items-center"},i6=["src"],s6=y("h2",{class:"text-2xl py-4"},"Blog Photos",-1),a6={class:"grid grid-cols-3 md:grid-cols-3 lg:grid-cols-3 gap-4"},o6=["onClick","src"],l6=y("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",viewBox:"0 0 20 20",fill:"currentColor"},[y("path",{"fill-rule":"evenodd",d:"M9.293 5.293a1 1 0 011.414 1.414L7.414 10l3.293 3.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 010 1.414z","clip-rule":"evenodd"})],-1),u6=[l6],c6={key:1,class:"fixed inset-0 flex items-center justify-center z-50"},d6=y("div",{class:"modal-overlay fixed inset-0 bg-black opacity-50"},null,-1),f6={class:"modal-container bg-transparent mx-auto rounded-lg p-4 max-w-screen-lg"},h6=y("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1),m6=[h6],v6=["src"],g6={key:1,class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-2 px-4 w-full"},p6={class:"max-w-sm border mt-4 border-gray-200 rounded-lg shadow bg-gray-800 bg-opacity-25 border-gray-700"},y6={href:"#"},b6=["src"],_6={class:"p-2"},w6={href:"#"},x6={class:"mb-2 text-2xl font-bold tracking-tight text-white"},S6={class:"mb-3 font-normal text-gray-400"},C6=["onClick"],T6=St(" Read more "),E6=y("svg",{class:"w-3.5 h-3.5 ml-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 10"},[y("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M1 5h12m0 0L9 1m4 4L9 9"})],-1),I6=[T6,E6];function k6(e,t,n,r,i,s){const a=Ke("SanityBlocks");return te(),ne("div",qL,[WL,i.slug?(te(),ne("div",GL,[i.loading2?(te(),ne("div",KL,"Loading...")):Le("",!0),e.error?(te(),ne("div",YL,Ve(e.error),1)):Le("",!0),i.post?(te(),ne("div",XL,[y("button",{onClick:t[0]||(t[0]=(...o)=>s.closePost&&s.closePost(...o)),class:"bg-gray-800 text-white p-4 rounded-full hover:bg-amber-700 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:ring-opacity-50"},JL),i.post.coverImage?(te(),ne("img",{key:0,src:s.imageUrlFor(i.post.coverImage),class:"w-full h-auto"},null,8,ZL)):Le("",!0),e6,y("h1",t6,Ve(i.post.title),1),n6,m(a,{blocks:i.blocks},null,8,["blocks"]),y("h6",r6,[St(" By: "+Ve(i.post.name)+" ",1),i.post.authorImage?(te(),ne("img",{key:0,src:s.imageUrlFor(i.post.authorImage),class:"w-16 h-16 rounded-full ml-2"},null,8,i6)):Le("",!0)]),s6,y("div",a6,[(te(!0),ne(Se,null,Wn(i.post.images,(o,l)=>(te(),ne("div",{key:l,class:"image-container"},[y("img",{onClick:u=>s.showImageModal(s.convertImageUrl(o.image.asset._ref)),src:s.convertImageUrl(o.image.asset._ref),class:"w-full h-auto rounded cursor-pointer"},null,8,o6)]))),128))]),y("button",{onClick:t[1]||(t[1]=(...o)=>s.closePost&&s.closePost(...o)),class:"bg-gray-800 text-white p-4 rounded-full hover:bg-amber-700 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:ring-opacity-50"},u6),i.showModal?(te(),ne("div",c6,[d6,y("div",f6,[y("button",{onClick:t[2]||(t[2]=(...o)=>s.closeImageModal&&s.closeImageModal(...o)),class:"bg-amber-800 text-white p-2 m-2 rounded-full hover:bg-orange-700 hover:text-gray-800"},m6),y("img",{src:i.modalImageUrl,class:"w-full max-h-96 mx-auto"},null,8,v6)])])):Le("",!0)])):Le("",!0)])):Le("",!0),i.loadBlog?(te(),ne("div",g6,[(te(!0),ne(Se,null,Wn(i.posts,o=>(te(),ne("div",{key:o._id,class:"post-item"},[y("div",p6,[y("a",y6,[y("img",{class:"w-full h-auto",src:s.imageUrlFor(o.image),alt:""},null,8,b6)]),y("div",_6,[y("a",w6,[y("h5",x6,Ve(o.title),1)]),y("p",S6,Ve(o.description),1),y("a",{onClick:l=>s.handleReadmore(o.slug.current),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-center text-white rounded-lg focus:ring-4 focus:outline-none bg-amber-600 hover:bg-amber-700 focus:ring-amber-800"},I6,8,C6)])])]))),128))])):Le("",!0)])}const mE=lt(HL,[["render",k6]]),Cy="/assets/TechnicalTips_portrait.b97eb5b2.jpeg",A6={name:"TestimonialCard",props:{imageSrc:String,title:String,subtitle:String,body:String,backgroundColorClass:String}},P6=["innerHTML"],V6={class:"md:flex"},O6={class:"md:w-1/3 md:flex md:justify-center my-4"},R6=["src"],M6={class:"md:w-2/3 card-body"},D6={class:"text-left text-gray-200 mt-3 mb-2"};function $6(e,t,n,r,i,s){return te(),ne("div",{class:ut([n.backgroundColorClass,"border","border-gray-200","bg-opacity-80","hover:bg-opacity-100","rounded-lg","p-4","my-3","md:my-0","w-full","cursor-pointer"])},[y("h5",{class:"text-left font-bold text-amber-100 text-4xl mb-2 border-b-2 border-zinc-500 pb-2",innerHTML:n.title},null,8,P6),y("div",V6,[y("div",O6,[y("img",{alt:"",src:n.imageSrc,class:"w-24 h-24 rounded-full mx-auto",loading:"lazy"},null,8,R6)]),y("div",M6,[y("h6",D6,Ve(n.subtitle),1)])])],2)}const vE=lt(A6,[["render",$6]]);const F6={name:"AppArticle"},N6={class:"container-fluid article-container"},L6={class:"article column pb-2"};function B6(e,t,n,r,i,s){return te(),ne("div",N6,[y("div",L6,[HS(e.$slots,"default")])])}const Lu=lt(F6,[["render",B6]]);const j6={name:"AppHeroSection",props:{heading:String,subHeading:String,imagePath:String,imageMobile:String}},z6={class:"hero"},U6=["src"];function H6(e,t,n,r,i,s){return te(),ne("div",z6,[HS(e.$slots,"default"),y("img",{class:"hero-img",src:n.imagePath,alt:"",loading:"lazy"},null,8,U6)])}const Bu=lt(j6,[["render",H6]]);const q6={name:"ArticleInterview",props:{authorName:String,intervieweeName:String,intervieweeImg:String}},W6=e=>(Cr("data-v-fb599a6a"),e=e(),Tr(),e),G6=W6(()=>y("p",null,"Words by",-1)),K6={class:"interviewee d-flex"},Y6={class:"interviewee-img"},X6=["src"],Q6={class:"interview-name"};function J6(e,t,n,r,i,s){return te(),ne(Se,null,[G6,y("div",K6,[y("div",Y6,[y("img",{src:n.intervieweeImg,alt:"",loading:"lazy",class:"interviewee-img"},null,8,X6)]),y("div",Q6,Ve(n.intervieweeName),1)]),y("p",null,"Compiled by "+Ve(n.authorName),1)],64)}const rh=lt(q6,[["render",J6],["__scopeId","data-v-fb599a6a"]]),Z6="/assets/TechnicalTips_title_mobile.4777a012.jpg",e9="/assets/Technical_Tips.512ebdd4.png",t9="/assets/TechnicalTips_StageMovement.7c954d74.jpg",n9="/assets/TechnicalTips_Humor.a1907cb5.jpg",r9="/assets/TechnicalTips_Confidence.20cb5fc8.jpg";const i9={data(){return{TechnicalTips_title_mobile:Z6,TechnicalTips_title_desktop:e9,TechnicalTips_portrait:Cy}},components:{AppArticle:Lu,AppHeroSection:Bu,ArticleInterview:rh},computed:{isMobile(){return window.matchMedia("(max-width: 768px)").matches}}},Qt=e=>(Cr("data-v-0840bbaa"),e=e(),Tr(),e),s9=Qt(()=>y("p",{class:"mt-3 first-letter"}," A single voice has the power to create a massive impact, it just needs the right opportunity. Speech Olympiad is a stage where revolutionary leaders and revolutionary speakers are discovered. To help you embark on this sensational journey of discovery, we got into conversation with a prestigious and eloquent past champion of Speech Olympiad, who shared some invaluable tips with us. ",-1)),a9=Qt(()=>y("div",{class:"row mb-3 border"},[y("div",{class:"col d-flex text-center"},[y("p",null," Dr. Samadhi Poornima, the Champion of Speech Olympiad IX generously joined us for an interview despite her busy schedule working as a Computer Vision Algorithm Researcher at Zebra Technologies. As the crowned champion in 2015 along with the public speaking experience she has accumulated over the years, we are most certain that up-and-coming speakers will definitely have a lot to take home from the answers of Dr. Poornima. ")])],-1)),o9=Qt(()=>y("h3",null,"1. What are the key points to focus on when crafting a speech?",-1)),l9=Qt(()=>y("ul",null,[y("li",null,[y("b",null,"Take home message")]),y("p",null," The message that the speaker is trying to convey is a crucial aspect of a speech. It adds value to the words you speak and the effort you put in. "),y("li",null,[y("b",null,"Structure of the speech")]),y("p",null," You can structure your speech in several different ways and be creative with it. You can break down your speech into parts and use the stage appropriately for each part. But the most important thing is that your speech is clear and concise. A well-structured speech is easy to follow for the audience and makes it easier to deliver for the speaker. "),y("li",null,[y("b",null,"Stage movements")]),y("img",{class:"article-img article-img-resize",alt:"",src:t9,loading:"lazy"}),y("p",null," Stage movements keep your speech alive. For example, if you are talking about two friends you divide the stage into two, left and right for each one. "),y("li",null,[y("b",null,"Humour")]),y("img",{class:"article-img article-img-resize",alt:"",src:n9,loading:"lazy"}),y("p",null," Humour is what keeps your audience entertained and engaged. It is one of the best things to include in a speech. To bring out some humour does not mean you need to make your audience roll on the floor laughing. A simple smile is enough to make a difference. "),y("li",null,[y("b",null,"Gestures and vocal variations")]),y("p",null," These make your speech livelier. It shows the speaker is confident and adds some colour to your speech. One of the easiest ways to bring out some natural variations is by adding some dialogues to your speech. ")],-1)),u9=Qt(()=>y("h3",null,"2. How should one decide on what he/she is going to speak on?",-1)),c9=Qt(()=>y("p",null," One of the best ways to come up with a good speech is to speak about your own experiences. Especially if you learnt something out of it, it certainly is worth sharing. This has three advantages ",-1)),d9=Qt(()=>y("ul",null,[y("li",null,"You will never forget what you are going to say."),y("li",null,"You can say it the best. After all, it is your story!"),y("li",null," You are the only one in the whole world who has gone through it. And it is worth sharing. ")],-1)),f9=Qt(()=>y("p",null," Another classic approach to a good speech is to talk about something relatable, something universal. The audience would find this quite interesting and feel more connected to you. You don\u2019t need extraordinary facts or stories to make an interesting story. Simplicity itself can be quite attractive ",-1)),h9=Qt(()=>y("h3",null,"3. How important is it to use stories in our speeches?",-1)),m9=Qt(()=>y("p",null," Stories can be interesting to add to a speech. We all love to hear stories. But it does not mean that you need to narrate lengthy tales. Something you saw on your way to university when put into the right words can be an interesting story. ",-1)),v9=Qt(()=>y("h3",null,"4. Can you give some tips on impromptu speaking?",-1)),g9=Qt(()=>y("p",null," Impromptu speaking requires a lot of practice and experience. You need to have 3 qualities mastered when doing an impromptu speech. ",-1)),p9=Qt(()=>y("ul",null,[y("li",null,[y("b",null,"Time management")]),y("p",null," Practise how to deliver some message within the given time. Time management is something you can achieve with enough practice. A well-practised speaker will have an idea of what 1-minute feels like. "),y("li",null,[y("b",null,"Confidence")]),y("img",{class:"article-img article-img-resize",alt:"",src:r9,loading:"lazy"}),y("p",null," Impromptu speakers require a lot of confidence. If you are nervous you might not be able to bring out the best speech you can. And through practice, you build up meaningful confidence. In this practice, you need to put yourself into a real situation instead of being flexible and relaxed. "),y("li",null,[y("b",null,"Thinking on the stage")]),y("p",null," Practically, you might not be able to work out all the details of your speech before going on to the stage. So it is likely that you might have to figure out certain things while you are speaking. Figure out a few things you can do to buy some thinking time on the stage. A couple of things I did was purposeful repetition and asking a question from the audience. Meaningful repetition can be used at any point in your speech. For example, if you are talking about how your parents wanted you to be a doctor you can say something like "),y("ul",null,[y("li",null,"\u2018The girl next door was a doctor\u2019"),y("li",null,"\u2018The girl next next door was a doctor\u2019"),y("li",null,"\u2018The girl next next next door was a doctor\u2019"),y("li",null,"\u2018So my mama wanted me to be a doctor\u2019")]),y("p",null," Instead of simply saying \u2018my mama wanted me to be a doctor\u2019, when you use a simple phrase and repeat it, it gives you time to think without making the audience feel you are struggling. And when you ask a question, the general practice is you give a few seconds for the audience to react. When you ask a rhetorical question, you don\u2019t need to respond to their reaction. Instead, you can take this time to think and focus on what you are going to say next. ")],-1)),y9=Qt(()=>y("h3",null,"5. Do you have any tips on practising a speech?",-1)),b9=Qt(()=>y("p",null," Practice is key for both prepared speeches and impromptu speeches. You need to practise until you feel at home on a stage. Practice is what brings you confidence. For prepared speeches, it is good if you first have a basic structure of the speech organised and then practise with words that come to you naturally. In this way, you would be more comfortable with the language you use for your speech. ",-1)),_9=Qt(()=>y("p",null,"A couple of things you can do to fine-tune a prepared speech are,",-1)),w9=Qt(()=>y("ul",null,[y("li",null,[y("b",null,"Remove repetitions")]),y("p",null," Think carefully of each sentence, and each phrase. Think what value it would add to the speech. And think if the same thing is being repeated (not purposeful repetition) somewhere else in the speech unintentionally. "),y("li",null,[y("b",null,"Balance your speech")]),y("p",null," Add a balance to your speech with a bit of humour and a bit of seriousness. Even if the speech is about a sad story, it is good to have some appropriate humour at least once. And even if the speech is a humorous speech, it is great if there is an important take-home message. "),y("li",null,[y("b",null,"Make it simple, clear and concise")]),y("p",null," In a prepared speech it is very important to have a clear structure to your speech. It should be easy-to-follow and meaningful to what you say. Something I personally followed for practising a prepared speech was to watch some world championship speeches. When I say watch it, I mean \u2018watch it watch it\u2019 where you notice the structure, notice the way they start, take transitions and bring out the message. ")],-1)),x9=Qt(()=>y("p",null," Practising an impromptu speech can be a bit tricky. Because even if you practise 1000 speeches, the next one could be an entirely different experience. These are some ways of practising impromptu speeches that I personally followed. ",-1)),S9=Qt(()=>y("ul",null,[y("li",null," Have some generic stories ready. These could be targeted for some common impromptu topics such as never giving up, little things matter in life and being true to yourself etc. "),y("li",null," Have some facts ready. It is good to have some general knowledge facts ready when you are practising for an impromptu speech. You don\u2019t need to memorise a whole list but 5 key facts from different areas can be helpful if you can\u2019t think of a story related to the topic you got. This could be about areas like economy, education or some great sayings etc. "),y("li",null," Be ready to think of something entirely new then and there. This is an example I heard from someone when I was practising. So this guy has got the topic \u2018Michael Jordan\u2019 as the title for his impromptu speech. He started the speech with \u201CI don\u2019t know who Michael Jordan is but I know a guy named Michael and another guy named Jordan\u201D, and went on to deliver a very interesting speech which was completely unexpected. "),y("li",null," Practise coming up with an impromptu speech response within 2 minutes. And if you could not, just deliver whatever that you manage to come up with then and there. Experience how you work under pressure. With each practice, you will improve. And once you feel confident, try lowering this time, now try to come up with an impromptu speech in 1 and half minutes. And next, try 1 minute. When you practice like this, even if nothing comes to your mind in the first minute, you would still be able to remain calm and think clearly because you know you can come up with something successful even in the last few seconds. "),y("li",null," It is okay to practise on the same topic several times. No need to have a new topic each time you practise. But practise facing completely unheard of topics as well, just to broaden your thinking. "),y("li",null," No need to practise for long hours. So do not exhaust yourself. You might get tired and lose interest. ")],-1)),C9=Qt(()=>y("p",null," From deciding on what to speak, crafting your speech, practising your speech, to finally delivering your speech, each and every aspect needed for a good public speaker was insightfully addressed in detail by Dr. Poornima Take in and practise what you have learnt. Showcase your progress at Speech Olympiad. Get onto that stage and speak your heart out, because the speech you deliver today can be the reason for a changed world tomorrow. ",-1));function T9(e,t,n,r,i,s){const a=Ke("AppHeroSection"),o=Ke("ArticleInterview"),l=Ke("AppArticle");return te(),ne("main",null,[m(a,{imagePath:s.isMobile?i.TechnicalTips_title_mobile:i.TechnicalTips_title_desktop},null,8,["imagePath"]),m(l,null,{default:cn(()=>[s9,a9,o9,l9,u9,c9,d9,f9,h9,m9,v9,g9,p9,y9,b9,_9,w9,x9,S9,C9,m(o,{"author-name":"Udesh Dangalla","interviewee-name":"Dr. Samadhi Poornima",intervieweeImg:i.TechnicalTips_portrait},null,8,["intervieweeImg"])]),_:1})])}const E9=lt(i9,[["render",T9],["__scopeId","data-v-0840bbaa"]]),I9="/assets/Madushika_title.513b2914.png",k9="/assets/Madushika1.f5230778.jpeg",A9="/assets/Madushika2.02ab254f.jpeg",P9="/assets/Madushika3.141f14db.jpeg",gE="/assets/Madushika_portrait.06e37194.jpg";const V9={name:"Madushika",components:{AppArticle:Lu,AppHeroSection:Bu,ArticleInterview:rh},data(){return{TechnicalTips_portrait:Cy,Madutshika1:k9,Madutshika2:A9,Madutshika3:P9,MadutshikaTitle:I9,MadushikaPortrait:gE,title:"Embarking Eloquence: An In-depth Look at the Introductory Session of Speech Olympiad 16 by Gavel Mora",introductorySession:"The introductory session of Speech Olympiad 16 by Gavel Mora, helmed by the insightful Toastmaster Madushika Munasingha, delved into the intricacies of public speaking, providing attendees with a comprehensive workshop. The session covered essential aspects of effective communication, from the art of storytelling and structuring speeches, to delivering them.",storytellingTitle:"The Art of Storytelling",storytellingContent:"Storytelling is a subtle skill that involves more than just relaying events. She underlined the significance of engaging the audience's emotions, engrossing them in the story, and forging a bond. Understanding the audience's demographics and interests is the first step in crafting a tale that will speak to their experiences, worldviews, or aspirations. The story comes alive when relatable characters, striking imagery, and intense conflicts are present. This has a significant effect on the listeners.",structuringTitle:"Structuring Your Speech",structuringContent:"A well-structured speech is akin to a well-designed building\u2014it has a strong foundation and a logical flow. The introduction sets the tone, grabbing the audience's attention with a compelling hook or a thought-provoking question. The body of the speech elaborates on the key points, employing a coherent and organized structure. Each point should seamlessly transition into the next, guiding the audience through the storyline. Finally, the conclusion should summarize the speech's essence, leaving a memorable impression and potentially inciting action or contemplation.",deliveringTitle:"Delivering Your Speech",deliveringContent:"Your first 40 seconds of a speech are crucial to captivating your audience. During this vital time, delivery is key. Eye contact connects you with the audience and draws them into your story. Sincere, well-placed gazes express confidence, genuineness, and rapport.",deliveringPoints:["In combination with captivating eye contact, body language is dynamic. Your posture, gestures, and facial emotions should support your statements, magnifying them. The appropriate body language emphasises essential themes, shows excitement, and makes your speech memorable.","The melody that complements the text is vocal variety. Like a story, your voice should change pitch, tempo, and loudness to keep listeners engaged. Different vocal tones offer depth, emotion, and emphasis, making even an average speech compelling."],findingStoriesTitle:"Where to Find Stories",findingStoriesContent:"To find interesting stories, you have to be a good observer and understand what people go through. Stories can come from many different places, like your own life, books, history, or even the lives of your friends and family. Everyday events can be turned into interesting stories that make people feel something. The key is to find the emotional or familiar parts of the story and tell them in a way that makes people want to listen.",craftingSpeechTitle:"How to Craft the Speech",craftingSpeechPoints:["Crafting a speech involves meticulous planning and consideration of various elements. Clarity in conveying the message is paramount, ensuring the audience understands the purpose and takeaway of the speech.","Coherence ensures that ideas flow logically and smoothly from one point to the next, aiding comprehension. Conciseness involves presenting the speech in a way that is both comprehensive and to the point, respecting the audience's time and attention."],evaluationCriteriaTitle:"Evaluation Criteria of Gavel",evaluationCriteriaContent:"To continuously improve as a speaker, one must embrace feedback and constructive criticism. Gavel Mora's evaluation criteria encompass a holistic view of a speech. Content is evaluated for its relevance, depth, and originality. The organisation is assessed to ensure a clear structure and effective transitions. Delivery focuses on the speaker's presence, charisma, and connection with the audience. Language evaluates the choice of words, grammar, and overall articulation. Lastly, overall impact assesses how well the speech achieves its intended purpose and resonates with the audience.",conclusionTitle:"In conclusion",conclusionContent:"In conclusion, the introductory session of Speech Olympiad XVI by Gavel Mora, under the guidance of Toastmaster Madushika Munasingha, provided invaluable insights into the art of eloquence. Aspiring speakers can utilise these profound insights to refine their storytelling abilities, enhance speech structures, master effective delivery, curate compelling stories, craft impactful speeches, and understand the critical evaluation criteria. Armed with this knowledge, speakers can elevate their public speaking skills and captivate audiences, ultimately leaving a lasting impression in the realm of oratory.",author:"Adeepa Kularathna"}}},pE=e=>(Cr("data-v-2735c5fb"),e=e(),Tr(),e),O9={class:"speech-olympiad"},R9={class:"mt-4 text-3xl font-bold mb-4"},M9={class:"introductory-session mb-6"},D9=pE(()=>y("iframe",{class:"yt",src:"https://www.youtube.com/embed/HSxRUYzGuug?si=yGchZu65h2WudLDt",title:"YouTube video player",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""},null,-1)),$9={class:"text-2xl font-bold mt-4"},F9=["src"],N9={class:"text-2xl font-bold mt-4"},L9={class:"text-2xl font-bold mt-4"},B9=pE(()=>y("p",null,"Managing these elements especially in the first 40 seconds and throughout your speech produces an interesting and effective presentation.",-1)),j9=["src"],z9={class:"text-2xl font-bold mt-4"},U9={class:"text-2xl font-bold mt-4"},H9={class:"text-2xl font-bold mt-4"},q9=["src"];function W9(e,t,n,r,i,s){const a=Ke("AppHeroSection"),o=Ke("ArticleInterview"),l=Ke("AppArticle");return te(),ne("div",O9,[m(a,{imagePath:i.MadutshikaTitle},null,8,["imagePath"]),m(l,null,{default:cn(()=>[y("h1",R9,Ve(i.title),1),y("div",M9,[y("p",null,Ve(i.introductorySession),1),D9,y("h2",$9,Ve(i.storytellingTitle),1),y("p",null,Ve(i.storytellingContent),1),y("img",{class:"article-img article-img-resize",alt:"",src:i.Madutshika1,loading:"lazy"},null,8,F9),y("h2",N9,Ve(i.structuringTitle),1),y("p",null,Ve(i.structuringContent),1),y("h2",L9,Ve(i.deliveringTitle),1),y("p",null,Ve(i.deliveringContent),1),y("ul",null,[(te(!0),ne(Se,null,Wn(i.deliveringPoints,(u,c)=>(te(),ne("li",{key:c},Ve(u),1))),128))]),B9,y("img",{class:"article-img article-img-resize",alt:"",src:i.Madutshika2,loading:"lazy"},null,8,j9),y("h2",z9,Ve(i.findingStoriesTitle),1),y("p",null,Ve(i.findingStoriesContent),1),y("h2",U9,Ve(i.craftingSpeechTitle),1),y("ul",null,[(te(!0),ne(Se,null,Wn(i.craftingSpeechPoints,(u,c)=>(te(),ne("li",{key:c},Ve(u),1))),128))]),y("h2",H9,Ve(i.evaluationCriteriaTitle),1),y("p",null,Ve(i.evaluationCriteriaContent),1),y("img",{class:"article-img article-img-resize",alt:"",src:i.Madutshika3,loading:"lazy"},null,8,q9),y("p",null,Ve(i.conclusionContent),1)]),m(o,{"author-name":i.author,"interviewee-name":"Madushika Munasinghe",intervieweeImg:i.MadushikaPortrait},null,8,["author-name","intervieweeImg"])]),_:1})])}const G9=lt(V9,[["render",W9],["__scopeId","data-v-2735c5fb"]]);const K9={data(){return{key:"0",technicalTips:[{key:"1",imageSrc:Cy,title:"A guide to becoming a better speaker",subtitle:"Tips from Dr.Samadhi Poornima, champion of Speech Olympiad IX",backgroundColorClass:"bg-amber-600",body:"Speech Olympiad is more than a mere speaking contest, it is a culmination of people, experiences and exposure. I cherish to this date, every moment of the competition which was a gateway to self-reflection that enhanced my capabilities in the corporate world and beyond."},{key:"2",imageSrc:gE,title:"Embarking
On
Eloquence
",subtitle:"Tips from Toastmaster Madushika Munasinghe, Semi Finalist of Speech Olympiad XIII, Former Vice President Membership",backgroundColorClass:"bg-orange-300",body:"My Speech Olympiad experience has enabled me to become the storyteller I am today. I work in advertising where I get to present new ideas and unique concepts to both my team and clients on a daily basis. I developed my presenting skills thanks to the support and knowledge I got from Speech Olympiad and the Gavel Club of University of Moratuwa."}]}},methods:{handleClick(e){this.key=e},closePost(){this.key="0"}},components:{TechnicalTips:vE,Samadhi:E9,Madushika:G9}},Y9={class:"row mb-5 p-4"},X9=y("div",{class:"col-12 mb-2"},[y("h1",{class:"featurette-heading mt-0 mb-4"},"Technical Tips")],-1),Q9={key:0,class:"col-12 col-md-12 mb-2 w-full"},J9=["onClick"],Z9={key:0},eB=y("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",viewBox:"0 0 20 20",fill:"currentColor"},[y("path",{"fill-rule":"evenodd",d:"M9.293 5.293a1 1 0 011.414 1.414L7.414 10l3.293 3.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 010 1.414z","clip-rule":"evenodd"})],-1),tB=[eB],nB=y("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",viewBox:"0 0 20 20",fill:"currentColor"},[y("path",{"fill-rule":"evenodd",d:"M9.293 5.293a1 1 0 011.414 1.414L7.414 10l3.293 3.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 010 1.414z","clip-rule":"evenodd"})],-1),rB=[nB],iB={key:1},sB=y("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",viewBox:"0 0 20 20",fill:"currentColor"},[y("path",{"fill-rule":"evenodd",d:"M9.293 5.293a1 1 0 011.414 1.414L7.414 10l3.293 3.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 010 1.414z","clip-rule":"evenodd"})],-1),aB=[sB],oB=y("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",viewBox:"0 0 20 20",fill:"currentColor"},[y("path",{"fill-rule":"evenodd",d:"M9.293 5.293a1 1 0 011.414 1.414L7.414 10l3.293 3.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 010 1.414z","clip-rule":"evenodd"})],-1),lB=[oB];function uB(e,t,n,r,i,s){const a=Ke("TechnicalTips"),o=Ke("Samadhi"),l=Ke("Madushika");return te(),ne(Se,null,[y("div",Y9,[X9,i.key=="0"?(te(),ne("div",Q9,[m(Xf,{name:"list",tag:"div",class:"row"},{default:cn(()=>[(te(!0),ne(Se,null,Wn(i.technicalTips,u=>(te(),ne("div",{class:"w-full md:w-1/3 d-flex justify-content-center",key:"testimonial"+u.key,onClick:c=>s.handleClick(u.key)},[m(a,{title:u.title,imageSrc:u.imageSrc,body:u.body,subtitle:u.subtitle,backgroundColorClass:u.backgroundColorClass},null,8,["title","imageSrc","body","subtitle","backgroundColorClass"])],8,J9))),128))]),_:1})])):Le("",!0)]),i.key=="1"?(te(),ne("div",Z9,[y("button",{onClick:t[0]||(t[0]=(...u)=>s.closePost&&s.closePost(...u)),class:"bg-amber-800 m-4 text-white p-4 w-36 rounded-full hover:bg-amber-700 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:ring-opacity-50"},tB),m(o),y("button",{onClick:t[1]||(t[1]=(...u)=>s.closePost&&s.closePost(...u)),class:"bg-amber-800 m-4 text-white p-4 w-36 rounded-full hover:bg-amber-700 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:ring-opacity-50"},rB)])):Le("",!0),i.key=="2"?(te(),ne("div",iB,[y("button",{onClick:t[2]||(t[2]=(...u)=>s.closePost&&s.closePost(...u)),class:"bg-amber-800 m-4 text-white p-4 w-36 rounded-full hover:bg-amber-700 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:ring-opacity-50"},aB),m(l),y("button",{onClick:t[3]||(t[3]=(...u)=>s.closePost&&s.closePost(...u)),class:"bg-amber-800 m-4 text-white p-4 w-36 rounded-full hover:bg-amber-700 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:ring-opacity-50"},lB)])):Le("",!0)],64)}const yE=lt(K9,[["render",uB]]),p1="/assets/Champion's_story.0cdba308.png",cB="/assets/PathOfChampion_image1_mobile.f116adc3.jpg",dB="/assets/PathOfChampion_image1_desktop.5eb979c0.jpg",fB="/assets/PathOfChampion_image2_mobile.8d1c7b14.jpg",hB="/assets/PathOfChampion_image2_desktop.ead73ac0.jpg",bE="/assets/PathOfChampion_portrait.adc4344f.jpg",mB={data(){return{PathOfChampion_title_mobile:p1,PathOfChampion_title_desktop:p1,PathOfChampion_image1_mobile:cB,PathOfChampion_image1_desktop:dB,PathOfChampion_image2_mobile:fB,PathOfChampion_image2_desktop:hB,PathOfChampion_portrait:bE}},components:{AppArticle:Lu,AppHeroSection:Bu,ArticleInterview:rh},computed:{isMobile(){return window.matchMedia("(max-width: 768px)").matches}}},vB=y("p",{class:"mt-3 first-letter"}," Walking the journey through the shadows of my past, during my school days, just like most students, I was always reluctant to opt in speech contests. Perturbed by the fear of failure and embarrassment, I never wanted to perform before an audience. I remember being forced to do a speech in grade 11 at the assembly which surprisingly turned out well. That was when I realized that I had a potential towards public speaking. Thus, I started my public speaking journey. Following this, I grabbed a few chances to compere at school functions and gradually established myself as a decent public speaker. ",-1),gB=y("p",null," I geared my public speaking drive during the twilight of my school career, but I did not have many opportunities to explore. Right from the moment I joined university, I told the inner me that I am going to try as many extracurricular activities as possible. Taking part in a speech contest was the ultimate challenge since delivering a speech under pressure was a monumental task. The very minute I stepped into my university life, I eagerly joined Speech Olympiad, embarking on a quest to expand my comfort zone. ",-1),pB=["src"],yB=y("p",null," I was excited for my very first experience at Speech Olympiad which was also the first speech contest I took part in. I was, however, under-prepared with a very short speech lasting merely 2 minutes, not to mention getting tongue-tied somewhere mid-speech as well. ",-1),bB=y("p",null," Leaving the hall, I realized that I needed help from someone who was experienced and proficient in public speaking, which was my driving intention to join the Gavel Club. ",-1),_B=y("p",null,[St(" The following year was all about learning the basics of public speaking, getting the exposure and being mentored by senior Gaveliers. With their guidance, I came up with a solid speech for the following Speech Olympiad, and with a huge effort put in from my end, I emerged as the "),y("b",null,"first runner-up"),St(". ")],-1),wB=["src"],xB=y("p",null," Motivated by the success of that year\u2019s competition, I wanted to compete in the upcoming competition as well. But along with being a past winner and the experience gained through Gavel, I became overconfident in myself and my abilities. I prioritized other commitments over Speech Olympiad practices and mentoring sessions with the belief that I would be able to manage on my own. It was only after emerging second runner-up that year, I realized the fault in my approach. ",-1),SB=y("p",null," The final Speech Olympiad during my undergraduate life was the last shot at giving my best. I went back to square one and started my journey once again. This time, I reinforced myself with past Gavel experiences along with the understanding that I will always be able to improve with others' help. ",-1),CB=y("p",{class:"box"},[St(" Similar to my second Speech Olympiad experience, I worked hard, carefully focusing on the specifics such as time management and coming up with the best approach for table topics while sharpening my speaking skills and refining my speech with the help of practice and impactful mentoring sessions; which finally made me the "),y("b",null,[y("br"),St("Champion of Speech Olympiad VIII in 2014")]),St(". ")],-1),TB=y("p",null," The surreal moment when I emerged as the champion is something I will cherish forever! I will never forget the warm big proud smiles my parents, friends and my Gavel family were projecting at me from the audience. Engulfing the feelings of this successful achievement was the appreciation I had towards my mentors who guided me to this achievement; some of whom had even gone beyond their university life but still showed up to support me and all my fellow Gaveliers. ",-1),EB=y("p",null," Unfortunately, till then I did not have a long-sighted personality that focused on developing leadership qualities, rather I was only improving my public speaking skills through the Gavel Club. On that day, I promised myself to become a better team player and that was the vibrant rainbow that coloured the path for me to become a Toastmaster. Currently working as the Assistant Division Director of Toastmaster District 82 - Division F, I am very proud to say that I have taken what I learnt from Gavel, through to Toastmasters, not only in becoming a sound Toastmaster, but perhaps in nurturing myself as an encouraging mentor as well. ",-1),IB=y("p",null," I believe that regardless of where you stand, if you are passionate about something, it is important to expose and challenge yourself to grow as an individual. Speech Olympiad taught me that compering and delivering a speech are not the same thing, especially when it comes to a contest where the delivery is done under a lot of pressure. Some core lessons I learnt were that commitment, along with self-evaluation, learning from others and being humble, goes a long way. Reflecting on my voyage of public speaking, the moral is to remind oneself to never shy away from opportunities. It is not necessarily about winning or losing, but the experience and exposure you gain by pushing your limits to become better at what you do and the way you define yourself. ",-1),kB=y("p",{class:"box"}," Being a champion does not only mean that you will be celebrating, but rather exploring the deep end and investing in yourself more. Grow up to every dawn of sunrise and bloom wherever life plants you, for enjoying what you do matters the most. I cherish the journey, not the end result. ",-1);function AB(e,t,n,r,i,s){const a=Ke("AppHeroSection"),o=Ke("ArticleInterview"),l=Ke("AppArticle");return te(),ne("main",null,[m(a,{imagePath:s.isMobile?i.PathOfChampion_title_mobile:i.PathOfChampion_title_desktop},null,8,["imagePath"]),m(l,null,{default:cn(()=>[vB,gB,y("img",{class:"article-img",alt:"",src:s.isMobile?i.PathOfChampion_image1_mobile:i.PathOfChampion_image1_desktop,loading:"lazy"},null,8,pB),yB,bB,_B,y("img",{class:"article-img",src:s.isMobile?i.PathOfChampion_image2_mobile:i.PathOfChampion_image2_desktop,loading:"lazy"},null,8,wB),xB,SB,CB,TB,EB,IB,kB,m(o,{"author-name":"Chemini Mallikarachchi","interviewee-name":"Mohamed Yasir",intervieweeImg:i.PathOfChampion_portrait},null,8,["intervieweeImg"])]),_:1})])}const PB=lt(mB,[["render",AB]]),VB="/assets/mid_img_niru.86d6a31c.png",OB="/assets/Niru_Champ_story.4a711f64.png",_E="/assets/Niru_profile_img.196b6fb2.png";const RB={data(){return{Niru_champ_story:OB,NiruthikaMid:VB,NiruthikaPortrait:_E}},components:{AppArticle:Lu,AppHeroSection:Bu,ArticleInterview:rh},computed:{isMobile(){return window.matchMedia("(max-width: 768px)").matches}}},MB=y("p",{class:"mt-3 first-letter"}," When I came to university, I initially had no prior experience in speech competitions. I aspired to be a better public speaker hence I decided to join the Gavel Club. Coincidentally, Speech Olympiad XIII was also happening around that time, so I took a leap of faith and registered to participate. ",-1),DB=y("p",null," I participated in Speech Olympiad XIII, and it didn't take me beyond the preliminary round. However, I didn't let that discourage me. Over the next year, I took small steps to improve my speaking skills. I tried delivering table topic speeches, participated in the Avurudhu speech competition and completed CC1. When Speech Olympiad XIV came around, I embarked on creating a fresh speech. That's when I had the privilege of being mentored by two incredible seniors, Gavelier Malindi and Gavelier Kasun. I can't thank them enough for their unwavering support. ",-1),$B=y("iframe",{class:"yt",src:"https://www.youtube.com/embed/AZHEQmR-nqI",title:"YouTube video player",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""},null,-1),FB=y("p",null," I constantly sought their guidance to refine my speech drafts and delivery. I also pestered them for assistance in sharpening my impromptu speaking skills. Their mentorship was invaluable, helping me polish my prepared speech and refine my ability to think on my feet while delivering impromptu speeches. Furthermore, the Speech Olympiad XIV team organized numerous insightful sessions to practice and develop our public speaking skills. ",-1),NB=y("p",{class:"box"},[St(" With the support of the Gavel family, I achieved what seemed impossible "),y("b",null,[y("br"),St("I became the Speech Olympiad XIV champion")]),St(". ")],-1),LB=["src"],BB=y("p",null," It wasn't just a competition; it was a transformative journey. This voyage from beginner to champion instilled immense confidence in my public speaking abilities. I learnt to connect better with the audience when delivering my speech. The techniques that I learnt to articulate my ideas clearly and convey them effectively, still prove very handy in my academic and professional life. I am profoundly grateful to Speech Olympiad for this enriching experience. ",-1);function jB(e,t,n,r,i,s){const a=Ke("AppHeroSection"),o=Ke("ArticleInterview"),l=Ke("AppArticle");return te(),ne("main",null,[m(a,{imagePath:i.Niru_champ_story},null,8,["imagePath"]),m(l,null,{default:cn(()=>[MB,DB,$B,FB,NB,y("img",{class:"article-img",src:i.NiruthikaMid,loading:"lazy"},null,8,LB),BB,m(o,{"author-name":"Chemini Mallikarachchi","interviewee-name":"Niruthika Sritharan",intervieweeImg:i.NiruthikaPortrait},null,8,["intervieweeImg"])]),_:1})])}const zB=lt(RB,[["render",jB]]);const UB={data(){return{key:"0",technicalTips:[{key:"1",imageSrc:bE,title:"Walk the path of a champion",subtitle:"The story of Mohamed Yasir, champion of speech olympiad VIII",backgroundColorClass:"bg-yellow-600"},{key:"2",imageSrc:_E,title:"The transformative journey of a champion",subtitle:"The story of Niruthika Sritharan, Champion of speech olympiad XIV",backgroundColorClass:"bg-orange-900",body:"My Speech Olympiad experience has enabled me to become the storyteller I am today. I work in advertising where I get to present new ideas and unique concepts to both my team and clients on a daily basis. I developed my presenting skills thanks to the support and knowledge I got from Speech Olympiad and the Gavel Club of University of Moratuwa."}]}},methods:{handleClick(e){this.key=e},closePost(){this.key="0"}},components:{TechnicalTips:vE,Yasir:PB,Niruthika:zB}},HB={class:"row mb-5 p-4"},qB=y("div",{class:"col-12 mb-2"},[y("h1",{class:"featurette-heading mt-0 mb-4"},"Champion's Story")],-1),WB={key:0,class:"col-12 col-md-12 mb-2 w-full"},GB=["onClick"],KB={key:0},YB=y("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",viewBox:"0 0 20 20",fill:"currentColor"},[y("path",{"fill-rule":"evenodd",d:"M9.293 5.293a1 1 0 011.414 1.414L7.414 10l3.293 3.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 010 1.414z","clip-rule":"evenodd"})],-1),XB=[YB],QB=y("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",viewBox:"0 0 20 20",fill:"currentColor"},[y("path",{"fill-rule":"evenodd",d:"M9.293 5.293a1 1 0 011.414 1.414L7.414 10l3.293 3.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 010 1.414z","clip-rule":"evenodd"})],-1),JB=[QB],ZB={key:1},ej=y("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",viewBox:"0 0 20 20",fill:"currentColor"},[y("path",{"fill-rule":"evenodd",d:"M9.293 5.293a1 1 0 011.414 1.414L7.414 10l3.293 3.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 010 1.414z","clip-rule":"evenodd"})],-1),tj=[ej],nj=y("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-8 w-8",viewBox:"0 0 20 20",fill:"currentColor"},[y("path",{"fill-rule":"evenodd",d:"M9.293 5.293a1 1 0 011.414 1.414L7.414 10l3.293 3.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 010 1.414z","clip-rule":"evenodd"})],-1),rj=[nj];function ij(e,t,n,r,i,s){const a=Ke("TechnicalTips"),o=Ke("Yasir"),l=Ke("niruthika");return te(),ne(Se,null,[y("div",HB,[qB,i.key=="0"?(te(),ne("div",WB,[m(Xf,{name:"list",tag:"div",class:"row"},{default:cn(()=>[(te(!0),ne(Se,null,Wn(i.technicalTips,u=>(te(),ne("div",{class:"w-full md:w-1/3 d-flex justify-content-center",key:"testimonial"+u.key,onClick:c=>s.handleClick(u.key)},[m(a,{title:u.title,imageSrc:u.imageSrc,body:u.body,subtitle:u.subtitle,backgroundColorClass:u.backgroundColorClass},null,8,["title","imageSrc","body","subtitle","backgroundColorClass"])],8,GB))),128))]),_:1})])):Le("",!0)]),i.key=="1"?(te(),ne("div",KB,[y("button",{onClick:t[0]||(t[0]=(...u)=>s.closePost&&s.closePost(...u)),class:"bg-amber-800 m-4 text-white p-4 w-36 rounded-full hover:bg-amber-700 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:ring-opacity-50"},XB),m(o),y("button",{onClick:t[1]||(t[1]=(...u)=>s.closePost&&s.closePost(...u)),class:"bg-amber-800 m-4 text-white p-4 w-36 rounded-full hover:bg-amber-700 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:ring-opacity-50"},JB)])):Le("",!0),i.key=="2"?(te(),ne("div",ZB,[y("button",{onClick:t[2]||(t[2]=(...u)=>s.closePost&&s.closePost(...u)),class:"bg-amber-800 m-4 text-white p-4 w-36 rounded-full hover:bg-amber-700 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:ring-opacity-50"},tj),m(l),y("button",{onClick:t[3]||(t[3]=(...u)=>s.closePost&&s.closePost(...u)),class:"bg-amber-800 m-4 text-white p-4 w-36 rounded-full hover:bg-amber-700 focus:outline-none focus:ring-2 focus:ring-amber-500 focus:ring-opacity-50"},rj)])):Le("",!0)],64)}const wE=lt(UB,[["render",ij]]);const sj={components:{AppFeaturette:ZC,AppTestimonialCard:eT,AppCarousel:k$,Doodle:v5,AppGallery:JC,Blogs:mE,timeline:_F,timeline2:lF,PageTT:yE,pageChamp:wE},mounted(){var e=null;wF(".hidden"),window.matchMedia("(max-width: 768px)").matches||(e=this.$data.testimonials.pop(),setInterval(()=>{let n=e;e=this.$data.testimonials.shift(),this.$data.testimonials.push(n)},1e4))},data(){return{galleryImages:[lT,uT,cT],registrationsOpen:tT,prelis:nT,announcingSemi:rT,semiFinal:iT,finalistsAnounced:sT,finals:aT,winners:oT,featurettes:[{heading:"What is Speech Olympiad?",headingEnd:"",text:"Speech Olympiad stands as the flagship occasion hosted by the Gavel Club at the University of Moratuwa. As the sole English language speech competition within the university...",image:g5,urlString:"#about"}],testimonials:[{key:"1",imageSrc:uF,title:"Sirimevan Jayasundera",subtitle:"Champion - SOVI",body:"Speech Olympiad is more than a mere speaking contest, it is a culmination of people, experiences and exposure. I cherish to this date, every moment of the competition which was a gateway to self-reflection that enhanced my capabilities in the corporate world and beyond."},{key:"2",imageSrc:cF,title:"Malindi Jayathunga",subtitle:"1st Runner-Up and Best Prepared Speaker - SOXI",body:"My Speech Olympiad experience has enabled me to become the storyteller I am today. I work in advertising where I get to present new ideas and unique concepts to both my team and clients on a daily basis. I developed my presenting skills thanks to the support and knowledge I got from Speech Olympiad and the Gavel Club of University of Moratuwa."},{key:"3",imageSrc:fF,title:"Asitha Rathnayake",subtitle:"Champion \u2013 SOXII",body:"Speech Olympiad is a good place to win, but more than that, it is a great place to lose. The Gavel Mora family helped me a lot to improve myself as a speaker and a leader during the course of three Speech Olympiads, which helped me become the overall champion at Speech Olympiad XII."},{key:"4",imageSrc:dF,title:"Amaya Dharmasiri",subtitle:"1st Runner-Up and Best Impromptu Speaker \u2013 SOXII",body:"I was not new to the stage, but I was new to public speaking when I took part in Speech Olympiad. Everyone at the Gavel Club was willing to help us become the best version of ourselves. Not only did I become more confident in communicating in English, but I also learnt about my capabilities and understood myself better, thanks to Speech Olympiad."}]}}},ju=e=>(Cr("data-v-daf28f36"),e=e(),Tr(),e),aj={class:"container marketing"},oj=Kf('

Didn't register yet?


Register \u2192

Timeline

',5),lj=ju(()=>y("div",{class:"col-12 mb-2 mt-6"},[y("h1",{class:"featurette-heading mt-0 mb-4"},"Past Experiences")],-1)),uj=ju(()=>y("br",null,null,-1)),cj=ju(()=>y("br",null,null,-1)),dj={class:"row mb-5"},fj=ju(()=>y("div",{class:"col-12 mb-2"},[y("h1",{class:"featurette-heading mt-0 mb-4"},"Testimonials")],-1)),hj={class:"col-12 mb-2"},mj={class:"row mb-5"},vj=ju(()=>y("div",{class:"col-12 mb-2"},[y("h1",{class:"featurette-heading mt-0 mb-4"},"Gallery")],-1)),gj={class:"col-12 mb-2"};function pj(e,t,n,r,i,s){const a=Ke("AppCarousel"),o=Ke("Doodle"),l=Ke("AppFeaturette"),u=Ke("timeline2"),c=Ke("Blogs"),d=Ke("PageTT"),f=Ke("page-champ"),h=Ke("AppTestimonialCard"),v=Ke("AppGallery");return te(),ne("main",null,[m(a),y("div",aj,[m(o),(te(!0),ne(Se,null,Wn(i.featurettes,(g,b)=>(te(),Ru(l,{index:b,key:b,heading:g.heading,"heading-end":g.headingEnd,text:g.text,image:g.image,urlString:g.urlString},null,8,["index","heading","heading-end","text","image","urlString"]))),128)),oj,m(u),lj,m(c,{limit:2}),uj,cj,m(d),m(f),y("div",dj,[fj,y("div",hj,[m(Xf,{name:"list",tag:"div",class:"row"},{default:cn(()=>[(te(!0),ne(Se,null,Wn(i.testimonials,g=>(te(),ne("div",{class:"col-lg-4 d-flex justify-content-center",key:"testimonial"+g.key},[m(h,{title:g.title,imageSrc:g.imageSrc,body:g.body,subtitle:g.subtitle},null,8,["title","imageSrc","body","subtitle"])]))),128))]),_:1})])]),y("div",mj,[vj,y("div",gj,[m(v,{images:i.galleryImages,showLink:!0},null,8,["images"])])])])])}const yj=lt(sj,[["render",pj],["__scopeId","data-v-daf28f36"]]),bj="/assets/About_title_mobile.47b061e3.jpg",_j="/assets/About_title_desktop.5f93421a.jpg",wj="/assets/trophy_4.49aa5912.jpg",xj={data(){return{About_title_mobile:bj,About_title_desktop:_j}},components:{AppArticle:Lu,AppHeroSection:Bu},computed:{isMobile(){return window.matchMedia("(max-width: 768px)").matches}}},Sj=y("p",{class:"mt-3 first-letter"}," Speech Olympiad stands as the flagship occasion hosted by the Gavel Club of University of Moratuwa. As the sole English language speech competition within the university, it garners participants from all five faculties. Since its establishment in 2005, this event has progressively gained momentum, evolving into one of the most highly anticipated phenomenon on the university calendar. In an era where effective communication is paramount in any industry, The Speech Olympiad championship has become a coveted goal pursued by all young undergraduates. The enthusiasm instilled by faculty members to engage their students in this competition has led to a consistent rise in participation from all academic departments. While the Speech Olympiad championship certainly holds prestige, it transcends above a title. It provides a platform for personal growth and the potential to ignite transformative change not only within oneself but also among peers. ",-1),Cj=y("p",null,[y("br")],-1),Tj=y("p",null," Throughout the span of the last 15 years, there has been a consistent demonstration of the event\u2019s ability to unveil hidden talents within the university\u2019s undergraduates. The recipients of awards and those who reach the final stages encompass a broad spectrum of backgrounds, highlighting the event\u2019s widespread appeal through all academic disciplines. Countless participants of Speech Olympiad have then proceeded to dominate the National and International stages throughout the past decade, emerging as well-rounded impactful speakers who touch the hearts of many. ",-1),Ej=y("img",{class:"article-img",alt:"",src:wj,loading:"lazy"},null,-1);function Ij(e,t,n,r,i,s){const a=Ke("AppHeroSection"),o=Ke("AppArticle");return te(),ne("main",null,[m(a,{imagePath:s.isMobile?i.About_title_mobile:i.About_title_desktop},null,8,["imagePath"]),m(o,null,{default:cn(()=>[Sj,Cj,Tj,Ej]),_:1})])}const kj=lt(xj,[["render",Ij]]);const Aj="/assets/prelis9.3f3d09cb.jpg",Pj="/assets/trophies.f2d7e4dc.jpg",Vj="/assets/2.df6e2d70.png",Oj="/assets/4.862e50db.jpg",Rj="/assets/5.982bd086.jpg",Mj="/assets/6.01410bc8.jpg",Dj="/assets/7.49dfbf66.jpg",$j="/assets/9.98820b43.jpg",Fj="/assets/10.1df2a73d.jpg";const Nj={components:{AppGallery:JC},data(){return{images:[lT,Vj,uT,Oj,Pj,Mj,Dj,cT,Aj,$j,Fj,Rj]}}},Lj={class:"container"},Bj={class:"row mb-5 p-2"};function jj(e,t,n,r,i,s){const a=Ke("AppGallery");return te(),ne("main",null,[y("div",Lj,[y("div",Bj,[m(a,{images:i.images},null,8,["images"])])])])}const zj=lt(Nj,[["render",jj],["__scopeId","data-v-fef776be"]]);const Uj={};function Hj(e,t){return te(),ne("main",null,"Page Not Found")}const qj=lt(Uj,[["render",Hj],["__scopeId","data-v-147157fb"]]);/* +object-assign +(c) Sindre Sorhus +@license MIT +*/var y1=Object.getOwnPropertySymbols,Wj=Object.prototype.hasOwnProperty,Gj=Object.prototype.propertyIsEnumerable;function Kj(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Yj(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(s){return t[s]});if(r.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(s){i[s]=s}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var hn=Yj()?Object.assign:function(e,t){for(var n,r=Kj(e),i,s=1;s)","* Array of document IDs","* Object containing `query`"].join(` +`);throw new Error(`Unknown selection - must be one of: + +`.concat(n))},ys={};(function(e){function t(i){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},t(i)}var n=["image","file"],r=["before","after","replace"];e.dataset=function(i){if(!/^(~[a-z0-9]{1}[-\w]{0,63}|[a-z0-9]{1}[-\w]{0,63})$/.test(i))throw new Error("Datasets can only contain lowercase characters, numbers, underscores and dashes, and start with tilde, and be maximum 64 characters")},e.projectId=function(i){if(!/^[-a-z0-9]+$/i.test(i))throw new Error("`projectId` can only contain only a-z, 0-9 and dashes")},e.validateAssetType=function(i){if(n.indexOf(i)===-1)throw new Error("Invalid asset type: ".concat(i,". Must be one of ").concat(n.join(", ")))},e.validateObject=function(i,s){if(s===null||t(s)!=="object"||Array.isArray(s))throw new Error("".concat(i,"() takes an object of properties"))},e.requireDocumentId=function(i,s){if(!s._id)throw new Error("".concat(i,'() requires that the document contains an ID ("_id" property)'));e.validateDocumentId(i,s._id)},e.validateDocumentId=function(i,s){if(typeof s!="string"||!/^[a-z0-9_.-]+$/i.test(s))throw new Error("".concat(i,'(): "').concat(s,'" is not a valid document ID'))},e.validateInsert=function(i,s,a){var o="insert(at, selector, items)";if(r.indexOf(i)===-1){var l=r.map(function(u){return'"'.concat(u,'"')}).join(", ");throw new Error("".concat(o,' takes an "at"-argument which is one of: ').concat(l))}if(typeof s!="string")throw new Error("".concat(o,' takes a "selector"-argument which must be a string'));if(!Array.isArray(a))throw new Error("".concat(o,' takes an "items"-argument which must be an array'))},e.hasDataset=function(i){if(!i.dataset)throw new Error("`dataset` must be provided to perform queries");return i.dataset||""},e.requestTag=function(i){if(typeof i!="string"||!/^[a-z0-9._-]{1,75}$/i.test(i))throw new Error("Tag can only contain alphanumeric characters, underscores, dashes and dots, and be between one and 75 characters long.");return i}})(ys);function Rm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qi=hn,D7=EE,IE=ys,Mm=IE.validateObject,$7=IE.validateInsert;function sg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.selection=e,this.operations=Qi({},t),this.client=n}Qi(sg.prototype,{clone:function(){return new sg(this.selection,Qi({},this.operations),this.client)},set:function(t){return this._assign("set",t)},diffMatchPatch:function(t){return Mm("diffMatchPatch",t),this._assign("diffMatchPatch",t)},unset:function(t){if(!Array.isArray(t))throw new Error("unset(attrs) takes an array of attributes to unset, non-array given");return this.operations=Qi({},this.operations,{unset:t}),this},setIfMissing:function(t){return this._assign("setIfMissing",t)},replace:function(t){return Mm("replace",t),this._set("set",{$:t})},inc:function(t){return this._assign("inc",t)},dec:function(t){return this._assign("dec",t)},insert:function(t,n,r){var i;return $7(t,n,r),this._assign("insert",(i={},Rm(i,t,n),Rm(i,"items",r),i))},append:function(t,n){return this.insert("after","".concat(t,"[-1]"),n)},prepend:function(t,n){return this.insert("before","".concat(t,"[0]"),n)},splice:function(t,n,r,i){var s=typeof r>"u"||r===-1,a=n<0?n-1:n,o=s?-1:Math.max(0,n+r),l=a<0&&o>=0?"":o,u="".concat(t,"[").concat(a,":").concat(l,"]");return this.insert("replace",u,i||[])},ifRevisionId:function(t){return this.operations.ifRevisionID=t,this},serialize:function(){return Qi(D7(this.selection),this.operations)},toJSON:function(){return this.serialize()},commit:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.client)throw new Error("No `client` passed to patch, either provide one or pass the patch to a clients `mutate()` method");var n=typeof this.selection=="string",r=Qi({returnFirst:n,returnDocuments:!0},t);return this.client.mutate({patch:this.serialize()},r)},reset:function(){return this.operations={},this},_set:function(t,n){return this._assign(t,n,!1)},_assign:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Mm(t,n),this.operations=Qi({},this.operations,Rm({},t,Qi({},r&&this.operations[t]||{},n))),this}});var $y=sg;function S1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dm=hn,Na=ys,$m=$y,F7={returnDocuments:!1};function ag(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;this.trxId=n,this.operations=e,this.client=t}Dm(ag.prototype,{clone:function(){return new ag(this.operations.slice(0),this.client,this.trxId)},create:function(t){return Na.validateObject("create",t),this._add({create:t})},createIfNotExists:function(t){var n="createIfNotExists";return Na.validateObject(n,t),Na.requireDocumentId(n,t),this._add(S1({},n,t))},createOrReplace:function(t){var n="createOrReplace";return Na.validateObject(n,t),Na.requireDocumentId(n,t),this._add(S1({},n,t))},delete:function(t){return Na.validateDocumentId("delete",t),this._add({delete:{id:t}})},patch:function(t,n){var r=typeof n=="function",i=t instanceof $m;if(i)return this._add({patch:t.serialize()});if(r){var s=n(new $m(t,{},this.client));if(!(s instanceof $m))throw new Error("function passed to `patch()` must return the patch");return this._add({patch:s.serialize()})}return this._add({patch:Dm({id:t},n)})},transactionId:function(t){return t?(this.trxId=t,this):this.trxId},serialize:function(){return this.operations.slice()},toJSON:function(){return this.serialize()},commit:function(t){if(!this.client)throw new Error("No `client` passed to transaction, either provide one or pass the transaction to a clients `mutate()` method");return this.client.mutate(this.serialize(),Dm({transactionId:this.trxId},F7,t||{}))},reset:function(){return this.operations=[],this},_add:function(t){return this.operations.push(t),this}});var kE=ag,N7=["tag"];function L7(e,t){if(e==null)return{};var n=B7(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function B7(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s=0)&&(n[i]=e[i]);return n}var La=encodeURIComponent,AE=function(e){var t=e.query,n=e.params,r=n===void 0?{}:n,i=e.options,s=i===void 0?{}:i,a=s.tag,o=L7(s,N7),l="query=".concat(La(t)),u=a?"?tag=".concat(La(a),"&").concat(l):"?".concat(l),c=Object.keys(r).reduce(function(d,f){return"".concat(d,"&").concat(La("$".concat(f)),"=").concat(La(JSON.stringify(r[f])))},u);return Object.keys(o).reduce(function(d,f){return s[f]?"".concat(d,"&").concat(La(f),"=").concat(La(s[f])):d},c)},og={exports:{}};/** @license + * eventsource.js + * Available under MIT License (MIT) + * https://github.com/Yaffle/EventSource/ + */(function(e,t){(function(n){var r=n.setTimeout,i=n.clearTimeout,s=n.XMLHttpRequest,a=n.XDomainRequest,o=n.ActiveXObject,l=n.EventSource,u=n.document,c=n.Promise,d=n.fetch,f=n.Response,h=n.TextDecoder,v=n.TextEncoder,g=n.AbortController;if(typeof window<"u"&&typeof u<"u"&&!("readyState"in u)&&u.body==null&&(u.readyState="loading",window.addEventListener("load",function(R){u.readyState="complete"},!1)),s==null&&o!=null&&(s=function(){return new o("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(R){function N(){}return N.prototype=R,new N}),Date.now||(Date.now=function(){return new Date().getTime()}),g==null){var b=d;d=function(R,N){var U=N.signal;return b(R,{headers:N.headers,credentials:N.credentials,cache:N.cache}).then(function(H){var q=H.body.getReader();return U._reader=q,U._aborted&&U._reader.cancel(),{status:H.status,statusText:H.statusText,headers:H.headers,body:{getReader:function(){return q}}}})},g=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function p(){this.bitsNeeded=0,this.codePoint=0}p.prototype.decode=function(R){function N(he,_e,ye){if(ye===1)return he>=128>>_e&&he<<_e<=2047;if(ye===2)return he>=2048>>_e&&he<<_e<=55295||he>=57344>>_e&&he<<_e<=65535;if(ye===3)return he>=65536>>_e&&he<<_e<=1114111;throw new Error}function U(he,_e){if(he===6*1)return _e>>6>15?3:_e>31?2:1;if(he===6*2)return _e>15?3:2;if(he===6*3)return 3;throw new Error}for(var H=65533,q="",Y=this.bitsNeeded,W=this.codePoint,de=0;de191||!N(W<<6|oe&63,Y-6,U(Y,W)))&&(Y=0,W=H,q+=String.fromCharCode(W)),Y===0?(oe>=0&&oe<=127?(Y=0,W=oe):oe>=192&&oe<=223?(Y=6*1,W=oe&31):oe>=224&&oe<=239?(Y=6*2,W=oe&15):oe>=240&&oe<=247?(Y=6*3,W=oe&7):(Y=0,W=H),Y!==0&&!N(W,Y,U(Y,W))&&(Y=0,W=H)):(Y-=6,W=W<<6|oe&63),Y===0&&(W<=65535?q+=String.fromCharCode(W):(q+=String.fromCharCode(55296+(W-65535-1>>10)),q+=String.fromCharCode(56320+(W-65535-1&1023))))}return this.bitsNeeded=Y,this.codePoint=W,q};var _=function(){try{return new h().decode(new v().encode("test"),{stream:!0})==="test"}catch(R){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+R)}return!1};(h==null||v==null||!_())&&(h=p);var w=function(){};function C(R){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=R,this._sendTimeout=0,this._abort=w}C.prototype.open=function(R,N){this._abort(!0);var U=this,H=this._xhr,q=1,Y=0;this._abort=function(ye){U._sendTimeout!==0&&(i(U._sendTimeout),U._sendTimeout=0),(q===1||q===2||q===3)&&(q=4,H.onload=w,H.onerror=w,H.onabort=w,H.onprogress=w,H.onreadystatechange=w,H.abort(),Y!==0&&(i(Y),Y=0),ye||(U.readyState=4,U.onabort(null),U.onreadystatechange())),q=0};var W=function(){if(q===1){var ye=0,ke="",Ue=void 0;if("contentType"in H)ye=200,ke="OK",Ue=H.contentType;else try{ye=H.status,ke=H.statusText,Ue=H.getResponseHeader("Content-Type")}catch{ye=0,ke="",Ue=void 0}ye!==0&&(q=2,U.readyState=2,U.status=ye,U.statusText=ke,U._contentType=Ue,U.onreadystatechange())}},de=function(){if(W(),q===2||q===3){q=3;var ye="";try{ye=H.responseText}catch{}U.readyState=3,U.responseText=ye,U.onprogress()}},oe=function(ye,ke){if((ke==null||ke.preventDefault==null)&&(ke={preventDefault:w}),de(),q===1||q===2||q===3){if(q=4,Y!==0&&(i(Y),Y=0),U.readyState=4,ye==="load")U.onload(ke);else if(ye==="error")U.onerror(ke);else if(ye==="abort")U.onabort(ke);else throw new TypeError;U.onreadystatechange()}},he=function(ye){H!=null&&(H.readyState===4?(!("onload"in H)||!("onerror"in H)||!("onabort"in H))&&oe(H.responseText===""?"error":"load",ye):H.readyState===3?"onprogress"in H||de():H.readyState===2&&W())},_e=function(){Y=r(function(){_e()},500),H.readyState===3&&de()};"onload"in H&&(H.onload=function(ye){oe("load",ye)}),"onerror"in H&&(H.onerror=function(ye){oe("error",ye)}),"onabort"in H&&(H.onabort=function(ye){oe("abort",ye)}),"onprogress"in H&&(H.onprogress=de),"onreadystatechange"in H&&(H.onreadystatechange=function(ye){he(ye)}),("contentType"in H||!("ontimeout"in s.prototype))&&(N+=(N.indexOf("?")===-1?"?":"&")+"padding=true"),H.open(R,N,!0),"readyState"in H&&(Y=r(function(){_e()},0))},C.prototype.abort=function(){this._abort(!1)},C.prototype.getResponseHeader=function(R){return this._contentType},C.prototype.setRequestHeader=function(R,N){var U=this._xhr;"setRequestHeader"in U&&U.setRequestHeader(R,N)},C.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},C.prototype.send=function(){if((!("ontimeout"in s.prototype)||!("sendAsBinary"in s.prototype)&&!("mozAnon"in s.prototype))&&u!=null&&u.readyState!=null&&u.readyState!=="complete"){var R=this;R._sendTimeout=r(function(){R._sendTimeout=0,R.send()},4);return}var N=this._xhr;"withCredentials"in N&&(N.withCredentials=this.withCredentials);try{N.send(void 0)}catch(U){throw U}};function I(R){return R.replace(/[A-Z]/g,function(N){return String.fromCharCode(N.charCodeAt(0)+32)})}function A(R){for(var N=Object.create(null),U=R.split(`\r +`),H=0;H"u"?typeof window<"u"?window:typeof self<"u"?self:Vn:globalThis)})(og,og.exports);var j7=og.exports.EventSourcePolyfill,z7=function(e,t){return t.reduce(function(n,r){return typeof e[r]>"u"||(n[r]=e[r]),n},{})},U7=function(e,t){return Object.keys(t).concat(Object.keys(e)).reduce(function(n,r){return n[r]=typeof e[r]>"u"?t[r]:e[r],n},{})};function C1(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 T1(e){for(var t=1;t2&&arguments[2]!==void 0?arguments[2]:{},i=this.clientConfig,s=i.url,a=i.token,o=i.withCredentials,l=i.requestTagPrefix,u=r.tag&&l?[l,r.tag].join("."):r.tag,c=T1(T1({},Y7(r,Z7)),{},{tag:u}),d=K7(c,J7),f=X7({query:t,params:n,options:d,tag:u}),h="".concat(s).concat(this.getDataUrl("listen",f));if(h.length>Q7)return new E1(function(p){return p.error(new Error("Query too large for listener"))});var v=c.events?c.events:["mutation"],g=v.indexOf("reconnect")!==-1,b={};return(a||o)&&(b.withCredentials=!0),a&&(b.headers={Authorization:"Bearer ".concat(a)}),new E1(function(p){var _=E(),w,C=!1;function I(){C||(D(),!C&&_.readyState===I1.CLOSED&&(T(),clearTimeout(w),w=setTimeout(S,100)))}function A(M){p.error(t8(M))}function $(M){var Q=PE(M);return Q instanceof Error?p.error(Q):p.next(Q)}function k(M){C=!0,T(),p.complete()}function T(){_.removeEventListener("error",I,!1),_.removeEventListener("channelError",A,!1),_.removeEventListener("disconnect",k,!1),v.forEach(function(M){return _.removeEventListener(M,$,!1)}),_.close()}function D(){g&&p.next({type:"reconnect"})}function E(){var M=new I1(h,b);return M.addEventListener("error",I,!1),M.addEventListener("channelError",A,!1),M.addEventListener("disconnect",k,!1),v.forEach(function(Q){return M.addEventListener(Q,$,!1)}),M}function S(){_=E()}function P(){C=!0,T()}return P})};function PE(e){try{var t=e.data&&JSON.parse(e.data)||{};return q7({type:e.type},t)}catch(n){return n}}function t8(e){if(e instanceof Error)return e;var t=PE(e);return t instanceof Error?t:new Error(n8(t))}function n8(e){return e.error?e.error.description?e.error.description:typeof e.error=="string"?e.error:JSON.stringify(e.error,null,2):e.message||"Unknown listener error"}function k1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r8=hn,VE=Uu,nl=VE.map,Fm=VE.filter,Nm=ys,i8=EE,s8=AE,A1=kE,P1=$y,a8=e8,o8=function(t,n){var r=typeof t>"u"?n:t;return t===!1?void 0:r},l8=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{dryRun:t.dryRun,returnIds:!0,returnDocuments:o8(t.returnDocuments,!0),visibility:t.visibility||"sync",autoGenerateArrayKeys:t.autoGenerateArrayKeys,skipCrossDatasetReferenceValidation:t.skipCrossDatasetReferenceValidation}},Lm=function(t){return t.type==="response"},u8=function(t){return t.body},c8=function(t,n){return t.reduce(function(r,i){return r[n(i)]=i,r},Object.create(null))},Pc=function(t){return t.toPromise()},d8=11264,f8={listen:a8,getDataUrl:function(t,n){var r=this.clientConfig,i=Nm.hasDataset(r),s="/".concat(t,"/").concat(i),a=n?"".concat(s,"/").concat(n):s;return"/data".concat(a).replace(/\/($|\?)/,"$1")},fetch:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=r.filterResponse===!1?function(a){return a}:function(a){return a.result},s=this._dataRequest("query",{query:t,params:n},r).pipe(nl(i));return this.isPromiseAPI()?Pc(s):s},getDocument:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r={uri:this.getDataUrl("doc",t),json:!0,tag:n.tag},i=this._requestObservable(r).pipe(Fm(Lm),nl(function(s){return s.body.documents&&s.body.documents[0]}));return this.isPromiseAPI()?Pc(i):i},getDocuments:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r={uri:this.getDataUrl("doc",t.join(",")),json:!0,tag:n.tag},i=this._requestObservable(r).pipe(Fm(Lm),nl(function(s){var a=c8(s.body.documents||[],function(o){return o._id});return t.map(function(o){return a[o]||null})}));return this.isPromiseAPI()?Pc(i):i},create:function(t,n){return this._create(t,"create",n)},createIfNotExists:function(t,n){return Nm.requireDocumentId("createIfNotExists",t),this._create(t,"createIfNotExists",n)},createOrReplace:function(t,n){return Nm.requireDocumentId("createOrReplace",t),this._create(t,"createOrReplace",n)},patch:function(t,n){return new P1(t,n,this)},delete:function(t,n){return this.dataRequest("mutate",{mutations:[{delete:i8(t)}]},n)},mutate:function(t,n){var r=t instanceof P1||t instanceof A1?t.serialize():t,i=Array.isArray(r)?r:[r],s=n&&n.transactionId;return this.dataRequest("mutate",{mutations:i,transactionId:s},n)},transaction:function(t){return new A1(t,this)},dataRequest:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=this._dataRequest(t,n,r);return this.isPromiseAPI()?Pc(i):i},_dataRequest:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=t==="mutate",s=t==="query",a=!i&&s8(n),o=!i&&a.length2&&arguments[2]!==void 0?arguments[2]:{},i=k1({},n,t),s=r8({returnFirst:!0,returnDocuments:!0},r);return this.dataRequest("mutate",{mutations:[i]},s)}},h8=hn,m8=ys;function OE(e){this.request=e.request.bind(e)}h8(OE.prototype,{create:function(t,n){return this._modify("PUT",t,n)},edit:function(t,n){return this._modify("PATCH",t,n)},delete:function(t){return this._modify("DELETE",t)},list:function(){return this.request({uri:"/datasets"})},_modify:function(t,n,r){return m8.dataset(n),this.request({method:t,uri:"/datasets/".concat(n),body:r})}});var v8=OE,g8=hn;function RE(e){this.client=e}g8(RE.prototype,{list:function(){return this.client.request({uri:"/projects"})},getById:function(t){return this.client.request({uri:"/projects/".concat(t)})}});var p8=RE,y8=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push("".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(e[n])));return t.length>0?"?".concat(t.join("&")):""};function b8(e,t){return S8(e)||x8(e,t)||w8(e,t)||_8()}function _8(){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 w8(e,t){if(!!e){if(typeof e=="string")return V1(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return V1(e,t)}}function V1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u"||!(t instanceof window.File)?e:ME({filename:e.preserveFilename===!1?void 0:t.name,contentType:t.type},e)}ME($E.prototype,{upload:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Vc.validateAssetType(t);var i=r.extract||void 0;i&&!i.length&&(i=["none"]);var s=Vc.hasDataset(this.client.clientConfig),a=t==="image"?"images":"files",o=I8(r,n),l=o.tag,u=o.label,c=o.title,d=o.description,f=o.creditLine,h=o.filename,v=o.source,g={label:u,title:c,description:d,filename:h,meta:i,creditLine:f};v&&(g.sourceId=v.id,g.sourceName=v.name,g.sourceUrl=v.url);var b=this.client._requestObservable({tag:l,method:"POST",timeout:o.timeout||0,uri:"/assets/".concat(a,"/").concat(s),headers:o.contentType?{"Content-Type":o.contentType}:{},query:g,body:n});return this.client.isPromiseAPI()?b.pipe(T8(function(p){return p.type==="response"}),C8(function(p){return p.body.document})).toPromise():b},delete:function(t,n){console.warn("client.assets.delete() is deprecated, please use client.delete()");var r=n||"";return/^(image|file)-/.test(r)?t._id&&(r=t._id):r="".concat(t,"-").concat(r),Vc.hasDataset(this.client.clientConfig),this.client.delete(r)},getImageUrl:function(t,n){var r=t._ref||t;if(typeof r!="string")throw new Error("getImageUrl() needs either an object with a _ref, or a string with an asset document ID");if(!/^image-[A-Za-z0-9_]+-\d+x\d+-[a-z]{1,5}$/.test(r))throw new Error('Unsupported asset ID "'.concat(r,'". URL generation only works for auto-generated IDs.'));var i=r.split("-"),s=b8(i,4),a=s[1],o=s[2],l=s[3];Vc.hasDataset(this.client.clientConfig);var u=this.client.clientConfig,c=u.projectId,d=u.dataset,f=n?E8(n):"";return"https://cdn.sanity.io/images/".concat(c,"/").concat(d,"/").concat(a,"-").concat(o,".").concat(l).concat(f)}});var k8=$E,A8=hn;function FE(e){this.client=e}A8(FE.prototype,{getById:function(t){return this.client.request({uri:"/users/".concat(t)})}});var P8=FE,V8=hn;function NE(e){this.client=e}V8(NE.prototype,{getLoginProviders:function(){return this.client.request({uri:"/auth/providers"})},logout:function(){return this.client.request({uri:"/auth/logout",method:"POST"})}});var O8=NE,LE={exports:{}},R8=function(){var t=[];return{subscribe:n,publish:r};function n(i){return t.push(i),function(){var a=t.indexOf(i);a>-1&&t.splice(a,1)}}function r(){for(var i=0;i2?o-2:0),u=2;u=2&&(o=o.slice(2)):ai(r)?o=n[4]:r?i&&(o=o.slice(2)):a>=2&&ai(t.protocol)&&(o=n[4]),{protocol:r,slashes:i||ai(r),slashesCount:a,rest:o}}function H8(e,t){if(e==="")return t;for(var n=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=n.length,i=n[r-1],s=!1,a=0;r--;)n[r]==="."?n.splice(r,1):n[r]===".."?(n.splice(r,1),a++):a&&(r===0&&(s=!0),n.splice(r,1),a--);return s&&n.unshift(""),(i==="."||i==="..")&&n.push(""),n.join("/")}function ui(e,t,n){if(e=Ny(e),e=e.replace(jE,""),!(this instanceof ui))return new ui(e,t,n);var r,i,s,a,o,l,u=lg.slice(),c=typeof t,d=this,f=0;for(c!=="object"&&c!=="string"&&(n=t,t=null),n&&typeof n!="function"&&(n=uh.parse),t=UE(t),i=HE(e||"",t),r=!i.protocol&&!i.slashes,d.slashes=i.slashes||r&&t.slashes,d.protocol=i.protocol||t.protocol||"",e=i.rest,(i.protocol==="file:"&&(i.slashesCount!==2||U8.test(e))||!i.slashes&&(i.protocol||i.slashesCount<2||!ai(d.protocol)))&&(u[3]=[/(.*)/,"pathname"]);f"u"?!1:navigator.product==="ReactNative",X8=Object.prototype.hasOwnProperty,ug={timeout:Y8?6e4:12e4},Q8=function(e){var t=typeof e=="string"?Bm({url:e},ug):Bm({},ug,e),n=K8(t.url,{},!0);return t.timeout=qE(t.timeout),t.query&&(n.query=Bm({},n.query,Z8(t.query))),t.method=t.body&&!t.method?"POST":(t.method||"GET").toUpperCase(),t.url=n.toString(J8),t};function J8(e){var t=[];for(var n in e)X8.call(e,n)&&r(n,e[n]);return t.length?t.join("&"):"";function r(i,s){Array.isArray(s)?s.forEach(function(a){return r(i,a)}):t.push([i,s].map(encodeURIComponent).join("="))}}function qE(e){if(e===!1||e===0)return!1;if(e.connect||e.socket)return e;var t=Number(e);return isNaN(t)?qE(ug.timeout):{connect:t,socket:t}}function Z8(e){var t={};for(var n in e)e[n]!==void 0&&(t[n]=e[n]);return t}var ez=/^https?:\/\//i,tz=function(e){if(!ez.test(e.url))throw new Error('"'.concat(e.url,'" is not a valid URL'))},WE={exports:{}},D1=/^(?:(?:(?:([^:\/#\?]+:)?(?:(?:\/\/)((?:((?:[^:@\/#\?]+)(?:\:(?:[^:@\/#\?]+))?)@)?(([^:\/#\?\]\[]+|\[[^\/\]@#?]+\])(?:\:([0-9]+))?))?)?)?((?:\/?(?:[^\/\?#]+\/+)*)(?:[^\?#]*)))?(\?[^#]+)?)(#.*)?/,nz={regex:D1,parse:function(e){var t=D1.exec(e);return t?{protocol:(t[1]||"").toLowerCase()||void 0,hostname:(t[5]||"").toLowerCase()||void 0,port:t[6]||void 0}:{}}},$1=nz,rz=function(e,t,n){if(e===t)return!0;var r=$1.parse(e,!1,!0),i=$1.parse(t,!1,!0),s=r.port|0||(r.protocol==="https"?443:80),a=i.port|0||(i.protocol==="https"?443:80),o={proto:r.protocol===i.protocol,hostname:r.hostname===i.hostname,port:s===a};return o.proto&&o.hostname&&(o.port||n)};function Mo(){this.readyState=0}Mo.prototype.open=function(e,t){this._method=e,this._url=t,this._resHeaders="",this.readyState=1,this.onreadystatechange()};Mo.prototype.abort=function(){this._controller&&this._controller.abort()};Mo.prototype.getAllResponseHeaders=function(){return this._resHeaders};Mo.prototype.setRequestHeader=function(e,t){this._headers=this._headers||{},this._headers[e]=t};Mo.prototype.send=function(e){var t=this,n=this._controller=typeof AbortController=="function"&&new AbortController,r=this.responseType!=="arraybuffer",i={method:this._method,headers:this._headers,signal:n&&n.signal,body:e};typeof window<"u"&&(i.credentials=this.withCredentials?"include":"omit"),fetch(this._url,i).then(function(s){return s.headers.forEach(function(a,o){t._resHeaders+="".concat(o,": ").concat(a,`\r +`)}),t.status=s.status,t.statusText=s.statusText,t.readyState=3,r?s.text():s.arrayBuffer()}).then(function(s){r?t.responseText=s:t.response=s,t.readyState=4,t.onreadystatechange()}).catch(function(s){if(s.name==="AbortError"){t.onabort();return}t.onerror(s)})};var iz=Mo,sz=rz,az=hT,F1=iz,oz=function(){},Zi=typeof window>"u"?void 0:window,N1=Zi?"xhr":"fetch",ch=typeof XMLHttpRequest=="function"?XMLHttpRequest:oz,lz="withCredentials"in new ch,uz=typeof XDomainRequest>"u"?void 0:XDomainRequest,GE=lz?ch:uz;Zi||(ch=F1,GE=F1);var cz=function(e,t){var n=e.options,r=e.applyMiddleware("finalizeOptions",n),i={},s=Zi&&Zi.location&&!sz(Zi.location.href,r.url),a=e.applyMiddleware("interceptRequest",void 0,{adapter:N1,context:e});if(a){var o=setTimeout(t,0,null,a),l=function(){return clearTimeout(o)};return{abort:l}}var u=s?new GE:new ch,c=Zi&&Zi.XDomainRequest&&u instanceof Zi.XDomainRequest,d=r.headers,f=r.timeout,h=!1,v=!1,g=!1;u.onerror=A,u.ontimeout=A,u.onabort=function(){I(!0),h=!0},u.onprogress=function(){};var b=c?"onload":"onreadystatechange";if(u[b]=function(){C(),!(h||u.readyState!==4&&!c)&&u.status!==0&&k()},u.open(r.method,r.url,!0),u.withCredentials=!!r.withCredentials,d&&u.setRequestHeader)for(var p in d)d.hasOwnProperty(p)&&u.setRequestHeader(p,d[p]);else if(d&&c)throw new Error("Headers cannot be set on an XDomainRequest object");return r.rawBody&&(u.responseType="arraybuffer"),e.applyMiddleware("onRequest",{options:r,adapter:N1,request:u,context:e}),u.send(r.body||null),f&&(i.connect=setTimeout(function(){return w("ETIMEDOUT")},f.connect)),{abort:_};function _(){h=!0,u&&u.abort()}function w(T){g=!0,u.abort();var D=new Error(T==="ESOCKETTIMEDOUT"?"Socket timed out on request to ".concat(r.url):"Connection timed out on request to ".concat(r.url));D.code=T,e.channels.error.publish(D)}function C(){!f||(I(),i.socket=setTimeout(function(){return w("ESOCKETTIMEDOUT")},f.socket))}function I(T){(T||h||u.readyState>=2&&i.connect)&&clearTimeout(i.connect),i.socket&&clearTimeout(i.socket)}function A(T){if(!v){I(!0),v=!0,u=null;var D=T||new Error("Network error while attempting to reach ".concat(r.url));D.isNetworkError=!0,D.request=r,t(D)}}function $(){var T=u.status,D=u.statusText;if(c&&T===void 0)T=200;else{if(T>12e3&&T<12156)return A();T=u.status===1223?204:u.status,D=u.status===1223?"No Content":D}return{body:u.response||u.responseText,url:r.url,method:r.method,headers:c?{}:az(u.getAllResponseHeaders()),statusCode:T,statusMessage:D}}function k(){if(!(h||v||g)){if(u.status===0){A(new Error("Unknown XHR error"));return}I(),v=!0,t(null,$())}}};(function(e){e.exports=cz})(WE);var dz=R8,fz=M8,hz=Q8,mz=tz,vz=WE.exports,gz=["request","response","progress","error","abort"],L1=["processOptions","validateOptions","interceptRequest","finalizeOptions","onRequest","onResponse","onError","onReturn","onHeaders"],pz=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:vz,r=[],i=L1.reduce(function(a,o){return a[o]=a[o]||[],a},{processOptions:[hz],validateOptions:[mz]});function s(a){var o=gz.reduce(function(g,b){return g[b]=dz(),g},{}),l=fz(i),u=l("processOptions",a);l("validateOptions",u);var c={options:u,channels:o,applyMiddleware:l},d=null,f=o.request.subscribe(function(g){d=n(g,function(b,p){return v(b,p,g)})});o.abort.subscribe(function(){f(),d&&d.abort()});var h=l("onReturn",o,c);return h===o&&o.request.publish(c),h;function v(g,b,p){var _=g,w=b;if(!_)try{w=l("onResponse",b,p)}catch(C){w=null,_=C}_=_&&l("onError",_,p),_?o.error.publish(_):w&&o.response.publish(w)}}return s.use=function(o){if(!o)throw new Error("Tried to add middleware that resolved to falsey value");if(typeof o=="function")throw new Error("Tried to add middleware that was a function. It probably expects you to pass options to it.");if(o.onReturn&&i.onReturn.length>0)throw new Error("Tried to add new middleware with `onReturn` handler, but another handler has already been registered for this event");return L1.forEach(function(l){o[l]&&i[l].push(o[l])}),r.push(o),s},s.clone=function(){return e(r)},t.forEach(s.use),s};(function(e){e.exports=pz})(LE);var Xa={exports:{}};typeof globalThis<"u"?Xa.exports=globalThis:typeof window<"u"?Xa.exports=window:typeof Vn<"u"?Xa.exports=Vn:typeof self<"u"?Xa.exports=self:Xa.exports={};var yz=Xa.exports,B1=hn,bz=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.implementation||yz.Observable;if(!t)throw new Error("`Observable` is not available in global scope, and no implementation was passed");return{onReturn:function(r,i){return new t(function(s){return r.error.subscribe(function(a){return s.error(a)}),r.progress.subscribe(function(a){return s.next(B1({type:"progress"},a))}),r.response.subscribe(function(a){s.next(B1({type:"response"},a)),s.complete()}),r.request.publish(i),function(){return r.abort.publish()}})}}};/*! + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */var _z=function(t){return t!=null&&typeof t=="object"&&Array.isArray(t)===!1};/*! + * is-plain-object + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */var wz=_z;function j1(e){return wz(e)===!0&&Object.prototype.toString.call(e)==="[object Object]"}var xz=function(t){var n,r;return!(j1(t)===!1||(n=t.constructor,typeof n!="function")||(r=n.prototype,j1(r)===!1)||r.hasOwnProperty("isPrototypeOf")===!1)};function cg(e){return cg=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},cg(e)}var z1=hn,Sz=xz,Cz=["boolean","string","number"],Tz=function(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)},Ez=function(){return{processOptions:function(t){var n=t.body;if(!n)return t;var r=typeof n.pipe=="function",i=!r&&!Tz(n)&&(Cz.indexOf(cg(n))!==-1||Array.isArray(n)||Sz(n));return i?z1({},t,{body:JSON.stringify(t.body),headers:z1({},t.headers,{"Content-Type":"application/json"})}):t}}},jm=hn,Iz=function(e){return{onResponse:function(n){var r=n.headers["content-type"]||"",i=e&&e.force||r.indexOf("application/json")!==-1;return!n.body||!r||!i?n:jm({},n,{body:kz(n.body)})},processOptions:function(n){return jm({},n,{headers:jm({Accept:"application/json"},n.headers)})}}};function kz(e){try{return JSON.parse(e)}catch(t){throw t.message="Failed to parsed response body as JSON: ".concat(t.message),t}}var KE={exports:{}},Az=function(){return{onRequest:function(t){if(t.adapter!=="xhr")return;var n=t.request,r=t.context;"upload"in n&&"onprogress"in n.upload&&(n.upload.onprogress=i("upload")),"onprogress"in n&&(n.onprogress=i("download"));function i(s){return function(a){var o=a.lengthComputable?a.loaded/a.total*100:-1;r.channels.progress.publish({stage:s,percent:o,total:a.total,loaded:a.loaded,lengthComputable:a.lengthComputable})}}}}};(function(e){e.exports=Az})(KE);var Ly={},dg={exports:{}};(function(e,t){var n=typeof Reflect<"u"?Reflect.construct:void 0,r=Object.defineProperty,i=Error.captureStackTrace;i===void 0&&(i=function(u){var c=new Error;r(u,"stack",{configurable:!0,get:function(){var f=c.stack;return r(this,"stack",{configurable:!0,value:f,writable:!0}),f},set:function(f){r(u,"stack",{configurable:!0,value:f,writable:!0})}})});function s(l){l!==void 0&&r(this,"message",{configurable:!0,value:l,writable:!0});var u=this.constructor.name;u!==void 0&&u!==this.name&&r(this,"name",{configurable:!0,value:u,writable:!0}),i(this,this.constructor)}s.prototype=Object.create(Error.prototype,{constructor:{configurable:!0,value:s,writable:!0}});var a=function(){function l(c,d){return r(c,"name",{configurable:!0,value:d})}try{var u=function(){};if(l(u,"foo"),u.name==="foo")return l}catch{}}();function o(l,u){if(u==null||u===Error)u=s;else if(typeof u!="function")throw new TypeError("super_ should be a function");var c;if(typeof l=="string")c=l,l=n!==void 0?function(){return n(u,arguments,this.constructor)}:function(){u.apply(this,arguments)},a!==void 0&&(a(l,c),c=void 0);else if(typeof l!="function")throw new TypeError("constructor should be either a string or a function");l.super_=l.super=u;var d={constructor:{configurable:!0,value:l,writable:!0}};return c!==void 0&&(d.name={configurable:!0,value:c,writable:!0}),l.prototype=Object.create(u.prototype,d),l}t=e.exports=o,t.BaseError=s})(dg,dg.exports);var YE=dg.exports,XE=hn;function By(e){var t=QE(e);By.super.call(this,t.message),XE(this,t)}function jy(e){var t=QE(e);jy.super.call(this,t.message),XE(this,t)}function QE(e){var t=e.body,n={response:e,statusCode:e.statusCode,responseBody:Vz(t,e)};return t.error&&t.message?(n.message="".concat(t.error," - ").concat(t.message),n):t.error&&t.error.description?(n.message=t.error.description,n.details=t.error,n):(n.message=t.error||t.message||Pz(e),n)}function Pz(e){var t=e.statusMessage?" ".concat(e.statusMessage):"";return"".concat(e.method,"-request to ").concat(e.url," resulted in HTTP ").concat(e.statusCode).concat(t)}function Vz(e,t){var n=(t.headers["content-type"]||"").toLowerCase(),r=n.indexOf("application/json")!==-1;return r?JSON.stringify(e,null,2):e}YE(By);YE(jy);Ly.ClientError=By;Ly.ServerError=jy;var Oz=[],Rz=LE.exports,Mz=hn,Dz=bz,$z=Ez,Fz=Iz,Nz=KE.exports,Lz=Uu,Bz=Lz.Observable,JE=Ly,ZE=JE.ClientError,e2=JE.ServerError,jz={onResponse:function(t){if(t.statusCode>=500)throw new e2(t);if(t.statusCode>=400)throw new ZE(t);return t}},zz={onResponse:function(t){var n=t.headers["x-sanity-warning"],r=Array.isArray(n)?n:[n];return r.filter(Boolean).forEach(function(i){return console.warn(i)}),t}},Uz=Oz,Hz=Uz.concat([zz,$z(),Fz(),Nz(),jz,Dz({implementation:Bz})]),t2=Rz(Hz);function dh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t2;return t(Mz({maxRedirects:0},e))}dh.defaultRequester=t2;dh.ClientError=ZE;dh.ServerError=e2;var qz=dh,U1=hn,Wz="X-Sanity-Project-ID",Gz=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n={},r=t.token||e.token;r&&(n.Authorization="Bearer ".concat(r)),!t.useGlobalApi&&!e.useProjectHostname&&e.projectId&&(n[Wz]=e.projectId);var i=Boolean(typeof t.withCredentials>"u"?e.token||e.withCredentials:t.withCredentials),s=typeof t.timeout>"u"?e.timeout:t.timeout;return U1({},t,{headers:U1({},n,t.headers||{}),timeout:typeof s>"u"?5*60*1e3:s,proxy:t.proxy||e.proxy,json:!0,withCredentials:i})},n2={},Kz="https://docs.sanity.io/help/",r2=function(t){return Kz+t},fh={},Yz=function(e){var t=!1,n;return function(){return t||(n=e.apply(void 0,arguments),t=!0),n}},zy=r2,Xz=Yz,Uy=function(t){return Xz(function(){for(var n,r=arguments.length,i=new Array(r),s=0;s"u"){var v=n("js-client-promise-polyfill");throw new Error("No native Promise-implementation found, polyfill needed - see ".concat(v))}if(h&&!f.projectId)throw new Error("Configuration must contain `projectId`");var g=typeof window<"u"&&window.location&&window.location.hostname,b=g&&l(window.location.hostname);g&&b&&f.token&&f.ignoreBrowserTokenWarning!==!0?i.printBrowserTokenWarning():typeof f.useCdn>"u"&&i.printCdnWarning(),h&&r.projectId(f.projectId),f.dataset&&r.dataset(f.dataset),"requestTagPrefix"in f&&(f.requestTagPrefix=f.requestTagPrefix?r.requestTag(f.requestTagPrefix).replace(/\.+$/,""):void 0),f.apiVersion="".concat(f.apiVersion).replace(/^v/,""),f.isDefaultApi=f.apiHost===a.apiHost,f.useCdn=Boolean(f.useCdn)&&!f.withCredentials,e.validateApiVersion(f.apiVersion);var p=f.apiHost.split("://",2),_=p[0],w=p[1],C=f.isDefaultApi?s:w;return f.useProjectHostname?(f.url="".concat(_,"://").concat(f.projectId,".").concat(w,"/v").concat(f.apiVersion),f.cdnUrl="".concat(_,"://").concat(f.projectId,".").concat(C,"/v").concat(f.apiVersion)):(f.url="".concat(f.apiHost,"/v").concat(f.apiVersion),f.cdnUrl=f.url),f},e.validateApiVersion=function(c){if(!(c==="1"||c==="X")){var d=new Date(c),f=/^\d{4}-\d{2}-\d{2}$/.test(c)&&d instanceof Date&&d.getTime()>0;if(!f)throw new Error("Invalid API version string, expected `1` or date in format `YYYY-MM-DD`")}}})(n2);function H1(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 zm(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:cU;if(!(this instanceof ir))return new ir(e);if(this.config(e),this.assets=new aU(this),this.datasets=new iU(this),this.projects=new sU(this),this.users=new oU(this),this.auth=new lU(this),this.clientConfig.isPromiseAPI){var t=to({},this.clientConfig,{isPromiseAPI:!1});this.observable=new ir(t)}}to(ir.prototype,rU);to(ir.prototype,{clone:function(){return new ir(this.config())},config:function(t){if(typeof t>"u")return to({},this.clientConfig);if(this.clientConfig&&this.clientConfig.allowReconfigure===!1)throw new Error("Existing client instance cannot be reconfigured - use `withConfig(newConfig)` to return a new client");if(this.observable){var n=to({},t,{isPromiseAPI:!1});this.observable.config(n)}return this.clientConfig=dU(t,this.clientConfig||{}),this},withConfig:function(t){return new ir(zm(zm({},this.config()),t))},getUrl:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=n?this.clientConfig.cdnUrl:this.clientConfig.url;return"".concat(r,"/").concat(t.replace(/^\//,""))},isPromiseAPI:function(){return this.clientConfig.isPromiseAPI},_requestObservable:function(t){var n=this,r=t.url||t.uri,i=typeof t.canUseCdn>"u"?["GET","HEAD"].indexOf(t.method||"GET")>=0&&r.indexOf("/data/")===0:t.canUseCdn,s=this.clientConfig.useCdn&&i,a=t.tag&&this.clientConfig.requestTagPrefix?[this.clientConfig.requestTagPrefix,t.tag].join("."):t.tag||this.clientConfig.requestTagPrefix;a&&(t.query=zm({tag:fU.requestTag(a)},t.query));var o=uU(this.clientConfig,to({},t,{url:this.getUrl(r,s)}));return new Jz(function(l){return hh(o,n.clientConfig.requester).subscribe(l)})},request:function(t){var n=this._requestObservable(t).pipe(eU(function(r){return r.type==="response"}),Zz(function(r){return r.body}));return this.isPromiseAPI()?hU(n):n}});ir.Patch=tU;ir.Transaction=nU;ir.ClientError=hh.ClientError;ir.ServerError=hh.ServerError;ir.requester=hh.defaultRequester;var q1=ir;en({});function mU(){const e=xa();if(!e)throw new Error("You must call this from within a component");return e.proxy}const vU=Symbol("Sanity image URL builder"),gU=Symbol("Sanity client"),pU=Symbol("Sanity client for previews"),yU=Symbol("Default query options");function bU(e,t=!1,n={}){mU();const r=q1(e),i=Sy(e);if(Mt(gU,r),Mt(vU,i),Mt(yU,n),t){const s=q1({...e,useCdn:!1,token:void 0,withCredentials:!0});Mt(pU,s)}}Sy(rf);const s2="/assets/dragon1-2.de430711.png",a2="/assets/dragon2-2.3980c55e.png",o2="/assets/gavelium.8176a793.jpg";/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *//** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const l2=function(e){const t=[];let n=0;for(let r=0;r>6|192,t[n++]=i&63|128):(i&64512)===55296&&r+1>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=i&63|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=i&63|128)}return t},_U=function(e){const t=[];let n=0,r=0;for(;n191&&i<224){const s=e[n++];t[r++]=String.fromCharCode((i&31)<<6|s&63)}else if(i>239&&i<365){const s=e[n++],a=e[n++],o=e[n++],l=((i&7)<<18|(s&63)<<12|(a&63)<<6|o&63)-65536;t[r++]=String.fromCharCode(55296+(l>>10)),t[r++]=String.fromCharCode(56320+(l&1023))}else{const s=e[n++],a=e[n++];t[r++]=String.fromCharCode((i&15)<<12|(s&63)<<6|a&63)}}return t.join("")},u2={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:typeof atob=="function",encodeByteArray(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();const n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[];for(let i=0;i>2,d=(s&3)<<4|o>>4;let f=(o&15)<<2|u>>6,h=u&63;l||(h=64,a||(f=64)),r.push(n[c],n[d],n[f],n[h])}return r.join("")},encodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(l2(e),t)},decodeString(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):_U(this.decodeStringToByteArray(e,t))},decodeStringToByteArray(e,t){this.init_();const n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[];for(let i=0;i>4;if(r.push(f),u!==64){const h=o<<4&240|u>>2;if(r.push(h),d!==64){const v=u<<6&192|d;r.push(v)}}}return r},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let e=0;e=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}};class wU extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const xU=function(e){const t=l2(e);return u2.encodeByteArray(t,!0)},sf=function(e){return xU(e).replace(/\./g,"")},SU=function(e){try{return u2.decodeString(e,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};/** + * @license + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function CU(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}/** + * @license + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const TU=()=>CU().__FIREBASE_DEFAULTS__,EU=()=>{if(typeof process>"u"||typeof process.env>"u")return;const e=process.env.__FIREBASE_DEFAULTS__;if(e)return JSON.parse(e)},IU=()=>{if(typeof document>"u")return;let e;try{e=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const t=e&&SU(e[1]);return t&&JSON.parse(t)},c2=()=>{try{return TU()||EU()||IU()}catch(e){console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${e}`);return}},kU=e=>{var t,n;return(n=(t=c2())===null||t===void 0?void 0:t.emulatorHosts)===null||n===void 0?void 0:n[e]},AU=e=>{const t=kU(e);if(!t)return;const n=t.lastIndexOf(":");if(n<=0||n+1===t.length)throw new Error(`Invalid host ${t} with no separate hostname and port!`);const r=parseInt(t.substring(n+1),10);return t[0]==="["?[t.substring(1,n-1),r]:[t.substring(0,n),r]},d2=()=>{var e;return(e=c2())===null||e===void 0?void 0:e.config};/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class PU{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}wrapCallback(t){return(n,r)=>{n?this.reject(n):this.resolve(r),typeof t=="function"&&(this.promise.catch(()=>{}),t.length===1?t(n):t(n,r))}}}/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function VU(e,t){if(e.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const n={alg:"none",type:"JWT"},r=t||"demo-project",i=e.iat||0,s=e.sub||e.user_id;if(!s)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const a=Object.assign({iss:`https://securetoken.google.com/${r}`,aud:r,iat:i,exp:i+3600,auth_time:i,sub:s,user_id:s,firebase:{sign_in_provider:"custom",identities:{}}},e),o="";return[sf(JSON.stringify(n)),sf(JSON.stringify(a)),o].join(".")}function OU(){try{return typeof indexedDB=="object"}catch{return!1}}function RU(){return new Promise((e,t)=>{try{let n=!0;const r="validate-browser-context-for-indexeddb-analytics-module",i=self.indexedDB.open(r);i.onsuccess=()=>{i.result.close(),n||self.indexedDB.deleteDatabase(r),e(!0)},i.onupgradeneeded=()=>{n=!1},i.onerror=()=>{var s;t(((s=i.error)===null||s===void 0?void 0:s.message)||"")}}catch(n){t(n)}})}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const MU="FirebaseError";class Do extends Error{constructor(t,n,r){super(n),this.code=t,this.customData=r,this.name=MU,Object.setPrototypeOf(this,Do.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,f2.prototype.create)}}class f2{constructor(t,n,r){this.service=t,this.serviceName=n,this.errors=r}create(t,...n){const r=n[0]||{},i=`${this.service}/${t}`,s=this.errors[t],a=s?DU(s,r):"Error",o=`${this.serviceName}: ${a} (${i}).`;return new Do(i,o,r)}}function DU(e,t){return e.replace($U,(n,r)=>{const i=t[r];return i!=null?String(i):`<${r}?>`})}const $U=/\{\$([^}]+)}/g;function fg(e,t){if(e===t)return!0;const n=Object.keys(e),r=Object.keys(t);for(const i of n){if(!r.includes(i))return!1;const s=e[i],a=t[i];if(W1(s)&&W1(a)){if(!fg(s,a))return!1}else if(s!==a)return!1}for(const i of r)if(!n.includes(i))return!1;return!0}function W1(e){return e!==null&&typeof e=="object"}/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function iu(e){return e&&e._delegate?e._delegate:e}class su{constructor(t,n,r){this.name=t,this.instanceFactory=n,this.type=r,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}setInstantiationMode(t){return this.instantiationMode=t,this}setMultipleInstances(t){return this.multipleInstances=t,this}setServiceProps(t){return this.serviceProps=t,this}setInstanceCreatedCallback(t){return this.onInstanceCreated=t,this}}/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const qs="[DEFAULT]";/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class FU{constructor(t,n){this.name=t,this.container=n,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}get(t){const n=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(n)){const r=new PU;if(this.instancesDeferred.set(n,r),this.isInitialized(n)||this.shouldAutoInitialize())try{const i=this.getOrInitializeService({instanceIdentifier:n});i&&r.resolve(i)}catch{}}return this.instancesDeferred.get(n).promise}getImmediate(t){var n;const r=this.normalizeInstanceIdentifier(t==null?void 0:t.identifier),i=(n=t==null?void 0:t.optional)!==null&&n!==void 0?n:!1;if(this.isInitialized(r)||this.shouldAutoInitialize())try{return this.getOrInitializeService({instanceIdentifier:r})}catch(s){if(i)return null;throw s}else{if(i)return null;throw Error(`Service ${this.name} is not available`)}}getComponent(){return this.component}setComponent(t){if(t.name!==this.name)throw Error(`Mismatching Component ${t.name} for Provider ${this.name}.`);if(this.component)throw Error(`Component for ${this.name} has already been provided`);if(this.component=t,!!this.shouldAutoInitialize()){if(LU(t))try{this.getOrInitializeService({instanceIdentifier:qs})}catch{}for(const[n,r]of this.instancesDeferred.entries()){const i=this.normalizeInstanceIdentifier(n);try{const s=this.getOrInitializeService({instanceIdentifier:i});r.resolve(s)}catch{}}}}clearInstance(t=qs){this.instancesDeferred.delete(t),this.instancesOptions.delete(t),this.instances.delete(t)}async delete(){const t=Array.from(this.instances.values());await Promise.all([...t.filter(n=>"INTERNAL"in n).map(n=>n.INTERNAL.delete()),...t.filter(n=>"_delete"in n).map(n=>n._delete())])}isComponentSet(){return this.component!=null}isInitialized(t=qs){return this.instances.has(t)}getOptions(t=qs){return this.instancesOptions.get(t)||{}}initialize(t={}){const{options:n={}}=t,r=this.normalizeInstanceIdentifier(t.instanceIdentifier);if(this.isInitialized(r))throw Error(`${this.name}(${r}) has already been initialized`);if(!this.isComponentSet())throw Error(`Component ${this.name} has not been registered yet`);const i=this.getOrInitializeService({instanceIdentifier:r,options:n});for(const[s,a]of this.instancesDeferred.entries()){const o=this.normalizeInstanceIdentifier(s);r===o&&a.resolve(i)}return i}onInit(t,n){var r;const i=this.normalizeInstanceIdentifier(n),s=(r=this.onInitCallbacks.get(i))!==null&&r!==void 0?r:new Set;s.add(t),this.onInitCallbacks.set(i,s);const a=this.instances.get(i);return a&&t(a,i),()=>{s.delete(t)}}invokeOnInitCallbacks(t,n){const r=this.onInitCallbacks.get(n);if(!!r)for(const i of r)try{i(t,n)}catch{}}getOrInitializeService({instanceIdentifier:t,options:n={}}){let r=this.instances.get(t);if(!r&&this.component&&(r=this.component.instanceFactory(this.container,{instanceIdentifier:NU(t),options:n}),this.instances.set(t,r),this.instancesOptions.set(t,n),this.invokeOnInitCallbacks(r,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,r)}catch{}return r||null}normalizeInstanceIdentifier(t=qs){return this.component?this.component.multipleInstances?t:qs:t}shouldAutoInitialize(){return!!this.component&&this.component.instantiationMode!=="EXPLICIT"}}function NU(e){return e===qs?void 0:e}function LU(e){return e.instantiationMode==="EAGER"}/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class BU{constructor(t){this.name=t,this.providers=new Map}addComponent(t){const n=this.getProvider(t.name);if(n.isComponentSet())throw new Error(`Component ${t.name} has already been registered with ${this.name}`);n.setComponent(t)}addOrOverwriteComponent(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)}getProvider(t){if(this.providers.has(t))return this.providers.get(t);const n=new FU(t,this);return this.providers.set(t,n),n}getProviders(){return Array.from(this.providers.values())}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */var mt;(function(e){e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT"})(mt||(mt={}));const jU={debug:mt.DEBUG,verbose:mt.VERBOSE,info:mt.INFO,warn:mt.WARN,error:mt.ERROR,silent:mt.SILENT},zU=mt.INFO,UU={[mt.DEBUG]:"log",[mt.VERBOSE]:"log",[mt.INFO]:"info",[mt.WARN]:"warn",[mt.ERROR]:"error"},HU=(e,t,...n)=>{if(tt.some(n=>e instanceof n);let G1,K1;function WU(){return G1||(G1=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function GU(){return K1||(K1=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const m2=new WeakMap,hg=new WeakMap,v2=new WeakMap,Um=new WeakMap,qy=new WeakMap;function KU(e){const t=new Promise((n,r)=>{const i=()=>{e.removeEventListener("success",s),e.removeEventListener("error",a)},s=()=>{n(as(e.result)),i()},a=()=>{r(e.error),i()};e.addEventListener("success",s),e.addEventListener("error",a)});return t.then(n=>{n instanceof IDBCursor&&m2.set(n,e)}).catch(()=>{}),qy.set(t,e),t}function YU(e){if(hg.has(e))return;const t=new Promise((n,r)=>{const i=()=>{e.removeEventListener("complete",s),e.removeEventListener("error",a),e.removeEventListener("abort",a)},s=()=>{n(),i()},a=()=>{r(e.error||new DOMException("AbortError","AbortError")),i()};e.addEventListener("complete",s),e.addEventListener("error",a),e.addEventListener("abort",a)});hg.set(e,t)}let mg={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return hg.get(e);if(t==="objectStoreNames")return e.objectStoreNames||v2.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return as(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function XU(e){mg=e(mg)}function QU(e){return e===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(t,...n){const r=e.call(Hm(this),t,...n);return v2.set(r,t.sort?t.sort():[t]),as(r)}:GU().includes(e)?function(...t){return e.apply(Hm(this),t),as(m2.get(this))}:function(...t){return as(e.apply(Hm(this),t))}}function JU(e){return typeof e=="function"?QU(e):(e instanceof IDBTransaction&&YU(e),qU(e,WU())?new Proxy(e,mg):e)}function as(e){if(e instanceof IDBRequest)return KU(e);if(Um.has(e))return Um.get(e);const t=JU(e);return t!==e&&(Um.set(e,t),qy.set(t,e)),t}const Hm=e=>qy.get(e);function ZU(e,t,{blocked:n,upgrade:r,blocking:i,terminated:s}={}){const a=indexedDB.open(e,t),o=as(a);return r&&a.addEventListener("upgradeneeded",l=>{r(as(a.result),l.oldVersion,l.newVersion,as(a.transaction),l)}),n&&a.addEventListener("blocked",l=>n(l.oldVersion,l.newVersion,l)),o.then(l=>{s&&l.addEventListener("close",()=>s()),i&&l.addEventListener("versionchange",u=>i(u.oldVersion,u.newVersion,u))}).catch(()=>{}),o}const eH=["get","getKey","getAll","getAllKeys","count"],tH=["put","add","delete","clear"],qm=new Map;function Y1(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(qm.get(t))return qm.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,i=tH.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(i||eH.includes(n)))return;const s=async function(a,...o){const l=this.transaction(a,i?"readwrite":"readonly");let u=l.store;return r&&(u=u.index(o.shift())),(await Promise.all([u[n](...o),i&&l.done]))[0]};return qm.set(t,s),s}XU(e=>({...e,get:(t,n,r)=>Y1(t,n)||e.get(t,n,r),has:(t,n)=>!!Y1(t,n)||e.has(t,n)}));/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class nH{constructor(t){this.container=t}getPlatformInfoString(){return this.container.getProviders().map(n=>{if(rH(n)){const r=n.getImmediate();return`${r.library}/${r.version}`}else return null}).filter(n=>n).join(" ")}}function rH(e){const t=e.getComponent();return(t==null?void 0:t.type)==="VERSION"}const vg="@firebase/app",X1="0.9.17";/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const da=new h2("@firebase/app"),iH="@firebase/app-compat",sH="@firebase/analytics-compat",aH="@firebase/analytics",oH="@firebase/app-check-compat",lH="@firebase/app-check",uH="@firebase/auth",cH="@firebase/auth-compat",dH="@firebase/database",fH="@firebase/database-compat",hH="@firebase/functions",mH="@firebase/functions-compat",vH="@firebase/installations",gH="@firebase/installations-compat",pH="@firebase/messaging",yH="@firebase/messaging-compat",bH="@firebase/performance",_H="@firebase/performance-compat",wH="@firebase/remote-config",xH="@firebase/remote-config-compat",SH="@firebase/storage",CH="@firebase/storage-compat",TH="@firebase/firestore",EH="@firebase/firestore-compat",IH="firebase",kH="10.3.0";/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const gg="[DEFAULT]",AH={[vg]:"fire-core",[iH]:"fire-core-compat",[aH]:"fire-analytics",[sH]:"fire-analytics-compat",[lH]:"fire-app-check",[oH]:"fire-app-check-compat",[uH]:"fire-auth",[cH]:"fire-auth-compat",[dH]:"fire-rtdb",[fH]:"fire-rtdb-compat",[hH]:"fire-fn",[mH]:"fire-fn-compat",[vH]:"fire-iid",[gH]:"fire-iid-compat",[pH]:"fire-fcm",[yH]:"fire-fcm-compat",[bH]:"fire-perf",[_H]:"fire-perf-compat",[wH]:"fire-rc",[xH]:"fire-rc-compat",[SH]:"fire-gcs",[CH]:"fire-gcs-compat",[TH]:"fire-fst",[EH]:"fire-fst-compat","fire-js":"fire-js",[IH]:"fire-js-all"};/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const af=new Map,pg=new Map;function PH(e,t){try{e.container.addComponent(t)}catch(n){da.debug(`Component ${t.name} failed to register with FirebaseApp ${e.name}`,n)}}function of(e){const t=e.name;if(pg.has(t))return da.debug(`There were multiple attempts to register component ${t}.`),!1;pg.set(t,e);for(const n of af.values())PH(n,e);return!0}function VH(e,t){const n=e.container.getProvider("heartbeat").getImmediate({optional:!0});return n&&n.triggerHeartbeat(),e.container.getProvider(t)}/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const OH={["no-app"]:"No Firebase App '{$appName}' has been created - call initializeApp() first",["bad-app-name"]:"Illegal App name: '{$appName}",["duplicate-app"]:"Firebase App named '{$appName}' already exists with different options or config",["app-deleted"]:"Firebase App named '{$appName}' already deleted",["no-options"]:"Need to provide options, when not being deployed to hosting via source.",["invalid-app-argument"]:"firebase.{$appName}() takes either no argument or a Firebase App instance.",["invalid-log-argument"]:"First argument to `onLog` must be null or a function.",["idb-open"]:"Error thrown when opening IndexedDB. Original error: {$originalErrorMessage}.",["idb-get"]:"Error thrown when reading from IndexedDB. Original error: {$originalErrorMessage}.",["idb-set"]:"Error thrown when writing to IndexedDB. Original error: {$originalErrorMessage}.",["idb-delete"]:"Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}."},os=new f2("app","Firebase",OH);/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class RH{constructor(t,n,r){this._isDeleted=!1,this._options=Object.assign({},t),this._config=Object.assign({},n),this._name=n.name,this._automaticDataCollectionEnabled=n.automaticDataCollectionEnabled,this._container=r,this.container.addComponent(new su("app",()=>this,"PUBLIC"))}get automaticDataCollectionEnabled(){return this.checkDestroyed(),this._automaticDataCollectionEnabled}set automaticDataCollectionEnabled(t){this.checkDestroyed(),this._automaticDataCollectionEnabled=t}get name(){return this.checkDestroyed(),this._name}get options(){return this.checkDestroyed(),this._options}get config(){return this.checkDestroyed(),this._config}get container(){return this._container}get isDeleted(){return this._isDeleted}set isDeleted(t){this._isDeleted=t}checkDestroyed(){if(this.isDeleted)throw os.create("app-deleted",{appName:this._name})}}/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const MH=kH;function mh(e,t={}){let n=e;typeof t!="object"&&(t={name:t});const r=Object.assign({name:gg,automaticDataCollectionEnabled:!1},t),i=r.name;if(typeof i!="string"||!i)throw os.create("bad-app-name",{appName:String(i)});if(n||(n=d2()),!n)throw os.create("no-options");const s=af.get(i);if(s){if(fg(n,s.options)&&fg(r,s.config))return s;throw os.create("duplicate-app",{appName:i})}const a=new BU(i);for(const l of pg.values())a.addComponent(l);const o=new RH(n,r,a);return af.set(i,o),o}function DH(e=gg){const t=af.get(e);if(!t&&e===gg&&d2())return mh();if(!t)throw os.create("no-app",{appName:e});return t}function co(e,t,n){var r;let i=(r=AH[e])!==null&&r!==void 0?r:e;n&&(i+=`-${n}`);const s=i.match(/\s|\//),a=t.match(/\s|\//);if(s||a){const o=[`Unable to register library "${i}" with version "${t}":`];s&&o.push(`library name "${i}" contains illegal characters (whitespace or "/")`),s&&a&&o.push("and"),a&&o.push(`version name "${t}" contains illegal characters (whitespace or "/")`),da.warn(o.join(" "));return}of(new su(`${i}-version`,()=>({library:i,version:t}),"VERSION"))}/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const $H="firebase-heartbeat-database",FH=1,au="firebase-heartbeat-store";let Wm=null;function g2(){return Wm||(Wm=ZU($H,FH,{upgrade:(e,t)=>{switch(t){case 0:e.createObjectStore(au)}}}).catch(e=>{throw os.create("idb-open",{originalErrorMessage:e.message})})),Wm}async function NH(e){try{return await(await g2()).transaction(au).objectStore(au).get(p2(e))}catch(t){if(t instanceof Do)da.warn(t.message);else{const n=os.create("idb-get",{originalErrorMessage:t==null?void 0:t.message});da.warn(n.message)}}}async function Q1(e,t){try{const r=(await g2()).transaction(au,"readwrite");await r.objectStore(au).put(t,p2(e)),await r.done}catch(n){if(n instanceof Do)da.warn(n.message);else{const r=os.create("idb-set",{originalErrorMessage:n==null?void 0:n.message});da.warn(r.message)}}}function p2(e){return`${e.name}!${e.options.appId}`}/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const LH=1024,BH=30*24*60*60*1e3;class jH{constructor(t){this.container=t,this._heartbeatsCache=null;const n=this.container.getProvider("app").getImmediate();this._storage=new UH(n),this._heartbeatsCachePromise=this._storage.read().then(r=>(this._heartbeatsCache=r,r))}async triggerHeartbeat(){const n=this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(),r=J1();if(this._heartbeatsCache===null&&(this._heartbeatsCache=await this._heartbeatsCachePromise),!(this._heartbeatsCache.lastSentHeartbeatDate===r||this._heartbeatsCache.heartbeats.some(i=>i.date===r)))return this._heartbeatsCache.heartbeats.push({date:r,agent:n}),this._heartbeatsCache.heartbeats=this._heartbeatsCache.heartbeats.filter(i=>{const s=new Date(i.date).valueOf();return Date.now()-s<=BH}),this._storage.overwrite(this._heartbeatsCache)}async getHeartbeatsHeader(){if(this._heartbeatsCache===null&&await this._heartbeatsCachePromise,this._heartbeatsCache===null||this._heartbeatsCache.heartbeats.length===0)return"";const t=J1(),{heartbeatsToSend:n,unsentEntries:r}=zH(this._heartbeatsCache.heartbeats),i=sf(JSON.stringify({version:2,heartbeats:n}));return this._heartbeatsCache.lastSentHeartbeatDate=t,r.length>0?(this._heartbeatsCache.heartbeats=r,await this._storage.overwrite(this._heartbeatsCache)):(this._heartbeatsCache.heartbeats=[],this._storage.overwrite(this._heartbeatsCache)),i}}function J1(){return new Date().toISOString().substring(0,10)}function zH(e,t=LH){const n=[];let r=e.slice();for(const i of e){const s=n.find(a=>a.agent===i.agent);if(s){if(s.dates.push(i.date),Z1(n)>t){s.dates.pop();break}}else if(n.push({agent:i.agent,dates:[i.date]}),Z1(n)>t){n.pop();break}r=r.slice(1)}return{heartbeatsToSend:n,unsentEntries:r}}class UH{constructor(t){this.app=t,this._canUseIndexedDBPromise=this.runIndexedDBEnvironmentCheck()}async runIndexedDBEnvironmentCheck(){return OU()?RU().then(()=>!0).catch(()=>!1):!1}async read(){return await this._canUseIndexedDBPromise?await NH(this.app)||{heartbeats:[]}:{heartbeats:[]}}async overwrite(t){var n;if(await this._canUseIndexedDBPromise){const i=await this.read();return Q1(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:i.lastSentHeartbeatDate,heartbeats:t.heartbeats})}else return}async add(t){var n;if(await this._canUseIndexedDBPromise){const i=await this.read();return Q1(this.app,{lastSentHeartbeatDate:(n=t.lastSentHeartbeatDate)!==null&&n!==void 0?n:i.lastSentHeartbeatDate,heartbeats:[...i.heartbeats,...t.heartbeats]})}else return}}function Z1(e){return sf(JSON.stringify({version:2,heartbeats:e})).length}/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function HH(e){of(new su("platform-logger",t=>new nH(t),"PRIVATE")),of(new su("heartbeat",t=>new jH(t),"PRIVATE")),co(vg,X1,e),co(vg,X1,"esm2017"),co("fire-js","")}HH("");var qH="firebase",WH="10.3.0";/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */co(qH,WH,"app");var GH=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ce,Wy=Wy||{},He=GH||self;function vh(e){var t=typeof e;return t=t!="object"?t:e?Array.isArray(e)?"array":t:"null",t=="array"||t=="object"&&typeof e.length=="number"}function Hu(e){var t=typeof e;return t=="object"&&e!=null||t=="function"}function KH(e){return Object.prototype.hasOwnProperty.call(e,Gm)&&e[Gm]||(e[Gm]=++YH)}var Gm="closure_uid_"+(1e9*Math.random()>>>0),YH=0;function XH(e,t,n){return e.call.apply(e.bind,arguments)}function QH(e,t,n){if(!e)throw Error();if(2{},t),He.removeEventListener("test",()=>{},t)}catch{}return e}();function ou(e){return/^[\s\xa0]*$/.test(e)}function gh(){var e=He.navigator;return e&&(e=e.userAgent)?e:""}function ti(e){return gh().indexOf(e)!=-1}function Ky(e){return Ky[" "](e),e}Ky[" "]=function(){};function eq(e,t){var n=Wq;return Object.prototype.hasOwnProperty.call(n,e)?n[e]:n[e]=t(e)}var tq=ti("Opera"),yo=ti("Trident")||ti("MSIE"),b2=ti("Edge"),yg=b2||yo,_2=ti("Gecko")&&!(gh().toLowerCase().indexOf("webkit")!=-1&&!ti("Edge"))&&!(ti("Trident")||ti("MSIE"))&&!ti("Edge"),nq=gh().toLowerCase().indexOf("webkit")!=-1&&!ti("Edge");function w2(){var e=He.document;return e?e.documentMode:void 0}var bg;e:{var Km="",Ym=function(){var e=gh();if(_2)return/rv:([^\);]+)(\)|;)/.exec(e);if(b2)return/Edge\/([\d\.]+)/.exec(e);if(yo)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(e);if(nq)return/WebKit\/(\S+)/.exec(e);if(tq)return/(?:Version)[ \/]?(\S+)/.exec(e)}();if(Ym&&(Km=Ym?Ym[1]:""),yo){var Xm=w2();if(Xm!=null&&Xm>parseFloat(Km)){bg=String(Xm);break e}}bg=Km}var _g;if(He.document&&yo){var tw=w2();_g=tw||parseInt(bg,10)||void 0}else _g=void 0;var rq=_g;function lu(e,t){if(Dn.call(this,e?e.type:""),this.relatedTarget=this.g=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.state=null,this.pointerId=0,this.pointerType="",this.i=null,e){var n=this.type=e.type,r=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:null;if(this.target=e.target||e.srcElement,this.g=t,t=e.relatedTarget){if(_2){e:{try{Ky(t.nodeName);var i=!0;break e}catch{}i=!1}i||(t=null)}}else n=="mouseover"?t=e.fromElement:n=="mouseout"&&(t=e.toElement);this.relatedTarget=t,r?(this.clientX=r.clientX!==void 0?r.clientX:r.pageX,this.clientY=r.clientY!==void 0?r.clientY:r.pageY,this.screenX=r.screenX||0,this.screenY=r.screenY||0):(this.clientX=e.clientX!==void 0?e.clientX:e.pageX,this.clientY=e.clientY!==void 0?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0),this.button=e.button,this.key=e.key||"",this.ctrlKey=e.ctrlKey,this.altKey=e.altKey,this.shiftKey=e.shiftKey,this.metaKey=e.metaKey,this.pointerId=e.pointerId||0,this.pointerType=typeof e.pointerType=="string"?e.pointerType:iq[e.pointerType]||"",this.state=e.state,this.i=e,e.defaultPrevented&&lu.$.h.call(this)}}mn(lu,Dn);var iq={2:"touch",3:"pen",4:"mouse"};lu.prototype.h=function(){lu.$.h.call(this);var e=this.i;e.preventDefault?e.preventDefault():e.returnValue=!1};var qu="closure_listenable_"+(1e6*Math.random()|0),sq=0;function aq(e,t,n,r,i){this.listener=e,this.proxy=null,this.src=t,this.type=n,this.capture=!!r,this.la=i,this.key=++sq,this.fa=this.ia=!1}function ph(e){e.fa=!0,e.listener=null,e.proxy=null,e.src=null,e.la=null}function Yy(e,t,n){for(const r in e)t.call(n,e[r],r,e)}function oq(e,t){for(const n in e)t.call(void 0,e[n],n,e)}function x2(e){const t={};for(const n in e)t[n]=e[n];return t}const nw="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function S2(e,t){let n,r;for(let i=1;i>>0);function Zy(e){return typeof e=="function"?e:(e[Jm]||(e[Jm]=function(t){return e.handleEvent(t)}),e[Jm])}function fn(){bs.call(this),this.i=new yh(this),this.S=this,this.J=null}mn(fn,bs);fn.prototype[qu]=!0;fn.prototype.removeEventListener=function(e,t,n,r){I2(this,e,t,n,r)};function _n(e,t){var n,r=e.J;if(r)for(n=[];r;r=r.J)n.push(r);if(e=e.S,r=t.type||t,typeof t=="string")t=new Dn(t,e);else if(t instanceof Dn)t.target=t.target||e;else{var i=t;t=new Dn(r,e),S2(t,i)}if(i=!0,n)for(var s=n.length-1;0<=s;s--){var a=t.g=n[s];i=Rc(a,r,!0,t)&&i}if(a=t.g=e,i=Rc(a,r,!0,t)&&i,i=Rc(a,r,!1,t)&&i,n)for(s=0;snew hq,e=>e.reset());class hq{constructor(){this.next=this.g=this.h=null}set(t,n){this.h=t,this.g=n,this.next=null}reset(){this.next=this.g=this.h=null}}function mq(e){var t=1;e=e.split(":");const n=[];for(;0{throw e},0)}let uu,cu=!1,tb=new fq,P2=()=>{const e=He.Promise.resolve(void 0);uu=()=>{e.then(gq)}};var gq=()=>{for(var e;e=dq();){try{e.h.call(e.g)}catch(n){vq(n)}var t=A2;t.j(e),100>t.h&&(t.h++,e.next=t.g,t.g=e)}cu=!1};function bh(e,t){fn.call(this),this.h=e||1,this.g=t||He,this.j=Mn(this.qb,this),this.l=Date.now()}mn(bh,fn);Ce=bh.prototype;Ce.ga=!1;Ce.T=null;Ce.qb=function(){if(this.ga){var e=Date.now()-this.l;0{e.g=null,e.i&&(e.i=!1,V2(e))},e.j);const t=e.h;e.h=null,e.m.apply(null,t)}class pq extends bs{constructor(t,n){super(),this.m=t,this.j=n,this.h=null,this.i=!1,this.g=null}l(t){this.h=arguments,this.g?this.i=!0:V2(this)}N(){super.N(),this.g&&(He.clearTimeout(this.g),this.g=null,this.i=!1,this.h=null)}}function du(e){bs.call(this),this.h=e,this.g={}}mn(du,bs);var rw=[];function O2(e,t,n,r){Array.isArray(n)||(n&&(rw[0]=n.toString()),n=rw);for(var i=0;ir.length)){var i=r[1];if(Array.isArray(i)&&!(1>i.length)){var s=i[0];if(s!="noop"&&s!="stop"&&s!="close")for(var a=1;ac)&&(c!=3||yg||this.g&&(this.h.h||this.g.ja()||uw(this.g)))){this.J||c!=4||t==7||(t==8||0>=d?fu(3):fu(2)),Ch(this);var n=this.g.da();this.ca=n;t:if(j2(this)){var r=uw(this.g);e="";var i=r.length,s=ri(this.g)==4;if(!this.h.i){if(typeof TextDecoder>"u"){Qs(this),Ol(this);var a="";break t}this.h.i=new He.TextDecoder}for(t=0;tt.length?lf:(t=t.slice(r,r+n),e.C=r+n,t)))}Ce.cancel=function(){this.J=!0,Qs(this)};function Yu(e){e.Y=Date.now()+e.P,U2(e,e.P)}function U2(e,t){if(e.B!=null)throw Error("WatchDog timer not null");e.B=Wu(Mn(e.lb,e),t)}function Ch(e){e.B&&(He.clearTimeout(e.B),e.B=null)}Ce.lb=function(){this.B=null;const e=Date.now();0<=e-this.Y?(_q(this.j,this.A),this.L!=2&&(fu(),qn(17)),Qs(this),this.o=2,Ol(this)):U2(this,this.Y-e)};function Ol(e){e.l.H==0||e.J||dI(e.l,e)}function Qs(e){Ch(e);var t=e.M;t&&typeof t.sa=="function"&&t.sa(),e.M=null,nb(e.V),R2(e.U),e.g&&(t=e.g,e.g=null,t.abort(),t.sa())}function Eg(e,t){try{var n=e.l;if(n.H!=0&&(n.g==e||Ig(n.i,e))){if(!e.K&&Ig(n.i,e)&&n.H==3){try{var r=n.Ja.g.parse(t)}catch{r=null}if(Array.isArray(r)&&r.length==3){var i=r;if(i[0]==0){e:if(!n.u){if(n.g)if(n.g.G+3e3i[2]&&n.G&&n.A==0&&!n.v&&(n.v=Wu(Mn(n.ib,n),6e3));if(1>=Q2(n.i)&&n.oa){try{n.oa()}catch{}n.oa=void 0}}else Js(n,11)}else if((e.K||n.g==e)&&df(n),!ou(t))for(i=n.Ja.g.parse(t),t=0;tt)throw Error("Bad port number "+t);e.m=t}else e.m=null}function aw(e,t,n){t instanceof hu?(e.i=t,Oq(e.i,e.h)):(n||(t=gl(t,Pq)),e.i=new hu(t,e.h))}function It(e,t,n){e.i.set(t,n)}function Th(e){return It(e,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)),e}function vl(e,t){return e?t?decodeURI(e.replace(/%25/g,"%2525")):decodeURIComponent(e):""}function gl(e,t,n){return typeof e=="string"?(e=encodeURI(e).replace(t,Iq),n&&(e=e.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e):null}function Iq(e){return e=e.charCodeAt(0),"%"+(e>>4&15).toString(16)+(e&15).toString(16)}var ow=/[#\/\?@]/g,kq=/[#\?:]/g,Aq=/[#\?]/g,Pq=/[#\?@]/g,Vq=/#/g;function hu(e,t){this.h=this.g=null,this.i=e||null,this.j=!!t}function _s(e){e.g||(e.g=new Map,e.h=0,e.i&&Eq(e.i,function(t,n){e.add(decodeURIComponent(t.replace(/\+/g," ")),n)}))}Ce=hu.prototype;Ce.add=function(e,t){_s(this),this.i=null,e=$o(this,e);var n=this.g.get(e);return n||this.g.set(e,n=[]),n.push(t),this.h+=1,this};function W2(e,t){_s(e),t=$o(e,t),e.g.has(t)&&(e.i=null,e.h-=e.g.get(t).length,e.g.delete(t))}function G2(e,t){return _s(e),t=$o(e,t),e.g.has(t)}Ce.forEach=function(e,t){_s(this),this.g.forEach(function(n,r){n.forEach(function(i){e.call(t,i,r,this)},this)},this)};Ce.ta=function(){_s(this);const e=Array.from(this.g.values()),t=Array.from(this.g.keys()),n=[];for(let r=0;r=e.j:!1}function Q2(e){return e.h?1:e.g?e.g.size:0}function Ig(e,t){return e.h?e.h==t:e.g?e.g.has(t):!1}function ob(e,t){e.g?e.g.add(t):e.h=t}function J2(e,t){e.h&&e.h==t?e.h=null:e.g&&e.g.has(t)&&e.g.delete(t)}Y2.prototype.cancel=function(){if(this.i=Z2(this),this.h)this.h.cancel(),this.h=null;else if(this.g&&this.g.size!==0){for(const e of this.g.values())e.cancel();this.g.clear()}};function Z2(e){if(e.h!=null)return e.i.concat(e.h.F);if(e.g!=null&&e.g.size!==0){let t=e.i;for(const n of e.g.values())t=t.concat(n.F);return t}return Gy(e.i)}var Dq=class{stringify(e){return He.JSON.stringify(e,void 0)}parse(e){return He.JSON.parse(e,void 0)}};function $q(){this.g=new Dq}function Fq(e,t,n){const r=n||"";try{H2(e,function(i,s){let a=i;Hu(i)&&(a=eb(i)),t.push(r+s+"="+encodeURIComponent(a))})}catch(i){throw t.push(r+"type="+encodeURIComponent("_badmap")),i}}function Nq(e,t){const n=new _h;if(He.Image){const r=new Image;r.onload=Oc(Mc,n,r,"TestLoadImage: loaded",!0,t),r.onerror=Oc(Mc,n,r,"TestLoadImage: error",!1,t),r.onabort=Oc(Mc,n,r,"TestLoadImage: abort",!1,t),r.ontimeout=Oc(Mc,n,r,"TestLoadImage: timeout",!1,t),He.setTimeout(function(){r.ontimeout&&r.ontimeout()},1e4),r.src=e}else t(!1)}function Mc(e,t,n,r,i){try{t.onload=null,t.onerror=null,t.onabort=null,t.ontimeout=null,i(r)}catch{}}function Eh(e){this.l=e.fc||null,this.j=e.ob||!1}mn(Eh,ib);Eh.prototype.g=function(){return new Ih(this.l,this.j)};Eh.prototype.i=function(e){return function(){return e}}({});function Ih(e,t){fn.call(this),this.F=e,this.u=t,this.m=void 0,this.readyState=lb,this.status=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.v=new Headers,this.h=null,this.C="GET",this.B="",this.g=!1,this.A=this.j=this.l=null}mn(Ih,fn);var lb=0;Ce=Ih.prototype;Ce.open=function(e,t){if(this.readyState!=lb)throw this.abort(),Error("Error reopening a connection");this.C=e,this.B=t,this.readyState=1,mu(this)};Ce.send=function(e){if(this.readyState!=1)throw this.abort(),Error("need to call open() first. ");this.g=!0;const t={headers:this.v,method:this.C,credentials:this.m,cache:void 0};e&&(t.body=e),(this.F||He).fetch(new Request(this.B,t)).then(this.$a.bind(this),this.ka.bind(this))};Ce.abort=function(){this.response=this.responseText="",this.v=new Headers,this.status=0,this.j&&this.j.cancel("Request was aborted.").catch(()=>{}),1<=this.readyState&&this.g&&this.readyState!=4&&(this.g=!1,Xu(this)),this.readyState=lb};Ce.$a=function(e){if(this.g&&(this.l=e,this.h||(this.status=this.l.status,this.statusText=this.l.statusText,this.h=e.headers,this.readyState=2,mu(this)),this.g&&(this.readyState=3,mu(this),this.g)))if(this.responseType==="arraybuffer")e.arrayBuffer().then(this.Ya.bind(this),this.ka.bind(this));else if(typeof He.ReadableStream<"u"&&"body"in e){if(this.j=e.body.getReader(),this.u){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.response=[]}else this.response=this.responseText="",this.A=new TextDecoder;eI(this)}else e.text().then(this.Za.bind(this),this.ka.bind(this))};function eI(e){e.j.read().then(e.Xa.bind(e)).catch(e.ka.bind(e))}Ce.Xa=function(e){if(this.g){if(this.u&&e.value)this.response.push(e.value);else if(!this.u){var t=e.value?e.value:new Uint8Array(0);(t=this.A.decode(t,{stream:!e.done}))&&(this.response=this.responseText+=t)}e.done?Xu(this):mu(this),this.readyState==3&&eI(this)}};Ce.Za=function(e){this.g&&(this.response=this.responseText=e,Xu(this))};Ce.Ya=function(e){this.g&&(this.response=e,Xu(this))};Ce.ka=function(){this.g&&Xu(this)};function Xu(e){e.readyState=4,e.l=null,e.j=null,e.A=null,mu(e)}Ce.setRequestHeader=function(e,t){this.v.append(e,t)};Ce.getResponseHeader=function(e){return this.h&&this.h.get(e.toLowerCase())||""};Ce.getAllResponseHeaders=function(){if(!this.h)return"";const e=[],t=this.h.entries();for(var n=t.next();!n.done;)n=n.value,e.push(n[0]+": "+n[1]),n=t.next();return e.join(`\r +`)};function mu(e){e.onreadystatechange&&e.onreadystatechange.call(e)}Object.defineProperty(Ih.prototype,"withCredentials",{get:function(){return this.m==="include"},set:function(e){this.m=e?"include":"same-origin"}});var Lq=He.JSON.parse;function Bt(e){fn.call(this),this.headers=new Map,this.u=e||null,this.h=!1,this.C=this.g=null,this.I="",this.m=0,this.j="",this.l=this.G=this.v=this.F=!1,this.B=0,this.A=null,this.K=tI,this.L=this.M=!1}mn(Bt,fn);var tI="",Bq=/^https?$/i,jq=["POST","PUT"];Ce=Bt.prototype;Ce.Oa=function(e){this.M=e};Ce.ha=function(e,t,n,r){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.I+"; newUri="+e);t=t?t.toUpperCase():"GET",this.I=e,this.j="",this.m=0,this.F=!1,this.h=!0,this.g=this.u?this.u.g():Sg.g(),this.C=this.u?sw(this.u):sw(Sg),this.g.onreadystatechange=Mn(this.La,this);try{this.G=!0,this.g.open(t,String(e),!0),this.G=!1}catch(s){lw(this,s);return}if(e=n||"",n=new Map(this.headers),r)if(Object.getPrototypeOf(r)===Object.prototype)for(var i in r)n.set(i,r[i]);else if(typeof r.keys=="function"&&typeof r.get=="function")for(const s of r.keys())n.set(s,r.get(s));else throw Error("Unknown input type for opt_headers: "+String(r));r=Array.from(n.keys()).find(s=>s.toLowerCase()=="content-type"),i=He.FormData&&e instanceof He.FormData,!(0<=y2(jq,t))||r||i||n.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");for(const[s,a]of n)this.g.setRequestHeader(s,a);this.K&&(this.g.responseType=this.K),"withCredentials"in this.g&&this.g.withCredentials!==this.M&&(this.g.withCredentials=this.M);try{iI(this),0{}:null;e.g=null,e.C=null,t||_n(e,"ready");try{n.onreadystatechange=r}catch{}}}function iI(e){e.g&&e.L&&(e.g.ontimeout=null),e.A&&(He.clearTimeout(e.A),e.A=null)}Ce.isActive=function(){return!!this.g};function ri(e){return e.g?e.g.readyState:0}Ce.da=function(){try{return 2=e.i.j-(e.m?1:0)?!1:e.m?(e.j=t.F.concat(e.j),!0):e.H==1||e.H==2||e.C>=(e.cb?0:e.eb)?!1:(e.m=Wu(Mn(e.Na,e,t),fI(e,e.C)),e.C++,!0)}Ce.Na=function(e){if(this.m)if(this.m=null,this.H==1){if(!e){this.W=Math.floor(1e5*Math.random()),e=this.W++;const i=new Ku(this,this.l,e);let s=this.s;if(this.U&&(s?(s=x2(s),S2(s,this.U)):s=this.U),this.o!==null||this.O||(i.I=s,s=null),this.P)e:{for(var t=0,n=0;nu)s=Math.max(0,i[l].g-100),o=!1;else try{Fq(c,a,"req"+u+"_")}catch{r&&r(c)}}if(o){r=a.join("&");break e}}}return e=e.j.splice(0,n),t.F=e,r}function uI(e){if(!e.g&&!e.u){e.ba=1;var t=e.Ma;uu||P2(),cu||(uu(),cu=!0),tb.add(t,e),e.A=0}}function db(e){return e.g||e.u||3<=e.A?!1:(e.ba++,e.u=Wu(Mn(e.Ma,e),fI(e,e.A)),e.A++,!0)}Ce.Ma=function(){if(this.u=null,cI(this),this.ca&&!(this.M||this.g==null||0>=this.S)){var e=2*this.S;this.l.info("BP detection timer enabled: "+e),this.B=Wu(Mn(this.jb,this),e)}};Ce.jb=function(){this.B&&(this.B=null,this.l.info("BP detection timeout reached."),this.l.info("Buffering proxy detected and switch to long-polling!"),this.G=!1,this.M=!0,qn(10),Ah(this),cI(this))};function fb(e){e.B!=null&&(He.clearTimeout(e.B),e.B=null)}function cI(e){e.g=new Ku(e,e.l,"rpc",e.ba),e.o===null&&(e.g.I=e.s),e.g.O=0;var t=ki(e.wa);It(t,"RID","rpc"),It(t,"SID",e.K),It(t,"AID",e.V),It(t,"CI",e.G?"0":"1"),!e.G&&e.qa&&It(t,"TO",e.qa),It(t,"TYPE","xmlhttp"),Qu(e,t),e.o&&e.s&&ub(t,e.o,e.s),e.L&&e.g.setTimeout(e.L);var n=e.g;e=e.pa,n.L=1,n.v=Th(ki(t)),n.s=null,n.S=!0,B2(n,e)}Ce.ib=function(){this.v!=null&&(this.v=null,Ah(this),db(this),qn(19))};function df(e){e.v!=null&&(He.clearTimeout(e.v),e.v=null)}function dI(e,t){var n=null;if(e.g==t){df(e),fb(e),e.g=null;var r=2}else if(Ig(e.i,t))n=t.F,J2(e.i,t),r=1;else return;if(e.H!=0){if(t.i)if(r==1){n=t.s?t.s.length:0,t=Date.now()-t.G;var i=e.C;r=wh(),_n(r,new $2(r,n)),Ph(e)}else uI(e);else if(i=t.o,i==3||i==0&&0i;++i)r[i]=t.charCodeAt(n++)|t.charCodeAt(n++)<<8|t.charCodeAt(n++)<<16|t.charCodeAt(n++)<<24;else for(i=0;16>i;++i)r[i]=t[n++]|t[n++]<<8|t[n++]<<16|t[n++]<<24;t=e.g[0],n=e.g[1],i=e.g[2];var s=e.g[3],a=t+(s^n&(i^s))+r[0]+3614090360&4294967295;t=n+(a<<7&4294967295|a>>>25),a=s+(i^t&(n^i))+r[1]+3905402710&4294967295,s=t+(a<<12&4294967295|a>>>20),a=i+(n^s&(t^n))+r[2]+606105819&4294967295,i=s+(a<<17&4294967295|a>>>15),a=n+(t^i&(s^t))+r[3]+3250441966&4294967295,n=i+(a<<22&4294967295|a>>>10),a=t+(s^n&(i^s))+r[4]+4118548399&4294967295,t=n+(a<<7&4294967295|a>>>25),a=s+(i^t&(n^i))+r[5]+1200080426&4294967295,s=t+(a<<12&4294967295|a>>>20),a=i+(n^s&(t^n))+r[6]+2821735955&4294967295,i=s+(a<<17&4294967295|a>>>15),a=n+(t^i&(s^t))+r[7]+4249261313&4294967295,n=i+(a<<22&4294967295|a>>>10),a=t+(s^n&(i^s))+r[8]+1770035416&4294967295,t=n+(a<<7&4294967295|a>>>25),a=s+(i^t&(n^i))+r[9]+2336552879&4294967295,s=t+(a<<12&4294967295|a>>>20),a=i+(n^s&(t^n))+r[10]+4294925233&4294967295,i=s+(a<<17&4294967295|a>>>15),a=n+(t^i&(s^t))+r[11]+2304563134&4294967295,n=i+(a<<22&4294967295|a>>>10),a=t+(s^n&(i^s))+r[12]+1804603682&4294967295,t=n+(a<<7&4294967295|a>>>25),a=s+(i^t&(n^i))+r[13]+4254626195&4294967295,s=t+(a<<12&4294967295|a>>>20),a=i+(n^s&(t^n))+r[14]+2792965006&4294967295,i=s+(a<<17&4294967295|a>>>15),a=n+(t^i&(s^t))+r[15]+1236535329&4294967295,n=i+(a<<22&4294967295|a>>>10),a=t+(i^s&(n^i))+r[1]+4129170786&4294967295,t=n+(a<<5&4294967295|a>>>27),a=s+(n^i&(t^n))+r[6]+3225465664&4294967295,s=t+(a<<9&4294967295|a>>>23),a=i+(t^n&(s^t))+r[11]+643717713&4294967295,i=s+(a<<14&4294967295|a>>>18),a=n+(s^t&(i^s))+r[0]+3921069994&4294967295,n=i+(a<<20&4294967295|a>>>12),a=t+(i^s&(n^i))+r[5]+3593408605&4294967295,t=n+(a<<5&4294967295|a>>>27),a=s+(n^i&(t^n))+r[10]+38016083&4294967295,s=t+(a<<9&4294967295|a>>>23),a=i+(t^n&(s^t))+r[15]+3634488961&4294967295,i=s+(a<<14&4294967295|a>>>18),a=n+(s^t&(i^s))+r[4]+3889429448&4294967295,n=i+(a<<20&4294967295|a>>>12),a=t+(i^s&(n^i))+r[9]+568446438&4294967295,t=n+(a<<5&4294967295|a>>>27),a=s+(n^i&(t^n))+r[14]+3275163606&4294967295,s=t+(a<<9&4294967295|a>>>23),a=i+(t^n&(s^t))+r[3]+4107603335&4294967295,i=s+(a<<14&4294967295|a>>>18),a=n+(s^t&(i^s))+r[8]+1163531501&4294967295,n=i+(a<<20&4294967295|a>>>12),a=t+(i^s&(n^i))+r[13]+2850285829&4294967295,t=n+(a<<5&4294967295|a>>>27),a=s+(n^i&(t^n))+r[2]+4243563512&4294967295,s=t+(a<<9&4294967295|a>>>23),a=i+(t^n&(s^t))+r[7]+1735328473&4294967295,i=s+(a<<14&4294967295|a>>>18),a=n+(s^t&(i^s))+r[12]+2368359562&4294967295,n=i+(a<<20&4294967295|a>>>12),a=t+(n^i^s)+r[5]+4294588738&4294967295,t=n+(a<<4&4294967295|a>>>28),a=s+(t^n^i)+r[8]+2272392833&4294967295,s=t+(a<<11&4294967295|a>>>21),a=i+(s^t^n)+r[11]+1839030562&4294967295,i=s+(a<<16&4294967295|a>>>16),a=n+(i^s^t)+r[14]+4259657740&4294967295,n=i+(a<<23&4294967295|a>>>9),a=t+(n^i^s)+r[1]+2763975236&4294967295,t=n+(a<<4&4294967295|a>>>28),a=s+(t^n^i)+r[4]+1272893353&4294967295,s=t+(a<<11&4294967295|a>>>21),a=i+(s^t^n)+r[7]+4139469664&4294967295,i=s+(a<<16&4294967295|a>>>16),a=n+(i^s^t)+r[10]+3200236656&4294967295,n=i+(a<<23&4294967295|a>>>9),a=t+(n^i^s)+r[13]+681279174&4294967295,t=n+(a<<4&4294967295|a>>>28),a=s+(t^n^i)+r[0]+3936430074&4294967295,s=t+(a<<11&4294967295|a>>>21),a=i+(s^t^n)+r[3]+3572445317&4294967295,i=s+(a<<16&4294967295|a>>>16),a=n+(i^s^t)+r[6]+76029189&4294967295,n=i+(a<<23&4294967295|a>>>9),a=t+(n^i^s)+r[9]+3654602809&4294967295,t=n+(a<<4&4294967295|a>>>28),a=s+(t^n^i)+r[12]+3873151461&4294967295,s=t+(a<<11&4294967295|a>>>21),a=i+(s^t^n)+r[15]+530742520&4294967295,i=s+(a<<16&4294967295|a>>>16),a=n+(i^s^t)+r[2]+3299628645&4294967295,n=i+(a<<23&4294967295|a>>>9),a=t+(i^(n|~s))+r[0]+4096336452&4294967295,t=n+(a<<6&4294967295|a>>>26),a=s+(n^(t|~i))+r[7]+1126891415&4294967295,s=t+(a<<10&4294967295|a>>>22),a=i+(t^(s|~n))+r[14]+2878612391&4294967295,i=s+(a<<15&4294967295|a>>>17),a=n+(s^(i|~t))+r[5]+4237533241&4294967295,n=i+(a<<21&4294967295|a>>>11),a=t+(i^(n|~s))+r[12]+1700485571&4294967295,t=n+(a<<6&4294967295|a>>>26),a=s+(n^(t|~i))+r[3]+2399980690&4294967295,s=t+(a<<10&4294967295|a>>>22),a=i+(t^(s|~n))+r[10]+4293915773&4294967295,i=s+(a<<15&4294967295|a>>>17),a=n+(s^(i|~t))+r[1]+2240044497&4294967295,n=i+(a<<21&4294967295|a>>>11),a=t+(i^(n|~s))+r[8]+1873313359&4294967295,t=n+(a<<6&4294967295|a>>>26),a=s+(n^(t|~i))+r[15]+4264355552&4294967295,s=t+(a<<10&4294967295|a>>>22),a=i+(t^(s|~n))+r[6]+2734768916&4294967295,i=s+(a<<15&4294967295|a>>>17),a=n+(s^(i|~t))+r[13]+1309151649&4294967295,n=i+(a<<21&4294967295|a>>>11),a=t+(i^(n|~s))+r[4]+4149444226&4294967295,t=n+(a<<6&4294967295|a>>>26),a=s+(n^(t|~i))+r[11]+3174756917&4294967295,s=t+(a<<10&4294967295|a>>>22),a=i+(t^(s|~n))+r[2]+718787259&4294967295,i=s+(a<<15&4294967295|a>>>17),a=n+(s^(i|~t))+r[9]+3951481745&4294967295,e.g[0]=e.g[0]+t&4294967295,e.g[1]=e.g[1]+(i+(a<<21&4294967295|a>>>11))&4294967295,e.g[2]=e.g[2]+i&4294967295,e.g[3]=e.g[3]+s&4294967295}Kr.prototype.j=function(e,t){t===void 0&&(t=e.length);for(var n=t-this.blockSize,r=this.m,i=this.h,s=0;sthis.h?this.blockSize:2*this.blockSize)-this.h);e[0]=128;for(var t=1;tt;++t)for(var r=0;32>r;r+=8)e[n++]=this.g[t]>>>r&255;return e};function pt(e,t){this.h=t;for(var n=[],r=!0,i=e.length-1;0<=i;i--){var s=e[i]|0;r&&s==t||(n[i]=s,r=!1)}this.g=n}var Wq={};function hb(e){return-128<=e&&128>e?eq(e,function(t){return new pt([t|0],0>t?-1:0)}):new pt([e|0],0>e?-1:0)}function ii(e){if(isNaN(e)||!isFinite(e))return fo;if(0>e)return bn(ii(-e));for(var t=[],n=1,r=0;e>=n;r++)t[r]=e/n|0,n*=kg;return new pt(t,0)}function bI(e,t){if(e.length==0)throw Error("number format error: empty string");if(t=t||10,2>t||36s?(s=ii(Math.pow(t,s)),r=r.R(s).add(ii(a))):(r=r.R(n),r=r.add(ii(a)))}return r}var kg=4294967296,fo=hb(0),Ag=hb(1),dw=hb(16777216);Ce=pt.prototype;Ce.ea=function(){if(gr(this))return-bn(this).ea();for(var e=0,t=1,n=0;ne||36>>0).toString(e);if(n=i,yi(n))return s+r;for(;6>s.length;)s="0"+s;r=s+r}};Ce.D=function(e){return 0>e?0:e>>16)+(this.D(i)>>>16)+(e.D(i)>>>16);r=a>>>16,s&=65535,a&=65535,n[i]=a<<16|s}return new pt(n,n[n.length-1]&-2147483648?-1:0)};function hf(e,t){return e.add(bn(t))}Ce.R=function(e){if(yi(this)||yi(e))return fo;if(gr(this))return gr(e)?bn(this).R(bn(e)):bn(bn(this).R(e));if(gr(e))return bn(this.R(bn(e)));if(0>this.X(dw)&&0>e.X(dw))return ii(this.ea()*e.ea());for(var t=this.g.length+e.g.length,n=[],r=0;r<2*t;r++)n[r]=0;for(r=0;r>>16,a=this.D(r)&65535,o=e.D(i)>>>16,l=e.D(i)&65535;n[2*r+2*i]+=a*l,Dc(n,2*r+2*i),n[2*r+2*i+1]+=s*l,Dc(n,2*r+2*i+1),n[2*r+2*i+1]+=a*o,Dc(n,2*r+2*i+1),n[2*r+2*i+2]+=s*o,Dc(n,2*r+2*i+2)}for(r=0;r>>16,e[t]&=65535,t++}function il(e,t){this.g=e,this.h=t}function mf(e,t){if(yi(t))throw Error("division by zero");if(yi(e))return new il(fo,fo);if(gr(e))return t=mf(bn(e),t),new il(bn(t.g),bn(t.h));if(gr(t))return t=mf(e,bn(t)),new il(bn(t.g),t.h);if(30=r.X(e);)n=fw(n),r=fw(r);var i=Ba(n,1),s=Ba(r,1);for(r=Ba(r,2),n=Ba(n,2);!yi(r);){var a=s.add(r);0>=a.X(e)&&(i=i.add(n),s=a),r=Ba(r,1),n=Ba(n,1)}return t=hf(e,i.R(t)),new il(i,t)}for(i=fo;0<=e.X(t);){for(n=Math.max(1,Math.floor(e.ea()/t.ea())),r=Math.ceil(Math.log(n)/Math.LN2),r=48>=r?1:Math.pow(2,r-48),s=ii(n),a=s.R(t);gr(a)||0>>31;return new pt(n,e.h)}function Ba(e,t){var n=t>>5;t%=32;for(var r=e.g.length-n,i=[],s=0;s>>t|e.D(s+n+1)<<32-t:e.D(s+n);return new pt(i,e.h)}ff.prototype.createWebChannel=ff.prototype.g;ar.prototype.send=ar.prototype.u;ar.prototype.open=ar.prototype.m;ar.prototype.close=ar.prototype.close;xh.NO_ERROR=0;xh.TIMEOUT=8;xh.HTTP_ERROR=6;F2.COMPLETE="complete";N2.EventType=Gu;Gu.OPEN="a";Gu.CLOSE="b";Gu.ERROR="c";Gu.MESSAGE="d";fn.prototype.listen=fn.prototype.O;Bt.prototype.listenOnce=Bt.prototype.P;Bt.prototype.getLastError=Bt.prototype.Sa;Bt.prototype.getLastErrorCode=Bt.prototype.Ia;Bt.prototype.getStatus=Bt.prototype.da;Bt.prototype.getResponseJson=Bt.prototype.Wa;Bt.prototype.getResponseText=Bt.prototype.ja;Bt.prototype.send=Bt.prototype.ha;Bt.prototype.setWithCredentials=Bt.prototype.Oa;Kr.prototype.digest=Kr.prototype.l;Kr.prototype.reset=Kr.prototype.reset;Kr.prototype.update=Kr.prototype.j;pt.prototype.add=pt.prototype.add;pt.prototype.multiply=pt.prototype.R;pt.prototype.modulo=pt.prototype.gb;pt.prototype.compare=pt.prototype.X;pt.prototype.toNumber=pt.prototype.ea;pt.prototype.toString=pt.prototype.toString;pt.prototype.getBits=pt.prototype.D;pt.fromNumber=ii;pt.fromString=bI;var Gq=function(){return new ff},Kq=function(){return wh()},ev=xh,Yq=F2,Xq=Ca,hw={xb:0,Ab:1,Bb:2,Ub:3,Zb:4,Wb:5,Xb:6,Vb:7,Tb:8,Yb:9,PROXY:10,NOPROXY:11,Rb:12,Nb:13,Ob:14,Mb:15,Pb:16,Qb:17,tb:18,sb:19,ub:20},$c=N2,Qq=Bt,Jq=Kr,ho=pt;const mw="@firebase/firestore";/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class En{constructor(t){this.uid=t}isAuthenticated(){return this.uid!=null}toKey(){return this.isAuthenticated()?"uid:"+this.uid:"anonymous-user"}isEqual(t){return t.uid===this.uid}}En.UNAUTHENTICATED=new En(null),En.GOOGLE_CREDENTIALS=new En("google-credentials-uid"),En.FIRST_PARTY=new En("first-party-uid"),En.MOCK_USER=new En("mock-user");/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */let No="10.3.0";/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const fa=new h2("@firebase/firestore");function vw(){return fa.logLevel}function Pe(e,...t){if(fa.logLevel<=mt.DEBUG){const n=t.map(mb);fa.debug(`Firestore (${No}): ${e}`,...n)}}function Ai(e,...t){if(fa.logLevel<=mt.ERROR){const n=t.map(mb);fa.error(`Firestore (${No}): ${e}`,...n)}}function bo(e,...t){if(fa.logLevel<=mt.WARN){const n=t.map(mb);fa.warn(`Firestore (${No}): ${e}`,...n)}}function mb(e){if(typeof e=="string")return e;try{/** +* @license +* Copyright 2020 Google LLC +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/return function(n){return JSON.stringify(n)}(e)}catch{return e}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function Be(e="Unexpected state"){const t=`FIRESTORE (${No}) INTERNAL ASSERTION FAILED: `+e;throw Ai(t),new Error(t)}function At(e,t){e||Be()}function Qe(e,t){return e}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const ce={OK:"ok",CANCELLED:"cancelled",UNKNOWN:"unknown",INVALID_ARGUMENT:"invalid-argument",DEADLINE_EXCEEDED:"deadline-exceeded",NOT_FOUND:"not-found",ALREADY_EXISTS:"already-exists",PERMISSION_DENIED:"permission-denied",UNAUTHENTICATED:"unauthenticated",RESOURCE_EXHAUSTED:"resource-exhausted",FAILED_PRECONDITION:"failed-precondition",ABORTED:"aborted",OUT_OF_RANGE:"out-of-range",UNIMPLEMENTED:"unimplemented",INTERNAL:"internal",UNAVAILABLE:"unavailable",DATA_LOSS:"data-loss"};class Me extends Do{constructor(t,n){super(t,n),this.code=t,this.message=n,this.toString=()=>`${this.name}: [code=${this.code}]: ${this.message}`}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class ls{constructor(){this.promise=new Promise((t,n)=>{this.resolve=t,this.reject=n})}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class _I{constructor(t,n){this.user=n,this.type="OAuth",this.headers=new Map,this.headers.set("Authorization",`Bearer ${t}`)}}class Zq{getToken(){return Promise.resolve(null)}invalidateToken(){}start(t,n){t.enqueueRetryable(()=>n(En.UNAUTHENTICATED))}shutdown(){}}class eW{constructor(t){this.token=t,this.changeListener=null}getToken(){return Promise.resolve(this.token)}invalidateToken(){}start(t,n){this.changeListener=n,t.enqueueRetryable(()=>n(this.token.user))}shutdown(){this.changeListener=null}}class tW{constructor(t){this.t=t,this.currentUser=En.UNAUTHENTICATED,this.i=0,this.forceRefresh=!1,this.auth=null}start(t,n){let r=this.i;const i=l=>this.i!==r?(r=this.i,n(l)):Promise.resolve();let s=new ls;this.o=()=>{this.i++,this.currentUser=this.u(),s.resolve(),s=new ls,t.enqueueRetryable(()=>i(this.currentUser))};const a=()=>{const l=s;t.enqueueRetryable(async()=>{await l.promise,await i(this.currentUser)})},o=l=>{Pe("FirebaseAuthCredentialsProvider","Auth detected"),this.auth=l,this.auth.addAuthTokenListener(this.o),a()};this.t.onInit(l=>o(l)),setTimeout(()=>{if(!this.auth){const l=this.t.getImmediate({optional:!0});l?o(l):(Pe("FirebaseAuthCredentialsProvider","Auth not yet detected"),s.resolve(),s=new ls)}},0),a()}getToken(){const t=this.i,n=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(n).then(r=>this.i!==t?(Pe("FirebaseAuthCredentialsProvider","getToken aborted due to token change."),this.getToken()):r?(At(typeof r.accessToken=="string"),new _I(r.accessToken,this.currentUser)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.auth&&this.auth.removeAuthTokenListener(this.o)}u(){const t=this.auth&&this.auth.getUid();return At(t===null||typeof t=="string"),new En(t)}}class nW{constructor(t,n,r){this.l=t,this.h=n,this.P=r,this.type="FirstParty",this.user=En.FIRST_PARTY,this.I=new Map}T(){return this.P?this.P():null}get headers(){this.I.set("X-Goog-AuthUser",this.l);const t=this.T();return t&&this.I.set("Authorization",t),this.h&&this.I.set("X-Goog-Iam-Authorization-Token",this.h),this.I}}class rW{constructor(t,n,r){this.l=t,this.h=n,this.P=r}getToken(){return Promise.resolve(new nW(this.l,this.h,this.P))}start(t,n){t.enqueueRetryable(()=>n(En.FIRST_PARTY))}shutdown(){}invalidateToken(){}}class iW{constructor(t){this.value=t,this.type="AppCheck",this.headers=new Map,t&&t.length>0&&this.headers.set("x-firebase-appcheck",this.value)}}class sW{constructor(t){this.A=t,this.forceRefresh=!1,this.appCheck=null,this.R=null}start(t,n){const r=s=>{s.error!=null&&Pe("FirebaseAppCheckTokenProvider",`Error getting App Check token; using placeholder token instead. Error: ${s.error.message}`);const a=s.token!==this.R;return this.R=s.token,Pe("FirebaseAppCheckTokenProvider",`Received ${a?"new":"existing"} token.`),a?n(s.token):Promise.resolve()};this.o=s=>{t.enqueueRetryable(()=>r(s))};const i=s=>{Pe("FirebaseAppCheckTokenProvider","AppCheck detected"),this.appCheck=s,this.appCheck.addTokenListener(this.o)};this.A.onInit(s=>i(s)),setTimeout(()=>{if(!this.appCheck){const s=this.A.getImmediate({optional:!0});s?i(s):Pe("FirebaseAppCheckTokenProvider","AppCheck not yet detected")}},0)}getToken(){const t=this.forceRefresh;return this.forceRefresh=!1,this.appCheck?this.appCheck.getToken(t).then(n=>n?(At(typeof n.token=="string"),this.R=n.token,new iW(n.token)):null):Promise.resolve(null)}invalidateToken(){this.forceRefresh=!0}shutdown(){this.appCheck&&this.appCheck.removeTokenListener(this.o)}}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function aW(e){const t=typeof self<"u"&&(self.crypto||self.msCrypto),n=new Uint8Array(e);if(t&&typeof t.getRandomValues=="function")t.getRandomValues(n);else for(let r=0;rt?1:0}function _o(e,t,n){return e.length===t.length&&e.every((r,i)=>n(r,t[i]))}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class nn{constructor(t,n){if(this.seconds=t,this.nanoseconds=n,n<0)throw new Me(ce.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+n);if(n>=1e9)throw new Me(ce.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+n);if(t<-62135596800)throw new Me(ce.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t);if(t>=253402300800)throw new Me(ce.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t)}static now(){return nn.fromMillis(Date.now())}static fromDate(t){return nn.fromMillis(t.getTime())}static fromMillis(t){const n=Math.floor(t/1e3),r=Math.floor(1e6*(t-1e3*n));return new nn(n,r)}toDate(){return new Date(this.toMillis())}toMillis(){return 1e3*this.seconds+this.nanoseconds/1e6}_compareTo(t){return this.seconds===t.seconds?dt(this.nanoseconds,t.nanoseconds):dt(this.seconds,t.seconds)}isEqual(t){return t.seconds===this.seconds&&t.nanoseconds===this.nanoseconds}toString(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"}toJSON(){return{seconds:this.seconds,nanoseconds:this.nanoseconds}}valueOf(){const t=this.seconds- -62135596800;return String(t).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class We{constructor(t){this.timestamp=t}static fromTimestamp(t){return new We(t)}static min(){return new We(new nn(0,0))}static max(){return new We(new nn(253402300799,999999999))}compareTo(t){return this.timestamp._compareTo(t.timestamp)}isEqual(t){return this.timestamp.isEqual(t.timestamp)}toMicroseconds(){return 1e6*this.timestamp.seconds+this.timestamp.nanoseconds/1e3}toString(){return"SnapshotVersion("+this.timestamp.toString()+")"}toTimestamp(){return this.timestamp}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class vu{constructor(t,n,r){n===void 0?n=0:n>t.length&&Be(),r===void 0?r=t.length-n:r>t.length-n&&Be(),this.segments=t,this.offset=n,this.len=r}get length(){return this.len}isEqual(t){return vu.comparator(this,t)===0}child(t){const n=this.segments.slice(this.offset,this.limit());return t instanceof vu?t.forEach(r=>{n.push(r)}):n.push(t),this.construct(n)}limit(){return this.offset+this.length}popFirst(t){return t=t===void 0?1:t,this.construct(this.segments,this.offset+t,this.length-t)}popLast(){return this.construct(this.segments,this.offset,this.length-1)}firstSegment(){return this.segments[this.offset]}lastSegment(){return this.get(this.length-1)}get(t){return this.segments[this.offset+t]}isEmpty(){return this.length===0}isPrefixOf(t){if(t.lengtha)return 1}return t.lengthn.length?1:0}}class Rt extends vu{construct(t,n,r){return new Rt(t,n,r)}canonicalString(){return this.toArray().join("/")}toString(){return this.canonicalString()}static fromString(...t){const n=[];for(const r of t){if(r.indexOf("//")>=0)throw new Me(ce.INVALID_ARGUMENT,`Invalid segment (${r}). Paths must not contain // in them.`);n.push(...r.split("/").filter(i=>i.length>0))}return new Rt(n)}static emptyPath(){return new Rt([])}}const oW=/^[_a-zA-Z][_a-zA-Z0-9]*$/;class kn extends vu{construct(t,n,r){return new kn(t,n,r)}static isValidIdentifier(t){return oW.test(t)}canonicalString(){return this.toArray().map(t=>(t=t.replace(/\\/g,"\\\\").replace(/`/g,"\\`"),kn.isValidIdentifier(t)||(t="`"+t+"`"),t)).join(".")}toString(){return this.canonicalString()}isKeyField(){return this.length===1&&this.get(0)==="__name__"}static keyField(){return new kn(["__name__"])}static fromServerFormat(t){const n=[];let r="",i=0;const s=()=>{if(r.length===0)throw new Me(ce.INVALID_ARGUMENT,`Invalid field path (${t}). Paths must not be empty, begin with '.', end with '.', or contain '..'`);n.push(r),r=""};let a=!1;for(;i=2&&this.path.get(this.path.length-2)===t}getCollectionGroup(){return this.path.get(this.path.length-2)}getCollectionPath(){return this.path.popLast()}isEqual(t){return t!==null&&Rt.comparator(this.path,t.path)===0}toString(){return this.path.toString()}static comparator(t,n){return Rt.comparator(t.path,n.path)}static isDocumentKey(t){return t.length%2==0}static fromSegments(t){return new $e(new Rt(t.slice()))}}function lW(e,t){const n=e.toTimestamp().seconds,r=e.toTimestamp().nanoseconds+1,i=We.fromTimestamp(r===1e9?new nn(n+1,0):new nn(n,r));return new hs(i,$e.empty(),t)}function uW(e){return new hs(e.readTime,e.key,-1)}class hs{constructor(t,n,r){this.readTime=t,this.documentKey=n,this.largestBatchId=r}static min(){return new hs(We.min(),$e.empty(),-1)}static max(){return new hs(We.max(),$e.empty(),-1)}}function cW(e,t){let n=e.readTime.compareTo(t.readTime);return n!==0?n:(n=$e.comparator(e.documentKey,t.documentKey),n!==0?n:dt(e.largestBatchId,t.largestBatchId))}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const dW="The current tab is not in the required state to perform this operation. It might be necessary to refresh the browser tab.";class fW{constructor(){this.onCommittedListeners=[]}addOnCommittedListener(t){this.onCommittedListeners.push(t)}raiseOnCommittedEvent(){this.onCommittedListeners.forEach(t=>t())}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */async function Ju(e){if(e.code!==ce.FAILED_PRECONDITION||e.message!==dW)throw e;Pe("LocalStore","Unexpectedly lost primary lease")}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class me{constructor(t){this.nextCallback=null,this.catchCallback=null,this.result=void 0,this.error=void 0,this.isDone=!1,this.callbackAttached=!1,t(n=>{this.isDone=!0,this.result=n,this.nextCallback&&this.nextCallback(n)},n=>{this.isDone=!0,this.error=n,this.catchCallback&&this.catchCallback(n)})}catch(t){return this.next(void 0,t)}next(t,n){return this.callbackAttached&&Be(),this.callbackAttached=!0,this.isDone?this.error?this.wrapFailure(n,this.error):this.wrapSuccess(t,this.result):new me((r,i)=>{this.nextCallback=s=>{this.wrapSuccess(t,s).next(r,i)},this.catchCallback=s=>{this.wrapFailure(n,s).next(r,i)}})}toPromise(){return new Promise((t,n)=>{this.next(t,n)})}wrapUserFunction(t){try{const n=t();return n instanceof me?n:me.resolve(n)}catch(n){return me.reject(n)}}wrapSuccess(t,n){return t?this.wrapUserFunction(()=>t(n)):me.resolve(n)}wrapFailure(t,n){return t?this.wrapUserFunction(()=>t(n)):me.reject(n)}static resolve(t){return new me((n,r)=>{n(t)})}static reject(t){return new me((n,r)=>{r(t)})}static waitFor(t){return new me((n,r)=>{let i=0,s=0,a=!1;t.forEach(o=>{++i,o.next(()=>{++s,a&&s===i&&n()},l=>r(l))}),a=!0,s===i&&n()})}static or(t){let n=me.resolve(!1);for(const r of t)n=n.next(i=>i?me.resolve(i):r());return n}static forEach(t,n){const r=[];return t.forEach((i,s)=>{r.push(n.call(this,i,s))}),this.waitFor(r)}static mapArray(t,n){return new me((r,i)=>{const s=t.length,a=new Array(s);let o=0;for(let l=0;l{a[u]=c,++o,o===s&&r(a)},c=>i(c))}})}static doWhile(t,n){return new me((r,i)=>{const s=()=>{t()===!0?n().next(()=>{s()},i):r()};s()})}}function Zu(e){return e.name==="IndexedDbTransactionError"}/** + * @license + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class vb{constructor(t,n){this.previousValue=t,n&&(n.sequenceNumberHandler=r=>this.oe(r),this._e=r=>n.writeSequenceNumber(r))}oe(t){return this.previousValue=Math.max(t,this.previousValue),this.previousValue}next(){const t=++this.previousValue;return this._e&&this._e(t),t}}vb.ae=-1;function Vh(e){return e==null}function vf(e){return e===0&&1/e==-1/0}function hW(e){return typeof e=="number"&&Number.isInteger(e)&&!vf(e)&&e<=Number.MAX_SAFE_INTEGER&&e>=Number.MIN_SAFE_INTEGER}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function gw(e){let t=0;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}function Lo(e,t){for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t(n,e[n])}function xI(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class $t{constructor(t,n){this.comparator=t,this.root=n||yn.EMPTY}insert(t,n){return new $t(this.comparator,this.root.insert(t,n,this.comparator).copy(null,null,yn.BLACK,null,null))}remove(t){return new $t(this.comparator,this.root.remove(t,this.comparator).copy(null,null,yn.BLACK,null,null))}get(t){let n=this.root;for(;!n.isEmpty();){const r=this.comparator(t,n.key);if(r===0)return n.value;r<0?n=n.left:r>0&&(n=n.right)}return null}indexOf(t){let n=0,r=this.root;for(;!r.isEmpty();){const i=this.comparator(t,r.key);if(i===0)return n+r.left.size;i<0?r=r.left:(n+=r.left.size+1,r=r.right)}return-1}isEmpty(){return this.root.isEmpty()}get size(){return this.root.size}minKey(){return this.root.minKey()}maxKey(){return this.root.maxKey()}inorderTraversal(t){return this.root.inorderTraversal(t)}forEach(t){this.inorderTraversal((n,r)=>(t(n,r),!1))}toString(){const t=[];return this.inorderTraversal((n,r)=>(t.push(`${n}:${r}`),!1)),`{${t.join(", ")}}`}reverseTraversal(t){return this.root.reverseTraversal(t)}getIterator(){return new Fc(this.root,null,this.comparator,!1)}getIteratorFrom(t){return new Fc(this.root,t,this.comparator,!1)}getReverseIterator(){return new Fc(this.root,null,this.comparator,!0)}getReverseIteratorFrom(t){return new Fc(this.root,t,this.comparator,!0)}}class Fc{constructor(t,n,r,i){this.isReverse=i,this.nodeStack=[];let s=1;for(;!t.isEmpty();)if(s=n?r(t.key,n):1,n&&i&&(s*=-1),s<0)t=this.isReverse?t.left:t.right;else{if(s===0){this.nodeStack.push(t);break}this.nodeStack.push(t),t=this.isReverse?t.right:t.left}}getNext(){let t=this.nodeStack.pop();const n={key:t.key,value:t.value};if(this.isReverse)for(t=t.left;!t.isEmpty();)this.nodeStack.push(t),t=t.right;else for(t=t.right;!t.isEmpty();)this.nodeStack.push(t),t=t.left;return n}hasNext(){return this.nodeStack.length>0}peek(){if(this.nodeStack.length===0)return null;const t=this.nodeStack[this.nodeStack.length-1];return{key:t.key,value:t.value}}}class yn{constructor(t,n,r,i,s){this.key=t,this.value=n,this.color=r!=null?r:yn.RED,this.left=i!=null?i:yn.EMPTY,this.right=s!=null?s:yn.EMPTY,this.size=this.left.size+1+this.right.size}copy(t,n,r,i,s){return new yn(t!=null?t:this.key,n!=null?n:this.value,r!=null?r:this.color,i!=null?i:this.left,s!=null?s:this.right)}isEmpty(){return!1}inorderTraversal(t){return this.left.inorderTraversal(t)||t(this.key,this.value)||this.right.inorderTraversal(t)}reverseTraversal(t){return this.right.reverseTraversal(t)||t(this.key,this.value)||this.left.reverseTraversal(t)}min(){return this.left.isEmpty()?this:this.left.min()}minKey(){return this.min().key}maxKey(){return this.right.isEmpty()?this.key:this.right.maxKey()}insert(t,n,r){let i=this;const s=r(t,i.key);return i=s<0?i.copy(null,null,null,i.left.insert(t,n,r),null):s===0?i.copy(null,n,null,null,null):i.copy(null,null,null,null,i.right.insert(t,n,r)),i.fixUp()}removeMin(){if(this.left.isEmpty())return yn.EMPTY;let t=this;return t.left.isRed()||t.left.left.isRed()||(t=t.moveRedLeft()),t=t.copy(null,null,null,t.left.removeMin(),null),t.fixUp()}remove(t,n){let r,i=this;if(n(t,i.key)<0)i.left.isEmpty()||i.left.isRed()||i.left.left.isRed()||(i=i.moveRedLeft()),i=i.copy(null,null,null,i.left.remove(t,n),null);else{if(i.left.isRed()&&(i=i.rotateRight()),i.right.isEmpty()||i.right.isRed()||i.right.left.isRed()||(i=i.moveRedRight()),n(t,i.key)===0){if(i.right.isEmpty())return yn.EMPTY;r=i.right.min(),i=i.copy(r.key,r.value,null,null,i.right.removeMin())}i=i.copy(null,null,null,null,i.right.remove(t,n))}return i.fixUp()}isRed(){return this.color}fixUp(){let t=this;return t.right.isRed()&&!t.left.isRed()&&(t=t.rotateLeft()),t.left.isRed()&&t.left.left.isRed()&&(t=t.rotateRight()),t.left.isRed()&&t.right.isRed()&&(t=t.colorFlip()),t}moveRedLeft(){let t=this.colorFlip();return t.right.left.isRed()&&(t=t.copy(null,null,null,null,t.right.rotateRight()),t=t.rotateLeft(),t=t.colorFlip()),t}moveRedRight(){let t=this.colorFlip();return t.left.left.isRed()&&(t=t.rotateRight(),t=t.colorFlip()),t}rotateLeft(){const t=this.copy(null,null,yn.RED,null,this.right.left);return this.right.copy(null,null,this.color,t,null)}rotateRight(){const t=this.copy(null,null,yn.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,t)}colorFlip(){const t=this.left.copy(null,null,!this.left.color,null,null),n=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,t,n)}checkMaxDepth(){const t=this.check();return Math.pow(2,t)<=this.size+1}check(){if(this.isRed()&&this.left.isRed()||this.right.isRed())throw Be();const t=this.left.check();if(t!==this.right.check())throw Be();return t+(this.isRed()?0:1)}}yn.EMPTY=null,yn.RED=!0,yn.BLACK=!1;yn.EMPTY=new class{constructor(){this.size=0}get key(){throw Be()}get value(){throw Be()}get color(){throw Be()}get left(){throw Be()}get right(){throw Be()}copy(t,n,r,i,s){return this}insert(t,n,r){return new yn(t,n)}remove(t,n){return this}isEmpty(){return!0}inorderTraversal(t){return!1}reverseTraversal(t){return!1}minKey(){return null}maxKey(){return null}isRed(){return!1}checkMaxDepth(){return!0}check(){return 0}};/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class $n{constructor(t){this.comparator=t,this.data=new $t(this.comparator)}has(t){return this.data.get(t)!==null}first(){return this.data.minKey()}last(){return this.data.maxKey()}get size(){return this.data.size}indexOf(t){return this.data.indexOf(t)}forEach(t){this.data.inorderTraversal((n,r)=>(t(n),!1))}forEachInRange(t,n){const r=this.data.getIteratorFrom(t[0]);for(;r.hasNext();){const i=r.getNext();if(this.comparator(i.key,t[1])>=0)return;n(i.key)}}forEachWhile(t,n){let r;for(r=n!==void 0?this.data.getIteratorFrom(n):this.data.getIterator();r.hasNext();)if(!t(r.getNext().key))return}firstAfterOrEqual(t){const n=this.data.getIteratorFrom(t);return n.hasNext()?n.getNext().key:null}getIterator(){return new pw(this.data.getIterator())}getIteratorFrom(t){return new pw(this.data.getIteratorFrom(t))}add(t){return this.copy(this.data.remove(t).insert(t,!0))}delete(t){return this.has(t)?this.copy(this.data.remove(t)):this}isEmpty(){return this.data.isEmpty()}unionWith(t){let n=this;return n.size{n=n.add(r)}),n}isEqual(t){if(!(t instanceof $n)||this.size!==t.size)return!1;const n=this.data.getIterator(),r=t.data.getIterator();for(;n.hasNext();){const i=n.getNext().key,s=r.getNext().key;if(this.comparator(i,s)!==0)return!1}return!0}toArray(){const t=[];return this.forEach(n=>{t.push(n)}),t}toString(){const t=[];return this.forEach(n=>t.push(n)),"SortedSet("+t.toString()+")"}copy(t){const n=new $n(this.comparator);return n.data=t,n}}class pw{constructor(t){this.iter=t}getNext(){return this.iter.getNext().key}hasNext(){return this.iter.hasNext()}}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Ur{constructor(t){this.fields=t,t.sort(kn.comparator)}static empty(){return new Ur([])}unionWith(t){let n=new $n(kn.comparator);for(const r of this.fields)n=n.add(r);for(const r of t)n=n.add(r);return new Ur(n.toArray())}covers(t){for(const n of this.fields)if(n.isPrefixOf(t))return!0;return!1}isEqual(t){return _o(this.fields,t.fields,(n,r)=>n.isEqual(r))}}/** + * @license + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class SI extends Error{constructor(){super(...arguments),this.name="Base64DecodeError"}}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Fn{constructor(t){this.binaryString=t}static fromBase64String(t){const n=function(i){try{return atob(i)}catch(s){throw typeof DOMException<"u"&&s instanceof DOMException?new SI("Invalid base64 string: "+s):s}}(t);return new Fn(n)}static fromUint8Array(t){const n=function(i){let s="";for(let a=0;atci(n,t))!==void 0}function wo(e,t){if(e===t)return 0;const n=ma(e),r=ma(t);if(n!==r)return dt(n,r);switch(n){case 0:case 9007199254740991:return 0;case 1:return dt(e.booleanValue,t.booleanValue);case 2:return function(s,a){const o=Kt(s.integerValue||s.doubleValue),l=Kt(a.integerValue||a.doubleValue);return ol?1:o===l?0:isNaN(o)?isNaN(l)?0:-1:1}(e,t);case 3:return yw(e.timestampValue,t.timestampValue);case 4:return yw(gu(e),gu(t));case 5:return dt(e.stringValue,t.stringValue);case 6:return function(s,a){const o=ha(s),l=ha(a);return o.compareTo(l)}(e.bytesValue,t.bytesValue);case 7:return function(s,a){const o=s.split("/"),l=a.split("/");for(let u=0;ut.mapValue.fields[n]=Rl(r)),t}if(e.arrayValue){const t={arrayValue:{values:[]}};for(let n=0;n<(e.arrayValue.values||[]).length;++n)t.arrayValue.values[n]=Rl(e.arrayValue.values[n]);return t}return Object.assign({},e)}function gW(e){return(((e.mapValue||{}).fields||{}).__type__||{}).stringValue==="__max__"}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class pr{constructor(t){this.value=t}static empty(){return new pr({mapValue:{}})}field(t){if(t.isEmpty())return this.value;{let n=this.value;for(let r=0;r{if(!n.isImmediateParentOf(o)){const l=this.getFieldsMap(n);this.applyChanges(l,r,i),r={},i=[],n=o.popLast()}a?r[o.lastSegment()]=Rl(a):i.push(o.lastSegment())});const s=this.getFieldsMap(n);this.applyChanges(s,r,i)}delete(t){const n=this.field(t.popLast());gd(n)&&n.mapValue.fields&&delete n.mapValue.fields[t.lastSegment()]}isEqual(t){return ci(this.value,t.value)}getFieldsMap(t){let n=this.value;n.mapValue.fields||(n.mapValue={fields:{}});for(let r=0;rt[i]=s);for(const i of r)delete t[i]}clone(){return new pr(Rl(this.value))}}function CI(e){const t=[];return Lo(e.fields,(n,r)=>{const i=new kn([n]);if(gd(r)){const s=CI(r.mapValue).fields;if(s.length===0)t.push(i);else for(const a of s)t.push(i.child(a))}else t.push(i)}),new Ur(t)}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class In{constructor(t,n,r,i,s,a,o){this.key=t,this.documentType=n,this.version=r,this.readTime=i,this.createTime=s,this.data=a,this.documentState=o}static newInvalidDocument(t){return new In(t,0,We.min(),We.min(),We.min(),pr.empty(),0)}static newFoundDocument(t,n,r,i){return new In(t,1,n,We.min(),r,i,0)}static newNoDocument(t,n){return new In(t,2,n,We.min(),We.min(),pr.empty(),0)}static newUnknownDocument(t,n){return new In(t,3,n,We.min(),We.min(),pr.empty(),2)}convertToFoundDocument(t,n){return!this.createTime.isEqual(We.min())||this.documentType!==2&&this.documentType!==0||(this.createTime=t),this.version=t,this.documentType=1,this.data=n,this.documentState=0,this}convertToNoDocument(t){return this.version=t,this.documentType=2,this.data=pr.empty(),this.documentState=0,this}convertToUnknownDocument(t){return this.version=t,this.documentType=3,this.data=pr.empty(),this.documentState=2,this}setHasCommittedMutations(){return this.documentState=2,this}setHasLocalMutations(){return this.documentState=1,this.version=We.min(),this}setReadTime(t){return this.readTime=t,this}get hasLocalMutations(){return this.documentState===1}get hasCommittedMutations(){return this.documentState===2}get hasPendingWrites(){return this.hasLocalMutations||this.hasCommittedMutations}isValidDocument(){return this.documentType!==0}isFoundDocument(){return this.documentType===1}isNoDocument(){return this.documentType===2}isUnknownDocument(){return this.documentType===3}isEqual(t){return t instanceof In&&this.key.isEqual(t.key)&&this.version.isEqual(t.version)&&this.documentType===t.documentType&&this.documentState===t.documentState&&this.data.isEqual(t.data)}mutableCopy(){return new In(this.key,this.documentType,this.version,this.readTime,this.createTime,this.data.clone(),this.documentState)}toString(){return`Document(${this.key}, ${this.version}, ${JSON.stringify(this.data.value)}, {createTime: ${this.createTime}}), {documentType: ${this.documentType}}), {documentState: ${this.documentState}})`}}/** + * @license + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class gf{constructor(t,n){this.position=t,this.inclusive=n}}function ww(e,t,n){let r=0;for(let i=0;i":return t>0;case">=":return t>=0;default:return Be()}}isInequality(){return["<","<=",">",">=","!=","not-in"].indexOf(this.op)>=0}getFlattenedFilters(){return[this]}getFilters(){return[this]}getFirstInequalityField(){return this.isInequality()?this.field:null}}class di extends TI{constructor(t,n){super(),this.filters=t,this.op=n,this.ce=null}static create(t,n){return new di(t,n)}matches(t){return EI(this)?this.filters.find(n=>!n.matches(t))===void 0:this.filters.find(n=>n.matches(t))!==void 0}getFlattenedFilters(){return this.ce!==null||(this.ce=this.filters.reduce((t,n)=>t.concat(n.getFlattenedFilters()),[])),this.ce}getFilters(){return Object.assign([],this.filters)}getFirstInequalityField(){const t=this.le(n=>n.isInequality());return t!==null?t.field:null}le(t){for(const n of this.getFlattenedFilters())if(t(n))return n;return null}}function EI(e){return e.op==="and"}function II(e){return yW(e)&&EI(e)}function yW(e){for(const t of e.filters)if(t instanceof di)return!1;return!0}function Og(e){if(e instanceof tn)return e.field.canonicalString()+e.op.toString()+xo(e.value);if(II(e))return e.filters.map(t=>Og(t)).join(",");{const t=e.filters.map(n=>Og(n)).join(",");return`${e.op}(${t})`}}function kI(e,t){return e instanceof tn?function(r,i){return i instanceof tn&&r.op===i.op&&r.field.isEqual(i.field)&&ci(r.value,i.value)}(e,t):e instanceof di?function(r,i){return i instanceof di&&r.op===i.op&&r.filters.length===i.filters.length?r.filters.reduce((s,a,o)=>s&&kI(a,i.filters[o]),!0):!1}(e,t):void Be()}function AI(e){return e instanceof tn?function(n){return`${n.field.canonicalString()} ${n.op} ${xo(n.value)}`}(e):e instanceof di?function(n){return n.op.toString()+" {"+n.getFilters().map(AI).join(" ,")+"}"}(e):"Filter"}class bW extends tn{constructor(t,n,r){super(t,n,r),this.key=$e.fromName(r.referenceValue)}matches(t){const n=$e.comparator(t.key,this.key);return this.matchesComparison(n)}}class _W extends tn{constructor(t,n){super(t,"in",n),this.keys=PI("in",n)}matches(t){return this.keys.some(n=>n.isEqual(t.key))}}class wW extends tn{constructor(t,n){super(t,"not-in",n),this.keys=PI("not-in",n)}matches(t){return!this.keys.some(n=>n.isEqual(t.key))}}function PI(e,t){var n;return(((n=t.arrayValue)===null||n===void 0?void 0:n.values)||[]).map(r=>$e.fromName(r.referenceValue))}class xW extends tn{constructor(t,n){super(t,"array-contains",n)}matches(t){const n=t.data.field(this.field);return yb(n)&&yu(n.arrayValue,this.value)}}class SW extends tn{constructor(t,n){super(t,"in",n)}matches(t){const n=t.data.field(this.field);return n!==null&&yu(this.value.arrayValue,n)}}class CW extends tn{constructor(t,n){super(t,"not-in",n)}matches(t){if(yu(this.value.arrayValue,{nullValue:"NULL_VALUE"}))return!1;const n=t.data.field(this.field);return n!==null&&!yu(this.value.arrayValue,n)}}class TW extends tn{constructor(t,n){super(t,"array-contains-any",n)}matches(t){const n=t.data.field(this.field);return!(!yb(n)||!n.arrayValue.values)&&n.arrayValue.values.some(r=>yu(this.value.arrayValue,r))}}/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class EW{constructor(t,n=null,r=[],i=[],s=null,a=null,o=null){this.path=t,this.collectionGroup=n,this.orderBy=r,this.filters=i,this.limit=s,this.startAt=a,this.endAt=o,this.he=null}}function Sw(e,t=null,n=[],r=[],i=null,s=null,a=null){return new EW(e,t,n,r,i,s,a)}function bb(e){const t=Qe(e);if(t.he===null){let n=t.path.canonicalString();t.collectionGroup!==null&&(n+="|cg:"+t.collectionGroup),n+="|f:",n+=t.filters.map(r=>Og(r)).join(","),n+="|ob:",n+=t.orderBy.map(r=>function(s){return s.field.canonicalString()+s.dir}(r)).join(","),Vh(t.limit)||(n+="|l:",n+=t.limit),t.startAt&&(n+="|lb:",n+=t.startAt.inclusive?"b:":"a:",n+=t.startAt.position.map(r=>xo(r)).join(",")),t.endAt&&(n+="|ub:",n+=t.endAt.inclusive?"a:":"b:",n+=t.endAt.position.map(r=>xo(r)).join(",")),t.he=n}return t.he}function _b(e,t){if(e.limit!==t.limit||e.orderBy.length!==t.orderBy.length)return!1;for(let n=0;n0?e.explicitOrderBy[0].field:null}function AW(e){for(const t of e.filters){const n=t.getFirstInequalityField();if(n!==null)return n}return null}function PW(e){return e.collectionGroup!==null}function Dl(e){const t=Qe(e);if(t.Pe===null){t.Pe=[];const n=AW(t),r=kW(t);if(n!==null&&r===null)n.isKeyField()||t.Pe.push(new Ml(n)),t.Pe.push(new Ml(kn.keyField(),"asc"));else{let i=!1;for(const s of t.explicitOrderBy)t.Pe.push(s),s.field.isKeyField()&&(i=!0);if(!i){const s=t.explicitOrderBy.length>0?t.explicitOrderBy[t.explicitOrderBy.length-1].dir:"asc";t.Pe.push(new Ml(kn.keyField(),s))}}}return t.Pe}function Pi(e){const t=Qe(e);return t.Ie||(t.Ie=VW(t,Dl(e))),t.Ie}function VW(e,t){if(e.limitType==="F")return Sw(e.path,e.collectionGroup,t,e.filters,e.limit,e.startAt,e.endAt);{t=t.map(i=>{const s=i.dir==="desc"?"asc":"desc";return new Ml(i.field,s)});const n=e.endAt?new gf(e.endAt.position,e.endAt.inclusive):null,r=e.startAt?new gf(e.startAt.position,e.startAt.inclusive):null;return Sw(e.path,e.collectionGroup,t,e.filters,e.limit,n,r)}}function Mg(e,t,n){return new Oh(e.path,e.collectionGroup,e.explicitOrderBy.slice(),e.filters.slice(),t,n,e.startAt,e.endAt)}function Rh(e,t){return _b(Pi(e),Pi(t))&&e.limitType===t.limitType}function OI(e){return`${bb(Pi(e))}|lt:${e.limitType}`}function Dg(e){return`Query(target=${function(n){let r=n.path.canonicalString();return n.collectionGroup!==null&&(r+=" collectionGroup="+n.collectionGroup),n.filters.length>0&&(r+=`, filters: [${n.filters.map(i=>AI(i)).join(", ")}]`),Vh(n.limit)||(r+=", limit: "+n.limit),n.orderBy.length>0&&(r+=`, orderBy: [${n.orderBy.map(i=>function(a){return`${a.field.canonicalString()} (${a.dir})`}(i)).join(", ")}]`),n.startAt&&(r+=", startAt: ",r+=n.startAt.inclusive?"b:":"a:",r+=n.startAt.position.map(i=>xo(i)).join(",")),n.endAt&&(r+=", endAt: ",r+=n.endAt.inclusive?"a:":"b:",r+=n.endAt.position.map(i=>xo(i)).join(",")),`Target(${r})`}(Pi(e))}; limitType=${e.limitType})`}function Mh(e,t){return t.isFoundDocument()&&function(r,i){const s=i.key.path;return r.collectionGroup!==null?i.key.hasCollectionId(r.collectionGroup)&&r.path.isPrefixOf(s):$e.isDocumentKey(r.path)?r.path.isEqual(s):r.path.isImmediateParentOf(s)}(e,t)&&function(r,i){for(const s of Dl(r))if(!s.field.isKeyField()&&i.data.field(s.field)===null)return!1;return!0}(e,t)&&function(r,i){for(const s of r.filters)if(!s.matches(i))return!1;return!0}(e,t)&&function(r,i){return!(r.startAt&&!function(a,o,l){const u=ww(a,o,l);return a.inclusive?u<=0:u<0}(r.startAt,Dl(r),i)||r.endAt&&!function(a,o,l){const u=ww(a,o,l);return a.inclusive?u>=0:u>0}(r.endAt,Dl(r),i))}(e,t)}function OW(e){return e.collectionGroup||(e.path.length%2==1?e.path.lastSegment():e.path.get(e.path.length-2))}function RI(e){return(t,n)=>{let r=!1;for(const i of Dl(e)){const s=RW(i,t,n);if(s!==0)return s;r=r||i.field.isKeyField()}return 0}}function RW(e,t,n){const r=e.field.isKeyField()?$e.comparator(t.key,n.key):function(s,a,o){const l=a.data.field(s),u=o.data.field(s);return l!==null&&u!==null?wo(l,u):Be()}(e.field,t,n);switch(e.dir){case"asc":return r;case"desc":return-1*r;default:return Be()}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Bo{constructor(t,n){this.mapKeyFn=t,this.equalsFn=n,this.inner={},this.innerSize=0}get(t){const n=this.mapKeyFn(t),r=this.inner[n];if(r!==void 0){for(const[i,s]of r)if(this.equalsFn(i,t))return s}}has(t){return this.get(t)!==void 0}set(t,n){const r=this.mapKeyFn(t),i=this.inner[r];if(i===void 0)return this.inner[r]=[[t,n]],void this.innerSize++;for(let s=0;s{for(const[i,s]of r)t(i,s)})}isEmpty(){return xI(this.inner)}size(){return this.innerSize}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const MW=new $t($e.comparator);function Vi(){return MW}const MI=new $t($e.comparator);function pl(...e){let t=MI;for(const n of e)t=t.insert(n.key,n);return t}function DI(e){let t=MI;return e.forEach((n,r)=>t=t.insert(n,r.overlayedDocument)),t}function Zs(){return $l()}function $I(){return $l()}function $l(){return new Bo(e=>e.toString(),(e,t)=>e.isEqual(t))}const DW=new $t($e.comparator),$W=new $n($e.comparator);function nt(...e){let t=$W;for(const n of e)t=t.add(n);return t}const FW=new $n(dt);function NW(){return FW}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function FI(e,t){if(e.useProto3Json){if(isNaN(t))return{doubleValue:"NaN"};if(t===1/0)return{doubleValue:"Infinity"};if(t===-1/0)return{doubleValue:"-Infinity"}}return{doubleValue:vf(t)?"-0":t}}function NI(e){return{integerValue:""+e}}function LW(e,t){return hW(t)?NI(t):FI(e,t)}/** + * @license + * Copyright 2018 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Dh{constructor(){this._=void 0}}function BW(e,t,n){return e instanceof pf?function(i,s){const a={fields:{__type__:{stringValue:"server_timestamp"},__local_write_time__:{timestampValue:{seconds:i.seconds,nanos:i.nanoseconds}}}};return s&&gb(s)&&(s=pb(s)),s&&(a.fields.__previous_value__=s),{mapValue:a}}(n,t):e instanceof bu?BI(e,t):e instanceof _u?jI(e,t):function(i,s){const a=LI(i,s),o=Tw(a)+Tw(i.Ee);return Vg(a)&&Vg(i.Ee)?NI(o):FI(i.serializer,o)}(e,t)}function jW(e,t,n){return e instanceof bu?BI(e,t):e instanceof _u?jI(e,t):n}function LI(e,t){return e instanceof yf?function(r){return Vg(r)||function(s){return!!s&&"doubleValue"in s}(r)}(t)?t:{integerValue:0}:null}class pf extends Dh{}class bu extends Dh{constructor(t){super(),this.elements=t}}function BI(e,t){const n=zI(t);for(const r of e.elements)n.some(i=>ci(i,r))||n.push(r);return{arrayValue:{values:n}}}class _u extends Dh{constructor(t){super(),this.elements=t}}function jI(e,t){let n=zI(t);for(const r of e.elements)n=n.filter(i=>!ci(i,r));return{arrayValue:{values:n}}}class yf extends Dh{constructor(t,n){super(),this.serializer=t,this.Ee=n}}function Tw(e){return Kt(e.integerValue||e.doubleValue)}function zI(e){return yb(e)&&e.arrayValue.values?e.arrayValue.values.slice():[]}function zW(e,t){return e.field.isEqual(t.field)&&function(r,i){return r instanceof bu&&i instanceof bu||r instanceof _u&&i instanceof _u?_o(r.elements,i.elements,ci):r instanceof yf&&i instanceof yf?ci(r.Ee,i.Ee):r instanceof pf&&i instanceof pf}(e.transform,t.transform)}class UW{constructor(t,n){this.version=t,this.transformResults=n}}class wi{constructor(t,n){this.updateTime=t,this.exists=n}static none(){return new wi}static exists(t){return new wi(void 0,t)}static updateTime(t){return new wi(t)}get isNone(){return this.updateTime===void 0&&this.exists===void 0}isEqual(t){return this.exists===t.exists&&(this.updateTime?!!t.updateTime&&this.updateTime.isEqual(t.updateTime):!t.updateTime)}}function pd(e,t){return e.updateTime!==void 0?t.isFoundDocument()&&t.version.isEqual(e.updateTime):e.exists===void 0||e.exists===t.isFoundDocument()}class $h{}function UI(e,t){if(!e.hasLocalMutations||t&&t.fields.length===0)return null;if(t===null)return e.isNoDocument()?new qI(e.key,wi.none()):new ec(e.key,e.data,wi.none());{const n=e.data,r=pr.empty();let i=new $n(kn.comparator);for(let s of t.fields)if(!i.has(s)){let a=n.field(s);a===null&&s.length>1&&(s=s.popLast(),a=n.field(s)),a===null?r.delete(s):r.set(s,a),i=i.add(s)}return new Ta(e.key,r,new Ur(i.toArray()),wi.none())}}function HW(e,t,n){e instanceof ec?function(i,s,a){const o=i.value.clone(),l=Iw(i.fieldTransforms,s,a.transformResults);o.setAll(l),s.convertToFoundDocument(a.version,o).setHasCommittedMutations()}(e,t,n):e instanceof Ta?function(i,s,a){if(!pd(i.precondition,s))return void s.convertToUnknownDocument(a.version);const o=Iw(i.fieldTransforms,s,a.transformResults),l=s.data;l.setAll(HI(i)),l.setAll(o),s.convertToFoundDocument(a.version,l).setHasCommittedMutations()}(e,t,n):function(i,s,a){s.convertToNoDocument(a.version).setHasCommittedMutations()}(0,t,n)}function Fl(e,t,n,r){return e instanceof ec?function(s,a,o,l){if(!pd(s.precondition,a))return o;const u=s.value.clone(),c=kw(s.fieldTransforms,l,a);return u.setAll(c),a.convertToFoundDocument(a.version,u).setHasLocalMutations(),null}(e,t,n,r):e instanceof Ta?function(s,a,o,l){if(!pd(s.precondition,a))return o;const u=kw(s.fieldTransforms,l,a),c=a.data;return c.setAll(HI(s)),c.setAll(u),a.convertToFoundDocument(a.version,c).setHasLocalMutations(),o===null?null:o.unionWith(s.fieldMask.fields).unionWith(s.fieldTransforms.map(d=>d.field))}(e,t,n,r):function(s,a,o){return pd(s.precondition,a)?(a.convertToNoDocument(a.version).setHasLocalMutations(),null):o}(e,t,n)}function qW(e,t){let n=null;for(const r of e.fieldTransforms){const i=t.data.field(r.field),s=LI(r.transform,i||null);s!=null&&(n===null&&(n=pr.empty()),n.set(r.field,s))}return n||null}function Ew(e,t){return e.type===t.type&&!!e.key.isEqual(t.key)&&!!e.precondition.isEqual(t.precondition)&&!!function(r,i){return r===void 0&&i===void 0||!(!r||!i)&&_o(r,i,(s,a)=>zW(s,a))}(e.fieldTransforms,t.fieldTransforms)&&(e.type===0?e.value.isEqual(t.value):e.type!==1||e.data.isEqual(t.data)&&e.fieldMask.isEqual(t.fieldMask))}class ec extends $h{constructor(t,n,r,i=[]){super(),this.key=t,this.value=n,this.precondition=r,this.fieldTransforms=i,this.type=0}getFieldMask(){return null}}class Ta extends $h{constructor(t,n,r,i,s=[]){super(),this.key=t,this.data=n,this.fieldMask=r,this.precondition=i,this.fieldTransforms=s,this.type=1}getFieldMask(){return this.fieldMask}}function HI(e){const t=new Map;return e.fieldMask.fields.forEach(n=>{if(!n.isEmpty()){const r=e.data.field(n);t.set(n,r)}}),t}function Iw(e,t,n){const r=new Map;At(e.length===n.length);for(let i=0;i{const s=t.get(i.key),a=s.overlayedDocument;let o=this.applyToLocalView(a,s.mutatedFields);o=n.has(i.key)?null:o;const l=UI(a,o);l!==null&&r.set(i.key,l),a.isValidDocument()||a.convertToNoDocument(We.min())}),r}keys(){return this.mutations.reduce((t,n)=>t.add(n.key),nt())}isEqual(t){return this.batchId===t.batchId&&_o(this.mutations,t.mutations,(n,r)=>Ew(n,r))&&_o(this.baseMutations,t.baseMutations,(n,r)=>Ew(n,r))}}class wb{constructor(t,n,r,i){this.batch=t,this.commitVersion=n,this.mutationResults=r,this.docVersions=i}static from(t,n,r){At(t.mutations.length===r.length);let i=function(){return DW}();const s=t.mutations;for(let a=0;a=8)throw new yl(`Invalid padding: ${n}`);if(r<0)throw new yl(`Invalid hash count: ${r}`);if(t.length>0&&this.hashCount===0)throw new yl(`Invalid hash count: ${r}`);if(t.length===0&&n!==0)throw new yl(`Invalid padding when bitmap length is 0: ${n}`);this.Ae=8*t.length-n,this.Re=ho.fromNumber(this.Ae)}Ve(t,n,r){let i=t.add(n.multiply(ho.fromNumber(r)));return i.compare(JW)===1&&(i=new ho([i.getBits(0),i.getBits(1)],0)),i.modulo(this.Re).toNumber()}me(t){return(this.bitmap[Math.floor(t/8)]&1<a.insert(o)),a}insert(t){if(this.Ae===0)return;const n=Aw(t),[r,i]=Pw(n);for(let s=0;s0&&(this.ve=!0,this.be=t)}xe(){let t=nt(),n=nt(),r=nt();return this.Se.forEach((i,s)=>{switch(s){case 0:t=t.add(i);break;case 2:n=n.add(i);break;case 1:r=r.add(i);break;default:Be()}}),new tc(this.be,this.De,t,n,r)}Oe(){this.ve=!1,this.Se=Rw()}Ne(t,n){this.ve=!0,this.Se=this.Se.insert(t,n)}Be(t){this.ve=!0,this.Se=this.Se.remove(t)}Le(){this.we+=1}ke(){this.we-=1}qe(){this.ve=!0,this.De=!0}}class ZW{constructor(t){this.Qe=t,this.Ke=new Map,this.$e=Vi(),this.Ue=Ow(),this.We=new $t(dt)}Ge(t){for(const n of t.ge)t.pe&&t.pe.isFoundDocument()?this.ze(n,t.pe):this.je(n,t.key,t.pe);for(const n of t.removedTargetIds)this.je(n,t.key,t.pe)}He(t){this.forEachTarget(t,n=>{const r=this.Je(n);switch(t.state){case 0:this.Ye(n)&&r.Me(t.resumeToken);break;case 1:r.ke(),r.Ce||r.Oe(),r.Me(t.resumeToken);break;case 2:r.ke(),r.Ce||this.removeTarget(n);break;case 3:this.Ye(n)&&(r.qe(),r.Me(t.resumeToken));break;case 4:this.Ye(n)&&(this.Ze(n),r.Me(t.resumeToken));break;default:Be()}})}forEachTarget(t,n){t.targetIds.length>0?t.targetIds.forEach(n):this.Ke.forEach((r,i)=>{this.Ye(i)&&n(i)})}Xe(t){const n=t.targetId,r=t.ye.count,i=this.et(n);if(i){const s=i.target;if(Rg(s))if(r===0){const a=new $e(s.path);this.je(n,a,In.newNoDocument(a,We.min()))}else At(r===1);else{const a=this.tt(n);if(a!==r){const o=this.nt(t),l=o?this.rt(o,t,a):1;if(l!==0){this.Ze(n);const u=l===2?"TargetPurposeExistenceFilterMismatchBloom":"TargetPurposeExistenceFilterMismatch";this.We=this.We.insert(n,u)}}}}}nt(t){const n=t.ye.unchangedNames;if(!n||!n.bits)return null;const{bits:{bitmap:r="",padding:i=0},hashCount:s=0}=n;let a,o;try{a=ha(r).toUint8Array()}catch(l){if(l instanceof SI)return bo("Decoding the base64 bloom filter in existence filter failed ("+l.message+"); ignoring the bloom filter and falling back to full re-query."),null;throw l}try{o=new xb(a,i,s)}catch(l){return bo(l instanceof yl?"BloomFilter error: ":"Applying bloom filter failed: ",l),null}return o.Ae===0?null:o}rt(t,n,r){return n.ye.count===r-this.ot(t,n.targetId)?0:2}ot(t,n){const r=this.Qe.getRemoteKeysForTarget(n);let i=0;return r.forEach(s=>{const a=this.Qe.st(),o=`projects/${a.projectId}/databases/${a.database}/documents/${s.path.canonicalString()}`;t.mightContain(o)||(this.je(n,s,null),i++)}),i}_t(t){const n=new Map;this.Ke.forEach((s,a)=>{const o=this.et(a);if(o){if(s.current&&Rg(o.target)){const l=new $e(o.target.path);this.$e.get(l)!==null||this.ut(a,l)||this.je(a,l,In.newNoDocument(l,t))}s.Fe&&(n.set(a,s.xe()),s.Oe())}});let r=nt();this.Ue.forEach((s,a)=>{let o=!0;a.forEachWhile(l=>{const u=this.et(l);return!u||u.purpose==="TargetPurposeLimboResolution"||(o=!1,!1)}),o&&(r=r.add(s))}),this.$e.forEach((s,a)=>a.setReadTime(t));const i=new Fh(t,n,this.We,this.$e,r);return this.$e=Vi(),this.Ue=Ow(),this.We=new $t(dt),i}ze(t,n){if(!this.Ye(t))return;const r=this.ut(t,n.key)?2:0;this.Je(t).Ne(n.key,r),this.$e=this.$e.insert(n.key,n),this.Ue=this.Ue.insert(n.key,this.ct(n.key).add(t))}je(t,n,r){if(!this.Ye(t))return;const i=this.Je(t);this.ut(t,n)?i.Ne(n,1):i.Be(n),this.Ue=this.Ue.insert(n,this.ct(n).delete(t)),r&&(this.$e=this.$e.insert(n,r))}removeTarget(t){this.Ke.delete(t)}tt(t){const n=this.Je(t).xe();return this.Qe.getRemoteKeysForTarget(t).size+n.addedDocuments.size-n.removedDocuments.size}Le(t){this.Je(t).Le()}Je(t){let n=this.Ke.get(t);return n||(n=new Vw,this.Ke.set(t,n)),n}ct(t){let n=this.Ue.get(t);return n||(n=new $n(dt),this.Ue=this.Ue.insert(t,n)),n}Ye(t){const n=this.et(t)!==null;return n||Pe("WatchChangeAggregator","Detected inactive target",t),n}et(t){const n=this.Ke.get(t);return n&&n.Ce?null:this.Qe.lt(t)}Ze(t){this.Ke.set(t,new Vw),this.Qe.getRemoteKeysForTarget(t).forEach(n=>{this.je(t,n,null)})}ut(t,n){return this.Qe.getRemoteKeysForTarget(t).has(n)}}function Ow(){return new $t($e.comparator)}function Rw(){return new $t($e.comparator)}const eG=(()=>({asc:"ASCENDING",desc:"DESCENDING"}))(),tG=(()=>({"<":"LESS_THAN","<=":"LESS_THAN_OR_EQUAL",">":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","==":"EQUAL","!=":"NOT_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"}))(),nG=(()=>({and:"AND",or:"OR"}))();class rG{constructor(t,n){this.databaseId=t,this.useProto3Json=n}}function $g(e,t){return e.useProto3Json||Vh(t)?t:{value:t}}function bf(e,t){return e.useProto3Json?`${new Date(1e3*t.seconds).toISOString().replace(/\.\d*/,"").replace("Z","")}.${("000000000"+t.nanoseconds).slice(-9)}Z`:{seconds:""+t.seconds,nanos:t.nanoseconds}}function YI(e,t){return e.useProto3Json?t.toBase64():t.toUint8Array()}function iG(e,t){return bf(e,t.toTimestamp())}function oi(e){return At(!!e),We.fromTimestamp(function(n){const r=ms(n);return new nn(r.seconds,r.nanos)}(e))}function Sb(e,t){return function(r){return new Rt(["projects",r.projectId,"databases",r.database])}(e).child("documents").child(t).canonicalString()}function XI(e){const t=Rt.fromString(e);return At(ek(t)),t}function Fg(e,t){return Sb(e.databaseId,t.path)}function tv(e,t){const n=XI(t);if(n.get(1)!==e.databaseId.projectId)throw new Me(ce.INVALID_ARGUMENT,"Tried to deserialize key from different project: "+n.get(1)+" vs "+e.databaseId.projectId);if(n.get(3)!==e.databaseId.database)throw new Me(ce.INVALID_ARGUMENT,"Tried to deserialize key from different database: "+n.get(3)+" vs "+e.databaseId.database);return new $e(QI(n))}function Ng(e,t){return Sb(e.databaseId,t)}function sG(e){const t=XI(e);return t.length===4?Rt.emptyPath():QI(t)}function Lg(e){return new Rt(["projects",e.databaseId.projectId,"databases",e.databaseId.database]).canonicalString()}function QI(e){return At(e.length>4&&e.get(4)==="documents"),e.popFirst(5)}function Mw(e,t,n){return{name:Fg(e,t),fields:n.value.mapValue.fields}}function aG(e,t){let n;if("targetChange"in t){t.targetChange;const r=function(u){return u==="NO_CHANGE"?0:u==="ADD"?1:u==="REMOVE"?2:u==="CURRENT"?3:u==="RESET"?4:Be()}(t.targetChange.targetChangeType||"NO_CHANGE"),i=t.targetChange.targetIds||[],s=function(u,c){return u.useProto3Json?(At(c===void 0||typeof c=="string"),Fn.fromBase64String(c||"")):(At(c===void 0||c instanceof Uint8Array),Fn.fromUint8Array(c||new Uint8Array))}(e,t.targetChange.resumeToken),a=t.targetChange.cause,o=a&&function(u){const c=u.code===void 0?ce.UNKNOWN:WI(u.code);return new Me(c,u.message||"")}(a);n=new KI(r,i,s,o||null)}else if("documentChange"in t){t.documentChange;const r=t.documentChange;r.document,r.document.name,r.document.updateTime;const i=tv(e,r.document.name),s=oi(r.document.updateTime),a=r.document.createTime?oi(r.document.createTime):We.min(),o=new pr({mapValue:{fields:r.document.fields}}),l=In.newFoundDocument(i,s,a,o),u=r.targetIds||[],c=r.removedTargetIds||[];n=new yd(u,c,l.key,l)}else if("documentDelete"in t){t.documentDelete;const r=t.documentDelete;r.document;const i=tv(e,r.document),s=r.readTime?oi(r.readTime):We.min(),a=In.newNoDocument(i,s),o=r.removedTargetIds||[];n=new yd([],o,a.key,a)}else if("documentRemove"in t){t.documentRemove;const r=t.documentRemove;r.document;const i=tv(e,r.document),s=r.removedTargetIds||[];n=new yd([],s,i,null)}else{if(!("filter"in t))return Be();{t.filter;const r=t.filter;r.targetId;const{count:i=0,unchangedNames:s}=r,a=new YW(i,s),o=r.targetId;n=new GI(o,a)}}return n}function oG(e,t){let n;if(t instanceof ec)n={update:Mw(e,t.key,t.value)};else if(t instanceof qI)n={delete:Fg(e,t.key)};else if(t instanceof Ta)n={update:Mw(e,t.key,t.data),updateMask:gG(t.fieldMask)};else{if(!(t instanceof WW))return Be();n={verify:Fg(e,t.key)}}return t.fieldTransforms.length>0&&(n.updateTransforms=t.fieldTransforms.map(r=>function(s,a){const o=a.transform;if(o instanceof pf)return{fieldPath:a.field.canonicalString(),setToServerValue:"REQUEST_TIME"};if(o instanceof bu)return{fieldPath:a.field.canonicalString(),appendMissingElements:{values:o.elements}};if(o instanceof _u)return{fieldPath:a.field.canonicalString(),removeAllFromArray:{values:o.elements}};if(o instanceof yf)return{fieldPath:a.field.canonicalString(),increment:o.Ee};throw Be()}(0,r))),t.precondition.isNone||(n.currentDocument=function(i,s){return s.updateTime!==void 0?{updateTime:iG(i,s.updateTime)}:s.exists!==void 0?{exists:s.exists}:Be()}(e,t.precondition)),n}function lG(e,t){return e&&e.length>0?(At(t!==void 0),e.map(n=>function(i,s){let a=i.updateTime?oi(i.updateTime):oi(s);return a.isEqual(We.min())&&(a=oi(s)),new UW(a,i.transformResults||[])}(n,t))):[]}function uG(e,t){return{documents:[Ng(e,t.path)]}}function cG(e,t){const n={structuredQuery:{}},r=t.path;t.collectionGroup!==null?(n.parent=Ng(e,r),n.structuredQuery.from=[{collectionId:t.collectionGroup,allDescendants:!0}]):(n.parent=Ng(e,r.popLast()),n.structuredQuery.from=[{collectionId:r.lastSegment()}]);const i=function(l){if(l.length!==0)return ZI(di.create(l,"and"))}(t.filters);i&&(n.structuredQuery.where=i);const s=function(l){if(l.length!==0)return l.map(u=>function(d){return{field:Qa(d.field),direction:hG(d.dir)}}(u))}(t.orderBy);s&&(n.structuredQuery.orderBy=s);const a=$g(e,t.limit);return a!==null&&(n.structuredQuery.limit=a),t.startAt&&(n.structuredQuery.startAt=function(l){return{before:l.inclusive,values:l.position}}(t.startAt)),t.endAt&&(n.structuredQuery.endAt=function(l){return{before:!l.inclusive,values:l.position}}(t.endAt)),n}function dG(e){let t=sG(e.parent);const n=e.structuredQuery,r=n.from?n.from.length:0;let i=null;if(r>0){At(r===1);const c=n.from[0];c.allDescendants?i=c.collectionId:t=t.child(c.collectionId)}let s=[];n.where&&(s=function(d){const f=JI(d);return f instanceof di&&II(f)?f.getFilters():[f]}(n.where));let a=[];n.orderBy&&(a=function(d){return d.map(f=>function(v){return new Ml(Ja(v.field),function(b){switch(b){case"ASCENDING":return"asc";case"DESCENDING":return"desc";default:return}}(v.direction))}(f))}(n.orderBy));let o=null;n.limit&&(o=function(d){let f;return f=typeof d=="object"?d.value:d,Vh(f)?null:f}(n.limit));let l=null;n.startAt&&(l=function(d){const f=!!d.before,h=d.values||[];return new gf(h,f)}(n.startAt));let u=null;return n.endAt&&(u=function(d){const f=!d.before,h=d.values||[];return new gf(h,f)}(n.endAt)),IW(t,i,a,s,o,"F",l,u)}function fG(e,t){const n=function(i){switch(i){case"TargetPurposeListen":return null;case"TargetPurposeExistenceFilterMismatch":return"existence-filter-mismatch";case"TargetPurposeExistenceFilterMismatchBloom":return"existence-filter-mismatch-bloom";case"TargetPurposeLimboResolution":return"limbo-document";default:return Be()}}(t.purpose);return n==null?null:{"goog-listen-tags":n}}function JI(e){return e.unaryFilter!==void 0?function(n){switch(n.unaryFilter.op){case"IS_NAN":const r=Ja(n.unaryFilter.field);return tn.create(r,"==",{doubleValue:NaN});case"IS_NULL":const i=Ja(n.unaryFilter.field);return tn.create(i,"==",{nullValue:"NULL_VALUE"});case"IS_NOT_NAN":const s=Ja(n.unaryFilter.field);return tn.create(s,"!=",{doubleValue:NaN});case"IS_NOT_NULL":const a=Ja(n.unaryFilter.field);return tn.create(a,"!=",{nullValue:"NULL_VALUE"});default:return Be()}}(e):e.fieldFilter!==void 0?function(n){return tn.create(Ja(n.fieldFilter.field),function(i){switch(i){case"EQUAL":return"==";case"NOT_EQUAL":return"!=";case"GREATER_THAN":return">";case"GREATER_THAN_OR_EQUAL":return">=";case"LESS_THAN":return"<";case"LESS_THAN_OR_EQUAL":return"<=";case"ARRAY_CONTAINS":return"array-contains";case"IN":return"in";case"NOT_IN":return"not-in";case"ARRAY_CONTAINS_ANY":return"array-contains-any";default:return Be()}}(n.fieldFilter.op),n.fieldFilter.value)}(e):e.compositeFilter!==void 0?function(n){return di.create(n.compositeFilter.filters.map(r=>JI(r)),function(i){switch(i){case"AND":return"and";case"OR":return"or";default:return Be()}}(n.compositeFilter.op))}(e):Be()}function hG(e){return eG[e]}function mG(e){return tG[e]}function vG(e){return nG[e]}function Qa(e){return{fieldPath:e.canonicalString()}}function Ja(e){return kn.fromServerFormat(e.fieldPath)}function ZI(e){return e instanceof tn?function(n){if(n.op==="=="){if(_w(n.value))return{unaryFilter:{field:Qa(n.field),op:"IS_NAN"}};if(bw(n.value))return{unaryFilter:{field:Qa(n.field),op:"IS_NULL"}}}else if(n.op==="!="){if(_w(n.value))return{unaryFilter:{field:Qa(n.field),op:"IS_NOT_NAN"}};if(bw(n.value))return{unaryFilter:{field:Qa(n.field),op:"IS_NOT_NULL"}}}return{fieldFilter:{field:Qa(n.field),op:mG(n.op),value:n.value}}}(e):e instanceof di?function(n){const r=n.getFilters().map(i=>ZI(i));return r.length===1?r[0]:{compositeFilter:{op:vG(n.op),filters:r}}}(e):Be()}function gG(e){const t=[];return e.fields.forEach(n=>t.push(n.canonicalString())),{fieldPaths:t}}function ek(e){return e.length>=4&&e.get(0)==="projects"&&e.get(2)==="databases"}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class rs{constructor(t,n,r,i,s=We.min(),a=We.min(),o=Fn.EMPTY_BYTE_STRING,l=null){this.target=t,this.targetId=n,this.purpose=r,this.sequenceNumber=i,this.snapshotVersion=s,this.lastLimboFreeSnapshotVersion=a,this.resumeToken=o,this.expectedCount=l}withSequenceNumber(t){return new rs(this.target,this.targetId,this.purpose,t,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,this.expectedCount)}withResumeToken(t,n){return new rs(this.target,this.targetId,this.purpose,this.sequenceNumber,n,this.lastLimboFreeSnapshotVersion,t,null)}withExpectedCount(t){return new rs(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,this.lastLimboFreeSnapshotVersion,this.resumeToken,t)}withLastLimboFreeSnapshotVersion(t){return new rs(this.target,this.targetId,this.purpose,this.sequenceNumber,this.snapshotVersion,t,this.resumeToken,this.expectedCount)}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class pG{constructor(t){this.ht=t}}function yG(e){const t=dG({parent:e.parent,structuredQuery:e.structuredQuery});return e.limitType==="LAST"?Mg(t,t.limit,"L"):t}/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class bG{constructor(){this._n=new _G}addToCollectionParentIndex(t,n){return this._n.add(n),me.resolve()}getCollectionParents(t,n){return me.resolve(this._n.getEntries(n))}addFieldIndex(t,n){return me.resolve()}deleteFieldIndex(t,n){return me.resolve()}getDocumentsMatchingTarget(t,n){return me.resolve(null)}getIndexType(t,n){return me.resolve(0)}getFieldIndexes(t,n){return me.resolve([])}getNextCollectionGroupToUpdate(t){return me.resolve(null)}getMinOffset(t,n){return me.resolve(hs.min())}getMinOffsetFromCollectionGroup(t,n){return me.resolve(hs.min())}updateCollectionGroup(t,n,r){return me.resolve()}updateIndexEntries(t,n){return me.resolve()}}class _G{constructor(){this.index={}}add(t){const n=t.lastSegment(),r=t.popLast(),i=this.index[n]||new $n(Rt.comparator),s=!i.has(r);return this.index[n]=i.add(r),s}has(t){const n=t.lastSegment(),r=t.popLast(),i=this.index[n];return i&&i.has(r)}getEntries(t){return(this.index[t]||new $n(Rt.comparator)).toArray()}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class So{constructor(t){this.On=t}next(){return this.On+=2,this.On}static Nn(){return new So(0)}static Bn(){return new So(-1)}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class wG{constructor(){this.changes=new Bo(t=>t.toString(),(t,n)=>t.isEqual(n)),this.changesApplied=!1}addEntry(t){this.assertNotApplied(),this.changes.set(t.key,t)}removeEntry(t,n){this.assertNotApplied(),this.changes.set(t,In.newInvalidDocument(t).setReadTime(n))}getEntry(t,n){this.assertNotApplied();const r=this.changes.get(n);return r!==void 0?me.resolve(r):this.getFromCache(t,n)}getEntries(t,n){return this.getAllFromCache(t,n)}apply(t){return this.assertNotApplied(),this.changesApplied=!0,this.applyChanges(t)}assertNotApplied(){}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *//** + * @license + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class xG{constructor(t,n){this.overlayedDocument=t,this.mutatedFields=n}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class SG{constructor(t,n,r,i){this.remoteDocumentCache=t,this.mutationQueue=n,this.documentOverlayCache=r,this.indexManager=i}getDocument(t,n){let r=null;return this.documentOverlayCache.getOverlay(t,n).next(i=>(r=i,this.remoteDocumentCache.getEntry(t,n))).next(i=>(r!==null&&Fl(r.mutation,i,Ur.empty(),nn.now()),i))}getDocuments(t,n){return this.remoteDocumentCache.getEntries(t,n).next(r=>this.getLocalViewOfDocuments(t,r,nt()).next(()=>r))}getLocalViewOfDocuments(t,n,r=nt()){const i=Zs();return this.populateOverlays(t,i,n).next(()=>this.computeViews(t,n,i,r).next(s=>{let a=pl();return s.forEach((o,l)=>{a=a.insert(o,l.overlayedDocument)}),a}))}getOverlayedDocuments(t,n){const r=Zs();return this.populateOverlays(t,r,n).next(()=>this.computeViews(t,n,r,nt()))}populateOverlays(t,n,r){const i=[];return r.forEach(s=>{n.has(s)||i.push(s)}),this.documentOverlayCache.getOverlays(t,i).next(s=>{s.forEach((a,o)=>{n.set(a,o)})})}computeViews(t,n,r,i){let s=Vi();const a=$l(),o=function(){return $l()}();return n.forEach((l,u)=>{const c=r.get(u.key);i.has(u.key)&&(c===void 0||c.mutation instanceof Ta)?s=s.insert(u.key,u):c!==void 0?(a.set(u.key,c.mutation.getFieldMask()),Fl(c.mutation,u,c.mutation.getFieldMask(),nn.now())):a.set(u.key,Ur.empty())}),this.recalculateAndSaveOverlays(t,s).next(l=>(l.forEach((u,c)=>a.set(u,c)),n.forEach((u,c)=>{var d;return o.set(u,new xG(c,(d=a.get(u))!==null&&d!==void 0?d:null))}),o))}recalculateAndSaveOverlays(t,n){const r=$l();let i=new $t((a,o)=>a-o),s=nt();return this.mutationQueue.getAllMutationBatchesAffectingDocumentKeys(t,n).next(a=>{for(const o of a)o.keys().forEach(l=>{const u=n.get(l);if(u===null)return;let c=r.get(l)||Ur.empty();c=o.applyToLocalView(u,c),r.set(l,c);const d=(i.get(o.batchId)||nt()).add(l);i=i.insert(o.batchId,d)})}).next(()=>{const a=[],o=i.getReverseIterator();for(;o.hasNext();){const l=o.getNext(),u=l.key,c=l.value,d=$I();c.forEach(f=>{if(!s.has(f)){const h=UI(n.get(f),r.get(f));h!==null&&d.set(f,h),s=s.add(f)}}),a.push(this.documentOverlayCache.saveOverlays(t,u,d))}return me.waitFor(a)}).next(()=>r)}recalculateAndSaveOverlaysForDocumentKeys(t,n){return this.remoteDocumentCache.getEntries(t,n).next(r=>this.recalculateAndSaveOverlays(t,r))}getDocumentsMatchingQuery(t,n,r){return function(s){return $e.isDocumentKey(s.path)&&s.collectionGroup===null&&s.filters.length===0}(n)?this.getDocumentsMatchingDocumentQuery(t,n.path):PW(n)?this.getDocumentsMatchingCollectionGroupQuery(t,n,r):this.getDocumentsMatchingCollectionQuery(t,n,r)}getNextDocuments(t,n,r,i){return this.remoteDocumentCache.getAllFromCollectionGroup(t,n,r,i).next(s=>{const a=i-s.size>0?this.documentOverlayCache.getOverlaysForCollectionGroup(t,n,r.largestBatchId,i-s.size):me.resolve(Zs());let o=-1,l=s;return a.next(u=>me.forEach(u,(c,d)=>(o{l=l.insert(c,f)}))).next(()=>this.populateOverlays(t,u,s)).next(()=>this.computeViews(t,l,u,nt())).next(c=>({batchId:o,changes:DI(c)})))})}getDocumentsMatchingDocumentQuery(t,n){return this.getDocument(t,new $e(n)).next(r=>{let i=pl();return r.isFoundDocument()&&(i=i.insert(r.key,r)),i})}getDocumentsMatchingCollectionGroupQuery(t,n,r){const i=n.collectionGroup;let s=pl();return this.indexManager.getCollectionParents(t,i).next(a=>me.forEach(a,o=>{const l=function(c,d){return new Oh(d,null,c.explicitOrderBy.slice(),c.filters.slice(),c.limit,c.limitType,c.startAt,c.endAt)}(n,o.child(i));return this.getDocumentsMatchingCollectionQuery(t,l,r).next(u=>{u.forEach((c,d)=>{s=s.insert(c,d)})})}).next(()=>s))}getDocumentsMatchingCollectionQuery(t,n,r){let i;return this.documentOverlayCache.getOverlaysForCollection(t,n.path,r.largestBatchId).next(s=>(i=s,this.remoteDocumentCache.getDocumentsMatchingQuery(t,n,r,i))).next(s=>{i.forEach((o,l)=>{const u=l.getKey();s.get(u)===null&&(s=s.insert(u,In.newInvalidDocument(u)))});let a=pl();return s.forEach((o,l)=>{const u=i.get(o);u!==void 0&&Fl(u.mutation,l,Ur.empty(),nn.now()),Mh(n,l)&&(a=a.insert(o,l))}),a})}}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class CG{constructor(t){this.serializer=t,this.cr=new Map,this.lr=new Map}getBundleMetadata(t,n){return me.resolve(this.cr.get(n))}saveBundleMetadata(t,n){return this.cr.set(n.id,function(i){return{id:i.id,version:i.version,createTime:oi(i.createTime)}}(n)),me.resolve()}getNamedQuery(t,n){return me.resolve(this.lr.get(n))}saveNamedQuery(t,n){return this.lr.set(n.name,function(i){return{name:i.name,query:yG(i.bundledQuery),readTime:oi(i.readTime)}}(n)),me.resolve()}}/** + * @license + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class TG{constructor(){this.overlays=new $t($e.comparator),this.hr=new Map}getOverlay(t,n){return me.resolve(this.overlays.get(n))}getOverlays(t,n){const r=Zs();return me.forEach(n,i=>this.getOverlay(t,i).next(s=>{s!==null&&r.set(i,s)})).next(()=>r)}saveOverlays(t,n,r){return r.forEach((i,s)=>{this.It(t,n,s)}),me.resolve()}removeOverlaysForBatchId(t,n,r){const i=this.hr.get(r);return i!==void 0&&(i.forEach(s=>this.overlays=this.overlays.remove(s)),this.hr.delete(r)),me.resolve()}getOverlaysForCollection(t,n,r){const i=Zs(),s=n.length+1,a=new $e(n.child("")),o=this.overlays.getIteratorFrom(a);for(;o.hasNext();){const l=o.getNext().value,u=l.getKey();if(!n.isPrefixOf(u.path))break;u.path.length===s&&l.largestBatchId>r&&i.set(l.getKey(),l)}return me.resolve(i)}getOverlaysForCollectionGroup(t,n,r,i){let s=new $t((u,c)=>u-c);const a=this.overlays.getIterator();for(;a.hasNext();){const u=a.getNext().value;if(u.getKey().getCollectionGroup()===n&&u.largestBatchId>r){let c=s.get(u.largestBatchId);c===null&&(c=Zs(),s=s.insert(u.largestBatchId,c)),c.set(u.getKey(),u)}}const o=Zs(),l=s.getIterator();for(;l.hasNext()&&(l.getNext().value.forEach((u,c)=>o.set(u,c)),!(o.size()>=i)););return me.resolve(o)}It(t,n,r){const i=this.overlays.get(r.key);if(i!==null){const a=this.hr.get(i.largestBatchId).delete(r.key);this.hr.set(i.largestBatchId,a)}this.overlays=this.overlays.insert(r.key,new KW(n,r));let s=this.hr.get(n);s===void 0&&(s=nt(),this.hr.set(n,s)),this.hr.set(n,s.add(r.key))}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Cb{constructor(){this.Pr=new $n(ln.Ir),this.Tr=new $n(ln.Er)}isEmpty(){return this.Pr.isEmpty()}addReference(t,n){const r=new ln(t,n);this.Pr=this.Pr.add(r),this.Tr=this.Tr.add(r)}dr(t,n){t.forEach(r=>this.addReference(r,n))}removeReference(t,n){this.Ar(new ln(t,n))}Rr(t,n){t.forEach(r=>this.removeReference(r,n))}Vr(t){const n=new $e(new Rt([])),r=new ln(n,t),i=new ln(n,t+1),s=[];return this.Tr.forEachInRange([r,i],a=>{this.Ar(a),s.push(a.key)}),s}mr(){this.Pr.forEach(t=>this.Ar(t))}Ar(t){this.Pr=this.Pr.delete(t),this.Tr=this.Tr.delete(t)}gr(t){const n=new $e(new Rt([])),r=new ln(n,t),i=new ln(n,t+1);let s=nt();return this.Tr.forEachInRange([r,i],a=>{s=s.add(a.key)}),s}containsKey(t){const n=new ln(t,0),r=this.Pr.firstAfterOrEqual(n);return r!==null&&t.isEqual(r.key)}}class ln{constructor(t,n){this.key=t,this.pr=n}static Ir(t,n){return $e.comparator(t.key,n.key)||dt(t.pr,n.pr)}static Er(t,n){return dt(t.pr,n.pr)||$e.comparator(t.key,n.key)}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class EG{constructor(t,n){this.indexManager=t,this.referenceDelegate=n,this.mutationQueue=[],this.yr=1,this.wr=new $n(ln.Ir)}checkEmpty(t){return me.resolve(this.mutationQueue.length===0)}addMutationBatch(t,n,r,i){const s=this.yr;this.yr++,this.mutationQueue.length>0&&this.mutationQueue[this.mutationQueue.length-1];const a=new GW(s,n,r,i);this.mutationQueue.push(a);for(const o of i)this.wr=this.wr.add(new ln(o.key,s)),this.indexManager.addToCollectionParentIndex(t,o.key.path.popLast());return me.resolve(a)}lookupMutationBatch(t,n){return me.resolve(this.Sr(n))}getNextMutationBatchAfterBatchId(t,n){const r=n+1,i=this.br(r),s=i<0?0:i;return me.resolve(this.mutationQueue.length>s?this.mutationQueue[s]:null)}getHighestUnacknowledgedBatchId(){return me.resolve(this.mutationQueue.length===0?-1:this.yr-1)}getAllMutationBatches(t){return me.resolve(this.mutationQueue.slice())}getAllMutationBatchesAffectingDocumentKey(t,n){const r=new ln(n,0),i=new ln(n,Number.POSITIVE_INFINITY),s=[];return this.wr.forEachInRange([r,i],a=>{const o=this.Sr(a.pr);s.push(o)}),me.resolve(s)}getAllMutationBatchesAffectingDocumentKeys(t,n){let r=new $n(dt);return n.forEach(i=>{const s=new ln(i,0),a=new ln(i,Number.POSITIVE_INFINITY);this.wr.forEachInRange([s,a],o=>{r=r.add(o.pr)})}),me.resolve(this.Dr(r))}getAllMutationBatchesAffectingQuery(t,n){const r=n.path,i=r.length+1;let s=r;$e.isDocumentKey(s)||(s=s.child(""));const a=new ln(new $e(s),0);let o=new $n(dt);return this.wr.forEachWhile(l=>{const u=l.key.path;return!!r.isPrefixOf(u)&&(u.length===i&&(o=o.add(l.pr)),!0)},a),me.resolve(this.Dr(o))}Dr(t){const n=[];return t.forEach(r=>{const i=this.Sr(r);i!==null&&n.push(i)}),n}removeMutationBatch(t,n){At(this.vr(n.batchId,"removed")===0),this.mutationQueue.shift();let r=this.wr;return me.forEach(n.mutations,i=>{const s=new ln(i.key,n.batchId);return r=r.delete(s),this.referenceDelegate.markPotentiallyOrphaned(t,i.key)}).next(()=>{this.wr=r})}Mn(t){}containsKey(t,n){const r=new ln(n,0),i=this.wr.firstAfterOrEqual(r);return me.resolve(n.isEqual(i&&i.key))}performConsistencyCheck(t){return this.mutationQueue.length,me.resolve()}vr(t,n){return this.br(t)}br(t){return this.mutationQueue.length===0?0:t-this.mutationQueue[0].batchId}Sr(t){const n=this.br(t);return n<0||n>=this.mutationQueue.length?null:this.mutationQueue[n]}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class IG{constructor(t){this.Cr=t,this.docs=function(){return new $t($e.comparator)}(),this.size=0}setIndexManager(t){this.indexManager=t}addEntry(t,n){const r=n.key,i=this.docs.get(r),s=i?i.size:0,a=this.Cr(n);return this.docs=this.docs.insert(r,{document:n.mutableCopy(),size:a}),this.size+=a-s,this.indexManager.addToCollectionParentIndex(t,r.path.popLast())}removeEntry(t){const n=this.docs.get(t);n&&(this.docs=this.docs.remove(t),this.size-=n.size)}getEntry(t,n){const r=this.docs.get(n);return me.resolve(r?r.document.mutableCopy():In.newInvalidDocument(n))}getEntries(t,n){let r=Vi();return n.forEach(i=>{const s=this.docs.get(i);r=r.insert(i,s?s.document.mutableCopy():In.newInvalidDocument(i))}),me.resolve(r)}getDocumentsMatchingQuery(t,n,r,i){let s=Vi();const a=n.path,o=new $e(a.child("")),l=this.docs.getIteratorFrom(o);for(;l.hasNext();){const{key:u,value:{document:c}}=l.getNext();if(!a.isPrefixOf(u.path))break;u.path.length>a.length+1||cW(uW(c),r)<=0||(i.has(c.key)||Mh(n,c))&&(s=s.insert(c.key,c.mutableCopy()))}return me.resolve(s)}getAllFromCollectionGroup(t,n,r,i){Be()}Fr(t,n){return me.forEach(this.docs,r=>n(r))}newChangeBuffer(t){return new kG(this)}getSize(t){return me.resolve(this.size)}}class kG extends wG{constructor(t){super(),this.ar=t}applyChanges(t){const n=[];return this.changes.forEach((r,i)=>{i.isValidDocument()?n.push(this.ar.addEntry(t,i)):this.ar.removeEntry(r)}),me.waitFor(n)}getFromCache(t,n){return this.ar.getEntry(t,n)}getAllFromCache(t,n){return this.ar.getEntries(t,n)}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class AG{constructor(t){this.persistence=t,this.Mr=new Bo(n=>bb(n),_b),this.lastRemoteSnapshotVersion=We.min(),this.highestTargetId=0,this.Or=0,this.Nr=new Cb,this.targetCount=0,this.Br=So.Nn()}forEachTarget(t,n){return this.Mr.forEach((r,i)=>n(i)),me.resolve()}getLastRemoteSnapshotVersion(t){return me.resolve(this.lastRemoteSnapshotVersion)}getHighestSequenceNumber(t){return me.resolve(this.Or)}allocateTargetId(t){return this.highestTargetId=this.Br.next(),me.resolve(this.highestTargetId)}setTargetsMetadata(t,n,r){return r&&(this.lastRemoteSnapshotVersion=r),n>this.Or&&(this.Or=n),me.resolve()}qn(t){this.Mr.set(t.target,t);const n=t.targetId;n>this.highestTargetId&&(this.Br=new So(n),this.highestTargetId=n),t.sequenceNumber>this.Or&&(this.Or=t.sequenceNumber)}addTargetData(t,n){return this.qn(n),this.targetCount+=1,me.resolve()}updateTargetData(t,n){return this.qn(n),me.resolve()}removeTargetData(t,n){return this.Mr.delete(n.target),this.Nr.Vr(n.targetId),this.targetCount-=1,me.resolve()}removeTargets(t,n,r){let i=0;const s=[];return this.Mr.forEach((a,o)=>{o.sequenceNumber<=n&&r.get(o.targetId)===null&&(this.Mr.delete(a),s.push(this.removeMatchingKeysForTargetId(t,o.targetId)),i++)}),me.waitFor(s).next(()=>i)}getTargetCount(t){return me.resolve(this.targetCount)}getTargetData(t,n){const r=this.Mr.get(n)||null;return me.resolve(r)}addMatchingKeys(t,n,r){return this.Nr.dr(n,r),me.resolve()}removeMatchingKeys(t,n,r){this.Nr.Rr(n,r);const i=this.persistence.referenceDelegate,s=[];return i&&n.forEach(a=>{s.push(i.markPotentiallyOrphaned(t,a))}),me.waitFor(s)}removeMatchingKeysForTargetId(t,n){return this.Nr.Vr(n),me.resolve()}getMatchingKeysForTargetId(t,n){const r=this.Nr.gr(n);return me.resolve(r)}containsKey(t,n){return me.resolve(this.Nr.containsKey(n))}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class PG{constructor(t,n){this.Lr={},this.overlays={},this.kr=new vb(0),this.qr=!1,this.qr=!0,this.referenceDelegate=t(this),this.Qr=new AG(this),this.indexManager=new bG,this.remoteDocumentCache=function(i){return new IG(i)}(r=>this.referenceDelegate.Kr(r)),this.serializer=new pG(n),this.$r=new CG(this.serializer)}start(){return Promise.resolve()}shutdown(){return this.qr=!1,Promise.resolve()}get started(){return this.qr}setDatabaseDeletedListener(){}setNetworkEnabled(){}getIndexManager(t){return this.indexManager}getDocumentOverlayCache(t){let n=this.overlays[t.toKey()];return n||(n=new TG,this.overlays[t.toKey()]=n),n}getMutationQueue(t,n){let r=this.Lr[t.toKey()];return r||(r=new EG(n,this.referenceDelegate),this.Lr[t.toKey()]=r),r}getTargetCache(){return this.Qr}getRemoteDocumentCache(){return this.remoteDocumentCache}getBundleCache(){return this.$r}runTransaction(t,n,r){Pe("MemoryPersistence","Starting transaction:",t);const i=new VG(this.kr.next());return this.referenceDelegate.Ur(),r(i).next(s=>this.referenceDelegate.Wr(i).next(()=>s)).toPromise().then(s=>(i.raiseOnCommittedEvent(),s))}Gr(t,n){return me.or(Object.values(this.Lr).map(r=>()=>r.containsKey(t,n)))}}class VG extends fW{constructor(t){super(),this.currentSequenceNumber=t}}class Tb{constructor(t){this.persistence=t,this.zr=new Cb,this.jr=null}static Hr(t){return new Tb(t)}get Jr(){if(this.jr)return this.jr;throw Be()}addReference(t,n,r){return this.zr.addReference(r,n),this.Jr.delete(r.toString()),me.resolve()}removeReference(t,n,r){return this.zr.removeReference(r,n),this.Jr.add(r.toString()),me.resolve()}markPotentiallyOrphaned(t,n){return this.Jr.add(n.toString()),me.resolve()}removeTarget(t,n){this.zr.Vr(n.targetId).forEach(i=>this.Jr.add(i.toString()));const r=this.persistence.getTargetCache();return r.getMatchingKeysForTargetId(t,n.targetId).next(i=>{i.forEach(s=>this.Jr.add(s.toString()))}).next(()=>r.removeTargetData(t,n))}Ur(){this.jr=new Set}Wr(t){const n=this.persistence.getRemoteDocumentCache().newChangeBuffer();return me.forEach(this.Jr,r=>{const i=$e.fromPath(r);return this.Yr(t,i).next(s=>{s||n.removeEntry(i,We.min())})}).next(()=>(this.jr=null,n.apply(t)))}updateLimboDocument(t,n){return this.Yr(t,n).next(r=>{r?this.Jr.delete(n.toString()):this.Jr.add(n.toString())})}Kr(t){return 0}Yr(t,n){return me.or([()=>me.resolve(this.zr.containsKey(n)),()=>this.persistence.getTargetCache().containsKey(t,n),()=>this.persistence.Gr(t,n)])}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Eb{constructor(t,n,r,i){this.targetId=t,this.fromCache=n,this.qi=r,this.Qi=i}static Ki(t,n){let r=nt(),i=nt();for(const s of n.docChanges)switch(s.type){case 0:r=r.add(s.doc.key);break;case 1:i=i.add(s.doc.key)}return new Eb(t,n.fromCache,r,i)}}/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class OG{constructor(){this.$i=!1}initialize(t,n){this.Ui=t,this.indexManager=n,this.$i=!0}getDocumentsMatchingQuery(t,n,r,i){return this.Wi(t,n).next(s=>s||this.Gi(t,n,i,r)).next(s=>s||this.zi(t,n))}Wi(t,n){if(Cw(n))return me.resolve(null);let r=Pi(n);return this.indexManager.getIndexType(t,r).next(i=>i===0?null:(n.limit!==null&&i===1&&(n=Mg(n,null,"F"),r=Pi(n)),this.indexManager.getDocumentsMatchingTarget(t,r).next(s=>{const a=nt(...s);return this.Ui.getDocuments(t,a).next(o=>this.indexManager.getMinOffset(t,r).next(l=>{const u=this.ji(n,o);return this.Hi(n,u,a,l.readTime)?this.Wi(t,Mg(n,null,"F")):this.Ji(t,u,n,l)}))})))}Gi(t,n,r,i){return Cw(n)||i.isEqual(We.min())?this.zi(t,n):this.Ui.getDocuments(t,r).next(s=>{const a=this.ji(n,s);return this.Hi(n,a,r,i)?this.zi(t,n):(vw()<=mt.DEBUG&&Pe("QueryEngine","Re-using previous result from %s to execute query: %s",i.toString(),Dg(n)),this.Ji(t,a,n,lW(i,-1)))})}ji(t,n){let r=new $n(RI(t));return n.forEach((i,s)=>{Mh(t,s)&&(r=r.add(s))}),r}Hi(t,n,r,i){if(t.limit===null)return!1;if(r.size!==n.size)return!0;const s=t.limitType==="F"?n.last():n.first();return!!s&&(s.hasPendingWrites||s.version.compareTo(i)>0)}zi(t,n){return vw()<=mt.DEBUG&&Pe("QueryEngine","Using full collection scan to execute query:",Dg(n)),this.Ui.getDocumentsMatchingQuery(t,n,hs.min())}Ji(t,n,r,i){return this.Ui.getDocumentsMatchingQuery(t,r,i).next(s=>(n.forEach(a=>{s=s.insert(a.key,a)}),s))}}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class RG{constructor(t,n,r,i){this.persistence=t,this.Yi=n,this.serializer=i,this.Zi=new $t(dt),this.Xi=new Bo(s=>bb(s),_b),this.es=new Map,this.ts=t.getRemoteDocumentCache(),this.Qr=t.getTargetCache(),this.$r=t.getBundleCache(),this.ns(r)}ns(t){this.documentOverlayCache=this.persistence.getDocumentOverlayCache(t),this.indexManager=this.persistence.getIndexManager(t),this.mutationQueue=this.persistence.getMutationQueue(t,this.indexManager),this.localDocuments=new SG(this.ts,this.mutationQueue,this.documentOverlayCache,this.indexManager),this.ts.setIndexManager(this.indexManager),this.Yi.initialize(this.localDocuments,this.indexManager)}collectGarbage(t){return this.persistence.runTransaction("Collect garbage","readwrite-primary",n=>t.collect(n,this.Zi))}}function MG(e,t,n,r){return new RG(e,t,n,r)}async function tk(e,t){const n=Qe(e);return await n.persistence.runTransaction("Handle user change","readonly",r=>{let i;return n.mutationQueue.getAllMutationBatches(r).next(s=>(i=s,n.ns(t),n.mutationQueue.getAllMutationBatches(r))).next(s=>{const a=[],o=[];let l=nt();for(const u of i){a.push(u.batchId);for(const c of u.mutations)l=l.add(c.key)}for(const u of s){o.push(u.batchId);for(const c of u.mutations)l=l.add(c.key)}return n.localDocuments.getDocuments(r,l).next(u=>({rs:u,removedBatchIds:a,addedBatchIds:o}))})})}function DG(e,t){const n=Qe(e);return n.persistence.runTransaction("Acknowledge batch","readwrite-primary",r=>{const i=t.batch.keys(),s=n.ts.newChangeBuffer({trackRemovals:!0});return function(o,l,u,c){const d=u.batch,f=d.keys();let h=me.resolve();return f.forEach(v=>{h=h.next(()=>c.getEntry(l,v)).next(g=>{const b=u.docVersions.get(v);At(b!==null),g.version.compareTo(b)<0&&(d.applyToRemoteDocument(g,u),g.isValidDocument()&&(g.setReadTime(u.commitVersion),c.addEntry(g)))})}),h.next(()=>o.mutationQueue.removeMutationBatch(l,d))}(n,r,t,s).next(()=>s.apply(r)).next(()=>n.mutationQueue.performConsistencyCheck(r)).next(()=>n.documentOverlayCache.removeOverlaysForBatchId(r,i,t.batch.batchId)).next(()=>n.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(r,function(o){let l=nt();for(let u=0;u0&&(l=l.add(o.batch.mutations[u].key));return l}(t))).next(()=>n.localDocuments.getDocuments(r,i))})}function nk(e){const t=Qe(e);return t.persistence.runTransaction("Get last remote snapshot version","readonly",n=>t.Qr.getLastRemoteSnapshotVersion(n))}function $G(e,t){const n=Qe(e),r=t.snapshotVersion;let i=n.Zi;return n.persistence.runTransaction("Apply remote event","readwrite-primary",s=>{const a=n.ts.newChangeBuffer({trackRemovals:!0});i=n.Zi;const o=[];t.targetChanges.forEach((c,d)=>{const f=i.get(d);if(!f)return;o.push(n.Qr.removeMatchingKeys(s,c.removedDocuments,d).next(()=>n.Qr.addMatchingKeys(s,c.addedDocuments,d)));let h=f.withSequenceNumber(s.currentSequenceNumber);t.targetMismatches.get(d)!==null?h=h.withResumeToken(Fn.EMPTY_BYTE_STRING,We.min()).withLastLimboFreeSnapshotVersion(We.min()):c.resumeToken.approximateByteSize()>0&&(h=h.withResumeToken(c.resumeToken,r)),i=i.insert(d,h),function(g,b,p){return g.resumeToken.approximateByteSize()===0||b.snapshotVersion.toMicroseconds()-g.snapshotVersion.toMicroseconds()>=3e8?!0:p.addedDocuments.size+p.modifiedDocuments.size+p.removedDocuments.size>0}(f,h,c)&&o.push(n.Qr.updateTargetData(s,h))});let l=Vi(),u=nt();if(t.documentUpdates.forEach(c=>{t.resolvedLimboDocuments.has(c)&&o.push(n.persistence.referenceDelegate.updateLimboDocument(s,c))}),o.push(FG(s,a,t.documentUpdates).next(c=>{l=c.ss,u=c.os})),!r.isEqual(We.min())){const c=n.Qr.getLastRemoteSnapshotVersion(s).next(d=>n.Qr.setTargetsMetadata(s,s.currentSequenceNumber,r));o.push(c)}return me.waitFor(o).next(()=>a.apply(s)).next(()=>n.localDocuments.getLocalViewOfDocuments(s,l,u)).next(()=>l)}).then(s=>(n.Zi=i,s))}function FG(e,t,n){let r=nt(),i=nt();return n.forEach(s=>r=r.add(s)),t.getEntries(e,r).next(s=>{let a=Vi();return n.forEach((o,l)=>{const u=s.get(o);l.isFoundDocument()!==u.isFoundDocument()&&(i=i.add(o)),l.isNoDocument()&&l.version.isEqual(We.min())?(t.removeEntry(o,l.readTime),a=a.insert(o,l)):!u.isValidDocument()||l.version.compareTo(u.version)>0||l.version.compareTo(u.version)===0&&u.hasPendingWrites?(t.addEntry(l),a=a.insert(o,l)):Pe("LocalStore","Ignoring outdated watch update for ",o,". Current version:",u.version," Watch version:",l.version)}),{ss:a,os:i}})}function NG(e,t){const n=Qe(e);return n.persistence.runTransaction("Get next mutation batch","readonly",r=>(t===void 0&&(t=-1),n.mutationQueue.getNextMutationBatchAfterBatchId(r,t)))}function LG(e,t){const n=Qe(e);return n.persistence.runTransaction("Allocate target","readwrite",r=>{let i;return n.Qr.getTargetData(r,t).next(s=>s?(i=s,me.resolve(i)):n.Qr.allocateTargetId(r).next(a=>(i=new rs(t,a,"TargetPurposeListen",r.currentSequenceNumber),n.Qr.addTargetData(r,i).next(()=>i))))}).then(r=>{const i=n.Zi.get(r.targetId);return(i===null||r.snapshotVersion.compareTo(i.snapshotVersion)>0)&&(n.Zi=n.Zi.insert(r.targetId,r),n.Xi.set(t,r.targetId)),r})}async function Bg(e,t,n){const r=Qe(e),i=r.Zi.get(t),s=n?"readwrite":"readwrite-primary";try{n||await r.persistence.runTransaction("Release target",s,a=>r.persistence.referenceDelegate.removeTarget(a,i))}catch(a){if(!Zu(a))throw a;Pe("LocalStore",`Failed to update sequence numbers for target ${t}: ${a}`)}r.Zi=r.Zi.remove(t),r.Xi.delete(i.target)}function Dw(e,t,n){const r=Qe(e);let i=We.min(),s=nt();return r.persistence.runTransaction("Execute query","readonly",a=>function(l,u,c){const d=Qe(l),f=d.Xi.get(c);return f!==void 0?me.resolve(d.Zi.get(f)):d.Qr.getTargetData(u,c)}(r,a,Pi(t)).next(o=>{if(o)return i=o.lastLimboFreeSnapshotVersion,r.Qr.getMatchingKeysForTargetId(a,o.targetId).next(l=>{s=l})}).next(()=>r.Yi.getDocumentsMatchingQuery(a,t,n?i:We.min(),n?s:nt())).next(o=>(BG(r,OW(t),o),{documents:o,_s:s})))}function BG(e,t,n){let r=e.es.get(t)||We.min();n.forEach((i,s)=>{s.readTime.compareTo(r)>0&&(r=s.readTime)}),e.es.set(t,r)}class $w{constructor(){this.activeTargetIds=NW()}Is(t){this.activeTargetIds=this.activeTargetIds.add(t)}Ts(t){this.activeTargetIds=this.activeTargetIds.delete(t)}Ps(){const t={activeTargetIds:this.activeTargetIds.toArray(),updateTimeMs:Date.now()};return JSON.stringify(t)}}class jG{constructor(){this.Ys=new $w,this.Zs={},this.onlineStateHandler=null,this.sequenceNumberHandler=null}addPendingMutation(t){}updateMutationState(t,n,r){}addLocalQueryTarget(t){return this.Ys.Is(t),this.Zs[t]||"not-current"}updateQueryState(t,n,r){this.Zs[t]=n}removeLocalQueryTarget(t){this.Ys.Ts(t)}isLocalQueryTarget(t){return this.Ys.activeTargetIds.has(t)}clearQueryState(t){delete this.Zs[t]}getAllActiveQueryTargets(){return this.Ys.activeTargetIds}isActiveQueryTarget(t){return this.Ys.activeTargetIds.has(t)}start(){return this.Ys=new $w,Promise.resolve()}handleUserChange(t,n,r){}setOnlineState(t){}shutdown(){}writeSequenceNumber(t){}notifyBundleLoaded(t){}}/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class zG{Xs(t){}shutdown(){}}/** + * @license + * Copyright 2019 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Fw{constructor(){this.eo=()=>this.no(),this.ro=()=>this.io(),this.so=[],this.oo()}Xs(t){this.so.push(t)}shutdown(){window.removeEventListener("online",this.eo),window.removeEventListener("offline",this.ro)}oo(){window.addEventListener("online",this.eo),window.addEventListener("offline",this.ro)}no(){Pe("ConnectivityMonitor","Network connectivity changed: AVAILABLE");for(const t of this.so)t(0)}io(){Pe("ConnectivityMonitor","Network connectivity changed: UNAVAILABLE");for(const t of this.so)t(1)}static v(){return typeof window<"u"&&window.addEventListener!==void 0&&window.removeEventListener!==void 0}}/** + * @license + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */let Lc=null;function nv(){return Lc===null?Lc=function(){return 268435456+Math.round(2147483648*Math.random())}():Lc++,"0x"+Lc.toString(16)}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const UG={BatchGetDocuments:"batchGet",Commit:"commit",RunQuery:"runQuery",RunAggregationQuery:"runAggregationQuery"};/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class HG{constructor(t){this._o=t._o,this.ao=t.ao}uo(t){this.co=t}lo(t){this.ho=t}onMessage(t){this.Po=t}close(){this.ao()}send(t){this._o(t)}Io(){this.co()}To(t){this.ho(t)}Eo(t){this.Po(t)}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const Cn="WebChannelConnection";class qG extends class{constructor(n){this.databaseInfo=n,this.databaseId=n.databaseId;const r=n.ssl?"https":"http",i=encodeURIComponent(this.databaseId.projectId),s=encodeURIComponent(this.databaseId.database);this.Ao=r+"://"+n.host,this.Ro=`projects/${i}/databases/${s}`,this.Vo=this.databaseId.database==="(default)"?`project_id=${i}`:`project_id=${i}&database_id=${s}`}get mo(){return!1}fo(n,r,i,s,a){const o=nv(),l=this.po(n,r);Pe("RestConnection",`Sending RPC '${n}' ${o}:`,l,i);const u={"google-cloud-resource-prefix":this.Ro,"x-goog-request-params":this.Vo};return this.yo(u,s,a),this.wo(n,l,u,i).then(c=>(Pe("RestConnection",`Received RPC '${n}' ${o}: `,c),c),c=>{throw bo("RestConnection",`RPC '${n}' ${o} failed with error: `,c,"url: ",l,"request:",i),c})}So(n,r,i,s,a,o){return this.fo(n,r,i,s,a)}yo(n,r,i){n["X-Goog-Api-Client"]=function(){return"gl-js/ fire/"+No}(),n["Content-Type"]="text/plain",this.databaseInfo.appId&&(n["X-Firebase-GMPID"]=this.databaseInfo.appId),r&&r.headers.forEach((s,a)=>n[a]=s),i&&i.headers.forEach((s,a)=>n[a]=s)}po(n,r){const i=UG[n];return`${this.Ao}/v1/${r}:${i}`}}{constructor(t){super(t),this.forceLongPolling=t.forceLongPolling,this.autoDetectLongPolling=t.autoDetectLongPolling,this.useFetchStreams=t.useFetchStreams,this.longPollingOptions=t.longPollingOptions}wo(t,n,r,i){const s=nv();return new Promise((a,o)=>{const l=new Qq;l.setWithCredentials(!0),l.listenOnce(Yq.COMPLETE,()=>{try{switch(l.getLastErrorCode()){case ev.NO_ERROR:const c=l.getResponseJson();Pe(Cn,`XHR for RPC '${t}' ${s} received:`,JSON.stringify(c)),a(c);break;case ev.TIMEOUT:Pe(Cn,`RPC '${t}' ${s} timed out`),o(new Me(ce.DEADLINE_EXCEEDED,"Request time out"));break;case ev.HTTP_ERROR:const d=l.getStatus();if(Pe(Cn,`RPC '${t}' ${s} failed with status:`,d,"response text:",l.getResponseText()),d>0){let f=l.getResponseJson();Array.isArray(f)&&(f=f[0]);const h=f==null?void 0:f.error;if(h&&h.status&&h.message){const v=function(b){const p=b.toLowerCase().replace(/_/g,"-");return Object.values(ce).indexOf(p)>=0?p:ce.UNKNOWN}(h.status);o(new Me(v,h.message))}else o(new Me(ce.UNKNOWN,"Server responded with status "+l.getStatus()))}else o(new Me(ce.UNAVAILABLE,"Connection failed."));break;default:Be()}}finally{Pe(Cn,`RPC '${t}' ${s} completed.`)}});const u=JSON.stringify(i);Pe(Cn,`RPC '${t}' ${s} sending request:`,i),l.send(n,"POST",u,r,15)})}bo(t,n,r){const i=nv(),s=[this.Ao,"/","google.firestore.v1.Firestore","/",t,"/channel"],a=Gq(),o=Kq(),l={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:`projects/${this.databaseId.projectId}/databases/${this.databaseId.database}`},sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.autoDetectLongPolling},u=this.longPollingOptions.timeoutSeconds;u!==void 0&&(l.longPollingTimeout=Math.round(1e3*u)),this.useFetchStreams&&(l.useFetchStreams=!0),this.yo(l.initMessageHeaders,n,r),l.encodeInitMessageHeaders=!0;const c=s.join("");Pe(Cn,`Creating RPC '${t}' stream ${i}: ${c}`,l);const d=a.createWebChannel(c,l);let f=!1,h=!1;const v=new HG({_o:b=>{h?Pe(Cn,`Not sending because RPC '${t}' stream ${i} is closed:`,b):(f||(Pe(Cn,`Opening RPC '${t}' stream ${i} transport.`),d.open(),f=!0),Pe(Cn,`RPC '${t}' stream ${i} sending:`,b),d.send(b))},ao:()=>d.close()}),g=(b,p,_)=>{b.listen(p,w=>{try{_(w)}catch(C){setTimeout(()=>{throw C},0)}})};return g(d,$c.EventType.OPEN,()=>{h||Pe(Cn,`RPC '${t}' stream ${i} transport opened.`)}),g(d,$c.EventType.CLOSE,()=>{h||(h=!0,Pe(Cn,`RPC '${t}' stream ${i} transport closed`),v.To())}),g(d,$c.EventType.ERROR,b=>{h||(h=!0,bo(Cn,`RPC '${t}' stream ${i} transport errored:`,b),v.To(new Me(ce.UNAVAILABLE,"The operation could not be completed")))}),g(d,$c.EventType.MESSAGE,b=>{var p;if(!h){const _=b.data[0];At(!!_);const w=_,C=w.error||((p=w[0])===null||p===void 0?void 0:p.error);if(C){Pe(Cn,`RPC '${t}' stream ${i} received error:`,C);const I=C.status;let A=function(T){const D=Gt[T];if(D!==void 0)return WI(D)}(I),$=C.message;A===void 0&&(A=ce.INTERNAL,$="Unknown error status: "+I+" with message "+C.message),h=!0,v.To(new Me(A,$)),d.close()}else Pe(Cn,`RPC '${t}' stream ${i} received:`,_),v.Eo(_)}}),g(o,Xq.STAT_EVENT,b=>{b.stat===hw.PROXY?Pe(Cn,`RPC '${t}' stream ${i} detected buffering proxy`):b.stat===hw.NOPROXY&&Pe(Cn,`RPC '${t}' stream ${i} detected no buffering proxy`)}),setTimeout(()=>{v.Io()},0),v}}function rv(){return typeof document<"u"?document:null}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function Nh(e){return new rG(e,!0)}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class rk{constructor(t,n,r=1e3,i=1.5,s=6e4){this.oi=t,this.timerId=n,this.Do=r,this.vo=i,this.Co=s,this.Fo=0,this.Mo=null,this.xo=Date.now(),this.reset()}reset(){this.Fo=0}Oo(){this.Fo=this.Co}No(t){this.cancel();const n=Math.floor(this.Fo+this.Bo()),r=Math.max(0,Date.now()-this.xo),i=Math.max(0,n-r);i>0&&Pe("ExponentialBackoff",`Backing off for ${i} ms (base delay: ${this.Fo} ms, delay with jitter: ${n} ms, last attempt: ${r} ms ago)`),this.Mo=this.oi.enqueueAfterDelay(this.timerId,i,()=>(this.xo=Date.now(),t())),this.Fo*=this.vo,this.Fothis.Co&&(this.Fo=this.Co)}Lo(){this.Mo!==null&&(this.Mo.skipDelay(),this.Mo=null)}cancel(){this.Mo!==null&&(this.Mo.cancel(),this.Mo=null)}Bo(){return(Math.random()-.5)*this.Fo}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class ik{constructor(t,n,r,i,s,a,o,l){this.oi=t,this.ko=r,this.qo=i,this.connection=s,this.authCredentialsProvider=a,this.appCheckCredentialsProvider=o,this.listener=l,this.state=0,this.Qo=0,this.Ko=null,this.$o=null,this.stream=null,this.Uo=new rk(t,n)}Wo(){return this.state===1||this.state===5||this.Go()}Go(){return this.state===2||this.state===3}start(){this.state!==4?this.auth():this.zo()}async stop(){this.Wo()&&await this.close(0)}jo(){this.state=0,this.Uo.reset()}Ho(){this.Go()&&this.Ko===null&&(this.Ko=this.oi.enqueueAfterDelay(this.ko,6e4,()=>this.Jo()))}Yo(t){this.Zo(),this.stream.send(t)}async Jo(){if(this.Go())return this.close(0)}Zo(){this.Ko&&(this.Ko.cancel(),this.Ko=null)}Xo(){this.$o&&(this.$o.cancel(),this.$o=null)}async close(t,n){this.Zo(),this.Xo(),this.Uo.cancel(),this.Qo++,t!==4?this.Uo.reset():n&&n.code===ce.RESOURCE_EXHAUSTED?(Ai(n.toString()),Ai("Using maximum backoff delay to prevent overloading the backend."),this.Uo.Oo()):n&&n.code===ce.UNAUTHENTICATED&&this.state!==3&&(this.authCredentialsProvider.invalidateToken(),this.appCheckCredentialsProvider.invalidateToken()),this.stream!==null&&(this.e_(),this.stream.close(),this.stream=null),this.state=t,await this.listener.lo(n)}e_(){}auth(){this.state=1;const t=this.t_(this.Qo),n=this.Qo;Promise.all([this.authCredentialsProvider.getToken(),this.appCheckCredentialsProvider.getToken()]).then(([r,i])=>{this.Qo===n&&this.n_(r,i)},r=>{t(()=>{const i=new Me(ce.UNKNOWN,"Fetching auth token failed: "+r.message);return this.r_(i)})})}n_(t,n){const r=this.t_(this.Qo);this.stream=this.i_(t,n),this.stream.uo(()=>{r(()=>(this.state=2,this.$o=this.oi.enqueueAfterDelay(this.qo,1e4,()=>(this.Go()&&(this.state=3),Promise.resolve())),this.listener.uo()))}),this.stream.lo(i=>{r(()=>this.r_(i))}),this.stream.onMessage(i=>{r(()=>this.onMessage(i))})}zo(){this.state=5,this.Uo.No(async()=>{this.state=0,this.start()})}r_(t){return Pe("PersistentStream",`close with error: ${t}`),this.stream=null,this.close(4,t)}t_(t){return n=>{this.oi.enqueueAndForget(()=>this.Qo===t?n():(Pe("PersistentStream","stream callback skipped by getCloseGuardedDispatcher."),Promise.resolve()))}}}class WG extends ik{constructor(t,n,r,i,s,a){super(t,"listen_stream_connection_backoff","listen_stream_idle","health_check_timeout",n,r,i,a),this.serializer=s}i_(t,n){return this.connection.bo("Listen",t,n)}onMessage(t){this.Uo.reset();const n=aG(this.serializer,t),r=function(s){if(!("targetChange"in s))return We.min();const a=s.targetChange;return a.targetIds&&a.targetIds.length?We.min():a.readTime?oi(a.readTime):We.min()}(t);return this.listener.s_(n,r)}o_(t){const n={};n.database=Lg(this.serializer),n.addTarget=function(s,a){let o;const l=a.target;if(o=Rg(l)?{documents:uG(s,l)}:{query:cG(s,l)},o.targetId=a.targetId,a.resumeToken.approximateByteSize()>0){o.resumeToken=YI(s,a.resumeToken);const u=$g(s,a.expectedCount);u!==null&&(o.expectedCount=u)}else if(a.snapshotVersion.compareTo(We.min())>0){o.readTime=bf(s,a.snapshotVersion.toTimestamp());const u=$g(s,a.expectedCount);u!==null&&(o.expectedCount=u)}return o}(this.serializer,t);const r=fG(this.serializer,t);r&&(n.labels=r),this.Yo(n)}__(t){const n={};n.database=Lg(this.serializer),n.removeTarget=t,this.Yo(n)}}class GG extends ik{constructor(t,n,r,i,s,a){super(t,"write_stream_connection_backoff","write_stream_idle","health_check_timeout",n,r,i,a),this.serializer=s,this.a_=!1}get u_(){return this.a_}start(){this.a_=!1,this.lastStreamToken=void 0,super.start()}e_(){this.a_&&this.c_([])}i_(t,n){return this.connection.bo("Write",t,n)}onMessage(t){if(At(!!t.streamToken),this.lastStreamToken=t.streamToken,this.a_){this.Uo.reset();const n=lG(t.writeResults,t.commitTime),r=oi(t.commitTime);return this.listener.l_(r,n)}return At(!t.writeResults||t.writeResults.length===0),this.a_=!0,this.listener.h_()}P_(){const t={};t.database=Lg(this.serializer),this.Yo(t)}c_(t){const n={streamToken:this.lastStreamToken,writes:t.map(r=>oG(this.serializer,r))};this.Yo(n)}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class KG extends class{}{constructor(t,n,r,i){super(),this.authCredentials=t,this.appCheckCredentials=n,this.connection=r,this.serializer=i,this.I_=!1}T_(){if(this.I_)throw new Me(ce.FAILED_PRECONDITION,"The client has already been terminated.")}fo(t,n,r){return this.T_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then(([i,s])=>this.connection.fo(t,n,r,i,s)).catch(i=>{throw i.name==="FirebaseError"?(i.code===ce.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),i):new Me(ce.UNKNOWN,i.toString())})}So(t,n,r,i){return this.T_(),Promise.all([this.authCredentials.getToken(),this.appCheckCredentials.getToken()]).then(([s,a])=>this.connection.So(t,n,r,s,a,i)).catch(s=>{throw s.name==="FirebaseError"?(s.code===ce.UNAUTHENTICATED&&(this.authCredentials.invalidateToken(),this.appCheckCredentials.invalidateToken()),s):new Me(ce.UNKNOWN,s.toString())})}terminate(){this.I_=!0}}class YG{constructor(t,n){this.asyncQueue=t,this.onlineStateHandler=n,this.state="Unknown",this.d_=0,this.A_=null,this.R_=!0}V_(){this.d_===0&&(this.m_("Unknown"),this.A_=this.asyncQueue.enqueueAfterDelay("online_state_timeout",1e4,()=>(this.A_=null,this.f_("Backend didn't respond within 10 seconds."),this.m_("Offline"),Promise.resolve())))}g_(t){this.state==="Online"?this.m_("Unknown"):(this.d_++,this.d_>=1&&(this.p_(),this.f_(`Connection failed 1 times. Most recent error: ${t.toString()}`),this.m_("Offline")))}set(t){this.p_(),this.d_=0,t==="Online"&&(this.R_=!1),this.m_(t)}m_(t){t!==this.state&&(this.state=t,this.onlineStateHandler(t))}f_(t){const n=`Could not reach Cloud Firestore backend. ${t} +This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.`;this.R_?(Ai(n),this.R_=!1):Pe("OnlineStateTracker",n)}p_(){this.A_!==null&&(this.A_.cancel(),this.A_=null)}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class XG{constructor(t,n,r,i,s){this.localStore=t,this.datastore=n,this.asyncQueue=r,this.remoteSyncer={},this.y_=[],this.w_=new Map,this.S_=new Set,this.b_=[],this.D_=s,this.D_.Xs(a=>{r.enqueueAndForget(async()=>{Ea(this)&&(Pe("RemoteStore","Restarting streams for network reachability change."),await async function(l){const u=Qe(l);u.S_.add(4),await nc(u),u.v_.set("Unknown"),u.S_.delete(4),await Lh(u)}(this))})}),this.v_=new YG(r,i)}}async function Lh(e){if(Ea(e))for(const t of e.b_)await t(!0)}async function nc(e){for(const t of e.b_)await t(!1)}function sk(e,t){const n=Qe(e);n.w_.has(t.targetId)||(n.w_.set(t.targetId,t),Ab(n)?kb(n):jo(n).Go()&&Ib(n,t))}function ak(e,t){const n=Qe(e),r=jo(n);n.w_.delete(t),r.Go()&&ok(n,t),n.w_.size===0&&(r.Go()?r.Ho():Ea(n)&&n.v_.set("Unknown"))}function Ib(e,t){if(e.C_.Le(t.targetId),t.resumeToken.approximateByteSize()>0||t.snapshotVersion.compareTo(We.min())>0){const n=e.remoteSyncer.getRemoteKeysForTarget(t.targetId).size;t=t.withExpectedCount(n)}jo(e).o_(t)}function ok(e,t){e.C_.Le(t),jo(e).__(t)}function kb(e){e.C_=new ZW({getRemoteKeysForTarget:t=>e.remoteSyncer.getRemoteKeysForTarget(t),lt:t=>e.w_.get(t)||null,st:()=>e.datastore.serializer.databaseId}),jo(e).start(),e.v_.V_()}function Ab(e){return Ea(e)&&!jo(e).Wo()&&e.w_.size>0}function Ea(e){return Qe(e).S_.size===0}function lk(e){e.C_=void 0}async function QG(e){e.w_.forEach((t,n)=>{Ib(e,t)})}async function JG(e,t){lk(e),Ab(e)?(e.v_.g_(t),kb(e)):e.v_.set("Unknown")}async function ZG(e,t,n){if(e.v_.set("Online"),t instanceof KI&&t.state===2&&t.cause)try{await async function(i,s){const a=s.cause;for(const o of s.targetIds)i.w_.has(o)&&(await i.remoteSyncer.rejectListen(o,a),i.w_.delete(o),i.C_.removeTarget(o))}(e,t)}catch(r){Pe("RemoteStore","Failed to remove targets %s: %s ",t.targetIds.join(","),r),await _f(e,r)}else if(t instanceof yd?e.C_.Ge(t):t instanceof GI?e.C_.Xe(t):e.C_.He(t),!n.isEqual(We.min()))try{const r=await nk(e.localStore);n.compareTo(r)>=0&&await function(s,a){const o=s.C_._t(a);return o.targetChanges.forEach((l,u)=>{if(l.resumeToken.approximateByteSize()>0){const c=s.w_.get(u);c&&s.w_.set(u,c.withResumeToken(l.resumeToken,a))}}),o.targetMismatches.forEach((l,u)=>{const c=s.w_.get(l);if(!c)return;s.w_.set(l,c.withResumeToken(Fn.EMPTY_BYTE_STRING,c.snapshotVersion)),ok(s,l);const d=new rs(c.target,l,u,c.sequenceNumber);Ib(s,d)}),s.remoteSyncer.applyRemoteEvent(o)}(e,n)}catch(r){Pe("RemoteStore","Failed to raise snapshot:",r),await _f(e,r)}}async function _f(e,t,n){if(!Zu(t))throw t;e.S_.add(1),await nc(e),e.v_.set("Offline"),n||(n=()=>nk(e.localStore)),e.asyncQueue.enqueueRetryable(async()=>{Pe("RemoteStore","Retrying IndexedDB access"),await n(),e.S_.delete(1),await Lh(e)})}function uk(e,t){return t().catch(n=>_f(e,n,t))}async function Bh(e){const t=Qe(e),n=vs(t);let r=t.y_.length>0?t.y_[t.y_.length-1].batchId:-1;for(;eK(t);)try{const i=await NG(t.localStore,r);if(i===null){t.y_.length===0&&n.Ho();break}r=i.batchId,tK(t,i)}catch(i){await _f(t,i)}ck(t)&&dk(t)}function eK(e){return Ea(e)&&e.y_.length<10}function tK(e,t){e.y_.push(t);const n=vs(e);n.Go()&&n.u_&&n.c_(t.mutations)}function ck(e){return Ea(e)&&!vs(e).Wo()&&e.y_.length>0}function dk(e){vs(e).start()}async function nK(e){vs(e).P_()}async function rK(e){const t=vs(e);for(const n of e.y_)t.c_(n.mutations)}async function iK(e,t,n){const r=e.y_.shift(),i=wb.from(r,t,n);await uk(e,()=>e.remoteSyncer.applySuccessfulWrite(i)),await Bh(e)}async function sK(e,t){t&&vs(e).u_&&await async function(r,i){if(function(a){return XW(a)&&a!==ce.ABORTED}(i.code)){const s=r.y_.shift();vs(r).jo(),await uk(r,()=>r.remoteSyncer.rejectFailedWrite(s.batchId,i)),await Bh(r)}}(e,t),ck(e)&&dk(e)}async function Nw(e,t){const n=Qe(e);n.asyncQueue.verifyOperationInProgress(),Pe("RemoteStore","RemoteStore received new credentials");const r=Ea(n);n.S_.add(3),await nc(n),r&&n.v_.set("Unknown"),await n.remoteSyncer.handleCredentialChange(t),n.S_.delete(3),await Lh(n)}async function aK(e,t){const n=Qe(e);t?(n.S_.delete(2),await Lh(n)):t||(n.S_.add(2),await nc(n),n.v_.set("Unknown"))}function jo(e){return e.F_||(e.F_=function(n,r,i){const s=Qe(n);return s.T_(),new WG(r,s.connection,s.authCredentials,s.appCheckCredentials,s.serializer,i)}(e.datastore,e.asyncQueue,{uo:QG.bind(null,e),lo:JG.bind(null,e),s_:ZG.bind(null,e)}),e.b_.push(async t=>{t?(e.F_.jo(),Ab(e)?kb(e):e.v_.set("Unknown")):(await e.F_.stop(),lk(e))})),e.F_}function vs(e){return e.M_||(e.M_=function(n,r,i){const s=Qe(n);return s.T_(),new GG(r,s.connection,s.authCredentials,s.appCheckCredentials,s.serializer,i)}(e.datastore,e.asyncQueue,{uo:nK.bind(null,e),lo:sK.bind(null,e),h_:rK.bind(null,e),l_:iK.bind(null,e)}),e.b_.push(async t=>{t?(e.M_.jo(),await Bh(e)):(await e.M_.stop(),e.y_.length>0&&(Pe("RemoteStore",`Stopping write stream with ${e.y_.length} pending writes`),e.y_=[]))})),e.M_}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Pb{constructor(t,n,r,i,s){this.asyncQueue=t,this.timerId=n,this.targetTimeMs=r,this.op=i,this.removalCallback=s,this.deferred=new ls,this.then=this.deferred.promise.then.bind(this.deferred.promise),this.deferred.promise.catch(a=>{})}static createAndSchedule(t,n,r,i,s){const a=Date.now()+r,o=new Pb(t,n,a,i,s);return o.start(r),o}start(t){this.timerHandle=setTimeout(()=>this.handleDelayElapsed(),t)}skipDelay(){return this.handleDelayElapsed()}cancel(t){this.timerHandle!==null&&(this.clearTimeout(),this.deferred.reject(new Me(ce.CANCELLED,"Operation cancelled"+(t?": "+t:""))))}handleDelayElapsed(){this.asyncQueue.enqueueAndForget(()=>this.timerHandle!==null?(this.clearTimeout(),this.op().then(t=>this.deferred.resolve(t))):Promise.resolve())}clearTimeout(){this.timerHandle!==null&&(this.removalCallback(this),clearTimeout(this.timerHandle),this.timerHandle=null)}}function Vb(e,t){if(Ai("AsyncQueue",`${t}: ${e}`),Zu(e))return new Me(ce.UNAVAILABLE,`${t}: ${e}`);throw e}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class mo{constructor(t){this.comparator=t?(n,r)=>t(n,r)||$e.comparator(n.key,r.key):(n,r)=>$e.comparator(n.key,r.key),this.keyedMap=pl(),this.sortedSet=new $t(this.comparator)}static emptySet(t){return new mo(t.comparator)}has(t){return this.keyedMap.get(t)!=null}get(t){return this.keyedMap.get(t)}first(){return this.sortedSet.minKey()}last(){return this.sortedSet.maxKey()}isEmpty(){return this.sortedSet.isEmpty()}indexOf(t){const n=this.keyedMap.get(t);return n?this.sortedSet.indexOf(n):-1}get size(){return this.sortedSet.size}forEach(t){this.sortedSet.inorderTraversal((n,r)=>(t(n),!1))}add(t){const n=this.delete(t.key);return n.copy(n.keyedMap.insert(t.key,t),n.sortedSet.insert(t,null))}delete(t){const n=this.get(t);return n?this.copy(this.keyedMap.remove(t),this.sortedSet.remove(n)):this}isEqual(t){if(!(t instanceof mo)||this.size!==t.size)return!1;const n=this.sortedSet.getIterator(),r=t.sortedSet.getIterator();for(;n.hasNext();){const i=n.getNext().key,s=r.getNext().key;if(!i.isEqual(s))return!1}return!0}toString(){const t=[];return this.forEach(n=>{t.push(n.toString())}),t.length===0?"DocumentSet ()":`DocumentSet ( + `+t.join(` +`)+` +)`}copy(t,n){const r=new mo;return r.comparator=this.comparator,r.keyedMap=t,r.sortedSet=n,r}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Lw{constructor(){this.x_=new $t($e.comparator)}track(t){const n=t.doc.key,r=this.x_.get(n);r?t.type!==0&&r.type===3?this.x_=this.x_.insert(n,t):t.type===3&&r.type!==1?this.x_=this.x_.insert(n,{type:r.type,doc:t.doc}):t.type===2&&r.type===2?this.x_=this.x_.insert(n,{type:2,doc:t.doc}):t.type===2&&r.type===0?this.x_=this.x_.insert(n,{type:0,doc:t.doc}):t.type===1&&r.type===0?this.x_=this.x_.remove(n):t.type===1&&r.type===2?this.x_=this.x_.insert(n,{type:1,doc:r.doc}):t.type===0&&r.type===1?this.x_=this.x_.insert(n,{type:2,doc:t.doc}):Be():this.x_=this.x_.insert(n,t)}O_(){const t=[];return this.x_.inorderTraversal((n,r)=>{t.push(r)}),t}}class Co{constructor(t,n,r,i,s,a,o,l,u){this.query=t,this.docs=n,this.oldDocs=r,this.docChanges=i,this.mutatedKeys=s,this.fromCache=a,this.syncStateChanged=o,this.excludesMetadataChanges=l,this.hasCachedResults=u}static fromInitialDocuments(t,n,r,i,s){const a=[];return n.forEach(o=>{a.push({type:0,doc:o})}),new Co(t,n,mo.emptySet(n),a,r,i,!0,!1,s)}get hasPendingWrites(){return!this.mutatedKeys.isEmpty()}isEqual(t){if(!(this.fromCache===t.fromCache&&this.hasCachedResults===t.hasCachedResults&&this.syncStateChanged===t.syncStateChanged&&this.mutatedKeys.isEqual(t.mutatedKeys)&&Rh(this.query,t.query)&&this.docs.isEqual(t.docs)&&this.oldDocs.isEqual(t.oldDocs)))return!1;const n=this.docChanges,r=t.docChanges;if(n.length!==r.length)return!1;for(let i=0;iOI(t),Rh),this.onlineState="Unknown",this.B_=new Set}}async function uK(e,t){const n=Qe(e),r=t.query;let i=!1,s=n.queries.get(r);if(s||(i=!0,s=new oK),i)try{s.N_=await n.onListen(r)}catch(a){const o=Vb(a,`Initialization of query '${Dg(t.query)}' failed`);return void t.onError(o)}n.queries.set(r,s),s.listeners.push(t),t.L_(n.onlineState),s.N_&&t.k_(s.N_)&&Ob(n)}async function cK(e,t){const n=Qe(e),r=t.query;let i=!1;const s=n.queries.get(r);if(s){const a=s.listeners.indexOf(t);a>=0&&(s.listeners.splice(a,1),i=s.listeners.length===0)}if(i)return n.queries.delete(r),n.onUnlisten(r)}function dK(e,t){const n=Qe(e);let r=!1;for(const i of t){const s=i.query,a=n.queries.get(s);if(a){for(const o of a.listeners)o.k_(i)&&(r=!0);a.N_=i}}r&&Ob(n)}function fK(e,t,n){const r=Qe(e),i=r.queries.get(t);if(i)for(const s of i.listeners)s.onError(n);r.queries.delete(t)}function Ob(e){e.B_.forEach(t=>{t.next()})}class hK{constructor(t,n,r){this.query=t,this.q_=n,this.Q_=!1,this.K_=null,this.onlineState="Unknown",this.options=r||{}}k_(t){if(!this.options.includeMetadataChanges){const r=[];for(const i of t.docChanges)i.type!==3&&r.push(i);t=new Co(t.query,t.docs,t.oldDocs,r,t.mutatedKeys,t.fromCache,t.syncStateChanged,!0,t.hasCachedResults)}let n=!1;return this.Q_?this.U_(t)&&(this.q_.next(t),n=!0):this.W_(t,this.onlineState)&&(this.G_(t),n=!0),this.K_=t,n}onError(t){this.q_.error(t)}L_(t){this.onlineState=t;let n=!1;return this.K_&&!this.Q_&&this.W_(this.K_,t)&&(this.G_(this.K_),n=!0),n}W_(t,n){if(!t.fromCache)return!0;const r=n!=="Offline";return(!this.options.z_||!r)&&(!t.docs.isEmpty()||t.hasCachedResults||n==="Offline")}U_(t){if(t.docChanges.length>0)return!0;const n=this.K_&&this.K_.hasPendingWrites!==t.hasPendingWrites;return!(!t.syncStateChanged&&!n)&&this.options.includeMetadataChanges===!0}G_(t){t=Co.fromInitialDocuments(t.query,t.docs,t.mutatedKeys,t.fromCache,t.hasCachedResults),this.Q_=!0,this.q_.next(t)}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class fk{constructor(t){this.key=t}}class hk{constructor(t){this.key=t}}class mK{constructor(t,n){this.query=t,this.ta=n,this.na=null,this.hasCachedResults=!1,this.current=!1,this.ra=nt(),this.mutatedKeys=nt(),this.ia=RI(t),this.sa=new mo(this.ia)}get oa(){return this.ta}_a(t,n){const r=n?n.aa:new Lw,i=n?n.sa:this.sa;let s=n?n.mutatedKeys:this.mutatedKeys,a=i,o=!1;const l=this.query.limitType==="F"&&i.size===this.query.limit?i.last():null,u=this.query.limitType==="L"&&i.size===this.query.limit?i.first():null;if(t.inorderTraversal((c,d)=>{const f=i.get(c),h=Mh(this.query,d)?d:null,v=!!f&&this.mutatedKeys.has(f.key),g=!!h&&(h.hasLocalMutations||this.mutatedKeys.has(h.key)&&h.hasCommittedMutations);let b=!1;f&&h?f.data.isEqual(h.data)?v!==g&&(r.track({type:3,doc:h}),b=!0):this.ua(f,h)||(r.track({type:2,doc:h}),b=!0,(l&&this.ia(h,l)>0||u&&this.ia(h,u)<0)&&(o=!0)):!f&&h?(r.track({type:0,doc:h}),b=!0):f&&!h&&(r.track({type:1,doc:f}),b=!0,(l||u)&&(o=!0)),b&&(h?(a=a.add(h),s=g?s.add(c):s.delete(c)):(a=a.delete(c),s=s.delete(c)))}),this.query.limit!==null)for(;a.size>this.query.limit;){const c=this.query.limitType==="F"?a.last():a.first();a=a.delete(c.key),s=s.delete(c.key),r.track({type:1,doc:c})}return{sa:a,aa:r,Hi:o,mutatedKeys:s}}ua(t,n){return t.hasLocalMutations&&n.hasCommittedMutations&&!n.hasLocalMutations}applyChanges(t,n,r){const i=this.sa;this.sa=t.sa,this.mutatedKeys=t.mutatedKeys;const s=t.aa.O_();s.sort((u,c)=>function(f,h){const v=g=>{switch(g){case 0:return 1;case 2:case 3:return 2;case 1:return 0;default:return Be()}};return v(f)-v(h)}(u.type,c.type)||this.ia(u.doc,c.doc)),this.ca(r);const a=n?this.la():[],o=this.ra.size===0&&this.current?1:0,l=o!==this.na;return this.na=o,s.length!==0||l?{snapshot:new Co(this.query,t.sa,i,s,t.mutatedKeys,o===0,l,!1,!!r&&r.resumeToken.approximateByteSize()>0),ha:a}:{ha:a}}L_(t){return this.current&&t==="Offline"?(this.current=!1,this.applyChanges({sa:this.sa,aa:new Lw,mutatedKeys:this.mutatedKeys,Hi:!1},!1)):{ha:[]}}Pa(t){return!this.ta.has(t)&&!!this.sa.has(t)&&!this.sa.get(t).hasLocalMutations}ca(t){t&&(t.addedDocuments.forEach(n=>this.ta=this.ta.add(n)),t.modifiedDocuments.forEach(n=>{}),t.removedDocuments.forEach(n=>this.ta=this.ta.delete(n)),this.current=t.current)}la(){if(!this.current)return[];const t=this.ra;this.ra=nt(),this.sa.forEach(r=>{this.Pa(r.key)&&(this.ra=this.ra.add(r.key))});const n=[];return t.forEach(r=>{this.ra.has(r)||n.push(new hk(r))}),this.ra.forEach(r=>{t.has(r)||n.push(new fk(r))}),n}Ia(t){this.ta=t._s,this.ra=nt();const n=this._a(t.documents);return this.applyChanges(n,!0)}Ta(){return Co.fromInitialDocuments(this.query,this.sa,this.mutatedKeys,this.na===0,this.hasCachedResults)}}class vK{constructor(t,n,r){this.query=t,this.targetId=n,this.view=r}}class gK{constructor(t){this.key=t,this.Ea=!1}}class pK{constructor(t,n,r,i,s,a){this.localStore=t,this.remoteStore=n,this.eventManager=r,this.sharedClientState=i,this.currentUser=s,this.maxConcurrentLimboResolutions=a,this.da={},this.Aa=new Bo(o=>OI(o),Rh),this.Ra=new Map,this.Va=new Set,this.ma=new $t($e.comparator),this.fa=new Map,this.ga=new Cb,this.pa={},this.ya=new Map,this.wa=So.Bn(),this.onlineState="Unknown",this.Sa=void 0}get isPrimaryClient(){return this.Sa===!0}}async function yK(e,t){const n=kK(e);let r,i;const s=n.Aa.get(t);if(s)r=s.targetId,n.sharedClientState.addLocalQueryTarget(r),i=s.view.Ta();else{const a=await LG(n.localStore,Pi(t)),o=n.sharedClientState.addLocalQueryTarget(a.targetId);r=a.targetId,i=await bK(n,t,r,o==="current",a.resumeToken),n.isPrimaryClient&&sk(n.remoteStore,a)}return i}async function bK(e,t,n,r,i){e.ba=(d,f,h)=>async function(g,b,p,_){let w=b.view._a(p);w.Hi&&(w=await Dw(g.localStore,b.query,!1).then(({documents:A})=>b.view._a(A,w)));const C=_&&_.targetChanges.get(b.targetId),I=b.view.applyChanges(w,g.isPrimaryClient,C);return jw(g,b.targetId,I.ha),I.snapshot}(e,d,f,h);const s=await Dw(e.localStore,t,!0),a=new mK(t,s._s),o=a._a(s.documents),l=tc.createSynthesizedTargetChangeForCurrentChange(n,r&&e.onlineState!=="Offline",i),u=a.applyChanges(o,e.isPrimaryClient,l);jw(e,n,u.ha);const c=new vK(t,n,a);return e.Aa.set(t,c),e.Ra.has(n)?e.Ra.get(n).push(t):e.Ra.set(n,[t]),u.snapshot}async function _K(e,t){const n=Qe(e),r=n.Aa.get(t),i=n.Ra.get(r.targetId);if(i.length>1)return n.Ra.set(r.targetId,i.filter(s=>!Rh(s,t))),void n.Aa.delete(t);n.isPrimaryClient?(n.sharedClientState.removeLocalQueryTarget(r.targetId),n.sharedClientState.isActiveQueryTarget(r.targetId)||await Bg(n.localStore,r.targetId,!1).then(()=>{n.sharedClientState.clearQueryState(r.targetId),ak(n.remoteStore,r.targetId),jg(n,r.targetId)}).catch(Ju)):(jg(n,r.targetId),await Bg(n.localStore,r.targetId,!0))}async function wK(e,t,n){const r=AK(e);try{const i=await function(a,o){const l=Qe(a),u=nn.now(),c=o.reduce((h,v)=>h.add(v.key),nt());let d,f;return l.persistence.runTransaction("Locally write mutations","readwrite",h=>{let v=Vi(),g=nt();return l.ts.getEntries(h,c).next(b=>{v=b,v.forEach((p,_)=>{_.isValidDocument()||(g=g.add(p))})}).next(()=>l.localDocuments.getOverlayedDocuments(h,v)).next(b=>{d=b;const p=[];for(const _ of o){const w=qW(_,d.get(_.key).overlayedDocument);w!=null&&p.push(new Ta(_.key,w,CI(w.value.mapValue),wi.exists(!0)))}return l.mutationQueue.addMutationBatch(h,u,p,o)}).next(b=>{f=b;const p=b.applyToLocalDocumentSet(d,g);return l.documentOverlayCache.saveOverlays(h,b.batchId,p)})}).then(()=>({batchId:f.batchId,changes:DI(d)}))}(r.localStore,t);r.sharedClientState.addPendingMutation(i.batchId),function(a,o,l){let u=a.pa[a.currentUser.toKey()];u||(u=new $t(dt)),u=u.insert(o,l),a.pa[a.currentUser.toKey()]=u}(r,i.batchId,n),await rc(r,i.changes),await Bh(r.remoteStore)}catch(i){const s=Vb(i,"Failed to persist write");n.reject(s)}}async function mk(e,t){const n=Qe(e);try{const r=await $G(n.localStore,t);t.targetChanges.forEach((i,s)=>{const a=n.fa.get(s);a&&(At(i.addedDocuments.size+i.modifiedDocuments.size+i.removedDocuments.size<=1),i.addedDocuments.size>0?a.Ea=!0:i.modifiedDocuments.size>0?At(a.Ea):i.removedDocuments.size>0&&(At(a.Ea),a.Ea=!1))}),await rc(n,r,t)}catch(r){await Ju(r)}}function Bw(e,t,n){const r=Qe(e);if(r.isPrimaryClient&&n===0||!r.isPrimaryClient&&n===1){const i=[];r.Aa.forEach((s,a)=>{const o=a.view.L_(t);o.snapshot&&i.push(o.snapshot)}),function(a,o){const l=Qe(a);l.onlineState=o;let u=!1;l.queries.forEach((c,d)=>{for(const f of d.listeners)f.L_(o)&&(u=!0)}),u&&Ob(l)}(r.eventManager,t),i.length&&r.da.s_(i),r.onlineState=t,r.isPrimaryClient&&r.sharedClientState.setOnlineState(t)}}async function xK(e,t,n){const r=Qe(e);r.sharedClientState.updateQueryState(t,"rejected",n);const i=r.fa.get(t),s=i&&i.key;if(s){let a=new $t($e.comparator);a=a.insert(s,In.newNoDocument(s,We.min()));const o=nt().add(s),l=new Fh(We.min(),new Map,new $t(dt),a,o);await mk(r,l),r.ma=r.ma.remove(s),r.fa.delete(t),Rb(r)}else await Bg(r.localStore,t,!1).then(()=>jg(r,t,n)).catch(Ju)}async function SK(e,t){const n=Qe(e),r=t.batch.batchId;try{const i=await DG(n.localStore,t);gk(n,r,null),vk(n,r),n.sharedClientState.updateMutationState(r,"acknowledged"),await rc(n,i)}catch(i){await Ju(i)}}async function CK(e,t,n){const r=Qe(e);try{const i=await function(a,o){const l=Qe(a);return l.persistence.runTransaction("Reject batch","readwrite-primary",u=>{let c;return l.mutationQueue.lookupMutationBatch(u,o).next(d=>(At(d!==null),c=d.keys(),l.mutationQueue.removeMutationBatch(u,d))).next(()=>l.mutationQueue.performConsistencyCheck(u)).next(()=>l.documentOverlayCache.removeOverlaysForBatchId(u,c,o)).next(()=>l.localDocuments.recalculateAndSaveOverlaysForDocumentKeys(u,c)).next(()=>l.localDocuments.getDocuments(u,c))})}(r.localStore,t);gk(r,t,n),vk(r,t),r.sharedClientState.updateMutationState(t,"rejected",n),await rc(r,i)}catch(i){await Ju(i)}}function vk(e,t){(e.ya.get(t)||[]).forEach(n=>{n.resolve()}),e.ya.delete(t)}function gk(e,t,n){const r=Qe(e);let i=r.pa[r.currentUser.toKey()];if(i){const s=i.get(t);s&&(n?s.reject(n):s.resolve(),i=i.remove(t)),r.pa[r.currentUser.toKey()]=i}}function jg(e,t,n=null){e.sharedClientState.removeLocalQueryTarget(t);for(const r of e.Ra.get(t))e.Aa.delete(r),n&&e.da.Da(r,n);e.Ra.delete(t),e.isPrimaryClient&&e.ga.Vr(t).forEach(r=>{e.ga.containsKey(r)||pk(e,r)})}function pk(e,t){e.Va.delete(t.path.canonicalString());const n=e.ma.get(t);n!==null&&(ak(e.remoteStore,n),e.ma=e.ma.remove(t),e.fa.delete(n),Rb(e))}function jw(e,t,n){for(const r of n)r instanceof fk?(e.ga.addReference(r.key,t),TK(e,r)):r instanceof hk?(Pe("SyncEngine","Document no longer in limbo: "+r.key),e.ga.removeReference(r.key,t),e.ga.containsKey(r.key)||pk(e,r.key)):Be()}function TK(e,t){const n=t.key,r=n.path.canonicalString();e.ma.get(n)||e.Va.has(r)||(Pe("SyncEngine","New document in limbo: "+n),e.Va.add(r),Rb(e))}function Rb(e){for(;e.Va.size>0&&e.ma.size{a.push(r.ba(l,t,n).then(u=>{if((u||n)&&r.isPrimaryClient&&r.sharedClientState.updateQueryState(l.targetId,u!=null&&u.fromCache?"not-current":"current"),u){i.push(u);const c=Eb.Ki(l.targetId,u);s.push(c)}}))}),await Promise.all(a),r.da.s_(i),await async function(l,u){const c=Qe(l);try{await c.persistence.runTransaction("notifyLocalViewChanges","readwrite",d=>me.forEach(u,f=>me.forEach(f.qi,h=>c.persistence.referenceDelegate.addReference(d,f.targetId,h)).next(()=>me.forEach(f.Qi,h=>c.persistence.referenceDelegate.removeReference(d,f.targetId,h)))))}catch(d){if(!Zu(d))throw d;Pe("LocalStore","Failed to update sequence numbers: "+d)}for(const d of u){const f=d.targetId;if(!d.fromCache){const h=c.Zi.get(f),v=h.snapshotVersion,g=h.withLastLimboFreeSnapshotVersion(v);c.Zi=c.Zi.insert(f,g)}}}(r.localStore,s))}async function EK(e,t){const n=Qe(e);if(!n.currentUser.isEqual(t)){Pe("SyncEngine","User change. New user:",t.toKey());const r=await tk(n.localStore,t);n.currentUser=t,function(s,a){s.ya.forEach(o=>{o.forEach(l=>{l.reject(new Me(ce.CANCELLED,a))})}),s.ya.clear()}(n,"'waitForPendingWrites' promise is rejected due to a user change."),n.sharedClientState.handleUserChange(t,r.removedBatchIds,r.addedBatchIds),await rc(n,r.rs)}}function IK(e,t){const n=Qe(e),r=n.fa.get(t);if(r&&r.Ea)return nt().add(r.key);{let i=nt();const s=n.Ra.get(t);if(!s)return i;for(const a of s){const o=n.Aa.get(a);i=i.unionWith(o.view.oa)}return i}}function kK(e){const t=Qe(e);return t.remoteStore.remoteSyncer.applyRemoteEvent=mk.bind(null,t),t.remoteStore.remoteSyncer.getRemoteKeysForTarget=IK.bind(null,t),t.remoteStore.remoteSyncer.rejectListen=xK.bind(null,t),t.da.s_=dK.bind(null,t.eventManager),t.da.Da=fK.bind(null,t.eventManager),t}function AK(e){const t=Qe(e);return t.remoteStore.remoteSyncer.applySuccessfulWrite=SK.bind(null,t),t.remoteStore.remoteSyncer.rejectFailedWrite=CK.bind(null,t),t}class zw{constructor(){this.synchronizeTabs=!1}async initialize(t){this.serializer=Nh(t.databaseInfo.databaseId),this.sharedClientState=this.createSharedClientState(t),this.persistence=this.createPersistence(t),await this.persistence.start(),this.localStore=this.createLocalStore(t),this.gcScheduler=this.createGarbageCollectionScheduler(t,this.localStore),this.indexBackfillerScheduler=this.createIndexBackfillerScheduler(t,this.localStore)}createGarbageCollectionScheduler(t,n){return null}createIndexBackfillerScheduler(t,n){return null}createLocalStore(t){return MG(this.persistence,new OG,t.initialUser,this.serializer)}createPersistence(t){return new PG(Tb.Hr,this.serializer)}createSharedClientState(t){return new jG}async terminate(){this.gcScheduler&&this.gcScheduler.stop(),await this.sharedClientState.shutdown(),await this.persistence.shutdown()}}class PK{async initialize(t,n){this.localStore||(this.localStore=t.localStore,this.sharedClientState=t.sharedClientState,this.datastore=this.createDatastore(n),this.remoteStore=this.createRemoteStore(n),this.eventManager=this.createEventManager(n),this.syncEngine=this.createSyncEngine(n,!t.synchronizeTabs),this.sharedClientState.onlineStateHandler=r=>Bw(this.syncEngine,r,1),this.remoteStore.remoteSyncer.handleCredentialChange=EK.bind(null,this.syncEngine),await aK(this.remoteStore,this.syncEngine.isPrimaryClient))}createEventManager(t){return function(){return new lK}()}createDatastore(t){const n=Nh(t.databaseInfo.databaseId),r=function(s){return new qG(s)}(t.databaseInfo);return function(s,a,o,l){return new KG(s,a,o,l)}(t.authCredentials,t.appCheckCredentials,r,n)}createRemoteStore(t){return function(r,i,s,a,o){return new XG(r,i,s,a,o)}(this.localStore,this.datastore,t.asyncQueue,n=>Bw(this.syncEngine,n,0),function(){return Fw.v()?new Fw:new zG}())}createSyncEngine(t,n){return function(i,s,a,o,l,u,c){const d=new pK(i,s,a,o,l,u);return c&&(d.Sa=!0),d}(this.localStore,this.remoteStore,this.eventManager,this.sharedClientState,t.initialUser,t.maxConcurrentLimboResolutions,n)}terminate(){return async function(n){const r=Qe(n);Pe("RemoteStore","RemoteStore shutting down."),r.S_.add(5),await nc(r),r.D_.shutdown(),r.v_.set("Unknown")}(this.remoteStore)}}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + *//** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class VK{constructor(t){this.observer=t,this.muted=!1}next(t){this.observer.next&&this.Fa(this.observer.next,t)}error(t){this.observer.error?this.Fa(this.observer.error,t):Ai("Uncaught Error in snapshot listener:",t.toString())}Ma(){this.muted=!0}Fa(t,n){this.muted||setTimeout(()=>{this.muted||t(n)},0)}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class OK{constructor(t,n,r,i){this.authCredentials=t,this.appCheckCredentials=n,this.asyncQueue=r,this.databaseInfo=i,this.user=En.UNAUTHENTICATED,this.clientId=wI.V(),this.authCredentialListener=()=>Promise.resolve(),this.appCheckCredentialListener=()=>Promise.resolve(),this.authCredentials.start(r,async s=>{Pe("FirestoreClient","Received user=",s.uid),await this.authCredentialListener(s),this.user=s}),this.appCheckCredentials.start(r,s=>(Pe("FirestoreClient","Received new app check token=",s),this.appCheckCredentialListener(s,this.user)))}async getConfiguration(){return{asyncQueue:this.asyncQueue,databaseInfo:this.databaseInfo,clientId:this.clientId,authCredentials:this.authCredentials,appCheckCredentials:this.appCheckCredentials,initialUser:this.user,maxConcurrentLimboResolutions:100}}setCredentialChangeListener(t){this.authCredentialListener=t}setAppCheckTokenChangeListener(t){this.appCheckCredentialListener=t}verifyNotTerminated(){if(this.asyncQueue.isShuttingDown)throw new Me(ce.FAILED_PRECONDITION,"The client has already been terminated.")}terminate(){this.asyncQueue.enterRestrictedMode();const t=new ls;return this.asyncQueue.enqueueAndForgetEvenWhileRestricted(async()=>{try{this._onlineComponents&&await this._onlineComponents.terminate(),this._offlineComponents&&await this._offlineComponents.terminate(),this.authCredentials.shutdown(),this.appCheckCredentials.shutdown(),t.resolve()}catch(n){const r=Vb(n,"Failed to shutdown persistence");t.reject(r)}}),t.promise}}async function iv(e,t){e.asyncQueue.verifyOperationInProgress(),Pe("FirestoreClient","Initializing OfflineComponentProvider");const n=await e.getConfiguration();await t.initialize(n);let r=n.initialUser;e.setCredentialChangeListener(async i=>{r.isEqual(i)||(await tk(t.localStore,i),r=i)}),t.persistence.setDatabaseDeletedListener(()=>e.terminate()),e._offlineComponents=t}async function Uw(e,t){e.asyncQueue.verifyOperationInProgress();const n=await MK(e);Pe("FirestoreClient","Initializing OnlineComponentProvider");const r=await e.getConfiguration();await t.initialize(n,r),e.setCredentialChangeListener(i=>Nw(t.remoteStore,i)),e.setAppCheckTokenChangeListener((i,s)=>Nw(t.remoteStore,s)),e._onlineComponents=t}function RK(e){return e.name==="FirebaseError"?e.code===ce.FAILED_PRECONDITION||e.code===ce.UNIMPLEMENTED:!(typeof DOMException<"u"&&e instanceof DOMException)||e.code===22||e.code===20||e.code===11}async function MK(e){if(!e._offlineComponents)if(e._uninitializedComponentsProvider){Pe("FirestoreClient","Using user provided OfflineComponentProvider");try{await iv(e,e._uninitializedComponentsProvider._offline)}catch(t){const n=t;if(!RK(n))throw n;bo("Error using user provided cache. Falling back to memory cache: "+n),await iv(e,new zw)}}else Pe("FirestoreClient","Using default OfflineComponentProvider"),await iv(e,new zw);return e._offlineComponents}async function yk(e){return e._onlineComponents||(e._uninitializedComponentsProvider?(Pe("FirestoreClient","Using user provided OnlineComponentProvider"),await Uw(e,e._uninitializedComponentsProvider._online)):(Pe("FirestoreClient","Using default OnlineComponentProvider"),await Uw(e,new PK))),e._onlineComponents}function DK(e){return yk(e).then(t=>t.syncEngine)}async function $K(e){const t=await yk(e),n=t.eventManager;return n.onListen=yK.bind(null,t.syncEngine),n.onUnlisten=_K.bind(null,t.syncEngine),n}function FK(e,t,n={}){const r=new ls;return e.asyncQueue.enqueueAndForget(async()=>function(s,a,o,l,u){const c=new VK({next:f=>{a.enqueueAndForget(()=>cK(s,d)),f.fromCache&&l.source==="server"?u.reject(new Me(ce.UNAVAILABLE,'Failed to get documents from server. (However, these documents may exist in the local cache. Run again without setting source to "server" to retrieve the cached documents.)')):u.resolve(f)},error:f=>u.reject(f)}),d=new hK(o,c,{includeMetadataChanges:!0,z_:!0});return uK(s,d)}(await $K(e),e.asyncQueue,t,n,r)),r.promise}/** + * @license + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function bk(e){const t={};return e.timeoutSeconds!==void 0&&(t.timeoutSeconds=e.timeoutSeconds),t}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const Hw=new Map;/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function _k(e,t,n){if(!n)throw new Me(ce.INVALID_ARGUMENT,`Function ${e}() cannot be called with an empty ${t}.`)}function NK(e,t,n,r){if(t===!0&&r===!0)throw new Me(ce.INVALID_ARGUMENT,`${e} and ${n} cannot be used together.`)}function qw(e){if(!$e.isDocumentKey(e))throw new Me(ce.INVALID_ARGUMENT,`Invalid document reference. Document references must have an even number of segments, but ${e} has ${e.length}.`)}function Ww(e){if($e.isDocumentKey(e))throw new Me(ce.INVALID_ARGUMENT,`Invalid collection reference. Collection references must have an odd number of segments, but ${e} has ${e.length}.`)}function Mb(e){if(e===void 0)return"undefined";if(e===null)return"null";if(typeof e=="string")return e.length>20&&(e=`${e.substring(0,20)}...`),JSON.stringify(e);if(typeof e=="number"||typeof e=="boolean")return""+e;if(typeof e=="object"){if(e instanceof Array)return"an array";{const t=function(r){return r.constructor?r.constructor.name:null}(e);return t?`a custom ${t} object`:"an object"}}return typeof e=="function"?"a function":Be()}function wu(e,t){if("_delegate"in e&&(e=e._delegate),!(e instanceof t)){if(t.name===e.constructor.name)throw new Me(ce.INVALID_ARGUMENT,"Type does not match the expected instance. Did you pass a reference from a different Firestore SDK?");{const n=Mb(e);throw new Me(ce.INVALID_ARGUMENT,`Expected type '${t.name}', but it was: ${n}`)}}return e}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Gw{constructor(t){var n,r;if(t.host===void 0){if(t.ssl!==void 0)throw new Me(ce.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host="firestore.googleapis.com",this.ssl=!0}else this.host=t.host,this.ssl=(n=t.ssl)===null||n===void 0||n;if(this.credentials=t.credentials,this.ignoreUndefinedProperties=!!t.ignoreUndefinedProperties,this.localCache=t.localCache,t.cacheSizeBytes===void 0)this.cacheSizeBytes=41943040;else{if(t.cacheSizeBytes!==-1&&t.cacheSizeBytes<1048576)throw new Me(ce.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=t.cacheSizeBytes}NK("experimentalForceLongPolling",t.experimentalForceLongPolling,"experimentalAutoDetectLongPolling",t.experimentalAutoDetectLongPolling),this.experimentalForceLongPolling=!!t.experimentalForceLongPolling,this.experimentalForceLongPolling?this.experimentalAutoDetectLongPolling=!1:t.experimentalAutoDetectLongPolling===void 0?this.experimentalAutoDetectLongPolling=!0:this.experimentalAutoDetectLongPolling=!!t.experimentalAutoDetectLongPolling,this.experimentalLongPollingOptions=bk((r=t.experimentalLongPollingOptions)!==null&&r!==void 0?r:{}),function(s){if(s.timeoutSeconds!==void 0){if(isNaN(s.timeoutSeconds))throw new Me(ce.INVALID_ARGUMENT,`invalid long polling timeout: ${s.timeoutSeconds} (must not be NaN)`);if(s.timeoutSeconds<5)throw new Me(ce.INVALID_ARGUMENT,`invalid long polling timeout: ${s.timeoutSeconds} (minimum allowed value is 5)`);if(s.timeoutSeconds>30)throw new Me(ce.INVALID_ARGUMENT,`invalid long polling timeout: ${s.timeoutSeconds} (maximum allowed value is 30)`)}}(this.experimentalLongPollingOptions),this.useFetchStreams=!!t.useFetchStreams}isEqual(t){return this.host===t.host&&this.ssl===t.ssl&&this.credentials===t.credentials&&this.cacheSizeBytes===t.cacheSizeBytes&&this.experimentalForceLongPolling===t.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===t.experimentalAutoDetectLongPolling&&function(r,i){return r.timeoutSeconds===i.timeoutSeconds}(this.experimentalLongPollingOptions,t.experimentalLongPollingOptions)&&this.ignoreUndefinedProperties===t.ignoreUndefinedProperties&&this.useFetchStreams===t.useFetchStreams}}class jh{constructor(t,n,r,i){this._authCredentials=t,this._appCheckCredentials=n,this._databaseId=r,this._app=i,this.type="firestore-lite",this._persistenceKey="(lite)",this._settings=new Gw({}),this._settingsFrozen=!1}get app(){if(!this._app)throw new Me(ce.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this._app}get _initialized(){return this._settingsFrozen}get _terminated(){return this._terminateTask!==void 0}_setSettings(t){if(this._settingsFrozen)throw new Me(ce.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this._settings=new Gw(t),t.credentials!==void 0&&(this._authCredentials=function(r){if(!r)return new Zq;switch(r.type){case"firstParty":return new rW(r.sessionIndex||"0",r.iamToken||null,r.authTokenFactory||null);case"provider":return r.client;default:throw new Me(ce.INVALID_ARGUMENT,"makeAuthCredentialsProvider failed due to invalid credential type")}}(t.credentials))}_getSettings(){return this._settings}_freezeSettings(){return this._settingsFrozen=!0,this._settings}_delete(){return this._terminateTask||(this._terminateTask=this._terminate()),this._terminateTask}toJSON(){return{app:this._app,databaseId:this._databaseId,settings:this._settings}}_terminate(){return function(n){const r=Hw.get(n);r&&(Pe("ComponentProvider","Removing Datastore"),Hw.delete(n),r.terminate())}(this),Promise.resolve()}}function LK(e,t,n,r={}){var i;const s=(e=wu(e,jh))._getSettings(),a=`${t}:${n}`;if(s.host!=="firestore.googleapis.com"&&s.host!==a&&bo("Host has been set in both settings() and connectFirestoreEmulator(), emulator host will be used."),e._setSettings(Object.assign(Object.assign({},s),{host:a,ssl:!1})),r.mockUserToken){let o,l;if(typeof r.mockUserToken=="string")o=r.mockUserToken,l=En.MOCK_USER;else{o=VU(r.mockUserToken,(i=e._app)===null||i===void 0?void 0:i.options.projectId);const u=r.mockUserToken.sub||r.mockUserToken.user_id;if(!u)throw new Me(ce.INVALID_ARGUMENT,"mockUserToken must contain 'sub' or 'user_id' field!");l=new En(u)}e._authCredentials=new eW(new _I(o,l))}}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class zh{constructor(t,n,r){this.converter=n,this._query=r,this.type="query",this.firestore=t}withConverter(t){return new zh(this.firestore,t,this._query)}}class wr{constructor(t,n,r){this.converter=n,this._key=r,this.type="document",this.firestore=t}get _path(){return this._key.path}get id(){return this._key.path.lastSegment()}get path(){return this._key.path.canonicalString()}get parent(){return new us(this.firestore,this.converter,this._key.path.popLast())}withConverter(t){return new wr(this.firestore,t,this._key)}}class us extends zh{constructor(t,n,r){super(t,n,VI(r)),this._path=r,this.type="collection"}get id(){return this._query.path.lastSegment()}get path(){return this._query.path.canonicalString()}get parent(){const t=this._path.popLast();return t.isEmpty()?null:new wr(this.firestore,null,new $e(t))}withConverter(t){return new us(this.firestore,t,this._path)}}function Db(e,t,...n){if(e=iu(e),_k("collection","path",t),e instanceof jh){const r=Rt.fromString(t,...n);return Ww(r),new us(e,null,r)}{if(!(e instanceof wr||e instanceof us))throw new Me(ce.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const r=e._path.child(Rt.fromString(t,...n));return Ww(r),new us(e.firestore,null,r)}}function wk(e,t,...n){if(e=iu(e),arguments.length===1&&(t=wI.V()),_k("doc","path",t),e instanceof jh){const r=Rt.fromString(t,...n);return qw(r),new wr(e,null,new $e(r))}{if(!(e instanceof wr||e instanceof us))throw new Me(ce.INVALID_ARGUMENT,"Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore");const r=e._path.child(Rt.fromString(t,...n));return qw(r),new wr(e.firestore,e instanceof us?e.converter:null,new $e(r))}}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class BK{constructor(){this.za=Promise.resolve(),this.ja=[],this.Ha=!1,this.Ja=[],this.Ya=null,this.Za=!1,this.Xa=!1,this.eu=[],this.Uo=new rk(this,"async_queue_retry"),this.tu=()=>{const n=rv();n&&Pe("AsyncQueue","Visibility state changed to "+n.visibilityState),this.Uo.Lo()};const t=rv();t&&typeof t.addEventListener=="function"&&t.addEventListener("visibilitychange",this.tu)}get isShuttingDown(){return this.Ha}enqueueAndForget(t){this.enqueue(t)}enqueueAndForgetEvenWhileRestricted(t){this.nu(),this.ru(t)}enterRestrictedMode(t){if(!this.Ha){this.Ha=!0,this.Xa=t||!1;const n=rv();n&&typeof n.removeEventListener=="function"&&n.removeEventListener("visibilitychange",this.tu)}}enqueue(t){if(this.nu(),this.Ha)return new Promise(()=>{});const n=new ls;return this.ru(()=>this.Ha&&this.Xa?Promise.resolve():(t().then(n.resolve,n.reject),n.promise)).then(()=>n.promise)}enqueueRetryable(t){this.enqueueAndForget(()=>(this.ja.push(t),this.iu()))}async iu(){if(this.ja.length!==0){try{await this.ja[0](),this.ja.shift(),this.Uo.reset()}catch(t){if(!Zu(t))throw t;Pe("AsyncQueue","Operation failed with retryable error: "+t)}this.ja.length>0&&this.Uo.No(()=>this.iu())}}ru(t){const n=this.za.then(()=>(this.Za=!0,t().catch(r=>{this.Ya=r,this.Za=!1;const i=function(a){let o=a.message||"";return a.stack&&(o=a.stack.includes(a.message)?a.stack:a.message+` +`+a.stack),o}(r);throw Ai("INTERNAL UNHANDLED ERROR: ",i),r}).then(r=>(this.Za=!1,r))));return this.za=n,n}enqueueAfterDelay(t,n,r){this.nu(),this.eu.indexOf(t)>-1&&(n=0);const i=Pb.createAndSchedule(this,t,n,r,s=>this.su(s));return this.Ja.push(i),i}nu(){this.Ya&&Be()}verifyOperationInProgress(){}async ou(){let t;do t=this.za,await t;while(t!==this.za)}_u(t){for(const n of this.Ja)if(n.timerId===t)return!0;return!1}au(t){return this.ou().then(()=>{this.Ja.sort((n,r)=>n.targetTimeMs-r.targetTimeMs);for(const n of this.Ja)if(n.skipDelay(),t!=="all"&&n.timerId===t)break;return this.ou()})}uu(t){this.eu.push(t)}su(t){const n=this.Ja.indexOf(t);this.Ja.splice(n,1)}}class $b extends jh{constructor(t,n,r,i){super(t,n,r,i),this.type="firestore",this._queue=function(){return new BK}(),this._persistenceKey=(i==null?void 0:i.name)||"[DEFAULT]"}_terminate(){return this._firestoreClient||Sk(this),this._firestoreClient.terminate()}}function Fb(e,t){const n=typeof e=="object"?e:DH(),r=typeof e=="string"?e:t||"(default)",i=VH(n,"firestore").getImmediate({identifier:r});if(!i._initialized){const s=AU("firestore");s&&LK(i,...s)}return i}function xk(e){return e._firestoreClient||Sk(e),e._firestoreClient.verifyNotTerminated(),e._firestoreClient}function Sk(e){var t,n,r;const i=e._freezeSettings(),s=function(o,l,u,c){return new vW(o,l,u,c.host,c.ssl,c.experimentalForceLongPolling,c.experimentalAutoDetectLongPolling,bk(c.experimentalLongPollingOptions),c.useFetchStreams)}(e._databaseId,((t=e._app)===null||t===void 0?void 0:t.options.appId)||"",e._persistenceKey,i);e._firestoreClient=new OK(e._authCredentials,e._appCheckCredentials,e._queue,s),((n=i.localCache)===null||n===void 0?void 0:n._offlineComponentProvider)&&((r=i.localCache)===null||r===void 0?void 0:r._onlineComponentProvider)&&(e._firestoreClient._uninitializedComponentsProvider={_offlineKind:i.localCache.kind,_offline:i.localCache._offlineComponentProvider,_online:i.localCache._onlineComponentProvider})}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class To{constructor(t){this._byteString=t}static fromBase64String(t){try{return new To(Fn.fromBase64String(t))}catch(n){throw new Me(ce.INVALID_ARGUMENT,"Failed to construct data from Base64 string: "+n)}}static fromUint8Array(t){return new To(Fn.fromUint8Array(t))}toBase64(){return this._byteString.toBase64()}toUint8Array(){return this._byteString.toUint8Array()}toString(){return"Bytes(base64: "+this.toBase64()+")"}isEqual(t){return this._byteString.isEqual(t._byteString)}}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Nb{constructor(...t){for(let n=0;n90)throw new Me(ce.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+t);if(!isFinite(n)||n<-180||n>180)throw new Me(ce.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+n);this._lat=t,this._long=n}get latitude(){return this._lat}get longitude(){return this._long}isEqual(t){return this._lat===t._lat&&this._long===t._long}toJSON(){return{latitude:this._lat,longitude:this._long}}_compareTo(t){return dt(this._lat,t._lat)||dt(this._long,t._long)}}/** + * @license + * Copyright 2017 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const jK=/^__.*__$/;class zK{constructor(t,n,r){this.data=t,this.fieldMask=n,this.fieldTransforms=r}toMutation(t,n){return this.fieldMask!==null?new Ta(t,this.data,this.fieldMask,n,this.fieldTransforms):new ec(t,this.data,n,this.fieldTransforms)}}function Tk(e){switch(e){case 0:case 2:case 1:return!0;case 3:case 4:return!1;default:throw Be()}}class Bb{constructor(t,n,r,i,s,a){this.settings=t,this.databaseId=n,this.serializer=r,this.ignoreUndefinedProperties=i,s===void 0&&this.cu(),this.fieldTransforms=s||[],this.fieldMask=a||[]}get path(){return this.settings.path}get lu(){return this.settings.lu}hu(t){return new Bb(Object.assign(Object.assign({},this.settings),t),this.databaseId,this.serializer,this.ignoreUndefinedProperties,this.fieldTransforms,this.fieldMask)}Pu(t){var n;const r=(n=this.path)===null||n===void 0?void 0:n.child(t),i=this.hu({path:r,Iu:!1});return i.Tu(t),i}Eu(t){var n;const r=(n=this.path)===null||n===void 0?void 0:n.child(t),i=this.hu({path:r,Iu:!1});return i.cu(),i}du(t){return this.hu({path:void 0,Iu:!0})}Au(t){return wf(t,this.settings.methodName,this.settings.Ru||!1,this.path,this.settings.Vu)}contains(t){return this.fieldMask.find(n=>t.isPrefixOf(n))!==void 0||this.fieldTransforms.find(n=>t.isPrefixOf(n.field))!==void 0}cu(){if(this.path)for(let t=0;tl.covers(d.field))}else l=null,u=a.fieldTransforms;return new zK(new pr(o),l,u)}function Ek(e,t){if(kk(e=iu(e)))return Ak("Unsupported field value:",t,e),Ik(e,t);if(e instanceof Ck)return function(r,i){if(!Tk(i.lu))throw i.Au(`${r._methodName}() can only be used with update() and set()`);if(!i.path)throw i.Au(`${r._methodName}() is not currently supported inside arrays`);const s=r._toFieldTransform(i);s&&i.fieldTransforms.push(s)}(e,t),null;if(e===void 0&&t.ignoreUndefinedProperties)return null;if(t.path&&t.fieldMask.push(t.path),e instanceof Array){if(t.settings.Iu&&t.lu!==4)throw t.Au("Nested arrays are not supported");return function(r,i){const s=[];let a=0;for(const o of r){let l=Ek(o,i.du(a));l==null&&(l={nullValue:"NULL_VALUE"}),s.push(l),a++}return{arrayValue:{values:s}}}(e,t)}return function(r,i){if((r=iu(r))===null)return{nullValue:"NULL_VALUE"};if(typeof r=="number")return LW(i.serializer,r);if(typeof r=="boolean")return{booleanValue:r};if(typeof r=="string")return{stringValue:r};if(r instanceof Date){const s=nn.fromDate(r);return{timestampValue:bf(i.serializer,s)}}if(r instanceof nn){const s=new nn(r.seconds,1e3*Math.floor(r.nanoseconds/1e3));return{timestampValue:bf(i.serializer,s)}}if(r instanceof Lb)return{geoPointValue:{latitude:r.latitude,longitude:r.longitude}};if(r instanceof To)return{bytesValue:YI(i.serializer,r._byteString)};if(r instanceof wr){const s=i.databaseId,a=r.firestore._databaseId;if(!a.isEqual(s))throw i.Au(`Document reference is for database ${a.projectId}/${a.database} but should be for database ${s.projectId}/${s.database}`);return{referenceValue:Sb(r.firestore._databaseId||i.databaseId,r._key.path)}}throw i.Au(`Unsupported field value: ${Mb(r)}`)}(e,t)}function Ik(e,t){const n={};return xI(e)?t.path&&t.path.length>0&&t.fieldMask.push(t.path):Lo(e,(r,i)=>{const s=Ek(i,t.Pu(r));s!=null&&(n[r]=s)}),{mapValue:{fields:n}}}function kk(e){return!(typeof e!="object"||e===null||e instanceof Array||e instanceof Date||e instanceof nn||e instanceof Lb||e instanceof To||e instanceof wr||e instanceof Ck)}function Ak(e,t,n){if(!kk(n)||!function(i){return typeof i=="object"&&i!==null&&(Object.getPrototypeOf(i)===Object.prototype||Object.getPrototypeOf(i)===null)}(n)){const r=Mb(n);throw r==="an object"?t.Au(e+" a custom object"):t.Au(e+" "+r)}}function WK(e,t,n){if((t=iu(t))instanceof Nb)return t._internalPath;if(typeof t=="string")return Pk(e,t);throw wf("Field path arguments must be of type string or ",e,!1,void 0,n)}const GK=new RegExp("[~\\*/\\[\\]]");function Pk(e,t,n){if(t.search(GK)>=0)throw wf(`Invalid field path (${t}). Paths must not contain '~', '*', '/', '[', or ']'`,e,!1,void 0,n);try{return new Nb(...t.split("."))._internalPath}catch{throw wf(`Invalid field path (${t}). Paths must not be empty, begin with '.', end with '.', or contain '..'`,e,!1,void 0,n)}}function wf(e,t,n,r,i){const s=r&&!r.isEmpty(),a=i!==void 0;let o=`Function ${t}() called with invalid data`;n&&(o+=" (via `toFirestore()`)"),o+=". ";let l="";return(s||a)&&(l+=" (found",s&&(l+=` in field ${r}`),a&&(l+=` in document ${i}`),l+=")"),new Me(ce.INVALID_ARGUMENT,o+e+l)}function KK(e,t){return e.some(n=>n.isEqual(t))}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Vk{constructor(t,n,r,i,s){this._firestore=t,this._userDataWriter=n,this._key=r,this._document=i,this._converter=s}get id(){return this._key.path.lastSegment()}get ref(){return new wr(this._firestore,this._converter,this._key)}exists(){return this._document!==null}data(){if(this._document){if(this._converter){const t=new YK(this._firestore,this._userDataWriter,this._key,this._document,null);return this._converter.fromFirestore(t)}return this._userDataWriter.convertValue(this._document.data.value)}}get(t){if(this._document){const n=this._document.data.field(Ok("DocumentSnapshot.get",t));if(n!==null)return this._userDataWriter.convertValue(n)}}}class YK extends Vk{data(){return super.data()}}function Ok(e,t){return typeof t=="string"?Pk(e,t):t instanceof Nb?t._internalPath:t._delegate._internalPath}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function XK(e){if(e.limitType==="L"&&e.explicitOrderBy.length===0)throw new Me(ce.UNIMPLEMENTED,"limitToLast() queries require specifying at least one orderBy() clause")}class QK{convertValue(t,n="none"){switch(ma(t)){case 0:return null;case 1:return t.booleanValue;case 2:return Kt(t.integerValue||t.doubleValue);case 3:return this.convertTimestamp(t.timestampValue);case 4:return this.convertServerTimestamp(t,n);case 5:return t.stringValue;case 6:return this.convertBytes(ha(t.bytesValue));case 7:return this.convertReference(t.referenceValue);case 8:return this.convertGeoPoint(t.geoPointValue);case 9:return this.convertArray(t.arrayValue,n);case 10:return this.convertObject(t.mapValue,n);default:throw Be()}}convertObject(t,n){return this.convertObjectMap(t.fields,n)}convertObjectMap(t,n="none"){const r={};return Lo(t,(i,s)=>{r[i]=this.convertValue(s,n)}),r}convertGeoPoint(t){return new Lb(Kt(t.latitude),Kt(t.longitude))}convertArray(t,n){return(t.values||[]).map(r=>this.convertValue(r,n))}convertServerTimestamp(t,n){switch(n){case"previous":const r=pb(t);return r==null?null:this.convertValue(r,n);case"estimate":return this.convertTimestamp(gu(t));default:return null}}convertTimestamp(t){const n=ms(t);return new nn(n.seconds,n.nanos)}convertDocumentKey(t,n){const r=Rt.fromString(t);At(ek(r));const i=new pu(r.get(1),r.get(3)),s=new $e(r.popFirst(5));return i.isEqual(n)||Ai(`Document ${s} contains a document reference within a different database (${i.projectId}/${i.database}) which is not supported. It will be treated as a reference in the current database (${n.projectId}/${n.database}) instead.`),s}}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function JK(e,t,n){let r;return r=e?n&&(n.merge||n.mergeFields)?e.toFirestore(t,n):e.toFirestore(t):t,r}/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Bc{constructor(t,n){this.hasPendingWrites=t,this.fromCache=n}isEqual(t){return this.hasPendingWrites===t.hasPendingWrites&&this.fromCache===t.fromCache}}class ZK extends Vk{constructor(t,n,r,i,s,a){super(t,n,r,i,a),this._firestore=t,this._firestoreImpl=t,this.metadata=s}exists(){return super.exists()}data(t={}){if(this._document){if(this._converter){const n=new bd(this._firestore,this._userDataWriter,this._key,this._document,this.metadata,null);return this._converter.fromFirestore(n,t)}return this._userDataWriter.convertValue(this._document.data.value,t.serverTimestamps)}}get(t,n={}){if(this._document){const r=this._document.data.field(Ok("DocumentSnapshot.get",t));if(r!==null)return this._userDataWriter.convertValue(r,n.serverTimestamps)}}}class bd extends ZK{data(t={}){return super.data(t)}}class eY{constructor(t,n,r,i){this._firestore=t,this._userDataWriter=n,this._snapshot=i,this.metadata=new Bc(i.hasPendingWrites,i.fromCache),this.query=r}get docs(){const t=[];return this.forEach(n=>t.push(n)),t}get size(){return this._snapshot.docs.size}get empty(){return this.size===0}forEach(t,n){this._snapshot.docs.forEach(r=>{t.call(n,new bd(this._firestore,this._userDataWriter,r.key,r,new Bc(this._snapshot.mutatedKeys.has(r.key),this._snapshot.fromCache),this.query.converter))})}docChanges(t={}){const n=!!t.includeMetadataChanges;if(n&&this._snapshot.excludesMetadataChanges)throw new Me(ce.INVALID_ARGUMENT,"To include metadata changes with your document changes, you must also pass { includeMetadataChanges:true } to onSnapshot().");return this._cachedChanges&&this._cachedChangesIncludeMetadataChanges===n||(this._cachedChanges=function(i,s){if(i._snapshot.oldDocs.isEmpty()){let a=0;return i._snapshot.docChanges.map(o=>{const l=new bd(i._firestore,i._userDataWriter,o.doc.key,o.doc,new Bc(i._snapshot.mutatedKeys.has(o.doc.key),i._snapshot.fromCache),i.query.converter);return o.doc,{type:"added",doc:l,oldIndex:-1,newIndex:a++}})}{let a=i._snapshot.oldDocs;return i._snapshot.docChanges.filter(o=>s||o.type!==3).map(o=>{const l=new bd(i._firestore,i._userDataWriter,o.doc.key,o.doc,new Bc(i._snapshot.mutatedKeys.has(o.doc.key),i._snapshot.fromCache),i.query.converter);let u=-1,c=-1;return o.type!==0&&(u=a.indexOf(o.doc.key),a=a.delete(o.doc.key)),o.type!==1&&(a=a.add(o.doc),c=a.indexOf(o.doc.key)),{type:tY(o.type),doc:l,oldIndex:u,newIndex:c}})}}(this,n),this._cachedChangesIncludeMetadataChanges=n),this._cachedChanges}}function tY(e){switch(e){case 0:return"added";case 2:case 3:return"modified";case 1:return"removed";default:return Be()}}class nY extends QK{constructor(t){super(),this.firestore=t}convertBytes(t){return new To(t)}convertReference(t){const n=this.convertDocumentKey(t,this.firestore._databaseId);return new wr(this.firestore,null,n)}}function rY(e){e=wu(e,zh);const t=wu(e.firestore,$b),n=xk(t),r=new nY(t);return XK(e._query),FK(n,e._query).then(i=>new eY(t,r,e,i))}function Rk(e,t,n){e=wu(e,wr);const r=wu(e.firestore,$b),i=JK(e.converter,t,n);return iY(r,[qK(HK(r),"setDoc",e._key,i,e.converter!==null,n).toMutation(e._key,wi.none())])}function iY(e,t){return function(r,i){const s=new ls;return r.asyncQueue.enqueueAndForget(async()=>wK(await DK(r),i,s)),s.promise}(xk(e),t)}(function(t,n=!0){(function(i){No=i})(MH),of(new su("firestore",(r,{instanceIdentifier:i,options:s})=>{const a=r.getProvider("app").getImmediate(),o=new $b(new tW(r.getProvider("auth-internal")),new sW(r.getProvider("app-check-internal")),function(u,c){if(!Object.prototype.hasOwnProperty.apply(u.options,["projectId"]))throw new Me(ce.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new pu(u.options.projectId,c)}(a,i),a);return s=Object.assign({useFetchStreams:n},s),o._setSettings(s),o},"PUBLIC").setMultipleInstances(!0)),co(mw,"4.1.2",t),co(mw,"4.1.2","esm2017")})();const sY={name:"AnimatedText",components:{},data(){return{Background:{filename:o2,alt:"Alt Text for Image"},firstV:!0,secondV:!1,thirdV:!1,fourthV:!1,fifthV:!1,sixthV:!1,seventhV:!1,eightV:!1,fullName:"",universityId:"",phoneNumber:"",email:"",faculty:"",department:"",batch:"",errorMsg:"",error:!1,success:!0,showMessage:!1,fadeAnimation:!1,currentImage:s2,sologo:tu,first:{typedText:"",fullText:"Hi Contestant \u{1F44B}
What is your full name?",currentIndex:0},second:{typedText:"",fullText:"Hi, what is your university id? ",currentIndex:0},third:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},fourth:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},fifth:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},sixth:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},seventh:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},eight:{typedText:"",fullText:"Your journey is about to begin \u{1F973}",currentIndex:0}}},methods:{typeText(e){e.currentIndex<=e.fullText.length&&(e.typedText=e.fullText.slice(0,e.currentIndex),e.currentIndex++,setTimeout(()=>this.typeText(e),20))},verifyMobileNumber(e){return/^(0|\+94)[0-9+]{9,}$/.test(e)},isValidEmail(e){return/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.test(e)},closeMessage(){this.showMessage=!1},firstB(e){switch(e){case 2:this.error=!1,this.fullName.split(" ")[1]?(this.firstV=!1,this.secondV=!0,this.second.fullText=this.fullName.split(" ")[1]+", What is your University ID ? \u{1F393}",this.typeText(this.second)):(this.error=!0,this.errorMsg="You must enter your full name");break;case 3:this.error=!1,this.universityId?(this.secondV=!1,this.thirdV=!0,this.third.fullText=this.fullName.split(" ")[1]+", We need your phone number \u260E\uFE0F
(whatsapp preferred)",this.typeText(this.third)):(this.error=!0,this.errorMsg="You must enter your university ID");break;case 4:this.error=!1,this.phoneNumber?this.verifyMobileNumber(this.phoneNumber)?(this.thirdV=!1,this.fourthV=!0,this.fourth.fullText=" What is your Email \u{1F4E7} ?",this.typeText(this.fourth)):(this.error=!0,this.errorMsg="You must enter a valid MobileNumber"):(this.error=!0,this.errorMsg="You must enter your MobileNumber");break;case 5:this.error=!1,this.email?this.isValidEmail(this.email)?(this.fourthV=!1,this.fifthV=!0,this.fifth.fullText=this.fullName.split(" ")[1]+", In which faculty do you study ?",this.typeText(this.fifth)):(this.error=!0,this.errorMsg="You must enter a valid Email"):(this.error=!0,this.errorMsg="You must enter your Email");break;case 6:this.error=!1,this.faculty?(this.fifthV=!1,this.sixthV=!0,this.sixth.fullText="What is your department ?",this.typeText(this.sixth)):(this.error=!0,this.errorMsg="Don't skip buddy select your faculty");break;case 7:this.sixthV=!1,this.seventhV=!0,this.seventh.fullText="Select your batch",this.typeText(this.seventh);break;case 8:this.seventhV=!1,this.eightV=!0,this.typeText(this.eight),this.switchImage(),setTimeout(()=>{this.fadeAnimation=!0,this.eight.fullText="Your journey is about to begin \u{1F973}",this.sologo=tu},1500),setTimeout(()=>{this.success=!0},2500)}},finish(){this.seventhV=!1,this.submitForm(),this.firstB(8)},async submitForm(){console.log("formRan"),mh({apiKey:"AIzaSyBMOiTpc_PPERG4ZhPbTQIZ8uAHnNzsKos",authDomain:"speech-olympiad.firebaseapp.com",projectId:"speech-olympiad",storageBucket:"speech-olympiad.appspot.com",messagingSenderId:"718732602589",appId:"1:718732602589:web:d2b3a682106d06fc773f34",measurementId:"G-T1D958J5EE"});const t=Fb(),n=wk(Db(t,"registrations")),r={fullName:this.fullName,universityId:this.universityId,phoneNumber:this.phoneNumber,email:this.email,faculty:this.faculty,department:this.department,batch:this.batch,time:new Date};console.log("efewf"),await Rk(n,r),console.log("efewf");try{this.fullName="",this.universityId="",this.phoneNumber="",this.email="",this.faculty="",this.department="",this.batch="",this.showMessage=!0}catch(i){console.error("Error adding document: ",i)}console.log("efewf")},switchImage(){setTimeout(()=>{this.currentImage=a2},1500)}},mounted(){this.typeText(this.first)}},Ni=e=>(Cr("data-v-ad93f312"),e=e(),Tr(),e),aY={class:"relative min-h-screen bg-zinc-950"},oY=["src","alt"],lY=["src"],uY={class:"flex flex-col items-center justify-center ml-4 w-1/2"},cY=["innerHTML","hidden"],dY=["src","hidden"],fY={key:0,class:"text-sm text-green-300 p-1"},hY={key:0,class:"absolute md:top-1/3 i top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},mY=["innerHTML"],vY={class:"relative flex items-center mt-4"},gY={key:0,class:"text-lg text-red-400 p-1"},pY={key:1,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},yY=["innerHTML"],bY={class:"relative flex items-center mt-4"},_Y={key:0,class:"text-lg text-red-400 p-1"},wY={key:2,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},xY=["innerHTML"],SY={class:"relative flex items-center mt-4"},CY={key:0,class:"text-lg text-red-400 p-1"},TY={key:3,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},EY=["innerHTML"],IY={class:"relative flex items-center mt-4"},kY={key:0,class:"text-lg text-red-400 p-1"},AY={key:4,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},PY=["innerHTML"],VY={class:"relative flex items-center mt-4"},OY=Ni(()=>y("option",null,"Faculty of Engineering",-1)),RY=Ni(()=>y("option",null,"Faculty of Information Technology",-1)),MY=Ni(()=>y("option",null,"Faculty of Architecture",-1)),DY=Ni(()=>y("option",null,"Faculty of Business",-1)),$Y=Ni(()=>y("option",null,"Faculty of Medicine",-1)),FY=[OY,RY,MY,DY,$Y],NY={key:0,class:"text-lg text-red-400 p-1"},LY={key:5,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},BY=["innerHTML"],jY={class:"relative flex items-center mt-4"},zY={key:0,class:"text-lg text-red-400 p-1"},UY={key:6,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},HY=["innerHTML"],qY={class:"relative flex items-center mt-4"},WY=Ni(()=>y("option",null,"2019",-1)),GY=Ni(()=>y("option",null,"2020",-1)),KY=Ni(()=>y("option",null,"2021",-1)),YY=Ni(()=>y("option",null,"2022",-1)),XY=[WY,GY,KY,YY],QY={key:0,class:"text-lg text-red-400 p-1"};function JY(e,t,n,r,i,s){return te(),ne("div",aY,[y("img",{src:i.Background.filename,alt:i.Background.alt,class:"w-full sm:w-1/2 mx-auto"},null,8,oY),y("div",{class:"absolute md:top-1/3 i top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center flex",style:Po({display:i.eightV?"":"none"})},[m(Rn,{name:"bon",mode:"out-in"},{default:cn(()=>[(te(),ne("img",{src:i.currentImage,key:i.currentImage,class:"image"},null,8,lY))]),_:1}),y("div",uY,[m(Rn,{name:"bounce",mode:"out-in"},{default:cn(()=>[(te(),ne("p",{class:"text-white text-3xl ml-2",innerHTML:i.eight.fullText,key:i.fadeAnimation,hidden:!i.fadeAnimation},null,8,cY))]),_:1}),m(Rn,{name:"slide-fade",mode:"out-in"},{default:cn(()=>[(te(),ne("img",{src:i.sologo,class:"w-32",key:i.fadeAnimation,hidden:!i.fadeAnimation},null,8,dY))]),_:1}),i.success?(te(),ne("p",fY,"You have registered successfully")):Le("",!0)])],4),i.firstV?(te(),ne("div",hY,[y("p",{class:"text-3xl text-gray-200 bg-transparent",innerHTML:i.first.typedText},null,8,mY),y("div",vY,[et(y("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"text",placeholder:"Enter your full name here","onUpdate:modelValue":t[0]||(t[0]=a=>i.fullName=a),onKeyup:t[1]||(t[1]=ei(a=>s.firstB(2),["enter"]))},null,544),[[vr,i.fullName]]),y("button",{class:ut({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[2]||(t[2]=a=>s.firstB(2))}," \u2192 ",2)]),i.error?(te(),ne("p",gY,Ve(i.errorMsg),1)):Le("",!0)])):Le("",!0),i.secondV?(te(),ne("div",pY,[y("p",{class:"text-3xl text-gray-200 bg-transparent",innerHTML:i.second.typedText},null,8,yY),y("div",bY,[et(y("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"text",placeholder:"Enter your Uni id here","onUpdate:modelValue":t[3]||(t[3]=a=>i.universityId=a),onKeyup:t[4]||(t[4]=ei(a=>s.firstB(3),["enter"]))},null,544),[[vr,i.universityId]]),y("button",{class:ut({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[5]||(t[5]=a=>s.firstB(3))}," \u2192 ",2)]),i.error?(te(),ne("p",_Y,Ve(i.errorMsg),1)):Le("",!0)])):Le("",!0),i.thirdV?(te(),ne("div",wY,[y("p",{class:"text-3xl text-gray-200 bg-transparent",innerHTML:i.third.typedText},null,8,xY),y("div",SY,[et(y("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"mobile",placeholder:"Enter your mobile number","onUpdate:modelValue":t[6]||(t[6]=a=>i.phoneNumber=a),onKeyup:t[7]||(t[7]=ei(a=>s.firstB(4),["enter"]))},null,544),[[vr,i.phoneNumber]]),y("button",{class:ut({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[8]||(t[8]=a=>s.firstB(4))}," \u2192 ",2)]),i.error?(te(),ne("p",CY,Ve(i.errorMsg),1)):Le("",!0)])):Le("",!0),i.fourthV?(te(),ne("div",TY,[y("p",{class:"text-3xl text-gray-200 bg-transparent",innerHTML:i.fourth.typedText},null,8,EY),y("div",IY,[et(y("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"email",placeholder:"Enter your email","onUpdate:modelValue":t[9]||(t[9]=a=>i.email=a),onKeyup:t[10]||(t[10]=ei(a=>s.firstB(5),["enter"]))},null,544),[[vr,i.email]]),y("button",{class:ut({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[11]||(t[11]=a=>s.firstB(5))}," \u2192 ",2)]),i.error?(te(),ne("p",kY,Ve(i.errorMsg),1)):Le("",!0)])):Le("",!0),i.fifthV?(te(),ne("div",AY,[y("p",{class:"text-3xl text-gray-200 bg-transparent",innerHTML:i.fifth.typedText},null,8,PY),y("div",VY,[et(y("select",{"onUpdate:modelValue":t[12]||(t[12]=a=>i.faculty=a),class:"block appearance-none w-full border border-gray-200 py-3 px-4 leading-tight focus:outline-none focus:bg-gray-900 focus:border-gray-500 placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14",id:"grid-state"},FY,512),[[Rd,i.faculty]]),y("button",{class:ut({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[13]||(t[13]=a=>s.firstB(6))}," \u2192 ",2)]),i.error?(te(),ne("p",NY,Ve(i.errorMsg),1)):Le("",!0)])):Le("",!0),i.sixthV?(te(),ne("div",LY,[y("p",{class:"text-3xl text-gray-200 bg-transparent",innerHTML:i.sixth.typedText},null,8,BY),y("div",jY,[et(y("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"email",placeholder:"Ex : CSE","onUpdate:modelValue":t[14]||(t[14]=a=>i.department=a),onKeyup:t[15]||(t[15]=ei(a=>s.firstB(7),["enter"]))},null,544),[[vr,i.department]]),y("button",{class:ut({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[16]||(t[16]=a=>s.firstB(7))}," \u2192 ",2)]),i.error?(te(),ne("p",zY,Ve(i.errorMsg),1)):Le("",!0)])):Le("",!0),i.seventhV?(te(),ne("div",UY,[y("p",{class:"text-3xl text-gray-200 bg-transparent",innerHTML:i.seventh.typedText},null,8,HY),y("div",qY,[et(y("select",{"onUpdate:modelValue":t[17]||(t[17]=a=>i.batch=a),class:"block appearance-none w-full border border-gray-200 py-3 px-4 leading-tight focus:outline-none focus:bg-gray-900 focus:border-gray-500 placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14",id:"grid-state"},XY,512),[[Rd,i.batch]]),y("button",{class:ut({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[18]||(t[18]=(...a)=>s.finish&&s.finish(...a))}," \u2192 ",2)]),i.error?(te(),ne("p",QY,Ve(i.errorMsg),1)):Le("",!0)])):Le("",!0)])}const ZY=lt(sY,[["render",JY],["__scopeId","data-v-ad93f312"]]),eX={data(){return{registrations:[],password:"",admin:!1}},computed:{sortedRegistrationsD(e){return this.registrations.slice().sort((t,n)=>n.time-t.time)},sortedRegistrationsA(e){return this.registrations.slice().sort((t,n)=>t.time-n.time)}},methods:{login(){this.password=="Speechsoso"&&(this.admin=!0)},downloadCsvFile(){let e="RegistrationData.csv",t=this.convertJsonToCsv(this.sortedRegistrationsA);const n=new Blob([t],{type:"text/csv"}),r=URL.createObjectURL(n),i=document.createElement("a");i.href=r,i.download=e,i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(r)},convertJsonToCsv(e){const t=",",n=Object.keys(e[0]).join(t),r=e.map(s=>Object.values(s).map(a=>typeof a=="string"&&a.includes(t)?`"${a}"`:a).join(t));return[n,...r].join(` +`)}},async mounted(){mh({apiKey:"AIzaSyBMOiTpc_PPERG4ZhPbTQIZ8uAHnNzsKos",authDomain:"speech-olympiad.firebaseapp.com",projectId:"speech-olympiad",storageBucket:"speech-olympiad.appspot.com",messagingSenderId:"718732602589",appId:"1:718732602589:web:d2b3a682106d06fc773f34",measurementId:"G-T1D958J5EE"});const t=Fb(),n=await rY(Db(t,"registrations"));this.registrations=n.docs.map(r=>{const i=r.data();return{fullName:i.fullName,universityId:i.universityId,phoneNumber:i.phoneNumber,email:i.email,faculty:i.faculty,department:i.department,batch:i.batch,time:i.time.toDate()}})}},tX={key:0,class:"mb-4 p-6"},nX=y("label",{class:"block text-gray-700 text-sm font-bold mb-2",for:"password"}," Password ",-1),rX={class:"mb-4"},iX={key:1},sX=y("h1",{class:"text-2xl font-semibold mb-4"},"Registrations",-1),aX={class:"overflow-x-auto"},oX=y("p",null,"Latest First",-1),lX={class:"min-w-full border divide-y divide-gray-300"},uX=y("thead",{class:"bg-gray-100 text-black"},[y("tr",null,[y("th",{class:"py-2 px-4"},"Full Name"),y("th",{class:"py-2 px-4"},"University ID"),y("th",{class:"py-2 px-4"},"Email"),y("th",{class:"py-2 px-4"},"Faculty"),y("th",{class:"py-2 px-4"},"Department"),y("th",{class:"py-2 px-4"},"Batch"),y("th",{class:"py-2 px-4"},"Phone Number"),y("th",{class:"py-2 px-4"},"Time")])],-1),cX={class:"py-2 px-4"},dX={class:"py-2 px-4"},fX={class:"py-2 px-4"},hX={class:"py-2 px-4"},mX={class:"py-2 px-4"},vX={class:"py-2 px-4"},gX={class:"py-2 px-4"},pX={class:"py-2 px-4"};function yX(e,t,n,r,i,s){return te(),ne(Se,null,[i.admin?Le("",!0):(te(),ne("div",tX,[nX,et(y("input",{class:"shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline",id:"password",type:"password",placeholder:"Enter your password","onUpdate:modelValue":t[0]||(t[0]=a=>i.password=a)},null,512),[[vr,i.password]]),y("div",rX,[y("button",{class:"bg-transparent text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline",onClick:t[1]||(t[1]=(...a)=>s.login&&s.login(...a))}," Get In \u2192 ")])])),i.admin?(te(),ne("div",iX,[sX,y("button",{class:"bg-gray-500 w-64 m-3 hover:bg-gray-600 text-gray-300 border-gray-200 font-bold py-2 px-4 outline-1 rounded focus:outline-none focus:shadow-outline",onClick:t[2]||(t[2]=(...a)=>s.downloadCsvFile&&s.downloadCsvFile(...a))}," Download Data "),y("div",aX,[oX,y("table",lX,[uX,y("tbody",null,[(te(!0),ne(Se,null,Wn(s.sortedRegistrationsD,a=>(te(),ne("tr",{key:a.id},[y("td",cX,Ve(a.fullName),1),y("td",dX,Ve(a.universityId),1),y("td",fX,Ve(a.email),1),y("td",hX,Ve(a.faculty),1),y("td",mX,Ve(a.department),1),y("td",vX,Ve(a.batch),1),y("td",gX,Ve(a.phoneNumber),1),y("td",pX,Ve(a.time),1)]))),128))])])])])):Le("",!0)],64)}const bX=lt(eX,[["render",yX]]);const _X={name:"AnimatedText",components:{PageRules:XC},data(){return{Background:{filename:o2,alt:"Alt Text for Image"},firstV:!0,secondV:!1,thirdV:!1,fourthV:!1,fifthV:!1,sixthV:!1,seventhV:!1,eightV:!1,fullName:"",universityId:"",phoneNumber:"",email:"",faculty:"",department:"",batch:"",errorMsg:"",error:!1,success:!1,showMessage:!1,showRulesModal:!0,fadeAnimation:!1,currentImage:s2,sologo:tu,first:{typedText:"",fullText:"Greetings contestant! Congratulations on taking your first step towards Speech Olympiad XVI. Let's proceed!
Please provide your full name.",currentIndex:0},second:{typedText:"",fullText:"Hi, what is your university id? ",currentIndex:0},third:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},fourth:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},fifth:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},sixth:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},seventh:{typedText:"",fullText:"Hi, what is your university id?",currentIndex:0},eight:{typedText:"",fullText:"Thankyou & Good luck on your journey! \u{1F973}",currentIndex:0}}},methods:{typeText(e){e.currentIndex<=e.fullText.length&&(e.typedText=e.fullText.slice(0,e.currentIndex),e.currentIndex++,setTimeout(()=>this.typeText(e),20))},verifyMobileNumber(e){return/^(0|\+94)[0-9+]{9,}$/.test(e)},isValidEmail(e){return/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.test(e)},closeMessage(){this.showMessage=!1},firstB(e){switch(e){case 2:this.error=!1,this.fullName.split(" ")[0]?(this.firstV=!1,this.secondV=!0,this.second.fullText=this.fullName.split(" ")[0]+", kindly enter your university index number.",this.typeText(this.second)):(this.error=!0,this.errorMsg="You must enter your full name");break;case 3:this.error=!1,this.universityId?(this.secondV=!1,this.thirdV=!0,this.third.fullText="2 down 5 to go!
Could you please provide your phone number, preferably your WhatsApp contact number?",this.typeText(this.third)):(this.error=!0,this.errorMsg="You must enter your university ID");break;case 4:this.error=!1,this.phoneNumber?this.verifyMobileNumber(this.phoneNumber)?(this.thirdV=!1,this.fourthV=!0,this.fourth.fullText="May we kindly request your email address?",this.typeText(this.fourth)):(this.error=!0,this.errorMsg="You must enter a valid MobileNumber"):(this.error=!0,this.errorMsg="You must enter your MobileNumber");break;case 5:this.error=!1,this.email?this.isValidEmail(this.email)?(this.fourthV=!1,this.fifthV=!0,this.fifth.fullText="Great! You're almost there.
In which faculty are you currently enrolled?",this.typeText(this.fifth)):(this.error=!0,this.errorMsg="You must enter a valid Email"):(this.error=!0,this.errorMsg="You must enter your Email");break;case 6:this.error=!1,this.faculty?(this.fifthV=!1,this.sixthV=!0,this.sixth.fullText=this.fullName.split(" ")[0]+", please mention your department.",this.typeText(this.sixth)):(this.error=!0,this.errorMsg="you must select your faculty");break;case 7:this.sixthV=!1,this.seventhV=!0,this.seventh.fullText="Final Question!
Which batch are you from?",this.typeText(this.seventh);break;case 8:this.seventhV=!1,this.eightV=!0,this.typeText(this.eight),this.switchImage(),setTimeout(()=>{this.fadeAnimation=!0,this.eight.fullText="Thank you & Good luck on your journey!",this.sologo=tu},1500),setTimeout(()=>{this.success=!0},4e3);break}},finish(){this.seventhV=!1,this.submitForm(),this.firstB(8)},async submitForm(){console.log("formRan"),mh({apiKey:"AIzaSyBMOiTpc_PPERG4ZhPbTQIZ8uAHnNzsKos",authDomain:"speech-olympiad.firebaseapp.com",projectId:"speech-olympiad",storageBucket:"speech-olympiad.appspot.com",messagingSenderId:"718732602589",appId:"1:718732602589:web:d2b3a682106d06fc773f34",measurementId:"G-T1D958J5EE"});const t=Fb(),n=wk(Db(t,"registrations")),r={fullName:this.fullName,universityId:this.universityId,phoneNumber:this.phoneNumber,email:this.email,faculty:this.faculty,department:this.department,batch:this.batch,time:new Date};console.log("efewf"),await Rk(n,r),console.log("efewf");try{this.fullName="",this.universityId="",this.phoneNumber="",this.email="",this.faculty="",this.department="",this.batch="",this.showMessage=!0}catch(i){console.error("Error adding document: ",i)}console.log("efewf")},switchImage(){setTimeout(()=>{this.currentImage=a2},1500)},openRulesModal(){this.showRulesModal=!0},closeRulesModal(){this.showRulesModal=!1}},mounted(){this.typeText(this.first)}},hi=e=>(Cr("data-v-87712438"),e=e(),Tr(),e),wX={class:"relative bg-zinc-950"},xX=["src","alt"],SX=["src"],CX={class:"flex flex-col items-center justify-center ml-4 w-1/2"},TX=["innerHTML","hidden"],EX=["src","hidden"],IX={key:0,class:"text-sm text-green-300 p-1"},kX={key:0,class:"absolute md:top-1/3 i top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},AX=["innerHTML"],PX={class:"relative flex items-center mt-4"},VX={key:0,class:"text-lg text-red-400 p-1"},OX={key:1,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},RX=["innerHTML"],MX={class:"relative flex items-center mt-4"},DX={key:0,class:"text-lg text-red-400 p-1"},$X={key:2,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},FX=["innerHTML"],NX={class:"relative flex items-center mt-4"},LX={key:0,class:"text-lg text-red-400 p-1"},BX={key:3,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},jX=["innerHTML"],zX={class:"relative flex items-center mt-4"},UX={key:0,class:"text-lg text-red-400 p-1"},HX={key:4,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},qX=["innerHTML"],WX={class:"relative flex items-center mt-4"},GX=hi(()=>y("option",null,"Faculty of Engineering",-1)),KX=hi(()=>y("option",null,"Faculty of Information Technology",-1)),YX=hi(()=>y("option",null,"Faculty of Architecture",-1)),XX=hi(()=>y("option",null,"Faculty of Business",-1)),QX=hi(()=>y("option",null,"Faculty of Medicine",-1)),JX=[GX,KX,YX,XX,QX],ZX={key:0,class:"text-lg text-red-400 p-1"},eQ={key:5,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},tQ=["innerHTML"],nQ={class:"relative flex items-center mt-4"},rQ={key:0,class:"text-lg text-red-400 p-1"},iQ={key:6,class:"absolute md:top-1/3 top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center"},sQ=["innerHTML"],aQ={class:"relative flex items-center mt-4"},oQ=hi(()=>y("option",null,"19",-1)),lQ=hi(()=>y("option",null,"20",-1)),uQ=hi(()=>y("option",null,"21",-1)),cQ=hi(()=>y("option",null,"22",-1)),dQ=[oQ,lQ,uQ,cQ],fQ={key:0,class:"text-lg text-red-400 p-1"},hQ={key:7,class:"absolute md:top-0 top-0 md:left-0 left-0 bg-zinc-700 w-full h-full rounded-lg p-6 shadow-md",style:{overflow:"auto"}},mQ=hi(()=>y("p",null,"Upon signing up for the competition, you are expected to adhere to the regulations and guidelines associated with Speech Olympiad XVI. Please review the rules and proceed.",-1));function vQ(e,t,n,r,i,s){const a=Ke("PageRules");return te(),ne("div",wX,[y("img",{src:i.Background.filename,alt:i.Background.alt,class:"w-full sm:w-1/2 mx-auto"},null,8,xX),y("div",{class:"absolute md:top-1/3 i top-1/3 bg-gradient-to-r to-zinc-800 from-black md:left-1/2 w-full sm:w-[50%] left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center flex",style:Po({display:i.eightV?"":"none"})},[m(Rn,{name:"bon",mode:"out-in"},{default:cn(()=>[(te(),ne("img",{src:i.currentImage,key:i.currentImage,class:"image"},null,8,SX))]),_:1}),y("div",CX,[m(Rn,{name:"bounce",mode:"out-in"},{default:cn(()=>[(te(),ne("p",{class:"text-white p-3 text-3xl ml-2",innerHTML:i.eight.fullText,key:i.fadeAnimation,hidden:!i.fadeAnimation},null,8,TX))]),_:1}),m(Rn,{name:"slide-fade",mode:"out-in"},{default:cn(()=>[(te(),ne("img",{src:i.sologo,class:"w-32",key:i.fadeAnimation,hidden:!i.fadeAnimation},null,8,EX))]),_:1}),i.success?(te(),ne("p",IX,"You have registered successfully")):Le("",!0)])],4),i.firstV?(te(),ne("div",kX,[y("p",{class:"text-2xl p-3 text-gray-200 bg-transparent",innerHTML:i.first.typedText},null,8,AX),y("div",PX,[et(y("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"text",placeholder:"Ex : John Perera","onUpdate:modelValue":t[0]||(t[0]=o=>i.fullName=o),onKeyup:t[1]||(t[1]=ei(o=>s.firstB(2),["enter"]))},null,544),[[vr,i.fullName]]),y("button",{class:ut({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[2]||(t[2]=o=>s.firstB(2))}," \u2192 ",2)]),i.error?(te(),ne("p",VX,Ve(i.errorMsg),1)):Le("",!0)])):Le("",!0),i.secondV?(te(),ne("div",OX,[y("p",{class:"text-3xl p-3 text-gray-200 bg-transparent",innerHTML:i.second.typedText},null,8,RX),y("div",MX,[et(y("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"text",placeholder:"Enter your University index number here","onUpdate:modelValue":t[3]||(t[3]=o=>i.universityId=o),onKeyup:t[4]||(t[4]=ei(o=>s.firstB(3),["enter"]))},null,544),[[vr,i.universityId]]),y("button",{class:ut({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[5]||(t[5]=o=>s.firstB(3))}," \u2192 ",2)]),i.error?(te(),ne("p",DX,Ve(i.errorMsg),1)):Le("",!0)])):Le("",!0),i.thirdV?(te(),ne("div",$X,[y("p",{class:"text-3xl p-3 text-gray-200 bg-transparent",innerHTML:i.third.typedText},null,8,FX),y("div",NX,[et(y("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"mobile",placeholder:"Enter your mobile number","onUpdate:modelValue":t[6]||(t[6]=o=>i.phoneNumber=o),onKeyup:t[7]||(t[7]=ei(o=>s.firstB(4),["enter"]))},null,544),[[vr,i.phoneNumber]]),y("button",{class:ut({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[8]||(t[8]=o=>s.firstB(4))}," \u2192 ",2)]),i.error?(te(),ne("p",LX,Ve(i.errorMsg),1)):Le("",!0)])):Le("",!0),i.fourthV?(te(),ne("div",BX,[y("p",{class:"text-3xl p-3 text-gray-200 bg-transparent",innerHTML:i.fourth.typedText},null,8,jX),y("div",zX,[et(y("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"email",placeholder:"Enter your email","onUpdate:modelValue":t[9]||(t[9]=o=>i.email=o),onKeyup:t[10]||(t[10]=ei(o=>s.firstB(5),["enter"]))},null,544),[[vr,i.email]]),y("button",{class:ut({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[11]||(t[11]=o=>s.firstB(5))}," \u2192 ",2)]),i.error?(te(),ne("p",UX,Ve(i.errorMsg),1)):Le("",!0)])):Le("",!0),i.fifthV?(te(),ne("div",HX,[y("p",{class:"text-3xl p-3 text-gray-200 bg-transparent",innerHTML:i.fifth.typedText},null,8,qX),y("div",WX,[et(y("select",{"onUpdate:modelValue":t[12]||(t[12]=o=>i.faculty=o),class:"block appearance-none w-full border border-gray-200 py-3 px-4 leading-tight focus:outline-none focus:bg-gray-900 focus:border-gray-500 placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14",id:"grid-state"},JX,512),[[Rd,i.faculty]]),y("button",{class:ut({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[13]||(t[13]=o=>s.firstB(6))}," \u2192 ",2)]),i.error?(te(),ne("p",ZX,Ve(i.errorMsg),1)):Le("",!0)])):Le("",!0),i.sixthV?(te(),ne("div",eQ,[y("p",{class:"text-3xl p-3 text-gray-200 bg-transparent",innerHTML:i.sixth.typedText},null,8,tQ),y("div",nQ,[et(y("input",{class:"w-full placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14 focus:outline-none",type:"email",placeholder:"Ex : CSE","onUpdate:modelValue":t[14]||(t[14]=o=>i.department=o),onKeyup:t[15]||(t[15]=ei(o=>s.firstB(7),["enter"]))},null,544),[[vr,i.department]]),y("button",{class:ut({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[16]||(t[16]=o=>s.firstB(7))}," \u2192 ",2)]),i.error?(te(),ne("p",rQ,Ve(i.errorMsg),1)):Le("",!0)])):Le("",!0),i.seventhV?(te(),ne("div",iQ,[y("p",{class:"text-3xl p-3 text-gray-200 bg-transparent",innerHTML:i.seventh.typedText},null,8,sQ),y("div",aQ,[et(y("select",{"onUpdate:modelValue":t[17]||(t[17]=o=>i.batch=o),class:"block appearance-none w-full border border-gray-200 py-3 px-4 leading-tight focus:outline-none focus:bg-gray-900 focus:border-gray-500 placeholder-gray-200::placeholder text-xl bg-amber-600 bg-opacity-5 text-gray-200 p-4 rounded-md pr-14",id:"grid-state"},dQ,512),[[Rd,i.batch]]),y("button",{class:ut({"absolute right-0 top-0 h-full px-4 bg-amber-200 text-black hover:bg-amber-300":!i.error,"absolute right-0 top-0 h-full px-4 bg-red-600 text-black hover:bg-red-700":i.error}),onClick:t[18]||(t[18]=(...o)=>s.finish&&s.finish(...o))}," \u2192 ",2)]),i.error?(te(),ne("p",fQ,Ve(i.errorMsg),1)):Le("",!0)])):Le("",!0),i.showRulesModal?(te(),ne("div",hQ,[y("button",{onClick:t[19]||(t[19]=(...o)=>s.closeRulesModal&&s.closeRulesModal(...o)),class:"bg-amber-600 text-white p-2 m-2 border-radius-50 hover:bg-orange-700 hover:text-gray-800"}," I Agree \u2192 "),mQ,m(a)])):Le("",!0)])}const gQ=lt(_X,[["render",vQ],["__scopeId","data-v-87712438"]]);const pQ={data(){return{isLoading:!1,postData:{}}},methods:{handleResponse(e){this.postData.title=e.title,this.postData.content=e.content,this.isLoading=!1}},mounted(){const t="https://www.googleapis.com/blogger/v3/blogs/byurl?url=https://speecholympiad.blogspot.com/?key="+"AIzaSyBMOiTpc_PPERG4ZhPbTQIZ8uAHnNzsKos";window.handleResponse=this.handleResponse;const n=document.createElement("script");n.src=t+"&callback=handleResponse",document.body.appendChild(n)}},yQ={key:0,class:"loading"},bQ={key:1},_Q=["innerHTML"];function wQ(e,t,n,r,i,s){return te(),ne("div",null,[i.isLoading?(te(),ne("div",yQ,"Loading...")):(te(),ne("div",bQ,[y("h1",null,Ve(i.postData.title),1),y("div",{innerHTML:i.postData.content},null,8,_Q)]))])}const xQ=lt(pQ,[["render",wQ],["__scopeId","data-v-a730c343"]]),SQ={"/":yj,"/about":kj,"/champions-story":wE,"/technical-tips":yE,"/gallery":zj,"/blogs":mE,"/form":ZY,"/admin":bX,"/register":gQ,"/rules":XC,"/blog2":xQ},CQ={data(){return{currentPath:window.location.hash}},components:{AppHeader:t$,AppFooter:OD},computed:{currentView(){return window.scrollTo({top:0,behavior:"auto"}),SQ["/"+this.currentPath.slice(1)]||qj}},mounted(){window.addEventListener("hashchange",()=>{this.currentPath=window.location.hash})},setup(){bU({projectId:"i32b0q2c",dataset:"production",useCdn:!0},!0)}};function TQ(e,t,n,r,i,s){const a=Ke("AppHeader"),o=Ke("AppFooter");return te(),ne(Se,null,[m(a),(te(),Ru(US(s.currentView))),m(o)],64)}const EQ=lt(CQ,[["render",TQ]]),IQ={bind(e,t){const n=t.value||{},r=n.animationClass||"fade-in",i=n.offset||0;e.style.transition="none",window.addEventListener("scroll",()=>{const s=e.getBoundingClientRect(),a=window.innerHeight;s.top-a+i<0&&(e.classList.add(r),e.style.transition="")})}};const Ct=typeof window<"u",jb=Ct&&"IntersectionObserver"in window,kQ=Ct&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function Kw(e,t,n){AQ(e,t),t.set(e,n)}function AQ(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function PQ(e,t,n){var r=Mk(e,t,"set");return VQ(e,r,n),n}function VQ(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function Os(e,t){var n=Mk(e,t,"get");return OQ(e,n)}function Mk(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function OQ(e,t){return t.get?t.get.call(e):t.value}function Dk(e,t,n){const r=t.length-1;if(r<0)return e===void 0?n:e;for(let i=0;iIa(e[r],t[r]))}function zg(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),Dk(e,t.split("."),n))}function An(e,t,n){if(t==null)return e===void 0?n:e;if(e!==Object(e)){if(typeof t!="function")return n;const i=t(e,n);return typeof i>"u"?n:i}if(typeof t=="string")return zg(e,t,n);if(Array.isArray(t))return Dk(e,t,n);if(typeof t!="function")return n;const r=t(e,n);return typeof r>"u"?n:r}function bi(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,r)=>t+r)}function Te(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function Ug(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Hg(e){return e&&"$el"in e?e.$el:e}const Yw=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16}),qg=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});function $k(e){return Object.keys(e)}function ea(e,t){return t.every(n=>e.hasOwnProperty(n))}function va(e,t,n){const r=Object.create(null),i=Object.create(null);for(const s in e)t.some(a=>a instanceof RegExp?a.test(s):a===s)&&!(n!=null&&n.some(a=>a===s))?r[s]=e[s]:i[s]=e[s];return[r,i]}function Er(e,t){const n={...e};return t.forEach(r=>delete n[r]),n}const Fk=/^on[^a-z]/,zb=e=>Fk.test(e),RQ=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function ka(e){const[t,n]=va(e,[Fk]),r=Er(t,RQ),[i,s]=va(n,["class","style","id",/^data-/]);return Object.assign(i,t),Object.assign(s,r),[i,s]}function xr(e){return e==null?[]:Array.isArray(e)?e:[e]}function On(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function Xw(e){const t=e.toString().trim();return t.includes(".")?t.length-t.indexOf(".")-1:0}function Qw(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function MQ(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let r=0;for(;r1&&arguments[1]!==void 0?arguments[1]:1e3;if(e=t&&r0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r={};for(const i in e)r[i]=e[i];for(const i in t){const s=e[i],a=t[i];if(Ug(s)&&Ug(a)){r[i]=yr(s,a,n);continue}if(Array.isArray(s)&&Array.isArray(a)&&n){r[i]=n(s,a);continue}r[i]=a}return r}function Nk(e){return e.map(t=>t.type===Se?Nk(t.children):t).flat()}function aa(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(aa.cache.has(e))return aa.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return aa.cache.set(e,t),t}aa.cache=new Map;function Nl(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Nl(e,n)).flat(1);if(Array.isArray(t.children))return t.children.map(n=>Nl(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return Nl(e,t.component.subTree).flat(1)}return[]}var jc=new WeakMap,ja=new WeakMap;class DQ{constructor(t){Kw(this,jc,{writable:!0,value:[]}),Kw(this,ja,{writable:!0,value:0}),this.size=t}push(t){Os(this,jc)[Os(this,ja)]=t,PQ(this,ja,(Os(this,ja)+1)%this.size)}values(){return Os(this,jc).slice(Os(this,ja)).concat(Os(this,jc).slice(0,Os(this,ja)))}}function $Q(e){return"touches"in e?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}}function Ub(e){const t=en({}),n=x(e);return or(()=>{for(const r in n.value)t[r]=n.value[r]},{flush:"sync"}),zp(t)}function xf(e,t){return e.includes(t)}function Lk(e){return e[2].toLowerCase()+e.slice(3)}const li=()=>[Function,Array];function Zw(e,t){return t="on"+Di(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function Hb(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1&&arguments[1]!==void 0?arguments[1]:!0;const n=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(r=>`${r}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(n)]}function Bk(e,t,n){var a;let r,i=e.indexOf(document.activeElement);const s=t==="next"?1:-1;do i+=s,r=e[i];while((!r||r.offsetParent==null||!((a=n==null?void 0:n(r))==null||a))&&i=0);return r}function Sf(e,t){var r,i,s,a;const n=xu(e);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((r=n[0])==null||r.focus());else if(t==="first")(i=n[0])==null||i.focus();else if(t==="last")(s=n.at(-1))==null||s.focus();else if(typeof t=="number")(a=n[t])==null||a.focus();else{const o=Bk(n,t);o?o.focus():Sf(e,t==="next"?"first":"last")}}function jk(){}function Eo(e,t){if(!(Ct&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}const zk=["top","bottom"],FQ=["start","end","left","right"];function Wg(e,t){let[n,r]=e.split(" ");return r||(r=xf(zk,n)?"start":xf(FQ,n)?"top":"center"),{side:Gg(n,t),align:Gg(r,t)}}function Gg(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function sv(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function av(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function ex(e){return{side:e.align,align:e.side}}function tx(e){return xf(zk,e.side)?"y":"x"}class vo{constructor(t){let{x:n,y:r,width:i,height:s}=t;this.x=n,this.y=r,this.width=i,this.height=s}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function nx(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function qb(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),r=n.transform;if(r){let i,s,a,o,l;if(r.startsWith("matrix3d("))i=r.slice(9,-1).split(/, /),s=+i[0],a=+i[5],o=+i[12],l=+i[13];else if(r.startsWith("matrix("))i=r.slice(7,-1).split(/, /),s=+i[0],a=+i[3],o=+i[4],l=+i[5];else return new vo(t);const u=n.transformOrigin,c=t.x-o-(1-s)*parseFloat(u),d=t.y-l-(1-a)*parseFloat(u.slice(u.indexOf(" ")+1)),f=s?t.width/s:e.offsetWidth+1,h=a?t.height/a:e.offsetHeight+1;return new vo({x:c,y:d,width:f,height:h})}else return new vo(t)}function ta(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let r;try{r=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof r.finished>"u"&&(r.finished=new Promise(i=>{r.onfinish=()=>{i(r)}})),r}const _d=new WeakMap;function NQ(e,t){Object.keys(t).forEach(n=>{if(zb(n)){const r=Lk(n),i=_d.get(e);if(t[n]==null)i==null||i.forEach(s=>{const[a,o]=s;a===r&&(e.removeEventListener(r,o),i.delete(s))});else if(!i||![...i].some(s=>s[0]===r&&s[1]===t[n])){e.addEventListener(r,t[n]);const s=i||new Set;s.add([r,t[n]]),_d.has(e)||_d.set(e,s)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function LQ(e,t){Object.keys(t).forEach(n=>{if(zb(n)){const r=Lk(n),i=_d.get(e);i==null||i.forEach(s=>{const[a,o]=s;a===r&&(e.removeEventListener(r,o),i.delete(s))})}else e.removeAttribute(n)})}const za=2.4,rx=.2126729,ix=.7151522,sx=.072175,BQ=.55,jQ=.58,zQ=.57,UQ=.62,zc=.03,ax=1.45,HQ=5e-4,qQ=1.25,WQ=1.25,ox=.078,lx=12.82051282051282,Uc=.06,ux=.001;function cx(e,t){const n=(e.r/255)**za,r=(e.g/255)**za,i=(e.b/255)**za,s=(t.r/255)**za,a=(t.g/255)**za,o=(t.b/255)**za;let l=n*rx+r*ix+i*sx,u=s*rx+a*ix+o*sx;if(l<=zc&&(l+=(zc-l)**ax),u<=zc&&(u+=(zc-u)**ax),Math.abs(u-l)l){const d=(u**BQ-l**jQ)*qQ;c=d-ux?0:d>-ox?d-d*lx*Uc:d+Uc}return c*100}function xi(e){Nf(`Vuetify: ${e}`)}function Kg(e){Nf(`Vuetify error: ${e}`)}function GQ(e,t){t=Array.isArray(t)?t.slice(0,-1).map(n=>`'${n}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`,Nf(`[Vuetify UPGRADE] '${e}' is deprecated, use ${t} instead.`)}const Cf=.20689655172413793,KQ=e=>e>Cf**3?Math.cbrt(e):e/(3*Cf**2)+4/29,YQ=e=>e>Cf?e**3:3*Cf**2*(e-4/29);function Uk(e){const t=KQ,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function Hk(e){const t=YQ,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const XQ=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],QQ=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,JQ=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],ZQ=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function qk(e){const t=Array(3),n=QQ,r=XQ;for(let i=0;i<3;++i)t[i]=Math.round(On(n(r[i][0]*e[0]+r[i][1]*e[1]+r[i][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function Wb(e){let{r:t,g:n,b:r}=e;const i=[0,0,0],s=ZQ,a=JQ;t=s(t/255),n=s(n/255),r=s(r/255);for(let o=0;o<3;++o)i[o]=a[o][0]*t+a[o][1]*n+a[o][2]*r;return i}function dx(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}const fx=/^(?(?:rgb|hsl)a?)\((?.+)\)/,eJ={rgb:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),rgba:(e,t,n,r)=>({r:e,g:t,b:n,a:r}),hsl:(e,t,n,r)=>hx({h:e,s:t,l:n,a:r}),hsla:(e,t,n,r)=>hx({h:e,s:t,l:n,a:r}),hsv:(e,t,n,r)=>Oi({h:e,s:t,v:n,a:r}),hsva:(e,t,n,r)=>Oi({h:e,s:t,v:n,a:r})};function Hr(e){if(typeof e=="number")return(isNaN(e)||e<0||e>16777215)&&xi(`'${e}' is not a valid hex color`),{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&fx.test(e)){const{groups:t}=e.match(fx),{fn:n,values:r}=t,i=r.split(/,\s*/).map(s=>s.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(s)/100:parseFloat(s));return eJ[n](...i)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;[3,4].includes(t.length)?t=t.split("").map(r=>r+r).join(""):[6,8].includes(t.length)||xi(`'${e}' is not a valid hex(a) color`);const n=parseInt(t,16);return(isNaN(n)||n<0||n>4294967295)&&xi(`'${e}' is not a valid hex(a) color`),Xk(t)}else if(typeof e=="object"){if(ea(e,["r","g","b"]))return e;if(ea(e,["h","s","l"]))return Oi(Gb(e));if(ea(e,["h","s","v"]))return Oi(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name} +Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Oi(e){const{h:t,s:n,v:r,a:i}=e,s=o=>{const l=(o+t/60)%6;return r-r*n*Math.max(Math.min(l,4-l,1),0)},a=[s(5),s(3),s(1)].map(o=>Math.round(o*255));return{r:a[0],g:a[1],b:a[2],a:i}}function hx(e){return Oi(Gb(e))}function Uh(e){if(!e)return{h:0,s:1,v:1,a:1};const t=e.r/255,n=e.g/255,r=e.b/255,i=Math.max(t,n,r),s=Math.min(t,n,r);let a=0;i!==s&&(i===t?a=60*(0+(n-r)/(i-s)):i===n?a=60*(2+(r-t)/(i-s)):i===r&&(a=60*(4+(t-n)/(i-s)))),a<0&&(a=a+360);const o=i===0?0:(i-s)/i,l=[a,o,i];return{h:l[0],s:l[1],v:l[2],a:e.a}}function Wk(e){const{h:t,s:n,v:r,a:i}=e,s=r-r*n/2,a=s===1||s===0?0:(r-s)/Math.min(s,1-s);return{h:t,s:a,l:s,a:i}}function Gb(e){const{h:t,s:n,l:r,a:i}=e,s=r+n*Math.min(r,1-r),a=s===0?0:2-2*r/s;return{h:t,s:a,v:s,a:i}}function Gk(e){let{r:t,g:n,b:r,a:i}=e;return i===void 0?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${i})`}function Kk(e){return Gk(Oi(e))}function Hc(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function Yk(e){let{r:t,g:n,b:r,a:i}=e;return`#${[Hc(t),Hc(n),Hc(r),i!==void 0?Hc(Math.round(i*255)):""].join("")}`}function Xk(e){e=nJ(e);let[t,n,r,i]=MQ(e,2).map(s=>parseInt(s,16));return i=i===void 0?i:i/255,{r:t,g:n,b:r,a:i}}function tJ(e){const t=Xk(e);return Uh(t)}function Qk(e){return Yk(Oi(e))}function nJ(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=Qw(Qw(e,6),8,"F")),e}function rJ(e,t){const n=Uk(Wb(e));return n[0]=n[0]+t*10,qk(Hk(n))}function iJ(e,t){const n=Uk(Wb(e));return n[0]=n[0]-t*10,qk(Hk(n))}function Yg(e){const t=Hr(e);return Wb(t)[1]}function sJ(e,t){const n=Yg(e),r=Yg(t),i=Math.max(n,r),s=Math.min(n,r);return(i+.05)/(s+.05)}function Jk(e){const t=Math.abs(cx(Hr(0),Hr(e)));return Math.abs(cx(Hr(16777215),Hr(e)))>Math.min(t,50)?"#fff":"#000"}function K(e,t){return n=>Object.keys(e).reduce((r,i)=>{const a=typeof e[i]=="object"&&e[i]!=null&&!Array.isArray(e[i])?e[i]:{type:e[i]};return n&&i in n?r[i]={...a,default:n[i]}:r[i]=a,t&&!r[i].source&&(r[i].source=t),r},{})}const xe=K({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function Ir(e){var t,n;if(e._setup=(t=e._setup)!=null?t:e.setup,!e.name)return xi("The component is missing an explicit name, unable to generate default prop value"),e;if(e._setup){e.props=K((n=e.props)!=null?n:{},e.name)();const r=Object.keys(e.props);e.filterProps=function(s){return va(s,r,["class","style"])},e.props._as=String,e.setup=function(s,a){var d;const o=Xb();if(!o.value)return e._setup(s,a);const{props:l,provideSubDefaults:u}=hJ(s,(d=s._as)!=null?d:e.name,o),c=e._setup(l,a);return u(),c}}return e}function re(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?Ir:Vo)(t)}function Xr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return re()({name:n!=null?n:Di(Sr(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...xe()},setup(r,i){let{slots:s}=i;return()=>{var a;return Lt(r.tag,{class:[e,r.class],style:r.style},(a=s.default)==null?void 0:a.call(s))}}})}function Zk(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const Su="cubic-bezier(0.4, 0, 0.2, 1)",aJ="cubic-bezier(0.0, 0, 0.2, 1)",oJ="cubic-bezier(0.4, 0, 1, 1)";function vn(e,t){const n=xa();if(!n)throw new Error(`[Vuetify] ${e} ${t||"must be called from inside a setup function"}`);return n}function Li(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=vn(e).type;return aa((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let eA=0,wd=new WeakMap;function Ln(){const e=vn("getUid");if(wd.has(e))return wd.get(e);{const t=eA++;return wd.set(e,t),t}}Ln.reset=()=>{eA=0,wd=new WeakMap};function Kb(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?lJ(e):Yb(e))return e;e=e.parentElement}return document.scrollingElement}function Tf(e,t){const n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(Yb(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function Yb(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function lJ(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function uJ(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:vn("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}function cJ(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function ue(e){const t=vn("useRender");t.render=e}const Io=Symbol.for("vuetify:defaults");function dJ(e){return le(e)}function Xb(){const e=gt(Io);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function Xt(e,t){const n=Xb(),r=le(e),i=x(()=>{if(Yt(t==null?void 0:t.disabled))return n.value;const a=Yt(t==null?void 0:t.scoped),o=Yt(t==null?void 0:t.reset),l=Yt(t==null?void 0:t.root);if(r.value==null&&!(a||o||l))return n.value;let u=yr(r.value,{prev:n.value});if(a)return u;if(o||l){const c=Number(o||1/0);for(let d=0;d<=c&&!(!u||!("prev"in u));d++)u=u.prev;return u&&typeof l=="string"&&l in u&&(u=yr(yr(u,{prev:u}),u[l])),u}return u.prev?yr(u.prev,u):u});return Mt(Io,i),i}function fJ(e,t){var n,r;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((r=e.props)==null?void 0:r[aa(t)])<"u"}function hJ(){var l;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Xb();const r=vn("useDefaults");if(t=(l=t!=null?t:r.type.name)!=null?l:r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const i=x(()=>{var u,c;return(c=n.value)==null?void 0:c[(u=e._as)!=null?u:t]}),s=new Proxy(e,{get(u,c){var f,h,v,g,b,p;const d=Reflect.get(u,c);return c==="class"||c==="style"?[(f=i.value)==null?void 0:f[c],d].filter(_=>_!=null):typeof c=="string"&&!fJ(r.vnode,c)&&(p=(b=(h=i.value)==null?void 0:h[c])!=null?b:(g=(v=n.value)==null?void 0:v.global)==null?void 0:g[c])!=null?p:d}}),a=we();or(()=>{if(i.value){const u=Object.entries(i.value).filter(c=>{let[d]=c;return d.startsWith(d[0].toUpperCase())});a.value=u.length?Object.fromEntries(u):void 0}else a.value=void 0});function o(){const u=uJ(Io,r);Mt(Io,x(()=>{var c;return a.value?yr((c=u==null?void 0:u.value)!=null?c:{},a.value):u==null?void 0:u.value}))}return{props:s,provideSubDefaults:o}}const Hh=["sm","md","lg","xl","xxl"],Xg=Symbol.for("vuetify:display"),mx={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},mJ=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:mx;return yr(mx,e)};function vx(e){return Ct&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function gx(e){return Ct&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function px(e){const t=Ct&&!e?window.navigator.userAgent:"ssr";function n(v){return Boolean(t.match(v))}const r=n(/android/i),i=n(/iphone|ipad|ipod/i),s=n(/cordova/i),a=n(/electron/i),o=n(/chrome/i),l=n(/edge/i),u=n(/firefox/i),c=n(/opera/i),d=n(/win/i),f=n(/mac/i),h=n(/linux/i);return{android:r,ios:i,cordova:s,electron:a,chrome:o,edge:l,firefox:u,opera:c,win:d,mac:f,linux:h,touch:kQ,ssr:t==="ssr"}}function vJ(e,t){const{thresholds:n,mobileBreakpoint:r}=mJ(e),i=we(gx(t)),s=we(px(t)),a=en({}),o=we(vx(t));function l(){i.value=gx(),o.value=vx()}function u(){l(),s.value=px()}return or(()=>{const c=o.value=n.xxl,b=c?"xs":d?"sm":f?"md":h?"lg":v?"xl":"xxl",p=typeof r=="number"?r:n[r],_=o.valueLt(Jb,{...e,class:"mdi"})},je=[String,Function,Object,Array],Qg=Symbol.for("vuetify:icons"),qh=K({icon:{type:je},tag:{type:String,required:!0}},"icon"),Jg=re()({name:"VComponentIcon",props:qh(),setup(e,t){let{slots:n}=t;return()=>{const r=e.icon;return m(e.tag,null,{default:()=>{var i;return[e.icon?m(r,null,null):(i=n.default)==null?void 0:i.call(n)]}})}}}),Qb=Ir({name:"VSvgIcon",inheritAttrs:!1,props:qh(),setup(e,t){let{attrs:n}=t;return()=>m(e.tag,be(n,{style:null}),{default:()=>[m("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(r=>Array.isArray(r)?m("path",{d:r[0],"fill-opacity":r[1]},null):m("path",{d:r},null)):m("path",{d:e.icon},null)])]})}}),yJ=Ir({name:"VLigatureIcon",props:qh(),setup(e){return()=>m(e.tag,null,{default:()=>[e.icon]})}}),Jb=Ir({name:"VClassIcon",props:qh(),setup(e){return()=>m(e.tag,{class:e.icon},null)}}),bJ={svg:{component:Qb},class:{component:Jb}};function _J(e){return yr({defaultSet:"mdi",sets:{...bJ,mdi:pJ},aliases:{...gJ,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},e)}const wJ=e=>{const t=gt(Qg);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:x(()=>{var l;const r=Yt(e);if(!r)return{component:Jg};let i=r;if(typeof i=="string"&&(i=i.trim(),i.startsWith("$")&&(i=(l=t.aliases)==null?void 0:l[i.slice(1)])),!i)throw new Error(`Could not find aliased icon "${r}"`);if(Array.isArray(i))return{component:Qb,icon:i};if(typeof i!="string")return{component:Jg,icon:i};const s=Object.keys(t.sets).find(u=>typeof i=="string"&&i.startsWith(`${u}:`)),a=s?i.slice(s.length+1):i;return{component:t.sets[s!=null?s:t.defaultSet].component,icon:a}})}},xJ={badge:"Badge",open:"Open",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{ok:"OK",cancel:"Cancel",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},SJ={af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1};function gs(e,t){let n;function r(){n=Mp(),n.run(()=>t.length?t(()=>{n==null||n.stop(),r()}):t())}ve(e,i=>{i&&!n?r():i||(n==null||n.stop(),n=void 0)},{immediate:!0}),Gn(()=>{n==null||n.stop()})}function qe(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:d=>d,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:d=>d;const s=vn("useProxiedModel"),a=le(e[t]!==void 0?e[t]:n),o=aa(t),u=x(o!==t?()=>{var d,f,h,v;return e[t],!!((((d=s.vnode.props)==null?void 0:d.hasOwnProperty(t))||((f=s.vnode.props)==null?void 0:f.hasOwnProperty(o)))&&(((h=s.vnode.props)==null?void 0:h.hasOwnProperty(`onUpdate:${t}`))||((v=s.vnode.props)==null?void 0:v.hasOwnProperty(`onUpdate:${o}`))))}:()=>{var d,f;return e[t],!!(((d=s.vnode.props)==null?void 0:d.hasOwnProperty(t))&&((f=s.vnode.props)==null?void 0:f.hasOwnProperty(`onUpdate:${t}`)))});gs(()=>!u.value,()=>{ve(()=>e[t],d=>{a.value=d})});const c=x({get(){const d=e[t];return r(u.value?d:a.value)},set(d){const f=i(d),h=Xe(u.value?e[t]:a.value);h===f||r(h)===d||(a.value=f,s==null||s.emit(`update:${t}`,f))}});return Object.defineProperty(c,"externalValue",{get:()=>u.value?e[t]:a.value}),c}const yx="$vuetify.",bx=(e,t)=>e.replace(/\{(\d+)\}/g,(n,r)=>String(t[+r])),tA=(e,t,n)=>function(r){for(var i=arguments.length,s=new Array(i>1?i-1:0),a=1;anew Intl.NumberFormat([e.value,t.value],r).format(n)}function ov(e,t,n){var i,s;const r=qe(e,t,(i=e[t])!=null?i:n.value);return r.value=(s=e[t])!=null?s:n.value,ve(n,a=>{e[t]==null&&(r.value=n.value)}),r}function rA(e){return t=>{const n=ov(t,"locale",e.current),r=ov(t,"fallback",e.fallback),i=ov(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:r,messages:i,t:tA(n,r,i),n:nA(n,r),provide:rA({current:n,fallback:r,messages:i})}}}function CJ(e){var i,s;const t=we((i=e==null?void 0:e.locale)!=null?i:"en"),n=we((s=e==null?void 0:e.fallback)!=null?s:"en"),r=le({en:xJ,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:r,t:tA(t,n,r),n:nA(t,n),provide:rA({current:t,fallback:n,messages:r})}}const ko=Symbol.for("vuetify:locale");function TJ(e){return e.name!=null}function EJ(e){const t=(e==null?void 0:e.adapter)&&TJ(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:CJ(e),n=kJ(t,e);return{...t,...n}}function kr(){const e=gt(ko);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function IJ(e){const t=gt(ko);if(!t)throw new Error("[Vuetify] Could not find injected locale instance");const n=t.provide(e),r=AJ(n,t.rtl,e),i={...n,...r};return Mt(ko,i),i}function kJ(e,t){var i;const n=le((i=t==null?void 0:t.rtl)!=null?i:SJ),r=x(()=>{var s;return(s=n.value[e.current.value])!=null?s:!1});return{isRtl:r,rtl:n,rtlClasses:x(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function AJ(e,t,n){const r=x(()=>{var i,s;return(s=(i=n.rtl)!=null?i:t.value[e.current.value])!=null?s:!1});return{isRtl:r,rtl:t,rtlClasses:x(()=>`v-locale--is-${r.value?"rtl":"ltr"}`)}}function gn(){const e=gt(ko);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const Cu=Symbol.for("vuetify:theme"),it=K({theme:String},"theme"),sl={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}};function PJ(){var n,r,i;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:sl;if(!e)return{...sl,isDisabled:!0};const t={};for(const[s,a]of Object.entries((n=e.themes)!=null?n:{})){const o=a.dark||s==="dark"?(r=sl.themes)==null?void 0:r.dark:(i=sl.themes)==null?void 0:i.light;t[s]=yr(o,a)}return yr(sl,{...e,themes:t})}function VJ(e){const t=PJ(e),n=le(t.defaultTheme),r=le(t.themes),i=x(()=>{const c={};for(const[d,f]of Object.entries(r.value)){const h=c[d]={...f,colors:{...f.colors}};if(t.variations)for(const v of t.variations.colors){const g=h.colors[v];if(!!g)for(const b of["lighten","darken"]){const p=b==="lighten"?rJ:iJ;for(const _ of bi(t.variations[b],1))h.colors[`${v}-${b}-${_}`]=Yk(p(Hr(g),_))}}for(const v of Object.keys(h.colors)){if(/^on-[a-z]/.test(v)||h.colors[`on-${v}`])continue;const g=`on-${v}`,b=Hr(h.colors[v]);h.colors[g]=Jk(b)}}return c}),s=x(()=>i.value[n.value]),a=x(()=>{const c=[];s.value.dark&&Rs(c,":root",["color-scheme: dark"]),Rs(c,":root",_x(s.value));for(const[v,g]of Object.entries(i.value))Rs(c,`.v-theme--${v}`,[`color-scheme: ${g.dark?"dark":"normal"}`,..._x(g)]);const d=[],f=[],h=new Set(Object.values(i.value).flatMap(v=>Object.keys(v.colors)));for(const v of h)/^on-[a-z]/.test(v)?Rs(f,`.${v}`,[`color: rgb(var(--v-theme-${v})) !important`]):(Rs(d,`.bg-${v}`,[`--v-theme-overlay-multiplier: var(--v-theme-${v}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${v})) !important`,`color: rgb(var(--v-theme-on-${v})) !important`]),Rs(f,`.text-${v}`,[`color: rgb(var(--v-theme-${v})) !important`]),Rs(f,`.border-${v}`,[`--v-border-color: var(--v-theme-${v})`]));return c.push(...d,...f),c.map((v,g)=>g===0?v:` ${v}`).join("")});function o(){return{style:[{children:a.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function l(c){if(t.isDisabled)return;const d=c._context.provides.usehead;if(d)if(d.push){const f=d.push(o);Ct&&ve(a,()=>{f.patch(o)})}else Ct?(d.addHeadObjs(x(o)),or(()=>d.updateDOM())):d.addHeadObjs(o());else{let h=function(){if(typeof document<"u"&&!f){const v=document.createElement("style");v.type="text/css",v.id="vuetify-theme-stylesheet",t.cspNonce&&v.setAttribute("nonce",t.cspNonce),f=v,document.head.appendChild(f)}f&&(f.innerHTML=a.value)},f=Ct?document.getElementById("vuetify-theme-stylesheet"):null;Ct?ve(a,h,{immediate:!0}):h()}}const u=x(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:l,isDisabled:t.isDisabled,name:n,themes:r,current:s,computedThemes:i,themeClasses:u,styles:a,global:{name:n,current:s}}}function ft(e){vn("provideTheme");const t=gt(Cu,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=x(()=>{var a;return(a=e.theme)!=null?a:t.name.value}),r=x(()=>t.themes.value[n.value]),i=x(()=>t.isDisabled?void 0:`v-theme--${n.value}`),s={...t,name:n,current:r,themeClasses:i};return Mt(Cu,s),s}function iA(){vn("useTheme");const e=gt(Cu,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function Rs(e,t,n){e.push(`${t} { +`,...n.map(r=>` ${r}; +`),`} +`)}function _x(e){const t=e.dark?2:1,n=e.dark?1:2,r=[];for(const[i,s]of Object.entries(e.colors)){const a=Hr(s);r.push(`--v-theme-${i}: ${a.r},${a.g},${a.b}`),i.startsWith("on-")||r.push(`--v-theme-${i}-overlay-multiplier: ${Yg(s)>.18?t:n}`)}for(const[i,s]of Object.entries(e.variables)){const a=typeof s=="string"&&s.startsWith("#")?Hr(s):void 0,o=a?`${a.r}, ${a.g}, ${a.b}`:void 0;r.push(`--v-${i}: ${o!=null?o:s}`)}return r}const Zg={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function OJ(e,t){const n=[];let r=[];const i=sA(e),s=aA(e),a=i.getDay()-Zg[t.slice(-2).toUpperCase()],o=s.getDay()-Zg[t.slice(-2).toUpperCase()];for(let l=0;l{const r=new Date(wx);return r.setDate(wx.getDate()+t+n),new Intl.DateTimeFormat(e,{weekday:"narrow"}).format(r)})}function FJ(e,t,n){const r=new Date(e);let i={};switch(t){case"fullDateWithWeekday":i={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"normalDateWithWeekday":i={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":i={};break;case"monthAndDate":i={month:"long",day:"numeric"};break;case"monthAndYear":i={month:"long",year:"numeric"};break;case"dayOfMonth":i={day:"numeric"};break;default:i={timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,i).format(r)}function NJ(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function LJ(e,t){const n=new Date(e);return n.setMonth(n.getMonth()+t),n}function BJ(e){return e.getFullYear()}function jJ(e){return e.getMonth()}function zJ(e){return new Date(e.getFullYear(),0,1)}function UJ(e){return new Date(e.getFullYear(),11,31)}function HJ(e,t){return ep(e,t[0])&&WJ(e,t[1])}function qJ(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function ep(e,t){return e.getTime()>t.getTime()}function WJ(e,t){return e.getTime()1&&arguments[1]!==void 0?arguments[1]:"content";const n=le(),r=le();if(Ct){const i=new ResizeObserver(s=>{e==null||e(s,i),s.length&&(t==="content"?r.value=s[0].contentRect:r.value=s[0].target.getBoundingClientRect())});Kn(()=>{i.disconnect()}),ve(n,(s,a)=>{a&&(i.unobserve(Hg(a)),r.value=void 0),s&&i.observe(Hg(s))},{flush:"post"})}return{resizeRef:n,contentRect:Ou(r)}}const Ef=Symbol.for("vuetify:layout"),oA=Symbol.for("vuetify:layout-item"),Cx=1e3,lA=K({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),zo=K({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function ZJ(){const e=gt(Ef);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Uo(e){var o;const t=gt(Ef);if(!t)throw new Error("[Vuetify] Could not find injected layout");const n=(o=e.id)!=null?o:`layout-item-${Ln()}`,r=vn("useLayoutItem");Mt(oA,{id:n});const i=we(!1);LS(()=>i.value=!0),NS(()=>i.value=!1);const{layoutItemStyles:s,layoutItemScrimStyles:a}=t.register(r,{...e,active:x(()=>i.value?!1:e.active.value),id:n});return Kn(()=>t.unregister(n)),{layoutItemStyles:s,layoutRect:t.layoutRect,layoutItemScrimStyles:a}}const eZ=(e,t,n,r)=>{let i={top:0,left:0,right:0,bottom:0};const s=[{id:"",layer:{...i}}];for(const a of e){const o=t.get(a),l=n.get(a),u=r.get(a);if(!o||!l||!u)continue;const c={...i,[o.value]:parseInt(i[o.value],10)+(u.value?parseInt(l.value,10):0)};s.push({id:a,layer:c}),i=c}return s};function uA(e){const t=gt(Ef,null),n=x(()=>t?t.rootZIndex.value-100:Cx),r=le([]),i=en(new Map),s=en(new Map),a=en(new Map),o=en(new Map),l=en(new Map),{resizeRef:u,contentRect:c}=fi(),d=x(()=>{var k;const A=new Map,$=(k=e.overlaps)!=null?k:[];for(const T of $.filter(D=>D.includes(":"))){const[D,E]=T.split(":");if(!r.value.includes(D)||!r.value.includes(E))continue;const S=i.get(D),P=i.get(E),M=s.get(D),Q=s.get(E);!S||!P||!M||!Q||(A.set(E,{position:S.value,amount:parseInt(M.value,10)}),A.set(D,{position:P.value,amount:-parseInt(Q.value,10)}))}return A}),f=x(()=>{const A=[...new Set([...a.values()].map(k=>k.value))].sort((k,T)=>k-T),$=[];for(const k of A){const T=r.value.filter(D=>{var E;return((E=a.get(D))==null?void 0:E.value)===k});$.push(...T)}return eZ($,i,s,o)}),h=x(()=>!Array.from(l.values()).some(A=>A.value)),v=x(()=>f.value[f.value.length-1].layer),g=x(()=>({"--v-layout-left":Te(v.value.left),"--v-layout-right":Te(v.value.right),"--v-layout-top":Te(v.value.top),"--v-layout-bottom":Te(v.value.bottom),...h.value?void 0:{transition:"none"}})),b=x(()=>f.value.slice(1).map((A,$)=>{let{id:k}=A;const{layer:T}=f.value[$],D=s.get(k),E=i.get(k);return{id:k,...T,size:Number(D.value),position:E.value}})),p=A=>b.value.find($=>$.id===A),_=vn("createLayout"),w=we(!1);xn(()=>{w.value=!0}),Mt(Ef,{register:(A,$)=>{let{id:k,order:T,position:D,layoutSize:E,elementSize:S,active:P,disableTransitions:M,absolute:Q}=$;a.set(k,T),i.set(k,D),s.set(k,E),o.set(k,P),M&&l.set(k,M);const j=Nl(oA,_==null?void 0:_.vnode).indexOf(A);j>-1?r.value.splice(j,0,k):r.value.push(k);const B=x(()=>b.value.findIndex(ge=>ge.id===k)),J=x(()=>n.value+f.value.length*2-B.value*2),ee=x(()=>{const ge=D.value==="left"||D.value==="right",fe=D.value==="right",Ae=D.value==="bottom",Ne={[D.value]:0,zIndex:J.value,transform:`translate${ge?"X":"Y"}(${(P.value?0:-110)*(fe||Ae?-1:1)}%)`,position:Q.value||n.value!==Cx?"absolute":"fixed",...h.value?void 0:{transition:"none"}};if(!w.value)return Ne;const Z=b.value[B.value];if(!Z)throw new Error(`[Vuetify] Could not find layout item "${k}"`);const Re=d.value.get(k);return Re&&(Z[Re.position]+=Re.amount),{...Ne,height:ge?`calc(100% - ${Z.top}px - ${Z.bottom}px)`:S.value?`${S.value}px`:void 0,left:fe?void 0:`${Z.left}px`,right:fe?`${Z.right}px`:void 0,top:D.value!=="bottom"?`${Z.top}px`:void 0,bottom:D.value!=="top"?`${Z.bottom}px`:void 0,width:ge?S.value?`${S.value}px`:void 0:`calc(100% - ${Z.left}px - ${Z.right}px)`}}),se=x(()=>({zIndex:J.value-1}));return{layoutItemStyles:ee,layoutItemScrimStyles:se,zIndex:J}},unregister:A=>{a.delete(A),i.delete(A),s.delete(A),o.delete(A),l.delete(A),r.value=r.value.filter($=>$!==A)},mainRect:v,mainStyles:g,getLayoutItem:p,items:b,layoutRect:c,rootZIndex:n});const C=x(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),I=x(()=>({zIndex:n.value,position:t?"relative":void 0,overflow:t?"hidden":void 0}));return{layoutClasses:C,layoutStyles:I,getLayoutItem:p,items:b,layoutRect:c,layoutRef:u}}function cA(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,r=yr(t,n),{aliases:i={},components:s={},directives:a={}}=r,o=dJ(r.defaults),l=vJ(r.display,r.ssr),u=VJ(r.theme),c=_J(r.icons),d=EJ(r.locale),f=JJ(r.date);return{install:v=>{for(const g in a)v.directive(g,a[g]);for(const g in s)v.component(g,s[g]);for(const g in i)v.component(g,Ir({...i[g],name:g,aliasName:i[g].name}));if(u.install(v),v.provide(Io,o),v.provide(Xg,l),v.provide(Cu,u),v.provide(Qg,c),v.provide(ko,d),v.provide(Sx,f),Ct&&r.ssr)if(v.$nuxt)v.$nuxt.hook("app:suspense:resolve",()=>{l.update()});else{const{mount:g}=v;v.mount=function(){const b=g(...arguments);return xt(()=>l.update()),v.mount=g,b}}Ln.reset(),v.mixin({computed:{$vuetify(){return en({defaults:Ua.call(this,Io),display:Ua.call(this,Xg),theme:Ua.call(this,Cu),icons:Ua.call(this,Qg),locale:Ua.call(this,ko),date:Ua.call(this,Sx)})}}})},defaults:o,display:l,theme:u,icons:c,locale:d,date:f}}const tZ="3.3.15";cA.version=tZ;function Ua(e){var r,i,s;const t=this.$,n=(s=(r=t.parent)==null?void 0:r.provides)!=null?s:(i=t.vnode.appContext)==null?void 0:i.provides;if(n&&e in n)return n[e]}const nZ=K({...xe(),...lA({fullHeight:!0}),...it()},"VApp"),rZ=re()({name:"VApp",props:nZ(),setup(e,t){let{slots:n}=t;const r=ft(e),{layoutClasses:i,layoutStyles:s,getLayoutItem:a,items:o,layoutRef:l}=uA(e),{rtlClasses:u}=gn();return ue(()=>{var c;return m("div",{ref:l,class:["v-application",r.themeClasses.value,i.value,u.value,e.class],style:[s.value,e.style]},[m("div",{class:"v-application__wrap"},[(c=n.default)==null?void 0:c.call(n)])])}),{getLayoutItem:a,items:o,theme:r}}});const Ge=K({tag:{type:String,default:"div"}},"tag"),dA=K({text:String,...xe(),...Ge()},"VToolbarTitle"),Zb=re()({name:"VToolbarTitle",props:dA(),setup(e,t){let{slots:n}=t;return ue(()=>{const r=!!(n.default||n.text||e.text);return m(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var i;return[r&&m("div",{class:"v-toolbar-title__placeholder"},[n.text?n.text():e.text,(i=n.default)==null?void 0:i.call(n)])]}})}),{}}}),iZ=K({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function cr(e,t,n){return re()({name:e,props:iZ({mode:n,origin:t}),setup(r,i){let{slots:s}=i;const a={onBeforeEnter(o){r.origin&&(o.style.transformOrigin=r.origin)},onLeave(o){if(r.leaveAbsolute){const{offsetTop:l,offsetLeft:u,offsetWidth:c,offsetHeight:d}=o;o._transitionInitialStyles={position:o.style.position,top:o.style.top,left:o.style.left,width:o.style.width,height:o.style.height},o.style.position="absolute",o.style.top=`${l}px`,o.style.left=`${u}px`,o.style.width=`${c}px`,o.style.height=`${d}px`}r.hideOnLeave&&o.style.setProperty("display","none","important")},onAfterLeave(o){if(r.leaveAbsolute&&(o==null?void 0:o._transitionInitialStyles)){const{position:l,top:u,left:c,width:d,height:f}=o._transitionInitialStyles;delete o._transitionInitialStyles,o.style.position=l||"",o.style.top=u||"",o.style.left=c||"",o.style.width=d||"",o.style.height=f||""}}};return()=>{const o=r.group?Xf:Rn;return Lt(o,{name:r.disabled?"":e,css:!r.disabled,...r.group?void 0:{mode:r.mode},...r.disabled?{}:a},s.default)}}})}function fA(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return re()({name:e,props:{mode:{type:String,default:n},disabled:Boolean},setup(r,i){let{slots:s}=i;return()=>Lt(Rn,{name:r.disabled?"":e,css:!r.disabled,...r.disabled?{}:t},s.default)}})}function hA(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",r=Sr(`offset-${n}`);return{onBeforeEnter(a){a._parent=a.parentNode,a._initialStyle={transition:a.style.transition,overflow:a.style.overflow,[n]:a.style[n]}},onEnter(a){const o=a._initialStyle;a.style.setProperty("transition","none","important"),a.style.overflow="hidden";const l=`${a[r]}px`;a.style[n]="0",a.offsetHeight,a.style.transition=o.transition,e&&a._parent&&a._parent.classList.add(e),requestAnimationFrame(()=>{a.style[n]=l})},onAfterEnter:s,onEnterCancelled:s,onLeave(a){a._initialStyle={transition:"",overflow:a.style.overflow,[n]:a.style[n]},a.style.overflow="hidden",a.style[n]=`${a[r]}px`,a.offsetHeight,requestAnimationFrame(()=>a.style[n]="0")},onAfterLeave:i,onLeaveCancelled:i};function i(a){e&&a._parent&&a._parent.classList.remove(e),s(a)}function s(a){const o=a._initialStyle[n];a.style.overflow=a._initialStyle.overflow,o!=null&&(a.style[n]=o),delete a._initialStyle}}const sZ=K({target:Object},"v-dialog-transition"),Wh=re()({name:"VDialogTransition",props:sZ(),setup(e,t){let{slots:n}=t;const r={onBeforeEnter(i){i.style.pointerEvents="none",i.style.visibility="hidden"},async onEnter(i,s){var f;await new Promise(h=>requestAnimationFrame(h)),await new Promise(h=>requestAnimationFrame(h)),i.style.visibility="";const{x:a,y:o,sx:l,sy:u,speed:c}=Ex(e.target,i),d=ta(i,[{transform:`translate(${a}px, ${o}px) scale(${l}, ${u})`,opacity:0},{}],{duration:225*c,easing:aJ});(f=Tx(i))==null||f.forEach(h=>{ta(h,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*c,easing:Su})}),d.finished.then(()=>s())},onAfterEnter(i){i.style.removeProperty("pointer-events")},onBeforeLeave(i){i.style.pointerEvents="none"},async onLeave(i,s){var f;await new Promise(h=>requestAnimationFrame(h));const{x:a,y:o,sx:l,sy:u,speed:c}=Ex(e.target,i);ta(i,[{},{transform:`translate(${a}px, ${o}px) scale(${l}, ${u})`,opacity:0}],{duration:125*c,easing:oJ}).finished.then(()=>s()),(f=Tx(i))==null||f.forEach(h=>{ta(h,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*c,easing:Su})})},onAfterLeave(i){i.style.removeProperty("pointer-events")}};return()=>e.target?m(Rn,be({name:"dialog-transition"},r,{css:!1}),n):m(Rn,{name:"dialog-transition"},n)}});function Tx(e){var n;const t=(n=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:n.children;return t&&[...t]}function Ex(e,t){const n=e.getBoundingClientRect(),r=qb(t),[i,s]=getComputedStyle(t).transformOrigin.split(" ").map(p=>parseFloat(p)),[a,o]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let l=n.left+n.width/2;a==="left"||o==="left"?l-=n.width/2:(a==="right"||o==="right")&&(l+=n.width/2);let u=n.top+n.height/2;a==="top"||o==="top"?u-=n.height/2:(a==="bottom"||o==="bottom")&&(u+=n.height/2);const c=n.width/r.width,d=n.height/r.height,f=Math.max(1,c,d),h=c/f||0,v=d/f||0,g=r.width*r.height/(window.innerWidth*window.innerHeight),b=g>.12?Math.min(1.5,(g-.12)*10+1):1;return{x:l-(i+r.left),y:u-(s+r.top),sx:h,sy:v,speed:b}}const aZ=cr("fab-transition","center center","out-in"),oZ=cr("dialog-bottom-transition"),lZ=cr("dialog-top-transition"),tp=cr("fade-transition"),e0=cr("scale-transition"),uZ=cr("scroll-x-transition"),cZ=cr("scroll-x-reverse-transition"),dZ=cr("scroll-y-transition"),fZ=cr("scroll-y-reverse-transition"),hZ=cr("slide-x-transition"),mZ=cr("slide-x-reverse-transition"),t0=cr("slide-y-transition"),vZ=cr("slide-y-reverse-transition"),Gh=fA("expand-transition",hA()),n0=fA("expand-x-transition",hA("",!0)),gZ=K({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),vt=re(!1)({name:"VDefaultsProvider",props:gZ(),setup(e,t){let{slots:n}=t;const{defaults:r,disabled:i,reset:s,root:a,scoped:o}=zp(e);return Xt(r,{reset:s,root:a,scoped:o,disabled:i}),()=>{var l;return(l=n.default)==null?void 0:l.call(n)}}});const Ar=K({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Pr(e){return{dimensionStyles:x(()=>({height:Te(e.height),maxHeight:Te(e.maxHeight),maxWidth:Te(e.maxWidth),minHeight:Te(e.minHeight),minWidth:Te(e.minWidth),width:Te(e.width)}))}}function pZ(e){return{aspectStyles:x(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const mA=K({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...xe(),...Ar()},"VResponsive"),np=re()({name:"VResponsive",props:mA(),setup(e,t){let{slots:n}=t;const{aspectStyles:r}=pZ(e),{dimensionStyles:i}=Pr(e);return ue(()=>{var s;return m("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[i.value,e.style]},[m("div",{class:"v-responsive__sizer",style:r.value},null),(s=n.additional)==null?void 0:s.call(n),n.default&&m("div",{class:["v-responsive__content",e.contentClass]},[n.default()])])}),{}}}),Bi=K({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),qr=(e,t)=>{let{slots:n}=t;const{transition:r,disabled:i,...s}=e,{component:a=Rn,...o}=typeof r=="object"?r:{};return Lt(a,be(typeof r=="string"?{name:i?"":r}:o,s,{disabled:i}),n)};function yZ(e,t){if(!jb)return;const n=t.modifiers||{},r=t.value,{handler:i,options:s}=typeof r=="object"?r:{handler:r,options:{}},a=new IntersectionObserver(function(){var d;let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const u=(d=e._observe)==null?void 0:d[t.instance.$.uid];if(!u)return;const c=o.some(f=>f.isIntersecting);i&&(!n.quiet||u.init)&&(!n.once||c||u.init)&&i(c,o,l),c&&n.once?vA(e,t):u.init=!0},s);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:a},a.observe(e)}function vA(e,t){var r;const n=(r=e._observe)==null?void 0:r[t.instance.$.uid];!n||(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const ic={mounted:yZ,unmounted:vA},gA=K({alt:String,cover:Boolean,eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},srcset:String,...mA(),...xe(),...Bi()},"VImg"),ga=re()({name:"VImg",directives:{intersect:ic},props:gA(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:n,slots:r}=t;const i=we(""),s=le(),a=we(e.eager?"loading":"idle"),o=we(),l=we(),u=x(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),c=x(()=>u.value.aspect||o.value/l.value||0);ve(()=>e.src,()=>{d(a.value!=="idle")}),ve(c,(k,T)=>{!k&&T&&s.value&&b(s.value)}),qf(()=>d());function d(k){if(!(e.eager&&k)&&!(jb&&!k&&!e.eager)){if(a.value="loading",u.value.lazySrc){const T=new Image;T.src=u.value.lazySrc,b(T,null)}!u.value.src||xt(()=>{var T,D;if(n("loadstart",((T=s.value)==null?void 0:T.currentSrc)||u.value.src),(D=s.value)!=null&&D.complete){if(s.value.naturalWidth||h(),a.value==="error")return;c.value||b(s.value,null),f()}else c.value||b(s.value),v()})}}function f(){var k;v(),a.value="loaded",n("load",((k=s.value)==null?void 0:k.currentSrc)||u.value.src)}function h(){var k;a.value="error",n("error",((k=s.value)==null?void 0:k.currentSrc)||u.value.src)}function v(){const k=s.value;k&&(i.value=k.currentSrc||k.src)}let g=-1;function b(k){let T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const D=()=>{clearTimeout(g);const{naturalHeight:E,naturalWidth:S}=k;E||S?(o.value=S,l.value=E):!k.complete&&a.value==="loading"&&T!=null?g=window.setTimeout(D,T):(k.currentSrc.endsWith(".svg")||k.currentSrc.startsWith("data:image/svg+xml"))&&(o.value=1,l.value=1)};D()}const p=x(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),_=()=>{var D;if(!u.value.src||a.value==="idle")return null;const k=m("img",{class:["v-img__img",p.value],src:u.value.src,srcset:u.value.srcset,alt:e.alt,sizes:e.sizes,ref:s,onLoad:f,onError:h},null),T=(D=r.sources)==null?void 0:D.call(r);return m(qr,{transition:e.transition,appear:!0},{default:()=>[et(T?m("picture",{class:"v-img__picture"},[T,k]):k,[[Yr,a.value==="loaded"]])]})},w=()=>m(qr,{transition:e.transition},{default:()=>[u.value.lazySrc&&a.value!=="loaded"&&m("img",{class:["v-img__img","v-img__img--preload",p.value],src:u.value.lazySrc,alt:e.alt},null)]}),C=()=>r.placeholder?m(qr,{transition:e.transition,appear:!0},{default:()=>[(a.value==="loading"||a.value==="error"&&!r.error)&&m("div",{class:"v-img__placeholder"},[r.placeholder()])]}):null,I=()=>r.error?m(qr,{transition:e.transition,appear:!0},{default:()=>[a.value==="error"&&m("div",{class:"v-img__error"},[r.error()])]}):null,A=()=>e.gradient?m("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,$=we(!1);{const k=ve(c,T=>{T&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{$.value=!0})}),k())})}return ue(()=>{const[k]=np.filterProps(e);return et(m(np,be({class:["v-img",{"v-img--booting":!$.value},e.class],style:[{width:Te(e.width==="auto"?o.value:e.width)},e.style]},k,{aspectRatio:c.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>m(Se,null,[m(_,null,null),m(w,null,null),m(A,null,null),m(C,null,null),m(I,null,null)]),default:r.default}),[[lr("intersect"),{handler:d,options:e.options},null,{once:!0}]])}),{currentSrc:i,image:s,state:a,naturalWidth:o,naturalHeight:l}}}),dr=K({border:[Boolean,Number,String]},"border");function Vr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Li();return{borderClasses:x(()=>{const r=Dt(e)?e.value:e.border,i=[];if(r===!0||r==="")i.push(`${t}--border`);else if(typeof r=="string"||r===0)for(const s of String(r).split(" "))i.push(`border-${s}`);return i})}}function r0(e){return Ub(()=>{const t=[],n={};if(e.value.background)if(dx(e.value.background)){if(n.backgroundColor=e.value.background,!e.value.text){const r=Jk(n.backgroundColor);n.color=r,n.caretColor=r}}else t.push(`bg-${e.value.background}`);return e.value.text&&(dx(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function Nn(e,t){const n=x(()=>({text:Dt(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:i}=r0(n);return{textColorClasses:r,textColorStyles:i}}function jt(e,t){const n=x(()=>({background:Dt(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:i}=r0(n);return{backgroundColorClasses:r,backgroundColorStyles:i}}const rn=K({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function Sn(e){return{elevationClasses:x(()=>{const n=Dt(e)?e.value:e.elevation,r=[];return n==null||r.push(`elevation-${n}`),r})}}const Pt=K({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Ft(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Li();return{roundedClasses:x(()=>{const r=Dt(e)?e.value:e.rounded,i=[];if(r===!0||r==="")i.push(`${t}--rounded`);else if(typeof r=="string"||r===0)for(const s of String(r).split(" "))i.push(`rounded-${s}`);return i})}}const bZ=[null,"prominent","default","comfortable","compact"],pA=K({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>bZ.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...dr(),...xe(),...rn(),...Pt(),...Ge({tag:"header"}),...it()},"VToolbar"),rp=re()({name:"VToolbar",props:pA(),setup(e,t){var h;let{slots:n}=t;const{backgroundColorClasses:r,backgroundColorStyles:i}=jt(ae(e,"color")),{borderClasses:s}=Vr(e),{elevationClasses:a}=Sn(e),{roundedClasses:o}=Ft(e),{themeClasses:l}=ft(e),{rtlClasses:u}=gn(),c=we(!!(e.extended||((h=n.extension)==null?void 0:h.call(n)))),d=x(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),f=x(()=>c.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return Xt({VBtn:{variant:"text"}}),ue(()=>{var p;const v=!!(e.title||n.title),g=!!(n.image||e.image),b=(p=n.extension)==null?void 0:p.call(n);return c.value=!!(e.extended||b),m(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},r.value,s.value,a.value,o.value,l.value,u.value,e.class],style:[i.value,e.style]},{default:()=>[g&&m("div",{key:"image",class:"v-toolbar__image"},[n.image?m(vt,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},n.image):m(ga,{key:"image-img",cover:!0,src:e.image},null)]),m(vt,{defaults:{VTabs:{height:Te(d.value)}}},{default:()=>{var _,w,C;return[m("div",{class:"v-toolbar__content",style:{height:Te(d.value)}},[n.prepend&&m("div",{class:"v-toolbar__prepend"},[(_=n.prepend)==null?void 0:_.call(n)]),v&&m(Zb,{key:"title",text:e.title},{text:n.title}),(w=n.default)==null?void 0:w.call(n),n.append&&m("div",{class:"v-toolbar__append"},[(C=n.append)==null?void 0:C.call(n)])])]}}),m(vt,{defaults:{VTabs:{height:Te(f.value)}}},{default:()=>[m(Gh,null,{default:()=>[c.value&&m("div",{class:"v-toolbar__extension",style:{height:Te(f.value)}},[b])]})]})]})}),{contentHeight:d,extensionHeight:f}}}),_Z=K({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function wZ(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:n}=t;let r=0;const i=le(null),s=we(0),a=we(0),o=we(0),l=we(!1),u=we(!1),c=x(()=>Number(e.scrollThreshold)),d=x(()=>On((c.value-s.value)/c.value||0)),f=()=>{const h=i.value;!h||n&&!n.value||(r=s.value,s.value="window"in h?h.pageYOffset:h.scrollTop,u.value=s.value{a.value=a.value||s.value}),ve(l,()=>{a.value=0}),xn(()=>{ve(()=>e.scrollTarget,h=>{var g;const v=h?document.querySelector(h):window;if(!v){xi(`Unable to locate element with identifier ${h}`);return}v!==i.value&&((g=i.value)==null||g.removeEventListener("scroll",f),i.value=v,i.value.addEventListener("scroll",f,{passive:!0}))},{immediate:!0})}),Kn(()=>{var h;(h=i.value)==null||h.removeEventListener("scroll",f)}),n&&ve(n,f,{immediate:!0}),{scrollThreshold:c,currentScroll:s,currentThreshold:o,isScrollActive:l,scrollRatio:d,isScrollingUp:u,savedScroll:a}}function Pa(){const e=we(!1);return xn(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:x(()=>e.value?void 0:{transition:"none !important"}),isBooted:Ou(e)}}const xZ=K({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...pA(),...zo(),..._Z(),height:{type:[Number,String],default:64}},"VAppBar"),SZ=re()({name:"VAppBar",props:xZ(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=le(),i=qe(e,"modelValue"),s=x(()=>{var _,w;const p=new Set((w=(_=e.scrollBehavior)==null?void 0:_.split(" "))!=null?w:[]);return{hide:p.has("hide"),inverted:p.has("inverted"),collapse:p.has("collapse"),elevate:p.has("elevate"),fadeImage:p.has("fade-image")}}),a=x(()=>{const p=s.value;return p.hide||p.inverted||p.collapse||p.elevate||p.fadeImage||!i.value}),{currentScroll:o,scrollThreshold:l,isScrollingUp:u,scrollRatio:c}=wZ(e,{canScroll:a}),d=x(()=>e.collapse||s.value.collapse&&(s.value.inverted?c.value>0:c.value===0)),f=x(()=>e.flat||s.value.elevate&&(s.value.inverted?o.value>0:o.value===0)),h=x(()=>s.value.fadeImage?s.value.inverted?1-c.value:c.value:void 0),v=x(()=>{var w,C,I,A;if(s.value.hide&&s.value.inverted)return 0;const p=(C=(w=r.value)==null?void 0:w.contentHeight)!=null?C:0,_=(A=(I=r.value)==null?void 0:I.extensionHeight)!=null?A:0;return p+_});gs(x(()=>!!e.scrollBehavior),()=>{or(()=>{s.value.hide?s.value.inverted?i.value=o.value>l.value:i.value=u.value||o.valueparseInt(e.order,10)),position:ae(e,"location"),layoutSize:v,elementSize:we(void 0),active:i,absolute:ae(e,"absolute")});return ue(()=>{const[p]=rp.filterProps(e);return m(rp,be({ref:r,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...b.value,"--v-toolbar-image-opacity":h.value,height:void 0,...g.value},e.style]},p,{collapse:d.value,flat:f.value}),n)}),{}}});const CZ=[null,"default","comfortable","compact"],sn=K({density:{type:String,default:"default",validator:e=>CZ.includes(e)}},"density");function Bn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Li();return{densityClasses:x(()=>`${t}--density-${e.density}`)}}const TZ=["elevated","flat","tonal","outlined","text","plain"];function Va(e,t){return m(Se,null,[e&&m("span",{key:"overlay",class:`${t}__overlay`},null),m("span",{key:"underlay",class:`${t}__underlay`},null)])}const Or=K({color:String,variant:{type:String,default:"elevated",validator:e=>TZ.includes(e)}},"variant");function Oa(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Li();const n=x(()=>{const{variant:s}=Yt(e);return`${t}--variant-${s}`}),{colorClasses:r,colorStyles:i}=r0(x(()=>{const{variant:s,color:a}=Yt(e);return{[["elevated","flat"].includes(s)?"background":"text"]:a}}));return{colorClasses:r,colorStyles:i,variantClasses:n}}const yA=K({divided:Boolean,...dr(),...xe(),...sn(),...rn(),...Pt(),...Ge(),...it(),...Or()},"VBtnGroup"),ip=re()({name:"VBtnGroup",props:yA(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=ft(e),{densityClasses:i}=Bn(e),{borderClasses:s}=Vr(e),{elevationClasses:a}=Sn(e),{roundedClasses:o}=Ft(e);Xt({VBtn:{height:"auto",color:ae(e,"color"),density:ae(e,"density"),flat:!0,variant:ae(e,"variant")}}),ue(()=>m(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},r.value,s.value,i.value,a.value,o.value,e.class],style:e.style},n))}}),Ho=K({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),qo=K({value:null,disabled:Boolean,selectedClass:String},"group-item");function Wo(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const r=vn("useGroupItem");if(!r)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const i=Ln();Mt(Symbol.for(`${t.description}:id`),i);const s=gt(t,null);if(!s){if(!n)return s;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const a=ae(e,"value"),o=x(()=>!!(s.disabled.value||e.disabled));s.register({id:i,value:a,disabled:o},r),Kn(()=>{s.unregister(i)});const l=x(()=>s.isSelected(i)),u=x(()=>l.value&&[s.selectedClass.value,e.selectedClass]);return ve(l,c=>{r.emit("group:selected",{value:c})}),{id:i,isSelected:l,toggle:()=>s.select(i,!l.value),select:c=>s.select(i,c),selectedClass:u,value:a,disabled:o,group:s}}function Ra(e,t){let n=!1;const r=en([]),i=qe(e,"modelValue",[],f=>f==null?[]:bA(r,xr(f)),f=>{const h=IZ(r,f);return e.multiple?h:h[0]}),s=vn("useGroup");function a(f,h){const v=f,g=Symbol.for(`${t.description}:id`),p=Nl(g,s==null?void 0:s.vnode).indexOf(h);p>-1?r.splice(p,0,v):r.push(v)}function o(f){if(n)return;l();const h=r.findIndex(v=>v.id===f);r.splice(h,1)}function l(){const f=r.find(h=>!h.disabled);f&&e.mandatory==="force"&&!i.value.length&&(i.value=[f.id])}xn(()=>{l()}),Kn(()=>{n=!0});function u(f,h){const v=r.find(g=>g.id===f);if(!(h&&(v==null?void 0:v.disabled)))if(e.multiple){const g=i.value.slice(),b=g.findIndex(_=>_===f),p=~b;if(h=h!=null?h:!p,p&&e.mandatory&&g.length<=1||!p&&e.max!=null&&g.length+1>e.max)return;b<0&&h?g.push(f):b>=0&&!h&&g.splice(b,1),i.value=g}else{const g=i.value.includes(f);if(e.mandatory&&g)return;i.value=(h!=null?h:!g)?[f]:[]}}function c(f){if(e.multiple&&xi('This method is not supported when using "multiple" prop'),i.value.length){const h=i.value[0],v=r.findIndex(p=>p.id===h);let g=(v+f)%r.length,b=r[g];for(;b.disabled&&g!==v;)g=(g+f)%r.length,b=r[g];if(b.disabled)return;i.value=[r[g].id]}else{const h=r.find(v=>!v.disabled);h&&(i.value=[h.id])}}const d={register:a,unregister:o,selected:i,select:u,disabled:ae(e,"disabled"),prev:()=>c(r.length-1),next:()=>c(1),isSelected:f=>i.value.includes(f),selectedClass:x(()=>e.selectedClass),items:x(()=>r),getItemIndex:f=>EZ(r,f)};return Mt(t,d),d}function EZ(e,t){const n=bA(e,[t]);return n.length?e.findIndex(r=>r.id===n[0]):-1}function bA(e,t){const n=[];return t.forEach(r=>{const i=e.find(a=>Ia(r,a.value)),s=e[r];(i==null?void 0:i.value)!=null?n.push(i.id):s!=null&&n.push(s.id)}),n}function IZ(e,t){const n=[];return t.forEach(r=>{const i=e.findIndex(s=>s.id===r);if(~i){const s=e[i];n.push(s.value!=null?s.value:i)}}),n}const i0=Symbol.for("vuetify:v-btn-toggle"),kZ=K({...yA(),...Ho()},"VBtnToggle"),AZ=re()({name:"VBtnToggle",props:kZ(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:r,next:i,prev:s,select:a,selected:o}=Ra(e,i0);return ue(()=>{const[l]=ip.filterProps(e);return m(ip,be({class:["v-btn-toggle",e.class]},l,{style:e.style}),{default:()=>{var u;return[(u=n.default)==null?void 0:u.call(n,{isSelected:r,next:i,prev:s,select:a,selected:o})]}})}),{next:i,prev:s,select:a}}});const PZ=["x-small","small","default","large","x-large"],ji=K({size:{type:[String,Number],default:"default"}},"size");function Go(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Li();return Ub(()=>{let n,r;return xf(PZ,e.size)?n=`${t}--size-${e.size}`:e.size&&(r={width:Te(e.size),height:Te(e.size)}),{sizeClasses:n,sizeStyles:r}})}const VZ=K({color:String,start:Boolean,end:Boolean,icon:je,...xe(),...ji(),...Ge({tag:"i"}),...it()},"VIcon"),bt=re()({name:"VIcon",props:VZ(),setup(e,t){let{attrs:n,slots:r}=t;const i=le(),{themeClasses:s}=ft(e),{iconData:a}=wJ(x(()=>i.value||e.icon)),{sizeClasses:o}=Go(e),{textColorClasses:l,textColorStyles:u}=Nn(ae(e,"color"));return ue(()=>{var d,f;const c=(d=r.default)==null?void 0:d.call(r);return c&&(i.value=(f=Nk(c).filter(h=>h.type===Wf&&h.children&&typeof h.children=="string")[0])==null?void 0:f.children),m(a.value.component,{tag:e.tag,icon:a.value.icon,class:["v-icon","notranslate",s.value,o.value,l.value,{"v-icon--clickable":!!n.onClick,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[o.value?void 0:{fontSize:Te(e.size),height:Te(e.size),width:Te(e.size)},u.value,e.style],role:n.onClick?"button":void 0,"aria-hidden":!n.onClick},{default:()=>[c]})}),{}}});function s0(e,t){const n=le(),r=we(!1);if(jb){const i=new IntersectionObserver(s=>{e==null||e(s,i),r.value=!!s.find(a=>a.isIntersecting)},t);Kn(()=>{i.disconnect()}),ve(n,(s,a)=>{a&&(i.unobserve(a),r.value=!1),s&&i.observe(s)},{flush:"post"})}return{intersectionRef:n,isIntersecting:r}}const OZ=K({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...xe(),...ji(),...Ge({tag:"div"}),...it()},"VProgressCircular"),a0=re()({name:"VProgressCircular",props:OZ(),setup(e,t){let{slots:n}=t;const r=20,i=2*Math.PI*r,s=le(),{themeClasses:a}=ft(e),{sizeClasses:o,sizeStyles:l}=Go(e),{textColorClasses:u,textColorStyles:c}=Nn(ae(e,"color")),{textColorClasses:d,textColorStyles:f}=Nn(ae(e,"bgColor")),{intersectionRef:h,isIntersecting:v}=s0(),{resizeRef:g,contentRect:b}=fi(),p=x(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),_=x(()=>Number(e.width)),w=x(()=>l.value?Number(e.size):b.value?b.value.width:Math.max(_.value,32)),C=x(()=>r/(1-_.value/w.value)*2),I=x(()=>_.value/w.value*C.value),A=x(()=>Te((100-p.value)/100*i));return or(()=>{h.value=s.value,g.value=s.value}),ue(()=>m(e.tag,{ref:s,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":v.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},a.value,o.value,u.value,e.class],style:[l.value,c.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:p.value},{default:()=>[m("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${C.value} ${C.value}`},[m("circle",{class:["v-progress-circular__underlay",d.value],style:f.value,fill:"transparent",cx:"50%",cy:"50%",r,"stroke-width":I.value,"stroke-dasharray":i,"stroke-dashoffset":0},null),m("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r,"stroke-width":I.value,"stroke-dasharray":i,"stroke-dashoffset":A.value},null)]),n.default&&m("div",{class:"v-progress-circular__content"},[n.default({value:p.value})])]})),{}}});const Ix={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},ws=K({location:String},"location");function xs(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:r}=gn();return{locationStyles:x(()=>{if(!e.location)return{};const{side:s,align:a}=Wg(e.location.split(" ").length>1?e.location:`${e.location} center`,r.value);function o(u){return n?n(u):0}const l={};return s!=="center"&&(t?l[Ix[s]]=`calc(100% - ${o(s)}px)`:l[s]=0),a!=="center"?t?l[Ix[a]]=`calc(100% - ${o(a)}px)`:l[a]=0:(s==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[s]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[s]),l})}}const RZ=K({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...xe(),...ws({location:"top"}),...Pt(),...Ge(),...it()},"VProgressLinear"),o0=re()({name:"VProgressLinear",props:RZ(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=qe(e,"modelValue"),{isRtl:i,rtlClasses:s}=gn(),{themeClasses:a}=ft(e),{locationStyles:o}=xs(e),{textColorClasses:l,textColorStyles:u}=Nn(e,"color"),{backgroundColorClasses:c,backgroundColorStyles:d}=jt(x(()=>e.bgColor||e.color)),{backgroundColorClasses:f,backgroundColorStyles:h}=jt(e,"color"),{roundedClasses:v}=Ft(e),{intersectionRef:g,isIntersecting:b}=s0(),p=x(()=>parseInt(e.max,10)),_=x(()=>parseInt(e.height,10)),w=x(()=>parseFloat(e.bufferValue)/p.value*100),C=x(()=>parseFloat(r.value)/p.value*100),I=x(()=>i.value!==e.reverse),A=x(()=>e.indeterminate?"fade-transition":"slide-x-transition"),$=x(()=>e.bgOpacity==null?e.bgOpacity:parseFloat(e.bgOpacity));function k(T){if(!g.value)return;const{left:D,right:E,width:S}=g.value.getBoundingClientRect(),P=I.value?S-T.clientX+(E-S):T.clientX-D;r.value=Math.round(P/S*p.value)}return ue(()=>m(e.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&b.value,"v-progress-linear--reverse":I.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},v.value,a.value,s.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?Te(_.value):0,"--v-progress-linear-height":Te(_.value),...o.value},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:C.value,onClick:e.clickable&&k},{default:()=>[e.stream&&m("div",{key:"stream",class:["v-progress-linear__stream",l.value],style:{...u.value,[I.value?"left":"right"]:Te(-_.value),borderTop:`${Te(_.value/2)} dotted`,opacity:$.value,top:`calc(50% - ${Te(_.value/4)})`,width:Te(100-w.value,"%"),"--v-progress-linear-stream-to":Te(_.value*(I.value?1:-1))}},null),m("div",{class:["v-progress-linear__background",c.value],style:[d.value,{opacity:$.value,width:Te(e.stream?w.value:100,"%")}]},null),m(Rn,{name:A.value},{default:()=>[e.indeterminate?m("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(T=>m("div",{key:T,class:["v-progress-linear__indeterminate",T,f.value],style:h.value},null))]):m("div",{class:["v-progress-linear__determinate",f.value],style:[h.value,{width:Te(C.value,"%")}]},null)]}),n.default&&m("div",{class:"v-progress-linear__content"},[n.default({value:C.value,buffer:w.value})])]})),{}}}),l0=K({loading:[Boolean,String]},"loader");function Kh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Li();return{loaderClasses:x(()=>({[`${t}--loading`]:e.loading}))}}function u0(e,t){var r;let{slots:n}=t;return m("div",{class:`${e.name}__loader`},[((r=n.default)==null?void 0:r.call(n,{color:e.color,isActive:e.active}))||m(o0,{active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const MZ=["static","relative","fixed","absolute","sticky"],Ko=K({position:{type:String,validator:e=>MZ.includes(e)}},"position");function Yo(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Li();return{positionClasses:x(()=>e.position?`${t}--${e.position}`:void 0)}}function _A(){var e,t;return(t=(e=vn("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function sc(e,t){const n=US("RouterLink"),r=x(()=>!!(e.href||e.to)),i=x(()=>(r==null?void 0:r.value)||Zw(t,"click")||Zw(e,"click"));if(typeof n=="string")return{isLink:r,isClickable:i,href:ae(e,"href")};const s=e.to?n.useLink(e):void 0;return{isLink:r,isClickable:i,route:s==null?void 0:s.route,navigate:s==null?void 0:s.navigate,isActive:s&&x(()=>{var a,o;return e.exact?(a=s.isExactActive)==null?void 0:a.value:(o=s.isActive)==null?void 0:o.value}),href:x(()=>e.to?s==null?void 0:s.route.value.href:e.href)}}const ac=K({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let lv=!1;function DZ(e,t){let n=!1,r,i;Ct&&(xt(()=>{window.addEventListener("popstate",s),r=e==null?void 0:e.beforeEach((a,o,l)=>{lv?n?t(l):l():setTimeout(()=>n?t(l):l()),lv=!0}),i=e==null?void 0:e.afterEach(()=>{lv=!1})}),Gn(()=>{window.removeEventListener("popstate",s),r==null||r(),i==null||i()}));function s(a){var o;(o=a.state)!=null&&o.replaced||(n=!0,setTimeout(()=>n=!1))}}function $Z(e,t){ve(()=>{var n;return(n=e.isActive)==null?void 0:n.value},n=>{e.isLink.value&&n&&t&&xt(()=>{t(!0)})},{immediate:!0})}const sp=Symbol("rippleStop"),FZ=80;function kx(e,t){e.style.transform=t,e.style.webkitTransform=t}function ap(e){return e.constructor.name==="TouchEvent"}function wA(e){return e.constructor.name==="KeyboardEvent"}const NZ=function(e,t){var d;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=0,i=0;if(!wA(e)){const f=t.getBoundingClientRect(),h=ap(e)?e.touches[e.touches.length-1]:e;r=h.clientX-f.left,i=h.clientY-f.top}let s=0,a=.3;(d=t._ripple)!=null&&d.circle?(a=.15,s=t.clientWidth/2,s=n.center?s:s+Math.sqrt((r-s)**2+(i-s)**2)/4):s=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const o=`${(t.clientWidth-s*2)/2}px`,l=`${(t.clientHeight-s*2)/2}px`,u=n.center?o:`${r-s}px`,c=n.center?l:`${i-s}px`;return{radius:s,scale:a,x:u,y:c,centerX:o,centerY:l}},If={show(e,t){var h;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((h=t==null?void 0:t._ripple)!=null&&h.enabled))return;const r=document.createElement("span"),i=document.createElement("span");r.appendChild(i),r.className="v-ripple__container",n.class&&(r.className+=` ${n.class}`);const{radius:s,scale:a,x:o,y:l,centerX:u,centerY:c}=NZ(e,t,n),d=`${s*2}px`;i.className="v-ripple__animation",i.style.width=d,i.style.height=d,t.appendChild(r);const f=window.getComputedStyle(t);f&&f.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),kx(i,`translate(${o}, ${l}) scale3d(${a},${a},${a})`),i.dataset.activated=String(performance.now()),setTimeout(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),kx(i,`translate(${u}, ${c}) scale3d(1,1,1)`)},0)},hide(e){var s;if(!((s=e==null?void 0:e._ripple)!=null&&s.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const r=performance.now()-Number(n.dataset.activated),i=Math.max(250-r,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var o;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((o=n.parentNode)==null?void 0:o.parentNode)===e&&e.removeChild(n.parentNode)},300)},i)}};function xA(e){return typeof e>"u"||!!e}function Tu(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[sp])){if(e[sp]=!0,ap(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||wA(e),n._ripple.class&&(t.class=n._ripple.class),ap(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{If.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var r;(r=n==null?void 0:n._ripple)!=null&&r.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},FZ)}else If.show(e,n,t)}}function Ax(e){e[sp]=!0}function rr(e){const t=e.currentTarget;if(!!(t!=null&&t._ripple)){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{rr(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),If.hide(t)}}function SA(e){const t=e.currentTarget;!(t!=null&&t._ripple)||(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let Eu=!1;function CA(e){!Eu&&(e.keyCode===Yw.enter||e.keyCode===Yw.space)&&(Eu=!0,Tu(e))}function TA(e){Eu=!1,rr(e)}function EA(e){Eu&&(Eu=!1,rr(e))}function IA(e,t,n){var a;const{value:r,modifiers:i}=t,s=xA(r);if(s||If.hide(e),e._ripple=(a=e._ripple)!=null?a:{},e._ripple.enabled=s,e._ripple.centered=i.center,e._ripple.circle=i.circle,Ug(r)&&r.class&&(e._ripple.class=r.class),s&&!n){if(i.stop){e.addEventListener("touchstart",Ax,{passive:!0}),e.addEventListener("mousedown",Ax);return}e.addEventListener("touchstart",Tu,{passive:!0}),e.addEventListener("touchend",rr,{passive:!0}),e.addEventListener("touchmove",SA,{passive:!0}),e.addEventListener("touchcancel",rr),e.addEventListener("mousedown",Tu),e.addEventListener("mouseup",rr),e.addEventListener("mouseleave",rr),e.addEventListener("keydown",CA),e.addEventListener("keyup",TA),e.addEventListener("blur",EA),e.addEventListener("dragstart",rr,{passive:!0})}else!s&&n&&kA(e)}function kA(e){e.removeEventListener("mousedown",Tu),e.removeEventListener("touchstart",Tu),e.removeEventListener("touchend",rr),e.removeEventListener("touchmove",SA),e.removeEventListener("touchcancel",rr),e.removeEventListener("mouseup",rr),e.removeEventListener("mouseleave",rr),e.removeEventListener("keydown",CA),e.removeEventListener("keyup",TA),e.removeEventListener("dragstart",rr),e.removeEventListener("blur",EA)}function LZ(e,t){IA(e,t,!1)}function BZ(e){delete e._ripple,kA(e)}function jZ(e,t){if(t.value===t.oldValue)return;const n=xA(t.oldValue);IA(e,t,n)}const Ss={mounted:LZ,unmounted:BZ,updated:jZ},c0=K({active:{type:Boolean,default:void 0},symbol:{type:null,default:i0},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:je,appendIcon:je,block:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...dr(),...xe(),...sn(),...Ar(),...rn(),...qo(),...l0(),...ws(),...Ko(),...Pt(),...ac(),...ji(),...Ge({tag:"button"}),...it(),...Or({variant:"elevated"})},"VBtn"),Hn=re()({name:"VBtn",directives:{Ripple:Ss},props:c0(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:i}=ft(e),{borderClasses:s}=Vr(e),{colorClasses:a,colorStyles:o,variantClasses:l}=Oa(e),{densityClasses:u}=Bn(e),{dimensionStyles:c}=Pr(e),{elevationClasses:d}=Sn(e),{loaderClasses:f}=Kh(e),{locationStyles:h}=xs(e),{positionClasses:v}=Yo(e),{roundedClasses:g}=Ft(e),{sizeClasses:b,sizeStyles:p}=Go(e),_=Wo(e,e.symbol,!1),w=sc(e,n),C=x(()=>{var T;return e.active!==void 0?e.active:w.isLink.value?(T=w.isActive)==null?void 0:T.value:_==null?void 0:_.isSelected.value}),I=x(()=>(_==null?void 0:_.disabled.value)||e.disabled),A=x(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),$=x(()=>{if(e.value!==void 0)return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function k(T){var D;I.value||w.isLink.value&&(T.metaKey||T.ctrlKey||T.shiftKey||T.button!==0||n.target==="_blank")||((D=w.navigate)==null||D.call(w,T),_==null||_.toggle())}return $Z(w,_==null?void 0:_.select),ue(()=>{var M,Q;const T=w.isLink.value?"a":e.tag,D=!!(e.prependIcon||r.prepend),E=!!(e.appendIcon||r.append),S=!!(e.icon&&e.icon!==!0),P=(_==null?void 0:_.isSelected.value)&&(!w.isLink.value||((M=w.isActive)==null?void 0:M.value))||!_||((Q=w.isActive)==null?void 0:Q.value);return et(m(T,{type:T==="a"?void 0:"button",class:["v-btn",_==null?void 0:_.selectedClass.value,{"v-btn--active":C.value,"v-btn--block":e.block,"v-btn--disabled":I.value,"v-btn--elevated":A.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--stacked":e.stacked},i.value,s.value,P?a.value:void 0,u.value,d.value,f.value,v.value,g.value,b.value,l.value,e.class],style:[P?o.value:void 0,c.value,h.value,p.value,e.style],disabled:I.value||void 0,href:w.href.value,onClick:k,value:$.value},{default:()=>{var G,j;return[Va(!0,"v-btn"),!e.icon&&D&&m("span",{key:"prepend",class:"v-btn__prepend"},[r.prepend?m(vt,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},r.prepend):m(bt,{key:"prepend-icon",icon:e.prependIcon},null)]),m("span",{class:"v-btn__content","data-no-activator":""},[!r.default&&S?m(bt,{key:"content-icon",icon:e.icon},null):m(vt,{key:"content-defaults",disabled:!S,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var B,J;return[(J=(B=r.default)==null?void 0:B.call(r))!=null?J:e.text]}})]),!e.icon&&E&&m("span",{key:"append",class:"v-btn__append"},[r.append?m(vt,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},r.append):m(bt,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&m("span",{key:"loader",class:"v-btn__loader"},[(j=(G=r.loader)==null?void 0:G.call(r))!=null?j:m(a0,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[lr("ripple"),!I.value&&e.ripple,null]])}),{}}}),zZ=K({...c0({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),UZ=re()({name:"VAppBarNavIcon",props:zZ(),setup(e,t){let{slots:n}=t;return ue(()=>m(Hn,be(e,{class:["v-app-bar-nav-icon"]}),n)),{}}}),HZ=re()({name:"VAppBarTitle",props:dA(),setup(e,t){let{slots:n}=t;return ue(()=>m(Zb,be(e,{class:"v-app-bar-title"}),n)),{}}});const AA=Xr("v-alert-title"),qZ=["success","info","warning","error"],WZ=K({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:je,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>qZ.includes(e)},...xe(),...sn(),...Ar(),...rn(),...ws(),...Ko(),...Pt(),...Ge(),...it(),...Or({variant:"flat"})},"VAlert"),GZ=re()({name:"VAlert",props:WZ(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{emit:n,slots:r}=t;const i=qe(e,"modelValue"),s=x(()=>{var I;if(e.icon!==!1)return e.type?(I=e.icon)!=null?I:`$${e.type}`:e.icon}),a=x(()=>{var I;return{color:(I=e.color)!=null?I:e.type,variant:e.variant}}),{themeClasses:o}=ft(e),{colorClasses:l,colorStyles:u,variantClasses:c}=Oa(a),{densityClasses:d}=Bn(e),{dimensionStyles:f}=Pr(e),{elevationClasses:h}=Sn(e),{locationStyles:v}=xs(e),{positionClasses:g}=Yo(e),{roundedClasses:b}=Ft(e),{textColorClasses:p,textColorStyles:_}=Nn(ae(e,"borderColor")),{t:w}=kr(),C=x(()=>({"aria-label":w(e.closeLabel),onClick(I){i.value=!1,n("click:close",I)}}));return()=>{const I=!!(r.prepend||s.value),A=!!(r.title||e.title),$=!!(r.close||e.closable);return i.value&&m(e.tag,{class:["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},o.value,l.value,d.value,h.value,g.value,b.value,c.value,e.class],style:[u.value,f.value,v.value,e.style],role:"alert"},{default:()=>{var k,T,D;return[Va(!1,"v-alert"),e.border&&m("div",{key:"border",class:["v-alert__border",p.value],style:_.value},null),I&&m("div",{key:"prepend",class:"v-alert__prepend"},[r.prepend?m(vt,{key:"prepend-defaults",disabled:!s.value,defaults:{VIcon:{density:e.density,icon:s.value,size:e.prominent?44:28}}},r.prepend):m(bt,{key:"prepend-icon",density:e.density,icon:s.value,size:e.prominent?44:28},null)]),m("div",{class:"v-alert__content"},[A&&m(AA,{key:"title"},{default:()=>{var E,S;return[(S=(E=r.title)==null?void 0:E.call(r))!=null?S:e.title]}}),(T=(k=r.text)==null?void 0:k.call(r))!=null?T:e.text,(D=r.default)==null?void 0:D.call(r)]),r.append&&m("div",{key:"append",class:"v-alert__append"},[r.append()]),$&&m("div",{key:"close",class:"v-alert__close"},[r.close?m(vt,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var E;return[(E=r.close)==null?void 0:E.call(r,{props:C.value})]}}):m(Hn,be({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},C.value),null)])]}})}}});const KZ=K({text:String,clickable:Boolean,...xe(),...it()},"VLabel"),Xo=re()({name:"VLabel",props:KZ(),setup(e,t){let{slots:n}=t;return ue(()=>{var r;return m("label",{class:["v-label",{"v-label--clickable":e.clickable},e.class],style:e.style},[e.text,(r=n.default)==null?void 0:r.call(n)])}),{}}});const PA=Symbol.for("vuetify:selection-control-group"),d0=K({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:je,trueIcon:je,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:Boolean,modelValue:null,type:String,valueComparator:{type:Function,default:Ia},...xe(),...sn(),...it()},"SelectionControlGroup"),YZ=K({...d0({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup"),VA=re()({name:"VSelectionControlGroup",props:YZ(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=qe(e,"modelValue"),i=Ln(),s=x(()=>e.id||`v-selection-control-group-${i}`),a=x(()=>e.name||s.value),o=new Set;return Mt(PA,{modelValue:r,forceUpdate:()=>{o.forEach(l=>l())},onForceUpdate:l=>{o.add(l),Gn(()=>{o.delete(l)})}}),Xt({[e.defaultsTarget]:{color:ae(e,"color"),disabled:ae(e,"disabled"),density:ae(e,"density"),error:ae(e,"error"),inline:ae(e,"inline"),modelValue:r,multiple:x(()=>!!e.multiple||e.multiple==null&&Array.isArray(r.value)),name:a,falseIcon:ae(e,"falseIcon"),trueIcon:ae(e,"trueIcon"),readonly:ae(e,"readonly"),ripple:ae(e,"ripple"),type:ae(e,"type"),valueComparator:ae(e,"valueComparator")}}),ue(()=>{var l;return m("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:e.type==="radio"?"radiogroup":void 0},[(l=n.default)==null?void 0:l.call(n)])}),{}}}),Yh=K({label:String,trueValue:null,falseValue:null,value:null,...xe(),...d0()},"VSelectionControl");function XZ(e){const t=gt(PA,void 0),{densityClasses:n}=Bn(e),r=qe(e,"modelValue"),i=x(()=>e.trueValue!==void 0?e.trueValue:e.value!==void 0?e.value:!0),s=x(()=>e.falseValue!==void 0?e.falseValue:!1),a=x(()=>!!e.multiple||e.multiple==null&&Array.isArray(r.value)),o=x({get(){const h=t?t.modelValue.value:r.value;return a.value?h.some(v=>e.valueComparator(v,i.value)):e.valueComparator(h,i.value)},set(h){if(e.readonly)return;const v=h?i.value:s.value;let g=v;a.value&&(g=h?[...xr(r.value),v]:xr(r.value).filter(b=>!e.valueComparator(b,i.value))),t?t.modelValue.value=g:r.value=g}}),{textColorClasses:l,textColorStyles:u}=Nn(x(()=>o.value&&!e.error&&!e.disabled?e.color:void 0)),{backgroundColorClasses:c,backgroundColorStyles:d}=jt(x(()=>o.value&&!e.error&&!e.disabled?e.color:void 0)),f=x(()=>o.value?e.trueIcon:e.falseIcon);return{group:t,densityClasses:n,trueValue:i,falseValue:s,model:o,textColorClasses:l,textColorStyles:u,backgroundColorClasses:c,backgroundColorStyles:d,icon:f}}const pa=re()({name:"VSelectionControl",directives:{Ripple:Ss},inheritAttrs:!1,props:Yh(),emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const{group:i,densityClasses:s,icon:a,model:o,textColorClasses:l,textColorStyles:u,backgroundColorClasses:c,backgroundColorStyles:d,trueValue:f}=XZ(e),h=Ln(),v=x(()=>e.id||`input-${h}`),g=we(!1),b=we(!1),p=le();i==null||i.onForceUpdate(()=>{p.value&&(p.value.checked=o.value)});function _(I){g.value=!0,Eo(I.target,":focus-visible")!==!1&&(b.value=!0)}function w(){g.value=!1,b.value=!1}function C(I){e.readonly&&i&&xt(()=>i.forceUpdate()),o.value=I.target.checked}return ue(()=>{var T,D,E;const I=r.label?r.label({label:e.label,props:{for:v.value}}):e.label,[A,$]=ka(n),k=m("input",be({ref:p,checked:o.value,disabled:!!(e.readonly||e.disabled),id:v.value,onBlur:w,onFocus:_,onInput:C,"aria-disabled":!!(e.readonly||e.disabled),type:e.type,value:f.value,name:e.name,"aria-checked":e.type==="checkbox"?o.value:void 0},$),null);return m("div",be({class:["v-selection-control",{"v-selection-control--dirty":o.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":g.value,"v-selection-control--focus-visible":b.value,"v-selection-control--inline":e.inline},s.value,e.class]},A,{style:e.style}),[m("div",{class:["v-selection-control__wrapper",l.value],style:u.value},[(T=r.default)==null?void 0:T.call(r,{backgroundColorClasses:c,backgroundColorStyles:d}),et(m("div",{class:["v-selection-control__input"]},[(E=(D=r.input)==null?void 0:D.call(r,{model:o,textColorClasses:l,textColorStyles:u,backgroundColorClasses:c,backgroundColorStyles:d,inputNode:k,icon:a.value,props:{onFocus:_,onBlur:w,id:v.value}}))!=null?E:m(Se,null,[a.value&&m(bt,{key:"icon",icon:a.value},null),k])]),[[lr("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),I&&m(Xo,{for:v.value,clickable:!0,onClick:S=>S.stopPropagation()},{default:()=>[I]})])}),{isFocused:g,input:p}}}),OA=K({indeterminate:Boolean,indeterminateIcon:{type:je,default:"$checkboxIndeterminate"},...Yh({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),Ao=re()({name:"VCheckboxBtn",props:OA(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,t){let{slots:n}=t;const r=qe(e,"indeterminate"),i=qe(e,"modelValue");function s(l){r.value&&(r.value=!1)}const a=x(()=>r.value?e.indeterminateIcon:e.falseIcon),o=x(()=>r.value?e.indeterminateIcon:e.trueIcon);return ue(()=>{const l=Er(pa.filterProps(e)[0],["modelValue"]);return m(pa,be(l,{modelValue:i.value,"onUpdate:modelValue":[u=>i.value=u,s],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:a.value,trueIcon:o.value,"aria-checked":r.value?"mixed":void 0}),n)}),{}}});function RA(e){const{t}=kr();function n(r){var l;let{name:i}=r;const s={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[i],a=e[`onClick:${i}`],o=a&&s?t(`$vuetify.input.${s}`,(l=e.label)!=null?l:""):void 0;return m(bt,{icon:e[`${i}Icon`],"aria-label":o,onClick:a},null)}return{InputIcon:n}}const QZ=K({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...xe(),...Bi({transition:{component:t0,leaveAbsolute:!0,group:!0}})},"VMessages"),MA=re()({name:"VMessages",props:QZ(),setup(e,t){let{slots:n}=t;const r=x(()=>xr(e.messages)),{textColorClasses:i,textColorStyles:s}=Nn(x(()=>e.color));return ue(()=>m(qr,{transition:e.transition,tag:"div",class:["v-messages",i.value,e.class],style:[s.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&r.value.map((a,o)=>m("div",{class:"v-messages__message",key:`${o}-${r.value}`},[n.message?n.message({message:a}):a]))]})),{}}}),Xh=K({focused:Boolean,"onUpdate:focused":li()},"focus");function Cs(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Li();const n=qe(e,"focused"),r=x(()=>({[`${t}--focused`]:n.value}));function i(){n.value=!0}function s(){n.value=!1}return{focusClasses:r,isFocused:n,focus:i,blur:s}}const DA=Symbol.for("vuetify:form"),JZ=K({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function ZZ(e){const t=qe(e,"modelValue"),n=x(()=>e.disabled),r=x(()=>e.readonly),i=we(!1),s=le([]),a=le([]);async function o(){const c=[];let d=!0;a.value=[],i.value=!0;for(const f of s.value){const h=await f.validate();if(h.length>0&&(d=!1,c.push({id:f.id,errorMessages:h})),!d&&e.fastFail)break}return a.value=c,i.value=!1,{valid:d,errors:a.value}}function l(){s.value.forEach(c=>c.reset())}function u(){s.value.forEach(c=>c.resetValidation())}return ve(s,()=>{let c=0,d=0;const f=[];for(const h of s.value)h.isValid===!1?(d++,f.push({id:h.id,errorMessages:h.errorMessages})):h.isValid===!0&&c++;a.value=f,t.value=d>0?!1:c===s.value.length?!0:null},{deep:!0}),Mt(DA,{register:c=>{let{id:d,validate:f,reset:h,resetValidation:v}=c;s.value.some(g=>g.id===d)&&xi(`Duplicate input name "${d}"`),s.value.push({id:d,validate:f,reset:h,resetValidation:v,isValid:null,errorMessages:[]})},unregister:c=>{s.value=s.value.filter(d=>d.id!==c)},update:(c,d,f)=>{const h=s.value.find(v=>v.id===c);!h||(h.isValid=d,h.errorMessages=f)},isDisabled:n,isReadonly:r,isValidating:i,isValid:t,items:s,validateOn:ae(e,"validateOn")}),{errors:a,isDisabled:n,isReadonly:r,isValidating:i,isValid:t,items:s,validate:o,reset:l,resetValidation:u}}function Qh(){return gt(DA,null)}const $A=K({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...Xh()},"validation");function FA(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Li(),n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ln();const r=qe(e,"modelValue"),i=x(()=>e.validationValue===void 0?r.value:e.validationValue),s=Qh(),a=le([]),o=we(!0),l=x(()=>!!(xr(r.value===""?null:r.value).length||xr(i.value===""?null:i.value).length)),u=x(()=>{var C;return!!((C=e.disabled)!=null?C:s==null?void 0:s.isDisabled.value)}),c=x(()=>{var C;return!!((C=e.readonly)!=null?C:s==null?void 0:s.isReadonly.value)}),d=x(()=>e.errorMessages.length?xr(e.errorMessages).slice(0,Math.max(0,+e.maxErrors)):a.value),f=x(()=>{var A,$;let C=((A=e.validateOn)!=null?A:s==null?void 0:s.validateOn.value)||"input";C==="lazy"&&(C="input lazy");const I=new Set(($=C==null?void 0:C.split(" "))!=null?$:[]);return{blur:I.has("blur")||I.has("input"),input:I.has("input"),submit:I.has("submit"),lazy:I.has("lazy")}}),h=x(()=>e.error||e.errorMessages.length?!1:e.rules.length?o.value?a.value.length||f.value.lazy?null:!0:!a.value.length:!0),v=we(!1),g=x(()=>({[`${t}--error`]:h.value===!1,[`${t}--dirty`]:l.value,[`${t}--disabled`]:u.value,[`${t}--readonly`]:c.value})),b=x(()=>{var C;return(C=e.name)!=null?C:Yt(n)});qf(()=>{s==null||s.register({id:b.value,validate:w,reset:p,resetValidation:_})}),Kn(()=>{s==null||s.unregister(b.value)}),xn(async()=>{f.value.lazy||await w(!0),s==null||s.update(b.value,h.value,d.value)}),gs(()=>f.value.input,()=>{ve(i,()=>{if(i.value!=null)w();else if(e.focused){const C=ve(()=>e.focused,I=>{I||w(),C()})}})}),gs(()=>f.value.blur,()=>{ve(()=>e.focused,C=>{C||w()})}),ve(h,()=>{s==null||s.update(b.value,h.value,d.value)});function p(){r.value=null,xt(_)}function _(){o.value=!0,f.value.lazy?a.value=[]:w(!0)}async function w(){var A;let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const I=[];v.value=!0;for(const $ of e.rules){if(I.length>=+((A=e.maxErrors)!=null?A:1))break;const T=await(typeof $=="function"?$:()=>$)(i.value);if(T!==!0){if(T!==!1&&typeof T!="string"){console.warn(`${T} is not a valid value. Rule functions must return boolean true or a string.`);continue}I.push(T||"")}}return a.value=I,v.value=!1,o.value=C,a.value}return{errorMessages:d,isDirty:l,isDisabled:u,isReadonly:c,isPristine:o,isValid:h,isValidating:v,reset:p,resetValidation:_,validate:w,validationClasses:g}}const zi=K({id:String,appendIcon:je,centerAffix:{type:Boolean,default:!0},prependIcon:je,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":li(),"onClick:append":li(),...xe(),...sn(),...$A()},"VInput"),wn=re()({name:"VInput",props:{...zi()},emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:r,emit:i}=t;const{densityClasses:s}=Bn(e),{rtlClasses:a}=gn(),{InputIcon:o}=RA(e),l=Ln(),u=x(()=>e.id||`input-${l}`),c=x(()=>`${u.value}-messages`),{errorMessages:d,isDirty:f,isDisabled:h,isReadonly:v,isPristine:g,isValid:b,isValidating:p,reset:_,resetValidation:w,validate:C,validationClasses:I}=FA(e,"v-input",u),A=x(()=>({id:u,messagesId:c,isDirty:f,isDisabled:h,isReadonly:v,isPristine:g,isValid:b,isValidating:p,reset:_,resetValidation:w,validate:C})),$=x(()=>{var k;return((k=e.errorMessages)==null?void 0:k.length)||!g.value&&d.value.length?d.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return ue(()=>{var S,P,M,Q;const k=!!(r.prepend||e.prependIcon),T=!!(r.append||e.appendIcon),D=$.value.length>0,E=!e.hideDetails||e.hideDetails==="auto"&&(D||!!r.details);return m("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix},s.value,a.value,I.value,e.class],style:e.style},[k&&m("div",{key:"prepend",class:"v-input__prepend"},[(S=r.prepend)==null?void 0:S.call(r,A.value),e.prependIcon&&m(o,{key:"prepend-icon",name:"prepend"},null)]),r.default&&m("div",{class:"v-input__control"},[(P=r.default)==null?void 0:P.call(r,A.value)]),T&&m("div",{key:"append",class:"v-input__append"},[e.appendIcon&&m(o,{key:"append-icon",name:"append"},null),(M=r.append)==null?void 0:M.call(r,A.value)]),E&&m("div",{class:"v-input__details"},[m(MA,{id:c.value,active:D,messages:$.value},{message:r.message}),(Q=r.details)==null?void 0:Q.call(r,A.value)])])}),{reset:_,resetValidation:w,validate:C}}}),eee=K({...zi(),...Er(OA(),["inline"])},"VCheckbox"),tee=re()({name:"VCheckbox",inheritAttrs:!1,props:eee(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const i=qe(e,"modelValue"),{isFocused:s,focus:a,blur:o}=Cs(e),l=Ln(),u=x(()=>e.id||`checkbox-${l}`);return ue(()=>{const[c,d]=ka(n),[f,h]=wn.filterProps(e),[v,g]=Ao.filterProps(e);return m(wn,be({class:["v-checkbox",e.class]},c,f,{modelValue:i.value,"onUpdate:modelValue":b=>i.value=b,id:u.value,focused:s.value,style:e.style}),{...r,default:b=>{let{id:p,messagesId:_,isDisabled:w,isReadonly:C}=b;return m(Ao,be(v,{id:p.value,"aria-describedby":_.value,disabled:w.value,readonly:C.value},d,{modelValue:i.value,"onUpdate:modelValue":I=>i.value=I,onFocus:a,onBlur:o}),r)}})}),{}}});const nee=K({start:Boolean,end:Boolean,icon:je,image:String,...xe(),...sn(),...Pt(),...ji(),...Ge(),...it(),...Or({variant:"flat"})},"VAvatar"),ps=re()({name:"VAvatar",props:nee(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=ft(e),{colorClasses:i,colorStyles:s,variantClasses:a}=Oa(e),{densityClasses:o}=Bn(e),{roundedClasses:l}=Ft(e),{sizeClasses:u,sizeStyles:c}=Go(e);return ue(()=>m(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},r.value,i.value,o.value,l.value,u.value,a.value,e.class],style:[s.value,c.value,e.style]},{default:()=>{var d;return[e.image?m(ga,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?m(bt,{key:"icon",icon:e.icon},null):(d=n.default)==null?void 0:d.call(n),Va(!1,"v-avatar")]}})),{}}});const NA=Symbol.for("vuetify:v-chip-group"),ree=K({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:Ia},...xe(),...Ho({selectedClass:"v-chip--selected"}),...Ge(),...it(),...Or({variant:"tonal"})},"VChipGroup"),iee=re()({name:"VChipGroup",props:ree(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=ft(e),{isSelected:i,select:s,next:a,prev:o,selected:l}=Ra(e,NA);return Xt({VChip:{color:ae(e,"color"),disabled:ae(e,"disabled"),filter:ae(e,"filter"),variant:ae(e,"variant")}}),ue(()=>m(e.tag,{class:["v-chip-group",{"v-chip-group--column":e.column},r.value,e.class],style:e.style},{default:()=>{var u;return[(u=n.default)==null?void 0:u.call(n,{isSelected:i,select:s,next:a,prev:o,selected:l.value})]}})),{}}}),see=K({activeClass:String,appendAvatar:String,appendIcon:je,closable:Boolean,closeIcon:{type:je,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:je,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:li(),onClickOnce:li(),...dr(),...xe(),...sn(),...rn(),...qo(),...Pt(),...ac(),...ji(),...Ge({tag:"span"}),...it(),...Or({variant:"tonal"})},"VChip"),oc=re()({name:"VChip",directives:{Ripple:Ss},props:see(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const{t:s}=kr(),{borderClasses:a}=Vr(e),{colorClasses:o,colorStyles:l,variantClasses:u}=Oa(e),{densityClasses:c}=Bn(e),{elevationClasses:d}=Sn(e),{roundedClasses:f}=Ft(e),{sizeClasses:h}=Go(e),{themeClasses:v}=ft(e),g=qe(e,"modelValue"),b=Wo(e,NA,!1),p=sc(e,n),_=x(()=>e.link!==!1&&p.isLink.value),w=x(()=>!e.disabled&&e.link!==!1&&(!!b||e.link||p.isClickable.value)),C=x(()=>({"aria-label":s(e.closeLabel),onClick($){$.stopPropagation(),g.value=!1,r("click:close",$)}}));function I($){var k;r("click",$),w.value&&((k=p.navigate)==null||k.call(p,$),b==null||b.toggle())}function A($){($.key==="Enter"||$.key===" ")&&($.preventDefault(),I($))}return()=>{const $=p.isLink.value?"a":e.tag,k=!!(e.appendIcon||e.appendAvatar),T=!!(k||i.append),D=!!(i.close||e.closable),E=!!(i.filter||e.filter)&&b,S=!!(e.prependIcon||e.prependAvatar),P=!!(S||i.prepend),M=!b||b.isSelected.value;return g.value&&et(m($,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":w.value,"v-chip--filter":E,"v-chip--pill":e.pill},v.value,a.value,M?o.value:void 0,c.value,d.value,f.value,h.value,u.value,b==null?void 0:b.selectedClass.value,e.class],style:[M?l.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:p.href.value,tabindex:w.value?0:void 0,onClick:I,onKeydown:w.value&&!_.value&&A},{default:()=>{var Q,G;return[Va(w.value,"v-chip"),E&&m(n0,{key:"filter"},{default:()=>[et(m("div",{class:"v-chip__filter"},[i.filter?m(vt,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},i.filter):m(bt,{key:"filter-icon",icon:e.filterIcon},null)]),[[Yr,b.isSelected.value]])]}),P&&m("div",{key:"prepend",class:"v-chip__prepend"},[i.prepend?m(vt,{key:"prepend-defaults",disabled:!S,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},i.prepend):m(Se,null,[e.prependIcon&&m(bt,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&m(ps,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),m("div",{class:"v-chip__content"},[(G=(Q=i.default)==null?void 0:Q.call(i,{isSelected:b==null?void 0:b.isSelected.value,selectedClass:b==null?void 0:b.selectedClass.value,select:b==null?void 0:b.select,toggle:b==null?void 0:b.toggle,value:b==null?void 0:b.value.value,disabled:e.disabled}))!=null?G:e.text]),T&&m("div",{key:"append",class:"v-chip__append"},[i.append?m(vt,{key:"append-defaults",disabled:!k,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},i.append):m(Se,null,[e.appendIcon&&m(bt,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&m(ps,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),D&&m("div",be({key:"close",class:"v-chip__close"},C.value),[i.close?m(vt,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},i.close):m(bt,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[lr("ripple"),w.value&&e.ripple,null]])}}});const op=Symbol.for("vuetify:list");function LA(){const e=gt(op,{hasPrepend:we(!1),updateHasPrepend:()=>null}),t={hasPrepend:we(!1),updateHasPrepend:n=>{n&&(t.hasPrepend.value=n)}};return Mt(op,t),e}function BA(){return gt(op,null)}const aee={open:e=>{let{id:t,value:n,opened:r,parents:i}=e;if(n){const s=new Set;s.add(t);let a=i.get(t);for(;a!=null;)s.add(a),a=i.get(a);return s}else return r.delete(t),r},select:()=>null},jA={open:e=>{let{id:t,value:n,opened:r,parents:i}=e;if(n){let s=i.get(t);for(r.add(t);s!=null&&s!==t;)r.add(s),s=i.get(s);return r}else r.delete(t);return r},select:()=>null},oee={open:jA.open,select:e=>{let{id:t,value:n,opened:r,parents:i}=e;if(!n)return r;const s=[];let a=i.get(t);for(;a!=null;)s.push(a),a=i.get(a);return new Set(s)}},f0=e=>{const t={select:n=>{let{id:r,value:i,selected:s}=n;if(r=Xe(r),e&&!i){const a=Array.from(s.entries()).reduce((o,l)=>{let[u,c]=l;return c==="on"?[...o,u]:o},[]);if(a.length===1&&a[0]===r)return s}return s.set(r,i?"on":"off"),s},in:(n,r,i)=>{let s=new Map;for(const a of n||[])s=t.select({id:a,value:!0,selected:new Map(s),children:r,parents:i});return s},out:n=>{const r=[];for(const[i,s]of n.entries())s==="on"&&r.push(i);return r}};return t},zA=e=>{const t=f0(e);return{select:r=>{let{selected:i,id:s,...a}=r;s=Xe(s);const o=i.has(s)?new Map([[s,i.get(s)]]):new Map;return t.select({...a,id:s,selected:o})},in:(r,i,s)=>{let a=new Map;return r!=null&&r.length&&(a=t.in(r.slice(0,1),i,s)),a},out:(r,i,s)=>t.out(r,i,s)}},lee=e=>{const t=f0(e);return{select:r=>{let{id:i,selected:s,children:a,...o}=r;return i=Xe(i),a.has(i)?s:t.select({id:i,selected:s,children:a,...o})},in:t.in,out:t.out}},uee=e=>{const t=zA(e);return{select:r=>{let{id:i,selected:s,children:a,...o}=r;return i=Xe(i),a.has(i)?s:t.select({id:i,selected:s,children:a,...o})},in:t.in,out:t.out}},cee=e=>{const t={select:n=>{let{id:r,value:i,selected:s,children:a,parents:o}=n;r=Xe(r);const l=new Map(s),u=[r];for(;u.length;){const d=u.shift();s.set(d,i?"on":"off"),a.has(d)&&u.push(...a.get(d))}let c=o.get(r);for(;c;){const d=a.get(c),f=d.every(v=>s.get(v)==="on"),h=d.every(v=>!s.has(v)||s.get(v)==="off");s.set(c,f?"on":h?"off":"indeterminate"),c=o.get(c)}return e&&!i&&Array.from(s.entries()).reduce((f,h)=>{let[v,g]=h;return g==="on"?[...f,v]:f},[]).length===0?l:s},in:(n,r,i)=>{let s=new Map;for(const a of n||[])s=t.select({id:a,value:!0,selected:new Map(s),children:r,parents:i});return s},out:(n,r)=>{const i=[];for(const[s,a]of n.entries())a==="on"&&!r.has(s)&&i.push(s);return i}};return t},Iu=Symbol.for("vuetify:nested"),UA={id:we(),root:{register:()=>null,unregister:()=>null,parents:le(new Map),children:le(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:le(new Set),selected:le(new Map),selectedValues:le([])}},dee=K({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),fee=e=>{let t=!1;const n=le(new Map),r=le(new Map),i=qe(e,"opened",e.opened,d=>new Set(d),d=>[...d.values()]),s=x(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single-leaf":return uee(e.mandatory);case"leaf":return lee(e.mandatory);case"independent":return f0(e.mandatory);case"single-independent":return zA(e.mandatory);case"classic":default:return cee(e.mandatory)}}),a=x(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return oee;case"single":return aee;case"multiple":default:return jA}}),o=qe(e,"selected",e.selected,d=>s.value.in(d,n.value,r.value),d=>s.value.out(d,n.value,r.value));Kn(()=>{t=!0});function l(d){const f=[];let h=d;for(;h!=null;)f.unshift(h),h=r.value.get(h);return f}const u=vn("nested"),c={id:we(),root:{opened:i,selected:o,selectedValues:x(()=>{const d=[];for(const[f,h]of o.value.entries())h==="on"&&d.push(f);return d}),register:(d,f,h)=>{f&&d!==f&&r.value.set(d,f),h&&n.value.set(d,[]),f!=null&&n.value.set(f,[...n.value.get(f)||[],d])},unregister:d=>{var h;if(t)return;n.value.delete(d);const f=r.value.get(d);if(f){const v=(h=n.value.get(f))!=null?h:[];n.value.set(f,v.filter(g=>g!==d))}r.value.delete(d),i.value.delete(d)},open:(d,f,h)=>{u.emit("click:open",{id:d,value:f,path:l(d),event:h});const v=a.value.open({id:d,value:f,opened:new Set(i.value),children:n.value,parents:r.value,event:h});v&&(i.value=v)},openOnSelect:(d,f,h)=>{const v=a.value.select({id:d,value:f,selected:new Map(o.value),opened:new Set(i.value),children:n.value,parents:r.value,event:h});v&&(i.value=v)},select:(d,f,h)=>{u.emit("click:select",{id:d,value:f,path:l(d),event:h});const v=s.value.select({id:d,value:f,selected:new Map(o.value),children:n.value,parents:r.value,event:h});v&&(o.value=v),c.root.openOnSelect(d,f,h)},children:n,parents:r}};return Mt(Iu,c),c.root},HA=(e,t)=>{const n=gt(Iu,UA),r=Symbol(Ln()),i=x(()=>e.value!==void 0?e.value:r),s={...n,id:i,open:(a,o)=>n.root.open(i.value,a,o),openOnSelect:(a,o)=>n.root.openOnSelect(i.value,a,o),isOpen:x(()=>n.root.opened.value.has(i.value)),parent:x(()=>n.root.parents.value.get(i.value)),select:(a,o)=>n.root.select(i.value,a,o),isSelected:x(()=>n.root.selected.value.get(Xe(i.value))==="on"),isIndeterminate:x(()=>n.root.selected.value.get(i.value)==="indeterminate"),isLeaf:x(()=>!n.root.children.value.get(i.value)),isGroupActivator:n.isGroupActivator};return!n.isGroupActivator&&n.root.register(i.value,n.id.value,t),Kn(()=>{!n.isGroupActivator&&n.root.unregister(i.value)}),t&&Mt(Iu,s),s},hee=()=>{const e=gt(Iu,UA);Mt(Iu,{...e,isGroupActivator:!0})},mee=Ir({name:"VListGroupActivator",setup(e,t){let{slots:n}=t;return hee(),()=>{var r;return(r=n.default)==null?void 0:r.call(n)}}}),vee=K({activeColor:String,baseColor:String,color:String,collapseIcon:{type:je,default:"$collapse"},expandIcon:{type:je,default:"$expand"},prependIcon:je,appendIcon:je,fluid:Boolean,subgroup:Boolean,title:String,value:null,...xe(),...Ge()},"VListGroup"),lp=re()({name:"VListGroup",props:vee(),setup(e,t){let{slots:n}=t;const{isOpen:r,open:i,id:s}=HA(ae(e,"value"),!0),a=x(()=>`v-list-group--id-${String(s.value)}`),o=BA(),{isBooted:l}=Pa();function u(h){i(!r.value,h)}const c=x(()=>({onClick:u,class:"v-list-group__header",id:a.value})),d=x(()=>r.value?e.collapseIcon:e.expandIcon),f=x(()=>({VListItem:{active:r.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&d.value,appendIcon:e.appendIcon||!e.subgroup&&d.value,title:e.title,value:e.value}}));return ue(()=>m(e.tag,{class:["v-list-group",{"v-list-group--prepend":o==null?void 0:o.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":r.value},e.class],style:e.style},{default:()=>[n.activator&&m(vt,{defaults:f.value},{default:()=>[m(mee,null,{default:()=>[n.activator({props:c.value,isOpen:r.value})]})]}),m(qr,{transition:{component:Gh},disabled:!l.value},{default:()=>{var h;return[et(m("div",{class:"v-list-group__items",role:"group","aria-labelledby":a.value},[(h=n.default)==null?void 0:h.call(n)]),[[Yr,r.value]])]}})]})),{}}});const qA=Xr("v-list-item-subtitle"),WA=Xr("v-list-item-title"),gee=K({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:je,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:je,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:li(),onClickOnce:li(),...dr(),...xe(),...sn(),...Ar(),...rn(),...Pt(),...ac(),...Ge(),...it(),...Or({variant:"text"})},"VListItem"),Ri=re()({name:"VListItem",directives:{Ripple:Ss},props:gee(),emits:{click:e=>!0},setup(e,t){let{attrs:n,slots:r,emit:i}=t;const s=sc(e,n),a=x(()=>e.value===void 0?s.href.value:e.value),{select:o,isSelected:l,isIndeterminate:u,isGroupActivator:c,root:d,parent:f,openOnSelect:h}=HA(a,!1),v=BA(),g=x(()=>{var B;return e.active!==!1&&(e.active||((B=s.isActive)==null?void 0:B.value)||l.value)}),b=x(()=>e.link!==!1&&s.isLink.value),p=x(()=>!e.disabled&&e.link!==!1&&(e.link||s.isClickable.value||e.value!=null&&!!v)),_=x(()=>e.rounded||e.nav),w=x(()=>{var B;return(B=e.color)!=null?B:e.activeColor}),C=x(()=>{var B;return{color:g.value&&(B=w.value)!=null?B:e.baseColor,variant:e.variant}});ve(()=>{var B;return(B=s.isActive)==null?void 0:B.value},B=>{B&&f.value!=null&&d.open(f.value,!0),B&&h(B)},{immediate:!0});const{themeClasses:I}=ft(e),{borderClasses:A}=Vr(e),{colorClasses:$,colorStyles:k,variantClasses:T}=Oa(C),{densityClasses:D}=Bn(e),{dimensionStyles:E}=Pr(e),{elevationClasses:S}=Sn(e),{roundedClasses:P}=Ft(_),M=x(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),Q=x(()=>({isActive:g.value,select:o,isSelected:l.value,isIndeterminate:u.value}));function G(B){var J;i("click",B),!(c||!p.value)&&((J=s.navigate)==null||J.call(s,B),e.value!=null&&o(!l.value,B))}function j(B){(B.key==="Enter"||B.key===" ")&&(B.preventDefault(),G(B))}return ue(()=>{const B=b.value?"a":e.tag,J=r.title||e.title,ee=r.subtitle||e.subtitle,se=!!(e.appendAvatar||e.appendIcon),ge=!!(se||r.append),fe=!!(e.prependAvatar||e.prependIcon),Ae=!!(fe||r.prepend);return v==null||v.updateHasPrepend(Ae),e.activeColor&&GQ("active-color",["color","base-color"]),et(m(B,{class:["v-list-item",{"v-list-item--active":g.value,"v-list-item--disabled":e.disabled,"v-list-item--link":p.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!Ae&&(v==null?void 0:v.hasPrepend.value),[`${e.activeClass}`]:e.activeClass&&g.value},I.value,A.value,$.value,D.value,S.value,M.value,P.value,T.value,e.class],style:[k.value,E.value,e.style],href:s.href.value,tabindex:p.value?v?-2:0:void 0,onClick:G,onKeydown:p.value&&!b.value&&j},{default:()=>{var Ne;return[Va(p.value||g.value,"v-list-item"),Ae&&m("div",{key:"prepend",class:"v-list-item__prepend"},[r.prepend?m(vt,{key:"prepend-defaults",disabled:!fe,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var Z;return[(Z=r.prepend)==null?void 0:Z.call(r,Q.value)]}}):m(Se,null,[e.prependAvatar&&m(ps,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&m(bt,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),m("div",{class:"v-list-item__spacer"},null)]),m("div",{class:"v-list-item__content","data-no-activator":""},[J&&m(WA,{key:"title"},{default:()=>{var Z,Re;return[(Re=(Z=r.title)==null?void 0:Z.call(r,{title:e.title}))!=null?Re:e.title]}}),ee&&m(qA,{key:"subtitle"},{default:()=>{var Z,Re;return[(Re=(Z=r.subtitle)==null?void 0:Z.call(r,{subtitle:e.subtitle}))!=null?Re:e.subtitle]}}),(Ne=r.default)==null?void 0:Ne.call(r,Q.value)]),ge&&m("div",{key:"append",class:"v-list-item__append"},[r.append?m(vt,{key:"append-defaults",disabled:!se,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var Z;return[(Z=r.append)==null?void 0:Z.call(r,Q.value)]}}):m(Se,null,[e.appendIcon&&m(bt,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&m(ps,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),m("div",{class:"v-list-item__spacer"},null)])]}}),[[lr("ripple"),p.value&&e.ripple]])}),{}}}),pee=K({color:String,inset:Boolean,sticky:Boolean,title:String,...xe(),...Ge()},"VListSubheader"),GA=re()({name:"VListSubheader",props:pee(),setup(e,t){let{slots:n}=t;const{textColorClasses:r,textColorStyles:i}=Nn(ae(e,"color"));return ue(()=>{const s=!!(n.default||e.title);return m(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},r.value,e.class],style:[{textColorStyles:i},e.style]},{default:()=>{var a,o;return[s&&m("div",{class:"v-list-subheader__text"},[(o=(a=n.default)==null?void 0:a.call(n))!=null?o:e.title])]}})}),{}}});const yee=K({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...xe(),...it()},"VDivider"),KA=re()({name:"VDivider",props:yee(),setup(e,t){let{attrs:n}=t;const{themeClasses:r}=ft(e),{textColorClasses:i,textColorStyles:s}=Nn(ae(e,"color")),a=x(()=>{const o={};return e.length&&(o[e.vertical?"maxHeight":"maxWidth"]=Te(e.length)),e.thickness&&(o[e.vertical?"borderRightWidth":"borderTopWidth"]=Te(e.thickness)),o});return ue(()=>m("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},r.value,i.value,e.class],style:[a.value,s.value,e.style],"aria-orientation":!n.role||n.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${n.role||"separator"}`},null)),{}}}),bee=K({items:Array},"VListChildren"),YA=re()({name:"VListChildren",props:bee(),setup(e,t){let{slots:n}=t;return LA(),()=>{var r,i,s;return(s=(r=n.default)==null?void 0:r.call(n))!=null?s:(i=e.items)==null?void 0:i.map(a=>{var v,g,b,p;let{children:o,props:l,type:u,raw:c}=a;if(u==="divider")return(g=(v=n.divider)==null?void 0:v.call(n,{props:l}))!=null?g:m(KA,l,null);if(u==="subheader")return(p=(b=n.subheader)==null?void 0:b.call(n,{props:l}))!=null?p:m(GA,l,null);const d={subtitle:n.subtitle?_=>{var w;return(w=n.subtitle)==null?void 0:w.call(n,{..._,item:c})}:void 0,prepend:n.prepend?_=>{var w;return(w=n.prepend)==null?void 0:w.call(n,{..._,item:c})}:void 0,append:n.append?_=>{var w;return(w=n.append)==null?void 0:w.call(n,{..._,item:c})}:void 0,title:n.title?_=>{var w;return(w=n.title)==null?void 0:w.call(n,{..._,item:c})}:void 0},[f,h]=lp.filterProps(l);return o?m(lp,be({value:l==null?void 0:l.value},f),{activator:_=>{let{props:w}=_;return n.header?n.header({props:{...l,...w}}):m(Ri,be(l,w),d)},default:()=>m(YA,{items:o},n)}):n.item?n.item({props:l}):m(Ri,l,d)})}}}),XA=K({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean},"list-items");function ro(e,t){var o;const n=An(t,e.itemTitle,t),r=e.returnObject?t:An(t,e.itemValue,n),i=An(t,e.itemChildren),s=e.itemProps===!0?typeof t=="object"&&t!=null&&!Array.isArray(t)?"children"in t?va(t,["children"])[1]:t:void 0:An(t,e.itemProps),a={title:n,value:r,...s};return{title:String((o=a.title)!=null?o:""),value:a.value,props:a,children:Array.isArray(i)?QA(e,i):void 0,raw:t}}function QA(e,t){const n=[];for(const r of t)n.push(ro(e,r));return n}function h0(e){const t=x(()=>QA(e,e.items));return _ee(t,n=>ro(e,n))}function _ee(e,t){function n(i){return i.filter(s=>s!==null||e.value.some(a=>a.value===null)).map(s=>{const a=e.value.find(o=>Ia(s,o.value));return a!=null?a:t(s)})}function r(i){return i.map(s=>{let{value:a}=s;return a})}return{items:e,transformIn:n,transformOut:r}}function wee(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function xee(e,t){const n=An(t,e.itemType,"item"),r=wee(t)?t:An(t,e.itemTitle),i=An(t,e.itemValue,void 0),s=An(t,e.itemChildren),a=e.itemProps===!0?va(t,["children"])[1]:An(t,e.itemProps),o={title:r,value:i,...a};return{type:n,title:o.title,value:o.value,props:o,children:n==="item"&&s?JA(e,s):void 0,raw:t}}function JA(e,t){const n=[];for(const r of t)n.push(xee(e,r));return n}function See(e){return{items:x(()=>JA(e,e.items))}}const Cee=K({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...dee({selectStrategy:"single-leaf",openStrategy:"list"}),...dr(),...xe(),...sn(),...Ar(),...rn(),itemType:{type:String,default:"type"},...XA(),...Pt(),...Ge(),...it(),...Or({variant:"text"})},"VList"),Jh=re()({name:"VList",props:Cee(),emits:{"update:selected":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:select":e=>!0},setup(e,t){let{slots:n}=t;const{items:r}=See(e),{themeClasses:i}=ft(e),{backgroundColorClasses:s,backgroundColorStyles:a}=jt(ae(e,"bgColor")),{borderClasses:o}=Vr(e),{densityClasses:l}=Bn(e),{dimensionStyles:u}=Pr(e),{elevationClasses:c}=Sn(e),{roundedClasses:d}=Ft(e),{open:f,select:h}=fee(e),v=x(()=>e.lines?`v-list--${e.lines}-line`:void 0),g=ae(e,"activeColor"),b=ae(e,"baseColor"),p=ae(e,"color");LA(),Xt({VListGroup:{activeColor:g,baseColor:b,color:p},VListItem:{activeClass:ae(e,"activeClass"),activeColor:g,baseColor:b,color:p,density:ae(e,"density"),disabled:ae(e,"disabled"),lines:ae(e,"lines"),nav:ae(e,"nav"),variant:ae(e,"variant")}});const _=we(!1),w=le();function C(T){_.value=!0}function I(T){_.value=!1}function A(T){var D;!_.value&&!(T.relatedTarget&&((D=w.value)==null?void 0:D.contains(T.relatedTarget)))&&k()}function $(T){if(!!w.value){if(T.key==="ArrowDown")k("next");else if(T.key==="ArrowUp")k("prev");else if(T.key==="Home")k("first");else if(T.key==="End")k("last");else return;T.preventDefault()}}function k(T){if(w.value)return Sf(w.value,T)}return ue(()=>m(e.tag,{ref:w,class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav},i.value,s.value,o.value,l.value,c.value,v.value,d.value,e.class],style:[a.value,u.value,e.style],tabindex:e.disabled||_.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:C,onFocusout:I,onFocus:A,onKeydown:$},{default:()=>[m(YA,{items:r.value},n)]})),{open:f,select:h,focus:k}}}),Tee=Xr("v-list-img"),Eee=K({start:Boolean,end:Boolean,...xe(),...Ge()},"VListItemAction"),Iee=re()({name:"VListItemAction",props:Eee(),setup(e,t){let{slots:n}=t;return ue(()=>m(e.tag,{class:["v-list-item-action",{"v-list-item-action--start":e.start,"v-list-item-action--end":e.end},e.class],style:e.style},n)),{}}}),kee=K({start:Boolean,end:Boolean,...xe(),...Ge()},"VListItemMedia"),Aee=re()({name:"VListItemMedia",props:kee(),setup(e,t){let{slots:n}=t;return ue(()=>m(e.tag,{class:["v-list-item-media",{"v-list-item-media--start":e.start,"v-list-item-media--end":e.end},e.class],style:e.style},n)),{}}});function uv(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Pee(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Px(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:r}=e,i=r==="left"?0:r==="center"?t.width/2:r==="right"?t.width:r,s=n==="top"?0:n==="bottom"?t.height:n;return uv({x:i,y:s},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:r}=e,i=n==="left"?0:n==="right"?t.width:n,s=r==="top"?0:r==="center"?t.height/2:r==="bottom"?t.height:r;return uv({x:i,y:s},t)}return uv({x:t.width/2,y:t.height/2},t)}const ZA={static:Ree,connected:Dee},Vee=K({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in ZA},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function Oee(e,t){const n=le({}),r=le();Ct&&(gs(()=>!!(t.isActive.value&&e.locationStrategy),s=>{var a,o;ve(()=>e.locationStrategy,s),Gn(()=>{r.value=void 0}),typeof e.locationStrategy=="function"?r.value=(a=e.locationStrategy(t,e,n))==null?void 0:a.updateLocation:r.value=(o=ZA[e.locationStrategy](t,e,n))==null?void 0:o.updateLocation}),window.addEventListener("resize",i,{passive:!0}),Gn(()=>{window.removeEventListener("resize",i),r.value=void 0}));function i(s){var a;(a=r.value)==null||a.call(r,s)}return{contentStyles:n,updateLocation:r}}function Ree(){}function Mee(e,t){t?e.style.removeProperty("left"):e.style.removeProperty("right");const n=qb(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function Dee(e,t,n){cJ(e.activatorEl.value)&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:i,preferredOrigin:s}=Ub(()=>{const v=Wg(t.location,e.isRtl.value),g=t.origin==="overlap"?v:t.origin==="auto"?sv(v):Wg(t.origin,e.isRtl.value);return v.side===g.side&&v.align===av(g).align?{preferredAnchor:ex(v),preferredOrigin:ex(g)}:{preferredAnchor:v,preferredOrigin:g}}),[a,o,l,u]=["minWidth","minHeight","maxWidth","maxHeight"].map(v=>x(()=>{const g=parseFloat(t[v]);return isNaN(g)?1/0:g})),c=x(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const v=t.offset.split(" ").map(parseFloat);return v.length<2&&v.push(0),v}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let d=!1;const f=new ResizeObserver(()=>{d&&h()});ve([e.activatorEl,e.contentEl],(v,g)=>{let[b,p]=v,[_,w]=g;_&&f.unobserve(_),b&&f.observe(b),w&&f.unobserve(w),p&&f.observe(p)},{immediate:!0}),Gn(()=>{f.disconnect()});function h(){if(d=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>d=!0)}),!e.activatorEl.value||!e.contentEl.value)return;const v=e.activatorEl.value.getBoundingClientRect(),g=Mee(e.contentEl.value,e.isRtl.value),b=Tf(e.contentEl.value),p=12;b.length||(b.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(g.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),g.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const _=b.reduce((E,S)=>{const P=S.getBoundingClientRect(),M=new vo({x:S===document.documentElement?0:P.x,y:S===document.documentElement?0:P.y,width:S.clientWidth,height:S.clientHeight});return E?new vo({x:Math.max(E.left,M.left),y:Math.max(E.top,M.top),width:Math.min(E.right,M.right)-Math.max(E.left,M.left),height:Math.min(E.bottom,M.bottom)-Math.max(E.top,M.top)}):M},void 0);_.x+=p,_.y+=p,_.width-=p*2,_.height-=p*2;let w={anchor:i.value,origin:s.value};function C(E){const S=new vo(g),P=Px(E.anchor,v),M=Px(E.origin,S);let{x:Q,y:G}=Pee(P,M);switch(E.anchor.side){case"top":G-=c.value[0];break;case"bottom":G+=c.value[0];break;case"left":Q-=c.value[0];break;case"right":Q+=c.value[0];break}switch(E.anchor.align){case"top":G-=c.value[1];break;case"bottom":G+=c.value[1];break;case"left":Q-=c.value[1];break;case"right":Q+=c.value[1];break}return S.x+=Q,S.y+=G,S.width=Math.min(S.width,l.value),S.height=Math.min(S.height,u.value),{overflows:nx(S,_),x:Q,y:G}}let I=0,A=0;const $={x:0,y:0},k={x:!1,y:!1};let T=-1;for(;;){if(T++>10){Kg("Infinite loop detected in connectedLocationStrategy");break}const{x:E,y:S,overflows:P}=C(w);I+=E,A+=S,g.x+=E,g.y+=S;{const M=tx(w.anchor),Q=P.x.before||P.x.after,G=P.y.before||P.y.after;let j=!1;if(["x","y"].forEach(B=>{if(B==="x"&&Q&&!k.x||B==="y"&&G&&!k.y){const J={anchor:{...w.anchor},origin:{...w.origin}},ee=B==="x"?M==="y"?av:sv:M==="y"?sv:av;J.anchor=ee(J.anchor),J.origin=ee(J.origin);const{overflows:se}=C(J);(se[B].before<=P[B].before&&se[B].after<=P[B].after||se[B].before+se[B].after<(P[B].before+P[B].after)/2)&&(w=J,j=k[B]=!0)}}),j)continue}P.x.before&&(I+=P.x.before,g.x+=P.x.before),P.x.after&&(I-=P.x.after,g.x-=P.x.after),P.y.before&&(A+=P.y.before,g.y+=P.y.before),P.y.after&&(A-=P.y.after,g.y-=P.y.after);{const M=nx(g,_);$.x=_.width-M.x.before-M.x.after,$.y=_.height-M.y.before-M.y.after,I+=M.x.before,g.x+=M.x.before,A+=M.y.before,g.y+=M.y.before}break}const D=tx(w.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${w.anchor.side} ${w.anchor.align}`,transformOrigin:`${w.origin.side} ${w.origin.align}`,top:Te(cv(A)),left:e.isRtl.value?void 0:Te(cv(I)),right:e.isRtl.value?Te(cv(-I)):void 0,minWidth:Te(D==="y"?Math.min(a.value,v.width):a.value),maxWidth:Te(Vx(On($.x,a.value===1/0?0:a.value,l.value))),maxHeight:Te(Vx(On($.y,o.value===1/0?0:o.value,u.value)))}),{available:$,contentBox:g}}return ve(()=>[i.value,s.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>h()),xt(()=>{const v=h();if(!v)return;const{available:g,contentBox:b}=v;b.height>g.y&&requestAnimationFrame(()=>{h(),requestAnimationFrame(()=>{h()})})}),{updateLocation:h}}function cv(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Vx(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let up=!0;const kf=[];function $ee(e){!up||kf.length?(kf.push(e),cp()):(up=!1,e(),cp())}let Ox=-1;function cp(){cancelAnimationFrame(Ox),Ox=requestAnimationFrame(()=>{const e=kf.shift();e&&e(),kf.length?cp():up=!0})}const xd={none:null,close:Lee,block:Bee,reposition:jee},Fee=K({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in xd}},"VOverlay-scroll-strategies");function Nee(e,t){if(!Ct)return;let n;or(async()=>{n==null||n.stop(),t.isActive.value&&e.scrollStrategy&&(n=Mp(),await xt(),n.active&&n.run(()=>{var r;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):(r=xd[e.scrollStrategy])==null||r.call(xd,t,e,n)}))}),Gn(()=>{n==null||n.stop()})}function Lee(e){var n;function t(r){e.isActive.value=!1}eP((n=e.activatorEl.value)!=null?n:e.contentEl.value,t)}function Bee(e,t){var a;const n=(a=e.root.value)==null?void 0:a.offsetParent,r=[...new Set([...Tf(e.activatorEl.value,t.contained?n:void 0),...Tf(e.contentEl.value,t.contained?n:void 0)])].filter(o=>!o.classList.contains("v-overlay-scroll-blocked")),i=window.innerWidth-document.documentElement.offsetWidth,s=(o=>Yb(o)&&o)(n||document.documentElement);s&&e.root.value.classList.add("v-overlay--scroll-blocked"),r.forEach((o,l)=>{o.style.setProperty("--v-body-scroll-x",Te(-o.scrollLeft)),o.style.setProperty("--v-body-scroll-y",Te(-o.scrollTop)),o!==document.documentElement&&o.style.setProperty("--v-scrollbar-offset",Te(i)),o.classList.add("v-overlay-scroll-blocked")}),Gn(()=>{r.forEach((o,l)=>{const u=parseFloat(o.style.getPropertyValue("--v-body-scroll-x")),c=parseFloat(o.style.getPropertyValue("--v-body-scroll-y"));o.style.removeProperty("--v-body-scroll-x"),o.style.removeProperty("--v-body-scroll-y"),o.style.removeProperty("--v-scrollbar-offset"),o.classList.remove("v-overlay-scroll-blocked"),o.scrollLeft=-u,o.scrollTop=-c}),s&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function jee(e,t,n){let r=!1,i=-1,s=-1;function a(o){$ee(()=>{var c,d;const l=performance.now();(d=(c=e.updateLocation).value)==null||d.call(c,o),r=(performance.now()-l)/(1e3/60)>2})}s=(typeof requestIdleCallback>"u"?o=>o():requestIdleCallback)(()=>{n.run(()=>{var o;eP((o=e.activatorEl.value)!=null?o:e.contentEl.value,l=>{r?(cancelAnimationFrame(i),i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{a(l)})})):a(l)})})}),Gn(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(s),cancelAnimationFrame(i)})}function eP(e,t){const n=[document,...Tf(e)];n.forEach(r=>{r.addEventListener("scroll",t,{passive:!0})}),Gn(()=>{n.forEach(r=>{r.removeEventListener("scroll",t)})})}const dp=Symbol.for("vuetify:v-menu"),tP=K({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function nP(e,t){const n={},r=i=>()=>{if(!Ct)return Promise.resolve(!0);const s=i==="openDelay";return n.closeDelay&&window.clearTimeout(n.closeDelay),delete n.closeDelay,n.openDelay&&window.clearTimeout(n.openDelay),delete n.openDelay,new Promise(a=>{var l;const o=parseInt((l=e[i])!=null?l:0,10);n[i]=window.setTimeout(()=>{t==null||t(s),a(s)},o)})};return{runCloseDelay:r("closeDelay"),runOpenDelay:r("openDelay")}}const zee=K({activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...tP()},"VOverlay-activator");function Uee(e,t){let{isActive:n,isTop:r}=t;const i=le();let s=!1,a=!1,o=!0;const l=x(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),u=x(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!l.value),{runOpenDelay:c,runCloseDelay:d}=nP(e,w=>{w===(e.openOnHover&&s||l.value&&a)&&!(e.openOnHover&&n.value&&!r.value)&&(n.value!==w&&(o=!0),n.value=w)}),f={onClick:w=>{w.stopPropagation(),i.value=w.currentTarget||w.target,n.value=!n.value},onMouseenter:w=>{var C;(C=w.sourceCapabilities)!=null&&C.firesTouchEvents||(s=!0,i.value=w.currentTarget||w.target,c())},onMouseleave:w=>{s=!1,d()},onFocus:w=>{Eo(w.target,":focus-visible")!==!1&&(a=!0,w.stopPropagation(),i.value=w.currentTarget||w.target,c())},onBlur:w=>{a=!1,w.stopPropagation(),d()}},h=x(()=>{const w={};return u.value&&(w.onClick=f.onClick),e.openOnHover&&(w.onMouseenter=f.onMouseenter,w.onMouseleave=f.onMouseleave),l.value&&(w.onFocus=f.onFocus,w.onBlur=f.onBlur),w}),v=x(()=>{const w={};if(e.openOnHover&&(w.onMouseenter=()=>{s=!0,c()},w.onMouseleave=()=>{s=!1,d()}),l.value&&(w.onFocusin=()=>{a=!0,c()},w.onFocusout=()=>{a=!1,d()}),e.closeOnContentClick){const C=gt(dp,null);w.onClick=()=>{n.value=!1,C==null||C.closeParents()}}return w}),g=x(()=>{const w={};return e.openOnHover&&(w.onMouseenter=()=>{o&&(s=!0,o=!1,c())},w.onMouseleave=()=>{s=!1,d()}),w});ve(r,w=>{w&&(e.openOnHover&&!s&&(!l.value||!a)||l.value&&!a&&(!e.openOnHover||!s))&&(n.value=!1)});const b=le();or(()=>{!b.value||xt(()=>{i.value=Hg(b.value)})});const p=vn("useActivator");let _;return ve(()=>!!e.activator,w=>{w&&Ct?(_=Mp(),_.run(()=>{Hee(e,p,{activatorEl:i,activatorEvents:h})})):_&&_.stop()},{flush:"post",immediate:!0}),Gn(()=>{_==null||_.stop()}),{activatorEl:i,activatorRef:b,activatorEvents:h,contentEvents:v,scrimEvents:g}}function Hee(e,t,n){let{activatorEl:r,activatorEvents:i}=n;ve(()=>e.activator,(l,u)=>{if(u&&l!==u){const c=o(u);c&&a(c)}l&&xt(()=>s())},{immediate:!0}),ve(()=>e.activatorProps,()=>{s()}),Gn(()=>{a()});function s(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o(),u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;!l||NQ(l,be(i.value,u))}function a(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o(),u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;!l||LQ(l,be(i.value,u))}function o(){var c,d;let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator,u;if(l)if(l==="parent"){let f=(d=(c=t==null?void 0:t.proxy)==null?void 0:c.$el)==null?void 0:d.parentNode;for(;f!=null&&f.hasAttribute("data-no-activator");)f=f.parentNode;u=f}else typeof l=="string"?u=document.querySelector(l):"$el"in l?u=l.$el:u=l;return r.value=(u==null?void 0:u.nodeType)===Node.ELEMENT_NODE?u:null,r.value}}function rP(){if(!Ct)return we(!1);const{ssr:e}=Aa();if(e){const t=we(!1);return xn(()=>{t.value=!0}),t}else return we(!0)}const Zh=K({eager:Boolean},"lazy");function m0(e,t){const n=we(!1),r=x(()=>n.value||e.eager||t.value);ve(t,()=>n.value=!0);function i(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:r,onAfterLeave:i}}function Qo(){const t=vn("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const Rx=Symbol.for("vuetify:stack"),al=en([]);function qee(e,t,n){const r=vn("useStack"),i=!n,s=gt(Rx,void 0),a=en({activeChildren:new Set});Mt(Rx,a);const o=we(+t.value);gs(e,()=>{var d;const c=(d=al.at(-1))==null?void 0:d[1];o.value=c?c+10:+t.value,i&&al.push([r.uid,o.value]),s==null||s.activeChildren.add(r.uid),Gn(()=>{if(i){const f=Xe(al).findIndex(h=>h[0]===r.uid);al.splice(f,1)}s==null||s.activeChildren.delete(r.uid)})});const l=we(!0);i&&or(()=>{var d;const c=((d=al.at(-1))==null?void 0:d[0])===r.uid;setTimeout(()=>l.value=c)});const u=x(()=>!a.activeChildren.size);return{globalTop:Ou(l),localTop:u,stackStyles:x(()=>({zIndex:o.value}))}}function Wee(e){return{teleportTarget:x(()=>{const n=e.value;if(n===!0||!Ct)return;const r=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(r==null){Nf(`Unable to locate target ${n}`);return}let i=r.querySelector(":scope > .v-overlay-container");return i||(i=document.createElement("div"),i.className="v-overlay-container",r.appendChild(i)),i})}}function Gee(){return!0}function iP(e,t,n){if(!e||sP(e,n)===!1)return!1;const r=Zk(t);if(typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&r.host===e.target)return!1;const i=(typeof n.value=="object"&&n.value.include||(()=>[]))();return i.push(t),!i.some(s=>s==null?void 0:s.contains(e.target))}function sP(e,t){return(typeof t.value=="object"&&t.value.closeConditional||Gee)(e)}function Kee(e,t,n){const r=typeof n.value=="function"?n.value:n.value.handler;t._clickOutside.lastMousedownWasOutside&&iP(e,t,n)&&setTimeout(()=>{sP(e,n)&&r&&r(e)},0)}function Mx(e,t){const n=Zk(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const aP={mounted(e,t){const n=i=>Kee(i,e,t),r=i=>{e._clickOutside.lastMousedownWasOutside=iP(i,e,t)};Mx(e,i=>{i.addEventListener("click",n,!0),i.addEventListener("mousedown",r,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:r}},unmounted(e,t){!e._clickOutside||(Mx(e,n=>{var s;if(!n||!((s=e._clickOutside)!=null&&s[t.instance.$.uid]))return;const{onClick:r,onMousedown:i}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",r,!0),n.removeEventListener("mousedown",i,!0)}),delete e._clickOutside[t.instance.$.uid])}};function Yee(e){const{modelValue:t,color:n,...r}=e;return m(Rn,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&m("div",be({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},r),null)]})}const lc=K({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...zee(),...xe(),...Ar(),...Zh(),...Vee(),...Fee(),...it(),...Bi()},"VOverlay"),Mi=re()({name:"VOverlay",directives:{ClickOutside:aP},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...lc()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:r,emit:i}=t;const s=qe(e,"modelValue"),a=x({get:()=>s.value,set:J=>{J&&e.disabled||(s.value=J)}}),{teleportTarget:o}=Wee(x(()=>e.attach||e.contained)),{themeClasses:l}=ft(e),{rtlClasses:u,isRtl:c}=gn(),{hasContent:d,onAfterLeave:f}=m0(e,a),h=jt(x(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:v,localTop:g,stackStyles:b}=qee(a,ae(e,"zIndex"),e._disableGlobalStack),{activatorEl:p,activatorRef:_,activatorEvents:w,contentEvents:C,scrimEvents:I}=Uee(e,{isActive:a,isTop:g}),{dimensionStyles:A}=Pr(e),$=rP(),{scopeId:k}=Qo();ve(()=>e.disabled,J=>{J&&(a.value=!1)});const T=le(),D=le(),{contentStyles:E,updateLocation:S}=Oee(e,{isRtl:c,contentEl:D,activatorEl:p,isActive:a});Nee(e,{root:T,contentEl:D,activatorEl:p,isActive:a,updateLocation:S});function P(J){i("click:outside",J),e.persistent?B():a.value=!1}function M(){return a.value&&v.value}Ct&&ve(a,J=>{J?window.addEventListener("keydown",Q):window.removeEventListener("keydown",Q)},{immediate:!0});function Q(J){var ee,se;J.key==="Escape"&&v.value&&(e.persistent?B():(a.value=!1,(ee=D.value)!=null&&ee.contains(document.activeElement)&&((se=p.value)==null||se.focus())))}const G=_A();gs(()=>e.closeOnBack,()=>{DZ(G,J=>{v.value&&a.value?(J(!1),e.persistent?B():a.value=!1):J()})});const j=le();ve(()=>a.value&&(e.absolute||e.contained)&&o.value==null,J=>{if(J){const ee=Kb(T.value);ee&&ee!==document.scrollingElement&&(j.value=ee.scrollTop)}});function B(){e.noClickAnimation||D.value&&ta(D.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Su})}return ue(()=>{var J;return m(Se,null,[(J=n.activator)==null?void 0:J.call(n,{isActive:a.value,props:be({ref:_},w.value,e.activatorProps)}),$.value&&d.value&&m(mR,{disabled:!o.value,to:o.value},{default:()=>[m("div",be({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":a.value,"v-overlay--contained":e.contained},l.value,u.value,e.class],style:[b.value,{top:Te(j.value)},e.style],ref:T},k,r),[m(Yee,be({color:h,modelValue:a.value&&!!e.scrim},I.value),null),m(qr,{appear:!0,persisted:!0,transition:e.transition,target:p.value,onAfterLeave:()=>{f(),i("afterLeave")}},{default:()=>{var ee;return[et(m("div",be({ref:D,class:["v-overlay__content",e.contentClass],style:[A.value,E.value]},C.value,e.contentProps),[(ee=n.default)==null?void 0:ee.call(n,{isActive:a})]),[[Yr,a.value],[lr("click-outside"),{handler:P,closeConditional:M,include:()=>[p.value]}]])]}})])]})])}),{activatorEl:p,animateClick:B,contentEl:D,globalTop:v,localTop:g,updateLocation:S}}}),dv=Symbol("Forwarded refs");function fv(e,t){let n=e;for(;n;){const r=Reflect.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function Qr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r!0},setup(e,t){let{slots:n}=t;const r=qe(e,"modelValue"),{scopeId:i}=Qo(),s=Ln(),a=x(()=>e.id||`v-menu-${s}`),o=le(),l=gt(dp,null),u=we(0);Mt(dp,{register(){++u.value},unregister(){--u.value},closeParents(){setTimeout(()=>{u.value||(r.value=!1,l==null||l.closeParents())},40)}});async function c(g){var _,w,C;const b=g.relatedTarget,p=g.target;await xt(),r.value&&b!==p&&((_=o.value)==null?void 0:_.contentEl)&&((w=o.value)==null?void 0:w.globalTop)&&![document,o.value.contentEl].includes(p)&&!o.value.contentEl.contains(p)&&((C=xu(o.value.contentEl)[0])==null||C.focus())}ve(r,g=>{g?(l==null||l.register(),document.addEventListener("focusin",c,{once:!0})):(l==null||l.unregister(),document.removeEventListener("focusin",c))});function d(){l==null||l.closeParents()}function f(g){var b,p,_;e.disabled||g.key==="Tab"&&(Bk(xu((b=o.value)==null?void 0:b.contentEl,!1),g.shiftKey?"prev":"next",C=>C.tabIndex>=0)||(r.value=!1,(_=(p=o.value)==null?void 0:p.activatorEl)==null||_.focus()))}function h(g){var p;if(e.disabled)return;const b=(p=o.value)==null?void 0:p.contentEl;b&&r.value?g.key==="ArrowDown"?(g.preventDefault(),Sf(b,"next")):g.key==="ArrowUp"&&(g.preventDefault(),Sf(b,"prev")):["ArrowDown","ArrowUp"].includes(g.key)&&(r.value=!0,g.preventDefault(),setTimeout(()=>setTimeout(()=>h(g))))}const v=x(()=>be({"aria-haspopup":"menu","aria-expanded":String(r.value),"aria-owns":a.value,onKeydown:h},e.activatorProps));return ue(()=>{const[g]=Mi.filterProps(e);return m(Mi,be({ref:o,class:["v-menu",e.class],style:e.style},g,{modelValue:r.value,"onUpdate:modelValue":b=>r.value=b,absolute:!0,activatorProps:v.value,"onClick:outside":d,onKeydown:f},i),{activator:n.activator,default:function(){for(var b=arguments.length,p=new Array(b),_=0;_{var w;return[(w=n.default)==null?void 0:w.call(n,...p)]}})}})}),Qr({id:a,\u03A8openChildren:u},o)}});const Qee=K({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...xe(),...Bi({transition:{component:t0}})},"VCounter"),tm=re()({name:"VCounter",functional:!0,props:Qee(),setup(e,t){let{slots:n}=t;const r=x(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return ue(()=>m(qr,{transition:e.transition},{default:()=>[et(m("div",{class:["v-counter",e.class],style:e.style},[n.default?n.default({counter:r.value,max:e.max,value:e.value}):r.value]),[[Yr,e.active]])]})),{}}});const Jee=K({floating:Boolean,...xe()},"VFieldLabel"),bl=re()({name:"VFieldLabel",props:Jee(),setup(e,t){let{slots:n}=t;return ue(()=>m(Xo,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},n)),{}}}),Zee=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],nm=K({appendInnerIcon:je,bgColor:String,clearable:Boolean,clearIcon:{type:je,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:je,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>Zee.includes(e)},"onClick:clear":li(),"onClick:appendInner":li(),"onClick:prependInner":li(),...xe(),...l0(),...Pt(),...it()},"VField"),uc=re()({name:"VField",inheritAttrs:!1,props:{id:String,...Xh(),...nm()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const{themeClasses:s}=ft(e),{loaderClasses:a}=Kh(e),{focusClasses:o,isFocused:l,focus:u,blur:c}=Cs(e),{InputIcon:d}=RA(e),{roundedClasses:f}=Ft(e),{rtlClasses:h}=gn(),v=x(()=>e.dirty||e.active),g=x(()=>!e.singleLine&&!!(e.label||i.label)),b=Ln(),p=x(()=>e.id||`input-${b}`),_=x(()=>`${p.value}-messages`),w=le(),C=le(),I=le(),A=x(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:$,backgroundColorStyles:k}=jt(ae(e,"bgColor")),{textColorClasses:T,textColorStyles:D}=Nn(x(()=>e.error||e.disabled?void 0:v.value&&l.value?e.color:e.baseColor));ve(v,P=>{if(g.value){const M=w.value.$el,Q=C.value.$el;requestAnimationFrame(()=>{const G=qb(M),j=Q.getBoundingClientRect(),B=j.x-G.x,J=j.y-G.y-(G.height/2-j.height/2),ee=j.width/.75,se=Math.abs(ee-G.width)>1?{maxWidth:Te(ee)}:void 0,ge=getComputedStyle(M),fe=getComputedStyle(Q),Ae=parseFloat(ge.transitionDuration)*1e3||150,Ne=parseFloat(fe.getPropertyValue("--v-field-label-scale")),Z=fe.getPropertyValue("color");M.style.visibility="visible",Q.style.visibility="hidden",ta(M,{transform:`translate(${B}px, ${J}px) scale(${Ne})`,color:Z,...se},{duration:Ae,easing:Su,direction:P?"normal":"reverse"}).finished.then(()=>{M.style.removeProperty("visibility"),Q.style.removeProperty("visibility")})})}},{flush:"post"});const E=x(()=>({isActive:v,isFocused:l,controlRef:I,blur:c,focus:u}));function S(P){P.target!==document.activeElement&&P.preventDefault()}return ue(()=>{var B,J,ee,se;const P=e.variant==="outlined",M=i["prepend-inner"]||e.prependInnerIcon,Q=!!(e.clearable||i.clear),G=!!(i["append-inner"]||e.appendInnerIcon||Q),j=i.label?i.label({...E.value,label:e.label,props:{for:p.value}}):e.label;return m("div",be({class:["v-field",{"v-field--active":v.value,"v-field--appended":G,"v-field--center-affix":(B=e.centerAffix)!=null?B:!A.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":M,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!j,[`v-field--variant-${e.variant}`]:!0},s.value,$.value,o.value,a.value,f.value,h.value,e.class],style:[k.value,e.style],onClick:S},n),[m("div",{class:"v-field__overlay"},null),m(u0,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:i.loader}),M&&m("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&m(d,{key:"prepend-icon",name:"prependInner"},null),(J=i["prepend-inner"])==null?void 0:J.call(i,E.value)]),m("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&g.value&&m(bl,{key:"floating-label",ref:C,class:[T.value],floating:!0,for:p.value,style:D.value},{default:()=>[j]}),m(bl,{ref:w,for:p.value},{default:()=>[j]}),(ee=i.default)==null?void 0:ee.call(i,{...E.value,props:{id:p.value,class:"v-field__input","aria-describedby":_.value},focus:u,blur:c})]),Q&&m(n0,{key:"clear"},{default:()=>[et(m("div",{class:"v-field__clearable",onMousedown:ge=>{ge.preventDefault(),ge.stopPropagation()}},[i.clear?i.clear():m(d,{name:"clear"},null)]),[[Yr,e.dirty]])]}),G&&m("div",{key:"append",class:"v-field__append-inner"},[(se=i["append-inner"])==null?void 0:se.call(i,E.value),e.appendInnerIcon&&m(d,{key:"append-icon",name:"appendInner"},null)]),m("div",{class:["v-field__outline",T.value],style:D.value},[P&&m(Se,null,[m("div",{class:"v-field__outline__start"},null),g.value&&m("div",{class:"v-field__outline__notch"},[m(bl,{ref:C,floating:!0,for:p.value},{default:()=>[j]})]),m("div",{class:"v-field__outline__end"},null)]),A.value&&g.value&&m(bl,{ref:C,floating:!0,for:p.value},{default:()=>[j]})])])}),{controlRef:I}}});function v0(e){const t=Object.keys(uc.props).filter(n=>!zb(n)&&n!=="class"&&n!=="style");return va(e,t)}const ete=["color","file","time","date","datetime-local","week","month"],rm=K({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...zi(),...nm()},"VTextField"),ya=re()({name:"VTextField",directives:{Intersect:ic},inheritAttrs:!1,props:rm(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const s=qe(e,"modelValue"),{isFocused:a,focus:o,blur:l}=Cs(e),u=x(()=>{var A;return typeof e.counterValue=="function"?e.counterValue(s.value):((A=s.value)!=null?A:"").toString().length}),c=x(()=>{if(n.maxlength)return n.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),d=x(()=>["plain","underlined"].includes(e.variant));function f(A,$){var k,T;!e.autofocus||!A||(T=(k=$[0].target)==null?void 0:k.focus)==null||T.call(k)}const h=le(),v=le(),g=le(),b=x(()=>ete.includes(e.type)||e.persistentPlaceholder||a.value||e.active);function p(){var A;g.value!==document.activeElement&&((A=g.value)==null||A.focus()),a.value||o()}function _(A){r("mousedown:control",A),A.target!==g.value&&(p(),A.preventDefault())}function w(A){p(),r("click:control",A)}function C(A){A.stopPropagation(),p(),xt(()=>{s.value=null,Hb(e["onClick:clear"],A)})}function I(A){var k;const $=A.target;if(s.value=$.value,((k=e.modelModifiers)==null?void 0:k.trim)&&["text","search","password","tel","url"].includes(e.type)){const T=[$.selectionStart,$.selectionEnd];xt(()=>{$.selectionStart=T[0],$.selectionEnd=T[1]})}}return ue(()=>{const A=!!(i.counter||e.counter||e.counterValue),$=!!(A||i.details),[k,T]=ka(n),[{modelValue:D,...E}]=wn.filterProps(e),[S]=v0(e);return m(wn,be({ref:h,modelValue:s.value,"onUpdate:modelValue":P=>s.value=P,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(e.variant)},e.class],style:e.style},k,E,{centerAffix:!d.value,focused:a.value}),{...i,default:P=>{let{id:M,isDisabled:Q,isDirty:G,isReadonly:j,isValid:B}=P;return m(uc,be({ref:v,onMousedown:_,onClick:w,"onClick:clear":C,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},S,{id:M.value,active:b.value||G.value,dirty:G.value||e.dirty,disabled:Q.value,focused:a.value,error:B.value===!1}),{...i,default:J=>{let{props:{class:ee,...se}}=J;const ge=et(m("input",be({ref:g,value:s.value,onInput:I,autofocus:e.autofocus,readonly:j.value,disabled:Q.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:p,onBlur:l},se,T),null),[[lr("intersect"),{handler:f},null,{once:!0}]]);return m(Se,null,[e.prefix&&m("span",{class:"v-text-field__prefix"},[m("span",{class:"v-text-field__prefix__text"},[e.prefix])]),i.default?m("div",{class:ee,"data-no-activator":""},[i.default(),ge]):Ci(ge,{class:ee}),e.suffix&&m("span",{class:"v-text-field__suffix"},[m("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:$?P=>{var M;return m(Se,null,[(M=i.details)==null?void 0:M.call(i,P),A&&m(Se,null,[m("span",null,null),m(tm,{active:e.persistentCounter||a.value,value:u.value,max:c.value},i.counter)])])}:void 0})}),Qr({},h,v,g)}});const tte=K({renderless:Boolean,...xe()},"VVirtualScrollItem"),nte=re()({name:"VVirtualScrollItem",inheritAttrs:!1,props:tte(),emits:{"update:height":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const{resizeRef:s,contentRect:a}=fi(void 0,"border");ve(()=>{var o;return(o=a.value)==null?void 0:o.height},o=>{o!=null&&r("update:height",o)}),ue(()=>{var o,l;return e.renderless?m(Se,null,[(o=i.default)==null?void 0:o.call(i,{itemRef:s})]):m("div",be({ref:s,class:["v-virtual-scroll__item",e.class],style:e.style},n),[(l=i.default)==null?void 0:l.call(i)])})}}),Dx=-1,$x=1,rte=K({itemHeight:{type:[Number,String],default:48}},"virtual");function ite(e,t,n){const r=we(0),i=we(e.itemHeight),s=x({get:()=>{var $;return parseInt(($=i.value)!=null?$:0,10)},set($){i.value=$}}),a=le(),{resizeRef:o,contentRect:l}=fi();or(()=>{o.value=a.value});const u=Aa(),c=new Map;let d=Array.from({length:t.value.length});const f=x(()=>{var k;const $=(!l.value||a.value===document.documentElement?u.height.value:l.value.height)-((k=n==null?void 0:n.value)!=null?k:0);return Math.ceil($/s.value*1.7+1)});function h($,k){s.value=Math.max(s.value,k),d[$]=k,c.set(t.value[$],k)}function v($){return d.slice(0,$).reduce((k,T)=>k+(T||s.value),0)}function g($){const k=t.value.length;let T=0,D=0;for(;D<$&&T=P&&(r.value=On(S,0,t.value.length-f.value)),b=k}function _($){if(!a.value)return;const k=v($);a.value.scrollTop=k}const w=x(()=>Math.min(t.value.length,r.value+f.value)),C=x(()=>t.value.slice(r.value,w.value).map(($,k)=>({raw:$,index:k+r.value}))),I=x(()=>v(r.value)),A=x(()=>v(t.value.length)-v(w.value));return ve(()=>t.value.length,()=>{d=bi(t.value.length).map(()=>s.value),c.forEach(($,k)=>{const T=t.value.indexOf(k);T===-1?c.delete(k):d[T]=$})}),{containerRef:a,computedItems:C,itemHeight:s,paddingTop:I,paddingBottom:A,scrollToIndex:_,handleScroll:p,handleItemResize:h}}const ste=K({items:{type:Array,default:()=>[]},renderless:Boolean,...rte(),...xe(),...Ar()},"VVirtualScroll"),im=re()({name:"VVirtualScroll",props:ste(),setup(e,t){let{slots:n}=t;const r=vn("VVirtualScroll"),{dimensionStyles:i}=Pr(e),{containerRef:s,handleScroll:a,handleItemResize:o,scrollToIndex:l,paddingTop:u,paddingBottom:c,computedItems:d}=ite(e,ae(e,"items"));return gs(()=>e.renderless,()=>{xn(()=>{var f;s.value=Kb(r.vnode.el,!0),(f=s.value)==null||f.addEventListener("scroll",a)}),Gn(()=>{var f;(f=s.value)==null||f.removeEventListener("scroll",a)})}),ue(()=>{const f=d.value.map(h=>m(nte,{key:h.index,renderless:e.renderless,"onUpdate:height":v=>o(h.index,v)},{default:v=>{var g;return(g=n.default)==null?void 0:g.call(n,{item:h.raw,index:h.index,...v})}}));return e.renderless?m(Se,null,[m("div",{class:"v-virtual-scroll__spacer",style:{paddingTop:Te(u.value)}},null),f,m("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Te(c.value)}},null)]):m("div",{ref:s,class:["v-virtual-scroll",e.class],onScroll:a,style:[i.value,e.style]},[m("div",{class:"v-virtual-scroll__container",style:{paddingTop:Te(u.value),paddingBottom:Te(c.value)}},[f])])}),{scrollToIndex:l}}});function g0(e,t){const n=we(!1);let r;function i(o){cancelAnimationFrame(r),n.value=!0,r=requestAnimationFrame(()=>{r=requestAnimationFrame(()=>{n.value=!1})})}async function s(){await new Promise(o=>requestAnimationFrame(o)),await new Promise(o=>requestAnimationFrame(o)),await new Promise(o=>requestAnimationFrame(o)),await new Promise(o=>{if(n.value){const l=ve(n,()=>{l(),o()})}else o()})}async function a(o){var c,d;if(o.key==="Tab"&&((c=t.value)==null||c.focus()),!["PageDown","PageUp","Home","End"].includes(o.key))return;const l=(d=e.value)==null?void 0:d.$el;if(!l)return;(o.key==="Home"||o.key==="End")&&l.scrollTo({top:o.key==="Home"?0:l.scrollHeight,behavior:"smooth"}),await s();const u=l.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(o.key==="PageDown"||o.key==="Home"){const f=l.getBoundingClientRect().top;for(const h of u)if(h.getBoundingClientRect().top>=f){h.focus();break}}else{const f=l.getBoundingClientRect().bottom;for(const h of[...u].reverse())if(h.getBoundingClientRect().bottom<=f){h.focus();break}}}return{onListScroll:i,onListKeydown:a}}const p0=K({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:je,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,valueComparator:{type:Function,default:Ia},itemColor:String,...XA({itemChildren:!1})},"Select"),ate=K({...p0(),...Er(rm({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...Bi({transition:{component:Wh}})},"VSelect"),ote=re()({name:"VSelect",props:ate(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{slots:n}=t;const{t:r}=kr(),i=le(),s=le(),a=le(),o=qe(e,"menu"),l=x({get:()=>o.value,set:j=>{var B;o.value&&!j&&((B=s.value)==null?void 0:B.\u03A8openChildren)||(o.value=j)}}),{items:u,transformIn:c,transformOut:d}=h0(e),f=qe(e,"modelValue",[],j=>c(j===null?[null]:xr(j)),j=>{var J;const B=d(j);return e.multiple?B:(J=B[0])!=null?J:null}),h=Qh(),v=x(()=>f.value.map(j=>u.value.find(B=>{const J=An(B.raw,e.itemValue),ee=An(j.raw,e.itemValue);return J===void 0||ee===void 0?!1:e.returnObject?e.valueComparator(J,ee):e.valueComparator(B.value,j.value)})||j)),g=x(()=>v.value.map(j=>j.props.value)),b=we(!1),p=x(()=>l.value?e.closeText:e.openText);let _="",w;const C=x(()=>e.hideSelected?u.value.filter(j=>!v.value.some(B=>B===j)):u.value),I=x(()=>e.hideNoData&&!u.value.length||e.readonly||(h==null?void 0:h.isReadonly.value)),A=le(),{onListScroll:$,onListKeydown:k}=g0(A,i);function T(j){e.openOnClear&&(l.value=!0)}function D(){I.value||(l.value=!l.value)}function E(j){var ge,fe;if(!j.key||e.readonly||(h==null?void 0:h.isReadonly.value))return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(j.key)&&j.preventDefault(),["Enter","ArrowDown"," "].includes(j.key)&&(l.value=!0),["Escape","Tab"].includes(j.key)&&(l.value=!1),j.key==="Home"?(ge=A.value)==null||ge.focus("first"):j.key==="End"&&((fe=A.value)==null||fe.focus("last"));const B=1e3;function J(Ae){const Ne=Ae.key.length===1,Z=!Ae.ctrlKey&&!Ae.metaKey&&!Ae.altKey;return Ne&&Z}if(e.multiple||!J(j))return;const ee=performance.now();ee-w>B&&(_=""),_+=j.key.toLowerCase(),w=ee;const se=u.value.find(Ae=>Ae.title.toLowerCase().startsWith(_));se!==void 0&&(f.value=[se])}function S(j){if(e.multiple){const B=g.value.findIndex(J=>e.valueComparator(J,j.value));if(B===-1)f.value=[...f.value,j];else{const J=[...f.value];J.splice(B,1),f.value=J}}else f.value=[j],l.value=!1}function P(j){var B;(B=A.value)!=null&&B.$el.contains(j.relatedTarget)||(l.value=!1)}function M(){var j;b.value&&((j=i.value)==null||j.focus())}function Q(j){b.value=!0}function G(j){if(j==null)f.value=[];else if(Eo(i.value,":autofill")||Eo(i.value,":-webkit-autofill")){const B=u.value.find(J=>J.title===j);B&&S(B)}else i.value&&(i.value.value="")}return ve(l,()=>{if(!e.hideSelected&&l.value&&v.value.length){const j=C.value.findIndex(B=>v.value.some(J=>B.value===J.value));Ct&&window.requestAnimationFrame(()=>{var B;j>=0&&((B=a.value)==null||B.scrollToIndex(j))})}}),ue(()=>{const j=!!(e.chips||n.chip),B=!!(!e.hideNoData||C.value.length||n["prepend-item"]||n["append-item"]||n["no-data"]),J=f.value.length>0,[ee]=ya.filterProps(e),se=J||!b.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return m(ya,be({ref:i},ee,{modelValue:f.value.map(ge=>ge.props.value).join(", "),"onUpdate:modelValue":G,focused:b.value,"onUpdate:focused":ge=>b.value=ge,validationValue:f.externalValue,dirty:J,class:["v-select",{"v-select--active-menu":l.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":f.value.length,"v-select--selection-slot":!!n.selection},e.class],style:e.style,inputmode:"none",placeholder:se,"onClick:clear":T,"onMousedown:control":D,onBlur:P,onKeydown:E,"aria-label":r(p.value),title:r(p.value)}),{...n,default:()=>m(Se,null,[m(em,be({ref:s,modelValue:l.value,"onUpdate:modelValue":ge=>l.value=ge,activator:"parent",contentClass:"v-select__content",disabled:I.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:M},e.menuProps),{default:()=>{var ge;return[B&&m(Jh,{ref:A,selected:g.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:fe=>fe.preventDefault(),onKeydown:k,onFocusin:Q,onScrollPassive:$,tabindex:"-1",color:(ge=e.itemColor)!=null?ge:e.color},{default:()=>{var fe,Ae,Ne,Z;return[(fe=n["prepend-item"])==null?void 0:fe.call(n),!C.value.length&&!e.hideNoData&&((Ne=(Ae=n["no-data"])==null?void 0:Ae.call(n))!=null?Ne:m(Ri,{title:r(e.noDataText)},null)),m(im,{ref:a,renderless:!0,items:C.value},{default:Re=>{var ie,V;let{item:ze,index:ht,itemRef:pe}=Re;const Oe=be(ze.props,{ref:pe,key:ht,onClick:()=>S(ze)});return(V=(ie=n.item)==null?void 0:ie.call(n,{item:ze,index:ht,props:Oe}))!=null?V:m(Ri,Oe,{prepend:F=>{let{isSelected:z}=F;return m(Se,null,[e.multiple&&!e.hideSelected?m(Ao,{key:ze.value,modelValue:z,ripple:!1,tabindex:"-1"},null):void 0,ze.props.prependIcon&&m(bt,{icon:ze.props.prependIcon},null)])}})}}),(Z=n["append-item"])==null?void 0:Z.call(n)]}})]}}),v.value.map((ge,fe)=>{var Z,Re;function Ae(ze){ze.stopPropagation(),ze.preventDefault(),S(ge)}const Ne={"onClick:close":Ae,onMousedown(ze){ze.preventDefault(),ze.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return m("div",{key:ge.value,class:"v-select__selection"},[j?n.chip?m(vt,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:ge.title}}},{default:()=>{var ze;return[(ze=n.chip)==null?void 0:ze.call(n,{item:ge,index:fe,props:Ne})]}}):m(oc,be({key:"chip",closable:e.closableChips,size:"small",text:ge.title},Ne),null):(Re=(Z=n.selection)==null?void 0:Z.call(n,{item:ge,index:fe}))!=null?Re:m("span",{class:"v-select__selection-text"},[ge.title,e.multiple&&fee==null||t==null?-1:e.toString().toLocaleLowerCase().indexOf(t.toString().toLocaleLowerCase()),oP=K({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function ute(e,t,n){var o,l,u;const r=[],i=(o=n==null?void 0:n.default)!=null?o:lte,s=n!=null&&n.filterKeys?xr(n.filterKeys):!1,a=Object.keys((l=n==null?void 0:n.customKeyFilter)!=null?l:{}).length;if(!(e!=null&&e.length))return r;e:for(let c=0;cr!=null&&r.transform?Yt(t).map(r==null?void 0:r.transform):Yt(t));or(()=>{const l=typeof n=="function"?n():Yt(n),u=typeof l!="string"&&typeof l!="number"?"":String(l),c=ute(a.value,u,{customKeyFilter:e.customKeyFilter,default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),d=Yt(t),f=[],h=new Map;c.forEach(v=>{let{index:g,matches:b}=v;const p=d[g];f.push(p),h.set(p.value,b)}),i.value=f,s.value=h});function o(l){return s.value.get(l.value)}return{filteredItems:i,filteredMatches:s,getMatches:o}}function cte(e,t,n){if(t==null)return e;if(Array.isArray(t))throw new Error("Multiple matches is not implemented");return typeof t=="number"&&~t?m(Se,null,[m("span",{class:"v-autocomplete__unmask"},[e.substr(0,t)]),m("span",{class:"v-autocomplete__mask"},[e.substr(t,n)]),m("span",{class:"v-autocomplete__unmask"},[e.substr(t+n)])]):e}const dte=K({autoSelectFirst:{type:[Boolean,String]},search:String,...oP({filterKeys:["title"]}),...p0(),...Er(rm({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...Bi({transition:!1})},"VAutocomplete"),fte=re()({name:"VAutocomplete",props:dte(),emits:{"update:focused":e=>!0,"update:search":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{slots:n}=t;const{t:r}=kr(),i=le(),s=we(!1),a=we(!0),o=we(!1),l=le(),u=le(),c=qe(e,"menu"),d=x({get:()=>c.value,set:pe=>{var Oe;c.value&&!pe&&((Oe=l.value)==null?void 0:Oe.\u03A8openChildren)||(c.value=pe)}}),f=we(-1),h=x(()=>{var pe;return(pe=i.value)==null?void 0:pe.color}),v=x(()=>d.value?e.closeText:e.openText),{items:g,transformIn:b,transformOut:p}=h0(e),{textColorClasses:_,textColorStyles:w}=Nn(h),C=qe(e,"search",""),I=qe(e,"modelValue",[],pe=>b(pe===null?[null]:xr(pe)),pe=>{var ie;const Oe=p(pe);return e.multiple?Oe:(ie=Oe[0])!=null?ie:null}),A=Qh(),{filteredItems:$,getMatches:k}=lP(e,g,()=>a.value?"":C.value),T=x(()=>I.value.map(pe=>g.value.find(Oe=>{const ie=An(Oe.raw,e.itemValue),V=An(pe.raw,e.itemValue);return ie===void 0||V===void 0?!1:e.returnObject?e.valueComparator(ie,V):e.valueComparator(Oe.value,pe.value)})||pe)),D=x(()=>e.hideSelected?$.value.filter(pe=>!T.value.some(Oe=>Oe.value===pe.value)):$.value),E=x(()=>T.value.map(pe=>pe.props.value)),S=x(()=>T.value[f.value]),P=x(()=>{var Oe;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&C.value===((Oe=D.value[0])==null?void 0:Oe.title))&&D.value.length>0&&!a.value&&!o.value}),M=x(()=>e.hideNoData&&!g.value.length||e.readonly||(A==null?void 0:A.isReadonly.value)),Q=le(),{onListScroll:G,onListKeydown:j}=g0(Q,i);function B(pe){e.openOnClear&&(d.value=!0),C.value=""}function J(){M.value||(d.value=!0)}function ee(pe){M.value||(s.value&&(pe.preventDefault(),pe.stopPropagation()),d.value=!d.value)}function se(pe){var V,F,z;if(e.readonly||(A==null?void 0:A.isReadonly.value))return;const Oe=i.value.selectionStart,ie=E.value.length;if((f.value>-1||["Enter","ArrowDown","ArrowUp"].includes(pe.key))&&pe.preventDefault(),["Enter","ArrowDown"].includes(pe.key)&&(d.value=!0),["Escape"].includes(pe.key)&&(d.value=!1),P.value&&["Enter","Tab"].includes(pe.key)&&ht(D.value[0]),pe.key==="ArrowDown"&&P.value&&((V=Q.value)==null||V.focus("next")),!!e.multiple){if(["Backspace","Delete"].includes(pe.key)){if(f.value<0){pe.key==="Backspace"&&!C.value&&(f.value=ie-1);return}const R=f.value;S.value&&ht(S.value),f.value=R>=ie-1?ie-2:R}if(pe.key==="ArrowLeft"){if(f.value<0&&Oe>0)return;const R=f.value>-1?f.value-1:ie-1;T.value[R]?f.value=R:(f.value=-1,i.value.setSelectionRange((F=C.value)==null?void 0:F.length,(z=C.value)==null?void 0:z.length))}if(pe.key==="ArrowRight"){if(f.value<0)return;const R=f.value+1;T.value[R]?f.value=R:(f.value=-1,i.value.setSelectionRange(0,0))}}}function ge(pe){C.value=pe.target.value}function fe(pe){if(Eo(i.value,":autofill")||Eo(i.value,":-webkit-autofill")){const Oe=g.value.find(ie=>ie.title===pe.target.value);Oe&&ht(Oe)}}function Ae(){var pe;s.value&&(a.value=!0,(pe=i.value)==null||pe.focus())}function Ne(pe){s.value=!0,setTimeout(()=>{o.value=!0})}function Z(pe){o.value=!1}function Re(pe){(pe==null||pe===""&&!e.multiple)&&(I.value=[])}const ze=we(!1);function ht(pe){if(e.multiple){const Oe=E.value.findIndex(ie=>e.valueComparator(ie,pe.value));if(Oe===-1)I.value=[...I.value,pe];else{const ie=[...I.value];ie.splice(Oe,1),I.value=ie}}else I.value=[pe],ze.value=!0,C.value=pe.title,d.value=!1,a.value=!0,xt(()=>ze.value=!1)}return ve(s,(pe,Oe)=>{var ie,V;pe!==Oe&&(pe?(ze.value=!0,C.value=e.multiple?"":String((V=(ie=T.value.at(-1))==null?void 0:ie.props.title)!=null?V:""),a.value=!0,xt(()=>ze.value=!1)):(!e.multiple&&!C.value?I.value=[]:P.value&&!o.value&&!T.value.some(F=>{let{value:z}=F;return z===D.value[0].value})&&ht(D.value[0]),d.value=!1,C.value="",f.value=-1))}),ve(C,pe=>{!s.value||ze.value||(pe&&(d.value=!0),a.value=!pe)}),ve(d,()=>{if(!e.hideSelected&&d.value&&T.value.length){const pe=D.value.findIndex(Oe=>T.value.some(ie=>Oe.value===ie.value));Ct&&window.requestAnimationFrame(()=>{var Oe;pe>=0&&((Oe=u.value)==null||Oe.scrollToIndex(pe))})}}),ue(()=>{const pe=!!(e.chips||n.chip),Oe=!!(!e.hideNoData||D.value.length||n["prepend-item"]||n["append-item"]||n["no-data"]),ie=I.value.length>0,[V]=ya.filterProps(e);return m(ya,be({ref:i},V,{modelValue:C.value,"onUpdate:modelValue":Re,focused:s.value,"onUpdate:focused":F=>s.value=F,validationValue:I.externalValue,dirty:ie,onInput:ge,onChange:fe,class:["v-autocomplete",`v-autocomplete--${e.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":d.value,"v-autocomplete--chips":!!e.chips,"v-autocomplete--selection-slot":!!n.selection,"v-autocomplete--selecting-index":f.value>-1},e.class],style:e.style,readonly:e.readonly,placeholder:ie?void 0:e.placeholder,"onClick:clear":B,"onMousedown:control":J,onKeydown:se}),{...n,default:()=>m(Se,null,[m(em,be({ref:l,modelValue:d.value,"onUpdate:modelValue":F=>d.value=F,activator:"parent",contentClass:"v-autocomplete__content",disabled:M.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:Ae},e.menuProps),{default:()=>{var F;return[Oe&&m(Jh,{ref:Q,selected:E.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:z=>z.preventDefault(),onKeydown:j,onFocusin:Ne,onFocusout:Z,onScrollPassive:G,tabindex:"-1",color:(F=e.itemColor)!=null?F:e.color},{default:()=>{var z,R,N,U;return[(z=n["prepend-item"])==null?void 0:z.call(n),!D.value.length&&!e.hideNoData&&((N=(R=n["no-data"])==null?void 0:R.call(n))!=null?N:m(Ri,{title:r(e.noDataText)},null)),m(im,{ref:u,renderless:!0,items:D.value},{default:H=>{var oe,he;let{item:q,index:Y,itemRef:W}=H;const de=be(q.props,{ref:W,key:Y,active:P.value&&Y===0?!0:void 0,onClick:()=>ht(q)});return(he=(oe=n.item)==null?void 0:oe.call(n,{item:q,index:Y,props:de}))!=null?he:m(Ri,de,{prepend:_e=>{let{isSelected:ye}=_e;return m(Se,null,[e.multiple&&!e.hideSelected?m(Ao,{key:q.value,modelValue:ye,ripple:!1,tabindex:"-1"},null):void 0,q.props.prependIcon&&m(bt,{icon:q.props.prependIcon},null)])},title:()=>{var _e,ye,ke;return a.value?q.title:cte(q.title,(_e=k(q))==null?void 0:_e.title,(ke=(ye=C.value)==null?void 0:ye.length)!=null?ke:0)}})}}),(U=n["append-item"])==null?void 0:U.call(n)]}})]}}),T.value.map((F,z)=>{var U,H;function R(q){q.stopPropagation(),q.preventDefault(),ht(F)}const N={"onClick:close":R,onMousedown(q){q.preventDefault(),q.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return m("div",{key:F.value,class:["v-autocomplete__selection",z===f.value&&["v-autocomplete__selection--selected",_.value]],style:z===f.value?w.value:{}},[pe?n.chip?m(vt,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:F.title}}},{default:()=>{var q;return[(q=n.chip)==null?void 0:q.call(n,{item:F,index:z,props:N})]}}):m(oc,be({key:"chip",closable:e.closableChips,size:"small",text:F.title},N),null):(H=(U=n.selection)==null?void 0:U.call(n,{item:F,index:z}))!=null?H:m("span",{class:"v-autocomplete__selection-text"},[F.title,e.multiple&&z{var f,h;return(e.floating?e.dot?2:4:e.dot?8:12)+(["top","bottom"].includes(c)?+((f=e.offsetY)!=null?f:0):["left","right"].includes(c)?+((h=e.offsetX)!=null?h:0):0)});return ue(()=>{const c=Number(e.content),d=!e.max||isNaN(c)?e.content:c<=+e.max?c:`${e.max}+`,[f,h]=va(t.attrs,["aria-atomic","aria-label","aria-live","role","title"]);return m(e.tag,be({class:["v-badge",{"v-badge--bordered":e.bordered,"v-badge--dot":e.dot,"v-badge--floating":e.floating,"v-badge--inline":e.inline},e.class]},h,{style:e.style}),{default:()=>{var v,g;return[m("div",{class:"v-badge__wrapper"},[(g=(v=t.slots).default)==null?void 0:g.call(v),m(qr,{transition:e.transition},{default:()=>{var b,p;return[et(m("span",be({class:["v-badge__badge",l.value,n.value,i.value,a.value],style:[r.value,o.value,e.inline?{}:u.value],"aria-atomic":"true","aria-label":s(e.label,c),"aria-live":"polite",role:"status"},f),[e.dot?void 0:t.slots.badge?(p=(b=t.slots).badge)==null?void 0:p.call(b):e.icon?m(bt,{icon:e.icon},null):d]),[[Yr,e.modelValue]])]}})])]}})}),{}}});const vte=K({color:String,density:String,...xe()},"VBannerActions"),uP=re()({name:"VBannerActions",props:vte(),setup(e,t){let{slots:n}=t;return Xt({VBtn:{color:e.color,density:e.density,variant:"text"}}),ue(()=>{var r;return m("div",{class:["v-banner-actions",e.class],style:e.style},[(r=n.default)==null?void 0:r.call(n)])}),{}}}),cP=Xr("v-banner-text"),gte=K({avatar:String,color:String,icon:je,lines:String,stacked:Boolean,sticky:Boolean,text:String,...dr(),...xe(),...sn(),...Ar(),...rn(),...ws(),...Ko(),...Pt(),...Ge(),...it()},"VBanner"),pte=re()({name:"VBanner",props:gte(),setup(e,t){let{slots:n}=t;const{borderClasses:r}=Vr(e),{densityClasses:i}=Bn(e),{mobile:s}=Aa(),{dimensionStyles:a}=Pr(e),{elevationClasses:o}=Sn(e),{locationStyles:l}=xs(e),{positionClasses:u}=Yo(e),{roundedClasses:c}=Ft(e),{themeClasses:d}=ft(e),f=ae(e,"color"),h=ae(e,"density");Xt({VBannerActions:{color:f,density:h}}),ue(()=>{const v=!!(e.text||n.text),g=!!(e.avatar||e.icon),b=!!(g||n.prepend);return m(e.tag,{class:["v-banner",{"v-banner--stacked":e.stacked||s.value,"v-banner--sticky":e.sticky,[`v-banner--${e.lines}-line`]:!!e.lines},r.value,i.value,o.value,u.value,c.value,d.value,e.class],style:[a.value,l.value,e.style],role:"banner"},{default:()=>{var p;return[b&&m("div",{key:"prepend",class:"v-banner__prepend"},[n.prepend?m(vt,{key:"prepend-defaults",disabled:!g,defaults:{VAvatar:{color:f.value,density:h.value,icon:e.icon,image:e.avatar}}},n.prepend):m(ps,{key:"prepend-avatar",color:f.value,density:h.value,icon:e.icon,image:e.avatar},null)]),m("div",{class:"v-banner__content"},[v&&m(cP,{key:"text"},{default:()=>{var _,w;return[(w=(_=n.text)==null?void 0:_.call(n))!=null?w:e.text]}}),(p=n.default)==null?void 0:p.call(n)]),n.actions&&m(uP,{key:"actions"},n.actions)]}})})}});const yte=K({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:e=>!e||["horizontal","shift"].includes(e)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...dr(),...xe(),...sn(),...rn(),...Pt(),...zo({name:"bottom-navigation"}),...Ge({tag:"header"}),...Ho({modelValue:!0,selectedClass:"v-btn--selected"}),...it()},"VBottomNavigation"),bte=re()({name:"VBottomNavigation",props:yte(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=iA(),{borderClasses:i}=Vr(e),{backgroundColorClasses:s,backgroundColorStyles:a}=jt(ae(e,"bgColor")),{densityClasses:o}=Bn(e),{elevationClasses:l}=Sn(e),{roundedClasses:u}=Ft(e),{ssrBootStyles:c}=Pa(),d=x(()=>Number(e.height)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0)),f=ae(e,"active"),{layoutItemStyles:h}=Uo({id:e.name,order:x(()=>parseInt(e.order,10)),position:x(()=>"bottom"),layoutSize:x(()=>f.value?d.value:0),elementSize:d,active:f,absolute:ae(e,"absolute")});return Ra(e,i0),Xt({VBtn:{color:ae(e,"color"),density:ae(e,"density"),stacked:x(()=>e.mode!=="horizontal"),variant:"text"}},{scoped:!0}),ue(()=>m(e.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":f.value,"v-bottom-navigation--grow":e.grow,"v-bottom-navigation--shift":e.mode==="shift"},r.value,s.value,i.value,o.value,l.value,u.value,e.class],style:[a.value,h.value,{height:Te(d.value),transform:`translateY(${Te(f.value?0:100,"%")})`},c.value,e.style]},{default:()=>[n.default&&m("div",{class:"v-bottom-navigation__content"},[n.default()])]})),{}}});const _te=K({divider:[Number,String],...xe()},"VBreadcrumbsDivider"),dP=re()({name:"VBreadcrumbsDivider",props:_te(),setup(e,t){let{slots:n}=t;return ue(()=>{var r,i;return m("li",{class:["v-breadcrumbs-divider",e.class],style:e.style},[(i=(r=n==null?void 0:n.default)==null?void 0:r.call(n))!=null?i:e.divider])}),{}}}),wte=K({active:Boolean,activeClass:String,activeColor:String,color:String,disabled:Boolean,title:String,...xe(),...ac(),...Ge({tag:"li"})},"VBreadcrumbsItem"),fP=re()({name:"VBreadcrumbsItem",props:wte(),setup(e,t){let{slots:n,attrs:r}=t;const i=sc(e,r),s=x(()=>{var u;return e.active||((u=i.isActive)==null?void 0:u.value)}),a=x(()=>s.value?e.activeColor:e.color),{textColorClasses:o,textColorStyles:l}=Nn(a);return ue(()=>m(e.tag,{class:["v-breadcrumbs-item",{"v-breadcrumbs-item--active":s.value,"v-breadcrumbs-item--disabled":e.disabled,[`${e.activeClass}`]:s.value&&e.activeClass},o.value,e.class],style:[l.value,e.style],"aria-current":s.value?"page":void 0},{default:()=>{var u,c,d,f;return[i.isLink.value?m("a",{class:"v-breadcrumbs-item--link",href:i.href.value,"aria-current":s.value?"page":void 0,onClick:i.navigate},[(f=(d=n.default)==null?void 0:d.call(n))!=null?f:e.title]):(c=(u=n.default)==null?void 0:u.call(n))!=null?c:e.title]}})),{}}}),xte=K({activeClass:String,activeColor:String,bgColor:String,color:String,disabled:Boolean,divider:{type:String,default:"/"},icon:je,items:{type:Array,default:()=>[]},...xe(),...sn(),...Pt(),...Ge({tag:"ul"})},"VBreadcrumbs"),Ste=re()({name:"VBreadcrumbs",props:xte(),setup(e,t){let{slots:n}=t;const{backgroundColorClasses:r,backgroundColorStyles:i}=jt(ae(e,"bgColor")),{densityClasses:s}=Bn(e),{roundedClasses:a}=Ft(e);Xt({VBreadcrumbsDivider:{divider:ae(e,"divider")},VBreadcrumbsItem:{activeClass:ae(e,"activeClass"),activeColor:ae(e,"activeColor"),color:ae(e,"color"),disabled:ae(e,"disabled")}});const o=x(()=>e.items.map(l=>typeof l=="string"?{item:{title:l},raw:l}:{item:l,raw:l}));return ue(()=>{const l=!!(n.prepend||e.icon);return m(e.tag,{class:["v-breadcrumbs",r.value,s.value,a.value,e.class],style:[i.value,e.style]},{default:()=>{var u;return[l&&m("li",{key:"prepend",class:"v-breadcrumbs__prepend"},[n.prepend?m(vt,{key:"prepend-defaults",disabled:!e.icon,defaults:{VIcon:{icon:e.icon,start:!0}}},n.prepend):m(bt,{key:"prepend-icon",start:!0,icon:e.icon},null)]),o.value.map((c,d,f)=>{let{item:h,raw:v}=c;return m(Se,null,[m(fP,be({key:h.title,disabled:d>=f.length-1},h),{default:n.title?()=>{var g;return(g=n.title)==null?void 0:g.call(n,{item:v,index:d})}:void 0}),d{var g;return(g=n.divider)==null?void 0:g.call(n,{item:v,index:d})}:void 0})])}),(u=n.default)==null?void 0:u.call(n)]}})}),{}}});const hP=re()({name:"VCardActions",props:xe(),setup(e,t){let{slots:n}=t;return Xt({VBtn:{variant:"text"}}),ue(()=>{var r;return m("div",{class:["v-card-actions",e.class],style:e.style},[(r=n.default)==null?void 0:r.call(n)])}),{}}}),mP=Xr("v-card-subtitle"),vP=Xr("v-card-title"),Cte=K({appendAvatar:String,appendIcon:je,prependAvatar:String,prependIcon:je,subtitle:String,title:String,...xe(),...sn()},"VCardItem"),gP=re()({name:"VCardItem",props:Cte(),setup(e,t){let{slots:n}=t;return ue(()=>{var u;const r=!!(e.prependAvatar||e.prependIcon),i=!!(r||n.prepend),s=!!(e.appendAvatar||e.appendIcon),a=!!(s||n.append),o=!!(e.title||n.title),l=!!(e.subtitle||n.subtitle);return m("div",{class:["v-card-item",e.class],style:e.style},[i&&m("div",{key:"prepend",class:"v-card-item__prepend"},[n.prepend?m(vt,{key:"prepend-defaults",disabled:!r,defaults:{VAvatar:{density:e.density,icon:e.prependIcon,image:e.prependAvatar}}},n.prepend):r&&m(ps,{key:"prepend-avatar",density:e.density,icon:e.prependIcon,image:e.prependAvatar},null)]),m("div",{class:"v-card-item__content"},[o&&m(vP,{key:"title"},{default:()=>{var c,d;return[(d=(c=n.title)==null?void 0:c.call(n))!=null?d:e.title]}}),l&&m(mP,{key:"subtitle"},{default:()=>{var c,d;return[(d=(c=n.subtitle)==null?void 0:c.call(n))!=null?d:e.subtitle]}}),(u=n.default)==null?void 0:u.call(n)]),a&&m("div",{key:"append",class:"v-card-item__append"},[n.append?m(vt,{key:"append-defaults",disabled:!s,defaults:{VAvatar:{density:e.density,icon:e.appendIcon,image:e.appendAvatar}}},n.append):s&&m(ps,{key:"append-avatar",density:e.density,icon:e.appendIcon,image:e.appendAvatar},null)])])}),{}}}),pP=Xr("v-card-text"),Tte=K({appendAvatar:String,appendIcon:je,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:je,ripple:{type:[Boolean,Object],default:!0},subtitle:String,text:String,title:String,...dr(),...xe(),...sn(),...Ar(),...rn(),...l0(),...ws(),...Ko(),...Pt(),...ac(),...Ge(),...it(),...Or({variant:"elevated"})},"VCard"),Ete=re()({name:"VCard",directives:{Ripple:Ss},props:Tte(),setup(e,t){let{attrs:n,slots:r}=t;const{themeClasses:i}=ft(e),{borderClasses:s}=Vr(e),{colorClasses:a,colorStyles:o,variantClasses:l}=Oa(e),{densityClasses:u}=Bn(e),{dimensionStyles:c}=Pr(e),{elevationClasses:d}=Sn(e),{loaderClasses:f}=Kh(e),{locationStyles:h}=xs(e),{positionClasses:v}=Yo(e),{roundedClasses:g}=Ft(e),b=sc(e,n),p=x(()=>e.link!==!1&&b.isLink.value),_=x(()=>!e.disabled&&e.link!==!1&&(e.link||b.isClickable.value));return ue(()=>{const w=p.value?"a":e.tag,C=!!(r.title||e.title),I=!!(r.subtitle||e.subtitle),A=C||I,$=!!(r.append||e.appendAvatar||e.appendIcon),k=!!(r.prepend||e.prependAvatar||e.prependIcon),T=!!(r.image||e.image),D=A||k||$,E=!!(r.text||e.text);return et(m(w,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":_.value},i.value,s.value,a.value,u.value,d.value,f.value,v.value,g.value,l.value,e.class],style:[o.value,c.value,h.value,e.style],href:b.href.value,onClick:_.value&&b.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var S;return[T&&m("div",{key:"image",class:"v-card__image"},[r.image?m(vt,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},r.image):m(ga,{key:"image-img",cover:!0,src:e.image},null)]),m(u0,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:r.loader}),D&&m(gP,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:r.item,prepend:r.prepend,title:r.title,subtitle:r.subtitle,append:r.append}),E&&m(pP,{key:"text"},{default:()=>{var P,M;return[(M=(P=r.text)==null?void 0:P.call(r))!=null?M:e.text]}}),(S=r.default)==null?void 0:S.call(r),r.actions&&m(hP,null,{default:r.actions}),Va(_.value,"v-card")]}}),[[lr("ripple"),_.value&&e.ripple]])}),{}}});const Ite=e=>{const{touchstartX:t,touchendX:n,touchstartY:r,touchendY:i}=e,s=.5,a=16;e.offsetX=n-t,e.offsetY=i-r,Math.abs(e.offsetY)t+a&&e.right(e)),Math.abs(e.offsetX)r+a&&e.down(e))};function kte(e,t){var r;const n=e.changedTouches[0];t.touchstartX=n.clientX,t.touchstartY=n.clientY,(r=t.start)==null||r.call(t,{originalEvent:e,...t})}function Ate(e,t){var r;const n=e.changedTouches[0];t.touchendX=n.clientX,t.touchendY=n.clientY,(r=t.end)==null||r.call(t,{originalEvent:e,...t}),Ite(t)}function Pte(e,t){var r;const n=e.changedTouches[0];t.touchmoveX=n.clientX,t.touchmoveY=n.clientY,(r=t.move)==null||r.call(t,{originalEvent:e,...t})}function Vte(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:n=>kte(n,t),touchend:n=>Ate(n,t),touchmove:n=>Pte(n,t)}}function Ote(e,t){var o,l,u;const n=t.value,r=n!=null&&n.parent?e.parentElement:e,i=(o=n==null?void 0:n.options)!=null?o:{passive:!0},s=(l=t.instance)==null?void 0:l.$.uid;if(!r||!s)return;const a=Vte(t.value);r._touchHandlers=(u=r._touchHandlers)!=null?u:Object.create(null),r._touchHandlers[s]=a,$k(a).forEach(c=>{r.addEventListener(c,a[c],i)})}function Rte(e,t){var s,a;const n=(s=t.value)!=null&&s.parent?e.parentElement:e,r=(a=t.instance)==null?void 0:a.$.uid;if(!(n!=null&&n._touchHandlers)||!r)return;const i=n._touchHandlers[r];$k(i).forEach(o=>{n.removeEventListener(o,i[o])}),delete n._touchHandlers[r]}const y0={mounted:Ote,unmounted:Rte},yP=Symbol.for("vuetify:v-window"),bP=Symbol.for("vuetify:v-window-group"),_P=K({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...xe(),...Ge(),...it()},"VWindow"),fp=re()({name:"VWindow",directives:{Touch:y0},props:_P(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=ft(e),{isRtl:i}=gn(),{t:s}=kr(),a=Ra(e,bP),o=le(),l=x(()=>i.value?!e.reverse:e.reverse),u=we(!1),c=x(()=>{const C=e.direction==="vertical"?"y":"x",A=(l.value?!u.value:u.value)?"-reverse":"";return`v-window-${C}${A}-transition`}),d=we(0),f=le(void 0),h=x(()=>a.items.value.findIndex(C=>a.selected.value.includes(C.id)));ve(h,(C,I)=>{const A=a.items.value.length,$=A-1;A<=2?u.value=Ce.continuous||h.value!==0),g=x(()=>e.continuous||h.value!==a.items.value.length-1);function b(){v.value&&a.prev()}function p(){g.value&&a.next()}const _=x(()=>{const C=[],I={icon:i.value?e.nextIcon:e.prevIcon,class:`v-window__${l.value?"right":"left"}`,onClick:a.prev,ariaLabel:s("$vuetify.carousel.prev")};C.push(v.value?n.prev?n.prev({props:I}):m(Hn,I,null):m("div",null,null));const A={icon:i.value?e.prevIcon:e.nextIcon,class:`v-window__${l.value?"left":"right"}`,onClick:a.next,ariaLabel:s("$vuetify.carousel.next")};return C.push(g.value?n.next?n.next({props:A}):m(Hn,A,null):m("div",null,null)),C}),w=x(()=>e.touch===!1?e.touch:{...{left:()=>{l.value?b():p()},right:()=>{l.value?p():b()},start:I=>{let{originalEvent:A}=I;A.stopPropagation()}},...e.touch===!0?{}:e.touch});return ue(()=>et(m(e.tag,{ref:o,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},r.value,e.class],style:e.style},{default:()=>{var C,I;return[m("div",{class:"v-window__container",style:{height:f.value}},[(C=n.default)==null?void 0:C.call(n,{group:a}),e.showArrows!==!1&&m("div",{class:"v-window__controls"},[_.value])]),(I=n.additional)==null?void 0:I.call(n,{group:a})]}}),[[lr("touch"),w.value]])),{group:a}}}),Mte=K({color:String,cycle:Boolean,delimiterIcon:{type:je,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:e=>Number(e)>0},progress:[Boolean,String],verticalDelimiters:[Boolean,String],..._P({continuous:!0,mandatory:"force",showArrows:!0})},"VCarousel"),Dte=re()({name:"VCarousel",props:Mte(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=qe(e,"modelValue"),{t:i}=kr(),s=le();let a=-1;ve(r,l),ve(()=>e.interval,l),ve(()=>e.cycle,u=>{u?l():window.clearTimeout(a)}),xn(o);function o(){!e.cycle||!s.value||(a=window.setTimeout(s.value.group.next,+e.interval>0?+e.interval:6e3))}function l(){window.clearTimeout(a),window.requestAnimationFrame(o)}return ue(()=>{const[u]=fp.filterProps(e);return m(fp,be({ref:s},u,{modelValue:r.value,"onUpdate:modelValue":c=>r.value=c,class:["v-carousel",{"v-carousel--hide-delimiter-background":e.hideDelimiterBackground,"v-carousel--vertical-delimiters":e.verticalDelimiters},e.class],style:[{height:Te(e.height)},e.style]}),{default:n.default,additional:c=>{let{group:d}=c;return m(Se,null,[!e.hideDelimiters&&m("div",{class:"v-carousel__controls",style:{left:e.verticalDelimiters==="left"&&e.verticalDelimiters?0:"auto",right:e.verticalDelimiters==="right"?0:"auto"}},[d.items.value.length>0&&m(vt,{defaults:{VBtn:{color:e.color,icon:e.delimiterIcon,size:"x-small",variant:"text"}},scoped:!0},{default:()=>[d.items.value.map((f,h)=>{const v={id:`carousel-item-${f.id}`,"aria-label":i("$vuetify.carousel.ariaLabel.delimiter",h+1,d.items.value.length),class:[d.isSelected(f.id)&&"v-btn--active"],onClick:()=>d.select(f.id,!0)};return n.item?n.item({props:v,item:f}):m(Hn,be(f,v),null)})]})]),e.progress&&m(o0,{class:"v-carousel__progress",color:typeof e.progress=="string"?e.progress:void 0,modelValue:(d.getItemIndex(r.value)+1)/d.items.value.length*100},null)])},prev:n.prev,next:n.next})}),{}}}),wP=K({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...xe(),...qo(),...Zh()},"VWindowItem"),hp=re()({name:"VWindowItem",directives:{Touch:y0},props:wP(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const r=gt(yP),i=Wo(e,bP),{isBooted:s}=Pa();if(!r||!i)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const a=we(!1),o=x(()=>s.value&&(r.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function l(){!a.value||!r||(a.value=!1,r.transitionCount.value>0&&(r.transitionCount.value-=1,r.transitionCount.value===0&&(r.transitionHeight.value=void 0)))}function u(){var v;a.value||!r||(a.value=!0,r.transitionCount.value===0&&(r.transitionHeight.value=Te((v=r.rootRef.value)==null?void 0:v.clientHeight)),r.transitionCount.value+=1)}function c(){l()}function d(v){!a.value||xt(()=>{!o.value||!a.value||!r||(r.transitionHeight.value=Te(v.clientHeight))})}const f=x(()=>{const v=r.isReversed.value?e.reverseTransition:e.transition;return o.value?{name:typeof v!="string"?r.transition.value:v,onBeforeEnter:u,onAfterEnter:l,onEnterCancelled:c,onBeforeLeave:u,onAfterLeave:l,onLeaveCancelled:c,onEnter:d}:!1}),{hasContent:h}=m0(e,i.isSelected);return ue(()=>m(qr,{transition:f.value,disabled:!s.value},{default:()=>{var v;return[et(m("div",{class:["v-window-item",i.selectedClass.value,e.class],style:e.style},[h.value&&((v=n.default)==null?void 0:v.call(n))]),[[Yr,i.isSelected.value]])]}})),{groupItem:i}}}),$te=K({...gA(),...wP()},"VCarouselItem"),Fte=re()({name:"VCarouselItem",inheritAttrs:!1,props:$te(),setup(e,t){let{slots:n,attrs:r}=t;ue(()=>{const[i]=ga.filterProps(e),[s]=hp.filterProps(e);return m(hp,be({class:"v-carousel-item"},s),{default:()=>[m(ga,be(r,i),n)]})})}});const Nte=Xr("v-code");const Lte=K({color:{type:Object},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300},...xe()},"VColorPickerCanvas"),Bte=Ir({name:"VColorPickerCanvas",props:Lte(),emits:{"update:color":e=>!0,"update:position":e=>!0},setup(e,t){let{emit:n}=t;const r=we(!1),i=we(!1),s=le({x:0,y:0}),a=x(()=>{const{x:p,y:_}=s.value,w=parseInt(e.dotSize,10)/2;return{width:Te(e.dotSize),height:Te(e.dotSize),transform:`translate(${Te(p-w)}, ${Te(_-w)})`}}),o=le(),l=we(parseFloat(e.width)),u=we(parseFloat(e.height)),{resizeRef:c}=fi(p=>{var C;if(!((C=c.value)!=null&&C.offsetParent))return;const{width:_,height:w}=p[0].contentRect;l.value=_,u.value=w});function d(p,_,w){const{left:C,top:I,width:A,height:$}=w;s.value={x:On(p-C,0,A),y:On(_-I,0,$)}}function f(p){e.disabled||!o.value||d(p.clientX,p.clientY,o.value.getBoundingClientRect())}function h(p){p.preventDefault(),!e.disabled&&(r.value=!0,window.addEventListener("mousemove",v),window.addEventListener("mouseup",g),window.addEventListener("touchmove",v),window.addEventListener("touchend",g))}function v(p){if(e.disabled||!o.value)return;r.value=!0;const _=$Q(p);d(_.clientX,_.clientY,o.value.getBoundingClientRect())}function g(){window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",g),window.removeEventListener("touchmove",v),window.removeEventListener("touchend",g)}ve(s,()=>{var w,C,I,A;if(i.value){i.value=!1;return}if(!o.value)return;const{x:p,y:_}=s.value;n("update:color",{h:(C=(w=e.color)==null?void 0:w.h)!=null?C:0,s:On(p,0,l.value)/l.value,v:1-On(_,0,u.value)/u.value,a:(A=(I=e.color)==null?void 0:I.a)!=null?A:1})});function b(){var I,A;if(!o.value)return;const p=o.value,_=p.getContext("2d");if(!_)return;const w=_.createLinearGradient(0,0,p.width,0);w.addColorStop(0,"hsla(0, 0%, 100%, 1)"),w.addColorStop(1,`hsla(${(A=(I=e.color)==null?void 0:I.h)!=null?A:0}, 100%, 50%, 1)`),_.fillStyle=w,_.fillRect(0,0,p.width,p.height);const C=_.createLinearGradient(0,0,0,p.height);C.addColorStop(0,"hsla(0, 0%, 100%, 0)"),C.addColorStop(1,"hsla(0, 0%, 0%, 1)"),_.fillStyle=C,_.fillRect(0,0,p.width,p.height)}return ve(()=>{var p;return(p=e.color)==null?void 0:p.h},b,{immediate:!0}),ve(()=>[l.value,u.value],(p,_)=>{b(),s.value={x:s.value.x*p[0]/_[0],y:s.value.y*p[1]/_[1]}},{flush:"post"}),ve(()=>e.color,()=>{if(r.value){r.value=!1;return}i.value=!0,s.value=e.color?{x:e.color.s*l.value,y:(1-e.color.v)*u.value}:{x:0,y:0}},{deep:!0,immediate:!0}),xn(()=>b()),ue(()=>m("div",{ref:c,class:["v-color-picker-canvas",e.class],style:e.style,onClick:f,onMousedown:h,onTouchstart:h},[m("canvas",{ref:o,width:l.value,height:u.value},null),e.color&&m("div",{class:["v-color-picker-canvas__dot",{"v-color-picker-canvas__dot--disabled":e.disabled}],style:a.value},null)])),{}}});function jte(e,t){if(t){const{a:n,...r}=e;return r}return e}function zte(e,t){if(t==null||typeof t=="string"){const n=Qk(e);return e.a===1?n.slice(0,7):n}if(typeof t=="object"){let n;return ea(t,["r","g","b"])?n=Oi(e):ea(t,["h","s","l"])?n=Wk(e):ea(t,["h","s","v"])&&(n=e),jte(n,!ea(t,["a"])&&e.a===1)}return e}const Ll={h:0,s:0,v:1,a:1},mp={inputProps:{type:"number",min:0},inputs:[{label:"R",max:255,step:1,getValue:e=>Math.round(e.r),getColor:(e,t)=>({...e,r:Number(t)})},{label:"G",max:255,step:1,getValue:e=>Math.round(e.g),getColor:(e,t)=>({...e,g:Number(t)})},{label:"B",max:255,step:1,getValue:e=>Math.round(e.b),getColor:(e,t)=>({...e,b:Number(t)})},{label:"A",max:1,step:.01,getValue:e=>{let{a:t}=e;return t!=null?Math.round(t*100)/100:1},getColor:(e,t)=>({...e,a:Number(t)})}],to:Oi,from:Uh};var rS;const Ute={...mp,inputs:(rS=mp.inputs)==null?void 0:rS.slice(0,3)},vp={inputProps:{type:"number",min:0},inputs:[{label:"H",max:360,step:1,getValue:e=>Math.round(e.h),getColor:(e,t)=>({...e,h:Number(t)})},{label:"S",max:1,step:.01,getValue:e=>Math.round(e.s*100)/100,getColor:(e,t)=>({...e,s:Number(t)})},{label:"L",max:1,step:.01,getValue:e=>Math.round(e.l*100)/100,getColor:(e,t)=>({...e,l:Number(t)})},{label:"A",max:1,step:.01,getValue:e=>{let{a:t}=e;return t!=null?Math.round(t*100)/100:1},getColor:(e,t)=>({...e,a:Number(t)})}],to:Wk,from:Gb},Hte={...vp,inputs:vp.inputs.slice(0,3)},xP={inputProps:{type:"text"},inputs:[{label:"HEXA",getValue:e=>e,getColor:(e,t)=>t}],to:Qk,from:tJ},qte={...xP,inputs:[{label:"HEX",getValue:e=>e.slice(0,7),getColor:(e,t)=>t}]},oa={rgb:Ute,rgba:mp,hsl:Hte,hsla:vp,hex:qte,hexa:xP},Wte=e=>{let{label:t,...n}=e;return m("div",{class:"v-color-picker-edit__input"},[m("input",n,null),m("span",null,[t])])},Gte=K({color:Object,disabled:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(oa).includes(e)},modes:{type:Array,default:()=>Object.keys(oa),validator:e=>Array.isArray(e)&&e.every(t=>Object.keys(oa).includes(t))},...xe()},"VColorPickerEdit"),Kte=Ir({name:"VColorPickerEdit",props:Gte(),emits:{"update:color":e=>!0,"update:mode":e=>!0},setup(e,t){let{emit:n}=t;const r=x(()=>e.modes.map(s=>({...oa[s],name:s}))),i=x(()=>{var o;const s=r.value.find(l=>l.name===e.mode);if(!s)return[];const a=e.color?s.to(e.color):null;return(o=s.inputs)==null?void 0:o.map(l=>{let{getValue:u,getColor:c,...d}=l;return{...s.inputProps,...d,disabled:e.disabled,value:a&&u(a),onChange:f=>{const h=f.target;!h||n("update:color",s.from(c(a!=null?a:Ll,h.value)))}}})});return ue(()=>{var s;return m("div",{class:["v-color-picker-edit",e.class],style:e.style},[(s=i.value)==null?void 0:s.map(a=>m(Wte,a,null)),r.value.length>1&&m(Hn,{icon:"$unfold",size:"x-small",variant:"plain",onClick:()=>{const a=r.value.findIndex(o=>o.name===e.mode);n("update:mode",r.value[(a+1)%r.value.length].name)}},null)])}),{}}});const b0=Symbol.for("vuetify:v-slider");function gp(e,t,n){const r=n==="vertical",i=t.getBoundingClientRect(),s="touches"in e?e.touches[0]:e;return r?s.clientY-(i.top+i.height/2):s.clientX-(i.left+i.width/2)}function Yte(e,t){return"touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t]}const SP=K({disabled:{type:Boolean,default:null},error:Boolean,readonly:{type:Boolean,default:null},max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:0},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:e=>typeof e=="boolean"||e==="always"},thumbSize:{type:[Number,String],default:20},showTicks:{type:[Boolean,String],default:!1,validator:e=>typeof e=="boolean"||e==="always"},ticks:{type:[Array,Object]},tickSize:{type:[Number,String],default:2},color:String,trackColor:String,trackFillColor:String,trackSize:{type:[Number,String],default:4},direction:{type:String,default:"horizontal",validator:e=>["vertical","horizontal"].includes(e)},reverse:Boolean,...Pt(),...rn({elevation:2})},"Slider"),CP=e=>{const t=x(()=>parseFloat(e.min)),n=x(()=>parseFloat(e.max)),r=x(()=>+e.step>0?parseFloat(e.step):0),i=x(()=>Math.max(Xw(r.value),Xw(t.value)));function s(a){if(a=parseFloat(a),r.value<=0)return a;const o=On(a,t.value,n.value),l=t.value%r.value,u=Math.round((o-l)/r.value)*r.value+l;return parseFloat(Math.min(u,n.value).toFixed(i.value))}return{min:t,max:n,step:r,decimals:i,roundValue:s}},TP=e=>{let{props:t,steps:n,onSliderStart:r,onSliderMove:i,onSliderEnd:s,getActiveThumb:a}=e;const{isRtl:o}=gn(),l=ae(t,"reverse"),u=x(()=>{let Z=o.value?"rtl":"ltr";return t.reverse&&(Z=Z==="rtl"?"ltr":"rtl"),Z}),{min:c,max:d,step:f,decimals:h,roundValue:v}=n,g=x(()=>parseInt(t.thumbSize,10)),b=x(()=>parseInt(t.tickSize,10)),p=x(()=>parseInt(t.trackSize,10)),_=x(()=>(d.value-c.value)/f.value),w=ae(t,"disabled"),C=x(()=>t.direction==="vertical"),I=x(()=>{var Z;return t.error||t.disabled?void 0:(Z=t.thumbColor)!=null?Z:t.color}),A=x(()=>{var Z;return t.error||t.disabled?void 0:(Z=t.trackColor)!=null?Z:t.color}),$=x(()=>{var Z;return t.error||t.disabled?void 0:(Z=t.trackFillColor)!=null?Z:t.color}),k=we(!1),T=we(0),D=le(),E=le();function S(Z){var z;const Re=t.direction==="vertical",ze=Re?"top":"left",ht=Re?"height":"width",pe=Re?"clientY":"clientX",{[ze]:Oe,[ht]:ie}=(z=D.value)==null?void 0:z.$el.getBoundingClientRect(),V=Yte(Z,pe);let F=Math.min(Math.max((V-Oe-T.value)/ie,0),1)||0;return(Re||u.value==="rtl")&&(F=1-F),v(c.value+F*(d.value-c.value))}const P=Z=>{s({value:S(Z)}),k.value=!1,T.value=0},M=Z=>{E.value=a(Z),E.value&&(E.value.focus(),k.value=!0,E.value.contains(Z.target)?T.value=gp(Z,E.value,t.direction):(T.value=0,i({value:S(Z)})),r({value:S(Z)}))},Q={passive:!0,capture:!0};function G(Z){i({value:S(Z)})}function j(Z){Z.stopPropagation(),Z.preventDefault(),P(Z),window.removeEventListener("mousemove",G,Q),window.removeEventListener("mouseup",j)}function B(Z){var Re;P(Z),window.removeEventListener("touchmove",G,Q),(Re=Z.target)==null||Re.removeEventListener("touchend",B)}function J(Z){var Re;M(Z),window.addEventListener("touchmove",G,Q),(Re=Z.target)==null||Re.addEventListener("touchend",B,{passive:!1})}function ee(Z){Z.preventDefault(),M(Z),window.addEventListener("mousemove",G,Q),window.addEventListener("mouseup",j,{passive:!1})}const se=Z=>{const Re=(Z-c.value)/(d.value-c.value)*100;return On(isNaN(Re)?0:Re,0,100)},ge=ae(t,"showTicks"),fe=x(()=>ge.value?t.ticks?Array.isArray(t.ticks)?t.ticks.map(Z=>({value:Z,position:se(Z),label:Z.toString()})):Object.keys(t.ticks).map(Z=>({value:parseFloat(Z),position:se(parseFloat(Z)),label:t.ticks[Z]})):_.value!==1/0?bi(_.value+1).map(Z=>{const Re=c.value+Z*f.value;return{value:Re,position:se(Re)}}):[]:[]),Ae=x(()=>fe.value.some(Z=>{let{label:Re}=Z;return!!Re})),Ne={activeThumbRef:E,color:ae(t,"color"),decimals:h,disabled:w,direction:ae(t,"direction"),elevation:ae(t,"elevation"),hasLabels:Ae,horizontalDirection:u,isReversed:l,min:c,max:d,mousePressed:k,numTicks:_,onSliderMousedown:ee,onSliderTouchstart:J,parsedTicks:fe,parseMouseMove:S,position:se,readonly:ae(t,"readonly"),rounded:ae(t,"rounded"),roundValue:v,showTicks:ge,startOffset:T,step:f,thumbSize:g,thumbColor:I,thumbLabel:ae(t,"thumbLabel"),ticks:ae(t,"ticks"),tickSize:b,trackColor:A,trackContainerRef:D,trackFillColor:$,trackSize:p,vertical:C};return Mt(b0,Ne),Ne},Xte=K({focused:Boolean,max:{type:Number,required:!0},min:{type:Number,required:!0},modelValue:{type:Number,required:!0},position:{type:Number,required:!0},ripple:{type:[Boolean,Object],default:!0},...xe()},"VSliderThumb"),pp=re()({name:"VSliderThumb",directives:{Ripple:Ss},props:Xte(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n,emit:r}=t;const i=gt(b0),{rtlClasses:s}=gn();if(!i)throw new Error("[Vuetify] v-slider-thumb must be used inside v-slider or v-range-slider");const{thumbColor:a,step:o,vertical:l,disabled:u,thumbSize:c,thumbLabel:d,direction:f,readonly:h,elevation:v,isReversed:g,horizontalDirection:b,mousePressed:p,decimals:_}=i,{textColorClasses:w,textColorStyles:C}=Nn(a),{pageup:I,pagedown:A,end:$,home:k,left:T,right:D,down:E,up:S}=qg,P=[I,A,$,k,T,D,E,S],M=x(()=>o.value?[1,2,3]:[1,5,10]);function Q(j,B){if(!P.includes(j.key))return;j.preventDefault();const J=o.value||.1,ee=(e.max-e.min)/J;if([T,D,E,S].includes(j.key)){const ge=(b.value==="rtl"?[T,S]:[D,S]).includes(j.key)?1:-1,fe=j.shiftKey?2:j.ctrlKey?1:0;B=B+ge*J*M.value[fe]}else if(j.key===k)B=e.min;else if(j.key===$)B=e.max;else{const se=j.key===A?1:-1;B=B-se*J*(ee>100?ee/10:10)}return Math.max(e.min,Math.min(e.max,B))}function G(j){const B=Q(j,e.modelValue);B!=null&&r("update:modelValue",B)}return ue(()=>{const j=Te(l.value||g.value?100-e.position:e.position,"%"),{elevationClasses:B}=Sn(x(()=>u.value?void 0:v.value));return m("div",{class:["v-slider-thumb",{"v-slider-thumb--focused":e.focused,"v-slider-thumb--pressed":e.focused&&p.value},e.class,s.value],style:[{"--v-slider-thumb-position":j,"--v-slider-thumb-size":Te(c.value)},e.style],role:"slider",tabindex:u.value?-1:0,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.modelValue,"aria-readonly":!!h.value,"aria-orientation":f.value,onKeydown:h.value?void 0:G},[m("div",{class:["v-slider-thumb__surface",w.value,B.value],style:{...C.value}},null),et(m("div",{class:["v-slider-thumb__ripple",w.value],style:C.value},null),[[lr("ripple"),e.ripple,null,{circle:!0,center:!0}]]),m(e0,{origin:"bottom center"},{default:()=>{var J,ee;return[et(m("div",{class:"v-slider-thumb__label-container"},[m("div",{class:["v-slider-thumb__label"]},[m("div",null,[(ee=(J=n["thumb-label"])==null?void 0:J.call(n,{modelValue:e.modelValue}))!=null?ee:e.modelValue.toFixed(o.value?_.value:1)])])]),[[Yr,d.value&&e.focused||d.value==="always"]])]}})])}),{}}});const Qte=K({start:{type:Number,required:!0},stop:{type:Number,required:!0},...xe()},"VSliderTrack"),EP=re()({name:"VSliderTrack",props:Qte(),emits:{},setup(e,t){let{slots:n}=t;const r=gt(b0);if(!r)throw new Error("[Vuetify] v-slider-track must be inside v-slider or v-range-slider");const{color:i,horizontalDirection:s,parsedTicks:a,rounded:o,showTicks:l,tickSize:u,trackColor:c,trackFillColor:d,trackSize:f,vertical:h,min:v,max:g}=r,{roundedClasses:b}=Ft(o),{backgroundColorClasses:p,backgroundColorStyles:_}=jt(d),{backgroundColorClasses:w,backgroundColorStyles:C}=jt(c),I=x(()=>`inset-${h.value?"block-end":"inline-start"}`),A=x(()=>h.value?"height":"width"),$=x(()=>({[I.value]:"0%",[A.value]:"100%"})),k=x(()=>e.stop-e.start),T=x(()=>({[I.value]:Te(e.start,"%"),[A.value]:Te(k.value,"%")})),D=x(()=>l.value?(h.value?a.value.slice().reverse():a.value).map((S,P)=>{var G,j;const M=h.value?"bottom":"margin-inline-start",Q=S.value!==v.value&&S.value!==g.value?Te(S.position,"%"):void 0;return m("div",{key:S.value,class:["v-slider-track__tick",{"v-slider-track__tick--filled":S.position>=e.start&&S.position<=e.stop,"v-slider-track__tick--first":S.value===v.value,"v-slider-track__tick--last":S.value===g.value}],style:{[M]:Q}},[(S.label||n["tick-label"])&&m("div",{class:"v-slider-track__tick-label"},[(j=(G=n["tick-label"])==null?void 0:G.call(n,{tick:S,index:P}))!=null?j:S.label])])}):[]);return ue(()=>m("div",{class:["v-slider-track",b.value,e.class],style:[{"--v-slider-track-size":Te(f.value),"--v-slider-tick-size":Te(u.value),direction:h.value?void 0:s.value},e.style]},[m("div",{class:["v-slider-track__background",w.value,{"v-slider-track__background--opacity":!!i.value||!d.value}],style:{...$.value,...C.value}},null),m("div",{class:["v-slider-track__fill",p.value],style:{...T.value,..._.value}},null),l.value&&m("div",{class:["v-slider-track__ticks",{"v-slider-track__ticks--always-show":l.value==="always"}]},[D.value])])),{}}}),Jte=K({...Xh(),...SP(),...zi(),modelValue:{type:[Number,String],default:0}},"VSlider"),yp=re()({name:"VSlider",props:Jte(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,start:e=>!0,end:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const i=le(),{rtlClasses:s}=gn(),a=CP(e),o=qe(e,"modelValue",void 0,A=>a.roundValue(A==null?a.min.value:A)),{min:l,max:u,mousePressed:c,roundValue:d,onSliderMousedown:f,onSliderTouchstart:h,trackContainerRef:v,position:g,hasLabels:b,readonly:p}=TP({props:e,steps:a,onSliderStart:()=>{r("start",o.value)},onSliderEnd:A=>{let{value:$}=A;const k=d($);o.value=k,r("end",k)},onSliderMove:A=>{let{value:$}=A;return o.value=d($)},getActiveThumb:()=>{var A;return(A=i.value)==null?void 0:A.$el}}),{isFocused:_,focus:w,blur:C}=Cs(e),I=x(()=>g(o.value));return ue(()=>{const[A,$]=wn.filterProps(e),k=!!(e.label||n.label||n.prepend);return m(wn,be({class:["v-slider",{"v-slider--has-labels":!!n["tick-label"]||b.value,"v-slider--focused":_.value,"v-slider--pressed":c.value,"v-slider--disabled":e.disabled},s.value,e.class],style:e.style},A,{focused:_.value}),{...n,prepend:k?T=>{var D,E,S;return m(Se,null,[((E=(D=n.label)==null?void 0:D.call(n,T))!=null?E:e.label)?m(Xo,{id:T.id.value,class:"v-slider__label",text:e.label},null):void 0,(S=n.prepend)==null?void 0:S.call(n,T)])}:void 0,default:T=>{let{id:D,messagesId:E}=T;return m("div",{class:"v-slider__container",onMousedown:p.value?void 0:f,onTouchstartPassive:p.value?void 0:h},[m("input",{id:D.value,name:e.name||D.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:o.value},null),m(EP,{ref:v,start:0,stop:I.value},{"tick-label":n["tick-label"]}),m(pp,{ref:i,"aria-describedby":E.value,focused:_.value,min:l.value,max:u.value,modelValue:o.value,"onUpdate:modelValue":S=>o.value=S,position:I.value,elevation:e.elevation,onFocus:w,onBlur:C},{"thumb-label":n["thumb-label"]})])}})}),{}}}),Zte=K({color:{type:Object},disabled:Boolean,hideAlpha:Boolean,...xe()},"VColorPickerPreview"),ene=Ir({name:"VColorPickerPreview",props:Zte(),emits:{"update:color":e=>!0},setup(e,t){let{emit:n}=t;return ue(()=>{var r,i,s,a;return m("div",{class:["v-color-picker-preview",{"v-color-picker-preview--hide-alpha":e.hideAlpha},e.class],style:e.style},[m("div",{class:"v-color-picker-preview__dot"},[m("div",{style:{background:Kk((r=e.color)!=null?r:Ll)}},null)]),m("div",{class:"v-color-picker-preview__sliders"},[m(yp,{class:"v-color-picker-preview__track v-color-picker-preview__hue",modelValue:(i=e.color)==null?void 0:i.h,"onUpdate:modelValue":o=>{var l;return n("update:color",{...(l=e.color)!=null?l:Ll,h:o})},step:0,min:0,max:360,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null),!e.hideAlpha&&m(yp,{class:"v-color-picker-preview__track v-color-picker-preview__alpha",modelValue:(a=(s=e.color)==null?void 0:s.a)!=null?a:1,"onUpdate:modelValue":o=>{var l;return n("update:color",{...(l=e.color)!=null?l:Ll,a:o})},step:1/256,min:0,max:1,disabled:e.disabled,thumbSize:14,trackSize:8,trackFillColor:"white",hideDetails:!0},null)])])}),{}}});const tne=Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"}),nne=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),rne=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),ine=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),sne=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),ane=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),one=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),lne=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),une=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),cne=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),dne=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),fne=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),hne=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),mne=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),vne=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),gne=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),pne=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),yne=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),bne=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),_ne=Object.freeze({black:"#000000",white:"#ffffff",transparent:"#ffffff00"}),wne=Object.freeze({red:tne,pink:nne,purple:rne,deepPurple:ine,indigo:sne,blue:ane,lightBlue:one,cyan:lne,teal:une,green:cne,lightGreen:dne,lime:fne,yellow:hne,amber:mne,orange:vne,deepOrange:gne,brown:pne,blueGrey:yne,grey:bne,shades:_ne}),xne=K({swatches:{type:Array,default:()=>Sne(wne)},disabled:Boolean,color:Object,maxHeight:[Number,String],...xe()},"VColorPickerSwatches");function Sne(e){return Object.keys(e).map(t=>{const n=e[t];return n.base?[n.base,n.darken4,n.darken3,n.darken2,n.darken1,n.lighten1,n.lighten2,n.lighten3,n.lighten4,n.lighten5]:[n.black,n.white,n.transparent]})}const Cne=Ir({name:"VColorPickerSwatches",props:xne(),emits:{"update:color":e=>!0},setup(e,t){let{emit:n}=t;return ue(()=>m("div",{class:["v-color-picker-swatches",e.class],style:[{maxHeight:Te(e.maxHeight)},e.style]},[m("div",null,[e.swatches.map(r=>m("div",{class:"v-color-picker-swatches__swatch"},[r.map(i=>{const s=Hr(i),a=Uh(s),o=Gk(s);return m("div",{class:"v-color-picker-swatches__color",onClick:()=>a&&n("update:color",a)},[m("div",{style:{background:o}},[e.color&&Ia(e.color,a)?m(bt,{size:"x-small",icon:"$success",color:sJ(i,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}});const IP=K({color:String,...dr(),...xe(),...Ar(),...rn(),...ws(),...Ko(),...Pt(),...Ge(),...it()},"VSheet"),bp=re()({name:"VSheet",props:IP(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=ft(e),{backgroundColorClasses:i,backgroundColorStyles:s}=jt(ae(e,"color")),{borderClasses:a}=Vr(e),{dimensionStyles:o}=Pr(e),{elevationClasses:l}=Sn(e),{locationStyles:u}=xs(e),{positionClasses:c}=Yo(e),{roundedClasses:d}=Ft(e);return ue(()=>m(e.tag,{class:["v-sheet",r.value,i.value,a.value,l.value,c.value,d.value,e.class],style:[s.value,o.value,u.value,e.style]},n)),{}}}),Tne=K({canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,mode:{type:String,default:"rgba",validator:e=>Object.keys(oa).includes(e)},modes:{type:Array,default:()=>Object.keys(oa),validator:e=>Array.isArray(e)&&e.every(t=>Object.keys(oa).includes(t))},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},modelValue:{type:[Object,String]},...Er(IP({width:300}),["height","location","minHeight","maxHeight","minWidth","maxWidth"])},"VColorPicker"),Ene=Ir({name:"VColorPicker",props:Tne(),emits:{"update:modelValue":e=>!0,"update:mode":e=>!0},setup(e){const t=qe(e,"mode"),n=le(null),r=qe(e,"modelValue",void 0,a=>{if(a==null||a==="")return null;let o;try{o=Uh(Hr(a))}catch(l){return xi(l),null}return n.value&&(o={...o,h:n.value.h},n.value=null),o},a=>a?zte(a,e.modelValue):null),{rtlClasses:i}=gn(),s=a=>{r.value=a,n.value=a};return xn(()=>{e.modes.includes(t.value)||(t.value=e.modes[0])}),Xt({VSlider:{color:void 0,trackColor:void 0,trackFillColor:void 0}}),ue(()=>{var o;const[a]=bp.filterProps(e);return m(bp,be({rounded:e.rounded,elevation:e.elevation,theme:e.theme,class:["v-color-picker",i.value,e.class],style:[{"--v-color-picker-color-hsv":Kk({...(o=r.value)!=null?o:Ll,a:1})},e.style]},a,{maxWidth:e.width}),{default:()=>[!e.hideCanvas&&m(Bte,{key:"canvas",color:r.value,"onUpdate:color":s,disabled:e.disabled,dotSize:e.dotSize,width:e.width,height:e.canvasHeight},null),(!e.hideSliders||!e.hideInputs)&&m("div",{key:"controls",class:"v-color-picker__controls"},[!e.hideSliders&&m(ene,{key:"preview",color:r.value,"onUpdate:color":s,hideAlpha:!t.value.endsWith("a"),disabled:e.disabled},null),!e.hideInputs&&m(Kte,{key:"edit",modes:e.modes,mode:t.value,"onUpdate:mode":l=>t.value=l,color:r.value,"onUpdate:color":s,disabled:e.disabled},null)]),e.showSwatches&&m(Cne,{key:"swatches",color:r.value,"onUpdate:color":s,maxHeight:e.swatchesMaxHeight,swatches:e.swatches,disabled:e.disabled},null)]})}),{}}});function Ine(e,t,n){if(t==null)return e;if(Array.isArray(t))throw new Error("Multiple matches is not implemented");return typeof t=="number"&&~t?m(Se,null,[m("span",{class:"v-combobox__unmask"},[e.substr(0,t)]),m("span",{class:"v-combobox__mask"},[e.substr(t,n)]),m("span",{class:"v-combobox__unmask"},[e.substr(t+n)])]):e}const kne=K({autoSelectFirst:{type:[Boolean,String]},delimiters:Array,...oP({filterKeys:["title"]}),...p0({hideNoData:!0,returnObject:!0}),...Er(rm({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...Bi({transition:!1})},"VCombobox"),Ane=re()({name:"VCombobox",props:kne(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:search":e=>!0,"update:menu":e=>!0},setup(e,t){var pe,Oe;let{emit:n,slots:r}=t;const{t:i}=kr(),s=le(),a=we(!1),o=we(!0),l=we(!1),u=le(),c=le(),d=qe(e,"menu"),f=x({get:()=>d.value,set:ie=>{var V;d.value&&!ie&&((V=u.value)==null?void 0:V.\u03A8openChildren)||(d.value=ie)}}),h=we(-1);let v=!1;const g=x(()=>{var ie;return(ie=s.value)==null?void 0:ie.color}),b=x(()=>f.value?e.closeText:e.openText),{items:p,transformIn:_,transformOut:w}=h0(e),{textColorClasses:C,textColorStyles:I}=Nn(g),A=qe(e,"modelValue",[],ie=>_(xr(ie)),ie=>{var F;const V=w(ie);return e.multiple?V:(F=V[0])!=null?F:null}),$=Qh(),k=we(e.multiple?"":(Oe=(pe=A.value[0])==null?void 0:pe.title)!=null?Oe:""),T=x({get:()=>k.value,set:ie=>{var V;if(k.value=ie,e.multiple||(A.value=[ro(e,ie)]),ie&&e.multiple&&((V=e.delimiters)==null?void 0:V.length)){const F=ie.split(new RegExp(`(?:${e.delimiters.join("|")})+`));F.length>1&&(F.forEach(z=>{z=z.trim(),z&&Z(ro(e,z))}),k.value="")}ie||(h.value=-1),o.value=!ie}});ve(k,ie=>{v?xt(()=>v=!1):a.value&&!f.value&&(f.value=!0),n("update:search",ie)}),ve(A,ie=>{var V,F;e.multiple||(k.value=(F=(V=ie[0])==null?void 0:V.title)!=null?F:"")});const{filteredItems:D,getMatches:E}=lP(e,p,()=>o.value?"":T.value),S=x(()=>A.value.map(ie=>p.value.find(V=>{const F=An(V.raw,e.itemValue),z=An(ie.raw,e.itemValue);return F===void 0||z===void 0?!1:e.returnObject?e.valueComparator(F,z):e.valueComparator(V.value,ie.value)})||ie)),P=x(()=>e.hideSelected?D.value.filter(ie=>!S.value.some(V=>V.value===ie.value)):D.value),M=x(()=>S.value.map(ie=>ie.props.value)),Q=x(()=>S.value[h.value]),G=x(()=>{var V;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&T.value===((V=P.value[0])==null?void 0:V.title))&&P.value.length>0&&!o.value&&!l.value}),j=x(()=>e.hideNoData&&!p.value.length||e.readonly||($==null?void 0:$.isReadonly.value)),B=le(),{onListScroll:J,onListKeydown:ee}=g0(B,s);function se(ie){v=!0,e.openOnClear&&(f.value=!0)}function ge(){j.value||(f.value=!0)}function fe(ie){j.value||(a.value&&(ie.preventDefault(),ie.stopPropagation()),f.value=!f.value)}function Ae(ie){var z;if(e.readonly||($==null?void 0:$.isReadonly.value))return;const V=s.value.selectionStart,F=M.value.length;if((h.value>-1||["Enter","ArrowDown","ArrowUp"].includes(ie.key))&&ie.preventDefault(),["Enter","ArrowDown"].includes(ie.key)&&(f.value=!0),["Escape"].includes(ie.key)&&(f.value=!1),["Enter","Escape","Tab"].includes(ie.key)&&(G.value&&["Enter","Tab"].includes(ie.key)&&Z(D.value[0]),o.value=!0),ie.key==="ArrowDown"&&G.value&&((z=B.value)==null||z.focus("next")),!!e.multiple){if(["Backspace","Delete"].includes(ie.key)){if(h.value<0){ie.key==="Backspace"&&!T.value&&(h.value=F-1);return}const R=h.value;Q.value&&Z(Q.value),h.value=R>=F-1?F-2:R}if(ie.key==="ArrowLeft"){if(h.value<0&&V>0)return;const R=h.value>-1?h.value-1:F-1;S.value[R]?h.value=R:(h.value=-1,s.value.setSelectionRange(T.value.length,T.value.length))}if(ie.key==="ArrowRight"){if(h.value<0)return;const R=h.value+1;S.value[R]?h.value=R:(h.value=-1,s.value.setSelectionRange(0,0))}ie.key==="Enter"&&T.value&&(Z(ro(e,T.value)),T.value="")}}function Ne(){var ie;a.value&&(o.value=!0,(ie=s.value)==null||ie.focus())}function Z(ie){if(e.multiple){const V=M.value.findIndex(F=>e.valueComparator(F,ie.value));if(V===-1)A.value=[...A.value,ie];else{const F=[...A.value];F.splice(V,1),A.value=F}T.value=""}else A.value=[ie],k.value=ie.title,xt(()=>{f.value=!1,o.value=!0})}function Re(ie){a.value=!0,setTimeout(()=>{l.value=!0})}function ze(ie){l.value=!1}function ht(ie){(ie==null||ie===""&&!e.multiple)&&(A.value=[])}return ve(D,ie=>{!ie.length&&e.hideNoData&&(f.value=!1)}),ve(a,(ie,V)=>{ie||ie===V||(h.value=-1,f.value=!1,G.value&&!l.value&&!S.value.some(F=>{let{value:z}=F;return z===P.value[0].value})?Z(P.value[0]):e.multiple&&T.value&&(A.value=[...A.value,ro(e,T.value)],T.value=""))}),ve(f,()=>{if(!e.hideSelected&&f.value&&S.value.length){const ie=P.value.findIndex(V=>S.value.some(F=>V.value===F.value));Ct&&window.requestAnimationFrame(()=>{var V;ie>=0&&((V=c.value)==null||V.scrollToIndex(ie))})}}),ue(()=>{const ie=!!(e.chips||r.chip),V=!!(!e.hideNoData||P.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),F=A.value.length>0,[z]=ya.filterProps(e);return m(ya,be({ref:s},z,{modelValue:T.value,"onUpdate:modelValue":[R=>T.value=R,ht],focused:a.value,"onUpdate:focused":R=>a.value=R,validationValue:A.externalValue,dirty:F,class:["v-combobox",{"v-combobox--active-menu":f.value,"v-combobox--chips":!!e.chips,"v-combobox--selection-slot":!!r.selection,"v-combobox--selecting-index":h.value>-1,[`v-combobox--${e.multiple?"multiple":"single"}`]:!0},e.class],style:e.style,readonly:e.readonly,placeholder:F?void 0:e.placeholder,"onClick:clear":se,"onMousedown:control":ge,onKeydown:Ae}),{...r,default:()=>m(Se,null,[m(em,be({ref:u,modelValue:f.value,"onUpdate:modelValue":R=>f.value=R,activator:"parent",contentClass:"v-combobox__content",disabled:j.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:Ne},e.menuProps),{default:()=>{var R;return[V&&m(Jh,{ref:B,selected:M.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:N=>N.preventDefault(),onKeydown:ee,onFocusin:Re,onFocusout:ze,onScrollPassive:J,tabindex:"-1",color:(R=e.itemColor)!=null?R:e.color},{default:()=>{var N,U,H,q;return[(N=r["prepend-item"])==null?void 0:N.call(r),!P.value.length&&!e.hideNoData&&((H=(U=r["no-data"])==null?void 0:U.call(r))!=null?H:m(Ri,{title:i(e.noDataText)},null)),m(im,{ref:c,renderless:!0,items:P.value},{default:Y=>{var _e,ye;let{item:W,index:de,itemRef:oe}=Y;const he=be(W.props,{ref:oe,key:de,active:G.value&&de===0?!0:void 0,onClick:()=>Z(W)});return(ye=(_e=r.item)==null?void 0:_e.call(r,{item:W,index:de,props:he}))!=null?ye:m(Ri,he,{prepend:ke=>{let{isSelected:Ue}=ke;return m(Se,null,[e.multiple&&!e.hideSelected?m(Ao,{key:W.value,modelValue:Ue,ripple:!1,tabindex:"-1"},null):void 0,W.props.prependIcon&&m(bt,{icon:W.props.prependIcon},null)])},title:()=>{var ke,Ue,tt;return o.value?W.title:Ine(W.title,(ke=E(W))==null?void 0:ke.title,(tt=(Ue=T.value)==null?void 0:Ue.length)!=null?tt:0)}})}}),(q=r["append-item"])==null?void 0:q.call(r)]}})]}}),S.value.map((R,N)=>{var q,Y;function U(W){W.stopPropagation(),W.preventDefault(),Z(R)}const H={"onClick:close":U,onMousedown(W){W.preventDefault(),W.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0};return m("div",{key:R.value,class:["v-combobox__selection",N===h.value&&["v-combobox__selection--selected",C.value]],style:N===h.value?I.value:{}},[ie?r.chip?m(vt,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:R.title}}},{default:()=>{var W;return[(W=r.chip)==null?void 0:W.call(r,{item:R,index:N,props:H})]}}):m(oc,be({key:"chip",closable:e.closableChips,size:"small",text:R.title},H),null):(Y=(q=r.selection)==null?void 0:q.call(r,{item:R,index:N}))!=null?Y:m("span",{class:"v-combobox__selection-text"},[R.title,e.multiple&&N!0},setup(e,t){let{slots:n}=t;const r=qe(e,"modelValue"),{scopeId:i}=Qo(),s=le();function a(l){var d,f;const u=l.relatedTarget,c=l.target;if(u!==c&&((d=s.value)==null?void 0:d.contentEl)&&((f=s.value)==null?void 0:f.globalTop)&&![document,s.value.contentEl].includes(c)&&!s.value.contentEl.contains(c)){const h=xu(s.value.contentEl);if(!h.length)return;const v=h[0],g=h[h.length-1];u===v?g.focus():v.focus()}}Ct&&ve(()=>r.value&&e.retainFocus,l=>{l?document.addEventListener("focusin",a):document.removeEventListener("focusin",a)},{immediate:!0}),ve(r,async l=>{var u,c;await xt(),l?(u=s.value.contentEl)==null||u.focus({preventScroll:!0}):(c=s.value.activatorEl)==null||c.focus({preventScroll:!0})});const o=x(()=>be({"aria-haspopup":"dialog","aria-expanded":String(r.value)},e.activatorProps));return ue(()=>{const[l]=Mi.filterProps(e);return m(Mi,be({ref:s,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},l,{modelValue:r.value,"onUpdate:modelValue":u=>r.value=u,"aria-modal":"true",activatorProps:o.value,role:"dialog"},i),{activator:n.activator,default:function(){for(var u=arguments.length,c=new Array(u),d=0;d{var f;return[(f=n.default)==null?void 0:f.call(n,...c)]}})}})}),Qr({},s)}});const ku=Symbol.for("vuetify:v-expansion-panel"),One=["default","accordion","inset","popout"],Rne=K({color:String,variant:{type:String,default:"default",validator:e=>One.includes(e)},readonly:Boolean,...xe(),...Ho(),...Ge(),...it()},"VExpansionPanels"),Mne=re()({name:"VExpansionPanels",props:Rne(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;Ra(e,ku);const{themeClasses:r}=ft(e),i=x(()=>e.variant&&`v-expansion-panels--variant-${e.variant}`);return Xt({VExpansionPanel:{color:ae(e,"color")},VExpansionPanelTitle:{readonly:ae(e,"readonly")}}),ue(()=>m(e.tag,{class:["v-expansion-panels",r.value,i.value,e.class],style:e.style},n)),{}}}),Dne=K({...xe(),...Zh()},"VExpansionPanelText"),kP=re()({name:"VExpansionPanelText",props:Dne(),setup(e,t){let{slots:n}=t;const r=gt(ku);if(!r)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:i,onAfterLeave:s}=m0(e,r.isSelected);return ue(()=>m(Gh,{onAfterLeave:s},{default:()=>{var a;return[et(m("div",{class:["v-expansion-panel-text",e.class],style:e.style},[n.default&&i.value&&m("div",{class:"v-expansion-panel-text__wrapper"},[(a=n.default)==null?void 0:a.call(n)])]),[[Yr,r.isSelected.value]])]}})),{}}}),AP=K({color:String,expandIcon:{type:je,default:"$expand"},collapseIcon:{type:je,default:"$collapse"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...xe()},"VExpansionPanelTitle"),PP=re()({name:"VExpansionPanelTitle",directives:{Ripple:Ss},props:AP(),setup(e,t){let{slots:n}=t;const r=gt(ku);if(!r)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:i,backgroundColorStyles:s}=jt(e,"color"),a=x(()=>({collapseIcon:e.collapseIcon,disabled:r.disabled.value,expanded:r.isSelected.value,expandIcon:e.expandIcon,readonly:e.readonly}));return ue(()=>{var o;return et(m("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":r.isSelected.value},i.value,e.class],style:[s.value,e.style],type:"button",tabindex:r.disabled.value?-1:void 0,disabled:r.disabled.value,"aria-expanded":r.isSelected.value,onClick:e.readonly?void 0:r.toggle},[m("span",{class:"v-expansion-panel-title__overlay"},null),(o=n.default)==null?void 0:o.call(n,a.value),!e.hideActions&&m("span",{class:"v-expansion-panel-title__icon"},[n.actions?n.actions(a.value):m(bt,{icon:r.isSelected.value?e.collapseIcon:e.expandIcon},null)])]),[[lr("ripple"),e.ripple]])}),{}}}),$ne=K({title:String,text:String,bgColor:String,...xe(),...rn(),...qo(),...Zh(),...Pt(),...Ge(),...AP()},"VExpansionPanel"),Fne=re()({name:"VExpansionPanel",props:$ne(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const r=Wo(e,ku),{backgroundColorClasses:i,backgroundColorStyles:s}=jt(e,"bgColor"),{elevationClasses:a}=Sn(e),{roundedClasses:o}=Ft(e),l=x(()=>(r==null?void 0:r.disabled.value)||e.disabled),u=x(()=>r.group.items.value.reduce((f,h,v)=>(r.group.selected.value.includes(h.id)&&f.push(v),f),[])),c=x(()=>{const f=r.group.items.value.findIndex(h=>h.id===r.id);return!r.isSelected.value&&u.value.some(h=>h-f===1)}),d=x(()=>{const f=r.group.items.value.findIndex(h=>h.id===r.id);return!r.isSelected.value&&u.value.some(h=>h-f===-1)});return Mt(ku,r),Xt({VExpansionPanelText:{eager:ae(e,"eager")}}),ue(()=>{const f=!!(n.text||e.text),h=!!(n.title||e.title);return m(e.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":r.isSelected.value,"v-expansion-panel--before-active":c.value,"v-expansion-panel--after-active":d.value,"v-expansion-panel--disabled":l.value},o.value,i.value,e.class],style:[s.value,e.style]},{default:()=>{var v;return[m("div",{class:["v-expansion-panel__shadow",...a.value]},null),h&&m(PP,{key:"title",collapseIcon:e.collapseIcon,color:e.color,expandIcon:e.expandIcon,hideActions:e.hideActions,ripple:e.ripple},{default:()=>[n.title?n.title():e.title]}),f&&m(kP,{key:"text"},{default:()=>[n.text?n.text():e.text]}),(v=n.default)==null?void 0:v.call(n)]}})}),{}}});const Nne=K({chips:Boolean,counter:Boolean,counterSizeString:{type:String,default:"$vuetify.fileInput.counterSize"},counterString:{type:String,default:"$vuetify.fileInput.counter"},multiple:Boolean,showSize:{type:[Boolean,Number],default:!1,validator:e=>typeof e=="boolean"||[1e3,1024].includes(e)},...zi({prependIcon:"$file"}),modelValue:{type:Array,default:()=>[],validator:e=>xr(e).every(t=>t!=null&&typeof t=="object")},...nm({clearable:!0})},"VFileInput"),Lne=re()({name:"VFileInput",inheritAttrs:!1,props:Nne(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const{t:s}=kr(),a=qe(e,"modelValue"),{isFocused:o,focus:l,blur:u}=Cs(e),c=x(()=>typeof e.showSize!="boolean"?e.showSize:void 0),d=x(()=>{var T;return((T=a.value)!=null?T:[]).reduce((D,E)=>{let{size:S=0}=E;return D+S},0)}),f=x(()=>Jw(d.value,c.value)),h=x(()=>{var T;return((T=a.value)!=null?T:[]).map(D=>{const{name:E="",size:S=0}=D;return e.showSize?`${E} (${Jw(S,c.value)})`:E})}),v=x(()=>{var D,E;const T=(E=(D=a.value)==null?void 0:D.length)!=null?E:0;return e.showSize?s(e.counterSizeString,T,f.value):s(e.counterString,T)}),g=le(),b=le(),p=le(),_=x(()=>o.value||e.active),w=x(()=>["plain","underlined"].includes(e.variant));function C(){var T;p.value!==document.activeElement&&((T=p.value)==null||T.focus()),o.value||l()}function I(T){$(T)}function A(T){r("mousedown:control",T)}function $(T){var D;(D=p.value)==null||D.click(),r("click:control",T)}function k(T){T.stopPropagation(),C(),xt(()=>{a.value=[],Hb(e["onClick:clear"],T)})}return ve(a,T=>{(!Array.isArray(T)||!T.length)&&p.value&&(p.value.value="")}),ue(()=>{const T=!!(i.counter||e.counter),D=!!(T||i.details),[E,S]=ka(n),[{modelValue:P,...M}]=wn.filterProps(e),[Q]=v0(e);return m(wn,be({ref:g,modelValue:a.value,"onUpdate:modelValue":G=>a.value=G,class:["v-file-input",{"v-text-field--plain-underlined":w.value},e.class],style:e.style,"onClick:prepend":I},E,M,{centerAffix:!w.value,focused:o.value}),{...i,default:G=>{let{id:j,isDisabled:B,isDirty:J,isReadonly:ee,isValid:se}=G;return m(uc,be({ref:b,"prepend-icon":e.prependIcon,onMousedown:A,onClick:$,"onClick:clear":k,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},Q,{id:j.value,active:_.value||J.value,dirty:J.value,disabled:B.value,focused:o.value,error:se.value===!1}),{...i,default:ge=>{var Ne;let{props:{class:fe,...Ae}}=ge;return m(Se,null,[m("input",be({ref:p,type:"file",readonly:ee.value,disabled:B.value,multiple:e.multiple,name:e.name,onClick:Z=>{Z.stopPropagation(),ee.value&&Z.preventDefault(),C()},onChange:Z=>{var ze;if(!Z.target)return;const Re=Z.target;a.value=[...(ze=Re.files)!=null?ze:[]]},onFocus:C,onBlur:u},Ae,S),null),m("div",{class:fe},[!!((Ne=a.value)!=null&&Ne.length)&&(i.selection?i.selection({fileNames:h.value,totalBytes:d.value,totalBytesReadable:f.value}):e.chips?h.value.map(Z=>m(oc,{key:Z,size:"small",color:e.color},{default:()=>[Z]})):h.value.join(", "))])])}})},details:D?G=>{var j,B;return m(Se,null,[(j=i.details)==null?void 0:j.call(i,G),T&&m(Se,null,[m("span",null,null),m(tm,{active:!!((B=a.value)!=null&&B.length),value:v.value},i.counter)])])}:void 0})}),Qr({},g,b,p)}});const Bne=K({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...dr(),...xe(),...rn(),...zo(),...Pt(),...Ge({tag:"footer"}),...it()},"VFooter"),jne=re()({name:"VFooter",props:Bne(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=ft(e),{backgroundColorClasses:i,backgroundColorStyles:s}=jt(ae(e,"color")),{borderClasses:a}=Vr(e),{elevationClasses:o}=Sn(e),{roundedClasses:l}=Ft(e),u=we(32),{resizeRef:c}=fi(h=>{!h.length||(u.value=h[0].target.clientHeight)}),d=x(()=>e.height==="auto"?u.value:parseInt(e.height,10)),{layoutItemStyles:f}=Uo({id:e.name,order:x(()=>parseInt(e.order,10)),position:x(()=>"bottom"),layoutSize:d,elementSize:x(()=>e.height==="auto"?void 0:d.value),active:x(()=>e.app),absolute:ae(e,"absolute")});return ue(()=>m(e.tag,{ref:c,class:["v-footer",r.value,i.value,a.value,o.value,l.value,e.class],style:[s.value,e.app?f.value:{height:Te(e.height)},e.style]},n)),{}}}),zne=K({...xe(),...JZ()},"VForm"),Une=re()({name:"VForm",props:zne(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const i=ZZ(e),s=le();function a(l){l.preventDefault(),i.reset()}function o(l){const u=l,c=i.validate();u.then=c.then.bind(c),u.catch=c.catch.bind(c),u.finally=c.finally.bind(c),r("submit",u),u.defaultPrevented||c.then(d=>{var h;let{valid:f}=d;f&&((h=s.value)==null||h.submit())}),u.preventDefault()}return ue(()=>{var l;return m("form",{ref:s,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:a,onSubmit:o},[(l=n.default)==null?void 0:l.call(n,i)])}),Qr(i,s)}});const Hne=K({fluid:{type:Boolean,default:!1},...xe(),...Ge()},"VContainer"),qne=re()({name:"VContainer",props:Hne(),setup(e,t){let{slots:n}=t;const{rtlClasses:r}=gn();return ue(()=>m(e.tag,{class:["v-container",{"v-container--fluid":e.fluid},r.value,e.class],style:e.style},n)),{}}}),VP=(()=>Hh.reduce((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e),{}))(),OP=(()=>Hh.reduce((e,t)=>{const n="offset"+Di(t);return e[n]={type:[String,Number],default:null},e},{}))(),RP=(()=>Hh.reduce((e,t)=>{const n="order"+Di(t);return e[n]={type:[String,Number],default:null},e},{}))(),Fx={col:Object.keys(VP),offset:Object.keys(OP),order:Object.keys(RP)};function Wne(e,t,n){let r=e;if(!(n==null||n===!1))return t&&(r+=`-${t.replace(e,"")}`),e==="col"&&(r="v-"+r),e==="col"&&(n===""||n===!0)||(r+=`-${n}`),r.toLowerCase()}const Gne=["auto","start","end","center","baseline","stretch"],Kne=K({cols:{type:[Boolean,String,Number],default:!1},...VP,offset:{type:[String,Number],default:null},...OP,order:{type:[String,Number],default:null},...RP,alignSelf:{type:String,default:null,validator:e=>Gne.includes(e)},...xe(),...Ge()},"VCol"),Yne=re()({name:"VCol",props:Kne(),setup(e,t){let{slots:n}=t;const r=x(()=>{const i=[];let s;for(s in Fx)Fx[s].forEach(o=>{const l=e[o],u=Wne(s,o,l);u&&i.push(u)});const a=i.some(o=>o.startsWith("v-col-"));return i.push({"v-col":!a||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),i});return()=>{var i;return Lt(e.tag,{class:[r.value,e.class],style:e.style},(i=n.default)==null?void 0:i.call(n))}}}),_0=["start","end","center"],MP=["space-between","space-around","space-evenly"];function w0(e,t){return Hh.reduce((n,r)=>{const i=e+Di(r);return n[i]=t(),n},{})}const Xne=[..._0,"baseline","stretch"],DP=e=>Xne.includes(e),$P=w0("align",()=>({type:String,default:null,validator:DP})),Qne=[..._0,...MP],FP=e=>Qne.includes(e),NP=w0("justify",()=>({type:String,default:null,validator:FP})),Jne=[..._0,...MP,"stretch"],LP=e=>Jne.includes(e),BP=w0("alignContent",()=>({type:String,default:null,validator:LP})),Nx={align:Object.keys($P),justify:Object.keys(NP),alignContent:Object.keys(BP)},Zne={align:"align",justify:"justify",alignContent:"align-content"};function ere(e,t,n){let r=Zne[e];if(n!=null)return t&&(r+=`-${t.replace(e,"")}`),r+=`-${n}`,r.toLowerCase()}const tre=K({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:DP},...$P,justify:{type:String,default:null,validator:FP},...NP,alignContent:{type:String,default:null,validator:LP},...BP,...xe(),...Ge()},"VRow"),nre=re()({name:"VRow",props:tre(),setup(e,t){let{slots:n}=t;const r=x(()=>{const i=[];let s;for(s in Nx)Nx[s].forEach(a=>{const o=e[a],l=ere(s,a,o);l&&i.push(l)});return i.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),i});return()=>{var i;return Lt(e.tag,{class:["v-row",r.value,e.class],style:e.style},(i=n.default)==null?void 0:i.call(n))}}}),rre=Xr("v-spacer","div","VSpacer"),ire=K({disabled:Boolean,modelValue:{type:Boolean,default:void 0},...tP()},"VHover"),sre=re()({name:"VHover",props:ire(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=qe(e,"modelValue"),{runOpenDelay:i,runCloseDelay:s}=nP(e,a=>!e.disabled&&(r.value=a));return()=>{var a;return(a=n.default)==null?void 0:a.call(n,{isHovering:r.value,props:{onMouseenter:i,onMouseleave:s}})}}});const jP=Symbol.for("vuetify:v-item-group"),are=K({...xe(),...Ho({selectedClass:"v-item--selected"}),...Ge(),...it()},"VItemGroup"),ore=re()({name:"VItemGroup",props:are(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{themeClasses:r}=ft(e),{isSelected:i,select:s,next:a,prev:o,selected:l}=Ra(e,jP);return()=>m(e.tag,{class:["v-item-group",r.value,e.class],style:e.style},{default:()=>{var u;return[(u=n.default)==null?void 0:u.call(n,{isSelected:i,select:s,next:a,prev:o,selected:l.value})]}})}}),lre=re()({name:"VItem",props:qo(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:r,select:i,toggle:s,selectedClass:a,value:o,disabled:l}=Wo(e,jP);return()=>{var u;return(u=n.default)==null?void 0:u.call(n,{isSelected:r.value,selectedClass:a.value,select:i,toggle:s,value:o.value,disabled:l.value})}}});const ure=Xr("v-kbd");const cre=K({...xe(),...lA()},"VLayout"),dre=re()({name:"VLayout",props:cre(),setup(e,t){let{slots:n}=t;const{layoutClasses:r,layoutStyles:i,getLayoutItem:s,items:a,layoutRef:o}=uA(e);return ue(()=>{var l;return m("div",{ref:o,class:[r.value,e.class],style:[i.value,e.style]},[(l=n.default)==null?void 0:l.call(n)])}),{getLayoutItem:s,items:a}}});const fre=K({position:{type:String,required:!0},size:{type:[Number,String],default:300},modelValue:Boolean,...xe(),...zo()},"VLayoutItem"),hre=re()({name:"VLayoutItem",props:fre(),setup(e,t){let{slots:n}=t;const{layoutItemStyles:r}=Uo({id:e.name,order:x(()=>parseInt(e.order,10)),position:ae(e,"position"),elementSize:ae(e,"size"),layoutSize:ae(e,"size"),active:ae(e,"modelValue"),absolute:ae(e,"absolute")});return()=>{var i;return m("div",{class:["v-layout-item",e.class],style:[r.value,e.style]},[(i=n.default)==null?void 0:i.call(n)])}}}),mre=K({modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...xe(),...Ar(),...Ge(),...Bi({transition:"fade-transition"})},"VLazy"),vre=re()({name:"VLazy",directives:{intersect:ic},props:mre(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{dimensionStyles:r}=Pr(e),i=qe(e,"modelValue");function s(a){i.value||(i.value=a)}return ue(()=>et(m(e.tag,{class:["v-lazy",e.class],style:[r.value,e.style]},{default:()=>[i.value&&m(qr,{transition:e.transition,appear:!0},{default:()=>{var a;return[(a=n.default)==null?void 0:a.call(n)]}})]}),[[lr("intersect"),{handler:s,options:e.options},null]])),{}}});const gre=K({locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0},...xe()},"VLocaleProvider"),pre=re()({name:"VLocaleProvider",props:gre(),setup(e,t){let{slots:n}=t;const{rtlClasses:r}=IJ(e);return ue(()=>{var i;return m("div",{class:["v-locale-provider",r.value,e.class],style:e.style},[(i=n.default)==null?void 0:i.call(n)])}),{}}});const yre=K({scrollable:Boolean,...xe(),...Ge({tag:"main"})},"VMain"),bre=re()({name:"VMain",props:yre(),setup(e,t){let{slots:n}=t;const{mainStyles:r}=ZJ(),{ssrBootStyles:i}=Pa();return ue(()=>m(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[r.value,i.value,e.style]},{default:()=>{var s,a;return[e.scrollable?m("div",{class:"v-main__scroller"},[(s=n.default)==null?void 0:s.call(n)]):(a=n.default)==null?void 0:a.call(n)]}})),{}}});function _re(e){let{rootEl:t,isSticky:n,layoutItemStyles:r}=e;const i=we(!1),s=we(0),a=x(()=>{const u=typeof i.value=="boolean"?"top":i.value;return[n.value?{top:"auto",bottom:"auto",height:void 0}:void 0,i.value?{[u]:Te(s.value)}:{top:r.value.top}]});xn(()=>{ve(n,u=>{u?window.addEventListener("scroll",l,{passive:!0}):window.removeEventListener("scroll",l)},{immediate:!0})}),Kn(()=>{window.removeEventListener("scroll",l)});let o=0;function l(){var g;const u=o>window.scrollY?"up":"down",c=t.value.getBoundingClientRect(),d=parseFloat((g=r.value.top)!=null?g:0),f=window.scrollY-Math.max(0,s.value-d),h=c.height+Math.max(s.value,d)-window.scrollY-window.innerHeight,v=parseFloat(getComputedStyle(t.value).getPropertyValue("--v-body-scroll-y"))||0;c.height0;n--){if(e[n].t===e[n-1].t)continue;const r=Lx(t),i=(e[n].d-e[n-1].d)/(e[n].t-e[n-1].t);t+=(i-r)*Math.abs(i),n===e.length-1&&(t*=.5)}return Lx(t)*1e3}function Sre(){const e={};function t(i){Array.from(i.changedTouches).forEach(s=>{var o;((o=e[s.identifier])!=null?o:e[s.identifier]=new DQ(xre)).push([i.timeStamp,s])})}function n(i){Array.from(i.changedTouches).forEach(s=>{delete e[s.identifier]})}function r(i){var u;const s=(u=e[i])==null?void 0:u.values().reverse();if(!s)throw new Error(`No samples for touch id ${i}`);const a=s[0],o=[],l=[];for(const c of s){if(a[0]-c[0]>wre)break;o.push({t:c[0],d:c[1].clientX}),l.push({t:c[0],d:c[1].clientY})}return{x:Bx(o),y:Bx(l),get direction(){const{x:c,y:d}=this,[f,h]=[Math.abs(c),Math.abs(d)];return f>h&&c>=0?"right":f>h&&c<=0?"left":h>f&&d>=0?"down":h>f&&d<=0?"up":Cre()}}}return{addMovement:t,endTouch:n,getVelocity:r}}function Cre(){throw new Error}function Tre(e){let{isActive:t,isTemporary:n,width:r,touchless:i,position:s}=e;xn(()=>{window.addEventListener("touchstart",p,{passive:!0}),window.addEventListener("touchmove",_,{passive:!1}),window.addEventListener("touchend",w,{passive:!0})}),Kn(()=>{window.removeEventListener("touchstart",p),window.removeEventListener("touchmove",_),window.removeEventListener("touchend",w)});const a=x(()=>["left","right"].includes(s.value)),{addMovement:o,endTouch:l,getVelocity:u}=Sre();let c=!1;const d=we(!1),f=we(0),h=we(0);let v;function g(I,A){return(s.value==="left"?I:s.value==="right"?document.documentElement.clientWidth-I:s.value==="top"?I:s.value==="bottom"?document.documentElement.clientHeight-I:Ha())-(A?r.value:0)}function b(I){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const $=s.value==="left"?(I-h.value)/r.value:s.value==="right"?(document.documentElement.clientWidth-I-h.value)/r.value:s.value==="top"?(I-h.value)/r.value:s.value==="bottom"?(document.documentElement.clientHeight-I-h.value)/r.value:Ha();return A?Math.max(0,Math.min(1,$)):$}function p(I){if(i.value)return;const A=I.changedTouches[0].clientX,$=I.changedTouches[0].clientY,k=25,T=s.value==="left"?Adocument.documentElement.clientWidth-k:s.value==="top"?$document.documentElement.clientHeight-k:Ha(),D=t.value&&(s.value==="left"?Adocument.documentElement.clientWidth-r.value:s.value==="top"?$document.documentElement.clientHeight-r.value:Ha());(T||D||t.value&&n.value)&&(c=!0,v=[A,$],h.value=g(a.value?A:$,t.value),f.value=b(a.value?A:$),l(I),o(I))}function _(I){const A=I.changedTouches[0].clientX,$=I.changedTouches[0].clientY;if(c){if(!I.cancelable){c=!1;return}const T=Math.abs(A-v[0]),D=Math.abs($-v[1]);(a.value?T>D&&T>3:D>T&&D>3)?(d.value=!0,c=!1):(a.value?D:T)>3&&(c=!1)}if(!d.value)return;I.preventDefault(),o(I);const k=b(a.value?A:$,!1);f.value=Math.max(0,Math.min(1,k)),k>1?h.value=g(a.value?A:$,!0):k<0&&(h.value=g(a.value?A:$,!1))}function w(I){if(c=!1,!d.value)return;o(I),d.value=!1;const A=u(I.changedTouches[0].identifier),$=Math.abs(A.x),k=Math.abs(A.y);(a.value?$>k&&$>400:k>$&&k>3)?t.value=A.direction===({left:"right",right:"left",top:"down",bottom:"up"}[s.value]||Ha()):t.value=f.value>.5}const C=x(()=>d.value?{transform:s.value==="left"?`translateX(calc(-100% + ${f.value*r.value}px))`:s.value==="right"?`translateX(calc(100% - ${f.value*r.value}px))`:s.value==="top"?`translateY(calc(-100% + ${f.value*r.value}px))`:s.value==="bottom"?`translateY(calc(100% - ${f.value*r.value}px))`:Ha(),transition:"none"}:void 0);return{isDragging:d,dragProgress:f,dragStyles:C}}function Ha(){throw new Error}const Ere=["start","end","left","right","top","bottom"],Ire=K({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>Ere.includes(e)},sticky:Boolean,...dr(),...xe(),...rn(),...zo(),...Pt(),...Ge({tag:"nav"}),...it()},"VNavigationDrawer"),kre=re()({name:"VNavigationDrawer",props:Ire(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const{isRtl:s}=gn(),{themeClasses:a}=ft(e),{borderClasses:o}=Vr(e),{backgroundColorClasses:l,backgroundColorStyles:u}=jt(ae(e,"color")),{elevationClasses:c}=Sn(e),{mobile:d}=Aa(),{roundedClasses:f}=Ft(e),h=_A(),v=qe(e,"modelValue",null,J=>!!J),{ssrBootStyles:g}=Pa(),{scopeId:b}=Qo(),p=le(),_=we(!1),w=x(()=>e.rail&&e.expandOnHover&&_.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),C=x(()=>Gg(e.location,s.value)),I=x(()=>!e.permanent&&(d.value||e.temporary)),A=x(()=>e.sticky&&!I.value&&C.value!=="bottom");e.expandOnHover&&e.rail!=null&&ve(_,J=>r("update:rail",!J)),e.disableResizeWatcher||ve(I,J=>!e.permanent&&xt(()=>v.value=!J)),!e.disableRouteWatcher&&h&&ve(h.currentRoute,()=>I.value&&(v.value=!1)),ve(()=>e.permanent,J=>{J&&(v.value=!0)}),qf(()=>{e.modelValue!=null||I.value||(v.value=e.permanent||!d.value)});const{isDragging:$,dragProgress:k,dragStyles:T}=Tre({isActive:v,isTemporary:I,width:w,touchless:ae(e,"touchless"),position:C}),D=x(()=>{const J=I.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):w.value;return $.value?J*k.value:J}),{layoutItemStyles:E,layoutItemScrimStyles:S}=Uo({id:e.name,order:x(()=>parseInt(e.order,10)),position:C,layoutSize:D,elementSize:w,active:x(()=>v.value||$.value),disableTransitions:x(()=>$.value),absolute:x(()=>e.absolute||A.value&&typeof P.value!="string")}),{isStuck:P,stickyStyles:M}=_re({rootEl:p,isSticky:A,layoutItemStyles:E}),Q=jt(x(()=>typeof e.scrim=="string"?e.scrim:null)),G=x(()=>({...$.value?{opacity:k.value*.2,transition:"none"}:void 0,...S.value}));Xt({VList:{bgColor:"transparent"}});function j(){_.value=!0}function B(){_.value=!1}return ue(()=>{const J=i.image||e.image;return m(Se,null,[m(e.tag,be({ref:p,onMouseenter:j,onMouseleave:B,class:["v-navigation-drawer",`v-navigation-drawer--${C.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":_.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":I.value,"v-navigation-drawer--active":v.value,"v-navigation-drawer--sticky":A.value},a.value,l.value,o.value,c.value,f.value,e.class],style:[u.value,E.value,T.value,g.value,M.value,e.style]},b,n),{default:()=>{var ee,se,ge,fe;return[J&&m("div",{key:"image",class:"v-navigation-drawer__img"},[i.image?(ee=i.image)==null?void 0:ee.call(i,{image:e.image}):m("img",{src:e.image,alt:""},null)]),i.prepend&&m("div",{class:"v-navigation-drawer__prepend"},[(se=i.prepend)==null?void 0:se.call(i)]),m("div",{class:"v-navigation-drawer__content"},[(ge=i.default)==null?void 0:ge.call(i)]),i.append&&m("div",{class:"v-navigation-drawer__append"},[(fe=i.append)==null?void 0:fe.call(i)])]}}),m(Rn,{name:"fade-transition"},{default:()=>[I.value&&($.value||v.value)&&!!e.scrim&&m("div",be({class:["v-navigation-drawer__scrim",Q.backgroundColorClasses.value],style:[G.value,Q.backgroundColorStyles.value],onClick:()=>v.value=!1},b),null)]})])}),{isStuck:P}}}),Are=Ir({name:"VNoSsr",setup(e,t){let{slots:n}=t;const r=rP();return()=>{var i;return r.value&&((i=n.default)==null?void 0:i.call(n))}}});function Pre(){const e=le([]);jS(()=>e.value=[]);function t(n,r){e.value[r]=n}return{refs:e,updateRef:t}}const Vre=K({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:e=>e.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:e=>e%1===0},totalVisible:[Number,String],firstIcon:{type:je,default:"$first"},prevIcon:{type:je,default:"$prev"},nextIcon:{type:je,default:"$next"},lastIcon:{type:je,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...dr(),...xe(),...sn(),...rn(),...Pt(),...ji(),...Ge({tag:"nav"}),...it(),...Or({variant:"text"})},"VPagination"),Ore=re()({name:"VPagination",props:Vre(),emits:{"update:modelValue":e=>!0,first:e=>!0,prev:e=>!0,next:e=>!0,last:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const i=qe(e,"modelValue"),{t:s,n:a}=kr(),{isRtl:o}=gn(),{themeClasses:l}=ft(e),{width:u}=Aa(),c=we(-1);Xt(void 0,{scoped:!0});const{resizeRef:d}=fi(k=>{if(!k.length)return;const{target:T,contentRect:D}=k[0],E=T.querySelector(".v-pagination__list > *");if(!E)return;const S=D.width,P=E.offsetWidth+parseFloat(getComputedStyle(E).marginRight)*2;c.value=g(S,P)}),f=x(()=>parseInt(e.length,10)),h=x(()=>parseInt(e.start,10)),v=x(()=>e.totalVisible?parseInt(e.totalVisible,10):c.value>=0?c.value:g(u.value,58));function g(k,T){const D=e.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((k-T*D)/T).toFixed(2)))}const b=x(()=>{if(f.value<=0||isNaN(f.value)||f.value>Number.MAX_SAFE_INTEGER)return[];if(v.value<=1)return[i.value];if(f.value<=v.value)return bi(f.value,h.value);const k=v.value%2===0,T=k?v.value/2:Math.floor(v.value/2),D=k?T:T+1,E=f.value-T;if(D-i.value>=0)return[...bi(Math.max(1,v.value-1),h.value),e.ellipsis,f.value];if(i.value-E>=(k?1:0)){const S=v.value-1,P=f.value-S+h.value;return[h.value,e.ellipsis,...bi(S,P)]}else{const S=Math.max(1,v.value-3),P=S===1?i.value:i.value-Math.ceil(S/2)+h.value;return[h.value,e.ellipsis,...bi(S,P),e.ellipsis,f.value]}});function p(k,T,D){k.preventDefault(),i.value=T,D&&r(D,T)}const{refs:_,updateRef:w}=Pre();Xt({VPaginationBtn:{color:ae(e,"color"),border:ae(e,"border"),density:ae(e,"density"),size:ae(e,"size"),variant:ae(e,"variant"),rounded:ae(e,"rounded"),elevation:ae(e,"elevation")}});const C=x(()=>b.value.map((k,T)=>{const D=E=>w(E,T);if(typeof k=="string")return{isActive:!1,key:`ellipsis-${T}`,page:k,props:{ref:D,ellipsis:!0,icon:!0,disabled:!0}};{const E=k===i.value;return{isActive:E,key:k,page:a(k),props:{ref:D,ellipsis:!1,icon:!0,disabled:!!e.disabled||+e.length<2,color:E?e.activeColor:e.color,ariaCurrent:E,ariaLabel:s(E?e.currentPageAriaLabel:e.pageAriaLabel,k),onClick:S=>p(S,k)}}}})),I=x(()=>{const k=!!e.disabled||i.value<=h.value,T=!!e.disabled||i.value>=h.value+f.value-1;return{first:e.showFirstLastPage?{icon:o.value?e.lastIcon:e.firstIcon,onClick:D=>p(D,h.value,"first"),disabled:k,ariaLabel:s(e.firstAriaLabel),ariaDisabled:k}:void 0,prev:{icon:o.value?e.nextIcon:e.prevIcon,onClick:D=>p(D,i.value-1,"prev"),disabled:k,ariaLabel:s(e.previousAriaLabel),ariaDisabled:k},next:{icon:o.value?e.prevIcon:e.nextIcon,onClick:D=>p(D,i.value+1,"next"),disabled:T,ariaLabel:s(e.nextAriaLabel),ariaDisabled:T},last:e.showFirstLastPage?{icon:o.value?e.firstIcon:e.lastIcon,onClick:D=>p(D,h.value+f.value-1,"last"),disabled:T,ariaLabel:s(e.lastAriaLabel),ariaDisabled:T}:void 0}});function A(){var T;const k=i.value-h.value;(T=_.value[k])==null||T.$el.focus()}function $(k){k.key===qg.left&&!e.disabled&&i.value>+e.start?(i.value=i.value-1,xt(A)):k.key===qg.right&&!e.disabled&&i.valuem(e.tag,{ref:d,class:["v-pagination",l.value,e.class],style:e.style,role:"navigation","aria-label":s(e.ariaLabel),onKeydown:$,"data-test":"v-pagination-root"},{default:()=>[m("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&m("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[n.first?n.first(I.value.first):m(Hn,be({_as:"VPaginationBtn"},I.value.first),null)]),m("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[n.prev?n.prev(I.value.prev):m(Hn,be({_as:"VPaginationBtn"},I.value.prev),null)]),C.value.map((k,T)=>m("li",{key:k.key,class:["v-pagination__item",{"v-pagination__item--is-active":k.isActive}],"data-test":"v-pagination-item"},[n.item?n.item(k):m(Hn,be({_as:"VPaginationBtn"},k.props),{default:()=>[k.page]})])),m("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[n.next?n.next(I.value.next):m(Hn,be({_as:"VPaginationBtn"},I.value.next),null)]),e.showFirstLastPage&&m("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[n.last?n.last(I.value.last):m(Hn,be({_as:"VPaginationBtn"},I.value.last),null)])])]})),{}}});function Rre(e){return Math.floor(Math.abs(e))*Math.sign(e)}const Mre=K({scale:{type:[Number,String],default:.5},...xe()},"VParallax"),Dre=re()({name:"VParallax",props:Mre(),setup(e,t){let{slots:n}=t;const{intersectionRef:r,isIntersecting:i}=s0(),{resizeRef:s,contentRect:a}=fi(),{height:o}=Aa(),l=le();or(()=>{var h;r.value=s.value=(h=l.value)==null?void 0:h.$el});let u;ve(i,h=>{h?(u=Kb(r.value),u=u===document.scrollingElement?document:u,u.addEventListener("scroll",f,{passive:!0}),f()):u.removeEventListener("scroll",f)}),Kn(()=>{u==null||u.removeEventListener("scroll",f)}),ve(o,f),ve(()=>{var h;return(h=a.value)==null?void 0:h.height},f);const c=x(()=>1-On(+e.scale));let d=-1;function f(){!i.value||(cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var I;const h=((I=l.value)==null?void 0:I.$el).querySelector(".v-img__img");if(!h)return;const v=u instanceof Document?document.documentElement.clientHeight:u.clientHeight,g=u instanceof Document?window.scrollY:u.scrollTop,b=r.value.getBoundingClientRect().top+g,p=a.value.height,_=b+(p-v)/2,w=Rre((g-_)*c.value),C=Math.max(1,(c.value*(v-p)+p)/p);h.style.setProperty("transform",`translateY(${w}px) scale(${C})`)}))}return ue(()=>m(ga,{class:["v-parallax",{"v-parallax--active":i.value},e.class],style:e.style,ref:l,cover:!0,onLoadstart:f,onLoad:f},n)),{}}}),$re=K({...Yh({falseIcon:"$radioOff",trueIcon:"$radioOn"})},"VRadio"),Fre=re()({name:"VRadio",props:$re(),setup(e,t){let{slots:n}=t;return ue(()=>m(pa,be(e,{class:["v-radio",e.class],style:e.style,type:"radio"}),n)),{}}});const Nre=K({height:{type:[Number,String],default:"auto"},...zi(),...Er(d0(),["multiple"]),trueIcon:{type:je,default:"$radioOn"},falseIcon:{type:je,default:"$radioOff"},type:{type:String,default:"radio"}},"VRadioGroup"),Lre=re()({name:"VRadioGroup",inheritAttrs:!1,props:Nre(),emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const i=Ln(),s=x(()=>e.id||`radio-group-${i}`),a=qe(e,"modelValue");return ue(()=>{const[o,l]=ka(n),[u,c]=wn.filterProps(e),[d,f]=pa.filterProps(e),h=r.label?r.label({label:e.label,props:{for:s.value}}):e.label;return m(wn,be({class:["v-radio-group",e.class],style:e.style},o,u,{modelValue:a.value,"onUpdate:modelValue":v=>a.value=v,id:s.value}),{...r,default:v=>{let{id:g,messagesId:b,isDisabled:p,isReadonly:_}=v;return m(Se,null,[h&&m(Xo,{id:g.value},{default:()=>[h]}),m(VA,be(d,{id:g.value,"aria-describedby":b.value,defaultsTarget:"VRadio",trueIcon:e.trueIcon,falseIcon:e.falseIcon,type:e.type,disabled:p.value,readonly:_.value,"aria-labelledby":h?g.value:void 0,multiple:!1},l,{modelValue:a.value,"onUpdate:modelValue":w=>a.value=w}),r)])}})}),{}}}),Bre=K({...Xh(),...zi(),...SP(),strict:Boolean,modelValue:{type:Array,default:()=>[0,0]}},"VRangeSlider"),jre=re()({name:"VRangeSlider",props:Bre(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,end:e=>!0,start:e=>!0},setup(e,t){let{slots:n,emit:r}=t;const i=le(),s=le(),a=le(),{rtlClasses:o}=gn();function l(T){if(!i.value||!s.value)return;const D=gp(T,i.value.$el,e.direction),E=gp(T,s.value.$el,e.direction),S=Math.abs(D),P=Math.abs(E);return ST!=null&&T.length?T.map(D=>u.roundValue(D)):[0,0]),{activeThumbRef:d,hasLabels:f,max:h,min:v,mousePressed:g,onSliderMousedown:b,onSliderTouchstart:p,position:_,trackContainerRef:w}=TP({props:e,steps:u,onSliderStart:()=>{r("start",c.value)},onSliderEnd:T=>{var S;let{value:D}=T;const E=d.value===((S=i.value)==null?void 0:S.$el)?[D,c.value[1]]:[c.value[0],D];!e.strict&&E[0]{var P,M,Q,G;let{value:D}=T;const[E,S]=c.value;!e.strict&&E===S&&E!==v.value&&(d.value=D>E?(P=s.value)==null?void 0:P.$el:(M=i.value)==null?void 0:M.$el,(Q=d.value)==null||Q.focus()),d.value===((G=i.value)==null?void 0:G.$el)?c.value=[Math.min(D,S),S]:c.value=[E,Math.max(E,D)]},getActiveThumb:l}),{isFocused:C,focus:I,blur:A}=Cs(e),$=x(()=>_(c.value[0])),k=x(()=>_(c.value[1]));return ue(()=>{const[T,D]=wn.filterProps(e),E=!!(e.label||n.label||n.prepend);return m(wn,be({class:["v-slider","v-range-slider",{"v-slider--has-labels":!!n["tick-label"]||f.value,"v-slider--focused":C.value,"v-slider--pressed":g.value,"v-slider--disabled":e.disabled},o.value,e.class],style:e.style,ref:a},T,{focused:C.value}),{...n,prepend:E?S=>{var P,M,Q;return m(Se,null,[((M=(P=n.label)==null?void 0:P.call(n,S))!=null?M:e.label)?m(Xo,{class:"v-slider__label",text:e.label},null):void 0,(Q=n.prepend)==null?void 0:Q.call(n,S)])}:void 0,default:S=>{var Q,G;let{id:P,messagesId:M}=S;return m("div",{class:"v-slider__container",onMousedown:b,onTouchstartPassive:p},[m("input",{id:`${P.value}_start`,name:e.name||P.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:c.value[0]},null),m("input",{id:`${P.value}_stop`,name:e.name||P.value,disabled:!!e.disabled,readonly:!!e.readonly,tabindex:"-1",value:c.value[1]},null),m(EP,{ref:w,start:$.value,stop:k.value},{"tick-label":n["tick-label"]}),m(pp,{ref:i,"aria-describedby":M.value,focused:C&&d.value===((Q=i.value)==null?void 0:Q.$el),modelValue:c.value[0],"onUpdate:modelValue":j=>c.value=[j,c.value[1]],onFocus:j=>{var B,J,ee,se;I(),d.value=(B=i.value)==null?void 0:B.$el,c.value[0]===c.value[1]&&c.value[1]===v.value&&j.relatedTarget!==((J=s.value)==null?void 0:J.$el)&&((ee=i.value)==null||ee.$el.blur(),(se=s.value)==null||se.$el.focus())},onBlur:()=>{A(),d.value=void 0},min:v.value,max:c.value[1],position:$.value},{"thumb-label":n["thumb-label"]}),m(pp,{ref:s,"aria-describedby":M.value,focused:C&&d.value===((G=s.value)==null?void 0:G.$el),modelValue:c.value[1],"onUpdate:modelValue":j=>c.value=[c.value[0],j],onFocus:j=>{var B,J,ee,se;I(),d.value=(B=s.value)==null?void 0:B.$el,c.value[0]===c.value[1]&&c.value[0]===h.value&&j.relatedTarget!==((J=i.value)==null?void 0:J.$el)&&((ee=s.value)==null||ee.$el.blur(),(se=i.value)==null||se.$el.focus())},onBlur:()=>{A(),d.value=void 0},min:c.value[0],max:h.value,position:k.value},{"thumb-label":n["thumb-label"]})])}})}),{}}});const zre=K({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:je,default:"$ratingEmpty"},fullIcon:{type:je,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},ripple:Boolean,...xe(),...sn(),...ji(),...Ge(),...it()},"VRating"),Ure=re()({name:"VRating",props:zre(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{t:r}=kr(),{themeClasses:i}=ft(e),s=qe(e,"modelValue"),a=x(()=>On(parseFloat(s.value),0,+e.length)),o=x(()=>bi(Number(e.length),1)),l=x(()=>o.value.flatMap(g=>e.halfIncrements?[g-.5,g]:[g])),u=we(-1),c=x(()=>l.value.map(g=>{var $;const b=e.hover&&u.value>-1,p=a.value>=g,_=u.value>=g,C=(b?_:p)?e.fullIcon:e.emptyIcon,I=($=e.activeColor)!=null?$:e.color,A=p||_?I:e.color;return{isFilled:p,isHovered:_,icon:C,color:A}})),d=x(()=>[0,...l.value].map(g=>{function b(){u.value=g}function p(){u.value=-1}function _(){e.disabled||e.readonly||(s.value=a.value===g&&e.clearable?0:g)}return{onMouseenter:e.hover?b:void 0,onMouseleave:e.hover?p:void 0,onClick:_}})),f=x(()=>{var g;return(g=e.name)!=null?g:`v-rating-${Ln()}`});function h(g){var k,T;let{value:b,index:p,showStar:_=!0}=g;const{onMouseenter:w,onMouseleave:C,onClick:I}=d.value[p+1],A=`${f.value}-${String(b).replace(".","-")}`,$={color:(k=c.value[p])==null?void 0:k.color,density:e.density,disabled:e.disabled,icon:(T=c.value[p])==null?void 0:T.icon,ripple:e.ripple,size:e.size,variant:"plain"};return m(Se,null,[m("label",{for:A,class:{"v-rating__item--half":e.halfIncrements&&b%1>0,"v-rating__item--full":e.halfIncrements&&b%1===0},onMouseenter:w,onMouseleave:C,onClick:I},[m("span",{class:"v-rating__hidden"},[r(e.itemAriaLabel,b,e.length)]),_?n.item?n.item({...c.value[p],props:$,value:b,index:p,rating:a.value}):m(Hn,be({"aria-label":r(e.itemAriaLabel,b,e.length)},$),null):void 0]),m("input",{class:"v-rating__hidden",name:f.value,id:A,type:"radio",value:b,checked:a.value===b,tabindex:-1,readonly:e.readonly,disabled:e.disabled},null)])}function v(g){return n["item-label"]?n["item-label"](g):g.label?m("span",null,[g.label]):m("span",null,[St("\xA0")])}return ue(()=>{var b;const g=!!((b=e.itemLabels)!=null&&b.length)||n["item-label"];return m(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},i.value,e.class],style:e.style},{default:()=>[m(h,{value:0,index:-1,showStar:!1},null),o.value.map((p,_)=>{var w,C;return m("div",{class:"v-rating__wrapper"},[g&&e.itemLabelPosition==="top"?v({value:p,index:_,label:(w=e.itemLabels)==null?void 0:w[_]}):void 0,m("div",{class:"v-rating__item"},[e.halfIncrements?m(Se,null,[m(h,{value:p-.5,index:_*2},null),m(h,{value:p,index:_*2+1},null)]):m(h,{value:p,index:_},null)]),g&&e.itemLabelPosition==="bottom"?v({value:p,index:_,label:(C=e.itemLabels)==null?void 0:C[_]}):void 0])})]})}),{}}});function jx(e){const n=Math.abs(e);return Math.sign(e)*(n/((1/.501-2)*(1-n)+1))}function zx(e){let{selectedElement:t,containerSize:n,contentSize:r,isRtl:i,currentScrollOffset:s,isHorizontal:a}=e;const o=a?t.clientWidth:t.clientHeight,l=a?t.offsetLeft:t.offsetTop,u=i&&a?r-l-o:l,c=n+s,d=o+u,f=o*.4;return u<=s?s=Math.max(u-f,0):c<=d&&(s=Math.min(s-(c-d-f),r-n)),s}function Hre(e){let{selectedElement:t,containerSize:n,contentSize:r,isRtl:i,isHorizontal:s}=e;const a=s?t.clientWidth:t.clientHeight,o=s?t.offsetLeft:t.offsetTop,l=i&&s?r-o-a/2-n/2:o+a/2-n/2;return Math.min(r-n,Math.max(0,l))}const zP=Symbol.for("vuetify:v-slide-group"),UP=K({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:zP},nextIcon:{type:je,default:"$next"},prevIcon:{type:je,default:"$prev"},showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["always","desktop","mobile"].includes(e)},...xe(),...Ge(),...Ho({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),_p=re()({name:"VSlideGroup",props:UP(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isRtl:r}=gn(),{mobile:i}=Aa(),s=Ra(e,e.symbol),a=we(!1),o=we(0),l=we(0),u=we(0),c=x(()=>e.direction==="horizontal"),{resizeRef:d,contentRect:f}=fi(),{resizeRef:h,contentRect:v}=fi(),g=x(()=>s.selected.value.length?s.items.value.findIndex(ee=>ee.id===s.selected.value[0]):-1),b=x(()=>s.selected.value.length?s.items.value.findIndex(ee=>ee.id===s.selected.value[s.selected.value.length-1]):-1);if(Ct){let ee=-1;ve(()=>[s.selected.value,f.value,v.value,c.value],()=>{cancelAnimationFrame(ee),ee=requestAnimationFrame(()=>{if(f.value&&v.value){const se=c.value?"width":"height";l.value=f.value[se],u.value=v.value[se],a.value=l.value+1=0&&h.value){const se=h.value.children[b.value];g.value===0||!a.value?o.value=0:e.centerActive?o.value=Hre({selectedElement:se,containerSize:l.value,contentSize:u.value,isRtl:r.value,isHorizontal:c.value}):a.value&&(o.value=zx({selectedElement:se,containerSize:l.value,contentSize:u.value,isRtl:r.value,currentScrollOffset:o.value,isHorizontal:c.value}))}})})}const p=we(!1);let _=0,w=0;function C(ee){const se=c.value?"clientX":"clientY";w=(r.value&&c.value?-1:1)*o.value,_=ee.touches[0][se],p.value=!0}function I(ee){if(!a.value)return;const se=c.value?"clientX":"clientY",ge=r.value&&c.value?-1:1;o.value=ge*(w+_-ee.touches[0][se])}function A(ee){const se=u.value-l.value;o.value<0||!a.value?o.value=0:o.value>=se&&(o.value=se),p.value=!1}function $(){!d.value||(d.value[c.value?"scrollLeft":"scrollTop"]=0)}const k=we(!1);function T(ee){if(k.value=!0,!(!a.value||!h.value)){for(const se of ee.composedPath())for(const ge of h.value.children)if(ge===se){o.value=zx({selectedElement:ge,containerSize:l.value,contentSize:u.value,isRtl:r.value,currentScrollOffset:o.value,isHorizontal:c.value});return}}}function D(ee){k.value=!1}function E(ee){var se;!k.value&&!(ee.relatedTarget&&((se=h.value)==null?void 0:se.contains(ee.relatedTarget)))&&P()}function S(ee){!h.value||(c.value?ee.key==="ArrowRight"?P(r.value?"prev":"next"):ee.key==="ArrowLeft"&&P(r.value?"next":"prev"):ee.key==="ArrowDown"?P("next"):ee.key==="ArrowUp"&&P("prev"),ee.key==="Home"?P("first"):ee.key==="End"&&P("last"))}function P(ee){var se,ge,fe,Ae,Ne;if(!!h.value)if(!ee)(se=xu(h.value)[0])==null||se.focus();else if(ee==="next"){const Z=(ge=h.value.querySelector(":focus"))==null?void 0:ge.nextElementSibling;Z?Z.focus():P("first")}else if(ee==="prev"){const Z=(fe=h.value.querySelector(":focus"))==null?void 0:fe.previousElementSibling;Z?Z.focus():P("last")}else ee==="first"?(Ae=h.value.firstElementChild)==null||Ae.focus():ee==="last"&&((Ne=h.value.lastElementChild)==null||Ne.focus())}function M(ee){const se=o.value+(ee==="prev"?-1:1)*l.value;o.value=On(se,0,u.value-l.value)}const Q=x(()=>{let ee=o.value>u.value-l.value?-(u.value-l.value)+jx(u.value-l.value-o.value):-o.value;o.value<=0&&(ee=jx(-o.value));const se=r.value&&c.value?-1:1;return{transform:`translate${c.value?"X":"Y"}(${se*ee}px)`,transition:p.value?"none":"",willChange:p.value?"transform":""}}),G=x(()=>({next:s.next,prev:s.prev,select:s.select,isSelected:s.isSelected})),j=x(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!i.value;case!0:return a.value||Math.abs(o.value)>0;case"mobile":return i.value||a.value||Math.abs(o.value)>0;default:return!i.value&&(a.value||Math.abs(o.value)>0)}}),B=x(()=>Math.abs(o.value)>0),J=x(()=>u.value>Math.abs(o.value)+l.value);return ue(()=>m(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!c.value,"v-slide-group--has-affixes":j.value,"v-slide-group--is-overflowing":a.value},e.class],style:e.style,tabindex:k.value||s.selected.value.length?-1:0,onFocus:E},{default:()=>{var ee,se,ge,fe,Ae;return[j.value&&m("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!B.value}],onClick:()=>M("prev")},[(se=(ee=n.prev)==null?void 0:ee.call(n,G.value))!=null?se:m(tp,null,{default:()=>[m(bt,{icon:r.value?e.nextIcon:e.prevIcon},null)]})]),m("div",{key:"container",ref:d,class:"v-slide-group__container",onScroll:$},[m("div",{ref:h,class:"v-slide-group__content",style:Q.value,onTouchstartPassive:C,onTouchmovePassive:I,onTouchendPassive:A,onFocusin:T,onFocusout:D,onKeydown:S},[(ge=n.default)==null?void 0:ge.call(n,G.value)])]),j.value&&m("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!J.value}],onClick:()=>M("next")},[(Ae=(fe=n.next)==null?void 0:fe.call(n,G.value))!=null?Ae:m(tp,null,{default:()=>[m(bt,{icon:r.value?e.prevIcon:e.nextIcon},null)]})])]}})),{selected:s.selected,scrollTo:M,scrollOffset:o,focus:P}}}),qre=re()({name:"VSlideGroupItem",props:qo(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:n}=t;const r=Wo(e,zP);return()=>{var i;return(i=n.default)==null?void 0:i.call(n,{isSelected:r.isSelected.value,select:r.select,toggle:r.toggle,selectedClass:r.selectedClass.value})}}});const Wre=K({multiLine:Boolean,timeout:{type:[Number,String],default:5e3},vertical:Boolean,...ws({location:"bottom"}),...Ko(),...Pt(),...Or(),...it(),...Er(lc({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),Gre=re()({name:"VSnackbar",props:Wre(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=qe(e,"modelValue"),{locationStyles:i}=xs(e),{positionClasses:s}=Yo(e),{scopeId:a}=Qo(),{themeClasses:o}=ft(e),{colorClasses:l,colorStyles:u,variantClasses:c}=Oa(e),{roundedClasses:d}=Ft(e),f=le();ve(r,v),ve(()=>e.timeout,v),xn(()=>{r.value&&v()});let h=-1;function v(){window.clearTimeout(h);const b=Number(e.timeout);!r.value||b===-1||(h=window.setTimeout(()=>{r.value=!1},b))}function g(){window.clearTimeout(h)}return ue(()=>{const[b]=Mi.filterProps(e);return m(Mi,be({ref:f,class:["v-snackbar",{"v-snackbar--active":r.value,"v-snackbar--multi-line":e.multiLine&&!e.vertical,"v-snackbar--vertical":e.vertical},s.value,e.class],style:e.style},b,{modelValue:r.value,"onUpdate:modelValue":p=>r.value=p,contentProps:be({class:["v-snackbar__wrapper",o.value,l.value,d.value,c.value],style:[i.value,u.value],onPointerenter:g,onPointerleave:v},b.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0},a),{default:()=>[Va(!1,"v-snackbar"),n.default&&m("div",{class:"v-snackbar__content",role:"status","aria-live":"polite"},[n.default()]),n.actions&&m(vt,{defaults:{VBtn:{variant:"text",ripple:!1}}},{default:()=>[m("div",{class:"v-snackbar__actions"},[n.actions()])]})],activator:n.activator})}),Qr({},f)}});const Kre=K({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...zi(),...Yh()},"VSwitch"),Yre=re()({name:"VSwitch",inheritAttrs:!1,props:Kre(),emits:{"update:focused":e=>!0,"update:modelValue":()=>!0,"update:indeterminate":e=>!0},setup(e,t){let{attrs:n,slots:r}=t;const i=qe(e,"indeterminate"),s=qe(e,"modelValue"),{loaderClasses:a}=Kh(e),{isFocused:o,focus:l,blur:u}=Cs(e),c=le(),d=x(()=>typeof e.loading=="string"&&e.loading!==""?e.loading:e.color),f=Ln(),h=x(()=>e.id||`switch-${f}`);function v(){i.value&&(i.value=!1)}function g(b){var p,_;b.stopPropagation(),b.preventDefault(),(_=(p=c.value)==null?void 0:p.input)==null||_.click()}return ue(()=>{const[b,p]=ka(n),[_,w]=wn.filterProps(e),[C,I]=pa.filterProps(e);return m(wn,be({class:["v-switch",{"v-switch--inset":e.inset},{"v-switch--indeterminate":i.value},a.value,e.class],style:e.style},b,_,{id:h.value,focused:o.value}),{...r,default:A=>{let{id:$,messagesId:k,isDisabled:T,isReadonly:D,isValid:E}=A;return m(pa,be({ref:c},C,{modelValue:s.value,"onUpdate:modelValue":[S=>s.value=S,v],id:$.value,"aria-describedby":k.value,type:"checkbox","aria-checked":i.value?"mixed":void 0,disabled:T.value,readonly:D.value,onFocus:l,onBlur:u},p),{...r,default:S=>{let{backgroundColorClasses:P,backgroundColorStyles:M}=S;return m("div",{class:["v-switch__track",...P.value],style:M.value,onClick:g},null)},input:S=>{let{inputNode:P,icon:M,backgroundColorClasses:Q,backgroundColorStyles:G}=S;return m(Se,null,[P,m("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":M||e.loading},e.inset?void 0:Q.value],style:e.inset?void 0:G.value},[m(e0,null,{default:()=>[e.loading?m(u0,{name:"v-switch",active:!0,color:E.value===!1?void 0:d.value},{default:j=>r.loader?r.loader(j):m(a0,{active:j.isActive,color:j.color,indeterminate:!0,size:"16",width:"2"},null)}):M&&m(bt,{key:M,icon:M,size:"x-small"},null)]})])])}})}})}),{}}});const Xre=K({color:String,height:[Number,String],window:Boolean,...xe(),...rn(),...zo(),...Pt(),...Ge(),...it()},"VSystemBar"),Qre=re()({name:"VSystemBar",props:Xre(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=ft(e),{backgroundColorClasses:i,backgroundColorStyles:s}=jt(ae(e,"color")),{elevationClasses:a}=Sn(e),{roundedClasses:o}=Ft(e),{ssrBootStyles:l}=Pa(),u=x(()=>{var d;return(d=e.height)!=null?d:e.window?32:24}),{layoutItemStyles:c}=Uo({id:e.name,order:x(()=>parseInt(e.order,10)),position:we("top"),layoutSize:u,elementSize:u,active:x(()=>!0),absolute:ae(e,"absolute")});return ue(()=>m(e.tag,{class:["v-system-bar",{"v-system-bar--window":e.window},r.value,i.value,a.value,o.value,e.class],style:[s.value,c.value,l.value,e.style]},n)),{}}});const HP=Symbol.for("vuetify:v-tabs"),Jre=K({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...Er(c0({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),qP=re()({name:"VTab",props:Jre(),setup(e,t){let{slots:n,attrs:r}=t;const{textColorClasses:i,textColorStyles:s}=Nn(e,"sliderColor"),a=x(()=>e.direction==="horizontal"),o=we(!1),l=le(),u=le();function c(d){var h,v;let{value:f}=d;if(o.value=f,f){const g=(v=(h=l.value)==null?void 0:h.$el.parentElement)==null?void 0:v.querySelector(".v-tab--selected .v-tab__slider"),b=u.value;if(!g||!b)return;const p=getComputedStyle(g).color,_=g.getBoundingClientRect(),w=b.getBoundingClientRect(),C=a.value?"x":"y",I=a.value?"X":"Y",A=a.value?"right":"bottom",$=a.value?"width":"height",k=_[C],T=w[C],D=k>T?_[A]-w[A]:_[C]-w[C],E=Math.sign(D)>0?a.value?"right":"bottom":Math.sign(D)<0?a.value?"left":"top":"center",P=(Math.abs(D)+(Math.sign(D)<0?_[$]:w[$]))/Math.max(_[$],w[$])||0,M=_[$]/w[$]||0,Q=1.5;ta(b,{backgroundColor:[p,"currentcolor"],transform:[`translate${I}(${D}px) scale${I}(${M})`,`translate${I}(${D/Q}px) scale${I}(${(P-1)/Q+1})`,"none"],transformOrigin:Array(3).fill(E)},{duration:225,easing:Su})}}return ue(()=>{const[d]=Hn.filterProps(e);return m(Hn,be({symbol:HP,ref:l,class:["v-tab",e.class],style:e.style,tabindex:o.value?0:-1,role:"tab","aria-selected":String(o.value),active:!1,block:e.fixed,maxWidth:e.fixed?300:void 0,rounded:0},d,r,{"onGroup:selected":c}),{default:()=>{var f,h;return[(h=(f=n.default)==null?void 0:f.call(n))!=null?h:e.text,!e.hideSlider&&m("div",{ref:u,class:["v-tab__slider",i.value],style:s.value},null)]}})}),{}}});function Zre(e){return e?e.map(t=>typeof t=="string"?{title:t,value:t}:t):[]}const eie=K({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...UP({mandatory:"force"}),...sn(),...Ge()},"VTabs"),tie=re()({name:"VTabs",props:eie(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=qe(e,"modelValue"),i=x(()=>Zre(e.items)),{densityClasses:s}=Bn(e),{backgroundColorClasses:a,backgroundColorStyles:o}=jt(ae(e,"bgColor"));return Xt({VTab:{color:ae(e,"color"),direction:ae(e,"direction"),stacked:ae(e,"stacked"),fixed:ae(e,"fixedTabs"),sliderColor:ae(e,"sliderColor"),hideSlider:ae(e,"hideSlider")}}),ue(()=>{const[l]=_p.filterProps(e);return m(_p,be(l,{modelValue:r.value,"onUpdate:modelValue":u=>r.value=u,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},s.value,a.value,e.class],style:[{"--v-tabs-height":Te(e.height)},o.value,e.style],role:"tablist",symbol:HP}),{default:()=>[n.default?n.default():i.value.map(u=>m(qP,be(u,{key:u.title}),null))]})}),{}}});const nie=K({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...xe(),...sn(),...Ge(),...it()},"VTable"),rie=re()({name:"VTable",props:nie(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=ft(e),{densityClasses:i}=Bn(e);return ue(()=>m(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!n.top,"v-table--has-bottom":!!n.bottom,"v-table--hover":e.hover},r.value,i.value,e.class],style:e.style},{default:()=>{var s,a,o;return[(s=n.top)==null?void 0:s.call(n),n.default?m("div",{class:"v-table__wrapper",style:{height:Te(e.height)}},[m("table",null,[n.default()])]):(a=n.wrapper)==null?void 0:a.call(n),(o=n.bottom)==null?void 0:o.call(n)]}})),{}}});const iie=K({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,modelModifiers:Object,...zi(),...nm()},"VTextarea"),sie=re()({name:"VTextarea",directives:{Intersect:ic},inheritAttrs:!1,props:iie(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:n,emit:r,slots:i}=t;const s=qe(e,"modelValue"),{isFocused:a,focus:o,blur:l}=Cs(e),u=x(()=>typeof e.counterValue=="function"?e.counterValue(s.value):(s.value||"").toString().length),c=x(()=>{if(n.maxlength)return n.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter});function d(E,S){var P,M;!e.autofocus||!E||(M=(P=S[0].target)==null?void 0:P.focus)==null||M.call(P)}const f=le(),h=le(),v=we(""),g=le(),b=x(()=>e.persistentPlaceholder||a.value||e.active);function p(){var E;g.value!==document.activeElement&&((E=g.value)==null||E.focus()),a.value||o()}function _(E){p(),r("click:control",E)}function w(E){r("mousedown:control",E)}function C(E){E.stopPropagation(),p(),xt(()=>{s.value="",Hb(e["onClick:clear"],E)})}function I(E){var P;const S=E.target;if(s.value=S.value,(P=e.modelModifiers)!=null&&P.trim){const M=[S.selectionStart,S.selectionEnd];xt(()=>{S.selectionStart=M[0],S.selectionEnd=M[1]})}}const A=le(),$=le(+e.rows),k=x(()=>["plain","underlined"].includes(e.variant));or(()=>{e.autoGrow||($.value=+e.rows)});function T(){!e.autoGrow||xt(()=>{if(!A.value||!h.value)return;const E=getComputedStyle(A.value),S=getComputedStyle(h.value.$el),P=parseFloat(E.getPropertyValue("--v-field-padding-top"))+parseFloat(E.getPropertyValue("--v-input-padding-top"))+parseFloat(E.getPropertyValue("--v-field-padding-bottom")),M=A.value.scrollHeight,Q=parseFloat(E.lineHeight),G=Math.max(parseFloat(e.rows)*Q+P,parseFloat(S.getPropertyValue("--v-input-control-height"))),j=parseFloat(e.maxRows)*Q+P||1/0,B=On(M!=null?M:0,G,j);$.value=Math.floor((B-P)/Q),v.value=Te(B)})}xn(T),ve(s,T),ve(()=>e.rows,T),ve(()=>e.maxRows,T),ve(()=>e.density,T);let D;return ve(A,E=>{E?(D=new ResizeObserver(T),D.observe(A.value)):D==null||D.disconnect()}),Kn(()=>{D==null||D.disconnect()}),ue(()=>{const E=!!(i.counter||e.counter||e.counterValue),S=!!(E||i.details),[P,M]=ka(n),[{modelValue:Q,...G}]=wn.filterProps(e),[j]=v0(e);return m(wn,be({ref:f,modelValue:s.value,"onUpdate:modelValue":B=>s.value=B,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-text-field--plain-underlined":k.value},e.class],style:e.style},P,G,{centerAffix:$.value===1&&!k.value,focused:a.value}),{...i,default:B=>{let{isDisabled:J,isDirty:ee,isReadonly:se,isValid:ge}=B;return m(uc,be({ref:h,style:{"--v-textarea-control-height":v.value},onClick:_,onMousedown:w,"onClick:clear":C,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},j,{active:b.value||ee.value,centerAffix:$.value===1&&!k.value,dirty:ee.value||e.dirty,disabled:J.value,focused:a.value,error:ge.value===!1}),{...i,default:fe=>{let{props:{class:Ae,...Ne}}=fe;return m(Se,null,[e.prefix&&m("span",{class:"v-text-field__prefix"},[e.prefix]),et(m("textarea",be({ref:g,class:Ae,value:s.value,onInput:I,autofocus:e.autofocus,readonly:se.value,disabled:J.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:p,onBlur:l},Ne,M),null),[[lr("intersect"),{handler:d},null,{once:!0}]]),e.autoGrow&&et(m("textarea",{class:[Ae,"v-textarea__sizer"],id:`${Ne.id}-sizer`,"onUpdate:modelValue":Z=>s.value=Z,ref:A,readonly:!0,"aria-hidden":"true"},null),[[vr,s.value]]),e.suffix&&m("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:S?B=>{var J;return m(Se,null,[(J=i.details)==null?void 0:J.call(i,B),E&&m(Se,null,[m("span",null,null),m(tm,{active:e.persistentCounter||a.value,value:u.value,max:c.value},i.counter)])])}:void 0})}),Qr({},f,h,g)}});const aie=K({withBackground:Boolean,...xe(),...it(),...Ge()},"VThemeProvider"),oie=re()({name:"VThemeProvider",props:aie(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=ft(e);return()=>{var i;return e.withBackground?m(e.tag,{class:["v-theme-provider",r.value,e.class],style:e.style},{default:()=>{var s;return[(s=n.default)==null?void 0:s.call(n)]}}):(i=n.default)==null?void 0:i.call(n)}}});const lie=K({align:{type:String,default:"center",validator:e=>["center","start"].includes(e)},direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},justify:{type:String,default:"auto",validator:e=>["auto","center"].includes(e)},side:{type:String,validator:e=>e==null||["start","end"].includes(e)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:e=>["start","end","both"].includes(e)},...xe(),...sn(),...Ge(),...it()},"VTimeline"),uie=re()({name:"VTimeline",props:lie(),setup(e,t){let{slots:n}=t;const{themeClasses:r}=ft(e),{densityClasses:i}=Bn(e),{rtlClasses:s}=gn();Xt({VTimelineDivider:{lineColor:ae(e,"lineColor")},VTimelineItem:{density:ae(e,"density"),lineInset:ae(e,"lineInset")}});const a=x(()=>{const l=e.side?e.side:e.density!=="default"?"end":null;return l&&`v-timeline--side-${l}`}),o=x(()=>{const l=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(e.truncateLine){case"both":return l;case"start":return l[0];case"end":return l[1];default:return null}});return ue(()=>m(e.tag,{class:["v-timeline",`v-timeline--${e.direction}`,`v-timeline--align-${e.align}`,`v-timeline--justify-${e.justify}`,o.value,{"v-timeline--inset-line":!!e.lineInset},r.value,i.value,a.value,s.value,e.class],style:[{"--v-timeline-line-thickness":Te(e.lineThickness)},e.style]},n)),{}}}),cie=K({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:je,iconColor:String,lineColor:String,...xe(),...Pt(),...ji(),...rn()},"VTimelineDivider"),die=re()({name:"VTimelineDivider",props:cie(),setup(e,t){let{slots:n}=t;const{sizeClasses:r,sizeStyles:i}=Go(e,"v-timeline-divider__dot"),{backgroundColorStyles:s,backgroundColorClasses:a}=jt(ae(e,"dotColor")),{roundedClasses:o}=Ft(e,"v-timeline-divider__dot"),{elevationClasses:l}=Sn(e),{backgroundColorClasses:u,backgroundColorStyles:c}=jt(ae(e,"lineColor"));return ue(()=>m("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":e.fillDot},e.class],style:e.style},[m("div",{class:["v-timeline-divider__before",u.value],style:c.value},null),!e.hideDot&&m("div",{key:"dot",class:["v-timeline-divider__dot",l.value,o.value,r.value],style:i.value},[m("div",{class:["v-timeline-divider__inner-dot",a.value,o.value],style:s.value},[n.default?m(vt,{key:"icon-defaults",disabled:!e.icon,defaults:{VIcon:{color:e.iconColor,icon:e.icon,size:e.size}}},n.default):m(bt,{key:"icon",color:e.iconColor,icon:e.icon,size:e.size},null)])]),m("div",{class:["v-timeline-divider__after",u.value],style:c.value},null)])),{}}}),fie=K({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:je,iconColor:String,lineInset:[Number,String],...xe(),...Ar(),...rn(),...Pt(),...ji(),...Ge()},"VTimelineItem"),hie=re()({name:"VTimelineItem",props:fie(),setup(e,t){let{slots:n}=t;const{dimensionStyles:r}=Pr(e),i=we(0),s=le();return ve(s,a=>{var o,l;!a||(i.value=(l=(o=a.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:o.getBoundingClientRect().width)!=null?l:0)},{flush:"post"}),ue(()=>{var a,o;return m("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":e.fillDot},e.class],style:[{"--v-timeline-dot-size":Te(i.value),"--v-timeline-line-inset":e.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${Te(e.lineInset)})`:Te(0)},e.style]},[m("div",{class:"v-timeline-item__body",style:r.value},[(a=n.default)==null?void 0:a.call(n)]),m(die,{ref:s,hideDot:e.hideDot,icon:e.icon,iconColor:e.iconColor,size:e.size,elevation:e.elevation,dotColor:e.dotColor,fillDot:e.fillDot,rounded:e.rounded},{default:n.icon}),e.density!=="compact"&&m("div",{class:"v-timeline-item__opposite"},[!e.hideOpposite&&((o=n.opposite)==null?void 0:o.call(n))])])}),{}}}),mie=K({...xe(),...Or({variant:"text"})},"VToolbarItems"),vie=re()({name:"VToolbarItems",props:mie(),setup(e,t){let{slots:n}=t;return Xt({VBtn:{color:ae(e,"color"),height:"inherit",variant:ae(e,"variant")}}),ue(()=>{var r;return m("div",{class:["v-toolbar-items",e.class],style:e.style},[(r=n.default)==null?void 0:r.call(n)])}),{}}});const gie=K({id:String,text:String,...Er(lc({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),pie=re()({name:"VTooltip",props:gie(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const r=qe(e,"modelValue"),{scopeId:i}=Qo(),s=Ln(),a=x(()=>e.id||`v-tooltip-${s}`),o=le(),l=x(()=>e.location.split(" ").length>1?e.location:e.location+" center"),u=x(()=>e.origin==="auto"||e.origin==="overlap"||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center"),c=x(()=>e.transition?e.transition:r.value?"scale-transition":"fade-transition"),d=x(()=>be({"aria-describedby":a.value},e.activatorProps));return ue(()=>{const[f]=Mi.filterProps(e);return m(Mi,be({ref:o,class:["v-tooltip",e.class],style:e.style,id:a.value},f,{modelValue:r.value,"onUpdate:modelValue":h=>r.value=h,transition:c.value,absolute:!0,location:l.value,origin:u.value,persistent:!0,role:"tooltip",activatorProps:d.value,_disableGlobalStack:!0},i),{activator:n.activator,default:function(){var b,p;for(var h=arguments.length,v=new Array(h),g=0;g!0},setup(e,t){let{slots:n}=t;const r=FA(e,"validation");return()=>{var i;return(i=n.default)==null?void 0:i.call(n,r)}}}),bie=Object.freeze(Object.defineProperty({__proto__:null,VApp:rZ,VAppBar:SZ,VAppBarNavIcon:UZ,VAppBarTitle:HZ,VAlert:GZ,VAlertTitle:AA,VAutocomplete:fte,VAvatar:ps,VBadge:mte,VBanner:pte,VBannerActions:uP,VBannerText:cP,VBottomNavigation:bte,VBreadcrumbs:Ste,VBreadcrumbsItem:fP,VBreadcrumbsDivider:dP,VBtn:Hn,VBtnGroup:ip,VBtnToggle:AZ,VCard:Ete,VCardActions:hP,VCardItem:gP,VCardSubtitle:mP,VCardText:pP,VCardTitle:vP,VCarousel:Dte,VCarouselItem:Fte,VCheckbox:tee,VCheckboxBtn:Ao,VChip:oc,VChipGroup:iee,VCode:Nte,VColorPicker:Ene,VCombobox:Ane,VCounter:tm,VDefaultsProvider:vt,VDialog:Vne,VDivider:KA,VExpansionPanels:Mne,VExpansionPanel:Fne,VExpansionPanelText:kP,VExpansionPanelTitle:PP,VField:uc,VFieldLabel:bl,VFileInput:Lne,VFooter:jne,VForm:Une,VContainer:qne,VCol:Yne,VRow:nre,VSpacer:rre,VHover:sre,VIcon:bt,VComponentIcon:Jg,VSvgIcon:Qb,VLigatureIcon:yJ,VClassIcon:Jb,VImg:ga,VInput:wn,VItemGroup:ore,VItem:lre,VKbd:ure,VLabel:Xo,VLayout:dre,VLayoutItem:hre,VLazy:vre,VList:Jh,VListGroup:lp,VListImg:Tee,VListItem:Ri,VListItemAction:Iee,VListItemMedia:Aee,VListItemSubtitle:qA,VListItemTitle:WA,VListSubheader:GA,VLocaleProvider:pre,VMain:bre,VMenu:em,VMessages:MA,VNavigationDrawer:kre,VNoSsr:Are,VOverlay:Mi,VPagination:Ore,VParallax:Dre,VProgressCircular:a0,VProgressLinear:o0,VRadio:Fre,VRadioGroup:Lre,VRangeSlider:jre,VRating:Ure,VResponsive:np,VSelect:ote,VSelectionControl:pa,VSelectionControlGroup:VA,VSheet:bp,VSlideGroup:_p,VSlideGroupItem:qre,VSlider:yp,VSnackbar:Gre,VSwitch:Yre,VSystemBar:Qre,VTabs:tie,VTab:qP,VTable:rie,VTextarea:sie,VTextField:ya,VThemeProvider:oie,VTimeline:uie,VTimelineItem:hie,VToolbar:rp,VToolbarTitle:Zb,VToolbarItems:vie,VTooltip:pie,VValidation:yie,VVirtualScroll:im,VWindow:fp,VWindowItem:hp,VDialogTransition:Wh,VFabTransition:aZ,VDialogBottomTransition:oZ,VDialogTopTransition:lZ,VFadeTransition:tp,VScaleTransition:e0,VScrollXTransition:uZ,VScrollXReverseTransition:cZ,VScrollYTransition:dZ,VScrollYReverseTransition:fZ,VSlideXTransition:hZ,VSlideXReverseTransition:mZ,VSlideYTransition:t0,VSlideYReverseTransition:vZ,VExpandTransition:Gh,VExpandXTransition:n0},Symbol.toStringTag,{value:"Module"}));function _ie(e,t){var d,f,h,v;const n=t.modifiers||{},r=t.value,{once:i,immediate:s,...a}=n,o=!Object.keys(a).length,{handler:l,options:u}=typeof r=="object"?r:{handler:r,options:{attributes:(d=a==null?void 0:a.attr)!=null?d:o,characterData:(f=a==null?void 0:a.char)!=null?f:o,childList:(h=a==null?void 0:a.child)!=null?h:o,subtree:(v=a==null?void 0:a.sub)!=null?v:o}},c=new MutationObserver(function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],b=arguments.length>1?arguments[1]:void 0;l==null||l(g,b),i&&WP(e,t)});s&&(l==null||l([],c)),e._mutate=Object(e._mutate),e._mutate[t.instance.$.uid]={observer:c},c.observe(e,u)}function WP(e,t){var n;!((n=e._mutate)!=null&&n[t.instance.$.uid])||(e._mutate[t.instance.$.uid].observer.disconnect(),delete e._mutate[t.instance.$.uid])}const wie={mounted:_ie,unmounted:WP};function xie(e,t){var i,s;const n=t.value,r={passive:!((i=t.modifiers)!=null&&i.active)};window.addEventListener("resize",n,r),e._onResize=Object(e._onResize),e._onResize[t.instance.$.uid]={handler:n,options:r},(s=t.modifiers)!=null&&s.quiet||n()}function Sie(e,t){var i;if(!((i=e._onResize)!=null&&i[t.instance.$.uid]))return;const{handler:n,options:r}=e._onResize[t.instance.$.uid];window.removeEventListener("resize",n,r),delete e._onResize[t.instance.$.uid]}const Cie={mounted:xie,unmounted:Sie};function GP(e,t){var o;const{self:n=!1}=(o=t.modifiers)!=null?o:{},r=t.value,i=typeof r=="object"&&r.options||{passive:!0},s=typeof r=="function"||"handleEvent"in r?r:r.handler,a=n?e:t.arg?document.querySelector(t.arg):window;!a||(a.addEventListener("scroll",s,i),e._onScroll=Object(e._onScroll),e._onScroll[t.instance.$.uid]={handler:s,options:i,target:n?void 0:a})}function KP(e,t){var s;if(!((s=e._onScroll)!=null&&s[t.instance.$.uid]))return;const{handler:n,options:r,target:i=e}=e._onScroll[t.instance.$.uid];i.removeEventListener("scroll",n,r),delete e._onScroll[t.instance.$.uid]}function Tie(e,t){t.value!==t.oldValue&&(KP(e,t),GP(e,t))}const Eie={mounted:GP,unmounted:KP,updated:Tie},Iie=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:aP,Intersect:ic,Mutate:wie,Resize:Cie,Ripple:Ss,Scroll:Eie,Touch:y0},Symbol.toStringTag,{value:"Module"}));function hv(e){return e!==null&&typeof e=="object"}function wp(e,t,n=".",r){if(!hv(t))return wp(e,{},n,r);const i=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const a=e[s];a!=null&&(r&&r(i,s,a,n)||(Array.isArray(a)&&Array.isArray(i[s])?i[s]=[...a,...i[s]]:hv(a)&&hv(i[s])?i[s]=wp(a,i[s],(n?`${n}.`:"")+s.toString(),r):i[s]=a))}return i}function kie(e){return(...t)=>t.reduce((n,r)=>wp(n,r,"",e),{})}const Aie=kie();function YP(e){return G4()?(Gn(e),!0):!1}function x0(e){return typeof e=="function"?e():Yt(e)}const Pie=typeof window<"u"&&typeof document<"u",Vie=e=>e!=null,Oie=Object.prototype.toString,Af=e=>Oie.call(e)==="[object Object]",Sd=()=>{};function Rie(e){xa()&&Gp(e)}function Bl(e){var t;const n=x0(e);return(t=n==null?void 0:n.$el)!=null?t:n}const XP=Pie?window:void 0;function Fr(...e){let t,n,r,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,i]=e,t=XP):[t,n,r,i]=e,!t)return Sd;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],a=()=>{s.forEach(c=>c()),s.length=0},o=(c,d,f,h)=>(c.addEventListener(d,f,h),()=>c.removeEventListener(d,f,h)),l=ve(()=>[Bl(t),x0(i)],([c,d])=>{if(a(),!c)return;const f=Af(d)?{...d}:d;s.push(...n.flatMap(h=>r.map(v=>o(c,h,v,f))))},{immediate:!0,flush:"post"}),u=()=>{l(),a()};return YP(u),u}function Mie(){const e=le(!1);return xa()&&xn(()=>{e.value=!0}),e}function Die(e){const t=Mie();return x(()=>(t.value,Boolean(e())))}function $ie(e,t,n={}){const{root:r,rootMargin:i="0px",threshold:s=.1,window:a=XP,immediate:o=!0}=n,l=Die(()=>a&&"IntersectionObserver"in a),u=x(()=>{const v=x0(e);return(Array.isArray(v)?v:[v]).map(Bl).filter(Vie)});let c=Sd;const d=le(o),f=l.value?ve(()=>[u.value,Bl(r),d.value],([v,g])=>{if(c(),!d.value||!v.length)return;const b=new IntersectionObserver(t,{root:Bl(g),rootMargin:i,threshold:s});v.forEach(p=>p&&b.observe(p)),c=()=>{b.disconnect(),c=Sd}},{immediate:o,flush:"post"}):Sd,h=()=>{c(),f(),d.value=!1};return YP(h),{isSupported:l,isActive:d,pause(){c(),d.value=!1},resume(){d.value=!0},stop:h}}const QP=1/60*1e3,Fie=typeof performance<"u"?()=>performance.now():()=>Date.now(),JP=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(Fie()),QP);function Nie(e){let t=[],n=[],r=0,i=!1,s=!1;const a=new WeakSet,o={schedule:(l,u=!1,c=!1)=>{const d=c&&i,f=d?t:n;return u&&a.add(l),f.indexOf(l)===-1&&(f.push(l),d&&i&&(r=t.length)),l},cancel:l=>{const u=n.indexOf(l);u!==-1&&n.splice(u,1),a.delete(l)},process:l=>{if(i){s=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=Nie(()=>Au=!0),e),{}),Cp=cc.reduce((e,t)=>{const n=sm[t];return e[t]=(r,i=!1,s=!1)=>(Au||zie(),n.schedule(r,i,s)),e},{}),Bie=cc.reduce((e,t)=>(e[t]=sm[t].cancel,e),{});cc.reduce((e,t)=>(e[t]=()=>sm[t].process(go),e),{});const jie=e=>sm[e].process(go),ZP=e=>{Au=!1,go.delta=xp?QP:Math.max(Math.min(e-go.timestamp,Lie),1),go.timestamp=e,Sp=!0,cc.forEach(jie),Sp=!1,Au&&(xp=!1,JP(ZP))},zie=()=>{Au=!0,xp=!0,Sp||JP(ZP)},eV=()=>go;function tV(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iMath.min(Math.max(n,e),t),mv=.001,Hie=.01,Hx=10,qie=.05,Wie=1;function Gie({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,s;Uie(e<=Hx*1e3);let a=1-t;a=Tp(qie,Wie,a),e=Tp(Hie,Hx,e/1e3),a<1?(i=u=>{const c=u*a,d=c*e,f=c-n,h=Ep(u,a),v=Math.exp(-d);return mv-f/h*v},s=u=>{const d=u*a*e,f=d*n+n,h=Math.pow(a,2)*Math.pow(u,2)*e,v=Math.exp(-d),g=Ep(Math.pow(u,2),a);return(-i(u)+mv>0?-1:1)*((f-h)*v)/g}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-mv+c*d},s=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const o=5/e,l=Yie(i,s,o);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const Kie=12;function Yie(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function Jie(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!qx(e,Qie)&&qx(e,Xie)){const n=Gie(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function S0(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:i}=e,s=tV(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:o,damping:l,mass:u,velocity:c,duration:d,isResolvedFromDuration:f}=Jie(s),h=Wx,v=Wx;function g(){const b=c?-(c/1e3):0,p=n-t,_=l/(2*Math.sqrt(o*u)),w=Math.sqrt(o/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(n-t)/100,.4)),_<1){const C=Ep(w,_);h=I=>{const A=Math.exp(-_*w*I);return n-A*((b+_*w*p)/C*Math.sin(C*I)+p*Math.cos(C*I))},v=I=>{const A=Math.exp(-_*w*I);return _*w*A*(Math.sin(C*I)*(b+_*w*p)/C+p*Math.cos(C*I))-A*(Math.cos(C*I)*(b+_*w*p)-C*p*Math.sin(C*I))}}else if(_===1)h=C=>n-Math.exp(-w*C)*(p+(b+w*p)*C);else{const C=w*Math.sqrt(_*_-1);h=I=>{const A=Math.exp(-_*w*I),$=Math.min(C*I,300);return n-A*((b+_*w*p)*Math.sinh($)+C*p*Math.cosh($))/C}}}return g(),{next:b=>{const p=h(b);if(f)a.done=b>=d;else{const _=v(b)*1e3,w=Math.abs(_)<=r,C=Math.abs(n-p)<=i;a.done=w&&C}return a.value=a.done?n:p,a},flipTarget:()=>{c=-c,[t,n]=[n,t],g()}}}S0.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Wx=e=>0,nV=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},C0=(e,t,n)=>-n*e+n*t+e,rV=(e,t)=>n=>Math.max(Math.min(n,t),e),jl=e=>e%1?Number(e.toFixed(5)):e,Pu=/(-)?([\d]*\.?[\d])+/g,Ip=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Zie=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function dc(e){return typeof e=="string"}const fc={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},zl=Object.assign(Object.assign({},fc),{transform:rV(0,1)}),qc=Object.assign(Object.assign({},fc),{default:1}),T0=e=>({test:t=>dc(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ms=T0("deg"),Ul=T0("%"),Je=T0("px"),Gx=Object.assign(Object.assign({},Ul),{parse:e=>Ul.parse(e)/100,transform:e=>Ul.transform(e*100)}),E0=(e,t)=>n=>Boolean(dc(n)&&Zie.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),iV=(e,t,n)=>r=>{if(!dc(r))return r;const[i,s,a,o]=r.match(Pu);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(a),alpha:o!==void 0?parseFloat(o):1}},na={test:E0("hsl","hue"),parse:iV("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ul.transform(jl(t))+", "+Ul.transform(jl(n))+", "+jl(zl.transform(r))+")"},ese=rV(0,255),vv=Object.assign(Object.assign({},fc),{transform:e=>Math.round(ese(e))}),is={test:E0("rgb","red"),parse:iV("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+vv.transform(e)+", "+vv.transform(t)+", "+vv.transform(n)+", "+jl(zl.transform(r))+")"};function tse(e){let t="",n="",r="",i="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),i=e.substr(4,1),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const kp={test:E0("#"),parse:tse,transform:is.transform},Jn={test:e=>is.test(e)||kp.test(e)||na.test(e),parse:e=>is.test(e)?is.parse(e):na.test(e)?na.parse(e):kp.parse(e),transform:e=>dc(e)?e:e.hasOwnProperty("red")?is.transform(e):na.transform(e)},sV="${c}",aV="${n}";function nse(e){var t,n,r,i;return isNaN(e)&&dc(e)&&((n=(t=e.match(Pu))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((i=(r=e.match(Ip))===null||r===void 0?void 0:r.length)!==null&&i!==void 0?i:0)>0}function oV(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(Ip);r&&(n=r.length,e=e.replace(Ip,sV),t.push(...r.map(Jn.parse)));const i=e.match(Pu);return i&&(e=e.replace(Pu,aV),t.push(...i.map(fc.parse))),{values:t,numColors:n,tokenised:e}}function lV(e){return oV(e).values}function uV(e){const{values:t,numColors:n,tokenised:r}=oV(e),i=t.length;return s=>{let a=r;for(let o=0;otypeof e=="number"?0:e;function ise(e){const t=lV(e);return uV(e)(t.map(rse))}const hc={test:nse,parse:lV,createTransformer:uV,getAnimatableNone:ise},sse=new Set(["brightness","contrast","saturate","opacity"]);function ase(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Pu)||[];if(!r)return e;const i=n.replace(r,"");let s=sse.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const ose=/([a-z-]*)\(.*?\)/g,Ap=Object.assign(Object.assign({},hc),{getAnimatableNone:e=>{const t=e.match(ose);return t?t.map(ase).join(" "):e}});function gv(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Kx({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,a=0;if(!t)i=s=a=n;else{const o=n<.5?n*(1+t):n+t-n*t,l=2*n-o;i=gv(l,o,e+1/3),s=gv(l,o,e),a=gv(l,o,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(a*255),alpha:r}}const lse=(e,t,n)=>{const r=e*e,i=t*t;return Math.sqrt(Math.max(0,n*(i-r)+r))},use=[kp,is,na],Yx=e=>use.find(t=>t.test(e)),cV=(e,t)=>{let n=Yx(e),r=Yx(t),i=n.parse(e),s=r.parse(t);n===na&&(i=Kx(i),n=is),r===na&&(s=Kx(s),r=is);const a=Object.assign({},i);return o=>{for(const l in a)l!=="alpha"&&(a[l]=lse(i[l],s[l],o));return a.alpha=C0(i.alpha,s.alpha,o),n.transform(a)}},cse=e=>typeof e=="number",dse=(e,t)=>n=>t(e(n)),dV=(...e)=>e.reduce(dse);function fV(e,t){return cse(e)?n=>C0(e,t,n):Jn.test(e)?cV(e,t):mV(e,t)}const hV=(e,t)=>{const n=[...e],r=n.length,i=e.map((s,a)=>fV(s,t[a]));return s=>{for(let a=0;a{const n=Object.assign(Object.assign({},e),t),r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=fV(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}};function Xx(e){const t=hc.parse(e),n=t.length;let r=0,i=0,s=0;for(let a=0;a{const n=hc.createTransformer(t),r=Xx(e),i=Xx(t);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?dV(hV(r.parsed,i.parsed),n):a=>`${a>0?t:e}`},hse=(e,t)=>n=>C0(e,t,n);function mse(e){if(typeof e=="number")return hse;if(typeof e=="string")return Jn.test(e)?cV:mV;if(Array.isArray(e))return hV;if(typeof e=="object")return fse}function vse(e,t,n){const r=[],i=n||mse(e[0]),s=e.length-1;for(let a=0;an(nV(e,t,r))}function pse(e,t){const n=e.length,r=n-1;return i=>{let s=0,a=!1;if(i<=e[0]?a=!0:i>=e[r]&&(s=r-1,a=!0),!a){let l=1;for(;li||l===r);l++);s=l-1}const o=nV(e[s],e[s+1],i);return t[s](o)}}function vV(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;Ux(s===t.length),Ux(!r||!Array.isArray(r)||r.length===s-1),e[0]>e[s-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=vse(t,r,i),o=s===2?gse(e,a):pse(e,a);return n?l=>o(Tp(e[0],e[s-1],l)):o}const am=e=>t=>1-e(1-t),I0=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,yse=e=>t=>Math.pow(t,e),gV=e=>t=>t*t*((e+1)*t-e),bse=e=>{const t=gV(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},pV=1.525,_se=4/11,wse=8/11,xse=9/10,yV=e=>e,k0=yse(2),Sse=am(k0),bV=I0(k0),_V=e=>1-Math.sin(Math.acos(e)),wV=am(_V),Cse=I0(wV),A0=gV(pV),Tse=am(A0),Ese=I0(A0),Ise=bse(pV),kse=4356/361,Ase=35442/1805,Pse=16061/1805,Pf=e=>{if(e===1||e===0)return e;const t=e*e;return e<_se?7.5625*t:ee<.5?.5*(1-Pf(1-e*2)):.5*Pf(e*2-1)+.5;function Rse(e,t){return e.map(()=>t||bV).splice(0,e.length-1)}function Mse(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function Dse(e,t){return e.map(n=>n*t)}function Cd({from:e=0,to:t=1,ease:n,offset:r,duration:i=300}){const s={done:!1,value:e},a=Array.isArray(t)?t:[e,t],o=Dse(r&&r.length===a.length?r:Mse(a),i);function l(){return vV(o,a,{ease:Array.isArray(n)?n:Rse(a,n)})}let u=l();return{next:c=>(s.value=u(c),s.done=c>=i,s),flipTarget:()=>{a.reverse(),u=l()}}}function $se({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:s}){const a={done:!1,value:t};let o=n*e;const l=t+o,u=s===void 0?l:s(l);return u!==l&&(o=u-t),{next:c=>{const d=-o*Math.exp(-c/r);return a.done=!(d>i||d<-i),a.value=a.done?u:u+d,a},flipTarget:()=>{}}}const Qx={keyframes:Cd,spring:S0,decay:$se};function Fse(e){if(Array.isArray(e.to))return Cd;if(Qx[e.type])return Qx[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Cd:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?S0:Cd}function xV(e,t,n=0){return e-t-n}function Nse(e,t,n=0,r=!0){return r?xV(t+-e,t,n):t-(e-t)+n}function Lse(e,t,n,r){return r?e>=t+n:e<=-n}const Bse=e=>{const t=({delta:n})=>e(n);return{start:()=>Cp.update(t,!0),stop:()=>Bie.update(t)}};function SV(e){var t,n,{from:r,autoplay:i=!0,driver:s=Bse,elapsed:a=0,repeat:o=0,repeatType:l="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:f,onRepeat:h,onUpdate:v}=e,g=tV(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:b}=g,p,_=0,w=g.duration,C,I=!1,A=!0,$;const k=Fse(g);!((n=(t=k).needsInterpolation)===null||n===void 0)&&n.call(t,r,b)&&($=vV([0,100],[r,b],{clamp:!1}),r=0,b=100);const T=k(Object.assign(Object.assign({},g),{from:r,to:b}));function D(){_++,l==="reverse"?(A=_%2===0,a=Nse(a,w,u,A)):(a=xV(a,w,u),l==="mirror"&&T.flipTarget()),I=!1,h&&h()}function E(){p.stop(),f&&f()}function S(M){if(A||(M=-M),a+=M,!I){const Q=T.next(Math.max(0,a));C=Q.value,$&&(C=$(C)),I=A?Q.done:a<=0}v==null||v(C),I&&(_===0&&(w!=null||(w=a)),_{d==null||d(),p.stop()}}}function CV(e,t){return t?e*(1e3/t):0}function jse({from:e=0,velocity:t=0,min:n,max:r,power:i=.8,timeConstant:s=750,bounceStiffness:a=500,bounceDamping:o=10,restDelta:l=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:f,onStop:h}){let v;function g(w){return n!==void 0&&wr}function b(w){return n===void 0?r:r===void 0||Math.abs(n-w){var I;d==null||d(C),(I=w.onUpdate)===null||I===void 0||I.call(w,C)},onComplete:f,onStop:h}))}function _(w){p(Object.assign({type:"spring",stiffness:a,damping:o,restDelta:l},w))}if(g(e))_({from:e,velocity:t,to:b(e)});else{let w=i*t+e;typeof u<"u"&&(w=u(w));const C=b(w),I=C===n?-1:1;let A,$;const k=T=>{A=$,$=T,t=CV(T-A,eV().delta),(I===1&&T>C||I===-1&&Tv==null?void 0:v.stop()}}const TV=(e,t)=>1-3*t+3*e,EV=(e,t)=>3*t-6*e,IV=e=>3*e,Vf=(e,t,n)=>((TV(t,n)*e+EV(t,n))*e+IV(t))*e,kV=(e,t,n)=>3*TV(t,n)*e*e+2*EV(t,n)*e+IV(t),zse=1e-7,Use=10;function Hse(e,t,n,r,i){let s,a,o=0;do a=t+(n-t)/2,s=Vf(a,r,i)-e,s>0?n=a:t=a;while(Math.abs(s)>zse&&++o=Wse?Gse(a,d,e,n):f===0?d:Hse(a,o,o+Wc,e,n)}return a=>a===0||a===1?a:Vf(s(a),t,r)}const pv={};class Yse{constructor(){this.subscriptions=new Set}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,n,r){if(!!this.subscriptions.size)for(const i of this.subscriptions)i(t,n,r)}clear(){this.subscriptions.clear()}}function Jx(e){return!isNaN(parseFloat(e))}class Xse{constructor(t){this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Yse,this.canTrackVelocity=!1,this.updateAndNotify=n=>{this.prev=this.current,this.current=n;const{delta:r,timestamp:i}=eV();this.lastUpdated!==i&&(this.timeDelta=r,this.lastUpdated=i),Cp.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>Cp.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{this.canTrackVelocity||(this.canTrackVelocity=Jx(this.current)),n!==this.lastUpdated&&(this.prev=this.current)},this.prev=this.current=t,this.canTrackVelocity=Jx(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?CV(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{const{stop:r}=t(n);this.stopAnimation=r}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function Qse(e){return new Xse(e)}const{isArray:Jse}=Array;function Zse(){const e=le({}),t=r=>{const i=s=>{!e.value[s]||(e.value[s].stop(),e.value[s].destroy(),delete e.value[s])};r?Jse(r)?r.forEach(i):i(r):Object.keys(e.value).forEach(i)},n=(r,i,s)=>{if(e.value[r])return e.value[r];const a=Qse(i);return a.onChange(o=>s[r]=o),e.value[r]=a,a};return Rie(t),{motionValues:e,get:n,stop:t}}function eae(e){return Array.isArray(e)}function Ds(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function yv(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function tae(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function bv(){return{type:"keyframes",ease:"linear",duration:300}}function nae(e){return{type:"keyframes",duration:800,values:e}}const Zx={default:tae,x:Ds,y:Ds,z:Ds,rotate:Ds,rotateX:Ds,rotateY:Ds,rotateZ:Ds,scaleX:yv,scaleY:yv,scale:yv,backgroundColor:bv,color:bv,opacity:bv};function AV(e,t){let n;return eae(t)?n=nae:n=Zx[e]||Zx.default,{to:t,...n(t)}}const eS={...fc,transform:Math.round},PV={color:Jn,backgroundColor:Jn,outlineColor:Jn,fill:Jn,stroke:Jn,borderColor:Jn,borderTopColor:Jn,borderRightColor:Jn,borderBottomColor:Jn,borderLeftColor:Jn,borderWidth:Je,borderTopWidth:Je,borderRightWidth:Je,borderBottomWidth:Je,borderLeftWidth:Je,borderRadius:Je,radius:Je,borderTopLeftRadius:Je,borderTopRightRadius:Je,borderBottomRightRadius:Je,borderBottomLeftRadius:Je,width:Je,maxWidth:Je,height:Je,maxHeight:Je,size:Je,top:Je,right:Je,bottom:Je,left:Je,padding:Je,paddingTop:Je,paddingRight:Je,paddingBottom:Je,paddingLeft:Je,margin:Je,marginTop:Je,marginRight:Je,marginBottom:Je,marginLeft:Je,rotate:Ms,rotateX:Ms,rotateY:Ms,rotateZ:Ms,scale:qc,scaleX:qc,scaleY:qc,scaleZ:qc,skew:Ms,skewX:Ms,skewY:Ms,distance:Je,translateX:Je,translateY:Je,translateZ:Je,x:Je,y:Je,z:Je,perspective:Je,transformPerspective:Je,opacity:zl,originX:Gx,originY:Gx,originZ:Je,zIndex:eS,filter:Ap,WebkitFilter:Ap,fillOpacity:zl,strokeOpacity:zl,numOctaves:eS},P0=e=>PV[e];function VV(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function rae(e,t){let n=P0(e);return n!==Ap&&(n=hc),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const iae={linear:yV,easeIn:k0,easeInOut:bV,easeOut:Sse,circIn:_V,circInOut:Cse,circOut:wV,backIn:A0,backInOut:Ese,backOut:Tse,anticipate:Ise,bounceIn:Vse,bounceInOut:Ose,bounceOut:Pf};function tS(e){if(Array.isArray(e)){const[t,n,r,i]=e;return Kse(t,n,r,i)}else if(typeof e=="string")return iae[e];return e}function sae(e){return Array.isArray(e)&&typeof e[0]!="number"}function nS(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&hc.test(t)&&!t.startsWith("url("))}function aae(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function oae({ease:e,times:t,delay:n,...r}){const i={...r};return t&&(i.offset=t),e&&(i.ease=sae(e)?e.map(tS):tS(e)),n&&(i.elapsed=-n),i}function lae(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),aae(t),uae(e)||(e={...e,...AV(n,t.to)}),{...t,...oae(e)}}function uae({delay:e,repeat:t,repeatType:n,repeatDelay:r,from:i,...s}){return!!Object.keys(s).length}function cae(e,t){return e[t]||e.default||e}function dae(e,t,n,r,i){const s=cae(r,e);let a=s.from===null||s.from===void 0?t.get():s.from;const o=nS(e,n);a==="none"&&o&&typeof n=="string"&&(a=rae(e,n));const l=nS(e,a);function u(d){const f={from:a,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:h=>t.set(h)};return s.type==="inertia"||s.type==="decay"?jse({...f,...s}):SV({...lae(s,f,e),onUpdate:h=>{f.onUpdate(h),s.onUpdate&&s.onUpdate(h)},onComplete:()=>{r.onComplete&&r.onComplete(),i&&i(),d&&d()}})}function c(d){return t.set(n),r.onComplete&&r.onComplete(),i&&i(),d&&d(),{stop:()=>{}}}return!l||!o||s.type===!1?c:u}function fae(){const{motionValues:e,stop:t,get:n}=Zse();return{motionValues:e,stop:t,push:(i,s,a,o={},l)=>{const u=a[i],c=n(i,u,a);if(o&&o.immediate){c.set(s);return}const d=dae(i,c,s,o,l);c.start(d)}}}function hae(e,t={},{motionValues:n,push:r,stop:i}=fae()){const s=Yt(t),a=le(!1);ve(n,d=>{a.value=Object.values(d).filter(f=>f.isAnimating()).length>0},{immediate:!0,deep:!0});const o=d=>{if(!s||!s[d])throw new Error(`The variant ${d} does not exist.`);return s[d]},l=d=>(typeof d=="string"&&(d=o(d)),Promise.all(Object.entries(d).map(([f,h])=>{if(f!=="transition")return new Promise(v=>r(f,h,e,d.transition||AV(f,d[f]),v))}).filter(Boolean)));return{isAnimating:a,apply:l,set:d=>{const f=Af(d)?d:o(d);Object.entries(f).forEach(([h,v])=>{h!=="transition"&&r(h,v,e,{immediate:!0})})},leave:async d=>{let f;if(s&&(s.leave&&(f=s.leave),!s.leave&&s.initial&&(f=s.initial)),!f){d();return}await l(f),d()},stop:i}}const V0=typeof window<"u",mae=()=>V0&&window.onpointerdown===null,vae=()=>V0&&window.ontouchstart===null,gae=()=>V0&&window.onmousedown===null;function pae({target:e,state:t,variants:n,apply:r}){const i=Yt(n),s=le(!1),a=le(!1),o=le(!1),l=x(()=>{let c=[];return i&&(i.hovered&&(c=[...c,...Object.keys(i.hovered)]),i.tapped&&(c=[...c,...Object.keys(i.tapped)]),i.focused&&(c=[...c,...Object.keys(i.focused)])),c}),u=x(()=>{const c={};Object.assign(c,t.value),s.value&&i.hovered&&Object.assign(c,i.hovered),a.value&&i.tapped&&Object.assign(c,i.tapped),o.value&&i.focused&&Object.assign(c,i.focused);for(const d in c)l.value.includes(d)||delete c[d];return c});i.hovered&&(Fr(e,"mouseenter",()=>s.value=!0),Fr(e,"mouseleave",()=>{s.value=!1,a.value=!1}),Fr(e,"mouseout",()=>{s.value=!1,a.value=!1})),i.tapped&&(gae()&&(Fr(e,"mousedown",()=>a.value=!0),Fr(e,"mouseup",()=>a.value=!1)),mae()&&(Fr(e,"pointerdown",()=>a.value=!0),Fr(e,"pointerup",()=>a.value=!1)),vae()&&(Fr(e,"touchstart",()=>a.value=!0),Fr(e,"touchend",()=>a.value=!1))),i.focused&&(Fr(e,"focus",()=>o.value=!0),Fr(e,"blur",()=>o.value=!1)),ve(u,r)}function yae({set:e,target:t,variants:n,variant:r}){const i=Yt(n);ve(()=>t,()=>{!i||(i.initial&&e("initial"),i.enter&&(r.value="enter"))},{immediate:!0,flush:"pre"})}function bae({state:e,apply:t}){ve(e,n=>{n&&t(n)},{immediate:!0})}function _ae({target:e,variants:t,variant:n}){const r=Yt(t);r&&(r.visible||r.visibleOnce)&&$ie(e,([{isIntersecting:i}])=>{r.visible?i?n.value="visible":n.value="initial":r.visibleOnce&&(i&&n.value!=="visibleOnce"?n.value="visibleOnce":n.value||(n.value="initial"))})}function wae(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&yae(e),t.syncVariants&&bae(e),t.visibilityHooks&&_ae(e),t.eventListeners&&pae(e)}function OV(e={}){const t=en({...e}),n=le({});return ve(t,()=>{const r={};for(const[i,s]of Object.entries(t)){const a=P0(i),o=VV(s,a);r[i]=o}n.value=r},{immediate:!0,deep:!0}),{state:t,style:n}}function O0(e,t){ve(()=>Bl(e),n=>{!n||t(n)},{immediate:!0})}const xae={x:"translateX",y:"translateY",z:"translateZ"};function RV(e={},t=!0){const n=en({...e}),r=le("");return ve(n,i=>{let s="",a=!1;t&&(i.x||i.y||i.z)&&(s+=`translate3d(${[i.x||0,i.y||0,i.z||0].map(Je.transform).join(",")}) `,a=!0);for(const[o,l]of Object.entries(i)){if(t&&(o==="x"||o==="y"||o==="z"))continue;const u=P0(o),c=VV(l,u);s+=`${xae[o]||o}(${c}) `}t&&!a&&(s+="translateZ(0px) "),r.value=s.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}const Sae=["","X","Y","Z"],Cae=["perspective","translate","scale","rotate","skew"],MV=["transformPerspective","x","y","z"];Cae.forEach(e=>{Sae.forEach(t=>{const n=e+t;MV.push(n)})});const Tae=new Set(MV);function R0(e){return Tae.has(e)}const Eae=new Set(["originX","originY","originZ"]);function DV(e){return Eae.has(e)}function Iae(e){const t={},n={};return Object.entries(e).forEach(([r,i])=>{R0(r)||DV(r)?t[r]=i:n[r]=i}),{transform:t,style:n}}function $V(e){const{transform:t,style:n}=Iae(e),{transform:r}=RV(t),{style:i}=OV(n);return r.value&&(i.value.transform=r.value),i.value}function kae(e,t){let n,r;const{state:i,style:s}=OV();return O0(e,a=>{r=a;for(const o of Object.keys(PV))a.style[o]===null||a.style[o]===""||R0(o)||DV(o)||(i[o]=a.style[o]);n&&Object.entries(n).forEach(([o,l])=>a.style[o]=l),t&&t(i)}),ve(s,a=>{if(!r){n=a;return}for(const o in a)r.style[o]=a[o]},{immediate:!0}),{style:i}}function Aae(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const n=r=>r.endsWith("px")||r.endsWith("deg")?parseFloat(r):isNaN(Number(r))?Number(r):r;return t.reduce((r,i)=>{if(!i)return r;const[s,a]=i.split("("),l=a.split(",").map(c=>n(c.endsWith(")")?c.replace(")",""):c.trim())),u=l.length===1?l[0]:l;return{...r,[s]:u}},{})}function Pae(e,t){Object.entries(Aae(t)).forEach(([n,r])=>{const i=["x","y","z"];if(n==="translate3d"){if(r===0){i.forEach(s=>e[s]=0);return}r.forEach((s,a)=>e[i[a]]=s);return}if(r=parseFloat(r),n==="translateX"){e.x=r;return}if(n==="translateY"){e.y=r;return}if(n==="translateZ"){e.z=r;return}e[n]=r})}function Vae(e,t){let n,r;const{state:i,transform:s}=RV();return O0(e,a=>{r=a,a.style.transform&&Pae(i,a.style.transform),n&&(a.style.transform=n),t&&t(i)}),ve(s,a=>{if(!r){n=a;return}r.style.transform=a},{immediate:!0}),{transform:i}}function Oae(e,t){const n=en({}),r=a=>Object.entries(a).forEach(([o,l])=>n[o]=l),{style:i}=kae(e,r),{transform:s}=Vae(e,r);return ve(n,a=>{Object.entries(a).forEach(([o,l])=>{const u=R0(o)?s:i;u[o]&&u[o]===l||(u[o]=l)})},{immediate:!0,deep:!0}),O0(e,()=>t&&r(t)),{motionProperties:n,style:i,transform:s}}function Rae(e={}){const t=Yt(e),n=le();return{state:x(()=>{if(!!n.value)return t[n.value]}),variant:n}}function FV(e,t={},n){const{motionProperties:r}=Oae(e),{variant:i,state:s}=Rae(t),a=hae(r,t),o={target:e,variant:i,variants:t,state:s,motionProperties:r,...a};return wae(o,n),o}const Mae=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"];function Dae(e,t){const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};n&&(n.variants&&Af(n.variants)&&(t.value={...t.value,...n.variants}),Mae.forEach(r=>{if(r==="delay"){if(n&&n[r]&&typeof n[r]=="number"){const i=n[r];t&&t.value&&(t.value.enter&&(t.value.enter.transition||(t.value.enter.transition={}),t.value.enter.transition={delay:i,...t.value.enter.transition}),t.value.visible&&(t.value.visible.transition||(t.value.visible.transition={}),t.value.visible.transition={delay:i,...t.value.visible.transition}),t.value.visibleOnce&&(t.value.visibleOnce.transition||(t.value.visibleOnce.transition={}),t.value.visibleOnce.transition={delay:i,...t.value.visibleOnce.transition}))}return}r==="visible-once"&&(r="visibleOnce"),n&&n[r]&&Af(n[r])&&(t.value[r]=n[r])}))}function _v(e){return{created:(n,r,i)=>{const s=r.value&&typeof r.value=="string"?r.value:i.key;s&&pv[s]&&pv[s].stop();const a=le(e||{});typeof r.value=="object"&&(a.value=r.value),Dae(i,a);const o=FV(n,a);n.motionInstance=o,s&&(pv[s]=o)},getSSRProps(n,r){let{initial:i}=n.value||r&&(r==null?void 0:r.props)||{};i=Yt(i);const s=Aie((e==null?void 0:e.initial)||{},i||{});return!s||Object.keys(s).length===0?void 0:{style:$V(s)}}}}const $ae={initial:{opacity:0},enter:{opacity:1}},Fae={initial:{opacity:0},visible:{opacity:1}},Nae={initial:{opacity:0},visibleOnce:{opacity:1}},Lae={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},Bae={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},jae={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},zae={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Uae={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Hae={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},qae={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Wae={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Gae={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Kae={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Yae={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},Xae={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},Qae={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Jae={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},Zae={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},eoe={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},toe={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},noe={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},roe={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},ioe={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},soe={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},aoe={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},ooe={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},loe={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},uoe={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},coe={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},doe={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},Pp={__proto__:null,fade:$ae,fadeVisible:Fae,fadeVisibleOnce:Nae,pop:Lae,popVisible:Bae,popVisibleOnce:jae,rollBottom:Qae,rollLeft:zae,rollRight:qae,rollTop:Kae,rollVisibleBottom:Jae,rollVisibleLeft:Uae,rollVisibleOnceBottom:Zae,rollVisibleOnceLeft:Hae,rollVisibleOnceRight:Gae,rollVisibleOnceTop:Xae,rollVisibleRight:Wae,rollVisibleTop:Yae,slideBottom:uoe,slideLeft:eoe,slideRight:roe,slideTop:aoe,slideVisibleBottom:coe,slideVisibleLeft:toe,slideVisibleOnceBottom:doe,slideVisibleOnceLeft:noe,slideVisibleOnceRight:soe,slideVisibleOnceTop:loe,slideVisibleRight:ioe,slideVisibleTop:ooe},foe=Vo({props:{is:{type:[String,Object],required:!1},preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1}},setup(e){var o;const t=IR(),n=en({});if(!e.is&&!t.default)return()=>Lt("div",{});const r=x(()=>{let l;return e.preset&&(l=Pp[e.preset]),l}),i=x(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused})),s=x(()=>{const l={...i.value,...r.value||{},...e.variants||{}};return e.delay&&(l.enter.transition={...l.enter.transition},l.enter.transition.delay=parseInt(e.delay)),l}),a=x(()=>{if(!e.is)return;let l=e.is;return typeof a.value=="string"&&!$4(l)&&(l=Ke(l)),l});if(((o=process==null?void 0:process.env)==null?void 0:o.NODE_ENV)==="development"||(process==null?void 0:process.dev)){const l=u=>{var c;(c=u.variants)!=null&&c.initial&&u.set("initial"),setTimeout(()=>{var d,f,h;(d=u.variants)!=null&&d.enter&&u.apply("enter"),(f=u.variants)!=null&&f.visible&&u.apply("visible"),(h=u.variants)!=null&&h.visibleOnce&&u.apply("visibleOnce")},10)};Wp(()=>Object.entries(n).forEach(([u,c])=>l(c)))}return{slots:t,component:a,motionConfig:s,instances:n}},render({slots:e,motionConfig:t,instances:n,component:r}){var o;const i=$V(t.initial||{}),s=(l,u)=>(l.props||(l.props={}),l.props.style=i,l.props.onVnodeMounted=({el:c})=>{const d=FV(c,t);n[u]=d},l);if(r){const l=Lt(r,void 0,e);return s(l,0),l}return(((o=e.default)==null?void 0:o.call(e))||[]).map((l,u)=>s(l,u))}});function hoe(e){const t="\xE0\xE1\xE2\xE4\xE6\xE3\xE5\u0101\u0103\u0105\xE7\u0107\u010D\u0111\u010F\xE8\xE9\xEA\xEB\u0113\u0117\u0119\u011B\u011F\u01F5\u1E27\xEE\xEF\xED\u012B\u012F\xEC\u0142\u1E3F\xF1\u0144\u01F9\u0148\xF4\xF6\xF2\xF3\u0153\xF8\u014D\xF5\u0151\u1E55\u0155\u0159\xDF\u015B\u0161\u015F\u0219\u0165\u021B\xFB\xFC\xF9\xFA\u016B\u01D8\u016F\u0171\u0173\u1E83\u1E8D\xFF\xFD\u017E\u017A\u017C\xB7/_,:;",n="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",r=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,i=>`-${i}`).toLowerCase().replace(/\s+/g,"-").replace(r,i=>n.charAt(t.indexOf(i))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const moe={install(e,t){if(e.directive("motion",_v()),e.component("Motion",foe),!t||t&&!t.excludePresets)for(const n in Pp){const r=Pp[n];e.directive(`motion-${hoe(n)}`,_v(r))}if(t&&t.directives)for(const n in t.directives){const r=t.directives[n];!r.initial&&__DEV__&&console.warn(`Your directive v-motion-${n} is missing initial variant!`),e.directive(`motion-${n}`,_v(r))}}},voe=cA({components:bie,directives:Iie}),NV=a3(EQ);NV.directive("scroll-animation",IQ);NV.use(voe,moe).mount("#app");export{og as e}; diff --git a/assets/mid_img_niru.86d6a31c.png b/assets/mid_img_niru.86d6a31c.png new file mode 100644 index 0000000..55cf61b Binary files /dev/null and b/assets/mid_img_niru.86d6a31c.png differ diff --git a/assets/winners_announced.d8113b16.png b/assets/winners_announced.d8113b16.png new file mode 100644 index 0000000..bcc2715 Binary files /dev/null and b/assets/winners_announced.d8113b16.png differ diff --git a/index.html b/index.html index f820f17..6381249 100644 --- a/index.html +++ b/index.html @@ -15,8 +15,8 @@ - - + +