PageSourceSearch

https://www.leedsunited.news/wp-content/plugins/talkingpoints-wp/vue-src/dist/assets/index.js?ver=1790087284

js leedsunited.news collected 2026-10-04 18:37:44 UTC 371,877 bytes, 349 lines download raw bytes

1(function(){"use strict";var Ks=document.createElement("style");Ks.textContent="#vue-sidebar{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-text-clip-1{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1;white-space:nowrap}.vue-tp-text-clip-2{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;white-space:normal}.vue-tp-text-clip-3{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;white-space:normal}.vue-tp-text-clip-4{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;white-space:normal}.grv-talking-point.grv-tpwp-live-block.grv-tpwp-teleported-block.grv-tpwp-has-label.grv-tpwp-label-breaking .grv-talking-point__embed{--vue-primary-color: 248, 235, 31}.grv-talking-point.grv-tpwp-live-block.grv-tpwp-teleported-block .grv-talking-point__embed{--vue-primary-color: 235, 235, 235}.vue-tp-interactive-block .grv-talking-point__embed .wp-block-embed.is-provider-youtube{position:relative}.vue-tp-interactive-block .grv-talking-point__embed .wp-block-embed.is-provider-youtube .wp-block-embed__wrapper{padding-bottom:56.25%}.vue-tp-interactive-block .grv-talking-point__embed .wp-block-embed.is-provider-youtube .wp-block-embed__wrapper>iframe{position:absolute;top:0;left:0;width:100%;height:100%}.vue-tp-poll-relative{position:relative}.vue-tp-poll-loader{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#fff3}.vue-tp-poll-spinner{width:24px;height:24px;border:3px solid rgba(0,0,0,.15);border-top-color:#0009;border-radius:50%;animation:vue-tp-poll-spin .6s linear infinite}@keyframes vue-tp-poll-spin{to{transform:rotate(360deg)}}@media(max-width:670px){.grv-tpwp-sidebar-open-mobile-overlay{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;background-color:rgb(var(--grv-bg));z-index:1}}@font-face{font-family:DM Sans;font-style:italic;font-weight:100 1000;font-display:swap;src:url("+new URL("DMSans-Italic-Ext.woff2",document.currentScript&&document.currentScript.tagName.toUpperCase()==="SCRIPT"&&document.currentScript.src||document.baseURI).href+') format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:italic;font-weight:100 1000;font-display:swap;src:url('+new URL("DMSans-Italic.woff2",document.currentScript&&document.currentScript.tagName.toUpperCase()==="SCRIPT"&&document.currentScript.src||document.baseURI).href+') format("woff2");
1unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans;font-style:normal;font-weight:100 1000;font-display:swap;src:url('+new URL("DMSans-Ext.woff2",document.currentScript&&document.currentScript.tagName.toUpperCase()==="SCRIPT"&&document.currentScript.src||document.baseURI).href+') format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:100 1000;font-display:swap;src:url('+new URL("DMSans.woff2",document.currentScript&&document.currentScript.tagName.toUpperCase()==="SCRIPT"&&document.currentScript.src||document.baseURI).href+`) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}#vue-sidebar{position:relative;z-index:1000;font-family:DM Sans,sans-serif;color:rgb(var(--vue-font-color-primary));font-size:16px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#vue-sidebar.vue-tp-sidebar-open{min-height:100vh}#vue-sidebar strong,#vue-sidebar .vue-tp-font-bold{font-weight:700}#vue-sidebar .vue-tp-cursor-pointer{cursor:pointer}#vue-sidebar .vue-tp-text-center{text-align:center}#vue-sidebar .coral-comment-content-link{color:rgb(var(--vue-font-color-comment))}.vue-tp-paragraph-text[data-v-1f2bcd75]{color:rgb(var(--vue-font-color-comment));white-space:pre-line;word-break:break-word;margin:0}.vue-tp-avatar-wrapper[data-v-cb59a6e6]{border-radius:50%;overflow:hidden;flex-shrink:0}.vue-tp-avatar-wrapper img[data-v-cb59a6e6]{width:100%;height:100%;object-fit:cover}.vue-tp-avatar-wrapper.vue-tp-fallback[data-v-cb59a6e6]{background:rgb(var(--vue-primary-color));background:linear-gradient(to bottom right,rgb(var(--vue-primary-color)) 20%,color-mix(in srgb,rgb(var(--vue-primary-color)) 90%,#fff))}.vue-tp-avatar-wrapper.vue-tp-fallback img[data-v-cb59a6e6]{filter:invert(1)}.vue-tp-avatar-wrapper.vue-tp-clickable[data-v-cb59a6e6]{cursor:pointer}.vue-tp-user-badge[data-v-b18cfa37]{display:inline-block;padding:2px 8px;border-radius:12px;font-size:12px;font-weight:700;color:rgb(var(--vue-font-color-secondary));text-transform:uppercase;white-space:nowrap}#vue-sidebar[data-v-79aeec61]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-tooltip-wrapper[data-v-79aeec61]{position:absolute;z-index:1001;border-radius:4px;background-color:rgb(var(--vue-background-color-tooltip));color:rgb(var(--vue-font-color-secondary));font-size:14px;white-space:nowrap;opacity:0;pointer-events:none}.vue-tp-tooltip-wrapper.vue-tp-visible[data-v-79aeec61]{opacity:1;pointer-events:auto}.vue-tp-tooltip-wrapper.vue-tp-right[data-v-79aeec61]{top:34px;right:-10px;padding:8px 16px;transition:opacity .3s ease-in-out}.vue-tp-tooltip-wrapper.vue-tp-center[data-v-79aeec61]{top:calc(100% + 6px);left:50%;transform:translate(-50%);padding:6px 12px;display:flex;flex-direction:column;align-items:center;gap:2px;transition:opacity .2s ease-in-out}@media(max-width:515px){.vue-tp-tooltip-wrapper.vue-tp-center[data-v-79aeec61]{white-space:normal;text-align:center;max-width:90vw}}.vue-tp-icon-badge[data-v-68c6d7af]{position:relative;display:inline-flex}.vue-tp-icon-badge.is-clickable[data-v-68c6d7af]{cursor:pointer}.vue-tp-icon-badge .vue-tp-tooltip-title[data-v-68c6d7af]{font-weight:700}.vue-tp-comment-author[data-v-c50f5dfc]{display:flex;justify-content:flex-start;align-items:center;gap:8px;max-width:100%}.vue-tp-comment-author .vue-tp-labels-container[data-v-c50f5dfc]{display:flex;flex-flow:wrap;align-items:center;gap:0 12px}.vue-tp-comment-author .vue-tp-labels-container .vue-tp-user-name[data-v-c50f5dfc]{color:rgb(var(--vue-font-color-comment));font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vue-tp-comment-author .vue-tp-labels-container .vue-tp-time-label[data-v-c50f5dfc]{color:rgb(var(--vue-font-color-muted));font-size:14px;white-space:nowrap}
1#vue-sidebar[data-v-fcd69b9b]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-share-button-wrapper[data-v-fcd69b9b]{position:relative;cursor:pointer}@media(max-width:515px){.vue-tp-share-button-wrapper.vue-tp-hidden-on-mobile[data-v-fcd69b9b]{display:none}}@media(max-width:515px){.vue-tp-share-button-wrapper .vue-tp-icon-text[data-v-fcd69b9b]{display:none}}.vue-tp-loader[data-v-0e145c6a]{position:absolute;top:50%;left:50%;height:0;width:0;border:6px solid rgb(var(--vue-icon-color-comments));border-right-color:rgb(var(--vue-primary-color));border-radius:50%;animation:rotate-0e145c6a 1s infinite linear;z-index:10}@keyframes rotate-0e145c6a{to{transform:rotate(360deg)}}#vue-sidebar[data-v-22e7a562]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-report-wrapper[data-v-22e7a562]{display:flex;align-items:center;gap:8px}@media(max-width:450px){.vue-tp-report-wrapper.vue-tp-desktop[data-v-22e7a562]{display:none}}.vue-tp-report-wrapper.vue-tp-mobile[data-v-22e7a562]{display:none}@media(max-width:450px){.vue-tp-report-wrapper.vue-tp-mobile[data-v-22e7a562]{position:relative;display:flex;align-items:center}}#vue-sidebar[data-v-cf9da3bb]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}
1.vue-tp-delete-wrapper[data-v-cf9da3bb]{display:flex;align-items:center;gap:6px}@media(max-width:450px){.vue-tp-delete-wrapper.vue-tp-desktop[data-v-cf9da3bb]{display:none}}.vue-tp-delete-wrapper.vue-tp-mobile[data-v-cf9da3bb]{display:none}@media(max-width:450px){.vue-tp-delete-wrapper.vue-tp-mobile[data-v-cf9da3bb]{position:relative;display:flex;align-items:center}}.vue-tp-base-modal[data-v-b228cbe6]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);padding:16px;box-shadow:0 4px 8px #00000040;border-radius:14px;background:rgb(var(--vue-background-color-primary))}.vue-tp-base-modal .vue-tp-close-button[data-v-b228cbe6]{position:absolute;top:14px;right:8px;width:26px;height:26px;font-size:26px;color:rgb(var(--vue-font-color-muted));text-align:center;line-height:26px;cursor:pointer}.vue-tp-base-modal .vue-tp-back-button[data-v-b228cbe6]{position:absolute;top:14px;left:8px;width:26px;height:26px;cursor:pointer}.vue-tp-base-modal .vue-tp-back-button[data-v-b228cbe6]:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(225deg);width:6px;height:6px;border-top:2px solid rgb(var(--vue-font-color-muted));border-right:2px solid rgb(var(--vue-font-color-muted))}.vue-tp-primary-button[data-v-b4d9a187]{border-radius:16px;padding:6px 16px;background:rgb(var(--vue-primary-color));background:linear-gradient(to bottom right,rgb(var(--vue-primary-color)) 20%,color-mix(in srgb,rgb(var(--vue-primary-color)) 90%,#fff));color:rgb(var(--vue-font-color-secondary));border:none;outline:none;font-size:14px;cursor:pointer}.vue-tp-primary-button.vue-tp-outlined[data-v-b4d9a187]{background:none;border:2px solid rgb(var(--vue-primary-color));color:rgb(var(--vue-primary-color))}.vue-tp-primary-button[data-v-b4d9a187]:disabled{opacity:.8;cursor:not-allowed;pointer-events:none}.vue-tp-primary-button span[data-v-b4d9a187]{white-space:nowrap}.vue-tp-delete-confirm-overlay[data-v-c8979ebc]{position:fixed;display:flex;justify-content:center;pointer-events:none;z-index:10000;padding:8px}.vue-tp-delete-confirm-overlay.vue-tp-delete-confirm-overlay--centered[data-v-c8979ebc]{inset:0;align-items:center;background:#0000008c;pointer-events:auto}.vue-tp-delete-confirm-modal-inner[data-v-c8979ebc]{pointer-events:auto}.vue-tp-delete-confirm-content[data-v-c8979ebc]{display:flex;flex-direction:column;align-items:center;gap:8px;padding:4px 0;min-width:250px;max-width:300px}.vue-tp-delete-confirm-title[data-v-c8979ebc]{font-size:16px;font-weight:700;text-align:center;color:rgb(var(--vue-font-color-primary));margin:0}.vue-tp-delete-confirm-text[data-v-c8979ebc]{font-size:14px;text-align:center;color:rgb(var(--vue-font-color-primary));margin:0}.vue-tp-delete-confirm-actions[data-v-c8979ebc]{display:flex;gap:8px;justify-content:center;margin-top:8px}.slide-up-enter-active[data-v-c8979ebc],.slide-up-leave-active[data-v-c8979ebc]{transition:all .2s ease}.slide-up-enter-from[data-v-c8979ebc],.slide-up-leave-to[data-v-c8979ebc]{transform:translateY(10px);opacity:0}.vue-tp-user-actions[data-v-1427aa6b],.vue-tp-user-actions .vue-tp-left-side[data-v-1427aa6b]{display:flex;gap:24px}.vue-tp-user-actions.vue-tp-block-actions[data-v-1427aa6b],.vue-tp-user-actions.vue-tp-live-block-actions[data-v-1427aa6b]{justify-content:space-between;color:rgb(var(--vue-font-color-secondary));font-size:14px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1)}.vue-tp-user-actions.vue-tp-comment-actions[data-v-1427aa6b]{color:rgb(var(--vue-font-color-comment));font-size:12px;padding-top:4px;margin-top:0}.vue-tp-user-actions.vue-tp-is-live-block[data-v-1427aa6b]{color:rgb(var(--vue-font-color-light-block));border-top-color:#0000001a}.vue-tp-user-actions .vue-tp-delete-action-wrapper[data-v-1427aa6b]{position:relative}.vue-tp-user-actions .vue-tp-action[data-v-1427aa6b]{display:flex;align-items:center;gap:6px;cursor:pointer}.vue-tp-user-actions .vue-tp-delete-action-wrapper[data-v-1427aa6b]{curs
1or:pointer}.vue-tp-user-actions.vue-tp-is-surfaced-comment[data-v-1427aa6b]{padding-top:0;border-top:none}.grv-tpwp-live-block:not(.grv-tpwp-label-featured) .vue-tp-user-actions[data-v-1427aa6b]{color:rgb(var(--vue-font-color-comment))}.grv-tpwp-live-block:not(.grv-tpwp-label-featured) .vue-tp-user-actions svg[data-v-1427aa6b]{color:rgb(var(--vue-icon-color-comment))}#vue-sidebar[data-v-de4baa61]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-interactive-block[data-v-de4baa61]{display:flex;flex-direction:column;gap:12px;padding:30px;border-radius:14px;background:rgb(var(--vue-primary-color));background:linear-gradient(to bottom right,rgb(var(--vue-primary-color)) 20%,color-mix(in srgb,rgb(var(--vue-primary-color)) 90%,#fff));color:rgb(var(--vue-font-color-secondary))}.vue-tp-interactive-block.vue-tp-teleported-block[data-v-de4baa61]{padding:0;background:none}@media(max-width:450px){.vue-tp-interactive-block[data-v-de4baa61]{padding:20px}}@media(max-width:390px){.vue-tp-interactive-block[data-v-de4baa61]{padding:16px}}.vue-tp-live-block[data-v-de4baa61]{position:relative;background:#ebebeb}.vue-tp-live-block.vue-tp-has-label .grv-tpwp-event-label[data-v-de4baa61]{position:relative;display:flex;justify-content:center;align-items:center;gap:8px;width:calc(100% + 60px);height:40px;top:-30px;left:-30px;margin-bottom:-20px;background:#252525;color:#fff;font-size:20px;font-weight:700;text-transform:uppercase;border-top-left-radius:14px;border-top-right-radius:14px}@media(max-width:450px){.vue-tp-live-block.vue-tp-has-label .grv-tpwp-event-label[data-v-de4baa61]{width:calc(100% + 40px);left:-20px}}@media(max-width:390px){.vue-tp-live-block.vue-tp-has-label .grv-tpwp-event-label[data-v-de4baa61]{width:calc(100% + 32px);left:-16px}}.vue-tp-live-block.vue-tp-has-label.vue-tp-label-breaking[data-v-de4baa61]{background:linear-gradient(to bottom right,#f8eb1f 20%,color-mix(in srgb,rgb(248,235,31) 90%,#fff))}.vue-tp-live-block.vue-tp-has-label.vue-tp-label-breaking[data-v-de4baa61] .grv-talking-point__embed{--tp-primary: 248, 235, 31;--vue-primary-color: 248, 235, 31}.vue-tp-live-block[data-v-de4baa61] .grv-talking-point__embed{--tp-primary: 235, 235, 235;--vue-primary-color: 235, 235, 235}.vue-tp-custom-poll-wrapper[data-v-5f3ba0f7]{position:relative}.vue-tp-custom-poll-wrapper.vue-tp-live-block .vue-tp-poll-questions-section .vue-tp-poll-answer[data-v-5f3ba0f7],.vue-tp-custom-poll-wrapper.vue-tp-live-block .vue-tp-poll-results-section .vue-tp-poll-entry .vue-tp-texts[data-v-5f3ba0f7]{color:rgb(var(--vue-font-color-light-block))}.vue-tp-custom-poll-wrapper.vue-tp-live-block .vue-tp-poll-results-section .vue-tp-poll-entry .vue-tp-progress[data-v-5f3ba0f7]{border-color:rgb(var(--vue-font-color-light-block))}.vue-tp-custom-poll-wrapper .vue-tp-poll-results-section .vue-tp-poll-entry[data-v-5f3ba0f7]{margin-bottom:20px}.vue-tp-custom-poll-wrapper .vue-tp-poll-results-section .vue-tp-poll-entry .vue-tp-texts[data-v-5f3ba0f7]{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;gap:10px;color:rgb(var(--vue-font-color-secondary));margin-bottom:6px}.vue-tp-custom-poll-wrapper .vue-tp-poll-results-section .vue-tp-poll-entry .vue-tp-texts .vue-tp-answer-text[data-v-5f3ba0f7]{font-weight:700;font-size:15px}.vue-tp-custom-poll-wrapper .vue-tp-poll-results-section .vue-tp-poll-entry .vue-tp-texts .vue-tp-right[data-v-5f3ba0f7]{display:flex;align-items:flex-end;
1gap:20px}.vue-tp-custom-poll-wrapper .vue-tp-poll-results-section .vue-tp-poll-entry .vue-tp-texts .vue-tp-right .vue-tp-vote-count[data-v-5f3ba0f7]{font-size:12px;white-space:nowrap}.vue-tp-custom-poll-wrapper .vue-tp-poll-results-section .vue-tp-poll-entry .vue-tp-texts .vue-tp-right .vue-tp-percentage[data-v-5f3ba0f7]{font-weight:700;font-size:16px}.vue-tp-custom-poll-wrapper .vue-tp-poll-results-section .vue-tp-poll-entry .vue-tp-progress[data-v-5f3ba0f7]{width:100%;height:12px;border:1px solid rgb(var(--vue-background-color-primary),.5)}.vue-tp-custom-poll-wrapper .vue-tp-poll-results-section .vue-tp-poll-entry .vue-tp-progress .vue-tp-progress-bar[data-v-5f3ba0f7]{width:0;height:100%;background-color:#111}.vue-tp-custom-poll-wrapper .vue-tp-poll-results-section .vue-tp-poll-entry .vue-tp-progress .vue-tp-progress-bar.vue-tp-calculated[data-v-5f3ba0f7]{transition:width .5s ease}.vue-tp-custom-poll-wrapper .vue-tp-poll-results-section .vue-tp-total-votes[data-v-5f3ba0f7]{text-align:right;font-size:14px}.vue-tp-custom-poll-wrapper .vue-tp-poll-results-section .vue-tp-thanks[data-v-5f3ba0f7]{margin-top:10px;text-align:center;font-size:16px}.vue-tp-custom-poll-wrapper .vue-tp-poll-questions-section[data-v-5f3ba0f7]{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:12px}.vue-tp-custom-poll-wrapper .vue-tp-poll-questions-section .vue-tp-poll-answer[data-v-5f3ba0f7]{background-color:color-mix(in srgb,rgb(var(--vue-primary-color)) 80%,#000);border:1px solid rgb(var(--vue-font-color-secondary));border-radius:6px;color:rgb(var(--vue-font-color-secondary));font-size:15px;font-weight:700;padding:5px 32px;cursor:pointer}.vue-tp-parent-comment-author[data-v-3a223238]{display:block;background:rgb(var(--vue-background-color-secondary));padding:4px 10px 10px;border:1px solid rgb(var(--vue-background-color-primary))}.vue-tp-parent-comment-author .vue-tp-replying-to[data-v-3a223238]{font-size:13px}.vue-tp-parent-comment-author .vue-tp-avatar-name-wrapper[data-v-3a223238]{display:flex;justify-content:flex-start;align-items:center;gap:12px;max-width:100%;margin-top:3px}.vue-tp-parent-comment-author .vue-tp-user-name[data-v-3a223238]{color:rgb(var(--vue-font-color-comment));font-size:13px}.vue-tp-youtube-embed-iframe[data-v-5f03d688]{position:absolute;top:0;left:0;width:100%;height:100%}#vue-sidebar[data-v-363b490f]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-comment-container[data-v-363b490f]{display:flex;position:relative;flex-direction:column;gap:8px;padding:0;border-radius:8px;outline:4px solid transparent;outline-offset:10px;transition:outline 2s ease-in-out,opacity .3s ease-out}.vue-tp-comment-container.vue-tp-comment-fading-out[data-v-363b490f]{opacity:0}.vue-tp-comment-container[data-v-363b490f]:before{position:absolute;content:"";top:-10px;left:-10px;width:calc(100% + 20px);height:calc(100% + 20px);pointer-events:none;background-color:transparent;border-radius:8px;z-index:-1;transition:background-color 2s ease-in-out}.vue-tp-comment-container.vue-tp-top-level[data-v-363b490f]{background:rgba(var(--vue-primary-color),.15);padding:16px}@supports (background: color-mix(in oklab,white,black)){.vue-tp-comment-container.vue-tp-top-level[data-v-363b490f]{background:color-mix(in oklab,rgb(var(--vue-background-color-primary)) 88%,rgb(var(--vue-primary-color)) 12%)}}.vue-tp-comment-container.vue-tp-top-level[data-v-363b490f]:before{top:-3px;left:-3px;width:calc(100% + 6px);height:calc(100% + 6px);border-radius:10px}.vue-tp-comment-container.vue-tp-top-level.vue-tp-highlight[data-v-363b490f]:before{background-color:rgb(var(--vue-icon-color-comments))}.vue-tp-comment-container.vue-tp-highlight[data-v-363b490f]:before{background-color:rgb(var(--vue-background-color-secondary));transition:none}.vue-tp-comment-container .vue-tp-youtube-wrapper[data-v-363b490f]{position:relative;margin-top:10px;max-width:100%;height:0;padding-bottom:56.25%}.vue-tp-comment-container .vue-tp-gif-wrapper[data-v-363b490f]{margin-top:4px;
1width:200px;max-width:100%}.vue-tp-comment-container .vue-tp-gif-video[data-v-363b490f]{display:block;width:100%;height:auto;border-radius:8px}.vue-tp-comment-container .vue-tp-giphy-attribution[data-v-363b490f]{display:flex;align-items:center;justify-content:space-between;height:14px;width:200px;margin-top:8px}.vue-tp-comment-container .vue-tp-giphy-attribution img[data-v-363b490f]{height:14px}.vue-tp-comment-container .vue-tp-external-image-wrapper[data-v-363b490f]{margin-top:4px;max-width:100%}.vue-tp-comment-container .vue-tp-external-image[data-v-363b490f]{display:block;max-width:100%;max-height:500px;width:auto;height:auto;border-radius:8px}.vue-tp-deleted-comment-text[data-v-363b490f]{color:rgb(var(--vue-font-color-muted));font-style:italic}.vue-tp-nested-comments-wrapper[data-v-363b490f]{display:flex;flex-direction:column;gap:34px;margin:26px 0 0 16px;padding-left:30px;border-left:1px solid rgb(var(--vue-divider-color))}.vue-tp-nested-comments-wrapper[data-v-363b490f]:not(:has(>*)){display:none}.vue-tp-nested-comments-wrapper.vue-tp-no-margin-top[data-v-363b490f]{margin-top:0}@media(max-width:450px){.vue-tp-nested-comments-wrapper[data-v-363b490f]{padding-left:20px}}@media(max-width:390px){.vue-tp-nested-comments-wrapper[data-v-363b490f]{padding-left:16px;margin:26px 0 0 12px}}.vue-tp-divider[data-v-363b490f]{margin:24px auto;width:95%;height:1px;background-color:rgb(var(--vue-divider-color))}@media(max-width:768px){.vue-tp-divider[data-v-363b490f]{width:86%}}@media(max-width:450px){.vue-tp-divider[data-v-363b490f]{margin:20px auto}}@media(max-width:390px){.vue-tp-divider[data-v-363b490f]{margin:16px auto}}.vue-tp-divider.vue-tp-full-width[data-v-363b490f]{width:100%}@media(max-width:768px){.vue-tp-divider.vue-tp-full-width[data-v-363b490f]{width:100%}}.vue-tp-yt-image-wrapper[data-v-363b490f]{cursor:pointer;position:relative;width:200px;max-width:100%}.vue-tp-yt-image-wrapper[data-v-363b490f]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;border-style:solid;border-width:14px 0 14px 24px;border-color:transparent transparent transparent white;pointer-events:none}.vue-tp-yt-image-wrapper .vue-tp-youtube-thumbnail[data-v-363b490f]{width:100%;border-radius:8px}.vue-tp-create-post-button[data-v-c0ce0831]{position:absolute;bottom:0;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;white-space:nowrap;border-radius:20px;padding:10px 20px;font-size:16px;background:linear-gradient(to bottom right,rgb(var(--vue-primary-color)) 20%,color-mix(in srgb,rgb(var(--vue-primary-color)) 90%,#fff));color:rgb(var(--vue-font-color-secondary));border:1px solid rgb(var(--vue-font-color-secondary));cursor:pointer;z-index:10}.vue-tp-new-comments-banner[data-v-66a74d43]{display:flex;align-items:center;gap:12px;padding:6px 24px 6px 12px;background:linear-gradient(to bottom right,rgb(var(--vue-primary-color)) 20%,color-mix(in srgb,rgb(var(--vue-primary-color)) 90%,#fff));color:rgb(var(--vue-font-color-secondary));font-size:14px;border-top-left-radius:8px;border-bottom-left-radius:8px;border:1px solid rgb(var(--vue-background-color-primary));cursor:pointer}.vue-tp-new-comments-banner .vue-tp-action-item[data-v-66a74d43]{font-weight:700;text-decoration:underline}#vue-sidebar[data-v-6d999391]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-add-comment-wrapper[data-v-6d999391]{position:fixed;box-sizing:border-box;background-color:rgb(var(--vue-background-color-secondary));bottom:-1px;width:calc(100% - 16px);max-width:645px;padding:16px 30px;border-top:1px solid rgb(var(--vue-background-color-primary))}@media(max-width:450px){.vue-tp-add-comment-wrapper[data-v-6d999391]{padding:16px 20px}}@media(max-width:390px){.vue-tp-add-comment-wrapper[data-v-6d999391]{padding:16px}}.vue-tp-add-comment-wrapper.vue-tp-with-border-radius[data-v-6d999391]{border-top-left-radius:18px;border-top-right-radius:18px}.vue-tp-add-comment-wrapper .vue-tp-loading-overlay[data-v-6d999391]{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#fff6;z-index:1}.vue-tp-add-comment-wrapper .vue-tp-add-comment-header[data-v-6d999391]{position:relative;display:flex;justify-content:space-between;align-items:center;gap:32px;min-height:34px;font-size:14px;margin-bottom:16px;padding-left:12px;border-left:5px solid rgb(var(--vue-primary-color))}@media(max-width:450px){.vue-tp-add-comment-wrapper .vue-tp-add-comment-header[data-v-6d999391]{margin-bottom:12px}}.vue-tp-add-comment-wrapper .vue-tp-add-comment-header .vue-tp-close-button[data-v-6d999391]{font-size:24px}.vue-tp-add-comment-wrapper .vue-tp-add-comment-body[data-v-6d999391]{display:flex;justify-content:space-between;align-items:center;gap:16px}.vue-tp-add-comment-wrapper .vue-tp-add-comment-body .vue-tp-comment-input-field-wrapper[data-v-6d999391]{background:rgb(var(--vue-input-background-color));border-radius:20px;width:100%;padding:8px 15px;max-height:100px;overflow-y:auto}.vue-tp-add-comment-wrapper .vue-tp-add-comment-body .vue-tp-comment-input-field-wrapper .vue-tp-input[data-v-6d999391]{word-break:break-word;color:rgb(var(--vue-input-font-color))}.vue-tp-add-comment-wrapper .vue-tp-add-comment-body .vue-tp-comment-input-field-wrapper .vue-tp-input[data-v-6d999391]:focus{outline:none}.vue-tp-add-comment-wrapper .vue-tp-add-comment-body .vue-tp-comment-input-field-wrapper .vue-tp-input[data-v-6d999391]:empty:before{content:attr(data-placeholder);pointer-events:none;display:block;color:rgb(var(--vue-input-placeholder-color));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.vue-tp-add-comment-wrapper .vue-tp-new-comments-banner-wrapper[data-v-6d999391]{position:absolute;right:0;top:-40px}.vue-tp-add-comment-wrapper .vue-tp-media-buttons[data-v-6d999391]{display:flex;align-items:center;min-height:30px;
1gap:6px;margin-bottom:-8px}.vue-tp-add-comment-wrapper .vue-tp-yt-icon-button[data-v-6d999391]{background:none;border:none;padding:4px;cursor:pointer;display:flex;align-items:center}.vue-tp-add-comment-wrapper .vue-tp-gif-badge-button[data-v-6d999391]{background:none;border:none;cursor:pointer;font-weight:700;font-size:13px;letter-spacing:.5px}.vue-tp-add-comment-wrapper .vue-tp-youtube-wrapper[data-v-6d999391]{position:relative;margin-top:20px;width:300px;max-width:100%;height:0;padding-bottom:56.25%}.vue-tp-add-comment-wrapper .vue-tp-gif-wrapper[data-v-6d999391]{position:relative;margin-top:20px;width:200px;max-width:100%}.vue-tp-add-comment-wrapper .vue-tp-gif-preview[data-v-6d999391]{display:block;width:100%;height:auto;border-radius:8px}.vue-tp-create-post-button-container[data-v-6d999391]{position:fixed;width:calc(100% - 16px);max-width:645px;bottom:20px}.vue-tp-create-post-button-container .vue-tp-new-comments-banner-wrapper[data-v-6d999391]{position:absolute;right:0;top:-100px}@media(hover:hover)and (pointer:fine){.slide-down-enter-active[data-v-6d999391],.slide-down-leave-active[data-v-6d999391]{transition:all .3s ease-in-out}.slide-down-enter-from[data-v-6d999391],.slide-down-leave-to[data-v-6d999391]{bottom:-300px}.slide-from-right-enter-active[data-v-6d999391]{transition:transform .2s ease}.slide-from-right-enter-from[data-v-6d999391]{transform:translate(100%)}}.vue-tp-media-close-button[data-v-6d999391]{position:absolute;right:-13px;top:-13px;width:26px;height:26px;border-radius:50%;border:1px solid rgb(var(--vue-background-color-primary));background:rgb(var(--vue-primary-color));cursor:pointer;z-index:10}.vue-tp-media-close-button[data-v-6d999391]:before,.vue-tp-media-close-button[data-v-6d999391]:after{position:absolute;content:"";left:5px;top:12px;height:2px;width:16px;background-color:rgb(var(--vue-font-color-secondary))}.vue-tp-media-close-button[data-v-6d999391]:before{transform:rotate(45deg)}.vue-tp-media-close-button[data-v-6d999391]:after{transform:rotate(-45deg)}#vue-sidebar[data-v-3144c41c]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-add-youtube-link-header[data-v-3144c41c]{min-height:34px;font-size:14px;margin-bottom:6px}.vue-tp-add-youtube-link-header .vue-tp-yt-back-button[data-v-3144c41c]{border:none;cursor:pointer;padding:0;margin-left:5px}.vue-tp-add-youtube-link-header .vue-tp-yt-back-button[data-v-3144c41c]:before{content:"";display:inline-block;width:16px;height:16px;background-repeat:no-repeat;background-size:contain;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path fill='%23fff' d='M61.041 29.707L39.373 8.001a3.26 3.26 0 00-2.322-.959c-.88 0-1.704.34-2.322.959l-1.967 1.971a3.268 3.268 0 00-.958 2.326c0 .88.34 1.734.958 2.354l12.641 12.689H5.241A3.209 3.209 0 002 30.576v2.787c0 1.814 1.431 3.377 3.241 3.377h40.304L32.762 49.501a3.218 3.218 0 00-.958 2.305c0 .879.34 1.695.958 2.314l1.967 1.964c.619.62 1.442.958 2.322.958a3.26 3.26 0 002.322-.961l21.668-21.705c.62-.622.961-1.452.958-2.333a3.262 3.262 0 00-.958-2.336z'/></svg>");filter:invert(.8);transform:rotate(180deg)}.vue-tp-add-youtube-link-header .vue-tp-yt-header-left[data-v-3144c41c]{display:flex;align-items:center;gap:4px}.vue-tp-add-youtube-link-body[data-v-3144c41c]{display:flex;align-items:center;gap:12px;flex-wrap:wrap}@media(max-width:515px){.vue-tp-add-youtube-link-body[data-v-3144c41c]{flex-direction:column}}.vue-tp-add-youtube-link-body .vue-tp-url-input[data-v-3144c41c]{flex:1;background:rgb(var(--vue-input-background-color));border:none;border-radius:20px;padding:8px 15px;color:rgb(var(--vue-input-font-color));font-size:14px;min-width:0}@media(max-width:515px){.vue-tp-add-youtube-link-body .vue-tp-url-input[data-v-3144c41c]{width:calc(100% - 40px)}}.vue-tp-add-youtube-link-body .vue-tp-url-input[data-v-3144c41c]:focus{outline:none}.vue-tp-add-youtube-link-body .vue-tp-url-input[data-v-3144c41c]::placeholder{color:rgb(var(--vue-input-placeholder-color))}.vue-tp-add-youtube-link-body .vue-tp-action-buttons[data-v-3144c41c]{display:flex;gap:8px;flex-shrink:0}.vue-tp-youtube-preview[data-v-3144c41c]{margin-top:16px;max-width:100%;height:0;padding-bottom:56.25%;position:relative}.vue-tp-gif-loading-wrapper[data-v-3b621684]{position:relative;height:120px}.vue-tp-gif-grid.vue-tp-gif-grid-mobile[data-v-3b621684]{display:flex;flex-wrap:nowrap;gap:6px}.vue-tp-gif-grid.vue-tp-gif-grid-mobile .vue-tp-gif-item[data-v-3b621684]{flex-shrink:0}.vue-tp-gif-grid.vue-tp-gif-grid-desktop[data-v-3b621684]{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.vue-tp-gif-grid .vue-tp-gif-item[data-v-3b621684]{border-radius:8px;overflow:hidden;background-color:rgb(var(--vue-background-color-primary));cursor:pointer;margin-bottom:6px}.vue-tp-gif-grid .vue-tp-gif-item video[data-v-3b621684]{display:block;width:100%;height:auto;object-fit:cover}.vue-tp-gif-grid .vue-tp-gif-item[data-v-3b621684]:hover{opacity:.85}.vue-tp-add-gif-picker-header .vue-tp-back-button[data-v-c9d73af2]{border:none;cursor:pointer;padding:0;margin-left:5px}.vue-tp-add-gif-picker-header .vue-tp-back-button[data-v-c9d73af2]:before{content:"";display:inline-block;width:16px;height:16px;background-repeat:no-repeat;background-size:contain;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path fill='%23fff' d='M61.041 29.707L39.373 8.001a3.26 3.26 0 00-2.322-.959c-.88 0-1.704.34-2.322.959l-1.967 1.971a3.268 3.268 0 00-.958 2.326c0 .88.34 1.734.958 2.354l12.641 12.689H5.241A3.209 3.209 0 002 30.576v2.787c0 1.814 1.431 3.377 3.241 3.377h40.304L32.762 49.501a3.218 3.218 0 00-.958 2.305c0 .879.34 1.695.958 2.314l1.967 1.964c.619.62 1.442.958 2.322.958a3.26 3.26 0 002.322-.961l21.668-21.705c.62-.622.961-1.452.958-2.333a3.262 3.262 0 00-.958-2.336z'/></svg>");filter:invert(.8);transform:rotate(180deg)}.vue-tp-add-gif-picker-header .vue-tp-header-flex[data-v-c9d73af2]{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:8px}.vue-tp-add-gif-picker-header .vue-tp-header-flex .vue-tp-gif-header-right[data-v-c9d73af2]{display:flex;align-items:center;gap:12px}.vue-tp-add-gif-picker-header .vue-tp-header-flex .vue-tp-giphy-attribution[data-v-c9d73af2]{height:14px;width:auto}.vue-tp-search-wrapper[data-v-c9d73af2]{display:flex;align-items:center;gap:8px;flex-shrink:0;margin-bottom:12px}.vue-tp-search-wrapper .vue-tp-search-input-wrapper[data-v-c9d73af2]{position:relative;flex:1}.vue-tp-search-wrapper .vue-tp-search-input-wrapper .vue-tp-search-input[data-v-c9d73af2]{width:100%;box-sizing:border-box;background:rgb(var(--vue-input-background-color));border:none;border-radius:20px;padding:8px 36px 8px 15px;color:rgb(var(--vue-input-font-color));font-size:14px}.vue-tp-search-wrapper .vue-tp-search-input-wrapper .vue-tp-search-input[data-v-c9d73af2]:focus{outline:none}.vue-tp-search-wrapper .vue-tp-search-input-wrapper .vue-tp-search-input[data-v-c9d73af2]::placeholder{color:rgb(var(--vue-input-placeholder-color))}.vue-tp-search-wrapper .vue-tp-search-input-wrapper .vue-tp-search-clear-button[data-v-c9d73af2]{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:none;border:none;font-size:20px;line-height:1;cursor:pointer;color:rgb(var(--vue-input-placeholder-color));padding:0 2px}.vue-tp-search-wrapper .vue-tp-search-input-wrapper .vue-tp-search-clear-button[data-v-c9d73af2]:hover{color:rgb(var(--vue-input-font-color))}.vue-tp-gif-grid-container[data-v-c9d73af2]{flex:1;overflow-y:auto;margin-bottom:16px;min-height:120px;position:relative;height:400px}.vue-tp-gif-grid-container.vue-tp-is-mobile[data-v-c9d73af2]{overflow-y:hidden;overflow-x:auto;height:auto}.vue-tp-gif-grid-container.vue-tp-minimize[data-v-c9d73af2]{min-height:auto}.vue-tp-gif-grid-container .vue-tp-load-more-gifs-desktop[data-v-c9d73af2]{display:block;width:100%;height:10px}.vue-tp-gif-grid-container .vue-tp-load-more-gifs-mobile[data-v-c9d73af2]{flex-shrink:0;display:block;width:10px;height:120px}#vue-sidebar[data-v-264f951d]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-talking-point-info[data-v-264f951d]{display:flex;align-items:center;position:relative;min-height:30px;min-width:300px}@media(max-width:515px){.vue-tp-talking-point-info[data-v-264f951d]{min-width:inherit;width:100%}}.vue-tp-talking-point-info .vue-tp-icon[data-v-264f951d]{position:absolute;top:50%;left:-2px;margin-top:-15px;z-index:2}.vue-tp-talking-point-info .vue-tp-talking-point-text[data-v-264f951d]{position:relative;background-color:rgb(var(--vue-background-color-secondary));color:rgb(var(--vue-font-color-primary));border-top-right-radius:12px;border-bottom-right-radius:12px;padding:5px 30px 5px 22px;margin:0 0 0 12px;font-size:14px;width:100%;white-space:normal}@media(max-width:670px){.vue-tp-talking-point-info .vue-tp-talking-point-text .vue-tp-talk-about[data-v-264f951d]{display:none}}.vue-tp-talking-point-info .vue-tp-talking-point-text .vue-tp-font-bold[data-v-264f951d]{line-height:1.5}.vue-tp-talking-point-info .vue-tp-talking-point-text.vue-tp-with-dropdown[data-v-264f951d]{cursor:pointer}.vue-tp-talking-point-info .vue-tp-talking-point-text.vue-tp-with-dropdown[data-v-264f951d]:after{position:absolute;content:"";width:0;height:0;right:10px;top:50%;margin-top:-4px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:8px solid rgb(var(--vue-primary-color))}.vue-tp-talking-point-info .vue-tp-talking-point-text.vue-tp-is-loading[data-v-264f951d]{pointer-events:none}.vue-tp-talking-point-info .vue-tp-talking-point-text.vue-tp-is-loading[data-v-264f951d]:after{display:none}.vue-tp-talking-point-info .vue-tp-stories-dropdown[data-v-264f951d]{background:rgb(var(--vue-background-color-primary));border-bottom-left-radius:12px;border-bottom-right-radius:12px;position:absolute;top:100%;left:12px;right:0;max-height:70vh;overflow-y:auto;box-shadow:0 6px 8px #0000004d;z-index:2}.vue-tp-talking-point-info .vue-tp-stories-dropdown ul[data-v-264f951d]{padding:8px;margin:0;list-style:none}.vue-tp-talking-point-info .vue-tp-stories-dropdown ul li[data-v-264f951d]{padding:12px;color:rgb(var(--vue-font-color-primary));font-size:14px;font-weight:500;cursor:pointer}.vue-tp-talking-point-info .vue-tp-stories-dropdown ul li[data-v-264f951d]:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.vue-tp-talking-point-info .vue-tp-stories-dropdown ul li[data-v-264f951d]:not(:last-child){border-bottom:1px solid rgb(var(--vue-divider-color))}.vue-tp-talking-point-info .vue-tp-stories-dropdown ul li[data-v-264f951d]:hover{background-color:rgb(var(--vue-background-color-secondary))}.vue-tp-logged-out-user-avatar-wrapper[data-v-1d208694]{cursor:pointer}#vue-sidebar[data-v-3f78adc5]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-user-menu[data-v-3f78adc5]{position:absolute;display:flex;gap:16px;flex-direction:column;justify-content:space-between;color:rgb(var(--vue-menu-text));background:rgb(var(--vue-menu-accent));border-radius:8px;min-width:180px;padding:16px;top:60px;right:-10px;z-index:10}@media(max-width:450px){.vue-tp-user-menu[data-v-3f78adc5]{top:52px}}.vue-tp-user-menu .vue-tp-top-part[data-v-3f78adc5]{display:flex;justify-content:flex-start;align-items:center;gap:10px}.vue-tp-user-menu .vue-tp-top-part span[data-v-3f78adc5]{font-weight:800;font-size:16px;word-break:break-word}.vue-tp-user-menu .vue-tp-bottom-part[data-v-3f78adc5]{display:flex;justify-content:space-between}.vue-tp-user-menu .vue-tp-bottom-part a[data-v-3f78adc5],.vue-tp-user-menu .vue-tp-bottom-part span[data-v-3f78adc5]{text-decoration:none;font-weight:600;font-size:14px;color:rgb(var(--vue-menu-text));cursor:pointer}#vue-sidebar[data-v-7f08744e]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: va
1r(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-subscribe-button-wrapper[data-v-7f08744e]{position:relative;cursor:pointer}@media(max-width:515px){.vue-tp-subscribe-button-wrapper.vue-tp-hidden-on-mobile[data-v-7f08744e]{display:none}}.vue-tp-subscribe-button-wrapper.vue-tp-animate>svg[data-v-7f08744e]{animation:shake-7f08744e 1s;transform-origin:13px 5px}@keyframes shake-7f08744e{0%,to{transform:rotate(0)}10%,30%,50%,70%,90%{transform:rotate(7deg)}20%,40%,60%,80%{transform:rotate(-7deg)}}#vue-sidebar[data-v-865e4c3e]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-sidebar-header[data-v-865e4c3e]{width:100%;background-color:rgb(var(--vue-background-color-primary))}.vue-tp-sidebar-header[data-v-865e4c3e]:after{content:"";margin:auto;display:block;width:calc(100% - 32px);height:1px;background-color:rgb(var(--vue-divider-color-strong))}.vue-tp-sidebar-header .vue-tp-close-button[data-v-865e4c3e]{position:absolute;left:-16px;top:50%;margin-top:-17px;width:32px;height:32px;border-radius:50%;border:1px solid rgb(var(--vue-background-color-primary));background:rgb(var(--vue-primary-color));cursor:pointer;display:flex;align-items:center;justify-content:center;color:rgb(var(--vue-font-color-secondary))}.vue-tp-sidebar-header .vue-tp-content-wrapper[data-v-865e4c3e]{position:relative;display:flex;justify-content:space-between;gap:20px;height:70px;width:calc(100% - 60px);margin:auto}@media(max-width:450px){.vue-tp-sidebar-header .vue-tp-content-wrapper[data-v-865e4c3e]{height:60px;width:calc(100% - 40px)}}@media(max-width:390px){.vue-tp-sidebar-header .vue-tp-content-wrapper[data-v-865e4c3e]{width:calc(100% - 32px)}}.vue-tp-sidebar-header .vue-tp-content-wrapper .vue-tp-left-side[data-v-865e4c3e]{display:flex;align-items:center;gap:14px;min-width:0;width:100%}@media(max-width:450px){.vue-tp-sidebar-header .vue-tp-content-wrapper .vue-tp-left-side[data-v-865e4c3e]{margin-left:10px}}.vue-tp-sidebar-header .vue-tp-content-wrapper .vue-tp-left-side>div[data-v-865e4c3e]:not(.vue-tp-talking-point-info){margin-top:6px}.vue-tp-sidebar-header .vue-tp-content-wrapper .vue-tp-right-side[data-v-865e4c3e]{position:relative;display:flex;align-items:center}.vue-tp-sidebar-header .vue-tp-content-wrapper .vue-tp-right-side.vue-tp-hit-area[data-v-865e4c3e]:before{position:absolute;content:"";width:56px;height:100%;left:-10px}@media(max-width:515px){.vue-tp-sidebar-header .vue-tp-content-wrapper.vue-tp-dropdown-open .vue-tp-left-side[data-v-865e4c3e]{min-width:calc(100% - 16px)}}@media(max-width:515px){.vue-tp-sidebar-header .vue-tp-content-wrapper.vue-tp-dropdown-open .vue-tp-right-side[data-v-865e4c3e]{display:none}}#vue-sidebar[data-v-00a6be3b]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-app-banner[data-v-00a6be3b]{display:flex;align-items:center;justify-content:space-between;padding:0 30px}@media(max-width:450px){.vue-tp-app-banner[data-v-00a6be3b]{padding:0 20px}}@media(max-width:390px){.vue-tp-app-banner[data-v-00a6be3b]{padding:0 16px}}.vue-tp-app-banner[data-v-00a6be3b]{height:44px;background-color:rgb(var(--vue-menu-accent))}.vue-tp-app-banner__content[data-v-00a6be3b]{display:flex;align-items:center;gap:2px;min-width:0;overflow:hidden}.vue-tp-app-banner__logo[data-v-00a6be3b]{flex-shrink:0}.vue-tp-app-banner__text[data-v-00a6be3b]{font-size:13px;color:rgb(var(--vue-menu-text));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vue-tp-app-banner__text strong[data-v-00a6be3b]{font-weight:700}.vue-tp-app-banner__badges[data-v-00a6be3b]{display:flex;align-items:center;gap:5px;flex-shrink:0}.vue-tp-app-banner__badge[data-v-00a6be3b]{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;text-decoration:none}.vue-tp-app-banner__badge--apple[data-v-00a6be3b]{background-color:#000}.vue-tp-app-banner__badge--google[data-v-00a6be3b]{background-color:transparent}.vue-tp-error-message-wrapper[data-v-72692008]{position:absolute;
1left:50%;transform:translate(-50%);bottom:100%;margin-bottom:12px;width:280px;z-index:2;display:flex;flex-direction:column;gap:10px}.vue-tp-error-message-wrapper .vue-tp-message[data-v-72692008]{width:100%;text-align:center;background:rgb(var(--vue-background-color-tooltip));color:rgb(var(--vue-font-color-secondary));padding:5px 10px;border-radius:8px}.toast-enter-active[data-v-72692008],.toast-leave-active[data-v-72692008]{transition:opacity .2s ease,transform .2s ease}.toast-enter-from[data-v-72692008],.toast-leave-to[data-v-72692008]{opacity:0;transform:translateY(14px)}.toast-enter-to[data-v-72692008],.toast-leave-from[data-v-72692008]{opacity:1;transform:translateY(0)}#vue-sidebar[data-v-3e842387]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-sidebar-container[data-v-3e842387]{position:absolute;right:0;top:0;width:calc(100% - 16px);max-width:645px;min-height:100vh;background-color:rgb(var(--vue-background-color-primary));z-index:1000;box-shadow:-9px 0 12px -5px #0009}.vue-tp-sidebar-container .vue-tp-sidebar-top[data-v-3e842387]{position:sticky;top:0;z-index:1001}.vue-tp-sidebar-container .vue-tp-sidebar-content[data-v-3e842387]{padding:30px 30px 0;margin-bottom:160px}@media(max-width:450px){.vue-tp-sidebar-container .vue-tp-sidebar-content[data-v-3e842387]{padding:20px 20px 0}}@media(max-width:390px){.vue-tp-sidebar-container .vue-tp-sidebar-content[data-v-3e842387]{padding:20px 16px 0}}.vue-tp-sidebar-container .vue-tp-sidebar-content .vue-tp-load-more[data-v-3e842387]{margin-top:20px}.vue-tp-sidebar-container .vue-tp-level-two-comments-container[data-v-3e842387]{padding-left:26px;border-left:1px solid rgba(0,0,0,.2)}.vue-tp-sidebar-container .vue-tp-loading-overlay[data-v-3e842387]{position:fixed;top:0;left:auto;width:100%;max-width:645px;height:100vh;background-color:rgb(var(--vue-background-color-primary));opacity:.5;display:flex;justify-content:center;align-items:center;z-index:100}.vue-tp-sidebar-container .vue-tp-loading-overlay.vue-tp-non-blocking[data-v-3e842387]{background-color:transparent;pointer-events:none}.vue-tp-sidebar-container #vue-tp-load-more-trigger[data-v-3e842387]{display:block;width:100%;height:100px}.vue-tp-sidebar-container .vue-tp-error-messages-container[data-v-3e842387]{position:fixed;max-width:645px;width:calc(100% - 16px);bottom:130px;z-index:2;pointer-events:none}.vue-tp-add-gif-picker-wrapper[data-v-3e842387]{position:fixed;box-sizing:border-box;display:flex;flex-direction:column;background-color:rgb(var(--vue-background-color-secondary));bottom:-1px;width:calc(100% - 16px);max-width:645px;max-height:65vh;padding:16px 30px 0;border-top:1px solid rgb(var(--vue-background-color-primary))}@media(max-width:450px){.vue-tp-add-gif-picker-wrapper[data-v-3e842387]{padding:16px 20px 0}}@media(max-width:390px){.vue-tp-add-gif-picker-wrapper[data-v-3e842387]{padding:16px 12px 0}}.vue-tp-add-gif-picker-wrapper.vue-tp-with-border-radius[data-v-3e842387]{border-top-left-radius:18px;border-top-right-radius:18px}.vue-tp-add-youtube-link-wrapper[data-v-3e842387]{position:fixed;box-sizing:border-box;background-color:rgb(var(--vue-background-color-secondary));bottom:-1px;width:calc(100% - 16px);max-width:645px;padding:16px 30px;border-top:1px solid rgb(var(--vue-background-color-primary))}@media(max-width:450px){.vue-tp-add-youtube-link-wrapper[data-v-3e842387]{padding:16px 20px}}@media(max-width:390px){.vue-tp-add-youtube-link-wrapper[data-v-3e842387]{padding:16px}}.vue-tp-add-youtube-link-wrapper.vue-tp-with-border-radius[data-v-3e842387]{border-top-left-radius:18px;border-top-right-radius:18px}.story-closed-wrapper[data-v-3e842387]{position:fixed;bottom:-1px;width:calc(100% - 16px);max-width:645px;padding:16px 30px;text-align:center;color:rgb(var(--vue-font-color-comment));background:linear-gradient(0deg,white 70%,transparent)}@media(hover:hover)and (pointer:fine){.slide-down-enter-active[data-v-3e842387],.slide-down-leave-active[data-v-3e842387]{transition:all .3s ease-in-out}.slide-down-enter-from[data-v-3e842387],.slide-down-leave-to[data-v-3e842387]{bottom:-300px}}.slide-enter-active[data-v-3e842387]{transition:transform .3s ease}.slide-enter-from[data-v-3e842387]{transform:translate(100%)}.vue-tp-create-post-overlay[data-v-0be19cff]{position:fixed;inset:0;background:#0000008c;z-index:9000;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box;font-family:DM Sans,sans-serif;font-size:16px}.vue-tp-create-post-modal[data-v-0be19cff]{background:rgb(var(--vue-background-color-secondary));color:rgb(var(--vue-font-color-primary));border-radius:18px;width:100%;max-width:645px;max-height:80vh;display:flex;flex-direction:column;overflow-y:auto;padding:20px;box-sizing:border-box}.vue-tp-cpm-header[data-v-0be19cff]{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;flex-shrink:0;padding-left:12px;border-left:5px solid rgb(var(--vue-primary-color))}.vue-tp-cpm-header strong[data-v-0be19cff]{font-weight:700}.vue-tp-cpm-header .vue-tp-cpm-close[data-v-0be19cff]{background:none;border:none;font-size:24px;line-height:1;cursor:pointer;padding:0;color:rgb(var(--vue-font-color-primary));flex-shrink:0}.vue-tp-cpm-body[data-v-0be19cff]{display:flex;align-items:center;gap:16px;margin-bottom:6px}.vue-tp-cpm-body .vue-tp-cpm-input-wrapper[data-v-0be19cff]{background:rgb(var(--vue-input-background-color));border-radius:20px;width:100%;padding:8px 15px;box-sizing:border-box}.vue-tp-cpm-body .vue-tp-cpm-input-wrapper .vue-tp-cpm-input[data-v-0be19cff]{word-break:break-word;color:rgb(var(--vue-input-font-color));min-height:72px}.vue-tp-cpm-body .vue-tp-cpm-input-wrapper .vue-tp-cpm-input.vue-tp-cpm-input--has-media[data-v-0be19cff]{min-height:0}.vue-tp-cpm-body .vue-tp-cpm-input-wrapper .vue-tp-cpm-input[data-v-0be19cff]:focus{outline:none}.vue-tp-cpm-body .vue-tp-cpm-input-wrapper .vue-tp-cpm-input[data-v-0be19cff]:empty:before{content:attr(data-placeholder);pointer-events:none;display:block;color:rgb(var(--vue-input-placeholder-color))}.vue-tp-cpm-youtube-wrapper[data-v-0be19cff]{position:relative;margin-top:16px;width:300px;max-width:100%;height:0;padding-bottom:56.25%}.vue-tp-cpm-gif-wrapper[data-v-0be19cff]{position:relative;margin-top:16px;
1width:200px;max-width:100%}.vue-tp-cpm-gif-preview[data-v-0be19cff]{display:block;width:100%;height:auto;border-radius:8px}.vue-tp-cpm-media-close[data-v-0be19cff]{position:absolute;right:-13px;top:-13px;width:26px;height:26px;border-radius:50%;border:1px solid rgb(var(--vue-background-color-primary));background:rgb(var(--vue-primary-color));cursor:pointer;z-index:10}.vue-tp-cpm-media-close[data-v-0be19cff]:before,.vue-tp-cpm-media-close[data-v-0be19cff]:after{position:absolute;content:"";left:5px;top:12px;height:2px;width:16px;background-color:rgb(var(--vue-font-color-secondary))}.vue-tp-cpm-media-close[data-v-0be19cff]:before{transform:rotate(45deg)}.vue-tp-cpm-media-close[data-v-0be19cff]:after{transform:rotate(-45deg)}.vue-tp-cpm-error-messages-container[data-v-0be19cff]{position:relative;z-index:2;pointer-events:none}.vue-tp-cpm-error-messages-container[data-v-0be19cff] .vue-tp-message{background:rgb(var(--vue-primary-color))}.vue-tp-cpm-media-buttons[data-v-0be19cff]{display:flex;align-items:center;gap:6px;min-height:30px}.vue-tp-cpm-media-buttons .vue-tp-cpm-yt-button[data-v-0be19cff]{background:none;border:none;padding:4px;cursor:pointer;display:flex;align-items:center}.vue-tp-cpm-media-buttons .vue-tp-cpm-gif-button[data-v-0be19cff]{background:none;border:none;cursor:pointer;font-weight:700;font-size:13px;letter-spacing:.5px;color:rgb(var(--vue-font-color-primary))}.vue-tp-surfaced-user-comment[data-v-0fa6a4a2]{position:relative;margin-bottom:24px}.vue-tp-comment-container[data-v-0fa6a4a2]{display:flex;flex-direction:column;gap:8px;background:rgba(var(--vue-primary-color),.15);border-radius:8px;padding:2rem}@supports (background: color-mix(in oklab,white,black)){.vue-tp-comment-container[data-v-0fa6a4a2]{background:color-mix(in oklab,rgb(var(--vue-background-color-primary)) 88%,rgb(var(--vue-primary-color)) 12%)}}.vue-tp-comment-container .vue-tp-comment-media[data-v-0fa6a4a2]{width:400px;max-width:100%}.vue-tp-comment-container .vue-tp-comment-media img[data-v-0fa6a4a2]{width:100%;border-radius:8px}.vue-tp-comment-container .vue-tp-giphy-media[data-v-0fa6a4a2]{width:200px;max-width:100%;margin-top:4px}.vue-tp-comment-container .vue-tp-giphy-media>video[data-v-0fa6a4a2]{display:block;width:100%;height:auto;border-radius:8px}.vue-tp-comment-container .vue-tp-giphy-attribution[data-v-0fa6a4a2]{display:flex;align-items:center;justify-content:space-between;height:14px;width:200px;margin-top:8px}.vue-tp-comment-container .vue-tp-giphy-attribution img[data-v-0fa6a4a2]{height:14px}.vue-tp-comment-user-info[data-v-0fa6a4a2]{display:flex;flex-flow:row wrap;align-items:center;gap:0 12px;margin-bottom:8px}.vue-tp-user-name[data-v-0fa6a4a2]{color:rgb(var(--vue-font-color-comment));font-size:14px;font-weight:700}.vue-tp-time-label[data-v-0fa6a4a2]{color:rgb(var(--vue-font-color-muted));font-size:14px;font-weight:700;margin-left:8px}.vue-tp-parent-comment-author[data-v-0fa6a4a2]{display:block;background:#0000001a;padding:4px 10px 10px;border-radius:8px}.vue-tp-parent-comment-author .vue-tp-replying-to[data-v-0fa6a4a2]{color:rgb(var(--vue-font-color-comment));font-size:13px}.vue-tp-parent-comment-author .vue-tp-avatar-name-wrapper[data-v-0fa6a4a2]{display:flex;justify-content:flex-start;align-items:center;gap:12px;max-width:100%;margin-top:3px}.vue-tp-parent-comment-author .vue-tp-user-name[data-v-0fa6a4a2]{font-size:13px}.vue-tp-youtube-wrapper[data-v-0fa6a4a2]{position:relative;margin-top:10px;max-width:100%;height:0;padding-bottom:56.25%}.vue-tp-yt-image-wrapper[data-v-0fa6a4a2]{cursor:pointer;position:relative;width:200px;max-width:100%}.vue-tp-yt-image-wrapper[data-v-0fa6a4a2]:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:0;height:0;border-style:solid;border-width:14px 0 14px 24px;border-color:transparent transparent transparent white;pointer-events:none}.vue-tp-yt-image-wrapper .vue-tp-youtube-thumbnail[data-v-0fa6a4a2]{width:100%;border-radius:8px}[data-v-0fa6a4a2] .coral-comment-content-link{color:rgb(var(--vue-font-color-comment))}.grv-talking-point__footer[data-v-0fa6a4a2]{border-top:1px solid rgba(var(--vue-font-color-comment),.3);color:rgb(var(--vue-font-color-comment))}.grv-talking-point__footer .grv-talking-point__replies[data-v-0fa6a4a2]:before{filter:invert(.8)}.grv-talking-point__footer .grv-talking-point__join-text[data-v-0fa6a4a2]:before,.grv-talking-point__footer .grv-talking-point__join-text[data-v-0fa6a4a2]:after{filter:invert(.8)}#vue-sidebar[data-v-fd3d25c1]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-badge-modal-overlay[data-v-fd3d25c1]{position:fixed;display:flex;justify-content:center;align-items:center;pointer-events:auto;z-index:10000;width:100%;height:100%;top:0;left:0;background-color:#0000008c}.vue-tp-badge-modal-overlay .vue-tp-badge-modal-content[data-v-fd3d25c1]{display:flex;flex-direction:column;align-items:center;gap:8px;padding:4px 0;min-width:250px;max-width:370px}.vue-tp-badge-modal-overlay .vue-tp-badge-modal-content .vue-tp-badge-modal-title[data-v-fd3d25c1]{font-size:16px;font-weight:700;text-align:center;color:rgb(var(--vue-font-color-primary));margin:0}.vue-tp-badge-modal-overlay .vue-tp-badge-modal-content .vue-tp-badge-modal-text[data-v-fd3d25c1]{font-size:14px;text-align:center;color:rgb(var(--vue-font-color-primary));margin:0}.vue-tp-badge-modal-overlay .vue-tp-badge-modal-content .vue-tp-badge-modal-text strong[data-v-fd3d25c1]{font-weight:700}.vue-tp-badge-modal-overlay .vue-tp-badge-modal-content .vue-tp-progress-bar-wrapper[data-v-fd3d25c1]{position:relative;display:flex;align-items:center;justify-content:space-between;margin:30px auto;width:75%}.vue-tp-badge-modal-overlay .vue-tp-badge-modal-content .vue-tp-progress-bar-wrapper .vue-tp-progress-bar[data-v-fd3d25c1]{width:100%;height:8px;background-color:#ddd;border-radius:16px}.vue-tp-badge-modal-overlay .vue-tp-badge-modal-content .vue-tp-progress-bar-wrapper .vue-tp-progress-bar .vue-tp-progress-filled[data-v-fd3d25c1]{height:100%;background-color:#cd7f32;border-radius:16px}.vue-tp-badge-modal-overlay .vue-tp-badge-modal-content .vue-tp-progress-bar-wrapper .vue-tp-icon-badge[data-v-fd3d25c1]{position:absolute;right:0}.slide-up-enter-active[data-v-fd3d25c1],.slide-up-leave-active[data-v-fd3d25c1]{transition:all .2s ease}.slide-up-enter-from[data-v-fd3d25c1],.slide-up-leave-to[data-v-fd3d25c1]{transform:translateY(10px);opacity:0}
1#vue-sidebar[data-v-c0dfb86e]{--vue-primary-color: var(--tp-primary, 34, 103, 224);--vue-font-color-primary: var(--tp-font-color-primary, 0, 0, 0);--vue-font-color-secondary: var(--tp-font-color-secondary, 255, 255, 255);--vue-font-color-comment: var(--tp-font-color-comment, 74, 74, 74);--vue-font-color-muted: var(--tp-font-color-muted, 128, 128, 128);--vue-font-color-error: var(--tp-font-color-error, 211, 75, 64);--vue-font-color-light-block: var(--tp-font-color-light-block, 60, 60, 60);--vue-icon-color-like: var(--tp-icon-color-like, 211, 75, 64);--vue-icon-color-comments: var(--tp-icon-color-comments, 179, 179, 179);--vue-background-color-primary: var(--tp-background-color-primary, 255, 255, 255);--vue-background-color-secondary: var(--tp-background-color-secondary, 235, 235, 235);--vue-background-color-tooltip: var(--tp-background-color-tooltip, 153, 153, 153);--vue-input-background-color: var(--tp-input-background-color, 221, 221, 221);--vue-input-font-color: var(--tp-input-font-color, 0, 0, 0);--vue-input-placeholder-color: var(--tp-input-placeholder-color, 153, 153, 153);--vue-divider-color: var(--tp-divider-color, 221, 221, 221);--vue-divider-color-strong: var(--tp-divider-color-strong, 179, 179, 179);--vue-menu-accent: var(--tp-menu-accent, 33, 38, 48);--vue-menu-text: var(--tp-menu-text, 255, 255, 255)}.vue-tp-create-post-wrapper[data-v-c0dfb86e]{display:flex;justify-content:center;padding:20px 0}.vue-tp-create-post-button[data-v-c0dfb86e]{display:flex;align-items:center;gap:8px;white-space:nowrap;border-radius:20px;padding:10px 20px;font-size:16px;font-family:DM Sans,sans-serif;background:linear-gradient(to bottom right,rgb(var(--vue-primary-color)) 20%,color-mix(in srgb,rgb(var(--vue-primary-color)) 90%,#fff));color:rgb(var(--vue-font-color-secondary));border:1px solid rgb(var(--vue-font-color-secondary));cursor:pointer}.vue-tp-sidebar-wrapper[data-v-c0dfb86e]{overflow-x:hidden}.vue-tp-sidebar-wrapper.vue-tp-sidebar-wrapper-open[data-v-c0dfb86e]{background:#ffffff4d;height:100%;width:100%;top:0;left:0;position:fixed;overflow-y:scroll}.vue-tp-sidebar-wrapper .vue-tp-outside-sidebar-area[data-v-c0dfb86e]{position:fixed;top:0;left:0;width:calc(100% - 661px);height:100%}@media(max-width:670px){.vue-tp-sidebar-wrapper .vue-tp-outside-sidebar-area[data-v-c0dfb86e]{width:16px}}
2/*$vite$:1*/`,document.head.appendChild(Ks);function Si(e){const t=Object.create(null);for(const o of e.split(","))t[o]=1;return o=>o in t}const ze={},nn=[],Yt=()=>{},Xs=()=>!1,fr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vr=e=>e.startsWith("onUpdate:"),nt=Object.assign,Ti=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},id=Object.prototype.hasOwnProperty,Ue=(e,t)=>id.call(e,t),de=Array.isArray,wo=e=>In(e)==="[object Map]",mr=e=>In(e)==="[object Set]",Js=e=>In(e)==="[object Date]",ye=e=>typeof e=="function",je=e=>typeof e=="string",Ot=e=>typeof e=="symbol",$e=e=>e!==null&&typeof e=="object",Zs=e=>($e(e)||ye(e))&&ye(e.then)&&ye(e.catch),Qs=Object.prototype.toString,In=e=>Qs.call(e),sd=e=>In(e).slice(8,-1),ea=e=>In(e)==="[object Object]",gr=e=>je(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,An=Si(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),hr=e=>{const t=Object.create(null);return(o=>t[o]||(t[o]=e(o)))},ad=/-\w/g,wt=hr(e=>e.replace(ad,t=>t.slice(1).toUpperCase())),ld=/\B([A-Z])/g,$o=hr(e=>e.replace(ld,"-$1").toLowerCase()),br=hr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ei=hr(e=>e?`on${br(e)}`:""),qt=(e,t)=>!Object.is(e,t),yr=(e,...t)=>{for(let o=0;o<e.length;o++)e[o](...t)},ta=(e,t,o,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:o})},Ii=e=>{const t=parseFloat(e);return isNaN(t)?e:t},cd=e=>{const t=je(e)?Number(e):NaN;return isNaN(t)?e:t};let oa;const wr=()=>oa||(oa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Tt(e){if(de(e)){const t={};for(let o=0;o<e.length;o++){const n=e[o],r=je(n)?fd(n):Tt(n);if(r)for(const i in r)t[i]=r[i]}return t}else if(je(e)||$e(e))return e}const ud=/;(?![^(]*\))/g,dd=/:([^]+)/,pd=/\/\*[^]*?\*\//g;function fd(e){const t={};
vendor: 11,486 bytes, line 2
2return e.replace(pd,"").split(ud).forEach(o=>{if(o){const n=o.split(dd);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function De(e){let t="";if(je(e))t=e;else if(de(e))for(let o=0;o<e.length;o++){const n=De(e[o]);n&&(t+=n+" ")}else if($e(e))for(const o in e)e[o]&&(t+=o+" ");return t.trim()}const vd=Si("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function na(e){return!!e||e===""}function md(e,t){if(e.length!==t.length)return!1;let o=!0;for(let n=0;o&&n<e.length;n++)o=_r(e[n],t[n]);return o}function ra(e,t){if(e.size!==t.size)return!1;const o=Array.from(t),n=new Uint8Array(o.length);for(const r of e){let i=-1;for(let s=0;s<o.length;s++)if(!n[s]&&_r(r,o[s])){i=s;break}if(i<0)return!1;n[i]=1}return!0}function _r(e,t){if(e===t)return!0;let o=Js(e),n=Js(t);if(o||n)return o&&n?e.getTime()===t.getTime():!1;if(o=Ot(e),n=Ot(t),o||n)return e===t;if(o=de(e),n=de(t),o||n)return o&&n?md(e,t):!1;if(o=$e(e),n=$e(t),o||n){if(!o||!n)return!1;if(o=wo(e),n=wo(t),o||n||(o=mr(e),n=mr(t),o||n))return o&&n?ra(e,t):!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const s in e){const a=e.hasOwnProperty(s),l=t.hasOwnProperty(s);if(a&&!l||!a&&l||!_r(e[s],t[s]))return!1}}return String(e)===String(t)}const ia=e=>!!(e&&e.__v_isRef===!0),Ce=e=>je(e)?e:e==null?"":de(e)||$e(e)&&(e.toString===Qs||!ye(e.toString))?ia(e)?Ce(e.value):JSON.stringify(e,sa,2):String(e),sa=(e,t)=>ia(t)?sa(e,t.value):wo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[n,r],i)=>(o[Ai(n,i)+" =>"]=r,o),{})}:mr(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Ai(o))}:Ot(t)?Ai(t):$e(t)&&!de(t)&&!ea(t)?String(t):t,Ai=(e,t="")=>{var o;return Ot(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};let st;class aa{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&st&&(st.active?(this.parent=st,this.index=(st.scopes||(st.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes){const n=this.scopes.slice();for(t=0,o=n.length;t<o;t++)n[t].pause()}for(t=0,o=this.effects.length;t<o;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,o;if(this.scopes){const r=this.scopes.slice();for(t=0,o=r.length;t<o;t++)r[t].resume()}const n=this.effects.slice();for(t=0,o=n.length;t<o;t++)n[t].resume()}}run(t){if(this._active){const o=st;try{return st=this,t()}finally{st=o}}}on(){++this._on===1&&(this.prevScope=st,st=this)}off(){if(this._on>0&&--this._on===0){if(st===this)st=this.prevScope;else{let t=st;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let o,n;for(o=0,n=this.effects.length;o<n;o++)this.effects[o].stop();for(this.effects.length=0,o=0,n=this.cleanups.length;o<n;o++)this.cleanups[o]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(o=0,n=r.length;o<n;o++)r[o].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function la(e){return new aa(e)}function ca(){return st}function gd(e,t=!1){st&&st.cleanups.push(e)}let Ge;const Oi=new WeakSet;class ua{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,st&&(st.active?st.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Oi.has(this)&&(Oi.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||pa(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ha(this),fa(this);const t=Ge,o=Ht;Ge=this,Ht=!0;try{return this.fn()}finally{va(this),Ge=t,Ht=o,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Pi(t);this.deps=this.depsTail=void 0,ha(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Oi.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Mi(this)&&this.run()}get dirty(){return Mi(this)}}let da=0,On,Ln;function pa(e,t=!1){if(e.flags|=8,t){e.next=Ln,Ln=e;return}e.next=On,On=e}function Li(){da++}function Ri(){if(--da>0)return;if(Ln){let t=Ln;for(Ln=void 0;t;){const o=t.next;t.next=void 0,t.flags&=-9,t=o}}let e;for(;On;){let t=On;for(On=void 0;t;){const o=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=o}}if(e)throw e}function fa(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function va(e){let t,o=e.depsTail,n=o;for(;n;){const r=n.prevDep;n.version===-1?(n===o&&(o=r),Pi(n),hd(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=o}function Mi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ma(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ma(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Rn)||(e.globalVersion=Rn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Mi(e))))return;e.flags|=2;const t=e.dep,o=Ge,n=Ht;Ge=e,Ht=!0;try{fa(e);const r=e.fn(e._value);(t.version===0||qt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Ge=o,Ht=n,va(e),e.flags&=-3}}function Pi(e,t=!1){const{dep:o,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),o.subs===e&&(o.subs=n,!n&&o.computed)){o.computed.flags&=-5;for(let i=o.computed.deps;i;i=i.nextDep)Pi(i,!0)}!t&&!--o.sc&&o.map&&o.map.delete(o.key)}function hd(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Ht=!0;const ga=[];function Kt(){ga.push(Ht),Ht=!1}function Xt(){const e=ga.pop();Ht=e===void 0?!0:e}function ha(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=Ge;Ge=void 0;try{t()}finally{Ge=o}}}let Rn=0;class bd{constructor(t,o){this.sub=t,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Di{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Ge||!Ht||Ge===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==Ge)o=this.activeLink=new bd(Ge,this),Ge.deps?(o.prevDep=Ge.depsTail,Ge.depsTail.nextDep=o,Ge.depsTail=o):Ge.deps=Ge.depsTail=o,ba(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const n=o.nextDep;n.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=n),o.prevDep=Ge.depsTail,o.nextDep=void 0,Ge.depsTail.nextDep=o,Ge.depsTail=o,Ge.deps===o&&(Ge.deps=n)}return o}trigger(t){this.version++,Rn++,this.notify(t)}notify(t){Li();try{for(let o=this.subs;o;o=o.prevSub)o.sub.notify()&&o.sub.dep.notify()}finally{Ri()}}}function ba(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)ba(n)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),e.dep.subs=e}}const xr=new WeakMap,Bo=Symbol(""),$i=Symbol(""),Mn=Symbol("");function vt(e,t,o){if(Ht&&Ge){let n=xr.get(e);n||xr.set(e,n=new Map);let r=n.get(o);r||(n.set(o,r=new Di),r.map=n,r.key=o),r.track()}}function co(e,t,o,n,r,i){const s=xr.get(e);if(!s){Rn++;return}const a=l=>{l&&l.trigger()};if(Li(),t==="clear")s.forEach(a);else{const l=de(e),u=l&&gr(o);if(l&&o==="length"){const c=Number(n);s.forEach((d,p)=>{(p==="length"||p===Mn||!Ot(p)&&p>=c)&&a(d)})}else switch((o!==void 0||s.has(void 0))&&a(s.get(o)),u&&a(s.get(Mn)),t){case"add":l?u&&a(s.get("length")):(a(s.get(Bo)),wo(e)&&a(s.get($i)));break;case"delete":l||(a(s.get(Bo)),wo(e)&&a(s.get($i)));break;case"set":wo(e)&&a(s.get(Bo));break}}Ri()}function yd(e,t){const o=xr.get(e);return o&&o.get(t)}function rn(e){const t=Ae(e);return t===e?t:(vt(t,"iterate",Mn),Lt(e)?t:t.map(jt))}function Cr(e){return vt(e=Ae(e),"iterate",Mn),e}function Jt(e,t){return po(e)?an(Zt(e)?jt(t):t):jt(t)}const wd={__proto__:null,[Symbol.iterator](){return Bi(this,Symbol.iterator,e=>Jt(this,e))},concat(...e){return rn(this).concat(...e.map(t=>de(t)?rn(t):t))},entries(){return Bi(this,"entries",e=>(e[1]=Jt(this,e[1]),e))},every(e,t){return uo(this,"every",e,t,void 0,arguments)},filter(e,t){return uo(this,"filter",e,t,o=>o.map(n=>Jt(this,n)),arguments)},find(e,t){return uo(this,"find",e,t,o=>Jt(this,o),arguments)},findIndex(e,t){return uo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return uo(this,"findLast",e,t,o=>Jt(this,o),arguments)},findLastIndex(e,t){return uo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return uo(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ni(this,"includes",e)},indexOf(...e){return Ni(this,"indexOf",e)},join(e){return rn(this).join(e)},lastIndexOf(...e){return Ni(this,"lastIndexOf",e)},map(e,t){return uo(this,"map",e,t,void 0,arguments)},pop(){return Pn(this,"pop")},push(...e){return Pn(this,"push",e)},reduce(e,...t){return ya(this,"reduce",e,t)},reduceRight(e,...t){return ya(this,"reduceRight",e,t)},shift(){return Pn(this,"shift")},some(e,t){return uo(this,"some",e,t,void 0,arguments)},splice(...e){return Pn(this,"splice",e)},toReversed(){return rn(this).toReversed()},toSorted(e){return rn(this).toSorted(e)},toSpliced(...e){return rn(this).toSpliced(...e)},unshift(...e){return Pn(this,"unshift",e)},values(){return Bi(this,"values",e=>Jt(this,e))}};function Bi(e,t,o){const n=Cr(e),r=n[t]();return n!==e&&!Lt(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=o(i.value)),i}),r}const _d=Array.prototype;function uo(e,t,o,n,r,i){const s=Cr(e),a=s!==e&&!Lt(e),l=s[t];if(l!==_d[t]){const d=l.apply(e,i);return a?jt(d):d}let u=o;s!==e&&(a?u=function(d,p){return o.call(this,Jt(e,d),p,e)}:o.length>2&&(u=function(d,p){return o.call(this,d,p,e)}));const c=l.call(s,u,n);return a&&r?r(c):c}function ya(e,t,o,n){const r=Cr(e),i=r!==e&&!Lt(e);let s=o,a=!1;r!==e&&(i?(a=n.length===0,s=function(u,c,d){return a&&(a=!1,u=Jt(e,u)),o.call(this,u,Jt(e,c),d,e)}):o.length>3&&(s=function(u,c,d){return o.call(this,u,c,d,e)}));const l=r[t](s,...n);return a?Jt(e,l):l}function Ni(e,t,o){const n=Ae(e);vt(n,"iterate",Mn);const r=n[t](...o);return(r===-1||r===!1)&&Ir(o[0])?(o[0]=Ae(o[0]),n[t](...o)):r}function Pn(e,t,o=[]){Kt(),Li();const n=Ae(e)[t].apply(e,o);return Ri(),Xt(),n}const xd=Si("__proto__,__v_isRef,__isVue"),wa=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ot));function Cd(e){Ot(e)||(e=String(e));const t=Ae(this);return vt(t,"has",e),t.hasOwnProperty(e)}class _a{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,n){if(o==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(o==="__v_isReactive")return!r;if(o==="__v_isReadonly")return r;if(o==="__v_isShallow")return i;if(o==="__v_raw")return n===(r?i?Ea:Ta:i?Sa:ka).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=de(t);if(!r){let l;if(s&&(l=wd[o]))return l;if(o==="hasOwnProperty")return Cd}const a=Reflect.get(t,o,Ve(t)?t:n);if((Ot(o)?wa.has(o):xd(o))||(r||vt(t,"get",o),i))return a;if(Ve(a)){const l=s&&gr(o)?a:a.value;return r&&$e(l)?zi(l):l}return $e(a)?r?zi(a):sn(a):a}}class xa extends _a{constructor(t=!1){super(!1,t)}set(t,o,n,r){let i=t[o];const s=de(t)&&gr(o);if(!this._isShallow){const u=po(i);
vendor: 4,177 bytes, line 2
2if(!Lt(n)&&!po(n)&&(i=Ae(i),n=Ae(n)),!s&&Ve(i)&&!Ve(n))return u||(i.value=n),!0}const a=s?Number(o)<t.length:Ue(t,o),l=Reflect.set(t,o,n,Ve(t)?t:r);return t===Ae(r)&&l&&(a?qt(n,i)&&co(t,"set",o,n):co(t,"add",o,n)),l}deleteProperty(t,o){const n=Ue(t,o);t[o];const r=Reflect.deleteProperty(t,o);return r&&n&&co(t,"delete",o,void 0),r}has(t,o){const n=Reflect.has(t,o);return(!Ot(o)||!wa.has(o))&&vt(t,"has",o),n}ownKeys(t){return vt(t,"iterate",de(t)?"length":Bo),Reflect.ownKeys(t)}}class Ca extends _a{constructor(t=!1){super(!0,t)}set(t,o){return!0}deleteProperty(t,o){return!0}}const kd=new xa,Sd=new Ca,Td=new xa(!0),Ed=new Ca(!0),Ui=e=>e,kr=e=>Reflect.getPrototypeOf(e);function Id(e,t,o){return function(...n){const r=this.__v_raw,i=Ae(r),s=wo(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=r[e](...n),c=o?Ui:t?an:jt;return!t&&vt(i,"iterate",l?$i:Bo),nt(Object.create(u),{next(){const{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:a?[c(d[0]),c(d[1])]:c(d),done:p}}})}}function Sr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ad(e,t){const o={get(r){const i=this.__v_raw,s=Ae(i),a=Ae(r);e||(qt(r,a)&&vt(s,"get",r),vt(s,"get",a));const{has:l}=kr(s),u=t?Ui:e?an:jt;if(l.call(s,r))return u(i.get(r));if(l.call(s,a))return u(i.get(a));i!==s&&i.get(r)},get size(){const r=this.__v_raw;return!e&&vt(Ae(r),"iterate",Bo),r.size},has(r){const i=this.__v_raw,s=Ae(i),a=Ae(r);return e||(qt(r,a)&&vt(s,"has",r),vt(s,"has",a)),r===a?i.has(r):i.has(r)||i.has(a)},forEach(r,i){const s=this,a=s.__v_raw,l=Ae(a),u=t?Ui:e?an:jt;return!e&&vt(l,"iterate",Bo),a.forEach((c,d)=>r.call(i,u(c),u(d),s))}};return nt(o,e?{add:Sr("add"),set:Sr("set"),delete:Sr("delete"),clear:Sr("clear")}:{add(r){const i=Ae(this),s=kr(i),a=Ae(r),l=!t&&!Lt(r)&&!po(r)?a:r;return s.has.call(i,l)||qt(r,l)&&s.has.call(i,r)||qt(a,l)&&s.has.call(i,a)||(i.add(l),co(i,"add",l,l)),this},set(r,i){!t&&!Lt(i)&&!po(i)&&(i=Ae(i));const s=Ae(this),{has:a,get:l}=kr(s);let u=a.call(s,r);u||(r=Ae(r),u=a.call(s,r));const c=l.call(s,r);return s.set(r,i),u?qt(i,c)&&co(s,"set",r,i):co(s,"add",r,i),this},delete(r){const i=Ae(this),{has:s,get:a}=kr(i);let l=s.call(i,r);l||(r=Ae(r),l=s.call(i,r)),a&&a.call(i,r);const u=i.delete(r);return l&&co(i,"delete",r,void 0),u},clear(){const r=Ae(this),i=r.size!==0,s=r.clear();return i&&co(r,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(r=>{o[r]=Id(r,e,t)}),o}function Tr(e,t){const o=Ad(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(Ue(o,r)&&r in n?o:n,r,i)}const Od={get:Tr(!1,!1)},Ld={get:Tr(!1,!0)},Rd={get:Tr(!0,!1)},Md={get:Tr(!0,!0)},ka=new WeakMap,Sa=new WeakMap,Ta=new WeakMap,Ea=new WeakMap;function Pd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sn(e){return po(e)?e:Er(e,!1,kd,Od,ka)}function Dd(e){return Er(e,!1,Td,Ld,Sa)}function zi(e){return Er(e,!0,Sd,Rd,Ta)}function D2(e){return Er(e,!0,Ed,Md,Ea)}function Er(e,t,o,n,r){if(!$e(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=r.get(e);if(i)return i;const s=Pd(sd(e));if(s===0)return e;const a=new Proxy(e,s===2?n:o);return r.set(e,a),a}function Zt(e){return po(e)?Zt(e.__v_raw):!!(e&&e.__v_isReactive)}function po(e){return!!(e&&e.__v_isReadonly)}function Lt(e){return!!(e&&e.__v_isShallow)}function Ir(e){return e?!!e.__v_raw:!1}function Ae(e){const t=e&&e.__v_raw;return t?Ae(t):e}function Fi(e){return!Ue(e,"__v_skip")&&Object.isExtensible(e)&&ta(e,"__v_skip",!0),e}const jt=e=>$e(e)?sn(e):e,an=e=>$e(e)?zi(e):e;function Ve(e){return e?e.__v_isRef===!0:!1}function S(e){return $d(e,!1)}function $d(e,t){return Ve(e)?e:new Bd(e,t)}class Bd{constructor(t,o){this.dep=new Di,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:Ae(t),this._value=o?t:jt(t),this.__v_isShallow=o}get value(){return this.dep.track(),this._value}set value(t){const o=this._rawValue,n=this.__v_isShallow||Lt(t)||po(t);t=n?t:Ae(t),qt(t,o)&&(this._rawValue=t,this._value=n?t:jt(t),this.dep.trigger())}}function T(e){return Ve(e)?e.value:e}const Nd={get:(e,t,o)=>
vendor: 2,683 bytes, line 2
2t==="__v_raw"?e:T(Reflect.get(e,t,o)),set:(e,t,o,n)=>{const r=e[t];return Ve(r)&&!Ve(o)?(r.value=o,!0):Reflect.set(e,t,o,n)}};function Ia(e){return Zt(e)?e:new Proxy(e,Nd)}function Ud(e){const t=de(e)?new Array(e.length):{};for(const o in e)t[o]=Aa(e,o);return t}class zd{constructor(t,o,n){this._object=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=Ot(o)?o:String(o),this._raw=Ae(t);let r=!0,i=t;if(!de(t)||Ot(this._key)||!gr(this._key))do r=!Ir(i)||Lt(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=T(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ve(this._raw[this._key])){const o=this._object[this._key];if(Ve(o)){o.value=t;return}}this._object[this._key]=t}get dep(){return yd(this._raw,this._key)}}class Fd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Hd(e,t,o){return Ve(e)?e:ye(e)?new Fd(e):$e(e)&&arguments.length>1?Aa(e,t,o):S(e)}function Aa(e,t,o){return new zd(e,t,o)}class jd{constructor(t,o,n){this.fn=t,this.setter=o,this._value=void 0,this.dep=new Di(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Rn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!o,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Ge!==this)return pa(this,!0),!0}get value(){const t=this.dep.track();return ma(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Gd(e,t,o=!1){let n,r;return ye(e)?n=e:(n=e.get,r=e.set),new jd(n,r,o)}const Ar={},Or=new WeakMap;let No;function Vd(e,t=!1,o=No){if(o){let n=Or.get(o);n||Or.set(o,n=[]),n.push(e)}}function Wd(e,t,o=ze){const{immediate:n,deep:r,once:i,scheduler:s,augmentJob:a,call:l}=o,u=I=>r?I:Lt(I)||r===!1||r===0?fo(I,1):fo(I);let c,d,p,y,_=!1,k=!1;if(Ve(e)?(d=()=>e.value,_=Lt(e)):Zt(e)?(d=()=>u(e),_=!0):de(e)?(k=!0,_=e.some(I=>Zt(I)||Lt(I)),d=()=>e.map(I=>{if(Ve(I))return I.value;if(Zt(I))return u(I);if(ye(I))return l?l(I,2):I()})):ye(e)?t?d=l?()=>l(e,2):e:d=()=>{if(p){Kt();try{p()}finally{Xt()}}const I=No;No=c;try{return l?l(e,3,[y]):e(y)}finally{No=I}}:d=Yt,t&&r){const I=d,M=r===!0?1/0:r;d=()=>fo(I(),M)}const R=ca(),U=()=>{c.stop(),R&&R.active&&Ti(R.effects,c)};if(i&&t){const I=t;t=(...M)=>{const D=I(...M);return U(),D}}let A=k?new Array(e.length).fill(Ar):Ar;const P=I=>{if(!(!(c.flags&1)||!c.dirty&&!I))if(t){const M=c.run();if(I||r||_||(k?M.some((D,$)=>qt(D,A[$])):qt(M,A))){p&&p();const D=No;No=c;try{const $=[M,A===Ar?void 0:k&&A[0]===Ar?[]:A,y];A=M,l?l(t,3,$):t(...$)}finally{No=D}}}else c.run()};
vendor: 5,392 bytes, lines 2-5
2return a&&a(P),c=new ua(d),c.scheduler=s?()=>s(P,!1):P,y=I=>Vd(I,!1,c),p=c.onStop=()=>{const I=Or.get(c);if(I){if(l)l(I,4);else for(const M of I)M();Or.delete(c)}},t?n?P(!0):A=c.run():s?s(P.bind(null,!0),!0):c.run(),U.pause=c.pause.bind(c),U.resume=c.resume.bind(c),U.stop=U,U}function fo(e,t=1/0,o){if(t<=0||!$e(e)||e.__v_skip||(o=o||new Map,(o.get(e)||0)>=t))return e;if(o.set(e,t),t--,Ve(e))fo(e.value,t,o);else if(de(e))for(let n=0;n<e.length;n++)fo(e[n],t,o);else if(mr(e)||wo(e))e.forEach(n=>{fo(n,t,o)});else if(ea(e)){for(const n in e)fo(e[n],t,o);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&fo(e[n],t,o)}return e}const Dn=[];let Hi=!1;function $2(e,...t){if(Hi)return;Hi=!0,Kt();const o=Dn.length?Dn[Dn.length-1].component:null,n=o&&o.appContext.config.warnHandler,r=Yd();if(n)ln(n,o,11,[e+t.map(i=>{var s,a;return(a=(s=i.toString)==null?void 0:s.call(i))!=null?a:JSON.stringify(i)}).join(""),o&&o.proxy,r.map(({vnode:i})=>`at <${$l(o,i.type)}>`).join(`
3`),r]);else{const i=[`[Vue warn]: ${e}`,...t];r.length&&i.push(`
4`,...qd(r)),console.warn(...i)}Xt(),Hi=!1}function Yd(){let e=Dn[Dn.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function qd(e){const t=[];return e.forEach((o,n)=>{t.push(...n===0?[]:[`
5`],...Kd(o))}),t}function Kd({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,r=` at <${$l(e.component,e.type,n)}`,i=">"+o;return e.props?[r,...Xd(e.props),i]:[r+i]}function Xd(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(n=>{t.push(...Oa(n,e[n]))}),o.length>3&&t.push(" ..."),t}function Oa(e,t,o){return je(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Ve(t)?(t=Oa(e,Ae(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):ye(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ae(t),o?t:[`${e}=`,t])}function ln(e,t,o,n){try{return n?e(...n):e()}catch(r){Lr(r,t,o)}}function $t(e,t,o,n){if(ye(e)){const r=ln(e,t,o,n);return r&&Zs(r)&&r.catch(i=>{Lr(i,t,o)}),r}if(de(e)){const r=[];for(let i=0;i<e.length;i++)r.push($t(e[i],t,o,n));return r}}function Lr(e,t,o,n=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||ze;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${o}`;for(;a;){const c=a.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,l,u)===!1)return}a=a.parent}if(i){Kt(),ln(i,null,10,[e,l,u]),Xt();return}}Jd(e,o,r,n,s)}function Jd(e,t,o,n=!0,r=!1){if(r)throw e;console.error(e)}const _t=[];let Qt=-1;const cn=[];let _o=null,un=0;const La=Promise.resolve();let Rr=null;function eo(e){const t=Rr||La;return e?t.then(this?e.bind(this):e):t}function Zd(e){let t=Qt+1,o=_t.length;for(;t<o;){const n=t+o>>>1,r=_t[n],i=$n(r);i<e||i===e&&r.flags&2?t=n+1:o=n}return t}function ji(e){if(!(e.flags&1)){const t=$n(e),o=_t[_t.length-1];!o||!(e.flags&2)&&t>=$n(o)?_t.push(e):_t.splice(Zd(t),0,e),e.flags|=1,Ra()}}function Ra(){Rr||(Rr=La.then(Da))}function Qd(e){if(!de(e))_o&&e.id===-1?_o.splice(un+1,0,e):e.flags&1||(cn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)cn.push(e[t]);Ra()}function Ma(e,t,o=Qt+1){for(;o<_t.length;o++){const n=_t[o];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;_t.splice(o,1),o--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Pa(e){if(cn.length){const t=[...new Set(cn)].sort((o,n)=>$n(o)-$n(n));if(cn.length=0,_o){for(let o=0;o<t.length;o++)_o.push(t[o]);return}for(_o=t,un=0;un<_o.length;un++){const o=_o[un];o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2}_o=null,un=0}}const $n=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Da(e){try{for(Qt=0;Qt<_t.length;Qt++){const t=_t[Qt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ln(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Qt<_t.length;Qt++){const t=_t[Qt];t&&(t.flags&=-2)}Qt=-1,_t.length=0,Pa(),Rr=null,(_t.length||cn.length)&&Da()}}let pt=null,$a=null;function Mr(e){const t=pt;return pt=e,$a=e&&e.type.__scopeId||null,t}function rt(e,t=pt,o){if(!t||e._n)return e;const n=(...r)=>{n._d&&Gr(-1);const i=Mr(t),s=go.length;let a;try{a=e(...r)}finally{for(let l=go.length;l>s;l--)rs();Mr(i),n._d&&Gr(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function xo(e,t){if(pt===null)return e;const o=Kr(pt),n=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,s,a,l=ze]=t[r];i&&(ye(i)&&(i={mounted:i,updated:i}),i.deep&&fo(s),n.push({dir:i,instance:o,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function Uo(e,t,o,n){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);let l=a.dir[n];l&&(Kt(),$t(l,o,8,[e.el,a,e,t]),Xt())}}function Gi(e,t){if(ht){let o=ht.provides;const n=ht.parent&&ht.parent.provides;n===o&&(o=ht.provides=Object.create(n)),o[e]=t}}function Co(e,t,o=!1){const n=Yr();if(n||Ho){let r=Ho?Ho._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return o&&ye(t)?t.call(n&&n.proxy):t}}function ep(){return!!(Yr()||Ho)}const tp=Symbol.for("v-scx"),op=()=>Co(tp);function Fe(e,t,o){return Ba(e,t,o)}function Ba(e,t,o=ze){const{immediate:n,deep:r,flush:i,once:s}=o,a=nt({},o),l=t&&n||!t&&i!=="post";let u;
vendor: 2,299 bytes, line 5
5if(qn){if(i==="sync"){const y=op();u=y.__watcherHandles||(y.__watcherHandles=[])}else if(!l){const y=()=>{};return y.stop=Yt,y.resume=Yt,y.pause=Yt,y}}const c=ht;a.call=(y,_,k)=>$t(y,c,_,k);let d=!1;i==="post"?a.scheduler=y=>{Ct(y,c&&c.suspense)}:i!=="sync"&&(d=!0,a.scheduler=(y,_)=>{_?y():ji(y)}),a.augmentJob=y=>{t&&(y.flags|=4),d&&(y.flags|=2,c&&(y.id=c.uid,y.i=c))};const p=Wd(e,t,a);return qn&&(u?u.push(p):l&&p()),p}function np(e,t,o){const n=this.proxy,r=je(e)?e.includes(".")?Na(n,e):()=>n[e]:e.bind(n,n);let i;ye(t)?i=t:(i=t.handler,o=t);const s=Yn(this),a=Ba(r,i.bind(n),o);return s(),a}function Na(e,t){const o=t.split(".");return()=>{let n=e;for(let r=0;r<o.length&&n;r++)n=n[o[r]];return n}}const ko=new WeakMap,Ua=Symbol("_vte"),Pr=e=>e.__isTeleport,zo=e=>e&&(e.disabled||e.disabled===""),rp=e=>e&&(e.defer||e.defer===""),za=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Fa=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Vi=(e,t)=>{const o=e&&e.to;return je(o)?t?t(o):null:o},ip={name:"Teleport",__isTeleport:!0,process(e,t,o,n,r,i,s,a,l,u){const{mc:c,pc:d,pbc:p,o:{insert:y,querySelector:_,createText:k,createComment:R,parentNode:U}}=u,A=zo(t.props);let{dynamicChildren:P}=t;const I=($,H,O)=>{$.shapeFlag&16&&c($.children,H,O,r,i,s,a,l)},M=($=t)=>{const H=zo($.props),O=$.target=Vi($.props,_),K=Wi(O,$,k,y);O&&(s!=="svg"&&za(O)?s="svg":s!=="mathml"&&Fa(O)&&(s="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(O),H||(I($,O,K),Bn($,!1)))},D=$=>{const H=()=>{if(ko.get($)===H){if(ko.delete($),zo($.props)){const O=U($.el)||o;I($,O,$.anchor),Bn($,!0)}M($)}};ko.set($,H),Ct(H,i)};if(e==null){const $=t.el=k(""),H=t.anchor=k("");if(y($,o,n),y(H,o,n),rp(t.props)||i&&i.pendingBranch){D(t);return}A&&(I(t,o,H),Bn(t,!0)),M()}else{t.el=e.el;const $=t.anchor=e.anchor,H=ko.get(e);if(H){H.flags|=8,ko.delete(e),D(t);return}t.targetStart=e.targetStart;const O=t.target=e.target,K=t.targetAnchor=e.targetAnchor,X=zo(e.props),G=X?o:O,te=X?$:K;if(s==="svg"||za(O)?s="svg":(s==="mathml"||Fa(O))&&(s="mathml"),P?(p(e.dynamicChildren,P,G,r,i,s,a),ns(e,t,!0)):l||d(e,t,G,te,r,i,s,a,!1),A)X?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Dr(t,o,$,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const ie=Vi(t.props,_);
vendor: 5,175 bytes, line 5
5ie&&(t.target=ie,Dr(t,ie,null,u,0))}else X&&Dr(t,O,K,u,1);Bn(t,A)}},remove(e,t,o,{um:n,o:{remove:r}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:u,targetAnchor:c,target:d,props:p}=e,y=zo(p),_=i||!y,k=ko.get(e);if(k&&(k.flags|=8,ko.delete(e)),d&&(r(u),r(c)),i&&r(l),!k&&(y||d)&&s&16)for(let R=0;R<a.length;R++){const U=a[R];n(U,t,o,_,!!U.dynamicChildren)}},move:Dr,hydrate:sp};function Dr(e,t,o,{o:{insert:n},m:r},i=2){i===0&&n(e.targetAnchor,t,o);const{el:s,anchor:a,shapeFlag:l,children:u,props:c}=e,d=i===2;if(d&&n(s,t,o),!ko.has(e)&&(!d||zo(c))&&l&16)for(let p=0;p<u.length;p++)r(u[p],t,o,2);d&&n(a,t,o)}function sp(e,t,o,n,r,i,{o:{nextSibling:s,parentNode:a,querySelector:l,insert:u,createText:c}},d){function p(R,U){let A=U;for(;A;){if(A&&A.nodeType===8){if(A.data==="teleport start anchor")t.targetStart=A;else if(A.data==="teleport anchor"){t.targetAnchor=A,R._lpa=t.targetAnchor&&s(t.targetAnchor);break}}A=s(A)}}function y(R,U){U.anchor=d(s(R),U,a(R),o,n,r,i)}const _=t.target=Vi(t.props,l),k=zo(t.props);if(_){const R=_._lpa||_.firstChild;t.shapeFlag&16&&(k?(y(e,t),p(_,R),t.targetAnchor||Wi(_,t,c,u,a(e)===_?e:null)):(t.anchor=s(e),p(_,R),t.targetAnchor||Wi(_,t,c,u),d(R&&s(R),t,_,o,n,r,i))),Bn(t,k)}else k&&t.shapeFlag&16&&(y(e,t),t.targetStart=e,t.targetAnchor=s(e));return t.anchor&&s(t.anchor)}const vo=ip;function Bn(e,t){const o=e.ctx;if(o&&o.ut){let n,r;for(t?(n=e.el,r=e.anchor):(n=e.targetStart,r=e.targetAnchor);n&&n!==r;)n.nodeType===1&&n.setAttribute("data-v-owner",o.uid),n=n.nextSibling;o.ut()}}function Wi(e,t,o,n,r=null){const i=t.targetStart=o(""),s=t.targetAnchor=o("");return i[Ua]=s,e&&(n(i,e,r),n(s,e,r)),s}const Bt=Symbol("_leaveCb"),Nn=Symbol("_enterCb");function Ha(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Rt(()=>{e.isMounted=!0}),Gt(()=>{e.isUnmounting=!0}),e}const Nt=[Function,Array],ja={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Nt,onEnter:Nt,onAfterEnter:Nt,onEnterCancelled:Nt,onBeforeLeave:Nt,onLeave:Nt,onAfterLeave:Nt,onLeaveCancelled:Nt,onBeforeAppear:Nt,onAppear:Nt,onAfterAppear:Nt,onAppearCancelled:Nt},Ga=e=>{const t=e.subTree;return t.component?Ga(t.component):t},ap={name:"BaseTransition",props:ja,setup(e,{slots:t}){const o=Yr(),n=Ha();return()=>{const r=t.default&&qi(t.default(),!0),i=r&&r.length?Va(r):o.subTree?J():void 0;if(!i)return;const s=Ae(e),{mode:a}=s;if(n.isLeaving)return Yi(i);const l=$r(i);if(!l)return Yi(i);let u=Un(l,s,n,o,d=>u=d);l.type!==gt&&Fo(l,u);let c=o.subTree&&$r(o.subTree);if(c&&c.type!==gt&&!Go(c,l)&&Ga(o).type!==gt){let d=Un(c,s,n,o);if(Fo(c,d),a==="out-in"&&l.type!==gt)return n.isLeaving=!0,d.afterLeave=()=>{n.isLeaving=!1,o.job.flags&8||o.update(),delete d.afterLeave,c=void 0},Yi(i);a==="in-out"&&l.type!==gt?d.delayLeave=(p,y,_)=>{const k=Wa(n,c);k[String(c.key)]=c,p[Bt]=()=>{y(),p[Bt]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{_(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Va(e){let t=e[0];if(e.length>1){for(const o of e)if(o.type!==gt){t=o;break}}return t}const lp=ap;function Wa(e,t){const{leavingVNodes:o}=e;let n=o.get(t.type);return n||(n=Object.create(null),o.set(t.type,n)),n}function Un(e,t,o,n,r){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:p,onLeave:y,onAfterLeave:_,onLeaveCancelled:k,onBeforeAppear:R,onAppear:U,onAfterAppear:A,onAppearCancelled:P}=t,I=String(e.key),M=Wa(o,e),D=(O,K)=>{O&&$t(O,n,9,K)},$=(O,K)=>{const X=K[1];D(O,K),de(O)?O.every(G=>G.length<=1)&&X():O.length<=1&&X()},H={mode:s,persisted:a,beforeEnter(O){let K=l;if(!o.isMounted)if(i)K=R||l;else return;O[Bt]&&O[Bt](!0);const X=M[I];X&&Go(e,X)&&X.el[Bt]&&X.el[Bt](),D(K,[O])},enter(O){if(M[I]===e)return;let K=u,X=c,G=d;if(!o.isMounted)if(i)K=U||u,X=A||c,G=P||d;else return;let te=!1;O[Nn]=re=>{te||(te=!0,re?D(G,[O]):D(X,[O]),H.delayedLeave&&H.delayedLeave(),O[Nn]=void 0)};const ie=O[Nn].bind(null,!1);K?$(K,[O,ie]):ie()},leave(O,K){const X=String(e.key);if(O[Nn]&&O[Nn](!0),o.isUnmounting)return K();D(p,[O]);let G=!1;O[Bt]=ie=>{G||(G=!0,K(),ie?D(k,[O]):D(_,[O]),O[Bt]=void 0,M[X]===e&&delete M[X])};const te=O[Bt].bind(null,!1);M[X]=e,y?$(y,[O,te]):te()},clone(O){const K=Un(O,t,o,n,r);return r&&r(K),K}};return H}function Yi(e){if(Nr(e))return e=Eo(e),e.children=null,e}function $r(e){if(!Nr(e))return Pr(e.type)&&e.children?Va(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&ye(o.default))return o.default()}}function Fo(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const o=e.component.subTree;Fo(Pr(o.type)&&$r(o)||o,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function qi(e,t=!1,o){let n=[],r=0;for(let i=0;i<e.length;i++){let s=e[i];const a=o==null?s.key:String(o)+String(s.key!=null?s.key:i);s.type===we?(s.patchFlag&128&&r++,n=n.concat(qi(s.children,t,a))):(t||s.type!==gt)&&n.push(a!=null?Eo(s,{key:a}):s)}if(r>1)for(let i=0;i<n.length;i++)n[i].patchFlag=-2;return n}function ke(e,t){return ye(e)?nt({name:e.name},t,{setup:e}):e}
vendor: 4,244 bytes, line 5
5function Ya(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function qa(e,t){let o;return!!((o=Object.getOwnPropertyDescriptor(e,t))&&!o.configurable)}const Br=new WeakMap;function zn(e,t,o,n,r=!1){if(de(e)){e.forEach((k,R)=>zn(k,t&&(de(t)?t[R]:t),o,n,r));return}if(dn(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&zn(e,t,o,n.component.subTree);return}const i=n.shapeFlag&4?Kr(n.component):n.el,s=r?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===ze?a.refs={}:a.refs,d=a.setupState,p=Ae(d),y=d===ze?Xs:k=>qa(c,k)?!1:Ue(p,k),_=(k,R)=>!(R&&qa(c,R));if(u!=null&&u!==l){if(Ka(t),je(u))c[u]=null,y(u)&&(d[u]=null);else if(Ve(u)){const k=t;_(u,k.k)&&(u.value=null),k.k&&(c[k.k]=null)}}if(ye(l))ln(l,a,12,[s,c]);else{const k=je(l),R=Ve(l);if(k||R){const U=()=>{if(e.f){const A=k?y(l)?d[l]:c[l]:_()||!e.k?l.value:c[e.k];if(r)de(A)&&Ti(A,i);else if(de(A))A.includes(i)||A.push(i);else if(k)c[l]=[i],y(l)&&(d[l]=c[l]);else{const P=[i];_(l,e.k)&&(l.value=P),e.k&&(c[e.k]=P)}}else k?(c[l]=s,y(l)&&(d[l]=s)):R&&(_(l,e.k)&&(l.value=s),e.k&&(c[e.k]=s))};if(s){const A=()=>{U(),Br.delete(e)};A.id=-1,Br.set(e,A),Ct(A,o)}else Ka(e),U()}}}function Ka(e){const t=Br.get(e);t&&(t.flags|=8,Br.delete(e))}wr().requestIdleCallback,wr().cancelIdleCallback;const dn=e=>!!e.type.__asyncLoader,Nr=e=>e.type.__isKeepAlive;function cp(e,t){Xa(e,"a",t)}function up(e,t){Xa(e,"da",t)}function Xa(e,t,o=ht){const n=e.__wdc||(e.__wdc=()=>{let r=o;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ur(t,n,o),o){let r=o.parent;for(;r&&r.parent;)Nr(r.parent.vnode)&&dp(n,t,o,r),r=r.parent}}function dp(e,t,o,n){const r=Ur(t,e,n,!0);So(()=>{Ti(n[t],r)},o)}function Ur(e,t,o=ht,n=!1){if(o){const r=o[e]||(o[e]=[]),i=t.__weh||(t.__weh=(...s)=>{Kt();const a=Yn(o),l=$t(t,o,e,s);return a(),Xt(),l});return n?r.unshift(i):r.push(i),i}}const mo=e=>(t,o=ht)=>{(!qn||e==="sp")&&Ur(e,(...n)=>t(...n),o)},pp=mo("bm"),Rt=mo("m"),fp=mo("bu"),Ja=mo("u"),Gt=mo("bum"),So=mo("um"),vp=mo("sp"),mp=mo("rtg"),gp=mo("rtc");function hp(e,t=ht){Ur("ec",e,t)}const Za="components";function bp(e,t){return tl(Za,e,!0,t)||e}const Qa=Symbol.for("v-ndc");function el(e){return je(e)?tl(Za,e,!1)||e:e||Qa}function tl(e,t,o=!0,n=!1){const r=pt||ht;if(r){const i=r.type;{const a=Dl(i,!1);if(a&&(a===t||a===wt(t)||a===br(wt(t))))return i}const s=ol(r[e]||i[e],t)||ol(r.appContext[e],t);return!s&&n?i:s}}function ol(e,t){return e&&(e[t]||e[wt(t)]||e[br(wt(t))])}function mt(e,t,o,n){let r;const i=o,s=de(e);if(s||je(e)){const a=s&&Zt(e);let l=!1,u=!1;a&&(l=!Lt(e),u=po(e),e=Cr(e)),r=new Array(e.length);for(let c=0,d=e.length;c<d;c++)r[c]=t(l?u?an(jt(e[c])):jt(e[c]):e[c],c,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let a=0;a<e;a++)r[a]=t(a+1,a,void 0,i)}else if($e(e))if(e[Symbol.iterator])r=Array.from(e,(a,l)=>t(a,l,void 0,i));else{const a=Object.keys(e);r=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];r[l]=t(e[c],c,l,i)}}else r=[];return r}function yp(e,t){for(let o=0;o<t.length;o++){const n=t[o];if(de(n))for(let r=0;r<n.length;r++)e[n[r].name]=n[r].fn;else n&&(e[n.name]=n.key?(...r)=>{const i=n.fn(...r);return i&&(i.key=n.key),i}:n.fn)}return e}function To(e,t,o,n,r,i){if(o==null&&(o={}),pt.ce||pt.parent&&dn(pt.parent)&&pt.parent.ce){const u=o,c=Object.keys(u).length>0;return t!=="default"&&(u.name=t),g(),ve(we,null,[W("slot",u,n&&n())],c?-2:64)}let s=e[t];s&&s._c&&(s._d=!1);const a=go.length;g();let l;try{const u=s&&nl(s(o)),c=o.key||i||u&&u.key;l=ve(we,{key:(c&&!Ot(c)?c:`_${t}`)+(!u&&n?"_fb":"")},u||(n?n():[]),u&&e._===1?64:-2)}catch(u){for(let c=go.length;c>a;c--)rs();throw u}finally{s&&s._c&&(s._d=!0)}return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function nl(e){return e.some(t=>Gn(t)?!(t.type===gt||t.type===we&&!nl(t.children)):!0)?e:null}const Ki=e=>e?Rl(e)?Kr(e):Ki(e.parent):null,Fn=nt(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=>Ki(e.parent),$root:e=>Ki(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>al(e),$forceUpdate:e=>e.f||(e.f=()=>{ji(e.update)}),$nextTick:e=>e.n||(e.n=eo.bind(e.proxy)),$watch:e=>np.bind(e)}),Xi=(e,t)=>e!==ze&&!e.__isScriptSetup&&Ue(e,t),wp={get({_:e},t){if(t==="__v_skip")return!0;
vendor: 9,290 bytes, line 5
5const{ctx:o,setupState:n,data:r,props:i,accessCache:s,type:a,appContext:l}=e;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return n[t];case 2:return r[t];case 4:return o[t];case 3:return i[t]}else{if(Xi(n,t))return s[t]=1,n[t];if(r!==ze&&Ue(r,t))return s[t]=2,r[t];if(Ue(i,t))return s[t]=3,i[t];if(o!==ze&&Ue(o,t))return s[t]=4,o[t];Ji&&(s[t]=0)}}const u=Fn[t];let c,d;if(u)return t==="$attrs"&&vt(e.attrs,"get",""),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(o!==ze&&Ue(o,t))return s[t]=4,o[t];if(d=l.config.globalProperties,Ue(d,t))return d[t]},set({_:e},t,o){const{data:n,setupState:r,ctx:i}=e;return Xi(r,t)?(r[t]=o,!0):n!==ze&&Ue(n,t)?(n[t]=o,!0):Ue(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=o,!0)},has({_:{data:e,setupState:t,accessCache:o,ctx:n,appContext:r,props:i,type:s}},a){let l;return!!(o[a]||e!==ze&&a[0]!=="$"&&Ue(e,a)||Xi(t,a)||Ue(i,a)||Ue(n,a)||Ue(Fn,a)||Ue(r.config.globalProperties,a)||(l=s.__cssModules)&&l[a])},defineProperty(e,t,o){return o.get!=null?e._.accessCache[t]=0:Ue(o,"value")&&this.set(e,t,o.value,null),Reflect.defineProperty(e,t,o)}};function rl(e){return de(e)?e.reduce((t,o)=>(t[o]=null,t),{}):e}let Ji=!0;function _p(e){const t=al(e),o=e.proxy,n=e.ctx;Ji=!1,t.beforeCreate&&il(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:s,watch:a,provide:l,inject:u,created:c,beforeMount:d,mounted:p,beforeUpdate:y,updated:_,activated:k,deactivated:R,beforeDestroy:U,beforeUnmount:A,destroyed:P,unmounted:I,render:M,renderTracked:D,renderTriggered:$,errorCaptured:H,serverPrefetch:O,expose:K,inheritAttrs:X,components:G,directives:te,filters:ie}=t;if(u&&xp(u,n,null),s)for(const ee in s){const pe=s[ee];ye(pe)&&(n[ee]=pe.bind(o))}if(r){const ee=r.call(o,o);$e(ee)&&(e.data=sn(ee))}if(Ji=!0,i)for(const ee in i){const pe=i[ee],Ee=ye(pe)?pe.bind(o,o):ye(pe.get)?pe.get.bind(o,o):Yt,Me=!ye(pe)&&ye(pe.set)?pe.set.bind(o):Yt,Ye=N({get:Ee,set:Me});Object.defineProperty(n,ee,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Be=>Ye.value=Be})}if(a)for(const ee in a)sl(a[ee],n,o,ee);if(l){const ee=ye(l)?l.call(o):l;Reflect.ownKeys(ee).forEach(pe=>{Gi(pe,ee[pe])})}c&&il(c,e,"c");function oe(ee,pe){de(pe)?pe.forEach(Ee=>ee(Ee.bind(o))):pe&&ee(pe.bind(o))}if(oe(pp,d),oe(Rt,p),oe(fp,y),oe(Ja,_),oe(cp,k),oe(up,R),oe(hp,H),oe(gp,D),oe(mp,$),oe(Gt,A),oe(So,I),oe(vp,O),de(K))if(K.length){const ee=e.exposed||(e.exposed={});K.forEach(pe=>{Object.defineProperty(ee,pe,{get:()=>o[pe],set:Ee=>o[pe]=Ee,enumerable:!0})})}else e.exposed||(e.exposed={});M&&e.render===Yt&&(e.render=M),X!=null&&(e.inheritAttrs=X),G&&(e.components=G),te&&(e.directives=te),O&&Ya(e)}function xp(e,t,o=Yt){de(e)&&(e=Zi(e));for(const n in e){const r=e[n];let i;$e(r)?"default"in r?i=Co(r.from||n,r.default,!0):i=Co(r.from||n):i=Co(r),Ve(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[n]=i}}function il(e,t,o){$t(de(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,o)}function sl(e,t,o,n){let r=n.includes(".")?Na(o,n):()=>o[n];if(je(e)){const i=t[e];ye(i)&&Fe(r,i)}else if(ye(e))Fe(r,e.bind(o));else if($e(e))if(de(e))e.forEach(i=>sl(i,t,o,n));else{const i=ye(e.handler)?e.handler.bind(o):t[e.handler];ye(i)&&Fe(r,i,e)}}function al(e){const t=e.type,{mixins:o,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!r.length&&!o&&!n?l=t:(l={},r.length&&r.forEach(u=>zr(l,u,s,!0)),zr(l,t,s)),$e(t)&&i.set(t,l),l}function zr(e,t,o,n=!1){const{mixins:r,extends:i}=t;i&&zr(e,i,o,!0),r&&r.forEach(s=>zr(e,s,o,!0));for(const s in t)if(!(n&&s==="expose")){const a=Cp[s]||o&&o[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const Cp={data:ll,props:cl,emits:cl,methods:Hn,computed:Hn,beforeCreate:xt,created:xt,beforeMount:xt,mounted:xt,beforeUpdate:xt,updated:xt,beforeDestroy:xt,beforeUnmount:xt,destroyed:xt,unmounted:xt,activated:xt,deactivated:xt,errorCaptured:xt,serverPrefetch:xt,components:Hn,directives:Hn,watch:Sp,provide:ll,inject:kp};function ll(e,t){return t?e?function(){return nt(ye(e)?e.call(this,this):e,ye(t)?t.call(this,this):t)}:t:e}function kp(e,t){return Hn(Zi(e),Zi(t))}function Zi(e){if(de(e)){const t={};for(let o=0;o<e.length;o++)t[e[o]]=e[o];return t}return e}function xt(e,t){return e?[...new Set([].concat(e,t))]:t}function Hn(e,t){return e?nt(Object.create(null),e,t):t}function cl(e,t){return e?de(e)&&de(t)?[...new Set([...e,...t])]:nt(Object.create(null),rl(e),rl(t??{})):t}function Sp(e,t){if(!e)return t;if(!t)return e;const o=nt(Object.create(null),e);for(const n in t)o[n]=xt(e[n],t[n]);return o}function ul(){return{app:null,config:{isNativeTag:Xs,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 Tp=0;function Ep(e,t){return function(n,r=null){ye(n)||(n=nt({},n)),r!=null&&!$e(r)&&(r=null);const i=ul(),s=new WeakSet,a=[];let l=!1;const u=i.app={_uid:Tp++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:sf,get config(){return i.config},set config(c){},use(c,...d){return s.has(c)||(c&&ye(c.install)?(s.add(c),c.install(u,...d)):ye(c)&&(s.add(c),c(u,...d))),u},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),u},component(c,d){return d?(i.components[c]=d,u):i.components[c]},directive(c,d){return d?(i.directives[c]=d,u):i.directives[c]},mount(c,d,p){if(!l){const y=u._ceVNode||W(n,r);return y.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),e(y,c,p),l=!0,u._container=c,c.__vue_app__=u,Kr(y.component)}},onUnmount(c){a.push(c)},unmount(){l&&($t(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,d){return i.provides[c]=d,u},runWithContext(c){const d=Ho;Ho=u;try{return c()}finally{Ho=d}}};return u}}let Ho=null;const Ip=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${wt(t)}Modifiers`]||e[`${$o(t)}Modifiers`];function Ap(e,t,...o){if(e.isUnmounted)return;const n=e.vnode.props||ze;let r=o;const i=t.startsWith("update:"),s=i&&Ip(n,t.slice(7));s&&(s.trim&&(r=o.map(c=>je(c)?c.trim():c)),s.number&&(r=r.map(Ii)));let a,l=n[a=Ei(t)]||n[a=Ei(wt(t))];!l&&i&&(l=n[a=Ei($o(t))]),l&&$t(l,e,6,r);const u=n[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,$t(u,e,6,r)}}const Op=new WeakMap;function dl(e,t,o=!1){const n=o?Op:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let s={},a=!1;if(!ye(e)){const l=u=>{const c=dl(u,t,!0);c&&(a=!0,nt(s,c))};!o&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?($e(e)&&n.set(e,null),null):(de(i)?i.forEach(l=>s[l]=null):nt(s,i),$e(e)&&n.set(e,s),s)}function Fr(e,t){return!e||!fr(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Ue(e,t[0].toLowerCase()+t.slice(1))||Ue(e,$o(t))||Ue(e,t))}function B2(){}function pl(e){const{type:t,vnode:o,proxy:n,withProxy:r,propsOptions:[i],slots:s,attrs:a,emit:l,render:u,renderCache:c,props:d,data:p,setupState:y,ctx:_,inheritAttrs:k}=e,R=Mr(e);let U,A;try{if(o.shapeFlag&4){const I=r||n,M=I;U=oo(u.call(M,I,c,d,y,p,_)),A=a}else{const I=t;U=oo(I.length>1?I(d,{attrs:a,slots:s,emit:l}):I(d,null)),A=t.props?a:Lp(a)}}catch(I){go.length=0,Lr(I,e,1),U=W(gt)}let P=U;if(A&&k!==!1){const I=Object.keys(A),{shapeFlag:M}=P;I.length&&M&7&&(i&&I.some(vr)&&(A=Rp(A,i)),P=Eo(P,A,!1,!0))}if(o.dirs&&(P=Eo(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(o.dirs):o.dirs),o.transition){const I=Pr(P.type)&&$r(P)||P;Fo(I,o.transition)}return U=P,Mr(R),U}const Lp=e=>{let t;for(const o in e)(o==="class"||o==="style"||fr(o))&&((t||(t={}))[o]=e[o]);return t},Rp=(e,t)=>{const o={};for(const n in e)(!vr(n)||!(n.slice(9)in t))&&(o[n]=e[n]);return o};function Mp(e,t,o){const{props:n,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(o&&l>=0){if(l&1024)return!0;if(l&16)return n?fl(n,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const p=c[d];if(vl(s,n,p)&&!Fr(u,p))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:n===s?!1:n?s?fl(n,s,u):!0:!!s;return!1}function fl(e,t,o){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(vl(t,e,i)&&!Fr(o,i))return!0}return!1}function vl(e,t,o){const n=e[o],r=t[o];return o==="style"&&$e(n)&&$e(r)?!_r(n,r):n!==r}function Pp({vnode:e,parent:t,suspense:o},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=n,e=r),r===e)(e=t.vnode).el=n,t=t.parent;else break}o&&o.activeBranch===e&&(o.vnode.el=n)}const ml={},gl=()=>Object.create(ml),hl=e=>Object.getPrototypeOf(e)===ml;function Dp(e,t,o,n=!1){const r={},i=gl();e.propsDefaults=Object.create(null),bl(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);o?e.props=n?r:Dd(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function $p(e,t,o,n){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=Ae(r),[l]=e.propsOptions;let u=!1;if((n||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let p=c[d];if(Fr(e.emitsOptions,p))continue;const y=t[p];if(l)if(Ue(i,p))y!==i[p]&&(i[p]=y,u=!0);else{const _=wt(p);r[_]=Qi(l,a,_,y,e,!1)}else y!==i[p]&&(i[p]=y,u=!0)}}}
vendor: 12,226 bytes, line 5
5else{bl(e,t,r,i)&&(u=!0);let c;for(const d in a)(!t||!Ue(t,d)&&((c=$o(d))===d||!Ue(t,c)))&&(l?o&&(o[d]!==void 0||o[c]!==void 0)&&(r[d]=Qi(l,a,d,void 0,e,!0)):delete r[d]);if(i!==a)for(const d in i)(!t||!Ue(t,d))&&(delete i[d],u=!0)}u&&co(e.attrs,"set","")}function bl(e,t,o,n){const[r,i]=e.propsOptions;let s=!1,a;if(t)for(let l in t){if(An(l))continue;const u=t[l];let c;r&&Ue(r,c=wt(l))?!i||!i.includes(c)?o[c]=u:(a||(a={}))[c]=u:Fr(e.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,s=!0)}if(i){const l=Ae(o),u=a||ze;for(let c=0;c<i.length;c++){const d=i[c];o[d]=Qi(r,l,d,u[d],e,!Ue(u,d))}}return s}function Qi(e,t,o,n,r,i){const s=e[o];if(s!=null){const a=Ue(s,"default");if(a&&n===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&ye(l)){const{propsDefaults:u}=r;if(o in u)n=u[o];else{const c=Yn(r);n=u[o]=l.call(null,t),c()}}else n=l;r.ce&&r.ce._setProp(o,n)}s[0]&&(i&&!a?n=!1:s[1]&&(n===""||n===$o(o))&&(n=!0))}return n}const Bp=new WeakMap;function yl(e,t,o=!1){const n=o?Bp:t.propsCache,r=n.get(e);if(r)return r;const i=e.props,s={},a=[];let l=!1;if(!ye(e)){const c=d=>{l=!0;const[p,y]=yl(d,t,!0);nt(s,p),y&&a.push(...y)};!o&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return $e(e)&&n.set(e,nn),nn;if(de(i))for(let c=0;c<i.length;c++){const d=wt(i[c]);wl(d)&&(s[d]=ze)}else if(i)for(const c in i){const d=wt(c);if(wl(d)){const p=i[c],y=s[d]=de(p)||ye(p)?{type:p}:nt({},p),_=y.type;let k=!1,R=!0;if(de(_))for(let U=0;U<_.length;++U){const A=_[U],P=ye(A)&&A.name;if(P==="Boolean"){k=!0;break}else P==="String"&&(R=!1)}else k=ye(_)&&_.name==="Boolean";y[0]=k,y[1]=R,(k||Ue(y,"default"))&&a.push(d)}}const u=[s,a];return $e(e)&&n.set(e,u),u}function wl(e){return e[0]!=="$"&&!An(e)}const es=e=>e==="_"||e==="_ctx"||e==="$stable",ts=e=>de(e)?e.map(oo):[oo(e)],Np=(e,t,o)=>{if(t._n)return t;const n=rt((...r)=>ts(t(...r)),o);return n._c=!1,n},_l=(e,t,o)=>{const n=e._ctx;for(const r in e){if(es(r))continue;const i=e[r];if(ye(i))t[r]=Np(r,i,n);else if(i!=null){const s=ts(i);t[r]=()=>s}}},xl=(e,t)=>{const o=ts(t);e.slots.default=()=>o},Cl=(e,t,o)=>{for(const n in t)(o||!es(n))&&(e[n]=t[n])},Up=(e,t,o)=>{const n=e.slots=gl();if(e.vnode.shapeFlag&32){const r=t._;r?(Cl(n,t,o),o&&ta(n,"_",r,!0)):_l(t,n)}else t&&xl(e,t)},zp=(e,t,o)=>{const{vnode:n,slots:r}=e;let i=!0,s=ze;if(n.shapeFlag&32){const a=t._;a?o&&a===1?i=!1:Cl(r,t,o):(i=!t.$stable,_l(t,r)),s=t}else t&&(xl(e,t),s={default:1});if(i)for(const a in r)!es(a)&&s[a]==null&&delete r[a]},Ct=Vp;function Fp(e){return Hp(e)}function Hp(e,t){const o=wr();o.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:s,createText:a,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:p,setScopeId:y=Yt,insertStaticContent:_}=e,k=(m,h,v,w=null,b=null,L=null,B=void 0,F=null,V=!!h.dynamicChildren)=>{if(m===h)return;m&&!Go(m,h)&&(w=_e(m),Be(m,b,L,!0),m=null),h.patchFlag===-2&&(V=!1,h.dynamicChildren=null);const{type:z,ref:ae,shapeFlag:Z}=h;switch(z){case Hr:R(m,h,v,w);break;case gt:U(m,h,v,w);break;case jr:m==null&&A(h,v,w,B);break;case we:G(m,h,v,w,b,L,B,F,V);break;default:Z&1?M(m,h,v,w,b,L,B,F,V):Z&6?te(m,h,v,w,b,L,B,F,V):(Z&64||Z&128)&&z.process(m,h,v,w,b,L,B,F,V,fe)}ae!=null&&b?zn(ae,m&&m.ref,L,h||m,!h):ae==null&&m&&m.ref!=null&&zn(m.ref,null,L,m,!0)},R=(m,h,v,w)=>{if(m==null)n(h.el=a(h.children),v,w);else{const b=h.el=m.el;h.children!==m.children&&u(b,h.children)}},U=(m,h,v,w)=>{m==null?n(h.el=l(h.children||""),v,w):h.el=m.el},A=(m,h,v,w)=>{[m.el,m.anchor]=_(m.children,h,v,w,m.el,m.anchor)},P=({el:m,anchor:h},v,w)=>{let b;for(;m&&m!==h;)b=p(m),n(m,v,w),m=b;n(h,v,w)},I=({el:m,anchor:h})=>{let v;for(;m&&m!==h;)v=p(m),r(m),m=v;r(h)},M=(m,h,v,w,b,L,B,F,V)=>{if(h.type==="svg"?B="svg":h.type==="math"&&(B="mathml"),m==null)D(h,v,w,b,L,B,F,V);else{const z=m.el&&m.el._isVueCE?m.el:null;try{z&&z._beginPatch(),O(m,h,b,L,B,F,V)}finally{z&&z._endPatch()}}},D=(m,h,v,w,b,L,B,F)=>{let V,z;const{props:ae,shapeFlag:Z,transition:ne,dirs:ce}=m;if(V=m.el=s(m.type,L,ae&&ae.is,ae),Z&8?c(V,m.children):Z&16&&H(m.children,V,null,w,b,os(m,L),B,F),ce&&Uo(m,null,w,"created"),$(V,m,m.scopeId,B,w),ae){for(const Te in ae)Te!=="value"&&!An(Te)&&i(V,Te,null,ae[Te],L,w);"value"in ae&&i(V,"value",null,ae.value,L),(z=ae.onVnodeBeforeMount)&&no(z,w,m)}ce&&Uo(m,null,w,"beforeMount");const ge=jp(b,ne);ge&&ne.beforeEnter(V),n(V,h,v),((z=ae&&ae.onVnodeMounted)||ge||ce)&&Ct(()=>{z&&no(z,w,m),ge&&ne.enter(V),ce&&Uo(m,null,w,"mounted")},b)},$=(m,h,v,w,b)=>{if(v&&y(m,v),w)for(let L=0;L<w.length;L++)y(m,w[L]);if(b){let L=b.subTree;if(h===L||El(L.type)&&(L.ssContent===h||L.ssFallback===h)){const B=b.vnode;$(m,B,B.scopeId,B.slotScopeIds,b.parent)}}},H=(m,h,v,w,b,L,B,F,V=0)=>{for(let z=V;z<m.length;z++){const ae=m[z]=F?ho(m[z]):oo(m[z]);k(null,ae,h,v,w,b,L,B,F)}},O=(m,h,v,w,b,L,B)=>{const F=h.el=m.el;let{patchFlag:V,dynamicChildren:z,dirs:ae}=h;V|=m.patchFlag&16;const Z=m.props||ze,ne=h.props||ze;let ce;if(v&&jo(v,!1),(ce=ne.onVnodeBeforeUpdate)&&no(ce,v,h,m),ae&&Uo(h,m,v,"beforeUpdate"),v&&jo(v,!0),z&&(!m.dynamicChildren||m.dynamicChildren.length!==z.length)&&(V=0,B=!1,z=null),(Z.innerHTML&&ne.innerHTML==null||Z.textContent&&ne.textContent==null)&&c(F,""),z?K(m.dynamicChildren,z,F,v,w,os(h,b),L):B||pe(m,h,F,null,v,w,os(h,b),L,!1),V>0){if(V&16)X(F,Z,ne,v,b);else if(V&2&&Z.class!==ne.class&&i(F,"class",null,ne.class,b),V&4&&i(F,"style",Z.style,ne.style,b),V&8){const ge=h.dynamicProps;for(let Te=0;Te<ge.length;Te++){const Se=ge[Te],Pe=Z[Se],Ne=ne[Se];(Ne!==Pe||Se==="value")&&i(F,Se,Pe,Ne,b,v)}}V&1&&m.children!==h.children&&c(F,h.children)}else!B&&z==null&&X(F,Z,ne,v,b);((ce=ne.onVnodeUpdated)||ae)&&Ct(()=>{ce&&no(ce,v,h,m),ae&&Uo(h,m,v,"updated")},w)},K=(m,h,v,w,b,L,B)=>{for(let F=0;F<h.length;F++){const V=m[F],z=h[F],ae=V.el&&(V.type===we||!Go(V,z)||V.shapeFlag&198)?d(V.el):v;k(V,z,ae,null,w,b,L,B,!0)}},X=(m,h,v,w,b)=>{if(h!==v){if(h!==ze)for(const L in h)!An(L)&&!(L in v)&&i(m,L,h[L],null,b,w);for(const L in v){if(An(L))continue;const B=v[L],F=h[L];B!==F&&L!=="value"&&i(m,L,F,B,b,w)}"value"in v&&i(m,"value",h.value,v.value,b)}},G=(m,h,v,w,b,L,B,F,V)=>{const z=h.el=m?m.el:a(""),ae=h.anchor=m?m.anchor:a("");let{patchFlag:Z,dynamicChildren:ne,slotScopeIds:ce}=h;ce&&(F=F?F.concat(ce):ce),m==null?(n(z,v,w),n(ae,v,w),H(h.children||[],v,ae,b,L,B,F,V)):Z>0&&Z&64&&ne&&m.dynamicChildren&&m.dynamicChildren.length===ne.length?(K(m.dynamicChildren,ne,v,b,L,B,F),(h.key!=null||b&&h===b.subTree)&&ns(m,h,!0)):pe(m,h,v,ae,b,L,B,F,V)},te=(m,h,v,w,b,L,B,F,V)=>{h.slotScopeIds=F,m==null?h.shapeFlag&512?b.ctx.activate(h,v,w,B,V):ie(h,v,w,b,L,B,V):re(m,h,V)},ie=(m,h,v,w,b,L,B)=>{const F=m.component=Xp(m,w,b);if(Nr(m)&&(F.ctx.renderer=fe),Jp(F,!1,B),F.asyncDep){if(b&&b.registerDep(F,oe,B),!m.el){const V=F.subTree=W(gt);U(null,V,h,v),m.placeholder=V.el}}else oe(F,m,h,v,b,L,B)},re=(m,h,v)=>{const w=h.component=m.component;if(Mp(m,h,v))if(w.asyncDep&&!w.asyncResolved){ee(w,h,v);return}else w.next=h,w.update();else h.el=m.el,w.vnode=h},oe=(m,h,v,w,b,L,B)=>{const F=()=>{if(m.isMounted){let{next:Z,bu:ne,u:ce,parent:ge,vnode:Te}=m;{const xe=kl(m);if(xe){Z&&(Z.el=Te.el,ee(m,Z,B)),xe.asyncDep.then(()=>{Ct(()=>{m.isUnmounted||z()},b)});return}}let Se=Z,Pe;jo(m,!1),Z?(Z.el=Te.el,ee(m,Z,B)):Z=Te,ne&&yr(ne),(Pe=Z.props&&Z.props.onVnodeBeforeUpdate)&&no(Pe,ge,Z,Te),jo(m,!0);const Ne=pl(m),ct=m.subTree;m.subTree=Ne,k(ct,Ne,d(ct.el),_e(ct),m,b,L),Z.el=Ne.el,Se===null&&Pp(m,Ne.el),ce&&Ct(ce,b),(Pe=Z.props&&Z.props.onVnodeUpdated)&&Ct(()=>no(Pe,ge,Z,Te),b)}else{let Z;const{el:ne,props:ce}=h,{bm:ge,m:Te,parent:Se,root:Pe,type:Ne}=m,ct=dn(h);jo(m,!1),ge&&yr(ge),!ct&&(Z=ce&&ce.onVnodeBeforeMount)&&no(Z,Se,h),jo(m,!0);{Pe.ce&&Pe.ce._hasShadowRoot()&&Pe.ce._injectChildStyle(Ne,m.parent?m.parent.type:void 0);const xe=m.subTree=pl(m);k(null,xe,v,w,m,b,L),h.el=xe.el}if(Te&&Ct(Te,b),!ct&&(Z=ce&&ce.onVnodeMounted)){const xe=h;Ct(()=>no(Z,Se,xe),b)}(h.shapeFlag&256||Se&&dn(Se.vnode)&&Se.vnode.shapeFlag&256)&&m.a&&Ct(m.a,b),m.isMounted=!0,h=v=w=null}};m.scope.on();const V=m.effect=new ua(F);m.scope.off();const z=m.update=V.run.bind(V),ae=m.job=V.runIfDirty.bind(V);ae.i=m,ae.id=m.uid,V.scheduler=()=>ji(ae),jo(m,!0),z()},ee=(m,h,v)=>{h.component=m;const w=m.vnode.props;m.vnode=h,m.next=null,$p(m,h.props,w,v),zp(m,h.children,v),Kt(),Ma(m),Xt()},pe=(m,h,v,w,b,L,B,F,V=!1)=>{const z=m&&m.children,ae=m?m.shapeFlag:0,Z=h.children,{patchFlag:ne,shapeFlag:ce}=h;if(ne>0){if(ne&128){Me(z,Z,v,w,b,L,B,F,V);return}else if(ne&256){Ee(z,Z,v,w,b,L,B,F,V);return}}ce&8?(ae&16&&Ie(z,b,L),Z!==z&&c(v,Z)):ae&16?ce&16?Me(z,Z,v,w,b,L,B,F,V):Ie(z,b,L,!0):(ae&8&&c(v,""),ce&16&&H(Z,v,w,b,L,B,F,V))},Ee=(m,h,v,w,b,L,B,F,V)=>{m=m||nn,h=h||nn;const z=m.length,ae=h.length,Z=Math.min(z,ae);let ne;for(ne=0;ne<Z;ne++){const ce=h[ne]=V?ho(h[ne]):oo(h[ne]);k(m[ne],ce,v,null,b,L,B,F,V)}z>ae?Ie(m,b,L,!0,!1,Z):H(h,v,w,b,L,B,F,V,Z)},Me=(m,h,v,w,b,L,B,F,V)=>{let z=0;const ae=h.length;let Z=m.length-1,ne=ae-1;for(;z<=Z&&z<=ne;){const ce=m[z],ge=h[z]=V?ho(h[z]):oo(h[z]);if(Go(ce,ge))k(ce,ge,v,null,b,L,B,F,V);else break;z++}for(;z<=Z&&z<=ne;){const ce=m[Z],ge=h[ne]=V?ho(h[ne]):oo(h[ne]);if(Go(ce,ge))k(ce,ge,v,null,b,L,B,F,V);else break;Z--,ne--}if(z>Z){if(z<=ne){const ce=ne+1,ge=ce<ae?h[ce].el:w;for(;z<=ne;)k(null,h[z]=V?ho(h[z]):oo(h[z]),v,ge,b,L,B,F,V),z++}}else if(z>ne)for(;z<=Z;)Be(m[z],b,L,!0),z++;else{const ce=z,ge=z,Te=new Map;for(z=ge;z<=ne;z++){const Qe=h[z]=V?ho(h[z]):oo(h[z]);Qe.key!=null&&Te.set(Qe.key,z)}let Se,Pe=0;const Ne=ne-ge+1;let ct=!1,xe=0;const Le=new Array(Ne);for(z=0;z<Ne;z++)Le[z]=0;for(z=ce;z<=Z;z++){const Qe=m[z];if(Pe>=Ne){Be(Qe,b,L,!0);continue}let kt;if(Qe.key!=null)kt=Te.get(Qe.key);else for(Se=ge;Se<=ne;Se++)if(Le[Se-ge]===0&&Go(Qe,h[Se])){kt=Se;break}kt===void 0?Be(Qe,b,L,!0):(Le[kt-ge]=z+1,kt>=xe?xe=kt:ct=!0,k(Qe,h[kt],v,null,b,L,B,F,V),Pe++)}const qe=ct?Gp(Le):nn;for(Se=qe.length-1,z=Ne-1;z>=0;z--){const Qe=ge+z,kt=h[Qe],en=h[Qe+1],Po=Qe+1<ae?en.el||Tl(en):w;Le[z]===0?k(null,kt,v,Po,b,L,B,F,V):ct&&(Se<0||z!==qe[Se]?Ye(kt,v,Po,2):Se--)}}},Ye=(m,h,v,w,b=null)=>{const{el:L,type:B,transition:F,children:V,shapeFlag:z}=m;if(z&6){Ye(m.component.subTree,h,v,w);return}if(z&128){m.suspense.move(h,v,w);return}if(z&64){B.move(m,h,v,fe);return}if(B===we){n(L,h,v);for(let Z=0;Z<V.length;Z++)Ye(V[Z],h,v,w);n(m.anchor,h,v);return}if(B===jr){P(m,h,v);return}if(w!==2&&z&1&&F)if(w===0)F.persisted&&!L[Bt]?n(L,h,v):(F.beforeEnter(L),n(L,h,v),Ct(()=>F.enter(L),b));else{const{leave:Z,delayLeave:ne,afterLeave:ce}=F,ge=()=>{m.ctx.isUnmounted?r(L):n(L,h,v)},Te=()=>{const Se=L._isLeaving||!!L[Bt];L._isLeaving&&L[Bt](!0),F.persisted&&!Se?ge():Z(L,()=>{ge(),ce&&ce()})};ne?ne(L,ge,Te):Te()}else n(L,h,v)},Be=(m,h,v,w=!1,b=!1)=>{const{type:L,props:B,ref:F,children:V,dynamicChildren:z,shapeFlag:ae,patchFlag:Z,dirs:ne,cacheIndex:ce,memo:ge}=m;if(Z===-2&&(b=!1),F!=null&&(Kt(),zn(F,null,v,m,!0),Xt()),ce!=null&&(h.renderCache[ce]=void 0),ae&256){h.ctx.deactivate(m);return}const Te=ae&1&&ne,Se=!dn(m);let Pe;if(Se&&(Pe=B&&B.onVnodeBeforeUnmount)&&no(Pe,h,m),ae&6)Je(m.component,v,w);else{if(ae&128){m.suspense.unmount(v,w);return}Te&&Uo(m,null,h,"beforeUnmount"),ae&64?m.type.remove(m,h,v,fe,w):z&&!z.hasOnce&&(L!==we||Z>0&&Z&64)?Ie(z,h,v,!1,!0):(L===we&&Z&384||!b&&ae&16)&&Ie(V,h,v),w&&tt(m)}const Ne=ge!=null&&ce==null;(Se&&(Pe=B&&B.onVnodeUnmounted)||Te||Ne)&&Ct(()=>{Pe&&no(Pe,h,m),Te&&Uo(m,null,h,"unmounted"),Ne&&(m.el=null)},v)},tt=m=>{const{type:h,el:v,anchor:w,transition:b}=m;if(h===we){me(v,w);return}if(h===jr){I(m);return}const L=()=>{r(v),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(m.shapeFlag&1&&b&&!b.persisted){const{leave:B,delayLeave:F}=b,V=()=>B(v,L);F?F(m.el,L,V):V()}else L()},me=(m,h)=>{let v;for(;m!==h;)v=p(m),r(m),m=v;r(h)},Je=(m,h,v)=>{const{bum:w,scope:b,job:L,subTree:B,um:F,m:V,a:z}=m;Sl(V),Sl(z),w&&yr(w),b.stop(),L&&(L.flags|=8,Be(B,m,h,v)),F&&Ct(F,h),Ct(()=>{m.isUnmounted=!0},h)},Ie=(m,h,v,w=!1,b=!1,L=0)=>{for(let B=L;B<m.length;B++)Be(m[B],h,v,w,b)},_e=m=>{if(m.shapeFlag&6)return _e(m.component.subTree);if(m.shapeFlag&128)return m.suspense.next();const h=p(m.anchor||m.el),v=h&&h[Ua];return v?p(v):h};let lt=!1;const Y=(m,h,v)=>{let w;m==null?h._vnode&&(Be(h._vnode,null,null,!0),w=h._vnode.component):k(h._vnode||null,m,h,null,
vendor: 4,124 bytes, line 5
5null,null,v),h._vnode=m,lt||(lt=!0,Ma(w),Pa(),lt=!1)},fe={p:k,um:Be,m:Ye,r:tt,mt:ie,mc:H,pc:pe,pbc:K,n:_e,o:e};return{render:Y,hydrate:void 0,createApp:Ep(Y)}}function os({type:e,props:t},o){return o==="svg"&&e==="foreignObject"||o==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:o}function jo({effect:e,job:t},o){o?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function jp(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ns(e,t,o=!1){const n=e.children,r=t.children;if(de(n)&&de(r))for(let i=0;i<n.length;i++){const s=n[i];let a=r[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[i]=ho(r[i]),a.el=s.el),!o&&a.patchFlag!==-2&&ns(s,a)),a.type===Hr&&(a.patchFlag===-1&&(a=r[i]=ho(a)),a.el=s.el),a.type===gt&&!a.el&&(a.el=s.el)}}function Gp(e){const t=e.slice(),o=[0];let n,r,i,s,a;const l=e.length;for(n=0;n<l;n++){const u=e[n];if(u!==0){if(r=o[o.length-1],e[r]<u){t[n]=r,o.push(n);continue}for(i=0,s=o.length-1;i<s;)a=i+s>>1,e[o[a]]<u?i=a+1:s=a;u<e[o[i]]&&(i>0&&(t[n]=o[i-1]),o[i]=n)}}for(i=o.length,s=o[i-1];i-- >0;)o[i]=s,s=t[s];return o}function kl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:kl(t)}function Sl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Tl(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Tl(t.subTree):null}const El=e=>e.__isSuspense;function Vp(e,t){t&&t.pendingBranch?de(e)?t.effects.push(...e):t.effects.push(e):Qd(e)}const we=Symbol.for("v-fgt"),Hr=Symbol.for("v-txt"),gt=Symbol.for("v-cmt"),jr=Symbol.for("v-stc"),go=[];let Mt=null;function g(e=!1){go.push(Mt=e?null:[])}function rs(){go.pop(),Mt=go[go.length-1]||null}let jn=1;function Gr(e,t=!1){jn+=e,e<0&&Mt&&t&&(Mt.hasOnce=!0)}function Il(e){return e.dynamicChildren=jn>0?Mt||nn:null,rs(),jn>0&&Mt&&Mt.push(e),e}function E(e,t,o,n,r,i){return Il(C(e,t,o,n,r,i,!0))}function ve(e,t,o,n,r){return Il(W(e,t,o,n,r,!0))}function Gn(e){return e?e.__v_isVNode===!0:!1}function Go(e,t){return e.type===t.type&&e.key===t.key}const Al=({key:e})=>e??null,Vr=({ref:e,ref_key:t,ref_for:o})=>(typeof e=="number"&&(e=""+e),e!=null?je(e)||Ve(e)||ye(e)?{i:pt,r:e,k:t,f:!!o}:e:null);function C(e,t=null,o=null,n=0,r=null,i=e===we?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Al(t),ref:t&&Vr(t),scopeId:$a,slotScopeIds:null,children:o,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:pt};return a?(Wr(l,o),i&128&&e.normalize(l)):o&&(l.shapeFlag|=je(o)?8:16),jn>0&&!s&&Mt&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Mt.push(l),l}const W=Wp;function Wp(e,t=null,o=null,n=0,r=null,i=!1){if((!e||e===Qa)&&(e=gt),Gn(e)){const a=Eo(e,t,!0);return o&&Wr(a,o),jn>0&&!i&&Mt&&(a.shapeFlag&6?Mt[Mt.indexOf(e)]=a:Mt.push(a)),a.patchFlag=-2,a}if(nf(e)&&(e=e.__vccOpts),t){t=Yp(t);let{class:a,style:l}=t;a&&!je(a)&&(t.class=De(a)),$e(l)&&(Ir(l)&&!de(l)&&(l=nt({},l)),t.style=Tt(l))}const s=je(e)?1:El(e)?128:Pr(e)?64:$e(e)?4:ye(e)?2:0;return C(e,t,o,n,r,s,i,!0)}function Yp(e){return e?Ir(e)||hl(e)?nt({},e):e:null}function Eo(e,t,o=!1,n=!1){const{props:r,ref:i,patchFlag:s,children:a,transition:l}=e,u=t?Ol(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Al(u),ref:t&&t.ref?o&&i?de(i)?i.concat(Vr(t)):[i,Vr(t)]:Vr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Eo(e.ssContent),ssFallback:e.ssFallback&&Eo(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Fo(c,l.clone(c)),c}function to(e=" ",t=0){return W(Hr,null,e,t)}function Vn(e,t){const o=W(jr,null,e);return o.staticCount=t,o}
vendor: 4,998 bytes, line 5
5function J(e="",t=!1){return t?(g(),ve(gt,null,e)):W(gt,null,e)}function oo(e){return e==null||typeof e=="boolean"?W(gt):de(e)?W(we,null,e.slice()):Gn(e)?ho(e):W(Hr,null,String(e))}function ho(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Eo(e)}function Wr(e,t){let o=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(de(t))o=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),Wr(e,r()),r._c&&(r._d=!0));return}else{o=32;const r=t._;!r&&!hl(t)?t._ctx=pt:r===3&&pt&&(pt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(ye(t)){if(n&65){Wr(e,{default:t});return}t={default:t,_ctx:pt},o=32}else t=String(t),n&64?(o=16,t=[to(t)]):o=8;e.children=t,e.shapeFlag|=o}function Ol(...e){const t={};for(let o=0;o<e.length;o++){const n=e[o];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=De([t.class,n.class]));else if(r==="style")t.style=Tt([t.style,n.style]);else if(fr(r)){const i=t[r],s=n[r];s&&i!==s&&!(de(i)&&i.includes(s))?t[r]=i?[].concat(i,s):s:s==null&&i==null&&!vr(r)&&(t[r]=s)}else r!==""&&(t[r]=n[r])}return t}function no(e,t,o,n=null){$t(e,t,7,[o,n])}const qp=ul();let Kp=0;function Xp(e,t,o){const n=e.type,r=(t?t.appContext:e.appContext)||qp,i={uid:Kp++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new aa(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:yl(n,r),emitsOptions:dl(n,r),emit:null,emitted:null,propsDefaults:ze,inheritAttrs:n.inheritAttrs,ctx:ze,data:ze,props:ze,attrs:ze,slots:ze,refs:ze,setupState:ze,setupContext:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Ap.bind(null,i),e.ce&&e.ce(i),i}let ht=null;const Yr=()=>ht||pt;let qr,Wn;{const e=wr(),t=(o,n)=>{let r;return(r=e[o])||(r=e[o]=[]),r.push(n),i=>{r.length>1?r.forEach(s=>s(i)):r[0](i)}};qr=t("__VUE_INSTANCE_SETTERS__",o=>ht=o),Wn=t("__VUE_SSR_SETTERS__",o=>qn=o)}const Yn=e=>{const t=ht;return qr(e),e.scope.on(),()=>{e.scope.off(),qr(t)}},Ll=()=>{ht&&ht.scope.off(),qr(null)};function Rl(e){return e.vnode.shapeFlag&4}let qn=!1;function Jp(e,t=!1,o=!1){t&&Wn(t);const{props:n,children:r}=e.vnode,i=Rl(e);Dp(e,n,i,t),Up(e,r,o||t);const s=i?Zp(e,t):void 0;return t&&Wn(!1),s}function Zp(e,t){const o=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,wp);const{setup:n}=o;if(n){Kt();const r=e.setupContext=n.length>1?ef(e):null,i=Yn(e),s=ln(n,e,0,[e.props,r]),a=Zs(s);if(Xt(),i(),(a||e.sp)&&!dn(e)&&Ya(e),a){if(s.then(Ll,Ll),t)return s.then(l=>{Wn(!0);try{Ml(e,l,t)}finally{Wn(!1)}}).catch(l=>{Lr(l,e,0)});e.asyncDep=s}else Ml(e,s)}else Pl(e)}function Ml(e,t,o){ye(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:$e(t)&&(e.setupState=Ia(t)),Pl(e)}function Pl(e,t,o){const n=e.type;e.render||(e.render=n.render||Yt);{const r=Yn(e);Kt();try{_p(e)}finally{Xt(),r()}}}const Qp={get(e,t){return vt(e,"get",""),e[t]}};function ef(e){const t=o=>{e.exposed=o||{}};return{attrs:new Proxy(e.attrs,Qp),slots:e.slots,emit:e.emit,expose:t}}function Kr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ia(Fi(e.exposed)),{get(t,o){if(o in t)return t[o];if(o in Fn)return Fn[o](e)},has(t,o){return o in t||o in Fn}})):e.proxy}const tf=/(?:^|[-_])\w/g,of=e=>e.replace(tf,t=>t.toUpperCase()).replace(/[-_]/g,"");function Dl(e,t=!0){return ye(e)?e.displayName||e.name:e.name||t&&e.__name}function $l(e,t,o=!1){let n=Dl(t);if(!n&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(n=r[1])}if(!n&&e){const r=i=>{for(const s in i)if(i[s]===t)return s};n=r(e.components)||e.parent&&r(e.parent.type.components)||r(e.appContext.components)}return n?of(n):o?"App":"Anonymous"}function nf(e){return ye(e)&&"__vccOpts"in e}const N=(e,t)=>Gd(e,t,qn);function rf(e,t,o){try{Gr(-1);const n=arguments.length;return n===2?$e(t)&&!de(t)?Gn(t)?W(e,null,[t]):W(e,t):W(e,null,t):(n>3?o=Array.prototype.slice.call(arguments,2):n===3&&Gn(o)&&(o=[o]),W(e,t,o))}finally{Gr(1)}}const sf="3.5.42";let is;const Bl=typeof window<"u"&&window.trustedTypes;if(Bl)try{is=Bl.createPolicy("vue",{createHTML:e=>e})}catch{}const Nl=is?e=>is.createHTML(e):e=>e,af="http://www.w3.org/2000/svg",lf="http://www.w3.org/1998/Math/MathML",bo=typeof document<"u"?document:null,Ul=bo&&bo.createElement("template"),cf={insert:(e,t,o)=>{t.insertBefore(e,o||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,o,n)=>{const r=t==="svg"?bo.createElementNS(af,e):t==="mathml"?bo.createElementNS(lf,e):o?bo.createElement(e,{is:o}):bo.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>bo.createTextNode(e),createComment:e=>bo.createComment(e),setText:(e,t)=>
vendor: 4,272 bytes, line 5
5{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,o,n,r,i){const s=o?o.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),o),!(r===i||!(r=r.nextSibling)););else{Ul.innerHTML=Nl(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const a=Ul.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,o)}return[s?s.nextSibling:t.firstChild,o?o.previousSibling:t.lastChild]}},Io="transition",Kn="animation",pn=Symbol("_vtc"),zl={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},Fl=nt({},ja,zl),yo=(e=>(e.displayName="Transition",e.props=Fl,e))((e,{slots:t})=>rf(lp,jl(e),t)),Vo=(e,t=[])=>{de(e)?e.forEach(o=>o(...t)):e&&e(...t)},Hl=e=>e?de(e)?e.some(t=>t.length>1):e.length>1:!1;function jl(e){const t={};for(const G in e)G in zl||(t[G]=e[G]);if(e.css===!1)return t;const{name:o="v",type:n,duration:r,enterFromClass:i=`${o}-enter-from`,enterActiveClass:s=`${o}-enter-active`,enterToClass:a=`${o}-enter-to`,appearFromClass:l=i,appearActiveClass:u=s,appearToClass:c=a,leaveFromClass:d=`${o}-leave-from`,leaveActiveClass:p=`${o}-leave-active`,leaveToClass:y=`${o}-leave-to`}=e,_=uf(r),k=_&&_[0],R=_&&_[1],{onBeforeEnter:U,onEnter:A,onEnterCancelled:P,onLeave:I,onLeaveCancelled:M,onBeforeAppear:D=U,onAppear:$=A,onAppearCancelled:H=P}=t,O=(G,te,ie,re)=>{G._enterCancelled=re,Ao(G,te?c:a),Ao(G,te?u:s),ie&&ie()},K=(G,te)=>{G._isLeaving=!1,Ao(G,d),Ao(G,y),Ao(G,p),te&&te()},X=G=>(te,ie)=>{const re=G?$:A,oe=()=>O(te,G,ie);Vo(re,[te,oe]),Gl(()=>{Ao(te,G?l:i),ro(te,G?c:a),Hl(re)||Vl(te,n,k,oe)})};return nt(t,{onBeforeEnter(G){Vo(U,[G]),ro(G,i),ro(G,s)},onBeforeAppear(G){Vo(D,[G]),ro(G,l),ro(G,u)},onEnter:X(!1),onAppear:X(!0),onLeave(G,te){G._isLeaving=!0;const ie=()=>K(G,te);ro(G,d),G._enterCancelled?(ro(G,p),as(G)):(as(G),ro(G,p)),Gl(()=>{G._isLeaving&&(Ao(G,d),ro(G,y),Hl(I)||Vl(G,n,R,ie))}),Vo(I,[G,ie])},onEnterCancelled(G){O(G,!1,void 0,!0),Vo(P,[G])},onAppearCancelled(G){O(G,!0,void 0,!0),Vo(H,[G])},onLeaveCancelled(G){K(G),Vo(M,[G])}})}function uf(e){if(e==null)return null;if($e(e))return[ss(e.enter),ss(e.leave)];{const t=ss(e);return[t,t]}}function ss(e){return cd(e)}function ro(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.add(o)),(e[pn]||(e[pn]=new Set)).add(t)}function Ao(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const o=e[pn];o&&(o.delete(t),o.size||(e[pn]=void 0))}function Gl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let df=0;function Vl(e,t,o,n){const r=e._endId=++df,i=()=>{r===e._endId&&n()};if(o!=null)return setTimeout(i,o);const{type:s,timeout:a,propCount:l}=Wl(e,t);if(!s)return n();const u=s+"end";let c=0;const d=()=>{e.removeEventListener(u,p),i()},p=y=>{y.target===e&&++c>=l&&d()};setTimeout(()=>{c<l&&d()},a+1),e.addEventListener(u,p)}function Wl(e,t){const o=window.getComputedStyle(e),n=_=>(o[_]||"").split(", "),r=n(`${Io}Delay`),i=n(`${Io}Duration`),s=Yl(r,i),a=n(`${Kn}Delay`),l=n(`${Kn}Duration`),u=Yl(a,l);let c=null,d=0,p=0;t===Io?s>0&&(c=Io,d=s,p=i.length):t===Kn?u>0&&(c=Kn,d=u,p=l.length):(d=Math.max(s,u),c=d>0?s>u?Io:Kn:null,p=c?c===Io?i.length:l.length:0);const y=c===Io&&/\b(?:transform|all)(?:,|$)/.test(n(`${Io}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:y}}function Yl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((o,n)=>ql(o)+ql(e[n])))}function ql(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function as(e){return(e?e.ownerDocument:document).body.offsetHeight}function pf(e,t,o){const n=e[pn];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):o?e.setAttribute("class",t):e.className=t}const Xr=Symbol("_vod"),ls=Symbol("_vsh"),fn={name:"show",beforeMount(e,{value:t},{transition:o}){e[Xr]=e.style.display==="none"?"":e.style.display,o&&t?o.beforeEnter(e):Xn(e,t)}
vendor: 4,592 bytes, line 5
5,mounted(e,{value:t},{transition:o}){o&&t&&o.enter(e)},updated(e,{value:t,oldValue:o},{transition:n}){!t!=!o&&(n?t?(n.beforeEnter(e),Xn(e,!0),n.enter(e)):n.leave(e,()=>{Xn(e,!1)}):Xn(e,t))},beforeUnmount(e,{value:t}){Xn(e,t)}};function Xn(e,t){e.style.display=t?e[Xr]:"none",e[ls]=!t}const ff=Symbol(""),vf=/(?:^|;)\s*display\s*:/;function mf(e,t,o){const n=e.style,r=je(o);let i=!1;if(o&&!r){if(t)if(je(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();o[a]==null&&Jn(n,a,"")}else for(const s in t)o[s]==null&&Jn(n,s,"");for(const s in o){s==="display"&&(i=!0);const a=o[s];a!=null?hf(e,s,!je(t)&&t?t[s]:void 0,a)||Jn(n,s,a):Jn(n,s,"")}}else if(r){if(t!==o){const s=n[ff];s&&(o+=";"+s),n.cssText=o,i=vf.test(o)}}else t&&e.removeAttribute("style");Xr in e&&(e[Xr]=i?n.display:"",e[ls]&&(n.display="none"))}const Jr=/\s*!important$/;function Jn(e,t,o){if(de(o))o.forEach(n=>Jn(e,t,n));else if(o==null&&(o=""),t.startsWith("--"))Jr.test(o)?e.setProperty(t,o.replace(Jr,""),"important"):e.setProperty(t,o);else{const n=gf(e,t);Jr.test(o)?e.setProperty($o(n),o.replace(Jr,""),"important"):e[n]=o}}const Kl=["Webkit","Moz","ms"],cs={};function gf(e,t){const o=cs[t];if(o)return o;let n=wt(t);if(n!=="filter"&&n in e)return cs[t]=n;n=br(n);for(let r=0;r<Kl.length;r++){const i=Kl[r]+n;if(i in e)return cs[t]=i}return t}function hf(e,t,o,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&je(n)&&o===n}const Xl="http://www.w3.org/1999/xlink";function Jl(e,t,o,n,r,i=vd(t)){n&&t.startsWith("xlink:")?o==null?e.removeAttributeNS(Xl,t.slice(6,t.length)):e.setAttributeNS(Xl,t,o):o==null||i&&!na(o)?e.removeAttribute(t):e.setAttribute(t,i?"":Ot(o)?String(o):o)}function Zl(e,t,o,n,r){if(t==="innerHTML"||t==="textContent"){o!=null&&(e[t]=t==="innerHTML"?Nl(o):o);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,l=o==null?e.type==="checkbox"?"on":"":String(o);(a!==l||!("_value"in e))&&(e.value=l),o==null&&e.removeAttribute(t),e._value=o;return}let s=!1;if(o===""||o==null){const a=typeof e[t];a==="boolean"?o=na(o):o==null&&a==="string"?(o="",s=!0):a==="number"&&(o=0,s=!0)}try{e[t]=o}catch{}s&&e.removeAttribute(r||t)}function vn(e,t,o,n){e.addEventListener(t,o,n)}function bf(e,t,o,n){e.removeEventListener(t,o,n)}const Ql=Symbol("_vei");function yf(e,t,o,n,r=null){const i=e[Ql]||(e[Ql]={}),s=i[t];if(n&&s)s.value=n;else{const[a,l]=xf(t);if(n){const u=i[t]=Sf(n,r);vn(e,a,u,l)}else s&&(bf(e,a,s,l),i[t]=void 0)}}const wf=/(Once|Passive|Capture)$/,_f=/^on:?(?:Once|Passive|Capture)$/;function xf(e){let t,o;for(;(o=e.match(wf))&&!_f.test(e);)t||(t={}),e=e.slice(0,e.length-o[1].length),t[o[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):$o(e.slice(2)),t]}let us=0;const Cf=Promise.resolve(),kf=()=>us||(Cf.then(()=>us=0),us=Date.now());function Sf(e,t){const o=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=o.attached)return;const r=o.value;if(de(r)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const s=r.slice(),a=[n];for(let l=0;l<s.length&&!n._stopped;l++){const u=s[l];u&&$t(u,t,5,a)}}else $t(r,t,5,[n])};return o.value=e,o.attached=kf(),o}const ec=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Tf=(e,t,o,n,r,i)=>{const s=r==="svg";t==="class"?pf(e,n,s):t==="style"?mf(e,o,n):fr(t)?vr(t)||yf(e,t,o,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ef(e,t,n,s))?(Zl(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Jl(e,t,n,s,i,t!=="value")):e._isVueCE&&(If(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!je(n)))?Zl(e,wt(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Jl(e,t,n,s))};function Ef(e,t,o,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&ec(t)&&ye(o));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ec(t)&&je(o)?!1:t in e}function If(e,t){const o=e._def.props;if(!o)return!1;const n=wt(t);return Array.isArray(o)?o.some(r=>wt(r)===n):Object.keys(o).some(r=>wt(r)===n)}const tc=new WeakMap,oc=new WeakMap,Zr=Symbol("_moveCb"),nc=Symbol("_enterCb"),Af=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:nt({},Fl,{tag:String,moveClass:String}),setup(e,{slots:t}){const o=Yr(),n=Ha();let r,i;return Ja(()=>
5{if(!r.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!Mf(r[0].el,o.vnode.el,s)){r=[];return}r.forEach(Of),r.forEach(Lf);const a=r.filter(Rf);as(o.vnode.el),a.forEach(l=>{const u=l.el,c=u.style;ro(u,s),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[Zr]=p=>{p&&p.target!==u||(!p||p.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",d),u[Zr]=null,Ao(u,s))};u.addEventListener("transitionend",d)}),r=[]}),()=>{const s=Ae(e),a=jl(s);let l=s.tag||we;if(r=[],i)for(let u=0;u<i.length;u++){const c=i[u];c.el&&c.el instanceof Element&&!c.el[ls]&&(r.push(c),Fo(c,Un(c,a,n,o)),tc.set(c,rc(c.el)))}i=t.default?qi(t.default()):[];for(let u=0;u<i.length;u++){const c=i[u];c.key!=null&&Fo(c,Un(c,a,n,o))}return W(l,null,i)}}});function Of(e){const t=e.el;t[Zr]&&t[Zr](),t[nc]&&t[nc]()}function Lf(e){oc.set(e,rc(e.el))}function Rf(e){const t=tc.get(e),o=oc.get(e),n=t.left-o.left,r=t.top-o.top;if(n||r){const i=e.el,s=i.style,a=i.getBoundingClientRect();let l=1,u=1;return i.offsetWidth&&(l=a.width/i.offsetWidth),i.offsetHeight&&(u=a.height/i.offsetHeight),(!Number.isFinite(l)||l===0)&&(l=1),(!Number.isFinite(u)||u===0)&&(u=1),Math.abs(l-1)<.01&&(l=1),Math.abs(u-1)<.01&&(u=1),s.transform=s.webkitTransform=`translate(${n/l}px,${r/u}px)`,s.transitionDuration="0s",e}}function rc(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function Mf(e,t,o){const n=e.cloneNode(),r=e[pn];r&&r.forEach(a=>{a.split(/\s+/).forEach(l=>l&&n.classList.remove(l))}),o.split(/\s+/).forEach(a=>a&&n.classList.add(a)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:s}=Wl(n);return i.removeChild(n),s}const ic=e=>{const t=e.props["onUpdate:modelValue"]||!1;return de(t)?o=>yr(t,o):t};function Pf(e){e.target.composing=!0}function sc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qr=Symbol("_assign"),ei=Symbol("_initialValue");function ds(e,t,o){return t&&(e=e.trim()),o&&(e=Ii(e)),e}const ac={created(e,{modifiers:{lazy:t,trim:o,number:n}},r){e.parentNode&&(e.type==="text"?e[ei]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[ei]=e.defaultValue.replace(/\r\n?/g,`
6`))),e[Qr]=ic(r);const i=n||r.props&&r.props.type==="number";vn(e,t?"change":"input",s=>{s.target.composing||e[Qr](ds(e.value,o,i))}),(o||i)&&vn(e,"change",()=>{e.value=ds(e.value,o,i)}),t||(vn(e,"compositionstart",Pf),vn(e,"compositionend",sc),vn(e,"change",sc))},mounted(e,{value:t,modifiers:{trim:o,number:n}}){const r=t??"",i=e[ei];delete e[ei],i!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==i?e[Qr](ds(e.value,o,n)):e.value=r},beforeUpdate(e,{value:t,oldValue:o,modifiers:{lazy:n,trim:r,number:i}},s){if(e[Qr]=ic(s),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?Ii(e.value):e.value,l=t??"";if(a===l)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(n&&t===o||r&&e.value.trim()===l)||(e.value=l)}},Df=["ctrl","shift","alt","meta"],$f={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Df.some(o=>e[`${o}Key`]&&!t.includes(o))},ps=(e,t)=>{if(!e)return e;const o=e._withMods||(e._withMods={}),n=t.join(".");return o[n]||(o[n]=((r,...i)=>{for(let s=0;s<t.length;s++){const a=$f[t[s]];if(a&&a(r,t))return}return e(r,...i)}))},Bf=nt({patchProp:Tf},cf);let lc;function Nf(){return lc||(lc=Fp(Bf))}const Uf=((...e)=>{const t=Nf().createApp(...e),{mount:o}=t;return t.mount=n=>{const r=Ff(n);if(!r)return;const i=t._component;!ye(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const s=o(r,!1,zf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t});function zf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ff(e){return je(e)?document.querySelector(e):e}let cc;const ti=e=>cc=e,uc=Symbol();function fs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Zn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Zn||(Zn={}));function Hf(){const e=la(!0),t=e.run(()=>S({}));let o=[],n=[];const r=Fi({install(i){ti(r),r._a=i,i.provide(uc,r),i.config.globalProperties.$pinia=r,n.forEac
vendor: 1,247 bytes, line 6
6h(s=>o.push(s)),n=[]},use(i){return this._a?o.push(i):n.push(i),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return r}const dc=()=>{};function pc(e,t,o,n=dc){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),n())};return!o&&ca()&&gd(r),r}function mn(e,...t){e.slice().forEach(o=>{o(...t)})}const jf=e=>e(),fc=Symbol(),vs=Symbol();function ms(e,t){e instanceof Map&&t instanceof Map?t.forEach((o,n)=>e.set(n,o)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const o in t){if(!t.hasOwnProperty(o))continue;const n=t[o],r=e[o];fs(r)&&fs(n)&&e.hasOwnProperty(o)&&!Ve(n)&&!Zt(n)?e[o]=ms(r,n):e[o]=n}return e}const Gf=Symbol();function Vf(e){return!fs(e)||!Object.prototype.hasOwnProperty.call(e,Gf)}const{assign:Oo}=Object;function Wf(e){return!!(Ve(e)&&e.effect)}function Yf(e,t,o,n){const{state:r,actions:i,getters:s}=t,a=o.state.value[e];let l;function u(){a||(o.state.value[e]=r?r():{});const c=Ud(o.state.value[e]);return Oo(c,i,Object.keys(s||{}).reduce((d,p)=>(d[p]=Fi(N(()=>{ti(o);const y=o._s.get(e);return s[p].call(y,y)})),d),{}))}return l=vc(e,u,t,o,n,!0),l}function vc(e,t,o={},n,r,i){let s;const a=Oo({actions:{}},o),l={deep:!0};let u,c,d=[],p=[],y;const _=n.state.value[e];!i&&!_&&(n.state.value[e]={});let k;
6function R(H){let O;u=c=!1,typeof H=="function"?(H(n.state.value[e]),O={type:Zn.patchFunction,storeId:e,events:y}):(ms(n.state.value[e],H),O={type:Zn.patchObject,payload:H,storeId:e,events:y});const K=k=Symbol();eo().then(()=>{k===K&&(u=!0)}),c=!0,mn(d,O,n.state.value[e])}const U=i?function(){const{state:O}=o,K=O?O():{};this.$patch(X=>{Oo(X,K)})}:dc;function A(){s.stop(),d=[],p=[],n._s.delete(e)}const P=(H,O="")=>{if(fc in H)return H[vs]=O,H;const K=function(){ti(n);const X=Array.from(arguments),G=[],te=[];function ie(ee){G.push(ee)}function re(ee){te.push(ee)}mn(p,{args:X,name:K[vs],store:M,after:ie,onError:re});let oe;try{oe=H.apply(this&&this.$id===e?this:M,X)}catch(ee){throw mn(te,ee),ee}return oe instanceof Promise?oe.then(ee=>(mn(G,ee),ee)).catch(ee=>(mn(te,ee),Promise.reject(ee))):(mn(G,oe),oe)};return K[fc]=!0,K[vs]=O,K},I={_p:n,$id:e,$onAction:pc.bind(null,p),$patch:R,$reset:U,$subscribe(H,O={}){const K=pc(d,H,O.detached,()=>X()),X=s.run(()=>Fe(()=>n.state.value[e],G=>{(O.flush==="sync"?c:u)&&H({storeId:e,type:Zn.direct,events:y},G)},Oo({},l,O)));return K},$dispose:A},M=sn(I);n._s.set(e,M);const $=(n._a&&n._a.runWithContext||jf)(()=>n._e.run(()=>(s=la()).run(()=>t({action:P}))));for(const H in $){const O=$[H];if(Ve(O)&&!Wf(O)||Zt(O))i||(_&&Vf(O)&&(Ve(O)?O.value=_[H]:ms(O,_[H])),n.state.value[e][H]=O);else if(typeof O=="function"){const K=P(O,H);$[H]=K,a.actions[H]=O}}return Oo(M,$),Oo(Ae(M),$),Object.defineProperty(M,"$state",{get:()=>n.state.value[e],set:H=>{R(O=>{Oo(O,H)})}}),n._p.forEach(H=>{Oo(M,s.run(()=>H({store:M,app:n._a,pinia:n,options:a})))}),_&&i&&o.hydrate&&o.hydrate(M.$state,_),u=!0,c=!0,M}function Ut(e,t,o){let n;const r=typeof t=="function";n=r?o:t;function i(s,a){const l=ep();return s=s||(l?Co(uc,null):null),s&&ti(s),s=cc,s._s.has(e)||(r?vc(e,t,n,s):Yf(e,n,s)),s._s.get(e)}return i.$id=e,i}function He(e){const t=Ae(e),o={};for(const n in t){const r=t[n];r.effect?o[n]=N({get:()=>e[n],set(i){e[n]=i}}):(Ve(r)||Zt(r))&&(o[n]=Hd(e,n))}return o}function gs(e){if(!e)return"";let t=e;if(!t.includes(`
7`)&&!t.includes("\r"))return t;t=t.replace(/\r\n?|\r/g,`
8`),t=t.replace(/\n(?:[ \t]*\n){2,}/g,`
9
10`);let o=0;return t=t.replace(/\n/g,()=>(o++,o>=6?" ":`
11`)),t}function mc(e,t){(t==null||t>e.length)&&(t=e.length);for(var o=0,n=Array(t);o<t;o++)n[o]=e[o];return n}function qf(e){if(Array.isArray(e))return e}function Kf(e,t){var o=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o!=null){var n,r,i,s,a=[],l=!0,u=!1;try{if(i=(o=o.call(e)).next,t!==0)for(;!(l=(n=i.call(o)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(c){u=!0,r=c}finally{try{if(!l&&o.return!=null&&(s=o.return(),Object(s)!==s))return}finally{if(u)throw r}}return a}}function Xf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
12In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jf(e,t){return qf(e)||Kf(e,t)||Zf(e,t)||Xf()}function Zf(e,t){if(e){if(typeof e=="string")return mc(e,t);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?mc(e,t):void 0}}const gc=Object.entries,hc=Object.setPrototypeOf,Qf=Object.isFrozen,ev=Object.getPrototypeOf,tv=Object.getOwnPropertyDescriptor;let at=Object.freeze,ut=Object.seal,gn=Object.create,bc=typeof Reflect<"u"&&Reflect,hs=bc.apply,bs=bc.construct;at||(at=function(t){return t}),ut||(ut=function(t){return t}),hs||(hs=function(t,o){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return t.apply(o,r)}),bs||(bs=function(t){for(var o=arguments.length,n=new Array(o>1?o-1:0),r=1;r<o;r++)n[r-1]=arguments[r];return new t(...n)});const Wo=it(Array.prototype.forEach),ov=it(Array.prototype.lastIndexOf),yc=it(Array.prototype.pop),Qn=it(Array.prototype.push),nv=it(Array.prototype.splice),hn=Array.isArray,er=it(String.prototype.toLowerCase),ys=it(String.prototype.toString),wc=it(String.prototype.match),tr=it(String.prototype.replace),_c=it(String.prototype.indexOf),rv=it(String.prototype.trim),iv=it(Number.prototype.toString),sv=it(Boolean.prototype.toString),xc=typeof BigInt>"u"?null:it(BigInt.prototype.toString),Cc=typeof Symbol>"u"?null:it(Symbol.prototype.toString),Et=it(Object.prototype.hasOwnProperty),or=it(Object.prototype.toString),bt=it(RegExp.prototype.test),Yo=av(TypeError);function it(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var o=arguments.length,n=new Array(o>1?o-1:0),r=1;r<o;r++)n[r-1]=arguments[r];return hs(e,t,n)}}function av(e){return function(){for(var t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];return bs(e,o)}}function Re(e,t){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:er;if(hc&&hc(e,null),!hn(t))return e;let n=t.length;for(;n--;){let r=t[n];if(typeof r=="string"){const i=o(r);i!==r&&(Qf(t)||(t[n]=i),r=i)}e[r]=!0}return e}function lv(e){for(let t=0;t<e.length;t++)Et(e,t)||(e[t]=null);return e}function Pt(e){const t=gn(null);for(const n of gc(e)){var o=Jf(n,2);const r=o[0],i=o[1];Et(e,r)&&(hn(i)?t[r]=lv(i):i&&typeof i=="object"&&i.constructor===Object?t[r]=Pt(i):t[r]=i)}return t}function cv(e){switch(typeof e){case"string":return e;case"number":return iv(e);case"boolean":return sv(e);case"bigint":return xc?xc(e):"0";case"symbol":return Cc?Cc(e):"Symbol()";case"undefined":return or(e);case"function":case"object":{if(e===null)return or(e);const t=e,o=Vt(t,"toString");if(typeof o=="function"){const n=o(t);return typeof n=="string"?n:or(n)}return or(e)}default:return or(e)}}function Vt(e,t){for(;e!==null;){const n=tv(e,t);if(n){if(n.get)return it(n.get);if(typeof n.value=="function")return it(n.value)}e=ev(e)}function o(){return null}return o}function uv(e){try{return bt(e,""),!0}catch{return!1}}const kc=at(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ws=at(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),_s=at(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),dv=at(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),xs=at(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),pv=at(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Sc=at(["#text"]),Tc=at(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
12spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Cs=at(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ec=at(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),oi=at(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fv=ut(/{{[\w\W]*|^[\w\W]*}}/g),vv=ut(/<%[\w\W]*|^[\w\W]*%>/g),mv=ut(/\${[\w\W]*/g),gv=ut(/^data-[\-\w.\u00B7-\uFFFF]+$/),hv=ut(/^aria-[\-\w]+$/),Ic=ut(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),bv=ut(/^(?:\w+script|data):/i),yv=ut(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),wv=ut(/^html$/i),_v=ut(/^[a-z][.\w]*(-[.\w]+)+$/i),Ac=ut(/<[/\w!]/g),Oc=ut(/<[/\w]/g),xv=ut(/<\/no(script|embed|frames)/i),Cv=ut(/\/>/i),Dt={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Lc=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],kv=at(Re({},Lc)),Sv=(function(){const e={};return Wo(Lc,t=>{e[t]=ut(new RegExp("</"+t+"(?=[\\t\\n\\f\\r />])","i"))}),at(e)})(),Tv=function(){return typeof window>"u"?null:window},Ev=function(t,o){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;
vendor: 16,572 bytes, line 12
12const r="data-tt-policy-suffix";o&&o.hasAttribute(r)&&(n=o.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},Rc=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Lo=function(t,o,n,r){return Et(t,o)&&hn(t[o])?Re(r.base?Pt(r.base):{},t[o],r.transform):n},ks=function(t,o,n){const r=Et(t,o)?t[o]:void 0;return r&&typeof r=="object"?Pt(r):n()};function Mc(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tv();const t=q=>Mc(q);if(t.version="3.4.14",t.removed=[],!e||!e.document||e.document.nodeType!==Dt.document||!e.Element)return t.isSupported=!1,t;let o=e.document;const n=o,r=n.currentScript;e.DocumentFragment;const i=e.HTMLTemplateElement,s=e.Node,a=e.Element,l=e.NodeFilter,u=e.NamedNodeMap;u===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const c=e.DOMParser,d=e.trustedTypes,p=a.prototype,y=Vt(p,"cloneNode"),_=Vt(p,"remove"),k=Vt(p,"nextSibling"),R=Vt(p,"childNodes"),U=Vt(p,"parentNode"),A=Vt(p,"shadowRoot"),P=Vt(p,"attributes"),I=s&&s.prototype?Vt(s.prototype,"nodeType"):null,M=s&&s.prototype?Vt(s.prototype,"nodeName"):null,D=s&&s.prototype?Vt(s.prototype,"ownerDocument"):null,$=function(f){return I?I(f):f.nodeType},H=function(f){return M?M(f):f.nodeName};if(typeof i=="function"){const q=o.createElement("template");q.content&&q.content.ownerDocument&&(o=q.content.ownerDocument)}let O,K="",X,G=!1,te=0;const ie=function(){if(te>0)throw Yo('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},re=function(f){ie(),te++;try{return O.createHTML(f)}finally{te--}},oe=function(f){ie(),te++;try{return O.createScriptURL(f)}finally{te--}},ee=function(){return G||(X=Ev(d,r),G=!0),X},pe=o,Ee=pe.implementation,Me=pe.createNodeIterator,Ye=pe.createDocumentFragment,Be=pe.getElementsByTagName,tt=n.importNode;let me=Rc();t.isSupported=typeof gc=="function"&&typeof U=="function"&&Ee&&Ee.createHTMLDocument!==void 0;const Je=fv,Ie=vv,_e=mv,lt=gv,Y=hv,fe=bv,le=yv,m=_v;let h=Ic,v=null;const w=Re({},[...kc,...ws,..._s,...xs,...Sc]);let b=null;const L=Re({},[...Tc,...Cs,...Ec,...oi]);let B=Object.seal(gn(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),F=null,V=null;const z=Object.seal(gn(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ae=!0,Z=!0,ne=!1,ce=!0,ge=!1,Te=!0,Se=!1,Pe=!1,Ne=null,ct=null,xe=!1,Le=!1,qe=!1,Qe=!1,kt=!0,en=!1;const Po="user-content-";let he=!0,Ke=!1,ue={},Wt=null;const kn=Re({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Ft=null;const gi=Re({},["audio","video","img","source","image","track"]);let hi=null;const ur=Re({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tn="http://www.w3.org/1998/Math/MathML",bi="http://www.w3.org/2000/svg",ao="http://www.w3.org/1999/xhtml";let Sn=ao,Fs=!1,Hs=null;const b2=Re({},[tn,bi,ao],ys),Gu=at(["mi","mo","mn","ms","mtext"]);let js=Re({},Gu);const Vu=at(["annotation-xml"]);let Gs=Re({},Vu);const y2=Re({},["title","style","font","a","script"]);let dr=null;const w2=["application/xhtml+xml","text/html"],_2="text/html";let ot=null,Tn=null;const x2=o.createElement("form"),Wu=function(f){return f instanceof RegExp||f instanceof Function},Vs=function(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Tn&&Tn===f)return;(!f||typeof f!="object")&&(f={}),f=Pt(f),dr=w2.indexOf(f.PARSER_MEDIA_TYPE)===-1?_2:f.PARSER_MEDIA_TYPE,ot=dr==="application/xhtml+xml"?ys:er,v=Lo(f,"ALLOWED_TAGS",w,{transform:ot}),b=Lo(f,"ALLOWED_ATTR",L,{transform:ot}),Hs=Lo(f,"ALLOWED_NAMESPACES",b2,{transform:ys}),hi=Lo(f,"ADD_URI_SAFE_ATTR",ur,{transform:ot,base:ur}),Ft=Lo(f,"ADD_DATA_URI_TAGS",gi,{transform:ot,base:gi}),Wt=Lo(f,"FORBID_CONTENTS",kn,{transform:ot}),F=Lo(f,"FORBID_TAGS",Pt({}),{transform:ot}),V=Lo(f,"FORBID_ATTR",Pt({}),{transform:ot}),ue=Et(f,"USE_PROFILES")?f.USE_PROFILES&&typeof f.USE_PROFILES=="object"?Pt(f.USE_PROFILES):f.USE_PROFILES:!1,ae=f.ALLOW_ARIA_ATTR!==!1,Z=f.ALLOW_DATA_ATTR!==!1,ne=f.ALLOW_UNKNOWN_PROTOCOLS||!1,ce=f.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ge=f.SAFE_FOR_TEMPLATES||!1,Te=f.SAFE_FOR_XML!==!1,Se=f.WHOLE_DOCUMENT||!1,Le=f.RETURN_DOM||!1,qe=f.RETURN_DOM_FRAGMENT||!1,Qe=f.RETURN_TRUSTED_TYPE||!1,xe=f.FORCE_BODY||!1,kt=f.SANITIZE_DOM!==!1,en=f.SANITIZE_NAMED_PROPS||!1,he=f.KEEP_CONTENT!==!1,Ke=f.IN_PLACE||!1,h=uv(f.ALLOWED_URI_REGEXP)?f.ALLOWED_URI_REGEXP:Ic,Sn=typeof f.NAMESPACE=="string"?f.NAMESPACE:ao,js=ks(f,"MATHML_TEXT_INTEGRATION_POINTS",()=>Re({},Gu)),Gs=ks(f,"HTML_INTEGRATION_POINTS",()=>Re({},Vu));const x=ks(f,"CUSTOM_ELEMENT_HANDLING",()=>gn(null));if(B=gn(null),Et(x,"tagNameCheck")&&Wu(x.tagNameCheck)&&(B.tagNameCheck=x.tagNameCheck),Et(x,"attributeNameCheck")&&Wu(x.attributeNameCheck)&&(B.attributeNameCheck=x.attributeNameCheck),Et(x,"allowCustomizedBuiltInElements")&&typeof x.allowCustomizedBuiltInElements=="boolean"&&(B.allowCustomizedBuiltInElements=x.allowCustomizedBuiltInElements),ut(B),ge&&(Z=!1),qe&&(Le=!0),ue&&(v=Re({},Sc),b=gn(null),ue.html===!0&&(Re(v,kc),Re(b,Tc)),ue.svg===!0&&(Re(v,ws),Re(b,Cs),Re(b,oi)),ue.svgFilters===!0&&(Re(v,_s),Re(b,Cs),Re(b,oi)),ue.mathMl===!0&&(Re(v,xs),Re(b,Ec),Re(b,oi))),z.tagCheck=null,z.attributeCheck=null,Et(f,"ADD_TAGS")&&(typeof f.ADD_TAGS=="function"?z.tagCheck=f.ADD_TAGS:hn(f.ADD_TAGS)&&(v===w&&(v=Pt(v)),Re(v,f.ADD_TAGS,ot))),Et(f,"ADD_ATTR")&&(typeof f.ADD_ATTR=="function"?z.attributeCheck=f.ADD_ATTR:hn(f.ADD_ATTR)&&(b===L&&(b=Pt(b)),Re(b,f.ADD_ATTR,ot))),Et(f,"ADD_FORBID_CONTENTS")&&hn(f.ADD_FORBID_CONTENTS)&&(Wt===kn&&(Wt=Pt(Wt)),Re(Wt,f.ADD_FORBID_CONTENTS,ot)),he&&(v["#text"]=!0),Se&&Re(v,["html","head","body"]),v.table&&(Re(v,["tbody"]),delete F.tbody),f.TRUSTED_TYPES_POLICY){if(typeof f.TRUSTED_TYPES_POLICY.createHTML!="function")throw Yo('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof f.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Yo('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const j=O;O=f.TRUSTED_TYPES_POLICY;try{K=re("")}catch(Q){throw O=j,Q}}else f.TRUSTED_TYPES_POLICY===null?(O=void 0,K=""):(O===void 0&&(O=ee()),O&&typeof K=="string"&&(K=re("")));at&&at(f),Tn=f},Yu=Re({},[...ws,..._s,...dv]),qu=Re({},[...xs,...pv]),C2=function(f,x,j){return x.namespaceURI===ao?f==="svg":x.namespaceURI===tn?f==="svg"&&(j==="annotation-xml"||js[j]):!!Yu[f]},k2=function(f,x,j){return x.namespaceURI===ao?f==="math":x.namespaceURI===bi?f==="math"&&Gs[j]:!!qu[f]},S2=function(f,x,j){return x.namespaceURI===bi&&!Gs[j]||x.namespaceURI===tn&&!js[j]?!1:!qu[f]&&(y2[f]||!Yu[f])},T2=function(f){let x=U(f);(!x||!x.tagName)&&(x={namespaceURI:Sn,tagName:"template"});const j=er(f.tagName),Q=er(x.tagName);return Hs[f.namespaceURI]?f.namespaceURI===bi?C2(j,x,Q):f.namespaceURI===tn?k2(j,x,Q):f.namespaceURI===ao?S2(j,x,Q):!!(dr==="application/xhtml+xml"&&Hs[f.namespaceURI]):!1},Do=function(f){Qn(t.removed,{element:f});try{U(f).removeChild(f)}catch{if(_(f),!U(f))throw Yo("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Ku=function(f,x,j){try{f.removeAttributeNode(x)}catch{try{f.removeAttribute(j)}catch{}}},yi=function(f){wi(f);const x=R(f);if(x){const Q=[];Wo(x,se=>{Qn(Q,se)}),Wo(Q,se=>{try{_(se)}catch{}})}const j=P(f);if(j)for(let Q=j.length-1;Q>=0;--Q){const se=j[Q],be=se&&se.name;typeof be=="string"&&Ku(f,se,be)}},on=function(f,x,j){if(!j)try{j=x.getAttributeNode(f)}catch{j=null}Qn(t.removed,{attribute:j||null,from:x});try{j?x.removeAttributeNode(j):x.removeAttribute(f)}catch{try{x.removeAttribute(f)}catch{}}if(f==="is")if(Le||qe)try{Do(x)}catch{}else try{x.setAttribute(f,"")}catch{}},E2=function(f){const x=P(f);if(x)for(let j=x.length-1;j>=0;--j){const Q=x[j],se=Q&&Q.name;typeof se!="string"||b[ot(se)]||Ku(f,Q,se)}},wi=function(f){const x=[f];for(;x.length>0;){const j=x.pop();$(j)===Dt.element&&E2(j);const se=R(j);if(se)for(let be=se.length-1;be>=0;--be)x.push(se[be])}},Xu=function(f,x){return Te?f==="patchsrc"?!0:f==="for"&&x!=="label"&&x!=="output":!1},I2=function(f){if(!Te)return;const x=[f];for(;x.length>0;){const j=x.pop(),Q=$(j);if(Q===Dt.processingInstruction||Q===Dt.comment&&bt(Oc,j.data)){try{_(j)}catch{}continue}if(Q===Dt.element){const be=j,We=ot(H(j));try{be.hasAttribute&&be.hasAttribute("patchsrc")&&be.removeAttribute("patchsrc"),be.hasAttribute&&be.hasAttribute("for")&&Xu("for",We)&&be.removeAttribute("for")}catch{}}const se=R(j);if(se)for(let be=se.length-1;be>=0;--be)x.push(se[be])}},Ju=function(f){let x=null,j=null;if(xe)f="<remove></remove>"+f;else{const be=wc(f,/^[\r\n\t ]+/);j=be&&be[0]}dr==="application/xhtml+xml"&&Sn===ao&&(f='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+f+"</body></html>");const Q=O?re(f):f;if(Sn===ao)try{x=new c().parseFromString(Q,dr)}catch{}if(!x||!x.documentElement){x=Ee.createDocument(Sn,"template",null);try{x.documentElement.innerHTML=Fs?K:Q}catch{}}const se=x.body||x.documentElement;return f&&j&&se.insertBefore(o.createTextNode(j),se.childNodes[0]||null),Sn===ao?Be.call(x,Se?"html":"body")[0]:Se?x.documentElement:se},Zu=function(f){const x=D?D(f):f.ownerDocument;return Me.call(x||f,f,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},_i=function(f){return f=tr(f,Je," "),f=tr(f,Ie," "),f=tr(f,_e," "),f},Ws=function(f){var x;f.normalize();const j=D?D(f):f.ownerDocument,Q=Me.call(j||f,f,l.SHOW_TEXT|l.SHOW_COMMENT|l.SHOW_CDATA_SECTION|l.SHOW_PROCESSING_INSTRUCTION,null);let se=Q.nextNode();for(;se;)se.data=_i(se.data),se=Q.nextNode();const be=(x=f.querySelectorAll)===null||x===void 0?void 0:x.call(f,"template");be&&Wo(be,We=>{En(We.content)&&Ws(We.content)})},xi=function(f){const x=M?M(f):null;return typeof x!="string"||ot(x)!=="form"?!1:typeof f.nodeName!="string"||typeof f.textContent!="string"||typeof f.removeChild!="function"||f.attributes!==P(f)||typeof f.removeAttribute!="function"||typeof f.setAttribute!="function"||typeof f.namespaceURI!="string"||typeof f.insertBefore!="function"||typeof f.hasChildNodes!="function"||f.nodeType!==I(f)||f.childNodes!==R(f)},En=function(f){if(!I||typeof f!="object"||f===null)return!1;try{return I(f)===Dt.documentFragment}catch{return!1}},pr=function(f){if(!I||typeof f!="object"||f===null)return!1;try{return typeof I(f)=="number"}catch{return!1}};function lo(q,f,x){q.length!==0&&Wo(q,j=>{j.call(t,f,x,Tn)})}const A2=function(f,x){return!!(Te&&f.hasChildNodes()&&!pr(f.firstElementChild)&&bt(Ac,f.textContent)&&bt(Ac,f.innerHTML)||Te&&f.namespaceURI===ao&&kv[x]&&(pr(f.firstElementChild)||typeof f.textContent=="string"&&bt(Sv[x],f.textContent))||f.nodeType===Dt.processingInstruction||Te&&f.nodeType===Dt.comment&&bt(Oc,f.data))},Ci=function(f,x){if(f instanceof RegExp)return bt(f,x);if(f instanceof Function){for(var j=arguments.length,Q=new Array(j>2?j-2:0),se=2;se<j;se++)Q[se-2]=arguments[se];return!!f(x,...Q)}return!1},O2=function(f,x,j){if(!F[x]&&nd(x)&&Ci(B.tagNameCheck,x))return!1;if(he&&!Wt[x]){const Q=U(f),se=R(f);if(se&&Q){const be=se.length;for(let We=be-1;We>=0;--We){const Ze=f===j?y(se[We],!0):se[We];Q.insertBefore(Ze,k(f))}}}return Do(f),!0},Qu=function(f,x,j,Q){return f.length===0?x:x===j||x===Q?Pt(x):x},ed=function(f,x){return f===x||U(f)!==null?!1:(Ke&&wi(f),!0)},td=function(f,x){if(lo(me.beforeSanitizeElements,f,null),ed(f,x))return!0;if(xi(f))return Do(f),!0;const j=ot(H(f));if(v=Qu(me.uponSanitizeElement,v,w,Ne),lo(me.uponSanitizeElement,f,{tagName:j,allowedTags:v}),ed(f,x))return!0;if(A2(f,j))return Do(f),!0;if(F[j]||!(z.tagCheck instanceof Function&&z.tagCheck(j))&&!v[j]){const se=O2(f,j,x);return se===!1&&lo(me.afterSanitizeElements,f,null),se}if($(f)===Dt.element&&!T2(f)||(j==="noscript"||j==="noembed"||j==="noframes")&&bt(xv,f.innerHTML))return Do(f),!0;if(ge&&f.nodeType===Dt.text){const se=_i(f.textContent);f.textContent!==se&&(Qn(t.removed,{element:f.cloneNode()}),f.textContent=se)}return lo(me.afterSanitizeElements,f,null),!1},od=function(f,x,j){if(V[x]||Xu(x,f)||kt&&(x==="id"||x==="name")&&(j in o||j in x2))return!1;const Q=b[x]||z.attributeCheck instanceof Function&&z.attributeCheck(x,f);return Z&&bt(lt,x)||ae&&bt(Y,x)?!0:Q?hi[x]||bt(h,tr(j,le,""))||(x==="src"||x==="xlink:href"||x==="href")&&f!=="script"&&_c(j,"data:")===0&&Ft[f]||ne&&!bt(fe,tr(j,le,""))?!0:!j:nd(f)&&Ci(B.tagNameCheck,f)&&Ci(B.attributeNameCheck,x,f)||x==="is"&&B.allowCustomizedBuiltInElements&&Ci(B.tagNameCheck,j)},L2=Re({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),nd=function(f){return!L2[er(f)]&&bt(m,f)},R2=function(f,x,j,Q){if(O&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!j)switch(d.getAttributeType(f,x)){case"TrustedHTML":return re(Q);case"TrustedScriptURL":return oe(Q)}return Q},M2=function(f,x,j,Q){try{j?f.setAttributeNS(j,x,Q):f.setAttribute(x,Q),xi(f)?Do(f):yc(t.removed)}catch{on(x,f)}},rd=function(f){lo(me.beforeSanitizeAttributes,f,null);const x=f.attributes;if(!x||xi(f))return;b=Qu(me.uponSanitizeAttribute,b,L,ct);const j={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:b,forceKeepAttr:void 0};let Q=x.length;const se=ot(f.nodeName);for(;Q--;){const be=x[Q],We=be.name,Ze=be.namespaceURI,It=be.value,At=ot(We),qs=It;let St=We==="value"?qs:rv(qs);if(j.attrName=At,j.attrValue=St,j.keepAttr=!0,j.forceKeepAttr=void 0,lo(me.uponSanitizeAttribute,f,j),St=j.attrValue,en&&(At==="id"||At==="name")&&_c(St,Po)!==0&&(on(We,f,be),St=Po+St),Te&&bt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,St)){on(We,f,be);continue}if(At==="attributename"&&wc(St,"href")){on(We,f,be);continue}if(!j.forceKeepAttr){if(!j.keepAttr){on(We,f,be);continue}if(!ce&&bt(Cv,St)){on(We,f,be);continue}if(ge&&(St=_i(St)),!od(se,At,St)){on(We,f,be);continue}St=R2(se,At,Ze,St),St!==qs&&M2(f,We,Ze,St)}}lo(me.afterSanitizeAttributes,f,null)},ki=function(f){let x=null;const j=Zu(f);for(lo(me.beforeSanitizeShadowDOM,f,null);x=j.nextNode();)if(lo(me.uponSanitizeShadowNode,x,null),td(x,f),rd(x),En(x.content)&&ki(x.content),$(x)===Dt.element){const Q=A(x);En(Q)&&(Ys(Q),ki(Q))}lo(me.afterSanitizeShadowDOM,f,null)},Ys=function(f){const x=[{node:f,shadow:null}];for(;x.length>0;){const j=x.pop();if(j.shadow){ki(j.shadow);continue}const Q=j.node,be=$(Q)===Dt.element,We=R(Q);if(We)for(let Ze=We.length-1;Ze>=0;--Ze)x.push({node:We[Ze],shadow:null});if(be){const Ze=M?M(Q):null;if(typeof Ze=="string"&&ot(Ze)==="template"){const It=Q.content;En(It)&&x.push({node:It,shadow:null})}}if(be){const Ze=A(Q);En(Ze)&&x.push({node:null,shadow:Ze},{node:Ze,shadow:null})}}};return t.sanitize=function(q){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x=null,j=null,Q=null,se=null;if(Fs=!q,Fs&&(q="<!-->"),typeof q!="string"&&!pr(q)&&(q=cv(q),typeof q!="string"))throw Yo("dirty is not a string, aborting");if(!t.isSupported)return q;Pe?(v=Ne,b=ct):Vs(f),(me.uponSanitizeElement.length>0||me.uponSanitizeAttribute.length>0)&&(v=Pt(v)),me.uponSanitizeAttribute.length>0&&(b=Pt(b)),t.removed=[];const be=Ke&&typeof q!="string"&&pr(q);if(be){I2(q);const It=H(q);if(typeof It=="string"){const At=ot(It);if(!v[At]||F[At])throw yi(q),Yo("root node is forbidden and cannot be sanitized in-place")}if(xi(q))throw yi(q),Yo("root node is clobbered and cannot be sanitized in-place");try{Ys(q)}catch(At){throw yi(q),At}}else if(pr(q))x=Ju("<!---->"),j=x.ownerDocument.importNode(q,!0),j.nodeType===Dt.element&&j.nodeName==="BODY"||j.nodeName==="HTML"?x=j:x.appendChild(j),Ys(j);else{if(!Le&&!ge&&!Se&&q.indexOf("<")===-1)return O&&Qe?re(q):q;
12if(x=Ju(q),!x)return Le?null:Qe?K:""}x&&xe&&Do(x.firstChild);const We=be?q:x;try{const It=Zu(We);for(;Q=It.nextNode();)td(Q,We),rd(Q),En(Q.content)&&ki(Q.content)}catch(It){throw be&&(yi(q),Wo(t.removed,At=>{At.element&&wi(At.element)})),It}if(be)return Wo(t.removed,It=>{It.element&&wi(It.element)}),ge&&Ws(q),q;if(Le){if(ge&&Ws(x),qe)for(se=Ye.call(x.ownerDocument);x.firstChild;)se.appendChild(x.firstChild);else se=x;return(b.shadowroot||b.shadowrootmode)&&(se=tt.call(n,se,!0)),se}let Ze=Se?x.outerHTML:x.innerHTML;return Se&&v["!doctype"]&&x.ownerDocument&&x.ownerDocument.doctype&&x.ownerDocument.doctype.name&&bt(wv,x.ownerDocument.doctype.name)&&(Ze="<!DOCTYPE "+x.ownerDocument.doctype.name+`>
13`+Ze),ge&&(Ze=_i(Ze)),O&&Qe?re(Ze):Ze},t.setConfig=function(){let q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Vs(q),Pe=!0,Ne=v,ct=b},t.clearConfig=function(){Tn=null,Pe=!1,Ne=null,ct=null,O=X,K=""},t.isValidAttribute=function(q,f,x){Tn||Vs({});const j=ot(q),Q=ot(f);return od(j,Q,x)},t.addHook=function(q,f){typeof f=="function"&&Et(me,q)&&Qn(me[q],f)},t.removeHook=function(q,f){if(Et(me,q)){if(f!==void 0){const x=ov(me[q],f);return x===-1?void 0:nv(me[q],x,1)[0]}return yc(me[q])}},t.removeHooks=function(q){Et(me,q)&&(me[q]=[])},t.removeAllHooks=function(){me=Rc()},t}var qo=Mc();function Pc(e){return!e||typeof window>"u"||typeof document>"u"||!qo.isSupported?"":qo.sanitize(e)}const Iv=["https://www.youtube.com/embed/","https://www.youtube-nocookie.com/embed/","https://open.spotify.com/embed/"];function Av(e){if(!e||typeof window>"u"||typeof document>"u"||!qo.isSupported)return"";const t=["allow","allowfullscreen","frameborder","scrolling"];qo.addHook("uponSanitizeAttribute",(o,n)=>{const{attrName:r,attrValue:i}=n,s=o.tagName.toLowerCase();if(t.includes(r)&&s!=="iframe"&&(n.keepAttr=!1),s==="iframe"&&r==="src"){const a=i.trim();Iv.some(u=>a.startsWith(u))||(o.removeAttribute("src"),o.parentNode?.removeChild(o))}});try{return qo.sanitize(e,{ADD_TAGS:["iframe"],ADD_ATTR:t})}finally{qo.removeHook("uponSanitizeAttribute")}}const Ov=["innerHTML"],Lv=ke({__name:"Paragraph",props:{text:{type:String,default:""},innerHtml:{type:String,default:""},fontSize:{type:String,default:"16px"}},setup(e){const t=e,o=N(()=>{const i=gs(t.text);return Pc(i)}),n=N(()=>{const i=gs(t.innerHtml);return Pc(i)}),r=N(()=>gs(t.innerHtml));return(i,s)=>t.text?(g(),E("p",{key:0,class:"vue-tp-paragraph-text",style:Tt({fontSize:t.fontSize})},Ce(o.value),5)):t.innerHtml&&n.value?(g(),E("p",{key:1,class:"vue-tp-paragraph-text",style:Tt({fontSize:t.fontSize}),innerHTML:n.value},null,12,Ov)):t.innerHtml&&!n.value?(g(),E("p",{key:2,class:"vue-tp-paragraph-text",style:Tt({fontSize:t.fontSize})},Ce(r.value),5)):J("",!0)}}),Oe=(e,t)=>{const o=e.__vccOpts||e;for(const[n,r]of t)o[n]=r;return o},Ss=Oe(Lv,[["__scopeId","data-v-1f2bcd75"]]),Rv=["src"],bn=Oe(ke({__name:"Avatar",props:{avatarUrl:{type:[String,null],default:""},avatarSize:{type:Number,default:30},isClickable:{type:Boolean,default:!1}},emits:["avatar-click"],setup(e,{emit:t}){const o=e,n=t,r=N(()=>window.TalkingPointsApi?.fallbackAvatarUrl??""),i=s=>{o.isClickable&&n("avatar-click",s)};return(s,a)=>(g(),E("div",{class:De(["vue-tp-avatar-wrapper",{"vue-tp-fallback":!e.avatarUrl,"vue-tp-clickable":o.isClickable}]),style:Tt({width:o.avatarSize+"px",height:o.avatarSize+"px"}),onClick:i},[C("img",{src:e.avatarUrl||r.value,alt:"User avatar"},null,8,Rv)],6))}}),[["__scopeId","data-v-cb59a6e6"]]),Mv=Oe(ke({__name:"Badge",props:{text:{type:String,required:!0},color:{type:String,default:"rgb(var(--vue-background-color-tooltip))"}},setup(e){const t=e;return(o,n)=>(g(),E("div",{class:"vue-tp-user-badge",style:Tt({backgroundColor:t.color})},[C("span",null,Ce(t.text),1)],4))}}),[["__scopeId","data-v-b18cfa37"]]),Pv={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"49",height:"49",viewBox:"0 0 49 49"};function Dc(e,t){return g(),E("svg",Pv,[...t[0]||(t[0]=[Vn('<defs><filter id="icon-trophy-bronze_svg__c" width="132.7%" height="132.7%" x="-16.3%" y="-16.3%" filterUnits="objectBoundingBox"><feGaussianBlur in="SourceAlpha" result="shadowBlurInner1" stdDeviation="4.5"></feGaussianBlur><feOffset dx="-3" dy="7" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset><feComposite in="shadowOffsetInner1" in2="SourceAlpha" k2="-1" k3="1" operator="arithmetic" result="shadowInnerInner1"></feComposite><feColorMatrix in="shadowInnerInner1" values="0 0 0 0 0.974581069 
130 0 0 0 0.974581069 0 0 0 0 0.974581069 0 0 0 0.28745083 0"></feColorMatrix></filter><filter id="icon-trophy-bronze_svg__f" width="110.3%" height="117.6%" x="-5.2%" y="-4.4%" filterUnits="objectBoundingBox"><feMorphology in="SourceAlpha" radius="1" result="shadowSpreadOuter1"></feMorphology><feOffset dy="2" in="shadowSpreadOuter1" result="shadowOffsetOuter1"></feOffset><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="1.5"></feGaussianBlur><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"></feComposite><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix></filter><filter id="icon-trophy-bronze_svg__g" width="106.9%" height="114.7%" x="-3.4%" y="-2.9%" filterUnits="objectBoundingBox"><feGaussianBlur in="SourceAlpha" result="shadowBlurInner1" stdDeviation=".5"></feGaussianBlur><feOffset dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset><feComposite in="shadowOffsetInner1" in2="SourceAlpha" k2="-1" k3="1" operator="arithmetic" result="shadowInnerInner1"></feComposite><feColorMatrix in="shadowInnerInner1" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix></filter><radialGradient id="icon-trophy-bronze_svg__d" cx="52.184%" cy="50%" r="60.836%" fx="52.184%" fy="50%"><stop offset="0%" stop-color="#FFF" stop-opacity=".187"></stop><stop offset="100%" stop-color="#A59B9B" stop-opacity=".162"></stop></radialGradient><linearGradient id="icon-trophy-bronze_svg__b" x1="68.337%" x2="-24.324%" y1="70.526%" y2="-31.438%"><stop offset=".076%" stop-color="#A35B24"></stop><stop offset="55.614%" stop-color="#E4BCA3"></stop><stop offset="100%" stop-color="#FCFCFC"></stop></linearGradient><circle id="icon-trophy-bronze_svg__a" cx="24.5" cy="24.5" r="24.5"></circle><path id="icon-trophy-bronze_svg__e" d="M24.5 8c5.364 0 9.711 1.171 9.711 2.615v.286c1.475-1.62 3.044-2.394 4.163-.286 2.449 3.463-2.668 17.114-8.673 15.773-1.113 1.37-2.25 2.278-3.176 2.865 1.275.447 2.137 1.303 2.137 2.285 0 .93-.77 1.745-1.932 2.21l1.971 2.16c2.467.567 4.123 1.619 4.123 2.823 0 1.805-3.727 3.269-8.324 3.269s-8.324-1.464-8.324-3.27c0-1.203 1.656-2.255 4.123-2.822l1.971-2.16c-1.161-.465-1.932-1.28-1.932-2.21 0-.982.862-1.838 2.137-2.285-.926-.587-2.063-1.494-3.176-2.865-6.005 1.341-11.122-12.31-8.673-15.773 1.119-2.108 2.688-1.335 4.163.286v-.286C14.789 9.171 19.136 8 24.5 8M37 12.662c0-1.577-1.294-.167-2.753 2.435-.384 3.36-1.229 5.937-2.247 7.903 3.171-1.158 5-7.264 5-10.338m-25 0c0 3.074 1.829 9.18 5 10.338-1.018-1.966-1.863-4.542-2.247-7.903C13.293 12.495 12 11.085 12 12.662"></path></defs><g fill="none" fill-rule="evenodd"><use xlink:href="#icon-trophy-bronze_svg__a" fill="url(#icon-trophy-bronze_svg__b)"></use><use xlink:href="#icon-trophy-bronze_svg__a" fill="#000" filter="url(#icon-trophy-bronze_svg__c)"></use><circle cx="24.5" cy="24.5" r="22" stroke="url(#icon-trophy-bronze_svg__d)" stroke-linejoin="square" stroke-width="5"></circle><g fill-rule="nonzero"><use xlink:href="#icon-trophy-bronze_svg__e" fill="#000" filter="url(#icon-trophy-bronze_svg__f)"></use><use xlink:href="#icon-trophy-bronze_svg__e" fill="#653719"></use><use xlink:href="#icon-trophy-bronze_svg__e" fill="#000" filter="url(#icon-trophy-bronze_svg__g)"></use><path stroke="#090600" stroke-linejoin="square" stroke-opacity=".306" d="M24.5 8.5c2.63 0 5.013.285 6.737.749.834.224 1.508.487 1.966.785.276.18.508.355.508.581v1.128l.836-.757c.705-.638 1.425-1.178 2.11-1.178.222 0 .436.07.638.224q.342.259.637.818c.641.914.691 2.464.41 4.215-.316 1.962-1.08 4.187-2.145 6.123-.886 1.612-1.979 3.027-3.203 3.903-.99.707-2.067 1.059-3.184.81-1.568 1.49-2.661 2.365-3.552 2.93-.347.22-.75.447-1.208.667.406-.013.853.067 1.31.227.564.198 1.039.482 1.366.832.27.288.436.62.436.981 0 .34-.147.654-.389.93-.42.48-1.117.843-1.94 1.038l2.605 2.855c1.25.274 2.293.67 3.005 1.158.522.357.881.754.881 1.212 0 .32-.186.614-.474.887-.384.364-.95.685-1.647.96-1.46.572-3.476.922-5.703.922s-4.244-.35-5.703-.923c-.697-.274-1.263-.595-1.647-.959-.288-.273-.474-.566-.474-.887 0-.458.36-.855.88-1.212.713-.487 1.756-.884 3.006-1.158l2.605-2.855c-.823-.195-1.52-.558-1.94-1.
13039-.242-.275-.39-.59-.39-.929 0-.36.168-.693.437-.981.327-.35.802-.634 1.366-.832.457-.16.904-.24 1.31-.227-.46-.22-.861-.448-1.208-.667-.89-.565-1.984-1.44-3.054-2.758-1.615.077-2.692-.275-3.682-.982-1.224-.876-2.317-2.29-3.203-3.903-1.065-1.936-1.83-4.161-2.145-6.123-.281-1.751-.231-3.301.377-4.16.236-.437.45-.71.684-.88a.94.94 0 0 1 .633-.19c.675.046 1.376.643 2.068 1.403l.87.956v-1.293c0-.282.209-.517.503-.74.437-.33 1.083-.612 1.883-.85 1.728-.517 4.147-.811 6.824-.811Zm11.956 2.973a4.5 4.5 0 0 0-.548.402c-.536.474-1.297 1.55-2.158 3.165-.375 3.287-1.198 5.807-2.194 7.73q-.24.461-.524.939a4.3 4.3 0 0 0 1.14-.24c1.48-.54 2.717-2.058 3.614-3.913 1.14-2.358 1.725-5.21.924-7.473a6 6 0 0 0-.254-.61Zm-24.484.689-.043.001c-.144.011-.284.087-.429.5 0 1.793.599 4.587 1.714 6.893.897 1.855 2.134 3.373 3.614 3.914.357.13.74.208 1.14.239q-.285-.477-.524-.939c-.996-1.923-1.82-4.443-2.255-7.918-.879-1.566-1.744-2.645-3.173-2.69z"></path></g></g>',2)])])}const $c=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Dc},render:Dc},Symbol.toStringTag,{value:"Module"})),Dv={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"49",height:"49",viewBox:"0 0 49 49"};function Bc(e,t){return g(),E("svg",Dv,[...t[0]||(t[0]=[Vn('<defs><filter id="icon-trophy-gold_svg__c" width="132.7%" height="132.7%" x="-16.3%" y="-16.3%" filterUnits="objectBoundingBox"><feGaussianBlur in="SourceAlpha" result="shadowBlurInner1" stdDeviation="4.5"></feGaussianBlur><feOffset dx="-3" dy="7" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset><feComposite in="shadowOffsetInner1" in2="SourceAlpha" k2="-1" k3="1" operator="arithmetic" result="shadowInnerInner1"></feComposite><feColorMatrix in="shadowInnerInner1" values="0 0 0 0 0.974581069 0 0 0 0 0.974581069 0 0 0 0 0.974581069 0 0 0 0.28745083 0"></feColorMatrix></filter><filter id="icon-trophy-gold_svg__f" width="110.3%" height="117.6%" x="-5.2%" y="-4.4%" filterUnits="objectBoundingBox"><feMorphology in="SourceAlpha" radius="1" result="shadowSpreadOuter1"></feMorphology><feOffset dy="2" in="shadowSpreadOuter1" result="shadowOffsetOuter1"></feOffset><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="1.5"></feGaussianBlur><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"></feComposite><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix></filter><filter id="icon-trophy-gold_svg__g" width="106.9%" height="114.7%" x="-3.4%" y="-2.9%" filterUnits="objectBoundingBox"><feGaussianBlur in="SourceAlpha" result="shadowBlurInner1" stdDeviation=".5"></feGaussianBlur><feOffset dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset><feComposite in="shadowOffsetInner1" in2="SourceAlpha" k2="-1" k3="1" operator="arithmetic" result="shadowInnerInner1"></feComposite><feColorMatrix in="shadowInnerInner1" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix></filter><radialGradient id="icon-trophy-gold_svg__d" cx="52.184%" cy="50%" r="60.836%" fx="52.184%" fy="50%"><stop offset="0%" stop-color="#FFF" stop-opacity=".187"></stop><stop offset="100%" stop-color="#A59B9B" stop-opacity=".162"></stop></radialGradient><linearGradient id="icon-trophy-gold_svg__b" x1="68.483%" x2="-27.312%" y1="70.686%" y2="-34.726%"><stop offset=".076%" stop-color="#C08D3D"></stop><stop offset="53.589%" stop-color="#D6CFBC"></stop><stop offset="100%" stop-color="#D0CEC3"></stop></linearGradient><circle id="icon-trophy-gold_svg__a" cx="24.5" cy="24.5" r="24.5"></circle><path id="icon-trophy-gold_svg__e" d="M24.5 7c5.364 0 9.711 1.171 9.711 2.615v.286c1.475-1.62 3.044-2.394 4.163-.286 2.449 3.463-2.668 17.114-8.673 15.773-1.113 1.37-2.25 2.278-3.176 2.865 1.275.447 2.137 1.303 2.137 2.285 0 .93-.77 1.745-1.932 2.21l1.971 2.16c2.467.567 4.123 1.619 4.123 2.823 0 1.805-3.727 3.269-8.324 3.269s-8.324-1.464-8.324-3.27c0-1.203 1.656-2.255 4.123-2.822l1.971-2.16c-1.161-.465-1.932-1.28-1.932-2.21 0-.982.862-1.838 2.137-2.285-.926-.587-2.063-1.494-3.176-2.865-6.005 1.341-11.122-12.31-8.673-15.773 1.119-2.108 2.688-1.335 4.163.286v-.286C14.789 8.171 19.136 7 24.5 7M37 11.662c0-1.577-1.294-.167-2.753 2.435-.384 3.36-1.229 5.937-2.247 7.903 3.171-1.158 5-7.264 5-10.338m-25 0c0 3.074 1.829 9.18 5 10.338-1.018-1.966-1.863-4.542-2.247-7.903C13.293 11.495 12 10.085 12 11.662"></path></defs><g fill="none" fill-rule="evenodd"><use xlink:href="#icon-trophy-gold_svg__a" fill="url(#icon-trophy-gold_svg__b)"></use><use xlink:href="#icon-trophy-gold_svg__a" fill="#000" filter="url
13(#icon-trophy-gold_svg__c)"></use><circle cx="24.5" cy="24.5" r="22" stroke="url(#icon-trophy-gold_svg__d)" stroke-linejoin="square" stroke-width="5"></circle><g fill-rule="nonzero"><use xlink:href="#icon-trophy-gold_svg__e" fill="#000" filter="url(#icon-trophy-gold_svg__f)"></use><use xlink:href="#icon-trophy-gold_svg__e" fill="#775714"></use><use xlink:href="#icon-trophy-gold_svg__e" fill="#000" filter="url(#icon-trophy-gold_svg__g)"></use><path stroke="#090600" stroke-linejoin="square" stroke-opacity=".306" d="M24.5 7.5c2.63 0 5.013.285 6.737.749.834.224 1.508.487 1.966.785.276.18.508.355.508.581v1.128l.836-.757c.705-.638 1.425-1.178 2.11-1.178.222 0 .436.07.638.224q.342.259.637.818c.641.914.691 2.464.41 4.215-.316 1.962-1.08 4.187-2.145 6.123-.886 1.612-1.979 3.027-3.203 3.903-.99.707-2.067 1.059-3.184.81-1.568 1.49-2.661 2.365-3.552 2.93-.347.22-.75.447-1.208.667.406-.013.853.067 1.31.227.564.198 1.039.482 1.366.832.27.288.436.62.436.981 0 .34-.147.654-.389.93-.42.48-1.117.843-1.94 1.038l2.605 2.855c1.25.274 2.293.67 3.005 1.158.522.357.881.754.881 1.212 0 .32-.186.614-.474.887-.384.364-.95.685-1.647.96-1.46.572-3.476.922-5.703.922s-4.244-.35-5.703-.923c-.697-.274-1.263-.595-1.647-.959-.288-.273-.474-.566-.474-.887 0-.458.36-.855.88-1.212.713-.487 1.756-.884 3.006-1.158l2.605-2.855c-.823-.195-1.52-.558-1.94-1.039-.242-.275-.39-.59-.39-.929 0-.36.168-.693.437-.981.327-.35.802-.634 1.366-.832.457-.16.904-.24 1.31-.227-.46-.22-.861-.448-1.208-.667-.89-.565-1.984-1.44-3.054-2.758-1.615.077-2.692-.275-3.682-.982-1.224-.876-2.317-2.29-3.203-3.903-1.065-1.936-1.83-4.161-2.145-6.123-.281-1.751-.231-3.301.377-4.16.236-.437.45-.71.684-.88a.94.94 0 0 1 .633-.19c.675.046 1.376.643 2.068 1.403l.87.956V9.901c0-.282.209-.517.503-.74.437-.33 1.083-.612 1.883-.85 1.728-.517 4.147-.811 6.824-.811Zm11.956 2.973a4.5 4.5 0 0 0-.548.402c-.536.474-1.297 1.55-2.158 3.165-.375 3.287-1.198 5.807-2.194 7.73q-.24.461-.524.939a4.3 4.3 0 0 0 1.14-.24c1.48-.54 2.717-2.058 3.614-3.913 1.14-2.358 1.725-5.21.924-7.473a6 6 0 0 0-.254-.61Zm-24.484.689-.043.001c-.144.011-.284.087-.429.5 0 1.793.599 4.587 1.714 6.893.897 1.855 2.134 3.373 3.614 3.914.357.13.74.208 1.14.239q-.285-.477-.524-.939c-.996-1.923-1.82-4.443-2.255-7.918-.879-1.566-1.744-2.645-3.173-2.69z"></path></g></g>',2)])])}const Nc=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Bc},render:Bc},Symbol.toStringTag,{value:"Module"})),$v={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"49",height:"49",viewBox:"0 0 49 49"};function Uc(e,t){return g(),E("svg",$v,[...t[0]||(t[0]=[Vn('<defs><filter id="icon-trophy-silver_svg__c" width="132.7%" height="132.7%" x="-16.3%" y="-16.3%" filterUnits="objectBoundingBox"><feGaussianBlur in="SourceAlpha" result="shadowBlurInner1" stdDeviation="4.5"></feGaussianBlur><feOffset dx="-3" dy="7" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset><feComposite in="shadowOffsetInner1" in2="SourceAlpha" k2="-1" k3="1" operator="arithmetic" result="shadowInnerInner1"></feComposite><feColorMatrix in="shadowInnerInner1" values="0 0 0 0 0.974581069 0 0 0 0 0.974581069 0 0 0 0 0.974581069 0 0 0 0.28745083 0"></feColorMatrix></filter><filter id="icon-trophy-silver_svg__f" width="110.3%" height="117.6%" x="-5.2%" y="-4.4%" filterUnits="objectBoundingBox"><feMorphology in="SourceAlpha" radius="1" result="shadowSpreadOuter1"></feMorphology><feOffset dy="2" in="shadowSpreadOuter1" result="shadowOffsetOuter1"></feOffset><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="1.5"></feGaussianBlur><feComposite in="shadowBlurOuter1" in2="SourceAlpha" operator="out" result="shadowBlurOuter1"></feComposite><feColorMatrix in="shadowBlurOuter1" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix></filter><filter id="icon-trophy-silver_svg__g" width="106.9%" height="114.7%" x="-3.4%" y="-2.9%" filterUnits="objectBoundingBox"><feGaussianBlur in="SourceAlpha" result="shadowBlurInner1" stdDeviation=".5"></feGaussianBlur><feOffset dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset><feComposite in="shadowOffsetInner1" in2="SourceAlpha" k2="-1" k3="1" operator="arithmetic" result="shadowInnerInner1"></feComposite><feColorMatrix in="shadowInnerInner1" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"></feColorMatrix></filter><radialGradient id="icon-trophy-silver_svg__d" cx="52.184%" cy="50%" r="60.836%" fx="52.184%" fy="50%"><stop offset="0%" stop-color="#FFF" stop-opacity=".187"></stop><stop offset="100%" stop-color="#A59B9B" stop-opacity=".162"></stop></radialGradient><linearGradient id="icon-trophy-silver_svg__b" x1="68.409%" x2="-26.085%" y1="70.605%" y2="-33.375%"><stop offset=".076%" stop-color="#837F78"></stop><stop offset="55.614%" stop-color="#F4F4F4"></stop><stop offset="100%" stop-color="#FCFCFC"></stop></linearGradient><circle id="icon-trophy-silver_svg__a" cx="24.5" cy="24.5" r="24.5"></circle><path id="icon-trophy-silver_svg__e" d="M24.5 8c5.364 0 9.711 1.171 9.711 2.615v.286c1.475-1.62 3.044-2.394 4.163-.286 2.449 3.463-2.668 17.114-8.673 15.773-1.113 1.37-2.25 2.278-3.176 2.865 1.275.447 2.137 1.303 2.137 2.285 0 .93-.77 1.745-1.932 2.21l1.971 2.16c2.467.567 4.123 1.619 4.123 2.823 0 1.805-3.727 3.269-8.324 3.269s-8.324-1.464-8.324-3.27c0-1.203 1.656-2.255 4.123-2.822l1.971-2.16c-1.161-.465-1.932-1.28-1.932-2.21 0-.982.862-1.838 2.137-2.285-.926-.587-2.063-1.494-3.176-2.865-6.005 1.341-11.122-12.31-8.673-15.773 1.119-2.108 2.688-1.335 4.163.286v-.286C14.789 9.171 19.136 8 24.5 8M37 12.662c0-1.577-1.294-.167-2.753 2.435-.384 3.36-1.229 5.937-2.247 7.903 3.171-1.158 5-7.264 5-10.338m-25 0c0 3.074 1.829 9.18 5 10.338-1.018-1.966-1.863-4.542-2.247-7.903C13.293 12.495 12 11.085 12 12.662"></path></defs><g fill="none" fill-rule="evenodd"><use xlink:href="#icon-trophy-silver_svg__a" fill="url(#icon-trophy-silver_svg__b)"></use><use xlink:href="#icon-trophy-silver_svg__a" fill="#000" filter="url
13(#icon-trophy-silver_svg__c)"></use><circle cx="24.5" cy="24.5" r="22" stroke="url(#icon-trophy-silver_svg__d)" stroke-linejoin="square" stroke-width="5"></circle><g fill-rule="nonzero"><use xlink:href="#icon-trophy-silver_svg__e" fill="#000" filter="url(#icon-trophy-silver_svg__f)"></use><use xlink:href="#icon-trophy-silver_svg__e" fill="#3F3F3E"></use><use xlink:href="#icon-trophy-silver_svg__e" fill="#000" filter="url(#icon-trophy-silver_svg__g)"></use><path stroke="#090600" stroke-linejoin="square" stroke-opacity=".306" d="M24.5 8.5c2.63 0 5.013.285 6.737.749.834.224 1.508.487 1.966.785.276.18.508.355.508.581v1.128l.836-.757c.705-.638 1.425-1.178 2.11-1.178.222 0 .436.07.638.224q.342.259.637.818c.641.914.691 2.464.41 4.215-.316 1.962-1.08 4.187-2.145 6.123-.886 1.612-1.979 3.027-3.203 3.903-.99.707-2.067 1.059-3.184.81-1.568 1.49-2.661 2.365-3.552 2.93-.347.22-.75.447-1.208.667.406-.013.853.067 1.31.227.564.198 1.039.482 1.366.832.27.288.436.62.436.981 0 .34-.147.654-.389.93-.42.48-1.117.843-1.94 1.038l2.605 2.855c1.25.274 2.293.67 3.005 1.158.522.357.881.754.881 1.212 0 .32-.186.614-.474.887-.384.364-.95.685-1.647.96-1.46.572-3.476.922-5.703.922s-4.244-.35-5.703-.923c-.697-.274-1.263-.595-1.647-.959-.288-.273-.474-.566-.474-.887 0-.458.36-.855.88-1.212.713-.487 1.756-.884 3.006-1.158l2.605-2.855c-.823-.195-1.52-.558-1.94-1.039-.242-.275-.39-.59-.39-.929 0-.36.168-.693.437-.981.327-.35.802-.634 1.366-.832.457-.16.904-.24 1.31-.227-.46-.22-.861-.448-1.208-.667-.89-.565-1.984-1.44-3.054-2.758-1.615.077-2.692-.275-3.682-.982-1.224-.876-2.317-2.29-3.203-3.903-1.065-1.936-1.83-4.161-2.145-6.123-.281-1.751-.231-3.301.377-4.16.236-.437.45-.71.684-.88a.94.94 0 0 1 .633-.19c.675.046 1.376.643 2.068 1.403l.87.956v-1.293c0-.282.209-.517.503-.74.437-.33 1.083-.612 1.883-.85 1.728-.517 4.147-.811 6.824-.811Zm11.956 2.973a4.5 4.5 0 0 0-.548.402c-.536.474-1.297 1.55-2.158 3.165-.375 3.287-1.198 5.807-2.194 7.73q-.24.461-.524.939a4.3 4.3 0 0 0 1.14-.24c1.48-.54 2.717-2.058 3.614-3.913 1.14-2.358 1.725-5.21.924-7.473a6 6 0 0 0-.254-.61Zm-24.484.689-.043.001c-.144.011-.284.087-.429.5 0 1.793.599 4.587 1.714 6.893.897 1.855 2.134 3.373 3.614 3.914.357.13.74.208 1.14.239q-.285-.477-.524-.939c-.996-1.923-1.82-4.443-2.255-7.918-.879-1.566-1.744-2.645-3.173-2.69z"></path></g></g>',2)])])}const zc=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Uc},render:Uc},Symbol.toStringTag,{value:"Module"})),Bv={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 814 1000"};function Fc(e,t){return g(),E("svg",Bv,[...t[0]||(t[0]=[C("path",{d:"M788.1 340.9c-5.8 4.5-108.2 62.2-108.2 190.5 0 148.4 130.3 200.9 134.2 202.2-.6 3.2-20.7 71.9-68.7 141.9-42.8 61.6-87.5 123.1-155.5 123.1s-85.5-39.5-164-39.5c-76.5 0-103.7 40.8-165.9 40.8s-105.6-57-155.5-127C46.7 790.7 0 663 0 541.8c0-194.4 126.4-297.5 250.8-297.5 66.1 0 121.2 43.4 162.7 43.4 39.5 0 101.1-46 176.3-46 28.5 0 130.9 2.6 198.3 99.2m-234-181.5c31.1-36.9 53.1-88.1 53.1-139.3 0-7.1-.6-14.3-1.9-20.1-50.6 1.9-110.8 33.7-147.1 75.8-28.5 32.4-55.1 83.6-55.1 135.5 0 7.8 1.3 15.6 1.9 18.1 3.2.6 8.4 1.3 13.6 1.3 45.4 0 102.5-30.4 135.5-71.3"},null,-1)])])}const Nv=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Fc},render:Fc},Symbol.toStringTag,{value:"Module"})),Uv={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 16 15"};function Hc(e,t){return g(),E("svg",Uv,[...t[0]||(t[0]=[C("path",{"fill-rule":"evenodd",d:"M15.921 6.307c0 3.374-3.056 6.129-6.9 6.298a10 10 0 0 1-.373.008V15C3.872 15 0 11.642 0 7.5 0 3.466 3.672.176 8.274.008A10 10 0 0 1 8.648 0c4.017 0 7.273 2.824 7.273 6.307"},null,-1)])])}const zv=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Hc},render:Hc},Symbol.toStringTag,{value:"Module"})),Fv={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"160 -850 640 740"};function jc(e,t){return g(),E("svg",Fv,[...t[0]||(t[0]=[C("path",{d:"M292.31-140q-29.92 0-51.12-21.19Q220-182.39 220-212.31V-720h-40v-60h180v-35.38h240V-780h180v60h-40v507.69Q740-182 719-161t-51.31 21zM680-720H280v507.69q0 5.39 3.46 8.85t8.85 3.46h375.38q4.62 0 8.46-3.85 3.85-3.84 3.85-8.46zM376.16-280h59.99v-360h-59.99zm147.69 0h59.99v-360h-59.99zM280-720v520z"},null,-1)])])}const Hv=Object.freeze(Object.defineProperty({__proto__:null,default:{render:jc},render:jc},Symbol.toStringTag,{value:"Module"})),jv={xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 122.88 88.86"};function Gc(e,t){return g(),E("svg",jv,[...t[0]||(t[0]=[C("path",{d:"M7.05 0h108.78a7.07 7.07 0 0 1 7 7.05v74.76a7 7 0 0 1-1.22 4 2.8 2.8 0 0 1-.66 1 2.6 2.6 0 0 1-.66.46 7 7 0 0 1-4.51 1.65H7.05a7.07 7.07 0 0 1-7-7V7.05a7.07 7.07 0 0 1 7-7.05m-.3 78.84 36.78-38.22L6.75 9.54zm42.32-33.45L9.77 83.45h103L75.22 45.39l-11 9.21a2.7 2.7 0 0 1-3.45 0zm31.6-4.84 35.46 38.6V9.2zM10.21 5.41 62.39 47.7l49.88-42.29Z"},null,-1)])])}const Gv=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Gc},render:Gc},Symbol.toStringTag,{value:"Module"})),Vv={xmlns:"http://www.w3.org/2000/svg","fill-rule":"evenodd","clip-rule":"evenodd","image-rendering":"optimizeQuality","shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision",viewBox:"0 0 512 510.125"};function Vc(e,t){return g(),E("svg",Vv,[...t[0]||(t[0]=[C("path",{fill:"#fff","fill-rule":"nonzero",d:"M512 256C512 114.615 397.385 0 256 0S0 114.615 0 256c0 120.059 82.652 220.797 194.157 248.461V334.229h-52.79V256h52.79v-33.709c0-87.134 39.432-127.521 124.977-127.521 16.218 0 44.202 3.18 55.651 6.36v70.916c-6.042-.635-16.537-.954-29.575-.954-41.977 0-58.196 15.901-58.196 57.241V256h83.619l-14.365 78.229h-69.254v175.896C413.771 494.815 512 386.885 512 256"},null,-1)])])}const Wv=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Vc},render:Vc},Symbol.toStringTag,{value:"Module"})),Yv={xmlns:"http://www.w3.org/2000/svg","fill-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"2","clip-rule":"evenodd",viewBox:"0 0 512 512"};function Wc(e,t){return g(),E("svg",Yv,[...t[0]||(t[0]=[C("path",{fill:"#fff",d:"M32.582 370.734C15.127 336.291 5.12 297.425 5.12 256c0-41.426 10.007-80.291 27.462-114.735C74.705 57.484 161.047 0 261.12 0c69.12 0 126.836 25.367 171.287 66.793l-73.31 73.309c-26.763-25.135-60.276-38.168-97.977-38.168-66.56 0-123.113 44.917-143.36 105.426-5.12 15.36-8.146 31.65-8.146 48.64 0 16.989 3.026 33.28 8.146 48.64l-.303.232h.303c20.247 60.51 76.8 105.426 143.36 105.426 34.443 0 63.534-9.31 86.341-24.67 27.23-18.152 45.382-45.148 51.433-77.032H261.12v-99.142h241.105c3.025 16.757 4.654 34.211 4.654 52.364 0 77.963-27.927 143.592-76.334 188.276-42.356 39.098-100.305 61.9
1305-169.425 61.905-100.073 0-186.415-57.483-228.538-141.032z"},null,-1)])])}const qv=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Wc},render:Wc},Symbol.toStringTag,{value:"Module"})),Kv={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 15"};function Yc(e,t){return g(),E("svg",Kv,[...t[0]||(t[0]=[C("path",{"fill-rule":"evenodd",d:"M19.105 4.448c0 1.129-.47 2.258-1.411 3.125l-1.195 1.1L9.622 15l-6.96-6.252-1.208-1.085c-1.922-1.726-1.94-4.542-.043-6.29C2.37.493 3.63.051 4.891.051c1.243 0 2.485.428 3.439 1.284L9.538 2.42l1.194-1.098c1.9-1.747 4.997-1.765 6.92-.038.968.87 1.453 2.017 1.453 3.164"},null,-1)])])}const Xv=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Yc},render:Yc},Symbol.toStringTag,{value:"Module"})),Jv={xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",width:"25",height:"25",viewBox:"0 0 448 512"};function qc(e,t){return g(),E("svg",Jv,[...t[0]||(t[0]=[C("path",{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128m89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4"},null,-1)])])}const Zv=Object.freeze(Object.defineProperty({__proto__:null,default:{render:qc},render:qc},Symbol.toStringTag,{value:"Module"})),Qv={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 25 29"};function Kc(e,t){return g(),E("svg",Qv,[...t[0]||(t[0]=[C("path",{"fill-rule":"evenodd",d:"M25 12.51c0 6.909-5.596 12.51-12.5 12.51V29C5.596 29 0 23.399 0 16.49S5.596 3.98 12.5 3.98V0C19.404 0 25 5.601 25 12.51"},null,-1)])])}const em=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Kc},render:Kc},Symbol.toStringTag,{value:"Module"})),tm={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"#1f1f1f",viewBox:"0 -960 960 960"};function Xc(e,t){return g(),E("svg",tm,[...t[0]||(t[0]=[C("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120zm188-212-56-56 372-372H560v-80h280v280h-80v-144z"},null,-1)])])}const om=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Xc},render:Xc},Symbol.toStringTag,{value:"Module"})),nm={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 16 15"};function Jc(e,t){return g(),E("svg",nm,[...t[0]||(t[0]=[C("path",{"fill-rule":"evenodd",d:"M7.96 12.916c-.594 0-1.076-.418-1.076-.934 0-.515.482-.934 1.077-.934.594 0 1.076.419 1.076.934s-.482.934-1.076.934m-.926-8.36c0-.445.415-.804.927-.804.511 0 .926.36.926.803v4.648c0 .443-.415.803-.926.803s-.927-.36-.927-.803zM7.274 0v2.387q-.095 0-.188.002l-.187.006C3.056 2.564 0 5.319 0 8.693 0 12.176 3.256 15 7.273 15a9 9 0 0 0 .374-.008c4.602-.168 8.274-3.458 8.274-7.492 0-4.142-3.872-7.5-8.648-7.5"},null,-1)])])}const rm=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Jc},render:Jc},Symbol.toStringTag,{value:"Module"})),im={xmlns:"http://www.w3.org/2000/svg",width:"416",height:"551",viewBox:"0 0 416 551"};function Zc(e,t){return g(),E("svg",im,[...t[0]||(t[0]=[C("path",{d:"M292.8 130.2 208 45.4l-84.8 84.8-22.4-22.4L208 .6l107.2 107.2z"},null,-1),C("path",{d:"M192 23h32v336h-32z"},null,-1),C("path",{d:"M368 551H48c-27.2 0-48-20.8-48-48V215c0-27.2 20.8-48 48-48h112v32H48c-9.6 0-16 6.4-16 16v288c0 9.6 6.4 16 16 16h320c9.6 0 16-6.4 16-16V215c0-9.6-6.4-16-16-16H256v-32h112c27.2 0 48 20.8 48 48v288c0 27.2-20.8 48-48 48"},null,-1)])])}const sm=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Zc},render:Zc},Symbol.toStringTag,{value:"Module"})),am={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"#1f1f1f",viewBox:"0 -960 960 960"};function Qc(e,t){return g(),E("svg",am,[...t[0]||(t[0]=[C("path",{d:"M80-560q0-100 44.5-183.5T244-882l47 64q-60 44-95.5 111T160-560zm720 0q0-80-35.5-147T669-818l47-64q75 55 119.5 138.5T880-560zM160-200v-80h80v-280q0-83 50-147.5T420-792v-28q0-25 17.5-42.5T480-880t42.5 17.5T540-820v28q80 20 130 84.5T720-560v280h80v80zM480-80q-33 0-56.5-23.5T400-160h160q0 33-23.5 56.5T480-80M320-280h320v-280q0-66-47-113t-113-47-113 47-47 113z"},null,-1)])])}const lm=Object.freeze(Object.defineProperty({__proto__:null,default:{render:Qc},render:Qc},Symbol.toStringTag,{value:"Module"})),cm={xmlns:"http://www.w3.org/2000/svg",width:"1200",height:"1227",fill:"none",viewBox:"0 0 1200 1227"};function eu(e,t){return g(),E("svg",cm,[...t[0]||(t[0]=[C("path",{fill:"#fff",d:"M714.163 519.284 1160.89 0h-105.86L667.137 450.887 357.328 0H0l468.492 681.821L0 1226.37h105.866l409.625-476.152 327.181 476.152H1200L714.137 519.284zM569.165 687.828l-47.468-67.894-377.686-540.24h162.604l304.797 435.991 47.468 67.894 396.2 566.721H892.476L569.165 687.854z"},null,-1)])])}const um=Object.freeze(Object.defineProperty({__proto__:null,default:{render:eu},render:eu},Symbol.toStringTag,{value:"Module"})),yt=ke({__name:"Icon",props:{icon:{type:String,required:!0},size:{type:Number,default:20},color:{type:String,default:"rgb(var(--vue-icon-color-comments))"},isCursorPointer:{type:Boolean,default:!1}},setup(e){const t=e,o=Object.assign({"/src/assets/icons/icon-apple.svg":Nv,"/src/assets/icons/icon-comment.svg":zv,"/src/assets/icons/icon-delete.svg":Hv,"/src/assets/icons/icon-email.svg":Gv,"/src/assets/icons/icon-facebook.svg":Wv,"/src/assets/icons/icon-google.svg":qv,"/src/assets/icons/icon-like.svg":Xv,"/src/assets/icons/icon-logged-out-user.svg":Zv,"/src/assets/icons/icon-logo.svg":em,"/src/assets/icons/icon-new-tab.svg":om,"/src/assets/icons/icon-report.svg":rm,"/src/assets/icons/icon-share.svg":sm,"/src/assets/icons/icon-subscribe.svg":lm,"/src/assets/icons/icon-trophy-bronze.svg":$c,"/src/assets/icons/icon-trophy-gold.svg":Nc,"/src/assets/icons/icon-trophy-silver.svg":zc,"/src/assets/icons/icon-x.svg":um}),n=N(()=>{const r=`icon-${t.icon}.svg`;return o[`/src/assets/icons/${r}`]});return(r,i)=>n.value?(g(),ve(el(n.value),{key:0,class:De(["vue-tp-icon",{"vue-tp-cursor-pointer":t.isCursorPointer}]),width:t.size,height:t.size,fill:t.color},null,8,["class","width","height","fill"])):J("",!0)}}),dm=["id"],ni=Oe(ke({__name:"Tooltip",props:{id:{type:String,default:""},text:{type:String,default:""},isVisible:{type:Boolean,default:!1},position:{type:String,default:"right"}},setup(e){const t=e,o=S(null),n=N(()=>
13{if(t.position!=="right")return{};let r=0;return o.value&&(r=o.value.offsetWidth),{marginLeft:`${-r}px`}});return(r,i)=>(g(),E("span",{id:t.id||void 0,role:"tooltip",class:De(["vue-tp-tooltip-wrapper",[`vue-tp-${t.position}`,{"vue-tp-visible":t.isVisible}]]),style:Tt(n.value),ref_key:"tooltip",ref:o,key:t.text},[To(r.$slots,"default",{},()=>[to(Ce(t.text),1)],!0)],14,dm))}}),[["__scopeId","data-v-79aeec61"]]),pm=3e3,fm=150,vm=3e3;let mm=0;function tu(){const e=`vue-tp-tooltip-${++mm}`,t=S(!1),o=S(!1);let n=null,r=null;const i=window.matchMedia("(hover: hover) and (pointer: fine)"),s=S(i.matches),a=R=>{s.value=R.matches};i.addEventListener("change",a);const l=()=>{r&&(clearTimeout(r),r=null),n&&(clearTimeout(n),n=null)},u=()=>{l(),t.value=!0},c=()=>{l(),t.value=!1},d=()=>{s.value&&!o.value&&(l(),r=setTimeout(u,fm))},p=()=>{s.value&&!o.value&&c()},y=(R=vm)=>{l(),o.value=!0,t.value=!0,n=setTimeout(()=>{t.value=!1,o.value=!1},R)},_=()=>{s.value||(t.value?c():(u(),n=setTimeout(c,pm)))},k=R=>{R.key==="Escape"&&t.value&&c()};return document.addEventListener("keydown",k),Gt(()=>{l(),i.removeEventListener("change",a),document.removeEventListener("keydown",k)}),{isVisible:t,tooltipId:e,supportsHover:s,showTimed:y,handlers:{onMouseenter:d,onMouseleave:p,onClick:_,"aria-describedby":e}}}const gm={key:0,class:"vue-tp-tooltip-title"},hm={key:1},ou=Oe(ke({__name:"IconBadge",props:{tooltipTitle:{type:String,default:""},tooltipDescription:{type:String,default:""},icon:{type:String,default:"logo"},iconSize:{type:Number,default:18},color:{type:String,default:"rgb(var(--vue-font-color-muted))"},isClickable:{type:Boolean,default:!1}},setup(e){const t=["trophy-gold","trophy-silver","trophy-bronze"],o=e,n=N(()=>
13!!(o.tooltipTitle||o.tooltipDescription)),r=N(()=>t.includes(o.icon)),i=Object.assign({"/src/assets/icons/icon-trophy-bronze.svg":$c,"/src/assets/icons/icon-trophy-gold.svg":Nc,"/src/assets/icons/icon-trophy-silver.svg":zc}),s=N(()=>{if(!r.value)return null;const c=`icon-${o.icon}.svg`;return i[`/src/assets/icons/${c}`]?.default??null}),{isVisible:a,tooltipId:l,handlers:u}=tu();return(c,d)=>(g(),E("span",Ol({class:["vue-tp-icon-badge",{"is-clickable":o.isClickable}]},n.value?T(u):{}),[r.value&&s.value?(g(),ve(el(s.value),{key:0,width:o.iconSize,height:o.iconSize},null,8,["width","height"])):(g(),ve(yt,{key:1,icon:o.icon,size:o.iconSize,color:o.color},null,8,["icon","size","color"])),n.value?(g(),ve(ni,{key:2,id:T(l),"is-visible":T(a),position:"center"},{default:rt(()=>[o.tooltipTitle?(g(),E("span",gm,Ce(o.tooltipTitle),1)):J("",!0),o.tooltipDescription?(g(),E("span",hm,Ce(o.tooltipDescription),1)):J("",!0)]),_:1},8,["id","is-visible"])):J("",!0)],16))}}),[["__scopeId","data-v-68c6d7af"]]),bm=e=>!isNaN(new Date(e).getTime());function nu(e){const t=e,o=new Date;if(!bm(t))return"";const n=o.getTime()-t.getTime(),r=Math.floor(n/1e3),i=Math.floor(r/60),s=Math.floor(i/60),a=o.getFullYear()-t.getFullYear(),l=new Date(o);l.setHours(0,0,0,0);const u=new Date(l);u.setDate(u.getDate()-1);const c=t>=u&&t<l;if(r<60)return"Just now";if(i<60)return`${i}min`;if(s<24)return`${s}h`;if(c)return"Yesterday";const d=a>=1?{year:"numeric",month:"short",day:"numeric"}:{month:"short",day:"numeric"};return new Intl.DateTimeFormat("en-GB",d).format(t)}function Ts(){const e=window.TalkingPointsApi?.coralApiProxy??"";if(!e)throw new Error("Coral API proxy URL not configured.");return e}async function Es(e){const t=await e.text();let o=null;try{o=JSON.parse(t)}catch{}if(!e.ok||!o)throw new Error(`Upstream error (${e.status})`);if(Array.isArray(o.errors)&&o.errors.length)throw new Error(o.errors[0]?.message||"Coral error");return o}async function yn(e,t){const o=Ts(),n=await fetch(`${o}/public`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({operation:e,input:t||{}})});return Es(n)}const ym=1440*60*1e3;let ri=null,ru=0;async function iu(){if(ri&&Date.now()-ru<ym)return ri;try{return ri=await yn("getBadgeConfig"),ru=Date.now(),ri}catch{return[]}}const wm={bronze:"trophy-bronze",silver:"trophy-silver",gold:"trophy-gold"},_m={bronze:{label:"Bronze Commenter",description:"Posted 50+ comments",icon:"trophy-bronze"},silver:{label:"Silver Commenter",description:"Posted 250+ comments",icon:"trophy-silver"},gold:{label:"Gold Commenter",description:"Posted 500+ comments",icon:"trophy-gold"}};let su=null;async function xm(){const e=await iu(),t={};for(const o of e){const n=wm[o.tier];n&&(t[o.tier]={label:o.name,description:o.description,icon:n})}Object.keys(t).length>0&&(su=t)}function Cm(e){if(!e||e.length===0)return{textBadges:[],tier:null};const t=su??_m,o=[];let n=null;for(const r of e){const i=r.toLowerCase(),s=t[i];if(s){n||(n=s);continue}i!=="staff"&&o.push({label:r})}return{textBadges:o,tier:n}}const km={class:"vue-tp-comment-author"},Sm={class:"vue-tp-labels-container"},Tm={class:"vue-tp-user-name vue-tp-font-bold"},Em={class:"vue-tp-time-label vue-tp-font-bold"},Im=Oe(ke({__name:"CommentAuthor",props:{name:{type:[String,null],default:""},badges:{type:[Array,null],default:null},avatarUrl:{type:[String,null],default:""},avatarSize:{type:Number,default:30},date:{type:Date,required:!0}},setup(e){const t=e,o=N(()=>nu(t.date)),n=N(()=>Cm(t.badges));return(r,i)=>(g(),E("div",km,[W(bn,{"avatar-url":t.avatarUrl,"avatar-size":t.avatarSize},null,8,["avatar-url","avatar-size"]),C("div",Sm,[C("span",Tm,Ce(t.name),1),C("span",Em,Ce(o.value),1),n.value.tier?(g(),ve(ou,{key:0,icon:n.value.tier.icon,"tooltip-title":n.value.tier.label,"tooltip-description":n.value.tier.description},null,8,["icon","tooltip-title","tooltip-description"])):J("",!0),(g(!0),E(we,null,mt(n.value.textBadges,s=>(g(),ve(Mv,{key:s.label,text:s.label,color:s.color},null,8,["text","color"]))),128))])]))}}),[["__scopeId","data-v-c50f5dfc"]]),dt=(e,...t)=>e.reduce((o,n,r)=>`${o}${n}${r in t?String(t[r]):""}`,"");function Is(e,t){return new Promise((o,n)=>{const r=setTimeout(()=>{n(new Error(`Operation timed out after ${t}ms`))},t);e.then(i=>{clearTimeout(r),o(i)}).catch(i=>{clearTimeout(r),n(i)})})}function Am(){try{const e=localStorage.getItem("grv_sb_auth");return e!==null&&e.length>0}catch{return!1}}async function Ko(e){const t=window.grvAuth,o=Am();
13if(!t?.getSession)return{token:null,status:o?"session_expired":"sdk_unavailable"};try{const n=await Is(t.getSession(),e);if(n?.access_token)return{token:n.access_token,status:"success"}}catch{}return{token:null,status:o?"session_expired":"no_session"}}async function nr(e=200){const{token:t}=await Ko(e);return t!==null}function Om(e){if(e!=="success")throw e==="session_expired"?(et().logout(),new Error("Session expired. Please log in again.")):e==="no_session"?new Error("Not logged in."):new Error("Authentication service unavailable.")}const Lm=["session expired","not logged in","unauthorized","user deleted"];function rr(e){if(!(e instanceof Error))return!1;const t=e.message.toLowerCase();return Lm.some(o=>t.includes(o))}async function io(e,t){const{token:o,status:n}=await Ko(1e3);if(!o)throw n==="session_expired"?(et().logout(),new Error("Session expired. Please log in again.")):n==="no_session"?new Error("Not logged in."):new Error("Authentication service unavailable.");const r=Ts(),i=await fetch(`${r}/user`,{method:"POST",headers:{Authorization:`Bearer ${o}`,"Content-Type":"application/json"},body:JSON.stringify({query:e,variables:t||{}})});if(i.status===401){const s=await i.json().catch(()=>null);throw s?.code==="user_deleted"&&et().logout(),new Error(s?.error??"Unauthorized")}return Es(i)}const Xo=dt`
14  fragment BaseComment on Comment {
15    id
16    body
17    createdAt
18    author {
19      username
20      badges
21    }
22    revision {
23      id
24      media {
25        __typename
26        ... on YouTubeMedia {
27          url
28          still
29        }
30        ... on GiphyMedia {
31          url
32          still
33          width
34          height
35          original
36          title
37          video
38        }
39        ... on ExternalMedia {
40          url
41          width
42          height
43        }
44      }
45    }
46    actionCounts {
47      reaction {
48        total
49      }
50    }
51    viewerActionPresence {
52      reaction
53      flag
54    }
55    rootParent {
56      id
57    }
58    parent {
59      id
60      author {
61        username
62      }
63    }
64    story {
65      id
66    }
67    depth
68    ancestorIDs
69    status
70  }
71`,As=dt`
72  fragment PageInfo on CommentsConnection {
73    pageInfo {
74      endCursor
75      hasNextPage
76    }
77  }
78`,Os=dt`
79  ${Xo}
80  ${As}
81  fragment NestedReplies on Comment {
82    replies(first: 10, orderBy: CREATED_AT_DESC) {
83      edges {
84        node {
85          ...BaseComment
86          replies(first: 10, orderBy: CREATED_AT_DESC, after: null, flatten: true) {
87            edges {
88              node {
89                ...BaseComment
90              }
91            }
92            ...PageInfo
93          }
94        }
95      }
96      ...PageInfo
97    }
98  }
99`,au=dt`
100  fragment FlattenedReplies on Comment {
101    replies(first: 10, orderBy: CREATED_AT_DESC, after: null, flatten: true) {
102      edges {
103        node {
104          ...BaseComment
105        }
106      }
107      ...PageInfo
108    }
109  }
110`,Rm=dt`
111  ${Xo}
112  ${As}
113  fragment NestedRepliesWithEndCursor on Comment {
114    replies(first: 10, orderBy: CREATED_AT_DESC, after: $after) {
115      edges {
116        node {
117          ...BaseComment
118          replies(first: 10, orderBy: CREATED_AT_DESC, after: null, flatten: true) {
119            edges {
120              node {
121                ...BaseComment
122              }
123            }
124            ...PageInfo
125          }
126        }
127      }
128      ...PageInfo
129    }
130  }
131`,Mm=dt`
132  ${Xo}
133  ${As}
134  fragment FlattenedRepliesWithEndCursor on Comment {
135    replies(first: 10, orderBy: CREATED_AT_DESC, after: $after, flatten: true) {
136      edges {
137        node {
138          ...BaseComment
139        }
140      }
141      ...PageInfo
142    }
143  }
144`,Pm=dt`
145  ${Os}
146  query StoryComments(
147    $storyID: ID!
148    $first: Int!
149    $after: Cursor
150    $orderBy: COMMENT_SORT = CREATED_AT_DESC
151  ) {
152    story(id: $storyID) {
153      comments(first: $first, after: $after, orderBy: $orderBy) {
154        edges {
155          node {
156            ...BaseComment
157            ...NestedReplies
158          }
159          cursor
160        }
161        ...PageInfo
162      }
163    }
164  }
165`,Dm=dt`
166  ${Os}
167  ${au}
168  query CommentById($commentID: ID!) {
169    comment(id: $commentID) {
170      ...BaseComment
171      ...NestedReplies
172      parent {
173        ...BaseComment
174        ...FlattenedReplies
175      }
176      rootParent {
177        ...BaseComment
178        ...NestedReplies
179      }
180    }
181  }
182`,$m=dt`
183  ${Os}
184  ${au}
185  query SecondLevelCommentById($commentID: ID!) {
186    comment(id: $commentID) {
187      ...BaseComment
188      ...FlattenedReplies
189      rootParent {
190        ...BaseComment
191        ...NestedReplies
192      }
193    }
194  }
195`,Bm=dt`
196  ${Rm}
197  query NextPageCommentById($commentID: ID!, $after: Cursor) {
198    comment(id: $commentID) {
199      ...BaseComment
200      ...NestedRepliesWithEndCursor
201    }
202  }
203`,Nm=dt`
204  ${Mm}
205  query NextPageFlattenedCommentById($commentID: ID!, $after: Cursor) {
206    comment(id: $commentID) {
207      ...BaseComment
208      ...FlattenedRepliesWithEndCursor
209    }
210  }
211`,zt={async getCommentsByStoryId(e){const{storyId:t,first:o=20,after:n=null,orderBy:r=null}=e;if(!t)throw new Error("[TP] CommentsService: missing storyId");const i={storyID:t,first:o,...n?{after:n}:{},orderBy:r};if(await nr(500))try{return{comments:(await io(Pm,i)).data?.story?.comments??{edges:[],pageInfo:{endCursor:null,hasNextPage:!1}}}}catch(a){if(!rr(a))throw a}try{return{comments:(await yn("publicStoryComments",i)).data?.story?.comments??{edges:[],pageInfo:{endCursor:null,hasNextPage:!1}}}}catch{throw new Error("[TP] CommentsService: public proxy failed")}},async getCommentById(e){if(!e)throw new Error("[TP] CommentsService: missing commentId");if(await nr(500))try{return(await io(Dm,{commentID:e})).data?.comment??null}catch(o){if(!rr(o))throw o}try{return(await yn("publicCommentById",{commentID:e})).data?.comment??null}catch{throw new Error("[TP] CommentsService: getCommentById failed")}},async getSecondLevelCommentById(e){if(!e)throw new Error("[TP] CommentsService: missing commentId");if(await nr(500))try{return(await io($m,{commentID:e})).data?.comment??null}catch(o){if(!rr(o))throw o}try{return(await yn("publicSecondLevelCommentById",{commentID:e})).data?.comment??null}catch{throw new Error("[TP] CommentsService: getSecondLevelCommentById failed")}},async getNextPageReplies(e,t=null){if(!e)throw new Error("[TP] CommentsService: missing commentId");if(await nr(500))try{return(await io(Bm,{commentID:e,after:t})).data?.comment??null}catch(n){if(!rr(n))throw n}try{return(await yn("publicNextPageReplies",{commentID:e,after:t})).data?.comment??null}catch{throw new Error("[TP] CommentsService: getNextPageReplies failed")}},async getNextPageFlattenedReplies(e,t=null){if(!e)throw new Error("[TP] CommentsService: missing commentId");if(await nr(500))try{return(await io(Nm,{commentID:e,after:t})).data?.comment??null}catch(n){if(!rr(n))throw n}try{return(await yn("publicNextPageFlattenedReplies",{commentID:e,after:t})).data?.comment??null}catch{throw new Error("[TP] CommentsService: getNextPageFlattenedReplies failed")}}},ft=[];for(let e=0;e<256;++e)ft.push((e+256).toString(16).slice(1));function Um(e,t=0){return(ft[e[t+0]]+ft[e[t+1]]+ft[e[t+2]]+ft[e[t+3]]+"-"+ft[e[t+4]]+ft[e[t+5]]+"-"+ft[e[t+6]]+ft[e[t+7]]+"-"+ft[e[t+8]]+ft[e[t+9]]+"-"+ft[e[t+10]]+ft[e[t+11]]+ft[e[t+12]]+ft[e[t+13]]+ft[e[t+14]]+ft[e[t+15]]).toLowerCase()}let Ls;const zm=new Uint8Array(16);function Fm(){if(!Ls){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Ls=crypto.getRandomValues.bind(crypto)}return Ls(zm)}const lu={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Hm(e,t,o){e=e||{};const n=e.random??e.rng?.()??Fm();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,Um(n)}function ir(e,t,o){return lu.randomUUID&&!e?lu.randomUUID():Hm(e)}const ii="https://www.youtube.com/watch?v=",jm=/^[\w-]{11}$/,Gm=/(?:youtube\.com\/(?:watch\?v=|embed\/|v\/|vi\/|shorts\/)|youtu\.be\/)([\w-]{11})/,cu=/https?:\/\/(?:www\.)?(?:youtube\.com|youtu\.be)\/[^\s]*/g;function sr(e){return e.match(Gm)?.[1]??null}function Vm(e,t){return[...e.matchAll(cu)].length>0?e.replace(cu,n=>{const r=sr(n);return r?`${ii}${r}`:n}):t?e.trim()===""?`${ii}${t}`:`${e}
212
213${ii}${t}`:e}function uu(e){return e.replace(/(<a [^>]*>)https?:\/\/(?:www\.)?(?:youtube\.com|youtu\.be)\/[^\s<]*(<\/a>)/gi,(t,o,n)=>`${o}[YouTube Link]${n}`)}function Wm(e){return{type:"youtube",url:`https://www.youtube.com/watch?v=${e}`,id:e}}function Ym(e,t,o,n){return{type:"giphy",url:e,id:t,width:o,height:n}}const qm=dt`
214  ${Xo}
215  mutation CreateComment(
216    $storyID: ID!
217    $body: String!
218    $clientMutationId: String!
219    $media: CreateCommentMediaInput
220  ) {
221    createComment(
222      input: { storyID: $storyID, body: $body, clientMutationId: $clientMutationId, media: $media }
223    ) {
224      clientMutationId
225      edge {
226        node {
227          ...BaseComment
228        }
229      }
230    }
231  }
232`,Km=dt`
233  ${Xo}
234  mutation CreateCommentReply(
235    $storyID: ID!
236    $parentID: ID!
237    $parentRevisionID: ID!
238    $body: String!
239    $clientMutationId: String!
240    $media: CreateCommentMediaInput
241  ) {
242    createCommentReply(
243      input: {
244        storyID: $storyID
245        parentID: $parentID
246        parentRevisionID: $parentRevisionID
247        body: $body
248        clientMutationId: $clientMutationId
249        media: $media
250      }
251    ) {
252      clientMutationId
253      edge {
254        node {
255          ...BaseComment
256        }
257      }
258    }
259  }
260`;function du(e,t){return e?Wm(e):t?Ym(t.original,t.id,String(t.width),String(t.height)):null}const pu={async postTopLevelComment(e,t,o=null,n=null){const r=ir(),i=du(o,n),s=Vm(t,o);return(await io(qm,{storyID:e,body:s,clientMutationId:r,media:i})).data.createComment.edge.node}
260,async postReply(e,t,o,n,r=null){const i=ir(),s=du(null,r);return(await io(Km,{storyID:e,parentID:t,parentRevisionID:o,body:n,clientMutationId:i,media:s})).data.createCommentReply.edge.node}},Xm=dt`
261  mutation CreateCommentReaction(
262    $commentID: ID!
263    $commentRevisionID: ID!
264    $clientMutationId: String!
265  ) {
266    createCommentReaction(
267      input: {
268        commentID: $commentID
269        commentRevisionID: $commentRevisionID
270        clientMutationId: $clientMutationId
271      }
272    ) {
273      clientMutationId
274      comment {
275        id
276        actionCounts {
277          reaction {
278            total
279          }
280        }
281      }
282    }
283  }
284`,Jm=dt`
285  mutation RemoveCommentReaction(
286    $commentID: ID!
287    $commentRevisionID: ID!
288    $clientMutationId: String!
289  ) {
290    removeCommentReaction(
291      input: {
292        commentID: $commentID
293        commentRevisionID: $commentRevisionID
294        clientMutationId: $clientMutationId
295      }
296    ) {
297      clientMutationId
298      comment {
299        id
300        actionCounts {
301          reaction {
302            total
303          }
304        }
305      }
306    }
307  }
308`;async function Zm(e,t,o){let n;try{n=(await io(Xm,{commentID:e,commentRevisionID:t,clientMutationId:o}))?.data?.createCommentReaction?.comment?.actionCounts?.reaction?.total??-1}catch{throw new Error}return n}async function Qm(e,t,o){let n;try{n=(await io(Jm,{commentID:e,commentRevisionID:t,clientMutationId:o}))?.data?.removeCommentReaction?.comment?.actionCounts?.reaction?.total??-1}catch{throw new Error}return n}const Jo=Ut("errors",()=>{const e=S([]);function t(){e.value.forEach(r=>clearTimeout(r.timeout)),e.value=[]}function o(r){const i=ir();e.value.push({text:r,id:i,timeout:setTimeout(()=>{n(i)},5e3)})}function n(r){const i=e.value.findIndex(s=>s.id===r);i!==-1&&e.value.splice(i,1)}return{errorMessages:e,reset:t,addErrorMessage:o}}),Xe={COMMENT_LOAD:"Comment couldn't be loaded, please try again later.",COMMENT_POST:"Comment couldn't be posted, please try again later.",COMMENT_MODERATION:"The comment has been sent to moderation.",REPLIES_LOAD:"Replies couldn't be loaded, please try again later.",COMMENTS_LOAD:"Comments couldn't be loaded, please try again later.",OLDER_COMMENTS_LOAD:"Older comments couldn't be loaded, please try again later.",LIKE_TOGGLE:"Something went wrong.",REPORT:"Something went wrong.",ACTIVE_STORIES_LOAD:"Stories couldn't be loaded, please try again later.",STORY_DATA_LOAD:"Some of the story data couldn't be loaded.",COMMENT_DELETE:"Comment couldn't be deleted, please try again later."};function e1(){const e=window.TalkingPointsApi?.publicUrl;if(!e)throw new Error("TalkingPointsApi.publicUrl is not configured");return e.replace(/\/$/,"")}async function fu(e,t={}){const{params:o={},errorLabel:n="Supabase API error",nullOn404:r=!1}=t,i=window.TalkingPointsApi?.apiKey;if(!i)throw new Error("TalkingPointsApi.apiKey is not configured");const s=new URL(`${e1()}/${e}`);Object.entries(o).forEach(([u,c])=>{s.searchParams.append(u,String(c))});let a;try{a=await fetch(s.toString(),{method:"GET",headers:{Accept:"application/json",apikey:i}})}catch{throw new Error(n)}if(r&&a.status===404)return null;const l=await a.text();if(!a.ok)throw new Error(n);try{return JSON.parse(l)}catch{throw new Error(n)}}function Rs(e){return{story_id:e.id,story_name:e.title,story_slug:e.slug}}async function Ms(e){const t=Array.isArray(e)?e.join(","):String(e);return await fu(`interests/${t}/talkingpoints`,{params:{order:"count"},errorLabel:"SB API error for active stories"})??[]}async function t1(e=10,t){const o=window.TalkingPointsApi?.interestIds??[];if(!o.length)return[];if(t==null)return(await Ms(o)).slice(0,e).map(Rs);const n=(await Ms(t)).map(Rs);if(n.length>=e)return n.slice(0,e);const r=(await Ms(o)).map(Rs),i=new Set(n.map(a=>a.story_id)),s=r.filter(a=>!i.has(a.story_id));return[...n,...s].slice(0,e)}function vu(e,t,o){if(!e)throw new Error("Public URL not configured.");if(!o)throw new Error("User ID not provided.");if(t!=="success")throw new Error("User authentication failed.")}function mu(){return window.TalkingPointsApi?.publicUrl}function gu(){return et().user?.id}async function hu(e){const{token:t,status:o}=await Ko(1e3),n=gu(),r=mu();vu(r,o,n);const i=`${r}user/${n}/follow_talkingpoint/${e}`;let s;const a="GET";try{s=await fetch(i,{method:a,headers:{Accept:"application/json",Authorization:`Bearer ${t}`}})}catch{throw new Error("getTPFollowStatus error")}if(!s.ok)throw new Error("getTPFollowStatus error");const l=await s.text();try{return JSON.parse(l)}catch{throw new Error("Failed to parse response")}}async function o1(e,t){const{token:o,status:n}=await Ko(1e3),r=gu(),i=mu();vu(i,n,r);const s=`${i}user/${r}/follow_talkingpoint`;let a;const l="PUT";try{a=await fetch(s,{method:l,headers:{"Content-Type":"application/json",Authorization:`Bearer ${o}`},body:JSON.stringify({follow_id:e,is_active:t})})}catch{throw new Error("postTPFollowStatus error")}if(!a.ok)throw new Error("postTPFollowStatus error");const u=await a.text();try{return JSON.parse(u)}catch{throw new Error("Failed to parse response")}}async function n1(e){const t=await fu(`talkingpoints/${e}`,{errorLabel:"SB API error for story data",nullOn404:!0});
308return t?{found:!0,storyId:t.id,storyName:t.title,tpSlug:t.slug,pinnedIbId:t.pinned_ib_comment_id??null,interestId:t.interest_id,isLive:t.is_live,closed:!!t.closed_at}:{found:!1}}function r1(e=null){if(!e)return null;const o=window.TalkingPointsApi?.interestColors?.[e.toString()]||null;return o?i1(o):null}function i1(e){const t=e.match(/^#([0-9a-f]{3})$/i);let o;if(t?o=e.replace(/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i,"#$1$1$2$2$3$3"):o=e,!o.match(/^#([0-9a-f]{6})$/i))return null;const n=parseInt(o.slice(1,3),16),r=parseInt(o.slice(3,5),16),i=parseInt(o.slice(5,7),16);return`${n}, ${r}, ${i}`}function wn(e=null,t="",o=!1){const n=new URL(window.location.origin+window.location.pathname),r=new URLSearchParams;return!o&&t&&(r.set("tpopen","true"),r.set("tp",t)),e&&r.set("commentID",e),n.hash=r.toString(),n.toString()}function _n(e){return e?(window.TalkingPointsApi?.publicAvatarUrl??"").replace("{username}",e):""}function s1(e){try{const t=new URL(e);return new URLSearchParams(t.hash.replace(/^#/,"")).get("commentID")}catch{return null}}function a1(){const e=window.location.pathname.split("/").filter(Boolean);return e.length===2&&e[0]==="talkingpoints"}function l1(){const e=window.location.pathname.split("/").filter(Boolean);return e[0]!=="talkingpoints"?!1:e.length===3?!0:e.length===4&&e[2]==="c"}const Ro=Ut("stories",()=>{const e=S([]),t=S(null),o=S(!1),n=S(!1),r=S(!1),i=S(null),s=S(null),a=S(!1),l=S(!1),u=S(!1),c=S(null),d=S(null),p=5e3,y=2e4,_=Jo(),k=et();function R(){e.value=[],t.value=null,U()}function U(){i.value=null,s.value=null,a.value=!1,l.value=!1,u.value=!1,A()}function A(){c.value&&(clearInterval(c.value),c.value=null),d.value&&(clearTimeout(d.value),d.value=null)}async function P(X){X&&(n.value=a1(),r.value=l1())}async function I(X){try{const G=await n1(X);if(G.storyId===i.value){const te=G.interestId??null;s.value=te,t.value=G.pinnedIbId??null,o.value=G.closed??!1;const ie=r1(te);
308if(ie)document.getElementById("vue-sidebar")?.style.setProperty("--tp-primary",ie);else{const re=getComputedStyle(document.documentElement).getPropertyValue("--tp-primary")??null;document.getElementById("vue-sidebar")?.style.setProperty("--tp-primary",re)}}}catch{_.addErrorMessage(Xe.STORY_DATA_LOAD)}}async function M(){const X=s.value;try{const G=await t1(10,X??void 0);X===s.value&&(e.value=G)}catch{_.addErrorMessage(Xe.ACTIVE_STORIES_LOAD)}}async function D(X){U(),i.value=X!==""?X:null,i.value&&(await O(),await I(X),!n.value&&!r.value&&await M())}function $(){l.value||a.value||(l.value=!0,c.value=setInterval(H,p),d.value=setTimeout(()=>{c.value&&(clearInterval(c.value),c.value=null)},y))}async function H(){try{if(!k.isLoggedIn)return;if(!i.value){A();return}const X=await hu(i.value);a.value=X.is_active,X.is_active&&(A(),u.value=!0)}catch{_.addErrorMessage(Xe.STORY_DATA_LOAD)}}async function O(){try{if(!k.isLoggedIn||!i.value)return;const X=await hu(i.value);a.value=X.is_active}catch{_.addErrorMessage(Xe.STORY_DATA_LOAD)}}async function K(){const X=a.value;a.value=!X;try{if(!k.isLoggedIn||!i.value)return;const G=await o1(i.value,a.value);a.value=G.is_active}catch{a.value=X,_.addErrorMessage(Xe.STORY_DATA_LOAD)}}return{activeStories:e,currentStoryFollowStatus:a,currentPinnedBlockId:t,currentStoryClosed:o,isLandingPageStory:n,isLandingPageComment:r,commentedOrReacted:l,subscribedThroughCommentOrReaction:u,reset:R,getActiveStories:M,onStoryIdChange:D,onFirstCommentOrReaction:$,postStoryFollowStatus:K,setLandingPageStatus:P}}),xn=Ut("reactions",()=>{const e=S({}),t=S(!1),o=Jo(),n=Ro();function r(k){return e.value[k]||(e.value[k]={likedByViewer:!1,likeCount:0,loading:!1,pendingWebSocketReaction:!1}),e.value[k]}function i(k,R,U){e.value[k]={likedByViewer:U,likeCount:Math.max(0,R||0),loading:!1,pendingWebSocketReaction:!1}}function s(){e.value={},t.value=!1}function a(){Object.keys(e.value).forEach(k=>{const R=e.value[k];R?.pendingWebSocketReaction&&(R.pendingWebSocketReaction=!1)})}function l(k){return r(k).likedByViewer}function u(k){return r(k).likeCount}function c(k){return r(k).loading}async function d(){t.value||(t.value=!0,n.onFirstCommentOrReaction())}async function p(k){const R=r(k.id);if(R.loading)return;const U=R.likedByViewer,A=R.likeCount,P=k.id,I=k?.revision?.id||"";if(!P||!I){o.addErrorMessage(Xe.LIKE_TOGGLE);return}R.loading=!0,R.pendingWebSocketReaction=!0,R.likedByViewer=!U,R.likeCount=Math.max(0,A+(U?-1:1));try{const M=ir();let D;U?D=await Qm(P,I,M):(D=await Zm(P,I,M),await d()),D===A&&(R.pendingWebSocketReaction=!1),D>-1&&(R.likeCount=D)}catch{R.likedByViewer=U,R.likeCount=A,R.pendingWebSocketReaction=!1,o.addErrorMessage(Xe.LIKE_TOGGLE)}finally{R.loading=!1}}return{commentIdToState:e,hydrate:i,reset:s,resetWebSocketPendingState:a,isLiked:l,likeCount:u,isDisabled:c,toggleLike:p,removeWebSocketPendingState:k=>{const R=r(k);R.pendingWebSocketReaction=!1},removeUserReaction:k=>{const R=r(k);R.likedByViewer=!1}}}),c1=dt`
309  mutation CreateCommentFlag(
310    $commentID: ID!
311    $commentRevisionID: ID!
312    $reason: COMMENT_FLAG_REPORTED_REASON!
313    $additionalDetails: String
314    $clientMutationId: String!
315  ) {
316    createCommentFlag(
317      input: {
318        commentID: $commentID
319        commentRevisionID: $commentRevisionID
320        reason: $reason
321        additionalDetails: $additionalDetails
322        clientMutationId: $clientMutationId
323      }
324    ) {
325      clientMutationId
326      comment {
327        id
328      }
329    }
330  }
331`;async function u1(e){await io(c1,{commentID:e.commentID,commentRevisionID:e.commentRevisionID,clientMutationId:e.clientMutationId,reason:e.reason,additionalDetails:e.additionalDetails})}const si=Ut("reports",()=>{const e=S({}),t=Jo();function o(u){return e.value[u]||(e.value[u]={reportedByViewer:!1,loading:!1}),e.value[u]}function n(u){return o(u).reportedByViewer}function r(u){return o(u).loading}function i(u){return o(u).loading}function s(u,c){e.value[u]={reportedByViewer:c,loading:!1}}function a(){e.value={}}async function l(u,c="COMMENT_REPORTED_OTHER",d){const p=o(u.id);if(p.reportedByViewer||p.loading)return;const y=u?.revision?.id||"";if(!u.id||!y){t.addErrorMessage(Xe.REPORT);return}p.loading=!0;try{const _=ir();await u1({commentID:u.id,commentRevisionID:y,clientMutationId:_,reason:c,additionalDetails:d}),p.reportedByViewer=!0}catch{t.addErrorMessage(Xe.REPORT)}finally{p.loading=!1}}return{hydrate:s,reset:a,isReported:n,isDisabled:r,isLoading:i,report:l}}),ai=Ut("commentTracking",()=>{const e=S([]),t=S({}),o=S(!1),n=S(0);function r(){e.value=[],o.value=!1,s(),i()}function i(){Object.keys(t.value).forEach(c=>{delete t.value[c]})}function s(){n.value=0}function a(c,d){const p=d==="post"?"hasPostResponse":"hasWsResponse";t.value[c]||(t.value[c]={hasPostResponse:!1,hasWsResponse:!1}),t.value[c][p]=!0;const y=t.value[c]?.hasWsResponse;if(t.value[c]?.hasPostResponse&&y){delete t.value[c];return}y&&(o.value||n.value++)}function l(c){o.value=c,c||u()}function u(){Object.keys(t.value).length!==0&&Object.keys(t.value).forEach(c=>{const d=t.value[c]?.hasWsResponse,p=t.value[c]?.hasPostResponse;d&&!p&&n.value++})}return{websocketUpdateCount:n,receivedCommentsMap:t,reset:r,processReceivedCommentIdsMap:a,changeLoadingState:l,deleteReceivedCommentsMap:i,resetWebSocketUpdateCount:s}});function d1(){const e=window.TalkingPointsApi?.wpRestUrl;if(e)return e.replace(/\/$/,"");const{origin:t}=window.location;return`${t.replace(/\/$/,"")}/wp-json`}async function li(e,t={}){const{method:o="GET",params:n={},errorLabel:r="WP REST error"}=t,i=new URL(`${d1()}${e}`);
331Object.entries(n).forEach(([u,c])=>{i.searchParams.append(u,String(c))});const s=i.toString();let a;try{a=await fetch(s,{method:o,headers:{Accept:"application/json"}})}catch{throw new Error(r)}const l=await a.text();if(!a.ok)throw new Error(r);try{return JSON.parse(l)}catch{throw new Error(r)}}const ci=new Map,ar=new Map;async function Ps(e){const t=ci.get(e);if(t)return t;const o=ar.get(e);return o||yu(e,!1)}async function bu(e){return yu(e,!0)}function p1(e){for(const t of e)!ci.has(t)&&!ar.has(t)&&Ps(t).catch(()=>{})}function f1(){ci.clear()}async function yu(e,t){const o=v1(e,t);ar.set(e,o);try{const n=await o;return ci.set(e,n),n}finally{ar.get(e)===o&&ar.delete(e)}}async function v1(e,t){const o=`/talking-points/v1/block-by-coral-comment/${encodeURIComponent(e)}/html`,n=await li(o,{errorLabel:"WP REST error for block HTML",...t?{params:{fresh:1}}:{}});return n.html=m1(n.html),n}function m1(e){if(!e)return e;const t=document.createElement("template");return t.innerHTML=e,t.content.querySelectorAll(".see-more-wrapper[data-src]").forEach(o=>{const n=o.dataset.src;if(!n)return;const r=o.querySelector("iframe");r&&r.setAttribute("src",n)}),t.innerHTML}function g1(e){if(e&&e.querySelector(".twitter-tweet"))try{const t=window.twttr;t?.widgets?.load&&t.widgets.load(e)}catch{}}function h1(e){if(e&&e.querySelector(".instagram-media"))try{const t=window.instgrm;t?.Embeds?.process&&t.Embeds.process()}catch{}}const so=Ut("comments",()=>{const t="CREATED_AT_DESC",o=["REJECTED","PREMOD","SYSTEM_WITHHELD"],n=S(!1),r=S(!1),i=S([]),s=S(null),a=S(!1),l=S(null),u=S(null),c=S(null),d=S([]),p=S(!1),y=S(!1),_=sn({system:{levelTwo:null,deepLevel:null},user:{levelTwo:null,deepLevel:null}}),k=xn(),R=si(),U=Jo(),A=Ro(),P=ai(),I=N(()=>p.value?c.value?.id??null:null);function M(){n.value=!1,r.value=!1,i.value=[],s.value=null,a.value=!1,l.value=null,u.value=null,c.value=null,d.value=[],p.value=!1,y.value=!1,f1(),D()}function D(){_.system.levelTwo=null,_.system.deepLevel=null,_.user.levelTwo=null,_.user.deepLevel=null}function $(v,w=!1){w?r.value=v:n.value=v,P.changeLoadingState(v)}function H(v){const w=v?.actionCounts?.reaction?.total??0,b=!!v?.viewerActionPresence?.reaction;k.hydrate(v.id,w,b);const L=!!v?.viewerActionPresence?.flag;R.hydrate(v.id,L)}function O(v,w=1){for(const b of v||[]){H(b);const B=(b?.replies?.edges||[]).map(F=>F?.node);B.length>0&&w<3&&O(B,w+1)}}function K(v,w=!1){l.value=v,p.value=w}async function X(v){try{s.value=null,a.value=!1;const{comments:w}=await zt.getCommentsByStoryId({storyId:v,first:20,after:null,orderBy:t});i.value=(w.edges||[]).map(b=>b.node),O(i.value),fe(i.value),s.value=w.pageInfo?.endCursor??null,a.value=!!w.pageInfo?.hasNextPage}catch{U.addErrorMessage(Xe.COMMENTS_LOAD)}}async function G(){if(!(!a.value||!l.value))try{const{comments:v}=await zt.getCommentsByStoryId({storyId:l.value,first:20,after:s.value||void 0,orderBy:t}),w=(v.edges||[]).map(b=>b.node);i.value=i.value.concat(w),O(w),fe(w),s.value=v.pageInfo?.endCursor??null,a.value=!!v.pageInfo?.hasNextPage}catch{throw U.addErrorMessage(Xe.OLDER_COMMENTS_LOAD),new Error}}async function te(v){let w=null;try{w=await zt.getCommentById(v),le(w,l.value??"")?U.addErrorMessage(Xe.COMMENT_LOAD):w&&(O([w]),fe([w]),me(w,!0))}catch{U.addErrorMessage(Xe.COMMENT_LOAD)}return w}async function ie(v){try{let w;v.depth===0?w=await zt.getNextPageReplies(v.id,v.replies?.pageInfo?.endCursor||null):w=await zt.getNextPageFlattenedReplies(v.id,v.replies?.pageInfo?.endCursor||null),w&&re(v,w)}catch{U.addErrorMessage(Xe.REPLIES_LOAD)}}function re(v,w){const b=_e(v.id,!0,!0,!0);b&&(b.replies&&(b.replies.edges=b.replies.edges.concat(w.replies?.edges||[])),b.replies?.pageInfo?.endCursor&&(b.replies.pageInfo.endCursor=w.replies?.pageInfo?.endCursor||null),b.replies?.pageInfo?.hasNextPage&&(b.replies.pageInfo.hasNextPage=w.replies?.pageInfo?.hasNextPage||!1),O([b]))}async function oe(v,w,b=null,L=""){if(!L&&(!l.value||p.value))return null;let B=null;const F=L||l.value;if(!F)return null;try{B=await pu.postTopLevelComment(F,v,w,b),P.processReceivedCommentIdsMap(B.id,"post")}catch{return U.addErrorMessage(Xe.COMMENT_POST),null}return await pe(),B?.status&&o.includes(B?.status)?(U.addErrorMessage(Xe.COMMENT_MODERATION),null):B}async function ee(v,w,b=null,L=""){const B=L||l.value;if(!B)return null;let F=null;const V=w?.revision?.id||null;if(!V)throw $(!1),new Error("Missing parentRevisionID for reply.");if(!w?.id)throw $(!1),new Error("Missing parent ID for reply.");if(le(w,B))return U.addErrorMessage(Xe.COMMENT_POST),null;try{F=await pu.postReply(B,w.id,V,v,b),P.processReceivedCommentIdsMap(F.id,"post")}catch{return U.addErrorMessage(Xe.COMMENT_POST),null}return await pe(),F?.status&&o.includes(F?.status)?(U.addErrorMessage(Xe.COMMENT_MODERATION),null):F}async function pe(){y.value||(y.value=!0,A.onFirstCommentOrReaction())}function Ee(v,w){if(!v||!v.id)return!1;if(v.depth===0&&i.value.unshift(v),v.depth===1||v.depth===2){if(!w)return!1;
331const b=_e(w,!0,!0,!0);if(!b)return!1;b.replies||(b.replies={edges:[],pageInfo:{endCursor:null,hasNextPage:!1}}),b.replies?.edges.unshift({node:v})}if(v.depth>2){const b=Me(v),L=_e(b,!0,!0,!0);if(!L)return!1;L.replies||(L.replies={edges:[],pageInfo:{endCursor:null,hasNextPage:!1}}),L.replies?.edges.unshift({node:v})}return!0}function Me(v){const b=v?.ancestorIDs.slice()||[];return b.length<=2||b.pop()!==v?.rootParent?.id?null:b.pop()||null}async function Ye(v){$(!0);const w=_e(v,!0);if(w)return Be(w),$(!1),w;let b=null;try{b=await zt.getCommentById(v),le(b,l.value??"")?U.addErrorMessage(Xe.COMMENT_LOAD):b?await tt(b):U.addErrorMessage(Xe.COMMENT_LOAD)}catch{U.addErrorMessage(Xe.COMMENT_LOAD)}finally{$(!1)}return b}function Be(v){if(v.depth===0){Y(v)&&me(v,!0);return}if(v.rootParent?.id){const w=_e(v.rootParent.id,!1);w&&Y(w)&&me(w,!0)}}async function tt(v){const w=v.rootParent;let b=null;const L=Y(v)||Y(w);if(v.depth===0){me(v,L),O([v]);return}if(w){if(me(w,L),O([w]),v.depth===1){const B=await zt.getSecondLevelCommentById(v.id);_[L?"system":"user"].levelTwo=B,O(B?[B]:[]);return}if(v.depth===2&&(b=v.parent),v.depth>2){const B=Me(v);if(B)try{b=await zt.getSecondLevelCommentById(B)}catch{throw new Error}}_[L?"system":"user"].levelTwo=b,_[L?"system":"user"].deepLevel=v,O(b?[b]:[]),O([v])}}function me(v,w){w?c.value=v:u.value=v}function Je(v,w,b=!0){if(!v||!w)return null;if(v.id===w)return v;if(!b||!v.replies||v.replies?.edges?.length===0)return null;const L=v.replies?.edges||[];let B=null;for(let F=0;F<L.length;F++){const V=L[F];if(B=Je(V?.node||null,w),B)break}return B}function Ie(v,w=!0){if(!v)return null;if(_.system.levelTwo?.id===v)return _.system.levelTwo;if(_.system.deepLevel?.id===v)return _.system.deepLevel;if(_.user.levelTwo?.id===v)return _.user.levelTwo;if(_.user.deepLevel?.id===v)return _.user.deepLevel;if(w){const b=Je(_.system.levelTwo,v,!0);if(b)return b;const L=Je(_.user.levelTwo,v,!0);if(L)return L}return null}function _e(v,w=!0,b=!1,L=!1){if(!v)return null;const B=Je(c.value,v,w);if(B)return B;if(b&&u.value){const V=Je(u.value,v,w);if(V)return V}if(L){const V=Ie(v,w);if(V)return V}let F=null;for(let V=0;V<i.value.length;V++){const z=i.value[V];if(z?.id!==c.value?.id&&z&&(F=Je(z,v,w),F))break}return F}function lt(v,w){const b=_e(v,!0,!0,!0);b&&(b.body=w)}function Y(v){return v?.author?.username==="system"}function fe(v){const w=v.filter(b=>Y(b)).map(b=>b.id);w.length>0&&p1(w)}function le(v,w){return!!v?.story?.id&&v.story.id!==w}async function m(v){if(!v||v.length===0)return;const w=[];try{$(!0,!0);for(const b of v)try{const L=await zt.getCommentById(b);L&&(O([L]),w.push(L))}catch{}d.value=w}catch{U.addErrorMessage(Xe.COMMENTS_LOAD)}finally{$(!1,!0)}}function h(v){return d.value.some(w=>w.id===v)}return{comments:i,pinnedMainTopicComment:c,pinnedUserComment:u,templateFeaturedComments:d,loading:n,nonBlockingLoading:r,hasNextPage:a,pinnedReplies:_,showSingleTopLevelComment:p,singleTopLevelCommentId:I,hydrateOne:H,changeLoadingState:$,setInitProperties:K,loadFirstPageById:X,loadMore:G,addTopLevelComment:oe,addReply:ee,loadComment:Ye,loadMainTopicComment:te,loadMoreReplies:ie,handleNewComment:Ee,reset:M,findCommentOnThePage:_e,isSystemComment:Y,getSecondLevelParentId:Me,tombstoneComment:lt,loadTemplateFeaturedComments:m,isTemplateFeaturedComment:h}});function Ds(){let e=null,t=null;function o(){e&&(clearTimeout(e),e=null),t&&(clearTimeout(t),t=null)}function n(r,i,s=!1){o(),e=setTimeout(()=>{const a=document.getElementById(r);a&&(a.scrollIntoView({behavior:"smooth",block:i}),s&&(a.classList.add("vue-tp-highlight"),t=setTimeout(()=>{a.classList.remove("vue-tp-highlight")},2e3)))},500)}return{scrollToComment:n,clearScrollTimers:o}}function wu(e){const o=r=>{const i=r.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:i-80,behavior:"smooth"})},n=document.querySelector(`.grv-talking-point[data-comment-id="${e}"]`)||document.getElementById(`grv-comment-${e}`);n&&o(n)}async function b1(){const{token:e,status:t}=await Ko(1e3);if(!e)throw t==="session_expired"?(et().logout(),new Error("Session expired. Please log in again.")):t==="no_session"?new Error("Not logged in."):new Error("Authentication service unavailable.");return e}async function y1(e){const t=await b1(),o=Ts(),n=await fetch(`${o}/user/comment/${e}`,{method:"DELETE",headers:{Authorization:`Bearer ${t}`}});return Es(n)}const $s="[DELETED]",Cn=Ut("deleteComment",()=>{const e=S({}),t=Jo();function o(c){return e.value[c]||(e.value[c]={deleted:!1,tombstoned:!1,loading:!1}),e.value[c]}function n(c,d){const p=d.startsWith($s);e.value[c]={deleted:p,tombstoned:p,loading:!1}}function r(c){e.value[c]={deleted:!0,tombstoned:!1,loading:!1}}function i(c){return o(c).deleted}function s(c){return o(c).tombstoned}function a(c){return o(c).loading}async function l(c){const d=o(c);if(d.deleted||d.loading)return null;d.loading=!0;try{const p=await y1(c);return d.deleted=!0,d.tombstoned=p.strategy==="tombstoned",p}catch{return t.addErrorMessage(Xe.COMMENT_DELETE),null}finally{d.loading=!1}}function u(){e.value={}}return{hydrate:n,markAsRejected:r,reset:u,isDeleted:i,isTombstoned:s,isLoading:a,performDelete:l}}),ui=Ut("webSocketComments",()=>{const e=S([]),t=S([]),o=S([]),{scrollToComment:n}=Ds(),r=ai(),i=so(),s=Cn(),a=xn(),{websocketUpdateCount:l,receivedCommentsMap:u}=He(r),{singleTopLevelCommentId:c}=He(i);function d(){e.value=[],t.value=[],o.value=[]}function p(D){c.value&&!y(D)||(e.value.push(D),r.processReceivedCommentIdsMap(D.id,"ws"))}function y(D){return(D.rootParent?.id??null)===c.value}function _(D){const $=D.parent?.id??null;if($){let H=document.getElementById(`nested-comments-${$}`);if(H||(H=document.getElementById($)),H){const O=H.getBoundingClientRect();if(O.bottom>0&&O.bottom<(window.innerHeight||document.documentElement.clientHeight))return!0}}return!1}function k(){e.value.forEach(D=>
331{if(u.value[D.id]){const $=D.parent?.id??null;$&&_(D)?i.handleNewComment(D,$):t.value.push(D)}}),o.value=[],e.value=[],r.deleteReceivedCommentsMap(),r.resetWebSocketUpdateCount()}function R(){t.value.forEach(D=>{const $=D.parent?.id??null;i.handleNewComment(D,$)&&o.value.push(D.id)}),P(),t.value=[]}function U(D){if(D?.body?.startsWith($s)){if(s.isDeleted(D.id)||s.isLoading(D.id))return;const O=t.value.findIndex(X=>X.id===D.id);if(O!==-1){t.value.splice(O,1);return}const K=i.findCommentOnThePage(D.id,!0,!0,!0);K&&((K.replies?.edges?.length??0)>0?(i.tombstoneComment(D.id,D.body),s.hydrate(D.id,D.body)):s.markAsRejected(D.id));return}if(!D?.actionCounts?.reaction)return;if(a.commentIdToState[D.id]?.pendingWebSocketReaction){a.removeWebSocketPendingState(D.id);return}const H=i.findCommentOnThePage(D.id,!0,!0,!0);if(!H){A(D);return}H?.actionCounts?.reaction&&(D.actionCounts.reaction.total===0&&H.viewerActionPresence?.reaction&&(H.viewerActionPresence.reaction=!1),H.actionCounts.reaction.total=D.actionCounts.reaction.total,i.hydrateOne(H))}function A(D){if(t.value.length===0)return;const $=t.value.find(H=>H.id===D.id);$&&$.actionCounts?.reaction&&D.actionCounts?.reaction&&($.actionCounts.reaction.total=D.actionCounts.reaction.total,i.hydrateOne($))}function P(){if(o.value.length>0){const D=o.value[0]||"";n(D,"center",!1)}else document.getElementById("vue-tp-sidebar-container")?.scrollIntoView({behavior:"smooth",block:"start"})}function I(D){o.value.splice(o.value.indexOf(D),1)}function M(){R()}return Fe(l,D=>{D>0&&k()}),{readyWebSocketComments:t,unseenCommentIds:o,reset:d,refreshComments:M,onNewWebSocketCommentReceived:p,onWebSocketCommentUpdated:U,onCommentSeen:I}});function w1(){return window.TalkingPointsApi?.publicUrl}async function _1(){const e=w1();if(!e)throw new Error("Public URL not configured.");const{token:t,status:o}=await Ko(1e3);if(Om(o),!t)throw new Error("Authentication token missing.");const n=et().user?.id;if(!n)throw new Error("User ID not provided.");const r=`${e}user/${n}/profile`;let i;try{i=await fetch(r,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${t}`}})}catch{throw new Error("Network request failed.")}if(!i.ok)throw new Error(`Request failed with status ${i.status}.`);const s=await i.text();let a;try{a=JSON.parse(s)}catch{throw new Error("Failed to parse response.")}return Array.isArray(a)?a[0]??null:null}const Bs=Ut("tierProgress",()=>{const e=S(null),t=S({}),o=S(!1);function n(){e.value=null,t.value={},o.value=!1}async function r(){if(!(!et().isLoggedIn||o.value)){o.value=!0;try{const[s,a]=await Promise.all([_1(),iu()]);e.value=s?.comment_count??0,t.value=Object.fromEntries(a.map(l=>[l.tier,l.threshold]))}catch{e.value=null,t.value={}}finally{o.value=!1}}}function i(s){const a=t.value[s];if(e.value===null||a===void 0)return{achieved:!1,commentsRemaining:null,threshold:a??0};const l=e.value>=a;return{achieved:l,commentsRemaining:l?null:a-e.value,threshold:a}}return{loading:o,load:r,reset:n,getTierStatus:i}});function _u(){const e=so(),t=xn(),o=si(),n=Jo(),r=ui(),i=ai(),s=Cn(),a=Bs();e.reset?.(),t.reset?.(),o.reset?.(),n.reset?.(),r.reset?.(),i.reset?.(),s.reset?.(),a.reset?.()}const et=Ut("auth",()=>{const e=S(null),t=S(!1),o=[],n=S("");async function r(){const d=window.grvAuth;if(d&&typeof d.getUser=="function")try{const p=await Is(d.getUser(),400);e.value=p??null,await c()}catch{}}function i(d,p){document.addEventListener(d,p),o.push({name:d,fn:p})}async function s(){t.value||(t.value=!0,await r(),i("grv-auth:session",()=>{r()}),i("grv-auth:logged-out",()=>{u()}))}const a=N(()=>!!e.value);function l(){window.grvAuth?.logout(),u()}function u(){e.value=null,n.value="";try{_u()}catch{}}async function c(){if(!a.value)n.value="";else{const d=window.grvAuth;d&&typeof d.getHandle=="function"&&(n.value=await d.getHandle()??"")}}return So(()=>{for(;o.length;){const d=o.pop();
331d&&document.removeEventListener(d.name,d.fn)}}),{user:e,isLoggedIn:a,userHandle:n,init:s,logout:l}});async function x1(e){const t=window.grvAuth;if(!t?.getSession)return null;try{const o=await Is(t.getSession(),400);return o?.expires_at?`${e}:${o.expires_at}`:null}catch{return null}}const Ns=Ut("analytics",{state(){return{userId:null,sessionId:null,storySlug:null,isInitialized:!1}},getters:{talkingPointUrl(e){if(!e.storySlug||!window.location?.origin)return null;const t=e.storySlug.replace(/^\/+|\/+$/g,"");return`${window.location.origin}/talkingpoints/${t}/`}},actions:{async init(){if(this.isInitialized)return;const e=et();this.isInitialized=!0,e.isLoggedIn&&await this.applyFromAuth(),Fe(()=>e.isLoggedIn,async t=>{t?await this.applyFromAuth():this.clearUserData()},{immediate:!1})},async applyFromAuth(){const t=et().user?.id||null;if(!t){this.userId=null,this.sessionId=null;return}this.userId=t,this.sessionId=await x1(t)},clearUserData(){this.userId=null,this.sessionId=null,this.storySlug=null},setStorySlug(e){this.storySlug=e||""},reset(){this.clearUserData(),this.isInitialized=!1}}});function C1(e){const t=Ns();if(!t.userId||!t.sessionId)return{};const o={user_id:t.userId,session_id:t.sessionId,story_slug:t.storySlug,talking_point_url:t.talkingPointUrl};return e.commentId?{...o,comment_id:e.commentId}:o}function Zo(e,t={}){const o=C1({commentId:t?.commentId??null});window.grvAuth?.emit?.(e,o)}function k1(e){const t=S(!1),o=S("");return{share:async()=>{const r=e.url.value;o.value="";let i=!1;try{typeof navigator<"u"&&typeof navigator.share=="function"?(await navigator.share({url:r}),i=!0):(await navigator.clipboard.writeText(r),o.value="Link copied to clipboard.",i=!0)}catch{try{await navigator.clipboard.writeText(r),o.value="Link copied to clipboard.",i=!0}catch{o.value="Couldn't copy to clipboard."}}finally{o.value&&(t.value=!0,setTimeout(()=>{t.value=!1},2e3))}i&&e.onSuccess()},isTooltipVisible:t,tooltipText:o}}const S1={key:0,class:"vue-tp-icon-text"},xu=Oe(ke({__name:"ShareButton",props:{urlPath:{type:String,required:!0},color:{type:String,default:"rgb(var(--vue-icon-color-comments))"},size:{type:Number,default:20},text:{type:String,default:""},className:{type:String,default:""}},setup(e){const t=e,o=N(()=>t.urlPath),{share:n,isTooltipVisible:r,tooltipText:i}=k1({url:o,onSuccess:()=>s()}),s=()=>{const a=s1(o.value);Zo(a?"tps:comment-share":"tps:share",{commentId:a})};return(a,l)=>(g(),E("div",{class:De(["vue-tp-share-button-wrapper",t.className]),onClick:l[0]||(l[0]=(...u)=>T(n)&&T(n)(...u))},[W(yt,{icon:"share",size:t.size,color:t.color},null,8,["size","color"]),t.text?(g(),E("span",S1,Ce(t.text),1)):J("",!0),W(ni,{text:T(i),"is-visible":T(r)},null,8,["text","is-visible"])],2))}}),[["__scopeId","data-v-fcd69b9b"]]),Qo=Oe(ke({__name:"Loader",props:{size:{type:Number,default:30}},setup(e){const t=e,o=N(()=>({padding:`${t.size/2-6}px`,marginTop:`${-t.size/2}px`,marginLeft:`${-t.size/2}px`}));return(n,r)=>(g(),E("div",{class:"vue-tp-loader",style:Tt(o.value)},null,4))}}),[["__scopeId","data-v-0e145c6a"]]),T1={key:0},E1={class:"vue-tp-icon-text"},I1=Oe(ke({__name:"ReportButton",props:{color:{type:String,default:"rgb(var(--vue-icon-color-comments))"},size:{type:Number,default:20},isReported:{type:Boolean,default:!1},reportDisabled:{type:Boolean,default:!1},reportLoading:{type:Boolean,default:!1},className:{type:String,default:""}},emits:["on-report"],setup(e,{emit:t}){const o=e,n=t,r=S(null),i=S(!1),s=N(()=>o.isReported?"Reported":"Report"),a=()=>{n("on-report"),setTimeout(()=>{i.value=!1},2e3)},l=()=>{i.value=!i.value,r.value&&clearTimeout(r.value),i.value&&(r.value=setTimeout(()=>{i.value=!1},5e3))};return Gt(()=>{r.value&&clearTimeout(r.value)}),(u,c)=>(g(),E(we,null,[C("div",{class:De(["vue-tp-report-wrapper vue-tp-action vue-tp-desktop",{"vue-tp-is-disabled":e.reportDisabled||e.isReported,"vue-tp-cursor-pointer":!(e.reportDisabled||e.isReported),[o.className]:o.className}]),onClick:c[0]||(c[0]=d=>u.$emit("on-report"))},[e.reportLoading?(g(),E("span",T1,"Reporting…")):(g(),E(we,{key:1},[W(yt,{icon:"report",color:o.color,size:o.size},null,8,["color","size"]),C("span",E1,Ce(e.isReported?"Reported":"Report"),1)],64))],2),C("div",{class:De(["vue-tp-report-wrapper vue-tp-action vue-tp-mobile",{"vue-tp-is-disabled":e.reportDisabled||e.isReported,"vue-tp-cursor-pointer":!(e.reportDisabled||e.isReported),[o.className]:o.className}]),onClick:l},[e.reportLoading?(g(),ve(Qo,{key:0,size:20})):(g(),E(we,{key:1},[W(yt,{icon:"report",color:o.color,size:o.size},null,8,["color","size"]),W(ni,{text:s.value,"is-visible":i.value,onClick:ps(a,["stop"])},null,8,["text","is-visible"])],64))],2)],64))}}),[["__scopeId","data-v-22e7a562"]]),A1={key:0},O1=Oe(ke({__name:"DeleteButton",props:{color:{type:String,default:"rgb(var(--vue-icon-color-comments))"},size:{type:Number,default:20},isDeleteLoading:{type:Boolean,default:!1},deleteDisabled:{type:Boolean,default:!1},className:{type:String,default:""}},emits:["on-delete"],setup(e){const t=e;return(o,n)=>(g(),E(we,null,[C("div",{class:De(["vue-tp-delete-wrapper vue-tp-action vue-tp-desktop",{"vue-tp-is-disabled":e.deleteDisabled,"vue-tp-cursor-pointer":!e.deleteDisabled,[t.className]:t.className}]),onClick:n[0]||(n[0]=r=>!e.deleteDisabled&&o.$emit("on-delete"))},[e.isDeleteLoading?(g(),E("span",A1,"Deleting…")):(g(),E(we,{key:1},[W(yt,{icon:"delete",color:t.color,size:t.size},null,8,["color","size"]),n[2]||(n[2]=C("span",{class:"vue-tp-icon-text"},"Delete",-1))],64))],2),C("div",{class:De(["vue-tp-delete-wrapper vue-tp-action vue-tp-mobile",{"vue-tp-is-disabled":e.deleteDisabled,"vue-tp-cursor-pointer":!e.deleteDisabled,[t.className]:t.className}]),onClick:n[1]||(n[1]=r=>!e.deleteDisabled&&o.$emit("on-delete"))},[e.isDeleteLoading?(g(),ve(Qo,{key:0,size:20})):(g(),ve(yt,{key:1,icon:"delete",color:t.color,size:t.size},null,8,["color","size"]))],2)],64))}}),[["__scopeId","data-v-cf9da3bb"]]),L1={class:"vue-tp-base-modal"},Cu=Oe(ke({__name:"BaseModal",props:{hasBackButton:{type:Boolean,default:!1},hasCloseButton:{type:Boolean,default:!0}},emits:["close-modal","back-button-pressed"],setup(e){const t=e;return(o,n)=>(g(),E("div",L1,[t.hasBackButton?(g(),E("div",{key:0,class:"vue-tp-back-button",onClick:n[0]||(n[0]=r=>o.$emit("back-button-pressed"))})):J("",!0),t.hasCloseButton?(g(),E("div",{key:1,class:"vue-tp-close-button",onClick:n[1]||(n[1]=r=>o.$emit("close-modal"))}," × ")):J("",!0),To(o.$slots,"content",{},void 0,!0)]))}}),[["__scopeId","data-v-b228cbe6"]]),R1=["disabled"],M1={class:"vue-tp-font-bold"},Mo=Oe(ke({__name:"PrimaryButton",props:{text:{type:String,required:!0},isDisabled:{type:Boolean,default:!1},isOutlined:{type:Boolean,default:!1}},emits:["press"],setup(e){const t=e;return(o,n)=>(g(),E("button",{class:De(["vue-tp-primary-button",{"vue-tp-outlined":t.isOutlined}]),onClick:n[0]||(n[0]=r=>o.$emit("press")),disabled:t.isDisabled},[C("span",M1,Ce(t.text),1)],10,R1))}}),[["__scopeId","data-v-b4d9a187"]]),P1={class:"vue-tp-delete-confirm-modal-inner"},D1={class:"vue-tp-delete-confirm-content"},$1={class:"vue-tp-delete-confirm-actions"},ku=Oe(ke({__name:"DeleteConfirmModal",props:{isOpen:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},anchorEl:{type:Object,default:null}},emits:["confirm","cancel"],setup(e,{emit:t}){const o=e,n=t,r=S(null),i=S({}),s=N(()=>o.anchorEl?"#vue-tp-sidebar-container":"body"),a=()=>
331{if(!o.anchorEl){i.value={};return}const d=o.anchorEl.getBoundingClientRect(),p=document.getElementById("vue-tp-sidebar-container");if(!p)return;const y=p.getBoundingClientRect();i.value={bottom:`${window.innerHeight-d.top+8}px`,left:`${y.left}px`,width:`${y.width}px`}},l=d=>{const p=r.value;p&&d.target instanceof Node&&!p.contains(d.target)&&n("cancel")},u=d=>{d.key==="Escape"&&o.isOpen&&n("cancel")};let c=null;return Fe(()=>o.isOpen,d=>{d?(eo(()=>a()),c=setTimeout(()=>{document.addEventListener("click",l)},0),document.addEventListener("keydown",u)):(c&&(clearTimeout(c),c=null),document.removeEventListener("click",l),document.removeEventListener("keydown",u))}),Gt(()=>{c&&clearTimeout(c),document.removeEventListener("click",l),document.removeEventListener("keydown",u)}),(d,p)=>(g(),ve(vo,{defer:"",to:s.value},[W(yo,{name:"slide-up"},{default:rt(()=>[e.isOpen?(g(),E("div",{key:0,ref_key:"overlayRef",ref:r,class:De(["vue-tp-delete-confirm-overlay",{"vue-tp-delete-confirm-overlay--centered":!e.anchorEl}]),style:Tt(i.value)},[C("div",P1,[W(Cu,{"has-close-button":!1,onCloseModal:p[2]||(p[2]=y=>d.$emit("cancel"))},{content:rt(()=>[C("div",D1,[p[3]||(p[3]=C("h3",{class:"vue-tp-delete-confirm-title"},"Comment Deletion",-1)),p[4]||(p[4]=C("p",{class:"vue-tp-delete-confirm-text"}," Are you sure you want to delete this comment? If it has replies, the content will be replaced. If it has no replies, it will be removed entirely. ",-1)),C("div",$1,[W(Mo,{text:"Not now","is-outlined":!0,"is-disabled":e.isLoading,onPress:p[0]||(p[0]=y=>d.$emit("cancel"))},null,8,["is-disabled"]),W(Mo,{text:e.isLoading?"Deleting…":"Delete","is-disabled":e.isLoading,onPress:p[1]||(p[1]=y=>d.$emit("confirm"))},null,8,["text","is-disabled"])])])]),_:1})])],6)):J("",!0)]),_:1})],8,["to"]))}}),[["__scopeId","data-v-c8979ebc"]]);function B1(e){const t=xn(),o=N(()=>t.isLiked(e.id)),n=N(()=>t.likeCount(e.id)),r=N(()=>t.isDisabled(e.id));async function i(){const s=o.value;await t.toggleLike(e);const a=t.isLiked(e.id);!s&&a&&Zo("tps:comment-like",{commentId:e.id})}return{isLiked:o,likeCount:n,isLikeDisabled:r,toggleLike:i}}function N1(e){const t=si(),o=N(()=>t.isReported(e.id)),n=N(()=>t.isDisabled(e.id)),r=N(()=>t.isLoading(e.id));async function i(s="COMMENT_REPORTED_OTHER",a){await t.report(e,s,a),Zo("tps:comment-report",{commentId:e.id})}return{isReported:o,isReportDisabled:n,isReportLoading:r,report:i}}function U1(e){const t=Cn(),o=N(()=>t.isDeleted(e)),n=N(()=>t.isTombstoned(e)),r=N(()=>t.isLoading(e));async function i(){return t.performDelete(e)}return{isDeleted:o,isTombstoned:n,isDeleteLoading:r,deleteComment:i}}function z1(e){const{isLiked:t,likeCount:o,isLikeDisabled:n,toggleLike:r}=B1(e.comment),{isReported:i,isReportDisabled:s,isReportLoading:a,report:l}=N1(e.comment),{isDeleted:u,isTombstoned:c,isDeleteLoading:d,deleteComment:p}=U1(e.comment.id);return{isLiked:t,likeCount:o,isLikeDisabled:n,isReported:i,isReportDisabled:s,isReportLoading:a,isDeleted:u,isTombstoned:c,isDeleteLoading:d,onToggleLike:()=>{if(!e.isLoggedIn.value){e.onOpenOutsideModal();return}n.value||r()},onReport:()=>{if(!e.isLoggedIn.value){e.onOpenOutsideModal();return}!s.value&&!i.value&&l()},onDelete:async()=>e.isLoggedIn.value?d.value||u.value?null:p():(e.onOpenOutsideModal(),null)}}function F1(e,t=!1,o=!1){if(t&&!o)return{color:"rgb(var(--vue-icon-color-comments))",colorActive:"rgb(var(--vue-icon-color-like))",size:18};if(o)return{color:"rgb(var(--vue-font-color-secondary))",colorActive:"rgb(var(--vue-icon-color-like))",size:18};switch(e){case"vue-tp-comment-actions":return{color:"rgb(var(--vue-icon-color-comments))",colorActive:"rgb(var(--vue-icon-color-like))",size:18};case"vue-tp-live-block-actions":return{color:"rgb(var(--vue-font-color-light-block))",colorActive:"rgb(var(--vue-icon-color-like))",size:18};default:return{color:"rgb(var(--vue-font-color-secondary))",colorActive:"rgb(var(--vue-icon-color-like))",size:18}}}const H1={key:0,class:"vue-tp-left-side"},di=Oe(ke({__name:"UserActions",props:{comment:{type:Object,required:!0},className:{type:String,default:"vue-tp-comment-actions"},actions:{type:Array,default:()=>[]},shareUrl:{type:String,default:""},isSurfacedComment:{type:Boolean,default:!1}}
331,emits:["start-reply","start-delete-confirm"],setup(e,{emit:t}){const o=et(),{isLoggedIn:n}=He(o),r=so(),i=e,s=t,a={onOpenOutsideModal:()=>{}},{onOpenOutsideModal:l}=Co("outsideModal",a),u=N(()=>({"vue-tp-is-live-block":i.className==="vue-tp-live-block-actions","vue-tp-user-actions":!0,[i.className]:!0,"vue-tp-is-surfaced-comment":i.isSurfacedComment})),c=N(()=>F1(i.className,O.value,K.value)),{isLiked:d,likeCount:p,isLikeDisabled:y,onToggleLike:_,isReported:k,isReportDisabled:R,isReportLoading:U,onReport:A,isDeleted:P,isDeleteLoading:I,onDelete:M}=z1({comment:i.comment,isLoggedIn:n,onOpenOutsideModal:l}),D=S(null),$=S(!1),H=S(null),O=S(!1),K=S(!1),X=()=>{if(!(P.value||I.value)){if(i.isSurfacedComment){s("start-delete-confirm",te);return}$.value=!0}},G=()=>{$.value=!1},te=async()=>{const ie=await M();$.value=!1,ie?.strategy==="tombstoned"&&ie.body&&r.tombstoneComment(i.comment.id,ie.body)};return Rt(()=>{const ie=H.value?.closest(".grv-tpwp-live-block");O.value=!!ie,K.value=!!ie?.classList.contains("grv-tpwp-label-featured")}),(ie,re)=>(g(),E("div",{ref_key:"rootEl",ref:H,class:De(u.value)},[e.actions.includes("like")||e.actions.includes("comment")||e.actions.includes("report")||e.actions.includes("delete")?(g(),E("div",H1,[e.actions.includes("like")?(g(),E("div",{key:0,class:De(["vue-tp-like-wrapper vue-tp-action",{"vue-tp-is-disabled":T(y),"vue-tp-cursor-pointer":!T(y)}]),onClick:re[0]||(re[0]=(...oe)=>T(_)&&T(_)(...oe))},[W(yt,{icon:"like",color:T(d)?c.value.colorActive:c.value.color,size:c.value.size},null,8,["color","size"]),C("span",null,Ce(T(p)>0?T(p):"Like"),1)],2)):J("",!0),e.actions.includes("comment")?(g(),E("div",{key:1,class:"vue-tp-reply-wrapper vue-tp-action",onClick:re[1]||(re[1]=oe=>ie.$emit("start-reply"))},[W(yt,{icon:"comment",color:c.value.color,size:c.value.size},null,8,["color","size"]),C("span",null,Ce(i.className==="vue-tp-comment-actions"?"Reply":"Comment"),1)])):J("",!0),e.actions.includes("report")?(g(),ve(I1,{key:2,class:"vue-tp-report-wrapper vue-tp-action",color:c.value.color,size:c.value.size,"is-reported":T(k),"report-disabled":T(R),"report-loading":T(U),"class-name":"vue-tp-report-"+i.className,onOnReport:T(A)},null,8,["color","size","is-reported","report-disabled","report-loading","class-name","onOnReport"])):J("",!0),e.actions.includes("delete")?(g(),E("div",{key:3,ref_key:"deleteActionRef",ref:D,class:"vue-tp-delete-action-wrapper"},[W(O1,{class:"vue-tp-delete-wrapper vue-tp-action",color:c.value.color,size:c.value.size,"is-delete-loading":T(I),"delete-disabled":T(P)||T(I),"class-name":"vue-tp-delete-"+i.className,onOnDelete:X},null,8,["color","size","is-delete-loading","delete-disabled","class-name"]),i.isSurfacedComment?J("",!0):(g(),ve(ku,{key:0,"is-open":$.value,"is-loading":T(I),"anchor-el":D.value,onConfirm:te,onCancel:G},null,8,["is-open","is-loading","anchor-el"]))],512)):J("",!0)])):J("",!0),e.actions.includes("share")&&i.shareUrl?(g(),ve(xu,{key:1,class:"vue-tp-share-wrapper vue-tp-action","url-path":i.shareUrl,color:c.value.color,size:c.value.size,"class-name":"vue-tp-share-"+i.className,text:"Share"},null,8,["url-path","color","size","class-name"])):J("",!0)],2))}}),[["__scopeId","data-v-1427aa6b"]]),j1=["data-event-label"],G1={key:0,class:"grv-tpwp-event-label"},V1={class:"grv-tpwp-event-label__text"},W1=Oe(ke({__name:"InteractiveBlock",props:{isTeleportedBlock:{type:Boolean,default:!1},eventLabel:{type:String,default:""},liveBlockClasses:{type:String,default:""}},setup(e){const t=e,o=N(()=>t.liveBlockClasses.includes("vue-tp-label-featured")),n=N(()=>!t.isTeleportedBlock&&!!t.eventLabel&&!o.value),r=N(()=>t.eventLabel.toLowerCase().replace(/\s+/g,"-")),i=N(()=>[t.isTeleportedBlock?"":t.liveBlockClasses,{"vue-tp-teleported-block":t.isTeleportedBlock}]);return(s,a)=>(g(),E("div",{class:De(["vue-tp-interactive-block",i.value]),"data-event-label":e.isTeleportedBlock?void 0:t.eventLabel||void 0},[n.value?(g(),E("div",G1,[C("span",{class:De(["grv-tpwp-event-icon",`grv-tpwp-event-icon--${r.value}`]),"aria-hidden":"true"},null,2),C("span",V1,[(g(!0),E(we,null,mt(e.eventLabel.toUpperCase().split(""),(l,u)=>(g(),E("span",{key:u,class:"grv-tpwp-event-label__letter"},Ce(l===" "?" ":l),1))),128))])])):J("",!0),To(s.$slots,"header",{},void 0,!0),To(s.$slots,"content",{},void 0,!0),To(s.$slots,"actions",{},void 0,!0)],10,j1))}}),[["__scopeId","data-v-de4baa61"]]),Y1={class:"vue-tp-custom-block vue-tp-in-vue-sidebar"},q1={key:0,class:"grv-talking-point__inner"},K1=["innerHTML"],X1={class:"grv-talking-point__content"},J1=["innerHTML"],Z1={class:"grv-talking-point__embed"},Q1=["innerHTML"],eg=["innerHTML"],tg=["innerHTML"],og=ke({__name:"CustomBlock",props:{comment:{type:Object,required:!0},innerHtml:{type:[String,null],default:""},shareUrl:{type:String,default:""},hasPoll:{type:Boolean,default:!1},isTeleportedBlock:{type:Boolean,default:!1},eventLabel:{type:String,default:""},liveBlockClasses:{type:String,default:""},isStoryClosed:{type:Boolean,default:!1}},emits:["custom-block-reply","toggle-like","report"],setup(e){const t=e,o=["like","comment","report","share"],n=["share"],r=N(()=>t.innerHtml?Av(t.innerHtml):""),i=N(()=>
331{if(!r.value)return null;const s=new DOMParser().parseFromString(r.value,"text/html"),a=s.querySelector(".grv-talking-point__header"),l=s.querySelector(".grv-talking-point__cta");if(!a||!l)return null;const u=s.querySelector(".grv-talking-point__embed");let c="",d="";if(u){const p=Array.from(u.children).find(y=>y.classList.contains("grv-talking-point__poll"));if(p){let y=!1;u.childNodes.forEach(_=>{if(_===p){y=!0;return}const k=_ instanceof Element?_.outerHTML:_.textContent??"";y?d+=k:c+=k})}}return{headerHtml:a.innerHTML,ctaHtml:l.innerHTML,embedBeforePollHtml:c,embedAfterPollHtml:d}});return(s,a)=>(g(),E("div",Y1,[W(W1,{"is-teleported-block":t.isTeleportedBlock,"event-label":t.eventLabel,"live-block-classes":t.liveBlockClasses},{content:rt(()=>[t.hasPoll&&i.value?(g(),E("div",q1,[C("div",{class:"grv-talking-point__header",innerHTML:i.value.headerHtml},null,8,K1),C("div",X1,[C("div",{class:"grv-talking-point__cta",innerHTML:i.value.ctaHtml},null,8,J1),C("div",Z1,[i.value.embedBeforePollHtml.trim()?(g(),E("div",{key:0,innerHTML:i.value.embedBeforePollHtml,style:{"margin-bottom":"20px"}},null,8,Q1)):J("",!0),To(s.$slots,"embed"),i.value.embedAfterPollHtml.trim()?(g(),E("div",{key:1,innerHTML:i.value.embedAfterPollHtml,style:{"margin-top":"20px"}},null,8,eg)):J("",!0)])])])):(g(),E("div",{key:1,innerHTML:r.value},null,8,tg))]),actions:rt(()=>[t.isTeleportedBlock?J("",!0):(g(),ve(di,{key:0,"class-name":e.liveBlockClasses?"vue-tp-live-block-actions":"vue-tp-block-actions",comment:t.comment,actions:t.isStoryClosed?n:o,"share-url":t.shareUrl,onStartReply:a[0]||(a[0]=l=>s.$emit("custom-block-reply"))},null,8,["class-name","comment","actions","share-url"]))]),_:3},8,["is-teleported-block","event-label","live-block-classes"])]))}}),Su="cs-poll-",ng=3600*24*365;function rg(e,t,o){const n=new Date(Date.now()+o*1e3).toUTCString();document.cookie=`${e}=${t}; expires=${n}; path=/; SameSite=Strict`}function ig(e){const t=document.cookie?document.cookie.split("; "):[];for(const o of t){const n=o.indexOf("=");if((n===-1?o:o.slice(0,n))===e)return n===-1?"":o.slice(n+1)}return null}async function sg(e,t){const o=e.answers.find(l=>l.answerId===t);if(!o?.crowdsignalId)throw new Error("Answer not found in poll data");const n=`https://poll.fm/n/0/${e.pollId}?${Date.now()}&format=json`,r=await fetch(n);if(!r.ok)throw new Error("Failed to fetch vote nonce");const{nonce:i}=await r.json();if(!i)throw new Error("No nonce returned");const s=`https://polls.polldaddy.com/vote-js.php?format=json&p=${e.pollId}&b=1&a=${o.crowdsignalId}&o=&va=16&cookie=0&n=${encodeURIComponent(i)}&url=${encodeURIComponent("https://talkingpoints.live")}&vi=1`;if(!(await fetch(s)).ok)throw new Error("Vote submission failed");cg(e.pollId,o.crowdsignalId)}async function ag(e){const t=await li("/talking-points/v1/poll-results",{params:{poll_id:String(e.pollId)},errorLabel:"Failed to fetch poll results"}),o=new Map;for(const r of e.answers)r.crowdsignalId!==null&&o.set(r.crowdsignalId,r.answerId);const n={};for(const r of t.answers){const i=o.get(r.id);i&&(n[i]=r.total)}return n}function lg(e){const t=ig(`${Su}${e}`);if(t===null||t==="")return null;const o=Number(t);return Number.isNaN(o)?null:o}function cg(e,t){rg(`${Su}${e}`,String(t),ng)}const ug={key:1,class:"vue-tp-poll-results-section"},dg={class:"vue-tp-texts"},pg={class:"vue-tp-answer-text"},fg={class:"vue-tp-right"},vg={class:"vue-tp-vote-count"},mg={class:"vue-tp-percentage"},gg={class:"vue-tp-progress"},hg={class:"vue-tp-total-votes"},bg={key:2,class:"vue-tp-poll-questions-section"},yg=["onClick"],wg=Oe(ke({__name:"CustomPoll",props:{pollData:{type:Object,default:null},isLiveBlock:{type:Boolean,default:!1}},setup(e){const t=e,o=S(null),n=S(0),r=S(null),i=S(!1),s=N(()=>t.pollData?.answers.filter(p=>p.text.trim()!=="")??[]),a=async p=>{i.value=!0,await sg(t.pollData,p.answerId),await l(),i.value=!1},l=async()=>{if(r.value=lg(t.pollData.pollId),r.value)try{o.value=await ag(t.pollData),n.value=c()}catch{}},u=p=>
331o.value?o.value[p]===1?"1 vote":`${o.value[p]} votes`:"",c=()=>{if(!o.value)return 0;let p=0;return Object.keys(o.value).forEach(y=>{o.value&&(p+=o.value[y]??0)}),p},d=p=>!o.value||o.value[p]===void 0?"":(o.value[p]/n.value*100).toFixed(2);return Rt(async()=>{t.pollData&&await l()}),(p,y)=>(g(),E("div",{class:De(["vue-tp-custom-poll-wrapper",{"has-voted":r.value,"vue-tp-live-block":t.isLiveBlock}])},[i.value?(g(),ve(Qo,{key:0,size:40})):J("",!0),r.value?(g(),E("div",ug,[(g(!0),E(we,null,mt(s.value,_=>(g(),E("div",{key:`result-${_.answerId}`,class:"vue-tp-poll-entry"},[C("div",dg,[C("div",pg,Ce(_.text),1),C("div",fg,[C("span",vg,Ce(u(_.answerId)),1),C("span",mg,Ce(d(_.answerId))+"%",1)])]),C("div",gg,[C("div",{class:De(["vue-tp-progress-bar",{"vue-tp-calculated":o.value}]),style:Tt({width:`${d(_.answerId)}%`})},null,6)])]))),128)),C("p",hg,Ce(n.value)+" total "+Ce(n.value===1?"vote":"votes"),1),y[0]||(y[0]=C("p",{class:"vue-tp-thanks"},"Thanks for voting!",-1))])):(g(),E("div",bg,[(g(!0),E(we,null,mt(s.value,_=>(g(),E("div",{key:_.answerId,class:"vue-tp-poll-answer",onClick:k=>a(_)},Ce(_.text),9,yg))),128))]))],2))}}),[["__scopeId","data-v-5f3ba0f7"]]),_g=["data-block-id"],Tu=ke({__name:"SystemComment",props:{comment:{type:Object,required:!0},shareUrl:{type:String,default:""},isTeleportedBlock:{type:Boolean,default:!1},isStoryClosed:{type:Boolean,default:!1}},emits:["custom-block-reply","hide-error-block"],setup(e,{emit:t}){const o=e,n=t,r=S(""),i=S(""),s=S(void 0),a=S(void 0),l=S(void 0),u=S(null),c=S(""),d=S(""),p=async()=>{if(o.comment?.id){r.value="",i.value="",s.value=void 0,a.value=void 0,l.value=void 0,c.value="",d.value="";try{const y=o.isTeleportedBlock?await bu(o.comment.id):await Ps(o.comment.id);r.value=y.html||"",i.value=y.id||"",s.value=y.type,a.value=y.meta,l.value=y.pollData,c.value=y.eventLabel||"",d.value=y.liveBlockClasses||"",await eo(),u.value&&s.value==="tweet"&&g1(u.value),u.value&&s.value==="instagram"&&h1(u.value),u.value&&(s.value==="instagram"||s.value==="spotify")&&window.tpwpScanEmbeds?.(u.value)}catch{n("hide-error-block")}}};return Rt(()=>{p()}),Fe(()=>o.comment?.id,p),(y,_)=>(g(),E("div",{ref_key:"containerRef",ref:u,class:"vue-tp-system-comment","data-block-id":i.value||void 0},[r.value?(g(),ve(og,{key:0,comment:o.comment,"inner-html":r.value,"share-url":o.shareUrl,"has-poll":!!l.value,"is-teleported-block":e.isTeleportedBlock,"event-label":c.value,"live-block-classes":d.value,"is-story-closed":o.isStoryClosed,onCustomBlockReply:_[0]||(_[0]=k=>y.$emit("custom-block-reply"))},yp({_:2},[l.value?{name:"embed",fn:rt(()=>[W(wg,{"poll-data":l.value,"is-live-block":!!d.value},null,8,["poll-data","is-live-block"])]),key:"0"}:void 0]),1032,["comment","inner-html","share-url","has-poll","is-teleported-block","event-label","live-block-classes","is-story-closed"])):J("",!0)],8,_g))}}),xg={class:"vue-tp-parent-comment-author"},Cg={class:"vue-tp-avatar-name-wrapper"},kg={class:"vue-tp-user-name vue-tp-font-bold vue-tp-text-clip-1"},Sg=Oe(ke({__name:"ParentCommentAuthor",props:{name:{type:[String,null],default:""},avatarUrl:{type:[String,null],default:""},avatarSize:{type:Number,default:30}},setup(e){const t=e;return(o,n)=>(g(),E("div",xg,[n[0]||(n[0]=C("span",{class:"vue-tp-replying-to"},"replying to",-1)),C("div",Cg,[W(bn,{"avatar-url":t.avatarUrl,"avatar-size":t.avatarSize},null,8,["avatar-url","avatar-size"]),C("span",kg,Ce(t.name),1)])]))}}),[["__scopeId","data-v-3a223238"]]);function Tg(e){const t=so(),o=N(()=>(e.comment.value.depth??0)+1),n=N(()=>(e.comment.value.replies?.edges||[]).map(d=>d.node).slice().reverse()),r=N(()=>e.comment.value.replies?.pageInfo?.hasNextPage||!1),i=u=>!!n.value.find(d=>d.id===u?.id),s=(u=null)=>!u||!u.parent?!1:u.depth>2?t.getSecondLevelParentId(u)===e.commentId.value:u.parent?.id===e.commentId.value,a=N(()=>{const u=o.value===1,c=!i(e.pinnedReplies.value.levelTwo),d=s(e.pinnedReplies.value.levelTwo);return u&&c&&d}),l=N(()=>{const u=o.value===2,c=!i(e.pinnedReplies.value.deepLevel),d=s(e.pinnedReplies.value.deepLevel);return u&&c&&d});return{level:o,replies:n,hasNextPageOfReplies:r,showPinnedRepliesLevelTwo:a,showPinnedRepliesDeepLevel:l}}function Eg(e){const t=S(null),o=S(null),n=S(null),r=N(()=>e.unseenCommentIds.value.includes(e.commentId.value)),i=()=>{t.value||o.value&&(t.value=new IntersectionObserver(s=>{const a=s[0];a?.isIntersecting?n.value=setTimeout(()=>{a?.isIntersecting&&(e.onSeen(e.commentId.value),t.value?.unobserve(a.target))},2e3):n.value&&(clearTimeout(n.value),n.value=null)},{threshold:.25}
331),t.value.observe(o.value))};return Rt(()=>{r.value&&i()}),Gt(()=>{t.value?.disconnect(),t.value=null,n.value&&clearTimeout(n.value)}),Fe(r,s=>{s&&i()}),{isCommentUnseen:r,rootElement:o}}const Ig=["src"],lr=Oe(ke({__name:"YoutubeEmbed",props:{youtubeId:{type:String,default:""},autoplay:{type:Boolean,default:!1}},setup(e){const t=e,o=N(()=>{if(!jm.test(t.youtubeId))return"";const n=t.autoplay?"?autoplay=1":"";return`https://www.youtube-nocookie.com/embed/${t.youtubeId}${n}`});return(n,r)=>(g(),E("iframe",{width:"560",height:"315",src:o.value,class:"vue-tp-youtube-embed-iframe",title:"YouTube video preview",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:""},null,8,Ig))}}),[["__scopeId","data-v-5f03d688"]]);function Eu(e,t){if(!e)return null;try{const o=new URL(e);return o.protocol!=="https:"?null:t(o.hostname)?o.toString():null}catch{return null}}const Ag=e=>e==="giphy.com"||e.endsWith(".giphy.com"),Og=e=>e.endsWith(".ytimg.com");function pi(e){return Eu(e,Ag)}function Iu(e){return Eu(e,Og)}function Au(e){return!e||!e.startsWith("https://static.talkingpoints.live/")?null:e}const Lg={key:0,class:"vue-tp-divider"},Rg=["id"],Mg={key:0,class:"vue-tp-yt-image-wrapper"},Pg=["src"],Dg={key:1,class:"vue-tp-youtube-wrapper"},$g={key:1,class:"vue-tp-gif-wrapper"},Bg=["src","title"],Ng={class:"vue-tp-giphy-attribution"},Ug=["src"],zg=["href"],Fg={key:2,class:"vue-tp-external-image-wrapper"},Hg=["src","width","height"],jg=["id"],Gg="(this comment has been deleted)",Us=Oe(ke({__name:"Comment",props:{comment:{type:Object,required:!0},commentId:{type:String,default:""},isSystemComment:{type:Boolean,default:!1},hideDivider:{type:Boolean,default:!1},pinnedReplies:{type:Object,default:()=>({})},storySlug:{type:String,default:""},isStoryClosed:{type:Boolean,default:!1}},emits:["comment-reply","custom-block-reply","load-more-replies","hide-error-block"],setup(e){const t=window.TalkingPointsApi?.giphyIconUrl??"",o=et(),{isLoggedIn:n,userHandle:r}=He(o),i=so(),{showSingleTopLevelComment:s}=He(i),a=Ro(),{isLandingPageStory:l}=He(a),u=Cn(),c=ui(),{unseenCommentIds:d}=He(c),p=e,y=S(!1);u.hydrate(p.comment.id,p.comment.body??"");const _=N(()=>n.value&&!!r.value&&p.comment.author?.username===r.value),k=N(()=>u.isDeleted(p.comment.id)&&!u.isTombstoned(p.comment.id)),R=N(()=>l.value?!1:!!s.value),U=N(()=>l.value?!0:!!s.value),A=S(!1),P=S(!1);Fe(k,Ie=>{Ie&&!A.value&&(A.value=!0,setTimeout(()=>{P.value=!0},300))});const I=N(()=>u.isTombstoned(p.comment.id)),M=N(()=>I.value?["report"]:p.isStoryClosed?["share"]:_.value?["like","comment","delete","share"]:["like","comment","report","share"]),D=N(()=>{const Ie=p.comment.revision?.media?.url;return Ie?sr(Ie):null}),$=N(()=>{if(I.value)return null;const Ie=p.comment?.revision?.media;return Ie?.__typename==="YouTubeMedia"&&D.value?"youtube":Ie?.__typename==="GiphyMedia"&&K.value?"giphy":Ie?.__typename==="ExternalMedia"&&ie.value?"external":null}),H=N(()=>new Date(p.comment.createdAt)),O=N(()=>!p.hideDivider&&!y.value&&ee.value===1),K=N(()=>pi(p.comment.revision?.media?.video)),X=N(()=>Iu(p.comment.revision?.media?.still)),G=N(()=>pi(p.comment.revision?.media?.original)),te=N(()=>p.comment.revision?.media||void 0),ie=N(()=>te.value?.url?Au(te.value.url):null),{isCommentUnseen:re,rootElement:oe}=Eg({commentId:N(()=>p.commentId),unseenCommentIds:d,onSeen:Ie=>c.onCommentSeen(Ie)}),{level:ee,replies:pe,hasNextPageOfReplies:Ee,showPinnedRepliesLevelTwo:Me,showPinnedRepliesDeepLevel:Ye}=Tg({comment:N(()=>p.comment),commentId:N(()=>p.commentId),pinnedReplies:N(()=>p.pinnedReplies)}),Be=()=>{y.value=!0},tt=S(!0),me=N(()=>I.value?Gg:p.comment?.body?uu(p.comment.body):""),Je=N(()=>p.comment.author===null);return(Ie,_e)=>{const lt=bp("Comment",!0);return P.value?J("",!0):(g(),E(we,{key:0},[O.value?(g(),E("div",Lg)):J("",!0),p.isSystemComment&&T(ee)===1?(g(),ve(Tu,{comment:p.comment,id:p.commentId,key:p.commentId+p.storySlug,"share-url":T(wn)(p.commentId,p.storySlug,U.value),"is-story-closed":p.isStoryClosed,onCustomBlockReply:_e[0]||(_e[0]=Y=>Ie.$emit("custom-block-reply",p.comment)),onHideErrorBlock:Be}
331,null,8,["comment","id","share-url","is-story-closed"])):(g(),E("div",{key:2,class:De(["vue-tp-comment-container",{"vue-tp-highlight":T(re),"vue-tp-top-level":T(ee)===1,"vue-tp-comment-fading-out":A.value}]),ref_key:"rootElement",ref:oe,id:p.commentId},[W(Im,{"avatar-size":T(ee)===1?30:28,"avatar-url":Je.value?"":T(_n)(p.comment.author?.username??""),name:Je.value?"[deleted user]":p.comment.author?.username,badges:Je.value?null:p.comment.author?.badges,date:H.value},null,8,["avatar-size","avatar-url","name","badges","date"]),p.comment.parent&&T(ee)>3?(g(),ve(Sg,{key:0,"avatar-size":22,"avatar-url":p.comment.parent.author?T(_n)(p.comment.parent.author.username):"",name:p.comment.parent.author?.username??"[deleted user]"},null,8,["avatar-url","name"])):J("",!0),Je.value?(g(),ve(Ss,{key:1,"inner-html":"[Comment deleted]","font-size":T(ee)===1?"16px":"14px",class:"vue-tp-deleted-comment-text"},null,8,["font-size"])):(g(),E(we,{key:2},[W(Ss,{"inner-html":me.value,"font-size":T(ee)===1?"16px":"14px",class:De({"vue-tp-deleted-comment-text":I.value})},null,8,["inner-html","font-size","class"]),$.value==="youtube"?(g(),E(we,{key:0},[X.value&&tt.value?(g(),E("div",Mg,[C("img",{class:"vue-tp-youtube-thumbnail",src:X.value,alt:"YouTube video thumbnail",onClick:_e[1]||(_e[1]=Y=>tt.value=!1)},null,8,Pg)])):(g(),E("div",Dg,[W(lr,{"youtube-id":D.value??"",autoplay:!!X.value},null,8,["youtube-id","autoplay"])]))],64)):$.value==="giphy"&&K.value?(g(),E("div",$g,[C("video",{src:K.value,title:p.comment.revision?.media?.title??"",autoplay:"",loop:"",muted:"",playsinline:"",class:"vue-tp-gif-video"},null,8,Bg),C("div",Ng,[T(t)?(g(),E("img",{key:0,src:T(t),alt:"Powered by GIPHY"},null,8,Ug)):J("",!0),G.value?(g(),E("a",{key:1,href:G.value,rel:"noopener noreferrer",target:"_blank"},[W(yt,{icon:"new-tab",size:14,"is-cursor-pointer":!0})],8,zg)):J("",!0)])])):$.value==="external"&&ie.value?(g(),E("div",Fg,[C("img",{src:ie.value,width:te.value.width||void 0,height:te.value.height||void 0,class:"vue-tp-external-image",alt:""},null,8,Hg)])):J("",!0),W(di,{"class-name":"vue-tp-comment-actions",comment:p.comment,actions:M.value,"share-url":T(wn)(e.comment.id,p.storySlug,R.value),onStartReply:_e[2]||(_e[2]=Y=>Ie.$emit("comment-reply",e.comment))},null,8,["comment","actions","share-url"])],64))],10,Rg)),T(ee)<3&&T(pe).length>0?(g(),E("div",{key:3,class:De(["vue-tp-nested-comments-wrapper",{"vue-tp-no-margin-top":T(ee)===2}]),id:`nested-comments-${p.commentId}`},[p.pinnedReplies.levelTwo&&T(Me)?(g(),ve(lt,{comment:p.pinnedReplies.levelTwo,key:p.pinnedReplies.levelTwo.id+p.storySlug,"comment-id":p.pinnedReplies.levelTwo.id,"story-slug":p.storySlug,"pinned-replies":p.pinnedReplies,"is-story-closed":p.isStoryClosed,onCommentReply:_e[3]||(_e[3]=Y=>Ie.$emit("comment-reply",p.pinnedReplies.levelTwo)),onLoadMoreReplies:_e[4]||(_e[4]=Y=>Ie.$emit("load-more-replies",Y))},null,8,["comment","comment-id","story-slug","pinned-replies","is-story-closed"])):J("",!0),p.pinnedReplies.deepLevel&&T(Ye)?(g(),ve(lt,{comment:p.pinnedReplies.deepLevel,key:p.pinnedReplies.deepLevel.id+p.storySlug,"comment-id":p.pinnedReplies.deepLevel.id,"story-slug":p.storySlug,"pinned-replies":p.pinnedReplies,"is-story-closed":p.isStoryClosed,onCommentReply:_e[5]||(_e[5]=Y=>Ie.$emit("comment-reply",p.pinnedReplies.deepLevel)),onLoadMoreReplies:_e[6]||(_e[6]=Y=>Ie.$emit("load-more-replies",Y))},null,8,["comment","comment-id","story-slug","pinned-replies","is-story-closed"])):J("",!0),T(Ee)?(g(),E("div",{key:2,class:"vue-tp-font-bold vue-tp-cursor-pointer",onClick:_e[7]||(_e[7]=Y=>Ie.$emit("load-more-replies",e.comment))}," Load earlier replies ")):J("",!0),(g(!0),E(we,null,mt(T(pe),Y=>(g(),ve(lt,{comment:Y,key:Y.id+p.storySlug,"comment-id":Y.id,"story-slug":p.storySlug,"pinned-replies":p.pinnedReplies,"is-story-closed":p.isStoryClosed,onCommentReply:_e[8]||(_e[8]=fe=>Ie.$emit("comment-reply",fe)),onLoadMoreReplies:_e[9]||(_e[9]=fe=>Ie.$emit("load-more-replies",fe))},null,8,["comment","comment-id","story-slug","pinned-replies","is-story-closed"]))),128))],10,jg)):J("",!0)],64))}}}),[["__scopeId","data-v-363b490f"]]),Vg=Oe(ke({__name:"CreatePostButton",props:{text:{type:String,default:""}},emits:["press","show-required-badge-prompt"],setup(e,{emit:t}){const o=e,n=t,r=async()=>{const i=Bs();await i.load();const s=i.getTierStatus("bronze");if(!s.achieved){n("show-required-badge-prompt",{achieved:s.achieved,commentsRemaining:s.commentsRemaining,threshold:s.threshold});return}n("press")};return(i,s)=>(g(),E("button",{class:"vue-tp-create-post-button",onClick:r},[W(yt,{icon:"comment",size:16,color:"rgb(var(--vue-font-color-secondary))"}),to(" "+Ce(o.text),1)]))}}),[["__scopeId","data-v-c0ce0831"]]),Ou=Oe(ke({__name:"NewCommentsBanner",props:{newCommentCount:{type:Number,default:0}},emits:["refresh-comments"],setup(e){const t=e;return(o,n)=>(g(),E("div",{class:"vue-tp-new-comments-banner",onClick:n[0]||(n[0]=r=>o.$emit("refresh-comments"))},[W(yt,{icon:"comment",size:16,color:"rgb(var(--vue-font-color-secondary))"}),C("span",null,Ce(t.newCommentCount)+" new "+Ce(t.newCommentCount===1?"comment":"comments")+". ",1),n[1]||(n[1]=C("span",{class:"vue-tp-action-item"},"Refresh",-1))]))}}
331),[["__scopeId","data-v-66a74d43"]]),fi="pendingComment";function Wg(e){typeof localStorage<"u"&&(localStorage.setItem(fi,JSON.stringify(e)),typeof window<"u"&&window.history&&window.history.replaceState(null,"",window.location.pathname))}function Yg(){if(typeof localStorage>"u")return null;const e=localStorage.getItem(fi);if(!e)return null;try{return JSON.parse(e)}catch{return null}}function cr(){typeof localStorage<"u"&&localStorage.getItem(fi)&&localStorage.removeItem(fi)}function Lu(e){const t=S(""),o=S(null),n=S(""),r=S(!0);function i(y){t.value=y.slice(0,e.maxLength.value)}function s(y){const _=y.target;_.innerText.length>e.maxLength.value&&(_.innerText=_.innerText.slice(0,e.maxLength.value)),!r.value||e.commentId.value?n.value="":n.value||(n.value=sr(_.innerText)??""),i(_.innerText),t.value.trim()===""&&e.onClearDraft()}function a(){o.value?.focus()}function l(y){y&&(i(y),o.value&&(o.value.innerText=t.value))}function u(){t.value=""}function c(){o.value&&(o.value.innerText="")}function d(){n.value="",p(!0)}function p(y){r.value=y}return{text:t,focusableInput:o,youtubeId:n,composeText:s,focusInput:a,setInitialText:l,clearText:u,clearInput:c,resetInputYoutube:d,setYoutubeAutoDetect:p}}const vi=360,Ru=e=>t=>{const o=t.target;if((t.ctrlKey||t.metaKey)&&t.key==="Enter"){t.preventDefault(),e();return}t.ctrlKey||t.metaKey||["Backspace","Delete","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End","Tab","Escape"].includes(t.key)||o.innerText.length>=vi&&t.preventDefault()},qg={key:0,class:"vue-tp-create-post-button-container"},Kg={key:0,class:"vue-tp-new-comments-banner-wrapper"},Xg={key:0,class:"vue-tp-new-comments-banner-wrapper"},Jg={key:1,class:"vue-tp-loading-overlay"},Zg={class:"vue-tp-add-comment-header"},Qg={class:"vue-tp-text-clip-2"},eh={class:"vue-tp-add-comment-body"},th={class:"vue-tp-comment-input-field-wrapper"},oh=["data-placeholder"],nh={key:0,class:"vue-tp-youtube-wrapper"},rh={key:1,class:"vue-tp-gif-wrapper"},ih=["src","title"],sh={class:"vue-tp-media-buttons"},ah=["src"],lh=["id"],ch=Oe(ke({__name:"AddComment",props:{commentId:{type:[String,null],default:null},isOpen:{type:Boolean,default:!1},pendingCommentText:{type:String,default:""},buttonText:{type:String,required:!0},placeholder:{type:String,default:"What do you think?"},infoText:{type:String,default:""},infoTextBolded:{type:String,default:""},isLoading:{type:Boolean,default:!1},newCommentCount:{type:Number,default:0},dedicatedYoutubeId:{type:String,default:""},forceHide:{type:Boolean,default:!1},selectedGif:{type:Object,default:null}},emits:["submit-comment","reset-replying","refresh-comments","show-comment-box","show-youtube-link","show-gif-picker","youtube-cleared","gif-cleared","show-required-badge-prompt"],setup(e,{emit:t}){const o=window.TalkingPointsApi?.youtubeIconUrl??"",n=et(),{isLoggedIn:r}=He(n),{onOpenOutsideModal:i}=Co("outsideModal",{onOpenOutsideModal:()=>{}}),s=so(),{showSingleTopLevelComment:a}=He(s),l=e,u=t,{text:c,focusableInput:d,youtubeId:p,clearText:y,composeText:_,focusInput:k,setInitialText:R,clearInput:U,resetInputYoutube:A,setYoutubeAutoDetect:P}=Lu({maxLength:N(()=>vi),commentId:N(()=>l.commentId),onClearDraft:()=>cr()}),I=N(()=>l.dedicatedYoutubeId||p.value),M=N(()=>l.forceHide?!1:l.commentId?!0:!a.value&&l.isOpen);Rt(()=>{eo(()=>{l.pendingCommentText&&R(l.pendingCommentText)})});const D=()=>{u("reset-replying"),X(),te(),cr()},$=N(()=>l.isLoading||c.value.trim().length===0&&!I.value&&!l.selectedGif&&r.value||c.value.length>vi),H=(re="youtube")=>{l.dedicatedYoutubeId?u("youtube-cleared"):p&&(A(),re==="youtube"&&P(!1))},O=()=>{u("submit-comment",{text:c.value,youtubeId:I.value,gif:l.selectedGif}),X(),te()},K=Ru(O),X=()=>{A(),u("youtube-cleared")},G=()=>{if(!r.value){i();return}u("show-youtube-link")},te=()=>{u("gif-cleared")},ie=()=>{if(!r.value){i();return}u("show-gif-picker")};return Fe(()=>l.selectedGif,re=>{re&&H("gif")}),Fe(p,re=>{re&&te()}),Fe(()=>l.commentId,re=>{re&&(cr(),X(),te(),setTimeout(()=>{k(),l.pendingCommentText&&R(l.pendingCommentText)},100))}),Fe(M,()=>{M.value&&!l.commentId&&setTimeout(()=>{k()},100)}),Fe(()=>l.pendingCommentText,re=>{re||(y(),U())}),(re,oe)=>(g(),E(we,null,[W(yo,{name:"slide-down"},{default:rt(()=>[!M.value&&!T(a)&&!e.forceHide?(g(),E("div",qg,[W(yo,{name:"slide-from-right"},{default:rt(()=>[e.newCommentCount>0?(g(),E("div",Kg,[W(Ou,{"new-comment-count":l.newCommentCount,onRefreshComments:oe[0]||(oe[0]=ee=>re.$emit("refresh-comments"))}
331,null,8,["new-comment-count"])])):J("",!0)]),_:1}),W(Vg,{text:"Create new post",onPress:oe[1]||(oe[1]=ee=>re.$emit("show-comment-box")),onShowRequiredBadgePrompt:oe[2]||(oe[2]=ee=>re.$emit("show-required-badge-prompt",ee))})])):J("",!0)]),_:1}),W(yo,{name:"slide-down"},{default:rt(()=>[xo((g(),E("div",{class:De(["vue-tp-add-comment-wrapper vue-tp-with-border-radius",{"vue-tp-loading":l.isLoading}]),key:l.commentId||""},[W(yo,{name:"slide-from-right"},{default:rt(()=>[e.newCommentCount>0?(g(),E("div",Xg,[W(Ou,{"new-comment-count":l.newCommentCount,onRefreshComments:oe[3]||(oe[3]=ee=>re.$emit("refresh-comments"))},null,8,["new-comment-count"])])):J("",!0)]),_:1}),l.isLoading?(g(),ve(Qo,{key:0,size:40})):J("",!0),l.isLoading?(g(),E("div",Jg)):J("",!0),C("div",Zg,[C("span",Qg,[to(Ce(l.infoText)+" ",1),C("strong",null,Ce(l.infoTextBolded),1)]),C("div",{class:"vue-tp-close-button vue-tp-cursor-pointer",onClick:D}," × ")]),C("div",eh,[C("div",th,[C("div",{class:"vue-tp-input",ref_key:"focusableInput",ref:d,contenteditable:"plaintext-only","data-placeholder":l.placeholder,onKeydown:oe[4]||(oe[4]=(...ee)=>T(K)&&T(K)(...ee)),onInput:oe[5]||(oe[5]=(...ee)=>T(_)&&T(_)(...ee))},null,40,oh),I.value?(g(),E("div",nh,[C("div",{class:"vue-tp-media-close-button",onClick:oe[6]||(oe[6]=ee=>H("youtube"))}),W(lr,{"youtube-id":I.value},null,8,["youtube-id"])])):J("",!0),l.selectedGif?(g(),E("div",rh,[C("div",{class:"vue-tp-media-close-button",onClick:te}),C("video",{src:l.selectedGif.fixed_width_video,title:l.selectedGif.title,class:"vue-tp-gif-preview",autoplay:"",loop:"",muted:"",playsinline:""},null,8,ih)])):J("",!0)]),W(Mo,{"is-disabled":$.value,text:l.buttonText,onPress:O},null,8,["is-disabled","text"])]),C("div",sh,[l.commentId?J("",!0):(g(),E("button",{key:0,class:"vue-tp-yt-icon-button",onClick:G,type:"button","aria-label":"Add YouTube video"},[T(o)?(g(),E("img",{key:0,src:T(o),width:"30",alt:"Add YouTube video"},null,8,ah)):J("",!0)])),C("button",{class:"vue-tp-gif-badge-button",onClick:ie,type:"button","aria-label":"Add GIF"}," GIF ")]),C("div",{id:`vue-tp-login-modal-wrapper${l.commentId?l.commentId:""}`},null,8,lh)],2)),[[fn,M.value]])]),_:1})],64))}}),[["__scopeId","data-v-6d999391"]]),uh={class:"vue-tp-add-youtube-link-header"},dh={class:"vue-tp-yt-header-left"},ph=["src"],fh={class:"vue-tp-add-youtube-link-body"},vh={class:"vue-tp-action-buttons"},mh={key:0,class:"vue-tp-youtube-preview"},Mu=Oe(ke({__name:"AddYoutubeLink",props:{isOpen:{type:Boolean,default:!1},initialYoutubeId:{type:String,default:""}},emits:["confirm","cancel"],setup(e,{emit:t}){const o=window.TalkingPointsApi?.youtubeIconUrl??"",n=e,r=t,i=S(""),s=S(null),a=N(()=>sr(i.value)),l=()=>{a.value&&r("confirm",a.value)},u=()=>{r("cancel")};return Fe(()=>n.isOpen,c=>{c?(i.value=n.initialYoutubeId?ii+n.initialYoutubeId:"",setTimeout(()=>{s.value?.focus()},100)):i.value=""}),(c,d)=>(g(),E(we,null,[C("div",uh,[C("button",{class:"vue-tp-yt-back-button",type:"button","aria-label":"Back",onClick:u}),C("div",dh,[T(o)?(g(),E("img",{key:0,src:T(o),width:"30",alt:"YouTube"},null,8,ph)):J("",!0),d[1]||(d[1]=C("label",{for:"vue-tp-youtube-link-input"},[C("strong",null,"Paste a YouTube link below:")],-1))])]),C("div",fh,[xo(C("input",{id:"vue-tp-youtube-link-input",class:"vue-tp-url-input",ref_key:"focusableInput",ref:s,type:"text",placeholder:"YouTube link","onUpdate:modelValue":d[0]||(d[0]=p=>i.value=p)},null,512),[[ac,i.value]]),C("div",vh,[W(Mo,{text:"Confirm","is-disabled":!a.value,onPress:l},null,8,["is-disabled"]),W(Mo,{text:"Cancel","is-outlined":!0,onPress:u})])]),a.value?(g(),E("div",mh,[W(lr,{"youtube-id":a.value},null,8,["youtube-id"])])):J("",!0)],64))}}),[["__scopeId","data-v-3144c41c"]]),gh={key:0,class:"vue-tp-gif-loading-wrapper"},hh={key:1},bh={key:2},yh={key:0,class:"vue-tp-gif-grid vue-tp-gif-grid-mobile"},wh=["onClick"],_h=["src","title"],xh={class:"vue-tp-gif-grid vue-tp-gif-grid-desktop"},Ch=["onClick"],kh=["src","title"],Pu=120,Sh=Oe(ke({__name:"GifGrid",props:{gifResponse:{type:Object,default:null},desktopGifs:{type:Array,required:!0},isMobile:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},error:{type:String,default:null},activeQuery:{type:String,default:""}},emits:["select"],setup(e,{emit:t}
331){const o=t,n=r=>({width:`${Math.round(r.width/r.height*Pu)}px`,height:`${Pu}px`});return(r,i)=>(g(),E(we,null,[e.isLoading?(g(),E("div",gh,[W(Qo,{size:36})])):J("",!0),e.error?(g(),E("div",hh,Ce(e.error),1)):!e.gifResponse||e.gifResponse.data.length===0?(g(),E("div",bh,' No results found for "'+Ce(e.activeQuery)+'". ',1)):e.gifResponse&&e.gifResponse.data?(g(),E(we,{key:3},[e.isMobile?(g(),E("div",yh,[(g(!0),E(we,null,mt(e.gifResponse.data,s=>(g(),E("div",{key:s.id,class:"vue-tp-gif-item",style:Tt(n(s)),onClick:a=>o("select",s)},[C("video",{src:s.fixed_height_video,title:s.title,autoplay:"",loop:"",muted:"",playsinline:""},null,8,_h)],12,wh))),128)),To(r.$slots,"load-more-mobile",{},void 0,!0)])):(g(),E(we,{key:1},[C("div",xh,[(g(!0),E(we,null,mt(e.desktopGifs,(s,a)=>(g(),E("div",{key:`column-${a}`,class:"vue-tp-gif-column"},[(g(!0),E(we,null,mt(s,l=>(g(),E("div",{class:"vue-tp-gif-item",key:l.id,onClick:u=>o("select",l)},[C("video",{src:l.fixed_width_video,title:l.title,autoplay:"",loop:"",muted:"",playsinline:""},null,8,kh)],8,Ch))),128))]))),128))]),To(r.$slots,"load-more-desktop",{},void 0,!0)],64))],64)):J("",!0)],64))}}),[["__scopeId","data-v-3b621684"]]);async function Th(e=25,t=0){return li("/talking-points/v1/giphy/trending",{params:{limit:e,offset:t},errorLabel:"WP REST error for Giphy trending"})}async function Eh(e,t=25,o=0){return li("/talking-points/v1/giphy/search",{params:{q:e,limit:t,offset:o},errorLabel:"WP REST error for Giphy search"})}const Ih=515,Du=25;function Ah(e){const t=S(null),o=S(!1),n=S(""),r=S(""),i=S(!1),s=S(null),a=N(()=>{const _=[[],[],[]];if(!t.value)return _;for(let k=0;k<t.value.data.length;k++){const R=k%3,U=t.value.data[k];_[R]&&U&&_[R].push(U)}return _});function l(){i.value=window.innerWidth<=Ih}Rt(()=>{l(),window.addEventListener("resize",l)}),So(()=>{window.removeEventListener("resize",l)});async function u(_=!1){_||e.scrollContainer?.value?.scrollTo({top:0,left:0,behavior:"instant"}),s.value=null,o.value=!0;const k=_&&t.value?.pagination?t.value.pagination.offset+t.value.pagination.count:0;try{const R=r.value?await Eh(r.value,Du,k):await Th(Du,k);_&&t.value?(t.value.data.push(...R.data),t.value.pagination=R.pagination):t.value=R}catch{s.value="Something went wrong."}finally{o.value=!1}}async function c(){r.value=n.value.trim(),await u(!1)}async function d(){n.value="",r.value="",await u(!1)}async function p(_){_.key==="Enter"&&await c()}async function y(){if(o.value||!t.value?.pagination)return;const{offset:_,count:k,total_count:R}=t.value.pagination;_+k>=R||await u(!0)}return Fe(()=>e.isOpen.value,async _=>{_?await u(!1):(n.value="",r.value="",t.value=null)}),{gifResponse:t,isLoading:o,searchQuery:n,activeQuery:r,isMobile:i,error:s,desktopGifs:a,onSearch:c,onClearSearch:d,onSearchKeydown:p,loadMore:y}}function $u(e){const t=S(null),o=()=>{t.value?.disconnect(),t.value=null},n=()=>{t.value||e.target.value&&(t.value=new IntersectionObserver(r=>{r.forEach(i=>{i.isIntersecting&&e.onIntersect()})},{root:e.root?.value??null,threshold:e.threshold??.25}),t.value.observe(e.target.value))};return Fe(e.target,()=>{o(),e.target.value&&n()},{flush:"post"}),So(()=>{o()}),{disconnect:o}}const Oh={class:"vue-tp-add-gif-picker-header"},Lh={class:"vue-tp-header-flex"},Rh={class:"vue-tp-gif-header-right"},Mh=["src"],Ph={class:"vue-tp-search-wrapper"},Dh={class:"vue-tp-search-input-wrapper"},Bu=Oe(ke({__name:"AddGifPicker",props:{isOpen:{type:Boolean,default:!1}},emits:["cancel","select"],setup(e,{emit:t}){const o=window.TalkingPointsApi?.giphyIconUrl??"",n=e,r=t,i=S(null),s=S(null),{gifResponse:a,isLoading:l,searchQuery:u,activeQuery:c,isMobile:d,error:p,desktopGifs:y,onSearch:_,onClearSearch:k,onSearchKeydown:R,loadMore:U}=Ah({isOpen:N(()=>n.isOpen),scrollContainer:s});return $u({target:i,root:s,threshold:.25,onIntersect:()=>U()}),(A,P)=>(g(),E(we,null,[C("div",Oh,[C("button",{class:"vue-tp-back-button vue-tp-cursor-pointer",type:"button","aria-label":"Back",onClick:P[0]||(P[0]=I=>r("cancel"))}),C("div",Lh,[C("strong",null,Ce(T(c)?`Results for "${T(c)}"`:"Trending GIFs"),1),C("div",Rh,[T(o)?(g(),E("img",{key:0,src:T(o),class:"vue-tp-giphy-attribution",alt:"Powered by GIPHY"},null,8,Mh)):J("",!0)])])]),C("div",Ph,[C("div",Dh,[xo(C("input",{id:"vue-tp-gif-search-input",class:"vue-tp-search-input",type:"text",placeholder:"Search GIFs...","onUpdate:modelValue":P[1]||(P[1]=I=>
331Ve(u)?u.value=I:null),onKeydown:P[2]||(P[2]=(...I)=>T(R)&&T(R)(...I))},null,544),[[ac,T(u)]]),T(u)?(g(),E("button",{key:0,class:"vue-tp-search-clear-button",type:"button","aria-label":"Clear search",onClick:P[3]||(P[3]=(...I)=>T(k)&&T(k)(...I))}," × ")):J("",!0)]),W(Mo,{text:"Search","is-disabled":T(u)==="",onPress:T(_)},{default:rt(()=>[...P[5]||(P[5]=[to(" Search ",-1)])]),_:1},8,["is-disabled","onPress"])]),C("div",{class:De(["vue-tp-gif-grid-container",{"vue-tp-is-mobile":T(d),"vue-tp-minimize":T(p)!==null||T(a)?.data.length===0}]),ref_key:"gifGridContainer",ref:s},[W(Sh,{"gif-response":T(a),"desktop-gifs":T(y),"is-mobile":T(d),"is-loading":T(l),error:T(p),"active-query":T(c),onSelect:P[4]||(P[4]=I=>r("select",I))},{"load-more-mobile":rt(()=>[C("div",{ref_key:"intersectionObserverTrigger",ref:i,class:"vue-tp-load-more-gifs-mobile"},null,512)]),"load-more-desktop":rt(()=>[C("div",{ref_key:"intersectionObserverTrigger",ref:i,class:"vue-tp-load-more-gifs-desktop"},null,512)]),_:1},8,["gif-response","desktop-gifs","is-mobile","is-loading","error","active-query"])],2)],64))}}),[["__scopeId","data-v-c9d73af2"]]);function mi(e){if(!e)return"";if(typeof window>"u"||typeof document>"u")return String(e);const t=qo.sanitize(e),o=document.createElement("textarea");return o.innerHTML=t,o.value}function Nu(e){const t=o=>{const n=e.element.value;n&&o.target instanceof Node&&!n.contains(o.target)&&e.onClickOutside()};Rt(()=>{document.addEventListener("click",t)}),Gt(()=>{document.removeEventListener("click",t)})}const $h={class:"vue-tp-font-bold"},Bh={key:0,class:"vue-tp-stories-dropdown"},Nh=["onClick"],Uh=Oe(ke({__name:"TalkingPointInfo",props:{title:{type:String,required:!0},storyId:{type:String,default:""}},emits:["dropdown-open"],setup(e,{emit:t}){const o=so(),{loading:n}=He(o),r=e,i=t,s={activeStories:S([]),changeActiveStory:k=>{}},{activeStories:a,changeActiveStory:l}=Co("activeStories",s),u=S(!1),c=S(null),d=N(()=>a.value.filter(k=>k.story_id!==r.storyId));Nu({element:c,onClickOutside:()=>_()});const p=()=>{d.value.length===0||n.value||(u.value=!u.value,i("dropdown-open",u.value))},y=k=>{l(k),u.value=!1,i("dropdown-open",u.value)},_=()=>{u.value&&(u.value=!1,i("dropdown-open",u.value))};return(k,R)=>(g(),E("div",{class:"vue-tp-talking-point-info",ref_key:"rootElement",ref:c},[W(yt,{color:"rgb(var(--vue-primary-color))",size:30,icon:"logo"}),C("p",{class:De(["vue-tp-talking-point-text vue-tp-text-clip-1",{"vue-tp-with-dropdown":d.value.length>0,"vue-tp-is-loading":T(n)}]),onClick:p},[R[0]||(R[0]=C("span",{class:"vue-tp-talk-about"},"Talk about ",-1)),C("span",$h,Ce(T(mi)(r.title)),1)],2),u.value?(g(),E("div",Bh,[C("ul",null,[(g(!0),E(we,null,mt(d.value,U=>(g(),E("li",{key:U.story_id,onClick:A=>y(U)},Ce(T(mi)(U.story_name)),9,Nh))),128))])])):J("",!0)],512))}}),[["__scopeId","data-v-264f951d"]]),zh=Oe(ke({__name:"LoggedOutUserAvatar",emits:["sign-in-click"],setup(e){return(t,o)=>(g(),E("div",{class:"vue-tp-logged-out-user-avatar-wrapper",onClick:o[0]||(o[0]=n=>t.$emit("sign-in-click"))},[W(yt,{icon:"logged-out-user",color:"rgb(var(--vue-primary-color))",size:28,"is-cursor-pointer":!0})]))}}),[["__scopeId","data-v-1d208694"]]),Fh={class:"vue-tp-top-part"},Hh={class:"vue-tp-user-handle"},jh={class:"vue-tp-bottom-part"},Gh=["href"],Vh=Oe(ke({__name:"UserMenu",emits:["close-menu"],setup(e,{emit:t}){const o=et(),{userHandle:n}=He(o),r=t,i=S(null),s=N(()=>_n(n.value)),a=N(()=>`${window.location.origin}/profile`),l=()=>{o.logout()};return Nu({element:i,onClickOutside:()=>r("close-menu")}),(u,c)=>(g(),E("div",{class:"vue-tp-user-menu",ref_key:"rootElement",ref:i},[C("div",Fh,[W(bn,{"avatar-url":s.value,"avatar-size":36},null,8,["avatar-url"]),C("span",Hh,Ce(T(n)),1)]),C("div",jh,[C("a",{href:a.value},"Profile",8,Gh),C("span",{onClick:l},"Log out")])],512))}}),[["__scopeId","data-v-3f78adc5"]]),Wh=Oe(ke({__name:"SubscribeButton",props:{isSubscribed:{type:Boolean,default:!1},size:{type:Number,default:20},className:{type:String,default:""}},emits:["toggle-subscribe"],setup(e,{emit:t}){const o=e,n=t,r=Ro(),{subscribedThroughCommentOrReaction:i}=He(r),{isVisible:s,tooltipId:a,supportsHover:l,showTimed:u,handlers:c}=tu(),d=S(!1),p=S(!1),y=S(""),_=N(()=>o.isSubscribed?"Unsubscribe from the TalkingPoint":"Subscribe to the TalkingPoint"),k=N(()=>l.value?y.value||_.value:y.value),R=N(()=>o.isSubscribed?"rgb(var(--vue-primary-color))":"rgb(var(--vue-icon-color-comments))");function U(P){y.value=P,u()}const A=()=>{p.value=!0,d.value=!o.isSubscribed,n("toggle-subscribe")};return Fe(()=>
331o.isSubscribed,P=>{if(!p.value)return;p.value=!1,U(P?"Subscribed to the TalkingPoint!":"Unsubscribed from the TalkingPoint.")}),Fe(i,P=>{P&&U("Subscribed to the TalkingPoint!")}),(P,I)=>(g(),E("div",{class:De(["vue-tp-subscribe-button-wrapper",[o.className,{"vue-tp-animate":d.value||T(i)}]]),onClick:A,onMouseenter:I[0]||(I[0]=M=>T(c).onMouseenter()),onMouseleave:I[1]||(I[1]=M=>T(c).onMouseleave())},[W(yt,{icon:"subscribe",size:o.size,color:R.value},null,8,["size","color"]),W(ni,{text:k.value,id:T(a),"is-visible":T(s),position:"center"},null,8,["text","id","is-visible"])],34))}}),[["__scopeId","data-v-7f08744e"]]),Yh={class:"vue-tp-sidebar-header"},qh={class:"vue-tp-left-side"},Kh=Oe(ke({__name:"SidebarHeader",props:{storyName:{type:String,default:""},storyId:{type:String,default:""},shareUrl:{type:String,default:""}},emits:["close-sidebar","sign-in-click"],setup(e){const t=et(),{isLoggedIn:o,userHandle:n}=He(t),r=e,i=Ro(),{currentStoryFollowStatus:s}=He(i),a=S(!1),l=S(!1),u=S(!1),c=S(!1),d=N(()=>_n(n.value)),p=P=>{a.value=P},y=async()=>{if(!c.value)try{c.value=!0,await i.postStoryFollowStatus()}finally{c.value=!1}},_=P=>{u.value||(P.stopPropagation(),l.value=!l.value)},k=()=>{!o.value||!u.value||(l.value=!0)},R=()=>{!o.value||!u.value||(l.value=!1)};let U=null,A=null;return Rt(()=>{U=window.matchMedia("(hover: hover) and (pointer: fine)"),u.value=U.matches,A=P=>{u.value=P.matches},U.addEventListener("change",A)}),Gt(()=>{U&&A&&U.removeEventListener("change",A)}),(P,I)=>(g(),E("div",Yh,[C("div",{class:"vue-tp-close-button vue-tp-cursor-pointer",onClick:I[0]||(I[0]=M=>P.$emit("close-sidebar"))},[...I[3]||(I[3]=[C("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},[C("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),C("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])]),C("div",{class:De(["vue-tp-content-wrapper",{"vue-tp-dropdown-open":a.value}])},[C("div",qh,[W(Uh,{title:r.storyName,"story-id":r.storyId,onDropdownOpen:p},null,8,["title","story-id"]),T(o)?(g(),ve(Wh,{key:0,"is-subscribed":T(s),size:26,"class-name":a.value?"vue-tp-hidden-on-mobile":"",onToggleSubscribe:y},null,8,["is-subscribed","class-name"])):J("",!0),W(xu,{"url-path":r.shareUrl,size:24,"class-name":a.value?"vue-tp-hidden-on-mobile":"",color:"rgb(var(--vue-icon-color-comments))"},null,8,["url-path","class-name"])]),C("div",{class:De(["vue-tp-right-side",{"vue-tp-hit-area":T(o)&&u.value}]),onMouseenter:k,onMouseleave:R},[T(o)?(g(),ve(bn,{key:0,"avatar-size":36,"avatar-url":d.value,"is-clickable":!0,onAvatarClick:_},null,8,["avatar-url"])):(g(),ve(zh,{key:1,onSignInClick:I[1]||(I[1]=M=>P.$emit("sign-in-click"))}))],34),l.value?(g(),ve(Vh,{key:0,onCloseMenu:I[2]||(I[2]=M=>l.value=!1),onMouseenter:k,onMouseleave:R})):J("",!0)],2)]))}}),[["__scopeId","data-v-865e4c3e"]]),Xh={class:"vue-tp-app-banner"},Jh={class:"vue-tp-app-banner__badges"},Zh=["href"],Qh=["href"],e0=Oe(ke({__name:"AppDownloadBanner",setup(e){const t=window.TalkingPointsApi?.appStoreUrl??"",o=window.TalkingPointsApi?.googlePlayUrl??"";return(n,r)=>(g(),E("div",Xh,[r[2]||(r[2]=C("div",{class:"vue-tp-app-banner__content"},[C("svg",{class:"vue-tp-app-banner__logo",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 29",width:"18",height:"18","aria-hidden":"true"},[C("path",{d:"M25 12.509826C25 19.418669 19.403849 25.019651 12.499722 25.019651L12.499722 29C5.5961518 29 0 23.399
331017 0 16.490173C0 9.5813313 5.5961518 3.9803486 12.499722 3.9803486L12.499722 0C19.403849 0 25 5.6009827 25 12.509826",fill:"white","fill-rule":"evenodd"})]),C("span",{class:"vue-tp-app-banner__text"},[C("strong",null,"Talking"),to("Points – Download the app now! ")])],-1)),C("div",Jh,[T(t)?(g(),E("a",{key:0,href:T(t),class:"vue-tp-app-banner__badge vue-tp-app-banner__badge--apple",target:"_blank",rel:"noopener noreferrer","aria-label":"Download on the App Store"},[...r[0]||(r[0]=[Vn('<svg width="32" height="33" viewBox="0 0 53 55" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" data-v-00a6be3b><g clip-path="url(#clip0_apple)" data-v-00a6be3b><path d="M40.5687 2.36564e-06L12.4383 1.22928e-06C11.9599 1.22928e-06 11.4873 1.24175e-06 11.0102 0.00275107C10.6108 0.0055009 10.2146 0.0134892 9.81137 0.0202125C8.9354 0.0310768 8.06148 0.112299 7.19722 0.263174C6.33418 0.417333 5.49817 0.707968 4.71747 1.12525C3.93772 1.54606 3.22525 2.09285 2.60589 2.7458C1.98328 3.39692 1.46429 4.14952 1.06887 4.97466C0.672355 5.79817 0.397413 6.68063 0.253535 7.59157C0.10829 8.50135 0.0301325 9.42163 0.0197636 10.3441C0.00765759 10.7657 0.00637915 11.1886 0 11.6102V43.3904C0.00637915 43.8173 0.00765759 44.2309 0.0197636 44.6579C0.0301357 45.5804 0.108293 46.5006 0.253535 47.4104C0.397015 48.3218 0.671974 49.2048 1.06887 50.0286C1.46411 50.8511 1.98317 51.6006 2.60589 52.2481C3.2229 52.904 3.93584 53.4512 4.71747 53.8687C5.49816 54.2871 6.33408 54.5795 7.19722 54.736C8.06163 54.8857 8.93545 54.967 9.81137 54.9791C10.2146 54.9885 10.6108 54.9938 11.0102 54.9938C11.4873 54.9966 11.9599 54.9966 12.4383 54.9966H40.5687C41.0376 54.9966 41.514 54.9966 41.9829 54.9938C42.3803 54.9938 42.788 54.9885 43.1855 54.9791C44.0598 54.9676 44.9319 54.8864 45.7946 54.736C46.6605 54.5784 47.4994 54.2861 48.2839 53.8687C49.0648 53.4509 49.7771 52.9038 50.3935 52.2481C51.0147 51.5981 51.5348 50.8491 51.935 50.0286C52.3289 49.2042 52.6012 48.3213 52.7426 47.4104C52.8881 46.5005 52.969 45.5805 52.9847 44.6579C52.9898 44.2309 52.9898 43.8173 52.9898 43.3904C53 42.8909 53 42.3941 53 41.8865V13.1114C53 12.6079 53 12.1084 52.9898 11.6102C52.9898 11.1886 52.9898 10.7657 52.9847 10.3441C52.969 9.4215 52.8881 8.50142 52.7426 7.59151C52.6008 6.6811 52.3285 5.79871 51.935 4.97461C51.1297 3.32069 49.8528 1.97441 48.2839 1.12512C47.4994 0.708863 46.6604 0.418307 45.7946 0.263051C44.9321 0.111512 44.0598 0.0302612 43.1855 0.0200211C42.788 0.0133115 42.3803 0.00525454 41.9829 0.00257346C41.514 -0.000176373 41.0376 2.36564e-06 40.5687 2.36564e-06Z" fill="#A6A6A6" data-v-00a6be3b></path><path d="M11.6062 53.7934C11.1851 53.7934 10.7741 53.7881 10.3562 53.7787C9.49051 53.7675 8.62687 53.6925 7.77233 53.5545C6.97552 53.418 6.20362 53.1641 5.4821 52.8012C4.76719 52.4412 4.11514 51.9693 3.55092 51.4034C2.97853 50.8442 2.502 50.1956 2.14019 49.4834C1.7744 48.7665 1.52125 47.9981 1.38956 47.2049C1.24735 46.3526 1.17041 45.4908 1.1594 44.6269C1.15063 44.3369 1.13916 43.3715 1.13916 43.3715V11.6103C1.13916 11.6103 1.15138 10.6597 1.15947 10.3804C1.17001 9.51787 1.2465 8.65741 1.38829 7.80645C1.52022 7.01109 1.77357 6.24045 2.13956 5.52121C2.50003 4.80944 2.97392 4.16036 3.54286 3.59915C4.11116 3.03261 4.7653 2.55824 5.48142 2.19335C6.20128 1.83159 6.97172 1.57948 7.76692 1.44548C8.62427 1.30602 9.49091 1.23062 10.3596 1.21991L11.6069 1.20312H41.3L42.5623 1.22059C43.423 1.23076 44.2818 1.30549 45.1313 1.44413C45.9345 1.57982 46.713 1.83368 47.4411 2.19738C48.8757 2.93274 50.0431 4.09616 50.7795 5.52456C51.1397 6.23884 51.3891 7.00319 51.5194 7.79168C51.6628 8.64963 51.7431 9.51685 51.7596 10.3864C51.7636 10.7758 51.7636 11.194 51.7636 11.6103C51.7745 12.1259 51.7745 12.6166 51.7745 13.1114V27.4989V41.8864C51.7745 42.3859 51.7745 42.8733 51.7636 43.3647C51.7636 43.8119 51.7636 44.2215 51.7582 44.643C51.7421 45.4971 51.6631 46.3488 51.522 47.1914C51.393 47.9903 51.1412 48.7647 50.7755 49.4875C50.4111 50.192 49.9373 50.835 49.3716 51.3927C48.8068 51.9616 48.1536 52.4363 47.4371 52.7986C46.711 53.1643 45.9337 53.4191 45.1313 53.5545C44.2768 53.6933 43.4131 53.7682 42.5473 53.7787C42.1424 53.7881 41.7185 53.7934 41.3068 53.7934L39.8083 53.7962L11.6062 53.7934Z" fill="black" data-v-00a6be3b></path><path d="M36.3631 27.8821C36.3817 26.3857 36.7647 24.9186 37.4765 23.6171C38.1883 22.3156 39.2058 21.2222 40.4342 20.4384C39.6538 19.2818 38.6243 18.33 37.4274 17.6585C36.2305 16.987 34.8992 16.6144 33.5392 16.5702C30.6382 16.2542 27.8259 18.3717 26.3476 18.3717C24.8407 18.3717 22.5646 16.6016 20.1136 16.6539C18.5283 16.7071 16.9833 17.1855 15.6291 18.0425C14.2749 18.8996 13.1577 20.106 12.3864 21.5443C9.04528 27.5472 11.5374 36.3695 14.7379 41.2218C16.3392 43.5978 18.2107 46.2519 20.6594 46.1578C23.0556 46.0546 23.9506 44.5721 26.843 44.5721C29.7087 44.5721 30.5483 46.1578 33.0467 46.0979C35.618 46.0546 37.238 43.7113 38.7831 41.3128C39.9336 39.6198 40.819 37.7487 41.4063 35.7687C39.9124 35.113 38.6376 34.0155 37.7408 32.6131C36.844 31.2106 36.3649 29.5652 36.3631 27.8821Z" fill="white" data-v-00a6be3b></path><path d="M31.6438 13.3792C33.0458 11.6326 33.7365 9.3878 33.5692 7.12134C31.4273 7.35479 29.4488 8.4171 28.0279 10.0966C27.3332 10.9171 26.8011 11.8716 26.4621 12.9056C26.123 13.9396 25.9837 15.0328 26.0521 16.1228C27.1234 16.1342 28.1833 15.8932 29.1518 15.418C30.1204 14.9428 30.9725 14.2457 31.6438 13.3792Z" fill="white" data-v-00a6be3b></path></g><defs data-v-00a6be3b><clipPath id="clip0_apple" data-v-00a6be3b><rect width="53" height="55" fill="white" data-v-00a6be3b></rect></clipPath></defs></svg>',1)])],8,Zh)):J("",!0),T(o)?(g(),E("a",{key:1,href:T(o),class:"vue-tp-app-banner__badge vue-tp-app-banner__badge--google",target:"_blank",rel:"noopener noreferrer","aria-label":"Get it on Google Play"},[...r[1]||(r[1]=[Vn('<svg width="32" height="33" viewBox="0 0 53 55" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" data-v-00a6be3b><g clip-path="url(#clip0_71_605)" data-v-00a6be3b><path d="M40.5687 2.36564e-06L12.4383 1.22928e-06C11.9599 1.22928e-06 11.4873 1.24175e-06 11.0102 0.00275107C10.6108 0.0055009 10.2146 0.0134892 9.81137 0.0202125C8.9354 0.0310768 8.06148 0.112299 7.19722 0.263174C6.33418 0.417333 5.49817 0.707968 4.71747 1.12525C3.93772 1.54606 3.22525 2.09285 2.60589 2.7458C1.98328 3.39692 1.46429 4.14952 1.06887 4.97466C0.672355 5.79817 0.397413 6.68063 0.253535 7.59157C0.10829 8.50135 0.0301325 9.42163 0.0197636 10.3441C0.00765759 10.7657 0.00637915 11.1886 0 11.6102V43.3904C0.00637915 43.8173 0.00765759 44.2309 0.0197636 44.6579C0.0301357 45.5804 0.108293 46.5006 0.253535 47.4104C0.397015 48.3218 0.671974 49.2048 1.06887 50.0286C1.46411 50.8511 1.98317 51.6006 2.60589 52.2481C3.2229 52.904 3.93584 53.4512 4.71747 53.8687C5.49816 54.2871 6.33408 54.5795 7.19722 54.736C8.06163 54.8857 8.93545 54.967 9.81137 54.9791C10.2146 54.9885 10.6108 54.9938 11.0102 54.9938C11.4873 54.9966 11.9599 54.9966 12.4383 54.9966H40.5687C41.0376 54.9966 41.514 54.9966 41.9829 54.9938C42.3803 54.9938 42.788 54.9885 43.1855 54.9791C44.0598 54.9676 44.9319 54.8864 45.7946 54.736C46.6605 54.5784 47.4994 54.2861 48.2839 53.8687C49.0648 53.4509 49.7771 52.9038 50.3935 52.2481C51.0147 51.5981 51.5348 50.8491 51.935 50.0286C52.3289 49.2042 52.6012 48.3213 52.7426 47.4104C52.8881 46.5005 52.969 45.5805 52.9847 44.6579C52.9898 44.2309 52.9898 43.8173 52.9898 43.3904C53 42.8909 53 42.3941 53 41.8865V13.1114C53 12.6079 53 12.1084 52.9898 11.6102C52.9898 11.1886 52.9898 10.7657 52.9847 10.3441C52.969 9.4215 52.8881 8.50142 52.7426 7.59151C52.6008 6.6811 52.3285 5.79871 51.935 4.97461C51.1297 3.32069 49.8528 1.97441 48.2839 1.12512C47.4994 0.708863 46.6604 0.418307 45.7946 0.263051C44.9321 0.111512 44.0598 0.0302612 43.1855 0.0200211C42.788 0.0133115 42.3803 0.00525454 41.9829 0.00257346C41.514 -0.000176373 41.0376 2.36564e-06 40.5687 2.36564e-06Z" fill="#A6A6A6" data-v-00a6be3b></path><path d="M11.6062 53.7934C11.1851 53.7934 10.7741 53.7881 10.3562 53.7787C9.49051 53.7675 8.62687 53.6925 7.77233 53.5545C6.97552 53.418 6.20362 53.1641 5.4821 52.8012C4.76719 52.4412 4.11514 51.9693 3.55092 51.4034C2.97853 50.8442 2.502 50.1956 2.14019 49.4834C1.7744 48.7665 1.52125 47.9981 1.38956 47.2049C1.24735 46.3526 1.17041 45.4908 1.1594 44.6269C1.15063 44.3369 1.13916 43.3715 1.13916 43.3715V11.6103C1.13916 11.6103 1.15138 10.6597 1.15947 10.3804C1.17001 9.51787 1.2465 8.65741 1.38829 7.80645C1.52022 7.01109 1.77357 6.24045 2.13956 5.5212
3311C2.50003 4.80944 2.97392 4.16036 3.54286 3.59915C4.11116 3.03261 4.7653 2.55824 5.48142 2.19335C6.20128 1.83159 6.97172 1.57948 7.76692 1.44548C8.62427 1.30602 9.49091 1.23062 10.3596 1.21991L11.6069 1.20312H41.3L42.5623 1.22059C43.423 1.23076 44.2818 1.30549 45.1313 1.44413C45.9345 1.57982 46.713 1.83368 47.4411 2.19738C48.8757 2.93274 50.0431 4.09616 50.7795 5.52456C51.1397 6.23884 51.3891 7.00319 51.5194 7.79168C51.6628 8.64963 51.7431 9.51685 51.7596 10.3864C51.7636 10.7758 51.7636 11.194 51.7636 11.6103C51.7745 12.1259 51.7745 12.6166 51.7745 13.1114V27.4989V41.8864C51.7745 42.3859 51.7745 42.8733 51.7636 43.3647C51.7636 43.8119 51.7636 44.2215 51.7582 44.643C51.7421 45.4971 51.6631 46.3488 51.522 47.1914C51.393 47.9903 51.1412 48.7647 50.7755 49.4875C50.4111 50.192 49.9373 50.835 49.3716 51.3927C48.8068 51.9616 48.1536 52.4363 47.4371 52.7986C46.711 53.1643 45.9337 53.4191 45.1313 53.5545C44.2768 53.6933 43.4131 53.7682 42.5473 53.7787C42.1424 53.7881 41.7185 53.7934 41.3068 53.7934L39.8083 53.7962L11.6062 53.7934Z" fill="black" data-v-00a6be3b></path><path d="M26.204 26.6924L11.5659 42.8172C11.5659 42.8172 11.5659 42.8172 11.5659 42.8252C12.0161 44.573 13.5529 45.8617 15.3846 45.8617C16.1141 45.8617 16.8049 45.6523 17.387 45.2979L17.4336 45.2657L33.9112 35.3991L26.1963 26.6843L26.204 26.6924Z" fill="#EA4335" data-v-00a6be3b></path><path d="M41.0132 23.9456H40.9976L33.8804 19.6526L25.8628 27.0545L33.9037 35.3988L40.9821 31.1623C42.224 30.4696 43.0622 29.1084 43.0622 27.5459C43.0622 25.9833 42.2317 24.6382 41.0054 23.9456H41.0132Z" fill="#FBBC04" data-v-00a6be3b></path><path d="M11.5587 12.2185C11.4733 12.5568 11.4268 12.9112 11.4268 13.2736V41.7699C11.4268 42.1324 11.4733 42.4867 11.5587 42.825L26.7013 27.111L11.5587 12.2185Z" fill="#4285F4" data-v-00a6be3b></path><path d="M26.3127 27.5138L33.8879 19.6528L17.4258 9.74593C16.8282 9.37543 16.1297 9.15796 15.3846 9.15796C13.5529 9.15796 12.0161 10.4467 11.5659 12.2025L26.3127 27.5058V27.5138Z" fill="#34A853" data-v-00a6be3b></path></g><defs data-v-00a6be3b><clipPath id="clip0_71_605" data-v-00a6be3b><rect width="53" height="55" fill="white" data-v-00a6be3b></rect></clipPath></defs></svg>',1)])],8,Qh)):J("",!0)])]))}}),[["__scopeId","data-v-00a6be3b"]]),Uu=Oe(ke({__name:"ErrorMessageWrapper",setup(e){const t=Jo(),{errorMessages:o}=He(t);return So(()=>{t.reset()}),(n,r)=>(g(),ve(Af,{name:"toast",tag:"div",class:"vue-tp-error-message-wrapper"},{default:rt(()=>[(g(!0),E(we,null,mt(T(o),i=>(g(),E("div",{key:i.id,class:"vue-tp-message"},Ce(i.text),1))),128))]),_:1}))}}),[["__scopeId","data-v-72692008"]]);function t0(e){const t=S(null),o=S(null),n=S(""),r=S("");function i(l,u=!1){if(l.depth>=2&&!e.isLoggedIn.value){u||e.handleLogin(),a();return}t.value=l,n.value="Replying to",r.value=l.author?.username??"",o.value="comment"}function s(l){t.value=l,n.value="Commenting on",r.value=l.body??"",o.value="system"}function a(l=!0){t.value=null,n.value="Creating a new discussion topic for",r.value=e.storyName.value,o.value=null,l?(e.hideCommentBox(),e.emitResetReplying()):e.showCommentBox()}return{pendingReplyParent:t,replyingTo:o,replyInfoText:n,replyInfoTextBolded:r,onCommentReply:i,onCustomBlockReply:s,setDefaultAddCommentProperties:a}}function zu(e){const t=so();async function o(r,i,s,a,l=""){let u=null;try{t.changeLoadingState(!0),i?(u=await t.addReply(r,i,a,l),Zo("tps:comment-post-reply",{commentId:u?.id??null})):(u=await t.addTopLevelComment(r,s,a,l),Zo("tps:comment-post",{commentId:u?.id??null}))}finally{t.changeLoadingState(!1)}return u||null}async function n(r,i,s=""){const a=r.text.trim(),l=r.youtubeId??"",u=r.gif??null;if(!a&&!l&&!u)return null;const c=await o(a,i,l,u,s);if(s)return c;const d=i?.id??null;return c&&(t.handleNewComment(c,d),e.scrollToNewComment(c.id)),e.resetComposer(),c}return{onSubmitComment:n}}function o0(e){function t(i){window?.grvAuth?.loginWithOAuth(i,{redirectTo:window.location.href})}function o(i){window?.grvAuth?.sendMagicLink(i,{redirectTo:window.location.href})}function n(){window.openModal&&window.openModal(1,{redirectUrl:e.redirectUrl.value})}function r(){n(),e.clearPendingCommentDraft()}return{onSocialMediaSignIn:t,onMagicLinkSignIn:o,onOpenOutsideModal:n,onHandleLogin:r}}function n0(e){function t(o,n){o.text.trim()!==""&&Wg({text:o.text.trim(),parentCommentId:n,storyId:e.storyId.value,storyName:e.storyName.value,storySlug:e.storySlug.value,replyingTo:e.replyingTo.value,isSingleComment:e.isSingleComment.value})}return{handleLoggedOutSubmitAttempt:t}}function r0(){const e=S(!0),t=S(null);function o(n){Fe(n,()=>{e.value=!1,setTimeout(()=>{e.value=!0},1e3)},{deep:!0})}return{hasCommentAnimationFinished:e,intersectionObserverTrigger:t,watchReplyParentAnimation:o}}function i0(e){const t=so(),{nonBlockingLoading:o}=He(t);async function n(s=!1){if(e.storyId.value)try{t.changeLoadingState(!0,s),e.mainTopicBlockId.value?await Promise.allSettled([t.loadFirstPageById(e.storyId.value),t.loadMainTopicComment(e.mainTopicBlockId.value)]):await t.loadFirstPageById(e.storyId.value)}finally{t.changeLoadingState(!1,s)}}async function r(){if(!(!e.storyId.value||o.value))try{t.changeLoadingState(!0,!0),await t.loadMore()}catch{e.disconnectMoreCommentsObserver()}finally{t.changeLoadingState(!1,!0)}}
331async function i(s){if(s.id)try{t.changeLoadingState(!0),await t.loadMoreReplies(s)}finally{t.changeLoadingState(!1)}}return{loadFirstPageComments:n,loadMoreComments:r,loadMoreReplies:i}}const s0={key:0,class:"vue-tp-sidebar-container",id:"vue-tp-sidebar-container"},a0={class:"vue-tp-sidebar-top"},l0={class:"vue-tp-sidebar-content"},c0={key:0},u0={class:"vue-tp-error-messages-container"},d0={key:2,class:"story-closed-wrapper"},p0={class:"vue-tp-add-youtube-link-wrapper vue-tp-with-border-radius"},f0={class:"vue-tp-add-gif-picker-wrapper vue-tp-with-border-radius"},v0=Oe(ke({__name:"Sidebar",props:{isVisible:{type:Boolean,required:!0},storyId:{type:String,default:""},storyName:{type:String,default:""},storySlug:{type:String,default:""},pendingComment:{type:Object,default:null},paramCommentId:{type:String,default:""},scrollToCommentId:{type:String,default:""},mainTopicBlockId:{type:String,default:""},isImmediateReply:{type:Boolean,default:!1},isSingleTopLevelComment:{type:Boolean,default:!1}},emits:["close-sidebar","reset-replying","handle-web-socket-connection","show-required-badge-prompt"],setup(e,{expose:t,emit:o}){const n=window.TalkingPointsApi?.showAppBanner??!0,r=so(),{comments:i,loading:s,nonBlockingLoading:a,hasNextPage:l,pinnedUserComment:u,pinnedMainTopicComment:c,pinnedReplies:d}=He(r),p=ui(),{readyWebSocketComments:y}=He(p),_=et(),{isLoggedIn:k}=He(_),R=Ro(),{currentPinnedBlockId:U,isLandingPageStory:A,isLandingPageComment:P,currentStoryClosed:I}=He(R),M=e,D=o,$=S(!1),H=S(!1),O=S(!1),K=S(!1),X=S(""),G=S(null),te=N(()=>i.value.filter(xe=>{const Le=xe.id===c.value?.id,qe=xe.id===u.value?.id;return!Le&&!qe})),ie=N(()=>wn(M.paramCommentId||c.value?.id,M.storySlug,re.value)),re=N(()=>M.isSingleTopLevelComment||A.value||P.value||M.pendingComment.isSingleComment),{intersectionObserverTrigger:oe,watchReplyParentAnimation:ee}=r0(),{pendingReplyParent:pe,replyingTo:Ee,replyInfoText:Me,replyInfoTextBolded:Ye,onCommentReply:Be,onCustomBlockReply:tt,setDefaultAddCommentProperties:me}=t0({storyName:N(()=>M.storyName),isLoggedIn:k,emitResetReplying:()=>D("reset-replying"),handleLogin:()=>m(),hideCommentBox:()=>z(!1),showCommentBox:()=>z(!0)}),{disconnect:Je}=$u({target:oe,threshold:.25,onIntersect:()=>_e()}),{loadFirstPageComments:Ie,loadMoreComments:_e,loadMoreReplies:lt}=i0({storyId:N(()=>M.storyId),mainTopicBlockId:N(()=>M.mainTopicBlockId||U.value||""),disconnectMoreCommentsObserver:()=>Je()}),{onSubmitComment:Y}=zu({scrollToNewComment:xe=>h(xe,"center",!0),resetComposer:()=>{me(),ce(),Pe()}}),{handleLoggedOutSubmitAttempt:fe}=n0({storyId:N(()=>M.storyId),storyName:N(()=>M.storyName),storySlug:N(()=>M.storySlug),replyingTo:Ee,isSingleComment:N(()=>re.value)}),{onOpenOutsideModal:le,onHandleLogin:m}=o0({redirectUrl:ie,clearPendingCommentDraft:()=>cr()}),{scrollToComment:h,clearScrollTimers:v}=Ds();Rt(()=>{ee(pe)}),So(()=>{Ne()}),t({reloadComments:async()=>{re.value&&c.value?await r.loadMainTopicComment(c.value.id):await Ie(!0)}});const w=async()=>{Ne(),xm().catch(()=>{}),ce(),ne(),Pe(),Te(),_u(),M.storyId&&($.value=!0,await R.onStoryIdChange(M.storyId),r.setInitProperties(M.storyId,re.value),re.value||await Ie(),M.pendingComment.replyingTo?await b():M.paramCommentId?await L(M.paramCommentId):(P.value||A.value)&&M.mainTopicBlockId?await L(M.mainTopicBlockId):M.isImmediateReply&&c.value?tt(c.value):me(!M.pendingComment),D("handle-web-socket-connection"),M.scrollToCommentId&&h(M.scrollToCommentId,"center",!0),$.value=!1)},b=async()=>{const xe=await r.loadComment(M.pendingComment.id);if(xe)switch(M.pendingComment.replyingTo){case"comment":Be(xe);break;case"system":tt(xe);break}},L=async xe=>{const Le=await r.loadComment(xe);Le?B(Le)?tt(Le):Be(Le,!0):me()},B=xe=>r.isSystemComment(xe),F=()=>{p.refreshComments()},V=xe=>{const Le=pe.value,qe=Le?.id||null;k.value?Y(xe,Le):(fe(xe,qe),le())},z=xe=>{H.value=xe},ae=()=>{O.value=!0},Z=xe=>{X.value=xe,G.value=null,O.value=!1},ne=()=>{O.value=!1},ce=()=>{X.value=""},ge=()=>{K.value=!0},Te=()=>{K.value=!1},Se=xe=>{G.value=xe,X.value="",K.value=!1},Pe=()=>{G.value=null},Ne=()=>{v()},ct=()=>{Ne(),Je()};return Gi("outsideModal",{onOpenOutsideModal:le}),Fe(()=>M.isVisible,async xe=>{xe?$.value||await w():ct()}),(xe,Le)=>(g(),ve(yo,{name:"slide"},{default:rt(()=>[M.isVisible?(g(),E("div",s0,[C("div",a0,[T(n)?(g(),ve(e0,{key:0})):J("",!0),W(Kh,{"story-name":M.storyName,"story-id":e.storyId,"share-url":T(wn)(null,M.storySlug,re.value),onCloseSidebar:Le[0]||(Le[0]=qe=>xe.$emit("close-sidebar")),onSignInClick:T(le)},null,8,["story-name","story-id","share-url","onSignInClick"])]),C("div",l0,[!T(s)&&T(i).length===0&&!T(c)&&!T(u)?(g(),E("div",c0,[...Le[3]||(Le[3]=[C("p",null,"No comments to display.",-1)])])):J("",!0),T(c)?(g(),ve(Us,{comment:T(c),"is-system-comment":!0,"comment-id":T(c).id,key:T(c).id+M.storySlug,"hide-divider":!0,"pinned-replies":T(d).system,"story-slug":M.storySlug,"
331is-story-closed":T(I),onCommentReply:T(Be),onCustomBlockReply:T(tt),onLoadMoreReplies:T(lt)},null,8,["comment","comment-id","pinned-replies","story-slug","is-story-closed","onCommentReply","onCustomBlockReply","onLoadMoreReplies"])):J("",!0),T(u)?(g(),ve(Us,{comment:T(u),"is-system-comment":B(T(u)),"comment-id":T(u).id,key:T(u).id+M.storySlug,"hide-divider":!T(c),"pinned-replies":T(d).user,"story-slug":M.storySlug,"is-story-closed":T(I),onCommentReply:T(Be),onCustomBlockReply:T(tt),onLoadMoreReplies:T(lt)},null,8,["comment","is-system-comment","comment-id","hide-divider","pinned-replies","story-slug","is-story-closed","onCommentReply","onCustomBlockReply","onLoadMoreReplies"])):J("",!0),(g(!0),E(we,null,mt(te.value,(qe,Qe)=>(g(),ve(Us,{comment:qe,"is-system-comment":B(qe),"comment-id":qe.id,key:qe.id+M.storySlug,"hide-divider":!T(c)&&!T(u)&&Qe===0,"story-slug":M.storySlug,"is-story-closed":T(I),onCommentReply:T(Be),onCustomBlockReply:T(tt),onLoadMoreReplies:T(lt)},null,8,["comment","is-system-comment","comment-id","hide-divider","story-slug","is-story-closed","onCommentReply","onCustomBlockReply","onLoadMoreReplies"]))),128)),T(l)?(g(),E("div",{key:3,ref_key:"intersectionObserverTrigger",ref:oe,id:"vue-tp-load-more-trigger"},null,512)):J("",!0)]),T(s)||T(a)||$.value?(g(),E("div",{key:0,class:De(["vue-tp-loading-overlay",{"vue-tp-non-blocking":T(a)}])},[W(Qo,{size:40})],2)):J("",!0),C("div",u0,[W(Uu)]),!T(s)&&!T(I)?(g(),ve(ch,{key:1,"is-open":H.value,"force-hide":O.value||K.value,"dedicated-youtube-id":X.value,"selected-gif":G.value,"button-text":T(pe)?"Post":"Create","comment-id":T(pe)?.id||null,"pending-comment-text":M.pendingComment.text,placeholder:T(pe)?"What do you think?":"What do you want to discuss?","info-text":T(Me),"info-text-bolded":T(Ye),"is-loading":T(s),"new-comment-count":T(y).length,onSubmitComment:V,onResetReplying:T(me),onRefreshComments:F,onShowCommentBox:Le[1]||(Le[1]=qe=>z(!0)),onShowYoutubeLink:ae,onShowGifPicker:ge,onYoutubeCleared:ce,onGifCleared:Pe,onShowRequiredBadgePrompt:Le[2]||(Le[2]=qe=>D("show-required-badge-prompt",qe))},null,8,["is-open","force-hide","dedicated-youtube-id","selected-gif","button-text","comment-id","pending-comment-text","placeholder","info-text","info-text-bolded","is-loading","new-comment-count","onResetReplying"])):!T(s)&&T(I)?(g(),E("div",d0," This TalkingPoint is closed. ")):J("",!0),W(yo,{name:"slide-down"},{default:rt(()=>[xo(C("div",p0,[W(Mu,{"is-open":O.value,"initial-youtube-id":X.value,onConfirm:Z,onCancel:ne},null,8,["is-open","initial-youtube-id"])],512),[[fn,O.value]])]),_:1}),W(yo,{name:"slide-down"},{default:rt(()=>[xo(C("div",f0,[W(Bu,{"is-open":K.value,onCancel:Te,onSelect:Se},null,8,["is-open"])],512),[[fn,K.value]])]),_:1})])):J("",!0)]),_:1}))}}),[["__scopeId","data-v-3e842387"]]),m0={class:"vue-tp-create-post-modal"},g0={class:"vue-tp-cpm-view"},h0={class:"vue-tp-cpm-header"},b0={class:"vue-tp-text-clip-2"},y0={class:"vue-tp-cpm-body"},w0={class:"vue-tp-cpm-input-wrapper"},_0=["data-placeholder"],x0={key:0,class:"vue-tp-cpm-youtube-wrapper"},C0={key:1,class:"vue-tp-cpm-gif-wrapper"},k0=["src","title"],S0={class:"vue-tp-cpm-error-messages-container"},T0={class:"vue-tp-cpm-media-buttons"},E0=["src"],I0={class:"vue-tp-cpm-yt-view"},A0={class:"vue-tp-cpm-gif-view"},O0=Oe(ke({__name:"CreatePostModal",props:{isOpen:{type:Boolean,default:!1},storyName:{type:String,default:""},isSubmitting:{type:Boolean,default:!1},buttonText:{type:String,default:"Post"},placeholder:{type:String,default:"What do you want to discuss?"},infoText:{type:String,default:""},infoTextBolded:{type:String,default:""},commentId:{type:[String,null],default:null}},emits:["close","submit-comment"],setup(e,{emit:t}){const o=e,n=t,r=window.TalkingPointsApi?.youtubeIconUrl??"",i=S(""),s=S(null),a=S("compose"),l=S(!1),{text:u,focusableInput:c,youtubeId:d,clearText:p,composeText:y,focusInput:_,clearInput:k,resetInputYoutube:R,setYoutubeAutoDetect:U}=Lu({maxLength:N(()=>vi),commentId:N(()=>null),onClearDraft:()=>{}}),A=N(()=>i.value||d.value),P=N(()=>!!A.value||!!s.value),I=N(()=>u.value.trim().length===0&&!A.value&&!s.value),M=()=>{l.value=!0},D=()=>{l.value&&H(),l.value=!1},$=()=>{p(),k(),R(),i.value="",s.value=null,a.value="compose"},H=()=>{n("close")},O=()=>{n("submit-comment",{text:u.value,youtubeId:A.value,gif:s.value})},K=Ru(O),X=()=>{U(!1),a.value="youtube"},G=Ee=>{i.value=Ee,R(),s.value=null,a.value="compose"},te=()=>{U(!0),a.value="compose"},ie=()=>{i.value="",R()},re=()=>{a.value="gif"},oe=Ee=>{s.value=Ee,i.value="",R(),a.value="compose"},ee=()=>{a.value="compose"},pe=()=>{s.value=null};return Fe(()=>
331o.isOpen,Ee=>{Ee?eo(()=>_()):$()},{immediate:!0}),(Ee,Me)=>o.isOpen?(g(),E("div",{key:0,class:"vue-tp-create-post-overlay",onMousedown:ps(M,["self"]),onClick:ps(D,["self"])},[C("div",m0,[o.isSubmitting?(g(),ve(Qo,{key:0})):J("",!0),xo(C("div",g0,[C("div",h0,[C("span",b0,[to(Ce(o.infoText)+" ",1),C("strong",null,Ce(o.infoTextBolded),1)]),C("button",{class:"vue-tp-cpm-close",type:"button","aria-label":"Close",onClick:H}," × ")]),C("div",y0,[C("div",w0,[C("div",{class:De(["vue-tp-cpm-input",{"vue-tp-cpm-input--has-media":P.value}]),ref_key:"focusableInput",ref:c,contenteditable:"plaintext-only","data-placeholder":o.placeholder,onKeydown:Me[0]||(Me[0]=(...Ye)=>T(K)&&T(K)(...Ye)),onInput:Me[1]||(Me[1]=(...Ye)=>T(y)&&T(y)(...Ye))},null,42,_0),A.value?(g(),E("div",x0,[C("div",{class:"vue-tp-cpm-media-close",onClick:ie}),W(lr,{"youtube-id":A.value},null,8,["youtube-id"])])):J("",!0),s.value?(g(),E("div",C0,[C("div",{class:"vue-tp-cpm-media-close",onClick:pe}),C("video",{src:s.value.fixed_width_video,title:s.value.title,class:"vue-tp-cpm-gif-preview",autoplay:"",loop:"",muted:"",playsinline:""},null,8,k0)])):J("",!0)]),W(Mo,{text:o.buttonText,"is-disabled":I.value||o.isSubmitting,onPress:O},null,8,["text","is-disabled"])]),C("div",S0,[W(Uu)]),C("div",T0,[o.commentId?J("",!0):(g(),E("button",{key:0,class:"vue-tp-cpm-yt-button",type:"button","aria-label":"Add YouTube video",onClick:X},[T(r)?(g(),E("img",{key:0,src:T(r),width:"30",alt:"Add YouTube video"},null,8,E0)):J("",!0)])),C("button",{class:"vue-tp-cpm-gif-button",type:"button","aria-label":"Add GIF",onClick:re}," GIF ")])],512),[[fn,a.value==="compose"]]),xo(C("div",I0,[W(Mu,{"is-open":a.value==="youtube","initial-youtube-id":A.value,onConfirm:G,onCancel:te},null,8,["is-open","initial-youtube-id"])],512),[[fn,a.value==="youtube"]]),xo(C("div",A0,[W(Bu,{"is-open":a.value==="gif",onCancel:ee,onSelect:oe},null,8,["is-open"])],512),[[fn,a.value==="gif"]])])],32)):J("",!0)}}),[["__scopeId","data-v-0be19cff"]]);function L0(e){function t(){document.body.style.overflow="hidden",document.getElementById("vue-sidebar")?.classList.add("vue-tp-sidebar-open");const r=document.createElement("div");r.classList.add("grv-tpwp-sidebar-open-mobile-overlay"),document.body.prepend(r)}function o(){document.body.style.overflow="initial",document.getElementById("vue-sidebar")?.classList.remove("vue-tp-sidebar-open"),document.querySelector(".grv-tpwp-sidebar-open-mobile-overlay")?.remove()}function n(){e.isSidebarOpen.value&&(document.body.style.overflow="hidden")}return{showSidebarUI:t,hideSidebarUI:o,lockBodyScroll:n}}function R0(e){const t=Ns();return Fe(e.storySlug,r=>{t.setStorySlug(r)}),{trackSidebarOpen:()=>{Zo("tps:sidebar-open")},trackSidebarClose:()=>{Zo("tps:sidebar-close")}}}function M0(e){let t=null,o=null;const n=()=>{t&&(clearInterval(t),t=null),o&&(clearTimeout(o),o=null)},r=(l,u,c,d)=>{const p=u?.classList.contains("has-voted"),y=d.target;if(p)d.preventDefault(),e.onBlockClick(l,!0),d.stopPropagation();else{const _=y.closest(".crowdsignal-forms-poll__answer:not(.is-button)");if(c){n();const k=document.createElement("div");k.classList.add("vue-tp-poll-loader");const R=document.createElement("div");R.classList.add("vue-tp-poll-spinner"),k.appendChild(R),l.appendChild(k),t=setInterval(()=>{u?.classList.contains("has-voted")&&(n(),e.onBlockClick(l,!0),k.remove())},500),o=setTimeout(()=>{n()},1e4)}else{if(_)return;d.preventDefault(),e.onBlockClick(l,!0),d.stopPropagation()}}},i=l=>{const u=l.target,c=u.closest('[data-trigger="vue-sidebar"]'),d=u.closest('[data-trigger="vue-sidebar-poll"]');if(c||d){if(u&&u.closest('label[data-type="twitter"]')||u&&u.closest(".vue-tp-like-wrapper"))return;if(c)l.preventDefault(),e.onBlockClick(c,!0),l.stopPropagation();else if(d)if(d.classList?.contains("grv-tpwp-teleported-block")){const y=u.closest(".vue-tp-custom-poll-wrapper"),_=u.closest(".vue-tp-poll-answer");r(d,y,_,l)}else{const y=u.closest(".crowdsignal-forms-poll"),_=u.closest(".crowdsignal-forms-poll__submit-button");r(d,y,_,l)}}},s=()=>{document.addEventListener("click",i)},a=()=>{document.removeEventListener("click",i),n()};return Gt(()=>{a()}),{startListening:s}}const Fu=[1e3,2e3,4e3,8e3,16e3,3e4],P0=6,Hu=1,ju=2,D0=120*1e3,$0=600*1e3,B0=dt`
332  ${Xo}
333  subscription CommentEntered($storyID: ID!) {
334    commentEntered(storyID: $storyID) {
335      comment {
336        ...BaseComment
337      }
338    }
339  }
340`,N0=dt`
341  ${Xo}
342  subscription CommentEdited($storyID: ID!) {
343    commentEdited(storyID: $storyID) {
344      comment {
345        ...BaseComment
346      }
347    }
348  }
349`;function U0(e){const t=S(null),o=S(null),n=S(null),r=S(!0),i=S([]),s=S([]),a=S([]);let l=0,u=null,c=null;const d=ui(),p=ai(),y=xn(),_=et(),k=Ro(),{isLoggedIn:R}=He(_),{isLandingPageStory:U,isLandingPageComment:A}=He(k);async function P(){t.value?U.value||H():await I()}async function I(Y=!1){if(!D())return;const le=window.TalkingPointsApi?.webSocketUrl;le&&(await $(),!t.value&&(Y&&await e.commentReload(),d.reset(),p.reset(),y.resetWebSocketPendingState(),n.value=null,t.value=new WebSocket(le,"graphql-ws"),K()))}function M(){const Y=t.value?.readyState;return Y===WebSocket.CONNECTING||Y===WebSocket.OPEN}function D(){return M()?!1:(t.value&&(X(),t.value=null),R.value||r.value)}async function $(){if(R.value){const{token:Y,status:fe}=await Ko(1e3);o.value=fe==="success"?Y:null}else o.value=null}function H(){e.storyId.value!==n.value&&(t.value?.send(JSON.stringify({type:"stop",id:Hu})),t.value?.send(JSON.stringify({type:"stop",id:ju})),O())}function O(){n.value=e.storyId.value??null,t.value?.send(JSON.stringify({type:"start",id:Hu,payload:{query:B0,variables:{storyID:e.storyId.value}}})),t.value?.send(JSON.stringify({type:"start",id:ju,payload:{query:N0,variables:{storyID:e.storyId.value}}}))}function K(){t.value?.addEventListener("open",G),t.value?.addEventListener("message",te),t.value?.addEventListener("close",ie)}function X(){t.value?.removeEventListener("open",G),t.value?.removeEventListener("message",te),t.value?.removeEventListener("close",ie)}function G(){o.value?t.value?.send(JSON.stringify({type:"connection_init",payload:{Authorization:`Bearer ${o.value||""}`}})):t.value?.send(JSON.stringify({type:"connection_init"}))}function te(Y){const fe=JSON.parse(Y.data);if(fe.type==="connection_ack"&&(l=0,O()),fe.type==="data"){const le=fe?.payload?.data;le?.commentEntered?.comment&&re(le.commentEntered.comment,"add"),le?.commentEdited?.comment&&re(le.commentEdited.comment,"edit")}}function ie(){me(),tt()}async function re(Y,fe){if(U.value){if(lt(Y))if(fe==="add"){const le=await oe(Y.id,!1);ee(Y,"vue-ws-system-comment-added",{hasPollData:le.hasPollData,authorName:le.authorName,createdAt:le.createdAt,eventLabel:le.eventLabel,liveBlockClasses:le.liveBlockClasses,isLive:le.isLive})}else setTimeout(async()=>{const le=await oe(Y.id,!0);ee(Y,"vue-ws-system-comment-edited",{hasPollData:le.hasPollData,authorName:le.authorName,createdAt:le.createdAt,eventLabel:le.eventLabel,liveBlockClasses:le.liveBlockClasses,isLive:le.isLive})},1e3*10);else fe==="add"?(Me(Y),Y.rootParent||await pe(Y,!1)):fe==="edit"&&!Y.rootParent&&Be(Y);if(!e.isSidebarVisible.value)return}if(A.value){fe==="add"?await pe(Y,!0):fe==="edit"&&Be(Y,!0);return}fe==="add"?d.onNewWebSocketCommentReceived(Y):fe==="edit"&&d.onWebSocketCommentUpdated(Y)}async function oe(Y,fe=!1){try{const le=fe?await bu(Y):await Ps(Y);return{authorName:le.authorName||"",createdAt:le.createdAt||"",hasPollData:!!le.pollData,eventLabel:le.eventLabel||"",liveBlockClasses:le.liveBlockClasses||"",isLive:le.isLive||!1}}catch{return{authorName:"",createdAt:"",hasPollData:!1,eventLabel:"",liveBlockClasses:"",isLive:!1}}}function ee(Y,fe,le){const m=Ee(le.liveBlockClasses),h=i.value.findIndex(v=>v.comment.id===Y.id);if(Ye(Y)){h!==-1&&i.value.splice(h,1),window.dispatchEvent(new CustomEvent("vue-ws-system-comment-deleted",{detail:{commentId:Y.id,storyId:e.storyId.value}}));return}if(window.dispatchEvent(new CustomEvent(fe,{detail:{commentId:Y.id,storyId:e.storyId.value,trigger:le.hasPollData?"vue-sidebar-poll":"vue-sidebar",authorName:le.authorName,createdAt:le.createdAt,eventLabel:le.eventLabel,liveBlockClasses:m,isLive:le.isLive}})),h!==-1){const v=i.value[h]?.updateCount;i.value[h]={comment:Y,updateCount:v?v+1:1}}else i.value.unshift({comment:Y,updateCount:1})}async function pe(Y,fe){if(Ye(Y))return;window.dispatchEvent(new CustomEvent("vue-ws-user-comment-added",{detail:{commentId:Y.id,comment:Y,storyId:e.storyId.value,createdAt:Y.createdAt,isSurfacedReply:fe}})),await eo();const le=s.value.findIndex(m=>m.id===Y.id);le!==-1?fe?a.value[le]=Y:s.value[le]=Y:fe?a.value.unshift(Y):s.value.unshift(Y)}const Ee=Y=>Y?Y.replace(/vue-tp/g,"grv-tpwp"):"",Me=Y=>{Y.rootParent&&window.dispatchEvent(new CustomEvent("vue-ws-reply-count-updated",{detail:{rootCommentId:Y.rootParent.id,storyId:e.storyId.value}}))};function Ye(Y){return Y.body.startsWith($s)}function Be(Y,fe=!1){if(!Ye(Y))return;const le=s.value.findIndex(m=>m.id===Y.id);le!==-1&&s.value.splice(le,1),window.dispatchEvent(new CustomEvent("vue-ws-user-comment-deleted",{detail:{commentId:Y.id,isSurfacedReply:fe}}))}function tt(){if(l>=P0||document.hidden)return;const Y=Math.min(l,Fu.length-1),fe=Fu[Y];l++,u=setTimeout(I,fe)}function me(){c!==null&&(clearTimeout(c),c=null),u!==null&&(clearTimeout(u),u=null),n.value=null,X(),t.value?.close(),t.value=null}function Je(){c!==null&&clearTimeout(c);const Y=U.value?$0:D0;c=setTimeout(()=>
349{c=null,me()},Y)}function Ie(){c!==null&&(clearTimeout(c),c=null)}const _e=async()=>{if(document.hidden)Je();else{if(Ie(),M())return;if(U.value){window.dispatchEvent(new CustomEvent("vue-ws-refresh-needed",{detail:{storyId:e.storyId.value}}));return}const Y=e.isSidebarVisible.value||U.value,fe=R.value||r.value;Y&&fe&&await I(!0)}};function lt(Y){return Y?.author?.username==="system"}return Rt(()=>{window.addEventListener("visibilitychange",_e)}),So(()=>{window.removeEventListener("visibilitychange",_e),me()}),Fe(R,async()=>{R.value||(me(),U.value&&r.value&&await I())}),{landingPageStoryBlocks:i,landingPageUserComments:s,landingPageSurfacedCommentReplies:a,handleWebSocketConnection:P,connect:I,disconnect:me,scheduleDisconnect:Je,cancelScheduledDisconnect:Ie}}const z0=["id","data-story-id","data-story-name","data-story-slug","data-comment-id"],F0={class:"vue-tp-comment-container"},H0={class:"vue-tp-comment-user-info"},j0={class:"vue-tp-user-name vue-tp-font-bold vue-tp-text-clip-1"},G0={class:"vue-tp-time-label"},V0={key:0,class:"vue-tp-parent-comment-author"},W0={class:"vue-tp-avatar-name-wrapper"},Y0={class:"vue-tp-user-name vue-tp-font-bold vue-tp-text-clip-1"},q0={key:0,class:"vue-tp-yt-image-wrapper"},K0=["src"],X0={key:1,class:"vue-tp-youtube-wrapper"},J0={key:2,class:"vue-tp-giphy-media"},Z0=["src","title"],Q0={class:"vue-tp-giphy-attribution"},e2=["src"],t2=["href"],o2={key:3,class:"vue-tp-comment-media"},n2=["src"],r2={key:5,class:"grv-talking-point__footer"},i2={key:0,class:"grv-talking-point__join-text"},zs=Oe(ke({__name:"LandingUserComment",props:{comment:{type:Object,required:!0},storyId:{type:String,default:""},storyName:{type:String,default:""},storySlug:{type:String,default:""},isReply:{type:Boolean,default:!1}},emits:["comment-reply","start-delete-confirm"],setup(e){const t=et(),{isLoggedIn:o}=He(t),n=Cn(),r=e;n.hydrate(r.comment.id,r.comment.body??"");const i=window.TalkingPointsApi?.giphyIconUrl??"",s=S(!0),a=N(()=>nu(c.value)),l=N(()=>{const $=r.comment.revision?.media?.url;return $?sr($):null}),u=N(()=>{const $=r.comment?.revision?.media;return $?.__typename==="YouTubeMedia"&&l.value?"youtube":$?.__typename==="GiphyMedia"&&d.value?"giphy":$?.__typename==="ExternalMedia"&&k.value?"external":null}),c=N(()=>new Date(r.comment.createdAt)),d=N(()=>pi(r.comment.revision?.media?.video)),p=N(()=>Iu(r.comment.revision?.media?.still)),y=N(()=>pi(r.comment.revision?.media?.original)),_=N(()=>r.comment.revision?.media||void 0),k=N(()=>_.value?.url?Au(_.value.url):null),R=N(()=>r.comment?.body?uu(r.comment.body):""),U=N(()=>{const $=(R.value??"").split(/\s+/).filter(Boolean);return $.length>20?$.slice(0,20).join(" ")+"…":$.join(" ")}),A=N(()=>r.comment?.parent?.author?.username??""),P=N(()=>_n(A.value??"")),I=N(()=>r.comment.author===null),M=N(()=>o.value&&!!t.userHandle&&r.comment.author?.username===t.userHandle),D=N(()=>n.isTombstoned(r.comment.id));return($,H)=>(g(),E("div",{class:"vue-tp-surfaced-user-comment",id:`grv-comment-${r.comment.id}`,"data-trigger":"vue-sidebar","data-story-id":r.storyId,"data-story-name":r.storyName,"data-story-slug":r.storySlug,"data-comment-id":r.comment.id},[C("div",F0,[C("div",H0,[W(bn,{"avatar-url":I.value?"":T(_n)(r.comment.author?.username??""),"avatar-size":30},null,8,["avatar-url"]),C("span",j0,Ce(r.comment.author?.username||"Anonymous"),1),C("span",G0,Ce(a.value),1)]),r.isReply&&r.comment?.depth>2?(g(),E("div",V0,[H[3]||(H[3]=C("span",{class:"vue-tp-replying-to"},"replying to",-1)),C("div",W0,[W(bn,{"avatar-url":P.value,"avatar-size":22},null,8,["avatar-url"]),C("span",Y0,Ce(A.value||"Anonymous"),1)])])):J("",!0),W(Ss,{"inner-html":U.value,"font-size":"16px",class:De({"vue-tp-deleted-comment-text":D.value})},null,8,["inner-html","class"]),u.value==="youtube"?(g(),E(we,{key:1},[p.value&&s.value?(g(),E("div",q0,[C("img",{class:"vue-tp-youtube-thumbnail",src:p.value,alt:"YouTube video thumbnail",onClick:H[0]||(H[0]=O=>s.value=!1)},null,8,K0)])):(g(),E("div",X0,[W(lr,{"youtube-id":l.value??"",autoplay:!!p.value},null,8,["youtube-id","autoplay"])]))],64)):u.value==="giphy"&&d.value?(g(),E("div",J0,[C("video",{src:d.value,title:r.comment.revision?.media?.title??"",autoplay:"",loop:"",muted:"",playsinline:""},null,8,Z0),C("div",Q0,[T(i)?(g(),E("img",{key:0,src:T(i),alt:"Powered by GIPHY"},null,8,e2)):J("",!0),y.value?(g(),E("a",{key:1,href:y.value,rel:"noopener noreferrer",target:"_blank"},[W(yt,{icon:"new-tab",size:14,color:"rgb(var(--vue-icon-color-comments))"})],8,t2)):J("",!0)])])):u.value==="external"&&k.value?(g(),E("div",o2,[C("img",{src:k.value,alt:"",loading:"lazy"},null,8,n2)])):J("",!0),r.isReply?(g(),ve(di,{key:4,comment:e.comment,"class-name":"vue-tp-comment-actions",actions:M.value?["like","comment","delete","share"]:["like","comment","report","share"],"share-url":T(wn)(r.comment.id),"is-surfaced-comment":!0,onStartReply:H[1]||(H[1]=O=>$.$emit("comment-reply",e.comment)),onStartDeleteConfirm:H[2]||(H[2]=O=>$.$emit("start-delete-confirm",O))},null,8,["comment","actions","share-url"])):(g(),E("div",r2,[H[4]||(H[4]=C("div",{class:"grv-talking-point__replies"},[C("span",{class:"grv-talking-point__reply-count",hidden:""}),C("span",{class:"grv-talking-point__comment-label"},"Comment")],-1)),T(o)?(g(),E("div",i2,"Like or Comment")):J("",!0)]))])],8,z0))}}),[["__scopeId","data-v-0fa6a4a2"]]),s2=Ut("surfacedComment",()=>{const e=et(),{isLoggedIn:t,userHandle:o}=He(e),n=xn(),r=si(),i=Cn(),s=S([]),a=S(!1),l=S([]);async function u(A){R(!0);try{const P=Array.from(document.querySelectorAll(".grv-tpwp-user-actions-teleport-slot[data-comment-id]")).map(D=>D.dataset.commentId).filter(D=>!!D);
349P.includes(A)||P.push(A);const I=await Promise.all(P.map(D=>zt.getCommentById(D).catch(()=>null))),M=I.find(D=>D?.id===A);return I.forEach(D=>{D&&(_(D),p(D))}),M}catch{return null}finally{R(!1)}}async function c(A){if(!A.replies?.edges?.length)return;const P=document.getElementById(`grv-comment-${A.id}`);if(!(P instanceof HTMLElement))return;let I=P.nextElementSibling;if(!(I instanceof HTMLElement)||!I.classList.contains("grv-tpwp-ib-reply-wrapper")){const M=document.createElement("div");M.classList.add("grv-tpwp-ib-reply-wrapper"),P.after(M),I=M}if(A.replies.edges.forEach(M=>{const D=M.node,$=document.createElement("div");$.id=`grv-tpwp-ws-user-comment-slot-${D.id}`,I.prepend($),l.value.push({...D,teleportSlot:`#grv-tpwp-ws-user-comment-slot-${D.id}`})}),A.replies.pageInfo?.hasNextPage){const M=d(()=>y(A,M));I.prepend(M)}await eo();for(const M of A.replies.edges)await c(M.node)}function d(A){const P=document.createElement("div");return P.textContent="Load earlier replies",P.style.cursor="pointer",P.style.fontSize="16px",P.style.fontWeight="700",P.style.marginBottom="20px",P.onclick=A,P}function p(A){if(A.replies?.pageInfo?.hasNextPage){const P=d(()=>y(A,P)),I=document.getElementById(`grv-comment-${A.id}`)?.nextElementSibling;I instanceof HTMLElement&&I.classList.contains("grv-tpwp-ib-reply-wrapper")&&I.prepend(P)}
349A.replies?.edges.forEach(P=>{p(P.node)})}async function y(A,P){try{let I;A.depth===0?I=await zt.getNextPageReplies(A.id,A.replies?.pageInfo?.endCursor||null):I=await zt.getNextPageFlattenedReplies(A.id,A.replies?.pageInfo?.endCursor||null),I&&(await c(I),P?.remove())}catch{}}function _(A){const P=A?.actionCounts?.reaction?.total??0,I=!!A?.viewerActionPresence?.reaction;n.hydrate(A.id,P,I);const M=!!A?.viewerActionPresence?.flag;r.hydrate(A.id,M),i.hydrate(A.id,A.body??""),s.value.push({comment:A,commentId:A.id,className:U(A)?"vue-tp-block-actions":"vue-tp-comment-actions",actions:t.value?k(A)?["like","comment","delete","share"]:["like","comment","report","share"]:["share"],shareUrl:wn(A.id)})}function k(A){return t.value&&!!o.value&&A?.author?.username===o.value}function R(A){a.value=A}function U(A){return A?.author?.username==="system"}return{surfacedUserActionData:s,earlierSurfacedReplies:l,loadComment:u,loadMoreReplies:y}}),a2={key:0,class:"vue-tp-badge-modal-overlay"},l2={class:"vue-tp-badge-modal-content"},c2={class:"vue-tp-badge-modal-text"},u2={class:"vue-tp-progress-bar-wrapper"},d2={class:"vue-tp-progress-bar"},p2={class:"vue-tp-delete-confirm-actions"},f2=Oe(ke({__name:"BadgeModal",props:{isOpen:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},commentsRemaining:{type:Number,default:0},totalComments:{type:Number,default:0}},emits:["cancel"],setup(e,{emit:t}){const o=e,n=t,r=S(null),i=N(()=>"body");let s=null;const a=N(()=>{const d=o.totalComments-o.commentsRemaining;return{width:`${Math.min(100,Math.round(d*100)/o.totalComments)}%`}}),l=c=>{const d=r.value;d&&c.target instanceof Node&&!d.contains(c.target)&&o.isOpen&&n("cancel")},u=c=>{c.key==="Escape"&&o.isOpen&&n("cancel")};return Fe(()=>o.isOpen,c=>{c?(s=setTimeout(()=>{document.addEventListener("click",l)},0),document.addEventListener("keydown",u)):(s&&(clearTimeout(s),s=null),document.removeEventListener("click",l),document.removeEventListener("keydown",u))}),Gt(()=>{s&&clearTimeout(s),document.removeEventListener("click",l),document.removeEventListener("keydown",u)}),(c,d)=>(g(),ve(vo,{defer:"",to:i.value},[W(yo,{name:"slide-up"},{default:rt(()=>[e.isOpen?(g(),E("div",a2,[C("div",{ref_key:"overlayRef",ref:r,class:"vue-tp-badge-modal-inner"},[W(Cu,{"has-close-button":!1,onCloseModal:d[1]||(d[1]=p=>c.$emit("cancel"))},{content:rt(()=>[C("div",l2,[d[4]||(d[4]=C("h3",{class:"vue-tp-badge-modal-title"},"Creating a new thread",-1)),C("p",c2,[d[2]||(d[2]=to(" You are only ",-1)),C("strong",null,Ce(o.commentsRemaining)+" "+Ce(o.commentsRemaining===1?"comment":"comments"),1),d[3]||(d[3]=to(" away from unlocking this feature. Jump into the conversation to level up to Bronze! ",-1))]),C("div",u2,[C("div",d2,[C("div",{class:"vue-tp-progress-filled",style:Tt(a.value)},null,4)]),W(ou,{icon:"trophy-bronze","icon-size":24})]),C("div",p2,[W(Mo,{text:"Dismiss","is-disabled":e.isLoading,onPress:d[0]||(d[0]=p=>c.$emit("cancel"))},null,8,["is-disabled"])])])]),_:1})],512)])):J("",!0)]),_:1})],8,["to"]))}}),[["__scopeId","data-v-fd3d25c1"]]),v2={class:"vue-tp-create-post-wrapper"},m2=Oe(ke({__name:"SidebarWrapper",setup(e){const t=et(),{isLoggedIn:o}=He(t),n=Ro(),{activeStories:r,isLandingPageStory:i,isLandingPageComment:s}=He(n),a=s2(),{surfacedUserActionData:l,earlierSurfacedReplies:u}=He(a),c=S(!1),d=S(""),p=S(""),y=S(""),_=S(""),k=S(""),R=S(""),U=S(!1),A=S(!1),P=S(null),I=S(null),M=S(!1),D=S(!1),$=S(null),H=S(!1),O=S(!1),K=S(!1),X=S(0),G=S(0),te=S(""),ie=S(""),re=S(""),oe=S(""),ee=S(!1),pe=S(""),Ee=S(null),Me=sn({text:"",id:"",replyingTo:null,isSingleComment:!1}),Ye=N(()=>mi(p.value)),Be=N(()=>mi(re.value)),tt=N(()=>i.value&&o.value&&ee.value),{showSidebarUI:me,hideSidebarUI:Je,lockBodyScroll:Ie}=L0({isSidebarOpen:c}),{trackSidebarOpen:_e,trackSidebarClose:lt}=R0({storySlug:y}),{startListening:Y}=M0({onBlockClick:(he,Ke)=>!s.value&&B(he,Ke)}),{onSubmitComment:fe}=zu({scrollToNewComment:()=>{},resetComposer:()=>{}}),{scrollToComment:le,clearScrollTimers:m}=Ds(),{handleWebSocketConnection:h,disconnect:v,landingPageStoryBlocks:w,landingPageUserComments:b,landingPageSurfacedCommentReplies:L}=U0({storyId:N(()=>
349i.value||s.value?te.value:d.value),commentReload:async()=>await I.value?.reloadComments(),isSidebarVisible:N(()=>c.value),surfacedCommentId:N(()=>pe.value)});Rt(async()=>{ee.value=!!document.getElementById("grv-tpwp-create-post-slot");const he=Yg(),Ke=window.location.hash||"";Ke.includes("access_token=")||Ke.includes("token_type=bearer")||(he?z(he):window.addEventListener("tp-open-sidebar",Se)),Y(),document.addEventListener("grv-auth:modal-closed",Ie)}),Gt(()=>{window.removeEventListener("tp-open-sidebar",Se),document.removeEventListener("grv-auth:modal-closed",Ie),v(),m(),P.value&&(clearTimeout(P.value),P.value=null)});const B=async(he=null,Ke=!1)=>{if(!c.value){if(he){const ue=he.dataset;d.value=ue&&ue.storyId?String(ue.storyId):"",p.value=ue&&ue.storyName?String(ue.storyName):"",y.value=ue&&ue.storySlug?String(ue.storySlug):"",_.value=ue&&ue.commentId?String(ue.commentId):"",await n.setLandingPageStatus(d.value),_.value&&(U.value=!0),window.history.replaceState(null,"",window.location.pathname)}await eo(()=>{c.value=!0,me(),Ke&&_e()})}},F=(he=!1)=>{c.value=!1,Je(),he&&lt(),ge(),ce(),Te(),i.value||v()},V=async he=>{if(!(!o.value||D.value)){D.value=!0;try{const Ke=await fe(he,Ee.value,ie.value);Ke&&(le(`grv-comment-${Ke.id}`,"center"),Le())}finally{D.value=!1}}},z=(he=null)=>{he&&(Me.text=he.text??"",Me.id=he.parentCommentId??"",Me.replyingTo=he.replyingTo??null,Me.isSingleComment=he.isSingleComment??!1,d.value=he.storyId??"",p.value=he.storyName??"",y.value=he.storySlug??"",R.value=Me.id,P.value=setTimeout(()=>{B(),cr()},500))},ae=async he=>{F(),d.value=he.story_id,p.value=he.story_name,y.value=he.story_slug,await B()},Z=()=>{i.value||h()},ne=()=>{h()},ce=()=>{_.value="",d.value="",p.value="",y.value="",k.value="",R.value="",U.value=!1,A.value=!1},ge=()=>{Me.text="",Me.id="",Me.replyingTo=null,Me.isSingleComment=!1,k.value="",U.value=!1},Te=()=>{n.reset()},Se=async he=>{if(document.body.classList.contains("error404"))return;const{storyId:ue,storyName:Wt,storySlug:kn,commentId:Ft,showSingleComment:gi,pinnedIbId:hi,hasTpOpenParams:ur}=he.detail;if(!ue||c.value)return;if(await n.setLandingPageStatus(ue),i.value){if(te.value=ue,ie.value=ue,re.value=Wt||"",oe.value=kn||"",ne(),Ft&&!ur&&wu(Ft),!ur)return}else if(s.value){Ft&&(te.value=ue,ie.value=ue,re.value=Wt||"",oe.value=kn||"",pe.value=Ft,await a.loadComment(Ft),ne(),wu(Ft));return}d.value=ue||"",p.value=Wt||"",y.value=kn||"",R.value=Ft||"",A.value=gi||!1;const tn=hi||"";Ft?k.value=Ft:tn&&(_.value=tn),await B(null,!0)},Pe=he=>{M.value=!0,Ee.value=he},Ne=he=>{$.value=he,H.value=!0},ct=()=>{H.value=!1,$.value=null},xe=async()=>{if($.value){O.value=!0;try{await $.value()}finally{O.value=!1,H.value=!1,$.value=null}}},Le=()=>{M.value=!1,Ee.value=null},qe=N(()=>({button:Ee.value?"Reply":"Post",placeholder:Ee.value?"What do you think?":"What do you want to discuss?",info:Ee.value?Po(Ee.value)?"Commenting on":"Replying to":"Creating a new discussion topic for",infoBolded:Ee.value?Po(Ee.value)?Ee.value?.body??"":Ee.value?.author?.username??"":Be.value})),Qe=()=>{K.value=!1},kt=he=>{K.value=!0,X.value=he.commentsRemaining?he.commentsRemaining:0,G.value=he.threshold?he.threshold:0},en=async()=>{const he=Bs();await he.load();const Ke=he.getTierStatus("bronze");if(!Ke.achieved){X.value=Ke.commentsRemaining??0,G.value=Ke.threshold,K.value=!0;return}M.value=!0},Po=he=>he?.author?.username==="system";return Fe(o,he=>{he||eo(()=>{F(!0)})}),Gi("activeStories",{activeStories:r,changeActiveStory:ae}),(he,Ke)=>(g(),E("div",{class:De(["vue-tp-sidebar-wrapper",{"vue-tp-sidebar-wrapper-open":c.value}])},[c.value?(g(),E("div",{key:0,class:"vue-tp-outside-sidebar-area",onClick:Ke[0]||(Ke[0]=ue=>F(!0))})):J("",!0),W(v0,{ref_key:"sidebarRef",ref:I,"is-visible":c.value,"story-id":d.value,"story-name":Ye.value,"story-slug":y.value,"pending-comment":Me,"param-comment-id":k.value,"scroll-to-comment-id":R.value,"main-topic-block-id":_.value,"is-immediate-reply":U.value,"is-single-top-level-comment":A.value,onCloseSidebar:Ke[1]||(Ke[1]=ue=>F(!0)),onResetReplying:ge,onHandleWebSocketConnection:Z,onShowRequiredBadgePrompt:kt},null,8,["is-visible","story-id","story-name","story-slug","pending-comment","param-comment-id","scroll-to-comment-id","main-topic-block-id","is-immediate-reply","is-single-top-level-comment"]),(g(!0),E(we,null,mt(T(w),ue=>(g(),ve(vo,{defer:"",key:`${ue.comment.id}-${ue.updateCount}`,to:`.grv-tpwp-teleport-slot[data-comment-id='${ue.comment.id}']`},[W(Tu,{comment:ue.comment,"is-teleported-block":!0},null,8,["comment"])],8,["to"]))),128)),(g(!0),E(we,null,mt(T(b),ue=>(g(),ve(vo,{defer:"",key:ue.id,to:`.grv-tpwp-ws-user-comment-slot[data-comment-id='${ue.id}']`},[W(zs,{comment:ue,"is-reply":!1,"story-id":ie.value,"story-name":Be.value,"story-slug":oe.value,onCommentReply:Pe,onStartDeleteConfirm:Ne},null,8,["comment","story-id","story-name","story-slug"])],8,["to"]))),128)),(g(!0),E(we,null,mt(T(L),ue=>(g(),ve(vo,{defer:"",key:ue.id,to:`.grv-tpwp-ws-user-comment-slot[data-comment-id='${ue.id}']`},[W(zs,{comment:ue,"is-reply":!0,"story-id":ie.value,"story-name":Be.value,"story-slug":oe.value,onCommentReply:Pe,onStartDeleteConfirm:Ne},null,8,["comment","story-id","story-name","story-slug"])],8,["to"]))),128)),(g(!0),E(we,null,mt(T(u),ue=>(g(),ve(vo,{defer:"",key:ue.id,to:ue.teleportSlot},[W(zs,{comment:ue,"is-reply":!0,"story-id":ie.value,"story-name":Be.value,"story-slug":oe.value,onCommentReply:Pe,onStartDeleteConfirm:Ne},null,8,["comment","story-id","story-name","story-slug"])],8,["to"]))),128)),tt.value?(g(),ve(vo,{key:1,defer:"",to:"#grv-tpwp-create-post-slot"},[C("div",v2,[C("button",{class:"vue-tp-create-post-button",type:"button",onClick:en},[W(yt,{icon:"comment",size:16,color:"rgb(var(--vue-font-color-secondary))"}),Ke[2]||(Ke[2]=to(" Create new post ",-1))])])])):J("",!0),tt.value||M.value?(g(),ve(vo,{key:2,defer:"",to:"body"},[W(O0,{"is-open":M.value,"is-submitting":D.value,"story-name":Be.value,"comment-id":Ee.value?.id??"","button-text":qe.value.button,placeholder:qe.value.placeholder,"info-text":qe.value.info,"info-text-bolded":qe.value.infoBolded,onClose:Le,onSubmitComment:V},null,8,["is-open","is-submitting","story-name","comment-id","button-text","placeholder","info-text","info-text-bolded"])])):J("",!0),(g(!0),E(we,null,mt(T(l),ue=>(g(),ve(vo,{defer:"",key:ue.commentId,to:`.grv-tpwp-user-actions-teleport-slot[data-comment-id='${ue.commentId}']`},[W(di,{comment:ue.comment,"class-name":ue.className,actions:ue.actions,"share-url":ue.shareUrl,"is-surfaced-comment":!0,onStartReply:Wt=>Pe(ue.comment),onStartDeleteConfirm:Ne},null,8,["comment","class-name","actions","share-url","onStartReply"])],8,["to"]))),128)),W(ku,{"is-open":H.value,"is-loading":O.value,"anchor-el":null,onConfirm:xe,onCancel:ct},null,8,["is-open","is-loading"]),W(f2,{"is-open":K.value,"is-loading":!1,"comments-remaining":X.value,"total-comments":G.value,onCancel:Qe},null,8,["is-open","comments-remaining","total-comments"])],2))}}),[["__scopeId","data-v-c0dfb86e"]]),g2=ke({__name:"App",setup(e){return(t,o)=>(g(),E("main",null,[W(m2)]))}});function h2(){const e=Uf(g2),t=Hf();e.use(t),e.mount("#vue-sidebar"),et().init().catch(()=>{}),Ns().init().catch(()=>{})}h2()})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.